@intent-hq/web 2.327.0 → 2.327.2

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 (277) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/0.BHoek2bX.css +1 -0
  3. package/web/app/immutable/assets/BrowserTabType.DojB6H-_.css +1 -0
  4. package/web/app/immutable/chunks/{Bx77RH2D.js → -ntpqjUQ.js} +1 -1
  5. package/web/app/immutable/chunks/{BNaHRmzO.js → 1JDc8gDP.js} +1 -1
  6. package/web/app/immutable/chunks/{BG0wXYTP.js → 2BNczbc1.js} +1 -1
  7. package/web/app/immutable/chunks/{D12HgGYA.js → 2Yr7qZy-.js} +1 -1
  8. package/web/app/immutable/chunks/{DNHsSCes.js → 2bCqOBlF.js} +2 -2
  9. package/web/app/immutable/chunks/{LsGMNfQF.js → 6eTaxSHq.js} +1 -1
  10. package/web/app/immutable/chunks/{NOdC8P9f.js → 7nLxl2IJ.js} +1 -1
  11. package/web/app/immutable/chunks/{0LhXCP94.js → 7rjdCDDK.js} +1 -1
  12. package/web/app/immutable/chunks/{CT-tNtwL.js → 95PmebfY.js} +1 -1
  13. package/web/app/immutable/chunks/{XNWMykPO.js → 9iFKJfkz.js} +1 -1
  14. package/web/app/immutable/chunks/{CWc2npkj.js → 9taqgPH1.js} +1 -1
  15. package/web/app/immutable/chunks/{Br4R2ugZ.js → Am8TuXrW.js} +1 -1
  16. package/web/app/immutable/chunks/{KeVqoPE3.js → AuTI2CWB.js} +1 -1
  17. package/web/app/immutable/chunks/{DBZtPAw6.js → Aw3-65IC.js} +1 -1
  18. package/web/app/immutable/chunks/{DMqElfxm.js → B-B22ZmQ.js} +1 -1
  19. package/web/app/immutable/chunks/{D9xO6S0s.js → B-LxAE4l.js} +1 -1
  20. package/web/app/immutable/chunks/{2NEwynpS.js → B-mVY4KG.js} +1 -1
  21. package/web/app/immutable/chunks/{O_PsNJaQ.js → B1nmZwVF.js} +1 -1
  22. package/web/app/immutable/chunks/{DJwbeAP3.js → B4Qf0RS5.js} +1 -1
  23. package/web/app/immutable/chunks/{QbsT67gn.js → B4Rscrf6.js} +1 -1
  24. package/web/app/immutable/chunks/{Bh1wyaG7.js → B5kBEM9z.js} +1 -1
  25. package/web/app/immutable/chunks/{DStHpf1P.js → B6ZEHAgn.js} +1 -1
  26. package/web/app/immutable/chunks/{T-K_7EnC.js → BBYPPwon.js} +1 -1
  27. package/web/app/immutable/chunks/{BMeZr_ZY.js → BCBkAQhq.js} +1 -1
  28. package/web/app/immutable/chunks/{jkLGgu1-.js → BDUVRWqe.js} +3 -3
  29. package/web/app/immutable/chunks/{Cufju0io.js → BFQmpH-Y.js} +1 -1
  30. package/web/app/immutable/chunks/{Bz8cPQaz.js → BGUHg5o_.js} +1 -1
  31. package/web/app/immutable/chunks/{DLGpFr8e.js → BIfN-lxi.js} +1 -1
  32. package/web/app/immutable/chunks/{dSxiKw5u.js → BJFbczXI.js} +1 -1
  33. package/web/app/immutable/chunks/{CpBlZvWi.js → BJpbRkma.js} +1 -1
  34. package/web/app/immutable/chunks/{BjM8_HSR.js → BK3YE2GB.js} +1 -1
  35. package/web/app/immutable/chunks/{BfF3Bko_.js → BMmC4e8Y.js} +1 -1
  36. package/web/app/immutable/chunks/{BuxJaWiM.js → BOY33UBS.js} +4 -4
  37. package/web/app/immutable/chunks/{aYTkKC29.js → BOod2-vo.js} +1 -1
  38. package/web/app/immutable/chunks/{OJckcu3J.js → BQKilZql.js} +1 -1
  39. package/web/app/immutable/chunks/{BsxzjRia.js → BTxVcBTE.js} +1 -1
  40. package/web/app/immutable/chunks/{B1ohiv8G.js → BUU84hQY.js} +1 -1
  41. package/web/app/immutable/chunks/{CRTNdBBv.js → BUcg736f.js} +1 -1
  42. package/web/app/immutable/chunks/{CFBUnCgB.js → BV4AHhCq.js} +1 -1
  43. package/web/app/immutable/chunks/{Cq8Jt7n-.js → BXo80d0I.js} +1 -1
  44. package/web/app/immutable/chunks/BYCQnKWG.js +227 -0
  45. package/web/app/immutable/chunks/{Ovgvmxzk.js → B_oexMWu.js} +1 -1
  46. package/web/app/immutable/chunks/{CQFSvKTc.js → BaUvfuFA.js} +1 -1
  47. package/web/app/immutable/chunks/BbEZgkca.js +2 -0
  48. package/web/app/immutable/chunks/{CW3DpzM0.js → BbiJIN_E.js} +1 -1
  49. package/web/app/immutable/chunks/{B3sypLPs.js → BclymnXe.js} +1 -1
  50. package/web/app/immutable/chunks/Bdee7uP3.js +1 -0
  51. package/web/app/immutable/chunks/{AyNqjFrC.js → BedviAdk.js} +1 -1
  52. package/web/app/immutable/chunks/{Cg9SqQ7c.js → BerYBtY0.js} +1 -1
  53. package/web/app/immutable/chunks/{wWvgnlMJ.js → BgiA9PsC.js} +2 -2
  54. package/web/app/immutable/chunks/{DAJaDZx7.js → Bhff3giG.js} +1 -1
  55. package/web/app/immutable/chunks/{BShEFC79.js → BiYl2nZq.js} +3 -3
  56. package/web/app/immutable/chunks/{DnFiaMvl.js → Bil-5-Mv.js} +1 -1
  57. package/web/app/immutable/chunks/{DzVbP61K.js → BirvpWBa.js} +1 -1
  58. package/web/app/immutable/chunks/{B_KuwYoa.js → BlmamAqo.js} +1 -1
  59. package/web/app/immutable/chunks/{giU_rdFX.js → BmnlV2jU.js} +1 -1
  60. package/web/app/immutable/chunks/{COnSiP7q.js → Bn-dz7cW.js} +1 -1
  61. package/web/app/immutable/chunks/{BzaZqOK5.js → BnxF3EEm.js} +1 -1
  62. package/web/app/immutable/chunks/{CHajdz2j.js → Bq9BF2kT.js} +1 -1
  63. package/web/app/immutable/chunks/{Bqp-VB-g.js → BrXRAcqE.js} +1 -1
  64. package/web/app/immutable/chunks/{CNJgwoNk.js → BsesepNZ.js} +1 -1
  65. package/web/app/immutable/chunks/{Dq6j0-2d.js → BvDDdxJ_.js} +1 -1
  66. package/web/app/immutable/chunks/{BxbB0_fE.js → BvULLTwA.js} +2 -2
  67. package/web/app/immutable/chunks/{_ANEY4lF.js → Bw8BPAST.js} +1 -1
  68. package/web/app/immutable/chunks/{BOAArWys.js → BwVx_Xm9.js} +1 -1
  69. package/web/app/immutable/chunks/{D7CVY9y_.js → BwY7DKzU.js} +1 -1
  70. package/web/app/immutable/chunks/{CloK0EEY.js → BxRFeUGV.js} +1 -1
  71. package/web/app/immutable/chunks/{1vv2LgJU.js → Byv1V5rF.js} +1 -1
  72. package/web/app/immutable/chunks/{B2pW1Srg.js → C-am1GTe.js} +1 -1
  73. package/web/app/immutable/chunks/{CJfy0DGd.js → C0AexULD.js} +1 -1
  74. package/web/app/immutable/chunks/{Cz0WCDEU.js → C1TwLTiC.js} +1 -1
  75. package/web/app/immutable/chunks/{-y8aRUXK.js → C1vc2ZF2.js} +1 -1
  76. package/web/app/immutable/chunks/{Bpv_7NSe.js → C2vxCrLD.js} +1 -1
  77. package/web/app/immutable/chunks/{CGyfJ3wZ.js → C3g8Ux-E.js} +15 -15
  78. package/web/app/immutable/chunks/{Btvd3YqX.js → C4ih-xND.js} +2 -2
  79. package/web/app/immutable/chunks/{DttEjUfQ.js → C5SMJxa0.js} +2 -2
  80. package/web/app/immutable/chunks/{CtrcoLr_.js → C5bHHEee.js} +1 -1
  81. package/web/app/immutable/chunks/{TthnIsvT.js → C5mH9Vrl.js} +1 -1
  82. package/web/app/immutable/chunks/{DffOpxnk.js → C6-cGH2l.js} +1 -1
  83. package/web/app/immutable/chunks/{XEwS43QE.js → C6LN2Lq-.js} +1 -1
  84. package/web/app/immutable/chunks/{BIDHVOHc.js → C7eFRIGF.js} +1 -1
  85. package/web/app/immutable/chunks/{D-RJNO4X.js → C9-oKvmU.js} +1 -1
  86. package/web/app/immutable/chunks/{ncAOXs0r.js → CAL5qbag.js} +1 -1
  87. package/web/app/immutable/chunks/{CQs3nGye.js → CB-J-0bJ.js} +1 -1
  88. package/web/app/immutable/chunks/{MFRf7XsP.js → CBEZBV7x.js} +1 -1
  89. package/web/app/immutable/chunks/{L34ozHWW.js → CDFRtA1F.js} +1 -1
  90. package/web/app/immutable/chunks/{0FIzxpig.js → CFXA-WTd.js} +1 -1
  91. package/web/app/immutable/chunks/{CVrziC3b.js → CHb5dSdm.js} +1 -1
  92. package/web/app/immutable/chunks/{DywqqPBY.js → CIno4eJd.js} +1 -1
  93. package/web/app/immutable/chunks/{DoUTd6YZ.js → CJvik4ry.js} +1 -1
  94. package/web/app/immutable/chunks/{DQtJDu2z.js → CKjldRop.js} +1 -1
  95. package/web/app/immutable/chunks/{CZ3gqcH0.js → CLDLGPLG.js} +1 -1
  96. package/web/app/immutable/chunks/{BfxuxK8H.js → CLbcqiJX.js} +1 -1
  97. package/web/app/immutable/chunks/{wtQc1nfb.js → CNZwPZBB.js} +1 -1
  98. package/web/app/immutable/chunks/CNdlzZOD.js +1 -0
  99. package/web/app/immutable/chunks/{B1HL5ujX.js → COPJQClu.js} +1 -1
  100. package/web/app/immutable/chunks/{CJNRFxp-.js → COyObFie.js} +1 -1
  101. package/web/app/immutable/chunks/{h64QYX68.js → CPzusSaQ.js} +1 -1
  102. package/web/app/immutable/chunks/{Djac9356.js → CSk0KPBP.js} +1 -1
  103. package/web/app/immutable/chunks/CTMsT2IU.js +13 -0
  104. package/web/app/immutable/chunks/{CAGE-6rK.js → CTc1mqQ1.js} +1 -1
  105. package/web/app/immutable/chunks/{Bv_Vppnv.js → CW87SeGI.js} +1 -1
  106. package/web/app/immutable/chunks/{DG_DKtEi.js → CW9PUdij.js} +1 -1
  107. package/web/app/immutable/chunks/{CR_DZSId.js → CWXjKpBJ.js} +1 -1
  108. package/web/app/immutable/chunks/{D_3K3qbV.js → CXCbFJ1d.js} +1 -1
  109. package/web/app/immutable/chunks/{Bw_y1gSr.js → CYgFtonv.js} +1 -1
  110. package/web/app/immutable/chunks/{C7QVfuKS.js → C_4hXDel.js} +1 -1
  111. package/web/app/immutable/chunks/{shMIdOXY.js → Ca3Yads8.js} +4 -4
  112. package/web/app/immutable/chunks/{CIas9vXT.js → CaaDYQm4.js} +6 -6
  113. package/web/app/immutable/chunks/{D4V2xQ2J.js → CcSZNfbk.js} +1 -1
  114. package/web/app/immutable/chunks/{Dv5eIHFX.js → CdhZKdub.js} +1 -1
  115. package/web/app/immutable/chunks/{C46AGI2o.js → CdlZ8r5v.js} +1 -1
  116. package/web/app/immutable/chunks/{CLKUBIbV.js → CeL4K7HS.js} +1 -1
  117. package/web/app/immutable/chunks/{BHt8Cv_F.js → ChyK3c5O.js} +1 -1
  118. package/web/app/immutable/chunks/{C_GLszen.js → Ciht8P3-.js} +1 -1
  119. package/web/app/immutable/chunks/{7DG8yVyI.js → ClBnJ15C.js} +1 -1
  120. package/web/app/immutable/chunks/{CECd-ew5.js → ClHpwdNk.js} +1 -1
  121. package/web/app/immutable/chunks/{BhpvRaEf.js → Co3V5w5D.js} +1 -1
  122. package/web/app/immutable/chunks/{DyVs3tqq.js → ColHxoku.js} +4 -4
  123. package/web/app/immutable/chunks/{CrgKSEA9.js → CpOX1cm0.js} +4 -4
  124. package/web/app/immutable/chunks/{cEpdukj-.js → CpPVAOg5.js} +1 -1
  125. package/web/app/immutable/chunks/{SFeFj2Mb.js → CqnfptVg.js} +1 -1
  126. package/web/app/immutable/chunks/{OcoLTaau.js → CrN8CpnY.js} +1 -1
  127. package/web/app/immutable/chunks/{B90oo4Fg.js → CtRuzEKN.js} +1 -1
  128. package/web/app/immutable/chunks/{BbM6p2an.js → CuF24etW.js} +1 -1
  129. package/web/app/immutable/chunks/{CEB0BOhp.js → CuimWTUN.js} +1 -1
  130. package/web/app/immutable/chunks/{x_2obwKo.js → CvG8wNT6.js} +1 -1
  131. package/web/app/immutable/chunks/{C_P93GWd.js → Cw26kBCe.js} +1 -1
  132. package/web/app/immutable/chunks/{CV8S2_aN.js → Cwdoe-yo.js} +1 -1
  133. package/web/app/immutable/chunks/{CfViy2AB.js → Cy1SRgRj.js} +1 -1
  134. package/web/app/immutable/chunks/{BBuOsJY_.js → CypQ6Hrf.js} +1 -1
  135. package/web/app/immutable/chunks/{BEDYQfP7.js → CzSCQAr8.js} +1 -1
  136. package/web/app/immutable/chunks/{Bz7DX0NE.js → CzxoHP9X.js} +1 -1
  137. package/web/app/immutable/chunks/{CAhkQWjW.js → D-YrUZis.js} +1 -1
  138. package/web/app/immutable/chunks/{Bgx4jaT-.js → D0OfnhNR.js} +3 -3
  139. package/web/app/immutable/chunks/{BGS5RHiS.js → D19QPbvx.js} +3 -3
  140. package/web/app/immutable/chunks/{DRs_Vsjz.js → D1ynivqZ.js} +1 -1
  141. package/web/app/immutable/chunks/{exWdi0_e.js → D3NOBSUZ.js} +3 -3
  142. package/web/app/immutable/chunks/{DvIxHqlz.js → D4fSLYwV.js} +1 -1
  143. package/web/app/immutable/chunks/{CI_vWjAX.js → D4wUHJ-V.js} +1 -1
  144. package/web/app/immutable/chunks/{Cz7lWcpW.js → D4wVqBkS.js} +1 -1
  145. package/web/app/immutable/chunks/{ChbqD4nY.js → D6NxvjAo.js} +2 -2
  146. package/web/app/immutable/chunks/{B7UZ3osx.js → D6R6bmhK.js} +1 -1
  147. package/web/app/immutable/chunks/{1eeMnGBt.js → D7NWkz7l.js} +1 -1
  148. package/web/app/immutable/chunks/{DVTqQKPY.js → D7jA8MQK.js} +1 -1
  149. package/web/app/immutable/chunks/{BIJpUOPV.js → D8iLOeUT.js} +1 -1
  150. package/web/app/immutable/chunks/{5cZ8f6NM.js → D9E32u14.js} +1 -1
  151. package/web/app/immutable/chunks/{CchLUU-A.js → DAXKoZjm.js} +1 -1
  152. package/web/app/immutable/chunks/{DG0gPQWA.js → DCo2M5nt.js} +1 -1
  153. package/web/app/immutable/chunks/{DhMntDzP.js → DF5OSHTI.js} +1 -1
  154. package/web/app/immutable/chunks/{dHhYWIBz.js → DFghII67.js} +1 -1
  155. package/web/app/immutable/chunks/{B3FUftaT.js → DFxg8FPE.js} +1 -1
  156. package/web/app/immutable/chunks/{BwA79r4u.js → DGuIJztL.js} +1 -1
  157. package/web/app/immutable/chunks/{g2wqtBd2.js → DIh4SQwA.js} +1 -1
  158. package/web/app/immutable/chunks/{B_68BQEQ.js → DKz0oh_l.js} +1 -1
  159. package/web/app/immutable/chunks/DLrZLCmS.js +1 -0
  160. package/web/app/immutable/chunks/{COzH17cB.js → DQfuBwT8.js} +1 -1
  161. package/web/app/immutable/chunks/{D3HFKabi.js → DSwaqM2D.js} +1 -1
  162. package/web/app/immutable/chunks/{kD3RPqIy.js → DT-w4ZA3.js} +1 -1
  163. package/web/app/immutable/chunks/{CmKBHt37.js → DTOenBGo.js} +1 -1
  164. package/web/app/immutable/chunks/{CZq5__sk.js → DULzeUbw.js} +1 -1
  165. package/web/app/immutable/chunks/{Du-ii3l_.js → DVe2mCXY.js} +1 -1
  166. package/web/app/immutable/chunks/{EYJPT7ez.js → DVnJa0eT.js} +1 -1
  167. package/web/app/immutable/chunks/{Bu6O9iBY.js → DXmMVRov.js} +1 -1
  168. package/web/app/immutable/chunks/{D7UcpeiI.js → DZzTUgIA.js} +1 -1
  169. package/web/app/immutable/chunks/{BNn8Ec2v.js → D_TIL4Xc.js} +1 -1
  170. package/web/app/immutable/chunks/{DVWkN6zJ.js → D_fIP8PG.js} +1 -1
  171. package/web/app/immutable/chunks/{CHtnIE14.js → D_kdhP8o.js} +1 -1
  172. package/web/app/immutable/chunks/{gTEq_pBM.js → DacYbmEF.js} +1 -1
  173. package/web/app/immutable/chunks/{C28yvyOi.js → DbYMKWAI.js} +2 -2
  174. package/web/app/immutable/chunks/{CXJnOaE2.js → Dd-c6aT7.js} +1 -1
  175. package/web/app/immutable/chunks/{BRqn1o3u.js → DeB-Py0k.js} +1 -1
  176. package/web/app/immutable/chunks/{Ca70R1oc.js → DeQzn7pT.js} +1 -1
  177. package/web/app/immutable/chunks/Debl1LJu.js +1 -0
  178. package/web/app/immutable/chunks/{DzgG9d04.js → DgtgAyRj.js} +1 -1
  179. package/web/app/immutable/chunks/{BTHiTKPc.js → DguixOqZ.js} +1 -1
  180. package/web/app/immutable/chunks/{B07w1Xvt.js → DhAAH4rU.js} +1 -1
  181. package/web/app/immutable/chunks/{b9Vr5sSO.js → DhJNH_hq.js} +1 -1
  182. package/web/app/immutable/chunks/{DWPjXtoT.js → DkPB5Gyi.js} +1 -1
  183. package/web/app/immutable/chunks/{gAYIZ12J.js → DkcUxSHK.js} +1 -1
  184. package/web/app/immutable/chunks/{D1TG5G7m.js → Dmq2MLxr.js} +1 -1
  185. package/web/app/immutable/chunks/{VGIN_p1t.js → Do9PiZ5P.js} +2 -2
  186. package/web/app/immutable/chunks/{FVYA7zYF.js → DoKuqfYA.js} +1 -1
  187. package/web/app/immutable/chunks/{B7-qYhrK.js → DoV4Ngwf.js} +1 -1
  188. package/web/app/immutable/chunks/Dp0wSsDS.js +2 -0
  189. package/web/app/immutable/chunks/{B1LjZG7N.js → DpJ6ItFS.js} +1 -1
  190. package/web/app/immutable/chunks/DqIdPWw6.js +1 -0
  191. package/web/app/immutable/chunks/{ComHdR-u.js → DqLpc8uk.js} +1 -1
  192. package/web/app/immutable/chunks/{BawcAaK2.js → Dr-K85Pz.js} +1 -1
  193. package/web/app/immutable/chunks/{CdmW6laI.js → DrH3w3jB.js} +1 -1
  194. package/web/app/immutable/chunks/{BtodRLK5.js → DsvlGcLM.js} +1 -1
  195. package/web/app/immutable/chunks/{D88AXVkV.js → DuXpPbhO.js} +1 -1
  196. package/web/app/immutable/chunks/{B7UjoaT4.js → DugVvFNn.js} +1 -1
  197. package/web/app/immutable/chunks/{CnMWAn59.js → DvnDAxdo.js} +1 -1
  198. package/web/app/immutable/chunks/{BgtLN2kD.js → DwkxcWNI.js} +3 -3
  199. package/web/app/immutable/chunks/{BoLnGk3G.js → Es_LZ_6E.js} +1 -1
  200. package/web/app/immutable/chunks/{vpJZSAdN.js → Fb6bTqJy.js} +1 -1
  201. package/web/app/immutable/chunks/{BACH6cFH.js → Gh0Bk6WC.js} +1 -1
  202. package/web/app/immutable/chunks/{1cW9cCot.js → HVSUZ4Kq.js} +1 -1
  203. package/web/app/immutable/chunks/{BX_AS4NO.js → HdOtmFfs.js} +1 -1
  204. package/web/app/immutable/chunks/{-YfVx6Lr.js → HpcR9-ZP.js} +1 -1
  205. package/web/app/immutable/chunks/{BwBvFc9f.js → IsBHRTqp.js} +1 -1
  206. package/web/app/immutable/chunks/{YqIGmKYo.js → KuKwSJYu.js} +1 -1
  207. package/web/app/immutable/chunks/{Dz2fLbdn.js → LknVBIaq.js} +1 -1
  208. package/web/app/immutable/chunks/{DDBvEq_9.js → M0UFWl_S.js} +1 -1
  209. package/web/app/immutable/chunks/{tLxzRwgx.js → M47n670V.js} +1 -1
  210. package/web/app/immutable/chunks/{D16bMDoO.js → MgRcWC-F.js} +1 -1
  211. package/web/app/immutable/chunks/{91je9Py3.js → OhUwMaQy.js} +1 -1
  212. package/web/app/immutable/chunks/{C43voWK4.js → Ou2B083h.js} +3 -3
  213. package/web/app/immutable/chunks/{ifFNiH_Q.js → Ph7T0qF8.js} +1 -1
  214. package/web/app/immutable/chunks/{CWf45qwn.js → Q-FVgluz.js} +1 -1
  215. package/web/app/immutable/chunks/{C2jgF35o.js → RgXiUiyX.js} +1 -1
  216. package/web/app/immutable/chunks/{BqIts_L0.js → X6OEIYik.js} +1 -1
  217. package/web/app/immutable/chunks/{G424GJSb.js → XKfxOi0c.js} +1 -1
  218. package/web/app/immutable/chunks/{CToUKfVS.js → YcWsBw0J.js} +1 -1
  219. package/web/app/immutable/chunks/{DI2RXiNP.js → ZynkSP7B.js} +1 -1
  220. package/web/app/immutable/chunks/{Bxb00R27.js → _tv07_-D.js} +1 -1
  221. package/web/app/immutable/chunks/{CrYKIqze.js → b0njYmMP.js} +1 -1
  222. package/web/app/immutable/chunks/{C89aUqor.js → b8_D7H9k.js} +1 -1
  223. package/web/app/immutable/chunks/{CRgWqp0Q.js → bkMlvHq9.js} +1 -1
  224. package/web/app/immutable/chunks/{CM-bTlQg.js → dd8yLL6Y.js} +1 -1
  225. package/web/app/immutable/chunks/{BKGMAISF.js → dinOFH6z.js} +1 -1
  226. package/web/app/immutable/chunks/{Ctnx9l23.js → ewlOsRgS.js} +1 -1
  227. package/web/app/immutable/chunks/{XgnGQLkv.js → fSndiqme.js} +1 -1
  228. package/web/app/immutable/chunks/{CMGTMc9v.js → ffjPpoAP.js} +1 -1
  229. package/web/app/immutable/chunks/{D3JfjJlO.js → gnxdhh79.js} +1 -1
  230. package/web/app/immutable/chunks/{BiQ0kKJZ.js → jD6u_pUu.js} +1 -1
  231. package/web/app/immutable/chunks/jxb5pgpW.js +19 -0
  232. package/web/app/immutable/chunks/{CnFIAIdG.js → l7AMrk83.js} +1 -1
  233. package/web/app/immutable/chunks/{DiU_67YU.js → marbulK7.js} +1 -1
  234. package/web/app/immutable/chunks/{MvsbJRbe.js → n9Db8fQb.js} +1 -1
  235. package/web/app/immutable/chunks/{CZ2HrVJB.js → qB-JaQGy.js} +1 -1
  236. package/web/app/immutable/chunks/{D1tS2Sh2.js → se5GXd0p.js} +1 -1
  237. package/web/app/immutable/chunks/{Boy3njow.js → tVWh__3e.js} +1 -1
  238. package/web/app/immutable/chunks/{C2u3n3wb.js → uxNvmxnz.js} +1 -1
  239. package/web/app/immutable/chunks/{DvXSnwEo.js → vxH9TB8u.js} +1 -1
  240. package/web/app/immutable/chunks/{BotIyjuf.js → wOsjtdPJ.js} +1 -1
  241. package/web/app/immutable/chunks/{BsmdqgDs.js → xNaKu_mj.js} +1 -1
  242. package/web/app/immutable/entry/{app.D13wouTF.js → app.CUk63TN3.js} +3 -3
  243. package/web/app/immutable/entry/start.ByRHyT3-.js +1 -0
  244. package/web/app/immutable/nodes/{0.4_Enqr75.js → 0.D4UmpUyl.js} +1 -1
  245. package/web/app/immutable/nodes/{1.0GDoH7pL.js → 1.DTuLvyGe.js} +1 -1
  246. package/web/app/immutable/nodes/{10.BLmBSn8S.js → 10.yW5YYZcV.js} +1 -1
  247. package/web/app/immutable/nodes/{11.CS_mVYvl.js → 11.fqpT905Q.js} +1 -1
  248. package/web/app/immutable/nodes/{12.DWOozFK_.js → 12.B-WFagfi.js} +1 -1
  249. package/web/app/immutable/nodes/{13.CRnWHlMu.js → 13.knDmuG_H.js} +3 -3
  250. package/web/app/immutable/nodes/{14.D9wSVPA8.js → 14.CtAbrlVb.js} +1 -1
  251. package/web/app/immutable/nodes/{15.CvF4Yj4G.js → 15.5d-87wXx.js} +1 -1
  252. package/web/app/immutable/nodes/{16.CbnUh4xL.js → 16.BcAEiIYy.js} +1 -1
  253. package/web/app/immutable/nodes/{17.D8qEGYSE.js → 17.S_DWC10F.js} +2 -2
  254. package/web/app/immutable/nodes/{2.Bb9M8Sb_.js → 2.D-iQ8fmd.js} +11 -11
  255. package/web/app/immutable/nodes/{3.3kLveQ--.js → 3.CQKvVdrW.js} +1 -1
  256. package/web/app/immutable/nodes/{4.Di28fdFS.js → 4.Dq9WSzj3.js} +1 -1
  257. package/web/app/immutable/nodes/{5.DFuaA1cK.js → 5.C2b8MeJP.js} +2 -2
  258. package/web/app/immutable/nodes/{6.CSKX9gfc.js → 6.DZyVWynY.js} +1 -1
  259. package/web/app/immutable/nodes/{7.pjH2istV.js → 7.BNPj2Hjb.js} +1 -1
  260. package/web/app/immutable/nodes/{8.JlRHumI8.js → 8.CYaF3iZ7.js} +4 -4
  261. package/web/app/immutable/nodes/{9.Dfi2ySix.js → 9.D9yeuWg6.js} +16 -16
  262. package/web/app/version.json +1 -1
  263. package/web/generated/paraglide.js +49 -49
  264. package/web/index.html +20 -20
  265. package/web/app/immutable/assets/0.B58gYYGv.css +0 -1
  266. package/web/app/immutable/assets/BrowserTabType.Dm5f_Y-q.css +0 -1
  267. package/web/app/immutable/chunks/BCH_5tMO.js +0 -13
  268. package/web/app/immutable/chunks/BkBjviLd.js +0 -1
  269. package/web/app/immutable/chunks/CCTMo-Up.js +0 -19
  270. package/web/app/immutable/chunks/CfbNoxr9.js +0 -2
  271. package/web/app/immutable/chunks/Ct_6Kn0V.js +0 -1
  272. package/web/app/immutable/chunks/Cw90TeMe.js +0 -2
  273. package/web/app/immutable/chunks/DM-tQz5k.js +0 -227
  274. package/web/app/immutable/chunks/Df216rki.js +0 -1
  275. package/web/app/immutable/chunks/WfmfYu3F.js +0 -1
  276. package/web/app/immutable/chunks/syxE6N1N.js +0 -1
  277. package/web/app/immutable/entry/start.CNSNzsXg.js +0 -1
@@ -1 +1 @@
1
- import{b as a,B as w,ay as x}from"./BuxJaWiM.js";var g=a((e,t,i,r)=>{e.attr("class",i);const{width:o,height:h,x:n,y:c}=u(e,t);w(e,h,o,r);const s=B(n,c,o,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),B=a((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{g as s};
1
+ import{b as a,B as w,ay as x}from"./BOY33UBS.js";var g=a((e,t,i,r)=>{e.attr("class",i);const{width:o,height:h,x:n,y:c}=u(e,t);w(e,h,o,r);const s=B(n,c,o,h,t);e.attr("viewBox",s),x.debug(`viewBox configured: ${s} with padding: ${t}`)},"setupViewPortForSVG"),u=a((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),B=a((e,t,i,r,o)=>`${e-o} ${t-o} ${i} ${r}`,"createViewBox");export{g as s};
@@ -1 +1 @@
1
- import{nw as P,nH as g,Ig as h,uA as d,uF as p,uC as y,gN as v,go as f,gP as m,gO as A,zR as u,zQ as L,CH as F,Ch as S,Ck as z,zU as C,td as O,AT as B,ta as x,te as H,tf as M,gF as R,gQ as _,gr as j,gq as D,Kc as U,Ka as V,Kb as K,JV as E,ng as q,HW as G,gH as J,tb as N,K7 as Q,K9 as W,AJ as $,IP as X,AB as Y,c$ as Z,of as ss,oh as es,og as ts,oi as as,Dr as is,hU as os,ys as rs,g1 as T,i8 as cs,i2 as hs,qu as ls}from"./CpBlZvWi.js";import{bo as ns}from"./syxE6N1N.js";import{F as ds,e as ps,z as us,p as I,v as Is,G as b,J as bs}from"./BNaHRmzO.js";function ws(i,s,e,t){const a=s?.activeTabId;if(!s||!a||!s.tabs.some(r=>r.id===a))return null;const o=t?P(t).map(g):i.map(r=>[r]),c=o.findIndex(r=>r.includes(s.id));if(c<0)return null;const n=o[c+(e==="next"?1:-1)]?.[0];return n?{kind:"neighbor",tabId:a,targetPanelId:n}:o.length>=4||s.tabs.length<2&&o[c].length<2?null:{kind:"edge",tabId:a,position:e==="next"?"after":"before"}}class k{constructor(s){this.workspaceId=s}get state(){return h.state}dispatch(s){h.dispatch(s)}getPanelIds(){return ds.select(this.state,this.workspaceId)}getAllTabs(){return ps.select(this.state,this.workspaceId)}getPanel(s){return us.select(this.state,this.workspaceId,s)??null}getOtherPanelId(){const s=this.getPanelIds();if(s.length<2)return null;const e=I.select(this.state,this.workspaceId);return s.find(t=>t!==e)??null}openTab(s,e){if(e){this.dispatch(d(this.workspaceId,s,e));return}this.dispatch(p(this.workspaceId,s))}openUserTab(s,e){const t=e??I.select(this.state,this.workspaceId)??void 0;if(t){this.dispatch(d(this.workspaceId,s,t,void 0,!0));return}this.dispatch(p(this.workspaceId,s,{force:!0}))}openTabInAdjacentOrSplit(s,e,t){this.dispatch(y(this.workspaceId,s,e,t))}openBrowserPanel(s,e,t,a){const o={type:"browser",title:ns.layout_tabTypes_browser_title(),browserUrl:s??"about:blank",...a===void 0?{}:{browserRequestedUrl:a},contextItemId:e,closable:!0};this.openTabInAdjacentOrSplit(o,t)}closeTab(s,e){this.dispatch(v(this.workspaceId,s,e))}closeActiveTab(s){this.dispatch(f(this.workspaceId,s))}closeTabsByType(s,e,t){this.dispatch(m(this.workspaceId,s,e,t))}closeTabsByAgentId(s){this.dispatch(A(this.workspaceId,s))}reopenClosedTab(s,e){this.dispatch(u(this.workspaceId,void 0,s,e))}reopenLastClosed(){const s=Is.select(this.state,this.workspaceId);s?.kind==="column"?this.dispatch(L(this.workspaceId)):s?.kind==="tab"&&this.dispatch(u(this.workspaceId))}setActiveTab(s,e){this.dispatch(F(this.workspaceId,s,e))}selectNextTab(s){this.dispatch(S(this.workspaceId,s))}selectPreviousTab(s){this.dispatch(z(this.workspaceId,s))}reorderTabs(s,e,t){this.dispatch(C(this.workspaceId,s,e,t))}moveTabToPanel(s,e,t,a){this.dispatch(O(this.workspaceId,s,e,t,a))}moveActivePaneToColumn(s,e){const t=ws(this.getPanelIds(),this.getPanel(s),e,b.select(this.state,this.workspaceId));return t?(t.kind==="neighbor"?this.moveTabToPanel(t.tabId,s,t.targetPanelId):this.moveTabToSplitLevel(t.tabId,s,[],t.position,"horizontal"),!0):!1}canMoveActivePaneVertically(s,e){return B(b.select(this.state,this.workspaceId),this.getPanel(s),e)!==null}moveActivePaneVertically(s,e){return this.canMoveActivePaneVertically(s,e)?(this.dispatch(x(this.workspaceId,s,e)),!0):!1}moveTabToSplit(s,e,t,a){this.dispatch(H(this.workspaceId,s,e,t,a))}moveTabToSplitLevel(s,e,t,a,o){this.dispatch(M(this.workspaceId,s,e,t,a,o))}closeOtherTabs(s,e){this.dispatch(R(this.workspaceId,s,e))}closeTabsToRight(s,e){this.dispatch(_(this.workspaceId,s,e))}closeAllTabs(s){this.dispatch(j(this.workspaceId,s))}closeAllOthersEverywhere(s,e){this.dispatch(D(this.workspaceId,s,e))}updateTabTitle(s,e){this.dispatch(U(this.workspaceId,s,e))}updateTabBrowserUrl(s,e){this.dispatch(V(this.workspaceId,s,e))}updateTabFavicon(s,e){this.dispatch(K(this.workspaceId,s,e))}updateFileTabPath(s,e){this.dispatch(E(this.workspaceId,s,e))}focusPanel(s){this.dispatch(q(this.workspaceId,s))}splitPanel(s,e,t){this.dispatch(G(this.workspaceId,s,e,t))}closePanel(s){this.dispatch(J(this.workspaceId,s))}movePanel(s,e,t){this.dispatch(N(this.workspaceId,s,e,t))}updateSizes(s,e){this.dispatch(Q(this.workspaceId,s,e))}updateSplitSizes(s,e){this.dispatch(W(this.workspaceId,s,e))}resizeRootDivider(s,e){this.dispatch($(this.workspaceId,s,e))}toggleExpandPanel(s){this.dispatch(X(this.workspaceId,s))}resetLayout(){this.dispatch(Y(this.workspaceId))}applyPreset(s){this.dispatch(Z(this.workspaceId,s))}goBack(){this.dispatch(ss(this.workspaceId))}goForward(){this.dispatch(es(this.workspaceId))}goBackInFocusHistory(){this.dispatch(ts(this.workspaceId))}goForwardInFocusHistory(){this.dispatch(as(this.workspaceId))}setDeferSpecTab(s){this.dispatch(is(this.workspaceId,s))}consumePendingFocus(s){this.dispatch(os(this.workspaceId,s))}reconcileStaleAgentTabs(s,e,t){const a=Array.isArray(s)?s:Array.from(s);this.dispatch(rs(this.workspaceId,a,e,t))}clearLayout(){this.dispatch(T(this.workspaceId))}createGridLayout(s){return this.dispatch(cs(this.workspaceId,s)),this.getPanelIds()}batchMutations(s){return s()}initializeLayout(s){const e=s??hs();this.dispatch(ls(this.workspaceId,e))}cyclePresets(){const s=bs.select(this.state,this.workspaceId),e=Object.keys(s).length;e<=1?this.applyPreset("split-horizontal"):e===2?this.applyPreset("three-column"):this.applyPreset("single")}}const l=new Map;function Ts(i){let s=l.get(i);return s||(s=new k(i),l.set(i,s)),s}function ks(i){return!0}function Ps(i){l.delete(i)}function w(i){h.dispatch(T(i))}const fs=Object.freeze(Object.defineProperty({__proto__:null,PanelLayoutAdapter:k,clearPanelLayoutAdapter:Ps,clearPanelLayoutFn:w,clearPanelLayoutForWorkspace:w,getPanelLayoutManager:Ts,hasPanelLayoutManager:ks},Symbol.toStringTag,{value:"Module"}));export{Ps as c,Ts as g,ks as h,fs as p,ws as r};
1
+ import{nw as P,nH as g,Ig as h,uA as d,uF as p,uC as y,gN as v,go as f,gP as m,gO as A,zR as u,zQ as L,CH as F,Ch as S,Ck as z,zU as C,td as O,AT as B,ta as x,te as H,tf as M,gF as R,gQ as _,gr as j,gq as D,Kc as U,Ka as V,Kb as K,JV as E,ng as q,HW as G,gH as J,tb as N,K7 as Q,K9 as W,AJ as $,IP as X,AB as Y,c$ as Z,of as ss,oh as es,og as ts,oi as as,Dr as is,hU as os,ys as rs,g1 as T,i8 as cs,i2 as hs,qu as ls}from"./BJpbRkma.js";import{bo as ns}from"./CNdlzZOD.js";import{F as ds,e as ps,z as us,p as I,v as Is,G as b,J as bs}from"./1JDc8gDP.js";function ws(i,s,e,t){const a=s?.activeTabId;if(!s||!a||!s.tabs.some(r=>r.id===a))return null;const o=t?P(t).map(g):i.map(r=>[r]),c=o.findIndex(r=>r.includes(s.id));if(c<0)return null;const n=o[c+(e==="next"?1:-1)]?.[0];return n?{kind:"neighbor",tabId:a,targetPanelId:n}:o.length>=4||s.tabs.length<2&&o[c].length<2?null:{kind:"edge",tabId:a,position:e==="next"?"after":"before"}}class k{constructor(s){this.workspaceId=s}get state(){return h.state}dispatch(s){h.dispatch(s)}getPanelIds(){return ds.select(this.state,this.workspaceId)}getAllTabs(){return ps.select(this.state,this.workspaceId)}getPanel(s){return us.select(this.state,this.workspaceId,s)??null}getOtherPanelId(){const s=this.getPanelIds();if(s.length<2)return null;const e=I.select(this.state,this.workspaceId);return s.find(t=>t!==e)??null}openTab(s,e){if(e){this.dispatch(d(this.workspaceId,s,e));return}this.dispatch(p(this.workspaceId,s))}openUserTab(s,e){const t=e??I.select(this.state,this.workspaceId)??void 0;if(t){this.dispatch(d(this.workspaceId,s,t,void 0,!0));return}this.dispatch(p(this.workspaceId,s,{force:!0}))}openTabInAdjacentOrSplit(s,e,t){this.dispatch(y(this.workspaceId,s,e,t))}openBrowserPanel(s,e,t,a){const o={type:"browser",title:ns.layout_tabTypes_browser_title(),browserUrl:s??"about:blank",...a===void 0?{}:{browserRequestedUrl:a},contextItemId:e,closable:!0};this.openTabInAdjacentOrSplit(o,t)}closeTab(s,e){this.dispatch(v(this.workspaceId,s,e))}closeActiveTab(s){this.dispatch(f(this.workspaceId,s))}closeTabsByType(s,e,t){this.dispatch(m(this.workspaceId,s,e,t))}closeTabsByAgentId(s){this.dispatch(A(this.workspaceId,s))}reopenClosedTab(s,e){this.dispatch(u(this.workspaceId,void 0,s,e))}reopenLastClosed(){const s=Is.select(this.state,this.workspaceId);s?.kind==="column"?this.dispatch(L(this.workspaceId)):s?.kind==="tab"&&this.dispatch(u(this.workspaceId))}setActiveTab(s,e){this.dispatch(F(this.workspaceId,s,e))}selectNextTab(s){this.dispatch(S(this.workspaceId,s))}selectPreviousTab(s){this.dispatch(z(this.workspaceId,s))}reorderTabs(s,e,t){this.dispatch(C(this.workspaceId,s,e,t))}moveTabToPanel(s,e,t,a){this.dispatch(O(this.workspaceId,s,e,t,a))}moveActivePaneToColumn(s,e){const t=ws(this.getPanelIds(),this.getPanel(s),e,b.select(this.state,this.workspaceId));return t?(t.kind==="neighbor"?this.moveTabToPanel(t.tabId,s,t.targetPanelId):this.moveTabToSplitLevel(t.tabId,s,[],t.position,"horizontal"),!0):!1}canMoveActivePaneVertically(s,e){return B(b.select(this.state,this.workspaceId),this.getPanel(s),e)!==null}moveActivePaneVertically(s,e){return this.canMoveActivePaneVertically(s,e)?(this.dispatch(x(this.workspaceId,s,e)),!0):!1}moveTabToSplit(s,e,t,a){this.dispatch(H(this.workspaceId,s,e,t,a))}moveTabToSplitLevel(s,e,t,a,o){this.dispatch(M(this.workspaceId,s,e,t,a,o))}closeOtherTabs(s,e){this.dispatch(R(this.workspaceId,s,e))}closeTabsToRight(s,e){this.dispatch(_(this.workspaceId,s,e))}closeAllTabs(s){this.dispatch(j(this.workspaceId,s))}closeAllOthersEverywhere(s,e){this.dispatch(D(this.workspaceId,s,e))}updateTabTitle(s,e){this.dispatch(U(this.workspaceId,s,e))}updateTabBrowserUrl(s,e){this.dispatch(V(this.workspaceId,s,e))}updateTabFavicon(s,e){this.dispatch(K(this.workspaceId,s,e))}updateFileTabPath(s,e){this.dispatch(E(this.workspaceId,s,e))}focusPanel(s){this.dispatch(q(this.workspaceId,s))}splitPanel(s,e,t){this.dispatch(G(this.workspaceId,s,e,t))}closePanel(s){this.dispatch(J(this.workspaceId,s))}movePanel(s,e,t){this.dispatch(N(this.workspaceId,s,e,t))}updateSizes(s,e){this.dispatch(Q(this.workspaceId,s,e))}updateSplitSizes(s,e){this.dispatch(W(this.workspaceId,s,e))}resizeRootDivider(s,e){this.dispatch($(this.workspaceId,s,e))}toggleExpandPanel(s){this.dispatch(X(this.workspaceId,s))}resetLayout(){this.dispatch(Y(this.workspaceId))}applyPreset(s){this.dispatch(Z(this.workspaceId,s))}goBack(){this.dispatch(ss(this.workspaceId))}goForward(){this.dispatch(es(this.workspaceId))}goBackInFocusHistory(){this.dispatch(ts(this.workspaceId))}goForwardInFocusHistory(){this.dispatch(as(this.workspaceId))}setDeferSpecTab(s){this.dispatch(is(this.workspaceId,s))}consumePendingFocus(s){this.dispatch(os(this.workspaceId,s))}reconcileStaleAgentTabs(s,e,t){const a=Array.isArray(s)?s:Array.from(s);this.dispatch(rs(this.workspaceId,a,e,t))}clearLayout(){this.dispatch(T(this.workspaceId))}createGridLayout(s){return this.dispatch(cs(this.workspaceId,s)),this.getPanelIds()}batchMutations(s){return s()}initializeLayout(s){const e=s??hs();this.dispatch(ls(this.workspaceId,e))}cyclePresets(){const s=bs.select(this.state,this.workspaceId),e=Object.keys(s).length;e<=1?this.applyPreset("split-horizontal"):e===2?this.applyPreset("three-column"):this.applyPreset("single")}}const l=new Map;function Ts(i){let s=l.get(i);return s||(s=new k(i),l.set(i,s)),s}function ks(i){return!0}function Ps(i){l.delete(i)}function w(i){h.dispatch(T(i))}const fs=Object.freeze(Object.defineProperty({__proto__:null,PanelLayoutAdapter:k,clearPanelLayoutAdapter:Ps,clearPanelLayoutFn:w,clearPanelLayoutForWorkspace:w,getPanelLayoutManager:Ts,hasPanelLayoutManager:ks},Symbol.toStringTag,{value:"Module"}));export{Ps as c,Ts as g,ks as h,fs as p,ws as r};
@@ -1 +1 @@
1
- var w=Object.defineProperty;var b=(o,s,a)=>s in o?w(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a;var g=(o,s,a)=>b(o,typeof s!="symbol"?s+"":s,a);import{b as I}from"./CdmW6laI.js";import{o as t,_ as c,n as f,s as e,c as r,b as p,r as i,a as n,u as y}from"./CIyUrgF0.js";import{a as E}from"./BJzHxIyr.js";const l=t({id:e(),name:e().optional(),title:e(),branch:e(),baseRef:e().optional(),baseCommitSha:e().optional(),initialPrompt:e().optional(),status:c(["active","archived","deleted","initializing"]),createdAt:e(),updatedAt:e(),lastActivity:e().optional(),tags:p(e()).optional(),path:e().optional(),repositoryPath:e().optional(),repositoryOwner:e().optional(),repositoryName:e().optional(),worktreePath:e().optional(),scope:e().optional(),isRemote:r().optional(),prUrl:e().optional(),prNumber:f().optional(),prStatus:c(["open","closed","merged","draft"]).optional(),checkoutMode:c(["cow","worktree","direct"]).optional(),defaultAgentPlacement:I.optional()}),v=t({id:e(),workspaceId:e(),title:e(),content:e(),contentType:c(["markdown","plaintext","code"]),visibility:c(["private","workspace","public"]),author:e(),authorType:c(["user","agent","system"]),createdAt:e(),updatedAt:e(),tags:p(e()).optional(),metadata:i(e(),n()).optional(),parentId:e().optional(),threadId:e().optional()}),q=t({path:e(),name:e(),owner:e().optional(),githubUrl:e().optional(),addedAt:e(),lastUsedAt:e()});t({workspaceId:e(),workspacePath:e(),name:e(),agentId:e().optional(),model:e().optional(),provider:e().optional(),agentType:e().optional(),behaviorPrompt:e().optional(),specialistName:e().optional(),roleReminder:e().optional(),systemPrompt:e().optional(),rules:e().optional(),initialMessage:e().optional(),contextReferences:p(n()).optional(),metadata:i(e(),n()).optional()}),t({agent:n(),sessionId:e()}),t({agentId:e(),content:e(),contextReferences:p(n()).optional(),metadata:i(e(),n()).optional()}),t({messageId:e(),status:c(["sent","queued","failed"])}),t({title:e(),branch:e().optional(),baseRef:e().optional(),tags:p(e()).optional()}),t({workspace:l}),t({workspaceId:e(),title:e(),content:e(),contentType:c(["markdown","plaintext","code"]).optional(),tags:p(e()).optional(),metadata:i(e(),n()).optional()}),t({note:v}),t({sessionId:e(),context:i(e(),n())}),t({success:r()}),t({workspaceId:e()}),t({context:i(e(),n())}),t({sessionId:e()}),t({context:i(e(),n())}),t({}),t({success:r(),data:p(l).optional(),error:e().optional()}),y([e(),t({id:e()})]),t({success:r(),data:l.optional(),error:e().optional()}),t({workspaceId:e()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e(),title:e().optional(),baseCommitSha:e().optional(),worktreePath:e().optional(),gitInfo:t({branch:e().optional(),remote:e().optional()}).optional()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e()}),t({success:r(),error:e().optional()}),t({id:e()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e()}),t({success:r(),error:e().optional()}),t({workspaceId:e()}),e().nullable(),t({limit:f().optional()}),t({success:r(),data:p(q),error:e().optional()}),t({repository:e(),name:e().optional(),owner:e().optional(),githubUrl:e().optional()}),t({success:r()}),t({}),t({success:r()}),t({workspaceId:e(),gitInfo:t({branch:e().optional(),remote:e().optional(),status:e().optional()})}),t({success:r()}),t({workspaceId:e()}),t({settings:i(e(),n())}),t({workspaceId:e(),settings:i(e(),n())}),t({success:r()}),t({workspaceId:e()}),t({rules:e()}),t({path:e(),encoding:e().optional()}),t({success:r(),data:e().optional(),error:e().optional()}),t({path:e(),content:e(),encoding:e().optional()}),t({success:r(),error:e().optional()}),t({path:e()}),t({success:r(),exists:r().optional(),error:e().optional()}),t({path:e(),recursive:r().optional()}),t({success:r(),files:p(e()).optional(),error:e().optional()}),t({}),t({platform:e(),version:e(),arch:e()}),t({}),t({version:e()}),t({}),t({onBattery:r()});new E("TypeValidation");const k=new Map,u=new Map,m=new Map([["workspace:get-root",void 0],["auggie:get-user-info",void 0],["config:get",null],["config:set",{success:!1,error:"Legacy config store is not bridged to the daemon (renderer persistence uses localStorage)"}],["git:get-auto-commit-status",void 0],["debug:trigger-backend-resume",{success:!1,error:"The backend-resume debug trigger is not bridged in this build"}],["system:write-clipboard",{success:!1,error:"Clipboard IPC is not available in this build"}],["patch:apply",{ok:!1,error:"Applying patches is not available in this build"}],["patch:revert",{ok:!1,error:"Reverting patches is not available in this build"}],["reference:resolve",{ok:!1,error:"Code-reference resolution is not bridged to the daemon"}],["remote-fs:exists",{success:!1,error:"Remote SSH file access is not available in this build"}],["workspace:get-info",void 0]]),T=new Set(["terminal:created","workspace:updated","task:ready-tasks-changed","window:fullscreen","power:battery-changed"]),S=["terminal:professional:exit:"],_=new Map([["note-suggestion","legacy agent note-suggestion flow not ported — no producer"]]);function N(o){return T.has(o)?!0:S.some(s=>o.startsWith(s))}const h=new Set;class L extends Error{constructor(a){super(`No mock IPC handler registered for channel '${a}'. This build routes legacy renderer→main IPC through the in-memory mock router; an unbridged channel used to resolve undefined and silently corrupt the caller. Bridge the channel to the daemon in a seeder under src/store/renderer/seeders/ (see agent-ipc-bridge-seeder.ts), or — only if every caller legitimately tolerates absence — add it to UNBRIDGED_INVOKE_ALLOWLIST in src/shared/ipc-mock-router.ts with a justification.`);g(this,"channel");this.name="UnbridgedMockIpcChannelError",this.channel=a}}function O(o,s){k.set(o,s)}async function M(o,...s){const a=k.get(o);if(a)return await a(...s);if(m.has(o))return m.get(o);throw new L(o)}function U(o,s){return!N(o)&&!_.has(o)&&!h.has(o)&&(h.add(o),console.error(`[ipc-mock-router] Listener registered on event channel '${o}' that NO production emitter delivers — it will never fire (silent-gap class). Wire an emitter (a seeder under src/store/renderer/seeders/ or the daemon-events-bridge legacy relay) and declare it in EMITTED_MOCK_IPC_EVENT_CHANNELS, or — only if the listener legitimately stays silent in this build — justify an UNEMITTED_LISTENER_ALLOWLIST entry in src/shared/ipc-mock-router.ts.`)),C(o,s)}function C(o,s){let a=u.get(o);return a||(a=new Set,u.set(o,a)),a.add(s),()=>{const d=u.get(o);d&&(d.delete(s),d.size===0&&u.delete(o))}}function D(o,s){const a=u.get(o);if(a)for(const d of[...a])d(s)}async function W(o,...s){return M(o,...s)}export{U as a,D as e,W as i,O as r};
1
+ var w=Object.defineProperty;var b=(o,s,a)=>s in o?w(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a;var g=(o,s,a)=>b(o,typeof s!="symbol"?s+"":s,a);import{b as I}from"./DrH3w3jB.js";import{o as t,_ as c,n as f,s as e,c as r,b as p,r as i,a as n,u as y}from"./CIyUrgF0.js";import{a as E}from"./BJzHxIyr.js";const l=t({id:e(),name:e().optional(),title:e(),branch:e(),baseRef:e().optional(),baseCommitSha:e().optional(),initialPrompt:e().optional(),status:c(["active","archived","deleted","initializing"]),createdAt:e(),updatedAt:e(),lastActivity:e().optional(),tags:p(e()).optional(),path:e().optional(),repositoryPath:e().optional(),repositoryOwner:e().optional(),repositoryName:e().optional(),worktreePath:e().optional(),scope:e().optional(),isRemote:r().optional(),prUrl:e().optional(),prNumber:f().optional(),prStatus:c(["open","closed","merged","draft"]).optional(),checkoutMode:c(["cow","worktree","direct"]).optional(),defaultAgentPlacement:I.optional()}),v=t({id:e(),workspaceId:e(),title:e(),content:e(),contentType:c(["markdown","plaintext","code"]),visibility:c(["private","workspace","public"]),author:e(),authorType:c(["user","agent","system"]),createdAt:e(),updatedAt:e(),tags:p(e()).optional(),metadata:i(e(),n()).optional(),parentId:e().optional(),threadId:e().optional()}),q=t({path:e(),name:e(),owner:e().optional(),githubUrl:e().optional(),addedAt:e(),lastUsedAt:e()});t({workspaceId:e(),workspacePath:e(),name:e(),agentId:e().optional(),model:e().optional(),provider:e().optional(),agentType:e().optional(),behaviorPrompt:e().optional(),specialistName:e().optional(),roleReminder:e().optional(),systemPrompt:e().optional(),rules:e().optional(),initialMessage:e().optional(),contextReferences:p(n()).optional(),metadata:i(e(),n()).optional()}),t({agent:n(),sessionId:e()}),t({agentId:e(),content:e(),contextReferences:p(n()).optional(),metadata:i(e(),n()).optional()}),t({messageId:e(),status:c(["sent","queued","failed"])}),t({title:e(),branch:e().optional(),baseRef:e().optional(),tags:p(e()).optional()}),t({workspace:l}),t({workspaceId:e(),title:e(),content:e(),contentType:c(["markdown","plaintext","code"]).optional(),tags:p(e()).optional(),metadata:i(e(),n()).optional()}),t({note:v}),t({sessionId:e(),context:i(e(),n())}),t({success:r()}),t({workspaceId:e()}),t({context:i(e(),n())}),t({sessionId:e()}),t({context:i(e(),n())}),t({}),t({success:r(),data:p(l).optional(),error:e().optional()}),y([e(),t({id:e()})]),t({success:r(),data:l.optional(),error:e().optional()}),t({workspaceId:e()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e(),title:e().optional(),baseCommitSha:e().optional(),worktreePath:e().optional(),gitInfo:t({branch:e().optional(),remote:e().optional()}).optional()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e()}),t({success:r(),error:e().optional()}),t({id:e()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e()}),t({success:r(),error:e().optional()}),t({workspaceId:e()}),e().nullable(),t({limit:f().optional()}),t({success:r(),data:p(q),error:e().optional()}),t({repository:e(),name:e().optional(),owner:e().optional(),githubUrl:e().optional()}),t({success:r()}),t({}),t({success:r()}),t({workspaceId:e(),gitInfo:t({branch:e().optional(),remote:e().optional(),status:e().optional()})}),t({success:r()}),t({workspaceId:e()}),t({settings:i(e(),n())}),t({workspaceId:e(),settings:i(e(),n())}),t({success:r()}),t({workspaceId:e()}),t({rules:e()}),t({path:e(),encoding:e().optional()}),t({success:r(),data:e().optional(),error:e().optional()}),t({path:e(),content:e(),encoding:e().optional()}),t({success:r(),error:e().optional()}),t({path:e()}),t({success:r(),exists:r().optional(),error:e().optional()}),t({path:e(),recursive:r().optional()}),t({success:r(),files:p(e()).optional(),error:e().optional()}),t({}),t({platform:e(),version:e(),arch:e()}),t({}),t({version:e()}),t({}),t({onBattery:r()});new E("TypeValidation");const k=new Map,u=new Map,m=new Map([["workspace:get-root",void 0],["auggie:get-user-info",void 0],["config:get",null],["config:set",{success:!1,error:"Legacy config store is not bridged to the daemon (renderer persistence uses localStorage)"}],["git:get-auto-commit-status",void 0],["debug:trigger-backend-resume",{success:!1,error:"The backend-resume debug trigger is not bridged in this build"}],["system:write-clipboard",{success:!1,error:"Clipboard IPC is not available in this build"}],["patch:apply",{ok:!1,error:"Applying patches is not available in this build"}],["patch:revert",{ok:!1,error:"Reverting patches is not available in this build"}],["reference:resolve",{ok:!1,error:"Code-reference resolution is not bridged to the daemon"}],["remote-fs:exists",{success:!1,error:"Remote SSH file access is not available in this build"}],["workspace:get-info",void 0]]),T=new Set(["terminal:created","workspace:updated","task:ready-tasks-changed","window:fullscreen","power:battery-changed"]),S=["terminal:professional:exit:"],_=new Map([["note-suggestion","legacy agent note-suggestion flow not ported — no producer"]]);function N(o){return T.has(o)?!0:S.some(s=>o.startsWith(s))}const h=new Set;class L extends Error{constructor(a){super(`No mock IPC handler registered for channel '${a}'. This build routes legacy renderer→main IPC through the in-memory mock router; an unbridged channel used to resolve undefined and silently corrupt the caller. Bridge the channel to the daemon in a seeder under src/store/renderer/seeders/ (see agent-ipc-bridge-seeder.ts), or — only if every caller legitimately tolerates absence — add it to UNBRIDGED_INVOKE_ALLOWLIST in src/shared/ipc-mock-router.ts with a justification.`);g(this,"channel");this.name="UnbridgedMockIpcChannelError",this.channel=a}}function O(o,s){k.set(o,s)}async function M(o,...s){const a=k.get(o);if(a)return await a(...s);if(m.has(o))return m.get(o);throw new L(o)}function U(o,s){return!N(o)&&!_.has(o)&&!h.has(o)&&(h.add(o),console.error(`[ipc-mock-router] Listener registered on event channel '${o}' that NO production emitter delivers — it will never fire (silent-gap class). Wire an emitter (a seeder under src/store/renderer/seeders/ or the daemon-events-bridge legacy relay) and declare it in EMITTED_MOCK_IPC_EVENT_CHANNELS, or — only if the listener legitimately stays silent in this build — justify an UNEMITTED_LISTENER_ALLOWLIST entry in src/shared/ipc-mock-router.ts.`)),C(o,s)}function C(o,s){let a=u.get(o);return a||(a=new Set,u.set(o,a)),a.add(s),()=>{const d=u.get(o);d&&(d.delete(s),d.size===0&&u.delete(o))}}function D(o,s){const a=u.get(o);if(a)for(const d of[...a])d(s)}async function W(o,...s){return M(o,...s)}export{U as a,D as e,W as i,O as r};
@@ -1,4 +1,4 @@
1
- var nt=t=>{throw TypeError(t)};var st=(t,r,e)=>r.has(t)||nt("Cannot "+e);var m=(t,r,e)=>(st(t,r,"read from private field"),e?e.call(t):r.get(t)),T=(t,r,e)=>r.has(t)?nt("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),C=(t,r,e,n)=>(st(t,r,"write to private field"),n?n.call(t,e):r.set(t,e),e);import{O as lt,bR as _t,l as wt,B as Tt,R as Ct,as as Ft,c5 as mt,T as Nt,b1 as kt,bt as ot,bf as R,cc as ht,K as St,M as xt,bV as it,ao as gt,bY as at,by as Mt,bH as B,aD as ct,cd as Ot,aE as ut,c2 as At}from"./DYhIMPy1.js";import{s as P}from"./XNWMykPO.js";import{f as Et,k as Rt}from"./g2wqtBd2.js";const Dt=()=>performance.now(),$={tick:t=>requestAnimationFrame(t),now:()=>Dt(),tasks:new Set};function yt(){const t=$.now();$.tasks.forEach(r=>{r.c(t)||($.tasks.delete(r),r.f())}),$.tasks.size!==0&&$.tick(yt)}function K(t){let r;return $.tasks.size===0&&$.tick(yt),{promise:new Promise(e=>{$.tasks.add(r={c:t,f:e})}),abort(){$.tasks.delete(r)}}}function L(t,r){ht(()=>{t.dispatchEvent(new CustomEvent(r))})}function It(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const r=t.split("-");return r.length===1?r[0]:r[0]+r.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function ft(t){const r={},e=t.split(";");for(const n of e){const[o,s]=n.split(":");if(!o||s===void 0)break;const i=It(o.trim());r[i]=s.trim()}return r}const Pt=t=>t;let bt=null;function Xt(t){bt=t}function Zt(t,r,e){var n=bt??lt,o=n.nodes,s,i,a,c=null;o.a??={element:t,measure(){s=this.element.getBoundingClientRect()},apply(){if(a?.abort(),i=this.element.getBoundingClientRect(),s.left!==i.left||s.right!==i.right||s.top!==i.top||s.bottom!==i.bottom){const u=r()(this.element,{from:s,to:i},e?.());a=V(this.element,u,void 0,1,()=>{},()=>{a?.abort(),a=void 0})}},fix(){if(!t.getAnimations().length){var{position:u,width:f,height:l}=getComputedStyle(t);if(u!=="absolute"&&u!=="fixed"){var d=t.style;c={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=f,d.height=l;var p=t.getBoundingClientRect();if(s.left!==p.left||s.top!==p.top){var g=`translate(${s.left-p.left}px, ${s.top-p.top}px)`;d.transform=d.transform?`${d.transform} ${g}`:g}}}},unfix(){if(c){var u=t.style;u.position=c.position,u.width=c.width,u.height=c.height,u.transform=c.transform}}},o.a.element=t}function tr(t,r,e,n){var o=(t&St)!==0,s=(t&xt)!==0,i=o&&s,a=(t&Nt)!==0,c=i?"both":o?"in":"out",u,f=r.inert,l=r.style.overflow,d,p;function g(){return ht(()=>u??=e()(r,n?.()??{},{direction:c}))}var y={is_global:a,in(){if(r.inert=f,!o){p?.abort(),p?.reset?.();return}s||d?.abort(),d=V(r,g(),p,1,()=>{L(r,"introstart")},()=>{L(r,"introend"),d?.abort(),d=u=void 0,r.style.overflow=l})},out(F){if(!s){F?.(),u=void 0;return}r.inert=!0,p=V(r,g(),d,0,()=>{L(r,"outrostart")},()=>{L(r,"outroend"),F?.()})},stop:()=>{d?.abort(),p?.abort()}},b=lt;if((b.nodes.t??=[]).push(y),o&&_t){var h=a;if(!h){for(var v=b.parent;v&&(v.f&wt)!==0;)for(;(v=v.parent)&&(v.f&Tt)===0;);h=!v||(v.f&Ct)!==0}h&&Ft(()=>{mt(()=>y.in())})}}function V(t,r,e,n,o,s){var i=n===1,a=!1;if(kt(r)){var c;return ot(()=>{if(!a){var y=r({direction:i?"in":"out"});c=V(t,y,e,n,o,s)}}),{abort:()=>{a=!0,c?.abort()},deactivate:()=>c?.deactivate(),reset:()=>c?.reset(),t:()=>c?.t()??1-n}}if(e?.deactivate(),!r?.duration&&!r?.delay)return o(),s(),{abort:R,deactivate:R,reset:R,t:()=>n};const{delay:u=0,css:f,tick:l,easing:d=Pt}=r;var p,g=()=>1-n;return ot(()=>{if(!a){var y=[];if(i&&e===void 0&&(l&&l(0,1),f)){var b=ft(f(0,1));y.push(b,b)}p=t.animate(y,{duration:u,fill:"forwards"}),p.onfinish=()=>{p.cancel(),o();var h=e?.t()??1-n;e?.abort();var v=n-h,F=r.duration*Math.abs(v),X=[];if(F>0){var Z=!1;if(f)for(var tt=Math.ceil(F/16.666666666666668),z=0;z<=tt;z+=1){var rt=h+v*d(z/tt),et=ft(f(rt,1-rt));X.push(et),Z||=et.overflow==="hidden"}Z&&(t.style.overflow="hidden"),g=()=>{var j=p.currentTime;return h+v*d(j/F)},l&&K(()=>{if(p.playState!=="running")return!1;var j=g();return l(j,1-j),!0})}p=t.animate(X,{duration:F,fill:"forwards"}),p.onfinish=()=>{g=()=>n,l?.(n,1-n),s()}}}}),{abort:()=>{a=!0,p&&(p.cancel(),p.effect=null,p.onfinish=R)},deactivate:()=>{s=R},reset:()=>{n===0&&l?.(1,0)},t:()=>g()}}function J(t){return t}function M(t){const r=t-1;return r*r*r+1}function rr(t){return--t*t*t*t*t+1}function pt(t){return Object.prototype.toString.call(t)==="[object Date]"}function W(t,r){if(t===r||t!==t)return()=>t;const e=typeof t;if(e!==typeof r||Array.isArray(t)!==Array.isArray(r))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const n=r.map((o,s)=>W(t[s],o));return o=>n.map(s=>s(o))}if(e==="object"){if(!t||!r)throw new Error("Object cannot be null");if(pt(t)&&pt(r)){const s=t.getTime(),a=r.getTime()-s;return c=>new Date(s+c*a)}const n=Object.keys(r),o={};return n.forEach(s=>{o[s]=W(t[s],r[s])}),s=>{const i={};return n.forEach(a=>{i[a]=o[a](s)}),i}}if(e==="number"){const n=r-t;return o=>t+o*n}return()=>r}function jt(t,r={}){const e=Ot(t);let n,o=t;function s(i,a){if(o=i,t==null)return e.set(t=i),Promise.resolve();let c=n,u=!1,{delay:f=0,duration:l=400,easing:d=J,interpolate:p=W}={...r,...a};if(l===0)return c&&(c.abort(),c=null),e.set(t=o),Promise.resolve();const g=$.now()+f;let y;return n=K(b=>{if(b<g)return!0;u||(y=p(t,i),typeof l=="function"&&(l=l(t,i)),u=!0),c&&(c.abort(),c=null);const h=b-g;return h>l?(e.set(t=i),!1):(e.set(t=y(d(h/l))),!0)}),n.promise}return{set:s,update:(i,a)=>s(i(o,t),a),subscribe:e.subscribe}}var _,S,I,x;const Q=class Q{constructor(r,e={}){T(this,_);T(this,S);T(this,I);T(this,x,null);C(this,_,it(r)),C(this,S,it(r)),C(this,I,e),gt&&(at(m(this,_),"Tween.current"),at(m(this,S),"Tween.target"))}static of(r,e){const n=new Q(r(),e);return Mt(()=>{n.set(r())}),n}set(r,e){B(m(this,S),r);let{delay:n=0,duration:o=400,easing:s=J,interpolate:i=W}={...m(this,I),...e};if(o===0)return m(this,x)?.abort(),B(m(this,_),r),Promise.resolve();const a=$.now()+n;let c,u=!1,f=m(this,x);return C(this,x,K(l=>{if(l<a)return!0;if(!u){u=!0;const p=m(this,_).v;c=i(p,r),typeof o=="function"&&(o=o(p,r)),f?.abort(),f=null}const d=l-a;return d>o?(B(m(this,_),r),!1):(B(m(this,_),c(s(d/o))),!0)})),m(this,x).promise}get current(){return ct(m(this,_))}get target(){return ct(m(this,S))}set target(r){this.set(r)}};_=new WeakMap,S=new WeakMap,I=new WeakMap,x=new WeakMap;let G=Q;const k={fast:{settleMs:80,easing:M,exit:{duration:60,easing:M}},moderate:{settleMs:160,easing:M,exit:{duration:120,easing:M}},slow:{settleMs:240,easing:M,exit:{duration:160,easing:M}}},er={openMs:350,closeMs:280,reducedMs:200};var w,O,A;class nr{constructor(r,e="moderate"){T(this,w);T(this,O);T(this,A,Promise.resolve());C(this,O,k[e]),C(this,w,new G(r))}get current(){return m(this,w).current}get target(){return m(this,w).target}set target(r){this.set(r)}set(r,e){return mt(()=>{const n=e?.instant||P();return!n&&Object.is(r,m(this,w).target)?m(this,A):(m(this,w).set(m(this,w).current,{duration:0}),C(this,A,m(this,w).set(r,{duration:n?0:m(this,O).settleMs,easing:m(this,O).easing})),m(this,A))})}}w=new WeakMap,O=new WeakMap,A=new WeakMap;function Bt(t,r="moderate"){const e=jt(t);let n=t,o=Promise.resolve();const s=(i,a)=>{const c=a?.hard||P();return!c&&Object.is(i,n)||(n=i,e.set(ut(e),{duration:0}),o=e.set(i,{duration:c?0:k[r].settleMs,easing:k[r].easing})),o};return{subscribe:e.subscribe,set:s,update:(i,a)=>s(i(n,ut(e)),a)}}function sr(t,r="moderate"){const e=Bt(t,r);return{subscribe:e.subscribe,set:n=>e.set(n),update:n=>e.update(n)}}function or(t){return t.exit.duration+100}const Lt=t=>t;function Y(t){const r=t-1;return r*r*r+1}function vt(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function H(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}function N(t,r,e){return Number.isNaN(r)?"":`${t}: ${e*r}px;`}function Vt(t,{delay:r=0,duration:e=400,easing:n=vt,amount:o=5,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.filter==="none"?"":i.filter,u=a*(1-s),[f,l]=H(o);return{delay:r,duration:e,easing:n,css:(d,p)=>`opacity: ${a-u*p}; filter: ${c} blur(${p*f}${l});`}}function $t(t,{delay:r=0,duration:e=400,easing:n=Lt}={}){const o=+getComputedStyle(t).opacity;return{delay:r,duration:e,easing:n,css:s=>`opacity: ${s*o}`}}function Wt(t,{delay:r=0,duration:e=400,easing:n=Y,x:o=0,y:s=0,opacity:i=0}={}){const a=getComputedStyle(t),c=+a.opacity,u=a.transform==="none"?"":a.transform,f=c*(1-i),[l,d]=H(o),[p,g]=H(s);return{delay:r,duration:e,easing:n,css:(y,b)=>`
1
+ var nt=t=>{throw TypeError(t)};var st=(t,r,e)=>r.has(t)||nt("Cannot "+e);var m=(t,r,e)=>(st(t,r,"read from private field"),e?e.call(t):r.get(t)),T=(t,r,e)=>r.has(t)?nt("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(t):r.set(t,e),C=(t,r,e,n)=>(st(t,r,"write to private field"),n?n.call(t,e):r.set(t,e),e);import{O as lt,bR as _t,l as wt,B as Tt,R as Ct,as as Ft,c5 as mt,T as Nt,b1 as kt,bt as ot,bf as R,cc as ht,K as St,M as xt,bV as it,ao as gt,bY as at,by as Mt,bH as B,aD as ct,cd as Ot,aE as ut,c2 as At}from"./DYhIMPy1.js";import{s as P}from"./9iFKJfkz.js";import{f as Et,k as Rt}from"./DIh4SQwA.js";const Dt=()=>performance.now(),$={tick:t=>requestAnimationFrame(t),now:()=>Dt(),tasks:new Set};function yt(){const t=$.now();$.tasks.forEach(r=>{r.c(t)||($.tasks.delete(r),r.f())}),$.tasks.size!==0&&$.tick(yt)}function K(t){let r;return $.tasks.size===0&&$.tick(yt),{promise:new Promise(e=>{$.tasks.add(r={c:t,f:e})}),abort(){$.tasks.delete(r)}}}function L(t,r){ht(()=>{t.dispatchEvent(new CustomEvent(r))})}function It(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const r=t.split("-");return r.length===1?r[0]:r[0]+r.slice(1).map(e=>e[0].toUpperCase()+e.slice(1)).join("")}function ft(t){const r={},e=t.split(";");for(const n of e){const[o,s]=n.split(":");if(!o||s===void 0)break;const i=It(o.trim());r[i]=s.trim()}return r}const Pt=t=>t;let bt=null;function Xt(t){bt=t}function Zt(t,r,e){var n=bt??lt,o=n.nodes,s,i,a,c=null;o.a??={element:t,measure(){s=this.element.getBoundingClientRect()},apply(){if(a?.abort(),i=this.element.getBoundingClientRect(),s.left!==i.left||s.right!==i.right||s.top!==i.top||s.bottom!==i.bottom){const u=r()(this.element,{from:s,to:i},e?.());a=V(this.element,u,void 0,1,()=>{},()=>{a?.abort(),a=void 0})}},fix(){if(!t.getAnimations().length){var{position:u,width:f,height:l}=getComputedStyle(t);if(u!=="absolute"&&u!=="fixed"){var d=t.style;c={position:d.position,width:d.width,height:d.height,transform:d.transform},d.position="absolute",d.width=f,d.height=l;var p=t.getBoundingClientRect();if(s.left!==p.left||s.top!==p.top){var g=`translate(${s.left-p.left}px, ${s.top-p.top}px)`;d.transform=d.transform?`${d.transform} ${g}`:g}}}},unfix(){if(c){var u=t.style;u.position=c.position,u.width=c.width,u.height=c.height,u.transform=c.transform}}},o.a.element=t}function tr(t,r,e,n){var o=(t&St)!==0,s=(t&xt)!==0,i=o&&s,a=(t&Nt)!==0,c=i?"both":o?"in":"out",u,f=r.inert,l=r.style.overflow,d,p;function g(){return ht(()=>u??=e()(r,n?.()??{},{direction:c}))}var y={is_global:a,in(){if(r.inert=f,!o){p?.abort(),p?.reset?.();return}s||d?.abort(),d=V(r,g(),p,1,()=>{L(r,"introstart")},()=>{L(r,"introend"),d?.abort(),d=u=void 0,r.style.overflow=l})},out(F){if(!s){F?.(),u=void 0;return}r.inert=!0,p=V(r,g(),d,0,()=>{L(r,"outrostart")},()=>{L(r,"outroend"),F?.()})},stop:()=>{d?.abort(),p?.abort()}},b=lt;if((b.nodes.t??=[]).push(y),o&&_t){var h=a;if(!h){for(var v=b.parent;v&&(v.f&wt)!==0;)for(;(v=v.parent)&&(v.f&Tt)===0;);h=!v||(v.f&Ct)!==0}h&&Ft(()=>{mt(()=>y.in())})}}function V(t,r,e,n,o,s){var i=n===1,a=!1;if(kt(r)){var c;return ot(()=>{if(!a){var y=r({direction:i?"in":"out"});c=V(t,y,e,n,o,s)}}),{abort:()=>{a=!0,c?.abort()},deactivate:()=>c?.deactivate(),reset:()=>c?.reset(),t:()=>c?.t()??1-n}}if(e?.deactivate(),!r?.duration&&!r?.delay)return o(),s(),{abort:R,deactivate:R,reset:R,t:()=>n};const{delay:u=0,css:f,tick:l,easing:d=Pt}=r;var p,g=()=>1-n;return ot(()=>{if(!a){var y=[];if(i&&e===void 0&&(l&&l(0,1),f)){var b=ft(f(0,1));y.push(b,b)}p=t.animate(y,{duration:u,fill:"forwards"}),p.onfinish=()=>{p.cancel(),o();var h=e?.t()??1-n;e?.abort();var v=n-h,F=r.duration*Math.abs(v),X=[];if(F>0){var Z=!1;if(f)for(var tt=Math.ceil(F/16.666666666666668),z=0;z<=tt;z+=1){var rt=h+v*d(z/tt),et=ft(f(rt,1-rt));X.push(et),Z||=et.overflow==="hidden"}Z&&(t.style.overflow="hidden"),g=()=>{var j=p.currentTime;return h+v*d(j/F)},l&&K(()=>{if(p.playState!=="running")return!1;var j=g();return l(j,1-j),!0})}p=t.animate(X,{duration:F,fill:"forwards"}),p.onfinish=()=>{g=()=>n,l?.(n,1-n),s()}}}}),{abort:()=>{a=!0,p&&(p.cancel(),p.effect=null,p.onfinish=R)},deactivate:()=>{s=R},reset:()=>{n===0&&l?.(1,0)},t:()=>g()}}function J(t){return t}function M(t){const r=t-1;return r*r*r+1}function rr(t){return--t*t*t*t*t+1}function pt(t){return Object.prototype.toString.call(t)==="[object Date]"}function W(t,r){if(t===r||t!==t)return()=>t;const e=typeof t;if(e!==typeof r||Array.isArray(t)!==Array.isArray(r))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const n=r.map((o,s)=>W(t[s],o));return o=>n.map(s=>s(o))}if(e==="object"){if(!t||!r)throw new Error("Object cannot be null");if(pt(t)&&pt(r)){const s=t.getTime(),a=r.getTime()-s;return c=>new Date(s+c*a)}const n=Object.keys(r),o={};return n.forEach(s=>{o[s]=W(t[s],r[s])}),s=>{const i={};return n.forEach(a=>{i[a]=o[a](s)}),i}}if(e==="number"){const n=r-t;return o=>t+o*n}return()=>r}function jt(t,r={}){const e=Ot(t);let n,o=t;function s(i,a){if(o=i,t==null)return e.set(t=i),Promise.resolve();let c=n,u=!1,{delay:f=0,duration:l=400,easing:d=J,interpolate:p=W}={...r,...a};if(l===0)return c&&(c.abort(),c=null),e.set(t=o),Promise.resolve();const g=$.now()+f;let y;return n=K(b=>{if(b<g)return!0;u||(y=p(t,i),typeof l=="function"&&(l=l(t,i)),u=!0),c&&(c.abort(),c=null);const h=b-g;return h>l?(e.set(t=i),!1):(e.set(t=y(d(h/l))),!0)}),n.promise}return{set:s,update:(i,a)=>s(i(o,t),a),subscribe:e.subscribe}}var _,S,I,x;const Q=class Q{constructor(r,e={}){T(this,_);T(this,S);T(this,I);T(this,x,null);C(this,_,it(r)),C(this,S,it(r)),C(this,I,e),gt&&(at(m(this,_),"Tween.current"),at(m(this,S),"Tween.target"))}static of(r,e){const n=new Q(r(),e);return Mt(()=>{n.set(r())}),n}set(r,e){B(m(this,S),r);let{delay:n=0,duration:o=400,easing:s=J,interpolate:i=W}={...m(this,I),...e};if(o===0)return m(this,x)?.abort(),B(m(this,_),r),Promise.resolve();const a=$.now()+n;let c,u=!1,f=m(this,x);return C(this,x,K(l=>{if(l<a)return!0;if(!u){u=!0;const p=m(this,_).v;c=i(p,r),typeof o=="function"&&(o=o(p,r)),f?.abort(),f=null}const d=l-a;return d>o?(B(m(this,_),r),!1):(B(m(this,_),c(s(d/o))),!0)})),m(this,x).promise}get current(){return ct(m(this,_))}get target(){return ct(m(this,S))}set target(r){this.set(r)}};_=new WeakMap,S=new WeakMap,I=new WeakMap,x=new WeakMap;let G=Q;const k={fast:{settleMs:80,easing:M,exit:{duration:60,easing:M}},moderate:{settleMs:160,easing:M,exit:{duration:120,easing:M}},slow:{settleMs:240,easing:M,exit:{duration:160,easing:M}}},er={openMs:350,closeMs:280,reducedMs:200};var w,O,A;class nr{constructor(r,e="moderate"){T(this,w);T(this,O);T(this,A,Promise.resolve());C(this,O,k[e]),C(this,w,new G(r))}get current(){return m(this,w).current}get target(){return m(this,w).target}set target(r){this.set(r)}set(r,e){return mt(()=>{const n=e?.instant||P();return!n&&Object.is(r,m(this,w).target)?m(this,A):(m(this,w).set(m(this,w).current,{duration:0}),C(this,A,m(this,w).set(r,{duration:n?0:m(this,O).settleMs,easing:m(this,O).easing})),m(this,A))})}}w=new WeakMap,O=new WeakMap,A=new WeakMap;function Bt(t,r="moderate"){const e=jt(t);let n=t,o=Promise.resolve();const s=(i,a)=>{const c=a?.hard||P();return!c&&Object.is(i,n)||(n=i,e.set(ut(e),{duration:0}),o=e.set(i,{duration:c?0:k[r].settleMs,easing:k[r].easing})),o};return{subscribe:e.subscribe,set:s,update:(i,a)=>s(i(n,ut(e)),a)}}function sr(t,r="moderate"){const e=Bt(t,r);return{subscribe:e.subscribe,set:n=>e.set(n),update:n=>e.update(n)}}function or(t){return t.exit.duration+100}const Lt=t=>t;function Y(t){const r=t-1;return r*r*r+1}function vt(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function H(t){const r=typeof t=="string"&&t.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return r?[parseFloat(r[1]),r[2]||"px"]:[t,"px"]}function N(t,r,e){return Number.isNaN(r)?"":`${t}: ${e*r}px;`}function Vt(t,{delay:r=0,duration:e=400,easing:n=vt,amount:o=5,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.filter==="none"?"":i.filter,u=a*(1-s),[f,l]=H(o);return{delay:r,duration:e,easing:n,css:(d,p)=>`opacity: ${a-u*p}; filter: ${c} blur(${p*f}${l});`}}function $t(t,{delay:r=0,duration:e=400,easing:n=Lt}={}){const o=+getComputedStyle(t).opacity;return{delay:r,duration:e,easing:n,css:s=>`opacity: ${s*o}`}}function Wt(t,{delay:r=0,duration:e=400,easing:n=Y,x:o=0,y:s=0,opacity:i=0}={}){const a=getComputedStyle(t),c=+a.opacity,u=a.transform==="none"?"":a.transform,f=c*(1-i),[l,d]=H(o),[p,g]=H(s);return{delay:r,duration:e,easing:n,css:(y,b)=>`
2
2
  transform: ${u} translate(${(1-y)*l}${d}, ${(1-y)*p}${g});
3
3
  opacity: ${c-f*b}`}}var U=!1;function qt(t,{delay:r=0,duration:e=400,easing:n=Y,axis:o="y"}={}){const s=getComputedStyle(t);gt&&!U&&/(contents|inline|table)/.test(s.display)&&(U=!0,Promise.resolve().then(()=>U=!1),At(s.display));const i=+s.opacity,a=o==="y"?"height":"width",c=parseFloat(s[a]),u=o==="y"?["top","bottom"]:["left","right"],f=u.map(h=>`${h[0].toUpperCase()}${h.slice(1)}`),l=parseFloat(s[`padding${f[0]}`]),d=parseFloat(s[`padding${f[1]}`]),p=parseFloat(s[`margin${f[0]}`]),g=parseFloat(s[`margin${f[1]}`]),y=parseFloat(s[`border${f[0]}Width`]),b=parseFloat(s[`border${f[1]}Width`]);return{delay:r,duration:e,easing:n,css:h=>`overflow: hidden;opacity: ${Math.min(h*20,1)*i};`+N(a,c,h)+N(`padding-${u[0]}`,l,h)+N(`padding-${u[1]}`,d,h)+N(`margin-${u[0]}`,p,h)+N(`margin-${u[1]}`,g,h)+N(`border-${u[0]}-width`,y,h)+N(`border-${u[1]}-width`,b,h)+`min-${a}: 0`}}function zt(t,{delay:r=0,duration:e=400,easing:n=Y,start:o=0,opacity:s=0}={}){const i=getComputedStyle(t),a=+i.opacity,c=i.transform==="none"?"":i.transform,u=1-o,f=a*(1-s);return{delay:r,duration:e,easing:n,css:(l,d)=>`
4
4
  transform: ${c} scale(${1-u*d});
@@ -1 +1 @@
1
- import{t as _t,bq as _,a_ as L,by as mt,bs as gt,b as vt,bo as x,bu as be,bt as Te}from"./syxE6N1N.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as N,ay as m,W as r,bn as It,aA as g,aD as t,bS as z,a5 as _e,bH as De,bA as me,b_ as M,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./DYhIMPy1.js";import{v as $t,n as Pt,u as Be,i as At}from"./XNWMykPO.js";import{s as Me}from"./g2wqtBd2.js";import{c as S}from"./CrYKIqze.js";import{cD as Et,bj as Ot,aI as Ft,F as ne,aV as Tt,aJ as Dt,bk as Bt,a4 as Ve,as as Lt}from"./DLGpFr8e.js";import{W as Nt,T as zt,G as St,C as Rt,X as Ht,J as Wt,V as Mt}from"./BiQ0kKJZ.js";import{f as ge}from"./BgtLN2kD.js";import{h as Vt}from"./ChbqD4nY.js";import{k as jt,R as Gt,o as Jt,n as Ut,m as Yt,l as je}from"./BOAArWys.js";import{k as ve}from"./CToUKfVS.js";import{c as qt}from"./ChTqQfQN.js";import"./SFeFj2Mb.js";import{Ig as Ge,mU as Kt,EY as Xt}from"./CpBlZvWi.js";import{w as Qt}from"./CdmW6laI.js";import{i as q}from"./DDBvEq_9.js";import{bu as Zt,b8 as er,b5 as tr}from"./1eeMnGBt.js";import{cl as rr}from"./CNJgwoNk.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Mt,jetbrains:Wt,xcode:Ht};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),K=O.filter(({installed:X,id:ye})=>X&&!se.has(ye));return K.some(({id:X})=>X===Le)||se.has(Le)?K:[...K,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),br=E("<span><!></span>"),_r=E('<img class="w-4 h-4"/>'),mr=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return _t({component:wr,...O});ht(s,!0);const se=()=>be(qe,"$installedEditors$",ie),K=()=>be(Ke,"$hiddenEditorIds$",ie),X=()=>be(Xe,"$isWorkspaceHostLocal$",ie),ye=()=>be(Ye,"$openAction",ie),[ie,Ue]=gt(),le=(e,d=kt)=>{var u=N(),p=m(u);S(p,()=>Gt,(te,G)=>{G(te,{get value(){return t(v).id},children:(F,B)=>{var k=N(),T=m(k);Pt(T,17,d,C=>C.id,(C,c)=>{var J=N(),h=m(J);{const $=a=>{var i=N(),y=m(i);{var H=l=>{var A=dr();M(()=>Be(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},b=l=>{const A=o(()=>t(c).icon);var W=N(),D=m(W);S(D,()=>t(A),(U,re)=>{re(U,{size:16})}),r(l,W)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};L(y,l=>{t(c).iconBase64?l(H):t(c).icon?l(b,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>jt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,H)=>{var b=pr(),P=m(b),l=oe(P,!0),A=z(P,2);{var W=D=>{var U=ur(),re=oe(U,!0);M(()=>ae(re,t(c).shortcut)),r(D,U)};L(A,D=>{t(c).shortcut&&D(W)})}M(()=>ae(l,t(c).label)),r(y,b)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=qt("OpenComboButton");let I=_(s,"filePath",7),ce=_(s,"workspaceId",7,""),de=_(s,"isDirectory",7,!0),we=_(s,"workspaceFolderPath",7),xe=_(s,"class",7,""),ue=_(s,"headerText",7),Ie=_(s,"usePortal",7,!0),ke=_(s,"side",7,"bottom"),V=_(s,"variant",7,"default"),Q=_(s,"branchName",7),Ce=_(s,"compact",7,!1),$e=_(s,"embedded",7,!1),Z=_(s,"inline",7,!1),j=_(s,"iconOnly",7,!1),R=_(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Ye=Zt(),qe=er(Pe),Ke=tr(),Xe=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(Kt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,K()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Bt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Dt}]:[]];return!Ze||!X()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await q("external-editors:open-with-other",{path:d});p?.success?De(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await q("shell:showItemInFolder",{path:d});break;case"vscode":await q("vscode:open",Ee());break;case"jetbrains":await q("jetbrains:open",Ee());break;case"xcode":await q("xcode:open",Ee());break;case"generic":default:{await q("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ge.dispatch(Xt(e)),Oe(e),De(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return j()},set iconOnly(e=!1){j(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:mt,$on:(e,d)=>vt(s,e,d)},He=N(),ot=m(He);{var at=e=>{var d=he(),u=m(d);{var p=G=>{var F=he(),B=m(F);S(B,()=>Yt,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=m(h);S($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,H)=>{var b=fr(),P=oe(b,!0);M(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,b)},$$slots:{default:!0}})});var n=z($,2);S(n,()=>Ut,(a,i)=>{i(a,{class:"w-60",children:(y,H)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=z(B,2);S(k,()=>je,(T,C)=>{C(T,{})}),r(G,F)};L(u,G=>{t(fe).length&&G(p)})}var te=z(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=_e(d);{const p=(F,B)=>{let k=()=>(B?.()).props;var T=N(),C=m(T);{var c=n=>{var a=br();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=_e(a);Me(i,R),me(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>j()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>j()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),H=o(()=>j()&&V()==="sidebar"&&t(ee)),b=o(()=>!j()),P=o(()=>j()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(H)},get wrapContent(){return t(b)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var W=N(),D=m(W);Me(D,R),r(l,W)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=_e(a);{let b=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(b)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,W)=>{var D=mr(),U=m(D);{var re=w=>{var Y=_r();M(()=>{Be(Y,"src",`data:image/png;base64,${t(v).iconBase64??""}`),Be(Y,"alt",t(v).label)}),r(w,Y)},it=w=>{const Y=o(()=>t(v).icon);var We=N(),pt=m(We);S(pt,()=>t(Y),(ft,bt)=>{bt(ft,{size:14})}),r(w,We)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let Y=o(()=>Je(t(v).category));ne(w,{get icon(){return t(Y)},class:"w-3.5 h-3.5 opacity-60"})}};L(U,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=z(U,2),ut=oe(dt,!0);M(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,D)},$$slots:{default:!0}})}var y=z(i,2);{var H=b=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(b,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};L(y,b=>{t(f).length>1&&b(H)})}me(a),r(n,a)};L(C,n=>{Z()&&R()?n(c):R()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var B=hr(),k=_e(B);{var T=h=>{var $=vr(),n=oe($,!0);M(()=>ae(n,ue())),r(h,$)};L(k,h=>{ue()&&h(T)})}var C=z(k,2);{var c=h=>{var $=he(),n=m($);le(n,()=>t(fe));var a=z(n,2);S(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};L(C,h=>{t(fe).length&&h(c)})}var J=z(C,2);le(J,()=>t(Se)),me(B),r(F,B)};let G=o(()=>Z()&&R()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(G)},get open(){return t(ee)},set open(F){De(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}me(d),M(()=>$t(d,1,`${Z()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};L(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,He);var st=It(rt);return Ue(),st}export{wr as O,sr as a,Je as r,ir as s};
1
+ import{t as _t,bq as _,a_ as L,by as mt,bs as gt,b as vt,bo as x,bu as be,bt as Te}from"./CNdlzZOD.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as N,ay as m,W as r,bn as It,aA as g,aD as t,bS as z,a5 as _e,bH as De,bA as me,b_ as M,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./DYhIMPy1.js";import{v as $t,n as Pt,u as Be,i as At}from"./9iFKJfkz.js";import{s as Me}from"./DIh4SQwA.js";import{c as S}from"./b0njYmMP.js";import{cD as Et,bj as Ot,aI as Ft,F as ne,aV as Tt,aJ as Dt,bk as Bt,a4 as Ve,as as Lt}from"./BIfN-lxi.js";import{W as Nt,T as zt,G as St,C as Rt,X as Ht,J as Wt,V as Mt}from"./jD6u_pUu.js";import{f as ge}from"./DwkxcWNI.js";import{h as Vt}from"./D6NxvjAo.js";import{k as jt,R as Gt,o as Jt,n as Ut,m as Yt,l as je}from"./BwVx_Xm9.js";import{k as ve}from"./YcWsBw0J.js";import{c as qt}from"./ChTqQfQN.js";import"./CqnfptVg.js";import{Ig as Ge,mU as Kt,EY as Xt}from"./BJpbRkma.js";import{w as Qt}from"./DrH3w3jB.js";import{i as q}from"./M0UFWl_S.js";import{bu as Zt,b8 as er,b5 as tr}from"./D7NWkz7l.js";import{cl as rr}from"./BsesepNZ.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Mt,jetbrains:Wt,xcode:Ht};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function Je(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),K=O.filter(({installed:X,id:ye})=>X&&!se.has(ye));return K.some(({id:X})=>X===Le)||se.has(Le)?K:[...K,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),br=E("<span><!></span>"),_r=E('<img class="w-4 h-4"/>'),mr=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return _t({component:wr,...O});ht(s,!0);const se=()=>be(qe,"$installedEditors$",ie),K=()=>be(Ke,"$hiddenEditorIds$",ie),X=()=>be(Xe,"$isWorkspaceHostLocal$",ie),ye=()=>be(Ye,"$openAction",ie),[ie,Ue]=gt(),le=(e,d=kt)=>{var u=N(),p=m(u);S(p,()=>Gt,(te,G)=>{G(te,{get value(){return t(v).id},children:(F,B)=>{var k=N(),T=m(k);Pt(T,17,d,C=>C.id,(C,c)=>{var J=N(),h=m(J);{const $=a=>{var i=N(),y=m(i);{var H=l=>{var A=dr();M(()=>Be(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},b=l=>{const A=o(()=>t(c).icon);var W=N(),D=m(W);S(D,()=>t(A),(U,re)=>{re(U,{size:16})}),r(l,W)},P=l=>{{let A=o(()=>t(c).faIcon??Je(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};L(y,l=>{t(c).iconBase64?l(H):t(c).icon?l(b,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>jt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,H)=>{var b=pr(),P=m(b),l=oe(P,!0),A=z(P,2);{var W=D=>{var U=ur(),re=oe(U,!0);M(()=>ae(re,t(c).shortcut)),r(D,U)};L(A,D=>{t(c).shortcut&&D(W)})}M(()=>ae(l,t(c).label)),r(y,b)},$$slots:{leading:!0,default:!0}})})}r(C,J)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=qt("OpenComboButton");let I=_(s,"filePath",7),ce=_(s,"workspaceId",7,""),de=_(s,"isDirectory",7,!0),we=_(s,"workspaceFolderPath",7),xe=_(s,"class",7,""),ue=_(s,"headerText",7),Ie=_(s,"usePortal",7,!0),ke=_(s,"side",7,"bottom"),V=_(s,"variant",7,"default"),Q=_(s,"branchName",7),Ce=_(s,"compact",7,!1),$e=_(s,"embedded",7,!1),Z=_(s,"inline",7,!1),j=_(s,"iconOnly",7,!1),R=_(s,"children",7,void 0);const ze=o(()=>V()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Ye=Zt(),qe=er(Pe),Ke=tr(),Xe=rr(Pe);let ee=Ct(!1);xt(()=>{Ge.dispatch(Kt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,K()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Bt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Dt}]:[]];return!Ze||!X()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await q("external-editors:open-with-other",{path:d});p?.success?De(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await q("shell:showItemInFolder",{path:d});break;case"vscode":await q("vscode:open",Ee());break;case"jetbrains":await q("jetbrains:open",Ee());break;case"xcode":await q("xcode:open",Ee());break;case"generic":default:{await q("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ge.dispatch(Xt(e)),Oe(e),De(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return V()},set variant(e="default"){V(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return j()},set iconOnly(e=!1){j(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:mt,$on:(e,d)=>vt(s,e,d)},He=N(),ot=m(He);{var at=e=>{var d=he(),u=m(d);{var p=G=>{var F=he(),B=m(F);S(B,()=>Yt,(T,C)=>{C(T,{children:(c,J)=>{var h=he(),$=m(h);S($,()=>Jt,(a,i)=>{i(a,{get icon(){return Ve},children:(y,H)=>{var b=fr(),P=oe(b,!0);M(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,b)},$$slots:{default:!0}})});var n=z($,2);S(n,()=>Ut,(a,i)=>{i(a,{class:"w-60",children:(y,H)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=z(B,2);S(k,()=>je,(T,C)=>{C(T,{})}),r(G,F)};L(u,G=>{t(fe).length&&G(p)})}var te=z(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=_e(d);{const p=(F,B)=>{let k=()=>(B?.()).props;var T=N(),C=m(T);{var c=n=>{var a=br();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=_e(a);Me(i,R),me(a),r(n,a)},J=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>j()&&V()!=="sidebar"?"plain":"ghost"),y=o(()=>j()?V()==="sidebar"?"icon-compact":"icon-sm":void 0),H=o(()=>j()&&V()==="sidebar"&&t(ee)),b=o(()=>!j()),P=o(()=>j()?V()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(H)},get wrapContent(){return t(b)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var W=N(),D=m(W);Me(D,R),r(l,W)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return Ve},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=_e(a);{let b=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(b)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,W)=>{var D=mr(),U=m(D);{var re=w=>{var Y=_r();M(()=>{Be(Y,"src",`data:image/png;base64,${t(v).iconBase64??""}`),Be(Y,"alt",t(v).label)}),r(w,Y)},it=w=>{const Y=o(()=>t(v).icon);var We=N(),pt=m(We);S(pt,()=>t(Y),(ft,bt)=>{bt(ft,{size:14})}),r(w,We)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let Y=o(()=>Je(t(v).category));ne(w,{get icon(){return t(Y)},class:"w-3.5 h-3.5 opacity-60"})}};L(U,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=z(U,2),ut=oe(dt,!0);M(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,D)},$$slots:{default:!0}})}var y=z(i,2);{var H=b=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(b,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};L(y,b=>{t(f).length>1&&b(H)})}me(a),r(n,a)};L(C,n=>{Z()&&R()?n(c):R()?n(J,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var B=hr(),k=_e(B);{var T=h=>{var $=vr(),n=oe($,!0);M(()=>ae(n,ue())),r(h,$)};L(k,h=>{ue()&&h(T)})}var C=z(k,2);{var c=h=>{var $=he(),n=m($);le(n,()=>t(fe));var a=z(n,2);S(a,()=>je,(i,y)=>{y(i,{})}),r(h,$)};L(C,h=>{t(fe).length&&h(c)})}var J=z(C,2);le(J,()=>t(Se)),me(B),r(F,B)};let G=o(()=>Z()&&R()?"contents!":"");Vt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(G)},get open(){return t(ee)},set open(F){De(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}me(d),M(()=>$t(d,1,`${Z()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};L(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,He);var st=It(rt);return Ue(),st}export{wr as O,sr as a,Je as r,ir as s};
@@ -1,4 +1,4 @@
1
- var Oe=Object.defineProperty;var ke=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ke("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),k=(t,e,s)=>e.has(t)?ke("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,a_ as ue,by as de,b as ce,bt as Re,bq as i,br as De}from"./syxE6N1N.js";import{ao as N,aZ as He,aL as Je,bh as je,c9 as m,aD as b,bH as w,bs as le,a7 as he,ay as ee,W as D,bn as fe,bo as Ge,bS as Ve,aA as o,a5 as Se,bf as We,bA as Pe,aB as Le,b_ as Fe,aC as ge}from"./DYhIMPy1.js";import{c as Ue}from"./CrYKIqze.js";import{i as Ze,v as Ke,l as Qe}from"./XNWMykPO.js";import{H as Xe}from"./h64QYX68.js";import{s as Ce}from"./g2wqtBd2.js";import{h as Ie,av as Ye,bM as se,l as $e,ad as et,aE as _e,aF as we,a$ as tt,bh as rt,aS as nt,aT as xe,aJ as C,bn as st}from"./BgtLN2kD.js";import"./BWYr8u9e.js";import{i as at}from"./BeP4UORy.js";var it="font-weight: bold",ot="font-weight: normal";function qe(t){N?console.warn(`%c[svelte] state_snapshot_uncloneable
1
+ var Oe=Object.defineProperty;var ke=t=>{throw TypeError(t)};var Be=(t,e,s)=>e in t?Oe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var O=(t,e,s)=>Be(t,typeof e!="symbol"?e+"":e,s),ye=(t,e,s)=>e.has(t)||ke("Cannot "+s);var l=(t,e,s)=>(ye(t,e,"read from private field"),s?s.call(t):e.get(t)),k=(t,e,s)=>e.has(t)?ke("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s);var Y=(t,e,s)=>(ye(t,e,"access private method"),s);import{t as oe,a_ as ue,by as de,b as ce,bt as Re,bq as i,br as De}from"./CNdlzZOD.js";import{ao as N,aZ as He,aL as Je,bh as je,c9 as m,aD as b,bH as w,bs as le,a7 as he,ay as ee,W as D,bn as fe,bo as Ge,bS as Ve,aA as o,a5 as Se,bf as We,bA as Pe,aB as Le,b_ as Fe,aC as ge}from"./DYhIMPy1.js";import{c as Ue}from"./b0njYmMP.js";import{i as Ze,v as Ke,l as Qe}from"./9iFKJfkz.js";import{H as Xe}from"./CPzusSaQ.js";import{s as Ce}from"./DIh4SQwA.js";import{h as Ie,av as Ye,bM as se,l as $e,ad as et,aE as _e,aF as we,a$ as tt,bh as rt,aS as nt,aT as xe,aJ as C,bn as st}from"./DwkxcWNI.js";import"./BWYr8u9e.js";import{i as at}from"./BeP4UORy.js";var it="font-weight: bold",ot="font-weight: normal";function qe(t){N?console.warn(`%c[svelte] state_snapshot_uncloneable
2
2
  %c${t?`The following properties cannot be cloned with \`$state.snapshot\` — the return value contains the originals:
3
3
 
4
4
  ${t}`:"Value cannot be cloned with `$state.snapshot` — the original value was returned"}
@@ -1,4 +1,4 @@
1
- import{HV as Q,Ig as r,rC as Re,nz as p,AU as Oe,xL as E,qn as Le,ny as v,AO as Ne,g as V,rb as Y,AP as G,c as Te,nl as J,A as De,rj as k,ha as Be,D as xe}from"./CpBlZvWi.js";import{k as He}from"./uXuxG9cN.js";import{l as je,s as We}from"./BNaHRmzO.js";import{c0 as _,cC as Fe,c9 as y,bZ as I,ct as C,cL as z,cK as Ke,cB as qe,b_ as Ue,bu as $e,m as Qe,G as Ve,dQ as Ye,dA as X,ax as Ge,ck as Je,dp as Z,cI as ze,cJ as Xe,cN as Ze}from"./CNJgwoNk.js";import{P as et,c as tt}from"./BvFAWM27.js";import{bo as f}from"./syxE6N1N.js";import{t as nt}from"./1cW9cCot.js";import{v as ot,y as rt}from"./b9Vr5sSO.js";function st(e,t,n){if(!e||!n?.length)return null;const o=new Set(n);if(t!==null&&!o.has(t))return null;const s=e.lastIndexOf("/"),c=s>=0?e.slice(s+1):"",a=o.has(c)?e.slice(0,s):e;return t===null?a:`${a}/${t}`}const ct={major:5,minor:2};function at(e){const{major:t,minor:n}=ct;return He(e,t,n)}function L(e,t,n){const o=Q(e);return o.providerId&&n(o.providerId)===t?o.modelId:e}function O(e,t){const n=t(e);if(n)return n;const o=/\/(minimal|low|medium|high|xhigh|max|ultra|none)$/i.exec(e);if(!o||o.index===0)return;const s=t(e.slice(0,o.index)),c=o[1].toLowerCase();return s?`${s} (${c.charAt(0).toUpperCase()}${c.slice(1)})`:void 0}function lt(e,t){return JSON.stringify([t||null,e])}const it=r.createSelector((e,t)=>(t?e.providerModels?.byWorkspaceId?.[t]:e.providerModels?.byProviderId)??{}),Cn=r.createSelector((e,t,n)=>it.select(e,n)[t]),In=r.createSelector(e=>e.providerModels?.clearEpoch??0),An=r.createSelector((e,t)=>(t?e.providerModels?.requestsByWorkspaceId?.[t]?.map:e.providerModels?.requests?.map)??{}),dt=r.createSelector(e=>Object.fromEntries(Object.values(e.providerModels?.observers?.map??{}).flatMap(({providerIds:t,workspaceId:n})=>t.map(o=>[lt(o,n),{providerId:o,workspaceId:n}])))),En=r.createSelector(e=>Object.keys(dt.select(e)).sort()),ut=r.createSelector((e,t,n)=>Re(e.providerModels?.learnedNames??{},t,n)),kn=r.createSelector(e=>e.providerModels.learnedNames),ft={auggie:"auggie",claudeCode:"claude-code",codex:"codex",mock:"mock",opencode:"opencode",pi:"pi",cortex:"cortex",droid:"droid",grok:"grok",unsloth:"unsloth",antigravity:"antigravity",cursor:"cursor"},pt=new Map(Object.entries(ft).map(([e,t])=>[t,e]));function mt(e,t){const n=pt.get(t);return n===void 0?void 0:e?.providers[n]}function _n(e,t){const n=mt(e,t);return n?.available===!0&&ee(t,n.authenticated)}const wn=new Set(["claude-code"]);function ee(e,t){return t!==!1}const te=r.createSelector(e=>e.agentAvailability.providerStatusMap),Rn=r.createSelector(e=>e.agentAvailability.providerLoadingMap),On=r.createSelector(e=>e.agentAvailability.providerCheckEpochMap),gt=r.createSelector(e=>e.agentAvailability.hasCheckedOnce),Ln=r.createSelector(e=>Object.values(e.agentAvailability.providerLoadingMap).some(t=>t)),Nn=r.createSelector(e=>e.agentAvailability.npxStatus),Tn=r.createSelector(e=>e.agentAvailability.hiddenProviders),Dn=r.createSelector(e=>e.agentAvailability.discoveryError),Bn=r.createSelector(e=>e.agentAvailability.discoveryRevision),xn=r.createSelector(e=>e.agentAvailability.refreshModelsPending),Hn=r.createSelector(e=>e.agentAvailability.refreshModelsRevision),jn=r.createSelector(e=>e.sidebarNav?.onboardingActive&&e.userPreferences.providerSetupHydratedBackendId===e.connections.windowBackendId&&!e.userPreferences.hasCompletedProviderSetup&&_.select(e)==="owner"?Fe.select(e):null),Wn=r.createSelector((e,t)=>p(e.providerSettings.requests).filter(n=>n.sessionId===t)),Fn=r.createSelector((e,t)=>e.providerSettings.sessions.includes(t)),Kn=r.createSelector((e,t)=>e.providerSettings.writeRevisions?.[t]??0),qn=r.createSelector(e=>e.providerSettings.paths),Un=r.createSelector(e=>e.providerSettings.pathsRevision),M=r.createSelector(e=>y.select(e)?I.select(e)?.defaultProviderId??"":e.model.defaultProviderId);r.createSelector((e,t)=>M.select(e)===t);const bt=r.createSelector(e=>y.select(e)?Object.fromEntries((I.select(e)?.enabledProviderIds??[]).map(t=>[t,!0])):e.providerSettings.enabledProviders),ne=r.createSelector((e,t)=>{if(y.select(e))return I.select(e)?.enabledProviderIds?.includes(t)===!0;const n=e.providerSettings.nonDisableableProviderIds??[];return Oe(e.providerSettings.enabledProviders,t,{canBeDisabled:!n.includes(t)})}),oe=r.createSelector(e=>{if(y.select(e))return I.select(e)?.enabledProviderIds??[];const t=e.providerSettings.enabledProviders,n=e.providerCatalog?p(e.providerCatalog.providers):[],o=new Set(n.filter(a=>ne.select(e,a.id)).map(a=>a.id)),s=M.select(e),c=E(s);c&&t[c]!==!1&&o.add(c);for(const[a,l]of Object.entries(t))l&&o.add(a);return[...o]});function vt(e,t){const n=z.select(e,t);return y.select(e)?n?.visible!==!0:!!(n?.requiresEnvVar||n?.requiresFeatureCode)}const w=r.createSelector(e=>{const t=te.select(e);return oe.select(e).filter(n=>!vt(e,n)&&t[n]?.available===!0)}),$n=r.createSelector((e,t)=>{const n=te.select(e),o=C.select(e,t);return w.select(e).filter(s=>C.select(e,s)!==o&&ne.select(e,s)&&ee(s,n[s]?.authenticated))}),Qn=r.createSelector(e=>gt.select(e)?w.select(e):oe.select(e)),Vn=r.createSelector(e=>{const t=E(M.select(e));return w.select(e).includes(t)}),Yn=r.createSelector(e=>e.providerSettings.fastMode),Gn=r.createSelector(e=>{const t=e.providerSettings.fastMode,n={...t?.confirmed};for(const[o,s]of Object.entries(t?.pending??{}))n[o]=s.enabled;return n}),Jn=r.createSelector(e=>Object.values(g(e).defaults).some(t=>t.remoteLaunch!==void 0)),zn=r.createSelector(e=>e.providerSettings.fastMode?.supported?["claude-code","codex"].filter(t=>z.select(e,t)?.supportsFastMode===!0):[]),g=e=>e.providerSettings?.profiles??Le,Xn=r.createSelector(e=>Ke.select(e).filter(t=>t.supportsProfiles===!0).map(t=>t.id)),Zn=r.createSelector((e,t)=>p(g(e).items).filter(n=>n.baseProviderId===t)),eo=r.createSelector(e=>[...new Set(p(g(e).items).map(t=>t.baseProviderId))]),to=r.createSelector(e=>g(e).defaults),no=r.createSelector((e,t)=>g(e).defaults[t]),oo=r.createSelector((e,t)=>v(g(e).items,t)),ro=r.createSelector(e=>g(e).revision),so=r.createSelector(e=>g(e).loadStatus),co=r.createSelector(e=>g(e).status),ao=r.createSelector(e=>g(e).activation),lo=r.createSelector(e=>Object.fromEntries(p(g(e).mutations).map(t=>[t.id,t]))),St={},io=r.createSelector(e=>g(e).identity??St),ht={},uo=r.createSelector(e=>g(e).setups??ht),fo=r.createSelector(e=>(e.providerSettings?.sessions.length??0)>0),po=r.createSelector(e=>e.model),mo=r.createSelector(e=>{const t=qe.select(e),n=_.select(e);if(!t||n!=="owner"&&n!=="member")return null;const o=M.select(e);return n==="member"&&!o?null:JSON.stringify([t,o,n==="member"?Ue.select(e):null])});function re(e,t){return t??M.select(e)}const x=r.createSelector((e,t)=>{const n=re(e,t),o=e.model.availableModelsProviderId===n?p(e.model.availableModels):[],s=I.select(e),c=y.select(e)?s?.defaultProviderId===n?s.defaultModelId:null:e.model.providerModels[n];return c||(w.select(e).includes(n)?Ne(o):"")}),Pt=r.createSelector((e,t)=>x.select(e,t)!==""),go=r.createSelector(e=>M.select(e)!==""||Pt.select(e)),yt=r.createSelector(e=>e.model.availableModels),bo=r.createSelector(e=>p(yt.select(e))),vo=r.createSelector(e=>e.model.availableModelsProviderId),se=r.createSelector((e,t)=>{const n=re(e,t);return e.model.loadingState[n]??null}),So=r.createSelector((e,t)=>se.select(e,t)?.status==="loading"),ho=r.createSelector((e,t)=>{const n=se.select(e,t);return n?.status!=="error"?null:n.error??null}),Po=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&(t[n]=o.warning);return t}),yo=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.stale&&(t[n]=!0);return t}),Mo=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&o.warningKind&&(t[n]=o.warningKind);return t}),Co=r.createSelector(e=>e.model.providerModels),Io=r.createSelector(e=>e.model.defaultReasoningEffort),Ao=r.createSelector(e=>e.model.modelPickerCollapsedGroups),Eo=r.createSelector((e,t)=>e.model.fallbackInfoByAgentId[t]??null),Mt=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=L(n,c,s),l=e.model?.availableModels;if(!o&&l&&(!c||c===e.model.availableModelsProviderId)){const i=v(l,n)??v(l,a);if(i)return i}const d=o?e.providerModels?.byWorkspaceId?.[o]?.[c]:e.providerModels?.byProviderId?.[c];return d?.models.find(i=>i.value===n)??d?.models.find(i=>L(i.value,c,s)===a)}),ko=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=L(n,c,s),l=i=>Mt.select(e,c,i,o)?.label,d=i=>ut.select(e,c,i);return O(n,l)??(a!==n?O(a,l):void 0)??d(n)??O(a,d)}),Ct=r.createSelector((e,t)=>{if(!t)return;const n=e.model?.availableModels;if(!n)return;const o=N(t);return v(n,o)?.effortLevels});function N(e){const t=Q(e).modelId,n=t.indexOf("/");return n>0?t.slice(0,n):t}const It=r.createSelector((e,t,n,o)=>{if(n){if(!o&&(!t||t===e.model?.availableModelsProviderId)){const s=Ct.select(e,n);if(s)return s}if(t){const s=N(n);return(o?e.providerModels?.byWorkspaceId?.[o]?.[t]:e.providerModels?.byProviderId[t])?.models.find(a=>N(a.value)===s)?.effortLevels}}}),At=r.createSelector((e,t)=>{const n=e.agentSessions?.byAgentId[t];if(!n)return;if(Array.isArray(n.effortLevels)&&n.effortLevels.length>0)return n.effortLevels;const o=n.workspaceId?e.providerCatalog?.byWorkspaceId?.[n.workspaceId]?.settings??[]:void 0,s=o?.find(u=>u.path==="model.defaultProvider")?.value,c=o?typeof s=="string"?s:"":$e.select(e),a=Qe(n,c),l=C.select(e,a??c,n.workspaceId),d=o?.find(u=>u.path==="model.providerDefaults")?.value,i=d&&typeof d=="object"?d[l]:void 0,S=n.model??(o?typeof i=="string"?i:"":x.select(e,l));return It.select(e,l,S,n.workspaceId)}),ce="application/vnd.intent.question+json";function Et(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.label=="string"&&t.label.length>0&&(t.description===void 0||typeof t.description=="string")}function kt(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.attachmentId=="string"&&typeof t.header=="string"&&t.header.length>0&&typeof t.question=="string"&&t.question.length>0&&(t.explanation===void 0||typeof t.explanation=="string")&&Array.isArray(t.options)&&t.options.length>=2&&t.options.every(Et)&&(t.multiSelect===void 0||typeof t.multiSelect=="boolean")}function _o(e){if(!e||typeof e!="object")return!1;const t=e;if(t.type!=="resource")return!1;const n=t.resource;return typeof n=="object"&&n!==null&&n.mimeType===ce}function _t(e){if(!e||typeof e!="object")return null;const t=e,n=t.resource??t.metadata?.resource??t;if(!n||typeof n!="object"||n.mimeType!==ce||typeof n.text!="string")return null;try{const o=JSON.parse(n.text);return kt(o)?o:null}catch{return null}}const wt="attachmentId",Rt=/^tar-[0-9a-f]{12}$/;function ae(e){if(!e||typeof e!="object")return null;const t=e;if(t.type!=="resource")return null;const n=t.resource;return!n||typeof n!="object"||typeof n.uri!="string"||typeof n.mimeType!="string"||typeof n.text!="string"||n.name!==void 0&&typeof n.name!="string"?null:n}function le(e){const t=ae(e);if(!t)return null;try{const n=JSON.parse(t.text);if(!n||typeof n!="object"||Array.isArray(n))return null;const o=n[wt];return typeof o=="string"&&Rt.test(o)?o:null}catch{return null}}function T(e){return Array.isArray(e)?`[${e.map(T).join(",")}]`:e&&typeof e=="object"?`{${Object.entries(e).sort(([n],[o])=>n<o?-1:n>o?1:0).map(([n,o])=>`${JSON.stringify(n)}:${T(o)}`).join(",")}}`:JSON.stringify(e)??"undefined"}function Ot(e){const t=ae(e);if(!t)return null;if(t.mimeType===et)try{const o=JSON.parse(t.text);if(tt(o))return`proposal:${o.kind}:${o.applyToolCallId??o.preview.title}:${T(o.payload)}`}catch{}const n=le(e);return n?`nonce:${n}`:t.uri.length>0?`uri:${t.uri}:${t.text}`:null}function H(e){return le(e)!==null}function Lt(e){const t=new Map,n=[];for(const o of e){const s=Ot(o);if(s===null){n.push(o);continue}const c=t.get(s);if(c===void 0){t.set(s,n.length),n.push(o);continue}H(o)&&!H(n[c])&&(n[c]=o)}return n}function ie(e,t){if(typeof t!="string"||t.length===0)return!1;const n=e?.dismissedQuestionsMessageId;return typeof n=="string"&&n===t}function Nt(e){if(e.skipped)return"(skipped)";const t=[...e.selectedLabels],n=e.imageBlocks?.length??0,o=n===0?"":n===1?f.chat_questionWizard_imagesAttached_label_one():f.chat_questionWizard_imagesAttached_label_many({count:nt(n)});return(e.freeText||n>0)&&t.push(`(Other) ${[e.freeText,o].filter(Boolean).join(" ")}`),t.length===0?"(skipped)":t.join(", ")}function Tt(e){return e.map(t=>`Q: ${t.question.question}
1
+ import{HV as Q,Ig as r,rC as Re,nz as p,AU as Oe,xL as E,qn as Le,ny as v,AO as Ne,g as V,rb as Y,AP as G,c as Te,nl as J,A as De,rj as k,ha as Be,D as xe}from"./BJpbRkma.js";import{k as He}from"./uXuxG9cN.js";import{l as je,s as We}from"./1JDc8gDP.js";import{c0 as _,cC as Fe,c9 as y,bZ as I,ct as C,cL as z,cK as Ke,cB as qe,b_ as Ue,bu as $e,m as Qe,G as Ve,dQ as Ye,dA as X,ax as Ge,ck as Je,dp as Z,cI as ze,cJ as Xe,cN as Ze}from"./BsesepNZ.js";import{P as et,c as tt}from"./BvFAWM27.js";import{bo as f}from"./CNdlzZOD.js";import{t as nt}from"./HVSUZ4Kq.js";import{v as ot,y as rt}from"./DhJNH_hq.js";function st(e,t,n){if(!e||!n?.length)return null;const o=new Set(n);if(t!==null&&!o.has(t))return null;const s=e.lastIndexOf("/"),c=s>=0?e.slice(s+1):"",a=o.has(c)?e.slice(0,s):e;return t===null?a:`${a}/${t}`}const ct={major:5,minor:2};function at(e){const{major:t,minor:n}=ct;return He(e,t,n)}function L(e,t,n){const o=Q(e);return o.providerId&&n(o.providerId)===t?o.modelId:e}function O(e,t){const n=t(e);if(n)return n;const o=/\/(minimal|low|medium|high|xhigh|max|ultra|none)$/i.exec(e);if(!o||o.index===0)return;const s=t(e.slice(0,o.index)),c=o[1].toLowerCase();return s?`${s} (${c.charAt(0).toUpperCase()}${c.slice(1)})`:void 0}function lt(e,t){return JSON.stringify([t||null,e])}const it=r.createSelector((e,t)=>(t?e.providerModels?.byWorkspaceId?.[t]:e.providerModels?.byProviderId)??{}),Cn=r.createSelector((e,t,n)=>it.select(e,n)[t]),In=r.createSelector(e=>e.providerModels?.clearEpoch??0),An=r.createSelector((e,t)=>(t?e.providerModels?.requestsByWorkspaceId?.[t]?.map:e.providerModels?.requests?.map)??{}),dt=r.createSelector(e=>Object.fromEntries(Object.values(e.providerModels?.observers?.map??{}).flatMap(({providerIds:t,workspaceId:n})=>t.map(o=>[lt(o,n),{providerId:o,workspaceId:n}])))),En=r.createSelector(e=>Object.keys(dt.select(e)).sort()),ut=r.createSelector((e,t,n)=>Re(e.providerModels?.learnedNames??{},t,n)),kn=r.createSelector(e=>e.providerModels.learnedNames),ft={auggie:"auggie",claudeCode:"claude-code",codex:"codex",mock:"mock",opencode:"opencode",pi:"pi",cortex:"cortex",droid:"droid",grok:"grok",unsloth:"unsloth",antigravity:"antigravity",cursor:"cursor"},pt=new Map(Object.entries(ft).map(([e,t])=>[t,e]));function mt(e,t){const n=pt.get(t);return n===void 0?void 0:e?.providers[n]}function _n(e,t){const n=mt(e,t);return n?.available===!0&&ee(t,n.authenticated)}const wn=new Set(["claude-code"]);function ee(e,t){return t!==!1}const te=r.createSelector(e=>e.agentAvailability.providerStatusMap),Rn=r.createSelector(e=>e.agentAvailability.providerLoadingMap),On=r.createSelector(e=>e.agentAvailability.providerCheckEpochMap),gt=r.createSelector(e=>e.agentAvailability.hasCheckedOnce),Ln=r.createSelector(e=>Object.values(e.agentAvailability.providerLoadingMap).some(t=>t)),Nn=r.createSelector(e=>e.agentAvailability.npxStatus),Tn=r.createSelector(e=>e.agentAvailability.hiddenProviders),Dn=r.createSelector(e=>e.agentAvailability.discoveryError),Bn=r.createSelector(e=>e.agentAvailability.discoveryRevision),xn=r.createSelector(e=>e.agentAvailability.refreshModelsPending),Hn=r.createSelector(e=>e.agentAvailability.refreshModelsRevision),jn=r.createSelector(e=>e.sidebarNav?.onboardingActive&&e.userPreferences.providerSetupHydratedBackendId===e.connections.windowBackendId&&!e.userPreferences.hasCompletedProviderSetup&&_.select(e)==="owner"?Fe.select(e):null),Wn=r.createSelector((e,t)=>p(e.providerSettings.requests).filter(n=>n.sessionId===t)),Fn=r.createSelector((e,t)=>e.providerSettings.sessions.includes(t)),Kn=r.createSelector((e,t)=>e.providerSettings.writeRevisions?.[t]??0),qn=r.createSelector(e=>e.providerSettings.paths),Un=r.createSelector(e=>e.providerSettings.pathsRevision),M=r.createSelector(e=>y.select(e)?I.select(e)?.defaultProviderId??"":e.model.defaultProviderId);r.createSelector((e,t)=>M.select(e)===t);const bt=r.createSelector(e=>y.select(e)?Object.fromEntries((I.select(e)?.enabledProviderIds??[]).map(t=>[t,!0])):e.providerSettings.enabledProviders),ne=r.createSelector((e,t)=>{if(y.select(e))return I.select(e)?.enabledProviderIds?.includes(t)===!0;const n=e.providerSettings.nonDisableableProviderIds??[];return Oe(e.providerSettings.enabledProviders,t,{canBeDisabled:!n.includes(t)})}),oe=r.createSelector(e=>{if(y.select(e))return I.select(e)?.enabledProviderIds??[];const t=e.providerSettings.enabledProviders,n=e.providerCatalog?p(e.providerCatalog.providers):[],o=new Set(n.filter(a=>ne.select(e,a.id)).map(a=>a.id)),s=M.select(e),c=E(s);c&&t[c]!==!1&&o.add(c);for(const[a,l]of Object.entries(t))l&&o.add(a);return[...o]});function vt(e,t){const n=z.select(e,t);return y.select(e)?n?.visible!==!0:!!(n?.requiresEnvVar||n?.requiresFeatureCode)}const w=r.createSelector(e=>{const t=te.select(e);return oe.select(e).filter(n=>!vt(e,n)&&t[n]?.available===!0)}),$n=r.createSelector((e,t)=>{const n=te.select(e),o=C.select(e,t);return w.select(e).filter(s=>C.select(e,s)!==o&&ne.select(e,s)&&ee(s,n[s]?.authenticated))}),Qn=r.createSelector(e=>gt.select(e)?w.select(e):oe.select(e)),Vn=r.createSelector(e=>{const t=E(M.select(e));return w.select(e).includes(t)}),Yn=r.createSelector(e=>e.providerSettings.fastMode),Gn=r.createSelector(e=>{const t=e.providerSettings.fastMode,n={...t?.confirmed};for(const[o,s]of Object.entries(t?.pending??{}))n[o]=s.enabled;return n}),Jn=r.createSelector(e=>Object.values(g(e).defaults).some(t=>t.remoteLaunch!==void 0)),zn=r.createSelector(e=>e.providerSettings.fastMode?.supported?["claude-code","codex"].filter(t=>z.select(e,t)?.supportsFastMode===!0):[]),g=e=>e.providerSettings?.profiles??Le,Xn=r.createSelector(e=>Ke.select(e).filter(t=>t.supportsProfiles===!0).map(t=>t.id)),Zn=r.createSelector((e,t)=>p(g(e).items).filter(n=>n.baseProviderId===t)),eo=r.createSelector(e=>[...new Set(p(g(e).items).map(t=>t.baseProviderId))]),to=r.createSelector(e=>g(e).defaults),no=r.createSelector((e,t)=>g(e).defaults[t]),oo=r.createSelector((e,t)=>v(g(e).items,t)),ro=r.createSelector(e=>g(e).revision),so=r.createSelector(e=>g(e).loadStatus),co=r.createSelector(e=>g(e).status),ao=r.createSelector(e=>g(e).activation),lo=r.createSelector(e=>Object.fromEntries(p(g(e).mutations).map(t=>[t.id,t]))),St={},io=r.createSelector(e=>g(e).identity??St),ht={},uo=r.createSelector(e=>g(e).setups??ht),fo=r.createSelector(e=>(e.providerSettings?.sessions.length??0)>0),po=r.createSelector(e=>e.model),mo=r.createSelector(e=>{const t=qe.select(e),n=_.select(e);if(!t||n!=="owner"&&n!=="member")return null;const o=M.select(e);return n==="member"&&!o?null:JSON.stringify([t,o,n==="member"?Ue.select(e):null])});function re(e,t){return t??M.select(e)}const x=r.createSelector((e,t)=>{const n=re(e,t),o=e.model.availableModelsProviderId===n?p(e.model.availableModels):[],s=I.select(e),c=y.select(e)?s?.defaultProviderId===n?s.defaultModelId:null:e.model.providerModels[n];return c||(w.select(e).includes(n)?Ne(o):"")}),Pt=r.createSelector((e,t)=>x.select(e,t)!==""),go=r.createSelector(e=>M.select(e)!==""||Pt.select(e)),yt=r.createSelector(e=>e.model.availableModels),bo=r.createSelector(e=>p(yt.select(e))),vo=r.createSelector(e=>e.model.availableModelsProviderId),se=r.createSelector((e,t)=>{const n=re(e,t);return e.model.loadingState[n]??null}),So=r.createSelector((e,t)=>se.select(e,t)?.status==="loading"),ho=r.createSelector((e,t)=>{const n=se.select(e,t);return n?.status!=="error"?null:n.error??null}),Po=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&(t[n]=o.warning);return t}),yo=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.stale&&(t[n]=!0);return t}),Mo=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.model.loadingState))o.warning&&o.warningKind&&(t[n]=o.warningKind);return t}),Co=r.createSelector(e=>e.model.providerModels),Io=r.createSelector(e=>e.model.defaultReasoningEffort),Ao=r.createSelector(e=>e.model.modelPickerCollapsedGroups),Eo=r.createSelector((e,t)=>e.model.fallbackInfoByAgentId[t]??null),Mt=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=L(n,c,s),l=e.model?.availableModels;if(!o&&l&&(!c||c===e.model.availableModelsProviderId)){const i=v(l,n)??v(l,a);if(i)return i}const d=o?e.providerModels?.byWorkspaceId?.[o]?.[c]:e.providerModels?.byProviderId?.[c];return d?.models.find(i=>i.value===n)??d?.models.find(i=>L(i.value,c,s)===a)}),ko=r.createSelector((e,t,n,o)=>{const s=i=>C.select(e,i,o),c=s(t),a=L(n,c,s),l=i=>Mt.select(e,c,i,o)?.label,d=i=>ut.select(e,c,i);return O(n,l)??(a!==n?O(a,l):void 0)??d(n)??O(a,d)}),Ct=r.createSelector((e,t)=>{if(!t)return;const n=e.model?.availableModels;if(!n)return;const o=N(t);return v(n,o)?.effortLevels});function N(e){const t=Q(e).modelId,n=t.indexOf("/");return n>0?t.slice(0,n):t}const It=r.createSelector((e,t,n,o)=>{if(n){if(!o&&(!t||t===e.model?.availableModelsProviderId)){const s=Ct.select(e,n);if(s)return s}if(t){const s=N(n);return(o?e.providerModels?.byWorkspaceId?.[o]?.[t]:e.providerModels?.byProviderId[t])?.models.find(a=>N(a.value)===s)?.effortLevels}}}),At=r.createSelector((e,t)=>{const n=e.agentSessions?.byAgentId[t];if(!n)return;if(Array.isArray(n.effortLevels)&&n.effortLevels.length>0)return n.effortLevels;const o=n.workspaceId?e.providerCatalog?.byWorkspaceId?.[n.workspaceId]?.settings??[]:void 0,s=o?.find(u=>u.path==="model.defaultProvider")?.value,c=o?typeof s=="string"?s:"":$e.select(e),a=Qe(n,c),l=C.select(e,a??c,n.workspaceId),d=o?.find(u=>u.path==="model.providerDefaults")?.value,i=d&&typeof d=="object"?d[l]:void 0,S=n.model??(o?typeof i=="string"?i:"":x.select(e,l));return It.select(e,l,S,n.workspaceId)}),ce="application/vnd.intent.question+json";function Et(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.label=="string"&&t.label.length>0&&(t.description===void 0||typeof t.description=="string")}function kt(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.attachmentId=="string"&&typeof t.header=="string"&&t.header.length>0&&typeof t.question=="string"&&t.question.length>0&&(t.explanation===void 0||typeof t.explanation=="string")&&Array.isArray(t.options)&&t.options.length>=2&&t.options.every(Et)&&(t.multiSelect===void 0||typeof t.multiSelect=="boolean")}function _o(e){if(!e||typeof e!="object")return!1;const t=e;if(t.type!=="resource")return!1;const n=t.resource;return typeof n=="object"&&n!==null&&n.mimeType===ce}function _t(e){if(!e||typeof e!="object")return null;const t=e,n=t.resource??t.metadata?.resource??t;if(!n||typeof n!="object"||n.mimeType!==ce||typeof n.text!="string")return null;try{const o=JSON.parse(n.text);return kt(o)?o:null}catch{return null}}const wt="attachmentId",Rt=/^tar-[0-9a-f]{12}$/;function ae(e){if(!e||typeof e!="object")return null;const t=e;if(t.type!=="resource")return null;const n=t.resource;return!n||typeof n!="object"||typeof n.uri!="string"||typeof n.mimeType!="string"||typeof n.text!="string"||n.name!==void 0&&typeof n.name!="string"?null:n}function le(e){const t=ae(e);if(!t)return null;try{const n=JSON.parse(t.text);if(!n||typeof n!="object"||Array.isArray(n))return null;const o=n[wt];return typeof o=="string"&&Rt.test(o)?o:null}catch{return null}}function T(e){return Array.isArray(e)?`[${e.map(T).join(",")}]`:e&&typeof e=="object"?`{${Object.entries(e).sort(([n],[o])=>n<o?-1:n>o?1:0).map(([n,o])=>`${JSON.stringify(n)}:${T(o)}`).join(",")}}`:JSON.stringify(e)??"undefined"}function Ot(e){const t=ae(e);if(!t)return null;if(t.mimeType===et)try{const o=JSON.parse(t.text);if(tt(o))return`proposal:${o.kind}:${o.applyToolCallId??o.preview.title}:${T(o.payload)}`}catch{}const n=le(e);return n?`nonce:${n}`:t.uri.length>0?`uri:${t.uri}:${t.text}`:null}function H(e){return le(e)!==null}function Lt(e){const t=new Map,n=[];for(const o of e){const s=Ot(o);if(s===null){n.push(o);continue}const c=t.get(s);if(c===void 0){t.set(s,n.length),n.push(o);continue}H(o)&&!H(n[c])&&(n[c]=o)}return n}function ie(e,t){if(typeof t!="string"||t.length===0)return!1;const n=e?.dismissedQuestionsMessageId;return typeof n=="string"&&n===t}function Nt(e){if(e.skipped)return"(skipped)";const t=[...e.selectedLabels],n=e.imageBlocks?.length??0,o=n===0?"":n===1?f.chat_questionWizard_imagesAttached_label_one():f.chat_questionWizard_imagesAttached_label_many({count:nt(n)});return(e.freeText||n>0)&&t.push(`(Other) ${[e.freeText,o].filter(Boolean).join(" ")}`),t.length===0?"(skipped)":t.join(", ")}function Tt(e){return e.map(t=>`Q: ${t.question.question}
2
2
  A: ${Nt(t)}`).join(`
3
3
 
4
4
  `)}const de="question_answers";function Dt(e){return{type:de,answeredQuestionsMessageId:e}}function wo(e,t){const n=e.flatMap(o=>o.skipped?[]:o.imageBlocks??[]);return{text:Tt(e),messageMetadata:Dt(t),...n.length>0?{imageBlocks:n}:{}}}function j(e){if(!e||typeof e!="object")return null;const t=e;if(t.type!==de)return null;const n=t.answeredQuestionsMessageId;return typeof n=="string"&&n.length>0?n:null}function W(e){const t=j(e),n=t?[t]:[];if(e&&typeof e=="object"&&"mergedMessageMetadata"in e){const o=e.mergedMessageMetadata;if(Array.isArray(o))for(const s of o){const c=j(s);c&&!n.includes(c)&&n.push(c)}}return n}function ue(e){if(!e)return[];const t=W(e.metadata);if(t.length)return t;const n=Array.isArray(e.contentBlocks)?e.contentBlocks:[];return[...new Set(n.flatMap(o=>o.type==="text"?W(o.messageMetadata):[]))]}function fe(e){return e===void 0?{kind:"absent"}:e===""?{kind:"cleared"}:{kind:"set",messageId:e}}function F(e){return Lt(e.contentBlocks??[]).map(_t).filter(t=>t!==null)}function pe(e,t){return e.some(n=>n.role==="user"&&ue(n).includes(t))}function K(e,t){return e.some(n=>ue({metadata:n.messageMetadata}).includes(t))}function Bt(e,t,n=!1,o,s=[]){if(n||e.length===0)return null;const c=fe(o);if(c.kind==="cleared")return null;if(c.kind==="set"){const a=e.find(d=>d.id===c.messageId);if(!a||a.role!=="assistant"||a.isStreaming||pe(e,c.messageId)||K(s,c.messageId))return null;const l=F(a);return l.length>0?{messageId:a.id,questions:l}:null}if(t)return null;for(let a=e.length-1;a>=0;a--){const l=e[a];if(l.role==="system")continue;if(l.role!=="assistant"||l.isStreaming||K(s,l.id))return null;const d=F(l);return d.length>0?{messageId:l.id,questions:d}:null}return null}function xt(e){const t=Bt(e.messages??[],Ve(Ye(e)),!1,e.metadata?.pendingQuestionsMessageId);return!t||ie(e.metadata,t.messageId)?null:t}function Ht(e){if(xt(e)!==null)return!0;const t=fe(e.metadata?.pendingQuestionsMessageId);if(t.kind!=="set")return!1;const n=e.messages??[];return n.some(o=>o.id===t.messageId)||pe(n,t.messageId)?!1:!ie(e.metadata,t.messageId)}const me=0,D=1,jt=2,b=4,ge=6,Wt=[2,3,4,5,0,1],Ft=16777215,be=689407,ve=3199320,Se=16766474,he=16752394,B=16726832,Pe=6607615,Kt=12540658,P=.9,qt=.5,ye=.25,Ut=.25,$t={unassigned:{c:0,b:0,e:me,s:0},idle:{c:Ft,b:.12,e:D,s:0},running:{c:be,b:.6,e:b,s:qt},unread:{c:Pe,b:.4,e:b,s:ye},complete:{c:ve,b:.5,e:D,s:0},attention:{c:Se,b:.8,e:b,s:P},blocked:{c:he,b:.75,e:b,s:P},failed:{c:B,b:.7,e:b,s:P}},Qt={e:me,b:0,s:0,m:0,c:0},q=.35,Vt=.75,U=4;function Yt(e){const n=(Math.min(Math.max(e,1),U)-1)/(U-1);return q+n*(Vt-q)}const Gt={dark:Qt,complete:{e:D,b:.25,s:0,m:0,c:ve},unread:{e:b,b:.4,s:ye,m:0,c:Pe},question:{e:b,b:.8,s:P,m:0,c:Se},blocked:{e:b,b:.8,s:P,m:0,c:he},failed:{e:b,b:.8,s:P,m:0,c:B},recording:{e:b,b:.8,s:P,m:0,c:B},disconnected:{e:jt,b:.2,s:Ut,m:0,c:Kt}};function Ro(e){const t=[];for(let n=0;n<ge;n+=1){const o=e[n]??"unassigned";t.push({id:Wt[n],...$t[o]})}return t.sort((n,o)=>n.id-o.id),t}function Oo(e){const t=e.kind==="running"?{e:b,b:.5,s:Yt(e.runningCount),m:0,c:be}:Gt[e.kind];return{keys:{...t},ambient:{...t}}}function Me(e){return J(e)?.kind==="blocker"}function Ce(e){return J(e)?.kind==="discussion"||Ht(e)}function Ie(e){return e.status===Te.Error}function $(e,t){const n=e.workspaceAgents.byWorkspaceId[t]?.foregroundAgentIds??[],o=e.agentSessions?.byAgentId??{},s=[];for(const c of n){const a=o[String(c)];a&&s.push(a)}return s}const Jt=new Set(["complete","pr_queued","pr_ready","pr_open","pr_merged"]);function Ae(e){return e.activity==="agent_running"||e.displayStatus==="in_progress"}function Ee(e){return e.displayStatus!==void 0&&Jt.has(e.displayStatus)}function zt(e,t){return t.some(Ie)?"failed":t.some(Me)?"blocked":t.some(Ce)?"attention":Ae(e)?"running":e.attention==="unread"?"unread":Ee(e)?"complete":"idle"}function Xt(e){if(e.daemonHealth?.health==="down")return{keys:new Array(ge).fill("unassigned"),ambient:{kind:"disconnected"}};const t=p(e.workspace.workspaces).filter(m=>m.id!==V&&Y(m)),n=new Map;for(const m of t)n.set(m.id,m);const s=G(e.hardwareConsole.keyPins,t,e.hardwareConsole.excludedWorkspaceIds??[]).map(m=>{const h=m===null?void 0:n.get(m);return h?zt(h,$(e,h.id)):"unassigned"});let c=!1,a=!1,l=!1,d=0,i=!1,S=!1;for(const m of t){const h=$(e,m.id);h.some(Ie)&&(c=!0),h.some(Me)&&(a=!0),h.some(Ce)&&(l=!0),Ae(m)&&(d+=1),m.attention==="unread"&&(i=!0),Ee(m)&&(S=!0)}let u;return e.hardwareConsole.pttRecording===!0?u={kind:"recording"}:c?u={kind:"failed"}:a?u={kind:"blocked"}:l?u={kind:"question"}:i?u={kind:"unread"}:d>0?u={kind:"running",runningCount:d}:S?u={kind:"complete"}:u={kind:"dark"},{keys:s,ambient:u}}const Lo=r.createSelector(e=>{const t=_.select(e);return t==="guest"||t==="member"}),No=r.createSelector(e=>{const t=e.hardwareConsole;if(_.select(e)!=="owner"||!t?.isConsoleOwner||!t.enabledHydrationSucceeded||!t.actionMappingHydrationSucceeded)return null;const n=o=>De.filter((s,c)=>t.actionMappingByModel[o][c]==="cycle-open-windows");return JSON.stringify({enabled:t.enabled,keysByModel:{"creator-micro-2":n("creator-micro-2"),"codex-micro":n("codex-micro")}})}),To=r.createSelector(e=>e.hardwareConsole.enabled),Do=r.createSelector(e=>e.hardwareConsole.encoderBehavior),Bo=r.createSelector(e=>e.hardwareConsole.encoderBehaviorSaveFailed),xo=r.createSelector(e=>e.hardwareConsole.isConsoleOwner),Ho=r.createSelector(e=>e.hardwareConsole.promptPickerLimit),jo=r.createSelector(e=>e.hardwareConsole.actionMappingByModel),Wo=r.createSelector(e=>e.hardwareConsole.cycleScopeByFamily),Fo=r.createSelector(e=>e.hardwareConsole.keyPins),Ko=r.createSelector(e=>e.hardwareConsole.excludedWorkspaceIds),qo=r.createSelector(e=>e.hardwareConsole.promptUsage),Zt=r.createSelector(e=>{const t=X.select(e).filter(Y);return G(e.hardwareConsole.keyPins,t,e.hardwareConsole.excludedWorkspaceIds)}),Uo=r.createSelector((e,t)=>{const n=e.hardwareConsole.keyPins.indexOf(t);return n===-1?null:n}),$o=r.createSelector((e,t)=>{const n=Zt.select(e).indexOf(t);return n===-1?null:n}),Qo=r.createSelector(e=>e.hardwareConsole.radialPrompt),Vo=r.createSelector(e=>e.hardwareConsole.encoderHudWorkspaceId),Yo=r.createSelector(e=>{const t=e.hardwareConsole.encoderHudWorkspaceId;return t===null?null:X.select(e).find(n=>n.id===t)?.title??null}),Go=r.createSelector(e=>e.hardwareConsole.actionHudLabel),Jo=r.createSelector(e=>e.hardwareConsole.pttRecording),zo=r.createSelector(e=>e.hardwareConsole.voiceTranscribing),Xo=r.createSelector(e=>Xt(e)),en=r.createSelector((e,t,n)=>{const o=e.agentSessions.byAgentId[n];if(!o||o.workspaceId!==t)return null;const s=At.select(e,n);if(!s?.length)return null;const c=Ge.select(e,n),a=o.model??x.select(e,c),l=e.daemonHealth.stats?.protocolVersion,d=at(l)?st(a,null,s):a;return{key:JSON.stringify([t,n,c,d,s]),workspaceId:t,agentId:n,levels:s}}),tn=r.createSelector(e=>{const t=e.hardwareConsole;if(!t.enabled||!t.isConsoleOwner||!t.encoderBehaviorHydrated||t.encoderBehavior!=="agent-effort")return null;const n=je.select(e);if(!n||n===V||Je.select(e,n))return null;const o=We.select(e,n);return o?.type!=="agent"||!o.agentId||o.workspaceId&&o.workspaceId!==n?null:en.select(e,n,o.agentId)}),Zo=r.createSelector(e=>{const t=e.hardwareConsole.encoderEffortFeedback;return!t||tn.select(e)?.key!==t.target.key?null:(e.agentSessions.byAgentId[t.target.agentId]?.reasoningEffort??null)===t.effort?t:null}),nn=[],er=r.createSelector((e,t)=>v(e.connections.workflows,t)),tr=r.createSelector(e=>({writing:e.connections.keychainWritesPending>0,loadFailed:e.connections.keychainLoadError,saveFailed:e.connections.keychainSaveError})),nr=r.createSelector(e=>e.connections.selfPublication),or=r.createSelector(e=>e.connections.selfPublicationBusy),rr=r.createSelector((e,t)=>({guest:v(e.guestSessions.sessions,t),connection:v(e.connections.connections,t)})),sr=r.createSelector(e=>p(e.connections.connections)),cr=r.createSelector(e=>p(e.connections.connections).filter(t=>t.daemonMode!=="node")),ar=r.createSelector(e=>p(e.connections.connections).filter(t=>!t.isLocal)),lr=r.createSelector(e=>e.connections.hasReceivedList);r.createSelector((e,t)=>v(e.connections.connections,t)?.status??"not-open");const ir=r.createSelector(e=>e.connections.windowBackendId),dr=r.createSelector(e=>{const{connections:t,windowBackendId:n}=e.connections;return v(t,n)??null}),ur=r.createSelector(e=>e.connections.pinnedVersion),fr=r.createSelector(e=>e.connections.connectedIds);r.createSelector(e=>e.connections.status);const pr=r.createSelector(e=>e.connections.status==="connecting"||e.connections.openingIds.length>0);r.createSelector((e,t)=>e.connections.openingIds.includes(t));r.createSelector(e=>e.connections.error);const mr=r.createSelector(e=>e.connections.certMismatch),gr=r.createSelector(e=>{const t={};for(const[n,o]of Object.entries(e.connections.certWarnings))t[n]=p(o);return t}),br=r.createSelector(e=>{const t=e.connections.certWarnings[e.connections.windowBackendId];return t?p(t):nn}),vr=r.createSelector(e=>{const{authRejected:t,windowBackendId:n}=e.connections;return t&&t.id===n?t:null}),Sr=r.createSelector(e=>{const{protocolMismatch:t,windowBackendId:n}=e.connections;return t&&t.id===n?t:null}),hr=r.createSelector(e=>{const{protocolMismatch:t,windowBackendId:n,protocolMismatchModalDismissed:o}=e.connections;return!t||t.id!==n||o?null:t}),Pr=r.createSelector(e=>e.connections.keychainSync),yr=r.createSelector(e=>e.connections.browserHost?.manageConnections===!0),Mr=r.createSelector(e=>e.connections.browserHost?.backendBound===!1),Cr=r.createSelector(e=>{const t=e.connections.browserHost;return t?.manageConnections===!0&&!t.tailcatAvailable});function ke(e){const t=e.trim();if(!t.startsWith("tc"))return!1;const n=t.slice(2);if(n.length<50||n.length%4===1||!/^[A-Za-z0-9_-]+$/.test(n))return!1;const o=atob(n.slice(0,4).replace(/-/g,"+").replace(/_/g,"/")).charCodeAt(0);return o>=161&&o<=187||o===191}function Ir(e){if(!e||typeof e!="object")return null;const t=e;for(const n of[t.collaborationName,t.prettyHostname,t.hostname])if(typeof n=="string"&&A(n))return A(n);return null}function Ar(e){return[...A(e)].length<=100&&!/\p{Cc}/u.test(e)}function A(e){return e.replace(/^\p{White_Space}+|\p{White_Space}+$/gu,"")}function on(e){const t=e.label.trim(),n=e.host&&e.port!=null?`${e.host}:${e.port}`:"";return(t&&t!==n?t:"")||e.hostname?.trim()||t||n}function rn(e){const t=e.machineName?.trim();return t?f.settings_devices_localMachine_label({name:t}):f.layout_daemonStatus_localConnection_label()}function Er(e,t){if(e.isLocal)return rn(e);const n=on(e);return e.id===t?f.settings_devices_connectedBackend_label({name:n}):n}function sn(e){const t=A(e.hostname??"");return t||(ke(e.label)?f.connection_unknownHost_label():e.label)}function kr(e){const t=e.label.trim();return!t||ke(t)?null:t!==sn(e)?t:null}function _r(e){return e.catalogProfiles.some(t=>typeof t.remoteCompatible=="boolean")||e.defaultRemoteIncompatibility||e.defaultRemoteLaunch||e.profileDefaults.some(t=>typeof t.remoteCompatible=="boolean")?"supported":e.catalogProfiles.length>0?"unsupported":e.profilesLoadStatus==="idle"?"unknown":"unsupported"}function wr(e,t,n){if(k(e)){const o=t.find(s=>s.providerRef===e);return o?.remoteCompatible!==!1?null:o.remoteIncompatibility??{reason:"unknown",keys:[]}}return null}const cn=1440*60*1e3;function Rr(e,t){if(!e?.capabilities)return"missing";const n=e.observedAt?Date.parse(e.observedAt):Number.NaN;return Number.isFinite(n)&&t-n>cn?"stale":"fresh"}const Or=new Set(["cli-missing","prerequisite-missing"]),an=new Set(["signed-out","auth-failed"]);function ln(e){return an.has(e)}function dn(e,t){if(k(t))return!1;const n=E(t),o=e?.capabilities?.providers.find(s=>s.id===n);return!!o&&ln(o.status)}function _e(e,t){return(t.defaultRemoteLaunch?t.defaultRemoteLaunch[e]==="send":!t.defaultRemoteIncompatibility?.[e])&&t.defaultHasOverrides?.[e]!==!1}function un(e,t,n){return n.defaultRemoteLaunch?.[t]==="refused"?!1:!e.cloud&&!dn(e,t)}function Lr(e){const{machine:t,providerRef:n}=e;return k(n)||un(t,n,e)||_e(n,e)?null:e.catalogProfiles.find(o=>o.baseProviderId===n&&o.remoteCompatible===!0)??null}const fn=r.createSelector(e=>ot.select(e)&&rt.select(e)&&e.remoteMachines?.supported===!0&&e.cloudMachines?.supported===!0),Nr=r.createSelector(e=>{const t=e.cloudMachines?.providerKinds??["e2b"];return e.cloudMachines?.entries===!0?t:t.filter(n=>n==="e2b")}),Tr=r.createSelector(e=>e.cloudMachines?.entries===!0);function we(e){return Object.values(e.cloudMachines?.providers??{}).sort((t,n)=>t.configuredAt.localeCompare(n.configuredAt)||t.name.localeCompare(n.name))}const Dr=r.createSelector(we),Br=r.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).sort((t,n)=>(t.cloud?.startedAt??"").localeCompare(n.cloud?.startedAt??""))),xr=r.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).filter(t=>t.cloud?.state==="paused").length);function pn(e,t){const n=t.cloud;return!n?.agentId||!n.workspaceId||!Z.select(e,n.workspaceId)?null:{workspaceId:n.workspaceId,agentId:n.agentId}}const Hr=r.createSelector((e,t)=>{const n={},o={};for(const s of t){const c=s.cloud?.workspaceId;if(c&&!(c in n)){const a=Z.select(e,c);n[c]=a?.title||a?.name||null}o[s.id]=pn(e,s)}return{workspaceNames:n,agentLinks:o}}),jr=r.createSelector(e=>e.cloudMachines?.readAt??{}),Wr=r.createSelector(e=>e.cloudMachines?.pending??{}),Fr=r.createSelector(e=>e.cloudMachines?.failures??{}),Kr=r.createSelector(e=>e.cloudMachines?.validated??null);function qr(e){if(!fn.select(e))return null;const t=we(e);if(t.length===0)return null;const n=e.cloudMachines?.entries===!0;return t.map(o=>({cloudMachineId:o.id,label:o.provider==="northflank"?o.name.trim().toLowerCase()==="northflank"?Be("northflank"):f.cloudMachines_startOn_northflank_label({name:o.name}):n&&(t.length>1||o.name.trim().toLowerCase()!=="e2b")?f.cloudMachines_startOn_entry_label({name:o.name}):f.cloudMachines_startOn_label(),unavailableReason:o.state!=="key-rejected"?null:o.provider==="northflank"?f.cloudMachines_northflank_state_tokenRejected_label():f.cloudMachines_state_keyRejected_label(),needsProfile:!mn(e,o)}))}function mn(e,t){const n=bt.select(e),o=e.providerSettings?.profiles?.defaults??{},s={defaultRemoteLaunch:Xe.select(e),defaultRemoteIncompatibility:ze.select(e)},c=i=>n[i]!==!1&&(t.agentProviders.length===0||t.agentProviders.includes(i)),a=new Set([...t.agentProviders,...Object.keys(s.defaultRemoteLaunch??{})]);for(const i of a)if(c(i)&&(o[i]?.env.length??0)>0&&_e(i,s))return!0;const l=e.providerSettings?.profiles?.items,d=l?p(l):[];return Ze.select(e).some(i=>{if(i.remoteCompatible!==!0||!c(i.baseProviderId))return!1;const S=d.find(u=>u.providerRef===i.providerRef);return!S||S.env.some(u=>u.kind==="set")})}function Ur(e,t,n=e.cloudMachines?.providers[xe]??null){if(!t)return null;const o=n,s=E(t);if(o&&o.agentProviders.length>0&&!o.agentProviders.includes(s))return f.cloudMachines_startOn_providerMissing();const c=e.providerSettings?.profiles;if(k(t)){const l=c?p(c.items).find(d=>d.providerRef===t):void 0;return l?l.remoteCompatible===!1?f.cloudMachines_startOn_needsProfile():l.env.some(d=>d.kind==="set")?null:f.cloudMachines_startOn_needsProfile():null}const a=c?.defaults?.[s];return a?a.remoteCompatible===!1?f.cloudMachines_startOn_needsProfile():a.env.some(l=>l.kind==="set")?null:f.cloudMachines_startOn_needsProfile():c?.loadStatus==="success"?f.cloudMachines_startOn_needsProfile():null}const R=new Map;function $r(e){return R.has(e)}function Qr(e){return R.get(e)}function Vr(e){R.set(e.agentId,e)}function Yr(e){R.delete(e)}export{vo as $,ge as A,pe as B,K as C,dn as D,ke as E,Rr as F,L as G,A as H,lt as I,Lr as J,wr as K,_r as L,Or as M,wn as N,Yr as O,ft as P,O as Q,Go as R,vr as S,Sr as T,M as U,At as V,yo as W,Mo as X,Po as Y,w as Z,bo as _,Xt as a,Mr as a$,cr as a0,eo as a1,gr as a2,Dr as a3,Tr as a4,Fr as a5,fn as a6,Wr as a7,Nr as a8,jr as a9,Zt as aA,qo as aB,Qo as aC,Xo as aD,gt as aE,go as aF,yr as aG,Cr as aH,Vn as aI,Ln as aJ,pr as aK,xo as aL,So as aM,ne as aN,tr as aO,Pr as aP,ut as aQ,kn as aR,ho as aS,mo as aT,Mt as aU,ko as aV,Ct as aW,Eo as aX,Qn as aY,Ao as aZ,po as a_,Br as aa,Kr as ab,fr as ac,mr as ad,rr as ae,er as af,sr as ag,lr as ah,dr as ai,br as aj,ir as ak,Io as al,bt as am,en as an,Zo as ao,tn as ap,Vo as aq,Yo as ar,zn as as,jo as at,Wo as au,To as av,Do as aw,Bo as ax,Ko as ay,Fo as az,wo as b,Nn as b0,En as b1,dt as b2,jn as b3,xr as b4,ur as b5,Xn as b6,Ho as b7,hr as b8,On as b9,ro as bA,fo as bB,Fn as bC,Wn as bD,te as bE,Kn as bF,Jo as bG,$n as bH,ar as bI,Jn as bJ,Hr as bK,x as bL,nr as bM,or as bN,Lo as bO,zo as bP,No as bQ,Uo as bR,$o as bS,Ht as bT,xt as bU,Vr as bV,qr as bW,at as bX,Ar as bY,no as ba,to as bb,Dn as bc,Bn as bd,Yn as be,Gn as bf,Tn as bg,Rn as bh,It as bi,Co as bj,Cn as bk,it as bl,In as bm,xn as bn,Hn as bo,An as bp,qn as bq,Un as br,oo as bs,ao as bt,io as bu,lo as bv,uo as bw,co as bx,Zn as by,so as bz,st as c,Oo as d,Ro as e,fe as f,Ur as g,Ir as h,Lt as i,un as j,_e as k,Bt as l,on as m,kr as n,sn as o,rn as p,Er as q,ue as r,Qr as s,mt as t,_t as u,$r as v,ee as w,_n as x,ie as y,_o as z};
@@ -1 +1 @@
1
- import{l as e}from"./BShEFC79.js";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],a={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{a as conf,m as language};
1
+ import{l as e}from"./BiYl2nZq.js";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],a={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{a as conf,m as language};
@@ -1,4 +1,4 @@
1
- import{bo as b,t as wt,bq as H,a_ as D,by as Tt,bs as xt,b as kt,bu as N}from"./syxE6N1N.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as F,c9 as f,aA as R,aB as x,a5 as I,bA as A,bl as P,b_ as B,bO as S}from"./DYhIMPy1.js";import{G as St}from"./CdmW6laI.js";import{c as Wt}from"./CrYKIqze.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./D8dE5NKO.js";import"./B7-qYhrK.js";import"./XNWMykPO.js";import"./g2wqtBd2.js";import{bc as Dt}from"./DLGpFr8e.js";import"./BgtLN2kD.js";import"./ChbqD4nY.js";import{Ig as E,IM as Nt,J1 as Ft,IR as Bt,uF as Et}from"./CpBlZvWi.js";import{T as Lt}from"./B1ohiv8G.js";import{g as Ut}from"./DfN8_dcw.js";import{dp as Ot}from"./CNJgwoNk.js";import{bN as jt,bK as Mt,b5 as Ht}from"./C46AGI2o.js";import"./CloK0EEY.js";import{M as Rt}from"./CXJnOaE2.js";import{V as Vt}from"./DVTqQKPY.js";import{O as qt}from"./BX_AS4NO.js";import{c as Gt}from"./ChTqQfQN.js";import{i as Jt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function Kt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||b.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||b.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:Kt(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 zt(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=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(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:q.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=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(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 Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
1
+ import{bo as b,t as wt,bq as H,a_ as D,by as Tt,bs as xt,b as kt,bu as N}from"./CNdlzZOD.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as F,c9 as f,aA as R,aB as x,a5 as I,bA as A,bl as P,b_ as B,bO as S}from"./DYhIMPy1.js";import{G as St}from"./DrH3w3jB.js";import{c as Wt}from"./b0njYmMP.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./D8dE5NKO.js";import"./DoV4Ngwf.js";import"./9iFKJfkz.js";import"./DIh4SQwA.js";import{bc as Dt}from"./BIfN-lxi.js";import"./DwkxcWNI.js";import"./D6NxvjAo.js";import{Ig as E,IM as Nt,J1 as Ft,IR as Bt,uF as Et}from"./BJpbRkma.js";import{T as Lt}from"./BUU84hQY.js";import{g as Ut}from"./DfN8_dcw.js";import{dp as Ot}from"./BsesepNZ.js";import{bN as jt,bK as Mt,b5 as Ht}from"./CdlZ8r5v.js";import"./BxRFeUGV.js";import{M as Rt}from"./Dd-c6aT7.js";import{V as Vt}from"./D7jA8MQK.js";import{O as qt}from"./HdOtmFfs.js";import{c as Gt}from"./ChTqQfQN.js";import{i as Jt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function Kt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||b.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||b.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:Kt(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 zt(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=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(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:q.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=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(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 Qt(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 Xt=x("<!> <!>",1),Yt=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=>{Vt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>E.dispatch(Bt()),get wrapEnabled(){return d()},onToggleWrap:()=>E.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>E.dispatch(Nt())})},it=a=>{var i=Xt(),g=X(i);{let m=f(()=>b.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Rt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var y=F(g,2);{var C=m=>{qt(m,{get filePath(){return t(J)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(O)}})};D(y,m=>{t(J)&&m(C)})}w(a,i)},rt=jt(),st=Mt(),ot=Ht(),dt=Gt("ActivityChangesTabType");let L=H(n,"tab",7),_=H(n,"workspaceId",7),U=H(n,"isActive",7);const G=Ut(),lt=Ot(_()),O=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>L().data?.event),ct=f(()=>t(o)?zt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),J=f(()=>t(p)&&t(O)?Jt(t(p))?t(p):`${t(O)}/${t(p)}`:null),j=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}),K=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(K)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(j)();return a?Qt(a):null}),W=f(()=>ft(t(j)())),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:q.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:_()};E.dispatch(Et(_(),g))}Q(()=>{!G||!U()||G.registerActions({display:at,actions:it})}),Q(()=>{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(j)(),hasOldNewContent:t(K)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return L()},set tab(a){L(a),R()},get workspaceId(){return _()},set workspaceId(a){_(a),R()},get isActive(){return U()},set isActive(a){U(a),R()},$set:Tt,$on:(a,i)=>kt(n,a,i)},z=At(),mt=X(z);{var vt=a=>{var i=Zt(),g=I(i);{var y=l=>{var h=Yt(),$=I(h),M=P($,!0);A(h),B(_t=>S(M,_t),[()=>b.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};D(g,l=>{t(pt)&&l(y)})}var C=F(g,2),m=I(C);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)}})}}),A(C),A(i),w(a,i)},yt=a=>{var i=te(),g=I(i),y=P(g,!0),C=F(g,2),m=P(C,!0);A(i),B((l,h)=>{S(y,l),S(m,h)},[()=>b.layout_activityChanges_noDiffStored_label(),()=>b.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},Ct=a=>{var i=ne(),g=I(i),y=P(g,!0),C=F(g,2);{var m=l=>{var h=ee(),$=P(h,!0);B(M=>S($,M),[()=>b.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};D(C,l=>{t(o)&&l(m)})}A(i),B(l=>S(y,l),[()=>b.layout_activityChanges_noChanges_label()]),w(a,i)};D(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(yt,1):a(Ct,-1)})}w(e,z);var bt=Pt(ht);return nt(),bt}export{ae as default};
@@ -1 +1 @@
1
- import{w as t,I as o}from"./CdmW6laI.js";import{i as r,a as s}from"./BACH6cFH.js";import{a as l}from"./BJzHxIyr.js";new l("ElectronBridge");function d(){return typeof window<"u"&&!!window.electronAPI}function p(){if(typeof window>"u"||!window.electronAPI)throw new Error("electronAPI is not available (not running in Electron environment)");return window.electronAPI}async function a(n,...e){return await r(n,...e)}function f(n,e){return s(n,i=>{e({payload:i})})}const y={async message(n,e){return await a("dialog:message",{message:n,...e})},async openDirectory(n={}){return t("nativeDialogs")?(await a(o.DIALOG.OPEN,n))?.[0]??null:null},async openFile(n={}){return t("nativeDialogs")?(await a(o.DIALOG.OPEN,{...n,mode:"file"}))?.[0]??null:null}},g={async open(n){await a("shell:openExternal",{url:n})}};export{d as a,y as d,p as e,a as i,f as l,g as s};
1
+ import{w as t,I as o}from"./DrH3w3jB.js";import{i as r,a as s}from"./Gh0Bk6WC.js";import{a as l}from"./BJzHxIyr.js";new l("ElectronBridge");function d(){return typeof window<"u"&&!!window.electronAPI}function p(){if(typeof window>"u"||!window.electronAPI)throw new Error("electronAPI is not available (not running in Electron environment)");return window.electronAPI}async function a(n,...e){return await r(n,...e)}function f(n,e){return s(n,i=>{e({payload:i})})}const y={async message(n,e){return await a("dialog:message",{message:n,...e})},async openDirectory(n={}){return t("nativeDialogs")?(await a(o.DIALOG.OPEN,n))?.[0]??null:null},async openFile(n={}){return t("nativeDialogs")?(await a(o.DIALOG.OPEN,{...n,mode:"file"}))?.[0]??null:null}},g={async open(n){await a("shell:openExternal",{url:n})}};export{d as a,y as d,p as e,a as i,f as l,g as s};
@@ -1 +1 @@
1
- import{d as O}from"./1cW9cCot.js";function b(a,{from:t,to:r},p={}){var{delay:u=0,duration:n=i=>Math.sqrt(i)*120,easing:y=O}=p,s=getComputedStyle(a),d=s.transform==="none"?"":s.transform,[h,v]=s.transformOrigin.split(" ").map(parseFloat);h/=a.clientWidth,v/=a.clientHeight;var c=W(a),f=a.clientWidth/r.width/c,g=a.clientHeight/r.height/c,x=t.left+t.width*h,m=t.top+t.height*v,w=r.left+r.width*h,S=r.top+r.height*v,l=(x-w)*f,o=(m-S)*g,$=t.width/r.width,z=t.height/r.height;return{delay:u,duration:typeof n=="function"?n(Math.sqrt(l*l+o*o)):n,easing:y,css:(i,e)=>{var C=e*l,q=e*o,H=i+e*$,M=i+e*z;return`transform: ${d} translate(${C}px, ${q}px) scale(${H}, ${M});`}}}function W(a){if("currentCSSZoom"in a)return a.currentCSSZoom;for(var t=a,r=1;t!==null;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}export{b as f};
1
+ import{d as O}from"./HVSUZ4Kq.js";function b(a,{from:t,to:r},p={}){var{delay:u=0,duration:n=i=>Math.sqrt(i)*120,easing:y=O}=p,s=getComputedStyle(a),d=s.transform==="none"?"":s.transform,[h,v]=s.transformOrigin.split(" ").map(parseFloat);h/=a.clientWidth,v/=a.clientHeight;var c=W(a),f=a.clientWidth/r.width/c,g=a.clientHeight/r.height/c,x=t.left+t.width*h,m=t.top+t.height*v,w=r.left+r.width*h,S=r.top+r.height*v,l=(x-w)*f,o=(m-S)*g,$=t.width/r.width,z=t.height/r.height;return{delay:u,duration:typeof n=="function"?n(Math.sqrt(l*l+o*o)):n,easing:y,css:(i,e)=>{var C=e*l,q=e*o,H=i+e*$,M=i+e*z;return`transform: ${d} translate(${C}px, ${q}px) scale(${H}, ${M});`}}}function W(a){if("currentCSSZoom"in a)return a.currentCSSZoom;for(var t=a,r=1;t!==null;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}export{b as f};
@@ -1,4 +1,4 @@
1
- import{I as pr}from"./C_P93GWd.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./BuxJaWiM.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./kD3RPqIy.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
1
+ import{I as pr}from"./Cw26kBCe.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./BOY33UBS.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./DT-w4ZA3.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
2
2
  `+$.showPosition()+`
3
3
  Expecting `+Ht.join(", ")+", got '"+(this.terminals_[it]||it)+"'":se="Parse error on line "+(Vt+1)+": Unexpected "+(it==Ve?"end of input":"'"+(this.terminals_[it]||it)+"'"),this.parseError(se,{text:$.match,token:this.terminals_[it]||it,line:$.yylineno,loc:re,expected:Ht})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rt+", token: "+it);switch(ht[0]){case 1:D.push(it),G.push($.yytext),c.push($.yylloc),D.push(ht[1]),it=null,Ye=$.yyleng,p=$.yytext,Vt=$.yylineno,re=$.yylloc;break;case 2:if(Et=this.productions_[ht[1]][1],St.$=G[G.length-Et],St._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},dr&&(St._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]]),ae=this.performAction.apply(St,[p,Ye,Vt,It.yy,ht[1],G,c].concat(hr)),typeof ae<"u")return ae;Et&&(D=D.slice(0,-1*Et*2),G=G.slice(0,-1*Et),c=c.slice(0,-1*Et)),D.push(this.productions_[ht[1]][0]),G.push(St.$),c.push(St._$),He=kt[D[D.length-2]][D[D.length-1]],D.push(He);break;case 3:return!0}}return!0},"parse")},cr=(function(){var _t={EOF:1,parseError:f(function(C,D){if(this.yy.parser)this.yy.parser.parseError(C,D);else throw new Error(C)},"parseError"),setInput:f(function(w,C){return this.yy=C||this.yy||{},this._input=w,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:f(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var C=w.match(/(?:\r\n?|\n).*/g);return C?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:f(function(w){var C=w.length,D=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C),this.offset-=C;var y=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),D.length-1&&(this.yylineno-=D.length-1);var G=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:D?(D.length===y.length?this.yylloc.first_column:0)+y[y.length-D.length].length-D[0].length:this.yylloc.first_column-C},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-C]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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:f(function(w){this.unput(this.match.slice(w))},"less"),pastInput:f(function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var w=this.pastInput(),C=new Array(w.length+1).join("-");return w+this.upcomingInput()+`