@intent-hq/web 2.300.1 → 2.301.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 (247) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{D24Lh2xV.js → -1vWYJiy.js} +1 -1
  3. package/web/app/immutable/chunks/{Cz3L4t3K.js → 0_FDVEla.js} +1 -1
  4. package/web/app/immutable/chunks/{CeO1YObE.js → 42GHkgj6.js} +1 -1
  5. package/web/app/immutable/chunks/{CUPUpXuX.js → 4I8WRxn6.js} +1 -1
  6. package/web/app/immutable/chunks/{uuGBA4cr.js → 4byfznQh.js} +1 -1
  7. package/web/app/immutable/chunks/{5sBQ6rKD.js → 6Ql_vn7X.js} +1 -1
  8. package/web/app/immutable/chunks/{CoKvDYIY.js → 6hOEL6g0.js} +1 -1
  9. package/web/app/immutable/chunks/{Cl4oF0_T.js → 7O3nfCeH.js} +1 -1
  10. package/web/app/immutable/chunks/{DayXN3MG.js → 8EDHNAa0.js} +1 -1
  11. package/web/app/immutable/chunks/{BS-h7rm3.js → 8Q_Was_5.js} +1 -1
  12. package/web/app/immutable/chunks/{D_HBTAOp.js → 9k5bnL8-.js} +2 -2
  13. package/web/app/immutable/chunks/{DD1B8iWW.js → B-JIdXlm.js} +1 -1
  14. package/web/app/immutable/chunks/{C0yADNxK.js → B-OGKYEx.js} +2 -2
  15. package/web/app/immutable/chunks/{CLwukbv5.js → B220ai_K.js} +1 -1
  16. package/web/app/immutable/chunks/{D_fVcaam.js → B2jj_YAX.js} +1 -1
  17. package/web/app/immutable/chunks/{BWAM175S.js → B4Ys_Zqk.js} +1 -1
  18. package/web/app/immutable/chunks/{7lKdD900.js → B52XysAQ.js} +1 -1
  19. package/web/app/immutable/chunks/{Cr3qamxz.js → B6wnyXxa.js} +1 -1
  20. package/web/app/immutable/chunks/{qoEkEEyr.js → B7VWEjxq.js} +1 -1
  21. package/web/app/immutable/chunks/{B00a-E5y.js → B7zUuO00.js} +1 -1
  22. package/web/app/immutable/chunks/{ByOlSVuA.js → B8S_XDvA.js} +1 -1
  23. package/web/app/immutable/chunks/{BeXyu8S7.js → B9G1J12P.js} +2 -2
  24. package/web/app/immutable/chunks/{B2YeO1vq.js → BAXlZEur.js} +1 -1
  25. package/web/app/immutable/chunks/{BKoNmPdl.js → BAbzdNi8.js} +1 -1
  26. package/web/app/immutable/chunks/{-j8RilKC.js → BBNnH_sw.js} +2 -2
  27. package/web/app/immutable/chunks/{BOBlxuhv.js → BDHBtQ3l.js} +1 -1
  28. package/web/app/immutable/chunks/{BnoYK4Cg.js → BEgosT1d.js} +1 -1
  29. package/web/app/immutable/chunks/{DfZpv0e6.js → BEj-d9Cx.js} +1 -1
  30. package/web/app/immutable/chunks/{cF3AJqS4.js → BF75AbUh.js} +1 -1
  31. package/web/app/immutable/chunks/{Djo4Utna.js → BGv3Ttev.js} +1 -1
  32. package/web/app/immutable/chunks/{ClQcbOPg.js → BH5cuIQi.js} +1 -1
  33. package/web/app/immutable/chunks/BJn7bayT.js +1 -0
  34. package/web/app/immutable/chunks/{BVnCu4HK.js → BL-4c5eP.js} +1 -1
  35. package/web/app/immutable/chunks/BLn5rsUE.js +5 -0
  36. package/web/app/immutable/chunks/{C1ANrPzv.js → BNPFPBlO.js} +1 -1
  37. package/web/app/immutable/chunks/{EZewBOPv.js → BNrl_yXC.js} +1 -1
  38. package/web/app/immutable/chunks/{B6GFXjaE.js → BPzYYRAs.js} +4 -4
  39. package/web/app/immutable/chunks/{Cc7p6my_.js → BQY3g8uE.js} +6 -6
  40. package/web/app/immutable/chunks/{0nqxMME2.js → BR-wS1W8.js} +1 -1
  41. package/web/app/immutable/chunks/{KoGdyFdq.js → BRMj8a4h.js} +1 -1
  42. package/web/app/immutable/chunks/{Dp-w6U2a.js → BRwNKwD7.js} +1 -1
  43. package/web/app/immutable/chunks/{DW4Kmsyn.js → BU8fu6L_.js} +1 -1
  44. package/web/app/immutable/chunks/{CojjevwO.js → BVJeg9VF.js} +3 -3
  45. package/web/app/immutable/chunks/{BXDqRhfc.js → BWjmxT5D.js} +1 -1
  46. package/web/app/immutable/chunks/{DsUUGZq_.js → BWljXDfF.js} +1 -1
  47. package/web/app/immutable/chunks/{1-VabEZ0.js → BXDl97pl.js} +1 -1
  48. package/web/app/immutable/chunks/{B5FD8FRF.js → BXU_OYLJ.js} +1 -1
  49. package/web/app/immutable/chunks/{C_A8Orac.js → BYk_qw69.js} +1 -1
  50. package/web/app/immutable/chunks/{Bx4lXaHY.js → BYxkGGC-.js} +1 -1
  51. package/web/app/immutable/chunks/{D6tg0AFH.js → B_iqW4nZ.js} +1 -1
  52. package/web/app/immutable/chunks/{seZ3kiWB.js → BbJJ4Uie.js} +1 -1
  53. package/web/app/immutable/chunks/{DD_wk1WS.js → BcmjbiBm.js} +2 -2
  54. package/web/app/immutable/chunks/{CTb5E7ts.js → BcpdiGRR.js} +1 -1
  55. package/web/app/immutable/chunks/{COWTRkIf.js → Bd69ye4n.js} +1 -1
  56. package/web/app/immutable/chunks/{gM93sUNx.js → Bd9XSgIb.js} +1 -1
  57. package/web/app/immutable/chunks/{BFq_nebX.js → BeAhMSSb.js} +1 -1
  58. package/web/app/immutable/chunks/{dJdm8RiY.js → BeLl-r8h.js} +1 -1
  59. package/web/app/immutable/chunks/{3cdteGtc.js → BeRTGLrw.js} +1 -1
  60. package/web/app/immutable/chunks/{DPaNvpDi.js → BggwWRGf.js} +1 -1
  61. package/web/app/immutable/chunks/{zFZ2p9zT.js → BhkBe7Jc.js} +1 -1
  62. package/web/app/immutable/chunks/{vTk7TgiT.js → BlFUy1M_.js} +1 -1
  63. package/web/app/immutable/chunks/{MSSSP_6i.js → Bloa0suE.js} +1 -1
  64. package/web/app/immutable/chunks/{CYIyfTfT.js → BoaSTXep.js} +1 -1
  65. package/web/app/immutable/chunks/{DvuFiJGX.js → BrAaVsFz.js} +1 -1
  66. package/web/app/immutable/chunks/{DDs4Vg0U.js → BspPTfLp.js} +1 -1
  67. package/web/app/immutable/chunks/{9ZGNcJrk.js → BvUM18CV.js} +1 -1
  68. package/web/app/immutable/chunks/{BO3uDFyf.js → BwEpZ6hl.js} +3 -3
  69. package/web/app/immutable/chunks/{C6MidKO1.js → BwlxTP6m.js} +1 -1
  70. package/web/app/immutable/chunks/{BBKgmsAl.js → Bzu3FrPq.js} +1 -1
  71. package/web/app/immutable/chunks/{BRFS4VDU.js → C-VIKqni.js} +1 -1
  72. package/web/app/immutable/chunks/{x9rbYKj9.js → C4-u_VtZ.js} +1 -1
  73. package/web/app/immutable/chunks/C5MJ7BeC.js +227 -0
  74. package/web/app/immutable/chunks/{BPhCmCpT.js → C9PGJX9n.js} +1 -1
  75. package/web/app/immutable/chunks/{CqShCtgy.js → C9jifMvI.js} +1 -1
  76. package/web/app/immutable/chunks/{DOP6s1nq.js → C9k7mgs4.js} +4 -4
  77. package/web/app/immutable/chunks/{CjZ3vck_.js → CBDImldB.js} +1 -1
  78. package/web/app/immutable/chunks/{s1gAk8mT.js → CBYPZH-W.js} +1 -1
  79. package/web/app/immutable/chunks/{CJB0AMOQ.js → CC4WmnL6.js} +2 -2
  80. package/web/app/immutable/chunks/{C2RKkR8r.js → CEFx_w_J.js} +1 -1
  81. package/web/app/immutable/chunks/{DJPQ2gWl.js → CG9-31He.js} +1 -1
  82. package/web/app/immutable/chunks/{waEdGUDl.js → CHeQtCyR.js} +1 -1
  83. package/web/app/immutable/chunks/{3sRD2IoY.js → CItSvrO_.js} +1 -1
  84. package/web/app/immutable/chunks/{CcRQKkS2.js → CJzvjWBQ.js} +1 -1
  85. package/web/app/immutable/chunks/{CwSA3Dwr.js → CM8AwG-k.js} +3 -3
  86. package/web/app/immutable/chunks/{5GrgBznS.js → CMBaQAuw.js} +1 -1
  87. package/web/app/immutable/chunks/{BB2kR3UP.js → CNGkxhSe.js} +1 -1
  88. package/web/app/immutable/chunks/{BBi8ZQ4f.js → COMfKjnL.js} +1 -1
  89. package/web/app/immutable/chunks/{BVR4ypbe.js → CQMDPYtj.js} +1 -1
  90. package/web/app/immutable/chunks/{GgqVQsTS.js → CS5VoVeF.js} +1 -1
  91. package/web/app/immutable/chunks/{CZL3_4T_.js → CSdV5_bj.js} +1 -1
  92. package/web/app/immutable/chunks/{igt8MaJ4.js → CTmT5I7Z.js} +1 -1
  93. package/web/app/immutable/chunks/{BggFqLcQ.js → CUMro1vx.js} +1 -1
  94. package/web/app/immutable/chunks/{DB9IAENr.js → CUMzsmcb.js} +1 -1
  95. package/web/app/immutable/chunks/{CGXAF4r8.js → CVC-R1OI.js} +1 -1
  96. package/web/app/immutable/chunks/{B23FAgl4.js → CXdTWTzB.js} +1 -1
  97. package/web/app/immutable/chunks/{DOpzySCS.js → CXkYtIUm.js} +1 -1
  98. package/web/app/immutable/chunks/{IFT0w_rv.js → CXqGB8i2.js} +1 -1
  99. package/web/app/immutable/chunks/{C0sDoyzY.js → CXtOOnh0.js} +1 -1
  100. package/web/app/immutable/chunks/{BKBZBubB.js → CZE4HQ01.js} +1 -1
  101. package/web/app/immutable/chunks/{dAdxFhG6.js → CbF4ODHW.js} +1 -1
  102. package/web/app/immutable/chunks/{XRDpypMz.js → Ce-KYi-n.js} +1 -1
  103. package/web/app/immutable/chunks/{BsU6XLOF.js → Ce8PMxuE.js} +1 -1
  104. package/web/app/immutable/chunks/{DOlRZEzP.js → CeX5z_vs.js} +1 -1
  105. package/web/app/immutable/chunks/{DYFbONVh.js → CenrrJuj.js} +2 -2
  106. package/web/app/immutable/chunks/{B0WURFIt.js → Cf891EVZ.js} +1 -1
  107. package/web/app/immutable/chunks/{DczZ5XlV.js → CiBStNAr.js} +3 -3
  108. package/web/app/immutable/chunks/{yr_icLi6.js → Ciihhv86.js} +1 -1
  109. package/web/app/immutable/chunks/{C7jsu14h.js → Citu-dNT.js} +1 -1
  110. package/web/app/immutable/chunks/{5D7P8R1M.js → CixlkwsU.js} +1 -1
  111. package/web/app/immutable/chunks/{DSoSzq2S.js → CjhAOkhP.js} +1 -1
  112. package/web/app/immutable/chunks/{Dpront9T.js → ClJKqwKB.js} +1 -1
  113. package/web/app/immutable/chunks/{DfARSELN.js → ClOUpVZZ.js} +3 -3
  114. package/web/app/immutable/chunks/{D1YVXYbM.js → CnWtv34Y.js} +7 -7
  115. package/web/app/immutable/chunks/{BRX8YzX5.js → CoJOpuAN.js} +1 -1
  116. package/web/app/immutable/chunks/{BQ3lIAxU.js → Cr5KYQBW.js} +1 -1
  117. package/web/app/immutable/chunks/{DPODhnzy.js → CtcF6bbr.js} +2 -2
  118. package/web/app/immutable/chunks/{BzvRDF8m.js → Cu4QpKDr.js} +1 -1
  119. package/web/app/immutable/chunks/{TKDyISXm.js → Cu8J93FR.js} +3 -3
  120. package/web/app/immutable/chunks/{DDDplTKI.js → CunMRDJl.js} +1 -1
  121. package/web/app/immutable/chunks/{DEMyUrKD.js → CvgQ9EkY.js} +1 -1
  122. package/web/app/immutable/chunks/{f3mINTV_.js → Cw1gOOP4.js} +1 -1
  123. package/web/app/immutable/chunks/{DUb-Rw9h.js → CzVv3uRF.js} +1 -1
  124. package/web/app/immutable/chunks/{YJmoM74E.js → CzeYC5kK.js} +1 -1
  125. package/web/app/immutable/chunks/{CqbBHiiS.js → D1IlJCd0.js} +1 -1
  126. package/web/app/immutable/chunks/{CcJbNmRb.js → D54_bMKf.js} +1 -1
  127. package/web/app/immutable/chunks/{Ca7foKhO.js → D5_2GYC0.js} +1 -1
  128. package/web/app/immutable/chunks/{BoVqnGlE.js → DAjW_Z-R.js} +1 -1
  129. package/web/app/immutable/chunks/{4MuDb8sG.js → DBGO1w9a.js} +1 -1
  130. package/web/app/immutable/chunks/{CbSjEe9c.js → DBdfwYFa.js} +1 -1
  131. package/web/app/immutable/chunks/{CjJmucSj.js → DCv8NaxM.js} +1 -1
  132. package/web/app/immutable/chunks/{WAk1in99.js → DE5Vt-mk.js} +1 -1
  133. package/web/app/immutable/chunks/{CZ0U9o7-.js → DELLe_1a.js} +1 -1
  134. package/web/app/immutable/chunks/{D8RydOZp.js → DGW6wXEq.js} +1 -1
  135. package/web/app/immutable/chunks/{xnqT8zWA.js → DIceyoUA.js} +1 -1
  136. package/web/app/immutable/chunks/{l4QAkguk.js → DJ00LNUR.js} +1 -1
  137. package/web/app/immutable/chunks/DJ_9F2bm.js +1 -0
  138. package/web/app/immutable/chunks/{CtPUg4ad.js → DKolS8Ht.js} +1 -1
  139. package/web/app/immutable/chunks/{CNsCQ6no.js → DMaQDnJk.js} +1 -1
  140. package/web/app/immutable/chunks/{CbB5VTQO.js → DMnHL_j_.js} +1 -1
  141. package/web/app/immutable/chunks/{BpS2Zkky.js → DNKZQCox.js} +1 -1
  142. package/web/app/immutable/chunks/{lfN_4jdk.js → DNyxd11M.js} +1 -1
  143. package/web/app/immutable/chunks/{D7tJZDri.js → DU4GH855.js} +1 -1
  144. package/web/app/immutable/chunks/{DxZVPzM-.js → DVnNWj1L.js} +1 -1
  145. package/web/app/immutable/chunks/{BTiFAxnk.js → DWUInPKR.js} +1 -1
  146. package/web/app/immutable/chunks/{Cs8-gQAN.js → DYywvoax.js} +1 -1
  147. package/web/app/immutable/chunks/{D1mml-OO.js → DZCBh97_.js} +1 -1
  148. package/web/app/immutable/chunks/{CIhr4uzF.js → DZKVhZfO.js} +1 -1
  149. package/web/app/immutable/chunks/{BVLclYIV.js → DZwXyTtM.js} +1 -1
  150. package/web/app/immutable/chunks/{iYBu_bIg.js → D_Ou_6lS.js} +1 -1
  151. package/web/app/immutable/chunks/{DHUOIULZ.js → DaqPl4Tz.js} +1 -1
  152. package/web/app/immutable/chunks/{CyAayV8v.js → Dax20l9D.js} +2 -2
  153. package/web/app/immutable/chunks/{DR4IMcDF.js → Dcbdz0Jw.js} +1 -1
  154. package/web/app/immutable/chunks/{C9KORVFh.js → DdV_6_CH.js} +1 -1
  155. package/web/app/immutable/chunks/{BiyBBgWJ.js → DeBsmEqU.js} +1 -1
  156. package/web/app/immutable/chunks/{CViglT06.js → DeI8FMuz.js} +1 -1
  157. package/web/app/immutable/chunks/{xn0HgFL2.js → DediWp9-.js} +1 -1
  158. package/web/app/immutable/chunks/{BVT8FnwX.js → Denyu19x.js} +1 -1
  159. package/web/app/immutable/chunks/{BmZ0oFC-.js → DgBCXQ71.js} +1 -1
  160. package/web/app/immutable/chunks/{CHHzckiT.js → DhGPSsBf.js} +1 -1
  161. package/web/app/immutable/chunks/{BcN0a7iZ.js → Dj_FVUHS.js} +1 -1
  162. package/web/app/immutable/chunks/{BPC4bZ2e.js → DkibMP99.js} +1 -1
  163. package/web/app/immutable/chunks/{CMxICaSn.js → Dl3AQcJn.js} +1 -1
  164. package/web/app/immutable/chunks/{6bctAAQ4.js → DmJbtm9p.js} +2 -2
  165. package/web/app/immutable/chunks/{QvMOlSpE.js → DmUU4JxK.js} +1 -1
  166. package/web/app/immutable/chunks/{CI_dqO7A.js → Dma9ms7u.js} +1 -1
  167. package/web/app/immutable/chunks/{Bkny4U08.js → Dmf4WObG.js} +1 -1
  168. package/web/app/immutable/chunks/{CMT8W8d8.js → DnCf3QiL.js} +1 -1
  169. package/web/app/immutable/chunks/{B1BoYgO3.js → DoOAeI0m.js} +1 -1
  170. package/web/app/immutable/chunks/{AFSjjw3j.js → Do_TqlrK.js} +1 -1
  171. package/web/app/immutable/chunks/{DnSvdDJQ.js → DrHxWi1S.js} +1 -1
  172. package/web/app/immutable/chunks/{VIc8fDOK.js → DrNVHvhK.js} +1 -1
  173. package/web/app/immutable/chunks/{Ozne-tFy.js → Drgj5uDM.js} +41 -41
  174. package/web/app/immutable/chunks/{2ZXwYJuA.js → DsHbB0Gk.js} +1 -1
  175. package/web/app/immutable/chunks/{UiwXoSAw.js → DsrgAjSN.js} +1 -1
  176. package/web/app/immutable/chunks/{DOb83nqS.js → DtagNJGy.js} +1 -1
  177. package/web/app/immutable/chunks/{Dj9vAmvP.js → DuInbvT4.js} +1 -1
  178. package/web/app/immutable/chunks/{WhG7Bgtb.js → DvqgRsDd.js} +1 -1
  179. package/web/app/immutable/chunks/{BWaQmmKL.js → DvrTNX0e.js} +1 -1
  180. package/web/app/immutable/chunks/{2N3bEpgZ.js → DyVKK3zU.js} +1 -1
  181. package/web/app/immutable/chunks/{DjJQPfKI.js → Dzu7FPMr.js} +1 -1
  182. package/web/app/immutable/chunks/{CAdJgRT-.js → EzIyeu9q.js} +1 -1
  183. package/web/app/immutable/chunks/{BuBWlA2n.js → IISaQsK0.js} +1 -1
  184. package/web/app/immutable/chunks/IJYL54f1.js +1 -0
  185. package/web/app/immutable/chunks/{CLt_MpVR.js → Jf6CJclx.js} +1 -1
  186. package/web/app/immutable/chunks/{J1JvTxzS.js → KG68UpwU.js} +1 -1
  187. package/web/app/immutable/chunks/{DzxV-zrJ.js → M8sdbvOT.js} +1 -1
  188. package/web/app/immutable/chunks/{D31GMMqw.js → Mjh5v3L0.js} +1 -1
  189. package/web/app/immutable/chunks/{DW3NYbCg.js → NDnZ2f46.js} +1 -1
  190. package/web/app/immutable/chunks/{_wdKNOb8.js → NPItrD9R.js} +1 -1
  191. package/web/app/immutable/chunks/{qVOvfVaw.js → Pq3i4zFA.js} +1 -1
  192. package/web/app/immutable/chunks/{ConaHaDS.js → Q-IbWJI_.js} +1 -1
  193. package/web/app/immutable/chunks/{BL66wtH1.js → SNezQIpP.js} +1 -1
  194. package/web/app/immutable/chunks/{DBYwZc8q.js → T1WqHZLZ.js} +1 -1
  195. package/web/app/immutable/chunks/{Dy75eCEg.js → T995SloE.js} +1 -1
  196. package/web/app/immutable/chunks/{2DcZXs_F.js → UMA3RT0s.js} +1 -1
  197. package/web/app/immutable/chunks/{D_0pJDZv.js → UakvtOgc.js} +1 -1
  198. package/web/app/immutable/chunks/{CURgPz9A.js → Vx0IIPew.js} +1 -1
  199. package/web/app/immutable/chunks/{B648LYGe.js → bDcdMMyl.js} +1 -1
  200. package/web/app/immutable/chunks/{g8wzFaTr.js → eEZIbdzf.js} +1 -1
  201. package/web/app/immutable/chunks/{BKb2X4nY.js → ggRICgWE.js} +1 -1
  202. package/web/app/immutable/chunks/{CNcMC2eS.js → hOR9B4V4.js} +1 -1
  203. package/web/app/immutable/chunks/{B9UG1fIf.js → i9DVPIlR.js} +1 -1
  204. package/web/app/immutable/chunks/{Q0MFbJMW.js → k6s8dGrA.js} +1 -1
  205. package/web/app/immutable/chunks/{0-b4ZvTK.js → knnjLtf9.js} +1 -1
  206. package/web/app/immutable/chunks/{DHZp-IFS.js → mNkJFQiA.js} +1 -1
  207. package/web/app/immutable/chunks/{B08ZRfRe.js → mkPaye9m.js} +1 -1
  208. package/web/app/immutable/chunks/{WC951FwE.js → nz1YTpIq.js} +1 -1
  209. package/web/app/immutable/chunks/{CuGpCjd7.js → oqxFFnht.js} +1 -1
  210. package/web/app/immutable/chunks/{CCOyeB8l.js → p8msS16l.js} +1 -1
  211. package/web/app/immutable/chunks/{MkI4_nBU.js → qwx0AE4b.js} +1 -1
  212. package/web/app/immutable/chunks/{h-HGzFkJ.js → tkZmaR4M.js} +4 -4
  213. package/web/app/immutable/chunks/{CilxFmmt.js → tzy2FJ3p.js} +1 -1
  214. package/web/app/immutable/chunks/{7L5DlLPB.js → vt-D6r-U.js} +1 -1
  215. package/web/app/immutable/chunks/{CKXP5Dfl.js → w0VuoJIl.js} +1 -1
  216. package/web/app/immutable/chunks/{nn-FB5iu.js → w7xvX9oI.js} +1 -1
  217. package/web/app/immutable/chunks/{C7NJtCoD.js → y8su61xq.js} +2 -2
  218. package/web/app/immutable/chunks/{3pZ2C7Oz.js → yQ0Z1VHW.js} +1 -1
  219. package/web/app/immutable/chunks/{CkiTXhNV.js → ymVYL-2H.js} +3 -3
  220. package/web/app/immutable/chunks/{txAxF1ra.js → zl8SSmZq.js} +1 -1
  221. package/web/app/immutable/entry/{app.MRheiWYu.js → app.BgfLNpAH.js} +2 -2
  222. package/web/app/immutable/entry/start.DFg06W-g.js +1 -0
  223. package/web/app/immutable/nodes/{0.CtDeqO-b.js → 0.B3w9utn7.js} +1 -1
  224. package/web/app/immutable/nodes/{1.DkbI4cS2.js → 1.DaxXfawW.js} +1 -1
  225. package/web/app/immutable/nodes/{10.m8CCWmGC.js → 10.Ut2WO8-5.js} +1 -1
  226. package/web/app/immutable/nodes/{12.C6vEm_M7.js → 12.CEAVKYuu.js} +1 -1
  227. package/web/app/immutable/nodes/{13.DPA662Yd.js → 13.CJ1HRZcd.js} +1 -1
  228. package/web/app/immutable/nodes/{14.ByaMuLhR.js → 14.BS_itk_o.js} +1 -1
  229. package/web/app/immutable/nodes/{15.Byubc7Em.js → 15.CZGq0vsg.js} +1 -1
  230. package/web/app/immutable/nodes/{16.BmFYAQ9C.js → 16.DXjz2v3H.js} +2 -2
  231. package/web/app/immutable/nodes/{2.B4Inck9s.js → 2.CYzMuwKR.js} +4 -4
  232. package/web/app/immutable/nodes/{3.C3UUZ7iK.js → 3.63ZtoTSA.js} +1 -1
  233. package/web/app/immutable/nodes/{4.CtX4qgJE.js → 4.DDS6oK5o.js} +1 -1
  234. package/web/app/immutable/nodes/{5.yLkRrv3R.js → 5.DsTfq2mA.js} +1 -1
  235. package/web/app/immutable/nodes/6.BH8FJ3Wf.js +1 -0
  236. package/web/app/immutable/nodes/{7.DCFEio1e.js → 7.DW27zT40.js} +1 -1
  237. package/web/app/immutable/nodes/{8.CGM4vick.js → 8.B4CNA7De.js} +4 -4
  238. package/web/app/immutable/nodes/{9.V5qvVUf3.js → 9.Nt9iZ731.js} +4 -4
  239. package/web/app/version.json +1 -1
  240. package/web/index.html +9 -9
  241. package/web/app/immutable/chunks/9A9__2dZ.js +0 -1
  242. package/web/app/immutable/chunks/BqQtQly_.js +0 -5
  243. package/web/app/immutable/chunks/D4Mfx79s.js +0 -227
  244. package/web/app/immutable/chunks/DGR4UUG4.js +0 -1
  245. package/web/app/immutable/chunks/W-gkWrYK.js +0 -1
  246. package/web/app/immutable/entry/start.CSXPreJt.js +0 -1
  247. package/web/app/immutable/nodes/6.CjUsIDeG.js +0 -1
@@ -1,4 +1,4 @@
1
- import{I as le}from"./BVLclYIV.js";import{p as he}from"./DsUUGZq_.js";import{aP as $e,c9 as fe,c6 as ge,aK as ue,aL as ye,c7 as xe,f as h,aN as J,bC as w,c3 as me,aO as q,cx as pe,ce as be,a0 as we,a4 as B,$ as ke,ax as ve,bV as Ce}from"./Cc7p6my_.js";import{p as Ee}from"./DRGgTdjp.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),De=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),Pe=h(function(){return d.records.currBranch},"getCurrentBranch"),We=h(function(){return d.records.direction},"getDirection"),qe=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:De,getCommitsArray:ne,getCurrentBranch:Pe,getDirection:We,getHead:qe,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ke(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ue(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ke=h(e=>e.branch,"parseCheckout"),Ue=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,P=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),P.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=q(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
1
+ import{I as le}from"./DZwXyTtM.js";import{p as he}from"./BWljXDfF.js";import{aP as $e,c9 as fe,c6 as ge,aK as ue,aL as ye,c7 as xe,f as h,aN as J,bC as w,c3 as me,aO as q,cx as pe,ce as be,a0 as we,a4 as B,$ as ke,ax as ve,bV as Ce}from"./BQY3g8uE.js";import{p as Ee}from"./DRGgTdjp.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),De=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),Pe=h(function(){return d.records.currBranch},"getCurrentBranch"),We=h(function(){return d.records.direction},"getDirection"),qe=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:De,getCommitsArray:ne,getCurrentBranch:Pe,getDirection:We,getHead:qe,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ke(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ue(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ke=h(e=>e.branch,"parseCheckout"),Ue=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,P=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),P.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=q(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
2
2
  ${s-i/2-L/2},${x+R}
3
3
  ${s-i/2-L/2},${x-R}
4
4
  ${t.posWithOffset-i/2-L},${x-c-R}
@@ -1 +1 @@
1
- import{t as B,bq as d,a_ as T,by as W,bs as j,b as q,bo as z,bu as D}from"./yZ5s7S5S.js";import{bs as L,cd as O,ca as E,a7 as F,ay as G,W as f,bn as H,aA as h,aD as t,c9 as r,a5 as J,bl as K,bA as M,b_ as N,bO as Q,aB as R}from"./B8o4lNgr.js";import{C as U}from"./BFq_nebX.js";import{dk as V}from"./D24Lh2xV.js";import{i as X}from"./H2jLkRRS.js";var Y=R('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});L(o,!0);const l=()=>D(b,"$workspace",u),[u,m]=j();let s=d(o,"tab",7),n=d(o,"workspaceId",7);const g=O(n());E(()=>{g.set(n())});const b=V(g),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),i=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),k=r(()=>s().data?.agentId),w=r(()=>t(i).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:W,$on:(e,a)=>q(o,e,a)},p=F(),y=G(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(w)},get isAggregate(){return t(v)},get agentId(){return t(k)},showStagingControls:!0})},I=e=>{var a=Y(),A=J(a),$=K(A,!0);M(a),N(S=>Q($,S),[()=>z.layout_chatChanges_noChanges_label()]),f(e,a)};T(y,e=>{t(i).length>0?e(P):e(I,-1)})}f(c,p);var x=H(C);return m(),x}export{Z as default};
1
+ import{t as B,bq as d,a_ as T,by as W,bs as j,b as q,bo as z,bu as D}from"./yZ5s7S5S.js";import{bs as L,cd as O,ca as E,a7 as F,ay as G,W as f,bn as H,aA as h,aD as t,c9 as r,a5 as J,bl as K,bA as M,b_ as N,bO as Q,aB as R}from"./B8o4lNgr.js";import{C as U}from"./BeAhMSSb.js";import{dk as V}from"./-1vWYJiy.js";import{i as X}from"./H2jLkRRS.js";var Y=R('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});L(o,!0);const l=()=>D(b,"$workspace",u),[u,m]=j();let s=d(o,"tab",7),n=d(o,"workspaceId",7);const g=O(n());E(()=>{g.set(n())});const b=V(g),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),i=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),k=r(()=>s().data?.agentId),w=r(()=>t(i).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:W,$on:(e,a)=>q(o,e,a)},p=F(),y=G(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(w)},get isAggregate(){return t(v)},get agentId(){return t(k)},showStagingControls:!0})},I=e=>{var a=Y(),A=J(a),$=K(A,!0);M(a),N(S=>Q($,S),[()=>z.layout_chatChanges_noChanges_label()]),f(e,a)};T(y,e=>{t(i).length>0?e(P):e(I,-1)})}f(c,p);var x=H(C);return m(),x}export{Z as default};
@@ -1 +1 @@
1
- import{t as g,bq as n,bt as v,by as b,br as h,b as x}from"./yZ5s7S5S.js";import{bs as y,a7 as S,ay as w,aD as _,W as k,bn as z,aA as i,c9 as C}from"./B8o4lNgr.js";import{c as A}from"./CVjN4vxe.js";import{f as I,p as M}from"./D46WSk8U.js";import{S as P}from"./_wdKNOb8.js";var W=new Set(["$$slots","$$events","$$legacy","ref","class","data-slot"]);function D(l,t){if(new.target)return g({component:D,...l});y(t,!0);let a=n(t,"ref",15,null),r=n(t,"class",7),s=n(t,"data-slot",7,"separator"),c=h(t,W);var m={get ref(){return a()},set ref(e=null){a(e),i()},get class(){return r()},set class(e){r(e),i()},get"data-slot"(){return s()},set"data-slot"(e="separator"){s(e),i()},$set:b,$on:(e,o)=>x(t,e,o)},p=S(),d=w(p);{let e=C(()=>I("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",r()));A(d,()=>P,(o,u)=>{u(o,v({get"data-slot"(){return s()},get class(){return _(e)}},()=>c,{get ref(){return a()},set ref(f){a(f)}}))})}return k(l,p),z(m)}const F=[{id:"separator-state-matrix",title:"Separator states",states:["horizontal","vertical","decorative","semantic","compact","zoom-200","light","dark"],themes:["light","dark","high-contrast"],viewport:"both"}];M({id:"separator",source:"src/lib/components/ui/separator/separator.svelte",publicImport:"$lib/components/ui/separator",legacyImports:["$lib/components/ui/separator/index.js"],exports:["Root","Separator","separatorMetadata"],category:"primitive",owner:"design-system",callers:["src/features/discussions/components/DiscussionMentionPicker.svelte","src/features/home/HomeAssistantThreads.svelte","src/features/workspace-sharing/components/WorkspaceSharingSetup.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/components/file-explorer/file-explorer-layout.svelte","src/lib/components/ui/sidebar/sidebar-separator.svelte","src/lib/components/workspace/WorkspaceAgentsList.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/separator/separator.test.ts",removalGate:"Retain while exported and orientation, semantic, and fixture tests pass.",dynamicImports:[],fixtures:F});export{D as S};
1
+ import{t as g,bq as n,bt as v,by as b,br as h,b as x}from"./yZ5s7S5S.js";import{bs as y,a7 as S,ay as w,aD as _,W as k,bn as z,aA as i,c9 as C}from"./B8o4lNgr.js";import{c as A}from"./CVjN4vxe.js";import{f as I,p as M}from"./D46WSk8U.js";import{S as P}from"./NPItrD9R.js";var W=new Set(["$$slots","$$events","$$legacy","ref","class","data-slot"]);function D(l,t){if(new.target)return g({component:D,...l});y(t,!0);let a=n(t,"ref",15,null),r=n(t,"class",7),s=n(t,"data-slot",7,"separator"),c=h(t,W);var m={get ref(){return a()},set ref(e=null){a(e),i()},get class(){return r()},set class(e){r(e),i()},get"data-slot"(){return s()},set"data-slot"(e="separator"){s(e),i()},$set:b,$on:(e,o)=>x(t,e,o)},p=S(),d=w(p);{let e=C(()=>I("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",r()));A(d,()=>P,(o,u)=>{u(o,v({get"data-slot"(){return s()},get class(){return _(e)}},()=>c,{get ref(){return a()},set ref(f){a(f)}}))})}return k(l,p),z(m)}const F=[{id:"separator-state-matrix",title:"Separator states",states:["horizontal","vertical","decorative","semantic","compact","zoom-200","light","dark"],themes:["light","dark","high-contrast"],viewport:"both"}];M({id:"separator",source:"src/lib/components/ui/separator/separator.svelte",publicImport:"$lib/components/ui/separator",legacyImports:["$lib/components/ui/separator/index.js"],exports:["Root","Separator","separatorMetadata"],category:"primitive",owner:"design-system",callers:["src/features/discussions/components/DiscussionMentionPicker.svelte","src/features/home/HomeAssistantThreads.svelte","src/features/workspace-sharing/components/WorkspaceSharingSetup.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/components/file-explorer/file-explorer-layout.svelte","src/lib/components/ui/sidebar/sidebar-separator.svelte","src/lib/components/workspace/WorkspaceAgentsList.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/separator/separator.test.ts",removalGate:"Retain while exported and orientation, semantic, and fixture tests pass.",dynamicImports:[],fixtures:F});export{D as S};
@@ -1,4 +1,4 @@
1
- import{g as se}from"./g8wzFaTr.js";import{a as p,ad as k,N as F,ax as ie,aV as re,L as ae,aG as ne,K as oe,aF as le,aI as ce,O as he,I as ue,p as z,k as de,as as fe}from"./D1YVXYbM.js";import{s as pe}from"./ConaHaDS.js";import{c as Se}from"./CIhr4uzF.js";import{g as m,c3 as vt}from"./Cc7p6my_.js";var xt=(function(){var t=p(function(M,o,h,a){for(h=h||{},a=M.length;a--;h[M[a]]=o);return h},"o"),e=[1,2],s=[1,3],n=[1,4],r=[2,4],c=[1,9],u=[1,11],S=[1,16],d=[1,17],T=[1,18],E=[1,19],b=[1,33],I=[1,20],v=[1,21],f=[1,22],w=[1,23],$=[1,24],A=[1,26],P=[1,27],x=[1,28],B=[1,29],N=[1,30],K=[1,31],ot=[1,32],lt=[1,35],ct=[1,36],ht=[1,37],ut=[1,38],X=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],dt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Ot=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Tt={trace:p(m(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(m(function(o,h,a,g,_,i,G){var l=i.length-1;switch(_){case 3:return g.setRootDoc(i[l]),i[l];case 4:this.$=[];break;case 5:i[l]!="nl"&&(i[l-1].push(i[l]),this.$=i[l-1]);break;case 6:case 7:this.$=i[l];break;case 8:this.$="nl";break;case 12:this.$=i[l];break;case 13:const st=i[l-1];st.description=g.trimColon(i[l]),this.$=st;break;case 14:this.$={stmt:"relation",state1:i[l-2],state2:i[l]};break;case 15:const Et=g.trimColon(i[l]);this.$={stmt:"relation",state1:i[l-3],state2:i[l-1],description:Et};break;case 19:this.$={stmt:"state",id:i[l-3],type:"default",description:"",doc:i[l-1]};break;case 20:var Y=i[l],J=i[l-2].trim();if(i[l].match(":")){var ft=i[l].split(":");Y=ft[0],J=[J,ft[1]]}this.$={stmt:"state",id:Y,type:"default",description:J};break;case 21:this.$={stmt:"state",id:i[l-3],type:"default",description:i[l-5],doc:i[l-1]};break;case 22:this.$={stmt:"state",id:i[l],type:"fork"};break;case 23:this.$={stmt:"state",id:i[l],type:"join"};break;case 24:this.$={stmt:"state",id:i[l],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[l-1].trim(),note:{position:i[l-2].trim(),text:i[l].trim()}};break;case 29:this.$=i[l].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=i[l].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[l-3],url:i[l-2],tooltip:i[l-1]};break;case 33:this.$={stmt:"click",id:i[l-3],url:i[l-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[l-1].trim(),classes:i[l].trim()};break;case 36:this.$={stmt:"style",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 37:this.$={stmt:"applyClass",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[l].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break}},"anonymous"),"anonymous"),table:[{3:1,4:e,5:s,6:n},{1:[3]},{3:5,4:e,5:s,6:n},{3:6,4:e,5:s,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,7]),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(y,[2,11]),t(y,[2,12],{14:[1,40],15:[1,41]}),t(y,[2,16]),{18:[1,42]},t(y,[2,18],{20:[1,43]}),{23:[1,44]},t(y,[2,22]),t(y,[2,23]),t(y,[2,24]),t(y,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(y,[2,28]),{34:[1,49]},{36:[1,50]},t(y,[2,31]),{13:51,24:b,57:X},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(dt,[2,44],{58:[1,56]}),t(dt,[2,45],{58:[1,57]}),t(y,[2,38]),t(y,[2,39]),t(y,[2,40]),t(y,[2,41]),t(y,[2,6]),t(y,[2,13]),{13:58,24:b,57:X},t(y,[2,17]),t(Ot,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(y,[2,29]),t(y,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(y,[2,14],{14:[1,71]}),{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,72],22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),t(dt,[2,46]),t(dt,[2,47]),t(y,[2,15]),t(y,[2,19]),t(Ot,r,{7:78}),t(y,[2,26]),t(y,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,81],22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,32]),t(y,[2,33]),t(y,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(m(function(o,h){if(h.recoverable)this.trace(o);else{var a=new Error(o);throw a.hash=h,a}},"parseError"),"parseError"),parse:p(m(function(o){var h=this,a=[0],g=[],_=[null],i=[],G=this.table,l="",Y=0,J=0,ft=2,st=1,Et=i.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(j.yy[_t]=this.yy[_t]);D.setInput(o,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var mt=D.yylloc;i.push(mt);var ee=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Rt(O){a.length=a.length-2*O,_.length=_.length-O,i.length=i.length-O}m(Rt,"popStack"),p(Rt,"popStack");function bt(){var O;return O=g.pop()||D.lex()||st,typeof O!="number"&&(O instanceof Array&&(g=O,O=g.pop()),O=h.symbols_[O]||O),O}m(bt,"lex"),p(bt,"lex");for(var L,H,R,kt,q={},pt,V,$t,St;;){if(H=a[a.length-1],this.defaultActions[H]?R=this.defaultActions[H]:((L===null||typeof L>"u")&&(L=bt()),R=G[H]&&G[H][L]),typeof R>"u"||!R.length||!R[0]){var Dt="";St=[];for(pt in G[H])this.terminals_[pt]&&pt>ft&&St.push("'"+this.terminals_[pt]+"'");D.showPosition?Dt="Parse error on line "+(Y+1)+`:
1
+ import{g as se}from"./eEZIbdzf.js";import{a as p,ad as k,N as F,ax as ie,aV as re,L as ae,aG as ne,K as oe,aF as le,aI as ce,O as he,I as ue,p as z,k as de,as as fe}from"./CnWtv34Y.js";import{s as pe}from"./Q-IbWJI_.js";import{c as Se}from"./DZKVhZfO.js";import{g as m,c3 as vt}from"./BQY3g8uE.js";var xt=(function(){var t=p(function(M,o,h,a){for(h=h||{},a=M.length;a--;h[M[a]]=o);return h},"o"),e=[1,2],s=[1,3],n=[1,4],r=[2,4],c=[1,9],u=[1,11],S=[1,16],d=[1,17],T=[1,18],E=[1,19],b=[1,33],I=[1,20],v=[1,21],f=[1,22],w=[1,23],$=[1,24],A=[1,26],P=[1,27],x=[1,28],B=[1,29],N=[1,30],K=[1,31],ot=[1,32],lt=[1,35],ct=[1,36],ht=[1,37],ut=[1,38],X=[1,34],y=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],dt=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],Ot=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],Tt={trace:p(m(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:p(m(function(o,h,a,g,_,i,G){var l=i.length-1;switch(_){case 3:return g.setRootDoc(i[l]),i[l];case 4:this.$=[];break;case 5:i[l]!="nl"&&(i[l-1].push(i[l]),this.$=i[l-1]);break;case 6:case 7:this.$=i[l];break;case 8:this.$="nl";break;case 12:this.$=i[l];break;case 13:const st=i[l-1];st.description=g.trimColon(i[l]),this.$=st;break;case 14:this.$={stmt:"relation",state1:i[l-2],state2:i[l]};break;case 15:const Et=g.trimColon(i[l]);this.$={stmt:"relation",state1:i[l-3],state2:i[l-1],description:Et};break;case 19:this.$={stmt:"state",id:i[l-3],type:"default",description:"",doc:i[l-1]};break;case 20:var Y=i[l],J=i[l-2].trim();if(i[l].match(":")){var ft=i[l].split(":");Y=ft[0],J=[J,ft[1]]}this.$={stmt:"state",id:Y,type:"default",description:J};break;case 21:this.$={stmt:"state",id:i[l-3],type:"default",description:i[l-5],doc:i[l-1]};break;case 22:this.$={stmt:"state",id:i[l],type:"fork"};break;case 23:this.$={stmt:"state",id:i[l],type:"join"};break;case 24:this.$={stmt:"state",id:i[l],type:"choice"};break;case 25:this.$={stmt:"state",id:g.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[l-1].trim(),note:{position:i[l-2].trim(),text:i[l].trim()}};break;case 29:this.$=i[l].trim(),g.setAccTitle(this.$);break;case 30:case 31:this.$=i[l].trim(),g.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:i[l-3],url:i[l-2],tooltip:i[l-1]};break;case 33:this.$={stmt:"click",id:i[l-3],url:i[l-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:i[l-1].trim(),classes:i[l].trim()};break;case 36:this.$={stmt:"style",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 37:this.$={stmt:"applyClass",id:i[l-1].trim(),styleClass:i[l].trim()};break;case 38:g.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:g.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:g.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:g.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:i[l].trim(),type:"default",description:""};break;case 46:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break;case 47:this.$={stmt:"state",id:i[l-2].trim(),classes:[i[l].trim()],type:"default",description:""};break}},"anonymous"),"anonymous"),table:[{3:1,4:e,5:s,6:n},{1:[3]},{3:5,4:e,5:s,6:n},{3:6,4:e,5:s,6:n},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:S,17:d,19:T,22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,7]),t(y,[2,8]),t(y,[2,9]),t(y,[2,10]),t(y,[2,11]),t(y,[2,12],{14:[1,40],15:[1,41]}),t(y,[2,16]),{18:[1,42]},t(y,[2,18],{20:[1,43]}),{23:[1,44]},t(y,[2,22]),t(y,[2,23]),t(y,[2,24]),t(y,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(y,[2,28]),{34:[1,49]},{36:[1,50]},t(y,[2,31]),{13:51,24:b,57:X},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(dt,[2,44],{58:[1,56]}),t(dt,[2,45],{58:[1,57]}),t(y,[2,38]),t(y,[2,39]),t(y,[2,40]),t(y,[2,41]),t(y,[2,6]),t(y,[2,13]),{13:58,24:b,57:X},t(y,[2,17]),t(Ot,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(y,[2,29]),t(y,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(y,[2,14],{14:[1,71]}),{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,72],22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),t(dt,[2,46]),t(dt,[2,47]),t(y,[2,15]),t(y,[2,19]),t(Ot,r,{7:78}),t(y,[2,26]),t(y,[2,27]),{5:[1,79]},{5:[1,80]},{4:c,5:u,8:8,9:10,10:12,11:13,12:14,13:15,16:S,17:d,19:T,21:[1,81],22:E,24:b,25:I,26:v,27:f,28:w,29:$,32:25,33:A,35:P,37:x,38:B,41:N,45:K,48:ot,51:lt,52:ct,53:ht,54:ut,57:X},t(y,[2,32]),t(y,[2,33]),t(y,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:p(m(function(o,h){if(h.recoverable)this.trace(o);else{var a=new Error(o);throw a.hash=h,a}},"parseError"),"parseError"),parse:p(m(function(o){var h=this,a=[0],g=[],_=[null],i=[],G=this.table,l="",Y=0,J=0,ft=2,st=1,Et=i.slice.call(arguments,1),D=Object.create(this.lexer),j={yy:{}};for(var _t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_t)&&(j.yy[_t]=this.yy[_t]);D.setInput(o,j.yy),j.yy.lexer=D,j.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var mt=D.yylloc;i.push(mt);var ee=D.options&&D.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Rt(O){a.length=a.length-2*O,_.length=_.length-O,i.length=i.length-O}m(Rt,"popStack"),p(Rt,"popStack");function bt(){var O;return O=g.pop()||D.lex()||st,typeof O!="number"&&(O instanceof Array&&(g=O,O=g.pop()),O=h.symbols_[O]||O),O}m(bt,"lex"),p(bt,"lex");for(var L,H,R,kt,q={},pt,V,$t,St;;){if(H=a[a.length-1],this.defaultActions[H]?R=this.defaultActions[H]:((L===null||typeof L>"u")&&(L=bt()),R=G[H]&&G[H][L]),typeof R>"u"||!R.length||!R[0]){var Dt="";St=[];for(pt in G[H])this.terminals_[pt]&&pt>ft&&St.push("'"+this.terminals_[pt]+"'");D.showPosition?Dt="Parse error on line "+(Y+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+St.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Dt="Parse error on line "+(Y+1)+": Unexpected "+(L==st?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Dt,{text:D.match,token:this.terminals_[L]||L,line:D.yylineno,loc:mt,expected:St})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+L);switch(R[0]){case 1:a.push(L),_.push(D.yytext),i.push(D.yylloc),a.push(R[1]),L=null,J=D.yyleng,l=D.yytext,Y=D.yylineno,mt=D.yylloc;break;case 2:if(V=this.productions_[R[1]][1],q.$=_[_.length-V],q._$={first_line:i[i.length-(V||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(V||1)].first_column,last_column:i[i.length-1].last_column},ee&&(q._$.range=[i[i.length-(V||1)].range[0],i[i.length-1].range[1]]),kt=this.performAction.apply(q,[l,J,Y,j.yy,R[1],_,i].concat(Et)),typeof kt<"u")return kt;V&&(a=a.slice(0,-1*V*2),_=_.slice(0,-1*V),i=i.slice(0,-1*V)),a.push(this.productions_[R[1]][0]),_.push(q.$),i.push(q._$),$t=G[a[a.length-2]][a[a.length-1]],a.push($t);break;case 3:return!0}}return!0},"parse"),"parse")},te=(function(){var M={EOF:1,parseError:p(m(function(h,a){if(this.yy.parser)this.yy.parser.parseError(h,a);else throw new Error(h)},"parseError"),"parseError"),setInput:p(function(o,h){return this.yy=h||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:p(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:p(function(o){var h=o.length,a=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===g.length?this.yylloc.first_column:0)+g[g.length-a.length].length-a[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:p(function(){return this._more=!0,this},"more"),reject:p(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:p(function(o){this.unput(this.match.slice(o))},"less"),pastInput:p(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:p(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:p(function(){var o=this.pastInput(),h=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{bo as C,t as wt,bq as M,a_ as D,by as Tt,bs as xt,b as kt,bu as N}from"./yZ5s7S5S.js";import{bs as It,ca as K,aD as t,a7 as Pt,ay as Q,W as w,bn as At,bS as F,c9 as f,aA as V,aB as x,a5 as I,bA as P,bl as A,b_ as E,bO as S}from"./B8o4lNgr.js";import{D as St}from"./G0_EiVNo.js";import{c as Wt}from"./CVjN4vxe.js";import{C as G}from"./DypB-Dwi.js";import{L as $t}from"./D8dE5NKO.js";import"./f3mINTV_.js";import"./D46WSk8U.js";import"./Cb1eroFO.js";import{bb as Dt}from"./ah7LAYm4.js";import"./CyAayV8v.js";import"./CJB0AMOQ.js";import{Hb as B,HI as Nt,HY as Ft,HN as Et,tP as Bt}from"./WOicJa2k.js";import{T as Lt}from"./BVnCu4HK.js";import{g as Ut}from"./CoSk1zgY.js";import{dk as Ht}from"./D24Lh2xV.js";import{bG as Ot,bE as jt,a$ as Mt}from"./CKXP5Dfl.js";import"./CoKvDYIY.js";import{M as Vt}from"./BB2kR3UP.js";import{V as qt}from"./uuGBA4cr.js";import{O as Gt}from"./Dj9vAmvP.js";import{c as Rt}from"./ChTqQfQN.js";import{i as Yt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function q(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function X(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function zt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||C.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||C.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:zt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function Jt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=q(n,r);if(e.type.startsWith("file:")&&c){const d=X(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:G.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>q(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=q(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:G.Unstaged,stats:X(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Kt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
1
+ import{bo as C,t as wt,bq as M,a_ as D,by as Tt,bs as xt,b as kt,bu as N}from"./yZ5s7S5S.js";import{bs as It,ca as K,aD as t,a7 as Pt,ay as Q,W as w,bn as At,bS as F,c9 as f,aA as V,aB as x,a5 as I,bA as P,bl as A,b_ as E,bO as S}from"./B8o4lNgr.js";import{D as St}from"./G0_EiVNo.js";import{c as Wt}from"./CVjN4vxe.js";import{C as G}from"./DypB-Dwi.js";import{L as $t}from"./D8dE5NKO.js";import"./Cw1gOOP4.js";import"./D46WSk8U.js";import"./Cb1eroFO.js";import{bb as Dt}from"./ah7LAYm4.js";import"./Dax20l9D.js";import"./CC4WmnL6.js";import{Hb as B,HI as Nt,HY as Ft,HN as Et,tP as Bt}from"./WOicJa2k.js";import{T as Lt}from"./BL-4c5eP.js";import{g as Ut}from"./CoSk1zgY.js";import{dk as Ht}from"./-1vWYJiy.js";import{bG as Ot,bE as jt,a$ as Mt}from"./w0VuoJIl.js";import"./6hOEL6g0.js";import{M as Vt}from"./CNGkxhSe.js";import{V as qt}from"./4byfznQh.js";import{O as Gt}from"./DuInbvT4.js";import{c as Rt}from"./ChTqQfQN.js";import{i as Yt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function q(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function X(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function zt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||C.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||C.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:zt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function Jt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=q(n,r);if(e.type.startsWith("file:")&&c){const d=X(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:G.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>q(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=q(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:G.Unstaged,stats:X(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Kt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
2
2
  `);c.length>0&&c[c.length-1]===""&&c.pop();let d=!1;for(const s of c)if(!(s.startsWith("diff --git")||s.startsWith("index ")||s.startsWith("--- ")||s.startsWith("+++ ")||s.startsWith("\"))){if(s.startsWith("@@")){d=!0;continue}d&&(s.startsWith("+")?r.push(s.slice(1)):s.startsWith("-")?n.push(s.slice(1)):s.startsWith(" ")?(n.push(s.slice(1)),r.push(s.slice(1))):s===""&&(n.push(""),r.push("")))}return{oldContent:n.join(`
3
3
  `),newContent:r.join(`
4
4
  `)}}var Qt=x("<!> <!>",1),Xt=x('<div class="flex items-center gap-1.5 px-3 py-1.5 text-xs text-subtle bg-muted/50 border-b border-border"><span> </span></div>'),Zt=x('<div class="flex flex-col h-full"><!> <div class="flex-1 min-h-0"><!></div></div>'),te=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <p class="text-xs opacity-70"> </p></div>'),ee=x('<p class="text-xs opacity-70"> </p>'),ne=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <!></div>');function ae(e,n){if(new.target)return wt({component:ae,...e});It(n,!0);const r=()=>N(lt,"$workspace",v),c=()=>N(st,"$foldUnchanged",v),d=()=>N(rt,"$lineWrapping",v),s=()=>N(ot,"$diffSideBySide",v),[v,nt]=xt(),at=a=>{qt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>B.dispatch(Et()),get wrapEnabled(){return d()},onToggleWrap:()=>B.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>B.dispatch(Nt())})},it=a=>{var i=Qt(),g=Q(i);{let m=f(()=>C.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Vt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var b=F(g,2);{var y=m=>{Gt(m,{get filePath(){return t(Y)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(H)}})};D(b,m=>{t(Y)&&m(y)})}w(a,i)},rt=Ot(),st=jt(),ot=Mt(),dt=Rt("ActivityChangesTabType");let L=M(n,"tab",7),_=M(n,"workspaceId",7),U=M(n,"isActive",7);const R=Ut(),lt=Ht(_()),H=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>L().data?.event),ct=f(()=>t(o)?Jt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),Y=f(()=>t(p)&&t(H)?Yt(t(p))?t(p):`${t(H)}/${t(p)}`:null),O=f(()=>()=>{if(!t(o))return null;const a=t(o).data,i=t(o).codeChange;return a?.diff||i?.diff||t(u)?.content?.diff||null}),z=f(()=>()=>t(u)?.content?!!(t(u).content.oldContent&&t(u).content.newContent):!1);function ft(a){if(!a)return;const i=a.match(/@@ -(\d+)/);return i?parseInt(i[1],10):void 0}const k=f(()=>{if(t(z)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(O)();return a?Kt(a):null}),W=f(()=>ft(t(O)())),pt=f(()=>t(W)!==void 0&&t(W)>1),gt=f(()=>{const a=t(p)||"",i=t(o)?.data||{};return{id:`activity-${t(o)?.id||"unknown"}-${a}`,file:a,relativePath:a,stage:G.Committed,status:t(u)?.status||"modified",stats:{additions:i?.additions||t(u)?.stats?.additions||0,deletions:i?.deletions||t(u)?.stats?.deletions||0},attribution:{timestamp:t(o)?.timestamp?new Date(t(o).timestamp).getTime():Date.now()},content:t(k)?{oldContent:t(k).oldContent,newContent:t(k).newContent}:void 0}});function ut(a){if(!t(p))return;const g={type:"file",title:t(p).split("/").pop()||t(p),closable:!0,filePath:t(p),workspaceId:_()};B.dispatch(Bt(_(),g))}K(()=>{!R||!U()||R.registerActions({display:at,actions:it})}),K(()=>{if(t(o)){const a=t(o).data;dt.debug("Activity event diff info",{eventType:t(o).type,eventId:t(o).id,filePath:t(p),hasDiffString:!!t(O)(),hasOldNewContent:t(z)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return L()},set tab(a){L(a),V()},get workspaceId(){return _()},set workspaceId(a){_(a),V()},get isActive(){return U()},set isActive(a){U(a),V()},$set:Tt,$on:(a,i)=>kt(n,a,i)},J=Pt(),mt=Q(J);{var vt=a=>{var i=Zt(),g=I(i);{var b=l=>{var h=Xt(),$=I(h),j=A($,!0);P(h),E(_t=>S(j,_t),[()=>C.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};D(g,l=>{t(pt)&&l(b)})}var y=F(g,2),m=I(y);St(m,()=>`${t(o)?.id}-${t(p)}`,l=>{{let h=f(()=>s()?"split":"unified");Lt(l,{get change(){return t(gt)},get workspaceId(){return _()},get viewMode(){return t(h)},get foldUnchanged(){return c()},get lineWrapping(){return d()},get lineOffset(){return t(W)}})}}),P(y),P(i),w(a,i)},bt=a=>{var i=te(),g=I(i),b=A(g,!0),y=F(g,2),m=A(y,!0);P(i),E((l,h)=>{S(b,l),S(m,h)},[()=>C.layout_activityChanges_noDiffStored_label(),()=>C.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},yt=a=>{var i=ne(),g=I(i),b=A(g,!0),y=F(g,2);{var m=l=>{var h=ee(),$=A(h,!0);E(j=>S($,j),[()=>C.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};D(y,l=>{t(o)&&l(m)})}P(i),E(l=>S(b,l),[()=>C.layout_activityChanges_noChanges_label()]),w(a,i)};D(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(bt,1):a(yt,-1)})}w(e,J);var Ct=At(ht);return nt(),Ct}export{ae as default};
@@ -1 +1 @@
1
- import{g as t}from"./CpW6JN4X.js";import{Hb as r}from"./WOicJa2k.js";import{bt as o}from"./CilxFmmt.js";function a(e){return!e||t().status!=="connected"?null:o.select(r.state,e)}export{a as resolveConnectedWorkspaceKeySlot};
1
+ import{g as t}from"./CpW6JN4X.js";import{Hb as r}from"./WOicJa2k.js";import{bt as o}from"./tzy2FJ3p.js";function a(e){return!e||t().status!=="connected"?null:o.select(r.state,e)}export{a as resolveConnectedWorkspaceKeySlot};
@@ -1,4 +1,4 @@
1
- import{a as o,ad as se,N as W,aE as ye,$ as me,a3 as be,ar as _e,aK as Ee,y as Y,aD as G,ac as ke,J as Se,a8 as Ne,aa as he,w as ue}from"./D1YVXYbM.js";import{g as xe}from"./2ZXwYJuA.js";import{g as _}from"./Cc7p6my_.js";var te=(function(){var e=o(function(I,s,n,r){for(n=n||{},r=I.length;r--;n[I[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],L=[6,7,8],C=[1,26],g=[1,24],A=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],j=[1,6,13,16,17,20,23],f=[1,35],T=[1,36],O=[1,6,7,11,13,16,17,20,23],U=[1,38],R={trace:o(_(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(_(function(s,n,r,a,u,t,H){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(L,[2,3]),{1:[2,2]},e(L,[2,4]),e(L,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:C,7:g,10:23,11:A},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:A},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(j,[2,14],{7:f,11:T}),e(O,[2,8]),e(O,[2,9]),e(O,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:U}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(j,[2,13],{7:f,11:T}),e(O,[2,11]),e(O,[2,12]),e(k,[2,15],{24:U}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(_(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),"parseError"),parse:o(_(function(s){var n=this,r=[0],a=[],u=[null],t=[],H=this.table,c="",z=0,ae=0,de=2,oe=1,pe=t.slice.call(arguments,1),m=Object.create(this.lexer),V={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(V.yy[q]=this.yy[q]);m.setInput(s,V.yy),V.yy.lexer=m,V.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Q=m.yylloc;t.push(Q);var fe=m.options&&m.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(N){r.length=r.length-2*N,u.length=u.length-N,t.length=t.length-N}_(ce,"popStack"),o(ce,"popStack");function Z(){var N;return N=a.pop()||m.lex()||oe,typeof N!="number"&&(N instanceof Array&&(a=N,N=a.pop()),N=n.symbols_[N]||N),N}_(Z,"lex"),o(Z,"lex");for(var S,B,v,$,F={},K,w,le,X;;){if(B=r[r.length-1],this.defaultActions[B]?v=this.defaultActions[B]:((S===null||typeof S>"u")&&(S=Z()),v=H[B]&&H[B][S]),typeof v>"u"||!v.length||!v[0]){var ee="";X=[];for(K in H[B])this.terminals_[K]&&K>de&&X.push("'"+this.terminals_[K]+"'");m.showPosition?ee="Parse error on line "+(z+1)+`:
1
+ import{a as o,ad as se,N as W,aE as ye,$ as me,a3 as be,ar as _e,aK as Ee,y as Y,aD as G,ac as ke,J as Se,a8 as Ne,aa as he,w as ue}from"./CnWtv34Y.js";import{g as xe}from"./DsHbB0Gk.js";import{g as _}from"./BQY3g8uE.js";var te=(function(){var e=o(function(I,s,n,r){for(n=n||{},r=I.length;r--;n[I[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],E=[1,16],b=[1,20],l=[1,19],L=[6,7,8],C=[1,26],g=[1,24],A=[1,25],k=[6,7,11],M=[1,31],x=[6,7,11,24],j=[1,6,13,16,17,20,23],f=[1,35],T=[1,36],O=[1,6,7,11,13,16,17,20,23],U=[1,38],R={trace:o(_(function(){},"trace"),"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(_(function(s,n,r,a,u,t,H){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(L,[2,3]),{1:[2,2]},e(L,[2,4]),e(L,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},{6:C,7:g,10:23,11:A},e(k,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:b,23:l}),e(k,[2,19]),e(k,[2,21],{15:30,24:M}),e(k,[2,22]),e(k,[2,23]),e(x,[2,25]),e(x,[2,26]),e(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:g,10:34,11:A},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:E,18:17,19:18,20:b,23:l},e(j,[2,14],{7:f,11:T}),e(O,[2,8]),e(O,[2,9]),e(O,[2,10]),e(k,[2,16],{15:37,24:M}),e(k,[2,17]),e(k,[2,18]),e(k,[2,20],{24:U}),e(x,[2,31]),{21:[1,39]},{22:[1,40]},e(j,[2,13],{7:f,11:T}),e(O,[2,11]),e(O,[2,12]),e(k,[2,15],{24:U}),e(x,[2,30]),{22:[1,41]},e(x,[2,27]),e(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(_(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),"parseError"),parse:o(_(function(s){var n=this,r=[0],a=[],u=[null],t=[],H=this.table,c="",z=0,ae=0,de=2,oe=1,pe=t.slice.call(arguments,1),m=Object.create(this.lexer),V={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(V.yy[q]=this.yy[q]);m.setInput(s,V.yy),V.yy.lexer=m,V.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Q=m.yylloc;t.push(Q);var fe=m.options&&m.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ce(N){r.length=r.length-2*N,u.length=u.length-N,t.length=t.length-N}_(ce,"popStack"),o(ce,"popStack");function Z(){var N;return N=a.pop()||m.lex()||oe,typeof N!="number"&&(N instanceof Array&&(a=N,N=a.pop()),N=n.symbols_[N]||N),N}_(Z,"lex"),o(Z,"lex");for(var S,B,v,$,F={},K,w,le,X;;){if(B=r[r.length-1],this.defaultActions[B]?v=this.defaultActions[B]:((S===null||typeof S>"u")&&(S=Z()),v=H[B]&&H[B][S]),typeof v>"u"||!v.length||!v[0]){var ee="";X=[];for(K in H[B])this.terminals_[K]&&K>de&&X.push("'"+this.terminals_[K]+"'");m.showPosition?ee="Parse error on line "+(z+1)+`:
2
2
  `+m.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[S]||S)+"'":ee="Parse error on line "+(z+1)+": Unexpected "+(S==oe?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ee,{text:m.match,token:this.terminals_[S]||S,line:m.yylineno,loc:Q,expected:X})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+B+", token: "+S);switch(v[0]){case 1:r.push(S),u.push(m.yytext),t.push(m.yylloc),r.push(v[1]),S=null,ae=m.yyleng,c=m.yytext,z=m.yylineno,Q=m.yylloc;break;case 2:if(w=this.productions_[v[1]][1],F.$=u[u.length-w],F._$={first_line:t[t.length-(w||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(w||1)].first_column,last_column:t[t.length-1].last_column},fe&&(F._$.range=[t[t.length-(w||1)].range[0],t[t.length-1].range[1]]),$=this.performAction.apply(F,[c,ae,z,V.yy,v[1],u,t].concat(pe)),typeof $<"u")return $;w&&(r=r.slice(0,-1*w*2),u=u.slice(0,-1*w),t=t.slice(0,-1*w)),r.push(this.productions_[v[1]][0]),u.push(F.$),t.push(F._$),le=H[r[r.length-2]][r[r.length-1]],r.push(le);break;case 3:return!0}}return!0},"parse"),"parse")},J=(function(){var I={EOF:1,parseError:o(_(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{k as Ea,s as oa}from"./BKBZBubB.js";import{j as ia,h as an,s as W,k as de,l as rn,I as Na,c as Da,a as On}from"./D46WSk8U.js";import{Z as Ma,cG as za,z as Fa,aR as bn,bL as Ba,u as ja}from"./CKXP5Dfl.js";import{bo as c,t as xt,bq as v,by as $t,b as At,bs as zn,a_ as L,bu as ge,bt as Ha}from"./yZ5s7S5S.js";import{bs as St,a5 as D,bl as be,bS as P,aD as e,W as u,bA as R,b_ as A,bO as U,be as Mt,b$ as wt,bn as It,c9 as i,aA as _,aB as w,ca as Ce,cd as kt,a7 as Be,ay as G,bV as V,br as la,bH as m,bo as Ua,c5 as qa,bi as Ln,bj as Wa,bf as mn,am as Kn,ax as Yn,ai as Qa,aj as Ga,c0 as Ka}from"./B8o4lNgr.js";import{s as da}from"./Cb1eroFO.js";import{f as Ya}from"./BPC4bZ2e.js";import{a as Va,H as ca,t as Gt}from"./Dfbagr79.js";import{r as Xa,o as Ja,A as Vn,L as Za}from"./D_HBTAOp.js";import{S as vn,t as En}from"./CoKvDYIY.js";import{R as Xn}from"./3cdteGtc.js";import{I as ua}from"./Bx4lXaHY.js";import"./CM5eCs6m.js";import{aB as _n,cw as er,ak as tr,az as nr,cq as ar,cr as rr,ag as sr,ai as or,ap as ir,av as lr,k as dr,F as cr,dL as ur,L as gr,ch as pr,bQ as fr}from"./D24Lh2xV.js";import{Hb as F,cf as Dn,cd as ga,cg as hn,qc as mr,BT as vr,fC as pa,BX as _r,bv as hr,yc as br,lW as Jn,sN as wr,cj as kr,tk as Zn,mQ as yr,BE as xr,BW as $r,c1 as Ar}from"./WOicJa2k.js";import{z as Sr,A as Ir,ak as Cr,af as Pr,L as Tr}from"./h-HGzFkJ.js";import{k as Rr}from"./CqbBHiiS.js";import{f as ea}from"./IFT0w_rv.js";import{h as Or,g as Lr}from"./CUA_VnXT.js";import"./CilxFmmt.js";import{ap as Er,f as Nn,a5 as Nr,bc as ta}from"./CyAayV8v.js";import"./hEq6dFYU.js";import{c as Dr,r as Mr,q as zr,p as Fr,E as Br}from"./9ZGNcJrk.js";import{n as jr,D as Hr,k as Ur,c as qr,d as Wr,b as Qr,A as Gr,p as Kr,P as Yr}from"./CJB0AMOQ.js";import{F as Vr,g as Xr,bj as Jr,f as Zr,bv as es}from"./DfARSELN.js";import{c as ze}from"./CVjN4vxe.js";import{T as ts}from"./DW4Kmsyn.js";import{ce as fa,cF as ns,cE as as,bL as rs,x as ss,F as wn,b0 as os,ar as is,aG as ls,aC as ds,cJ as cs,b9 as us,ax as gs,X as ps,aH as fs,aY as ms,ae as na,a6 as vs,b$ as _s,ad as hs,cw as bs,ak as ws,cI as ks,aA as ys}from"./ah7LAYm4.js";import{b as xs}from"./D2g8BuR1.js";import"./kcPg9Fan.js";import{f as $s}from"./DvE0BexL.js";const As=80,Ss=10,Is=new Ma(za,{renderer:{html({text:a}){return Fa(a)},image({tokens:a}){return this.parser.parseInline(a)}}});function Fn(a){const n=document.createElement("template");n.innerHTML=Is.parseInline(a,{async:!1});for(const o of n.content.querySelectorAll("br"))o.replaceWith(" ");return(n.content.textContent??"").replace(/\s+/g," ").trim()}function yt(a){return a.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`+([^`]*?)`+/g,"$1").replace(/<[^>]+>/g,"").replace(/\\([\\`*_[\]{}()#+\-.!>])/g,"$1").replace(/[*~]/g,"").replace(/(^|[^A-Za-z0-9])_+/g,"$1").replace(/_+([^A-Za-z0-9]|$)/g,"$1").replace(/\s+/g," ").trim()}function Mn(a,n){return a.slice(n).replace(/^(?:[ \t]*(?:\r\n|\n|\r))+/,"")}function kn(a,n){return!n||n.length>As||n.split(/\s+/).length>Ss||/[.!?;]$/.test(n)?!1:!/^[ \t]*(?:[-+*][ \t]+|\d+[.)][ \t]+|>|```|~~~|\|)/.test(a)}function di(a){const o=a.trim().match(/^\*\*([^\r\n]+)\*\*$/);if(!o)return null;const l=yt(o[1]);return kn(o[0],l)?l:null}function Bn(a,n=!1,o=!0){const l=a.match(/^(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",s=a.slice(l.length).match(/^\*\*([^\r\n]+)\*\*[ \t]*(?:(?:\r\n|\n|\r)|$)/);if(!s)return null;if(n){const h=s[1],y=h.match(/\\+$/)?.[0].length??0;if(h!==h.trim()||h.includes("**")||h.startsWith("*")||h.endsWith("*")||y%2!==0)return null}const g=yt(s[1]);return kn(s[0],g)?{title:n&&o?Fn(s[1]):g,body:Mn(a,l.length+s[0].length)}:null}function aa(a){const n=[];let o=a;for(;o.trim();){const l=jn(o,!0),d=l.heading?{body:l.body}:Bn(o,!0,!1);if(!d)return null;n.push(o.slice(0,o.length-d.body.length)),o=d.body}return n.length?n:null}function ci(a){const n=[];let o=a;for(;o.trim();){const l=jn(o,!0,Fn),d=l.heading?{title:l.heading,body:l.body}:Bn(o,!0);if(!d)return null;n.push(d.title),o=d.body}return n.length?n:null}function ui(a){const n=Ps(a),o=[];let l=a;for(n.heading&&(o.push({title:n.heading,body:""}),l=n.body);l;){const d=Bn(l);if(!d||d.body.length>=l.length)break;o.push({title:d.title,body:""}),l=d.body}if(o.length===0){const d=a.trim(),s=yt(d);return!d.includes(`
1
+ import{k as Ea,s as oa}from"./CZE4HQ01.js";import{j as ia,h as an,s as W,k as de,l as rn,I as Na,c as Da,a as On}from"./D46WSk8U.js";import{Z as Ma,cG as za,z as Fa,aR as bn,bL as Ba,u as ja}from"./w0VuoJIl.js";import{bo as c,t as xt,bq as v,by as $t,b as At,bs as zn,a_ as L,bu as ge,bt as Ha}from"./yZ5s7S5S.js";import{bs as St,a5 as D,bl as be,bS as P,aD as e,W as u,bA as R,b_ as A,bO as U,be as Mt,b$ as wt,bn as It,c9 as i,aA as _,aB as w,ca as Ce,cd as kt,a7 as Be,ay as G,bV as V,br as la,bH as m,bo as Ua,c5 as qa,bi as Ln,bj as Wa,bf as mn,am as Kn,ax as Yn,ai as Qa,aj as Ga,c0 as Ka}from"./B8o4lNgr.js";import{s as da}from"./Cb1eroFO.js";import{f as Ya}from"./DkibMP99.js";import{a as Va,H as ca,t as Gt}from"./Dfbagr79.js";import{r as Xa,o as Ja,A as Vn,L as Za}from"./9k5bnL8-.js";import{S as vn,t as En}from"./6hOEL6g0.js";import{R as Xn}from"./BeRTGLrw.js";import{I as ua}from"./BYxkGGC-.js";import"./CM5eCs6m.js";import{aB as _n,cw as er,ak as tr,az as nr,cq as ar,cr as rr,ag as sr,ai as or,ap as ir,av as lr,k as dr,F as cr,dL as ur,L as gr,ch as pr,bQ as fr}from"./-1vWYJiy.js";import{Hb as F,cf as Dn,cd as ga,cg as hn,qc as mr,BT as vr,fC as pa,BX as _r,bv as hr,yc as br,lW as Jn,sN as wr,cj as kr,tk as Zn,mQ as yr,BE as xr,BW as $r,c1 as Ar}from"./WOicJa2k.js";import{z as Sr,A as Ir,ak as Cr,af as Pr,L as Tr}from"./tkZmaR4M.js";import{k as Rr}from"./D1IlJCd0.js";import{f as ea}from"./CXqGB8i2.js";import{h as Or,g as Lr}from"./CUA_VnXT.js";import"./tzy2FJ3p.js";import{ap as Er,f as Nn,a5 as Nr,bc as ta}from"./Dax20l9D.js";import"./hEq6dFYU.js";import{c as Dr,r as Mr,q as zr,p as Fr,E as Br}from"./BvUM18CV.js";import{n as jr,D as Hr,k as Ur,c as qr,d as Wr,b as Qr,A as Gr,p as Kr,P as Yr}from"./CC4WmnL6.js";import{F as Vr,g as Xr,bj as Jr,f as Zr,bv as es}from"./ClOUpVZZ.js";import{c as ze}from"./CVjN4vxe.js";import{T as ts}from"./BU8fu6L_.js";import{ce as fa,cF as ns,cE as as,bL as rs,x as ss,F as wn,b0 as os,ar as is,aG as ls,aC as ds,cJ as cs,b9 as us,ax as gs,X as ps,aH as fs,aY as ms,ae as na,a6 as vs,b$ as _s,ad as hs,cw as bs,ak as ws,cI as ks,aA as ys}from"./ah7LAYm4.js";import{b as xs}from"./D2g8BuR1.js";import"./kcPg9Fan.js";import{f as $s}from"./DvE0BexL.js";const As=80,Ss=10,Is=new Ma(za,{renderer:{html({text:a}){return Fa(a)},image({tokens:a}){return this.parser.parseInline(a)}}});function Fn(a){const n=document.createElement("template");n.innerHTML=Is.parseInline(a,{async:!1});for(const o of n.content.querySelectorAll("br"))o.replaceWith(" ");return(n.content.textContent??"").replace(/\s+/g," ").trim()}function yt(a){return a.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`+([^`]*?)`+/g,"$1").replace(/<[^>]+>/g,"").replace(/\\([\\`*_[\]{}()#+\-.!>])/g,"$1").replace(/[*~]/g,"").replace(/(^|[^A-Za-z0-9])_+/g,"$1").replace(/_+([^A-Za-z0-9]|$)/g,"$1").replace(/\s+/g," ").trim()}function Mn(a,n){return a.slice(n).replace(/^(?:[ \t]*(?:\r\n|\n|\r))+/,"")}function kn(a,n){return!n||n.length>As||n.split(/\s+/).length>Ss||/[.!?;]$/.test(n)?!1:!/^[ \t]*(?:[-+*][ \t]+|\d+[.)][ \t]+|>|```|~~~|\|)/.test(a)}function di(a){const o=a.trim().match(/^\*\*([^\r\n]+)\*\*$/);if(!o)return null;const l=yt(o[1]);return kn(o[0],l)?l:null}function Bn(a,n=!1,o=!0){const l=a.match(/^(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",s=a.slice(l.length).match(/^\*\*([^\r\n]+)\*\*[ \t]*(?:(?:\r\n|\n|\r)|$)/);if(!s)return null;if(n){const h=s[1],y=h.match(/\\+$/)?.[0].length??0;if(h!==h.trim()||h.includes("**")||h.startsWith("*")||h.endsWith("*")||y%2!==0)return null}const g=yt(s[1]);return kn(s[0],g)?{title:n&&o?Fn(s[1]):g,body:Mn(a,l.length+s[0].length)}:null}function aa(a){const n=[];let o=a;for(;o.trim();){const l=jn(o,!0),d=l.heading?{body:l.body}:Bn(o,!0,!1);if(!d)return null;n.push(o.slice(0,o.length-d.body.length)),o=d.body}return n.length?n:null}function ci(a){const n=[];let o=a;for(;o.trim();){const l=jn(o,!0,Fn),d=l.heading?{title:l.heading,body:l.body}:Bn(o,!0);if(!d)return null;n.push(d.title),o=d.body}return n.length?n:null}function ui(a){const n=Ps(a),o=[];let l=a;for(n.heading&&(o.push({title:n.heading,body:""}),l=n.body);l;){const d=Bn(l);if(!d||d.body.length>=l.length)break;o.push({title:d.title,body:""}),l=d.body}if(o.length===0){const d=a.trim(),s=yt(d);return!d.includes(`
2
2
  `)&&kn(d,s)?[{title:s,body:""}]:d?[{title:null,body:d}]:[]}return o[o.length-1].body=l.trim(),o}function Cs(a){const n=a.replace(/^ {0,3}/,"");return!/^(?:\s|>|`{3}|~{3}|(?:[-+*]|\d+[.)])(?:[ \t]|$)|#{1,6}(?:[ \t]|$)|<|\[[^\]]*\]:)/.test(n)&&!/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})$/.test(n)}function jn(a,n=!1,o=yt){const l=a.match(/^(?:\uFEFF)?(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",d=a.slice(l.length);if(n&&/^(?: {4}| {0,3}\t)/.test(d))return{heading:null,body:a};const s=d.match(/^[ \t]{0,3}#{1,6}[ \t]+([^\r\n]*?)(?:[ \t]+#+)?[ \t]*(?:\r\n|\n|\r|$)/);if(s&&yt(s[1]))return{heading:o(s[1]),body:Mn(a,l.length+s[0].length)};const g=d.match(/^([^\r\n]+)(?:\r\n|\n|\r)([ \t]{0,3})(?:=+|-+)[ \t]*(?:\r\n|\n|\r|$)/);return g&&(!n||Cs(g[1])&&!g[2].includes(" "))&&yt(g[1])?{heading:o(g[1]),body:Mn(a,l.length+g[0].length)}:{heading:null,body:a}}function Ps(a,{preserveInlineText:n=!1}={}){const o=n?Fn:yt,l=jn(a,!1,o);if(l.heading)return l;const d=a.match(/^(?:\uFEFF)?(?:[ \t]*(?:\r\n|\n|\r))*/)?.[0]??"",g=a.slice(d.length).match(/^([^\r\n]+)(?:\r\n|\n|\r)(?:[ \t]*(?:\r\n|\n|\r))+/);if(g){const h=yt(g[1]),y=a.slice(d.length+g[0].length);if(y.trim()&&kn(g[1],h))return{heading:o(g[1]),body:y}}return{heading:null,body:a}}const zt="[--operational-row-inline-padding:var(--chat-operational-row-inline-padding,0.5rem)] [--operational-leading-slot-size:1.25rem] [--operational-leading-half-slot-size:0.625rem] [--operational-leading-gap:var(--chat-operational-leading-gap,0.5rem)]",gi="type-body font-family-child font-normal text-muted-foreground",pi=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))]`,fi=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))] pt-1.5`,mi=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))] pt-1`,vi=`${zt} relative min-w-0 max-w-full`,_i=`${zt} min-w-0 max-w-full pl-[calc(var(--operational-row-inline-padding)+var(--operational-leading-slot-size)+var(--operational-leading-gap))]`,hi=`${zt} operational-group-child-row ml-2 min-w-0 w-[calc(100%-0.5rem)] max-w-[calc(100%-0.5rem)]`,bi="pt-6",wi="text-muted-foreground",ki="text-muted-foreground",ma="font-normal text-muted-foreground",yi="tool-call-container group relative block w-full min-w-0 max-w-full overflow-hidden type-body font-family-child font-normal text-muted-foreground",xi="h-[16px]! w-[16px]! shrink-0",$i=`${zt} relative grid h-7 w-full min-w-0 max-w-full grid-cols-[var(--operational-leading-slot-size)_minmax(0,1fr)_auto] items-center gap-[var(--operational-leading-gap)] overflow-hidden rounded-md px-[var(--operational-row-inline-padding)] type-body transition-colors duration-[var(--motion-fast)] motion-reduce:transition-none`,Ai=`a11y-ignore pointer-events-none flex size-[var(--operational-leading-slot-size)] min-w-[var(--operational-leading-slot-size)] shrink-0 items-center justify-center [&_svg]:size-[16px]! ${ma}`,Si=`type-body block min-w-0 max-w-full truncate overflow-hidden text-ellipsis whitespace-nowrap border-0 bg-transparent p-0 text-left ${ma}`,Ii="type-body flex min-w-0 shrink-0 items-center gap-1 whitespace-nowrap",Ci="h-[16px]! w-[16px]! shrink-0 opacity-60 transition-transform duration-[var(--motion-fast)] motion-reduce:transition-none";function Pi(a){return Ea(a,{axis:"y",duration:ia()?0:150})}function sn(a){return a.type==="thinking"||a.type==="tool_use"||a.type==="content_group"}function Ti(a){const n=a?.[0];return!n||sn(n)?"":"pt-4"}function Ri(a,n,o=()=>!0){const l=a[n];if(!l||!o(l)||!sn(l))return!1;let d=n-1;for(;d>=0&&!o(a[d]);)d-=1;return d>=0&&sn(a[d])}function Oi(a,n,o=()=>!0,l=!1){const d=a[n];if(!d||!o(d))return"";let s=n-1;for(;s>=0&&!o(a[s]);)s-=1;if(s<0)return"";const g=a[s];if(g.type==="thinking"&&d.type==="thinking")return l||aa(g.text??g.content??"")!==null&&aa(d.text??d.content??"")!==null?"":"pt-14";const h=sn(g),y=sn(d);return h&&y?"":g.type==="thinking"&&!y?"pt-6":h||y?"pt-4":"pt-1"}const Li="shrink-0 whitespace-nowrap text-ui text-subtle focus-visible:outline-none focus-visible:text-foreground";function Ts(a){if(a?.status==="halted")return c.agent_node_halted_label();if(a?.status==="resuming")return c.agent_node_resuming_label();if(a?.placement?.target==="remote"||a?.placement?.target==="e2b"){if(a.placementError)return c.remoteAgent_status_failed();if(a.cloudStart)return c.remoteAgent_status_starting();if(a.effectiveIsolation==="pending")return a.setup?.state==="pending"?c.remoteAgent_status_preparingCheckout():a.setup?.state==="running"?c.remoteAgent_status_runningSetup():c.remoteAgent_status_starting()}if(a?.placement&&a.effectiveIsolation==="pending")return c.agent_node_provisioning_label()}const ra=Vr.map(a=>({key:a.path.replace(/^agentFeatures\./,""),label:a.label,description:a.description}));function Rs(a){const n=a.replace(/([a-z0-9])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").toLowerCase().trim();return n.charAt(0).toUpperCase()+n.slice(1)}function Os(a){const n=a??{},o=ra.map(s=>({key:s.key,label:s.label(),description:s.description(),enabled:n[s.key]===!0,known:!0})),l=new Set(ra.map(s=>s.key)),d=[];for(const[s,g]of Object.entries(n))l.has(s)||d.push({key:s,label:Rs(s),description:null,enabled:g===!0,known:!1});return d.sort((s,g)=>s.label.localeCompare(g.label)),o.concat(d)}var Ls=w('<div role="listitem" class="text-xs text-subtle" aria-hidden="true">—</div>'),Es=w('<section class="min-w-0"><h3 class="text-sm font-medium mb-3"> </h3> <div role="list" class="space-y-4"></div></section>'),Ns=w('<div class="@container"><div class="grid grid-cols-1 gap-6 @min-[28rem]:grid-cols-2" data-testid="harness-features-list"></div></div>');function va(a,n){if(new.target)return xt({component:va,...a});St(n,!0);let o=v(n,"open",15,!1),l=v(n,"static",7,!1),d=v(n,"version",7),s=v(n,"features",7,null);const g=i(()=>Os(s())),h=i(()=>[{enabled:!0,label:c.chat_shared_valueOn_label(),rows:e(g).filter(x=>x.enabled)},{enabled:!1,label:c.chat_shared_valueOff_label(),rows:e(g).filter(x=>!x.enabled)}]);var y={get open(){return o()},set open(x=!1){o(x),_()},get static(){return l()},set static(x=!1){l(x),_()},get version(){return d()},set version(x){d(x),_()},get features(){return s()},set features(x=null){s(x),_()},$set:$t,$on:(x,E)=>At(n,x,E)};{let x=i(()=>c.chat_harnessFeaturesModal_title({version:d()})),E=i(()=>c.chat_harnessFeaturesModal_description());Dr(a,{get static(){return l()},get title(){return e(x)},get description(){return e(E)},size:"wide",get open(){return o()},set open(f){o(f)},children:(f,M)=>{var S=Ns(),pe=D(S);an(pe,21,()=>e(h),Pe=>Pe.enabled,(Pe,O)=>{var K=Es(),p=D(K),Te=be(p,!0),te=P(p,2);an(te,21,()=>e(O).rows,$=>$.key,($,J)=>{jr($,{role:"listitem",class:"min-h-0 px-0 py-0 [&_.truncate]:whitespace-normal","data-testid":"harness-feature-state",get"data-feature"(){return e(J).key},get"data-enabled"(){return e(J).enabled},title:ve=>{Mt();var ae=wt();A(()=>U(ae,e(J).label)),u(ve,ae)},description:ve=>{Mt();var ae=wt();A(()=>U(ae,e(J).description)),u(ve,ae)},$$slots:{title:!0,description:!0}})},$=>{var J=Ls();u($,J)}),R(te),R(K),A(()=>{W(K,"aria-label",e(O).label),U(Te,e(O).label)}),u(Pe,K)}),R(pe),R(S),u(f,S)},$$slots:{default:!0}})}return It(y)}var Ds=w('<p role="alert" class="type-body text-danger"> </p>');function _a(a,n){if(new.target)return xt({component:_a,...a});St(n,!0);const o=()=>ge(f,"$outcome$",l),[l,d]=zn();let s=v(n,"open",15,!1),g=v(n,"agentName",7),h=v(n,"workspaceId",7),y=v(n,"agentId",7);const x=crypto.randomUUID(),E=kt(""),f=bn(E,x),M=i(()=>o()?.workspaceId===h()&&o().agentId===y()?o():void 0),S=i(()=>e(M)?.status==="pending"),pe=i(()=>e(M)?.status==="failed"?e(M).error:"");Ce(()=>{const p=h();return y(),E.set(p),()=>F.dispatch(Dn(p,x))}),Ce(()=>{e(M)?.status==="succeeded"&&(s(!1),F.dispatch(ga(h(),x,e(M).requestId)))});function Pe(){const p=bn.select(F.state,h(),x);p?.agentId===y()&&p.status==="pending"||F.dispatch(hn(h(),x,crypto.randomUUID(),y(),{kind:"retire"}))}var O={get open(){return s()},set open(p=!1){s(p),_()},get agentName(){return g()},set agentName(p){g(p),_()},get workspaceId(){return h()},set workspaceId(p){h(p),_()},get agentId(){return y()},set agentId(p){y(p),_()},$set:$t,$on:(p,Te)=>At(n,p,Te)};{const p=ne=>{var we=Be(),ve=G(we);{var ae=ke=>{var qe=Ds(),We=be(qe,!0);A(()=>U(We,e(pe))),u(ke,qe)};L(ve,ke=>{e(pe)&&ke(ae)})}u(ne,we)};let Te=i(()=>c.modals_retireAgent_title()),te=i(()=>c.modals_retireAgent_description({name:g()})),$=i(()=>c.modals_retireAgent_confirm_label()),J=i(()=>c.modals_bulkActionConfirm_cancel_label());Hr(a,{get title(){return e(Te)},get description(){return e(te)},get confirmLabel(){return e($)},get cancelLabel(){return e(J)},focusSubmit:!1,focusCancel:!0,get busy(){return e(S)},onConfirm:Pe,get open(){return s()},set open(ne){s(ne)},details:p,$$slots:{details:!0}})}var K=It(O);return d(),K}function Ms({agentName:a,specialist:n}){const o=n?`{ topLevel: true, specialist: ${JSON.stringify(n)} }`:"{ topLevel: true }",l=n?`and keep the same specialist (${JSON.stringify(n)})`:"and, if you were created with a specialist, pass that exact same `specialist` value in the options";return`Please replace yourself with a fresh top-level agent and run a gradual, coordinated hand-off:
3
3
 
4
4
  1. Create your replacement now: call \`ws.agent.create(${JSON.stringify(a)}, kickoffMessage, ${o})\`. The first argument must be your EXACT current name (${JSON.stringify(a)}) ${l}. Write the kickoff message as a thorough context hand-off: the overall goal, the current state of the work, key notes and files, decisions already made, and open threads.