@intent-hq/web 2.312.0 → 2.313.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 (265) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{B2aHvKzW.js → -URcs0EB.js} +2 -2
  3. package/web/app/immutable/chunks/{BVEbTxE_.js → 04XFWhBd.js} +1 -1
  4. package/web/app/immutable/chunks/{C46TnD1H.js → 19F8thw1.js} +1 -1
  5. package/web/app/immutable/chunks/{bcv2TMVC.js → 28aV1Wzl.js} +1 -1
  6. package/web/app/immutable/chunks/{C6_fF-vn.js → 2O2vJlPl.js} +1 -1
  7. package/web/app/immutable/chunks/{lGuvxH0P.js → 2bp47GFs.js} +1 -1
  8. package/web/app/immutable/chunks/{DiN36N-2.js → 2g3BKwo_.js} +2 -2
  9. package/web/app/immutable/chunks/2zKcFAvZ.js +1 -0
  10. package/web/app/immutable/chunks/3V4Tx4nH.js +1 -0
  11. package/web/app/immutable/chunks/{DMiVWfnj.js → 4CMzT_BI.js} +1 -1
  12. package/web/app/immutable/chunks/{DFo_icpD.js → 6uLD17LP.js} +1 -1
  13. package/web/app/immutable/chunks/{onlOqkEU.js → 77JHYRqp.js} +22 -22
  14. package/web/app/immutable/chunks/{Ddfj4iOJ.js → 7IyNIHph.js} +1 -1
  15. package/web/app/immutable/chunks/{CiN55CeC.js → 7ZJvg7ev.js} +1 -1
  16. package/web/app/immutable/chunks/{B63GdhMJ.js → 992RyGqf.js} +1 -1
  17. package/web/app/immutable/chunks/{ChqSx7V8.js → 9sI_nbHm.js} +1 -1
  18. package/web/app/immutable/chunks/{BDPd3Gxs.js → AGSVFpXc.js} +1 -1
  19. package/web/app/immutable/chunks/{B1Yylqx8.js → B-agcRbG.js} +1 -1
  20. package/web/app/immutable/chunks/{Dwxm4mRs.js → B-rSL5ZP.js} +2 -2
  21. package/web/app/immutable/chunks/{D25S3m8c.js → B-xGvc_0.js} +1 -1
  22. package/web/app/immutable/chunks/{DB5R3D7Y.js → B0qtRhuw.js} +1 -1
  23. package/web/app/immutable/chunks/{BnAX9yTi.js → B1Rrvp0b.js} +1 -1
  24. package/web/app/immutable/chunks/{LnbsKux_.js → B2RRuLl5.js} +1 -1
  25. package/web/app/immutable/chunks/{8ZUxx0Co.js → B3nB6DWs.js} +1 -1
  26. package/web/app/immutable/chunks/{CWKTWYM7.js → B6mHy78M.js} +1 -1
  27. package/web/app/immutable/chunks/{Yu0gam1U.js → B6oQfzis.js} +1 -1
  28. package/web/app/immutable/chunks/{CLevwIvK.js → B7-651e2.js} +1 -1
  29. package/web/app/immutable/chunks/{Co6qQZL7.js → B721JIop.js} +2 -2
  30. package/web/app/immutable/chunks/{BXmFIcIP.js → B8VhjfbW.js} +1 -1
  31. package/web/app/immutable/chunks/{Z5fbCd-X.js → B9F8nd-t.js} +4 -4
  32. package/web/app/immutable/chunks/{CddrLe5o.js → B9pAuhbK.js} +1 -1
  33. package/web/app/immutable/chunks/{BqddjWz6.js → BAQDI3wv.js} +1 -1
  34. package/web/app/immutable/chunks/BAqR9jtB.js +1 -0
  35. package/web/app/immutable/chunks/{ZjB_ER6s.js → BBRz8JFJ.js} +1 -1
  36. package/web/app/immutable/chunks/{li27w4Od.js → BCDWZbwh.js} +1 -1
  37. package/web/app/immutable/chunks/{B195Jf7v.js → BCoW5DN6.js} +3 -3
  38. package/web/app/immutable/chunks/{CVVkCR3K.js → BDGDJyji.js} +1 -1
  39. package/web/app/immutable/chunks/{C6AEaqMK.js → BDICjj7k.js} +1 -1
  40. package/web/app/immutable/chunks/{DGjSXQQ8.js → BDXCy3lH.js} +1 -1
  41. package/web/app/immutable/chunks/{htWd8PdL.js → BE-b7v7R.js} +1 -1
  42. package/web/app/immutable/chunks/{BlvwJgNV.js → BEVpCf6b.js} +1 -1
  43. package/web/app/immutable/chunks/{DaUwNiAB.js → BFETMHTz.js} +3 -3
  44. package/web/app/immutable/chunks/{uxsR8mHg.js → BFpzDysH.js} +1 -1
  45. package/web/app/immutable/chunks/{-g2yD8nW.js → BGGxKX5q.js} +1 -1
  46. package/web/app/immutable/chunks/{CcoNUQ4q.js → BGYaMCAp.js} +1 -1
  47. package/web/app/immutable/chunks/{B1fMeJph.js → BHqHNrOT.js} +1 -1
  48. package/web/app/immutable/chunks/{CpLMWsmF.js → BKTydVIY.js} +1 -1
  49. package/web/app/immutable/chunks/{BJ9Pk-Qc.js → BLDT4lze.js} +1 -1
  50. package/web/app/immutable/chunks/{BlzuC8vd.js → BM7ZHc1t.js} +2 -2
  51. package/web/app/immutable/chunks/{Cu9hF6Lj.js → BMkc6ng0.js} +1 -1
  52. package/web/app/immutable/chunks/{66T_vlm_.js → BN6Sv1MY.js} +1 -1
  53. package/web/app/immutable/chunks/{C8M-Eryf.js → BNHRvqeQ.js} +1 -1
  54. package/web/app/immutable/chunks/{BY5CEwGM.js → BNasdn-P.js} +1 -1
  55. package/web/app/immutable/chunks/{DU64vtBR.js → BPk16bSc.js} +1 -1
  56. package/web/app/immutable/chunks/{Dm_KenRX.js → BQFqw3YD.js} +1 -1
  57. package/web/app/immutable/chunks/{Bk-q0J3W.js → BR8jrnEs.js} +1 -1
  58. package/web/app/immutable/chunks/{CcnOA9dj.js → BRNfUSNR.js} +1 -1
  59. package/web/app/immutable/chunks/{DaA44xVk.js → BSwWMzab.js} +5 -5
  60. package/web/app/immutable/chunks/{B1LFg8Ni.js → BUjtm23k.js} +1 -1
  61. package/web/app/immutable/chunks/{K1Aj4aiz.js → BVkJyN1U.js} +2 -2
  62. package/web/app/immutable/chunks/{DEA2ISnw.js → BXMFG8vW.js} +1 -1
  63. package/web/app/immutable/chunks/{CmZ4R63v.js → BZ90Gl9e.js} +1 -1
  64. package/web/app/immutable/chunks/{qCTbBtmS.js → B_CpN824.js} +1 -1
  65. package/web/app/immutable/chunks/{D6Tu0KcL.js → B_ifqSee.js} +6 -6
  66. package/web/app/immutable/chunks/{3xBR6H3M.js → BaWcyleE.js} +1 -1
  67. package/web/app/immutable/chunks/{DNPjjQTW.js → Bc-8qHYh.js} +1 -1
  68. package/web/app/immutable/chunks/{Bg-wwj8e.js → Bc2zOKbx.js} +1 -1
  69. package/web/app/immutable/chunks/{wFaVm_je.js → BcVu_y1Z.js} +1 -1
  70. package/web/app/immutable/chunks/{Db_s6atq.js → BdetxH0g.js} +1 -1
  71. package/web/app/immutable/chunks/{Bgo6QmNg.js → Bf1tCDQg.js} +1 -1
  72. package/web/app/immutable/chunks/{Cts5KPIk.js → BfxxnTgV.js} +1 -1
  73. package/web/app/immutable/chunks/{0BDej8J9.js → BgUzpkp7.js} +1 -1
  74. package/web/app/immutable/chunks/{D728aNnl.js → BgyuoEGq.js} +1 -1
  75. package/web/app/immutable/chunks/{BUhKOoKe.js → BiMGZT5w.js} +2 -2
  76. package/web/app/immutable/chunks/BkKnMUvE.js +1 -0
  77. package/web/app/immutable/chunks/{Brz_LsyP.js → Bl_iEh1f.js} +1 -1
  78. package/web/app/immutable/chunks/{CFKI_75v.js → BlfjnWuH.js} +3 -3
  79. package/web/app/immutable/chunks/{B4eSJ_b5.js → Bops7MsY.js} +29 -29
  80. package/web/app/immutable/chunks/{RGxIilBQ.js → Bpy6Muvw.js} +4 -4
  81. package/web/app/immutable/chunks/Br5d6l04.js +1 -0
  82. package/web/app/immutable/chunks/{DHQetc-m.js → BtAYzBSd.js} +1 -1
  83. package/web/app/immutable/chunks/{Bj1XwsOw.js → Bvq2wF7r.js} +7 -7
  84. package/web/app/immutable/chunks/{cLppJexf.js → BwK5Bace.js} +1 -1
  85. package/web/app/immutable/chunks/{CwAr2bfc.js → BxiJOwnz.js} +1 -1
  86. package/web/app/immutable/chunks/{Civ86Ers.js → C0VJEx2v.js} +1 -1
  87. package/web/app/immutable/chunks/{BUJT8nbP.js → C11wqToa.js} +1 -1
  88. package/web/app/immutable/chunks/{D8Iqos3S.js → C1XicA-w.js} +1 -1
  89. package/web/app/immutable/chunks/{B95izTqM.js → C2L4VLjE.js} +1 -1
  90. package/web/app/immutable/chunks/C3X16aYc.js +1 -0
  91. package/web/app/immutable/chunks/{YdCQJnUj.js → C48G3Oh4.js} +1 -1
  92. package/web/app/immutable/chunks/{DwCiT34L.js → C4XQStEU.js} +1 -1
  93. package/web/app/immutable/chunks/{Q3Bjy5v7.js → C58wlt4Q.js} +2 -2
  94. package/web/app/immutable/chunks/{B6tJ7e7m.js → C5EEwI0-.js} +2 -2
  95. package/web/app/immutable/chunks/{CKcLU7Ix.js → C5Nz-crT.js} +1 -1
  96. package/web/app/immutable/chunks/{CHk37LgR.js → C5c-LdLT.js} +1 -1
  97. package/web/app/immutable/chunks/{C8G4GKsE.js → C6L7wkhi.js} +1 -1
  98. package/web/app/immutable/chunks/{QiI6ZCof.js → C8_w7W1W.js} +4 -4
  99. package/web/app/immutable/chunks/{BP22EbgY.js → C8reKsm7.js} +1 -1
  100. package/web/app/immutable/chunks/{D7b_n5fi.js → C9gP-gRX.js} +3 -3
  101. package/web/app/immutable/chunks/{DhmDkL56.js → CAK2j9T_.js} +1 -1
  102. package/web/app/immutable/chunks/{0KiNbR5l.js → CBwn70Pq.js} +1 -1
  103. package/web/app/immutable/chunks/{5jwgbfJ7.js → CBzaXebB.js} +1 -1
  104. package/web/app/immutable/chunks/{BIsm3Ahi.js → CCIxcA5l.js} +1 -1
  105. package/web/app/immutable/chunks/{3U-mPo_x.js → CCxcLQdk.js} +1 -1
  106. package/web/app/immutable/chunks/{DUIaBcOd.js → CDE88Tgk.js} +2 -2
  107. package/web/app/immutable/chunks/{GiRbWuMt.js → CEWfqweJ.js} +1 -1
  108. package/web/app/immutable/chunks/{Bqekhi5h.js → CHtSQ3Rg.js} +1 -1
  109. package/web/app/immutable/chunks/{BNn2h7IG.js → CJCZCJxO.js} +1 -1
  110. package/web/app/immutable/chunks/{19JeQ6BX.js → CKJYXvLT.js} +1 -1
  111. package/web/app/immutable/chunks/{M4M675TN.js → CM7ZaQP_.js} +1 -1
  112. package/web/app/immutable/chunks/{DsKjRYyi.js → CNMS2KOf.js} +1 -1
  113. package/web/app/immutable/chunks/CPfTSiRI.js +1 -0
  114. package/web/app/immutable/chunks/{BG1ODLUu.js → CPzgXxXu.js} +1 -1
  115. package/web/app/immutable/chunks/{T-DUA-1O.js → CRgLy9Dv.js} +1 -1
  116. package/web/app/immutable/chunks/{CFyiOaFx.js → CVvtz86e.js} +3 -3
  117. package/web/app/immutable/chunks/{Bh9tHAiY.js → CYlqp1HL.js} +49 -49
  118. package/web/app/immutable/chunks/{U838LLRH.js → CYtxGPAf.js} +1 -1
  119. package/web/app/immutable/chunks/CZI4_vlI.js +1 -0
  120. package/web/app/immutable/chunks/{CXqStKXr.js → C_73TJPq.js} +1 -1
  121. package/web/app/immutable/chunks/{D08RO1VG.js → CatH1hIe.js} +1 -1
  122. package/web/app/immutable/chunks/{BFbKEECb.js → Cb7SCycF.js} +1 -1
  123. package/web/app/immutable/chunks/{B6RmASgD.js → Ccf4dYFA.js} +1 -1
  124. package/web/app/immutable/chunks/{CWlg1b-s.js → CeQYwwry.js} +1 -1
  125. package/web/app/immutable/chunks/CgAzfuNr.js +1 -0
  126. package/web/app/immutable/chunks/{DPHQ6GUU.js → CnfYogWn.js} +1 -1
  127. package/web/app/immutable/chunks/{Z7mWElPD.js → Cnihm-Nc.js} +1 -1
  128. package/web/app/immutable/chunks/{BYLg_iMr.js → CoKEteoj.js} +1 -1
  129. package/web/app/immutable/chunks/{BsLhCljI.js → Cop9b2dY.js} +1 -1
  130. package/web/app/immutable/chunks/{OeYTP1p9.js → Cpw4G06I.js} +1 -1
  131. package/web/app/immutable/chunks/{BNVixDQg.js → Cpwl5RRn.js} +1 -1
  132. package/web/app/immutable/chunks/{BawsvKy-.js → CqzZhYYx.js} +1 -1
  133. package/web/app/immutable/chunks/{CPy8SeUf.js → Cw6SlTJ6.js} +2 -2
  134. package/web/app/immutable/chunks/{CIx9_tZJ.js → CxPdVa60.js} +1 -1
  135. package/web/app/immutable/chunks/{DRwfCI3n.js → CzRl1R1n.js} +1 -1
  136. package/web/app/immutable/chunks/{C1SG0POo.js → D-XHjwsv.js} +1 -1
  137. package/web/app/immutable/chunks/{CwwcEFDp.js → D-rJNj43.js} +1 -1
  138. package/web/app/immutable/chunks/{CgIYxUJQ.js → D0Dsw2tV.js} +1 -1
  139. package/web/app/immutable/chunks/{BPvrn9n_.js → D0NG9Gzz.js} +2 -2
  140. package/web/app/immutable/chunks/{DQpR_z9x.js → D0tEEJ7X.js} +1 -1
  141. package/web/app/immutable/chunks/{C3ePiQWu.js → D6DsI_Sr.js} +1 -1
  142. package/web/app/immutable/chunks/{ffaoYO6L.js → D9SqGY86.js} +1 -1
  143. package/web/app/immutable/chunks/{vOfkzWZD.js → DBfJXlLJ.js} +1 -1
  144. package/web/app/immutable/chunks/{Ba7aiW_M.js → DCcgbj-g.js} +1 -1
  145. package/web/app/immutable/chunks/{xXCdIyF3.js → DD-f8Y3V.js} +1 -1
  146. package/web/app/immutable/chunks/{D4dn9g8x.js → DE32xZOO.js} +1 -1
  147. package/web/app/immutable/chunks/{BtTToJTU.js → DEfnfMIS.js} +3 -3
  148. package/web/app/immutable/chunks/{CJ4_4cNv.js → DFq6CFhq.js} +1 -1
  149. package/web/app/immutable/chunks/{EyZ0nhwB.js → DFzMoFQx.js} +4 -4
  150. package/web/app/immutable/chunks/{BRYVEoAL.js → DGAww3vc.js} +1 -1
  151. package/web/app/immutable/chunks/{B_mg6-Vc.js → DH9gMPGd.js} +1 -1
  152. package/web/app/immutable/chunks/{wV3lKTnH.js → DJCJ21BX.js} +1 -1
  153. package/web/app/immutable/chunks/{C44r02pn.js → DKPwGUzq.js} +1 -1
  154. package/web/app/immutable/chunks/{vV7Eo_ua.js → DKXEy5Lq.js} +1 -1
  155. package/web/app/immutable/chunks/{DlM5T-ri.js → DKhv0I45.js} +1 -1
  156. package/web/app/immutable/chunks/{Bl-s542_.js → DNo4fphO.js} +1 -1
  157. package/web/app/immutable/chunks/{BVNJnx5b.js → DO2cS8JO.js} +1 -1
  158. package/web/app/immutable/chunks/{Bd8zPJ0R.js → DOzphY7c.js} +1 -1
  159. package/web/app/immutable/chunks/{QfXYPrZH.js → DPcbMgdd.js} +2 -2
  160. package/web/app/immutable/chunks/{CR_HWuhj.js → DPiGMYKs.js} +1 -1
  161. package/web/app/immutable/chunks/{rpm2NzpE.js → DQRxUuCh.js} +1 -1
  162. package/web/app/immutable/chunks/{Pow4u-14.js → DSRwOSd4.js} +1 -1
  163. package/web/app/immutable/chunks/{CIL9eyec.js → DTMKqgRU.js} +1 -1
  164. package/web/app/immutable/chunks/{CwBMLcFF.js → DW9ZR5Up.js} +1 -1
  165. package/web/app/immutable/chunks/{BMoOyvL9.js → DY6JypjK.js} +1 -1
  166. package/web/app/immutable/chunks/{BlZonKZY.js → DZ64qqlL.js} +1 -1
  167. package/web/app/immutable/chunks/{BIwSEl2U.js → DZuInc-o.js} +1 -1
  168. package/web/app/immutable/chunks/{Cee62BOx.js → D_uOXHFE.js} +1 -1
  169. package/web/app/immutable/chunks/{dzprHFyK.js → DaWdrOD0.js} +1 -1
  170. package/web/app/immutable/chunks/{CsQu3MKC.js → DcYvv2Iw.js} +1 -1
  171. package/web/app/immutable/chunks/{ZaVuh6Ie.js → DeBw56y4.js} +1 -1
  172. package/web/app/immutable/chunks/{BGpTsVFh.js → DfTvRpFp.js} +1 -1
  173. package/web/app/immutable/chunks/{BBg1ABUj.js → DgJXm20t.js} +1 -1
  174. package/web/app/immutable/chunks/{xQjZTcxq.js → DhAv1XMF.js} +1 -1
  175. package/web/app/immutable/chunks/{BPso9ZTU.js → DhXr1ZqD.js} +1 -1
  176. package/web/app/immutable/chunks/{C9Ba8Wsx.js → DiCMHWTR.js} +1 -1
  177. package/web/app/immutable/chunks/{tA5hPyrR.js → DiVHUgRZ.js} +2 -2
  178. package/web/app/immutable/chunks/{CMmlAySy.js → DijSalri.js} +1 -1
  179. package/web/app/immutable/chunks/{C1-APN-K.js → DkrnUdRW.js} +1 -1
  180. package/web/app/immutable/chunks/{CHKw7UrD.js → DmsGklpx.js} +1 -1
  181. package/web/app/immutable/chunks/{DCYjhyno.js → DoCNcHnE.js} +3 -3
  182. package/web/app/immutable/chunks/{CQolNqfo.js → DqLOhjhM.js} +8 -8
  183. package/web/app/immutable/chunks/{ZS63KZzT.js → DqTygHNa.js} +4 -4
  184. package/web/app/immutable/chunks/{X868iZaW.js → DsU6W5Yf.js} +1 -1
  185. package/web/app/immutable/chunks/{i6q5e9Bi.js → Dt9TrzFG.js} +1 -1
  186. package/web/app/immutable/chunks/{CMNPJIlE.js → DuRHazc8.js} +1 -1
  187. package/web/app/immutable/chunks/{CtZpQlR0.js → DuVelotc.js} +2 -2
  188. package/web/app/immutable/chunks/{sbHX8DXH.js → DvC622kv.js} +1 -1
  189. package/web/app/immutable/chunks/{aHlukoGt.js → DvExZ34Y.js} +1 -1
  190. package/web/app/immutable/chunks/{CUhYwYxv.js → DwbQaKgL.js} +1 -1
  191. package/web/app/immutable/chunks/{Co9bnw2t.js → DwdStl3H.js} +11 -11
  192. package/web/app/immutable/chunks/{B1XZ9Wy8.js → Dxpr5NqS.js} +1 -1
  193. package/web/app/immutable/chunks/{BwN9PPwq.js → DzfdD6YD.js} +1 -1
  194. package/web/app/immutable/chunks/EEJgvLyS.js +1 -0
  195. package/web/app/immutable/chunks/{BqAelQe2.js → IB-HmS7d.js} +1 -1
  196. package/web/app/immutable/chunks/{-dq3wJnW.js → Io79CQwx.js} +1 -1
  197. package/web/app/immutable/chunks/{CjJ2aG8c.js → KFwqetYG.js} +1 -1
  198. package/web/app/immutable/chunks/{BqK5afB2.js → LoSFphII.js} +1 -1
  199. package/web/app/immutable/chunks/{CXsLrVJH.js → OS5fDMId.js} +1 -1
  200. package/web/app/immutable/chunks/{OAsZcRpW.js → P4NanOkc.js} +1 -1
  201. package/web/app/immutable/chunks/{Frujgmwq.js → PTzYQcOR.js} +1 -1
  202. package/web/app/immutable/chunks/{DYe4BNIz.js → QCq950da.js} +1 -1
  203. package/web/app/immutable/chunks/{8rrBGDgQ.js → UuiGcpAE.js} +1 -1
  204. package/web/app/immutable/chunks/{SU_Zxid7.js → V553m0MO.js} +1 -1
  205. package/web/app/immutable/chunks/{CWlxHxOH.js → X-W6j8OD.js} +1 -1
  206. package/web/app/immutable/chunks/{CpbXsTys.js → XzWc0fs1.js} +1 -1
  207. package/web/app/immutable/chunks/{rWFIPcdV.js → Y6LratEc.js} +1 -1
  208. package/web/app/immutable/chunks/{DFV_t0gv.js → YH3VI7O_.js} +1 -1
  209. package/web/app/immutable/chunks/{ICkI56ZY.js → _4p7wl12.js} +1 -1
  210. package/web/app/immutable/chunks/{CDGEKoBr.js → aegF9YRH.js} +1 -1
  211. package/web/app/immutable/chunks/{URtDzPe4.js → cUCU_6OD.js} +1 -1
  212. package/web/app/immutable/chunks/{BDF6V5e0.js → dKjrvSqn.js} +1 -1
  213. package/web/app/immutable/chunks/{17TgXovQ.js → gqVNwlAV.js} +1 -1
  214. package/web/app/immutable/chunks/{BEBrFxQu.js → h4HcKsDl.js} +1 -1
  215. package/web/app/immutable/chunks/{C6JSYFyu.js → hacdNVQl.js} +1 -1
  216. package/web/app/immutable/chunks/{DjeoEINQ.js → hcpthRFf.js} +1 -1
  217. package/web/app/immutable/chunks/{SAR1HpYu.js → i92hRJko.js} +3 -3
  218. package/web/app/immutable/chunks/{DyLPqvAi.js → jvw1Fn3k.js} +1 -1
  219. package/web/app/immutable/chunks/{BP56q1O2.js → kRmfkT9J.js} +2 -2
  220. package/web/app/immutable/chunks/{BwRcoxdV.js → ldCNaZ5F.js} +1 -1
  221. package/web/app/immutable/chunks/{daIBqHmL.js → n2a_8s79.js} +1 -1
  222. package/web/app/immutable/chunks/{DexjcGy5.js → nt8jKVrH.js} +1 -1
  223. package/web/app/immutable/chunks/{HHVVLLOo.js → okmbexJZ.js} +1 -1
  224. package/web/app/immutable/chunks/{DdRYjUTh.js → qHcHiO2c.js} +1 -1
  225. package/web/app/immutable/chunks/{BioErF0E.js → sLnx1Tu5.js} +1 -1
  226. package/web/app/immutable/chunks/{I6iBDGZz.js → tuNJ429u.js} +1 -1
  227. package/web/app/immutable/chunks/{BeJPCJYr.js → um4u3A9l.js} +6 -6
  228. package/web/app/immutable/chunks/{DPQGeIyJ.js → xlntbOPQ.js} +2 -2
  229. package/web/app/immutable/chunks/{BjPJabzV.js → yNufUFm8.js} +1 -1
  230. package/web/app/immutable/entry/{app.zU9yYpXi.js → app.Co8E4L03.js} +3 -3
  231. package/web/app/immutable/entry/start.CBL0QUZV.js +1 -0
  232. package/web/app/immutable/nodes/{0.CpVAzuif.js → 0.BucKx3Zo.js} +1 -1
  233. package/web/app/immutable/nodes/{1.DRuW-6VC.js → 1.-v_Vj9ip.js} +1 -1
  234. package/web/app/immutable/nodes/{10.DKrkS2Ck.js → 10.BnlxMSMI.js} +4 -4
  235. package/web/app/immutable/nodes/{11.C3gubzv3.js → 11.BtNxR4dm.js} +1 -1
  236. package/web/app/immutable/nodes/{12.DwCDRGkT.js → 12.DQmthXqN.js} +1 -1
  237. package/web/app/immutable/nodes/{13.CUd5S4Yi.js → 13.pfWPVnQT.js} +3 -3
  238. package/web/app/immutable/nodes/{14.u0qAwLFY.js → 14.Ca9GXwJ0.js} +2 -2
  239. package/web/app/immutable/nodes/{15.D5mdZsCG.js → 15.CkuJDDnR.js} +1 -1
  240. package/web/app/immutable/nodes/{16.Di9o_NeI.js → 16.Dk1EKS3B.js} +2 -2
  241. package/web/app/immutable/nodes/2.Bazc0fR2.js +9 -0
  242. package/web/app/immutable/nodes/{3.BdPudEJY.js → 3.CCsh91Fv.js} +1 -1
  243. package/web/app/immutable/nodes/4.C_FHoeDU.js +1 -0
  244. package/web/app/immutable/nodes/5.DegIKxsI.js +5 -0
  245. package/web/app/immutable/nodes/{6.TDtUMw8i.js → 6.F6OlLFwi.js} +1 -1
  246. package/web/app/immutable/nodes/{7.heLExSUY.js → 7.quuP6x8b.js} +1 -1
  247. package/web/app/immutable/nodes/{8.iXetk1_-.js → 8.xtRgDwRj.js} +4 -4
  248. package/web/app/immutable/nodes/{9.Bq9HwFsC.js → 9.DFsNNJdd.js} +5 -5
  249. package/web/app/version.json +1 -1
  250. package/web/generated/paraglide.js +49 -49
  251. package/web/index.html +18 -18
  252. package/web/app/immutable/chunks/7FhPODJU.js +0 -1
  253. package/web/app/immutable/chunks/B-EQoMaE.js +0 -1
  254. package/web/app/immutable/chunks/BV49_RX-.js +0 -1
  255. package/web/app/immutable/chunks/BzwgImum.js +0 -1
  256. package/web/app/immutable/chunks/C-BI-o7z.js +0 -1
  257. package/web/app/immutable/chunks/CGtpSJYQ.js +0 -1
  258. package/web/app/immutable/chunks/CHmKgzDw.js +0 -1
  259. package/web/app/immutable/chunks/CfR8DHmm.js +0 -1
  260. package/web/app/immutable/chunks/CqtVr5NT.js +0 -1
  261. package/web/app/immutable/chunks/D1jYkFlI.js +0 -1
  262. package/web/app/immutable/entry/start.DtsLJnWx.js +0 -1
  263. package/web/app/immutable/nodes/2.CjuG4Yin.js +0 -9
  264. package/web/app/immutable/nodes/4.DvwRKOcg.js +0 -1
  265. package/web/app/immutable/nodes/5.gCklR-Wk.js +0 -5
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/3U-mPo_x.js","/app/immutable/chunks/CXqStKXr.js","/app/immutable/chunks/CtZpQlR0.js","/app/immutable/chunks/BV49_RX-.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/BqddjWz6.js","/app/immutable/chunks/C3ePiQWu.js","/app/immutable/chunks/ZjB_ER6s.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/BJ9Pk-Qc.js","/app/immutable/chunks/CjJ2aG8c.js","/app/immutable/chunks/HHVVLLOo.js","/app/immutable/chunks/BG1ODLUu.js","/app/immutable/chunks/I6iBDGZz.js","/app/immutable/chunks/Frujgmwq.js","/app/immutable/chunks/li27w4Od.js","/app/immutable/chunks/BMoOyvL9.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/DaA44xVk.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/C9Ba8Wsx.js","/app/immutable/chunks/8rrBGDgQ.js","/app/immutable/chunks/vV7Eo_ua.js","/app/immutable/chunks/LnbsKux_.js","/app/immutable/chunks/DU64vtBR.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/D7b_n5fi.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/BUJT8nbP.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/B6RmASgD.js","/app/immutable/chunks/Brz_LsyP.js","/app/immutable/chunks/BUhKOoKe.js","/app/immutable/chunks/B1fMeJph.js","/app/immutable/chunks/DRwfCI3n.js","/app/immutable/chunks/Dwxm4mRs.js","/app/immutable/chunks/B2aHvKzW.js","/app/immutable/chunks/Civ86Ers.js","/app/immutable/chunks/DHQetc-m.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/CiN55CeC.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/QiI6ZCof.js","/app/immutable/chunks/CcoNUQ4q.js","/app/immutable/chunks/wV3lKTnH.js","/app/immutable/chunks/T-DUA-1O.js","/app/immutable/chunks/B1XZ9Wy8.js","/app/immutable/chunks/bcv2TMVC.js","/app/immutable/chunks/M4M675TN.js","/app/immutable/chunks/CwAr2bfc.js","/app/immutable/chunks/i6q5e9Bi.js","/app/immutable/chunks/BioErF0E.js","/app/immutable/chunks/BwRcoxdV.js","/app/immutable/chunks/BlvwJgNV.js","/app/immutable/chunks/URtDzPe4.js","/app/immutable/chunks/Cts5KPIk.js","/app/immutable/chunks/uxsR8mHg.js","/app/immutable/chunks/DsKjRYyi.js","/app/immutable/chunks/BPso9ZTU.js","/app/immutable/chunks/daIBqHmL.js","/app/immutable/chunks/Z7mWElPD.js","/app/immutable/chunks/DPHQ6GUU.js","/app/immutable/chunks/Ba7aiW_M.js","/app/immutable/chunks/DlM5T-ri.js","/app/immutable/chunks/SU_Zxid7.js","/app/immutable/chunks/66T_vlm_.js","/app/immutable/chunks/BIwSEl2U.js","/app/immutable/chunks/B1Yylqx8.js","/app/immutable/chunks/0BDej8J9.js","/app/immutable/chunks/Bqekhi5h.js","/app/immutable/chunks/Db_s6atq.js","/app/immutable/chunks/DQpR_z9x.js","/app/immutable/chunks/C44r02pn.js","/app/immutable/chunks/17TgXovQ.js","/app/immutable/chunks/C6AEaqMK.js","/app/immutable/chunks/BnAX9yTi.js","/app/immutable/chunks/CXsLrVJH.js","/app/immutable/chunks/DjeoEINQ.js","/app/immutable/chunks/BBg1ABUj.js"])))=>i.map(i=>d[i]);
2
- var W1=Object.defineProperty;var z1=(e,t,r)=>t in e?W1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gr=(e,t,r)=>z1(e,typeof t!="symbol"?t+"":t,r);import{_ as Ge,t as _a,bq as ze,bo as Ye,by as La,b as Aa,a_ as ur,br as H1}from"./BV49_RX-.js";import{g as Y1}from"./BJzHxIyr.js";import{aO as cs}from"./li27w4Od.js";import{b7 as X1,cc as j1,bs as Fa,a7 as za,ay as ri,aD as S,bS as qe,be as Hs,b$ as zn,b_ as or,bO as pr,W as ge,c9 as Et,bn as $a,aA as Te,aB as er,bk as Gh,bH as ft,ca as ba,c5 as el,a5 as Ne,bA as Fe,bV as ce,bl as kr,c0 as ch,aC as oi,aw as rl,a as vu,bj as Cp,br as fi,cb as G1,bf as U1}from"./DYhIMPy1.js";import{N as Mu}from"./DaUwNiAB.js";import{k as ra,s as fe,j as Ys,c as wp,a as V1,h as no,i as Tu,d as kp,l as Oo}from"./DU64vtBR.js";import{b as ta}from"./BaIAhI85.js";import{c as Z1}from"./ChTqQfQN.js";import{d0 as K1,cR as Q1,F as Qs,aK as J1,b9 as Sp,c$ as tC,l as eC,m as rC,f as iC,i as aC,y as oC,v as Bu,s as _u,g as sC,G as nC,P as lC,q as cC,z as hC,p as dC,j as uC,O as fC,D as Lu,H as gC,U as pC,aw as mC,ax as yC,aW as xC}from"./vV7Eo_ua.js";import{f as Ho,am as bC}from"./D7b_n5fi.js";import{r as CC,a4 as wC}from"./B4eSJ_b5.js";import{e as kC,H as SC}from"./ZS63KZzT.js";import{E as vp}from"./8rrBGDgQ.js";import{H as xa,h as Au,G as Ms,d as Fu}from"./Brz_LsyP.js";import{c as io}from"./LnbsKux_.js";import{f as vC}from"./BsLhCljI.js";import{t as MC}from"./Ddfj4iOJ.js";import{s as Hn}from"./C9Ba8Wsx.js";import{s as $u,j as TC}from"./CpbXsTys.js";import{s as BC,K as _C,k as LC,l as sc,M as AC}from"./BVNJnx5b.js";import{t as ga}from"./DNPjjQTW.js";import"./CiN55CeC.js";import"./DaA44xVk.js";import{ce as FC}from"./BUhKOoKe.js";function $C(e,t){X1(window,["resize"],()=>j1(()=>t(window[e])))}var Mp=Object.defineProperty,b=(e,t)=>Mp(e,"name",{value:t,configurable:!0}),EC=(e,t)=>{for(var r in t)Mp(e,r,{get:t[r],enumerable:!0})};function Tp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}b(Tp,"getDefaultExportFromCjs");var jr={},kn={},Ra={},Eu;function ms(){if(Eu)return Ra;Eu=1;function e(s){return typeof s>"u"||s===null}b(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}b(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}b(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}b(i,"extend");function a(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}b(a,"repeat");function o(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return b(o,"isNegativeZero"),Ra.isNothing=e,Ra.isObject=t,Ra.toArray=r,Ra.repeat=a,Ra.isNegativeZero=o,Ra.extend=i,Ra}b(ms,"requireCommon");var nc,Pu;function ys(){if(Pu)return nc;Pu=1;function e(r,i){let a="";const o=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(a+='in "'+r.mark.name+'" '),a+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(a+=`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CCxcLQdk.js","/app/immutable/chunks/C_73TJPq.js","/app/immutable/chunks/DuVelotc.js","/app/immutable/chunks/BAqR9jtB.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/-xK_vQQs.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/BAQDI3wv.js","/app/immutable/chunks/D6DsI_Sr.js","/app/immutable/chunks/BBRz8JFJ.js","/app/immutable/chunks/lAmQKSWr.js","/app/immutable/chunks/BLDT4lze.js","/app/immutable/chunks/KFwqetYG.js","/app/immutable/chunks/okmbexJZ.js","/app/immutable/chunks/CPzgXxXu.js","/app/immutable/chunks/tuNJ429u.js","/app/immutable/chunks/PTzYQcOR.js","/app/immutable/chunks/BCDWZbwh.js","/app/immutable/chunks/DY6JypjK.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/BSwWMzab.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/DiCMHWTR.js","/app/immutable/chunks/UuiGcpAE.js","/app/immutable/chunks/DKXEy5Lq.js","/app/immutable/chunks/B2RRuLl5.js","/app/immutable/chunks/BPk16bSc.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/C9gP-gRX.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/C11wqToa.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/Ccf4dYFA.js","/app/immutable/chunks/Bl_iEh1f.js","/app/immutable/chunks/BiMGZT5w.js","/app/immutable/chunks/BHqHNrOT.js","/app/immutable/chunks/CzRl1R1n.js","/app/immutable/chunks/B-rSL5ZP.js","/app/immutable/chunks/-URcs0EB.js","/app/immutable/chunks/C0VJEx2v.js","/app/immutable/chunks/BtAYzBSd.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/7ZJvg7ev.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/C8_w7W1W.js","/app/immutable/chunks/BGYaMCAp.js","/app/immutable/chunks/DJCJ21BX.js","/app/immutable/chunks/CRgLy9Dv.js","/app/immutable/chunks/Dxpr5NqS.js","/app/immutable/chunks/28aV1Wzl.js","/app/immutable/chunks/CM7ZaQP_.js","/app/immutable/chunks/BxiJOwnz.js","/app/immutable/chunks/Dt9TrzFG.js","/app/immutable/chunks/sLnx1Tu5.js","/app/immutable/chunks/ldCNaZ5F.js","/app/immutable/chunks/BEVpCf6b.js","/app/immutable/chunks/cUCU_6OD.js","/app/immutable/chunks/BfxxnTgV.js","/app/immutable/chunks/BFpzDysH.js","/app/immutable/chunks/CNMS2KOf.js","/app/immutable/chunks/DhXr1ZqD.js","/app/immutable/chunks/n2a_8s79.js","/app/immutable/chunks/Cnihm-Nc.js","/app/immutable/chunks/CnfYogWn.js","/app/immutable/chunks/DCcgbj-g.js","/app/immutable/chunks/DKhv0I45.js","/app/immutable/chunks/V553m0MO.js","/app/immutable/chunks/BN6Sv1MY.js","/app/immutable/chunks/DZuInc-o.js","/app/immutable/chunks/B-agcRbG.js","/app/immutable/chunks/BgUzpkp7.js","/app/immutable/chunks/CHtSQ3Rg.js","/app/immutable/chunks/BdetxH0g.js","/app/immutable/chunks/D0tEEJ7X.js","/app/immutable/chunks/DKPwGUzq.js","/app/immutable/chunks/gqVNwlAV.js","/app/immutable/chunks/BDICjj7k.js","/app/immutable/chunks/B1Rrvp0b.js","/app/immutable/chunks/OS5fDMId.js","/app/immutable/chunks/hcpthRFf.js","/app/immutable/chunks/DgJXm20t.js"])))=>i.map(i=>d[i]);
2
+ var W1=Object.defineProperty;var z1=(e,t,r)=>t in e?W1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var gr=(e,t,r)=>z1(e,typeof t!="symbol"?t+"":t,r);import{_ as Ge,t as _a,bq as ze,bo as Ye,by as La,b as Aa,a_ as ur,br as H1}from"./BAqR9jtB.js";import{g as Y1}from"./BJzHxIyr.js";import{aO as cs}from"./BCDWZbwh.js";import{b7 as X1,cc as j1,bs as Fa,a7 as za,ay as ri,aD as S,bS as qe,be as Hs,b$ as zn,b_ as or,bO as pr,W as ge,c9 as Et,bn as $a,aA as Te,aB as er,bk as Gh,bH as ft,ca as ba,c5 as el,a5 as Ne,bA as Fe,bV as ce,bl as kr,c0 as ch,aC as oi,aw as rl,a as vu,bj as Cp,br as fi,cb as G1,bf as U1}from"./DYhIMPy1.js";import{N as Mu}from"./BFETMHTz.js";import{k as ra,s as fe,j as Ys,c as wp,a as V1,h as no,i as Tu,d as kp,l as Oo}from"./BPk16bSc.js";import{b as ta}from"./BaIAhI85.js";import{c as Z1}from"./ChTqQfQN.js";import{d0 as K1,cR as Q1,F as Qs,aK as J1,b9 as Sp,c$ as tC,l as eC,m as rC,f as iC,i as aC,y as oC,v as Bu,s as _u,g as sC,G as nC,P as lC,q as cC,z as hC,p as dC,j as uC,O as fC,D as Lu,H as gC,U as pC,aw as mC,ax as yC,aW as xC}from"./DKXEy5Lq.js";import{f as Ho,am as bC}from"./C9gP-gRX.js";import{r as CC,a4 as wC}from"./Bops7MsY.js";import{e as kC,H as SC}from"./DqTygHNa.js";import{E as vp}from"./UuiGcpAE.js";import{H as xa,h as Au,G as Ms,d as Fu}from"./Bl_iEh1f.js";import{c as io}from"./B2RRuLl5.js";import{f as vC}from"./Cop9b2dY.js";import{t as MC}from"./7IyNIHph.js";import{s as Hn}from"./DiCMHWTR.js";import{s as $u,j as TC}from"./XzWc0fs1.js";import{s as BC,K as _C,k as LC,l as sc,M as AC}from"./DO2cS8JO.js";import{t as ga}from"./Bc-8qHYh.js";import"./7ZJvg7ev.js";import"./BSwWMzab.js";import{ce as FC}from"./BiMGZT5w.js";function $C(e,t){X1(window,["resize"],()=>j1(()=>t(window[e])))}var Mp=Object.defineProperty,b=(e,t)=>Mp(e,"name",{value:t,configurable:!0}),EC=(e,t)=>{for(var r in t)Mp(e,r,{get:t[r],enumerable:!0})};function Tp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}b(Tp,"getDefaultExportFromCjs");var jr={},kn={},Ra={},Eu;function ms(){if(Eu)return Ra;Eu=1;function e(s){return typeof s>"u"||s===null}b(e,"isNothing");function t(s){return typeof s=="object"&&s!==null}b(t,"isObject");function r(s){return Array.isArray(s)?s:e(s)?[]:[s]}b(r,"toArray");function i(s,n){if(n){const l=Object.keys(n);for(let c=0,h=l.length;c<h;c+=1){const d=l[c];s[d]=n[d]}}return s}b(i,"extend");function a(s,n){let l="";for(let c=0;c<n;c+=1)l+=s;return l}b(a,"repeat");function o(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return b(o,"isNegativeZero"),Ra.isNothing=e,Ra.isObject=t,Ra.toArray=r,Ra.repeat=a,Ra.isNegativeZero=o,Ra.extend=i,Ra}b(ms,"requireCommon");var nc,Pu;function ys(){if(Pu)return nc;Pu=1;function e(r,i){let a="";const o=r.reason||"(unknown reason)";return r.mark?(r.mark.name&&(a+='in "'+r.mark.name+'" '),a+="("+(r.mark.line+1)+":"+(r.mark.column+1)+")",!i&&r.mark.snippet&&(a+=`
3
3
 
4
4
  `+r.mark.snippet),o+" "+a):o}b(e,"formatError");function t(r,i){Error.call(this),this.name="YAMLException",this.reason=r,this.mark=i,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return b(t,"YAMLException2"),t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.toString=b(function(i){return this.name+": "+e(this,i)},"toString"),nc=t,nc}b(ys,"requireException");var lc,Iu;function Bp(){if(Iu)return lc;Iu=1;const e=ms();function t(a,o,s,n,l){let c="",h="";const d=Math.floor(l/2)-1;return n-o>d&&(c=" ... ",o=n-d+c.length),s-n>d&&(h=" ...",s=n+d-h.length),{str:c+a.slice(o,s).replace(/\t/g,"→")+h,pos:n-o+c.length}}b(t,"getLine");function r(a,o){return e.repeat(" ",o-a.length)+a}b(r,"padStart");function i(a,o){if(o=Object.create(o||null),!a.buffer)return null;o.maxLength||(o.maxLength=79),typeof o.indent!="number"&&(o.indent=1),typeof o.linesBefore!="number"&&(o.linesBefore=3),typeof o.linesAfter!="number"&&(o.linesAfter=2);const s=/\r?\n|\r|\0/g,n=[0],l=[];let c,h=-1;for(;c=s.exec(a.buffer);)l.push(c.index),n.push(c.index+c[0].length),a.position<=c.index&&h<0&&(h=n.length-2);h<0&&(h=n.length-1);let d="";const u=Math.min(a.line+o.linesAfter,l.length).toString().length,f=o.maxLength-(o.indent+u+3);for(let g=1;g<=o.linesBefore&&!(h-g<0);g++){const m=t(a.buffer,n[h-g],l[h-g],a.position-(n[h]-n[h-g]),f);d=e.repeat(" ",o.indent)+r((a.line-g+1).toString(),u)+" | "+m.str+`
5
5
  `+d}const p=t(a.buffer,n[h],l[h],a.position,f);d+=e.repeat(" ",o.indent)+r((a.line+1).toString(),u)+" | "+p.str+`
@@ -298,8 +298,8 @@ ${o.join(`
298
298
  L0,20`)},"requirement_arrow"),W_=b((e,t,r)=>{const i=Tr(),{themeVariables:a}=i,{strokeWidth:o}=a;e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${o}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
299
299
  L20,10
300
300
  M20,10
301
- L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),z_=b((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),H_=b((e,t,r)=>{const i=Tr(),{themeVariables:a}=i,{strokeWidth:o}=a,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${o}`)},"requirement_contains_neo"),Y_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),X_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),j_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),G_={extension:k_,composition:S_,aggregation:v_,dependency:M_,lollipop:T_,point:B_,circle:__,cross:L_,barb:A_,barbNeo:F_,hierarchy:Y_,only_one:$_,zero_or_one:E_,one_or_more:P_,zero_or_more:I_,only_one_neo:O_,zero_or_one_neo:R_,one_or_more_neo:D_,zero_or_more_neo:N_,requirement_arrow:q_,requirement_contains:z_,requirement_arrow_neo:W_,requirement_contains_neo:H_,openArrow:X_,hollowCircle:j_},U_=w_,V_={common:hn,getConfig:Tr,insertCluster:BB,insertEdge:C_,insertEdgeLabel:u_,insertMarkers:U_,insertNode:O0,interpolateToCurve:$d,labelHelper:he,log:Tt,positionEdgeLabel:g_},Z_=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],an=Object.create(null),eb=b(e=>{for(const t of e)an[t.name]=t},"registerLayoutLoaders"),K_=b(()=>{const e=b(async()=>await Ge(()=>import("./3U-mPo_x.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...Z_.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),Q_=b(()=>{eb([{name:"dagre",loader:b(async()=>await Ge(()=>import("./BqddjWz6.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:b(async()=>await Ge(()=>import("./C3ePiQWu.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:b(async()=>await Ge(()=>import("./ZjB_ER6s.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...K_()])},"registerDefaultLayoutLoaders");Q_();var tP=b(async(e,t)=>{if(!Object.hasOwn(an,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const o of e.nodes){const s=o.domId||o.id;o.domId=`${e.diagramId}-${s}`}const r=an[e.layoutAlgorithm],i=await r.loader();DC(t,e.config);const a=await i.render(e,t,V_,{algorithm:r.algorithm});return s_(t.node()),a},"render"),Vc="dagre",eP=b((e="",{fallback:t=Vc}={})=>{if(Object.hasOwn(an,e))return e;for(const r of[t,Vc])if(Object.hasOwn(an,r))return Tt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${Vc} is registered.`)},"getRegisteredLayoutAlgorithm"),J_=b(e=>{const{securityLevel:t}=Xe();let r=He("body");if(t==="sandbox"){const o=He(`#i${e}`).node()?.contentDocument??document;r=He(o.body)}return r.select(`#${e}`)},"selectSvgElement"),ou="comm",rb="rule",ib="decl",tL="@media",eL="@import",rL="@supports",iL="@namespace",Rh="@keyframes",ab="@layer",aL="@scope",oL=Math.abs,Ks=String.fromCharCode;function ob(e){return e.trim()}function Dh(e,t,r){return e.replace(t,r)}function Go(e,t){return e.charCodeAt(t)|0}function us(e,t,r){return e.slice(t,r)}function Ki(e){return e.length}function sb(e){return e.length}function Pn(e,t){return t.push(e),e}var Vl=1,fs=1,nb=0,_i=0,Pr=0,ws="";function su(e,t,r,i,a,o,s,n){return{value:e,root:t,parent:r,type:i,props:a,children:o,line:Vl,column:fs,length:s,return:"",siblings:n}}function sL(){return Pr}function nL(){return Pr=_i>0?Go(ws,--_i):0,fs--,Pr===10&&(fs=1,Vl--),Pr}function Di(){return Pr=_i<nb?Go(ws,_i++):0,fs++,Pr===10&&(fs=1,Vl++),Pr}function qa(){return Go(ws,_i)}function Jn(){return _i}function Zl(e,t){return us(ws,e,t)}function on(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lL(e){return Vl=fs=1,nb=Ki(ws=e),_i=0,[]}function cL(e){return ws="",e}function Zc(e){return ob(Zl(_i-1,Nh(e===91?e+2:e===40?e+1:e)))}function hL(e){for(;(Pr=qa())&&Pr<33;)Di();return on(e)>2||on(Pr)>3?"":" "}function dL(e,t){for(;--t&&Di()&&!(Pr<48||Pr>102||Pr>57&&Pr<65||Pr>70&&Pr<97););return Zl(e,Jn()+(t<6&&qa()==32&&Di()==32))}function Nh(e){for(;Di();)switch(Pr){case e:return _i;case 34:case 39:e!==34&&e!==39&&Nh(Pr);break;case 40:e===41&&Nh(e);break;case 92:Di();break}return _i}function uL(e,t){for(;Di()&&e+Pr!==57;)if(e+Pr===84&&qa()===47)break;return"/*"+Zl(t,_i-1)+"*"+Ks(e===47?e:Di())}function fL(e){for(;!on(qa());)Di();return Zl(e,_i)}function gL(e){return cL(tl("",null,null,null,[""],e=lL(e),0,[0],e))}function tl(e,t,r,i,a,o,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,p=0,g=1,m=1,y=1,x=0,C=0,k="",v=a,T=o,F=i,A=k;m;)switch(p=C,C=Di()){case 40:p!=108&&Go(A,d-1)==58?(x++,A+="("):A+=Zc(C);break;case 41:x--,A+=")";break;case 34:case 39:case 91:A+=Zc(C);break;case 9:case 10:case 13:case 32:if(x>0){A+=Ks(C);break}A+=hL(p);break;case 92:A+=dL(Jn()-1,7);continue;case 47:switch(qa()){case 42:case 47:Pn(pL(uL(Di(),Jn()),t,r,l),l),(on(p||1)==5||on(qa()||1)==5)&&Ki(A)&&us(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*g:n[c++]=Ki(A)*y;case 125*g:case 59:case 0:if(x>0&&C){A+=Ks(C);break}switch(C){case 0:case 125:m=0;case 59+h:y==-1&&(A=Dh(A,/\f/g,"")),f>0&&(Ki(A)-d||g===0)&&Pn(f>32?Hg(A+";",i,r,d-1,l):Hg(Dh(A," ","")+";",i,r,d-2,l),l);break;case 59:A+=";";default:if(Pn(F=zg(A,t,r,c,h,a,n,k,v=[],T=[],d,o),o),C===123)if(h===0)tl(A,t,F,F,v,o,d,n,T);else{switch(u){case 99:if(Go(A,3)===110)break;case 108:if(Go(A,2)===97)break;default:h=0;case 100:case 109:case 115:}h?tl(e,F,F,i&&Pn(zg(e,F,F,0,0,a,n,k,a,v=[],d,T),T),a,T,d,n,i?v:T):tl(A,F,F,F,[""],T,0,n,T)}}c=h=f=0,g=y=1,k=A="",d=s;break;case 58:d=1+Ki(A),f=p;default:if(g<1){if(C==123)--g;else if(C==125&&g++==0&&nL()==125)continue}switch(A+=Ks(C),C*g){case 38:y=h>0?1:(A+="\f",-1);break;case 44:if(x>0)break;n[c++]=(Ki(A)-1)*y,y=1;break;case 64:qa()===45&&(A+=Zc(Di())),u=qa(),h=d=Ki(k=A+=fL(Jn())),C++;break;case 45:p===45&&Ki(A)==2&&(g=0)}}return o}function zg(e,t,r,i,a,o,s,n,l,c,h,d){for(var u=a-1,f=a===0?o:[""],p=sb(f),g=0,m=0,y=0;g<i;++g)for(var x=0,C=us(e,u+1,u=oL(m=s[g])),k=e;x<p;++x)(k=ob(m>0?f[x]+" "+C:Dh(C,/&\f/g,f[x])))&&(l[y++]=k);return su(e,t,r,a===0?rb:n,l,c,h,d)}function pL(e,t,r,i){return su(e,t,r,ou,Ks(sL()),us(e,2,-2),0,i)}function Hg(e,t,r,i,a){return su(e,t,r,ib,us(e,0,i),us(e,i+1,-1),i,a)}function qh(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function mL(e,t,r,i){switch(e.type){case ab:if(e.children.length)break;case eL:case iL:case ib:return e.return=e.return||e.value;case ou:return"";case Rh:return e.return=e.value+"{"+qh(e.children,i)+"}";case rb:if(!Ki(e.value=e.props.join(",")))return""}return Ki(r=qh(e.children,i))?e.return=e.value+"{"+r+"}":""}function yL(e){var t=sb(e);return function(r,i,a,o){for(var s="",n=0;n<t;n++)s+=e[n](r,i,a,o)||"";return s}}var lb="c4",xL=b(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),bL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BJ9Pk-Qc.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:lb,diagram:e}},"loader"),CL={id:lb,detector:xL,loader:bL},wL=CL,cb="flowchart-v2",kL=b(e=>/^\s*(graph|flowchart)/.test(e),"detector"),SL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./HHVVLLOo.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:cb,diagram:e}},"loader"),vL={id:cb,detector:kL,loader:SL},ML=vL,hb="agentflow",TL=b(e=>/^\s*agentflow-beta\b/.test(e),"detector"),BL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CcoNUQ4q.js");return{diagram:t}},__vite__mapDeps([49,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:hb,diagram:e}},"loader"),_L={id:hb,detector:TL,loader:BL},LL=_L,db="swimlane",AL=b(e=>/^\s*swimlane-beta\b/.test(e),"detector"),FL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./wV3lKTnH.js");return{diagram:t}},__vite__mapDeps([50,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:db,diagram:e}},"loader"),$L={id:db,detector:AL,loader:FL},EL=$L,ub="er",PL=b(e=>/^\s*erDiagram/.test(e),"detector"),IL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./T-DUA-1O.js");return{diagram:t}},__vite__mapDeps([51,15,16]),import.meta.url);return{id:ub,diagram:e}},"loader"),OL={id:ub,detector:PL,loader:IL},RL=OL,fb="gitGraph",DL=b(e=>/^\s*gitGraph/.test(e),"detector"),NL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B1XZ9Wy8.js");return{diagram:t}},__vite__mapDeps([52,53,54,55,3,4]),import.meta.url);return{id:fb,diagram:e}},"loader"),qL={id:fb,detector:DL,loader:NL},WL=qL,gb="gantt",zL=b(e=>/^\s*gantt/.test(e),"detector"),HL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./i6q5e9Bi.js");return{diagram:t}},__vite__mapDeps([56,6,57]),import.meta.url);return{id:gb,diagram:e}},"loader"),YL={id:gb,detector:zL,loader:HL},XL=YL,pb="info",jL=b(e=>/^\s*info/.test(e),"detector"),GL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BwRcoxdV.js");return{diagram:t}},__vite__mapDeps([58,55,3,4]),import.meta.url);return{id:pb,diagram:e}},"loader"),UL={id:pb,detector:jL,loader:GL},mb="pie",VL=b(e=>/^\s*pie/.test(e),"detector"),ZL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BlvwJgNV.js");return{diagram:t}},__vite__mapDeps([59,54,55,3,4,57]),import.meta.url);return{id:mb,diagram:e}},"loader"),KL={id:mb,detector:VL,loader:ZL},yb="quadrantChart",QL=b(e=>/^\s*quadrantChart/.test(e),"detector"),JL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./URtDzPe4.js");return{diagram:t}},__vite__mapDeps([60,57]),import.meta.url);return{id:yb,diagram:e}},"loader"),tA={id:yb,detector:QL,loader:JL},eA=tA,xb="xychart",rA=b(e=>/^\s*xychart(-beta)?/.test(e),"detector"),iA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Cts5KPIk.js");return{diagram:t}},__vite__mapDeps([61,57]),import.meta.url);return{id:xb,diagram:e}},"loader"),aA={id:xb,detector:rA,loader:iA},oA=aA,bb="requirement",sA=b(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),nA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./uxsR8mHg.js");return{diagram:t}},__vite__mapDeps([62,15,16]),import.meta.url);return{id:bb,diagram:e}},"loader"),lA={id:bb,detector:sA,loader:nA},cA=lA,Cb="sequence",hA=b(e=>/^\s*sequenceDiagram/.test(e),"detector"),dA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DsKjRYyi.js");return{diagram:t}},__vite__mapDeps([63,53,12]),import.meta.url);return{id:Cb,diagram:e}},"loader"),uA={id:Cb,detector:hA,loader:dA},fA=uA,wb="classDiagram",gA=b(e=>/^\s*classDiagram/.test(e),"detector"),pA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BPso9ZTU.js");return{diagram:t}},__vite__mapDeps([64,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:wb,diagram:e}},"loader"),mA={id:wb,detector:gA,loader:pA},yA=mA,kb="stateDiagram",xA=b(e=>/^\s*stateDiagram/.test(e),"detector"),bA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./daIBqHmL.js");return{diagram:t}},__vite__mapDeps([65,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:kb,diagram:e}},"loader"),CA={id:kb,detector:xA,loader:bA},wA=CA,Sb="journey",kA=b(e=>/^\s*journey/.test(e),"detector"),SA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Z7mWElPD.js");return{diagram:t}},__vite__mapDeps([66,14,12]),import.meta.url);return{id:Sb,diagram:e}},"loader"),vA={id:Sb,detector:kA,loader:SA},MA=vA,In=4,Es=75,TA=b(e=>{const t=[];for(const a of e.split(/\s+/)){let o=[...a];for(;o.length>Es;)t.push(o.slice(0,Es).join("")),o=o.slice(Es);o.length>0&&t.push(o.join(""))}const r=[];let i="";for(const a of t){const o=i?`${i} ${a}`:a;[...o].length>Es?(r.push(i),i=a):i=o}if(i&&r.push(i),r.length>In){r.length=In;const a=r[In-1]??"";r[In-1]=`${[...a].slice(0,Es-3).join("")}...`}return r},"wrapErrorMessage"),BA=b((e,t,r,i)=>{Tt.debug(`rendering svg for syntax error
302
- `);const a=J_(t),o=a.append("g"),s=TA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;a.attr("viewBox",`0 0 2412 ${n}`),Gp(a,100,n,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{o.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),vb={draw:BA},_A=vb,Kc,LA={clear(){Kc=void 0},setErrorMessage(e){Kc=e},getErrorMessage(){return Kc}},AA={db:LA,renderer:vb,parser:{parse:b(()=>{},"parse")}},FA=AA,Mb="flowchart-elk",$A=b((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),EA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./HHVVLLOo.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:Mb,diagram:e}},"loader"),PA={id:Mb,detector:$A,loader:EA},IA=PA,Tb="timeline",OA=b(e=>/^\s*timeline/.test(e),"detector"),RA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D08RO1VG.js");return{diagram:t}},[],import.meta.url);return{id:Tb,diagram:e}},"loader"),DA={id:Tb,detector:OA,loader:RA},NA=DA,Bb="mindmap",qA=b(e=>/^\s*mindmap/.test(e),"detector"),WA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DPHQ6GUU.js");return{diagram:t}},__vite__mapDeps([67,15,16]),import.meta.url);return{id:Bb,diagram:e}},"loader"),zA={id:Bb,detector:qA,loader:WA},HA=zA,_b="kanban",YA=b(e=>/^\s*kanban/.test(e),"detector"),XA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Ba7aiW_M.js");return{diagram:t}},__vite__mapDeps([68,14]),import.meta.url);return{id:_b,diagram:e}},"loader"),jA={id:_b,detector:YA,loader:XA},GA=jA,Lb="sankey",UA=b(e=>/^\s*sankey(-beta)?/.test(e),"detector"),VA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DlM5T-ri.js");return{diagram:t}},__vite__mapDeps([69,57]),import.meta.url);return{id:Lb,diagram:e}},"loader"),ZA={id:Lb,detector:UA,loader:VA},KA=ZA,Ab="packet",QA=b(e=>/^\s*packet(-beta)?/.test(e),"detector"),JA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./SU_Zxid7.js");return{diagram:t}},__vite__mapDeps([70,54,55,3,4]),import.meta.url);return{id:Ab,diagram:e}},"loader"),t5={id:Ab,detector:QA,loader:JA},Fb="radar",e5=b(e=>/^\s*radar-beta/.test(e),"detector"),r5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./66T_vlm_.js");return{diagram:t}},__vite__mapDeps([71,54,55,3,4]),import.meta.url);return{id:Fb,diagram:e}},"loader"),i5={id:Fb,detector:e5,loader:r5},$b="block",a5=b(e=>/^\s*block(-beta)?/.test(e),"detector"),o5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BIwSEl2U.js");return{diagram:t}},__vite__mapDeps([72,14,5]),import.meta.url);return{id:$b,diagram:e}},"loader"),s5={id:$b,detector:a5,loader:o5},n5=s5,Eb="treeView",l5=b(e=>/^\s*treeView-beta/.test(e),"detector"),c5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B1Yylqx8.js");return{diagram:t}},__vite__mapDeps([73,53,54,55,3,4]),import.meta.url);return{id:Eb,diagram:e}},"loader"),h5={id:Eb,detector:l5,loader:c5},d5=h5,Pb="architecture",u5=b(e=>/^\s*architecture/.test(e),"detector"),f5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./0BDej8J9.js");return{diagram:t}},__vite__mapDeps([74,54,55,3,4,10,6]),import.meta.url);return{id:Pb,diagram:e}},"loader"),g5={id:Pb,detector:u5,loader:f5},p5=g5,Ib="eventmodeling",m5=b(e=>/^\s*eventmodeling/.test(e),"detector"),y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Bqekhi5h.js");return{diagram:t}},__vite__mapDeps([75,54,55,3,4]),import.meta.url);return{id:Ib,diagram:e}},"loader"),x5={id:Ib,detector:m5,loader:y5},b5=x5,Ob="ishikawa",C5=b(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),w5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./GiRbWuMt.js");return{diagram:t}},[],import.meta.url);return{id:Ob,diagram:e}},"loader"),k5={id:Ob,detector:C5,loader:w5},Rb="venn",S5=b(e=>/^\s*venn-beta/.test(e),"detector"),v5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BNn2h7IG.js");return{diagram:t}},[],import.meta.url);return{id:Rb,diagram:e}},"loader"),M5={id:Rb,detector:S5,loader:v5},T5=M5,Db="treemap",B5=b(e=>/^\s*treemap/.test(e),"detector"),_5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Db_s6atq.js");return{diagram:t}},__vite__mapDeps([76,16,54,55,3,4,57]),import.meta.url);return{id:Db,diagram:e}},"loader"),L5={id:Db,detector:B5,loader:_5},Nb="usecase",A5=b(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),F5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DQpR_z9x.js");return{diagram:t}},__vite__mapDeps([77,15,16]),import.meta.url);return{id:Nb,diagram:e}},"loader"),$5={id:Nb,detector:A5,loader:F5},qb="wardley",E5=b(e=>/^\s*wardley-beta/i.test(e),"detector"),P5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./C44r02pn.js");return{diagram:t}},__vite__mapDeps([78,54,55,3,4]),import.meta.url);return{id:qb,diagram:e}},"loader"),I5={id:qb,detector:E5,loader:P5},O5=I5,Wb="cynefin",R5=b(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),D5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./17TgXovQ.js");return{diagram:t}},__vite__mapDeps([79,54,55,3,4]),import.meta.url);return{id:Wb,diagram:e}},"loader"),N5={id:Wb,detector:R5,loader:D5},zb="railroad",q5=b(e=>/^\s*railroad-beta/i.test(e),"detector"),W5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./C6AEaqMK.js");return{diagram:t}},__vite__mapDeps([80,81,54,55,3,4]),import.meta.url);return{id:zb,diagram:e}},"loader"),z5={id:zb,detector:q5,loader:W5},Hb="railroadEbnf",H5=b(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),Y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CXsLrVJH.js");return{diagram:t}},__vite__mapDeps([82,81,54,55,3,4]),import.meta.url);return{id:Hb,diagram:e}},"loader"),X5={id:Hb,detector:H5,loader:Y5},Yb="railroadAbnf",j5=b(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),G5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DjeoEINQ.js");return{diagram:t}},__vite__mapDeps([83,81,54,55,3,4]),import.meta.url);return{id:Yb,diagram:e}},"loader"),U5={id:Yb,detector:j5,loader:G5},Xb="railroadPeg",V5=b(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),Z5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BBg1ABUj.js");return{diagram:t}},__vite__mapDeps([84,81,54,55,3,4]),import.meta.url);return{id:Xb,diagram:e}},"loader"),K5={id:Xb,detector:V5,loader:Z5},Yg=!1,Kl=b(()=>{Yg||(Yg=!0,cl("error",FA,e=>e.toLowerCase().trim()==="error"),cl("---",{db:{clear:b(()=>{},"clear")},styles:{},renderer:{draw:b(()=>{},"draw")},parser:{parse:b(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:b(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),hh(IA,HA,p5),hh(LL,wL,GA,yA,RL,XL,UL,KL,cA,fA,EL,ML,NA,WL,wA,MA,eA,KA,t5,oA,n5,b5,d5,i5,k5,L5,z5,X5,U5,K5,T5,O5,N5,$5))},"addDiagrams"),Q5=b(async()=>{Tt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(yo).map(async([r,{detector:i,loader:a}])=>{if(a)try{ph(r)}catch{try{const{diagram:o,id:s}=await a();cl(s,o,i)}catch(o){throw Tt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete yo[r],o}}}))).filter(r=>r.status==="rejected");if(t.length>0){Tt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Tt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),J5="graphics-document document";function jb(e,t){e.attr("role",J5),t!==""&&e.attr("aria-roledescription",t)}b(jb,"setA11yDiagramInfo");function Gb(e,t,r,i){if(e.insert!==void 0){if(r){const a=`chart-desc-${i}`;e.attr("aria-describedby",a),e.insert("desc",":first-child").attr("id",a).text(r)}if(t){const a=`chart-title-${i}`;e.attr("aria-labelledby",a),e.insert("title",":first-child").attr("id",a).text(t)}}}b(Gb,"addSVGa11yTitleDescription");var mo,Fl=(mo=class{constructor(t,r,i,a,o){this.type=t,this.text=r,this.db=i,this.parser=a,this.renderer=o}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,a=Tr(),o=Ol(i.cleaned,a);try{ph(o)}catch{const u=JC(o);if(!u)throw new Pp(`Diagram ${o} not found.`);const{id:f,diagram:p}=await u();cl(f,p)}const{db:s,parser:n,renderer:l,init:c}=ph(o);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(a),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=a.maxTextSize??ud.maxTextSize;i.withComments.length>u?Tt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=oM(h)+`
301
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),z_=b((e,t,r)=>{const i=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),H_=b((e,t,r)=>{const i=Tr(),{themeVariables:a}=i,{strokeWidth:o}=a,s=e.append("defs").append("marker").attr("id",r+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),s.selectAll("*").attr("stroke-width",`${o}`)},"requirement_contains_neo"),Y_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),X_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),j_=b((e,t,r)=>{e.append("marker").attr("id",r+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),e.append("marker").attr("id",r+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),G_={extension:k_,composition:S_,aggregation:v_,dependency:M_,lollipop:T_,point:B_,circle:__,cross:L_,barb:A_,barbNeo:F_,hierarchy:Y_,only_one:$_,zero_or_one:E_,one_or_more:P_,zero_or_more:I_,only_one_neo:O_,zero_or_one_neo:R_,one_or_more_neo:D_,zero_or_more_neo:N_,requirement_arrow:q_,requirement_contains:z_,requirement_arrow_neo:W_,requirement_contains_neo:H_,openArrow:X_,hollowCircle:j_},U_=w_,V_={common:hn,getConfig:Tr,insertCluster:BB,insertEdge:C_,insertEdgeLabel:u_,insertMarkers:U_,insertNode:O0,interpolateToCurve:$d,labelHelper:he,log:Tt,positionEdgeLabel:g_},Z_=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],an=Object.create(null),eb=b(e=>{for(const t of e)an[t.name]=t},"registerLayoutLoaders"),K_=b(()=>{const e=b(async()=>await Ge(()=>import("./CCxcLQdk.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"loader");return[{name:"elk",loader:e,algorithm:"elk.layered"},...Z_.map(t=>({name:t,loader:e,algorithm:t}))]},"elkLayoutLoaders"),Q_=b(()=>{eb([{name:"dagre",loader:b(async()=>await Ge(()=>import("./BAQDI3wv.js"),__vite__mapDeps([7,2,3,4,5]),import.meta.url),"loader")},{name:"swimlane",loader:b(async()=>await Ge(()=>import("./D6DsI_Sr.js"),__vite__mapDeps([8,1,2,3,4,5]),import.meta.url),"loader")},{name:"cose-bilkent",loader:b(async()=>await Ge(()=>import("./BBRz8JFJ.js"),__vite__mapDeps([9,10,6]),import.meta.url),"loader")},...K_()])},"registerDefaultLayoutLoaders");Q_();var tP=b(async(e,t)=>{if(!Object.hasOwn(an,e.layoutAlgorithm))throw new Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(const o of e.nodes){const s=o.domId||o.id;o.domId=`${e.diagramId}-${s}`}const r=an[e.layoutAlgorithm],i=await r.loader();DC(t,e.config);const a=await i.render(e,t,V_,{algorithm:r.algorithm});return s_(t.node()),a},"render"),Vc="dagre",eP=b((e="",{fallback:t=Vc}={})=>{if(Object.hasOwn(an,e))return e;for(const r of[t,Vc])if(Object.hasOwn(an,r))return Tt.warn(`Layout algorithm ${e} is not registered. Using ${r} as fallback.`),r;throw new Error(`Neither layout algorithm ${e}, ${t}, nor ${Vc} is registered.`)},"getRegisteredLayoutAlgorithm"),J_=b(e=>{const{securityLevel:t}=Xe();let r=He("body");if(t==="sandbox"){const o=He(`#i${e}`).node()?.contentDocument??document;r=He(o.body)}return r.select(`#${e}`)},"selectSvgElement"),ou="comm",rb="rule",ib="decl",tL="@media",eL="@import",rL="@supports",iL="@namespace",Rh="@keyframes",ab="@layer",aL="@scope",oL=Math.abs,Ks=String.fromCharCode;function ob(e){return e.trim()}function Dh(e,t,r){return e.replace(t,r)}function Go(e,t){return e.charCodeAt(t)|0}function us(e,t,r){return e.slice(t,r)}function Ki(e){return e.length}function sb(e){return e.length}function Pn(e,t){return t.push(e),e}var Vl=1,fs=1,nb=0,_i=0,Pr=0,ws="";function su(e,t,r,i,a,o,s,n){return{value:e,root:t,parent:r,type:i,props:a,children:o,line:Vl,column:fs,length:s,return:"",siblings:n}}function sL(){return Pr}function nL(){return Pr=_i>0?Go(ws,--_i):0,fs--,Pr===10&&(fs=1,Vl--),Pr}function Di(){return Pr=_i<nb?Go(ws,_i++):0,fs++,Pr===10&&(fs=1,Vl++),Pr}function qa(){return Go(ws,_i)}function Jn(){return _i}function Zl(e,t){return us(ws,e,t)}function on(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lL(e){return Vl=fs=1,nb=Ki(ws=e),_i=0,[]}function cL(e){return ws="",e}function Zc(e){return ob(Zl(_i-1,Nh(e===91?e+2:e===40?e+1:e)))}function hL(e){for(;(Pr=qa())&&Pr<33;)Di();return on(e)>2||on(Pr)>3?"":" "}function dL(e,t){for(;--t&&Di()&&!(Pr<48||Pr>102||Pr>57&&Pr<65||Pr>70&&Pr<97););return Zl(e,Jn()+(t<6&&qa()==32&&Di()==32))}function Nh(e){for(;Di();)switch(Pr){case e:return _i;case 34:case 39:e!==34&&e!==39&&Nh(Pr);break;case 40:e===41&&Nh(e);break;case 92:Di();break}return _i}function uL(e,t){for(;Di()&&e+Pr!==57;)if(e+Pr===84&&qa()===47)break;return"/*"+Zl(t,_i-1)+"*"+Ks(e===47?e:Di())}function fL(e){for(;!on(qa());)Di();return Zl(e,_i)}function gL(e){return cL(tl("",null,null,null,[""],e=lL(e),0,[0],e))}function tl(e,t,r,i,a,o,s,n,l){for(var c=0,h=0,d=s,u=0,f=0,p=0,g=1,m=1,y=1,x=0,C=0,k="",v=a,T=o,F=i,A=k;m;)switch(p=C,C=Di()){case 40:p!=108&&Go(A,d-1)==58?(x++,A+="("):A+=Zc(C);break;case 41:x--,A+=")";break;case 34:case 39:case 91:A+=Zc(C);break;case 9:case 10:case 13:case 32:if(x>0){A+=Ks(C);break}A+=hL(p);break;case 92:A+=dL(Jn()-1,7);continue;case 47:switch(qa()){case 42:case 47:Pn(pL(uL(Di(),Jn()),t,r,l),l),(on(p||1)==5||on(qa()||1)==5)&&Ki(A)&&us(A,-1,void 0)!==" "&&(A+=" ");break;default:A+="/"}break;case 123*g:n[c++]=Ki(A)*y;case 125*g:case 59:case 0:if(x>0&&C){A+=Ks(C);break}switch(C){case 0:case 125:m=0;case 59+h:y==-1&&(A=Dh(A,/\f/g,"")),f>0&&(Ki(A)-d||g===0)&&Pn(f>32?Hg(A+";",i,r,d-1,l):Hg(Dh(A," ","")+";",i,r,d-2,l),l);break;case 59:A+=";";default:if(Pn(F=zg(A,t,r,c,h,a,n,k,v=[],T=[],d,o),o),C===123)if(h===0)tl(A,t,F,F,v,o,d,n,T);else{switch(u){case 99:if(Go(A,3)===110)break;case 108:if(Go(A,2)===97)break;default:h=0;case 100:case 109:case 115:}h?tl(e,F,F,i&&Pn(zg(e,F,F,0,0,a,n,k,a,v=[],d,T),T),a,T,d,n,i?v:T):tl(A,F,F,F,[""],T,0,n,T)}}c=h=f=0,g=y=1,k=A="",d=s;break;case 58:d=1+Ki(A),f=p;default:if(g<1){if(C==123)--g;else if(C==125&&g++==0&&nL()==125)continue}switch(A+=Ks(C),C*g){case 38:y=h>0?1:(A+="\f",-1);break;case 44:if(x>0)break;n[c++]=(Ki(A)-1)*y,y=1;break;case 64:qa()===45&&(A+=Zc(Di())),u=qa(),h=d=Ki(k=A+=fL(Jn())),C++;break;case 45:p===45&&Ki(A)==2&&(g=0)}}return o}function zg(e,t,r,i,a,o,s,n,l,c,h,d){for(var u=a-1,f=a===0?o:[""],p=sb(f),g=0,m=0,y=0;g<i;++g)for(var x=0,C=us(e,u+1,u=oL(m=s[g])),k=e;x<p;++x)(k=ob(m>0?f[x]+" "+C:Dh(C,/&\f/g,f[x])))&&(l[y++]=k);return su(e,t,r,a===0?rb:n,l,c,h,d)}function pL(e,t,r,i){return su(e,t,r,ou,Ks(sL()),us(e,2,-2),0,i)}function Hg(e,t,r,i,a){return su(e,t,r,ib,us(e,0,i),us(e,i+1,-1),i,a)}function qh(e,t){for(var r="",i=0;i<e.length;i++)r+=t(e[i],i,e,t)||"";return r}function mL(e,t,r,i){switch(e.type){case ab:if(e.children.length)break;case eL:case iL:case ib:return e.return=e.return||e.value;case ou:return"";case Rh:return e.return=e.value+"{"+qh(e.children,i)+"}";case rb:if(!Ki(e.value=e.props.join(",")))return""}return Ki(r=qh(e.children,i))?e.return=e.value+"{"+r+"}":""}function yL(e){var t=sb(e);return function(r,i,a,o){for(var s="",n=0;n<t;n++)s+=e[n](r,i,a,o)||"";return s}}var lb="c4",xL=b(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),bL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BLDT4lze.js");return{diagram:t}},__vite__mapDeps([11,12]),import.meta.url);return{id:lb,diagram:e}},"loader"),CL={id:lb,detector:xL,loader:bL},wL=CL,cb="flowchart-v2",kL=b(e=>/^\s*(graph|flowchart)/.test(e),"detector"),SL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./okmbexJZ.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:cb,diagram:e}},"loader"),vL={id:cb,detector:kL,loader:SL},ML=vL,hb="agentflow",TL=b(e=>/^\s*agentflow-beta\b/.test(e),"detector"),BL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BGYaMCAp.js");return{diagram:t}},__vite__mapDeps([49,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:hb,diagram:e}},"loader"),_L={id:hb,detector:TL,loader:BL},LL=_L,db="swimlane",AL=b(e=>/^\s*swimlane-beta\b/.test(e),"detector"),FL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DJCJ21BX.js");return{diagram:t}},__vite__mapDeps([50,13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:db,diagram:e}},"loader"),$L={id:db,detector:AL,loader:FL},EL=$L,ub="er",PL=b(e=>/^\s*erDiagram/.test(e),"detector"),IL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CRgLy9Dv.js");return{diagram:t}},__vite__mapDeps([51,15,16]),import.meta.url);return{id:ub,diagram:e}},"loader"),OL={id:ub,detector:PL,loader:IL},RL=OL,fb="gitGraph",DL=b(e=>/^\s*gitGraph/.test(e),"detector"),NL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Dxpr5NqS.js");return{diagram:t}},__vite__mapDeps([52,53,54,55,3,4]),import.meta.url);return{id:fb,diagram:e}},"loader"),qL={id:fb,detector:DL,loader:NL},WL=qL,gb="gantt",zL=b(e=>/^\s*gantt/.test(e),"detector"),HL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Dt9TrzFG.js");return{diagram:t}},__vite__mapDeps([56,6,57]),import.meta.url);return{id:gb,diagram:e}},"loader"),YL={id:gb,detector:zL,loader:HL},XL=YL,pb="info",jL=b(e=>/^\s*info/.test(e),"detector"),GL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./ldCNaZ5F.js");return{diagram:t}},__vite__mapDeps([58,55,3,4]),import.meta.url);return{id:pb,diagram:e}},"loader"),UL={id:pb,detector:jL,loader:GL},mb="pie",VL=b(e=>/^\s*pie/.test(e),"detector"),ZL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BEVpCf6b.js");return{diagram:t}},__vite__mapDeps([59,54,55,3,4,57]),import.meta.url);return{id:mb,diagram:e}},"loader"),KL={id:mb,detector:VL,loader:ZL},yb="quadrantChart",QL=b(e=>/^\s*quadrantChart/.test(e),"detector"),JL=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./cUCU_6OD.js");return{diagram:t}},__vite__mapDeps([60,57]),import.meta.url);return{id:yb,diagram:e}},"loader"),tA={id:yb,detector:QL,loader:JL},eA=tA,xb="xychart",rA=b(e=>/^\s*xychart(-beta)?/.test(e),"detector"),iA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BfxxnTgV.js");return{diagram:t}},__vite__mapDeps([61,57]),import.meta.url);return{id:xb,diagram:e}},"loader"),aA={id:xb,detector:rA,loader:iA},oA=aA,bb="requirement",sA=b(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),nA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BFpzDysH.js");return{diagram:t}},__vite__mapDeps([62,15,16]),import.meta.url);return{id:bb,diagram:e}},"loader"),lA={id:bb,detector:sA,loader:nA},cA=lA,Cb="sequence",hA=b(e=>/^\s*sequenceDiagram/.test(e),"detector"),dA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CNMS2KOf.js");return{diagram:t}},__vite__mapDeps([63,53,12]),import.meta.url);return{id:Cb,diagram:e}},"loader"),uA={id:Cb,detector:hA,loader:dA},fA=uA,wb="classDiagram",gA=b(e=>/^\s*classDiagram/.test(e),"detector"),pA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DhXr1ZqD.js");return{diagram:t}},__vite__mapDeps([64,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:wb,diagram:e}},"loader"),mA={id:wb,detector:gA,loader:pA},yA=mA,kb="stateDiagram",xA=b(e=>/^\s*stateDiagram/.test(e),"detector"),bA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./n2a_8s79.js");return{diagram:t}},__vite__mapDeps([65,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:kb,diagram:e}},"loader"),CA={id:kb,detector:xA,loader:bA},wA=CA,Sb="journey",kA=b(e=>/^\s*journey/.test(e),"detector"),SA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./Cnihm-Nc.js");return{diagram:t}},__vite__mapDeps([66,14,12]),import.meta.url);return{id:Sb,diagram:e}},"loader"),vA={id:Sb,detector:kA,loader:SA},MA=vA,In=4,Es=75,TA=b(e=>{const t=[];for(const a of e.split(/\s+/)){let o=[...a];for(;o.length>Es;)t.push(o.slice(0,Es).join("")),o=o.slice(Es);o.length>0&&t.push(o.join(""))}const r=[];let i="";for(const a of t){const o=i?`${i} ${a}`:a;[...o].length>Es?(r.push(i),i=a):i=o}if(i&&r.push(i),r.length>In){r.length=In;const a=r[In-1]??"";r[In-1]=`${[...a].slice(0,Es-3).join("")}...`}return r},"wrapErrorMessage"),BA=b((e,t,r,i)=>{Tt.debug(`rendering svg for syntax error
302
+ `);const a=J_(t),o=a.append("g"),s=TA(i?.db.getErrorMessage?.()??""),n=s.length>0?500+s.length*56:512;a.attr("viewBox",`0 0 2412 ${n}`),Gp(a,100,n,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`),s.forEach((l,c)=>{o.append("text").attr("class","error-text").attr("x",1440).attr("y",510+c*56).attr("font-size","42px").style("text-anchor","middle").text(l)})},"draw"),vb={draw:BA},_A=vb,Kc,LA={clear(){Kc=void 0},setErrorMessage(e){Kc=e},getErrorMessage(){return Kc}},AA={db:LA,renderer:vb,parser:{parse:b(()=>{},"parse")}},FA=AA,Mb="flowchart-elk",$A=b((e,t={})=>/^\s*flowchart-elk/.test(e)?(t.layout="elk",!0):!1,"detector"),EA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./okmbexJZ.js").then(r=>r.f);return{diagram:t}},__vite__mapDeps([13,14,15,16,12,17,18,19,20,3,4,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,6,41,42,43,44,45,46,47,48]),import.meta.url);return{id:Mb,diagram:e}},"loader"),PA={id:Mb,detector:$A,loader:EA},IA=PA,Tb="timeline",OA=b(e=>/^\s*timeline/.test(e),"detector"),RA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CatH1hIe.js");return{diagram:t}},[],import.meta.url);return{id:Tb,diagram:e}},"loader"),DA={id:Tb,detector:OA,loader:RA},NA=DA,Bb="mindmap",qA=b(e=>/^\s*mindmap/.test(e),"detector"),WA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CnfYogWn.js");return{diagram:t}},__vite__mapDeps([67,15,16]),import.meta.url);return{id:Bb,diagram:e}},"loader"),zA={id:Bb,detector:qA,loader:WA},HA=zA,_b="kanban",YA=b(e=>/^\s*kanban/.test(e),"detector"),XA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DCcgbj-g.js");return{diagram:t}},__vite__mapDeps([68,14]),import.meta.url);return{id:_b,diagram:e}},"loader"),jA={id:_b,detector:YA,loader:XA},GA=jA,Lb="sankey",UA=b(e=>/^\s*sankey(-beta)?/.test(e),"detector"),VA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DKhv0I45.js");return{diagram:t}},__vite__mapDeps([69,57]),import.meta.url);return{id:Lb,diagram:e}},"loader"),ZA={id:Lb,detector:UA,loader:VA},KA=ZA,Ab="packet",QA=b(e=>/^\s*packet(-beta)?/.test(e),"detector"),JA=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./V553m0MO.js");return{diagram:t}},__vite__mapDeps([70,54,55,3,4]),import.meta.url);return{id:Ab,diagram:e}},"loader"),t5={id:Ab,detector:QA,loader:JA},Fb="radar",e5=b(e=>/^\s*radar-beta/.test(e),"detector"),r5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BN6Sv1MY.js");return{diagram:t}},__vite__mapDeps([71,54,55,3,4]),import.meta.url);return{id:Fb,diagram:e}},"loader"),i5={id:Fb,detector:e5,loader:r5},$b="block",a5=b(e=>/^\s*block(-beta)?/.test(e),"detector"),o5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DZuInc-o.js");return{diagram:t}},__vite__mapDeps([72,14,5]),import.meta.url);return{id:$b,diagram:e}},"loader"),s5={id:$b,detector:a5,loader:o5},n5=s5,Eb="treeView",l5=b(e=>/^\s*treeView-beta/.test(e),"detector"),c5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./B-agcRbG.js");return{diagram:t}},__vite__mapDeps([73,53,54,55,3,4]),import.meta.url);return{id:Eb,diagram:e}},"loader"),h5={id:Eb,detector:l5,loader:c5},d5=h5,Pb="architecture",u5=b(e=>/^\s*architecture/.test(e),"detector"),f5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BgUzpkp7.js");return{diagram:t}},__vite__mapDeps([74,54,55,3,4,10,6]),import.meta.url);return{id:Pb,diagram:e}},"loader"),g5={id:Pb,detector:u5,loader:f5},p5=g5,Ib="eventmodeling",m5=b(e=>/^\s*eventmodeling/.test(e),"detector"),y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CHtSQ3Rg.js");return{diagram:t}},__vite__mapDeps([75,54,55,3,4]),import.meta.url);return{id:Ib,diagram:e}},"loader"),x5={id:Ib,detector:m5,loader:y5},b5=x5,Ob="ishikawa",C5=b(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),w5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CEWfqweJ.js");return{diagram:t}},[],import.meta.url);return{id:Ob,diagram:e}},"loader"),k5={id:Ob,detector:C5,loader:w5},Rb="venn",S5=b(e=>/^\s*venn-beta/.test(e),"detector"),v5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./CJCZCJxO.js");return{diagram:t}},[],import.meta.url);return{id:Rb,diagram:e}},"loader"),M5={id:Rb,detector:S5,loader:v5},T5=M5,Db="treemap",B5=b(e=>/^\s*treemap/.test(e),"detector"),_5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BdetxH0g.js");return{diagram:t}},__vite__mapDeps([76,16,54,55,3,4,57]),import.meta.url);return{id:Db,diagram:e}},"loader"),L5={id:Db,detector:B5,loader:_5},Nb="usecase",A5=b(e=>/^\s*usecase-beta(?:\s|$)/.test(e),"detector"),F5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./D0tEEJ7X.js");return{diagram:t}},__vite__mapDeps([77,15,16]),import.meta.url);return{id:Nb,diagram:e}},"loader"),$5={id:Nb,detector:A5,loader:F5},qb="wardley",E5=b(e=>/^\s*wardley-beta/i.test(e),"detector"),P5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DKPwGUzq.js");return{diagram:t}},__vite__mapDeps([78,54,55,3,4]),import.meta.url);return{id:qb,diagram:e}},"loader"),I5={id:qb,detector:E5,loader:P5},O5=I5,Wb="cynefin",R5=b(e=>/^\s*cynefin-beta(?:[\s:]|$)/.test(e),"detector"),D5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./gqVNwlAV.js");return{diagram:t}},__vite__mapDeps([79,54,55,3,4]),import.meta.url);return{id:Wb,diagram:e}},"loader"),N5={id:Wb,detector:R5,loader:D5},zb="railroad",q5=b(e=>/^\s*railroad-beta/i.test(e),"detector"),W5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./BDICjj7k.js");return{diagram:t}},__vite__mapDeps([80,81,54,55,3,4]),import.meta.url);return{id:zb,diagram:e}},"loader"),z5={id:zb,detector:q5,loader:W5},Hb="railroadEbnf",H5=b(e=>/^\s*railroad-ebnf-beta/i.test(e),"detector"),Y5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./OS5fDMId.js");return{diagram:t}},__vite__mapDeps([82,81,54,55,3,4]),import.meta.url);return{id:Hb,diagram:e}},"loader"),X5={id:Hb,detector:H5,loader:Y5},Yb="railroadAbnf",j5=b(e=>/^\s*railroad-abnf-beta/i.test(e),"detector"),G5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./hcpthRFf.js");return{diagram:t}},__vite__mapDeps([83,81,54,55,3,4]),import.meta.url);return{id:Yb,diagram:e}},"loader"),U5={id:Yb,detector:j5,loader:G5},Xb="railroadPeg",V5=b(e=>/^\s*railroad-peg-beta/i.test(e),"detector"),Z5=b(async()=>{const{diagram:e}=await Ge(async()=>{const{diagram:t}=await import("./DgJXm20t.js");return{diagram:t}},__vite__mapDeps([84,81,54,55,3,4]),import.meta.url);return{id:Xb,diagram:e}},"loader"),K5={id:Xb,detector:V5,loader:Z5},Yg=!1,Kl=b(()=>{Yg||(Yg=!0,cl("error",FA,e=>e.toLowerCase().trim()==="error"),cl("---",{db:{clear:b(()=>{},"clear")},styles:{},renderer:{draw:b(()=>{},"draw")},parser:{parse:b(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:b(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),hh(IA,HA,p5),hh(LL,wL,GA,yA,RL,XL,UL,KL,cA,fA,EL,ML,NA,WL,wA,MA,eA,KA,t5,oA,n5,b5,d5,i5,k5,L5,z5,X5,U5,K5,T5,O5,N5,$5))},"addDiagrams"),Q5=b(async()=>{Tt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(yo).map(async([r,{detector:i,loader:a}])=>{if(a)try{ph(r)}catch{try{const{diagram:o,id:s}=await a();cl(s,o,i)}catch(o){throw Tt.error(`Failed to load external diagram with key ${r}. Removing from detectors.`),delete yo[r],o}}}))).filter(r=>r.status==="rejected");if(t.length>0){Tt.error(`Failed to load ${t.length} external diagrams`);for(const r of t)Tt.error(r);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),J5="graphics-document document";function jb(e,t){e.attr("role",J5),t!==""&&e.attr("aria-roledescription",t)}b(jb,"setA11yDiagramInfo");function Gb(e,t,r,i){if(e.insert!==void 0){if(r){const a=`chart-desc-${i}`;e.attr("aria-describedby",a),e.insert("desc",":first-child").attr("id",a).text(r)}if(t){const a=`chart-title-${i}`;e.attr("aria-labelledby",a),e.insert("title",":first-child").attr("id",a).text(t)}}}b(Gb,"addSVGa11yTitleDescription");var mo,Fl=(mo=class{constructor(t,r,i,a,o){this.type=t,this.text=r,this.db=i,this.parser=a,this.renderer=o}static async fromText(t,r={}){const i=typeof t=="string"?{cleaned:t}:t,a=Tr(),o=Ol(i.cleaned,a);try{ph(o)}catch{const u=JC(o);if(!u)throw new Pp(`Diagram ${o} not found.`);const{id:f,diagram:p}=await u();cl(f,p)}const{db:s,parser:n,renderer:l,init:c}=ph(o);n.parser&&(n.parser.yy=s),s.clear?.(),c?.(a),r.title&&s.setDiagramTitle?.(r.title);let h=i.cleaned;if(s.preserveCommentsWhenParsing&&i.withComments){const u=a.maxTextSize??ud.maxTextSize;i.withComments.length>u?Tt.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`):h=i.withComments}const d=oM(h)+`
303
303
  `;return i.frontmatterLineOffset&&s.setFrontmatterLineOffset?.(i.frontmatterLineOffset),await n.parse(d),new mo(o,d,s,n,l)}async render(t,r){await this.renderer.draw(this.text,t,r,this)}getParser(){return this.parser}getType(){return this.type}},b(mo,"Diagram"),mo),Xg=[],tF=b(()=>{Xg.forEach(e=>{e()}),Xg=[]},"attachFunctions"),eF=b(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function Ub(e){const t=Ep(e);if(!t)return{text:e,metadata:{}};const r=t.indent,i=r?t.body.split(`
304
304
  `).map(s=>s.startsWith(r)?s.slice(r.length):s).join(`
305
305
  `):t.body;let a=RC(i,{schema:OC})??{};a=typeof a=="object"&&!Array.isArray(a)?a:{};const o={};return a.displayMode&&(o.displayMode=a.displayMode.toString()),a.title&&(o.title=a.title.toString()),a.config&&(o.config=a.config),{text:e.slice(t.length),metadata:o}}b(Ub,"extractFrontMatter");var rF=b(e=>e.replace(/\r\n?/g,`
@@ -0,0 +1 @@
1
+ import{t as O,by as j,bu as p,bs as E,b as H}from"./BAqR9jtB.js";import{bs as N,ca as r,bk as k,bn as L}from"./DYhIMPy1.js";import{j as f,h as m,s as D,n as $}from"./Bc-8qHYh.js";import"./BPk16bSc.js";import"./DiCMHWTR.js";import"./C9gP-gRX.js";import"./ChTqQfQN.js";import"./7ZJvg7ev.js";import{Hp as s,H4 as b,oa as o,pP as P,jS as W}from"./BSwWMzab.js";function q(_,h){if(new.target)return O({component:q,..._});N(h,!0);const y=()=>p(U,"$toastVisible$",c),u=()=>p(v,"$status$",c),V=()=>p(I,"$dismissedAt$",c),[c,g]=E(),U=f(),v=m(),I=D(),T=1440*60*1e3;let e,w;const S=new Set;function A(t){S.add(t),$.dismiss(t)}function a(){e!==void 0&&A(e),e=$.update({onDismiss:()=>{e!==void 0&&($.dismiss(e),e=void 0),s.dispatch(o())},onAutoDismiss:()=>{n(),s.dispatch(o())}},{duration:1/0,onDismiss:t=>{if(S.delete(t.id))return;if(e===t.id&&(e=void 0),m.select(s.state)==="downloaded"){s.dispatch(W(Date.now()));return}s.dispatch(o())}})}function n(){e!==void 0&&(A(e),e=void 0)}r(()=>{y()&&e===void 0&&a()}),r(()=>{const t=u();if(t!==w){if(t==="downloading")e===void 0&&a(),f.select(s.state)||s.dispatch(b());else if(t==="downloaded"){const i=D.select(s.state);i==null||Date.now()-i>=T?(e===void 0&&a(),f.select(s.state)||s.dispatch(b())):(n(),s.dispatch(o()))}t==="idle"&&(n(),s.dispatch(o())),w=t}}),r(()=>{const t=u(),i=V();if(t!=="downloaded"||i==null)return;const d=Date.now()-i,l=T-d;if(l<=0)return;const M=setTimeout(()=>{m.select(s.state)==="downloaded"&&(a(),s.dispatch(b()))},l);return()=>clearTimeout(M)}),r(()=>{const t=u();if(t==="not-available"||t==="error"){const d=setTimeout(()=>{n(),s.dispatch(o())},t==="error"?5500:3500);return()=>clearTimeout(d)}}),k(()=>(s.dispatch(P()),()=>{n()}));var x={$set:j,$on:(t,i)=>H(h,t,i)},C=L(x);return g(),C}export{q as default};
@@ -1 +1 @@
1
- import{v as c}from"./WFvSJ9zU.js";import{a8 as t}from"./DaA44xVk.js";function a(n){return n.connections?.windowBackendId??t}function i(n,e){return e===t?n:`backend:${e}:${n}`}function*s(){return yield*c(a)}export{a as g,i as n,s};
1
+ import{v as c}from"./WFvSJ9zU.js";import{a8 as t}from"./BSwWMzab.js";function a(n){return n.connections?.windowBackendId??t}function i(n,e){return e===t?n:`backend:${e}:${n}`}function*s(){return yield*c(a)}export{a as g,i as n,s};
@@ -1,11 +1,11 @@
1
- import{Hm as N}from"./DaA44xVk.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function w(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${w(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${w(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${w(n.input)}:${w(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${w(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function U(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function V(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
1
+ import{Hp as N}from"./BSwWMzab.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function U(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function V(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
2
2
  `).replace(/\\t/g," ").replace(/\\r/g,"\r")}function _(t){return typeof t!="string"?null:t.trim()||null}function v(t){if(Array.isArray(t)){for(const e of t){const o=_(e);if(o)return o}return null}return _(t)}function j(t,e,o){let n=_(o.path);if(!n&&typeof e=="string"&&e.toLowerCase().startsWith("edit ")){const c=_(e.substring(5));n=c&&x(c)?c:null}if(!n)return null;if(o.command==="create"){const c=o.file_text??"",d=p(c),u=d?d.split(`
3
- `):[];return{filePath:n,action:"create",additions:u.length,deletions:0,toolName:e,toolCallId:t,oldContent:"",newContent:d}}let s=0,i=0;const r=[],l=[];let a;if(Array.isArray(o.str_replace_entries))for(const c of o.str_replace_entries){const d=c.old_str,u=c.new_str,h=c.old_str_start_line_number;if(d!==void 0&&u!==void 0){const g=p(d),m=p(u);i+=g?g.split(`
4
- `).length:0,s+=m?m.split(`
5
- `).length:0,r.push(g),l.push(m),a===void 0&&h!==void 0&&(a=parseInt(h,10))}}if(o.command==="insert"&&Array.isArray(o.insert_entries))for(const c of o.insert_entries){const d=c.new_str,u=c.insert_line;if(d!==void 0){const h=p(d);s+=h?h.split(`
6
- `).length:0,l.push(h),a===void 0&&u!==void 0&&(a=parseInt(u,10)+1)}}if(r.length===0&&l.length===0){for(let c=1;c<=10;c++){const d=o[`old_str_${c}`]??(c===1?o.old_str:void 0),u=o[`new_str_${c}`]??(c===1?o.new_str:void 0),h=o[`old_str_start_line_number_${c}`]??(c===1?o.old_str_start_line_number:void 0);if(d!==void 0&&u!==void 0){const g=p(d),m=p(u);i+=g?g.split(`
7
- `).length:0,s+=m?m.split(`
8
- `).length:0,r.push(g),l.push(m),a===void 0&&h!==void 0&&(a=parseInt(h,10))}else if(c>1)break}if(o.command==="insert"){const c=o.insert_line_1??o.insert_line;c!==void 0&&a===void 0&&(a=parseInt(c,10)+1);for(let d=1;d<=10;d++){const u=o[`new_str_${d}`];if(u!==void 0){const h=p(u);s+=h?h.split(`
3
+ `):[];return{filePath:n,action:"create",additions:u.length,deletions:0,toolName:e,toolCallId:t,oldContent:"",newContent:d}}let s=0,i=0;const r=[],l=[];let a;if(Array.isArray(o.str_replace_entries))for(const c of o.str_replace_entries){const d=c.old_str,u=c.new_str,h=c.old_str_start_line_number;if(d!==void 0&&u!==void 0){const g=p(d),w=p(u);i+=g?g.split(`
4
+ `).length:0,s+=w?w.split(`
5
+ `).length:0,r.push(g),l.push(w),a===void 0&&h!==void 0&&(a=parseInt(h,10))}}if(o.command==="insert"&&Array.isArray(o.insert_entries))for(const c of o.insert_entries){const d=c.new_str,u=c.insert_line;if(d!==void 0){const h=p(d);s+=h?h.split(`
6
+ `).length:0,l.push(h),a===void 0&&u!==void 0&&(a=parseInt(u,10)+1)}}if(r.length===0&&l.length===0){for(let c=1;c<=10;c++){const d=o[`old_str_${c}`]??(c===1?o.old_str:void 0),u=o[`new_str_${c}`]??(c===1?o.new_str:void 0),h=o[`old_str_start_line_number_${c}`]??(c===1?o.old_str_start_line_number:void 0);if(d!==void 0&&u!==void 0){const g=p(d),w=p(u);i+=g?g.split(`
7
+ `).length:0,s+=w?w.split(`
8
+ `).length:0,r.push(g),l.push(w),a===void 0&&h!==void 0&&(a=parseInt(h,10))}else if(c>1)break}if(o.command==="insert"){const c=o.insert_line_1??o.insert_line;c!==void 0&&a===void 0&&(a=parseInt(c,10)+1);for(let d=1;d<=10;d++){const u=o[`new_str_${d}`];if(u!==void 0){const h=p(u);s+=h?h.split(`
9
9
  `).length:0,l.push(h)}else break}}}const f=`
10
10
 
11
11
  // ─────────────────────────────────────
@@ -1 +1 @@
1
- import{D as C}from"./li27w4Od.js";import{t as re,bq as y,a_ as se,by as ae,b as ne,bo as I}from"./BV49_RX-.js";import{bs as oe,cb as ie,c5 as le,bH as E,aD as b,a5 as G,bA as q,b_ as R,W as k,bn as ce,bV as W,c9 as F,aA as x,ay as H,bl as N,bS as L,bO as O,a7 as de,aB as P}from"./DYhIMPy1.js";import{E as ue}from"./8rrBGDgQ.js";import{s as D}from"./DU64vtBR.js";import{a as me}from"./RGxIilBQ.js";const K=C.shape.model,pe=C.shape.states.unwrap().element;function U(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function fe(t){return/^(?:|model|model\.(?:nodes|edges|groups)|states)$/.test(t)}function ge(t){let e=0;const s=()=>{for(;/[\t\n\r ]/.test(t[e]??"\0");)e+=1},a=(l,d)=>{if(d>64)throw new Error("JSON nesting limit exceeded");s();const f=e,u=t[e];if(u===void 0)return{complete:!1};if(u==='"'){for(e+=1;e<t.length;){const r=t[e++];if(r==="\\")e+=1;else if(r==='"')return{value:JSON.parse(t.slice(f,e)),complete:!0}}return{complete:!1}}if(u==="{"||u==="["){const r=u==="{",c=r?Object.create(null):[],h=r?"}":"]";if(e+=1,s(),t[e]===h)return e+=1,{value:c,complete:!0};for(;e<t.length;){let i="";if(r){if(t[e]!=='"')throw new Error("Expected JSON property");const _=a(l,d+1);if(!_.complete)return{value:c,complete:!1};if(i=_.value,s(),e===t.length)return{value:c,complete:!1};if(t[e++]!==":")throw new Error("Expected JSON colon")}const g=r?l?`${l}.${i}`:i:`${l}[]`,v=a(g,d+1);if((v.complete||fe(g)&&v.value!==void 0)&&(Array.isArray(c)?c.push(v.value):c[i]=v.value),!v.complete)return{value:c,complete:!1};if(s(),e===t.length)return{value:c,complete:!1};if(t[e]===h)return e+=1,{value:c,complete:!0};if(t[e++]!==",")throw new Error("Expected JSON separator");s()}return{value:c,complete:!1}}for(;e<t.length&&!/[\t\n\r ,}\]]/.test(t[e]);)e+=1;return e===t.length?{complete:!1}:{value:JSON.parse(t.slice(f,e)),complete:!0}},n=a("",0);if(s(),n.complete&&e!==t.length)throw new Error("Unexpected JSON suffix");return n}function J(t){const e=new Set;return t.filter(({id:s})=>e.has(s)?!1:(e.add(s),!0))}function z(t,e,s,a){return[t.visibleNodes,t.highlightedNodes].every(n=>n?.every(l=>e.has(l))??!0)&&[t.visibleEdges,t.highlightedEdges].every(n=>n?.every(l=>s.has(l))??!0)&&(t.visibleGroups?.every(n=>a.has(n))??!0)&&(t.camera?.focus===void 0||e.has(t.camera.focus))}function ve(t){if(!U(t)||!U(t.model))return null;const e=t.model,s=(i,g)=>Array.isArray(i)?i.filter(v=>g.safeParse(v).success):[];let a=J(s(e.nodes,K.shape.nodes.element)),n=J(s(e.groups,K.shape.groups.unwrap().element)),l=!0;for(;l;){const i=new Set(a.map(({id:m})=>m)),g=n.filter(m=>m.nodeIds.every(A=>i.has(A))),v=new Set(g.map(({id:m})=>m)),_=a.filter(m=>m.group===void 0||v.has(m.group));l=_.length!==a.length||g.length!==n.length,a=_,n=g}if(!a.length)return null;const d=new Set(a.map(({id:i})=>i)),f=J(s(e.edges,K.shape.edges.element)).filter(i=>d.has(i.from)&&d.has(i.to)),u=new Set(f.map(({id:i})=>i)),r=new Set(n.map(({id:i})=>i)),c=J(s(t.states,pe)).filter(i=>z(i,d,u,r)),h={...t,model:{...e,nodes:a,edges:f,...e.groups===void 0?{}:{groups:n}},...t.states===void 0?{}:{states:c}};return c.some(i=>i.id===h.currentStateId)||delete h.currentStateId,C.safeParse(h).success?h:null}function V(t){if(!C.safeParse(t).success)return null;const e=t,{nodes:s,edges:a,groups:n=[]}=e.model,l=e.states??[],d=new Set(s.map(({id:r})=>r)),f=new Set(a.map(({id:r})=>r)),u=new Set(n.map(({id:r})=>r));return[s,a,n,l].some(r=>new Set(r.map(({id:c})=>c)).size!==r.length)||s.some(r=>r.group!==void 0&&!u.has(r.group))||a.some(r=>!d.has(r.from)||!d.has(r.to))||n.some(r=>r.nodeIds.some(c=>!d.has(c)))||l.some(r=>!z(r,d,f,u))||e.currentStateId!==void 0&&!l.some(r=>r.id===e.currentStateId)?null:e}function Ne(t,e=!1){const s=(a,n,l)=>({rawSource:t,status:a,diagram:n,...l?{error:l}:{}});try{if(e){const n=V(JSON.parse(t));return n?s("complete",n):s("invalid",null,"Invalid diagram payload")}const a=ge(t);if(a.complete){const n=V(a.value);if(n)return s("complete",n)}return s("partial",ve(a.value))}catch{return s(e?"invalid":"partial",null,e?"Invalid diagram JSON":void 0)}}var he=P('<div class="diagram-feedback svelte-p097sp" role="alert"><strong> </strong> <span> </span></div> <pre class="diagram-source svelte-p097sp"> </pre>',1),we=P('<div class="diagram-feedback svelte-p097sp" role="status"> </div>'),Se=P('<div class="streaming-diagram svelte-p097sp"><!></div>');function _e(t,e){if(new.target)return re({component:_e,...t});oe(e,!0);let s=y(e,"diagram",7),a=y(e,"isStreaming",7,!1),n=y(e,"source",7),l=y(e,"sourceError",7),d=y(e,"viewResetKey",7),f=y(e,"onBindingClick",7),u=W(null),r=W(0),c="",h,i=!1;ie(()=>{const o=s(),p=n(),w=d(),S=a(),B=!!l();le(()=>{i&&(w!==h||!p.startsWith(c))&&(E(u,null),E(r,b(r)+1)),i=!0,c=p,h=w,B||!S&&!o?E(u,null):o&&E(u,o,!0)})});const g=F(()=>l()?null:s()??(a()?b(u):null)),v=F(()=>!!l()||!a()&&!s());var _={get diagram(){return s()},set diagram(o){s(o),x()},get isStreaming(){return a()},set isStreaming(o=!1){a(o),x()},get source(){return n()},set source(o){n(o),x()},get sourceError(){return l()},set sourceError(o){l(o),x()},get viewResetKey(){return d()},set viewResetKey(o){d(o),x()},get onBindingClick(){return f()},set onBindingClick(o){f(o),x()},$set:ae,$on:(o,p)=>ne(e,o,p)},m=Se(),A=G(m);{var M=o=>{var p=he(),w=H(p),S=G(w),B=N(S,!0),X=L(S,2),Y=N(X,!0);q(w);var j=L(w,2),Z=N(j,!0);R(($,ee,te)=>{O(B,$),O(Y,ee),D(j,"aria-label",te),O(Z,n())},[()=>I.markdown_mermaid_renderFailed_error(),()=>I.diagram_renderer_error_description(),()=>I.markdown_mermaid_viewSource_label()]),k(o,p)},Q=o=>{var p=de(),w=H(p);ue(w,()=>b(r),S=>{me(S,{get diagram(){return b(g)},editable:!1,get viewResetKey(){return d()},get onBindingClick(){return f()}})}),k(o,p)},T=o=>{var p=we(),w=N(p,!0);R(S=>O(w,S),[()=>I.ui_spinner_loading_ariaLabel()]),k(o,p)};se(A,o=>{b(v)?o(M):b(g)?o(Q,1):o(T,-1)})}return q(m),R(()=>{D(m,"aria-busy",a()),D(m,"data-diagram-streaming",a())}),k(t,m),ce(_)}export{_e as S,Ne as p};
1
+ import{D as C}from"./BCDWZbwh.js";import{t as re,bq as y,a_ as se,by as ae,b as ne,bo as I}from"./BAqR9jtB.js";import{bs as oe,cb as ie,c5 as le,bH as E,aD as b,a5 as G,bA as q,b_ as R,W as k,bn as ce,bV as W,c9 as F,aA as x,ay as H,bl as N,bS as L,bO as O,a7 as de,aB as P}from"./DYhIMPy1.js";import{E as ue}from"./UuiGcpAE.js";import{s as D}from"./BPk16bSc.js";import{a as me}from"./Bpy6Muvw.js";const K=C.shape.model,pe=C.shape.states.unwrap().element;function U(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}function fe(t){return/^(?:|model|model\.(?:nodes|edges|groups)|states)$/.test(t)}function ge(t){let e=0;const s=()=>{for(;/[\t\n\r ]/.test(t[e]??"\0");)e+=1},a=(l,d)=>{if(d>64)throw new Error("JSON nesting limit exceeded");s();const f=e,u=t[e];if(u===void 0)return{complete:!1};if(u==='"'){for(e+=1;e<t.length;){const r=t[e++];if(r==="\\")e+=1;else if(r==='"')return{value:JSON.parse(t.slice(f,e)),complete:!0}}return{complete:!1}}if(u==="{"||u==="["){const r=u==="{",c=r?Object.create(null):[],h=r?"}":"]";if(e+=1,s(),t[e]===h)return e+=1,{value:c,complete:!0};for(;e<t.length;){let i="";if(r){if(t[e]!=='"')throw new Error("Expected JSON property");const _=a(l,d+1);if(!_.complete)return{value:c,complete:!1};if(i=_.value,s(),e===t.length)return{value:c,complete:!1};if(t[e++]!==":")throw new Error("Expected JSON colon")}const g=r?l?`${l}.${i}`:i:`${l}[]`,v=a(g,d+1);if((v.complete||fe(g)&&v.value!==void 0)&&(Array.isArray(c)?c.push(v.value):c[i]=v.value),!v.complete)return{value:c,complete:!1};if(s(),e===t.length)return{value:c,complete:!1};if(t[e]===h)return e+=1,{value:c,complete:!0};if(t[e++]!==",")throw new Error("Expected JSON separator");s()}return{value:c,complete:!1}}for(;e<t.length&&!/[\t\n\r ,}\]]/.test(t[e]);)e+=1;return e===t.length?{complete:!1}:{value:JSON.parse(t.slice(f,e)),complete:!0}},n=a("",0);if(s(),n.complete&&e!==t.length)throw new Error("Unexpected JSON suffix");return n}function J(t){const e=new Set;return t.filter(({id:s})=>e.has(s)?!1:(e.add(s),!0))}function z(t,e,s,a){return[t.visibleNodes,t.highlightedNodes].every(n=>n?.every(l=>e.has(l))??!0)&&[t.visibleEdges,t.highlightedEdges].every(n=>n?.every(l=>s.has(l))??!0)&&(t.visibleGroups?.every(n=>a.has(n))??!0)&&(t.camera?.focus===void 0||e.has(t.camera.focus))}function ve(t){if(!U(t)||!U(t.model))return null;const e=t.model,s=(i,g)=>Array.isArray(i)?i.filter(v=>g.safeParse(v).success):[];let a=J(s(e.nodes,K.shape.nodes.element)),n=J(s(e.groups,K.shape.groups.unwrap().element)),l=!0;for(;l;){const i=new Set(a.map(({id:m})=>m)),g=n.filter(m=>m.nodeIds.every(A=>i.has(A))),v=new Set(g.map(({id:m})=>m)),_=a.filter(m=>m.group===void 0||v.has(m.group));l=_.length!==a.length||g.length!==n.length,a=_,n=g}if(!a.length)return null;const d=new Set(a.map(({id:i})=>i)),f=J(s(e.edges,K.shape.edges.element)).filter(i=>d.has(i.from)&&d.has(i.to)),u=new Set(f.map(({id:i})=>i)),r=new Set(n.map(({id:i})=>i)),c=J(s(t.states,pe)).filter(i=>z(i,d,u,r)),h={...t,model:{...e,nodes:a,edges:f,...e.groups===void 0?{}:{groups:n}},...t.states===void 0?{}:{states:c}};return c.some(i=>i.id===h.currentStateId)||delete h.currentStateId,C.safeParse(h).success?h:null}function V(t){if(!C.safeParse(t).success)return null;const e=t,{nodes:s,edges:a,groups:n=[]}=e.model,l=e.states??[],d=new Set(s.map(({id:r})=>r)),f=new Set(a.map(({id:r})=>r)),u=new Set(n.map(({id:r})=>r));return[s,a,n,l].some(r=>new Set(r.map(({id:c})=>c)).size!==r.length)||s.some(r=>r.group!==void 0&&!u.has(r.group))||a.some(r=>!d.has(r.from)||!d.has(r.to))||n.some(r=>r.nodeIds.some(c=>!d.has(c)))||l.some(r=>!z(r,d,f,u))||e.currentStateId!==void 0&&!l.some(r=>r.id===e.currentStateId)?null:e}function Ne(t,e=!1){const s=(a,n,l)=>({rawSource:t,status:a,diagram:n,...l?{error:l}:{}});try{if(e){const n=V(JSON.parse(t));return n?s("complete",n):s("invalid",null,"Invalid diagram payload")}const a=ge(t);if(a.complete){const n=V(a.value);if(n)return s("complete",n)}return s("partial",ve(a.value))}catch{return s(e?"invalid":"partial",null,e?"Invalid diagram JSON":void 0)}}var he=P('<div class="diagram-feedback svelte-p097sp" role="alert"><strong> </strong> <span> </span></div> <pre class="diagram-source svelte-p097sp"> </pre>',1),we=P('<div class="diagram-feedback svelte-p097sp" role="status"> </div>'),Se=P('<div class="streaming-diagram svelte-p097sp"><!></div>');function _e(t,e){if(new.target)return re({component:_e,...t});oe(e,!0);let s=y(e,"diagram",7),a=y(e,"isStreaming",7,!1),n=y(e,"source",7),l=y(e,"sourceError",7),d=y(e,"viewResetKey",7),f=y(e,"onBindingClick",7),u=W(null),r=W(0),c="",h,i=!1;ie(()=>{const o=s(),p=n(),w=d(),S=a(),B=!!l();le(()=>{i&&(w!==h||!p.startsWith(c))&&(E(u,null),E(r,b(r)+1)),i=!0,c=p,h=w,B||!S&&!o?E(u,null):o&&E(u,o,!0)})});const g=F(()=>l()?null:s()??(a()?b(u):null)),v=F(()=>!!l()||!a()&&!s());var _={get diagram(){return s()},set diagram(o){s(o),x()},get isStreaming(){return a()},set isStreaming(o=!1){a(o),x()},get source(){return n()},set source(o){n(o),x()},get sourceError(){return l()},set sourceError(o){l(o),x()},get viewResetKey(){return d()},set viewResetKey(o){d(o),x()},get onBindingClick(){return f()},set onBindingClick(o){f(o),x()},$set:ae,$on:(o,p)=>ne(e,o,p)},m=Se(),A=G(m);{var M=o=>{var p=he(),w=H(p),S=G(w),B=N(S,!0),X=L(S,2),Y=N(X,!0);q(w);var j=L(w,2),Z=N(j,!0);R(($,ee,te)=>{O(B,$),O(Y,ee),D(j,"aria-label",te),O(Z,n())},[()=>I.markdown_mermaid_renderFailed_error(),()=>I.diagram_renderer_error_description(),()=>I.markdown_mermaid_viewSource_label()]),k(o,p)},Q=o=>{var p=de(),w=H(p);ue(w,()=>b(r),S=>{me(S,{get diagram(){return b(g)},editable:!1,get viewResetKey(){return d()},get onBindingClick(){return f()}})}),k(o,p)},T=o=>{var p=we(),w=N(p,!0);R(S=>O(w,S),[()=>I.ui_spinner_loading_ariaLabel()]),k(o,p)};se(A,o=>{b(v)?o(M):b(g)?o(Q,1):o(T,-1)})}return q(m),R(()=>{D(m,"aria-busy",a()),D(m,"data-diagram-streaming",a())}),k(t,m),ce(_)}export{_e as S,Ne as p};
@@ -1,4 +1,4 @@
1
- var aC=Object.defineProperty;var iC=(t,e,r)=>e in t?aC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var L=(t,e,r)=>iC(t,typeof e!="symbol"?e+"":e,r);import{_ as et}from"./BV49_RX-.js";var sC=Object.create,ol=Object.defineProperty,oC=Object.getOwnPropertyDescriptor,nd=Object.getOwnPropertyNames,lC=Object.getPrototypeOf,uC=Object.prototype.hasOwnProperty,s=(t,e)=>ol(t,"name",{value:e,configurable:!0}),cC=(t,e)=>function(){return t&&(e=(0,t[nd(t)[0]])(t=0)),e},re=(t,e)=>function(){return e||(0,t[nd(t)[0]])((e={exports:{}}).exports,e),e.exports},fC=(t,e)=>{for(var r in e)ol(t,r,{get:e[r],enumerable:!0})},_y=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of nd(e))!uC.call(t,n)&&n!==r&&ol(t,n,{get:()=>e[n],enumerable:!(a=oC(e,n))||a.enumerable});return t},ad=(t,e,r)=>(r=t!=null?sC(lC(t)):{},_y(ol(r,"default",{value:t,enumerable:!0}),t)),id=t=>_y(ol({},"__esModule",{value:!0}),t),ll=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/is.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=e,t.string=r,t.number=a,t.error=n,t.func=i,t.array=o,t.stringArray=u;function e(l){return l===!0||l===!1}s(e,"boolean");function r(l){return typeof l=="string"||l instanceof String}s(r,"string");function a(l){return typeof l=="number"||l instanceof Number}s(a,"number");function n(l){return l instanceof Error}s(n,"error");function i(l){return typeof l=="function"}s(i,"func");function o(l){return Array.isArray(l)}s(o,"array");function u(l){return o(l)&&l.every(c=>r(c))}s(u,"stringArray")}}),Sy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messages.js"(t){var G,S,I,v,w,k,_,x,U,Z,Q,ee,ae,pe,ye,Le,Ne,Je,Ze,pt,ze,xe,st,Qe,se;var e=t&&t.__createBinding||(Object.create?(function(B,q,z,oe){oe===void 0&&(oe=z);var de=Object.getOwnPropertyDescriptor(q,z);(!de||("get"in de?!q.__esModule:de.writable||de.configurable))&&(de={enumerable:!0,get:s(function(){return q[z]},"get")}),Object.defineProperty(B,oe,de)}):(function(B,q,z,oe){oe===void 0&&(oe=z),B[oe]=q[z]})),r=t&&t.__setModuleDefault||(Object.create?(function(B,q){Object.defineProperty(B,"default",{enumerable:!0,value:q})}):function(B,q){B.default=q}),a=t&&t.__importStar||(function(){var B=s(function(q){return B=Object.getOwnPropertyNames||function(z){var oe=[];for(var de in z)Object.prototype.hasOwnProperty.call(z,de)&&(oe[oe.length]=de);return oe},B(q)},"ownKeys");return function(q){if(q&&q.__esModule)return q;var z={};if(q!=null)for(var oe=B(q),de=0;de<oe.length;de++)oe[de]!=="default"&&e(z,q,oe[de]);return r(z,q),z}})();Object.defineProperty(t,"__esModule",{value:!0}),t.Message=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType=t.RequestType0=t.AbstractMessageSignature=t.ParameterStructures=t.ResponseError=t.ErrorCodes=void 0;var n=a(ll()),i;(function(B){B.ParseError=-32700,B.InvalidRequest=-32600,B.MethodNotFound=-32601,B.InvalidParams=-32602,B.InternalError=-32603,B.jsonrpcReservedErrorRangeStart=-32099,B.serverErrorStart=-32099,B.MessageWriteError=-32099,B.MessageReadError=-32098,B.PendingResponseRejected=-32097,B.ConnectionInactive=-32096,B.ServerNotInitialized=-32002,B.UnknownErrorCode=-32001,B.jsonrpcReservedErrorRangeEnd=-32e3,B.serverErrorEnd=-32e3})(i||(t.ErrorCodes=i={}));var o=(G=class extends Error{constructor(z,oe,de){super(oe);L(this,"code");L(this,"data");this.code=n.number(z)?z:i.UnknownErrorCode,this.data=de,Object.setPrototypeOf(this,G.prototype)}toJson(){const z={code:this.code,message:this.message};return this.data!==void 0&&(z.data=this.data),z}},s(G,"ResponseError"),G);t.ResponseError=o;var u=(S=class{constructor(q){L(this,"kind");this.kind=q}static is(q){return q===S.auto||q===S.byName||q===S.byPosition}toString(){return this.kind}},s(S,"ParameterStructures"),L(S,"auto",new S("auto")),L(S,"byPosition",new S("byPosition")),L(S,"byName",new S("byName")),S);t.ParameterStructures=u;var l=(I=class{constructor(q,z){L(this,"method");L(this,"numberOfParams");this.method=q,this.numberOfParams=z}get parameterStructures(){return u.auto}},s(I,"AbstractMessageSignature"),I);t.AbstractMessageSignature=l;var c=(v=class extends l{constructor(z){super(z,0);L(this,"_")}},s(v,"RequestType0"),v);t.RequestType0=c;var f=(w=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(w,"RequestType"),w);t.RequestType=f;var p=(k=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(k,"RequestType1"),k);t.RequestType1=p;var h=(_=class extends l{constructor(z){super(z,2);L(this,"_")}},s(_,"RequestType2"),_);t.RequestType2=h;var g=(x=class extends l{constructor(z){super(z,3);L(this,"_")}},s(x,"RequestType3"),x);t.RequestType3=g;var A=(U=class extends l{constructor(z){super(z,4);L(this,"_")}},s(U,"RequestType4"),U);t.RequestType4=A;var $=(Z=class extends l{constructor(z){super(z,5);L(this,"_")}},s(Z,"RequestType5"),Z);t.RequestType5=$;var R=(Q=class extends l{constructor(z){super(z,6);L(this,"_")}},s(Q,"RequestType6"),Q);t.RequestType6=R;var m=(ee=class extends l{constructor(z){super(z,7);L(this,"_")}},s(ee,"RequestType7"),ee);t.RequestType7=m;var y=(ae=class extends l{constructor(z){super(z,8);L(this,"_")}},s(ae,"RequestType8"),ae);t.RequestType8=y;var E=(pe=class extends l{constructor(z){super(z,9);L(this,"_")}},s(pe,"RequestType9"),pe);t.RequestType9=E;var b=(ye=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(ye,"NotificationType"),ye);t.NotificationType=b;var P=(Le=class extends l{constructor(z){super(z,0);L(this,"_")}},s(Le,"NotificationType0"),Le);t.NotificationType0=P;var F=(Ne=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(Ne,"NotificationType1"),Ne);t.NotificationType1=F;var K=(Je=class extends l{constructor(z){super(z,2);L(this,"_")}},s(Je,"NotificationType2"),Je);t.NotificationType2=K;var le=(Ze=class extends l{constructor(z){super(z,3);L(this,"_")}},s(Ze,"NotificationType3"),Ze);t.NotificationType3=le;var ge=(pt=class extends l{constructor(z){super(z,4);L(this,"_")}},s(pt,"NotificationType4"),pt);t.NotificationType4=ge;var X=(ze=class extends l{constructor(z){super(z,5);L(this,"_")}},s(ze,"NotificationType5"),ze);t.NotificationType5=X;var ve=(xe=class extends l{constructor(z){super(z,6);L(this,"_")}},s(xe,"NotificationType6"),xe);t.NotificationType6=ve;var Me=(st=class extends l{constructor(z){super(z,7);L(this,"_")}},s(st,"NotificationType7"),st);t.NotificationType7=Me;var D=(Qe=class extends l{constructor(z){super(z,8);L(this,"_")}},s(Qe,"NotificationType8"),Qe);t.NotificationType8=D;var N=(se=class extends l{constructor(z){super(z,9);L(this,"_")}},s(se,"NotificationType9"),se);t.NotificationType9=N;var M;(function(B){function q(de){const Oe=de;return Oe&&n.string(Oe.method)&&(n.string(Oe.id)||n.number(Oe.id))}s(q,"isRequest"),B.isRequest=q;function z(de){const Oe=de;return Oe&&n.string(Oe.method)&&de.id===void 0}s(z,"isNotification"),B.isNotification=z;function oe(de){const Oe=de;return Oe&&(Oe.result!==void 0||!!Oe.error)&&(n.string(Oe.id)||n.number(Oe.id)||Oe.id===null)}s(oe,"isResponse"),B.isResponse=oe})(M||(t.Message=M={}))}}),wy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/linkedMap.js"(t){var n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=t.LinkedMap=t.Touch=void 0;var e;(function(u){u.None=0,u.First=1,u.AsOld=u.First,u.Last=2,u.AsNew=u.Last})(e||(t.Touch=e={}));var r=(i=class{constructor(){L(this,n,"LinkedMap");L(this,"_map");L(this,"_head");L(this,"_tail");L(this,"_size");L(this,"_state");this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before(l){const c=this._map.get(l);return c?c.previous?.value:void 0}after(l){const c=this._map.get(l);return c?c.next?.value:void 0}has(l){return this._map.has(l)}get(l,c=e.None){const f=this._map.get(l);if(f)return c!==e.None&&this.touch(f,c),f.value}set(l,c,f=e.None){let p=this._map.get(l);if(p)p.value=c,f!==e.None&&this.touch(p,f);else{switch(p={key:l,value:c,next:void 0,previous:void 0},f){case e.None:this.addItemLast(p);break;case e.First:this.addItemFirst(p);break;case e.Last:this.addItemLast(p);break;default:this.addItemLast(p);break}this._map.set(l,p),this._size++}return this}delete(l){return!!this.remove(l)}remove(l){const c=this._map.get(l);if(c)return this._map.delete(l),this.removeItem(c),this._size--,c.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const l=this._head;return this._map.delete(l.key),this.removeItem(l),this._size--,l.value}forEach(l,c){const f=this._state;let p=this._head;for(;p;){if(c?l.bind(c)(p.value,p.key,this):l(p.value,p.key,this),this._state!==f)throw new Error("LinkedMap got modified during iteration.");p=p.next}}keys(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.key,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}values(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.value,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}entries(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:[c.key,c.value],done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}[(n=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(l){if(l>=this.size)return;if(l===0){this.clear();return}let c=this._head,f=this.size;for(;c&&f>l;)this._map.delete(c.key),c=c.next,f--;this._head=c,this._size=f,c&&(c.previous=void 0),this._state++}addItemFirst(l){if(!this._head&&!this._tail)this._tail=l;else if(this._head)l.next=this._head,this._head.previous=l;else throw new Error("Invalid list");this._head=l,this._state++}addItemLast(l){if(!this._head&&!this._tail)this._head=l;else if(this._tail)l.previous=this._tail,this._tail.next=l;else throw new Error("Invalid list");this._tail=l,this._state++}removeItem(l){if(l===this._head&&l===this._tail)this._head=void 0,this._tail=void 0;else if(l===this._head){if(!l.next)throw new Error("Invalid list");l.next.previous=void 0,this._head=l.next}else if(l===this._tail){if(!l.previous)throw new Error("Invalid list");l.previous.next=void 0,this._tail=l.previous}else{const c=l.next,f=l.previous;if(!c||!f)throw new Error("Invalid list");c.previous=f,f.next=c}l.next=void 0,l.previous=void 0,this._state++}touch(l,c){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(c!==e.First&&c!==e.Last)){if(c===e.First){if(l===this._head)return;const f=l.next,p=l.previous;l===this._tail?(p.next=void 0,this._tail=p):(f.previous=p,p.next=f),l.previous=void 0,l.next=this._head,this._head.previous=l,this._head=l,this._state++}else if(c===e.Last){if(l===this._tail)return;const f=l.next,p=l.previous;l===this._head?(f.previous=void 0,this._head=f):(f.previous=p,p.next=f),l.next=void 0,l.previous=this._tail,this._tail.next=l,this._tail=l,this._state++}}}toJSON(){const l=[];return this.forEach((c,f)=>{l.push([f,c])}),l}fromJSON(l){this.clear();for(const[c,f]of l)this.set(c,f)}},s(i,"LinkedMap"),i);t.LinkedMap=r;var a=(o=class extends r{constructor(c,f=1){super();L(this,"_limit");L(this,"_ratio");this._limit=c,this._ratio=Math.min(Math.max(0,f),1)}get limit(){return this._limit}set limit(c){this._limit=c,this.checkTrim()}get ratio(){return this._ratio}set ratio(c){this._ratio=Math.min(Math.max(0,c),1),this.checkTrim()}get(c,f=e.AsNew){return super.get(c,f)}peek(c){return super.get(c,e.None)}set(c,f){return super.set(c,f,e.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}},s(o,"LRUCache"),o);t.LRUCache=a}}),pC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/disposable.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;var e;(function(r){function a(n){return{dispose:n}}s(a,"create"),r.create=a})(e||(t.Disposable=e={}))}}),Kr=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/ral.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e;function r(){if(e===void 0)throw new Error("No runtime abstraction layer installed");return e}s(r,"RAL"),(function(a){function n(i){if(i===void 0)throw new Error("No runtime abstraction layer provided");e=i}s(n,"install"),a.install=n})(r||(r={})),t.default=r}}),ul=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/events.js"(t){var o,u;var e=t&&t.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;var r=e(Kr()),a;(function(l){const c={dispose(){}};l.None=function(){return c}})(a||(t.Event=a={}));var n=(o=class{constructor(){L(this,"_callbacks");L(this,"_contexts")}add(c,f=null,p){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(c),this._contexts.push(f),Array.isArray(p)&&p.push({dispose:s(()=>this.remove(c,f),"dispose")})}remove(c,f=null){if(!this._callbacks)return;let p=!1;for(let h=0,g=this._callbacks.length;h<g;h++)if(this._callbacks[h]===c)if(this._contexts[h]===f){this._callbacks.splice(h,1),this._contexts.splice(h,1);return}else p=!0;if(p)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...c){if(!this._callbacks)return[];const f=[],p=this._callbacks.slice(0),h=this._contexts.slice(0);for(let g=0,A=p.length;g<A;g++)try{f.push(p[g].apply(h[g],c))}catch($){(0,r.default)().console.error($)}return f}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},s(o,"CallbackList"),o),i=(u=class{constructor(c){L(this,"_options");L(this,"_event");L(this,"_callbacks");this._options=c}get event(){return this._event||(this._event=(c,f,p)=>{this._callbacks||(this._callbacks=new n),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(c,f);const h={dispose:s(()=>{this._callbacks&&(this._callbacks.remove(c,f),h.dispose=u._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(p)&&p.push(h),h}),this._event}fire(c){this._callbacks&&this._callbacks.invoke.call(this._callbacks,c)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}},s(u,"Emitter"),L(u,"_noop",s(function(){},"_noop")),u);t.Emitter=i}}),sd=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(t){var h,g;var e=t&&t.__createBinding||(Object.create?(function(A,$,R,m){m===void 0&&(m=R);var y=Object.getOwnPropertyDescriptor($,R);(!y||("get"in y?!$.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:s(function(){return $[R]},"get")}),Object.defineProperty(A,m,y)}):(function(A,$,R,m){m===void 0&&(m=R),A[m]=$[R]})),r=t&&t.__setModuleDefault||(Object.create?(function(A,$){Object.defineProperty(A,"default",{enumerable:!0,value:$})}):function(A,$){A.default=$}),a=t&&t.__importStar||(function(){var A=s(function($){return A=Object.getOwnPropertyNames||function(R){var m=[];for(var y in R)Object.prototype.hasOwnProperty.call(R,y)&&(m[m.length]=y);return m},A($)},"ownKeys");return function($){if($&&$.__esModule)return $;var R={};if($!=null)for(var m=A($),y=0;y<m.length;y++)m[y]!=="default"&&e(R,$,m[y]);return r(R,$),R}})(),n=t&&t.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationTokenSource=t.CancellationToken=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l;(function(A){A.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:u.Event.None}),A.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:u.Event.None});function $(R){const m=R;return m&&(m===A.None||m===A.Cancelled||o.boolean(m.isCancellationRequested)&&!!m.onCancellationRequested)}s($,"is"),A.is=$})(l||(t.CancellationToken=l={}));var c=Object.freeze(function(A,$){const R=(0,i.default)().timer.setTimeout(A.bind($),0);return{dispose(){R.dispose()}}}),f=(h=class{constructor(){L(this,"_isCancelled",!1);L(this,"_emitter")}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?c:(this._emitter||(this._emitter=new u.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},s(h,"MutableToken"),h),p=(g=class{constructor(){L(this,"_token")}get token(){return this._token||(this._token=new f),this._token}cancel(){this._token?this._token.cancel():this._token=l.Cancelled}dispose(){this._token?this._token instanceof f&&this._token.dispose():this._token=l.None}},s(g,"CancellationTokenSource"),g);t.CancellationTokenSource=p}}),dC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js"(t){var u,l,c,f;Object.defineProperty(t,"__esModule",{value:!0}),t.SharedArrayReceiverStrategy=t.SharedArraySenderStrategy=void 0;var e=sd(),r;(function(p){p.Continue=0,p.Cancelled=1})(r||(r={}));var a=(u=class{constructor(){L(this,"buffers");this.buffers=new Map}enableCancellation(h){if(h.id===null)return;const g=new SharedArrayBuffer(4),A=new Int32Array(g,0,1);A[0]=r.Continue,this.buffers.set(h.id,g),h.$cancellationData=g}async sendCancellation(h,g){const A=this.buffers.get(g);if(A===void 0)return;const $=new Int32Array(A,0,1);Atomics.store($,0,r.Cancelled)}cleanup(h){this.buffers.delete(h)}dispose(){this.buffers.clear()}},s(u,"SharedArraySenderStrategy"),u);t.SharedArraySenderStrategy=a;var n=(l=class{constructor(h){L(this,"data");this.data=new Int32Array(h,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===r.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},s(l,"SharedArrayBufferCancellationToken"),l),i=(c=class{constructor(h){L(this,"token");this.token=new n(h)}cancel(){}dispose(){}},s(c,"SharedArrayBufferCancellationTokenSource"),c),o=(f=class{constructor(){L(this,"kind","request")}createCancellationTokenSource(h){const g=h.$cancellationData;return g===void 0?new e.CancellationTokenSource:new i(g)}},s(f,"SharedArrayReceiverStrategy"),f);t.SharedArrayReceiverStrategy=o}}),Py=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/semaphore.js"(t){var n;var e=t&&t.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.Semaphore=void 0;var r=e(Kr()),a=(n=class{constructor(o=1){L(this,"_capacity");L(this,"_active");L(this,"_waiting");if(o<=0)throw new Error("Capacity must be greater than 0");this._capacity=o,this._active=0,this._waiting=[]}lock(o){return new Promise((u,l)=>{this._waiting.push({thunk:o,resolve:u,reject:l}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,r.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;const o=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("Too many thunks active");try{const u=o.thunk();u instanceof Promise?u.then(l=>{this._active--,o.resolve(l),this.runNext()},l=>{this._active--,o.reject(l),this.runNext()}):(this._active--,o.resolve(u),this.runNext())}catch(u){this._active--,o.reject(u),this.runNext()}}},s(n,"Semaphore"),n);t.Semaphore=a}}),mC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(t){var g,A;var e=t&&t.__createBinding||(Object.create?(function($,R,m,y){y===void 0&&(y=m);var E=Object.getOwnPropertyDescriptor(R,m);(!E||("get"in E?!R.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:s(function(){return R[m]},"get")}),Object.defineProperty($,y,E)}):(function($,R,m,y){y===void 0&&(y=m),$[y]=R[m]})),r=t&&t.__setModuleDefault||(Object.create?(function($,R){Object.defineProperty($,"default",{enumerable:!0,value:R})}):function($,R){$.default=R}),a=t&&t.__importStar||(function(){var $=s(function(R){return $=Object.getOwnPropertyNames||function(m){var y=[];for(var E in m)Object.prototype.hasOwnProperty.call(m,E)&&(y[y.length]=E);return y},$(R)},"ownKeys");return function(R){if(R&&R.__esModule)return R;var m={};if(R!=null)for(var y=$(R),E=0;E<y.length;E++)y[E]!=="default"&&e(m,R,y[E]);return r(m,R),m}})(),n=t&&t.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l=Py(),c;(function($){function R(m){const y=m;return y&&o.func(y.listen)&&o.func(y.dispose)&&o.func(y.onError)&&o.func(y.onClose)&&o.func(y.onPartialMessage)}s(R,"is"),$.is=R})(c||(t.MessageReader=c={}));var f=(g=class{constructor(){L(this,"errorEmitter");L(this,"closeEmitter");L(this,"partialMessageEmitter");this.errorEmitter=new u.Emitter,this.closeEmitter=new u.Emitter,this.partialMessageEmitter=new u.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(R){this.errorEmitter.fire(this.asError(R))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(R){this.partialMessageEmitter.fire(R)}asError(R){return R instanceof Error?R:new Error(`Reader received error. Reason: ${o.string(R.message)?R.message:"unknown"}`)}},s(g,"AbstractMessageReader"),g);t.AbstractMessageReader=f;var p;(function($){function R(m){let y,E;const b=new Map;let P;const F=new Map;if(m===void 0||typeof m=="string")y=m??"utf-8";else{if(y=m.charset??"utf-8",m.contentDecoder!==void 0&&(E=m.contentDecoder,b.set(E.name,E)),m.contentDecoders!==void 0)for(const K of m.contentDecoders)b.set(K.name,K);if(m.contentTypeDecoder!==void 0&&(P=m.contentTypeDecoder,F.set(P.name,P)),m.contentTypeDecoders!==void 0)for(const K of m.contentTypeDecoders)F.set(K.name,K)}return P===void 0&&(P=(0,i.default)().applicationJson.decoder,F.set(P.name,P)),{charset:y,contentDecoder:E,contentDecoders:b,contentTypeDecoder:P,contentTypeDecoders:F}}s(R,"fromOptions"),$.fromOptions=R})(p||(p={}));var h=(A=class extends f{constructor(m,y){super();L(this,"readable");L(this,"options");L(this,"callback");L(this,"nextMessageLength");L(this,"messageToken");L(this,"buffer");L(this,"partialMessageTimer");L(this,"_partialMessageTimeout");L(this,"readSemaphore");this.readable=m,this.options=p.fromOptions(y),this.buffer=(0,i.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new l.Semaphore(1)}set partialMessageTimeout(m){this._partialMessageTimeout=m}get partialMessageTimeout(){return this._partialMessageTimeout}listen(m){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=m;const y=this.readable.onData(E=>{this.onData(E)});return this.readable.onError(E=>this.fireError(E)),this.readable.onClose(()=>this.fireClose()),y}onData(m){try{for(this.buffer.append(m);;){if(this.nextMessageLength===-1){const E=this.buffer.tryReadHeaders(!0);if(!E)return;const b=E.get("content-length");if(!b){this.fireError(new Error(`Header must provide a Content-Length property.
1
+ var aC=Object.defineProperty;var iC=(t,e,r)=>e in t?aC(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var L=(t,e,r)=>iC(t,typeof e!="symbol"?e+"":e,r);import{_ as et}from"./BAqR9jtB.js";var sC=Object.create,ol=Object.defineProperty,oC=Object.getOwnPropertyDescriptor,nd=Object.getOwnPropertyNames,lC=Object.getPrototypeOf,uC=Object.prototype.hasOwnProperty,s=(t,e)=>ol(t,"name",{value:e,configurable:!0}),cC=(t,e)=>function(){return t&&(e=(0,t[nd(t)[0]])(t=0)),e},re=(t,e)=>function(){return e||(0,t[nd(t)[0]])((e={exports:{}}).exports,e),e.exports},fC=(t,e)=>{for(var r in e)ol(t,r,{get:e[r],enumerable:!0})},_y=(t,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of nd(e))!uC.call(t,n)&&n!==r&&ol(t,n,{get:()=>e[n],enumerable:!(a=oC(e,n))||a.enumerable});return t},ad=(t,e,r)=>(r=t!=null?sC(lC(t)):{},_y(ol(r,"default",{value:t,enumerable:!0}),t)),id=t=>_y(ol({},"__esModule",{value:!0}),t),ll=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/is.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.boolean=e,t.string=r,t.number=a,t.error=n,t.func=i,t.array=o,t.stringArray=u;function e(l){return l===!0||l===!1}s(e,"boolean");function r(l){return typeof l=="string"||l instanceof String}s(r,"string");function a(l){return typeof l=="number"||l instanceof Number}s(a,"number");function n(l){return l instanceof Error}s(n,"error");function i(l){return typeof l=="function"}s(i,"func");function o(l){return Array.isArray(l)}s(o,"array");function u(l){return o(l)&&l.every(c=>r(c))}s(u,"stringArray")}}),Sy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messages.js"(t){var G,S,I,v,w,k,_,x,U,Z,Q,ee,ae,pe,ye,Le,Ne,Je,Ze,pt,ze,xe,st,Qe,se;var e=t&&t.__createBinding||(Object.create?(function(B,q,z,oe){oe===void 0&&(oe=z);var de=Object.getOwnPropertyDescriptor(q,z);(!de||("get"in de?!q.__esModule:de.writable||de.configurable))&&(de={enumerable:!0,get:s(function(){return q[z]},"get")}),Object.defineProperty(B,oe,de)}):(function(B,q,z,oe){oe===void 0&&(oe=z),B[oe]=q[z]})),r=t&&t.__setModuleDefault||(Object.create?(function(B,q){Object.defineProperty(B,"default",{enumerable:!0,value:q})}):function(B,q){B.default=q}),a=t&&t.__importStar||(function(){var B=s(function(q){return B=Object.getOwnPropertyNames||function(z){var oe=[];for(var de in z)Object.prototype.hasOwnProperty.call(z,de)&&(oe[oe.length]=de);return oe},B(q)},"ownKeys");return function(q){if(q&&q.__esModule)return q;var z={};if(q!=null)for(var oe=B(q),de=0;de<oe.length;de++)oe[de]!=="default"&&e(z,q,oe[de]);return r(z,q),z}})();Object.defineProperty(t,"__esModule",{value:!0}),t.Message=t.NotificationType9=t.NotificationType8=t.NotificationType7=t.NotificationType6=t.NotificationType5=t.NotificationType4=t.NotificationType3=t.NotificationType2=t.NotificationType1=t.NotificationType0=t.NotificationType=t.RequestType9=t.RequestType8=t.RequestType7=t.RequestType6=t.RequestType5=t.RequestType4=t.RequestType3=t.RequestType2=t.RequestType1=t.RequestType=t.RequestType0=t.AbstractMessageSignature=t.ParameterStructures=t.ResponseError=t.ErrorCodes=void 0;var n=a(ll()),i;(function(B){B.ParseError=-32700,B.InvalidRequest=-32600,B.MethodNotFound=-32601,B.InvalidParams=-32602,B.InternalError=-32603,B.jsonrpcReservedErrorRangeStart=-32099,B.serverErrorStart=-32099,B.MessageWriteError=-32099,B.MessageReadError=-32098,B.PendingResponseRejected=-32097,B.ConnectionInactive=-32096,B.ServerNotInitialized=-32002,B.UnknownErrorCode=-32001,B.jsonrpcReservedErrorRangeEnd=-32e3,B.serverErrorEnd=-32e3})(i||(t.ErrorCodes=i={}));var o=(G=class extends Error{constructor(z,oe,de){super(oe);L(this,"code");L(this,"data");this.code=n.number(z)?z:i.UnknownErrorCode,this.data=de,Object.setPrototypeOf(this,G.prototype)}toJson(){const z={code:this.code,message:this.message};return this.data!==void 0&&(z.data=this.data),z}},s(G,"ResponseError"),G);t.ResponseError=o;var u=(S=class{constructor(q){L(this,"kind");this.kind=q}static is(q){return q===S.auto||q===S.byName||q===S.byPosition}toString(){return this.kind}},s(S,"ParameterStructures"),L(S,"auto",new S("auto")),L(S,"byPosition",new S("byPosition")),L(S,"byName",new S("byName")),S);t.ParameterStructures=u;var l=(I=class{constructor(q,z){L(this,"method");L(this,"numberOfParams");this.method=q,this.numberOfParams=z}get parameterStructures(){return u.auto}},s(I,"AbstractMessageSignature"),I);t.AbstractMessageSignature=l;var c=(v=class extends l{constructor(z){super(z,0);L(this,"_")}},s(v,"RequestType0"),v);t.RequestType0=c;var f=(w=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(w,"RequestType"),w);t.RequestType=f;var p=(k=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(k,"RequestType1"),k);t.RequestType1=p;var h=(_=class extends l{constructor(z){super(z,2);L(this,"_")}},s(_,"RequestType2"),_);t.RequestType2=h;var g=(x=class extends l{constructor(z){super(z,3);L(this,"_")}},s(x,"RequestType3"),x);t.RequestType3=g;var A=(U=class extends l{constructor(z){super(z,4);L(this,"_")}},s(U,"RequestType4"),U);t.RequestType4=A;var $=(Z=class extends l{constructor(z){super(z,5);L(this,"_")}},s(Z,"RequestType5"),Z);t.RequestType5=$;var R=(Q=class extends l{constructor(z){super(z,6);L(this,"_")}},s(Q,"RequestType6"),Q);t.RequestType6=R;var m=(ee=class extends l{constructor(z){super(z,7);L(this,"_")}},s(ee,"RequestType7"),ee);t.RequestType7=m;var y=(ae=class extends l{constructor(z){super(z,8);L(this,"_")}},s(ae,"RequestType8"),ae);t.RequestType8=y;var E=(pe=class extends l{constructor(z){super(z,9);L(this,"_")}},s(pe,"RequestType9"),pe);t.RequestType9=E;var b=(ye=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(ye,"NotificationType"),ye);t.NotificationType=b;var P=(Le=class extends l{constructor(z){super(z,0);L(this,"_")}},s(Le,"NotificationType0"),Le);t.NotificationType0=P;var F=(Ne=class extends l{constructor(z,oe=u.auto){super(z,1);L(this,"_parameterStructures");L(this,"_");this._parameterStructures=oe}get parameterStructures(){return this._parameterStructures}},s(Ne,"NotificationType1"),Ne);t.NotificationType1=F;var K=(Je=class extends l{constructor(z){super(z,2);L(this,"_")}},s(Je,"NotificationType2"),Je);t.NotificationType2=K;var le=(Ze=class extends l{constructor(z){super(z,3);L(this,"_")}},s(Ze,"NotificationType3"),Ze);t.NotificationType3=le;var ge=(pt=class extends l{constructor(z){super(z,4);L(this,"_")}},s(pt,"NotificationType4"),pt);t.NotificationType4=ge;var X=(ze=class extends l{constructor(z){super(z,5);L(this,"_")}},s(ze,"NotificationType5"),ze);t.NotificationType5=X;var ve=(xe=class extends l{constructor(z){super(z,6);L(this,"_")}},s(xe,"NotificationType6"),xe);t.NotificationType6=ve;var Me=(st=class extends l{constructor(z){super(z,7);L(this,"_")}},s(st,"NotificationType7"),st);t.NotificationType7=Me;var D=(Qe=class extends l{constructor(z){super(z,8);L(this,"_")}},s(Qe,"NotificationType8"),Qe);t.NotificationType8=D;var N=(se=class extends l{constructor(z){super(z,9);L(this,"_")}},s(se,"NotificationType9"),se);t.NotificationType9=N;var M;(function(B){function q(de){const Oe=de;return Oe&&n.string(Oe.method)&&(n.string(Oe.id)||n.number(Oe.id))}s(q,"isRequest"),B.isRequest=q;function z(de){const Oe=de;return Oe&&n.string(Oe.method)&&de.id===void 0}s(z,"isNotification"),B.isNotification=z;function oe(de){const Oe=de;return Oe&&(Oe.result!==void 0||!!Oe.error)&&(n.string(Oe.id)||n.number(Oe.id)||Oe.id===null)}s(oe,"isResponse"),B.isResponse=oe})(M||(t.Message=M={}))}}),wy=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/linkedMap.js"(t){var n,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.LRUCache=t.LinkedMap=t.Touch=void 0;var e;(function(u){u.None=0,u.First=1,u.AsOld=u.First,u.Last=2,u.AsNew=u.Last})(e||(t.Touch=e={}));var r=(i=class{constructor(){L(this,n,"LinkedMap");L(this,"_map");L(this,"_head");L(this,"_tail");L(this,"_size");L(this,"_state");this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}before(l){const c=this._map.get(l);return c?c.previous?.value:void 0}after(l){const c=this._map.get(l);return c?c.next?.value:void 0}has(l){return this._map.has(l)}get(l,c=e.None){const f=this._map.get(l);if(f)return c!==e.None&&this.touch(f,c),f.value}set(l,c,f=e.None){let p=this._map.get(l);if(p)p.value=c,f!==e.None&&this.touch(p,f);else{switch(p={key:l,value:c,next:void 0,previous:void 0},f){case e.None:this.addItemLast(p);break;case e.First:this.addItemFirst(p);break;case e.Last:this.addItemLast(p);break;default:this.addItemLast(p);break}this._map.set(l,p),this._size++}return this}delete(l){return!!this.remove(l)}remove(l){const c=this._map.get(l);if(c)return this._map.delete(l),this.removeItem(c),this._size--,c.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const l=this._head;return this._map.delete(l.key),this.removeItem(l),this._size--,l.value}forEach(l,c){const f=this._state;let p=this._head;for(;p;){if(c?l.bind(c)(p.value,p.key,this):l(p.value,p.key,this),this._state!==f)throw new Error("LinkedMap got modified during iteration.");p=p.next}}keys(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.key,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}values(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:c.value,done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}entries(){const l=this._state;let c=this._head;const f={[Symbol.iterator]:()=>f,next:s(()=>{if(this._state!==l)throw new Error("LinkedMap got modified during iteration.");if(c){const p={value:[c.key,c.value],done:!1};return c=c.next,p}else return{value:void 0,done:!0}},"next")};return f}[(n=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(l){if(l>=this.size)return;if(l===0){this.clear();return}let c=this._head,f=this.size;for(;c&&f>l;)this._map.delete(c.key),c=c.next,f--;this._head=c,this._size=f,c&&(c.previous=void 0),this._state++}addItemFirst(l){if(!this._head&&!this._tail)this._tail=l;else if(this._head)l.next=this._head,this._head.previous=l;else throw new Error("Invalid list");this._head=l,this._state++}addItemLast(l){if(!this._head&&!this._tail)this._head=l;else if(this._tail)l.previous=this._tail,this._tail.next=l;else throw new Error("Invalid list");this._tail=l,this._state++}removeItem(l){if(l===this._head&&l===this._tail)this._head=void 0,this._tail=void 0;else if(l===this._head){if(!l.next)throw new Error("Invalid list");l.next.previous=void 0,this._head=l.next}else if(l===this._tail){if(!l.previous)throw new Error("Invalid list");l.previous.next=void 0,this._tail=l.previous}else{const c=l.next,f=l.previous;if(!c||!f)throw new Error("Invalid list");c.previous=f,f.next=c}l.next=void 0,l.previous=void 0,this._state++}touch(l,c){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(c!==e.First&&c!==e.Last)){if(c===e.First){if(l===this._head)return;const f=l.next,p=l.previous;l===this._tail?(p.next=void 0,this._tail=p):(f.previous=p,p.next=f),l.previous=void 0,l.next=this._head,this._head.previous=l,this._head=l,this._state++}else if(c===e.Last){if(l===this._tail)return;const f=l.next,p=l.previous;l===this._head?(f.previous=void 0,this._head=f):(f.previous=p,p.next=f),l.next=void 0,l.previous=this._tail,this._tail.next=l,this._tail=l,this._state++}}}toJSON(){const l=[];return this.forEach((c,f)=>{l.push([f,c])}),l}fromJSON(l){this.clear();for(const[c,f]of l)this.set(c,f)}},s(i,"LinkedMap"),i);t.LinkedMap=r;var a=(o=class extends r{constructor(c,f=1){super();L(this,"_limit");L(this,"_ratio");this._limit=c,this._ratio=Math.min(Math.max(0,f),1)}get limit(){return this._limit}set limit(c){this._limit=c,this.checkTrim()}get ratio(){return this._ratio}set ratio(c){this._ratio=Math.min(Math.max(0,c),1),this.checkTrim()}get(c,f=e.AsNew){return super.get(c,f)}peek(c){return super.get(c,e.None)}set(c,f){return super.set(c,f,e.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}},s(o,"LRUCache"),o);t.LRUCache=a}}),pC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/disposable.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Disposable=void 0;var e;(function(r){function a(n){return{dispose:n}}s(a,"create"),r.create=a})(e||(t.Disposable=e={}))}}),Kr=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/ral.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e;function r(){if(e===void 0)throw new Error("No runtime abstraction layer installed");return e}s(r,"RAL"),(function(a){function n(i){if(i===void 0)throw new Error("No runtime abstraction layer provided");e=i}s(n,"install"),a.install=n})(r||(r={})),t.default=r}}),ul=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/events.js"(t){var o,u;var e=t&&t.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;var r=e(Kr()),a;(function(l){const c={dispose(){}};l.None=function(){return c}})(a||(t.Event=a={}));var n=(o=class{constructor(){L(this,"_callbacks");L(this,"_contexts")}add(c,f=null,p){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(c),this._contexts.push(f),Array.isArray(p)&&p.push({dispose:s(()=>this.remove(c,f),"dispose")})}remove(c,f=null){if(!this._callbacks)return;let p=!1;for(let h=0,g=this._callbacks.length;h<g;h++)if(this._callbacks[h]===c)if(this._contexts[h]===f){this._callbacks.splice(h,1),this._contexts.splice(h,1);return}else p=!0;if(p)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...c){if(!this._callbacks)return[];const f=[],p=this._callbacks.slice(0),h=this._contexts.slice(0);for(let g=0,A=p.length;g<A;g++)try{f.push(p[g].apply(h[g],c))}catch($){(0,r.default)().console.error($)}return f}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},s(o,"CallbackList"),o),i=(u=class{constructor(c){L(this,"_options");L(this,"_event");L(this,"_callbacks");this._options=c}get event(){return this._event||(this._event=(c,f,p)=>{this._callbacks||(this._callbacks=new n),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(c,f);const h={dispose:s(()=>{this._callbacks&&(this._callbacks.remove(c,f),h.dispose=u._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(p)&&p.push(h),h}),this._event}fire(c){this._callbacks&&this._callbacks.invoke.call(this._callbacks,c)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}},s(u,"Emitter"),L(u,"_noop",s(function(){},"_noop")),u);t.Emitter=i}}),sd=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/cancellation.js"(t){var h,g;var e=t&&t.__createBinding||(Object.create?(function(A,$,R,m){m===void 0&&(m=R);var y=Object.getOwnPropertyDescriptor($,R);(!y||("get"in y?!$.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:s(function(){return $[R]},"get")}),Object.defineProperty(A,m,y)}):(function(A,$,R,m){m===void 0&&(m=R),A[m]=$[R]})),r=t&&t.__setModuleDefault||(Object.create?(function(A,$){Object.defineProperty(A,"default",{enumerable:!0,value:$})}):function(A,$){A.default=$}),a=t&&t.__importStar||(function(){var A=s(function($){return A=Object.getOwnPropertyNames||function(R){var m=[];for(var y in R)Object.prototype.hasOwnProperty.call(R,y)&&(m[m.length]=y);return m},A($)},"ownKeys");return function($){if($&&$.__esModule)return $;var R={};if($!=null)for(var m=A($),y=0;y<m.length;y++)m[y]!=="default"&&e(R,$,m[y]);return r(R,$),R}})(),n=t&&t.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:!0}),t.CancellationTokenSource=t.CancellationToken=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l;(function(A){A.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:u.Event.None}),A.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:u.Event.None});function $(R){const m=R;return m&&(m===A.None||m===A.Cancelled||o.boolean(m.isCancellationRequested)&&!!m.onCancellationRequested)}s($,"is"),A.is=$})(l||(t.CancellationToken=l={}));var c=Object.freeze(function(A,$){const R=(0,i.default)().timer.setTimeout(A.bind($),0);return{dispose(){R.dispose()}}}),f=(h=class{constructor(){L(this,"_isCancelled",!1);L(this,"_emitter")}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?c:(this._emitter||(this._emitter=new u.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},s(h,"MutableToken"),h),p=(g=class{constructor(){L(this,"_token")}get token(){return this._token||(this._token=new f),this._token}cancel(){this._token?this._token.cancel():this._token=l.Cancelled}dispose(){this._token?this._token instanceof f&&this._token.dispose():this._token=l.None}},s(g,"CancellationTokenSource"),g);t.CancellationTokenSource=p}}),dC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js"(t){var u,l,c,f;Object.defineProperty(t,"__esModule",{value:!0}),t.SharedArrayReceiverStrategy=t.SharedArraySenderStrategy=void 0;var e=sd(),r;(function(p){p.Continue=0,p.Cancelled=1})(r||(r={}));var a=(u=class{constructor(){L(this,"buffers");this.buffers=new Map}enableCancellation(h){if(h.id===null)return;const g=new SharedArrayBuffer(4),A=new Int32Array(g,0,1);A[0]=r.Continue,this.buffers.set(h.id,g),h.$cancellationData=g}async sendCancellation(h,g){const A=this.buffers.get(g);if(A===void 0)return;const $=new Int32Array(A,0,1);Atomics.store($,0,r.Cancelled)}cleanup(h){this.buffers.delete(h)}dispose(){this.buffers.clear()}},s(u,"SharedArraySenderStrategy"),u);t.SharedArraySenderStrategy=a;var n=(l=class{constructor(h){L(this,"data");this.data=new Int32Array(h,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===r.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},s(l,"SharedArrayBufferCancellationToken"),l),i=(c=class{constructor(h){L(this,"token");this.token=new n(h)}cancel(){}dispose(){}},s(c,"SharedArrayBufferCancellationTokenSource"),c),o=(f=class{constructor(){L(this,"kind","request")}createCancellationTokenSource(h){const g=h.$cancellationData;return g===void 0?new e.CancellationTokenSource:new i(g)}},s(f,"SharedArrayReceiverStrategy"),f);t.SharedArrayReceiverStrategy=o}}),Py=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/semaphore.js"(t){var n;var e=t&&t.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0}),t.Semaphore=void 0;var r=e(Kr()),a=(n=class{constructor(o=1){L(this,"_capacity");L(this,"_active");L(this,"_waiting");if(o<=0)throw new Error("Capacity must be greater than 0");this._capacity=o,this._active=0,this._waiting=[]}lock(o){return new Promise((u,l)=>{this._waiting.push({thunk:o,resolve:u,reject:l}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,r.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;const o=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("Too many thunks active");try{const u=o.thunk();u instanceof Promise?u.then(l=>{this._active--,o.resolve(l),this.runNext()},l=>{this._active--,o.reject(l),this.runNext()}):(this._active--,o.resolve(u),this.runNext())}catch(u){this._active--,o.reject(u),this.runNext()}}},s(n,"Semaphore"),n);t.Semaphore=a}}),mC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageReader.js"(t){var g,A;var e=t&&t.__createBinding||(Object.create?(function($,R,m,y){y===void 0&&(y=m);var E=Object.getOwnPropertyDescriptor(R,m);(!E||("get"in E?!R.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:s(function(){return R[m]},"get")}),Object.defineProperty($,y,E)}):(function($,R,m,y){y===void 0&&(y=m),$[y]=R[m]})),r=t&&t.__setModuleDefault||(Object.create?(function($,R){Object.defineProperty($,"default",{enumerable:!0,value:R})}):function($,R){$.default=R}),a=t&&t.__importStar||(function(){var $=s(function(R){return $=Object.getOwnPropertyNames||function(m){var y=[];for(var E in m)Object.prototype.hasOwnProperty.call(m,E)&&(y[y.length]=E);return y},$(R)},"ownKeys");return function(R){if(R&&R.__esModule)return R;var m={};if(R!=null)for(var y=$(R),E=0;E<y.length;E++)y[E]!=="default"&&e(m,R,y[E]);return r(m,R),m}})(),n=t&&t.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(t,"__esModule",{value:!0}),t.ReadableStreamMessageReader=t.AbstractMessageReader=t.MessageReader=void 0;var i=n(Kr()),o=a(ll()),u=ul(),l=Py(),c;(function($){function R(m){const y=m;return y&&o.func(y.listen)&&o.func(y.dispose)&&o.func(y.onError)&&o.func(y.onClose)&&o.func(y.onPartialMessage)}s(R,"is"),$.is=R})(c||(t.MessageReader=c={}));var f=(g=class{constructor(){L(this,"errorEmitter");L(this,"closeEmitter");L(this,"partialMessageEmitter");this.errorEmitter=new u.Emitter,this.closeEmitter=new u.Emitter,this.partialMessageEmitter=new u.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose(),this.partialMessageEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(R){this.errorEmitter.fire(this.asError(R))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(R){this.partialMessageEmitter.fire(R)}asError(R){return R instanceof Error?R:new Error(`Reader received error. Reason: ${o.string(R.message)?R.message:"unknown"}`)}},s(g,"AbstractMessageReader"),g);t.AbstractMessageReader=f;var p;(function($){function R(m){let y,E;const b=new Map;let P;const F=new Map;if(m===void 0||typeof m=="string")y=m??"utf-8";else{if(y=m.charset??"utf-8",m.contentDecoder!==void 0&&(E=m.contentDecoder,b.set(E.name,E)),m.contentDecoders!==void 0)for(const K of m.contentDecoders)b.set(K.name,K);if(m.contentTypeDecoder!==void 0&&(P=m.contentTypeDecoder,F.set(P.name,P)),m.contentTypeDecoders!==void 0)for(const K of m.contentTypeDecoders)F.set(K.name,K)}return P===void 0&&(P=(0,i.default)().applicationJson.decoder,F.set(P.name,P)),{charset:y,contentDecoder:E,contentDecoders:b,contentTypeDecoder:P,contentTypeDecoders:F}}s(R,"fromOptions"),$.fromOptions=R})(p||(p={}));var h=(A=class extends f{constructor(m,y){super();L(this,"readable");L(this,"options");L(this,"callback");L(this,"nextMessageLength");L(this,"messageToken");L(this,"buffer");L(this,"partialMessageTimer");L(this,"_partialMessageTimeout");L(this,"readSemaphore");this.readable=m,this.options=p.fromOptions(y),this.buffer=(0,i.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new l.Semaphore(1)}set partialMessageTimeout(m){this._partialMessageTimeout=m}get partialMessageTimeout(){return this._partialMessageTimeout}listen(m){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=m;const y=this.readable.onData(E=>{this.onData(E)});return this.readable.onError(E=>this.fireError(E)),this.readable.onClose(()=>this.fireClose()),y}onData(m){try{for(this.buffer.append(m);;){if(this.nextMessageLength===-1){const E=this.buffer.tryReadHeaders(!0);if(!E)return;const b=E.get("content-length");if(!b){this.fireError(new Error(`Header must provide a Content-Length property.
2
2
  ${JSON.stringify(Object.fromEntries(E))}`));return}const P=parseInt(b);if(isNaN(P)){this.fireError(new Error(`Content-Length value must be a number. Got ${b}`));return}this.nextMessageLength=P}const y=this.buffer.tryReadBody(this.nextMessageLength);if(y===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{const E=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(y):y,b=await this.options.contentTypeDecoder.decode(E,this.options);this.callback(b)}).catch(E=>{this.fireError(E)})}}catch(y){this.fireError(y)}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,i.default)().timer.setTimeout((m,y)=>{this.partialMessageTimer=void 0,m===this.messageToken&&(this.firePartialMessage({messageToken:m,waitingTime:y}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}},s(A,"ReadableStreamMessageReader"),A);t.ReadableStreamMessageReader=h}}),hC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageWriter.js"(t){var $,R;var e=t&&t.__createBinding||(Object.create?(function(m,y,E,b){b===void 0&&(b=E);var P=Object.getOwnPropertyDescriptor(y,E);(!P||("get"in P?!y.__esModule:P.writable||P.configurable))&&(P={enumerable:!0,get:s(function(){return y[E]},"get")}),Object.defineProperty(m,b,P)}):(function(m,y,E,b){b===void 0&&(b=E),m[b]=y[E]})),r=t&&t.__setModuleDefault||(Object.create?(function(m,y){Object.defineProperty(m,"default",{enumerable:!0,value:y})}):function(m,y){m.default=y}),a=t&&t.__importStar||(function(){var m=s(function(y){return m=Object.getOwnPropertyNames||function(E){var b=[];for(var P in E)Object.prototype.hasOwnProperty.call(E,P)&&(b[b.length]=P);return b},m(y)},"ownKeys");return function(y){if(y&&y.__esModule)return y;var E={};if(y!=null)for(var b=m(y),P=0;P<b.length;P++)b[P]!=="default"&&e(E,y,b[P]);return r(E,y),E}})(),n=t&&t.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.WriteableStreamMessageWriter=t.AbstractMessageWriter=t.MessageWriter=void 0;var i=n(Kr()),o=a(ll()),u=Py(),l=ul(),c="Content-Length: ",f=`\r
3
3
  `,p;(function(m){function y(E){const b=E;return b&&o.func(b.dispose)&&o.func(b.onClose)&&o.func(b.onError)&&o.func(b.write)}s(y,"is"),m.is=y})(p||(t.MessageWriter=p={}));var h=($=class{constructor(){L(this,"errorEmitter");L(this,"closeEmitter");this.errorEmitter=new l.Emitter,this.closeEmitter=new l.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(y,E,b){this.errorEmitter.fire([this.asError(y),E,b])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(y){return y instanceof Error?y:new Error(`Writer received error. Reason: ${o.string(y.message)?y.message:"unknown"}`)}},s($,"AbstractMessageWriter"),$);t.AbstractMessageWriter=h;var g;(function(m){function y(E){return E===void 0||typeof E=="string"?{charset:E??"utf-8",contentTypeEncoder:(0,i.default)().applicationJson.encoder}:{charset:E.charset??"utf-8",contentEncoder:E.contentEncoder,contentTypeEncoder:E.contentTypeEncoder??(0,i.default)().applicationJson.encoder}}s(y,"fromOptions"),m.fromOptions=y})(g||(g={}));var A=(R=class extends h{constructor(E,b){super();L(this,"writable");L(this,"options");L(this,"errorCount");L(this,"writeSemaphore");this.writable=E,this.options=g.fromOptions(b),this.errorCount=0,this.writeSemaphore=new u.Semaphore(1),this.writable.onError(P=>this.fireError(P)),this.writable.onClose(()=>this.fireClose())}async write(E){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(E,this.options).then(P=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(P):P).then(P=>{const F=[];return F.push(c,P.byteLength.toString(),f),F.push(f),this.doWrite(E,F,P)},P=>{throw this.fireError(P),P}))}async doWrite(E,b,P){try{return await this.writable.write(b.join(""),"ascii"),this.writable.write(P)}catch(F){return this.handleError(F,E),Promise.reject(F)}}handleError(E,b){this.errorCount++,this.fireError(E,b,this.errorCount)}end(){this.writable.end()}},s(R,"WriteableStreamMessageWriter"),R);t.WriteableStreamMessageWriter=A}}),yC=re({"../../node_modules/.pnpm/vscode-jsonrpc@9.0.3/node_modules/vscode-jsonrpc/lib/common/messageBuffer.js"(t){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractMessageBuffer=void 0;var e=13,r=10,a=`\r
4
4
  `,n=(i=class{constructor(u="utf-8"){L(this,"_encoding");L(this,"_chunks");L(this,"_totalLength");this._encoding=u,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(u){const l=typeof u=="string"?this.fromString(u,this._encoding):u;this._chunks.push(l),this._totalLength+=l.byteLength}tryReadHeaders(u=!1){if(this._chunks.length===0)return;let l=0,c=0,f=0,p=0;e:for(;c<this._chunks.length;){const $=this._chunks[c];for(f=0;f<$.length;){switch($[f]){case e:switch(l){case 0:l=1;break;case 2:l=3;break;default:l=0}break;case r:switch(l){case 1:l=2;break;case 3:l=4,f++;break e;default:l=0}break;default:l=0}f++}p+=$.byteLength,c++}if(l!==4)return;const h=this._read(p+f),g=new Map,A=this.toString(h,"ascii").split(a);if(A.length<2)return g;for(let $=0;$<A.length-2;$++){const R=A[$],m=R.indexOf(":");if(m===-1)throw new Error(`Message header must separate key and value using ':'
@@ -1 +1 @@
1
- import{Hm as s,A9 as g,nm as I,BR as L,n2 as v,lI as n,n3 as b,hM as h,m$ as m,mU as w,nb as f,hT as C,qL as O,uj as y}from"./DaA44xVk.js";import{g as T}from"./DHQetc-m.js";const A=s.createSelector(e=>e.tabState.isDragging),R=s.createSelector(e=>e.tabState.scrollPositions),j=s.createSelector(e=>e.tabState.currentTabId),B=s.createSelector((e,t)=>e.tabState.openTabs[t]===!0),E=s.createSelector(e=>e.tabState.mountedBrowserTabLeases),G=s.createSelector(e=>e.tabState.browserTabRecoveryRequests),M=s.createSelector(e=>e.tabState.browserTabNavigations),H=s.createSelector(e=>e.tabState.browserTabsAgentDrawing),_=s.createSelector(e=>e.connections?.hasReceivedList===!0&&e.tabState.hydratedBackendId===T(e)),D=s.createSelector(e=>e.tabState.workspaceStacks.flatMap(t=>t)),W=[],S=new WeakMap;function N(e){const t=e.tabGroups;if(!t)return W;let a=S.get(t);return a||(a=I(e),S.set(t,a)),a}const x=s.createSelector(e=>{if(e.userPreferences?.labsTabGroupsEnabled!==!0)return null;const{openTabGroupId:t,currentTabId:a}=e.tabState;return g(I(e.tabState),a,t)}),z=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),F=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0?N(e.tabState):W),q=s.createSelector(e=>Object.keys(e.tabState.openTabs).filter(t=>e.tabState.openTabs[t]===!0)),J=s.createSelector(e=>{const{recentlyClosedTabIds:t,recentlyClosedTabAt:a,openTabs:r}=e.tabState;for(let o=t.length-1;o>=0;o--){const c=t[o];if(!r[c])return{workspaceId:c,closedAt:a[c]??0}}return null}),K=s.createSelector(e=>L(e.tabState)),p=[],U=s.createSelector(e=>{if(e.connections&&!e.connections.hasReceivedList)return p;const t=T(e);if(e.tabState.hydratedBackendId!==t||!e.workspace.hasLoaded||e.workspace.loadedBackendId!==t||e.workspace.workspaces.ids.length===0)return p;const a=e.tabState.workspaceStacks.flatMap(r=>r).filter(r=>e.tabState.optimisticTabs[r]||e.workspace.pendingCreations[r]||e.workspace.pendingDeletions[r]?!1:!v(e.workspace.workspaces,r));return a.length===0?p:a}),se=Object.freeze(Object.defineProperty({__proto__:null,selectActiveWorkspaceIds:q,selectAllScrollPositions:R,selectBrowserTabNavigations:M,selectBrowserTabRecoveryRequests:G,selectBrowserTabsAgentDrawing:H,selectCurrentWorkspaceTabId:j,selectIsDragging:A,selectIsWorkspaceTabOpen:B,selectLastClosedWorkspaceTab:J,selectMountedBrowserTabLeases:E,selectOpenWorkspaceTabGroupId:x,selectPersistedWorkspaceTabsState:K,selectWorkspaceTabGroups:F,selectWorkspaceTabGroupsEnabled:z,selectWorkspaceTabOrder:D,selectWorkspaceTabsHydrated:_,selectWorkspaceTabsToReconcile:U},Symbol.toStringTag,{value:"Module"}));function V(e,t){return t?JSON.stringify(["git-root",t,e]):e}const d=[];function Q(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const re=s.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??n),oe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).pendingPanelReveal??null),k={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function ne(e,t,a,r){if(r.workspaceId&&r.workspaceId!==a)return k;const o=r,c=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,o));if(c.length===0)return k;const u=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,o);return{count:c.length,isOpen:!0,isActive:u,isOpenElsewhere:!u}}const ce=s.createSelector(e=>e.panelLayout.byWorkspaceId),le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).root),ie=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).expandedPanelId),ue=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).panels),pe=s.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??n).panels[a]),de=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).focusedPanelId),be=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=a.focusedPanelId,o=r?a.panels[r]:void 0;return[t,{panelId:o?r:null,activeTabId:o?.activeTabId??null}]})));const fe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).restoreStatus),ye=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;if(!a.focusedPanelId)return;const r=a.panels[a.focusedPanelId];if(!(!r||!r.activeTabId))return r.tabs.find(o=>o.id===r.activeTabId)}),Se=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;for(let r=a.focusHistory.length-1;r>=0;r-=1){const o=a.focusHistory[r],c=a.panels[o.panelId]?.tabs.find(u=>u.id===o.tabId);if(c?.type==="agent")return c}}),ke=s.createSelector((e,t,a)=>{const o=(e.panelLayout.byWorkspaceId[t]??n).panels[a];if(!(!o||!o.activeTabId))return o.tabs.find(c=>c.id===o.activeTabId)}),Ie=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return Object.values(a.panels).flatMap(r=>r.tabs)}),Te=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.hiddenTabs??n.hiddenTabs)});function $(e){const t=[];for(const a of Object.values(e.panels))for(const r of a.tabs)r.type==="browser"&&t.push({tab:r,visibility:"visible",displayed:a.activeTabId===r.id});for(const a of b(e.hiddenTabs??n.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const X=s.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??n;return $(a).length>0}),We=s.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>X.select(e,t)));s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=Object.values(a.panels).some(o=>o.tabs.length>0);return[t,r?h(a.root):0]})));const Pe=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return m(a.root,a.panels)});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??w(a.root,a.panels,"content")])));const ge=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidth),Le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidthSource),ve=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).columnCount);s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const he=s.createSelector((e,t,a=!1)=>{if(!Q(t))return d;const r=e.panelLayout.byWorkspaceId[t],o=e.files.byWorkspaceId[t];if(!o)return d;if(!r)return a?[...o.files.ids].sort((l,i)=>l.localeCompare(i)):d;const c=new Set;for(const l of Object.values(r.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&c.add(V(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const u=[];for(const l of o.files.ids)c.has(l)||u.push(l);return u.length===0?d:(u.sort((l,i)=>l.localeCompare(i)),u)}),me=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return f(a.root)});function P(e){return f(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const we=s.createSelector((e,t)=>P(e.panelLayout.byWorkspaceId[t]??n));s.createSelector((e,t,a)=>P(e.panelLayout.byWorkspaceId[t]??n).find(r=>r.panelId===a));function Y(e){return f(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const o=a.tabs.find(c=>c.id===a.activeTabId)??a.tabs[0];return[{id:t,title:o?.title??"",type:o?.type}]})}s.createSelector((e,t)=>Y(e.panelLayout.byWorkspaceId[t]??n));const Z=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).recentlyClosed),ee=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.recentlyClosedColumns??C("historyId")).find(r=>O(a,r))??null}),Ce=s.createSelector((e,t)=>{const a=Z.select(e,t)[0]??null,r=ee.select(e,t);return r&&(!a||r.closedAt>=a.closedAt)?{kind:"column",closedAt:r.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null});export{ge as A,Le as B,ve as C,Pe as D,we as E,me as F,le as G,re as H,ce as I,ue as J,oe as K,K as L,Z as M,fe as N,F as O,z as P,D as Q,_ as R,U as S,se as T,ke as a,q as b,$ as c,R as d,Ie as e,V as f,ne as g,M as h,G as i,H as j,We as k,j as l,ie as m,he as n,be as o,de as p,Te as q,A as r,ye as s,B as t,J as u,Ce as v,Se as w,E as x,x as y,pe as z};
1
+ import{Hp as s,Ac as g,no as I,BU as v,n4 as L,lK as n,n5 as b,hO as h,n1 as w,mW as m,nd as f,hV as C,qN as O,um as y}from"./BSwWMzab.js";import{g as T}from"./BtAYzBSd.js";const A=s.createSelector(e=>e.tabState.isDragging),R=s.createSelector(e=>e.tabState.scrollPositions),j=s.createSelector(e=>e.tabState.currentTabId),B=s.createSelector((e,t)=>e.tabState.openTabs[t]===!0),E=s.createSelector(e=>e.tabState.mountedBrowserTabLeases),G=s.createSelector(e=>e.tabState.browserTabRecoveryRequests),M=s.createSelector(e=>e.tabState.browserTabNavigations),H=s.createSelector(e=>e.tabState.browserTabsAgentDrawing),N=s.createSelector(e=>e.connections?.hasReceivedList===!0&&e.tabState.hydratedBackendId===T(e)),_=s.createSelector(e=>e.tabState.workspaceStacks.flatMap(t=>t)),W=[],S=new WeakMap;function D(e){const t=e.tabGroups;if(!t)return W;let a=S.get(t);return a||(a=I(e),S.set(t,a)),a}const x=s.createSelector(e=>{if(e.userPreferences?.labsTabGroupsEnabled!==!0)return null;const{openTabGroupId:t,currentTabId:a}=e.tabState;return g(I(e.tabState),a,t)}),z=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),F=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0?D(e.tabState):W),q=s.createSelector(e=>Object.keys(e.tabState.openTabs).filter(t=>e.tabState.openTabs[t]===!0)),K=s.createSelector(e=>{const{recentlyClosedTabIds:t,recentlyClosedTabAt:a,openTabs:r}=e.tabState;for(let o=t.length-1;o>=0;o--){const c=t[o];if(!r[c])return{workspaceId:c,closedAt:a[c]??0}}return null}),V=s.createSelector(e=>v(e.tabState)),p=[],J=s.createSelector(e=>{if(e.connections&&!e.connections.hasReceivedList)return p;const t=T(e);if(e.tabState.hydratedBackendId!==t||!e.workspace.hasLoaded||e.workspace.loadedBackendId!==t||e.workspace.workspaces.ids.length===0)return p;const a=e.tabState.workspaceStacks.flatMap(r=>r).filter(r=>e.tabState.optimisticTabs[r]||e.workspace.pendingCreations[r]||e.workspace.pendingDeletions[r]?!1:!L(e.workspace.workspaces,r));return a.length===0?p:a}),se=Object.freeze(Object.defineProperty({__proto__:null,selectActiveWorkspaceIds:q,selectAllScrollPositions:R,selectBrowserTabNavigations:M,selectBrowserTabRecoveryRequests:G,selectBrowserTabsAgentDrawing:H,selectCurrentWorkspaceTabId:j,selectIsDragging:A,selectIsWorkspaceTabOpen:B,selectLastClosedWorkspaceTab:K,selectMountedBrowserTabLeases:E,selectOpenWorkspaceTabGroupId:x,selectPersistedWorkspaceTabsState:V,selectWorkspaceTabGroups:F,selectWorkspaceTabGroupsEnabled:z,selectWorkspaceTabOrder:_,selectWorkspaceTabsHydrated:N,selectWorkspaceTabsToReconcile:J},Symbol.toStringTag,{value:"Module"}));function U(e,t){return t?JSON.stringify(["git-root",t,e]):e}const d=[];function Q(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const re=s.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??n),oe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).pendingPanelReveal??null),k={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function ne(e,t,a,r){if(r.workspaceId&&r.workspaceId!==a)return k;const o=r,c=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,o));if(c.length===0)return k;const u=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,o);return{count:c.length,isOpen:!0,isActive:u,isOpenElsewhere:!u}}const ce=s.createSelector(e=>e.panelLayout.byWorkspaceId),le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).root),ie=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).expandedPanelId),ue=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).panels),pe=s.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??n).panels[a]),de=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).focusedPanelId),be=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=a.focusedPanelId,o=r?a.panels[r]:void 0;return[t,{panelId:o?r:null,activeTabId:o?.activeTabId??null}]})));const fe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).restoreStatus),ye=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;if(!a.focusedPanelId)return;const r=a.panels[a.focusedPanelId];if(!(!r||!r.activeTabId))return r.tabs.find(o=>o.id===r.activeTabId)}),Se=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;for(let r=a.focusHistory.length-1;r>=0;r-=1){const o=a.focusHistory[r],c=a.panels[o.panelId]?.tabs.find(u=>u.id===o.tabId);if(c?.type==="agent")return c}}),ke=s.createSelector((e,t,a)=>{const o=(e.panelLayout.byWorkspaceId[t]??n).panels[a];if(!(!o||!o.activeTabId))return o.tabs.find(c=>c.id===o.activeTabId)}),Ie=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return Object.values(a.panels).flatMap(r=>r.tabs)}),Te=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.hiddenTabs??n.hiddenTabs)});function X(e){const t=[];for(const a of Object.values(e.panels))for(const r of a.tabs)r.type==="browser"&&t.push({tab:r,visibility:"visible",displayed:a.activeTabId===r.id});for(const a of b(e.hiddenTabs??n.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const Y=s.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??n;return X(a).length>0}),We=s.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>Y.select(e,t)));s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=Object.values(a.panels).some(o=>o.tabs.length>0);return[t,r?h(a.root):0]})));const Pe=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return w(a.root,a.panels)});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??m(a.root,a.panels,"content")])));const ge=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidth),ve=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidthSource),Le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).columnCount);s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const he=s.createSelector((e,t,a=!1)=>{if(!Q(t))return d;const r=e.panelLayout.byWorkspaceId[t],o=e.files.byWorkspaceId[t];if(!o)return d;if(!r)return a?[...o.files.ids].sort((l,i)=>l.localeCompare(i)):d;const c=new Set;for(const l of Object.values(r.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&c.add(U(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const u=[];for(const l of o.files.ids)c.has(l)||u.push(l);return u.length===0?d:(u.sort((l,i)=>l.localeCompare(i)),u)}),we=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return f(a.root)});function P(e){return f(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const me=s.createSelector((e,t)=>P(e.panelLayout.byWorkspaceId[t]??n));s.createSelector((e,t,a)=>P(e.panelLayout.byWorkspaceId[t]??n).find(r=>r.panelId===a));function Z(e){return f(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const o=a.tabs.find(c=>c.id===a.activeTabId)??a.tabs[0];return[{id:t,title:o?.title??"",type:o?.type}]})}s.createSelector((e,t)=>Z(e.panelLayout.byWorkspaceId[t]??n));const $=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).recentlyClosed),ee=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.recentlyClosedColumns??C("historyId")).find(r=>O(a,r))??null}),Ce=s.createSelector((e,t)=>{const a=$.select(e,t)[0]??null,r=ee.select(e,t);return r&&(!a||r.closedAt>=a.closedAt)?{kind:"column",closedAt:r.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null});export{ge as A,ve as B,Le as C,Pe as D,me as E,we as F,le as G,re as H,ce as I,ue as J,oe as K,V as L,$ as M,fe as N,F as O,z as P,_ as Q,N as R,J as S,se as T,ke as a,q as b,X as c,R as d,Ie as e,U as f,ne as g,M as h,G as i,H as j,We as k,j as l,ie as m,he as n,be as o,de as p,Te as q,A as r,ye as s,B as t,K as u,Ce as v,Se as w,E as x,x as y,pe as z};