@esri/solutions-components 1.2.0-next.21 → 1.2.0-next.23

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 (479) hide show
  1. package/dist/cdn/24EMON2Y.js +18 -0
  2. package/dist/cdn/{4PFWZPSF.js → 2AY2K3WZ.js} +2 -2
  3. package/dist/cdn/{TWPRIW6W.js → 2BZBRTJL.js} +2 -2
  4. package/dist/cdn/{WRKHHDEK.js → 2GT4SW6J.js} +2 -2
  5. package/dist/cdn/{OTF6WC55.js → 2HQ3WQSS.js} +1 -1
  6. package/dist/cdn/{SPTDTOSM.js → 2M5HYDED.js} +2 -2
  7. package/dist/cdn/{37BAVLAP.js → 2MAG3IXY.js} +2 -2
  8. package/dist/cdn/{NOHK26DI.js → 2MAWBKAZ.js} +2 -2
  9. package/dist/cdn/{LPCWCSAE.js → 2OO632YT.js} +2 -2
  10. package/dist/cdn/{LXKU7WUU.js → 2QI7CPMT.js} +2 -2
  11. package/dist/cdn/{GZZHEXNM.js → 2WOYI26G.js} +2 -2
  12. package/dist/cdn/{MXDK4LDP.js → 2XPZGW6O.js} +4 -4
  13. package/dist/cdn/{6ISYJZ3U.js → 34IW6ND5.js} +2 -2
  14. package/dist/cdn/3DKHJDV7.js +4 -0
  15. package/dist/cdn/{QMKK7GAS.js → 3FMFTSSY.js} +2 -2
  16. package/dist/cdn/{OLLYGSHZ.js → 3GUMV5O4.js} +2 -2
  17. package/dist/cdn/{WZZXQ7ZL.js → 3L6Z4QK3.js} +2 -2
  18. package/dist/cdn/{5X5I7HXW.js → 3MHDDQ5I.js} +2 -2
  19. package/dist/cdn/{C5V5WACE.js → 3QZEC6GE.js} +2 -2
  20. package/dist/cdn/{EYXCH4TQ.js → 3R26Q7T6.js} +2 -2
  21. package/dist/cdn/{QDR4D66T.js → 3TKXL6UM.js} +1 -1
  22. package/dist/cdn/{Y43WPKIW.js → 3ZPCQCSG.js} +2 -2
  23. package/dist/cdn/{UOEK64W4.js → 42WGOLD2.js} +2 -2
  24. package/dist/cdn/{6J47H6LF.js → 447QBBCZ.js} +1 -1
  25. package/dist/cdn/{TPVEOX5G.js → 44RSFMVL.js} +2 -2
  26. package/dist/cdn/{L2OHD42I.js → 4DV66F6E.js} +2 -2
  27. package/dist/cdn/{43LM47JM.js → 4EJQCTSA.js} +1 -1
  28. package/dist/cdn/{FASHWN45.js → 4FLU7OR4.js} +2 -2
  29. package/dist/cdn/{2WQ4D3JD.js → 4G3EIWB6.js} +2 -2
  30. package/dist/cdn/{TLAJKE5F.js → 4IUIEMK6.js} +2 -2
  31. package/dist/cdn/{MS66PYWN.js → 4KCFAMJG.js} +2 -2
  32. package/dist/cdn/{ZGLUS7EY.js → 4MUYN6M7.js} +2 -2
  33. package/dist/cdn/{6UDQYBCT.js → 4O2YHWLF.js} +2 -2
  34. package/dist/cdn/{4ZXH4AYE.js → 4OQCCPF3.js} +1 -1
  35. package/dist/cdn/{U44X65LX.js → 4WLBD3FW.js} +2 -2
  36. package/dist/cdn/4XQU6E7M.js +18 -0
  37. package/dist/cdn/{NN3W4IUH.js → 56WN2O6D.js} +2 -2
  38. package/dist/cdn/{6MPNFWME.js → 5ACUN6IO.js} +2 -2
  39. package/dist/cdn/5C6YRKRX.js +4 -0
  40. package/dist/cdn/{LLJXBBKJ.js → 5EKBLXSV.js} +2 -2
  41. package/dist/cdn/{EGSL27T3.js → 5J2BYWKN.js} +2 -2
  42. package/dist/cdn/{GBTQSHKA.js → 5J5YFGVC.js} +2 -2
  43. package/dist/cdn/{VGX5VVVO.js → 5KBIDMN6.js} +2 -2
  44. package/dist/cdn/{TDSDZEH7.js → 5KPB4NR2.js} +2 -2
  45. package/dist/cdn/{RUDYNTVM.js → 5KQDWASO.js} +2 -2
  46. package/dist/cdn/{DOCNMY5H.js → 5M53YYS7.js} +2 -2
  47. package/dist/cdn/{SYQ77RWF.js → 5OGCE75U.js} +1 -1
  48. package/dist/cdn/{MWZCZ3GZ.js → 5RE4EQKC.js} +2 -2
  49. package/dist/cdn/{PHMX4V43.js → 5TJ3WMQB.js} +2 -2
  50. package/dist/cdn/{EA4SJ62D.js → 64ROMKAE.js} +1 -1
  51. package/dist/cdn/{6MWYP2QJ.js → 67KWMMGF.js} +2 -2
  52. package/dist/cdn/{27ESLXAT.js → 6AUSDT74.js} +2 -2
  53. package/dist/cdn/{CKKYPJNF.js → 6BU4XFOB.js} +2 -2
  54. package/dist/cdn/{3UZJJ4TA.js → 6CFGY2BV.js} +2 -2
  55. package/dist/cdn/{DQXONY5W.js → 6FTTCCP6.js} +2 -2
  56. package/dist/cdn/{KLDJP764.js → 6LIDXZSZ.js} +2 -2
  57. package/dist/cdn/{V5PS7TPT.js → 6MEGF2SK.js} +2 -2
  58. package/dist/cdn/{YIBIIFQA.js → 6NXELV3J.js} +2 -2
  59. package/dist/cdn/{ZSCNY56E.js → 6P6OXN3N.js} +2 -2
  60. package/dist/cdn/{5TK6DOW6.js → 6ZODEDKU.js} +2 -2
  61. package/dist/cdn/{ELFWIFOI.js → 72HWZD45.js} +2 -2
  62. package/dist/cdn/{I2POBGHR.js → 73457ZF3.js} +2 -2
  63. package/dist/cdn/{5U25HMRT.js → 73ZPUTT3.js} +2 -2
  64. package/dist/cdn/74U3DXGW.js +4 -0
  65. package/dist/cdn/7EZRADWR.js +4 -0
  66. package/dist/cdn/{OAYZ7IKH.js → 7G4CGORU.js} +2 -2
  67. package/dist/cdn/7HEGK7MA.js +18 -0
  68. package/dist/cdn/{B6NCIDUQ.js → 7I46GKF5.js} +2 -2
  69. package/dist/cdn/{KEDADGFZ.js → 7PHW5SV3.js} +2 -2
  70. package/dist/cdn/{PJRC7SHJ.js → 7RTQMKLE.js} +1 -1
  71. package/dist/cdn/{UYB52TDK.js → 7UZH3JSA.js} +2 -2
  72. package/dist/cdn/{ARWGMEFD.js → A2Q74J27.js} +2 -2
  73. package/dist/cdn/{ETVHZ7E4.js → A3SSEJRK.js} +2 -2
  74. package/dist/cdn/{NABUJ3I4.js → A5TA5B7Q.js} +2 -2
  75. package/dist/cdn/{2OEXTGHX.js → A7TN5NOD.js} +2 -2
  76. package/dist/cdn/{BYHP3RDB.js → AACDL376.js} +2 -2
  77. package/dist/cdn/{QBNFWPNH.js → AEZ6WE4H.js} +2 -2
  78. package/dist/cdn/{BJYU2UEJ.js → AFBDY226.js} +2 -2
  79. package/dist/cdn/{N3Q6R6TY.js → ANFNJY23.js} +2 -2
  80. package/dist/cdn/{47JWHU6X.js → ARL6VS7K.js} +2 -2
  81. package/dist/cdn/{D4Y37VIF.js → AS43PZG7.js} +2 -2
  82. package/dist/cdn/{V7U7DLUJ.js → ASRG36YH.js} +2 -2
  83. package/dist/cdn/{BA7C5JV7.js → AUB4DXBA.js} +2 -2
  84. package/dist/cdn/{7NRVWFK5.js → AW4KQLYN.js} +2 -2
  85. package/dist/cdn/{2Z7NZD5S.js → AX74S37Z.js} +2 -2
  86. package/dist/cdn/{IESWZ7BL.js → AXU3N3SM.js} +2 -2
  87. package/dist/cdn/{65YYFVKD.js → AYV2T2DU.js} +1 -1
  88. package/dist/cdn/{IL7KHRPB.js → B56YGTDU.js} +2 -2
  89. package/dist/cdn/{MASI4TM4.js → BEXIUYEC.js} +2 -2
  90. package/dist/cdn/{LPHU6MAJ.js → BFCOS4AK.js} +2 -2
  91. package/dist/cdn/{NDNONWRS.js → BHFPIIA5.js} +2 -2
  92. package/dist/cdn/{2ZDTHK62.js → BJHTJAD5.js} +2 -2
  93. package/dist/cdn/{TEGIRF2G.js → BOMKSZ2W.js} +2 -2
  94. package/dist/cdn/{5BBGQJ5S.js → C3KUXIX3.js} +2 -2
  95. package/dist/cdn/{UDRBXNEZ.js → C3XOCOGN.js} +2 -2
  96. package/dist/cdn/{ZAAZBMVL.js → C4BPHR5L.js} +2 -2
  97. package/dist/cdn/{IXNUWHR7.js → CBD2XZXF.js} +2 -2
  98. package/dist/cdn/{WUXNFVJD.js → CGOZV2GW.js} +2 -2
  99. package/dist/cdn/{E2O3EKWU.js → CHPK2WLW.js} +2 -2
  100. package/dist/cdn/{5FODZC2W.js → CN5DJPHM.js} +1 -1
  101. package/dist/cdn/{3LUEIDPJ.js → COF7QD2V.js} +2 -2
  102. package/dist/cdn/{2ERLNTHC.js → DADWRP33.js} +2 -2
  103. package/dist/cdn/{4PJKBI5Q.js → DBHD7PCZ.js} +2 -2
  104. package/dist/cdn/{G7B5NHVN.js → DDNXBLQ6.js} +2 -2
  105. package/dist/cdn/DHV3NPQP.js +18 -0
  106. package/dist/cdn/{66KL4C26.js → DKQHLGWF.js} +2 -2
  107. package/dist/cdn/{HCWTAUF5.js → DOQVDYCN.js} +2 -2
  108. package/dist/cdn/{ADOJOJRJ.js → DPCUAZSE.js} +2 -2
  109. package/dist/cdn/{IJI2I4NN.js → DQN7CICI.js} +2 -2
  110. package/dist/cdn/{ZWJQQF63.js → DXAGALWH.js} +2 -2
  111. package/dist/cdn/DXGJ2ELP.js +18 -0
  112. package/dist/cdn/{W7734FGJ.js → DZHX7PCQ.js} +2 -2
  113. package/dist/cdn/{3SCGD2CV.js → DZU33CZC.js} +2 -2
  114. package/dist/cdn/{5O3P6DBG.js → E2QEWS4T.js} +2 -2
  115. package/dist/cdn/{5CSKRDZM.js → E5ITCSLM.js} +2 -2
  116. package/dist/cdn/{6VPV7EU6.js → E6UCKZPA.js} +2 -2
  117. package/dist/cdn/{SF42TDNB.js → ECBQ4FMJ.js} +2 -2
  118. package/dist/cdn/{5LQPYHS4.js → EERCV4JC.js} +2 -2
  119. package/dist/cdn/{YUMTADN7.js → EH6Q6O37.js} +2 -2
  120. package/dist/cdn/{EXX2X63P.js → EHCPDGSC.js} +2 -2
  121. package/dist/cdn/{ZTYR32MZ.js → EHX5BFXV.js} +2 -2
  122. package/dist/cdn/{UIIKMLZY.js → EI3T37W7.js} +2 -2
  123. package/dist/cdn/{AVYP5N5W.js → EIQYIC3K.js} +2 -2
  124. package/dist/cdn/{G2UQK6LA.js → EJ3ZHDJE.js} +1 -1
  125. package/dist/cdn/{JGLFIWOT.js → EKXVOE2T.js} +2 -2
  126. package/dist/cdn/{ZMKFBKJ5.js → ELIRAMGJ.js} +2 -2
  127. package/dist/cdn/{5ZAFAS7S.js → ETYGQEHV.js} +2 -2
  128. package/dist/cdn/{MGYT2FRC.js → EUJDYYJR.js} +2 -2
  129. package/dist/cdn/{VPH3MHCJ.js → EUZPQTWY.js} +2 -2
  130. package/dist/cdn/{PFJ4FP3Z.js → EWTEGPMF.js} +2 -2
  131. package/dist/cdn/{Y5DN4QU2.js → EXKTND6M.js} +2 -2
  132. package/dist/cdn/{DPPVKLVV.js → EXQYLCNA.js} +2 -2
  133. package/dist/cdn/{EUKYTCUW.js → EYORGOJD.js} +2 -2
  134. package/dist/cdn/{ZBWHTQGY.js → F2IY43CU.js} +2 -2
  135. package/dist/cdn/{TXUBQSCF.js → F3BATDTI.js} +2 -2
  136. package/dist/cdn/{ZGXWBO6S.js → F3MYECGZ.js} +2 -2
  137. package/dist/cdn/{VXS4KLRE.js → F63E53WO.js} +2 -2
  138. package/dist/cdn/{FO5FDVKS.js → FA4FO6I5.js} +1 -1
  139. package/dist/cdn/{Y42PHID4.js → FA4MU7WH.js} +2 -2
  140. package/dist/cdn/{HIMSUVUZ.js → FG2CU36L.js} +2 -2
  141. package/dist/cdn/{APL5YV6I.js → FNYNLM4T.js} +2 -2
  142. package/dist/cdn/{REYSZJE4.js → FORFKB3P.js} +2 -2
  143. package/dist/cdn/FQB4KYBW.js +4 -0
  144. package/dist/cdn/{BNYHJMNY.js → FRRPVDOH.js} +2 -2
  145. package/dist/cdn/{PFC743S5.js → G2IJENMB.js} +2 -2
  146. package/dist/cdn/{4TDPMROA.js → G2IK2BJY.js} +2 -2
  147. package/dist/cdn/{JPNPSA7E.js → G5ZC3LOB.js} +1 -1
  148. package/dist/cdn/{DEZPDY4A.js → GCMVURP5.js} +1 -1
  149. package/dist/cdn/{W3TMRYTI.js → GFBXVBJT.js} +2 -2
  150. package/dist/cdn/GGAEFIZU.js +4 -0
  151. package/dist/cdn/{C3XGENO2.js → GHIJAWRM.js} +1 -1
  152. package/dist/cdn/{ALRXJEMN.js → GKFLVIV7.js} +1 -1
  153. package/dist/cdn/{QKRVG65G.js → GOOEDIPS.js} +2 -2
  154. package/dist/cdn/{VC5NFRBK.js → GPWOWLEE.js} +2 -2
  155. package/dist/cdn/{ZCXEHP3I.js → GWDTMNPJ.js} +2 -2
  156. package/dist/cdn/{KPLOUVW3.js → GWZ45ROX.js} +2 -2
  157. package/dist/cdn/{2CA32FPD.js → GXA2JOF6.js} +2 -2
  158. package/dist/cdn/{CPNBWTEA.js → H55C6KB4.js} +2 -2
  159. package/dist/cdn/{FMGMDOXA.js → H6HGD575.js} +2 -2
  160. package/dist/cdn/{TKQG2LKN.js → H7OQMXZH.js} +2 -2
  161. package/dist/cdn/{HOPHRV4L.js → HEPVNE4N.js} +2 -2
  162. package/dist/cdn/{GDAB44P7.js → HTTK52SH.js} +2 -2
  163. package/dist/cdn/{3GSLYS7Y.js → HXCXMMYQ.js} +2 -2
  164. package/dist/cdn/{3DBJ6LQZ.js → I2YMTCN3.js} +2 -2
  165. package/dist/cdn/{NZGTHZBJ.js → I3DV75YQ.js} +2 -2
  166. package/dist/cdn/{VFXHYKBA.js → I7RPH5AQ.js} +2 -2
  167. package/dist/cdn/{SAMBWFKJ.js → IBJDYHC4.js} +2 -2
  168. package/dist/cdn/{TKYTD63P.js → IGTA7PF3.js} +1 -1
  169. package/dist/cdn/{MR24E2PT.js → IPOR2FPA.js} +1 -1
  170. package/dist/cdn/{766NXEI5.js → JHZIHFJQ.js} +2 -2
  171. package/dist/cdn/{3FQZERY2.js → JJYUMARO.js} +2 -2
  172. package/dist/cdn/{UAMQWJTP.js → JMMOQDUW.js} +2 -2
  173. package/dist/cdn/{UCM63YTG.js → JOLRT72P.js} +2 -2
  174. package/dist/cdn/JRJCLFLU.js +18 -0
  175. package/dist/cdn/{5UFUXLVC.js → JZTOFKTR.js} +2 -2
  176. package/dist/cdn/{L6NUR77H.js → KBRZ2E2B.js} +2 -2
  177. package/dist/cdn/KFFWV5Q5.js +4 -0
  178. package/dist/cdn/{WL6PEUQB.js → KGFHT5Z2.js} +3 -3
  179. package/dist/cdn/{J7YSM5KG.js → KJQ7R2JY.js} +2 -2
  180. package/dist/cdn/{IFMVHH6O.js → KN4FZEPG.js} +2 -2
  181. package/dist/cdn/{LPWJRNE6.js → KNKXTRCQ.js} +2 -2
  182. package/dist/cdn/KPPEOZKI.js +18 -0
  183. package/dist/cdn/{4J2AL6O3.js → KS3H6HD6.js} +2 -2
  184. package/dist/cdn/{5AWE75QZ.js → KZWF25A7.js} +2 -2
  185. package/dist/cdn/{XLKIFV2H.js → KZXHGZIS.js} +2 -2
  186. package/dist/cdn/{NPL77HLA.js → L4WAQSYZ.js} +2 -2
  187. package/dist/cdn/{PQZE6Q45.js → L5CQLTKN.js} +2 -2
  188. package/dist/cdn/{5WF3LHZV.js → LHADNET3.js} +2 -2
  189. package/dist/cdn/{WZTL2MCD.js → LHZUH6KP.js} +2 -2
  190. package/dist/cdn/{G423EZVH.js → LLOZ3PI2.js} +2 -2
  191. package/dist/cdn/{WPMDZZYN.js → LMDNSXHL.js} +2 -2
  192. package/dist/cdn/{OBTOZOSB.js → LSY7M7PM.js} +2 -2
  193. package/dist/cdn/{37CBPFRJ.js → LTHVPEMG.js} +2 -2
  194. package/dist/cdn/{YNQJMUXW.js → LZI6KYYE.js} +2 -2
  195. package/dist/cdn/{Q2JR6QFV.js → MI7LMOW6.js} +2 -2
  196. package/dist/cdn/{FUW5X5WX.js → MISCRKYB.js} +2 -2
  197. package/dist/cdn/{4ZEW55IS.js → MNX4DCXY.js} +2 -2
  198. package/dist/cdn/{X2Q335MK.js → MTF4VR24.js} +2 -2
  199. package/dist/cdn/{7EWH23O4.js → N6PMPVQP.js} +2 -2
  200. package/dist/cdn/{BOWYOYFF.js → N74X45H6.js} +2 -2
  201. package/dist/cdn/{4SB6QW6W.js → NFHTWLBJ.js} +1 -1
  202. package/dist/cdn/{MPPNFL6O.js → NHDI6Y5W.js} +2 -2
  203. package/dist/cdn/{ZDTXP6UH.js → NM4HWLOR.js} +2 -2
  204. package/dist/cdn/{WZGEVXYQ.js → NNECIHO6.js} +2 -2
  205. package/dist/cdn/NVSJJXGC.js +4 -0
  206. package/dist/cdn/{KRNFP4OP.js → O7QUQWMN.js} +1 -1
  207. package/dist/cdn/{VRHRENNK.js → OABJ6FAM.js} +2 -2
  208. package/dist/cdn/{OUALGQPO.js → OAPFPQ7T.js} +2 -2
  209. package/dist/cdn/{7G2GSKCH.js → OCHSVPPR.js} +2 -2
  210. package/dist/cdn/{ORAYN2AR.js → OGT3FBFB.js} +2 -2
  211. package/dist/cdn/{SKT4GZ6B.js → OHFYM6YD.js} +2 -2
  212. package/dist/cdn/{7THEDBQV.js → OJXOT76S.js} +2 -2
  213. package/dist/cdn/{C36XF7C7.js → OMECYQCA.js} +2 -2
  214. package/dist/cdn/OPCZGSSX.js +4 -0
  215. package/dist/cdn/{EQMNEW7B.js → OPFS2EDA.js} +1 -1
  216. package/dist/cdn/{EWZKQPHY.js → OQUWAIXQ.js} +2 -2
  217. package/dist/cdn/{BIJS3QDZ.js → OUD56JVC.js} +2 -2
  218. package/dist/cdn/{2TBAUYG2.js → OUL7XO4D.js} +2 -2
  219. package/dist/cdn/{22WI477F.js → OWPATX2P.js} +1 -1
  220. package/dist/cdn/{3NBAQVF4.js → PCD7PZ5L.js} +1 -1
  221. package/dist/cdn/{I5EMUTWF.js → PIR7N5VR.js} +1 -1
  222. package/dist/cdn/{S7NGALY2.js → PKMLCY5N.js} +2 -2
  223. package/dist/cdn/{SMTIW5ON.js → PXGN7EKL.js} +2 -2
  224. package/dist/cdn/{N55BTIIP.js → Q7XUITQI.js} +2 -2
  225. package/dist/cdn/{G354G2R5.js → QAP7LJA2.js} +2 -2
  226. package/dist/cdn/{P5564HET.js → QB5AV6Z2.js} +2 -2
  227. package/dist/cdn/{YHIWZGM7.js → QC2AE5T3.js} +2 -2
  228. package/dist/cdn/{PNEU3IS5.js → QD7UTWID.js} +3 -3
  229. package/dist/cdn/{2NN7XORI.js → QDIFRW3Y.js} +2 -2
  230. package/dist/cdn/{2XVGJF2S.js → QGJJ24WW.js} +2 -2
  231. package/dist/cdn/{OMCPSQ2N.js → QHOSUMUL.js} +2 -2
  232. package/dist/cdn/{T4NEPGO4.js → QTGADA35.js} +2 -2
  233. package/dist/cdn/{ON53FJXG.js → R5CSYGKM.js} +2 -2
  234. package/dist/cdn/{IJBXFCMT.js → R5I3RSB5.js} +2 -2
  235. package/dist/cdn/{6RUEUSIY.js → R5T7HNWM.js} +2 -2
  236. package/dist/cdn/{S3TADIJ6.js → R65XXC7W.js} +1 -1
  237. package/dist/cdn/{QKHTFYET.js → RA5UOWRS.js} +2 -2
  238. package/dist/cdn/{T34KE2A2.js → RIDOZXO2.js} +2 -2
  239. package/dist/cdn/{4KAJDNJI.js → RIGVRNF5.js} +2 -2
  240. package/dist/cdn/{KU7RFZOY.js → RO4OHJS7.js} +2 -2
  241. package/dist/cdn/{PWGDJNXG.js → RTBQFLPT.js} +2 -2
  242. package/dist/cdn/{7QZKOSHV.js → RTSU4IMM.js} +2 -2
  243. package/dist/cdn/RVED3KDZ.js +65 -0
  244. package/dist/cdn/{KNUWDW23.js → RXMDWQTK.js} +2 -2
  245. package/dist/cdn/{267XR53J.js → S4BF2WGT.js} +2 -2
  246. package/dist/cdn/{K5RFBVYK.js → S4VTTGV4.js} +2 -2
  247. package/dist/cdn/{R4GWAQRV.js → S67DZUEG.js} +1 -1
  248. package/dist/cdn/{UEFR52YG.js → S7BHNJLQ.js} +2 -2
  249. package/dist/cdn/{QWKYRSVI.js → SC3FNS6J.js} +2 -2
  250. package/dist/cdn/{Z23HGZYN.js → SKEK4QNX.js} +2 -2
  251. package/dist/cdn/{5QB6QMOQ.js → SKQS2WA5.js} +2 -2
  252. package/dist/cdn/{OJEOXJLD.js → SLEEVSYJ.js} +2 -2
  253. package/dist/cdn/{67PMSKZH.js → SNJYATF7.js} +1 -1
  254. package/dist/cdn/{KHGPU4UH.js → SOSIOC3B.js} +2 -2
  255. package/dist/cdn/{455DGAYG.js → SRQOKDNI.js} +2 -2
  256. package/dist/cdn/{CVPVJHLE.js → SVIJAADO.js} +2 -2
  257. package/dist/cdn/{44SOOWCI.js → SVKG37NL.js} +2 -2
  258. package/dist/cdn/{EWRHTIXK.js → SVLEHVDZ.js} +2 -2
  259. package/dist/cdn/{FHQAUSZQ.js → SWZKIHBT.js} +2 -2
  260. package/dist/cdn/{SULZ3DXA.js → SZQTGGCV.js} +1 -1
  261. package/dist/cdn/{SEQGEOAO.js → TB5GWGCC.js} +2 -2
  262. package/dist/cdn/{4N6PAP2B.js → TENRTCL5.js} +2 -2
  263. package/dist/cdn/{5KWSM7IU.js → TJKDS62P.js} +2 -2
  264. package/dist/cdn/{TCBFVFSX.js → TK5MJJZP.js} +2 -2
  265. package/dist/cdn/{SYAYSQPQ.js → TWD2LUT7.js} +2 -2
  266. package/dist/cdn/{WEU6HCGV.js → U22NFDSK.js} +2 -2
  267. package/dist/cdn/{3SLYHKVF.js → U3N72MOY.js} +2 -2
  268. package/dist/cdn/{SHSY5TSW.js → UBSHVQ67.js} +2 -2
  269. package/dist/cdn/{EOPQUXDK.js → UDYQLKU2.js} +2 -2
  270. package/dist/cdn/{QAFNPAAD.js → UGXZV4XN.js} +1 -1
  271. package/dist/cdn/{PT5WEO4R.js → UHXD3KCT.js} +2 -2
  272. package/dist/cdn/{Y4CU2GK4.js → UM75XTCN.js} +2 -2
  273. package/dist/cdn/{QGUWQFF4.js → UNMHKHZ5.js} +2 -2
  274. package/dist/cdn/{NRDRHGLK.js → USSXA4MT.js} +2 -2
  275. package/dist/cdn/{2R5QFP6H.js → UX43ZU2H.js} +2 -2
  276. package/dist/cdn/{FH4SRX2G.js → UZ374JOX.js} +2 -2
  277. package/dist/cdn/{IQKAM57E.js → UZXP73OD.js} +2 -2
  278. package/dist/cdn/{JPQEYX6B.js → V2J3YHQS.js} +2 -2
  279. package/dist/cdn/{EFOK377W.js → V2MVWBQC.js} +1 -1
  280. package/dist/cdn/{DEWVSB4U.js → V5BRVAIY.js} +3 -3
  281. package/dist/cdn/{LQHMW4IA.js → V7N3K5BW.js} +2 -2
  282. package/dist/cdn/VDL3ORNG.js +4 -0
  283. package/dist/cdn/{TRRMVHNP.js → VESF2MVU.js} +2 -2
  284. package/dist/cdn/{YLRL7Y5N.js → VIAQLJWM.js} +2 -2
  285. package/dist/cdn/{6LDGKXHO.js → VJEGBA6P.js} +2 -2
  286. package/dist/cdn/{KQQVJLMB.js → VPNGXGZ6.js} +2 -2
  287. package/dist/cdn/{2L5T7JFI.js → VRW57QNZ.js} +2 -2
  288. package/dist/cdn/{ACASG3D3.js → VT3SBHVN.js} +2 -2
  289. package/dist/cdn/{JZ7DDWQB.js → VVCF2AUH.js} +2 -2
  290. package/dist/cdn/{AWZPH3WI.js → VW6CSBYE.js} +2 -2
  291. package/dist/cdn/{C3UGMPFZ.js → W2PK53ZW.js} +2 -2
  292. package/dist/cdn/{374U3GWX.js → WC5UQNN4.js} +2 -2
  293. package/dist/cdn/{MGF42WWT.js → WCUMS6MM.js} +2 -2
  294. package/dist/cdn/{JTKWC3IN.js → WGC7EQLN.js} +2 -2
  295. package/dist/cdn/{GFLSAGSA.js → WGIZKN2R.js} +2 -2
  296. package/dist/cdn/{AVXSEI6R.js → WHLKZMOG.js} +2 -2
  297. package/dist/cdn/{OVZZ6JTU.js → WPCRI56Q.js} +2 -2
  298. package/dist/cdn/{J2ZYSYWV.js → WTAYRSWV.js} +2 -2
  299. package/dist/cdn/{LPVP3TCA.js → WUDVN65D.js} +1 -1
  300. package/dist/cdn/{JVB44O4S.js → WVNSSHFD.js} +2 -2
  301. package/dist/cdn/{VRUHMDUB.js → WWHHN66F.js} +1 -1
  302. package/dist/cdn/{J4W3UIZY.js → WY3IXZWK.js} +2 -2
  303. package/dist/cdn/{TWG226PR.js → WY7IYTWF.js} +2 -2
  304. package/dist/cdn/{FJKLSPV2.js → X2BUY4SI.js} +2 -2
  305. package/dist/cdn/{JUHZNCUH.js → X5XJRBMS.js} +1 -1
  306. package/dist/cdn/{PGGYBI5J.js → XALVY5U7.js} +2 -2
  307. package/dist/cdn/{WWKYMX4H.js → XC2RN3E4.js} +2 -2
  308. package/dist/cdn/{UNSSBR4O.js → XDWAJV5E.js} +2 -2
  309. package/dist/cdn/{ZADEJN6X.js → XDZCTXYL.js} +1 -1
  310. package/dist/cdn/{JN7ZBQQT.js → XFHGN2VQ.js} +2 -2
  311. package/dist/cdn/{N4YNUARS.js → XJGJXA5N.js} +2 -2
  312. package/dist/cdn/{KQ3UQWCA.js → XKMLZWOT.js} +2 -2
  313. package/dist/cdn/{3NJ7ZDPK.js → XNUPB5IP.js} +2 -2
  314. package/dist/cdn/{4IP3BGGA.js → XPYSSK2W.js} +2 -2
  315. package/dist/cdn/{H23L6B2Q.js → XRUCHXKQ.js} +1 -1
  316. package/dist/cdn/{CNPRL7S7.js → XVSMGFBN.js} +2 -2
  317. package/dist/cdn/{PGBTYK6X.js → XWD4BRLE.js} +2 -2
  318. package/dist/cdn/{W5ZGSETN.js → Y7J3WBQC.js} +2 -2
  319. package/dist/cdn/YBA7DTZL.js +18 -0
  320. package/dist/cdn/{HEW6Z5PB.js → YBXI2IP4.js} +2 -2
  321. package/dist/cdn/{3PWHRLUR.js → YCGRKQUE.js} +2 -2
  322. package/dist/cdn/{SROQUXLR.js → YE4CWFPV.js} +2 -2
  323. package/dist/cdn/{6NCUX6NJ.js → YFNTPWQX.js} +2 -2
  324. package/dist/cdn/{QO2IVYQC.js → YFWPGFWZ.js} +2 -2
  325. package/dist/cdn/{UFPDER6I.js → YH7OKKNO.js} +2 -2
  326. package/dist/cdn/{HOFOKHEX.js → YHC7VJT6.js} +2 -2
  327. package/dist/cdn/{OEWCMCHN.js → YIVC3N6V.js} +2 -2
  328. package/dist/cdn/{FTCKROY3.js → YRYUTQZS.js} +2 -2
  329. package/dist/cdn/{7WJ4AYW6.js → YSRBGBTX.js} +2 -2
  330. package/dist/cdn/{PYWEHZIC.js → Z6Y6T5UD.js} +2 -2
  331. package/dist/cdn/{U232ZHS5.js → ZARLXUDC.js} +2 -2
  332. package/dist/cdn/{ID2MR3BQ.js → ZBBWQLUR.js} +2 -2
  333. package/dist/cdn/{ANG6KH3Q.js → ZCW6M6OW.js} +1 -1
  334. package/dist/cdn/{CURE4DDI.js → ZFTONCP4.js} +2 -2
  335. package/dist/cdn/{ICV7ZHJA.js → ZI4I3QKV.js} +2 -2
  336. package/dist/cdn/{B2M4VAVZ.js → ZKOH4CPV.js} +2 -2
  337. package/dist/cdn/{ZHNR6E4I.js → ZLN7CJ4U.js} +2 -2
  338. package/dist/cdn/{NDGWBMSC.js → ZOZZYFSA.js} +2 -2
  339. package/dist/cdn/{QGE56V4L.js → ZP365LXA.js} +2 -2
  340. package/dist/cdn/{L6LJJRE2.js → ZPGG6M7Y.js} +2 -2
  341. package/dist/cdn/{IM62UGGF.js → ZSPVOJPN.js} +2 -2
  342. package/dist/cdn/{KCSAC7EU.js → ZTNTEOUC.js} +1 -1
  343. package/dist/cdn/{VJABELHG.js → ZZ7264B4.js} +2 -2
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/index.js +2 -2
  349. package/dist/chunks/Auth.js +1 -1
  350. package/dist/chunks/CardsFetcher.js +1 -1
  351. package/dist/chunks/appConfig.js +1 -1
  352. package/dist/chunks/cardFetchingUtils.js +1 -1
  353. package/dist/chunks/cardsHelpers.js +1 -1
  354. package/dist/chunks/common.js +1 -1
  355. package/dist/chunks/deployAppContexts.js +1 -1
  356. package/dist/chunks/downloadUtils.js +1 -1
  357. package/dist/chunks/getItemIcon.js +1 -1
  358. package/dist/chunks/helpers.js +1 -1
  359. package/dist/chunks/interfaces.js +1 -1
  360. package/dist/chunks/loadModules.js +1 -1
  361. package/dist/chunks/mapViewUtils.js +1 -1
  362. package/dist/chunks/pciUtils.js +1 -1
  363. package/dist/chunks/popupUtils.js +1 -1
  364. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  365. package/dist/chunks/privilegeUtils.js +1 -1
  366. package/dist/chunks/publicNotificationContext.js +1 -1
  367. package/dist/chunks/queryUtils.js +43 -38
  368. package/dist/chunks/runtime.js +1 -1
  369. package/dist/chunks/solution-store.js +1 -1
  370. package/dist/chunks/templates.js +1 -1
  371. package/dist/chunks/useT9n.js +1 -1
  372. package/dist/components/arcgis-solutions-assistant/customElement.js +260 -227
  373. package/dist/components/arcgis-solutions-assistant/index.d.ts +1 -0
  374. package/dist/components/arcgis-solutions-assistant/index.js +1 -0
  375. package/dist/components/basemap-gallery/customElement.js +1 -1
  376. package/dist/components/buffer-tools/customElement.js +1 -1
  377. package/dist/components/card-manager/customElement.js +1 -1
  378. package/dist/components/consent-manager/customElement.js +1 -1
  379. package/dist/components/create-feature/customElement.js +1 -1
  380. package/dist/components/create-related-feature/customElement.js +1 -1
  381. package/dist/components/crowdsource-manager/customElement.d.ts +3 -5
  382. package/dist/components/crowdsource-manager/customElement.js +7 -19
  383. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  384. package/dist/components/crowdsource-reporter/index.d.ts +1 -1
  385. package/dist/components/crowdsource-reporter/index.js +1 -1
  386. package/dist/components/deduct-calculator/customElement.js +1 -1
  387. package/dist/components/delete-button/customElement.d.ts +2 -6
  388. package/dist/components/delete-button/customElement.js +3 -3
  389. package/dist/components/delete-dialog/customElement.js +1 -1
  390. package/dist/components/edit-card/customElement.js +1 -1
  391. package/dist/components/feature-details/customElement.js +1 -1
  392. package/dist/components/feature-list/customElement.js +1 -1
  393. package/dist/components/field-selection/customElement.js +1 -1
  394. package/dist/components/floor-filter/customElement.js +1 -1
  395. package/dist/components/info-card/customElement.js +1 -1
  396. package/dist/components/json-editor/customElement.js +1 -1
  397. package/dist/components/layer-list/customElement.js +1 -1
  398. package/dist/components/layer-table/customElement.js +3 -3
  399. package/dist/components/map-card/customElement.js +2 -2
  400. package/dist/components/map-draw-tools/customElement.js +1 -1
  401. package/dist/components/map-fullscreen/customElement.js +1 -1
  402. package/dist/components/map-layer-picker/customElement.d.ts +2 -6
  403. package/dist/components/map-layer-picker/customElement.js +9 -13
  404. package/dist/components/map-legend/customElement.js +1 -1
  405. package/dist/components/map-picker/customElement.js +1 -1
  406. package/dist/components/map-search/customElement.js +1 -1
  407. package/dist/components/map-select-tools/customElement.js +15 -15
  408. package/dist/components/map-tools/customElement.js +56 -57
  409. package/dist/components/pci-calculator/customElement.js +1 -1
  410. package/dist/components/pdf-download/customElement.js +1 -1
  411. package/dist/components/public-notification/customElement.js +5 -6
  412. package/dist/components/refine-selection/customElement.js +1 -1
  413. package/dist/components/selection-tool/customElement.js +1 -1
  414. package/dist/components/solution-configuration/customElement.js +1 -1
  415. package/dist/components/solution-configure-titles/customElement.js +1 -1
  416. package/dist/components/solution-contents/customElement.js +1 -1
  417. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  418. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  419. package/dist/components/solution-deployed-card/customElement.js +1 -1
  420. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  421. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  422. package/dist/components/solution-details-card/customElement.js +1 -1
  423. package/dist/components/solution-details-panel/customElement.js +1 -1
  424. package/dist/components/solution-item/customElement.js +1 -1
  425. package/dist/components/solution-item-accordion/customElement.js +1 -1
  426. package/dist/components/solution-item-details/customElement.js +1 -1
  427. package/dist/components/solution-item-diagram/customElement.js +1 -1
  428. package/dist/components/solution-item-icon/customElement.js +1 -1
  429. package/dist/components/solution-item-sharing/customElement.js +1 -1
  430. package/dist/components/solution-organization-variables/customElement.js +1 -1
  431. package/dist/components/solution-resource-card/customElement.js +1 -1
  432. package/dist/components/solution-resource-item/customElement.js +1 -1
  433. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  434. package/dist/components/solution-social-share/customElement.js +1 -1
  435. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  436. package/dist/components/solution-template-data/customElement.js +1 -1
  437. package/dist/components/solution-variables/customElement.js +1 -1
  438. package/dist/components/solutions-all-panel/customElement.js +1 -1
  439. package/dist/components/solutions-all-shell/customElement.js +1 -1
  440. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  441. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  442. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  443. package/dist/components/solutions-deployed-panel/customElement.js +2 -2
  444. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  445. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  446. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  447. package/dist/components/solutions-resources/customElement.js +1 -1
  448. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  449. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  450. package/dist/components/spatial-ref/customElement.js +1 -1
  451. package/dist/components/store-manager/customElement.js +1 -1
  452. package/dist/docs/api.json +22 -46
  453. package/dist/docs/docs.json +26 -26
  454. package/dist/docs/vscode.html-custom-data.json +2 -12
  455. package/dist/docs/web-types.json +7 -23
  456. package/dist/index.js +1 -1
  457. package/dist/loader.js +3 -3
  458. package/dist/utils/interfaces.d.ts +3 -3
  459. package/dist/utils/queryUtils.d.ts +2 -2
  460. package/package.json +22 -22
  461. package/dist/cdn/24XF7RBG.js +0 -4
  462. package/dist/cdn/3EUP5SA5.js +0 -18
  463. package/dist/cdn/3I365GBL.js +0 -4
  464. package/dist/cdn/5X7OT3PW.js +0 -4
  465. package/dist/cdn/6D3JL2AS.js +0 -18
  466. package/dist/cdn/7IGMIN2W.js +0 -63
  467. package/dist/cdn/BUNUWO4R.js +0 -4
  468. package/dist/cdn/D7QKCBMA.js +0 -4
  469. package/dist/cdn/DCXFS72L.js +0 -18
  470. package/dist/cdn/DUVCORIN.js +0 -4
  471. package/dist/cdn/GW3RLVUL.js +0 -4
  472. package/dist/cdn/JM47OMNA.js +0 -18
  473. package/dist/cdn/LAER7U5K.js +0 -4
  474. package/dist/cdn/NUYH26IF.js +0 -18
  475. package/dist/cdn/OTM3WCFO.js +0 -18
  476. package/dist/cdn/P2ZHCD37.js +0 -4
  477. package/dist/cdn/T6HJKM4L.js +0 -4
  478. package/dist/cdn/X7SSY7I5.js +0 -18
  479. package/dist/cdn/ZWLWEEM7.js +0 -18
@@ -1,13 +1,13 @@
1
- import { c as we } from "../../chunks/runtime.js";
1
+ import { c as ve } from "../../chunks/runtime.js";
2
2
  import { ref as se } from "lit/directives/ref.js";
3
- import { u as ve } from "../../chunks/useT9n.js";
4
- import { LitElement as ye, createEvent as $e, nothing as O, safeClassMap as Se } from "@arcgis/lumina";
5
- import { css as _e, html as k } from "lit";
6
- import { unsafeHTML as Re } from "lit/directives/unsafe-html.js";
3
+ import { u as ye } from "../../chunks/useT9n.js";
4
+ import { LitElement as $e, createEvent as Se, nothing as O, safeClassMap as _e } from "@arcgis/lumina";
5
+ import { css as Re, html as m } from "lit";
6
+ import { unsafeHTML as Te } from "lit/directives/unsafe-html.js";
7
7
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
8
8
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
9
- v1.2.0-next.21 */
10
- const Te = _e`: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}`;
9
+ v1.2.0-next.23 */
10
+ const Ie = Re`: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}`;
11
11
  /**
12
12
  * @license
13
13
  * Copyright 2025 Esri
@@ -24,12 +24,12 @@ const Te = _e`:host{display:block;height:100%}.display-flex-row{display:flex;fle
24
24
  * See the License for the specific language governing permissions and
25
25
  * limitations under the License.
26
26
  */
27
- const Ie = "https://www.arcgis.com/sharing/rest/content/items/";
28
- async function Ae(n) {
29
- return await ze(n);
30
- }
27
+ const Ae = "https://www.arcgis.com/sharing/rest/content/items/";
31
28
  async function ze(n) {
32
- const e = Ie + n + "?f=json";
29
+ return await Ce(n);
30
+ }
31
+ async function Ce(n) {
32
+ const e = Ae + n + "?f=json";
33
33
  try {
34
34
  const s = await fetch(
35
35
  e,
@@ -42,11 +42,11 @@ async function ze(n) {
42
42
  return { error: s.message };
43
43
  }
44
44
  }
45
- function U() {
45
+ function j() {
46
46
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
47
47
  }
48
- var S = U();
49
- function oe(n) {
48
+ var S = j();
49
+ function ce(n) {
50
50
  S = n;
51
51
  }
52
52
  var A = { exec: () => null };
@@ -57,15 +57,21 @@ function u(n, e = "") {
57
57
  }, getRegex: () => new RegExp(s, e) };
58
58
  return r;
59
59
  }
60
- var 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") }, Ce = /^(?:[ \t]*(?:\n|$))+/, qe = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Le = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, z = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ee = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, ce = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, he = u(ce).replace(/bull/g, j).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(), Me = u(ce).replace(/bull/g, j).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(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, G = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Be = u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", G).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Qe = u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, j).getRegex(), M = "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", H = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Oe = u("^ {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", H).replace("tag", M).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ue = u(F).replace("hr", z).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", M).getRegex(), Ze = u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ue).getRegex(), K = { blockquote: Ze, code: qe, def: Be, fences: Le, heading: Ee, hr: z, html: Oe, lheading: he, list: Qe, newline: Ce, paragraph: ue, table: A, text: Pe }, ne = u("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", z).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", M).getRegex(), De = { ...K, lheading: Me, table: ne, paragraph: u(F).replace("hr", z).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ne).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", M).getRegex() }, Ne = { ...K, html: u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", H).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: A, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: u(F).replace("hr", z).replace("heading", ` *#{1,6} *[^
61
- ]`).replace("lheading", he).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ue = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, je = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, pe = /^( {2,}|\\)\n(?!\s*$)/, Fe = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, P = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, de = /[^\s\p{P}\p{S}]/u, Ge = u(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ge = /(?!~)[\p{P}\p{S}]/u, He = /(?!~)[\s\p{P}\p{S}]/u, Ke = /(?:[^\s\p{P}\p{S}]|~)/u, We = /\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, fe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Xe = u(fe, "u").replace(/punct/g, P).getRegex(), Je = u(fe, "u").replace(/punct/g, ge).getRegex(), ke = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ve = u(ke, "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, W).replace(/punct/g, P).getRegex(), Ye = u(ke, "gu").replace(/notPunctSpace/g, Ke).replace(/punctSpace/g, He).replace(/punct/g, ge).getRegex(), et = u("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, de).replace(/punctSpace/g, W).replace(/punct/g, P).getRegex(), tt = u(/\\(punct)/, "gu").replace(/punct/g, P).getRegex(), st = u(/^<(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(), nt = u(H).replace("(?:-->|$)", "-->").getRegex(), rt = u("^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", nt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, it = u(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), me = u(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", G).getRegex(), xe = u(/^!?\[(ref)\](?:\[\])?/).replace("ref", G).getRegex(), at = u("reflink|nolink(?!\\()", "g").replace("reflink", me).replace("nolink", xe).getRegex(), X = { _backpedal: A, anyPunctuation: tt, autolink: st, blockSkip: We, br: pe, code: je, del: A, emStrongLDelim: Xe, emStrongRDelimAst: Ve, emStrongRDelimUnd: et, escape: Ue, link: it, nolink: xe, punctuation: Ge, reflink: me, reflinkSearch: at, tag: rt, text: Fe, url: A }, lt = { ...X, link: u(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, Z = { ...X, emStrongRDelimAst: Ye, emStrongLDelim: Je, url: u(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").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: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, ot = { ...Z, br: u(pe).replace("{2,}", "*").getRegex(), text: u(Z.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K, gfm: De, pedantic: Ne }, R = { normal: X, gfm: Z, breaks: ot, pedantic: lt }, ct = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, re = (n) => ct[n];
62
- function w(n, e) {
60
+ var qe = (() => {
61
+ try {
62
+ return !!new RegExp("(?<=1)(?<!1)");
63
+ } catch {
64
+ return !1;
65
+ }
66
+ })(), 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") }, Le = /^(?:[ \t]*(?:\n|$))+/, Ee = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Me = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, z = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Pe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, he = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ue = u(he).replace(/bull/g, F).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(), Be = u(he).replace(/bull/g, F).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(), U = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Qe = /^[^\n]+/, H = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Oe = u(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", H).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Ze = u(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), M = "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", G = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, De = u("^ {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", G).replace("tag", M).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), pe = u(U).replace("hr", z).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", M).getRegex(), Ne = u(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", pe).getRegex(), K = { blockquote: Ne, code: Ee, def: Oe, fences: Me, heading: Pe, hr: z, html: De, lheading: ue, list: Ze, newline: Le, paragraph: pe, table: A, text: Qe }, ne = u("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", z).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", M).getRegex(), je = { ...K, lheading: Be, table: ne, paragraph: u(U).replace("hr", z).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ne).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", M).getRegex() }, Fe = { ...K, html: u(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", G).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: A, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: u(U).replace("hr", z).replace("heading", ` *#{1,6} *[^
67
+ ]`).replace("lheading", ue).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ue = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, He = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, de = /^( {2,}|\\)\n(?!\s*$)/, Ge = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, P = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, ge = /[^\s\p{P}\p{S}]/u, Ke = u(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), fe = /(?!~)[\p{P}\p{S}]/u, We = /(?!~)[\s\p{P}\p{S}]/u, Xe = /(?:[^\s\p{P}\p{S}]|~)/u, Je = u(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", qe ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ke = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Ve = u(ke, "u").replace(/punct/g, P).getRegex(), Ye = u(ke, "u").replace(/punct/g, fe).getRegex(), me = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", et = u(me, "gu").replace(/notPunctSpace/g, ge).replace(/punctSpace/g, W).replace(/punct/g, P).getRegex(), tt = u(me, "gu").replace(/notPunctSpace/g, Xe).replace(/punctSpace/g, We).replace(/punct/g, fe).getRegex(), st = u("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ge).replace(/punctSpace/g, W).replace(/punct/g, P).getRegex(), nt = u(/\\(punct)/, "gu").replace(/punct/g, P).getRegex(), rt = u(/^<(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(), it = u(G).replace("(?:-->|$)", "-->").getRegex(), at = u("^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", it).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, lt = u(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), xe = u(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", H).getRegex(), be = u(/^!?\[(ref)\](?:\[\])?/).replace("ref", H).getRegex(), ot = u("reflink|nolink(?!\\()", "g").replace("reflink", xe).replace("nolink", be).getRegex(), re = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X = { _backpedal: A, anyPunctuation: nt, autolink: rt, blockSkip: Je, br: de, code: He, del: A, emStrongLDelim: Ve, emStrongRDelimAst: et, emStrongRDelimUnd: st, escape: Ue, link: lt, nolink: be, punctuation: Ke, reflink: xe, reflinkSearch: ot, tag: at, text: Ge, url: A }, ct = { ...X, link: u(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, Z = { ...X, emStrongRDelimAst: tt, emStrongLDelim: Ye, url: u(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", re).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: u(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", re).getRegex() }, ht = { ...Z, br: u(de).replace("{2,}", "*").getRegex(), text: u(Z.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K, gfm: je, pedantic: Fe }, R = { normal: X, gfm: Z, breaks: ht, pedantic: ct }, ut = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ie = (n) => ut[n];
68
+ function y(n, e) {
63
69
  if (e) {
64
- if (x.escapeTest.test(n)) return n.replace(x.escapeReplace, re);
65
- } else if (x.escapeTestNoEncode.test(n)) return n.replace(x.escapeReplaceNoEncode, re);
70
+ if (x.escapeTest.test(n)) return n.replace(x.escapeReplace, ie);
71
+ } else if (x.escapeTestNoEncode.test(n)) return n.replace(x.escapeReplaceNoEncode, ie);
66
72
  return n;
67
73
  }
68
- function ie(n) {
74
+ function ae(n) {
69
75
  try {
70
76
  n = encodeURI(n).replace(x.percentDecode, "%");
71
77
  } catch {
@@ -73,11 +79,11 @@ function ie(n) {
73
79
  }
74
80
  return n;
75
81
  }
76
- function ae(n, e) {
77
- let s = n.replace(x.findPipe, (a, i, l) => {
78
- let o = !1, c = i;
79
- for (; --c >= 0 && l[c] === "\\"; ) o = !o;
80
- return o ? "|" : " |";
82
+ function le(n, e) {
83
+ let s = n.replace(x.findPipe, (a, i, o) => {
84
+ let l = !1, h = i;
85
+ for (; --h >= 0 && o[h] === "\\"; ) l = !l;
86
+ return l ? "|" : " |";
81
87
  }), r = s.split(x.splitPipe), t = 0;
82
88
  if (r[0].trim() || r.shift(), r.length > 0 && !r.at(-1)?.trim() && r.pop(), e) if (r.length > e) r.splice(e);
83
89
  else for (; r.length < e; ) r.push("");
@@ -92,7 +98,7 @@ function T(n, e, s) {
92
98
  t++;
93
99
  return n.slice(0, r - t);
94
100
  }
95
- function ht(n, e) {
101
+ function pt(n, e) {
96
102
  if (n.indexOf(e[1]) === -1) return -1;
97
103
  let s = 0;
98
104
  for (let r = 0; r < n.length; r++) if (n[r] === "\\") r++;
@@ -100,13 +106,13 @@ function ht(n, e) {
100
106
  else if (n[r] === e[1] && (s--, s < 0)) return r;
101
107
  return s > 0 ? -2 : -1;
102
108
  }
103
- function le(n, e, s, r, t) {
104
- let a = e.href, i = e.title || null, l = n[1].replace(t.other.outputLinkReplace, "$1");
109
+ function oe(n, e, s, r, t) {
110
+ let a = e.href, i = e.title || null, o = n[1].replace(t.other.outputLinkReplace, "$1");
105
111
  r.state.inLink = !0;
106
- let o = { type: n[0].charAt(0) === "!" ? "image" : "link", raw: s, href: a, title: i, text: l, tokens: r.inlineTokens(l) };
107
- return r.state.inLink = !1, o;
112
+ let l = { type: n[0].charAt(0) === "!" ? "image" : "link", raw: s, href: a, title: i, text: o, tokens: r.inlineTokens(o) };
113
+ return r.state.inLink = !1, l;
108
114
  }
109
- function ut(n, e, s) {
115
+ function dt(n, e, s) {
110
116
  let r = n.match(s.other.indentCodeCompensation);
111
117
  if (r === null) return e;
112
118
  let t = r[1];
@@ -114,8 +120,8 @@ function ut(n, e, s) {
114
120
  `).map((a) => {
115
121
  let i = a.match(s.other.beginningSpace);
116
122
  if (i === null) return a;
117
- let [l] = i;
118
- return l.length >= t.length ? a.slice(t.length) : a;
123
+ let [o] = i;
124
+ return o.length >= t.length ? a.slice(t.length) : a;
119
125
  }).join(`
120
126
  `);
121
127
  }
@@ -141,7 +147,7 @@ var L = class {
141
147
  fences(n) {
142
148
  let e = this.rules.block.fences.exec(n);
143
149
  if (e) {
144
- let s = e[0], r = ut(s, e[3] || "", this.rules);
150
+ let s = e[0], r = dt(s, e[3] || "", this.rules);
145
151
  return { type: "code", raw: s, lang: e[2] ? e[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : e[2], text: r };
146
152
  }
147
153
  }
@@ -168,32 +174,32 @@ var L = class {
168
174
  `).split(`
169
175
  `), r = "", t = "", a = [];
170
176
  for (; s.length > 0; ) {
171
- let i = !1, l = [], o;
172
- for (o = 0; o < s.length; o++) if (this.rules.other.blockquoteStart.test(s[o])) l.push(s[o]), i = !0;
173
- else if (!i) l.push(s[o]);
177
+ let i = !1, o = [], l;
178
+ for (l = 0; l < s.length; l++) if (this.rules.other.blockquoteStart.test(s[l])) o.push(s[l]), i = !0;
179
+ else if (!i) o.push(s[l]);
174
180
  else break;
175
- s = s.slice(o);
176
- let c = l.join(`
177
- `), h = c.replace(this.rules.other.blockquoteSetextReplace, `
181
+ s = s.slice(l);
182
+ let h = o.join(`
183
+ `), c = h.replace(this.rules.other.blockquoteSetextReplace, `
178
184
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
179
185
  r = r ? `${r}
180
- ${c}` : c, t = t ? `${t}
181
- ${h}` : h;
186
+ ${h}` : h, t = t ? `${t}
187
+ ${c}` : c;
182
188
  let g = this.lexer.state.top;
183
- if (this.lexer.state.top = !0, this.lexer.blockTokens(h, a, !0), this.lexer.state.top = g, s.length === 0) break;
184
- let d = a.at(-1);
185
- if (d?.type === "code") break;
186
- if (d?.type === "blockquote") {
187
- let m = d, f = m.raw + `
189
+ if (this.lexer.state.top = !0, this.lexer.blockTokens(c, a, !0), this.lexer.state.top = g, s.length === 0) break;
190
+ let p = a.at(-1);
191
+ if (p?.type === "code") break;
192
+ if (p?.type === "blockquote") {
193
+ let k = p, f = k.raw + `
188
194
  ` + s.join(`
189
195
  `), b = this.blockquote(f);
190
- a[a.length - 1] = b, r = r.substring(0, r.length - m.raw.length) + b.raw, t = t.substring(0, t.length - m.text.length) + b.text;
196
+ a[a.length - 1] = b, r = r.substring(0, r.length - k.raw.length) + b.raw, t = t.substring(0, t.length - k.text.length) + b.text;
191
197
  break;
192
- } else if (d?.type === "list") {
193
- let m = d, f = m.raw + `
198
+ } else if (p?.type === "list") {
199
+ let k = p, f = k.raw + `
194
200
  ` + s.join(`
195
201
  `), b = this.list(f);
196
- a[a.length - 1] = b, r = r.substring(0, r.length - d.raw.length) + b.raw, t = t.substring(0, t.length - m.raw.length) + b.raw, s = f.substring(a.at(-1).raw.length).split(`
202
+ a[a.length - 1] = b, r = r.substring(0, r.length - p.raw.length) + b.raw, t = t.substring(0, t.length - k.raw.length) + b.raw, s = f.substring(a.at(-1).raw.length).split(`
197
203
  `);
198
204
  continue;
199
205
  }
@@ -208,43 +214,43 @@ ${h}` : h;
208
214
  s = r ? `\\d{1,9}\\${s.slice(-1)}` : `\\${s}`, this.options.pedantic && (s = r ? s : "[*+-]");
209
215
  let a = this.rules.other.listItemRegex(s), i = !1;
210
216
  for (; n; ) {
211
- let o = !1, c = "", h = "";
217
+ let l = !1, h = "", c = "";
212
218
  if (!(e = a.exec(n)) || this.rules.block.hr.test(n)) break;
213
- c = e[0], n = n.substring(c.length);
219
+ h = e[0], n = n.substring(h.length);
214
220
  let g = e[2].split(`
215
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (B) => " ".repeat(3 * B.length)), d = n.split(`
216
- `, 1)[0], m = !g.trim(), f = 0;
217
- if (this.options.pedantic ? (f = 2, h = g.trimStart()) : m ? f = e[1].length + 1 : (f = e[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, h = g.slice(f), f += e[1].length), m && this.rules.other.blankLine.test(d) && (c += d + `
218
- `, n = n.substring(d.length + 1), o = !0), !o) {
219
- let B = this.rules.other.nextBulletRegex(f), Y = this.rules.other.hrRegex(f), ee = this.rules.other.fencesBeginRegex(f), te = this.rules.other.headingBeginRegex(f), be = this.rules.other.htmlBeginRegex(f);
221
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (B) => " ".repeat(3 * B.length)), p = n.split(`
222
+ `, 1)[0], k = !g.trim(), f = 0;
223
+ if (this.options.pedantic ? (f = 2, c = g.trimStart()) : k ? f = e[1].length + 1 : (f = e[2].search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, c = g.slice(f), f += e[1].length), k && this.rules.other.blankLine.test(p) && (h += p + `
224
+ `, n = n.substring(p.length + 1), l = !0), !l) {
225
+ let B = this.rules.other.nextBulletRegex(f), Y = this.rules.other.hrRegex(f), ee = this.rules.other.fencesBeginRegex(f), te = this.rules.other.headingBeginRegex(f), we = this.rules.other.htmlBeginRegex(f);
220
226
  for (; n; ) {
221
227
  let Q = n.split(`
222
228
  `, 1)[0], _;
223
- if (d = Q, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), _ = d) : _ = d.replace(this.rules.other.tabCharGlobal, " "), ee.test(d) || te.test(d) || be.test(d) || B.test(d) || Y.test(d)) break;
224
- if (_.search(this.rules.other.nonSpaceChar) >= f || !d.trim()) h += `
229
+ if (p = Q, this.options.pedantic ? (p = p.replace(this.rules.other.listReplaceNesting, " "), _ = p) : _ = p.replace(this.rules.other.tabCharGlobal, " "), ee.test(p) || te.test(p) || we.test(p) || B.test(p) || Y.test(p)) break;
230
+ if (_.search(this.rules.other.nonSpaceChar) >= f || !p.trim()) c += `
225
231
  ` + _.slice(f);
226
232
  else {
227
- if (m || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || ee.test(g) || te.test(g) || Y.test(g)) break;
228
- h += `
229
- ` + d;
233
+ if (k || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || ee.test(g) || te.test(g) || Y.test(g)) break;
234
+ c += `
235
+ ` + p;
230
236
  }
231
- !m && !d.trim() && (m = !0), c += Q + `
237
+ !k && !p.trim() && (k = !0), h += Q + `
232
238
  `, n = n.substring(Q.length + 1), g = _.slice(f);
233
239
  }
234
240
  }
235
- t.loose || (i ? t.loose = !0 : this.rules.other.doubleBlankLine.test(c) && (i = !0));
241
+ t.loose || (i ? t.loose = !0 : this.rules.other.doubleBlankLine.test(h) && (i = !0));
236
242
  let b = null, V;
237
- this.options.gfm && (b = this.rules.other.listIsTask.exec(h), b && (V = b[0] !== "[ ] ", h = h.replace(this.rules.other.listReplaceTask, ""))), t.items.push({ type: "list_item", raw: c, task: !!b, checked: V, loose: !1, text: h, tokens: [] }), t.raw += c;
243
+ this.options.gfm && (b = this.rules.other.listIsTask.exec(c), b && (V = b[0] !== "[ ] ", c = c.replace(this.rules.other.listReplaceTask, ""))), t.items.push({ type: "list_item", raw: h, task: !!b, checked: V, loose: !1, text: c, tokens: [] }), t.raw += h;
238
244
  }
239
- let l = t.items.at(-1);
240
- if (l) l.raw = l.raw.trimEnd(), l.text = l.text.trimEnd();
245
+ let o = t.items.at(-1);
246
+ if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
241
247
  else return;
242
248
  t.raw = t.raw.trimEnd();
243
- for (let o = 0; o < t.items.length; o++) if (this.lexer.state.top = !1, t.items[o].tokens = this.lexer.blockTokens(t.items[o].text, []), !t.loose) {
244
- let c = t.items[o].tokens.filter((g) => g.type === "space"), h = c.length > 0 && c.some((g) => this.rules.other.anyLine.test(g.raw));
245
- t.loose = h;
249
+ 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) {
250
+ 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));
251
+ t.loose = c;
246
252
  }
247
- if (t.loose) for (let o = 0; o < t.items.length; o++) t.items[o].loose = !0;
253
+ if (t.loose) for (let l = 0; l < t.items.length; l++) t.items[l].loose = !0;
248
254
  return t;
249
255
  }
250
256
  }
@@ -262,12 +268,12 @@ ${h}` : h;
262
268
  table(n) {
263
269
  let e = this.rules.block.table.exec(n);
264
270
  if (!e || !this.rules.other.tableDelimiter.test(e[2])) return;
265
- let s = ae(e[1]), r = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), t = e[3]?.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
271
+ let s = le(e[1]), r = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), t = e[3]?.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
266
272
  `) : [], a = { type: "table", raw: e[0], header: [], align: [], rows: [] };
267
273
  if (s.length === r.length) {
268
274
  for (let i of r) this.rules.other.tableAlignRight.test(i) ? a.align.push("right") : this.rules.other.tableAlignCenter.test(i) ? a.align.push("center") : this.rules.other.tableAlignLeft.test(i) ? a.align.push("left") : a.align.push(null);
269
275
  for (let i = 0; i < s.length; i++) a.header.push({ text: s[i], tokens: this.lexer.inline(s[i]), header: !0, align: a.align[i] });
270
- for (let i of t) a.rows.push(ae(i, a.header.length).map((l, o) => ({ text: l, tokens: this.lexer.inline(l), header: !1, align: a.align[o] })));
276
+ for (let i of t) a.rows.push(le(i, a.header.length).map((o, l) => ({ text: o, tokens: this.lexer.inline(o), header: !1, align: a.align[l] })));
271
277
  return a;
272
278
  }
273
279
  }
@@ -304,7 +310,7 @@ ${h}` : h;
304
310
  let a = T(s.slice(0, -1), "\\");
305
311
  if ((s.length - a.length) % 2 === 0) return;
306
312
  } else {
307
- let a = ht(e[2], "()");
313
+ let a = pt(e[2], "()");
308
314
  if (a === -2) return;
309
315
  if (a > -1) {
310
316
  let i = (e[0].indexOf("!") === 0 ? 5 : 4) + e[1].length + a;
@@ -316,7 +322,7 @@ ${h}` : h;
316
322
  let a = this.rules.other.pedanticHrefTitle.exec(r);
317
323
  a && (r = a[1], t = a[3]);
318
324
  } else t = e[3] ? e[3].slice(1, -1) : "";
319
- return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(s) ? r = r.slice(1) : r = r.slice(1, -1)), le(e, { href: r && r.replace(this.rules.inline.anyPunctuation, "$1"), title: t && t.replace(this.rules.inline.anyPunctuation, "$1") }, e[0], this.lexer, this.rules);
325
+ return r = r.trim(), this.rules.other.startAngleBracket.test(r) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(s) ? r = r.slice(1) : r = r.slice(1, -1)), oe(e, { href: r && r.replace(this.rules.inline.anyPunctuation, "$1"), title: t && t.replace(this.rules.inline.anyPunctuation, "$1") }, e[0], this.lexer, this.rules);
320
326
  }
321
327
  }
322
328
  reflink(n, e) {
@@ -327,31 +333,31 @@ ${h}` : h;
327
333
  let a = s[0].charAt(0);
328
334
  return { type: "text", raw: a, text: a };
329
335
  }
330
- return le(s, t, s[0], this.lexer, this.rules);
336
+ return oe(s, t, s[0], this.lexer, this.rules);
331
337
  }
332
338
  }
333
339
  emStrong(n, e, s = "") {
334
340
  let r = this.rules.inline.emStrongLDelim.exec(n);
335
341
  if (!(!r || r[3] && s.match(this.rules.other.unicodeAlphaNumeric)) && (!(r[1] || r[2]) || !s || this.rules.inline.punctuation.exec(s))) {
336
- let t = [...r[0]].length - 1, a, i, l = t, o = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
337
- for (c.lastIndex = 0, e = e.slice(-1 * n.length + t); (r = c.exec(e)) != null; ) {
342
+ let t = [...r[0]].length - 1, a, i, o = t, l = 0, h = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
343
+ for (h.lastIndex = 0, e = e.slice(-1 * n.length + t); (r = h.exec(e)) != null; ) {
338
344
  if (a = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !a) continue;
339
345
  if (i = [...a].length, r[3] || r[4]) {
340
- l += i;
346
+ o += i;
341
347
  continue;
342
348
  } else if ((r[5] || r[6]) && t % 3 && !((t + i) % 3)) {
343
- o += i;
349
+ l += i;
344
350
  continue;
345
351
  }
346
- if (l -= i, l > 0) continue;
347
- i = Math.min(i, i + l + o);
348
- let h = [...r[0]][0].length, g = n.slice(0, t + r.index + h + i);
352
+ if (o -= i, o > 0) continue;
353
+ i = Math.min(i, i + o + l);
354
+ let c = [...r[0]][0].length, g = n.slice(0, t + r.index + c + i);
349
355
  if (Math.min(t, i) % 2) {
350
- let m = g.slice(1, -1);
351
- return { type: "em", raw: g, text: m, tokens: this.lexer.inlineTokens(m) };
356
+ let k = g.slice(1, -1);
357
+ return { type: "em", raw: g, text: k, tokens: this.lexer.inlineTokens(k) };
352
358
  }
353
- let d = g.slice(2, -2);
354
- return { type: "strong", raw: g, text: d, tokens: this.lexer.inlineTokens(d) };
359
+ let p = g.slice(2, -2);
360
+ return { type: "strong", raw: g, text: p, tokens: this.lexer.inlineTokens(p) };
355
361
  }
356
362
  }
357
363
  }
@@ -399,7 +405,7 @@ ${h}` : h;
399
405
  return { type: "text", raw: e[0], text: e[0], escaped: s };
400
406
  }
401
407
  }
402
- }, v = class D {
408
+ }, w = class D {
403
409
  tokens;
404
410
  options;
405
411
  state;
@@ -491,9 +497,9 @@ ${h}` : h;
491
497
  }
492
498
  let a = e;
493
499
  if (this.options.extensions?.startBlock) {
494
- let i = 1 / 0, l = e.slice(1), o;
495
- this.options.extensions.startBlock.forEach((c) => {
496
- o = c.call({ lexer: this }, l), typeof o == "number" && o >= 0 && (i = Math.min(i, o));
500
+ let i = 1 / 0, o = e.slice(1), l;
501
+ this.options.extensions.startBlock.forEach((h) => {
502
+ l = h.call({ lexer: this }, o), typeof l == "number" && l >= 0 && (i = Math.min(i, l));
497
503
  }), i < 1 / 0 && i >= 0 && (a = e.substring(0, i + 1));
498
504
  }
499
505
  if (this.state.top && (t = this.tokenizer.paragraph(a))) {
@@ -533,11 +539,12 @@ ${h}` : h;
533
539
  if (l.length > 0) for (; (t = this.tokenizer.rules.inline.reflinkSearch.exec(r)) != null; ) l.includes(t[0].slice(t[0].lastIndexOf("[") + 1, -1)) && (r = r.slice(0, t.index) + "[" + "a".repeat(t[0].length - 2) + "]" + r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
534
540
  }
535
541
  for (; (t = this.tokenizer.rules.inline.anyPunctuation.exec(r)) != null; ) r = r.slice(0, t.index) + "++" + r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
536
- for (; (t = this.tokenizer.rules.inline.blockSkip.exec(r)) != null; ) r = r.slice(0, t.index) + "[" + "a".repeat(t[0].length - 2) + "]" + r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
542
+ let a;
543
+ for (; (t = this.tokenizer.rules.inline.blockSkip.exec(r)) != null; ) a = t[2] ? t[2].length : 0, r = r.slice(0, t.index + a) + "[" + "a".repeat(t[0].length - a - 2) + "]" + r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
537
544
  r = this.options.hooks?.emStrongMask?.call({ lexer: this }, r) ?? r;
538
- let a = !1, i = "";
545
+ let i = !1, o = "";
539
546
  for (; e; ) {
540
- a || (i = ""), a = !1;
547
+ i || (o = ""), i = !1;
541
548
  let l;
542
549
  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;
543
550
  if (l = this.tokenizer.escape(e)) {
@@ -558,7 +565,7 @@ ${h}` : h;
558
565
  l.type === "text" && c?.type === "text" ? (c.raw += l.raw, c.text += l.text) : s.push(l);
559
566
  continue;
560
567
  }
561
- if (l = this.tokenizer.emStrong(e, r, i)) {
568
+ if (l = this.tokenizer.emStrong(e, r, o)) {
562
569
  e = e.substring(l.raw.length), s.push(l);
563
570
  continue;
564
571
  }
@@ -582,15 +589,15 @@ ${h}` : h;
582
589
  e = e.substring(l.raw.length), s.push(l);
583
590
  continue;
584
591
  }
585
- let o = e;
592
+ let h = e;
586
593
  if (this.options.extensions?.startInline) {
587
- let c = 1 / 0, h = e.slice(1), g;
588
- this.options.extensions.startInline.forEach((d) => {
589
- g = d.call({ lexer: this }, h), typeof g == "number" && g >= 0 && (c = Math.min(c, g));
590
- }), c < 1 / 0 && c >= 0 && (o = e.substring(0, c + 1));
594
+ let c = 1 / 0, g = e.slice(1), p;
595
+ this.options.extensions.startInline.forEach((k) => {
596
+ p = k.call({ lexer: this }, g), typeof p == "number" && p >= 0 && (c = Math.min(c, p));
597
+ }), c < 1 / 0 && c >= 0 && (h = e.substring(0, c + 1));
591
598
  }
592
- if (l = this.tokenizer.inlineText(o)) {
593
- e = e.substring(l.raw.length), l.raw.slice(-1) !== "_" && (i = l.raw.slice(-1)), a = !0;
599
+ if (l = this.tokenizer.inlineText(h)) {
600
+ e = e.substring(l.raw.length), l.raw.slice(-1) !== "_" && (o = l.raw.slice(-1)), i = !0;
594
601
  let c = s.at(-1);
595
602
  c?.type === "text" ? (c.raw += l.raw, c.text += l.text) : s.push(l);
596
603
  continue;
@@ -617,8 +624,8 @@ ${h}` : h;
617
624
  code({ text: n, lang: e, escaped: s }) {
618
625
  let r = (e || "").match(x.notSpaceStart)?.[0], t = n.replace(x.endingNewline, "") + `
619
626
  `;
620
- return r ? '<pre><code class="language-' + w(r) + '">' + (s ? t : w(t, !0)) + `</code></pre>
621
- ` : "<pre><code>" + (s ? t : w(t, !0)) + `</code></pre>
627
+ return r ? '<pre><code class="language-' + y(r) + '">' + (s ? t : y(t, !0)) + `</code></pre>
628
+ ` : "<pre><code>" + (s ? t : y(t, !0)) + `</code></pre>
622
629
  `;
623
630
  }
624
631
  blockquote({ tokens: n }) {
@@ -643,8 +650,8 @@ ${this.parser.parse(n)}</blockquote>
643
650
  list(n) {
644
651
  let e = n.ordered, s = n.start, r = "";
645
652
  for (let i = 0; i < n.items.length; i++) {
646
- let l = n.items[i];
647
- r += this.listitem(l);
653
+ let o = n.items[i];
654
+ r += this.listitem(o);
648
655
  }
649
656
  let t = e ? "ol" : "ul", a = e && s !== 1 ? ' start="' + s + '"' : "";
650
657
  return "<" + t + a + `>
@@ -655,7 +662,7 @@ ${this.parser.parse(n)}</blockquote>
655
662
  let e = "";
656
663
  if (n.task) {
657
664
  let s = this.checkbox({ checked: !!n.checked });
658
- 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 + " " + w(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 + " ";
665
+ 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 + " ";
659
666
  }
660
667
  return e += this.parser.parse(n.tokens, !!n.loose), `<li>${e}</li>
661
668
  `;
@@ -701,7 +708,7 @@ ${n}</tr>
701
708
  return `<em>${this.parser.parseInline(n)}</em>`;
702
709
  }
703
710
  codespan({ text: n }) {
704
- return `<code>${w(n, !0)}</code>`;
711
+ return `<code>${y(n, !0)}</code>`;
705
712
  }
706
713
  br(n) {
707
714
  return "<br>";
@@ -710,22 +717,22 @@ ${n}</tr>
710
717
  return `<del>${this.parser.parseInline(n)}</del>`;
711
718
  }
712
719
  link({ href: n, title: e, tokens: s }) {
713
- let r = this.parser.parseInline(s), t = ie(n);
720
+ let r = this.parser.parseInline(s), t = ae(n);
714
721
  if (t === null) return r;
715
722
  n = t;
716
723
  let a = '<a href="' + n + '"';
717
- return e && (a += ' title="' + w(e) + '"'), a += ">" + r + "</a>", a;
724
+ return e && (a += ' title="' + y(e) + '"'), a += ">" + r + "</a>", a;
718
725
  }
719
726
  image({ href: n, title: e, text: s, tokens: r }) {
720
727
  r && (s = this.parser.parseInline(r, this.parser.textRenderer));
721
- let t = ie(n);
722
- if (t === null) return w(s);
728
+ let t = ae(n);
729
+ if (t === null) return y(s);
723
730
  n = t;
724
731
  let a = `<img src="${n}" alt="${s}"`;
725
- return e && (a += ` title="${w(e)}"`), a += ">", a;
732
+ return e && (a += ` title="${y(e)}"`), a += ">", a;
726
733
  }
727
734
  text(n) {
728
- return "tokens" in n && n.tokens ? this.parser.parseInline(n.tokens) : "escaped" in n && n.escaped ? n.text : w(n.text);
735
+ return "tokens" in n && n.tokens ? this.parser.parseInline(n.tokens) : "escaped" in n && n.escaped ? n.text : y(n.text);
729
736
  }
730
737
  }, J = class {
731
738
  strong({ text: n }) {
@@ -755,7 +762,7 @@ ${n}</tr>
755
762
  br() {
756
763
  return "";
757
764
  }
758
- }, y = class N {
765
+ }, v = class N {
759
766
  options;
760
767
  renderer;
761
768
  textRenderer;
@@ -773,9 +780,9 @@ ${n}</tr>
773
780
  for (let t = 0; t < e.length; t++) {
774
781
  let a = e[t];
775
782
  if (this.options.extensions?.renderers?.[a.type]) {
776
- let l = a, o = this.options.extensions.renderers[l.type].call({ parser: this }, l);
777
- if (o !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(l.type)) {
778
- r += o || "";
783
+ let o = a, l = this.options.extensions.renderers[o.type].call({ parser: this }, o);
784
+ if (l !== !1 || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
785
+ r += l || "";
779
786
  continue;
780
787
  }
781
788
  }
@@ -822,16 +829,16 @@ ${n}</tr>
822
829
  continue;
823
830
  }
824
831
  case "text": {
825
- let l = i, o = this.renderer.text(l);
826
- for (; t + 1 < e.length && e[t + 1].type === "text"; ) l = e[++t], o += `
827
- ` + this.renderer.text(l);
828
- s ? r += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: !0 }] }) : r += o;
832
+ let o = i, l = this.renderer.text(o);
833
+ for (; t + 1 < e.length && e[t + 1].type === "text"; ) o = e[++t], l += `
834
+ ` + this.renderer.text(o);
835
+ s ? r += this.renderer.paragraph({ type: "paragraph", raw: l, text: l, tokens: [{ type: "text", raw: l, text: l, escaped: !0 }] }) : r += l;
829
836
  continue;
830
837
  }
831
838
  default: {
832
- let l = 'Token with "' + i.type + '" type was not found.';
833
- if (this.options.silent) return console.error(l), "";
834
- throw new Error(l);
839
+ let o = 'Token with "' + i.type + '" type was not found.';
840
+ if (this.options.silent) return console.error(o), "";
841
+ throw new Error(o);
835
842
  }
836
843
  }
837
844
  }
@@ -842,9 +849,9 @@ ${n}</tr>
842
849
  for (let t = 0; t < e.length; t++) {
843
850
  let a = e[t];
844
851
  if (this.options.extensions?.renderers?.[a.type]) {
845
- let l = this.options.extensions.renderers[a.type].call({ parser: this }, a);
846
- if (l !== !1 || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(a.type)) {
847
- r += l || "";
852
+ let o = this.options.extensions.renderers[a.type].call({ parser: this }, a);
853
+ if (o !== !1 || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(a.type)) {
854
+ r += o || "";
848
855
  continue;
849
856
  }
850
857
  }
@@ -891,9 +898,9 @@ ${n}</tr>
891
898
  break;
892
899
  }
893
900
  default: {
894
- let l = 'Token with "' + i.type + '" type was not found.';
895
- if (this.options.silent) return console.error(l), "";
896
- throw new Error(l);
901
+ let o = 'Token with "' + i.type + '" type was not found.';
902
+ if (this.options.silent) return console.error(o), "";
903
+ throw new Error(o);
897
904
  }
898
905
  }
899
906
  }
@@ -920,20 +927,20 @@ ${n}</tr>
920
927
  return n;
921
928
  }
922
929
  provideLexer() {
923
- return this.block ? v.lex : v.lexInline;
930
+ return this.block ? w.lex : w.lexInline;
924
931
  }
925
932
  provideParser() {
926
- return this.block ? y.parse : y.parseInline;
933
+ return this.block ? v.parse : v.parseInline;
927
934
  }
928
- }, pt = class {
929
- defaults = U();
935
+ }, gt = class {
936
+ defaults = j();
930
937
  options = this.setOptions;
931
938
  parse = this.parseMarkdown(!0);
932
939
  parseInline = this.parseMarkdown(!1);
933
- Parser = y;
940
+ Parser = v;
934
941
  Renderer = E;
935
942
  TextRenderer = J;
936
- Lexer = v;
943
+ Lexer = w;
937
944
  Tokenizer = L;
938
945
  Hooks = I;
939
946
  constructor(...n) {
@@ -972,8 +979,8 @@ ${n}</tr>
972
979
  if ("renderer" in t) {
973
980
  let a = e.renderers[t.name];
974
981
  a ? e.renderers[t.name] = function(...i) {
975
- let l = t.renderer.apply(this, i);
976
- return l === !1 && (l = a.apply(this, i)), l;
982
+ let o = t.renderer.apply(this, i);
983
+ return o === !1 && (o = a.apply(this, i)), o;
977
984
  } : e.renderers[t.name] = t.renderer;
978
985
  }
979
986
  if ("tokenizer" in t) {
@@ -987,10 +994,10 @@ ${n}</tr>
987
994
  for (let a in s.renderer) {
988
995
  if (!(a in t)) throw new Error(`renderer '${a}' does not exist`);
989
996
  if (["options", "parser"].includes(a)) continue;
990
- let i = a, l = s.renderer[i], o = t[i];
991
- t[i] = (...c) => {
992
- let h = l.apply(t, c);
993
- return h === !1 && (h = o.apply(t, c)), h || "";
997
+ let i = a, o = s.renderer[i], l = t[i];
998
+ t[i] = (...h) => {
999
+ let c = o.apply(t, h);
1000
+ return c === !1 && (c = l.apply(t, h)), c || "";
994
1001
  };
995
1002
  }
996
1003
  r.renderer = t;
@@ -1000,10 +1007,10 @@ ${n}</tr>
1000
1007
  for (let a in s.tokenizer) {
1001
1008
  if (!(a in t)) throw new Error(`tokenizer '${a}' does not exist`);
1002
1009
  if (["options", "rules", "lexer"].includes(a)) continue;
1003
- let i = a, l = s.tokenizer[i], o = t[i];
1004
- t[i] = (...c) => {
1005
- let h = l.apply(t, c);
1006
- return h === !1 && (h = o.apply(t, c)), h;
1010
+ let i = a, o = s.tokenizer[i], l = t[i];
1011
+ t[i] = (...h) => {
1012
+ let c = o.apply(t, h);
1013
+ return c === !1 && (c = l.apply(t, h)), c;
1007
1014
  };
1008
1015
  }
1009
1016
  r.tokenizer = t;
@@ -1013,14 +1020,21 @@ ${n}</tr>
1013
1020
  for (let a in s.hooks) {
1014
1021
  if (!(a in t)) throw new Error(`hook '${a}' does not exist`);
1015
1022
  if (["options", "block"].includes(a)) continue;
1016
- let i = a, l = s.hooks[i], o = t[i];
1017
- I.passThroughHooks.has(a) ? t[i] = (c) => {
1018
- if (this.defaults.async && I.passThroughHooksRespectAsync.has(a)) return Promise.resolve(l.call(t, c)).then((g) => o.call(t, g));
1019
- let h = l.call(t, c);
1020
- return o.call(t, h);
1021
- } : t[i] = (...c) => {
1022
- let h = l.apply(t, c);
1023
- return h === !1 && (h = o.apply(t, c)), h;
1023
+ let i = a, o = s.hooks[i], l = t[i];
1024
+ I.passThroughHooks.has(a) ? t[i] = (h) => {
1025
+ if (this.defaults.async && I.passThroughHooksRespectAsync.has(a)) return (async () => {
1026
+ let g = await o.call(t, h);
1027
+ return l.call(t, g);
1028
+ })();
1029
+ let c = o.call(t, h);
1030
+ return l.call(t, c);
1031
+ } : t[i] = (...h) => {
1032
+ if (this.defaults.async) return (async () => {
1033
+ let g = await o.apply(t, h);
1034
+ return g === !1 && (g = await l.apply(t, h)), g;
1035
+ })();
1036
+ let c = o.apply(t, h);
1037
+ return c === !1 && (c = l.apply(t, h)), c;
1024
1038
  };
1025
1039
  }
1026
1040
  r.hooks = t;
@@ -1028,8 +1042,8 @@ ${n}</tr>
1028
1042
  if (s.walkTokens) {
1029
1043
  let t = this.defaults.walkTokens, a = s.walkTokens;
1030
1044
  r.walkTokens = function(i) {
1031
- let l = [];
1032
- return l.push(a.call(this, i)), t && (l = l.concat(t.call(this, i))), l;
1045
+ let o = [];
1046
+ return o.push(a.call(this, i)), t && (o = o.concat(t.call(this, i))), o;
1033
1047
  };
1034
1048
  }
1035
1049
  this.defaults = { ...this.defaults, ...r };
@@ -1039,10 +1053,10 @@ ${n}</tr>
1039
1053
  return this.defaults = { ...this.defaults, ...n }, this;
1040
1054
  }
1041
1055
  lexer(n, e) {
1042
- return v.lex(n, e ?? this.defaults);
1056
+ return w.lex(n, e ?? this.defaults);
1043
1057
  }
1044
1058
  parser(n, e) {
1045
- return y.parse(n, e ?? this.defaults);
1059
+ return v.parse(n, e ?? this.defaults);
1046
1060
  }
1047
1061
  parseMarkdown(n) {
1048
1062
  return (e, s) => {
@@ -1050,17 +1064,20 @@ ${n}</tr>
1050
1064
  if (this.defaults.async === !0 && r.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."));
1051
1065
  if (typeof e > "u" || e === null) return a(new Error("marked(): input parameter is undefined or null"));
1052
1066
  if (typeof e != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(e) + ", string expected"));
1053
- t.hooks && (t.hooks.options = t, t.hooks.block = n);
1054
- let i = t.hooks ? t.hooks.provideLexer() : n ? v.lex : v.lexInline, l = t.hooks ? t.hooks.provideParser() : n ? y.parse : y.parseInline;
1055
- if (t.async) return Promise.resolve(t.hooks ? t.hooks.preprocess(e) : e).then((o) => i(o, t)).then((o) => t.hooks ? t.hooks.processAllTokens(o) : o).then((o) => t.walkTokens ? Promise.all(this.walkTokens(o, t.walkTokens)).then(() => o) : o).then((o) => l(o, t)).then((o) => t.hooks ? t.hooks.postprocess(o) : o).catch(a);
1067
+ if (t.hooks && (t.hooks.options = t, t.hooks.block = n), t.async) return (async () => {
1068
+ let i = t.hooks ? await t.hooks.preprocess(e) : e, o = await (t.hooks ? await t.hooks.provideLexer() : n ? w.lex : w.lexInline)(i, t), l = t.hooks ? await t.hooks.processAllTokens(o) : o;
1069
+ t.walkTokens && await Promise.all(this.walkTokens(l, t.walkTokens));
1070
+ let h = await (t.hooks ? await t.hooks.provideParser() : n ? v.parse : v.parseInline)(l, t);
1071
+ return t.hooks ? await t.hooks.postprocess(h) : h;
1072
+ })().catch(a);
1056
1073
  try {
1057
1074
  t.hooks && (e = t.hooks.preprocess(e));
1058
- let o = i(e, t);
1059
- t.hooks && (o = t.hooks.processAllTokens(o)), t.walkTokens && this.walkTokens(o, t.walkTokens);
1060
- let c = l(o, t);
1061
- return t.hooks && (c = t.hooks.postprocess(c)), c;
1062
- } catch (o) {
1063
- return a(o);
1075
+ let i = (t.hooks ? t.hooks.provideLexer() : n ? w.lex : w.lexInline)(e, t);
1076
+ t.hooks && (i = t.hooks.processAllTokens(i)), t.walkTokens && this.walkTokens(i, t.walkTokens);
1077
+ let o = (t.hooks ? t.hooks.provideParser() : n ? v.parse : v.parseInline)(i, t);
1078
+ return t.hooks && (o = t.hooks.postprocess(o)), o;
1079
+ } catch (i) {
1080
+ return a(i);
1064
1081
  }
1065
1082
  };
1066
1083
  }
@@ -1068,52 +1085,52 @@ ${n}</tr>
1068
1085
  return (s) => {
1069
1086
  if (s.message += `
1070
1087
  Please report this to https://github.com/markedjs/marked.`, n) {
1071
- let r = "<p>An error occurred:</p><pre>" + w(s.message + "", !0) + "</pre>";
1088
+ let r = "<p>An error occurred:</p><pre>" + y(s.message + "", !0) + "</pre>";
1072
1089
  return e ? Promise.resolve(r) : r;
1073
1090
  }
1074
1091
  if (e) return Promise.reject(s);
1075
1092
  throw s;
1076
1093
  };
1077
1094
  }
1078
- }, $ = new pt();
1079
- function p(n, e) {
1095
+ }, $ = new gt();
1096
+ function d(n, e) {
1080
1097
  return $.parse(n, e);
1081
1098
  }
1082
- p.options = p.setOptions = function(n) {
1083
- return $.setOptions(n), p.defaults = $.defaults, oe(p.defaults), p;
1099
+ d.options = d.setOptions = function(n) {
1100
+ return $.setOptions(n), d.defaults = $.defaults, ce(d.defaults), d;
1084
1101
  };
1085
- p.getDefaults = U;
1086
- p.defaults = S;
1087
- p.use = function(...n) {
1088
- return $.use(...n), p.defaults = $.defaults, oe(p.defaults), p;
1102
+ d.getDefaults = j;
1103
+ d.defaults = S;
1104
+ d.use = function(...n) {
1105
+ return $.use(...n), d.defaults = $.defaults, ce(d.defaults), d;
1089
1106
  };
1090
- p.walkTokens = function(n, e) {
1107
+ d.walkTokens = function(n, e) {
1091
1108
  return $.walkTokens(n, e);
1092
1109
  };
1093
- p.parseInline = $.parseInline;
1094
- p.Parser = y;
1095
- p.parser = y.parse;
1096
- p.Renderer = E;
1097
- p.TextRenderer = J;
1098
- p.Lexer = v;
1099
- p.lexer = v.lex;
1100
- p.Tokenizer = L;
1101
- p.Hooks = I;
1102
- p.parse = p;
1103
- p.options;
1104
- p.setOptions;
1105
- p.use;
1106
- p.walkTokens;
1107
- p.parseInline;
1108
- y.parse;
1109
- v.lex;
1110
- class dt extends ye {
1110
+ d.parseInline = $.parseInline;
1111
+ d.Parser = v;
1112
+ d.parser = v.parse;
1113
+ d.Renderer = E;
1114
+ d.TextRenderer = J;
1115
+ d.Lexer = w;
1116
+ d.lexer = w.lex;
1117
+ d.Tokenizer = L;
1118
+ d.Hooks = I;
1119
+ d.parse = d;
1120
+ d.options;
1121
+ d.setOptions;
1122
+ d.use;
1123
+ d.walkTokens;
1124
+ d.parseInline;
1125
+ v.parse;
1126
+ w.lex;
1127
+ class ft extends $e {
1111
1128
  constructor() {
1112
1129
  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 = {
1113
1130
  conversationId: null,
1114
1131
  inquiryId: null,
1115
1132
  ackSequenceNumber: null
1116
- }, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this._translations = ve({ name: "arcgis-solutions-assistant", blocking: !0 }), this.closeAssistant = $e(), this._resetConversation = () => {
1133
+ }, this._isLoading = !1, this._isLoadingText = "", this.messages = [], this._showCopyAlert = !1, this._translations = ye({ name: "arcgis-solutions-assistant", blocking: !0 }), this.closeAssistant = Se(), this._resetConversation = () => {
1117
1134
  this.conversationStore.conversationId = null, this.conversationStore.inquiryId = null, this.conversationStore.ackSequenceNumber = null;
1118
1135
  }, this._setMessageContainerRef = (e) => {
1119
1136
  this._chatContainer = e;
@@ -1130,10 +1147,10 @@ class dt extends ye {
1130
1147
  });
1131
1148
  }
1132
1149
  static {
1133
- this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16, _translations: 16 };
1150
+ this.properties = { serverRoot: 1, solutionAIurl: 1, docAIurl: 1, token: 1, open: 5, conversationStore: 16, _isLoading: 16, _isLoadingText: 16, messages: 16, _showCopyAlert: 16, _translations: 16 };
1134
1151
  }
1135
1152
  static {
1136
- this.styles = Te;
1153
+ this.styles = Ie;
1137
1154
  }
1138
1155
  async handleSendMessage() {
1139
1156
  if (!this._inputRef?.value.trim())
@@ -1192,20 +1209,25 @@ class dt extends ye {
1192
1209
  const i = {
1193
1210
  message: t.message,
1194
1211
  conversationId: a.conversationId,
1195
- context: { kind: "DocAIAssistantRequest", filters: { products: "ArcGIS Solutions" } }
1212
+ context: {
1213
+ kind: "DocAIAssistantRequest",
1214
+ filters: {
1215
+ products: "ArcGIS Solutions"
1216
+ }
1217
+ }
1196
1218
  };
1197
1219
  t = await this.requestAIServer(i, s, this.docAIurl);
1198
1220
  break;
1199
1221
  case "Recommend solution":
1200
1222
  if (t.context.results && t.context.results?.length > 0) {
1201
- const o = {
1223
+ const l = {
1202
1224
  author: "ai",
1203
1225
  conversationId: t.conversationId,
1204
1226
  message: t.message ?? "",
1205
1227
  intent: "Recommend solution",
1206
1228
  render: this._renderSuggestedSolutions(t.message ?? "", t.context.results, t.conversationId, "Recommend solution")
1207
1229
  };
1208
- this.messages.push(o);
1230
+ this.messages.push(l);
1209
1231
  }
1210
1232
  break;
1211
1233
  default:
@@ -1222,13 +1244,13 @@ class dt extends ye {
1222
1244
  for (const i of t.context.results)
1223
1245
  if (i.reply !== "") {
1224
1246
  this._isLoadingText = "";
1225
- const l = await Promise.resolve(p(i.reply));
1247
+ const o = await Promise.resolve(d(i.reply));
1226
1248
  this.messages.push({
1227
- message: l,
1249
+ message: o,
1228
1250
  author: "ai",
1229
1251
  conversationId: t.conversationId,
1230
1252
  intent: "Solution question",
1231
- render: this._renderDocAssistantResults(l, i.reply, i.ref, i.followupQuestions, t.conversationId, "Solution question")
1253
+ render: this._renderDocAssistantResults(o, i.reply, i.ref, i.followupQuestions, t.conversationId, "Solution question")
1232
1254
  });
1233
1255
  }
1234
1256
  } else {
@@ -1294,55 +1316,63 @@ class dt extends ye {
1294
1316
  (e.size || this._isLoading) && this._scrollToBottom();
1295
1317
  }
1296
1318
  _renderFeedback(e, s, r, t) {
1297
- return k`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${() => {
1319
+ return m`<div><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-up label="position feedback" kind=neutral @click=${() => {
1298
1320
  this._sendFeedback(e, s, "Good", r, t);
1299
1321
  }}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=thumbs-down label="position feedback" kind=neutral @click=${() => {
1300
1322
  this._sendFeedback(e, s, "Bad", r, t);
1323
+ }}></calcite-button><calcite-button appearance=transparent class="height-32-flex-auto" icon-start=copy label="position feedback" kind=neutral @click=${() => {
1324
+ this._copyResponseToClipboard(e);
1301
1325
  }}></calcite-button></div>`;
1302
1326
  }
1303
1327
  _renderSolutionQuestionReferences(e) {
1304
- return e.map((s) => k`<div class="message-content-pad"><a href=${s.url ?? O} target=_blank>${s.title}</a></div>`);
1328
+ return e.map((s) => m`<div class="message-content-pad"><a href=${s.url ?? O} target=_blank>${s.title}</a></div>`);
1305
1329
  }
1306
1330
  _renderSolutionQuestionFollowup(e) {
1307
- return e.map((s) => k`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${() => {
1331
+ return e.map((s) => m`<calcite-chip class="chip-content cursor-pointer" kind=brand .label=${s} @click=${() => {
1308
1332
  this._submitFollowupQuestion(s);
1309
1333
  }}>${s}</calcite-chip>`);
1310
1334
  }
1311
1335
  _renderSolutionsQuestionTable(e, s, r) {
1312
1336
  const t = this._renderSolutionQuestionReferences(s), a = this._renderSolutionQuestionFollowup(r);
1313
- return k`<div><div slot=description class="message-content">${Re(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${(i) => {
1314
- const l = i.currentTarget.parentElement?.nextElementSibling;
1315
- l.classList.toggle("collapsed"), i.currentTarget.setAttribute("icon-end", l.classList.contains("collapsed") ? "chevron-down" : "chevron-up");
1337
+ return m`<div><div slot=description class="message-content">${Te(e)}<div style="display: flex; justify-content: flex-start;"><calcite-button appearance=outline icon-end=chevron-down icon-start=link @click=${(i) => {
1338
+ const o = i.currentTarget.parentElement?.nextElementSibling;
1339
+ o.classList.toggle("collapsed"), i.currentTarget.setAttribute("icon-end", o.classList.contains("collapsed") ? "chevron-down" : "chevron-up");
1316
1340
  }}>${`${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>`;
1317
1341
  }
1318
1342
  _renderSolutionCard(e, s) {
1319
- return k`<a class="solution-card" id=${s ?? O} @click=${() => {
1343
+ return m`<a class="solution-card" id=${s ?? O} @click=${() => {
1320
1344
  this._emitItemIdFromAI(s);
1321
- }}>${k`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail ?? O} 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>`;
1345
+ }}>${m`<calcite-card thumbnail-position=inline-start><div slot=thumbnail><img src=${e.thumbnail ?? O} 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>`;
1322
1346
  }
1323
1347
  _renderExistingSolutionsTable(e, s) {
1324
1348
  const r = s.map((t) => {
1325
1349
  const a = t.thumbnail.match(/\/items\/([a-f0-9]+)\//);
1326
1350
  return a ? this._renderSolutionCard(t, a[1]) : null;
1327
1351
  }).filter((t) => t !== null);
1328
- return k`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${r}</div></div>`;
1352
+ return m`<div><div slot=description class="message-content"><div class="message-content-summary">${e}</div>${r}</div></div>`;
1329
1353
  }
1330
1354
  _renderSimpleTextMessage(e, s, r, t, a) {
1331
- const i = this.messages.length >= 2 ? this._getMostRecentQuestion() : "", l = typeof i == "string" ? "" : i?.message ?? "";
1332
- return s === "system" ? k`<div class="message-content message-content-alignment">${a && k`<calcite-icon .icon=${a}></calcite-icon>` || ""}${e}</div>` : k`<calcite-card class=${Se(s === "human" ? "user-message" : "system-message")}><div class="message-content">${e}${s === "ai" && r !== "" && this._renderFeedback(e, l, r, t) || ""}</div></calcite-card>`;
1355
+ const i = this.messages.length >= 2 ? this._getMostRecentQuestion() : "", o = typeof i == "string" ? "" : i?.message ?? "";
1356
+ 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=${_e(s === "human" ? "user-message" : "system-message")}><div class="message-content">${e}${s === "ai" && r !== "" && this._renderFeedback(e, o, r, t) || ""}</div></calcite-card>`;
1333
1357
  }
1334
1358
  _renderDocAssistantResults(e, s, r, t, a, i) {
1335
- const l = this._getMostRecentQuestion();
1336
- return k`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e, r, t)}${this._renderFeedback(s, l?.message ?? "", a, i)}</div></calcite-card>`;
1359
+ const o = this._getMostRecentQuestion();
1360
+ return m`<calcite-card class="system-message"><div class="message-content">${this._renderSolutionsQuestionTable(e, r, t)}${this._renderFeedback(s, o?.message ?? "", a, i)}</div></calcite-card>`;
1337
1361
  }
1338
1362
  _renderSuggestedSolutions(e, s, r, t) {
1339
- const a = this._getMostRecentQuestion(), i = s.map((l) => l.title);
1340
- return k`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e, s)}${this._renderFeedback(e + "(" + i.toString() + ")", a?.message ?? "", r, t)}</div></calcite-card>`;
1363
+ const a = this._getMostRecentQuestion(), i = s.map((o) => `- ${o.title}`).join(`
1364
+ `);
1365
+ return m`<calcite-card class="system-message"><div class="message-content">${this._renderExistingSolutionsTable(e, s)}${this._renderFeedback(e + `
1366
+ ` + i.toString(), a?.message ?? "", r, t)}</div></calcite-card>`;
1341
1367
  }
1342
1368
  render() {
1343
- return k`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${() => {
1369
+ return m`<calcite-dialog class="chat-panel" .open=${this.open} resizable .heading=${this._translations.solutionAssistantTitle} id=example-dialog placement=bottom-start @calciteDialogClose=${() => {
1344
1370
  this.closeAssistant.emit(!0), this.open = !1;
1345
- }}><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 ? k`<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" ${se(this._setMessageContainerRef)}>${this.messages.map((e) => e.render)}${this._isLoading && k`<calcite-card class="loader-message"><div class="message-content display-flex-row"><calcite-loader .label=${this._isLoadingText} inline scale=s></calcite-loader>${this._isLoadingText != "" && k`<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 ${se(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-dialog>`;
1371
+ }}><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" ${se(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 ${se(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=${() => {
1372
+ this._showCopyAlert = !1;
1373
+ }} @calciteAlertClose=${() => {
1374
+ this._showCopyAlert = !1;
1375
+ }}><div slot=title>${this._translations.copyResponse}</div></calcite-alert></calcite-dialog>`;
1346
1376
  }
1347
1377
  _scrollToBottom() {
1348
1378
  this._chatContainer && setTimeout(() => {
@@ -1371,7 +1401,7 @@ class dt extends ye {
1371
1401
  return [...this.messages].reverse().find((e) => e.author === "human") || null;
1372
1402
  }
1373
1403
  async _querySolutions(e) {
1374
- const s = await Ae(e);
1404
+ const s = await ze(e);
1375
1405
  if ("error" in s)
1376
1406
  throw new Error(s.error);
1377
1407
  return s;
@@ -1380,8 +1410,11 @@ class dt extends ye {
1380
1410
  const i = `https://survey123.arcgis.com/share/6e349a50b4504ca6b6107216d568db5f?field:_source=${encodeURIComponent("Solutions Assistant")}&field:user_evaluation=${encodeURIComponent(r)}&field:question=${encodeURIComponent(s)}&field:answer=${encodeURIComponent(e)}&field:context=${encodeURIComponent(JSON.stringify({ intent: a }))}&field:conversation_id=${encodeURIComponent(t)}&field:version=${encodeURIComponent("v1")}`;
1381
1411
  window.open(i, "_blank");
1382
1412
  }
1413
+ _copyResponseToClipboard(e) {
1414
+ navigator.clipboard.writeText(e), this._showCopyAlert = !0;
1415
+ }
1383
1416
  }
1384
- we("arcgis-solutions-assistant", dt);
1417
+ ve("arcgis-solutions-assistant", ft);
1385
1418
  export {
1386
- dt as ArcgisSolutionsAssistant
1419
+ ft as ArcgisSolutionsAssistant
1387
1420
  };