@intent-hq/web 2.345.0 → 2.346.0

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 (364) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/{0.BtTQsuHZ.css → 0.C6uvaa87.css} +1 -1
  3. package/web/app/immutable/chunks/-UJlOg-6.js +1 -0
  4. package/web/app/immutable/chunks/-Wo302Zr.js +9 -0
  5. package/web/app/immutable/chunks/0qEvU7Aj.js +8 -0
  6. package/web/app/immutable/chunks/1_fC7X8z.js +1 -0
  7. package/web/app/immutable/chunks/2V4-p70U.js +408 -0
  8. package/web/app/immutable/chunks/{D3mUsAm9.js → 3DAIKGff.js} +1 -1
  9. package/web/app/immutable/chunks/{6Zmm5CZL.js → 3as4gwP9.js} +7 -7
  10. package/web/app/immutable/chunks/{BqRoJfH0.js → 3h5ZjEwa.js} +1 -1
  11. package/web/app/immutable/chunks/{Dz4sFk1c.js → 4sUGQp1u.js} +1 -1
  12. package/web/app/immutable/chunks/{fZqvRnJh.js → 5Ixgq0WC.js} +1 -1
  13. package/web/app/immutable/chunks/{CgQ2Q_uI.js → 71L4lHBq.js} +1 -1
  14. package/web/app/immutable/chunks/7eL9Pgig.js +1 -0
  15. package/web/app/immutable/chunks/{CWE4oREl.js → 9XVQ1GVX.js} +1 -1
  16. package/web/app/immutable/chunks/{C8dU7SM3.js → A8_BT67P.js} +1 -1
  17. package/web/app/immutable/chunks/ACNn9MHT.js +2 -0
  18. package/web/app/immutable/chunks/{Cv_J2c72.js → B-7vt8Nv.js} +1 -1
  19. package/web/app/immutable/chunks/B0-4rCYZ.js +2 -0
  20. package/web/app/immutable/chunks/{Chj7QpdD.js → B0WVH3Hg.js} +1 -1
  21. package/web/app/immutable/chunks/B0mNIdOb.js +1 -0
  22. package/web/app/immutable/chunks/{CWQrbZgx.js → B1HPKTBI.js} +1 -1
  23. package/web/app/immutable/chunks/{s_GzTTEG.js → B1U_DCBw.js} +1 -1
  24. package/web/app/immutable/chunks/{VyOfhH-C.js → B3D9gAmi.js} +1 -1
  25. package/web/app/immutable/chunks/{C-M7eh_Z.js → B4XZNQ4a.js} +1 -1
  26. package/web/app/immutable/chunks/{BqqN40AD.js → B4gIvcP2.js} +1 -1
  27. package/web/app/immutable/chunks/{C4dCVzfY.js → B55-cQLT.js} +1 -1
  28. package/web/app/immutable/chunks/B5HeJKYE.js +1 -0
  29. package/web/app/immutable/chunks/{Dlag9Uxb.js → B79pUPc3.js} +9 -9
  30. package/web/app/immutable/chunks/{34C5M9lk.js → B7dTLx8u.js} +1 -1
  31. package/web/app/immutable/chunks/B83M2_sj.js +1 -0
  32. package/web/app/immutable/chunks/BAGVOK-j.js +4 -0
  33. package/web/app/immutable/chunks/{DXDMhDlS.js → BBlTlRXR.js} +1 -1
  34. package/web/app/immutable/chunks/{D3I0DcnM.js → BDDEv5gU.js} +1 -1
  35. package/web/app/immutable/chunks/BDPAYMJ1.js +4 -0
  36. package/web/app/immutable/chunks/BDPqCRJm.js +2 -0
  37. package/web/app/immutable/chunks/{B0a-wzQr.js → BDZoh7yg.js} +1 -1
  38. package/web/app/immutable/chunks/{oilydQC6.js → BDtb6AfX.js} +1 -1
  39. package/web/app/immutable/chunks/{oxLL7zSC.js → BDzYiKUH.js} +3 -3
  40. package/web/app/immutable/chunks/{PwvNS9aJ.js → BJZ04Dji.js} +1 -1
  41. package/web/app/immutable/chunks/{A34-FDia.js → BK2lpqz4.js} +1 -1
  42. package/web/app/immutable/chunks/{BC2xxkKo.js → BK64B_Ic.js} +7 -7
  43. package/web/app/immutable/chunks/{8XhHIJcn.js → BKw5KoGy.js} +1 -1
  44. package/web/app/immutable/chunks/{1MWULgfl.js → BLaIjbEF.js} +1 -1
  45. package/web/app/immutable/chunks/{BkbQGifa.js → BLl22NdQ.js} +1 -1
  46. package/web/app/immutable/chunks/{ByTOmivs.js → BM7oCSp5.js} +1 -1
  47. package/web/app/immutable/chunks/{C8BVjzNA.js → BMKkyPLo.js} +1 -1
  48. package/web/app/immutable/chunks/BO8NImWp.js +1 -0
  49. package/web/app/immutable/chunks/BOxkenyY.js +1 -0
  50. package/web/app/immutable/chunks/{CW_fORnH.js → BOyF7pe9.js} +1 -1
  51. package/web/app/immutable/chunks/BQ5F0iVp.js +1 -0
  52. package/web/app/immutable/chunks/BQbcEQz0.js +1 -0
  53. package/web/app/immutable/chunks/{DW36BCXj.js → BTNEDHav.js} +1 -1
  54. package/web/app/immutable/chunks/{zN8eBYty.js → BVURea8L.js} +1 -1
  55. package/web/app/immutable/chunks/{C6WI65lc.js → BW9EApvt.js} +10 -10
  56. package/web/app/immutable/chunks/BWAGtvpD.js +1 -0
  57. package/web/app/immutable/chunks/BWTugGQ8.js +1 -0
  58. package/web/app/immutable/chunks/{D_2_kcuU.js → BWZmCaEW.js} +1 -1
  59. package/web/app/immutable/chunks/{Bj3n1RUK.js → BY3nRRgO.js} +3 -3
  60. package/web/app/immutable/chunks/{DZxSFexp.js → BYDvuR-h.js} +1 -1
  61. package/web/app/immutable/chunks/{CaGwo1Kh.js → BZYeogxf.js} +1 -1
  62. package/web/app/immutable/chunks/{RvvsGyv8.js → Ba1C4iSG.js} +1 -1
  63. package/web/app/immutable/chunks/{DSf8k2cE.js → BaYeKXL3.js} +1 -1
  64. package/web/app/immutable/chunks/{BZLRqiW7.js → BaYzTmbw.js} +1 -1
  65. package/web/app/immutable/chunks/Bbkml6DP.js +1 -0
  66. package/web/app/immutable/chunks/{9HNwwiNt.js → BcbQZUsh.js} +1 -1
  67. package/web/app/immutable/chunks/BcgSXbtK.js +1 -0
  68. package/web/app/immutable/chunks/{DLJVFWjT.js → BeJ5WWx4.js} +22 -22
  69. package/web/app/immutable/chunks/{A0r9TbR7.js → BfbZn9QX.js} +1 -1
  70. package/web/app/immutable/chunks/BgKhYgm8.js +1 -0
  71. package/web/app/immutable/chunks/Bgi2L8Br.js +1 -0
  72. package/web/app/immutable/chunks/Bgw3O9rE.js +1 -0
  73. package/web/app/immutable/chunks/Big_dnEI.js +1 -0
  74. package/web/app/immutable/chunks/{D6yqDOhs.js → BjURBDIt.js} +5 -5
  75. package/web/app/immutable/chunks/{CJ58g2zu.js → BlEwAz4v.js} +1 -1
  76. package/web/app/immutable/chunks/{BUGXi07N.js → BmEcZoA2.js} +1 -1
  77. package/web/app/immutable/chunks/{Bb-m1QhD.js → BnkmaA34.js} +1 -1
  78. package/web/app/immutable/chunks/BpYNQf9o.js +1 -0
  79. package/web/app/immutable/chunks/{m3ndyWcI.js → BqBqZaGQ.js} +1 -1
  80. package/web/app/immutable/chunks/{D419Hgek.js → BqyYlCY3.js} +1 -1
  81. package/web/app/immutable/chunks/BrIsEZwT.js +1 -0
  82. package/web/app/immutable/chunks/Brqq8vhd.js +6 -0
  83. package/web/app/immutable/chunks/{Dx41gQiN.js → Bxnf75xq.js} +1 -1
  84. package/web/app/immutable/chunks/ByLCbaqp.js +1 -0
  85. package/web/app/immutable/chunks/{xOJeCqJf.js → C-OtpXcF.js} +1 -1
  86. package/web/app/immutable/chunks/{B7w_8Qom.js → C1CDOGnh.js} +2 -2
  87. package/web/app/immutable/chunks/C1osWUn_.js +1 -0
  88. package/web/app/immutable/chunks/{BI7MYBTt.js → C33Dw59E.js} +1 -1
  89. package/web/app/immutable/chunks/{BMm9sGZ6.js → C3NeTp2u.js} +1 -1
  90. package/web/app/immutable/chunks/{DdSX2jjJ.js → C3VPe7p1.js} +1 -1
  91. package/web/app/immutable/chunks/{BYMNRS4c.js → C3oF1SK5.js} +1 -1
  92. package/web/app/immutable/chunks/{CW13jkE8.js → C4HHXGmJ.js} +1 -1
  93. package/web/app/immutable/chunks/{ByCIOkhM.js → C59or46M.js} +1 -1
  94. package/web/app/immutable/chunks/{CL2hu5s-.js → C5SissXF.js} +1 -1
  95. package/web/app/immutable/chunks/{C-ZPZDJB.js → C8XrM-qb.js} +1 -1
  96. package/web/app/immutable/chunks/CA6TS0WC.js +1 -0
  97. package/web/app/immutable/chunks/CAUaU8Wh.js +1 -0
  98. package/web/app/immutable/chunks/CAdgzoaK.js +1 -0
  99. package/web/app/immutable/chunks/{BrRRz1w6.js → CCm1BgPl.js} +1 -1
  100. package/web/app/immutable/chunks/CDbQwqu1.js +1 -0
  101. package/web/app/immutable/chunks/CEsW1euQ.js +1 -0
  102. package/web/app/immutable/chunks/{CYEd8dKU.js → CFs6uWH2.js} +1 -1
  103. package/web/app/immutable/chunks/{D6YDmdhV.js → CGcQAX9W.js} +1 -1
  104. package/web/app/immutable/chunks/{CVYjvOCP.js → CHfmHJ17.js} +1 -1
  105. package/web/app/immutable/chunks/{DwKUz42C.js → CJ_dtcmM.js} +1 -1
  106. package/web/app/immutable/chunks/{DqvXXMrh.js → CNT1n9YR.js} +1 -1
  107. package/web/app/immutable/chunks/CP8WYBBE.js +1 -0
  108. package/web/app/immutable/chunks/{DtKh4Q6Q.js → CQB76zlc.js} +1 -1
  109. package/web/app/immutable/chunks/{DpMTpLDQ.js → CQbtnalz.js} +1 -1
  110. package/web/app/immutable/chunks/{CNIUwMPp.js → CQyjMIYw.js} +1 -1
  111. package/web/app/immutable/chunks/CSQXURhP.js +1 -0
  112. package/web/app/immutable/chunks/{DnpnDt-B.js → CSg3z6A2.js} +1 -1
  113. package/web/app/immutable/chunks/{m18NZZRr.js → CVa6MqnK.js} +1 -1
  114. package/web/app/immutable/chunks/{DInreQbI.js → CXVUfxHv.js} +2 -2
  115. package/web/app/immutable/chunks/{C0p8rhDn.js → CXpFRnSj.js} +1 -1
  116. package/web/app/immutable/chunks/C_EpV6jU.js +2 -0
  117. package/web/app/immutable/chunks/Cb0zVN4i.js +1 -0
  118. package/web/app/immutable/chunks/{BP7CI4Qx.js → CbZEAbX5.js} +1 -1
  119. package/web/app/immutable/chunks/{BqQiAH0O.js → CcaAQlGA.js} +1 -1
  120. package/web/app/immutable/chunks/CgLoJgPR.js +1 -0
  121. package/web/app/immutable/chunks/{B4ilKCwe.js → CguBowm8.js} +1 -1
  122. package/web/app/immutable/chunks/{Ds3Wirif.js → ChNPgGKQ.js} +1 -1
  123. package/web/app/immutable/chunks/{B203wRvP.js → Chpqmkx4.js} +1 -1
  124. package/web/app/immutable/chunks/{DbK3CxeL.js → CiIELmgj.js} +1 -1
  125. package/web/app/immutable/chunks/CiKocWhX.js +1 -0
  126. package/web/app/immutable/chunks/{BYtSPAAW.js → CjbCpI18.js} +1 -1
  127. package/web/app/immutable/chunks/{BvZrnx87.js → Ckp5dOHW.js} +1 -1
  128. package/web/app/immutable/chunks/{BfZCAeqU.js → ClMg3ew2.js} +1 -1
  129. package/web/app/immutable/chunks/{A8JjhnEv.js → Clhk_Z-l.js} +1 -1
  130. package/web/app/immutable/chunks/{CXNfY5OA.js → CmoBwSCp.js} +1 -1
  131. package/web/app/immutable/chunks/{B5tGFpkq.js → CpHzYkzi.js} +1 -1
  132. package/web/app/immutable/chunks/{p3fN-Vr3.js → Cq2aackv.js} +1 -1
  133. package/web/app/immutable/chunks/Cq8oeEXe.js +1 -0
  134. package/web/app/immutable/chunks/CrHk5l6X.js +1 -0
  135. package/web/app/immutable/chunks/{BUdcKH65.js → CrjpdU4V.js} +1 -1
  136. package/web/app/immutable/chunks/CswFIiBb.js +1 -0
  137. package/web/app/immutable/chunks/{BA3fud46.js → CtDj7gZD.js} +1 -1
  138. package/web/app/immutable/chunks/{CaXjFtDt.js → CvGEpOsC.js} +1 -1
  139. package/web/app/immutable/chunks/CvHwMug-.js +2 -0
  140. package/web/app/immutable/chunks/{CaxyE6o_.js → Cx31i8ng.js} +1 -1
  141. package/web/app/immutable/chunks/CzcD2H5U.js +2 -0
  142. package/web/app/immutable/chunks/CzdMU9Bu.js +2 -0
  143. package/web/app/immutable/chunks/{CKzqOQI8.js → D-TVq_rK.js} +1 -1
  144. package/web/app/immutable/chunks/{ChY17Glq.js → D-i7C44m.js} +2 -2
  145. package/web/app/immutable/chunks/{DDfvytcD.js → D0I9E6A0.js} +1 -1
  146. package/web/app/immutable/chunks/{DYk0s6f0.js → D1CYDv8t.js} +1 -1
  147. package/web/app/immutable/chunks/{BuTNFoR8.js → D31IcU1_.js} +1 -1
  148. package/web/app/immutable/chunks/{DDMEgpvU.js → D3toWTag.js} +8 -8
  149. package/web/app/immutable/chunks/{Bywuf0q4.js → D492HRYt.js} +1 -1
  150. package/web/app/immutable/chunks/{BkNc2eFX.js → D7NdkRF-.js} +4 -4
  151. package/web/app/immutable/chunks/{GETqdV-9.js → D7dPbXji.js} +1 -1
  152. package/web/app/immutable/chunks/D9jYN6_J.js +1 -0
  153. package/web/app/immutable/chunks/{n58mTCVv.js → D9jvlcNy.js} +1 -1
  154. package/web/app/immutable/chunks/{BabPi6C5.js → DByMRbHr.js} +1 -1
  155. package/web/app/immutable/chunks/{aETzmnsD.js → DDySjsub.js} +1 -1
  156. package/web/app/immutable/chunks/{B9Hetctu.js → DE8QOEZV.js} +1 -1
  157. package/web/app/immutable/chunks/{DCDhq2rq.js → DF1uIj8u.js} +1 -1
  158. package/web/app/immutable/chunks/{BYFJ74nm.js → DFs6FJS8.js} +1 -1
  159. package/web/app/immutable/chunks/{CgW9XFcu.js → DGmRhalF.js} +1 -1
  160. package/web/app/immutable/chunks/DH-29Rs_.js +11 -0
  161. package/web/app/immutable/chunks/{B3kzQQLK.js → DHGSAfCZ.js} +1 -1
  162. package/web/app/immutable/chunks/DHROL4K5.js +1 -0
  163. package/web/app/immutable/chunks/DKKFIb2l.js +1 -0
  164. package/web/app/immutable/chunks/DKTqwHrN.js +1 -0
  165. package/web/app/immutable/chunks/DMYKSC8W.js +2 -0
  166. package/web/app/immutable/chunks/{-7ARPWgR.js → DMjNjha0.js} +1 -1
  167. package/web/app/immutable/chunks/{C1nHAGLu.js → DNWBkvFP.js} +1 -1
  168. package/web/app/immutable/chunks/DNjgs7AU.js +1 -0
  169. package/web/app/immutable/chunks/{DkQ7I_3J.js → DOB2ATTF.js} +5 -5
  170. package/web/app/immutable/chunks/{BTWq1_ry.js → DOCWMdWU.js} +1 -1
  171. package/web/app/immutable/chunks/{Bc6DihnT.js → DOKxXiSI.js} +18 -18
  172. package/web/app/immutable/chunks/DOPeTAKk.js +13 -0
  173. package/web/app/immutable/chunks/{PrJr0a2j.js → DPUWJyjX.js} +1 -1
  174. package/web/app/immutable/chunks/{_xNtAuSN.js → DQlH_Wce.js} +1 -1
  175. package/web/app/immutable/chunks/{BIEvH8pu.js → DRZKWEq3.js} +1 -1
  176. package/web/app/immutable/chunks/DTSEdINd.js +2 -0
  177. package/web/app/immutable/chunks/{j5aoAM0N.js → DUQV_xq3.js} +1 -1
  178. package/web/app/immutable/chunks/{Dsmvkh8d.js → DW9MEQey.js} +1 -1
  179. package/web/app/immutable/chunks/{BL8tUtYB.js → DXnd4CJZ.js} +1 -1
  180. package/web/app/immutable/chunks/DYnCJwSs.js +1 -0
  181. package/web/app/immutable/chunks/DZ3SUe8R.js +1 -0
  182. package/web/app/immutable/chunks/{BmP1Wws6.js → DZyAzxxC.js} +1 -1
  183. package/web/app/immutable/chunks/D_SZXZdx.js +1 -0
  184. package/web/app/immutable/chunks/{BhMsVKL2.js → DcZKw8cP.js} +2 -2
  185. package/web/app/immutable/chunks/{B9x-giji.js → DccrGg38.js} +22 -22
  186. package/web/app/immutable/chunks/DcwC09tE.js +1 -0
  187. package/web/app/immutable/chunks/{Bvc8qRhk.js → DdVIXVso.js} +1 -1
  188. package/web/app/immutable/chunks/DeCAcSD9.js +19 -0
  189. package/web/app/immutable/chunks/DfjJilaB.js +2 -0
  190. package/web/app/immutable/chunks/{XzMpMF29.js → DgHZa_R5.js} +1 -1
  191. package/web/app/immutable/chunks/{ZI2UcNVx.js → DgwMMJRI.js} +1 -1
  192. package/web/app/immutable/chunks/{CVoXekIe.js → DhHSeQsG.js} +3 -3
  193. package/web/app/immutable/chunks/{CG3imlyr.js → Dj8J0eqI.js} +1 -1
  194. package/web/app/immutable/chunks/DjdPlKc4.js +2 -0
  195. package/web/app/immutable/chunks/{finAdq6c.js → DknPpgEW.js} +1 -1
  196. package/web/app/immutable/chunks/Dkr_RXdV.js +1 -0
  197. package/web/app/immutable/chunks/Dkva_evl.js +11 -0
  198. package/web/app/immutable/chunks/{7teYU7wH.js → Do80Vc58.js} +1 -1
  199. package/web/app/immutable/chunks/{X8W_BfF4.js → Dr45ln4z.js} +1 -1
  200. package/web/app/immutable/chunks/DryyHkNv.js +1 -0
  201. package/web/app/immutable/chunks/{BdkEw9JP.js → DtAyUyC0.js} +1 -1
  202. package/web/app/immutable/chunks/Dto-4yb7.js +1 -0
  203. package/web/app/immutable/chunks/{CSdIXJpO.js → DukmxKgk.js} +1 -1
  204. package/web/app/immutable/chunks/{BwSA3fCS.js → DwA_Z_f6.js} +1 -1
  205. package/web/app/immutable/chunks/{Drt5qRI8.js → Dx3sZmi8.js} +1 -1
  206. package/web/app/immutable/chunks/{CcXuSxXv.js → DxBGs1BP.js} +1 -1
  207. package/web/app/immutable/chunks/{CeswpNyE.js → DzGNgfrZ.js} +1 -1
  208. package/web/app/immutable/chunks/DzKYjnRy.js +2 -0
  209. package/web/app/immutable/chunks/{HvBMlLJP.js → DzejiLWr.js} +3 -3
  210. package/web/app/immutable/chunks/{CBqGKeYg.js → G_wYaln-.js} +1 -1
  211. package/web/app/immutable/chunks/GzTl4Sb0.js +1 -0
  212. package/web/app/immutable/chunks/IRbjhecv.js +8 -0
  213. package/web/app/immutable/chunks/OPvMR-5p.js +1 -0
  214. package/web/app/immutable/chunks/{gURPJ1oX.js → SVZRr24P.js} +1 -1
  215. package/web/app/immutable/chunks/{DYmPPjiq.js → T9tywf_e.js} +1 -1
  216. package/web/app/immutable/chunks/TL85KYB9.js +1 -0
  217. package/web/app/immutable/chunks/{BgX4ALX_.js → U6cHmbYS.js} +3 -3
  218. package/web/app/immutable/chunks/{DLqztIqC.js → V9qci_dz.js} +1 -1
  219. package/web/app/immutable/chunks/{CpLvDQcH.js → W7sv3DY6.js} +1 -1
  220. package/web/app/immutable/chunks/{CrfXhNNb.js → WbTmlouE.js} +1 -1
  221. package/web/app/immutable/chunks/{BAxqzRwc.js → Y4VeEPHl.js} +1 -1
  222. package/web/app/immutable/chunks/{BVviSubD.js → YYacqJ9a.js} +1 -1
  223. package/web/app/immutable/chunks/{BdCclrfD.js → Zl17pAXX.js} +1 -1
  224. package/web/app/immutable/chunks/{BVt_T8ao.js → aQy6qVNs.js} +1 -1
  225. package/web/app/immutable/chunks/{C3SYquhf.js → ahX1JzRb.js} +1 -1
  226. package/web/app/immutable/chunks/{B0biUQQF.js → asQ_ruFQ.js} +1 -1
  227. package/web/app/immutable/chunks/{BGX6W-wu.js → bKyElw3h.js} +1 -1
  228. package/web/app/immutable/chunks/cATI0wnI.js +1 -0
  229. package/web/app/immutable/chunks/ciTxbtqU.js +1 -0
  230. package/web/app/immutable/chunks/d-Ep-sfP.js +1 -0
  231. package/web/app/immutable/chunks/dBZS3-kp.js +3 -0
  232. package/web/app/immutable/chunks/{Bk2z5Cd0.js → eNHX5lds.js} +1 -1
  233. package/web/app/immutable/chunks/etVaBLxV.js +6 -0
  234. package/web/app/immutable/chunks/euZ22sAu.js +1 -0
  235. package/web/app/immutable/chunks/{COrK0goa.js → ftma9Ybn.js} +1 -1
  236. package/web/app/immutable/chunks/fzs92dqr.js +1 -0
  237. package/web/app/immutable/chunks/i2sZiDEq.js +1 -0
  238. package/web/app/immutable/chunks/iKgBWWl-.js +2 -0
  239. package/web/app/immutable/chunks/{BXTuZcZW.js → jlJQSpH6.js} +1 -1
  240. package/web/app/immutable/chunks/{t_3vjEsA.js → ouMKS3MA.js} +1 -1
  241. package/web/app/immutable/chunks/{DpsFFL7J.js → s0TWEExr.js} +1 -1
  242. package/web/app/immutable/chunks/{XIXbmV8F.js → txy0Txom.js} +1 -1
  243. package/web/app/immutable/chunks/{CYf2hryc.js → wTgWcOy1.js} +1 -1
  244. package/web/app/immutable/chunks/{BIlaJXMS.js → z-RLr2Z1.js} +1 -1
  245. package/web/app/immutable/chunks/zGl9gaL0.js +1 -0
  246. package/web/app/immutable/chunks/{DXCE75Ih.js → z_Tdw9N5.js} +1 -1
  247. package/web/app/immutable/entry/app.BXnRxWvG.js +4 -0
  248. package/web/app/immutable/entry/start.BX3EKd8C.js +1 -0
  249. package/web/app/immutable/nodes/0.CFk1FXLg.js +1 -0
  250. package/web/app/immutable/nodes/1.Bd67D1tA.js +1 -0
  251. package/web/app/immutable/nodes/10.CTZ0L3wZ.js +41 -0
  252. package/web/app/immutable/nodes/11.CH_h0WbH.js +1 -0
  253. package/web/app/immutable/nodes/12.DhihsAtw.js +1 -0
  254. package/web/app/immutable/nodes/{13.CscEwLVK.js → 13.B727xJXs.js} +5 -5
  255. package/web/app/immutable/nodes/14.CgITgBOZ.js +3 -0
  256. package/web/app/immutable/nodes/15.CCzIPJGf.js +1 -0
  257. package/web/app/immutable/nodes/{16.Cfgb0nOQ.js → 16.CbtJfPHZ.js} +2 -2
  258. package/web/app/immutable/nodes/17.CelzCwXF.js +1 -0
  259. package/web/app/immutable/nodes/{17.yV85i6g8.js → 18.fqvApY-g.js} +2 -2
  260. package/web/app/immutable/nodes/2.t-1b60vK.js +13 -0
  261. package/web/app/immutable/nodes/3.4L0YPvZL.js +2 -0
  262. package/web/app/immutable/nodes/4.BLQgcpcU.js +1 -0
  263. package/web/app/immutable/nodes/5.Bp_OiOTI.js +5 -0
  264. package/web/app/immutable/nodes/6.CcuwCBp4.js +1 -0
  265. package/web/app/immutable/nodes/7.B-TRUT7o.js +1 -0
  266. package/web/app/immutable/nodes/{8.omc6d3jg.js → 8.CaG5gby5.js} +9 -9
  267. package/web/app/immutable/nodes/{9._4FUjrca.js → 9.DosMxTmg.js} +17 -17
  268. package/web/app/version.json +1 -1
  269. package/web/index.html +28 -21
  270. package/web/app/immutable/chunks/-6JGlnE4.js +0 -1
  271. package/web/app/immutable/chunks/-SwunqO3.js +0 -1
  272. package/web/app/immutable/chunks/2xvAjJNs.js +0 -1
  273. package/web/app/immutable/chunks/5MLUIYhU.js +0 -1
  274. package/web/app/immutable/chunks/B3lXnLB8.js +0 -2
  275. package/web/app/immutable/chunks/BBL1FO1t.js +0 -1
  276. package/web/app/immutable/chunks/BCASO_bV.js +0 -1
  277. package/web/app/immutable/chunks/BF-IM3Qf.js +0 -1
  278. package/web/app/immutable/chunks/BKYCO_49.js +0 -4
  279. package/web/app/immutable/chunks/BMMoYJAn.js +0 -1
  280. package/web/app/immutable/chunks/BP5uyQTv.js +0 -18
  281. package/web/app/immutable/chunks/BVPvh88-.js +0 -1
  282. package/web/app/immutable/chunks/BX3QD7rd.js +0 -1
  283. package/web/app/immutable/chunks/BXeiKdwz.js +0 -1
  284. package/web/app/immutable/chunks/BYU1cTbO.js +0 -2
  285. package/web/app/immutable/chunks/BZcpShp8.js +0 -9
  286. package/web/app/immutable/chunks/BbNk8c_P.js +0 -1
  287. package/web/app/immutable/chunks/Bba6So1V.js +0 -1
  288. package/web/app/immutable/chunks/Bc5_gcpq.js +0 -1
  289. package/web/app/immutable/chunks/BdD2ADMz.js +0 -1
  290. package/web/app/immutable/chunks/BlZYlbA9.js +0 -1
  291. package/web/app/immutable/chunks/BoCZH6mk.js +0 -1
  292. package/web/app/immutable/chunks/Bs26_0Q5.js +0 -2
  293. package/web/app/immutable/chunks/ByuX26Ym.js +0 -6
  294. package/web/app/immutable/chunks/C-MmtmWQ.js +0 -1
  295. package/web/app/immutable/chunks/C52Qm4vO.js +0 -1
  296. package/web/app/immutable/chunks/C5AlgdZ0.js +0 -1
  297. package/web/app/immutable/chunks/C8AARFCw.js +0 -2
  298. package/web/app/immutable/chunks/CAOA5kev.js +0 -2
  299. package/web/app/immutable/chunks/CEQZVenN.js +0 -6
  300. package/web/app/immutable/chunks/CN-2rfdx.js +0 -1
  301. package/web/app/immutable/chunks/CRQGIXhv.js +0 -1
  302. package/web/app/immutable/chunks/CWT4x6lB.js +0 -2
  303. package/web/app/immutable/chunks/CbCgON3R.js +0 -1
  304. package/web/app/immutable/chunks/CeT1zT46.js +0 -1
  305. package/web/app/immutable/chunks/Cfj3Lc6y.js +0 -1
  306. package/web/app/immutable/chunks/Cjpu4SJA.js +0 -1
  307. package/web/app/immutable/chunks/Ck9ZyE1n.js +0 -2
  308. package/web/app/immutable/chunks/CkSjvO0_.js +0 -1
  309. package/web/app/immutable/chunks/CoLl8pQb.js +0 -1
  310. package/web/app/immutable/chunks/CpadbTI2.js +0 -408
  311. package/web/app/immutable/chunks/CsxVJm8Y.js +0 -1
  312. package/web/app/immutable/chunks/CteSc0c_.js +0 -1
  313. package/web/app/immutable/chunks/CuhrgDBI.js +0 -1
  314. package/web/app/immutable/chunks/CvWyDJGm.js +0 -1
  315. package/web/app/immutable/chunks/CzVyzyWv.js +0 -2
  316. package/web/app/immutable/chunks/D6Wx8h-l.js +0 -11
  317. package/web/app/immutable/chunks/D8Ohjkn4.js +0 -3
  318. package/web/app/immutable/chunks/DATvyyct.js +0 -1
  319. package/web/app/immutable/chunks/DAoagkbK.js +0 -2
  320. package/web/app/immutable/chunks/DEjP-x_s.js +0 -1
  321. package/web/app/immutable/chunks/DFF9daPQ.js +0 -13
  322. package/web/app/immutable/chunks/DIP3ex32.js +0 -1
  323. package/web/app/immutable/chunks/DPDCu-py.js +0 -1
  324. package/web/app/immutable/chunks/DPR3VaPZ.js +0 -2
  325. package/web/app/immutable/chunks/DTQYcznv.js +0 -1
  326. package/web/app/immutable/chunks/DU8kuP6M.js +0 -1
  327. package/web/app/immutable/chunks/DZmwTozc.js +0 -1
  328. package/web/app/immutable/chunks/Dc64E_SR.js +0 -1
  329. package/web/app/immutable/chunks/Ddw98WmY.js +0 -8
  330. package/web/app/immutable/chunks/De4z9gHo.js +0 -1
  331. package/web/app/immutable/chunks/Dk6iNNLu.js +0 -1
  332. package/web/app/immutable/chunks/DlHB0ULA.js +0 -2
  333. package/web/app/immutable/chunks/DpHl7r8K.js +0 -1
  334. package/web/app/immutable/chunks/Dq3RHtWu.js +0 -1
  335. package/web/app/immutable/chunks/Dq3leYTy.js +0 -19
  336. package/web/app/immutable/chunks/Dq6CuXZE.js +0 -1
  337. package/web/app/immutable/chunks/DqJ-M21G.js +0 -1
  338. package/web/app/immutable/chunks/Dwyq6WEC.js +0 -1
  339. package/web/app/immutable/chunks/DxNbgJ8X.js +0 -2
  340. package/web/app/immutable/chunks/DzHHkfB1.js +0 -1
  341. package/web/app/immutable/chunks/EbDWf2Y-.js +0 -1
  342. package/web/app/immutable/chunks/Ek5W6pp5.js +0 -1
  343. package/web/app/immutable/chunks/H60Tbroe.js +0 -1
  344. package/web/app/immutable/chunks/JzAjTSJP.js +0 -1
  345. package/web/app/immutable/chunks/PPmweWGv.js +0 -2
  346. package/web/app/immutable/chunks/UYKGMt9K.js +0 -1
  347. package/web/app/immutable/chunks/X_y6HQmR.js +0 -1
  348. package/web/app/immutable/chunks/YNoNxkXn.js +0 -4
  349. package/web/app/immutable/entry/app.Ci0fqF_i.js +0 -4
  350. package/web/app/immutable/entry/start.DzDtsQrC.js +0 -1
  351. package/web/app/immutable/nodes/0.BJcKF537.js +0 -1
  352. package/web/app/immutable/nodes/1.Dj_1C4wl.js +0 -1
  353. package/web/app/immutable/nodes/10.DTBkzFBQ.js +0 -41
  354. package/web/app/immutable/nodes/11.C9N9_Xb9.js +0 -1
  355. package/web/app/immutable/nodes/12.CqRfopX4.js +0 -1
  356. package/web/app/immutable/nodes/14.BDOAvRMB.js +0 -3
  357. package/web/app/immutable/nodes/15.BWtoiI44.js +0 -1
  358. package/web/app/immutable/nodes/2.B_fHdNW9.js +0 -13
  359. package/web/app/immutable/nodes/3.CzW2JK5A.js +0 -2
  360. package/web/app/immutable/nodes/4.DP65YvXF.js +0 -1
  361. package/web/app/immutable/nodes/5.ivE-5gZP.js +0 -5
  362. package/web/app/immutable/nodes/6.58wOdki0.js +0 -1
  363. package/web/app/immutable/nodes/7.9Khb1Buc.js +0 -1
  364. /package/web/app/immutable/assets/{17.Cznk2DRv.css → 18.Cznk2DRv.css} +0 -0
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/PrJr0a2j.js","/app/immutable/chunks/34C5M9lk.js","/app/immutable/chunks/A34-FDia.js","/app/immutable/chunks/BYMNRS4c.js","/app/immutable/chunks/CVYjvOCP.js","/app/immutable/chunks/p3fN-Vr3.js","/app/immutable/chunks/XIXbmV8F.js","/app/immutable/chunks/CgQ2Q_uI.js"])))=>i.map(i=>d[i]);
2
- var kle=Object.defineProperty;var Ile=(o,e,t)=>e in o?kle(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Ji=(o,e,t)=>Ile(o,typeof e!="symbol"?e+"":e,t);import{_ as Ae}from"./DTQYcznv.js";function qX(){return globalThis._VSCODE_NLS_MESSAGES}function k9(){return globalThis._VSCODE_NLS_LANGUAGE}const Ele=k9()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function Hk(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=parseInt(n,10),r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),Ele&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return Hk(typeof o=="number"?KX(o,e):e,t)}function KX(o,e){const t=qX()?.[o];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${o} !!!`)}return t}function j(o,e,...t){let i;typeof o=="number"?i=KX(o,e):i=e;const n=Hk(i,t);return{value:n,original:e===i?n:Hk(e,t)}}function Tle(o,e){const t=o;typeof t.vscodeWindowId!="number"&&Object.defineProperty(t,"vscodeWindowId",{get:()=>e})}const Pt=window,mN=class mN{constructor(){this.mapWindowIdToZoomFactor=new Map}getZoomFactor(e){return this.mapWindowIdToZoomFactor.get(this.getWindowId(e))??1}getWindowId(e){return e.vscodeWindowId}};mN.INSTANCE=new mN;let tF=mN;function GX(o,e,t){typeof e=="string"&&(e=o.matchMedia(e)),e.addEventListener("change",t)}function iF(o){return tF.INSTANCE.getZoomFactor(o)}const hw=navigator.userAgent,js=hw.indexOf("Firefox")>=0,nM=hw.indexOf("AppleWebKit")>=0,vx=hw.indexOf("Chrome")>=0,Gm=!vx&&hw.indexOf("Safari")>=0,ZX=!vx&&!Gm&&nM;hw.indexOf("Electron/")>=0;const DU=hw.indexOf("Android")>=0;let S2=!1;if(typeof Pt.matchMedia=="function"){const o=Pt.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),e=Pt.matchMedia("(display-mode: fullscreen)");S2=o.matches,GX(Pt,o,({matches:t})=>{S2&&e.matches||(S2=t)})}function Vk(){return globalThis.MonacoEnvironment}class Nle{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?wC.isErrorNoTelemetry(e)?new wC(e.message+`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DPUWJyjX.js","/app/immutable/chunks/B7dTLx8u.js","/app/immutable/chunks/BK2lpqz4.js","/app/immutable/chunks/C3oF1SK5.js","/app/immutable/chunks/CHfmHJ17.js","/app/immutable/chunks/Cq2aackv.js","/app/immutable/chunks/txy0Txom.js","/app/immutable/chunks/71L4lHBq.js"])))=>i.map(i=>d[i]);
2
+ var kle=Object.defineProperty;var Ile=(o,e,t)=>e in o?kle(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var Ji=(o,e,t)=>Ile(o,typeof e!="symbol"?e+"":e,t);import{_ as Ae}from"./D9jYN6_J.js";function qX(){return globalThis._VSCODE_NLS_MESSAGES}function k9(){return globalThis._VSCODE_NLS_LANGUAGE}const Ele=k9()==="pseudo"||typeof document<"u"&&document.location&&typeof document.location.hash=="string"&&document.location.hash.indexOf("pseudo=true")>=0;function Hk(o,e){let t;return e.length===0?t=o:t=o.replace(/\{(\d+)\}/g,(i,n)=>{const s=parseInt(n,10),r=e[s];let a=i;return typeof r=="string"?a=r:(typeof r=="number"||typeof r=="boolean"||r===void 0||r===null)&&(a=String(r)),a}),Ele&&(t="["+t.replace(/[aouei]/g,"$&$&")+"]"),t}function m(o,e,...t){return Hk(typeof o=="number"?KX(o,e):e,t)}function KX(o,e){const t=qX()?.[o];if(typeof t!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${o} !!!`)}return t}function j(o,e,...t){let i;typeof o=="number"?i=KX(o,e):i=e;const n=Hk(i,t);return{value:n,original:e===i?n:Hk(e,t)}}function Tle(o,e){const t=o;typeof t.vscodeWindowId!="number"&&Object.defineProperty(t,"vscodeWindowId",{get:()=>e})}const Pt=window,mN=class mN{constructor(){this.mapWindowIdToZoomFactor=new Map}getZoomFactor(e){return this.mapWindowIdToZoomFactor.get(this.getWindowId(e))??1}getWindowId(e){return e.vscodeWindowId}};mN.INSTANCE=new mN;let tF=mN;function GX(o,e,t){typeof e=="string"&&(e=o.matchMedia(e)),e.addEventListener("change",t)}function iF(o){return tF.INSTANCE.getZoomFactor(o)}const hw=navigator.userAgent,js=hw.indexOf("Firefox")>=0,nM=hw.indexOf("AppleWebKit")>=0,vx=hw.indexOf("Chrome")>=0,Gm=!vx&&hw.indexOf("Safari")>=0,ZX=!vx&&!Gm&&nM;hw.indexOf("Electron/")>=0;const DU=hw.indexOf("Android")>=0;let S2=!1;if(typeof Pt.matchMedia=="function"){const o=Pt.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),e=Pt.matchMedia("(display-mode: fullscreen)");S2=o.matches,GX(Pt,o,({matches:t})=>{S2&&e.matches||(S2=t)})}function Vk(){return globalThis.MonacoEnvironment}class Nle{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?wC.isErrorNoTelemetry(e)?new wC(e.message+`
3
3
 
4
4
  `+e.stack):new Error(e.message+`
5
5
 
@@ -992,4 +992,4 @@ Ensure your bundler properly bundles modules referenced by "new URL('...?esm', i
992
992
 
993
993
  ${JSON.stringify(s,null,2)}`);return r.value}}async notify(e,t,i){if(!this.checkChannel(this._requestSender))throw new Error;const n=e.paramsSerializer.serializeToJson(t);EX(n),this._requestSender.sendNotification({method:e.method,params:n},i)}};function EX(o){if(o!==null&&Array.isArray(o)&&typeof o!="object")throw new Error("Invalid value! Only null, array and object is allowed.")}var TX=class Tae extends Error{constructor(e,t,i=qa.genericApplicationError){super(e),Pe(this,"data"),Pe(this,"code"),this.data=t,this.code=i,Object.setPrototypeOf(this,Tae.prototype)}},N6e=class S9{constructor(e,t,i,n,s=!1){Pe(this,"method"),Pe(this,"paramsSerializer"),Pe(this,"resultSerializer"),Pe(this,"errorSerializer"),Pe(this,"isOptional"),Pe(this,"kind","request"),this.method=e,this.paramsSerializer=t,this.resultSerializer=i,this.errorSerializer=n,this.isOptional=s}withMethod(e){return new S9(e,this.paramsSerializer,this.resultSerializer,this.errorSerializer)}optional(){return new S9(this.method,this.paramsSerializer,this.resultSerializer,this.errorSerializer,!0)}},R6e=class Nae{constructor(e,t){Pe(this,"method"),Pe(this,"paramsSerializer"),Pe(this,"kind","notification"),this.method=e,this.paramsSerializer=t}withMethod(e){return new Nae(e,this.paramsSerializer)}};function Ze(o){return new N6e((o||{}).method,iC.sAny(),iC.sAny(),iC.sAny())}function zi(o){return new R6e((o||{}).method,iC.sAny())}const M6e=Symbol();var NX=(kX=M6e,YD=class{constructor(o){Pe(this,"error"),Pe(this,kX),this.error=o}},Pe(YD,"factory",o=>new YD(o)),YD);function A6e(o){const e=RX(o.server),t=RX(o.client);return new P6e(o.tags||[],e,t)}function RX(o){const e={};for(const[t,i]of Object.entries(o)){const n=i.method?i.method:t;e[t]=i.withMethod(n)}return e}var P6e=class Rae{constructor(e=[],t,i){Pe(this,"tags"),Pe(this,"server"),Pe(this,"client"),this.tags=e,this.server=t,this.client=i}_onlyDesignTime(){return new Error("This property is not meant to be accessed at runtime")}get TContractObject(){throw this._onlyDesignTime()}get TClientInterface(){throw this._onlyDesignTime()}get TServerInterface(){throw this._onlyDesignTime()}get TClientHandler(){throw this._onlyDesignTime()}get TServerHandler(){throw this._onlyDesignTime()}get TTags(){throw this._onlyDesignTime()}getInterface(e,t,i,n){const s=this.buildCounterpart(e,i),r=this.registerHandlers(e,t,n,s);return{counterpart:s,dispose:()=>r.dispose()}}buildCounterpart(e,t){const i={};for(const[n,s]of Object.entries(t)){let r;s.kind==="request"?s.isOptional?r=async(a,l)=>{a===void 0&&(a={});try{return await e.request(s,a,l)}catch(c){if(c&&c.code===qa.methodNotFound)return kae;throw c}}:r=(a,l)=>(a===void 0&&(a={}),e.request(s,a,l)):r=(a,l)=>(a===void 0&&(a={}),e.notify(s,a,l)),i[n]=r}return i}registerHandlers(e,t,i,n){const s=[];for(const[r,a]of Object.entries(t))if(a.kind==="request"){let l=i[r];if(!l)continue;const c=this.createRequestHandler(n,l);s.push(e.registerRequestHandler(a,c))}else{const l=i[r];l&&s.push(e.registerNotificationHandler(a,(c,d)=>{l(c,{context:d,counterpart:n})}))}return{dispose:()=>s.forEach(r=>r.dispose())}}createRequestHandler(e,t){return async(i,n,s)=>{const r=await t(i,{context:s,counterpart:e,newErr:NX.factory,requestId:n});return r instanceof NX?r.error:{ok:r}}}static getServerFromStream(e,t,i,n){const s=w9.fromTransport(t,i),{server:r}=e.getServer(s,n);return s.startListen(),{channel:s,server:r}}static registerServerToStream(e,t,i,n){const s=w9.fromTransport(t,i),{client:r}=e.registerServer(s,n);return s.startListen(),{channel:s,client:r}}getServer(e,t){const{counterpart:i,dispose:n}=this.getInterface(e,this.client,this.server,t);return{server:i,dispose:n}}registerServer(e,t){const{counterpart:i,dispose:n}=this.getInterface(e,this.server,this.client,t);return{client:i,dispose:n}}withContext(){return new Rae(this.tags,this.server,this.client)}};let nC=(function(o){return o.Comment="comment",o.Imports="imports",o.Region="region",o})({}),en=(function(o){return o[o.File=1]="File",o[o.Module=2]="Module",o[o.Namespace=3]="Namespace",o[o.Package=4]="Package",o[o.Class=5]="Class",o[o.Method=6]="Method",o[o.Property=7]="Property",o[o.Field=8]="Field",o[o.Constructor=9]="Constructor",o[o.Enum=10]="Enum",o[o.Interface=11]="Interface",o[o.Function=12]="Function",o[o.Variable=13]="Variable",o[o.Constant=14]="Constant",o[o.String=15]="String",o[o.Number=16]="Number",o[o.Boolean=17]="Boolean",o[o.Array=18]="Array",o[o.Object=19]="Object",o[o.Key=20]="Key",o[o.Null=21]="Null",o[o.EnumMember=22]="EnumMember",o[o.Struct=23]="Struct",o[o.Event=24]="Event",o[o.Operator=25]="Operator",o[o.TypeParameter=26]="TypeParameter",o})({}),Mae=(function(o){return o[o.Deprecated=1]="Deprecated",o})({}),MX=(function(o){return o[o.Type=1]="Type",o[o.Parameter=2]="Parameter",o})({}),O6e=(function(o){return o[o.None=0]="None",o[o.Full=1]="Full",o[o.Incremental=2]="Incremental",o})({}),cn=(function(o){return o[o.Text=1]="Text",o[o.Method=2]="Method",o[o.Function=3]="Function",o[o.Constructor=4]="Constructor",o[o.Field=5]="Field",o[o.Variable=6]="Variable",o[o.Class=7]="Class",o[o.Interface=8]="Interface",o[o.Module=9]="Module",o[o.Property=10]="Property",o[o.Unit=11]="Unit",o[o.Value=12]="Value",o[o.Enum=13]="Enum",o[o.Keyword=14]="Keyword",o[o.Snippet=15]="Snippet",o[o.Color=16]="Color",o[o.File=17]="File",o[o.Reference=18]="Reference",o[o.Folder=19]="Folder",o[o.EnumMember=20]="EnumMember",o[o.Constant=21]="Constant",o[o.Struct=22]="Struct",o[o.Event=23]="Event",o[o.Operator=24]="Operator",o[o.TypeParameter=25]="TypeParameter",o})({}),F6e=(function(o){return o[o.Deprecated=1]="Deprecated",o})({}),W6e=(function(o){return o[o.PlainText=1]="PlainText",o[o.Snippet=2]="Snippet",o})({}),JO=(function(o){return o[o.Text=1]="Text",o[o.Read=2]="Read",o[o.Write=3]="Write",o})({}),Dd=(function(o){return o.Empty="",o.QuickFix="quickfix",o.Refactor="refactor",o.RefactorExtract="refactor.extract",o.RefactorInline="refactor.inline",o.RefactorRewrite="refactor.rewrite",o.Source="source",o.SourceOrganizeImports="source.organizeImports",o.SourceFixAll="source.fixAll",o})({}),pN=(function(o){return o.PlainText="plaintext",o.Markdown="markdown",o})({}),dh=(function(o){return o[o.Error=1]="Error",o[o.Warning=2]="Warning",o[o.Information=3]="Information",o[o.Hint=4]="Hint",o})({}),AX=(function(o){return o[o.Unnecessary=1]="Unnecessary",o[o.Deprecated=2]="Deprecated",o})({}),Wk=(function(o){return o[o.Invoked=1]="Invoked",o[o.TriggerCharacter=2]="TriggerCharacter",o[o.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",o})({}),Bk=(function(o){return o[o.Invoked=1]="Invoked",o[o.TriggerCharacter=2]="TriggerCharacter",o[o.ContentChange=3]="ContentChange",o})({}),y9=(function(o){return o[o.Invoked=1]="Invoked",o[o.Automatic=2]="Automatic",o})({}),B6e=(function(o){return o.Relative="relative",o})({});var wt=class{constructor(o){this.method=o}};const ht={textDocumentImplementation:new wt("textDocument/implementation"),textDocumentTypeDefinition:new wt("textDocument/typeDefinition"),textDocumentDocumentColor:new wt("textDocument/documentColor"),textDocumentColorPresentation:new wt("textDocument/colorPresentation"),textDocumentFoldingRange:new wt("textDocument/foldingRange"),textDocumentDeclaration:new wt("textDocument/declaration"),textDocumentSelectionRange:new wt("textDocument/selectionRange"),textDocumentPrepareCallHierarchy:new wt("textDocument/prepareCallHierarchy"),textDocumentSemanticTokensFull:new wt("textDocument/semanticTokens/full"),textDocumentSemanticTokensFullDelta:new wt("textDocument/semanticTokens/full/delta"),textDocumentLinkedEditingRange:new wt("textDocument/linkedEditingRange"),workspaceWillCreateFiles:new wt("workspace/willCreateFiles"),workspaceWillRenameFiles:new wt("workspace/willRenameFiles"),workspaceWillDeleteFiles:new wt("workspace/willDeleteFiles"),textDocumentMoniker:new wt("textDocument/moniker"),textDocumentPrepareTypeHierarchy:new wt("textDocument/prepareTypeHierarchy"),textDocumentInlineValue:new wt("textDocument/inlineValue"),textDocumentInlayHint:new wt("textDocument/inlayHint"),textDocumentDiagnostic:new wt("textDocument/diagnostic"),textDocumentInlineCompletion:new wt("textDocument/inlineCompletion"),textDocumentWillSaveWaitUntil:new wt("textDocument/willSaveWaitUntil"),textDocumentCompletion:new wt("textDocument/completion"),textDocumentHover:new wt("textDocument/hover"),textDocumentSignatureHelp:new wt("textDocument/signatureHelp"),textDocumentDefinition:new wt("textDocument/definition"),textDocumentReferences:new wt("textDocument/references"),textDocumentDocumentHighlight:new wt("textDocument/documentHighlight"),textDocumentDocumentSymbol:new wt("textDocument/documentSymbol"),textDocumentCodeAction:new wt("textDocument/codeAction"),workspaceSymbol:new wt("workspace/symbol"),textDocumentCodeLens:new wt("textDocument/codeLens"),textDocumentDocumentLink:new wt("textDocument/documentLink"),textDocumentFormatting:new wt("textDocument/formatting"),textDocumentRangeFormatting:new wt("textDocument/rangeFormatting"),textDocumentRangesFormatting:new wt("textDocument/rangesFormatting"),textDocumentOnTypeFormatting:new wt("textDocument/onTypeFormatting"),textDocumentRename:new wt("textDocument/rename"),workspaceExecuteCommand:new wt("workspace/executeCommand"),workspaceDidCreateFiles:new wt("workspace/didCreateFiles"),workspaceDidRenameFiles:new wt("workspace/didRenameFiles"),workspaceDidDeleteFiles:new wt("workspace/didDeleteFiles"),workspaceDidChangeConfiguration:new wt("workspace/didChangeConfiguration"),textDocumentDidOpen:new wt("textDocument/didOpen"),textDocumentDidChange:new wt("textDocument/didChange"),textDocumentDidClose:new wt("textDocument/didClose"),textDocumentDidSave:new wt("textDocument/didSave"),textDocumentWillSave:new wt("textDocument/willSave"),workspaceDidChangeWatchedFiles:new wt("workspace/didChangeWatchedFiles")},bx=A6e({server:{textDocumentImplementation:Ze({method:"textDocument/implementation"}),textDocumentTypeDefinition:Ze({method:"textDocument/typeDefinition"}),textDocumentDocumentColor:Ze({method:"textDocument/documentColor"}),textDocumentColorPresentation:Ze({method:"textDocument/colorPresentation"}),textDocumentFoldingRange:Ze({method:"textDocument/foldingRange"}),textDocumentDeclaration:Ze({method:"textDocument/declaration"}),textDocumentSelectionRange:Ze({method:"textDocument/selectionRange"}),textDocumentPrepareCallHierarchy:Ze({method:"textDocument/prepareCallHierarchy"}),callHierarchyIncomingCalls:Ze({method:"callHierarchy/incomingCalls"}),callHierarchyOutgoingCalls:Ze({method:"callHierarchy/outgoingCalls"}),textDocumentSemanticTokensFull:Ze({method:"textDocument/semanticTokens/full"}),textDocumentSemanticTokensFullDelta:Ze({method:"textDocument/semanticTokens/full/delta"}),textDocumentSemanticTokensRange:Ze({method:"textDocument/semanticTokens/range"}),textDocumentLinkedEditingRange:Ze({method:"textDocument/linkedEditingRange"}),workspaceWillCreateFiles:Ze({method:"workspace/willCreateFiles"}),workspaceWillRenameFiles:Ze({method:"workspace/willRenameFiles"}),workspaceWillDeleteFiles:Ze({method:"workspace/willDeleteFiles"}),textDocumentMoniker:Ze({method:"textDocument/moniker"}),textDocumentPrepareTypeHierarchy:Ze({method:"textDocument/prepareTypeHierarchy"}),typeHierarchySupertypes:Ze({method:"typeHierarchy/supertypes"}),typeHierarchySubtypes:Ze({method:"typeHierarchy/subtypes"}),textDocumentInlineValue:Ze({method:"textDocument/inlineValue"}),textDocumentInlayHint:Ze({method:"textDocument/inlayHint"}),inlayHintResolve:Ze({method:"inlayHint/resolve"}),textDocumentDiagnostic:Ze({method:"textDocument/diagnostic"}),workspaceDiagnostic:Ze({method:"workspace/diagnostic"}),textDocumentInlineCompletion:Ze({method:"textDocument/inlineCompletion"}),initialize:Ze({method:"initialize"}),shutdown:Ze({method:"shutdown"}),textDocumentWillSaveWaitUntil:Ze({method:"textDocument/willSaveWaitUntil"}),textDocumentCompletion:Ze({method:"textDocument/completion"}),completionItemResolve:Ze({method:"completionItem/resolve"}),textDocumentHover:Ze({method:"textDocument/hover"}),textDocumentSignatureHelp:Ze({method:"textDocument/signatureHelp"}),textDocumentDefinition:Ze({method:"textDocument/definition"}),textDocumentReferences:Ze({method:"textDocument/references"}),textDocumentDocumentHighlight:Ze({method:"textDocument/documentHighlight"}),textDocumentDocumentSymbol:Ze({method:"textDocument/documentSymbol"}),textDocumentCodeAction:Ze({method:"textDocument/codeAction"}),codeActionResolve:Ze({method:"codeAction/resolve"}),workspaceSymbol:Ze({method:"workspace/symbol"}),workspaceSymbolResolve:Ze({method:"workspaceSymbol/resolve"}),textDocumentCodeLens:Ze({method:"textDocument/codeLens"}),codeLensResolve:Ze({method:"codeLens/resolve"}),textDocumentDocumentLink:Ze({method:"textDocument/documentLink"}),documentLinkResolve:Ze({method:"documentLink/resolve"}),textDocumentFormatting:Ze({method:"textDocument/formatting"}),textDocumentRangeFormatting:Ze({method:"textDocument/rangeFormatting"}),textDocumentRangesFormatting:Ze({method:"textDocument/rangesFormatting"}),textDocumentOnTypeFormatting:Ze({method:"textDocument/onTypeFormatting"}),textDocumentRename:Ze({method:"textDocument/rename"}),textDocumentPrepareRename:Ze({method:"textDocument/prepareRename"}),workspaceExecuteCommand:Ze({method:"workspace/executeCommand"}),workspaceDidChangeWorkspaceFolders:zi({method:"workspace/didChangeWorkspaceFolders"}),windowWorkDoneProgressCancel:zi({method:"window/workDoneProgress/cancel"}),workspaceDidCreateFiles:zi({method:"workspace/didCreateFiles"}),workspaceDidRenameFiles:zi({method:"workspace/didRenameFiles"}),workspaceDidDeleteFiles:zi({method:"workspace/didDeleteFiles"}),notebookDocumentDidOpen:zi({method:"notebookDocument/didOpen"}),notebookDocumentDidChange:zi({method:"notebookDocument/didChange"}),notebookDocumentDidSave:zi({method:"notebookDocument/didSave"}),notebookDocumentDidClose:zi({method:"notebookDocument/didClose"}),initialized:zi({method:"initialized"}),exit:zi({method:"exit"}),workspaceDidChangeConfiguration:zi({method:"workspace/didChangeConfiguration"}),textDocumentDidOpen:zi({method:"textDocument/didOpen"}),textDocumentDidChange:zi({method:"textDocument/didChange"}),textDocumentDidClose:zi({method:"textDocument/didClose"}),textDocumentDidSave:zi({method:"textDocument/didSave"}),textDocumentWillSave:zi({method:"textDocument/willSave"}),workspaceDidChangeWatchedFiles:zi({method:"workspace/didChangeWatchedFiles"}),setTrace:zi({method:"$/setTrace"}),cancelRequest:zi({method:"$/cancelRequest"}),progress:zi({method:"$/progress"})},client:{workspaceWorkspaceFolders:Ze({method:"workspace/workspaceFolders"}).optional(),workspaceConfiguration:Ze({method:"workspace/configuration"}).optional(),workspaceFoldingRangeRefresh:Ze({method:"workspace/foldingRange/refresh"}).optional(),windowWorkDoneProgressCreate:Ze({method:"window/workDoneProgress/create"}).optional(),workspaceSemanticTokensRefresh:Ze({method:"workspace/semanticTokens/refresh"}).optional(),windowShowDocument:Ze({method:"window/showDocument"}).optional(),workspaceInlineValueRefresh:Ze({method:"workspace/inlineValue/refresh"}).optional(),workspaceInlayHintRefresh:Ze({method:"workspace/inlayHint/refresh"}).optional(),workspaceDiagnosticRefresh:Ze({method:"workspace/diagnostic/refresh"}).optional(),clientRegisterCapability:Ze({method:"client/registerCapability"}).optional(),clientUnregisterCapability:Ze({method:"client/unregisterCapability"}).optional(),windowShowMessageRequest:Ze({method:"window/showMessageRequest"}).optional(),workspaceCodeLensRefresh:Ze({method:"workspace/codeLens/refresh"}).optional(),workspaceApplyEdit:Ze({method:"workspace/applyEdit"}).optional(),windowShowMessage:zi({method:"window/showMessage"}),windowLogMessage:zi({method:"window/logMessage"}),telemetryEvent:zi({method:"telemetry/event"}),textDocumentPublishDiagnostics:zi({method:"textDocument/publishDiagnostics"}),logTrace:zi({method:"$/logTrace"}),cancelRequest:zi({method:"$/cancelRequest"}),progress:zi({method:"$/progress"})}});function Gp(o,e){if(o.textModel!==e)throw new Error(`Expected text model to be ${e}, but got ${o.textModel}`);return o}var ln=(XO=class{constructor(){Pe(this,"_store",new Mz)}dispose(){this._store.dispose()}_register(o){if(o===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(o)}},Pe(XO,"None",Object.freeze({dispose(){}})),XO),Mz=(XD=class{constructor(){Pe(this,"_toDispose",new Set),Pe(this,"_isDisposed",!1)}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}clear(){if(this._toDispose.size!==0)try{for(const o of this._toDispose)o.dispose()}finally{this._toDispose.clear()}}add(o){if(!o)return o;if(o===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?XD.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(o),o}},Pe(XD,"DISABLE_DISPOSED_WARNING",!1),XD);const Aae=new Map([[Dd.Empty,""],[Dd.QuickFix,"quickfix"],[Dd.Refactor,"refactor"],[Dd.RefactorExtract,"refactor.extract"],[Dd.RefactorInline,"refactor.inline"],[Dd.RefactorRewrite,"refactor.rewrite"],[Dd.Source,"source"],[Dd.SourceOrganizeImports,"source.organizeImports"],[Dd.SourceFixAll,"source.fixAll"]]);function H6e(o){if(o)return Aae.get(o)??o}const V6e=new Map([[Le.CodeActionTriggerType.Invoke,y9.Invoked],[Le.CodeActionTriggerType.Auto,y9.Automatic]]);function z6e(o){return V6e.get(o)??y9.Invoked}const Pae=new Map([[cn.Text,Le.CompletionItemKind.Text],[cn.Method,Le.CompletionItemKind.Method],[cn.Function,Le.CompletionItemKind.Function],[cn.Constructor,Le.CompletionItemKind.Constructor],[cn.Field,Le.CompletionItemKind.Field],[cn.Variable,Le.CompletionItemKind.Variable],[cn.Class,Le.CompletionItemKind.Class],[cn.Interface,Le.CompletionItemKind.Interface],[cn.Module,Le.CompletionItemKind.Module],[cn.Property,Le.CompletionItemKind.Property],[cn.Unit,Le.CompletionItemKind.Unit],[cn.Value,Le.CompletionItemKind.Value],[cn.Enum,Le.CompletionItemKind.Enum],[cn.Keyword,Le.CompletionItemKind.Keyword],[cn.Snippet,Le.CompletionItemKind.Snippet],[cn.Color,Le.CompletionItemKind.Color],[cn.File,Le.CompletionItemKind.File],[cn.Reference,Le.CompletionItemKind.Reference],[cn.Folder,Le.CompletionItemKind.Folder],[cn.EnumMember,Le.CompletionItemKind.EnumMember],[cn.Constant,Le.CompletionItemKind.Constant],[cn.Struct,Le.CompletionItemKind.Struct],[cn.Event,Le.CompletionItemKind.Event],[cn.Operator,Le.CompletionItemKind.Operator],[cn.TypeParameter,Le.CompletionItemKind.TypeParameter]]);function U6e(o){return o?Pae.get(o)??Le.CompletionItemKind.Text:Le.CompletionItemKind.Text}const Oae=new Map([[F6e.Deprecated,Le.CompletionItemTag.Deprecated]]);function $6e(o){return Oae.get(o)}const j6e=new Map([[Le.CompletionTriggerKind.Invoke,Wk.Invoked],[Le.CompletionTriggerKind.TriggerCharacter,Wk.TriggerCharacter],[Le.CompletionTriggerKind.TriggerForIncompleteCompletions,Wk.TriggerForIncompleteCompletions]]);function q6e(o){return j6e.get(o)??Wk.Invoked}const K6e=new Map([[W6e.Snippet,Le.CompletionItemInsertTextRule.InsertAsSnippet]]);function G6e(o){if(o)return K6e.get(o)}const Fae=new Map([[en.File,Le.SymbolKind.File],[en.Module,Le.SymbolKind.Module],[en.Namespace,Le.SymbolKind.Namespace],[en.Package,Le.SymbolKind.Package],[en.Class,Le.SymbolKind.Class],[en.Method,Le.SymbolKind.Method],[en.Property,Le.SymbolKind.Property],[en.Field,Le.SymbolKind.Field],[en.Constructor,Le.SymbolKind.Constructor],[en.Enum,Le.SymbolKind.Enum],[en.Interface,Le.SymbolKind.Interface],[en.Function,Le.SymbolKind.Function],[en.Variable,Le.SymbolKind.Variable],[en.Constant,Le.SymbolKind.Constant],[en.String,Le.SymbolKind.String],[en.Number,Le.SymbolKind.Number],[en.Boolean,Le.SymbolKind.Boolean],[en.Array,Le.SymbolKind.Array],[en.Object,Le.SymbolKind.Object],[en.Key,Le.SymbolKind.Key],[en.Null,Le.SymbolKind.Null],[en.EnumMember,Le.SymbolKind.EnumMember],[en.Struct,Le.SymbolKind.Struct],[en.Event,Le.SymbolKind.Event],[en.Operator,Le.SymbolKind.Operator],[en.TypeParameter,Le.SymbolKind.TypeParameter]]);function Wae(o){return Fae.get(o)??Le.SymbolKind.File}const Z6e=new Map([[Mae.Deprecated,Le.SymbolTag.Deprecated]]);function Bae(o){return Z6e.get(o)}const Y6e=new Map([[JO.Text,Le.DocumentHighlightKind.Text],[JO.Read,Le.DocumentHighlightKind.Read],[JO.Write,Le.DocumentHighlightKind.Write]]);function X6e(o){return o?Y6e.get(o)??Le.DocumentHighlightKind.Text:Le.DocumentHighlightKind.Text}const Q6e=new Map([[nC.Comment,Le.FoldingRangeKind.Comment],[nC.Imports,Le.FoldingRangeKind.Imports],[nC.Region,Le.FoldingRangeKind.Region]]);function J6e(o){if(o)return Q6e.get(o)}const eze=new Map([[Gc.Error,dh.Error],[Gc.Warning,dh.Warning],[Gc.Info,dh.Information],[Gc.Hint,dh.Hint]]);function tze(o){return eze.get(o)??dh.Error}const ize=new Map([[dh.Error,Gc.Error],[dh.Warning,Gc.Warning],[dh.Information,Gc.Info],[dh.Hint,Gc.Hint]]);function nze(o){return o?ize.get(o)??Gc.Error:Gc.Error}const Hae=new Map([[AX.Unnecessary,DX.Unnecessary],[AX.Deprecated,DX.Deprecated]]);function sze(o){return Hae.get(o)}const oze=new Map([[Le.SignatureHelpTriggerKind.Invoke,Bk.Invoked],[Le.SignatureHelpTriggerKind.TriggerCharacter,Bk.TriggerCharacter],[Le.SignatureHelpTriggerKind.ContentChange,Bk.ContentChange]]);function rze(o){return oze.get(o)??Bk.Invoked}function sC(o){if(o)return{id:o.command,title:o.title,arguments:o.arguments}}const aze=new Map([[MX.Type,Le.InlayHintKind.Type],[MX.Parameter,Le.InlayHintKind.Parameter]]);function lze(o){return o?aze.get(o)??Le.InlayHintKind.Type:Le.InlayHintKind.Type}function Ug(o,e){if("targetUri"in o){const t=e.bridge.translateBackRange({uri:o.targetUri},o.targetRange);return{uri:t.textModel.uri,range:t.range,originSelectionRange:o.originSelectionRange?e.bridge.translateBackRange({uri:o.targetUri},o.originSelectionRange).range:void 0,targetSelectionRange:o.targetSelectionRange?e.bridge.translateBackRange({uri:o.targetUri},o.targetSelectionRange).range:void 0}}else{const t=e.bridge.translateBackRange({uri:o.uri},o.range);return{uri:t.textModel.uri,range:t.range}}}function Qn(o){return!o||o.length===0?{language:"*"}:o.map(e=>"notebook"in e?typeof e.notebook=="string"?{notebookType:e.notebook,language:e.language}:{notebookType:e.notebook.notebookType,language:e.language,pattern:e.notebook.pattern,scheme:e.notebook.scheme}:{language:e.language,pattern:e.pattern,scheme:e.scheme})}function cze(o,e){if(!e)return!0;const t=o.getLanguageId();if(o.uri.toString(!0),!e||e.length===0)return!0;for(const i of e)if(!(i.language&&i.language!=="*"&&i.language!==t))return!0;return!1}function x9(o){const e={severity:nze(o.severity),startLineNumber:o.range.start.line+1,startColumn:o.range.start.character+1,endLineNumber:o.range.end.line+1,endColumn:o.range.end.character+1,message:o.message,source:o.source,code:typeof o.code=="string"?o.code:o.code?.toString()};return o.tags&&(e.tags=o.tags.map(t=>sze(t)).filter(t=>t!==void 0)),o.relatedInformation&&(e.relatedInformation=o.relatedInformation.map(t=>({resource:yae.parse(t.location.uri),startLineNumber:t.location.range.start.line+1,startColumn:t.location.range.start.character+1,endLineNumber:t.location.range.end.line+1,endColumn:t.location.range.end.character+1,message:t.message}))),e}var dze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{completion:{dynamicRegistration:!0,contextSupport:!0,completionItemKind:{valueSet:Array.from(Pae.keys())},completionItem:{tagSupport:{valueSet:Array.from(Oae.keys())},commitCharactersSupport:!0,deprecatedSupport:!0,preselectSupport:!0}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCompletion,!0,e=>Le.registerCompletionItemProvider(Qn(e.documentSelector),new hze(this._connection,e))))}},hze=class{constructor(o,e){Pe(this,"resolveCompletionItem"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveCompletionItem=async(t,i)=>(Vae(t,await this._client.server.completionItemResolve(t._lspItem),this._client.bridge,t._translated,t._model),t))}get triggerCharacters(){return this._capabilities.triggerCharacters}async provideCompletionItems(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentCompletion({textDocument:n.textDocument,position:n.position,context:t.triggerCharacter?{triggerKind:q6e(t.triggerKind),triggerCharacter:t.triggerCharacter}:void 0});return s?{suggestions:(Array.isArray(s)?s:s.items).map(r=>({...uze(r,this._client.bridge,n,o,e),_lspItem:r,_translated:n,_model:o}))}:{suggestions:[]}}};function uze(o,e,t,i,n){let s=o.insertText||o.label,r;o.textEdit&&("range"in o.textEdit?(s=o.textEdit.newText,r=Gp(e.translateBackRange(t.textDocument,o.textEdit.range),i).range):(s=o.textEdit.newText,r={insert:Gp(e.translateBackRange(t.textDocument,o.textEdit.insert),i).range,replace:Gp(e.translateBackRange(t.textDocument,o.textEdit.replace),i).range})),r||(r=i2.fromPositions(n,n));const a={label:o.label,kind:U6e(o.kind),insertText:s,sortText:o.sortText,filterText:o.filterText,preselect:o.preselect,commitCharacters:o.commitCharacters,range:r};return Vae(a,o,e,t,i),a}function Vae(o,e,t,i,n){e.detail!==void 0&&(o.detail=e.detail),e.documentation!==void 0&&(o.documentation=gze(e.documentation)),e.insertTextFormat!==void 0&&(o.insertTextRules=G6e(e.insertTextFormat)),e.tags&&e.tags.length>0&&(o.tags=e.tags.map($6e).filter(s=>s!==void 0)),e.additionalTextEdits&&e.additionalTextEdits.length>0&&(o.additionalTextEdits=e.additionalTextEdits.map(s=>({range:Gp(t.translateBackRange(i.textDocument,s.range),n).range,text:s.newText}))),e.command&&(o.command=sC(e.command))}function gze(o){if(o)return typeof o=="string"?o:{value:o.value}}var fze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{hover:{dynamicRegistration:!0,contentFormat:[pN.Markdown,pN.PlainText]}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentHover,!0,e=>Le.registerHoverProvider(Qn(e.documentSelector),new pze(this._connection,e))))}},pze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideHover(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentHover({textDocument:i.textDocument,position:i.position});return!n||!n.contents?null:{contents:mze(n.contents),range:n.range?this._client.bridge.translateBackRange(i.textDocument,n.range).range:void 0}}};function mze(o){return Array.isArray(o)?o.map(e=>PX(e)):[PX(o)]}function PX(o){return typeof o=="string"?{value:o}:"kind"in o?{value:o.value}:{value:`\`\`\`${o.language}
994
994
  ${o.value}
995
- \`\`\``}}var _ze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{signatureHelp:{dynamicRegistration:!0,contextSupport:!0,signatureInformation:{documentationFormat:[pN.Markdown,pN.PlainText],parameterInformation:{labelOffsetSupport:!0},activeParameterSupport:!0}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSignatureHelp,!0,e=>Le.registerSignatureHelpProvider(Qn(e.documentSelector),new bze(this._connection,e))))}},bze=class{constructor(o,e){Pe(this,"signatureHelpTriggerCharacters"),Pe(this,"signatureHelpRetriggerCharacters"),this._client=o,this._capabilities=e,this.signatureHelpTriggerCharacters=e.triggerCharacters,this.signatureHelpRetriggerCharacters=e.retriggerCharacters}async provideSignatureHelp(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentSignatureHelp({textDocument:n.textDocument,position:n.position,context:{triggerKind:rze(i.triggerKind),triggerCharacter:i.triggerCharacter,isRetrigger:i.isRetrigger}});return s?{value:{signatures:s.signatures.map(r=>({label:r.label,documentation:OX(r.documentation),parameters:r.parameters?.map(a=>({label:a.label,documentation:OX(a.documentation)}))||[],activeParameter:r.activeParameter})),activeSignature:s.activeSignature||0,activeParameter:s.activeParameter||0},dispose:()=>{}}:null}};function OX(o){if(o)return typeof o=="string"?o:{value:o.value}}var vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{definition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDefinition,!0,e=>Le.registerDefinitionProvider(Qn(e.documentSelector),new Cze(this._connection,e))))}},Cze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},wze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{declaration:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDeclaration,!0,e=>Le.registerDeclarationProvider(Qn(e.documentSelector),new Sze(this._connection,e))))}},Sze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDeclaration(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDeclaration({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},yze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{typeDefinition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentTypeDefinition,!0,e=>Le.registerTypeDefinitionProvider(Qn(e.documentSelector),new xze(this._connection,e))))}},xze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideTypeDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentTypeDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},Lze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{implementation:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentImplementation,!0,e=>Le.registerImplementationProvider(Qn(e.documentSelector),new Dze(this._connection,e))))}},Dze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideImplementation(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentImplementation({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{references:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentReferences,!0,e=>Le.registerReferenceProvider(Qn(e.documentSelector),new Ize(this._connection,e))))}},Ize=class{constructor(o,e){this._client=o,this._capabilities=e}async provideReferences(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentReferences({textDocument:n.textDocument,position:n.position,context:{includeDeclaration:t.includeDeclaration}});return s?s.map(r=>{const a=this._client.bridge.translateBackRange({uri:r.uri},r.range);return{uri:a.textModel.uri,range:a.range}}):null}},Eze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentHighlight:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentHighlight,!0,e=>Le.registerDocumentHighlightProvider(Qn(e.documentSelector),new Tze(this._connection,e))))}},Tze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentHighlights(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDocumentHighlight({textDocument:i.textDocument,position:i.position});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,kind:X6e(s.kind)})):null}},Nze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentSymbol:{dynamicRegistration:!0,hierarchicalDocumentSymbolSupport:!0,symbolKind:{valueSet:Array.from(Fae.keys())},tagSupport:{valueSet:[Mae.Deprecated]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentSymbol,!0,e=>Le.registerDocumentSymbolProvider(Qn(e.documentSelector),new Rze(this._connection,e))))}},Rze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentSymbols(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentSymbol({textDocument:t.textDocument});return i?Array.isArray(i)&&i.length>0?"location"in i[0]?i.map(n=>Mze(n,this._client)):i.map(n=>zae(n,this._client,t.textDocument)):[]:null}};function zae(o,e,t){return{name:o.name,detail:o.detail||"",kind:Wae(o.kind),tags:o.tags?.map(i=>Bae(i)).filter(i=>i!==void 0)||[],range:e.bridge.translateBackRange(t,o.range).range,selectionRange:e.bridge.translateBackRange(t,o.selectionRange).range,children:o.children?.map(i=>zae(i,e,t))||[]}}function Mze(o,e){return{name:o.name,detail:"",kind:Wae(o.kind),tags:o.tags?.map(t=>Bae(t)).filter(t=>t!==void 0)||[],range:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,selectionRange:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,children:[]}}var Aze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rename:{dynamicRegistration:!0,prepareSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRename,!0,e=>Le.registerRenameProvider(Qn(e.documentSelector),new Pze(this._connection,e))))}},Pze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideRenameEdits(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentRename({textDocument:n.textDocument,position:n.position,newName:t});return s?Oze(s,this._client):null}async resolveRenameLocation(o,e,t){if(!this._capabilities.prepareProvider)return null;const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentPrepareRename({textDocument:i.textDocument,position:i.position});if(!n)return null;if("range"in n&&"placeholder"in n)return{range:this._client.bridge.translateBackRange(i.textDocument,n.range).range,text:n.placeholder};if("defaultBehavior"in n)return null;if("start"in n&&"end"in n){const s=this._client.bridge.translateBackRange(i.textDocument,n).range;return{range:s,text:o.getValueInRange(s)}}return null}};function Oze(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Fze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeAction:{dynamicRegistration:!0,codeActionLiteralSupport:{codeActionKind:{valueSet:Array.from(Aae.keys())}},isPreferredSupport:!0,disabledSupport:!0,dataSupport:!0,resolveSupport:{properties:["edit"]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeAction,!0,e=>Le.registerCodeActionProvider(Qn(e.documentSelector),new Wze(this._connection,e))))}},Wze=class{constructor(o,e){Pe(this,"resolveCodeAction"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveCodeAction=async(t,i)=>{if(t._lspAction){const n=await this._client.server.codeActionResolve(t._lspAction);n.edit&&(t.edit=FX(n.edit,this._client)),n.command&&(t.command=sC(n.command))}return t})}async provideCodeActions(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentCodeAction({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),context:{diagnostics:t.markers.map(r=>({range:this._client.bridge.translateRange(o,i2.lift(r)),message:r.message,severity:tze(r.severity)})),triggerKind:z6e(t.trigger)}});return s?{actions:(Array.isArray(s)?s:[s]).map(r=>{if("title"in r&&!("kind"in r)){const a=r;return{title:a.title,command:sC(a)}}else{const a=r;return{title:a.title,kind:H6e(a.kind),isPreferred:a.isPreferred,disabled:a.disabled?.reason,edit:a.edit?FX(a.edit,this._client):void 0,command:sC(a.command),_lspAction:a}}}),dispose:()=>{}}:null}};function FX(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version??void 0,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Bze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeLens:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeLens,!0,e=>Le.registerCodeLensProvider(Qn(e.documentSelector),new Hze(this._connection,e))))}},Hze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideCodeLenses(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentCodeLens({textDocument:t.textDocument});return i?{lenses:i.map(n=>({range:Gp(this._client.bridge.translateBackRange(t.textDocument,n.range),o).range,command:sC(n.command),_lspCodeLens:n})),dispose:()=>{}}:null}async resolveCodeLens(o,e,t){if(!this._capabilities.resolveProvider||!e._lspCodeLens)return e;const i=await this._client.server.codeLensResolve(e._lspCodeLens);return i.command&&(e.command={id:i.command.command,title:i.command.title,arguments:i.command.arguments}),e}},Vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentLink:{dynamicRegistration:!0,tooltipSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentLink,!0,e=>Le.registerLinkProvider(Qn(e.documentSelector),new zze(this._connection,e))))}},zze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideLinks(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentLink({textDocument:t.textDocument});return i?{links:i.map(n=>({range:this._client.bridge.translateBackRange(t.textDocument,n.range).range,url:n.target,tooltip:n.tooltip}))}:null}async resolveLink(o,e){return this._capabilities.resolveProvider,o}},Uze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{formatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFormatting,!0,e=>Le.registerDocumentFormattingEditProvider(Qn(e.documentSelector),new $ze(this._connection,e))))}},$ze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentFormattingEdits(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFormatting({textDocument:i.textDocument,options:{tabSize:e.tabSize,insertSpaces:e.insertSpaces}});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,text:s.newText})):null}},jze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rangeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRangeFormatting,!0,e=>Le.registerDocumentRangeFormattingEditProvider(Qn(e.documentSelector),new qze(this._connection,e))))}},qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentRangeFormattingEdits(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentRangeFormatting({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),options:{tabSize:t.tabSize,insertSpaces:t.insertSpaces}});return s?s.map(r=>({range:this._client.bridge.translateBackRange(n.textDocument,r.range).range,text:r.newText})):null}},Kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{onTypeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentOnTypeFormatting,!0,e=>Le.registerOnTypeFormattingEditProvider(Qn(e.documentSelector),new Gze(this._connection,e))))}},Gze=class{constructor(o,e){Pe(this,"autoFormatTriggerCharacters"),this._client=o,this._capabilities=e,this.autoFormatTriggerCharacters=[e.firstTriggerCharacter,...e.moreTriggerCharacter||[]]}async provideOnTypeFormattingEdits(o,e,t,i,n){const s=this._client.bridge.translate(o,e),r=await this._client.server.textDocumentOnTypeFormatting({textDocument:s.textDocument,position:s.position,ch:t,options:{tabSize:i.tabSize,insertSpaces:i.insertSpaces}});return r?r.map(a=>({range:this._client.bridge.translateBackRange(s.textDocument,a.range).range,text:a.newText})):null}},Zze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{foldingRange:{dynamicRegistration:!0,rangeLimit:5e3,lineFoldingOnly:!1,foldingRangeKind:{valueSet:[nC.Comment,nC.Imports,nC.Region]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFoldingRange,!0,e=>Le.registerFoldingRangeProvider(Qn(e.documentSelector),new Yze(this._connection,e))))}},Yze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideFoldingRanges(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFoldingRange({textDocument:i.textDocument});return n?n.map(s=>({start:s.startLine+1,end:s.endLine+1,kind:J6e(s.kind)})):null}},Xze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{selectionRange:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSelectionRange,!0,e=>Le.registerSelectionRangeProvider(Qn(e.documentSelector),new Qze(this._connection,e))))}},Qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideSelectionRanges(o,e,t){const i=this._client.bridge.translate(o,e[0]),n=await this._client.server.textDocumentSelectionRange({textDocument:i.textDocument,positions:e.map(s=>this._client.bridge.translate(o,s).position)});return n?n.map(s=>this.convertSelectionRange(s,i.textDocument)):null}convertSelectionRange(o,e){const t=[];let i=o;for(;i;)t.push({range:this._client.bridge.translateBackRange(e,i.range).range}),i=i.parent;return t}},Jze=class extends ln{constructor(o){super(),Pe(this,"_providers",new Set),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{inlayHint:{dynamicRegistration:!0,resolveSupport:{properties:["tooltip","textEdits","label.tooltip","label.location","label.command"]}}},workspace:{inlayHint:{refreshSupport:!0}}})),this._register(this._connection.connection.registerRequestHandler(bx.client.workspaceInlayHintRefresh,async()=>{for(const e of this._providers)e.refresh();return{ok:null}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentInlayHint,!0,e=>{const t=new eUe(this._connection,e);this._providers.add(t);const i=Le.registerInlayHintsProvider(Qn(e.documentSelector),t);return{dispose:()=>{this._providers.delete(t),i.dispose()}}}))}},eUe=class{constructor(o,e){Pe(this,"_onDidChangeInlayHints",new dw),Pe(this,"onDidChangeInlayHints",this._onDidChangeInlayHints.event),Pe(this,"resolveInlayHint"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveInlayHint=async(t,i)=>{const n=await this._client.server.inlayHintResolve(t._lspInlayHint);return n.tooltip&&(t.tooltip=L9(n.tooltip)),n.label!==t._lspInlayHint.label&&(t.label=WX(n.label)),n.textEdits&&(t.textEdits=n.textEdits.map(s=>({range:this._client.bridge.translateBackRange({uri:t._targetUri},s.range).range,text:s.newText}))),t})}refresh(){this._onDidChangeInlayHints.fire()}async provideInlayHints(o,e,t){const i=this._client.bridge.translate(o,e.getStartPosition()),n=await tUe(async()=>await this._client.server.textDocumentInlayHint({textDocument:i.textDocument,range:this._client.bridge.translateRange(o,e)}));return n?{hints:n.map(s=>({label:WX(s.label),position:Gp(this._client.bridge.translateBack(i.textDocument,s.position),o).position,kind:lze(s.kind),tooltip:L9(s.tooltip),paddingLeft:s.paddingLeft,paddingRight:s.paddingRight,textEdits:s.textEdits?.map(r=>({range:Gp(this._client.bridge.translateBackRange(i.textDocument,r.range),o).range,text:r.newText})),_lspInlayHint:s,_targetUri:i.textDocument.uri})),dispose:()=>{}}:null}};async function tUe(o){for(let e=3;;e--)try{return await o()}catch(t){if(t.message==="content modified"&&e>0)continue;throw t}}function WX(o){return typeof o=="string"?o:o.map(e=>{const t={label:e.value,tooltip:L9(e.tooltip),command:sC(e.command)};return e.location&&(t.location={uri:yae.parse(e.location.uri),range:new i2(e.location.range.start.line+1,e.location.range.start.character+1,e.location.range.end.line+1,e.location.range.end.character+1)}),t})}function L9(o){if(o)return typeof o=="string"?o:{value:o.value}}var iUe=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{semanticTokens:{dynamicRegistration:!0,requests:{range:!0,full:{delta:!0}},tokenTypes:["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],tokenModifiers:["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],formats:[B6e.Relative],overlappingTokenSupport:!1,multilineTokenSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSemanticTokensFull,!0,e=>Le.registerDocumentSemanticTokensProvider(Qn(e.documentSelector),new nUe(this._connection,e))))}},nUe=class{constructor(o,e){this._client=o,this._capabilities=e}getLegend(){return{tokenTypes:this._capabilities.legend.tokenTypes,tokenModifiers:this._capabilities.legend.tokenModifiers}}releaseDocumentSemanticTokens(o){}async provideDocumentSemanticTokens(o,e,t){const i=this._client.bridge.translate(o,o.getPositionAt(0)),n=this._capabilities.full;if(e&&n&&typeof n=="object"&&n.delta){const r=await this._client.server.textDocumentSemanticTokensFullDelta({textDocument:i.textDocument,previousResultId:e});return r?"edits"in r?{resultId:r.resultId,edits:r.edits.map(a=>({start:a.start,deleteCount:a.deleteCount,data:a.data?new Uint32Array(a.data):void 0}))}:{resultId:r.resultId,data:new Uint32Array(r.data)}:null}const s=await this._client.server.textDocumentSemanticTokensFull({textDocument:i.textDocument});return s?{resultId:s.resultId,data:new Uint32Array(s.data)}:null}async provideDocumentSemanticTokensEdits(o,e,t){return this.provideDocumentSemanticTokens(o,e,t)}},sUe=class extends ln{constructor(o){super(),Pe(this,"_diagnosticsMarkerOwner","lsp"),Pe(this,"_pullDiagnosticProviders",new Map),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{publishDiagnostics:{relatedInformation:!0,tagSupport:{valueSet:[...Hae.keys()]},versionSupport:!0,codeDescriptionSupport:!0,dataSupport:!0},diagnostic:{dynamicRegistration:!0,relatedDocumentSupport:!0}}})),this._register(this._connection.connection.registerNotificationHandler(bx.client.textDocumentPublishDiagnostics,e=>this._handlePublishDiagnostics(e))),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDiagnostic,!0,e=>{const t=new Mz;for(const i of Kp.getModels())this._addPullDiagnosticProvider(i,e,t);return t.add(Kp.onDidCreateModel(i=>{this._addPullDiagnosticProvider(i,e,t)})),t}))}_addPullDiagnosticProvider(o,e,t){if(o.getLanguageId(),!cze(o,e.documentSelector))return;const i=new oUe(o,this._connection,this._diagnosticsMarkerOwner,e);this._pullDiagnosticProviders.set(o,i),t.add(i),t.add(o.onWillDispose(()=>{this._pullDiagnosticProviders.delete(o)}))}_handlePublishDiagnostics(o){const e=o.uri;try{const t=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!t||t.isDisposed())return;const i=o.diagnostics.map(n=>x9(n));Kp.setModelMarkers(t,this._diagnosticsMarkerOwner,i)}catch(t){console.debug(`Could not set diagnostics for ${e}:`,t)}}},oUe=class extends ln{constructor(o,e,t,i){super(),Pe(this,"_updateHandle"),Pe(this,"_previousResultId"),this._model=o,this._connection=e,this._markerOwner=t,this._capability=i,this._register(this._model.onDidChangeContent(()=>{this._scheduleDiagnosticUpdate()})),this._scheduleDiagnosticUpdate()}_scheduleDiagnosticUpdate(){this._updateHandle!==void 0&&clearTimeout(this._updateHandle),this._updateHandle=window.setTimeout(()=>{this._updateHandle=void 0,this._requestDiagnostics()},500)}async _requestDiagnostics(){if(!this._model.isDisposed())try{const o=this._connection.bridge.translate(this._model,new X_(1,1)),e=await this._connection.server.textDocumentDiagnostic({textDocument:o.textDocument,identifier:this._capability.identifier,previousResultId:this._previousResultId});if(this._model.isDisposed())return;this._handleDiagnosticReport(e)}catch(o){console.error("Error requesting diagnostics:",o)}}_handleDiagnosticReport(o){if(o.kind==="full"){this._previousResultId=o.resultId;const e=o.items.map(t=>x9(t));Kp.setModelMarkers(this._model,this._markerOwner,e),"relatedDocuments"in o&&o.relatedDocuments&&this._handleRelatedDocuments(o.relatedDocuments)}else o.kind==="unchanged"&&(this._previousResultId=o.resultId)}_handleRelatedDocuments(o){for(const[e,t]of Object.entries(o))try{const i=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!i||i.isDisposed())continue;if(t.kind==="full"){const n=t.items.map(s=>x9(s));Kp.setModelMarkers(i,this._markerOwner,n)}}catch(i){console.debug(`Could not set related diagnostics for ${e}:`,i)}}dispose(){this._updateHandle!==void 0&&(clearTimeout(this._updateHandle),this._updateHandle=void 0),super.dispose()}},rUe=class{constructor(o,e,t,i){this.server=o,this.bridge=e,this.capabilities=t,this.connection=i}},aUe=class extends ln{constructor(o){super(),Pe(this,"_staticCapabilities",new Set),Pe(this,"_dynamicFromStatic",dUe.create()),Pe(this,"_registrations",new Map),Pe(this,"_serverCapabilities"),this._connection=o,this._register(this._connection.registerRequestHandler(bx.client.clientRegisterCapability,async e=>{for(const t of e.registrations){const i=HX(t.method),n=new BX(t.id,i,t.registerOptions,!1);this._registerCapabilityOptions(n)}return{ok:null}})),this._register(this._connection.registerRequestHandler(bx.client.clientUnregisterCapability,async e=>{for(const t of e.unregisterations){const i=HX(t.method),n=this._registrations.get(i),s=n?.registrations.get(t.id);if(!s)throw new Error(`No registration for method ${t.method} with id ${t.id}`);s?.handlerDisposables.forEach(r=>r.dispose()),n?.registrations.delete(t.id)}return{ok:null}}))}_registerCapabilityOptions(o){let e=this._registrations.get(o.capability);if(e||(e=new VX,this._registrations.set(o.capability,e)),e.registrations.has(o.id))throw new Error(`Handler for method ${o.capability.method} with id ${o.id} already registered`);e.registrations.set(o.id,o);for(const t of e.handlers)!t.handleStaticCapability&&o.isFromStatic||o.handlerDisposables.set(t,t.handler(o.options))}setServerCapabilities(o){if(this._serverCapabilities)throw new Error("Server capabilities already set");this._serverCapabilities=o;for(const e of Object.values(ht)){const t=this._dynamicFromStatic.getOptions(e,o);t&&this._registerCapabilityOptions(new BX(e.method,e,t,!0))}}getClientCapabilities(){const o={};for(const e of this._staticCapabilities)$ae(o,e.cap);return o}addStaticClientCapabilities(o){const e={cap:o};return this._staticCapabilities.add(e),{dispose:()=>{this._staticCapabilities.delete(e)}}}registerCapabilityHandler(o,e,t){let i=this._registrations.get(o);i||(i=new VX,this._registrations.set(o,i));const n=new lUe(o,e,t);i.handlers.add(n);for(const s of i.registrations.values())!n.handleStaticCapability&&s.isFromStatic||s.handlerDisposables.set(n,t(s.options));return{dispose:()=>{i.handlers.delete(n);for(const s of i.registrations.values()){const r=s.handlerDisposables.get(n);r&&(r.dispose(),s.handlerDisposables.delete(n))}}}}},lUe=class{constructor(o,e,t){this.capability=o,this.handleStaticCapability=e,this.handler=t}},BX=class{constructor(o,e,t,i){Pe(this,"handlerDisposables",new Map),this.id=o,this.capability=e,this.options=t,this.isFromStatic=i}};const cUe=new Map([...Object.values(ht)].map(o=>[o.method,o]));function HX(o){const e=cUe.get(o);if(!e)throw new Error(`No capability found for method ${o}`);return e}var VX=class{constructor(){Pe(this,"handlers",new Set),Pe(this,"registrations",new Map)}},dUe=class Uae{constructor(){Pe(this,"_mappings",new Map)}static create(){const e=new Uae;return e.set(ht.textDocumentDidChange,t=>{if(t.textDocumentSync!==void 0)return typeof t.textDocumentSync=="object"?{syncKind:t.textDocumentSync.change??O6e.None,documentSelector:null}:{syncKind:t.textDocumentSync,documentSelector:null}}),e.set(ht.textDocumentCompletion,t=>t.completionProvider),e.set(ht.textDocumentHover,t=>t.hoverProvider),e.set(ht.textDocumentSignatureHelp,t=>t.signatureHelpProvider),e.set(ht.textDocumentDefinition,t=>t.definitionProvider),e.set(ht.textDocumentReferences,t=>t.referencesProvider),e.set(ht.textDocumentDocumentHighlight,t=>t.documentHighlightProvider),e.set(ht.textDocumentDocumentSymbol,t=>t.documentSymbolProvider),e.set(ht.textDocumentCodeAction,t=>t.codeActionProvider),e.set(ht.textDocumentCodeLens,t=>t.codeLensProvider),e.set(ht.textDocumentDocumentLink,t=>t.documentLinkProvider),e.set(ht.textDocumentFormatting,t=>t.documentFormattingProvider),e.set(ht.textDocumentRangeFormatting,t=>t.documentRangeFormattingProvider),e.set(ht.textDocumentOnTypeFormatting,t=>t.documentOnTypeFormattingProvider),e.set(ht.textDocumentRename,t=>t.renameProvider),e.set(ht.textDocumentFoldingRange,t=>t.foldingRangeProvider),e.set(ht.textDocumentDeclaration,t=>t.declarationProvider),e.set(ht.textDocumentTypeDefinition,t=>t.typeDefinitionProvider),e.set(ht.textDocumentImplementation,t=>t.implementationProvider),e.set(ht.textDocumentDocumentColor,t=>t.colorProvider),e.set(ht.textDocumentSelectionRange,t=>t.selectionRangeProvider),e.set(ht.textDocumentLinkedEditingRange,t=>t.linkedEditingRangeProvider),e.set(ht.textDocumentPrepareCallHierarchy,t=>t.callHierarchyProvider),e.set(ht.textDocumentSemanticTokensFull,t=>t.semanticTokensProvider),e.set(ht.textDocumentInlayHint,t=>t.inlayHintProvider),e.set(ht.textDocumentInlineValue,t=>t.inlineValueProvider),e.set(ht.textDocumentDiagnostic,t=>t.diagnosticProvider),e.set(ht.textDocumentMoniker,t=>t.monikerProvider),e.set(ht.textDocumentPrepareTypeHierarchy,t=>t.typeHierarchyProvider),e.set(ht.workspaceSymbol,t=>t.workspaceSymbolProvider),e.set(ht.workspaceExecuteCommand,t=>t.executeCommandProvider),e}set(e,t){if(this._mappings.has(e.method))throw new Error(`Capability for method ${e.method} already registered`);this._mappings.set(e.method,t)}getOptions(e,t){const i=this._mappings.get(e.method);if(i)return i(t)}};function $ae(o,e){for(const t of Object.keys(e)){const i=e[t];if(i===void 0)continue;const n=o[t];if(n===void 0){o[t]=i;continue}if(typeof i!="object"||i===null){o[t]=i;continue}if(typeof n!="object"||n===null){o[t]=i;continue}$ae(n,i)}}var hUe=class extends ln{constructor(o,e){super(),Pe(this,"_managedModels",new Map),Pe(this,"_managedModelsReverse",new Map),Pe(this,"_started",!1),this._server=o,this._capabilities=e,this._register(this._capabilities.addStaticClientCapabilities({textDocument:{synchronization:{dynamicRegistration:!0,willSave:!1,willSaveWaitUntil:!1,didSave:!1}}})),this._register(e.registerCapabilityHandler(ht.textDocumentDidChange,!0,t=>{if(this._started)return{dispose:()=>{}};this._started=!0,this._register(Kp.onDidCreateModel(i=>{this._getOrCreateManagedModel(i)}));for(const i of Kp.getModels())this._getOrCreateManagedModel(i);return{dispose:()=>{}}}))}_getOrCreateManagedModel(o){if(!this._started)throw new Error("Not started");const e=o.uri.toString(!0).toLowerCase();let t=this._managedModels.get(o);return t||(t=new uUe(o,this._server),this._managedModels.set(o,t),this._managedModelsReverse.set(e,o)),o.onWillDispose(()=>{t.dispose(),this._managedModels.delete(o),this._managedModelsReverse.delete(e)}),t}translateBack(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,position:new X_(e.line+1,e.character+1)}}translateBackRange(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,range:new i2(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}}translate(o,e){return{textDocument:{uri:o.uri.toString(!0)},position:{line:e.lineNumber-1,character:e.column-1}}}translateRange(o,e){return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}},uUe=class extends ln{constructor(o,e){super(),this._textModel=o,this._api=e;const t=o.uri.toString(!0).toLowerCase();this._api.textDocumentDidOpen({textDocument:{languageId:o.getLanguageId(),uri:t,version:o.getVersionId(),text:o.getValue()}}),this._register(o.onDidChangeContent(i=>{const n=i.changes.map(s=>gUe(s));this._api.textDocumentDidChange({textDocument:{uri:t,version:o.getVersionId()},contentChanges:n})})),this._register({dispose:()=>{this._api.textDocumentDidClose({textDocument:{uri:t}})}})}};function gUe(o){return{range:fUe(o.range),rangeLength:o.rangeLength,text:o.text}}function fUe(o){return{start:{line:o.startLineNumber-1,character:o.startColumn-1},end:{line:o.endLineNumber-1,character:o.endColumn-1}}}var pUe=class{constructor(o){Pe(this,"_connection"),Pe(this,"_capabilitiesRegistry"),Pe(this,"_bridge"),Pe(this,"_initPromise");const e=w9.fromTransport(o),t=bx.getServer(e,{});e.startListen(),this._capabilitiesRegistry=new aUe(e),this._bridge=new hUe(t.server,this._capabilitiesRegistry),this._connection=new rUe(t.server,this._bridge,this._capabilitiesRegistry,e),this.createFeatures(),this._initPromise=this._init()}async _init(){const o=await this._connection.server.initialize({processId:null,capabilities:this._capabilitiesRegistry.getClientCapabilities(),rootUri:null});this._connection.server.initialized({}),this._capabilitiesRegistry.setServerCapabilities(o.capabilities)}createFeatures(){const o=new Mz;return o.add(new dze(this._connection)),o.add(new fze(this._connection)),o.add(new _ze(this._connection)),o.add(new vze(this._connection)),o.add(new wze(this._connection)),o.add(new yze(this._connection)),o.add(new Lze(this._connection)),o.add(new kze(this._connection)),o.add(new Eze(this._connection)),o.add(new Nze(this._connection)),o.add(new Aze(this._connection)),o.add(new Fze(this._connection)),o.add(new Bze(this._connection)),o.add(new Vze(this._connection)),o.add(new Uze(this._connection)),o.add(new jze(this._connection)),o.add(new Kze(this._connection)),o.add(new Zze(this._connection)),o.add(new Xze(this._connection)),o.add(new Jze(this._connection)),o.add(new iUe(this._connection)),o.add(new sUe(this._connection)),o}},Vb=null;typeof WebSocket<"u"?Vb=WebSocket:typeof MozWebSocket<"u"?Vb=MozWebSocket:typeof global<"u"?Vb=global.WebSocket||global.MozWebSocket:typeof window<"u"?Vb=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(Vb=self.WebSocket||self.MozWebSocket);var mUe=Vb;function _Ue(o){return"host"in o?{address:`${o.forceTls?"wss":"ws"}://${o.host}:${o.port}`}:o}var bUe=class D9 extends xae{constructor(e){super(),Pe(this,"socket"),Pe(this,"errorEmitter",new Rz),Pe(this,"onError",this.errorEmitter),this.socket=e,e.onmessage=t=>{try{const i=t.data;if(typeof i=="string"){const n=JSON.parse(i);this._dispatchReceivedMessage(n)}else throw new Error("Not supported")}catch(i){this.errorEmitter.fire({error:i})}},e.onclose=t=>{this._onConnectionClosed()}}static connectTo(e){const t=new mUe(_Ue(e).address);return new Promise((i,n)=>{t.onerror=s=>{n(s)},t.onopen=()=>{i(new D9(t))}})}static fromWebSocket(e){return new D9(e)}close(){this.socket.close()}dispose(){this.close()}_sendImpl(e){const t=JSON.stringify(e);return new Promise((i,n)=>{this.socket.send(t,s=>{s?n(s):i()})})}toString(){return`${this.id}@${this.socket.url}`}},jae=class extends xae{constructor(o,e=void 0,t=void 0){super(),Pe(this,"_windowLike"),Pe(this,"_source"),Pe(this,"_loadingState"),Pe(this,"_disposed",!1),Pe(this,"_messageHandler",({data:i,source:n})=>{this._source&&n!==this._source||typeof i=="object"&&i&&this._dispatchReceivedMessage(i)}),this._windowLike=o,this._source=e,this._loadingState=t,this._windowLike.addEventListener("message",this._messageHandler)}async _sendImpl(o){if(this._disposed)throw new Error("Transport is disposed");this._loadingState&&!this._loadingState.loaded&&await this._loadingState.onLoaded,this._windowLike.postMessage(o)}toString(){return`${this.id}@${this._windowLike}`}dispose(){this._disposed||(this._disposed=!0,this._windowLike.removeEventListener("message",this._messageHandler))}};function vUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o)}function CUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o.contentWindow,o.contentWindow,{loaded:window.document.readyState==="complete",onLoaded:new Promise(e=>{window.addEventListener("load",()=>e())})})}const GKe=Object.freeze(Object.defineProperty({__proto__:null,MonacoLspClient:pUe,WebSocketTransport:bUe,createTransportToIFrame:CUe,createTransportToWorker:vUe},Symbol.toStringTag,{value:"Module"})),qae={},eF={};class Az{static getOrCreate(e){return eF[e]||(eF[e]=new Az(e)),eF[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,qae[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}}function We(o){const e=o.id;qae[e]=o,Le.register(o);const t=Az.getOrCreate(e);Le.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Le.onLanguageEncountered(e,async()=>{const i=await t.load();Le.setLanguageConfiguration(e,i.conf)})}We({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Ae(()=>import("./DLDM7-KI.js"),[],import.meta.url)});We({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Ae(()=>import("./DNDY2TF8.js"),[],import.meta.url)});We({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Ae(()=>import("./Y6nb8tq_.js"),[],import.meta.url)});We({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Ae(()=>import("./BwHxbl9M.js"),[],import.meta.url)});We({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Ae(()=>import("./CFznDFnq.js"),[],import.meta.url)});We({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Ae(()=>import("./Bf6VGUru.js"),[],import.meta.url)});We({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Ae(()=>import("./Dnu-v4kV.js"),[],import.meta.url)});We({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Ae(()=>import("./Bd8akH9Z.js"),[],import.meta.url)});We({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Ae(()=>import("./Co3qMtFm.js"),[],import.meta.url)});We({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Ae(()=>import("./D-4FJmMZ.js"),[],import.meta.url)});We({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Ae(()=>import("./DdJfP1eB.js"),[],import.meta.url)});We({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Ae(()=>import("./cTPe9QuQ.js"),[],import.meta.url)});We({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Ae(()=>import("./BOtBlQCF.js"),[],import.meta.url)});We({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Ae(()=>import("./BG73LgW2.js"),[],import.meta.url)});We({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Ae(()=>import("./BEgZUVRK.js"),[],import.meta.url)});We({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Ae(()=>import("./BkW5O-1t.js"),[],import.meta.url)});We({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Ae(()=>import("./BeJ5waoc.js"),[],import.meta.url)});We({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Ae(()=>import("./PahG7c26.js"),[],import.meta.url)});We({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Ae(()=>import("./CWE4oREl.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Ae(()=>import("./CWE4oREl.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationDollar)});We({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Ae(()=>import("./CWE4oREl.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Ae(()=>import("./CWE4oREl.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationBracket)});We({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Ae(()=>import("./CWE4oREl.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationBracket)});We({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Ae(()=>import("./CWE4oREl.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Ae(()=>import("./CWE4oREl.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationBracket)});We({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Ae(()=>import("./acbASCJo.js"),[],import.meta.url)});We({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Ae(()=>import("./BxJiqAUM.js"),[],import.meta.url)});We({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Ae(()=>import("./BI7MYBTt.js"),[],import.meta.url)});We({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Ae(()=>import("./DtV1sZF8.js"),[],import.meta.url)});We({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Ae(()=>import("./RvvsGyv8.js"),[],import.meta.url)});We({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Ae(()=>import("./Kd9XrMLS.js"),[],import.meta.url)});We({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Ae(()=>import("./CXBNlu9o.js"),[],import.meta.url)});We({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Ae(()=>import("./PrJr0a2j.js"),__vite__mapDeps([0,1]),import.meta.url)});We({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Ae(()=>import("./cl7-CwDS.js"),[],import.meta.url)});We({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Ae(()=>import("./s7OhZKlX.js"),[],import.meta.url)});We({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Ae(()=>import("./9HpZscsL.js"),[],import.meta.url)});We({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Ae(()=>import("./OrD6JF1K.js"),[],import.meta.url)});We({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Ae(()=>import("./Cyyb5UIc.js"),[],import.meta.url)});We({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Ae(()=>import("./Dz4sFk1c.js"),[],import.meta.url)});We({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Ae(()=>import("./B8OfTtLu.js"),[],import.meta.url)});We({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Ae(()=>import("./BFxVWTOG.js"),[],import.meta.url)});We({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Ae(()=>import("./BP7CI4Qx.js"),[],import.meta.url)});We({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Ae(()=>import("./CiqrrVzr.js"),[],import.meta.url)});We({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Ae(()=>import("./DmeGPVcC.js"),[],import.meta.url)});We({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Ae(()=>import("./C_tMU-Nz.js"),[],import.meta.url)});We({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Ae(()=>import("./BDtDVThU.js"),[],import.meta.url)});We({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Ae(()=>import("./vHIfCaH5.js"),[],import.meta.url)});We({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Ae(()=>import("./DtZ0uQbO.js"),[],import.meta.url)});We({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Ae(()=>import("./Ub6l9XKa.js"),[],import.meta.url)});We({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Ae(()=>import("./BlNEE0v7.js"),[],import.meta.url)});We({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Ae(()=>import("./BBUBE1dy.js"),[],import.meta.url)});We({id:"pla",extensions:[".pla"],loader:()=>Ae(()=>import("./DSh2-awV.js"),[],import.meta.url)});We({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Ae(()=>import("./CocnycG-.js"),[],import.meta.url)});We({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Ae(()=>import("./tScXyioY.js"),[],import.meta.url)});We({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Ae(()=>import("./COWaemsV.js"),[],import.meta.url)});We({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Ae(()=>import("./Brw8urJB.js"),[],import.meta.url)});We({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Ae(()=>import("./8SOpv6rk.js"),[],import.meta.url)});We({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Ae(()=>import("./8XhHIJcn.js"),[],import.meta.url)});We({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Ae(()=>import("./Bw9ernYp.js"),[],import.meta.url)});We({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Ae(()=>import("./j7ic8hl3.js"),[],import.meta.url)});We({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Ae(()=>import("./DbK3CxeL.js"),[],import.meta.url)});We({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Ae(()=>import("./Bu5POkcn.js"),[],import.meta.url)});We({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Ae(()=>import("./Bs9aos_-.js"),[],import.meta.url)});We({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Ae(()=>import("./CqXO7rUv.js"),[],import.meta.url)});We({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Ae(()=>import("./zBfavPgS.js"),[],import.meta.url)});We({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Ae(()=>import("./BzKRNQWT.js"),[],import.meta.url)});We({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Ae(()=>import("./BBc9UKZt.js"),[],import.meta.url)});We({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Ae(()=>import("./D9hQfWCl.js"),[],import.meta.url)});We({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Ae(()=>import("./BPhDTwHR.js"),[],import.meta.url)});We({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Ae(()=>import("./CBJaRo0y.js"),[],import.meta.url)});We({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Ae(()=>import("./DiJ1NA_G.js"),[],import.meta.url)});We({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Ae(()=>import("./Db0IVjzk.js"),[],import.meta.url)});We({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Ae(()=>import("./CnS9iZB_.js"),[],import.meta.url)});We({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Ae(()=>import("./CJmd_6j2.js"),[],import.meta.url)});We({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Ae(()=>import("./ClhHkBeG.js"),[],import.meta.url)});We({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Ae(()=>import("./CHwy0fLd.js"),[],import.meta.url)});We({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Ae(()=>import("./Bqt4WxQ4.js"),[],import.meta.url)});We({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Ae(()=>import("./Dm6ycUr_.js"),[],import.meta.url)});We({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Ae(()=>import("./Csy3S7wG.js"),[],import.meta.url)});We({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Ae(()=>import("./34C5M9lk.js"),[],import.meta.url)});We({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Ae(()=>import("./Btyra-wh.js"),[],import.meta.url)});We({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Ae(()=>import("./Db0cS2oM.js"),[],import.meta.url)});We({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Ae(()=>import("./DumH7NcR.js"),[],import.meta.url)});We({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Ae(()=>import("./D3mUsAm9.js"),[],import.meta.url)});We({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Ae(()=>import("./BwSA3fCS.js"),[],import.meta.url)});let Pz=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const Oz={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},Fz={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Kae=new Pz("css",Oz,Fz),Gae=new Pz("scss",Oz,Fz),Zae=new Pz("less",Oz,Fz);function Wz(){return Ae(()=>import("./A34-FDia.js"),__vite__mapDeps([2,3,4]),import.meta.url)}Le.onLanguage("less",()=>{Wz().then(o=>o.setupMode(Zae))});Le.onLanguage("scss",()=>{Wz().then(o=>o.setupMode(Gae))});Le.onLanguage("css",()=>{Wz().then(o=>o.setupMode(Kae))});const YKe=Object.freeze(Object.defineProperty({__proto__:null,cssDefaults:Kae,lessDefaults:Zae,scssDefaults:Gae},Symbol.toStringTag,{value:"Module"}));let wUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const SUe={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},n2={format:SUe,suggest:{},data:{useDefaultDataProvider:!0}};function s2(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===XS,documentFormattingEdits:o===XS,documentRangeFormattingEdits:o===XS}}const XS="html",zX="handlebars",UX="razor",Yae=o2(XS,n2,s2(XS)),yUe=Yae.defaults,Xae=o2(zX,n2,s2(zX)),xUe=Xae.defaults,Qae=o2(UX,n2,s2(UX)),LUe=Qae.defaults;function DUe(){return Ae(()=>import("./p3fN-Vr3.js"),__vite__mapDeps([5,3,4]),import.meta.url)}function o2(o,e=n2,t=s2(o)){const i=new wUe(o,e,t);let n;const s=Le.onLanguage(o,async()=>{n=(await DUe()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n?.dispose(),n=void 0}}}const QKe=Object.freeze(Object.defineProperty({__proto__:null,handlebarDefaults:xUe,handlebarLanguageService:Xae,htmlDefaults:yUe,htmlLanguageService:Yae,razorDefaults:LUe,razorLanguageService:Qae,registerHTMLLanguageService:o2},Symbol.toStringTag,{value:"Module"}));let kUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const IUe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},EUe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},Jae=new kUe("json",IUe,EUe),TUe=()=>ele().then(o=>o.getWorker());function ele(){return Ae(()=>import("./XIXbmV8F.js"),__vite__mapDeps([6,3,4]),import.meta.url)}Le.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});Le.onLanguage("json",()=>{ele().then(o=>o.setupMode(Jae))});const eGe=Object.freeze(Object.defineProperty({__proto__:null,getWorker:TUe,jsonDefaults:Jae},Symbol.toStringTag,{value:"Module"})),NUe="5.9.3";var tle=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(tle||{}),ile=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(ile||{}),nle=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(nle||{}),sle=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(sle||{}),ole=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(ole||{});class rle{constructor(e,t,i,n,s){this._onDidChange=new dw,this._onDidExtraLibsChange=new dw,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this.setModeConfiguration(s),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let n=1;return this._removedExtraLibs[i]&&(n=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(n=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:n},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let s=this._extraLibs[i];s&&s.version===n&&(delete this._extraLibs[i],this._removedExtraLibs[i]=n,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(const t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(const t of e){const i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,n=t.content;let s=1;this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:n,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}}const RUe=NUe,ale={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},lle=new rle({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),cle=new rle({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),MUe=()=>r2().then(o=>o.getTypeScriptWorker()),AUe=()=>r2().then(o=>o.getJavaScriptWorker());function r2(){return Ae(()=>import("./CgQ2Q_uI.js"),__vite__mapDeps([7,3]),import.meta.url)}Le.onLanguage("typescript",()=>r2().then(o=>o.setupTypeScript(lle)));Le.onLanguage("javascript",()=>r2().then(o=>o.setupJavaScript(cle)));const tGe=Object.freeze(Object.defineProperty({__proto__:null,JsxEmit:ile,ModuleKind:tle,ModuleResolutionKind:ole,NewLineKind:nle,ScriptTarget:sle,getJavaScriptWorker:AUe,getTypeScriptWorker:MUe,javascriptDefaults:cle,typescriptDefaults:lle,typescriptVersion:RUe},Symbol.toStringTag,{value:"Module"})),$X="__monacoFindWidgetTabIndexPatchApplied",I1="__monacoFindWidgetOriginalTabIndex";function jX(o,e){const t=o?._domNode;if(!t)return;const i=t.querySelectorAll('input, textarea, [tabindex], [role="button"], [role="checkbox"]');for(const n of i)if(n instanceof HTMLElement)if(e){if(!(I1 in n.dataset))continue;const s=n.dataset[I1];s===""?n.removeAttribute("tabindex"):n.tabIndex=Number(s),delete n.dataset[I1]}else I1 in n.dataset||(n.dataset[I1]=n.getAttribute("tabindex")??""),n.tabIndex=-1}if(!Kd[$X]){const o=Kd.prototype._reveal,e=Kd.prototype._hide;Kd.prototype._reveal=function(...t){o.apply(this,t),jX(this,!0)},Kd.prototype._hide=function(...t){e.apply(this,t),jX(this,!1)},Kd[$X]=!0}export{zKe as C,dw as E,ile as J,UKe as K,Gc as M,X_ as P,i2 as R,sle as S,KKe as T,yae as U,$Ke as a,DX as b,tle as c,ole as d,jKe as e,qKe as f,Kp as g,QKe as h,GKe as i,cle as j,eGe as k,Le as l,tGe as m,YKe as r,lle as t};
995
+ \`\`\``}}var _ze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{signatureHelp:{dynamicRegistration:!0,contextSupport:!0,signatureInformation:{documentationFormat:[pN.Markdown,pN.PlainText],parameterInformation:{labelOffsetSupport:!0},activeParameterSupport:!0}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSignatureHelp,!0,e=>Le.registerSignatureHelpProvider(Qn(e.documentSelector),new bze(this._connection,e))))}},bze=class{constructor(o,e){Pe(this,"signatureHelpTriggerCharacters"),Pe(this,"signatureHelpRetriggerCharacters"),this._client=o,this._capabilities=e,this.signatureHelpTriggerCharacters=e.triggerCharacters,this.signatureHelpRetriggerCharacters=e.retriggerCharacters}async provideSignatureHelp(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentSignatureHelp({textDocument:n.textDocument,position:n.position,context:{triggerKind:rze(i.triggerKind),triggerCharacter:i.triggerCharacter,isRetrigger:i.isRetrigger}});return s?{value:{signatures:s.signatures.map(r=>({label:r.label,documentation:OX(r.documentation),parameters:r.parameters?.map(a=>({label:a.label,documentation:OX(a.documentation)}))||[],activeParameter:r.activeParameter})),activeSignature:s.activeSignature||0,activeParameter:s.activeParameter||0},dispose:()=>{}}:null}};function OX(o){if(o)return typeof o=="string"?o:{value:o.value}}var vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{definition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDefinition,!0,e=>Le.registerDefinitionProvider(Qn(e.documentSelector),new Cze(this._connection,e))))}},Cze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},wze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{declaration:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDeclaration,!0,e=>Le.registerDeclarationProvider(Qn(e.documentSelector),new Sze(this._connection,e))))}},Sze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDeclaration(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDeclaration({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},yze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{typeDefinition:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentTypeDefinition,!0,e=>Le.registerTypeDefinitionProvider(Qn(e.documentSelector),new xze(this._connection,e))))}},xze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideTypeDefinition(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentTypeDefinition({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},Lze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{implementation:{dynamicRegistration:!0,linkSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentImplementation,!0,e=>Le.registerImplementationProvider(Qn(e.documentSelector),new Dze(this._connection,e))))}},Dze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideImplementation(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentImplementation({textDocument:i.textDocument,position:i.position});return n?Array.isArray(n)?n.map(s=>Ug(s,this._client)):Ug(n,this._client):null}},kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{references:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentReferences,!0,e=>Le.registerReferenceProvider(Qn(e.documentSelector),new Ize(this._connection,e))))}},Ize=class{constructor(o,e){this._client=o,this._capabilities=e}async provideReferences(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentReferences({textDocument:n.textDocument,position:n.position,context:{includeDeclaration:t.includeDeclaration}});return s?s.map(r=>{const a=this._client.bridge.translateBackRange({uri:r.uri},r.range);return{uri:a.textModel.uri,range:a.range}}):null}},Eze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentHighlight:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentHighlight,!0,e=>Le.registerDocumentHighlightProvider(Qn(e.documentSelector),new Tze(this._connection,e))))}},Tze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentHighlights(o,e,t){const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentDocumentHighlight({textDocument:i.textDocument,position:i.position});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,kind:X6e(s.kind)})):null}},Nze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentSymbol:{dynamicRegistration:!0,hierarchicalDocumentSymbolSupport:!0,symbolKind:{valueSet:Array.from(Fae.keys())},tagSupport:{valueSet:[Mae.Deprecated]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentSymbol,!0,e=>Le.registerDocumentSymbolProvider(Qn(e.documentSelector),new Rze(this._connection,e))))}},Rze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentSymbols(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentSymbol({textDocument:t.textDocument});return i?Array.isArray(i)&&i.length>0?"location"in i[0]?i.map(n=>Mze(n,this._client)):i.map(n=>zae(n,this._client,t.textDocument)):[]:null}};function zae(o,e,t){return{name:o.name,detail:o.detail||"",kind:Wae(o.kind),tags:o.tags?.map(i=>Bae(i)).filter(i=>i!==void 0)||[],range:e.bridge.translateBackRange(t,o.range).range,selectionRange:e.bridge.translateBackRange(t,o.selectionRange).range,children:o.children?.map(i=>zae(i,e,t))||[]}}function Mze(o,e){return{name:o.name,detail:"",kind:Wae(o.kind),tags:o.tags?.map(t=>Bae(t)).filter(t=>t!==void 0)||[],range:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,selectionRange:e.bridge.translateBackRange({uri:o.location.uri},o.location.range).range,children:[]}}var Aze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rename:{dynamicRegistration:!0,prepareSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRename,!0,e=>Le.registerRenameProvider(Qn(e.documentSelector),new Pze(this._connection,e))))}},Pze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideRenameEdits(o,e,t,i){const n=this._client.bridge.translate(o,e),s=await this._client.server.textDocumentRename({textDocument:n.textDocument,position:n.position,newName:t});return s?Oze(s,this._client):null}async resolveRenameLocation(o,e,t){if(!this._capabilities.prepareProvider)return null;const i=this._client.bridge.translate(o,e),n=await this._client.server.textDocumentPrepareRename({textDocument:i.textDocument,position:i.position});if(!n)return null;if("range"in n&&"placeholder"in n)return{range:this._client.bridge.translateBackRange(i.textDocument,n.range).range,text:n.placeholder};if("defaultBehavior"in n)return null;if("start"in n&&"end"in n){const s=this._client.bridge.translateBackRange(i.textDocument,n).range;return{range:s,text:o.getValueInRange(s)}}return null}};function Oze(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Fze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeAction:{dynamicRegistration:!0,codeActionLiteralSupport:{codeActionKind:{valueSet:Array.from(Aae.keys())}},isPreferredSupport:!0,disabledSupport:!0,dataSupport:!0,resolveSupport:{properties:["edit"]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeAction,!0,e=>Le.registerCodeActionProvider(Qn(e.documentSelector),new Wze(this._connection,e))))}},Wze=class{constructor(o,e){Pe(this,"resolveCodeAction"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveCodeAction=async(t,i)=>{if(t._lspAction){const n=await this._client.server.codeActionResolve(t._lspAction);n.edit&&(t.edit=FX(n.edit,this._client)),n.command&&(t.command=sC(n.command))}return t})}async provideCodeActions(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentCodeAction({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),context:{diagnostics:t.markers.map(r=>({range:this._client.bridge.translateRange(o,i2.lift(r)),message:r.message,severity:tze(r.severity)})),triggerKind:z6e(t.trigger)}});return s?{actions:(Array.isArray(s)?s:[s]).map(r=>{if("title"in r&&!("kind"in r)){const a=r;return{title:a.title,command:sC(a)}}else{const a=r;return{title:a.title,kind:H6e(a.kind),isPreferred:a.isPreferred,disabled:a.disabled?.reason,edit:a.edit?FX(a.edit,this._client):void 0,command:sC(a.command),_lspAction:a}}}),dispose:()=>{}}:null}};function FX(o,e){const t=[];if(o.changes)for(const i in o.changes){const n=o.changes[i];for(const s of n){const r=e.bridge.translateBackRange({uri:i},s.range);t.push({resource:r.textModel.uri,versionId:void 0,textEdit:{range:r.range,text:s.newText}})}}if(o.documentChanges){for(const i of o.documentChanges)if("textDocument"in i){const n=i.textDocument.uri;for(const s of i.edits){const r=e.bridge.translateBackRange({uri:n},s.range);t.push({resource:r.textModel.uri,versionId:i.textDocument.version??void 0,textEdit:{range:r.range,text:s.newText}})}}}return{edits:t}}var Bze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{codeLens:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentCodeLens,!0,e=>Le.registerCodeLensProvider(Qn(e.documentSelector),new Hze(this._connection,e))))}},Hze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideCodeLenses(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentCodeLens({textDocument:t.textDocument});return i?{lenses:i.map(n=>({range:Gp(this._client.bridge.translateBackRange(t.textDocument,n.range),o).range,command:sC(n.command),_lspCodeLens:n})),dispose:()=>{}}:null}async resolveCodeLens(o,e,t){if(!this._capabilities.resolveProvider||!e._lspCodeLens)return e;const i=await this._client.server.codeLensResolve(e._lspCodeLens);return i.command&&(e.command={id:i.command.command,title:i.command.title,arguments:i.command.arguments}),e}},Vze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{documentLink:{dynamicRegistration:!0,tooltipSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDocumentLink,!0,e=>Le.registerLinkProvider(Qn(e.documentSelector),new zze(this._connection,e))))}},zze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideLinks(o,e){const t=this._client.bridge.translate(o,new X_(1,1)),i=await this._client.server.textDocumentDocumentLink({textDocument:t.textDocument});return i?{links:i.map(n=>({range:this._client.bridge.translateBackRange(t.textDocument,n.range).range,url:n.target,tooltip:n.tooltip}))}:null}async resolveLink(o,e){return this._capabilities.resolveProvider,o}},Uze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{formatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFormatting,!0,e=>Le.registerDocumentFormattingEditProvider(Qn(e.documentSelector),new $ze(this._connection,e))))}},$ze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentFormattingEdits(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFormatting({textDocument:i.textDocument,options:{tabSize:e.tabSize,insertSpaces:e.insertSpaces}});return n?n.map(s=>({range:this._client.bridge.translateBackRange(i.textDocument,s.range).range,text:s.newText})):null}},jze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{rangeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentRangeFormatting,!0,e=>Le.registerDocumentRangeFormattingEditProvider(Qn(e.documentSelector),new qze(this._connection,e))))}},qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideDocumentRangeFormattingEdits(o,e,t,i){const n=this._client.bridge.translate(o,e.getStartPosition()),s=await this._client.server.textDocumentRangeFormatting({textDocument:n.textDocument,range:this._client.bridge.translateRange(o,e),options:{tabSize:t.tabSize,insertSpaces:t.insertSpaces}});return s?s.map(r=>({range:this._client.bridge.translateBackRange(n.textDocument,r.range).range,text:r.newText})):null}},Kze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{onTypeFormatting:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentOnTypeFormatting,!0,e=>Le.registerOnTypeFormattingEditProvider(Qn(e.documentSelector),new Gze(this._connection,e))))}},Gze=class{constructor(o,e){Pe(this,"autoFormatTriggerCharacters"),this._client=o,this._capabilities=e,this.autoFormatTriggerCharacters=[e.firstTriggerCharacter,...e.moreTriggerCharacter||[]]}async provideOnTypeFormattingEdits(o,e,t,i,n){const s=this._client.bridge.translate(o,e),r=await this._client.server.textDocumentOnTypeFormatting({textDocument:s.textDocument,position:s.position,ch:t,options:{tabSize:i.tabSize,insertSpaces:i.insertSpaces}});return r?r.map(a=>({range:this._client.bridge.translateBackRange(s.textDocument,a.range).range,text:a.newText})):null}},Zze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{foldingRange:{dynamicRegistration:!0,rangeLimit:5e3,lineFoldingOnly:!1,foldingRangeKind:{valueSet:[nC.Comment,nC.Imports,nC.Region]}}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentFoldingRange,!0,e=>Le.registerFoldingRangeProvider(Qn(e.documentSelector),new Yze(this._connection,e))))}},Yze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideFoldingRanges(o,e,t){const i=this._client.bridge.translate(o,new X_(1,1)),n=await this._client.server.textDocumentFoldingRange({textDocument:i.textDocument});return n?n.map(s=>({start:s.startLine+1,end:s.endLine+1,kind:J6e(s.kind)})):null}},Xze=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{selectionRange:{dynamicRegistration:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSelectionRange,!0,e=>Le.registerSelectionRangeProvider(Qn(e.documentSelector),new Qze(this._connection,e))))}},Qze=class{constructor(o,e){this._client=o,this._capabilities=e}async provideSelectionRanges(o,e,t){const i=this._client.bridge.translate(o,e[0]),n=await this._client.server.textDocumentSelectionRange({textDocument:i.textDocument,positions:e.map(s=>this._client.bridge.translate(o,s).position)});return n?n.map(s=>this.convertSelectionRange(s,i.textDocument)):null}convertSelectionRange(o,e){const t=[];let i=o;for(;i;)t.push({range:this._client.bridge.translateBackRange(e,i.range).range}),i=i.parent;return t}},Jze=class extends ln{constructor(o){super(),Pe(this,"_providers",new Set),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{inlayHint:{dynamicRegistration:!0,resolveSupport:{properties:["tooltip","textEdits","label.tooltip","label.location","label.command"]}}},workspace:{inlayHint:{refreshSupport:!0}}})),this._register(this._connection.connection.registerRequestHandler(bx.client.workspaceInlayHintRefresh,async()=>{for(const e of this._providers)e.refresh();return{ok:null}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentInlayHint,!0,e=>{const t=new eUe(this._connection,e);this._providers.add(t);const i=Le.registerInlayHintsProvider(Qn(e.documentSelector),t);return{dispose:()=>{this._providers.delete(t),i.dispose()}}}))}},eUe=class{constructor(o,e){Pe(this,"_onDidChangeInlayHints",new dw),Pe(this,"onDidChangeInlayHints",this._onDidChangeInlayHints.event),Pe(this,"resolveInlayHint"),this._client=o,this._capabilities=e,e.resolveProvider&&(this.resolveInlayHint=async(t,i)=>{const n=await this._client.server.inlayHintResolve(t._lspInlayHint);return n.tooltip&&(t.tooltip=L9(n.tooltip)),n.label!==t._lspInlayHint.label&&(t.label=WX(n.label)),n.textEdits&&(t.textEdits=n.textEdits.map(s=>({range:this._client.bridge.translateBackRange({uri:t._targetUri},s.range).range,text:s.newText}))),t})}refresh(){this._onDidChangeInlayHints.fire()}async provideInlayHints(o,e,t){const i=this._client.bridge.translate(o,e.getStartPosition()),n=await tUe(async()=>await this._client.server.textDocumentInlayHint({textDocument:i.textDocument,range:this._client.bridge.translateRange(o,e)}));return n?{hints:n.map(s=>({label:WX(s.label),position:Gp(this._client.bridge.translateBack(i.textDocument,s.position),o).position,kind:lze(s.kind),tooltip:L9(s.tooltip),paddingLeft:s.paddingLeft,paddingRight:s.paddingRight,textEdits:s.textEdits?.map(r=>({range:Gp(this._client.bridge.translateBackRange(i.textDocument,r.range),o).range,text:r.newText})),_lspInlayHint:s,_targetUri:i.textDocument.uri})),dispose:()=>{}}:null}};async function tUe(o){for(let e=3;;e--)try{return await o()}catch(t){if(t.message==="content modified"&&e>0)continue;throw t}}function WX(o){return typeof o=="string"?o:o.map(e=>{const t={label:e.value,tooltip:L9(e.tooltip),command:sC(e.command)};return e.location&&(t.location={uri:yae.parse(e.location.uri),range:new i2(e.location.range.start.line+1,e.location.range.start.character+1,e.location.range.end.line+1,e.location.range.end.character+1)}),t})}function L9(o){if(o)return typeof o=="string"?o:{value:o.value}}var iUe=class extends ln{constructor(o){super(),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{semanticTokens:{dynamicRegistration:!0,requests:{range:!0,full:{delta:!0}},tokenTypes:["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"],tokenModifiers:["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],formats:[B6e.Relative],overlappingTokenSupport:!1,multilineTokenSupport:!0}}})),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentSemanticTokensFull,!0,e=>Le.registerDocumentSemanticTokensProvider(Qn(e.documentSelector),new nUe(this._connection,e))))}},nUe=class{constructor(o,e){this._client=o,this._capabilities=e}getLegend(){return{tokenTypes:this._capabilities.legend.tokenTypes,tokenModifiers:this._capabilities.legend.tokenModifiers}}releaseDocumentSemanticTokens(o){}async provideDocumentSemanticTokens(o,e,t){const i=this._client.bridge.translate(o,o.getPositionAt(0)),n=this._capabilities.full;if(e&&n&&typeof n=="object"&&n.delta){const r=await this._client.server.textDocumentSemanticTokensFullDelta({textDocument:i.textDocument,previousResultId:e});return r?"edits"in r?{resultId:r.resultId,edits:r.edits.map(a=>({start:a.start,deleteCount:a.deleteCount,data:a.data?new Uint32Array(a.data):void 0}))}:{resultId:r.resultId,data:new Uint32Array(r.data)}:null}const s=await this._client.server.textDocumentSemanticTokensFull({textDocument:i.textDocument});return s?{resultId:s.resultId,data:new Uint32Array(s.data)}:null}async provideDocumentSemanticTokensEdits(o,e,t){return this.provideDocumentSemanticTokens(o,e,t)}},sUe=class extends ln{constructor(o){super(),Pe(this,"_diagnosticsMarkerOwner","lsp"),Pe(this,"_pullDiagnosticProviders",new Map),this._connection=o,this._register(this._connection.capabilities.addStaticClientCapabilities({textDocument:{publishDiagnostics:{relatedInformation:!0,tagSupport:{valueSet:[...Hae.keys()]},versionSupport:!0,codeDescriptionSupport:!0,dataSupport:!0},diagnostic:{dynamicRegistration:!0,relatedDocumentSupport:!0}}})),this._register(this._connection.connection.registerNotificationHandler(bx.client.textDocumentPublishDiagnostics,e=>this._handlePublishDiagnostics(e))),this._register(this._connection.capabilities.registerCapabilityHandler(ht.textDocumentDiagnostic,!0,e=>{const t=new Mz;for(const i of Kp.getModels())this._addPullDiagnosticProvider(i,e,t);return t.add(Kp.onDidCreateModel(i=>{this._addPullDiagnosticProvider(i,e,t)})),t}))}_addPullDiagnosticProvider(o,e,t){if(o.getLanguageId(),!cze(o,e.documentSelector))return;const i=new oUe(o,this._connection,this._diagnosticsMarkerOwner,e);this._pullDiagnosticProviders.set(o,i),t.add(i),t.add(o.onWillDispose(()=>{this._pullDiagnosticProviders.delete(o)}))}_handlePublishDiagnostics(o){const e=o.uri;try{const t=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!t||t.isDisposed())return;const i=o.diagnostics.map(n=>x9(n));Kp.setModelMarkers(t,this._diagnosticsMarkerOwner,i)}catch(t){console.debug(`Could not set diagnostics for ${e}:`,t)}}},oUe=class extends ln{constructor(o,e,t,i){super(),Pe(this,"_updateHandle"),Pe(this,"_previousResultId"),this._model=o,this._connection=e,this._markerOwner=t,this._capability=i,this._register(this._model.onDidChangeContent(()=>{this._scheduleDiagnosticUpdate()})),this._scheduleDiagnosticUpdate()}_scheduleDiagnosticUpdate(){this._updateHandle!==void 0&&clearTimeout(this._updateHandle),this._updateHandle=window.setTimeout(()=>{this._updateHandle=void 0,this._requestDiagnostics()},500)}async _requestDiagnostics(){if(!this._model.isDisposed())try{const o=this._connection.bridge.translate(this._model,new X_(1,1)),e=await this._connection.server.textDocumentDiagnostic({textDocument:o.textDocument,identifier:this._capability.identifier,previousResultId:this._previousResultId});if(this._model.isDisposed())return;this._handleDiagnosticReport(e)}catch(o){console.error("Error requesting diagnostics:",o)}}_handleDiagnosticReport(o){if(o.kind==="full"){this._previousResultId=o.resultId;const e=o.items.map(t=>x9(t));Kp.setModelMarkers(this._model,this._markerOwner,e),"relatedDocuments"in o&&o.relatedDocuments&&this._handleRelatedDocuments(o.relatedDocuments)}else o.kind==="unchanged"&&(this._previousResultId=o.resultId)}_handleRelatedDocuments(o){for(const[e,t]of Object.entries(o))try{const i=this._connection.bridge.translateBack({uri:e},{line:0,character:0}).textModel;if(!i||i.isDisposed())continue;if(t.kind==="full"){const n=t.items.map(s=>x9(s));Kp.setModelMarkers(i,this._markerOwner,n)}}catch(i){console.debug(`Could not set related diagnostics for ${e}:`,i)}}dispose(){this._updateHandle!==void 0&&(clearTimeout(this._updateHandle),this._updateHandle=void 0),super.dispose()}},rUe=class{constructor(o,e,t,i){this.server=o,this.bridge=e,this.capabilities=t,this.connection=i}},aUe=class extends ln{constructor(o){super(),Pe(this,"_staticCapabilities",new Set),Pe(this,"_dynamicFromStatic",dUe.create()),Pe(this,"_registrations",new Map),Pe(this,"_serverCapabilities"),this._connection=o,this._register(this._connection.registerRequestHandler(bx.client.clientRegisterCapability,async e=>{for(const t of e.registrations){const i=HX(t.method),n=new BX(t.id,i,t.registerOptions,!1);this._registerCapabilityOptions(n)}return{ok:null}})),this._register(this._connection.registerRequestHandler(bx.client.clientUnregisterCapability,async e=>{for(const t of e.unregisterations){const i=HX(t.method),n=this._registrations.get(i),s=n?.registrations.get(t.id);if(!s)throw new Error(`No registration for method ${t.method} with id ${t.id}`);s?.handlerDisposables.forEach(r=>r.dispose()),n?.registrations.delete(t.id)}return{ok:null}}))}_registerCapabilityOptions(o){let e=this._registrations.get(o.capability);if(e||(e=new VX,this._registrations.set(o.capability,e)),e.registrations.has(o.id))throw new Error(`Handler for method ${o.capability.method} with id ${o.id} already registered`);e.registrations.set(o.id,o);for(const t of e.handlers)!t.handleStaticCapability&&o.isFromStatic||o.handlerDisposables.set(t,t.handler(o.options))}setServerCapabilities(o){if(this._serverCapabilities)throw new Error("Server capabilities already set");this._serverCapabilities=o;for(const e of Object.values(ht)){const t=this._dynamicFromStatic.getOptions(e,o);t&&this._registerCapabilityOptions(new BX(e.method,e,t,!0))}}getClientCapabilities(){const o={};for(const e of this._staticCapabilities)$ae(o,e.cap);return o}addStaticClientCapabilities(o){const e={cap:o};return this._staticCapabilities.add(e),{dispose:()=>{this._staticCapabilities.delete(e)}}}registerCapabilityHandler(o,e,t){let i=this._registrations.get(o);i||(i=new VX,this._registrations.set(o,i));const n=new lUe(o,e,t);i.handlers.add(n);for(const s of i.registrations.values())!n.handleStaticCapability&&s.isFromStatic||s.handlerDisposables.set(n,t(s.options));return{dispose:()=>{i.handlers.delete(n);for(const s of i.registrations.values()){const r=s.handlerDisposables.get(n);r&&(r.dispose(),s.handlerDisposables.delete(n))}}}}},lUe=class{constructor(o,e,t){this.capability=o,this.handleStaticCapability=e,this.handler=t}},BX=class{constructor(o,e,t,i){Pe(this,"handlerDisposables",new Map),this.id=o,this.capability=e,this.options=t,this.isFromStatic=i}};const cUe=new Map([...Object.values(ht)].map(o=>[o.method,o]));function HX(o){const e=cUe.get(o);if(!e)throw new Error(`No capability found for method ${o}`);return e}var VX=class{constructor(){Pe(this,"handlers",new Set),Pe(this,"registrations",new Map)}},dUe=class Uae{constructor(){Pe(this,"_mappings",new Map)}static create(){const e=new Uae;return e.set(ht.textDocumentDidChange,t=>{if(t.textDocumentSync!==void 0)return typeof t.textDocumentSync=="object"?{syncKind:t.textDocumentSync.change??O6e.None,documentSelector:null}:{syncKind:t.textDocumentSync,documentSelector:null}}),e.set(ht.textDocumentCompletion,t=>t.completionProvider),e.set(ht.textDocumentHover,t=>t.hoverProvider),e.set(ht.textDocumentSignatureHelp,t=>t.signatureHelpProvider),e.set(ht.textDocumentDefinition,t=>t.definitionProvider),e.set(ht.textDocumentReferences,t=>t.referencesProvider),e.set(ht.textDocumentDocumentHighlight,t=>t.documentHighlightProvider),e.set(ht.textDocumentDocumentSymbol,t=>t.documentSymbolProvider),e.set(ht.textDocumentCodeAction,t=>t.codeActionProvider),e.set(ht.textDocumentCodeLens,t=>t.codeLensProvider),e.set(ht.textDocumentDocumentLink,t=>t.documentLinkProvider),e.set(ht.textDocumentFormatting,t=>t.documentFormattingProvider),e.set(ht.textDocumentRangeFormatting,t=>t.documentRangeFormattingProvider),e.set(ht.textDocumentOnTypeFormatting,t=>t.documentOnTypeFormattingProvider),e.set(ht.textDocumentRename,t=>t.renameProvider),e.set(ht.textDocumentFoldingRange,t=>t.foldingRangeProvider),e.set(ht.textDocumentDeclaration,t=>t.declarationProvider),e.set(ht.textDocumentTypeDefinition,t=>t.typeDefinitionProvider),e.set(ht.textDocumentImplementation,t=>t.implementationProvider),e.set(ht.textDocumentDocumentColor,t=>t.colorProvider),e.set(ht.textDocumentSelectionRange,t=>t.selectionRangeProvider),e.set(ht.textDocumentLinkedEditingRange,t=>t.linkedEditingRangeProvider),e.set(ht.textDocumentPrepareCallHierarchy,t=>t.callHierarchyProvider),e.set(ht.textDocumentSemanticTokensFull,t=>t.semanticTokensProvider),e.set(ht.textDocumentInlayHint,t=>t.inlayHintProvider),e.set(ht.textDocumentInlineValue,t=>t.inlineValueProvider),e.set(ht.textDocumentDiagnostic,t=>t.diagnosticProvider),e.set(ht.textDocumentMoniker,t=>t.monikerProvider),e.set(ht.textDocumentPrepareTypeHierarchy,t=>t.typeHierarchyProvider),e.set(ht.workspaceSymbol,t=>t.workspaceSymbolProvider),e.set(ht.workspaceExecuteCommand,t=>t.executeCommandProvider),e}set(e,t){if(this._mappings.has(e.method))throw new Error(`Capability for method ${e.method} already registered`);this._mappings.set(e.method,t)}getOptions(e,t){const i=this._mappings.get(e.method);if(i)return i(t)}};function $ae(o,e){for(const t of Object.keys(e)){const i=e[t];if(i===void 0)continue;const n=o[t];if(n===void 0){o[t]=i;continue}if(typeof i!="object"||i===null){o[t]=i;continue}if(typeof n!="object"||n===null){o[t]=i;continue}$ae(n,i)}}var hUe=class extends ln{constructor(o,e){super(),Pe(this,"_managedModels",new Map),Pe(this,"_managedModelsReverse",new Map),Pe(this,"_started",!1),this._server=o,this._capabilities=e,this._register(this._capabilities.addStaticClientCapabilities({textDocument:{synchronization:{dynamicRegistration:!0,willSave:!1,willSaveWaitUntil:!1,didSave:!1}}})),this._register(e.registerCapabilityHandler(ht.textDocumentDidChange,!0,t=>{if(this._started)return{dispose:()=>{}};this._started=!0,this._register(Kp.onDidCreateModel(i=>{this._getOrCreateManagedModel(i)}));for(const i of Kp.getModels())this._getOrCreateManagedModel(i);return{dispose:()=>{}}}))}_getOrCreateManagedModel(o){if(!this._started)throw new Error("Not started");const e=o.uri.toString(!0).toLowerCase();let t=this._managedModels.get(o);return t||(t=new uUe(o,this._server),this._managedModels.set(o,t),this._managedModelsReverse.set(e,o)),o.onWillDispose(()=>{t.dispose(),this._managedModels.delete(o),this._managedModelsReverse.delete(e)}),t}translateBack(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,position:new X_(e.line+1,e.character+1)}}translateBackRange(o,e){const t=o.uri.toLowerCase(),i=this._managedModelsReverse.get(t);if(!i)throw new Error(`No text model for uri ${t}`);return{textModel:i,range:new i2(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}}translate(o,e){return{textDocument:{uri:o.uri.toString(!0)},position:{line:e.lineNumber-1,character:e.column-1}}}translateRange(o,e){return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}},uUe=class extends ln{constructor(o,e){super(),this._textModel=o,this._api=e;const t=o.uri.toString(!0).toLowerCase();this._api.textDocumentDidOpen({textDocument:{languageId:o.getLanguageId(),uri:t,version:o.getVersionId(),text:o.getValue()}}),this._register(o.onDidChangeContent(i=>{const n=i.changes.map(s=>gUe(s));this._api.textDocumentDidChange({textDocument:{uri:t,version:o.getVersionId()},contentChanges:n})})),this._register({dispose:()=>{this._api.textDocumentDidClose({textDocument:{uri:t}})}})}};function gUe(o){return{range:fUe(o.range),rangeLength:o.rangeLength,text:o.text}}function fUe(o){return{start:{line:o.startLineNumber-1,character:o.startColumn-1},end:{line:o.endLineNumber-1,character:o.endColumn-1}}}var pUe=class{constructor(o){Pe(this,"_connection"),Pe(this,"_capabilitiesRegistry"),Pe(this,"_bridge"),Pe(this,"_initPromise");const e=w9.fromTransport(o),t=bx.getServer(e,{});e.startListen(),this._capabilitiesRegistry=new aUe(e),this._bridge=new hUe(t.server,this._capabilitiesRegistry),this._connection=new rUe(t.server,this._bridge,this._capabilitiesRegistry,e),this.createFeatures(),this._initPromise=this._init()}async _init(){const o=await this._connection.server.initialize({processId:null,capabilities:this._capabilitiesRegistry.getClientCapabilities(),rootUri:null});this._connection.server.initialized({}),this._capabilitiesRegistry.setServerCapabilities(o.capabilities)}createFeatures(){const o=new Mz;return o.add(new dze(this._connection)),o.add(new fze(this._connection)),o.add(new _ze(this._connection)),o.add(new vze(this._connection)),o.add(new wze(this._connection)),o.add(new yze(this._connection)),o.add(new Lze(this._connection)),o.add(new kze(this._connection)),o.add(new Eze(this._connection)),o.add(new Nze(this._connection)),o.add(new Aze(this._connection)),o.add(new Fze(this._connection)),o.add(new Bze(this._connection)),o.add(new Vze(this._connection)),o.add(new Uze(this._connection)),o.add(new jze(this._connection)),o.add(new Kze(this._connection)),o.add(new Zze(this._connection)),o.add(new Xze(this._connection)),o.add(new Jze(this._connection)),o.add(new iUe(this._connection)),o.add(new sUe(this._connection)),o}},Vb=null;typeof WebSocket<"u"?Vb=WebSocket:typeof MozWebSocket<"u"?Vb=MozWebSocket:typeof global<"u"?Vb=global.WebSocket||global.MozWebSocket:typeof window<"u"?Vb=window.WebSocket||window.MozWebSocket:typeof self<"u"&&(Vb=self.WebSocket||self.MozWebSocket);var mUe=Vb;function _Ue(o){return"host"in o?{address:`${o.forceTls?"wss":"ws"}://${o.host}:${o.port}`}:o}var bUe=class D9 extends xae{constructor(e){super(),Pe(this,"socket"),Pe(this,"errorEmitter",new Rz),Pe(this,"onError",this.errorEmitter),this.socket=e,e.onmessage=t=>{try{const i=t.data;if(typeof i=="string"){const n=JSON.parse(i);this._dispatchReceivedMessage(n)}else throw new Error("Not supported")}catch(i){this.errorEmitter.fire({error:i})}},e.onclose=t=>{this._onConnectionClosed()}}static connectTo(e){const t=new mUe(_Ue(e).address);return new Promise((i,n)=>{t.onerror=s=>{n(s)},t.onopen=()=>{i(new D9(t))}})}static fromWebSocket(e){return new D9(e)}close(){this.socket.close()}dispose(){this.close()}_sendImpl(e){const t=JSON.stringify(e);return new Promise((i,n)=>{this.socket.send(t,s=>{s?n(s):i()})})}toString(){return`${this.id}@${this.socket.url}`}},jae=class extends xae{constructor(o,e=void 0,t=void 0){super(),Pe(this,"_windowLike"),Pe(this,"_source"),Pe(this,"_loadingState"),Pe(this,"_disposed",!1),Pe(this,"_messageHandler",({data:i,source:n})=>{this._source&&n!==this._source||typeof i=="object"&&i&&this._dispatchReceivedMessage(i)}),this._windowLike=o,this._source=e,this._loadingState=t,this._windowLike.addEventListener("message",this._messageHandler)}async _sendImpl(o){if(this._disposed)throw new Error("Transport is disposed");this._loadingState&&!this._loadingState.loaded&&await this._loadingState.onLoaded,this._windowLike.postMessage(o)}toString(){return`${this.id}@${this._windowLike}`}dispose(){this._disposed||(this._disposed=!0,this._windowLike.removeEventListener("message",this._messageHandler))}};function vUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o)}function CUe(o){if(typeof window>"u")throw new Error("call this function from the main browser thread");return new jae(o.contentWindow,o.contentWindow,{loaded:window.document.readyState==="complete",onLoaded:new Promise(e=>{window.addEventListener("load",()=>e())})})}const GKe=Object.freeze(Object.defineProperty({__proto__:null,MonacoLspClient:pUe,WebSocketTransport:bUe,createTransportToIFrame:CUe,createTransportToWorker:vUe},Symbol.toStringTag,{value:"Module"})),qae={},eF={};class Az{static getOrCreate(e){return eF[e]||(eF[e]=new Az(e)),eF[e]}constructor(e){this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise((t,i)=>{this._lazyLoadPromiseResolve=t,this._lazyLoadPromiseReject=i})}load(){return this._loadingTriggered||(this._loadingTriggered=!0,qae[this._languageId].loader().then(e=>this._lazyLoadPromiseResolve(e),e=>this._lazyLoadPromiseReject(e))),this._lazyLoadPromise}}function We(o){const e=o.id;qae[e]=o,Le.register(o);const t=Az.getOrCreate(e);Le.registerTokensProviderFactory(e,{create:async()=>(await t.load()).language}),Le.onLanguageEncountered(e,async()=>{const i=await t.load();Le.setLanguageConfiguration(e,i.conf)})}We({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:()=>Ae(()=>import("./DLDM7-KI.js"),[],import.meta.url)});We({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:()=>Ae(()=>import("./DNDY2TF8.js"),[],import.meta.url)});We({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:()=>Ae(()=>import("./Y6nb8tq_.js"),[],import.meta.url)});We({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:()=>Ae(()=>import("./BwHxbl9M.js"),[],import.meta.url)});We({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:()=>Ae(()=>import("./CFznDFnq.js"),[],import.meta.url)});We({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:()=>Ae(()=>import("./Bf6VGUru.js"),[],import.meta.url)});We({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:()=>Ae(()=>import("./Dnu-v4kV.js"),[],import.meta.url)});We({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:()=>Ae(()=>import("./Bd8akH9Z.js"),[],import.meta.url)});We({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:()=>Ae(()=>import("./BbWJElDN.js"),[],import.meta.url)});We({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:()=>Ae(()=>import("./Co3qMtFm.js"),[],import.meta.url)});We({id:"csp",extensions:[".csp"],aliases:["CSP","csp"],loader:()=>Ae(()=>import("./D-4FJmMZ.js"),[],import.meta.url)});We({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:()=>Ae(()=>import("./DdJfP1eB.js"),[],import.meta.url)});We({id:"cypher",extensions:[".cypher",".cyp"],aliases:["Cypher","OpenCypher"],loader:()=>Ae(()=>import("./cTPe9QuQ.js"),[],import.meta.url)});We({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:()=>Ae(()=>import("./BOtBlQCF.js"),[],import.meta.url)});We({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:()=>Ae(()=>import("./BG73LgW2.js"),[],import.meta.url)});We({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:()=>Ae(()=>import("./BEgZUVRK.js"),[],import.meta.url)});We({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:()=>Ae(()=>import("./BkW5O-1t.js"),[],import.meta.url)});We({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:()=>Ae(()=>import("./BeJ5waoc.js"),[],import.meta.url)});We({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:()=>Ae(()=>import("./PahG7c26.js"),[],import.meta.url)});We({id:"freemarker2",extensions:[".ftl",".ftlh",".ftlx"],aliases:["FreeMarker2","Apache FreeMarker2"],loader:()=>Ae(()=>import("./9XVQ1GVX.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-dollar",aliases:["FreeMarker2 (Angle/Dollar)","Apache FreeMarker2 (Angle/Dollar)"],loader:()=>Ae(()=>import("./9XVQ1GVX.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationDollar)});We({id:"freemarker2.tag-bracket.interpolation-dollar",aliases:["FreeMarker2 (Bracket/Dollar)","Apache FreeMarker2 (Bracket/Dollar)"],loader:()=>Ae(()=>import("./9XVQ1GVX.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationDollar)});We({id:"freemarker2.tag-angle.interpolation-bracket",aliases:["FreeMarker2 (Angle/Bracket)","Apache FreeMarker2 (Angle/Bracket)"],loader:()=>Ae(()=>import("./9XVQ1GVX.js"),[],import.meta.url).then(o=>o.TagAngleInterpolationBracket)});We({id:"freemarker2.tag-bracket.interpolation-bracket",aliases:["FreeMarker2 (Bracket/Bracket)","Apache FreeMarker2 (Bracket/Bracket)"],loader:()=>Ae(()=>import("./9XVQ1GVX.js"),[],import.meta.url).then(o=>o.TagBracketInterpolationBracket)});We({id:"freemarker2.tag-auto.interpolation-dollar",aliases:["FreeMarker2 (Auto/Dollar)","Apache FreeMarker2 (Auto/Dollar)"],loader:()=>Ae(()=>import("./9XVQ1GVX.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationDollar)});We({id:"freemarker2.tag-auto.interpolation-bracket",aliases:["FreeMarker2 (Auto/Bracket)","Apache FreeMarker2 (Auto/Bracket)"],loader:()=>Ae(()=>import("./9XVQ1GVX.js"),[],import.meta.url).then(o=>o.TagAutoInterpolationBracket)});We({id:"go",extensions:[".go"],aliases:["Go"],loader:()=>Ae(()=>import("./acbASCJo.js"),[],import.meta.url)});We({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:()=>Ae(()=>import("./BxJiqAUM.js"),[],import.meta.url)});We({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:()=>Ae(()=>import("./C33Dw59E.js"),[],import.meta.url)});We({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:()=>Ae(()=>import("./DtV1sZF8.js"),[],import.meta.url)});We({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:()=>Ae(()=>import("./Ba1C4iSG.js"),[],import.meta.url)});We({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:()=>Ae(()=>import("./Kd9XrMLS.js"),[],import.meta.url)});We({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:()=>Ae(()=>import("./CXBNlu9o.js"),[],import.meta.url)});We({id:"javascript",extensions:[".js",".es6",".jsx",".mjs",".cjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:()=>Ae(()=>import("./DPUWJyjX.js"),__vite__mapDeps([0,1]),import.meta.url)});We({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:()=>Ae(()=>import("./cl7-CwDS.js"),[],import.meta.url)});We({id:"kotlin",extensions:[".kt",".kts"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:()=>Ae(()=>import("./s7OhZKlX.js"),[],import.meta.url)});We({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:()=>Ae(()=>import("./9HpZscsL.js"),[],import.meta.url)});We({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:()=>Ae(()=>import("./OrD6JF1K.js"),[],import.meta.url)});We({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:()=>Ae(()=>import("./Cyyb5UIc.js"),[],import.meta.url)});We({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:()=>Ae(()=>import("./4sUGQp1u.js"),[],import.meta.url)});We({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:()=>Ae(()=>import("./B8OfTtLu.js"),[],import.meta.url)});We({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:()=>Ae(()=>import("./BFxVWTOG.js"),[],import.meta.url)});We({id:"mdx",extensions:[".mdx"],aliases:["MDX","mdx"],loader:()=>Ae(()=>import("./CbZEAbX5.js"),[],import.meta.url)});We({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:()=>Ae(()=>import("./CiqrrVzr.js"),[],import.meta.url)});We({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:()=>Ae(()=>import("./DmeGPVcC.js"),[],import.meta.url)});We({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:()=>Ae(()=>import("./C_tMU-Nz.js"),[],import.meta.url)});We({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:()=>Ae(()=>import("./BDtDVThU.js"),[],import.meta.url)});We({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:()=>Ae(()=>import("./vHIfCaH5.js"),[],import.meta.url)});We({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:()=>Ae(()=>import("./DtZ0uQbO.js"),[],import.meta.url)});We({id:"perl",extensions:[".pl",".pm"],aliases:["Perl","pl"],loader:()=>Ae(()=>import("./Ub6l9XKa.js"),[],import.meta.url)});We({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:()=>Ae(()=>import("./BlNEE0v7.js"),[],import.meta.url)});We({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:()=>Ae(()=>import("./BBUBE1dy.js"),[],import.meta.url)});We({id:"pla",extensions:[".pla"],loader:()=>Ae(()=>import("./DSh2-awV.js"),[],import.meta.url)});We({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:()=>Ae(()=>import("./CocnycG-.js"),[],import.meta.url)});We({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:()=>Ae(()=>import("./tScXyioY.js"),[],import.meta.url)});We({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:()=>Ae(()=>import("./COWaemsV.js"),[],import.meta.url)});We({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:()=>Ae(()=>import("./Brw8urJB.js"),[],import.meta.url)});We({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:()=>Ae(()=>import("./8SOpv6rk.js"),[],import.meta.url)});We({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Ae(()=>import("./BKw5KoGy.js"),[],import.meta.url)});We({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:()=>Ae(()=>import("./Bw9ernYp.js"),[],import.meta.url)});We({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:()=>Ae(()=>import("./j7ic8hl3.js"),[],import.meta.url)});We({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:()=>Ae(()=>import("./CiIELmgj.js"),[],import.meta.url)});We({id:"redis",extensions:[".redis"],aliases:["redis"],loader:()=>Ae(()=>import("./Bu5POkcn.js"),[],import.meta.url)});We({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:()=>Ae(()=>import("./Bs9aos_-.js"),[],import.meta.url)});We({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:()=>Ae(()=>import("./CqXO7rUv.js"),[],import.meta.url)});We({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:()=>Ae(()=>import("./zBfavPgS.js"),[],import.meta.url)});We({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:()=>Ae(()=>import("./BzKRNQWT.js"),[],import.meta.url)});We({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:()=>Ae(()=>import("./BBc9UKZt.js"),[],import.meta.url)});We({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:()=>Ae(()=>import("./D9hQfWCl.js"),[],import.meta.url)});We({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:()=>Ae(()=>import("./BPhDTwHR.js"),[],import.meta.url)});We({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:()=>Ae(()=>import("./CBJaRo0y.js"),[],import.meta.url)});We({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:()=>Ae(()=>import("./DiJ1NA_G.js"),[],import.meta.url)});We({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:()=>Ae(()=>import("./Db0IVjzk.js"),[],import.meta.url)});We({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:()=>Ae(()=>import("./CnS9iZB_.js"),[],import.meta.url)});We({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:()=>Ae(()=>import("./CJmd_6j2.js"),[],import.meta.url)});We({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:()=>Ae(()=>import("./ClhHkBeG.js"),[],import.meta.url)});We({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib",".TcPOU",".TcDUT",".TcGVL",".TcIO"],aliases:["StructuredText","scl","stl"],loader:()=>Ae(()=>import("./CHwy0fLd.js"),[],import.meta.url)});We({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:()=>Ae(()=>import("./Bqt4WxQ4.js"),[],import.meta.url)});We({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:()=>Ae(()=>import("./Bs9z6M-B.js"),[],import.meta.url)});We({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:()=>Ae(()=>import("./Dm6ycUr_.js"),[],import.meta.url)});We({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:()=>Ae(()=>import("./Csy3S7wG.js"),[],import.meta.url)});We({id:"typescript",extensions:[".ts",".tsx",".cts",".mts"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:()=>Ae(()=>import("./B7dTLx8u.js"),[],import.meta.url)});We({id:"typespec",extensions:[".tsp"],aliases:["TypeSpec"],loader:()=>Ae(()=>import("./Btyra-wh.js"),[],import.meta.url)});We({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:()=>Ae(()=>import("./Db0cS2oM.js"),[],import.meta.url)});We({id:"wgsl",extensions:[".wgsl"],aliases:["WebGPU Shading Language","WGSL","wgsl"],loader:()=>Ae(()=>import("./DumH7NcR.js"),[],import.meta.url)});We({id:"xml",extensions:[".xml",".xsd",".dtd",".ascx",".csproj",".config",".props",".targets",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xslt",".xsl"],firstLine:"(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",aliases:["XML","xml"],mimetypes:["text/xml","application/xml","application/xaml+xml","application/xml-dtd"],loader:()=>Ae(()=>import("./3DAIKGff.js"),[],import.meta.url)});We({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:()=>Ae(()=>import("./DwA_Z_f6.js"),[],import.meta.url)});let Pz=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this.options}get options(){return this._options}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setDiagnosticsOptions(e){this.setOptions(e)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const Oz={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0},format:{newlineBetweenSelectors:!0,newlineBetweenRules:!0,spaceAroundSelectorSeparator:!1,braceStyle:"collapse",maxPreserveNewLines:void 0,preserveNewLines:!0}},Fz={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0,documentFormattingEdits:!0,documentRangeFormattingEdits:!0},Kae=new Pz("css",Oz,Fz),Gae=new Pz("scss",Oz,Fz),Zae=new Pz("less",Oz,Fz);function Wz(){return Ae(()=>import("./BK2lpqz4.js"),__vite__mapDeps([2,3,4]),import.meta.url)}Le.onLanguage("less",()=>{Wz().then(o=>o.setupMode(Zae))});Le.onLanguage("scss",()=>{Wz().then(o=>o.setupMode(Gae))});Le.onLanguage("css",()=>{Wz().then(o=>o.setupMode(Kae))});const YKe=Object.freeze(Object.defineProperty({__proto__:null,cssDefaults:Kae,lessDefaults:Zae,scssDefaults:Gae},Symbol.toStringTag,{value:"Module"}));let wUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get options(){return this._options}get modeConfiguration(){return this._modeConfiguration}setOptions(e){this._options=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const SUe={tabSize:4,insertSpaces:!1,wrapLineLength:120,unformatted:'default": "a, abbr, acronym, b, bdo, big, br, button, cite, code, dfn, em, i, img, input, kbd, label, map, object, q, samp, select, small, span, strong, sub, sup, textarea, tt, var',contentUnformatted:"pre",indentInnerHtml:!1,preserveNewLines:!0,maxPreserveNewLines:void 0,indentHandlebars:!1,endWithNewline:!1,extraLiners:"head, body, /html",wrapAttributes:"auto"},n2={format:SUe,suggest:{},data:{useDefaultDataProvider:!0}};function s2(o){return{completionItems:!0,hovers:!0,documentSymbols:!0,links:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,selectionRanges:!0,diagnostics:o===XS,documentFormattingEdits:o===XS,documentRangeFormattingEdits:o===XS}}const XS="html",zX="handlebars",UX="razor",Yae=o2(XS,n2,s2(XS)),yUe=Yae.defaults,Xae=o2(zX,n2,s2(zX)),xUe=Xae.defaults,Qae=o2(UX,n2,s2(UX)),LUe=Qae.defaults;function DUe(){return Ae(()=>import("./Cq2aackv.js"),__vite__mapDeps([5,3,4]),import.meta.url)}function o2(o,e=n2,t=s2(o)){const i=new wUe(o,e,t);let n;const s=Le.onLanguage(o,async()=>{n=(await DUe()).setupMode(i)});return{defaults:i,dispose(){s.dispose(),n?.dispose(),n=void 0}}}const QKe=Object.freeze(Object.defineProperty({__proto__:null,handlebarDefaults:xUe,handlebarLanguageService:Xae,htmlDefaults:yUe,htmlLanguageService:Yae,razorDefaults:LUe,razorLanguageService:Qae,registerHTMLLanguageService:o2},Symbol.toStringTag,{value:"Module"}));let kUe=class{constructor(e,t,i){this._onDidChange=new dw,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}get onDidChange(){return this._onDidChange.event}get languageId(){return this._languageId}get modeConfiguration(){return this._modeConfiguration}get diagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)}};const IUe={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},EUe={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},Jae=new kUe("json",IUe,EUe),TUe=()=>ele().then(o=>o.getWorker());function ele(){return Ae(()=>import("./txy0Txom.js"),__vite__mapDeps([6,3,4]),import.meta.url)}Le.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});Le.onLanguage("json",()=>{ele().then(o=>o.setupMode(Jae))});const eGe=Object.freeze(Object.defineProperty({__proto__:null,getWorker:TUe,jsonDefaults:Jae},Symbol.toStringTag,{value:"Module"})),NUe="5.9.3";var tle=(o=>(o[o.None=0]="None",o[o.CommonJS=1]="CommonJS",o[o.AMD=2]="AMD",o[o.UMD=3]="UMD",o[o.System=4]="System",o[o.ES2015=5]="ES2015",o[o.ESNext=99]="ESNext",o))(tle||{}),ile=(o=>(o[o.None=0]="None",o[o.Preserve=1]="Preserve",o[o.React=2]="React",o[o.ReactNative=3]="ReactNative",o[o.ReactJSX=4]="ReactJSX",o[o.ReactJSXDev=5]="ReactJSXDev",o))(ile||{}),nle=(o=>(o[o.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",o[o.LineFeed=1]="LineFeed",o))(nle||{}),sle=(o=>(o[o.ES3=0]="ES3",o[o.ES5=1]="ES5",o[o.ES2015=2]="ES2015",o[o.ES2016=3]="ES2016",o[o.ES2017=4]="ES2017",o[o.ES2018=5]="ES2018",o[o.ES2019=6]="ES2019",o[o.ES2020=7]="ES2020",o[o.ESNext=99]="ESNext",o[o.JSON=100]="JSON",o[o.Latest=99]="Latest",o))(sle||{}),ole=(o=>(o[o.Classic=1]="Classic",o[o.NodeJs=2]="NodeJs",o))(ole||{});class rle{constructor(e,t,i,n,s){this._onDidChange=new dw,this._onDidExtraLibsChange=new dw,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this.setModeConfiguration(s),this._onDidExtraLibsChangeTimeout=-1}get onDidChange(){return this._onDidChange.event}get onDidExtraLibsChange(){return this._onDidExtraLibsChange.event}get modeConfiguration(){return this._modeConfiguration}get workerOptions(){return this._workerOptions}get inlayHintsOptions(){return this._inlayHintsOptions}getExtraLibs(){return this._extraLibs}addExtraLib(e,t){let i;if(typeof t>"u"?i=`ts:extralib-${Math.random().toString(36).substring(2,15)}`:i=t,this._extraLibs[i]&&this._extraLibs[i].content===e)return{dispose:()=>{}};let n=1;return this._removedExtraLibs[i]&&(n=this._removedExtraLibs[i]+1),this._extraLibs[i]&&(n=this._extraLibs[i].version+1),this._extraLibs[i]={content:e,version:n},this._fireOnDidExtraLibsChangeSoon(),{dispose:()=>{let s=this._extraLibs[i];s&&s.version===n&&(delete this._extraLibs[i],this._removedExtraLibs[i]=n,this._fireOnDidExtraLibsChangeSoon())}}}setExtraLibs(e){for(const t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(const t of e){const i=t.filePath||`ts:extralib-${Math.random().toString(36).substring(2,15)}`,n=t.content;let s=1;this._removedExtraLibs[i]&&(s=this._removedExtraLibs[i]+1),this._extraLibs[i]={content:n,version:s}}this._fireOnDidExtraLibsChangeSoon()}_fireOnDidExtraLibsChangeSoon(){this._onDidExtraLibsChangeTimeout===-1&&(this._onDidExtraLibsChangeTimeout=window.setTimeout(()=>{this._onDidExtraLibsChangeTimeout=-1,this._onDidExtraLibsChange.fire(void 0)},0))}getCompilerOptions(){return this._compilerOptions}setCompilerOptions(e){this._compilerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}getDiagnosticsOptions(){return this._diagnosticsOptions}setDiagnosticsOptions(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setWorkerOptions(e){this._workerOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setInlayHintsOptions(e){this._inlayHintsOptions=e||Object.create(null),this._onDidChange.fire(void 0)}setMaximumWorkerIdleTime(e){}setEagerModelSync(e){this._eagerModelSync=e}getEagerModelSync(){return this._eagerModelSync}setModeConfiguration(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(void 0)}}const RUe=NUe,ale={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,diagnostics:!0,documentRangeFormattingEdits:!0,signatureHelp:!0,onTypeFormattingEdits:!0,codeActions:!0,inlayHints:!0},lle=new rle({allowNonTsExtensions:!0,target:99},{noSemanticValidation:!1,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),cle=new rle({allowNonTsExtensions:!0,allowJs:!0,target:99},{noSemanticValidation:!0,noSyntaxValidation:!1,onlyVisible:!1},{},{},ale),MUe=()=>r2().then(o=>o.getTypeScriptWorker()),AUe=()=>r2().then(o=>o.getJavaScriptWorker());function r2(){return Ae(()=>import("./71L4lHBq.js"),__vite__mapDeps([7,3]),import.meta.url)}Le.onLanguage("typescript",()=>r2().then(o=>o.setupTypeScript(lle)));Le.onLanguage("javascript",()=>r2().then(o=>o.setupJavaScript(cle)));const tGe=Object.freeze(Object.defineProperty({__proto__:null,JsxEmit:ile,ModuleKind:tle,ModuleResolutionKind:ole,NewLineKind:nle,ScriptTarget:sle,getJavaScriptWorker:AUe,getTypeScriptWorker:MUe,javascriptDefaults:cle,typescriptDefaults:lle,typescriptVersion:RUe},Symbol.toStringTag,{value:"Module"})),$X="__monacoFindWidgetTabIndexPatchApplied",I1="__monacoFindWidgetOriginalTabIndex";function jX(o,e){const t=o?._domNode;if(!t)return;const i=t.querySelectorAll('input, textarea, [tabindex], [role="button"], [role="checkbox"]');for(const n of i)if(n instanceof HTMLElement)if(e){if(!(I1 in n.dataset))continue;const s=n.dataset[I1];s===""?n.removeAttribute("tabindex"):n.tabIndex=Number(s),delete n.dataset[I1]}else I1 in n.dataset||(n.dataset[I1]=n.getAttribute("tabindex")??""),n.tabIndex=-1}if(!Kd[$X]){const o=Kd.prototype._reveal,e=Kd.prototype._hide;Kd.prototype._reveal=function(...t){o.apply(this,t),jX(this,!0)},Kd.prototype._hide=function(...t){e.apply(this,t),jX(this,!1)},Kd[$X]=!0}export{zKe as C,dw as E,ile as J,UKe as K,Gc as M,X_ as P,i2 as R,sle as S,KKe as T,yae as U,$Ke as a,DX as b,tle as c,ole as d,jKe as e,qKe as f,Kp as g,QKe as h,GKe as i,cle as j,eGe as k,Le as l,tGe as m,YKe as r,lle as t};
@@ -1,4 +1,4 @@
1
- import{n as E,o as l,b,s as x,d as dt,l as S,c as ct,_ as M,r as ut}from"./CIyUrgF0.js";import{Z as _}from"./CaxyE6o_.js";import{c as lt,a as mt}from"./DxwfiAWm.js";const L=E().finite().nonnegative(),Q=l({completedAtMs:L,samples:b(l({atMs:L,pointCount:E().int().min(0).max(2048),end:l({x:E().finite(),y:E().finite()}).strict()}).strict()).min(1).max(64)}).strict().refine(t=>t.samples.every((s,n)=>s.atMs<=t.completedAtMs&&(!n||s.atMs>=t.samples[n-1].atMs)),"Invalid gesture clock");function Vt(t,s,n){if(!s||n>=s.completedAtMs)return t;const i=[...s.samples].reverse().find(e=>e.atMs<=n);if(!i)return null;if(t.kind==="path")return i.pointCount?{kind:"path",points:t.points.slice(0,i.pointCount)}:null;if(t.kind==="arrow")return{kind:"arrow",from:t.from,to:i.end};if(t.kind==="rect"){const e=s.samples[0].end,a=Math.abs(i.end.x-e.x),r=Math.abs(i.end.y-e.y);return a>0&&r>0?{kind:"rect",x:Math.min(e.x,i.end.x),y:Math.min(e.y,i.end.y),w:a,h:r}:null}return t}const f=E().finite(),A=f.nonnegative(),R=E().int().nonnegative(),h=x().min(1).max(512),V=l({startMs:A,endMs:A}).strict().refine(t=>t.endMs>=t.startMs,"Reversed range"),z=l({x:f,y:f}).strict(),$=l({x:f,y:f,w:f.positive(),h:f.positive()}).strict(),ft=$.extend({id:h}),Wt=16,W=2,q=l({id:h,radius:f.positive().max(4096),points:b(z).min(1).max(4096)}).strict();function Zt(t){const s=t.points.map(a=>a.x),n=t.points.map(a=>a.y),i=Math.min(...s)-t.radius,e=Math.min(...n)-t.radius;return{x:i,y:e,w:Math.max(...s)+t.radius-i,h:Math.max(...n)+t.radius-e}}function Qt(t,s){return q.parse({...t,radius:t.radius*Math.max(Math.abs(s.scaleX),Math.abs(s.scaleY)),points:t.points.map(n=>({x:n.x*s.scaleX+s.offsetX,y:n.y*s.scaleY+s.offsetY}))})}const tt=dt("kind",[$.extend({kind:S("rect")}),l({kind:S("point"),x:f,y:f}).strict(),l({kind:S("path"),points:b(z).min(1).max(4096)}).strict(),l({kind:S("arrow"),from:z,to:z}).strict(),l({kind:S("text"),x:f,y:f,text:x().max(1e4),fontSize:f.positive(),style:S("sticky").optional(),width:f.positive().max(4096).optional(),padding:f.nonnegative().max(1024).optional()}).strict()]);function st(t){const s=t.fontSize*1.4,n=t.style==="sticky"?t.padding??8:0;if(t.style!=="sticky"){const r=t.text.split(`
1
+ import{n as E,o as l,b,s as x,d as dt,l as S,c as ct,_ as M,r as ut}from"./CIyUrgF0.js";import{Z as _}from"./Cx31i8ng.js";import{c as lt,a as mt}from"./DxwfiAWm.js";const L=E().finite().nonnegative(),Q=l({completedAtMs:L,samples:b(l({atMs:L,pointCount:E().int().min(0).max(2048),end:l({x:E().finite(),y:E().finite()}).strict()}).strict()).min(1).max(64)}).strict().refine(t=>t.samples.every((s,n)=>s.atMs<=t.completedAtMs&&(!n||s.atMs>=t.samples[n-1].atMs)),"Invalid gesture clock");function Vt(t,s,n){if(!s||n>=s.completedAtMs)return t;const i=[...s.samples].reverse().find(e=>e.atMs<=n);if(!i)return null;if(t.kind==="path")return i.pointCount?{kind:"path",points:t.points.slice(0,i.pointCount)}:null;if(t.kind==="arrow")return{kind:"arrow",from:t.from,to:i.end};if(t.kind==="rect"){const e=s.samples[0].end,a=Math.abs(i.end.x-e.x),r=Math.abs(i.end.y-e.y);return a>0&&r>0?{kind:"rect",x:Math.min(e.x,i.end.x),y:Math.min(e.y,i.end.y),w:a,h:r}:null}return t}const f=E().finite(),A=f.nonnegative(),R=E().int().nonnegative(),h=x().min(1).max(512),V=l({startMs:A,endMs:A}).strict().refine(t=>t.endMs>=t.startMs,"Reversed range"),z=l({x:f,y:f}).strict(),$=l({x:f,y:f,w:f.positive(),h:f.positive()}).strict(),ft=$.extend({id:h}),Wt=16,W=2,q=l({id:h,radius:f.positive().max(4096),points:b(z).min(1).max(4096)}).strict();function Zt(t){const s=t.points.map(a=>a.x),n=t.points.map(a=>a.y),i=Math.min(...s)-t.radius,e=Math.min(...n)-t.radius;return{x:i,y:e,w:Math.max(...s)+t.radius-i,h:Math.max(...n)+t.radius-e}}function Qt(t,s){return q.parse({...t,radius:t.radius*Math.max(Math.abs(s.scaleX),Math.abs(s.scaleY)),points:t.points.map(n=>({x:n.x*s.scaleX+s.offsetX,y:n.y*s.scaleY+s.offsetY}))})}const tt=dt("kind",[$.extend({kind:S("rect")}),l({kind:S("point"),x:f,y:f}).strict(),l({kind:S("path"),points:b(z).min(1).max(4096)}).strict(),l({kind:S("arrow"),from:z,to:z}).strict(),l({kind:S("text"),x:f,y:f,text:x().max(1e4),fontSize:f.positive(),style:S("sticky").optional(),width:f.positive().max(4096).optional(),padding:f.nonnegative().max(1024).optional()}).strict()]);function st(t){const s=t.fontSize*1.4,n=t.style==="sticky"?t.padding??8:0;if(t.style!=="sticky"){const r=t.text.split(`
2
2
  `);return{lines:r,width:Math.max(1,...r.map(d=>d.length))*t.fontSize*.65,height:r.length*s,padding:n,lineHeight:s}}const i=Math.max(n*2+1,t.width??240),e=Math.max(1,Math.floor((i-n*2)/(t.fontSize*.65))),a=[];for(const r of t.text.split(`
3
3
  `)){let d=r;for(;d.length>e;){const c=d.lastIndexOf(" ",e),u=c>0?c:e;a.push(d.slice(0,u).trimEnd()),d=d.slice(u).trimStart()}a.push(d)}return{lines:a,width:i,height:a.length*s+n*2,padding:n,lineHeight:s}}function qt(t,s){const n=st(t),i=tt.parse({...t,x:t.x*s.scaleX+s.offsetX,y:t.y*s.scaleY+s.offsetY,fontSize:t.fontSize*Math.abs(s.scaleY),...t.style==="sticky"?{width:n.width*Math.abs(s.scaleX),padding:n.padding*Math.min(Math.abs(s.scaleX),Math.abs(s.scaleY))}:{}});if(i.kind!=="text")throw new Error("invalid-text-transform");return i}const U=l({gestureProgress:Q.optional(),id:h,atMs:A,batchId:h,source:M(["recording","editor"]),kind:M(["click","box","draw","arrow","element","text"]),included:ct(),geometry:tt,label:x().max(2048),note:x().max(2e4),context:l({selector:x().max(8192).nullable(),text:x().max(2e4).nullable(),url:x().max(8192).nullable()}).strict()}).strict(),pt=l({id:h,atMs:A,clearAtMs:A.nullable()}).strict().refine(t=>t.clearAtMs===null||t.clearAtMs>=t.atMs,"Reversed batch"),ht=l({mode:M(["fullscreen","window","region"]),frame:l({displayId:E().int(),rect:$,coordinateSpace:S("screen-points-top-left")}).strict().nullable()}).strict(),j=l({id:h,revision:R,kind:M(["recording","screenshot"]),capture:ht.optional(),attachmentId:h,path:x().refine(t=>t.startsWith(".intent/attachments/")&&!/[\\\x00]/.test(t)&&!t.split("/").some(s=>!s||s==="."||s===".."),"Invalid attachment path"),durationMs:A,width:f.positive(),height:f.positive(),audio:M(["available","none","unknown"]),batches:b(pt).max(1e4),visuals:M(["clean","baked-marks"]),capturedMarks:b(U).max(1e4).optional(),bakedMarks:b(U).max(1e4).optional()}).strict().superRefine((t,s)=>{for(const n of t.capturedMarks??[]){const i=n.gestureProgress;i&&(t.kind!=="recording"||i.completedAtMs>t.durationMs||i.samples.some(e=>e.atMs<n.atMs||n.geometry.kind==="path"&&e.pointCount>n.geometry.points.length))&&s.addIssue({code:_.custom,path:["capturedMarks"],message:"Gesture timing does not match the recording"})}t.kind==="recording"&&t.durationMs<=0&&s.addIssue({code:_.custom,path:["durationMs"],message:"Recording duration is missing"})}),Mt=l({status:M(["pending","ready","no-speech","unavailable","failed"]),revision:R,words:b(l({id:h,text:x().max(2e4),startMs:A.nullable(),endMs:A.nullable(),alignment:M(["word","segment","untimed"])}).strict().superRefine((t,s)=>{(t.startMs===null!=(t.endMs===null)||t.startMs!==null&&t.endMs!==null&&t.endMs<t.startMs)&&s.addIssue({code:_.custom,message:"Incomplete or reversed recognition timing"}),t.alignment!=="untimed"&&(t.startMs===null||t.endMs===null)&&s.addIssue({code:_.custom,message:"Timed recognition units require genuine timestamps"}),t.alignment==="untimed"&&t.startMs!==null&&s.addIssue({code:_.custom,message:"Untimed text cannot claim timestamps"})})).max(2e5),error:x().max(2048).optional()}).strict();l({video:M(["full","highlights"]),voice:M(["audio","transcript","off"])}).strict();const G=l({version:S(1),kind:M(["recording","screenshot"]),sourceId:h,sourceRevision:R,revision:R,trim:V,cuts:b(V).max(1e4),marks:b(U).max(1e4),blurRegions:b(ft).max(1e3),blurStrokes:b(q).max(1e3).optional(),crop:$.nullable(),video:M(["full","highlights"]),voice:M(["audio","transcript","off"]),wordEdits:ut(x(),x().max(2e4))}).strict().superRefine((t,s)=>{const n=new Set;for(const i of t.marks)n.has(i.id)&&s.addIssue({code:_.custom,path:["marks"],message:"Duplicate mark identity"}),n.add(i.id)}),kt=l({openId:h,outputVersion:S(W).optional(),sourceId:h,sourceRevision:R,pair:l({workspaceId:h,agentId:h}).strict(),expectedEditRevision:R,edit:G,replacement:l({candidateToken:h,source:j}).strict().optional()}).strict().refine(t=>!(t.edit.blurStrokes?.length||t.edit.marks.some(s=>s.geometry.kind==="text"&&s.geometry.style==="sticky"))||t.outputVersion===W,"This edit requires an admitted output version");function X(t){const s=t.filter(i=>Number.isFinite(i.startMs)&&Number.isFinite(i.endMs)&&i.endMs>i.startMs).map(i=>({...i})).sort((i,e)=>i.startMs-e.startMs),n=[];for(const i of s){const e=n.at(-1);e&&i.startMs<=e.endMs?e.endMs=Math.max(e.endMs,i.endMs):n.push(i)}return n}function K(t,s){let n=X(t);for(const i of X(s))n=n.flatMap(e=>i.endMs<=e.startMs||i.startMs>=e.endMs?[e]:[...i.startMs>e.startMs?[{startMs:e.startMs,endMs:i.startMs}]:[],...i.endMs<e.endMs?[{startMs:i.endMs,endMs:e.endMs}]:[]]);return n}function Y(t,s,n){const i=t===n?Math.max(0,t-.001):t;return s.some(e=>i>=e.startMs&&i<e.endMs)}const N=6;function xt(t){if(t.kind==="point")return{x:t.x-N,y:t.y-N,w:N*2,h:N*2};if(t.kind==="rect")return{x:t.x,y:t.y,w:t.w,h:t.h};if(t.kind==="text"){const e=st(t);return{x:t.x,y:t.y,w:e.width,h:e.height}}const s=t.kind==="path"?t.points:[t.from,t.to],n=Math.min(...s.map(e=>e.x)),i=Math.min(...s.map(e=>e.y));return{x:n,y:i,w:Math.max(1,Math.max(...s.map(e=>e.x))-n),h:Math.max(1,Math.max(...s.map(e=>e.y))-i)}}function gt(t,s){if(!s)return!1;const n=xt(t.geometry);return n.x+n.w<s.x||n.x>s.x+s.w||n.y+n.h<s.y||n.y>s.y+s.h}function It(t){const s=K([t.trim],t.cuts);return t.marks.some(n=>n.included&&Y(n.atMs,s,t.trim.endMs))}function ts(t){return t.visuals==="clean"}function ss(t,s){const n=t.kind==="recording",i=s?.status==="ready";return{audio:{enabled:n&&t.audio==="available",reason:t.audio==="available"?null:"audio-unavailable"},transcript:{enabled:n&&i,reason:i?null:s?.status==="pending"?"transcript-pending":"transcript-unavailable"},off:{enabled:!0,reason:null}}}function ns(t,s,n,i=null){const e={version:1,kind:t.kind,sourceId:t.id,sourceRevision:t.revision,revision:0,trim:{startMs:0,endMs:t.durationMs},cuts:[],marks:structuredClone([...s]),blurRegions:[],blurStrokes:[],crop:null,video:i?.video??"highlights",voice:i?.voice??"transcript",wordEdits:{}};return t.kind==="screenshot"?(e.video="full",e.voice="off",e):(It(e)||(e.video="full"),(t.audio==="none"||n?.status==="no-speech"||e.voice==="audio"&&t.audio!=="available")&&(e.voice="off"),e)}function yt(t,s,n,i,e){const a=[],r=t.cuts.length>0||t.trim.startMs>0||t.trim.endMs<s.durationMs;if(!r&&n.words.some(o=>{const m=t.wordEdits[o.id]??o.text;return/^[\s\p{P}]*$/u.test(m)&&/^[\s\p{P}]*$/u.test(o.text)?!1:o.startMs===null||o.endMs===null||o.startMs<s.durationMs&&o.endMs>s.durationMs})){const o=[];let m=!1;for(const y of n.words){const D=t.wordEdits[y.id]??y.text;if(!D.trim()){y.text.trim()&&(m=!1);continue}/^[\s\p{P}]*$/u.test(D)?m&&(o[o.length-1]+=D.trim()):(o.push(D.trim()),m=!0)}const v=[...i].sort((y,D)=>y.mark.atMs-D.mark.atMs||y.n-D.n).map(({n:y,mark:D})=>`[mark ${y}: ${D.label||D.kind}]`).join(`
4
4
  `);return{text:[o.join(" ").replace(/[^\S\n]+/g," ").trim(),v].filter(Boolean).join(`
@@ -1 +1 @@
1
- import{t as St,br as x,bz as Rt,bt as wt,b as It,bv as g}from"./DTQYcznv.js";import{bs as Pt,ca as I,aD as t,c9 as s,bn as kt,bH as z,bV as M,aA as F}from"./DYhIMPy1.js";import{b as vt}from"./BaIAhI85.js";import{Iz as l,et as Ut,eu as At,sr as Bt,nY as xt,nZ as Ft,J4 as Lt,Jl as Tt,J9 as _t,o1 as L}from"./A0r9TbR7.js";import{b7 as Dt}from"./Dlag9Uxb.js";import{g as Wt}from"./DfN8_dcw.js";import{dr as Et,bA as Gt,bC as zt,bz as Mt,bE as Vt,c$ as Nt,f as Ht}from"./B0biUQQF.js";import{C as Jt}from"./6Zmm5CZL.js";import{V as qt}from"./DU8kuP6M.js";import{bR as Yt,bL as Zt,b6 as jt}from"./Ds3Wirif.js";import{i as T,n as V}from"./H2jLkRRS.js";import{af as Kt}from"./DFF9daPQ.js";function Ot(_,$){if(new.target)return St({component:Ot,..._});Pt($,!0);const N=()=>g(at,"$gitRoots$",c),y=()=>g(ot,"$workspace",c),H=()=>g(nt,"$ftCommits$",c),J=()=>g(lt,"$rootGitRoots$",c),b=()=>g(st,"$ftChanges$",c),q=()=>g(tt,"$foldUnchanged",c),Y=()=>g(X,"$lineWrapping",c),Z=()=>g(et,"$diffSideBySide",c),j=()=>g(rt,"$ftLoading$",c),K=()=>g(it,"$ftBoundarySha$",c),[c,O]=wt(),Q=o=>{qt(o,{embedded:!0,showExpand:!0,get expanded(){return t(R)},onToggleExpand:()=>{z(R,!t(R)),t(R)?t(w)?.expandAll():t(w)?.collapseAll()},get foldEnabled(){return q()},onToggleFold:()=>l.dispatch(_t()),get wrapEnabled(){return Y()},onToggleWrap:()=>l.dispatch(Tt()),get splitEnabled(){return Z()},onToggleSplit:()=>l.dispatch(Lt())})},X=Yt(),tt=Zt(),et=jt();let P=x($,"tab",7),m=x($,"workspaceId",7),C=x($,"isActive",7);const D=Wt(),p=Dt(()=>m()),ot=Et(p);I(()=>{const o=m();if(!(!C()||!o||t(n)))return l.dispatch(Ut(o,"all")),()=>l.dispatch(At(o,"all"))});const n=s(()=>P().data?.gitRootId||""),at=Kt(p),S=s(()=>N().find(o=>o.id===t(n))),h=s(()=>y()?.worktreePath||y()?.repositoryPath||""),k=s(()=>t(S)?.path||t(h)),st=Gt(p),nt=zt(p),it=Mt(p),rt=Vt(p),dt=s(()=>H()||[]),lt=Nt(p),f=s(()=>J()[t(n)]??Ht),ct=s(()=>t(f).status),gt=s(()=>t(f).loading),mt=s(()=>t(f).commitFiles),ut=s(()=>{const o=t(S)?.registeredCommitSha,i=o?t(f).commits.findIndex(e=>e.hash===o):-1;return i>=0?t(f).commits.slice(0,i):t(f).commits});I(()=>{const o=m(),i=t(n);o&&i&&l.dispatch(Bt(o,i,t(S)?.registeredCommitSha,100))});let R=M(!0),w=M(null);const pt=s(()=>{if(t(n))return[...(t(ct)?.files??[]).map(e=>({filePath:`${t(k)}/${e.path}`,action:"modify",additions:e.additions??0,deletions:e.deletions??0,toolName:"local",toolCallId:`root-${t(n)}-${e.staged}-${e.path}`,staged:e.staged,category:e.staged?"staged":"unstaged"})),...t(ut).flatMap(e=>(t(mt)[e.hash]??[]).map(a=>({filePath:`${t(k)}/${a.path}`,action:"modify",additions:a.additions??0,deletions:a.deletions??0,toolName:"local",toolCallId:`root-commit-${e.hash}-${a.path}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message})))];const o=b().filter(e=>e.stage==="unstaged"),i=b().filter(e=>e.stage==="staged");return[...o.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-unstaged-${r}`,staged:!1,category:"unstaged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...i.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-staged-${r}`,staged:!0,category:"staged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...t(dt).flatMap(e=>(e.files||[]).map(a=>{const r=typeof a=="string"?a:a.path||"",U=r&&T(r)?r:`${t(h)}/${r}`,A=typeof a=="string"?0:a.additions||0,B=typeof a=="string"?0:a.deletions||0;return{filePath:U,action:"modify",additions:A,deletions:B,toolName:"local",toolCallId:`commit-${e.hash}-${r}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message}}))]});function v(o){if(!t(h))return o;const i=V(o),e=V(t(h));return i.startsWith(`${e}/`)?i.slice(e.length+1):o}function W(o){l.dispatch(L(m(),crypto.randomUUID(),{kind:"stage",paths:o.map(v),source:"localChanges"}))}function E(o){l.dispatch(L(m(),crypto.randomUUID(),{kind:"unstage",paths:o.map(v),source:"localChanges"}))}function ht(o){l.dispatch(L(m(),crypto.randomUUID(),{kind:"discard",paths:o.map(v),source:"localChanges"}))}I(()=>{!D||!C()||D.registerActions({display:Q})});const G=crypto.randomUUID();I(()=>{const o=m();if(!(!(C()&&t(n))||!o))return l.dispatch(xt(o,G)),()=>l.dispatch(Ft(o,G))});var ft={get tab(){return P()},set tab(o){P(o),F()},get workspaceId(){return m()},set workspaceId(o){m(o),F()},get isActive(){return C()},set isActive(o){C(o),F()},$set:Rt,$on:(o,i)=>It($,o,i)};{let o=s(()=>t(n)?t(gt):j()),i=s(()=>t(n)||void 0),e=s(()=>t(n)?t(k):void 0),a=s(()=>y()?.baseRef??null),r=s(()=>t(n)?t(S)?.registeredCommitSha||null:K()||y()?.baseCommitSha||null),U=s(()=>!t(n)),A=s(()=>t(n)?void 0:d=>void W([d])),B=s(()=>t(n)?void 0:d=>void E([d])),Ct=s(()=>t(n)?void 0:d=>void ht([d])),yt=s(()=>t(n)?void 0:()=>{const d=b().filter(u=>u.stage==="unstaged");W(d.map(u=>u.relativePath||u.file))}),bt=s(()=>t(n)?void 0:()=>{const d=b().filter(u=>u.stage==="staged");E(d.map(u=>u.relativePath||u.file))});vt(Jt(_,{get isLoading(){return t(o)},get changes(){return t(pt)},get gitRootId(){return t(i)},get gitRootPath(){return t(e)},get branchBaseRef(){return t(a)},get branchBaseCommitSha(){return t(r)},get showStagingControls(){return t(U)},showCategoryFilter:!0,get onStage(){return t(A)},get onUnstage(){return t(B)},get onRevert(){return t(Ct)},get onStageAll(){return t(yt)},get onUnstageAll(){return t(bt)}}),d=>z(w,d,!0),()=>t(w))}var $t=kt(ft);return O(),$t}export{Ot as default};
1
+ import{t as St,bq as x,by as Rt,bs as wt,b as It,bu as g}from"./D9jYN6_J.js";import{bs as Pt,ca as I,aD as t,c9 as s,bn as kt,bH as M,bV as V,aA as F}from"./DYhIMPy1.js";import{b as vt}from"./BaIAhI85.js";import{Iz as l,et as Ut,eu as At,sr as Bt,nY as xt,nZ as Ft,J4 as Lt,Jl as Tt,J9 as _t,o1 as L}from"./BfbZn9QX.js";import{b7 as Dt}from"./B79pUPc3.js";import{g as Wt}from"./DfN8_dcw.js";import{dr as Et,bA as Gt,bC as Mt,bz as Vt,bE as zt,c$ as Nt,f as Ht}from"./asQ_ruFQ.js";import{C as Jt}from"./3as4gwP9.js";import{V as qt}from"./zGl9gaL0.js";import{bR as Yt,bL as Zt,b6 as jt}from"./ChNPgGKQ.js";import{i as T,n as z}from"./H2jLkRRS.js";import{af as Kt}from"./DOPeTAKk.js";function Ot(_,$){if(new.target)return St({component:Ot,..._});Pt($,!0);const N=()=>g(at,"$gitRoots$",c),y=()=>g(ot,"$workspace",c),H=()=>g(nt,"$ftCommits$",c),J=()=>g(lt,"$rootGitRoots$",c),b=()=>g(st,"$ftChanges$",c),q=()=>g(tt,"$foldUnchanged",c),Y=()=>g(X,"$lineWrapping",c),Z=()=>g(et,"$diffSideBySide",c),j=()=>g(rt,"$ftLoading$",c),K=()=>g(it,"$ftBoundarySha$",c),[c,O]=wt(),Q=o=>{qt(o,{embedded:!0,showExpand:!0,get expanded(){return t(R)},onToggleExpand:()=>{M(R,!t(R)),t(R)?t(w)?.expandAll():t(w)?.collapseAll()},get foldEnabled(){return q()},onToggleFold:()=>l.dispatch(_t()),get wrapEnabled(){return Y()},onToggleWrap:()=>l.dispatch(Tt()),get splitEnabled(){return Z()},onToggleSplit:()=>l.dispatch(Lt())})},X=Yt(),tt=Zt(),et=jt();let P=x($,"tab",7),m=x($,"workspaceId",7),C=x($,"isActive",7);const D=Wt(),p=Dt(()=>m()),ot=Et(p);I(()=>{const o=m();if(!(!C()||!o||t(n)))return l.dispatch(Ut(o,"all")),()=>l.dispatch(At(o,"all"))});const n=s(()=>P().data?.gitRootId||""),at=Kt(p),S=s(()=>N().find(o=>o.id===t(n))),h=s(()=>y()?.worktreePath||y()?.repositoryPath||""),k=s(()=>t(S)?.path||t(h)),st=Gt(p),nt=Mt(p),it=Vt(p),rt=zt(p),dt=s(()=>H()||[]),lt=Nt(p),f=s(()=>J()[t(n)]??Ht),ct=s(()=>t(f).status),gt=s(()=>t(f).loading),mt=s(()=>t(f).commitFiles),ut=s(()=>{const o=t(S)?.registeredCommitSha,i=o?t(f).commits.findIndex(e=>e.hash===o):-1;return i>=0?t(f).commits.slice(0,i):t(f).commits});I(()=>{const o=m(),i=t(n);o&&i&&l.dispatch(Bt(o,i,t(S)?.registeredCommitSha,100))});let R=V(!0),w=V(null);const pt=s(()=>{if(t(n))return[...(t(ct)?.files??[]).map(e=>({filePath:`${t(k)}/${e.path}`,action:"modify",additions:e.additions??0,deletions:e.deletions??0,toolName:"local",toolCallId:`root-${t(n)}-${e.staged}-${e.path}`,staged:e.staged,category:e.staged?"staged":"unstaged"})),...t(ut).flatMap(e=>(t(mt)[e.hash]??[]).map(a=>({filePath:`${t(k)}/${a.path}`,action:"modify",additions:a.additions??0,deletions:a.deletions??0,toolName:"local",toolCallId:`root-commit-${e.hash}-${a.path}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message})))];const o=b().filter(e=>e.stage==="unstaged"),i=b().filter(e=>e.stage==="staged");return[...o.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-unstaged-${r}`,staged:!1,category:"unstaged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...i.map(e=>{const a=e.file||e.relativePath,r=a&&T(a)?a:`${t(h)}/${a}`;return{filePath:r,action:"modify",additions:e.stats?.additions||0,deletions:e.stats?.deletions||0,toolName:"local",toolCallId:`local-staged-${r}`,staged:!0,category:"staged",oldContent:e.content?.oldContent,newContent:e.content?.newContent,gitlink:e.gitlink}}),...t(dt).flatMap(e=>(e.files||[]).map(a=>{const r=typeof a=="string"?a:a.path||"",U=r&&T(r)?r:`${t(h)}/${r}`,A=typeof a=="string"?0:a.additions||0,B=typeof a=="string"?0:a.deletions||0;return{filePath:U,action:"modify",additions:A,deletions:B,toolName:"local",toolCallId:`commit-${e.hash}-${r}`,staged:!1,category:"committed",commitHash:e.hash,commitMessage:e.message}}))]});function v(o){if(!t(h))return o;const i=z(o),e=z(t(h));return i.startsWith(`${e}/`)?i.slice(e.length+1):o}function W(o){l.dispatch(L(m(),crypto.randomUUID(),{kind:"stage",paths:o.map(v),source:"localChanges"}))}function E(o){l.dispatch(L(m(),crypto.randomUUID(),{kind:"unstage",paths:o.map(v),source:"localChanges"}))}function ht(o){l.dispatch(L(m(),crypto.randomUUID(),{kind:"discard",paths:o.map(v),source:"localChanges"}))}I(()=>{!D||!C()||D.registerActions({display:Q})});const G=crypto.randomUUID();I(()=>{const o=m();if(!(!(C()&&t(n))||!o))return l.dispatch(xt(o,G)),()=>l.dispatch(Ft(o,G))});var ft={get tab(){return P()},set tab(o){P(o),F()},get workspaceId(){return m()},set workspaceId(o){m(o),F()},get isActive(){return C()},set isActive(o){C(o),F()},$set:Rt,$on:(o,i)=>It($,o,i)};{let o=s(()=>t(n)?t(gt):j()),i=s(()=>t(n)||void 0),e=s(()=>t(n)?t(k):void 0),a=s(()=>y()?.baseRef??null),r=s(()=>t(n)?t(S)?.registeredCommitSha||null:K()||y()?.baseCommitSha||null),U=s(()=>!t(n)),A=s(()=>t(n)?void 0:d=>void W([d])),B=s(()=>t(n)?void 0:d=>void E([d])),Ct=s(()=>t(n)?void 0:d=>void ht([d])),yt=s(()=>t(n)?void 0:()=>{const d=b().filter(u=>u.stage==="unstaged");W(d.map(u=>u.relativePath||u.file))}),bt=s(()=>t(n)?void 0:()=>{const d=b().filter(u=>u.stage==="staged");E(d.map(u=>u.relativePath||u.file))});vt(Jt(_,{get isLoading(){return t(o)},get changes(){return t(pt)},get gitRootId(){return t(i)},get gitRootPath(){return t(e)},get branchBaseRef(){return t(a)},get branchBaseCommitSha(){return t(r)},get showStagingControls(){return t(U)},showCategoryFilter:!0,get onStage(){return t(A)},get onUnstage(){return t(B)},get onRevert(){return t(Ct)},get onStageAll(){return t(yt)},get onUnstageAll(){return t(bt)}}),d=>M(w,d,!0),()=>t(w))}var $t=kt(ft);return O(),$t}export{Ot as default};