@intent-hq/web 2.343.0 → 2.343.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 (243) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/0.BtTQsuHZ.css +1 -0
  3. package/web/app/immutable/assets/DiagramPresentation.C2GLYoBN.css +1 -0
  4. package/web/app/immutable/chunks/{C5wyg9Ur.js → -PfxOD5O.js} +2 -2
  5. package/web/app/immutable/chunks/{BMz5TaBD.js → -a8kGB-5.js} +1 -1
  6. package/web/app/immutable/chunks/{DIQWLIhG.js → -v5-bXWK.js} +3 -3
  7. package/web/app/immutable/chunks/{CybWRFe0.js → 1VG8gLVS.js} +4 -4
  8. package/web/app/immutable/chunks/{CgnMS_tY.js → 4GiF-64P.js} +1 -1
  9. package/web/app/immutable/chunks/{BcZ9Z8VA.js → 4gxaObsl.js} +2 -2
  10. package/web/app/immutable/chunks/{Crfyp8qk.js → 5a7lyWYQ.js} +1 -1
  11. package/web/app/immutable/chunks/{CYeRUDy3.js → 84AlJNR3.js} +1 -1
  12. package/web/app/immutable/chunks/{CWwgBxdS.js → Af7wRQM_.js} +1 -1
  13. package/web/app/immutable/chunks/{BJXNHiZy.js → B-00FHnf.js} +1 -1
  14. package/web/app/immutable/chunks/B1ywot0G.js +344 -0
  15. package/web/app/immutable/chunks/{DuP9adpj.js → B2pRmyv7.js} +1 -1
  16. package/web/app/immutable/chunks/{B8XoKOTc.js → B461Cu-8.js} +1 -1
  17. package/web/app/immutable/chunks/{BbN6BrHS.js → B4sr0yPI.js} +1 -1
  18. package/web/app/immutable/chunks/{D3PcideX.js → B5_270cz.js} +1 -1
  19. package/web/app/immutable/chunks/{CtAU6QcS.js → B7_gjxTl.js} +1 -1
  20. package/web/app/immutable/chunks/{DvnDeUdn.js → B9qFB97l.js} +1 -1
  21. package/web/app/immutable/chunks/{CxFdc661.js → BAR7XkP3.js} +3 -3
  22. package/web/app/immutable/chunks/BAf7ckig.js +1 -0
  23. package/web/app/immutable/chunks/{xNhI4Zxt.js → BBAp8oIt.js} +1 -1
  24. package/web/app/immutable/chunks/{BSJHYrig.js → BBC8ZwBc.js} +1 -1
  25. package/web/app/immutable/chunks/{DUXZKTsK.js → BBKQVY9d.js} +1 -1
  26. package/web/app/immutable/chunks/{ChmnpYNV.js → BBlRLBe7.js} +1 -1
  27. package/web/app/immutable/chunks/{DhEkDPK5.js → BCQ-e5LR.js} +1 -1
  28. package/web/app/immutable/chunks/{Cod4qxf4.js → BCXwgWax.js} +1 -1
  29. package/web/app/immutable/chunks/{hhahcGBL.js → BCmtMsc3.js} +1 -1
  30. package/web/app/immutable/chunks/{CD8wRfV_.js → BDo7DlDu.js} +1 -1
  31. package/web/app/immutable/chunks/{CqkSkqzY.js → BFqED1Hh.js} +1 -1
  32. package/web/app/immutable/chunks/{Vyad6kS1.js → BHt8CzB9.js} +1 -1
  33. package/web/app/immutable/chunks/{5qyUocK6.js → BIY2S7K4.js} +1 -1
  34. package/web/app/immutable/chunks/{CErdor9S.js → BJJ1m47o.js} +1 -1
  35. package/web/app/immutable/chunks/{Ppur1c4V.js → BJO4jUAG.js} +1 -1
  36. package/web/app/immutable/chunks/{BOTuR8YM.js → BM1KP-FJ.js} +1 -1
  37. package/web/app/immutable/chunks/{Bk6ULIr9.js → BMQaU_PE.js} +1 -1
  38. package/web/app/immutable/chunks/{pRI0u5wP.js → BQAjCr1w.js} +1 -1
  39. package/web/app/immutable/chunks/{C4omy0Us.js → BRhVB6Sv.js} +1 -1
  40. package/web/app/immutable/chunks/{EdYYrHoK.js → BUY1W-f0.js} +1 -1
  41. package/web/app/immutable/chunks/{dRMPks7C.js → BXTPVho9.js} +2 -2
  42. package/web/app/immutable/chunks/{CYfw-I3k.js → BYgJjg0e.js} +1 -1
  43. package/web/app/immutable/chunks/{CxWKLIob.js → B_a_b8VS.js} +1 -1
  44. package/web/app/immutable/chunks/{GcWD4BSo.js → B_frQYKx.js} +1 -1
  45. package/web/app/immutable/chunks/{BJxhn_0a.js → BgN4cuBh.js} +1 -1
  46. package/web/app/immutable/chunks/{JB4ifMLM.js → BgzyvwGo.js} +1 -1
  47. package/web/app/immutable/chunks/{DA5GLz-D.js → BiVahgoJ.js} +1 -1
  48. package/web/app/immutable/chunks/{eER94OA3.js → BjcX_fOv.js} +1 -1
  49. package/web/app/immutable/chunks/{B70m4__L.js → BjnZ1Xf3.js} +2 -2
  50. package/web/app/immutable/chunks/{C1fHwcnr.js → Bk2hJ8Ly.js} +1 -1
  51. package/web/app/immutable/chunks/{BGvipfx2.js → BmB6-2Ft.js} +1 -1
  52. package/web/app/immutable/chunks/{DQu3o1St.js → BnZdkxbc.js} +1 -1
  53. package/web/app/immutable/chunks/{CyCvtyeJ.js → BnrnoFjd.js} +1 -1
  54. package/web/app/immutable/chunks/{CZk9thVW.js → Bs3KgIll.js} +1 -1
  55. package/web/app/immutable/chunks/{BsjKNm-k.js → Bv5I7YDM.js} +1 -1
  56. package/web/app/immutable/chunks/{Bvth4uu8.js → Bwjn3GNi.js} +1 -1
  57. package/web/app/immutable/chunks/{BW_o9mAF.js → BxQzYe9E.js} +1 -1
  58. package/web/app/immutable/chunks/{Dlo7xxGg.js → By0eqGj-.js} +1 -1
  59. package/web/app/immutable/chunks/{Cno6VYfD.js → ByiJOZiZ.js} +1 -1
  60. package/web/app/immutable/chunks/{DGxVMu8C.js → Bzblbh-D.js} +1 -1
  61. package/web/app/immutable/chunks/{DuHksFog.js → C-s9_soQ.js} +1 -1
  62. package/web/app/immutable/chunks/{8gT6H_CO.js → C0g2TqGQ.js} +1 -1
  63. package/web/app/immutable/chunks/{BgBdgbWu.js → C0v3RBBR.js} +1 -1
  64. package/web/app/immutable/chunks/{CqvtiZGc.js → C1h34H4x.js} +1 -1
  65. package/web/app/immutable/chunks/C2V9igbA.js +1 -0
  66. package/web/app/immutable/chunks/{DNnUBdFi.js → C3bwGgmD.js} +1 -1
  67. package/web/app/immutable/chunks/{DXZeoq2T.js → C4Jo6GXP.js} +1 -1
  68. package/web/app/immutable/chunks/{DADI6X8_.js → C8j358_U.js} +1 -1
  69. package/web/app/immutable/chunks/{DguKeriw.js → C91dOInA.js} +1 -1
  70. package/web/app/immutable/chunks/{BEMi0FCw.js → CBnORL1F.js} +3 -3
  71. package/web/app/immutable/chunks/{81D18GOm.js → CD6GiPmw.js} +1 -1
  72. package/web/app/immutable/chunks/{Dk_IlxNb.js → CDFRnJ8k.js} +1 -1
  73. package/web/app/immutable/chunks/{B-j9sqQt.js → CERb2-2E.js} +1 -1
  74. package/web/app/immutable/chunks/{DwPsfqrL.js → CHFUz5Rr.js} +1 -1
  75. package/web/app/immutable/chunks/{C4XqbABT.js → CHGTw2Bl.js} +1 -1
  76. package/web/app/immutable/chunks/{BBuyiewR.js → CHhGO97x.js} +1 -1
  77. package/web/app/immutable/chunks/{DBLqMj_T.js → CInXeVe5.js} +1 -1
  78. package/web/app/immutable/chunks/{CwoE2dGt.js → CMO4ot9F.js} +1 -1
  79. package/web/app/immutable/chunks/{COT_rqxx.js → CMQoXdpQ.js} +1 -1
  80. package/web/app/immutable/chunks/{DgYHiNv7.js → CN6xxeS_.js} +1 -1
  81. package/web/app/immutable/chunks/{DWcs4R2E.js → CNsCzECr.js} +1 -1
  82. package/web/app/immutable/chunks/{pLAICJTQ.js → CSveVSnU.js} +1 -1
  83. package/web/app/immutable/chunks/{BjR5YHwh.js → CUp3pS17.js} +1 -1
  84. package/web/app/immutable/chunks/{BZ0mSBaB.js → CVBmzjKd.js} +1 -1
  85. package/web/app/immutable/chunks/{Bjspfceu.js → CVc7LcaQ.js} +3 -3
  86. package/web/app/immutable/chunks/{C3Xc_2xb.js → CWIcIgSm.js} +1 -1
  87. package/web/app/immutable/chunks/{4ePrLS79.js → CXm95Q2a.js} +1 -1
  88. package/web/app/immutable/chunks/{zg8PN6m2.js → CZNjFz9H.js} +1 -1
  89. package/web/app/immutable/chunks/{BTsdpwVW.js → CbeK0M7M.js} +1 -1
  90. package/web/app/immutable/chunks/{Bgfnbjb4.js → CdN2Ihv_.js} +1 -1
  91. package/web/app/immutable/chunks/{BMBWEmi-.js → CdqlgErf.js} +1 -1
  92. package/web/app/immutable/chunks/{C67p0Y3X.js → Cdx0eFWC.js} +1 -1
  93. package/web/app/immutable/chunks/{NypQX0XY.js → CeizKDc4.js} +1 -1
  94. package/web/app/immutable/chunks/{BfrLrIX3.js → CfPxdWJl.js} +1 -1
  95. package/web/app/immutable/chunks/{B38qvkXa.js → Cftldgk7.js} +1 -1
  96. package/web/app/immutable/chunks/{DFE9ZMeT.js → Cgm3wI9t.js} +1 -1
  97. package/web/app/immutable/chunks/{BlFFipH7.js → CiTK-_b6.js} +1 -1
  98. package/web/app/immutable/chunks/{q__vWBPL.js → CicdOSYm.js} +2 -2
  99. package/web/app/immutable/chunks/{DhlyaG2v.js → Ciqm_fPa.js} +1 -1
  100. package/web/app/immutable/chunks/{DMpfVpMZ.js → CjXLe_MO.js} +1 -1
  101. package/web/app/immutable/chunks/{z151fvcu.js → CjZIABEV.js} +1 -1
  102. package/web/app/immutable/chunks/{BXnVNTE7.js → CjtYlgpc.js} +1 -1
  103. package/web/app/immutable/chunks/{w-1KkHyd.js → ClTZNeVO.js} +1 -1
  104. package/web/app/immutable/chunks/{B9YprfEW.js → CmSDhJgU.js} +1 -1
  105. package/web/app/immutable/chunks/{BRo8Jwzb.js → Cn19T3na.js} +1 -1
  106. package/web/app/immutable/chunks/{CazW5qgu.js → Cn3xolhp.js} +1 -1
  107. package/web/app/immutable/chunks/{CnX2YRGO.js → CnJe4S2a.js} +1 -1
  108. package/web/app/immutable/chunks/{Fayi6fDf.js → CpWbjqtx.js} +1 -1
  109. package/web/app/immutable/chunks/{Br3lVV35.js → CpXorioa.js} +1 -1
  110. package/web/app/immutable/chunks/{-7jsI8ko.js → Ct-2wSQ6.js} +1 -1
  111. package/web/app/immutable/chunks/{B77YY-6s.js → CuXCq1os.js} +3 -3
  112. package/web/app/immutable/chunks/{CF8w5xgf.js → CusCKZ30.js} +2 -2
  113. package/web/app/immutable/chunks/{C9Fr5_HM.js → CvmMeam2.js} +1 -1
  114. package/web/app/immutable/chunks/{CNsX148e.js → CwRpBR2e.js} +1 -1
  115. package/web/app/immutable/chunks/{_5I1deZ3.js → CxLPEkg7.js} +1 -1
  116. package/web/app/immutable/chunks/{DtnvVmfW.js → CyGN0Rwg.js} +1 -1
  117. package/web/app/immutable/chunks/{QoUsFhvz.js → CzQCBVm9.js} +1 -1
  118. package/web/app/immutable/chunks/{DvfAeO7V.js → Czmjmrib.js} +1 -1
  119. package/web/app/immutable/chunks/{Ct7_3hF5.js → Czqd0ZZn.js} +1 -1
  120. package/web/app/immutable/chunks/{DEf-ATI9.js → D-aNPvuh.js} +2 -2
  121. package/web/app/immutable/chunks/{BhyJTFUy.js → D0GCx3sO.js} +1 -1
  122. package/web/app/immutable/chunks/{Dw1iDIV6.js → D2Ntkwf_.js} +1 -1
  123. package/web/app/immutable/chunks/{CSDQZlhG.js → D2pPI0H2.js} +2 -2
  124. package/web/app/immutable/chunks/{C5GvLykS.js → D60l1rCk.js} +2 -2
  125. package/web/app/immutable/chunks/{DUyQvEFA.js → D7QiNhGR.js} +1 -1
  126. package/web/app/immutable/chunks/{CxmyVU6t.js → D89Fvz2g.js} +1 -1
  127. package/web/app/immutable/chunks/{GVMXI6LG.js → D8gunWV0.js} +2 -2
  128. package/web/app/immutable/chunks/{C2T0Mn6B.js → D8lUkQ-B.js} +1 -1
  129. package/web/app/immutable/chunks/{CexBuYHb.js → D9ajM8uP.js} +1 -1
  130. package/web/app/immutable/chunks/{B4wCLW9D.js → DAYo95RN.js} +1 -1
  131. package/web/app/immutable/chunks/DHP1DFPI.js +1 -0
  132. package/web/app/immutable/chunks/{D5JOdLmk.js → DIumxlqP.js} +1 -1
  133. package/web/app/immutable/chunks/{CeNWJyWT.js → DIyuJ_GU.js} +1 -1
  134. package/web/app/immutable/chunks/{BdOhlpSw.js → DJuVbNrB.js} +1 -1
  135. package/web/app/immutable/chunks/{DNj8igH8.js → DOqpTP8b.js} +1 -1
  136. package/web/app/immutable/chunks/{CYRd4Wob.js → DPBk4F6a.js} +45 -45
  137. package/web/app/immutable/chunks/DQJminLw.js +1 -0
  138. package/web/app/immutable/chunks/{f6gZvWhT.js → DQR5oUDY.js} +1 -1
  139. package/web/app/immutable/chunks/{63yUQTxQ.js → DRSdBoB7.js} +2 -2
  140. package/web/app/immutable/chunks/{BskB9UNu.js → DSnERXrp.js} +1 -1
  141. package/web/app/immutable/chunks/{Bdhsj_WN.js → DU0nfy_y.js} +1 -1
  142. package/web/app/immutable/chunks/{DHsuwk8b.js → DV6k5cHH.js} +1 -1
  143. package/web/app/immutable/chunks/{-URApF1-.js → DVH2puba.js} +1 -1
  144. package/web/app/immutable/chunks/{CFqydF5V.js → DVN2Xze9.js} +1 -1
  145. package/web/app/immutable/chunks/{BliA9Hfd.js → DVYqzV0n.js} +1 -1
  146. package/web/app/immutable/chunks/{BD9MpLU1.js → DWiPdXwB.js} +1 -1
  147. package/web/app/immutable/chunks/{CPieco54.js → DXozNEH9.js} +1 -1
  148. package/web/app/immutable/chunks/{CKIgOGF8.js → DaaneYTG.js} +1 -1
  149. package/web/app/immutable/chunks/{BA01Qyrp.js → Dab1wvUg.js} +1 -1
  150. package/web/app/immutable/chunks/{CxvRShoZ.js → DbNMpEC8.js} +1 -1
  151. package/web/app/immutable/chunks/{JSSdZCUo.js → DdjlRG5U.js} +1 -1
  152. package/web/app/immutable/chunks/{BwFliZxu.js → DiAIgif8.js} +1 -1
  153. package/web/app/immutable/chunks/{BiIo79dP.js → Djb279-4.js} +1 -1
  154. package/web/app/immutable/chunks/{CqpEVkRe.js → Dkh7OUxN.js} +1 -1
  155. package/web/app/immutable/chunks/{M1jRBrec.js → DnTKe3X-.js} +1 -1
  156. package/web/app/immutable/chunks/{DkhG0i-L.js → DrtMUjoh.js} +2 -2
  157. package/web/app/immutable/chunks/{Bj9SEb1s.js → DuG2OZjB.js} +1 -1
  158. package/web/app/immutable/chunks/{CYvXwOOT.js → DuIazAmY.js} +1 -1
  159. package/web/app/immutable/chunks/{Hl0DaIFP.js → DxztdKvh.js} +1 -1
  160. package/web/app/immutable/chunks/FQr_NSnS.js +1 -0
  161. package/web/app/immutable/chunks/{H8igaySd.js → GVckKXJ5.js} +1 -1
  162. package/web/app/immutable/chunks/{VTQa164t.js → HLKPZgVy.js} +1 -1
  163. package/web/app/immutable/chunks/{Cu8J3bUy.js → JTj2pw56.js} +1 -1
  164. package/web/app/immutable/chunks/{BbjJy79n.js → KJX0Kw6L.js} +3 -3
  165. package/web/app/immutable/chunks/{C46ihBOs.js → L30ES58t.js} +1 -1
  166. package/web/app/immutable/chunks/{C4akiVbw.js → L_S2h6Yw.js} +1 -1
  167. package/web/app/immutable/chunks/{CSk3OXQh.js → MZ6PO-qe.js} +1 -1
  168. package/web/app/immutable/chunks/{B80iSE3f.js → MgErAKgQ.js} +2 -2
  169. package/web/app/immutable/chunks/{B0qdmuRw.js → NnMVp6ZM.js} +1 -1
  170. package/web/app/immutable/chunks/{Ic5q4SFa.js → O6f99o2k.js} +1 -1
  171. package/web/app/immutable/chunks/{LQFzKktm.js → PDh5csw9.js} +1 -1
  172. package/web/app/immutable/chunks/{BRNgor4E.js → Pat1u3oY.js} +1 -1
  173. package/web/app/immutable/chunks/{Dg21CW4e.js → R9ODE8FL.js} +3 -3
  174. package/web/app/immutable/chunks/{DpDOcKeW.js → SrezSe0o.js} +1 -1
  175. package/web/app/immutable/chunks/{aVhyGAQ9.js → SxNmK2GR.js} +3 -3
  176. package/web/app/immutable/chunks/{sWKP1DvH.js → TsEB3aw-.js} +1 -1
  177. package/web/app/immutable/chunks/{C7gE7X9c.js → ViWKv_qM.js} +1 -1
  178. package/web/app/immutable/chunks/{DGsIbXWb.js → Wsz69q6g.js} +1 -1
  179. package/web/app/immutable/chunks/{CXvl05h7.js → WvxOnEzW.js} +4 -4
  180. package/web/app/immutable/chunks/{BZ08wfR8.js → XkS41G1k.js} +1 -1
  181. package/web/app/immutable/chunks/{CzOEKH_r.js → XvLHDIL-.js} +1 -1
  182. package/web/app/immutable/chunks/{CmeM5LNl.js → ZjzfSXHu.js} +1 -1
  183. package/web/app/immutable/chunks/{siSgy-XG.js → _RGinDCt.js} +1 -1
  184. package/web/app/immutable/chunks/{LAcj3jvD.js → a1r6BT-e.js} +1 -1
  185. package/web/app/immutable/chunks/{D4oIU9K_.js → b-gQtgOb.js} +4 -4
  186. package/web/app/immutable/chunks/{B6A8YmZh.js → blPVVvA0.js} +4 -4
  187. package/web/app/immutable/chunks/{Dx6Dud7p.js → d_IAf8cB.js} +1 -1
  188. package/web/app/immutable/chunks/{BL4e9OyR.js → fCEIPyv5.js} +1 -1
  189. package/web/app/immutable/chunks/{B-oeTQH-.js → gsElU_36.js} +1 -1
  190. package/web/app/immutable/chunks/{CYQFbvSj.js → htyZQ7p9.js} +1 -1
  191. package/web/app/immutable/chunks/{C-uaKVah.js → iMyDpxOV.js} +1 -1
  192. package/web/app/immutable/chunks/{CUJ1HgBF.js → ihu83Gf7.js} +1 -1
  193. package/web/app/immutable/chunks/{DnlHbxDQ.js → ivrPoCwd.js} +1 -1
  194. package/web/app/immutable/chunks/{CPO9HaV6.js → juUcLrve.js} +1 -1
  195. package/web/app/immutable/chunks/kHCC2X2-.js +1 -0
  196. package/web/app/immutable/chunks/{gBkFTP07.js → lsICrwNh.js} +1 -1
  197. package/web/app/immutable/chunks/{DQXKHdu9.js → n5fDR6Ys.js} +1 -1
  198. package/web/app/immutable/chunks/{BDODw4ZL.js → nM9_StK8.js} +1 -1
  199. package/web/app/immutable/chunks/{sFKU0vvN.js → oYQw_s1S.js} +1 -1
  200. package/web/app/immutable/chunks/{nlN0b4Kg.js → ozzjQyCh.js} +1 -1
  201. package/web/app/immutable/chunks/{D5dUymiq.js → qdwxdMJ_.js} +1 -1
  202. package/web/app/immutable/chunks/{DqYY3PYO.js → quYX3pdL.js} +1 -1
  203. package/web/app/immutable/chunks/{igchoUQo.js → rElTuGMj.js} +1 -1
  204. package/web/app/immutable/chunks/{OmpkRRYb.js → tHDPdTwr.js} +1 -1
  205. package/web/app/immutable/chunks/{BrWJO4Lc.js → uI0ZG7MM.js} +1 -1
  206. package/web/app/immutable/chunks/{By2uKcE_.js → wjBrDDKR.js} +1 -1
  207. package/web/app/immutable/chunks/{s6vbOiKn.js → xNZ_GbEJ.js} +1 -1
  208. package/web/app/immutable/chunks/{BCpgjylh.js → yl6pDKiQ.js} +1 -1
  209. package/web/app/immutable/chunks/{BsETan6X.js → zWI60sec.js} +1 -1
  210. package/web/app/immutable/entry/app.9r9RhFng.js +4 -0
  211. package/web/app/immutable/entry/start.C8tteIq6.js +1 -0
  212. package/web/app/immutable/nodes/{0.rdVcLlxy.js → 0._MOrvR24.js} +1 -1
  213. package/web/app/immutable/nodes/{1.D48meEsB.js → 1.DVvUSeXg.js} +1 -1
  214. package/web/app/immutable/nodes/{10.B3ZRYajM.js → 10.DIleurXr.js} +1 -1
  215. package/web/app/immutable/nodes/{11.QGXqc7LC.js → 11.CPz1gfx7.js} +1 -1
  216. package/web/app/immutable/nodes/{12.DzTIsFlM.js → 12.IWuvbIEt.js} +1 -1
  217. package/web/app/immutable/nodes/{13.CDLrSMY9.js → 13.K9ySk2sQ.js} +1 -1
  218. package/web/app/immutable/nodes/{14.BcCE_OT8.js → 14.BR3FpNbu.js} +1 -1
  219. package/web/app/immutable/nodes/{15.DmQSp6jq.js → 15.MdkxIvV5.js} +1 -1
  220. package/web/app/immutable/nodes/{16.CqFxq-hK.js → 16.CKCeF79S.js} +1 -1
  221. package/web/app/immutable/nodes/{17.soEHLC3D.js → 17.DNzYNnAu.js} +2 -2
  222. package/web/app/immutable/nodes/2.DJLdbLzb.js +13 -0
  223. package/web/app/immutable/nodes/{3.DgEmNH7y.js → 3.BgL634Ss.js} +1 -1
  224. package/web/app/immutable/nodes/{4.BQfTclCW.js → 4.CR0sD7s6.js} +1 -1
  225. package/web/app/immutable/nodes/{5.IhiCVL5n.js → 5.sL-y10DG.js} +1 -1
  226. package/web/app/immutable/nodes/{6.BtfFchWI.js → 6.Ci8BcEFn.js} +1 -1
  227. package/web/app/immutable/nodes/{7.Df183ffx.js → 7.BxPcDZ4n.js} +1 -1
  228. package/web/app/immutable/nodes/{8.RdAbCE7l.js → 8.DfInEKdf.js} +10 -10
  229. package/web/app/immutable/nodes/{9.vsrHUmwE.js → 9.ChF6BmYv.js} +5 -5
  230. package/web/app/version.json +1 -1
  231. package/web/index.html +16 -16
  232. package/web/app/immutable/assets/0.DZzKp2Fe.css +0 -1
  233. package/web/app/immutable/assets/DiagramPresentation.Bfi3xHm0.css +0 -1
  234. package/web/app/immutable/chunks/BRWGzKC6.js +0 -1
  235. package/web/app/immutable/chunks/BS9z_sED.js +0 -1
  236. package/web/app/immutable/chunks/BZcL1stl.js +0 -1
  237. package/web/app/immutable/chunks/CdMatdvB.js +0 -1
  238. package/web/app/immutable/chunks/D1SzfPxa.js +0 -1
  239. package/web/app/immutable/chunks/DnvcHW1X.js +0 -1
  240. package/web/app/immutable/chunks/Z0Qp96mA.js +0 -344
  241. package/web/app/immutable/entry/app.DPzYfy9f.js +0 -4
  242. package/web/app/immutable/entry/start.C55sm0qN.js +0 -1
  243. package/web/app/immutable/nodes/2.CYuQd2Tl.js +0 -13
@@ -1 +1 @@
1
- import{I as m}from"./BZcL1stl.js";const s=m.BACKEND,T=1e4;function d(t,e){return t?t.status==="connected"||t.daemonStartup||t.sidecarStartupFailed?!0:e&&(t.status==="disconnected"||(t.reconnectAttempts??0)>0):!1}function A(t,e={}){const c=e.api!==void 0?e.api:typeof window<"u"?window.electronAPI:void 0,a=e.timeoutMs??T,l=e.settleOnConnectFailure??!1;if(!c)return t(),()=>{};const r=c;let u=!1,n=null,i=null;const S=f=>{d(f,l)&&o()};function o(){u||(u=!0,n&&(clearTimeout(n),n=null),i&&(r.offById(s.STATUS,i),i=null),t())}return i=r.on(s.STATUS,S),n=setTimeout(o,a),r.invoke(s.GET_STATUS).then(f=>{d(f,l)&&o()}).catch(()=>{}),()=>{u||(u=!0,n&&(clearTimeout(n),n=null),i&&(r.offById(s.STATUS,i),i=null))}}function C(t){t&&(t.classList.add("mounted"),t.addEventListener("transitionend",()=>t.remove(),{once:!0}))}function I(t,e){return t?A(()=>C(t),e):()=>{}}export{C as d,A as s,I as w};
1
+ import{I as m}from"./DHP1DFPI.js";const s=m.BACKEND,T=1e4;function d(t,e){return t?t.status==="connected"||t.daemonStartup||t.sidecarStartupFailed?!0:e&&(t.status==="disconnected"||(t.reconnectAttempts??0)>0):!1}function A(t,e={}){const c=e.api!==void 0?e.api:typeof window<"u"?window.electronAPI:void 0,a=e.timeoutMs??T,l=e.settleOnConnectFailure??!1;if(!c)return t(),()=>{};const r=c;let u=!1,n=null,i=null;const S=f=>{d(f,l)&&o()};function o(){u||(u=!0,n&&(clearTimeout(n),n=null),i&&(r.offById(s.STATUS,i),i=null),t())}return i=r.on(s.STATUS,S),n=setTimeout(o,a),r.invoke(s.GET_STATUS).then(f=>{d(f,l)&&o()}).catch(()=>{}),()=>{u||(u=!0,n&&(clearTimeout(n),n=null),i&&(r.offById(s.STATUS,i),i=null))}}function C(t){t&&(t.classList.add("mounted"),t.addEventListener("transitionend",()=>t.remove(),{once:!0}))}function I(t,e){return t?A(()=>C(t),e):()=>{}}export{C as d,A as s,I as w};
@@ -1 +1 @@
1
- var E=Object.defineProperty;var N=(t,e,a)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var _=(t,e,a)=>N(t,typeof e!="symbol"?e+"":e,a);import{aR as b,aP as S,b4 as A,ao as W,a0 as B,b2 as k,s as U,bL as x,bT as M,bM as v,bt as O,aW as f,ae as C,d as Y,c4 as F,b0 as H,aA as K,bU as T,U as $,bd as L,a4 as G}from"./DYhIMPy1.js";import{B as j,bp as r}from"./CGWRZzdk.js";import{nE as q,nC as Q,nD as Z,Ix as J}from"./q__vWBPL.js";import{Q as V,aI as X}from"./Dlo7xxGg.js";import{t as R,u as ee}from"./BOTuR8YM.js";const z=0,P=1,te=2;function ge(t,e,a,s,n){b&&S();var p=A(),o=$,c=p?T(o):L(o,!1,!1),g=p?T(o):L(o,!1,!1);W&&(c.label="{#await ...} value",g.label="{#await ...} error");var i=new j(t);B(()=>{var d=C,m=e(),y=!1;let w=b&&k(m)===(t.data===U);if(w&&(x(M()),v(!1)),k(m)){var D=G(),I=!1;const l=u=>{if(!y){I=!0,D(!1),C===d&&d.deactivate(),Y.ensure();try{u()}finally{F(!1),H||K()}}};m.then(u=>{l(()=>{f(c,u),i.ensure(P,s&&(h=>s(h,c)))})},u=>{l(()=>{if(f(g,u),i.ensure(te,n&&(h=>n(h,g))),!n)throw g.v})}),b?i.ensure(z,a):O(()=>{I||l(()=>{i.ensure(z,a)})})}else f(c,m),i.ensure(P,s&&(l=>s(l,c)));return w&&v(!0),()=>{y=!0}})}class ae{constructor(){_(this,"types",new Map);_(this,"componentLoads",new Map)}register(e){this.types.has(e.type)&&console.warn(`Tab type "${e.type}" is already registered. Overwriting.`),this.types.set(e.type,e),this.componentLoads.delete(e.type)}loadComponent(e){const a=this.types.get(e);if(!a)return Promise.reject(new Error(`Unknown tab type: ${e}`));const s=this.componentLoads.get(e);if(s?.registration===a)return s.promise;const n={registration:a},p="component"in a&&a.component?Promise.resolve(a.component):Promise.resolve().then(()=>a.loadComponent()).then(o=>o.default);return n.promise=p.then(o=>(this.componentLoads.get(e)===n&&(n.component=o),o)).catch(o=>{throw this.componentLoads.get(e)===n&&this.componentLoads.delete(e),o}),this.componentLoads.set(e,n),n.promise}getLoadedComponent(e){const a=this.types.get(e);if(!a)return;if("component"in a)return a.component;const s=this.componentLoads.get(e);return s?.registration===a?s.component:void 0}resetComponentLoad(e){this.componentLoads.delete(e)}get(e){return this.types.get(e)}getAll(){return Array.from(this.types.values())}has(e){return this.types.has(e)}getIcon(e){return this.types.get(e)?.icon}getCategoryLabel(e){return this.types.get(e)?.categoryLabel??r.layout_tabTypes_panel_category()}getSidebarTabId(e){return this.types.get(e)?.sidebarTabId??null}isRenameable(e){return this.types.get(e)?.renameable??!1}getDefaultWidthTier(e){return this.types.get(e)?.defaultWidthTier??q(e)}getDefaultWidth(e,a=0){const s=this.types.get(e);return s?Q(s.defaultWidthTier,a):Z(e,a)}}const me=new ae,he={note:V,changes:X},re={note:"note",changes:"changes","local-changes":"changes","chat-changes":"changes","activity-changes":"changes"};function _e(t){return re[t]??null}const be=J.createSelector((t,e)=>e?t.workspaceCreateProgress.byProgressId[e]??null:null);function se(t){const e=t?.match(/\((\d+)\/(\d+)\)/);return e?{current:Number(e[1]),total:Number(e[2])}:null}function oe(t){const e=t?.match(/^Updating (\S+) from (\S+?)(?:\.\.\.|…)?$/);return e?{base:e[1],remote:e[2]}:null}function fe(t){switch(t.phase){case"cache":return r.workspace_compactInitializer_progressCache_label();case"base-refresh":{const e=oe(t.message);return e?r.workspace_compactInitializer_progressBaseRefresh_label(e):r.workspace_compactInitializer_progressBaseRefreshGeneric_label()}case"counting":return r.workspace_compactInitializer_progressCounting_label();case"compressing":return r.workspace_compactInitializer_progressCompressing_label();case"receiving":return r.workspace_compactInitializer_progressReceiving_label();case"resolving":return r.workspace_compactInitializer_progressResolving_label();case"checkout":return r.workspace_compactInitializer_progressCheckout_label();case"submodules":{const e=se(t.message);return e?r.workspace_compactInitializer_progressSubmodulesCounted_label({current:R(e.current),total:R(e.total)}):r.workspace_compactInitializer_progressSubmodules_label()}case"cow-copy":return r.workspace_compactInitializer_progressCowCopy_label();case"worktree":return r.workspace_compactInitializer_progressWorktree_label();case"finalizing":return r.workspace_compactInitializer_progressFinalizing_label();case"complete":return r.workspace_compactInitializer_stageAlmostReady_label();case"starting":default:return r.workspace_compactInitializer_stagePreparing_label()}}function de(t){const e=Math.min(Math.max(t,0),100);return ee(e/100,{style:"percent",maximumFractionDigits:0})}export{he as R,ge as a,fe as c,de as f,_e as g,be as s,me as t};
1
+ var E=Object.defineProperty;var N=(t,e,a)=>e in t?E(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var _=(t,e,a)=>N(t,typeof e!="symbol"?e+"":e,a);import{aR as b,aP as S,b4 as A,ao as W,a0 as B,b2 as k,s as U,bL as x,bT as M,bM as v,bt as O,aW as f,ae as C,d as Y,c4 as F,b0 as H,aA as K,bU as T,U as $,bd as L,a4 as G}from"./DYhIMPy1.js";import{B as j,bp as r}from"./CGWRZzdk.js";import{nE as q,nC as Q,nD as Z,Ix as J}from"./CicdOSYm.js";import{Q as V,aI as X}from"./By0eqGj-.js";import{t as R,u as ee}from"./BM1KP-FJ.js";const z=0,P=1,te=2;function ge(t,e,a,s,n){b&&S();var p=A(),o=$,c=p?T(o):L(o,!1,!1),g=p?T(o):L(o,!1,!1);W&&(c.label="{#await ...} value",g.label="{#await ...} error");var i=new j(t);B(()=>{var d=C,m=e(),y=!1;let w=b&&k(m)===(t.data===U);if(w&&(x(M()),v(!1)),k(m)){var D=G(),I=!1;const l=u=>{if(!y){I=!0,D(!1),C===d&&d.deactivate(),Y.ensure();try{u()}finally{F(!1),H||K()}}};m.then(u=>{l(()=>{f(c,u),i.ensure(P,s&&(h=>s(h,c)))})},u=>{l(()=>{if(f(g,u),i.ensure(te,n&&(h=>n(h,g))),!n)throw g.v})}),b?i.ensure(z,a):O(()=>{I||l(()=>{i.ensure(z,a)})})}else f(c,m),i.ensure(P,s&&(l=>s(l,c)));return w&&v(!0),()=>{y=!0}})}class ae{constructor(){_(this,"types",new Map);_(this,"componentLoads",new Map)}register(e){this.types.has(e.type)&&console.warn(`Tab type "${e.type}" is already registered. Overwriting.`),this.types.set(e.type,e),this.componentLoads.delete(e.type)}loadComponent(e){const a=this.types.get(e);if(!a)return Promise.reject(new Error(`Unknown tab type: ${e}`));const s=this.componentLoads.get(e);if(s?.registration===a)return s.promise;const n={registration:a},p="component"in a&&a.component?Promise.resolve(a.component):Promise.resolve().then(()=>a.loadComponent()).then(o=>o.default);return n.promise=p.then(o=>(this.componentLoads.get(e)===n&&(n.component=o),o)).catch(o=>{throw this.componentLoads.get(e)===n&&this.componentLoads.delete(e),o}),this.componentLoads.set(e,n),n.promise}getLoadedComponent(e){const a=this.types.get(e);if(!a)return;if("component"in a)return a.component;const s=this.componentLoads.get(e);return s?.registration===a?s.component:void 0}resetComponentLoad(e){this.componentLoads.delete(e)}get(e){return this.types.get(e)}getAll(){return Array.from(this.types.values())}has(e){return this.types.has(e)}getIcon(e){return this.types.get(e)?.icon}getCategoryLabel(e){return this.types.get(e)?.categoryLabel??r.layout_tabTypes_panel_category()}getSidebarTabId(e){return this.types.get(e)?.sidebarTabId??null}isRenameable(e){return this.types.get(e)?.renameable??!1}getDefaultWidthTier(e){return this.types.get(e)?.defaultWidthTier??q(e)}getDefaultWidth(e,a=0){const s=this.types.get(e);return s?Q(s.defaultWidthTier,a):Z(e,a)}}const me=new ae,he={note:V,changes:X},re={note:"note",changes:"changes","local-changes":"changes","chat-changes":"changes","activity-changes":"changes"};function _e(t){return re[t]??null}const be=J.createSelector((t,e)=>e?t.workspaceCreateProgress.byProgressId[e]??null:null);function se(t){const e=t?.match(/\((\d+)\/(\d+)\)/);return e?{current:Number(e[1]),total:Number(e[2])}:null}function oe(t){const e=t?.match(/^Updating (\S+) from (\S+?)(?:\.\.\.|…)?$/);return e?{base:e[1],remote:e[2]}:null}function fe(t){switch(t.phase){case"cache":return r.workspace_compactInitializer_progressCache_label();case"base-refresh":{const e=oe(t.message);return e?r.workspace_compactInitializer_progressBaseRefresh_label(e):r.workspace_compactInitializer_progressBaseRefreshGeneric_label()}case"counting":return r.workspace_compactInitializer_progressCounting_label();case"compressing":return r.workspace_compactInitializer_progressCompressing_label();case"receiving":return r.workspace_compactInitializer_progressReceiving_label();case"resolving":return r.workspace_compactInitializer_progressResolving_label();case"checkout":return r.workspace_compactInitializer_progressCheckout_label();case"submodules":{const e=se(t.message);return e?r.workspace_compactInitializer_progressSubmodulesCounted_label({current:R(e.current),total:R(e.total)}):r.workspace_compactInitializer_progressSubmodules_label()}case"cow-copy":return r.workspace_compactInitializer_progressCowCopy_label();case"worktree":return r.workspace_compactInitializer_progressWorktree_label();case"finalizing":return r.workspace_compactInitializer_progressFinalizing_label();case"complete":return r.workspace_compactInitializer_stageAlmostReady_label();case"starting":default:return r.workspace_compactInitializer_stagePreparing_label()}}function de(t){const e=Math.min(Math.max(t,0),100);return ee(e/100,{style:"percent",maximumFractionDigits:0})}export{he as R,ge as a,fe as c,de as f,_e as g,be as s,me as t};
@@ -1 +1 @@
1
- import{Ix as s,B6 as g,nQ as I,CN as v,nw as L,mb as n,nx as b,hT as h,nt as w,nm as m,nF as f,h_ as C,ro as O,vf as y}from"./q__vWBPL.js";import{g as T}from"./CNsX148e.js";const A=s.createSelector(e=>e.tabState.isDragging),R=s.createSelector(e=>e.tabState.scrollPositions),j=s.createSelector(e=>e.tabState.currentTabId),B=s.createSelector((e,t)=>e.tabState.openTabs[t]===!0),E=s.createSelector(e=>e.tabState.mountedBrowserTabLeases),G=s.createSelector(e=>e.tabState.browserTabRecoveryRequests),M=s.createSelector(e=>e.tabState.browserTabNavigations),_=s.createSelector(e=>e.tabState.browserTabsAgentDrawing),N=s.createSelector(e=>e.connections?.hasReceivedList===!0&&e.tabState.hydratedBackendId===T(e)),x=s.createSelector(e=>e.tabState.workspaceStacks.flatMap(t=>t)),W=[],S=new WeakMap;function D(e){const t=e.tabGroups;if(!t)return W;let a=S.get(t);return a||(a=I(e),S.set(t,a)),a}const H=s.createSelector(e=>{if(e.userPreferences?.labsTabGroupsEnabled!==!0)return null;const{openTabGroupId:t,currentTabId:a}=e.tabState;return g(I(e.tabState),a,t)}),F=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),z=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0?D(e.tabState):W),q=s.createSelector(e=>Object.keys(e.tabState.openTabs).filter(t=>e.tabState.openTabs[t]===!0)),J=s.createSelector(e=>{const{recentlyClosedTabIds:t,recentlyClosedTabAt:a,openTabs:r}=e.tabState;for(let o=t.length-1;o>=0;o--){const c=t[o];if(!r[c])return{workspaceId:c,closedAt:a[c]??0}}return null}),K=s.createSelector(e=>v(e.tabState)),p=[],Q=s.createSelector(e=>{if(e.connections&&!e.connections.hasReceivedList)return p;const t=T(e);if(e.tabState.hydratedBackendId!==t||!e.workspace.hasLoaded||e.workspace.loadedBackendId!==t||e.workspace.workspaces.ids.length===0)return p;const a=e.tabState.workspaceStacks.flatMap(r=>r).filter(r=>e.tabState.optimisticTabs[r]||e.workspace.pendingCreations[r]||e.workspace.pendingDeletions[r]?!1:!L(e.workspace.workspaces,r));return a.length===0?p:a}),se=Object.freeze(Object.defineProperty({__proto__:null,selectActiveWorkspaceIds:q,selectAllScrollPositions:R,selectBrowserTabNavigations:M,selectBrowserTabRecoveryRequests:G,selectBrowserTabsAgentDrawing:_,selectCurrentWorkspaceTabId:j,selectIsDragging:A,selectIsWorkspaceTabOpen:B,selectLastClosedWorkspaceTab:J,selectMountedBrowserTabLeases:E,selectOpenWorkspaceTabGroupId:H,selectPersistedWorkspaceTabsState:K,selectWorkspaceTabGroups:z,selectWorkspaceTabGroupsEnabled:F,selectWorkspaceTabOrder:x,selectWorkspaceTabsHydrated:N,selectWorkspaceTabsToReconcile:Q},Symbol.toStringTag,{value:"Module"}));function V(e,t){return t?JSON.stringify(["git-root",t,e]):e}const d=[];function U(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const re=s.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??n),oe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).pendingPanelReveal??null),k={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function ne(e,t,a,r){if(r.workspaceId&&r.workspaceId!==a)return k;const o=r,c=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,o));if(c.length===0)return k;const u=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,o);return{count:c.length,isOpen:!0,isActive:u,isOpenElsewhere:!u}}const ce=s.createSelector(e=>e.panelLayout.byWorkspaceId),le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).root),ie=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).expandedPanelId),ue=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).panels),pe=s.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??n).panels[a]),de=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).focusedPanelId),be=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=a.focusedPanelId,o=r?a.panels[r]:void 0;return[t,{panelId:o?r:null,activeTabId:o?.activeTabId??null}]})));const fe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).restoreStatus),ye=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;if(!a.focusedPanelId)return;const r=a.panels[a.focusedPanelId];if(!(!r||!r.activeTabId))return r.tabs.find(o=>o.id===r.activeTabId)}),Se=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;for(let r=a.focusHistory.length-1;r>=0;r-=1){const o=a.focusHistory[r],c=a.panels[o.panelId]?.tabs.find(u=>u.id===o.tabId);if(c?.type==="agent")return c}}),ke=s.createSelector((e,t,a)=>{const o=(e.panelLayout.byWorkspaceId[t]??n).panels[a];if(!(!o||!o.activeTabId))return o.tabs.find(c=>c.id===o.activeTabId)}),Ie=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return Object.values(a.panels).flatMap(r=>r.tabs)}),Te=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.hiddenTabs??n.hiddenTabs)});function X(e){const t=[];for(const a of Object.values(e.panels))for(const r of a.tabs)r.type==="browser"&&t.push({tab:r,visibility:"visible",displayed:a.activeTabId===r.id});for(const a of b(e.hiddenTabs??n.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const Y=s.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??n;return X(a).length>0}),We=s.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>Y.select(e,t)));s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=Object.values(a.panels).some(o=>o.tabs.length>0);return[t,r?h(a.root):0]})));const Pe=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return w(a.root,a.panels)});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??m(a.root,a.panels,"content")])));const ge=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidth),ve=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidthSource),Le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).columnCount);s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const he=s.createSelector((e,t,a=!1)=>{if(!U(t))return d;const r=e.panelLayout.byWorkspaceId[t],o=e.files.byWorkspaceId[t];if(!o)return d;if(!r)return a?[...o.files.ids].sort((l,i)=>l.localeCompare(i)):d;const c=new Set;for(const l of Object.values(r.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&c.add(V(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const u=[];for(const l of o.files.ids)c.has(l)||u.push(l);return u.length===0?d:(u.sort((l,i)=>l.localeCompare(i)),u)}),we=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return f(a.root)});function P(e){return f(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const me=s.createSelector((e,t)=>P(e.panelLayout.byWorkspaceId[t]??n));s.createSelector((e,t,a)=>P(e.panelLayout.byWorkspaceId[t]??n).find(r=>r.panelId===a));function Z(e){return f(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const o=a.tabs.find(c=>c.id===a.activeTabId)??a.tabs[0];return[{id:t,title:o?.title??"",type:o?.type}]})}s.createSelector((e,t)=>Z(e.panelLayout.byWorkspaceId[t]??n));const $=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).recentlyClosed),ee=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.recentlyClosedColumns??C("historyId")).find(r=>O(a,r))??null}),Ce=s.createSelector((e,t)=>{const a=$.select(e,t)[0]??null,r=ee.select(e,t);return r&&(!a||r.closedAt>=a.closedAt)?{kind:"column",closedAt:r.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null});export{ge as A,ve as B,Le as C,Pe as D,me as E,we as F,le as G,re as H,ce as I,ue as J,oe as K,K as L,$ as M,fe as N,z as O,F as P,x as Q,N as R,Q as S,se as T,ke as a,q as b,X as c,R as d,Ie as e,V as f,ne as g,M as h,G as i,_ as j,We as k,j as l,ie as m,he as n,be as o,de as p,Te as q,A as r,ye as s,B as t,J as u,Ce as v,Se as w,E as x,H as y,pe as z};
1
+ import{Ix as s,B6 as g,nQ as I,CN as v,nw as L,mb as n,nx as b,hT as h,nt as w,nm as m,nF as f,h_ as C,ro as O,vf as y}from"./CicdOSYm.js";import{g as T}from"./CwRpBR2e.js";const A=s.createSelector(e=>e.tabState.isDragging),R=s.createSelector(e=>e.tabState.scrollPositions),j=s.createSelector(e=>e.tabState.currentTabId),B=s.createSelector((e,t)=>e.tabState.openTabs[t]===!0),E=s.createSelector(e=>e.tabState.mountedBrowserTabLeases),G=s.createSelector(e=>e.tabState.browserTabRecoveryRequests),M=s.createSelector(e=>e.tabState.browserTabNavigations),_=s.createSelector(e=>e.tabState.browserTabsAgentDrawing),N=s.createSelector(e=>e.connections?.hasReceivedList===!0&&e.tabState.hydratedBackendId===T(e)),x=s.createSelector(e=>e.tabState.workspaceStacks.flatMap(t=>t)),W=[],S=new WeakMap;function D(e){const t=e.tabGroups;if(!t)return W;let a=S.get(t);return a||(a=I(e),S.set(t,a)),a}const H=s.createSelector(e=>{if(e.userPreferences?.labsTabGroupsEnabled!==!0)return null;const{openTabGroupId:t,currentTabId:a}=e.tabState;return g(I(e.tabState),a,t)}),F=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0),z=s.createSelector(e=>e.userPreferences?.labsTabGroupsEnabled===!0?D(e.tabState):W),q=s.createSelector(e=>Object.keys(e.tabState.openTabs).filter(t=>e.tabState.openTabs[t]===!0)),J=s.createSelector(e=>{const{recentlyClosedTabIds:t,recentlyClosedTabAt:a,openTabs:r}=e.tabState;for(let o=t.length-1;o>=0;o--){const c=t[o];if(!r[c])return{workspaceId:c,closedAt:a[c]??0}}return null}),K=s.createSelector(e=>v(e.tabState)),p=[],Q=s.createSelector(e=>{if(e.connections&&!e.connections.hasReceivedList)return p;const t=T(e);if(e.tabState.hydratedBackendId!==t||!e.workspace.hasLoaded||e.workspace.loadedBackendId!==t||e.workspace.workspaces.ids.length===0)return p;const a=e.tabState.workspaceStacks.flatMap(r=>r).filter(r=>e.tabState.optimisticTabs[r]||e.workspace.pendingCreations[r]||e.workspace.pendingDeletions[r]?!1:!L(e.workspace.workspaces,r));return a.length===0?p:a}),se=Object.freeze(Object.defineProperty({__proto__:null,selectActiveWorkspaceIds:q,selectAllScrollPositions:R,selectBrowserTabNavigations:M,selectBrowserTabRecoveryRequests:G,selectBrowserTabsAgentDrawing:_,selectCurrentWorkspaceTabId:j,selectIsDragging:A,selectIsWorkspaceTabOpen:B,selectLastClosedWorkspaceTab:J,selectMountedBrowserTabLeases:E,selectOpenWorkspaceTabGroupId:H,selectPersistedWorkspaceTabsState:K,selectWorkspaceTabGroups:z,selectWorkspaceTabGroupsEnabled:F,selectWorkspaceTabOrder:x,selectWorkspaceTabsHydrated:N,selectWorkspaceTabsToReconcile:Q},Symbol.toStringTag,{value:"Module"}));function V(e,t){return t?JSON.stringify(["git-root",t,e]):e}const d=[];function U(e){return!!e&&e!=="new"&&!e.startsWith("optimistic-")&&e!=="undefined"}const re=s.createSelector((e,t)=>e.panelLayout.byWorkspaceId[t]??n),oe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).pendingPanelReveal??null),k={count:0,isOpen:!1,isActive:!1,isOpenElsewhere:!1};function ne(e,t,a,r){if(r.workspaceId&&r.workspaceId!==a)return k;const o=r,c=e.filter(l=>(!l.workspaceId||l.workspaceId===a)&&y(l,o));if(c.length===0)return k;const u=!!t&&(!t.workspaceId||t.workspaceId===a)&&y(t,o);return{count:c.length,isOpen:!0,isActive:u,isOpenElsewhere:!u}}const ce=s.createSelector(e=>e.panelLayout.byWorkspaceId),le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).root),ie=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).expandedPanelId),ue=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).panels),pe=s.createSelector((e,t,a)=>(e.panelLayout.byWorkspaceId[t]??n).panels[a]),de=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).focusedPanelId),be=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return a.focusedPanelId?a.panels[a.focusedPanelId]:void 0});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=a.focusedPanelId,o=r?a.panels[r]:void 0;return[t,{panelId:o?r:null,activeTabId:o?.activeTabId??null}]})));const fe=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).restoreStatus),ye=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;if(!a.focusedPanelId)return;const r=a.panels[a.focusedPanelId];if(!(!r||!r.activeTabId))return r.tabs.find(o=>o.id===r.activeTabId)}),Se=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;for(let r=a.focusHistory.length-1;r>=0;r-=1){const o=a.focusHistory[r],c=a.panels[o.panelId]?.tabs.find(u=>u.id===o.tabId);if(c?.type==="agent")return c}}),ke=s.createSelector((e,t,a)=>{const o=(e.panelLayout.byWorkspaceId[t]??n).panels[a];if(!(!o||!o.activeTabId))return o.tabs.find(c=>c.id===o.activeTabId)}),Ie=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return Object.values(a.panels).flatMap(r=>r.tabs)}),Te=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.hiddenTabs??n.hiddenTabs)});function X(e){const t=[];for(const a of Object.values(e.panels))for(const r of a.tabs)r.type==="browser"&&t.push({tab:r,visibility:"visible",displayed:a.activeTabId===r.id});for(const a of b(e.hiddenTabs??n.hiddenTabs))a.type==="browser"&&t.push({tab:a,visibility:"hidden",displayed:!1});return t}const Y=s.createSelector((e,t)=>{const a=e?.panelLayout?.byWorkspaceId[t]??n;return X(a).length>0}),We=s.createSelector(e=>Object.keys(e.panelLayout.byWorkspaceId).filter(t=>Y.select(e,t)));s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>{const r=Object.values(a.panels).some(o=>o.tabs.length>0);return[t,r?h(a.root):0]})));const Pe=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return w(a.root,a.panels)});s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.canvasWidth??m(a.root,a.panels,"content")])));const ge=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidth),ve=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).canvasWidthSource),Le=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).columnCount);s.createSelector(e=>Object.fromEntries(Object.entries(e.panelLayout.byWorkspaceId).map(([t,a])=>[t,a.restoreStatus])));const he=s.createSelector((e,t,a=!1)=>{if(!U(t))return d;const r=e.panelLayout.byWorkspaceId[t],o=e.files.byWorkspaceId[t];if(!o)return d;if(!r)return a?[...o.files.ids].sort((l,i)=>l.localeCompare(i)):d;const c=new Set;for(const l of Object.values(r.panels))for(const i of l.tabs)i.type==="file"&&typeof i.filePath=="string"&&i.filePath.length>0&&c.add(V(i.filePath,typeof i.data?.gitRootId=="string"?i.data.gitRootId:void 0));const u=[];for(const l of o.files.ids)c.has(l)||u.push(l);return u.length===0?d:(u.sort((l,i)=>l.localeCompare(i)),u)}),we=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return f(a.root)});function P(e){return f(e.root).flatMap(t=>{const a=e.panels[t];return a?[{panelId:t,panes:a.tabs,activePaneId:a.activeTabId,attentionPaneIds:a.attentionTabIds??[]}]:[]})}const me=s.createSelector((e,t)=>P(e.panelLayout.byWorkspaceId[t]??n));s.createSelector((e,t,a)=>P(e.panelLayout.byWorkspaceId[t]??n).find(r=>r.panelId===a));function Z(e){return f(e.root).flatMap(t=>{const a=e.panels[t];if(!a)return[];const o=a.tabs.find(c=>c.id===a.activeTabId)??a.tabs[0];return[{id:t,title:o?.title??"",type:o?.type}]})}s.createSelector((e,t)=>Z(e.panelLayout.byWorkspaceId[t]??n));const $=s.createSelector((e,t)=>(e.panelLayout.byWorkspaceId[t]??n).recentlyClosed),ee=s.createSelector((e,t)=>{const a=e.panelLayout.byWorkspaceId[t]??n;return b(a.recentlyClosedColumns??C("historyId")).find(r=>O(a,r))??null}),Ce=s.createSelector((e,t)=>{const a=$.select(e,t)[0]??null,r=ee.select(e,t);return r&&(!a||r.closedAt>=a.closedAt)?{kind:"column",closedAt:r.closedAt}:a?{kind:"tab",closedAt:a.closedAt}:null});export{ge as A,ve as B,Le as C,Pe as D,me as E,we as F,le as G,re as H,ce as I,ue as J,oe as K,K as L,$ as M,fe as N,z as O,F as P,x as Q,N as R,Q as S,se as T,ke as a,q as b,X as c,R as d,Ie as e,V as f,ne as g,M as h,G as i,_ as j,We as k,j as l,ie as m,he as n,be as o,de as p,Te as q,A as r,ye as s,B as t,J as u,Ce as v,Se as w,E as x,H as y,pe as z};
@@ -1 +1 @@
1
- import{a as S}from"./BdWqymET.js";import{aE as g}from"./DYhIMPy1.js";import{g as c}from"./CSDQZlhG.js";import{p as l}from"./C67p0Y3X.js";import{d as I}from"./B0Z-1lwJ.js";import{dC as f}from"./8gT6H_CO.js";import{Bw as u,g as y,Ix as o,gR as A,v0 as m,v1 as N,v3 as b}from"./q__vWBPL.js";import{g as W,n as h}from"./CNsX148e.js";import{S as D,a as R,n as E}from"./63yUQTxQ.js";import{n as O,o as v}from"./B38qvkXa.js";const k="intent:onboarding-skip:v1";function P(e){return u.getItem(h(k,e))==="1"}function re(e){P(e)||u.setItem(h(k,e),"1")}function _(e){return e.connections?.hasReceivedList===!0&&P(W(e))}function F(e,a){return e.some(t=>t.id!==y&&t.id!==a&&t.status!=="Archived"&&t.status!=="Deleted")}function j(e,a,t=!1){return t||F(e,a)?"/":"/workspace/new"}function d(e,a){return j(f.select(e),a,_(e))}const se=Object.freeze(Object.defineProperty({__proto__:null,resolveWindowEmptyDestination:d},Symbol.toStringTag,{value:"Module"})),r=new S("WorkspaceNavigation");async function L(e){r.info(`[navigateToAgent] Navigating to agent: ${e}`);const t=g(l).params.id;if(!t){r.error("[navigateToAgent] No workspace ID found in current page params");return}const n=new URL(window.location.href);n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","agent"),n.searchParams.set("selectedAgent",e),n.searchParams.delete("selectedTerminal"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"agent",e))}async function C(e){r.info(`[navigateToTerminal] Navigating to terminal: ${e}`);const t=g(l).params.id;if(!t){r.error("[navigateToTerminal] No workspace ID found in current page params");return}const n=new URL(window.location.href),i=n.searchParams.get("drawerOpen")==="1",s=n.searchParams.get("drawerType")==="terminal";(!i||!s)&&n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","terminal"),n.searchParams.set("selectedTerminal",e),n.searchParams.delete("selectedAgent"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"terminal",e))}function $(e){return!e||!(e instanceof Element)?void 0:e.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0}async function p(e,a){r.info(`[navigateToNote] Navigating to note: ${e}`,a);const t=g(l),n=a?.workspaceId??t.params.id;if(!n){r.error("[navigateToNote] No workspace ID found in current page params");return}o.dispatch(b(n,e,{openInAdjacentPanel:a?.openInAdjacentPanel??!1,openInNewAdjacentPanel:a?.openInNewAdjacentPanel??!1,sourcePanelId:a?.sourcePanelId}))}async function U(e,a,t){r.info(`[navigateToFile] Navigating to file: ${e}${a?` (line ${a})`:""}`,t);const i=g(l).params.id;if(!i){r.error("[navigateToFile] No workspace ID found in current page params");return}o.dispatch(N(i,e,{line:a,openInAdjacentPanel:t?.openInAdjacentPanel??!1,sourcePanelId:t?.sourcePanelId}))}async function B(){r.info("[navigateToSpec] Navigating to workspace spec"),await p("spec")}async function M(){r.info("[closeDrawer] Closing drawer");const a=g(l).params.id;if(!a){r.error("[closeDrawer] No workspace ID found in current page params");return}const t=new URL(window.location.href);t.searchParams.set("drawerOpen","0"),t.searchParams.delete("selectedAgent"),t.searchParams.delete("selectedTerminal"),await c(t.toString(),{replaceState:!0}),o.dispatch(A(a))}async function K(){r.info("[clearMainContent] Clearing main content");const e=new URL(window.location.href);e.searchParams.set("mainContentType","empty"),e.searchParams.delete("selectedNoteId"),e.searchParams.delete("selectedFile"),e.searchParams.delete("line"),await c(e.toString(),{replaceState:!1})}async function G(e,a,t){r.info("[navigateToTask] Navigating to task",{noteId:e,taskPosition:a,taskText:t}),await p(e);const n=()=>{I("scroll-to-task",{noteId:e,taskPosition:a,taskText:t},{bubbles:!0}),r.debug("[navigateToTask] Dispatched scroll-to-task event",{noteId:e,taskPosition:a})},i=[100,300,600];for(const s of i)setTimeout(n,s)}async function H(e){r.info("[navigateToSettings] Navigating to settings",e);const a=new URL("/settings",window.location.origin),t=window.location.pathname.match(/^\/workspace\/([^/]+)/)?.[1],n=t==="new"?void 0:t,i=e?.workspaceId??n;if(e?.tab&&a.searchParams.set("tab",e.tab),e?.specialist&&a.searchParams.set("specialist",e.specialist),e?.view&&a.searchParams.set("view",e.view),i&&a.searchParams.set("workspaceId",i),e?.hash&&(a.hash=e.hash),typeof window<"u"&&window.location.pathname==="/settings"){if(e?.tab||e?.specialist||e?.view||e?.workspaceId){const s=new URL(window.location.href);e?.tab&&s.searchParams.set("tab",e.tab),e?.specialist&&s.searchParams.set("specialist",e.specialist),e?.view&&s.searchParams.set("view",e.view),e?.workspaceId&&s.searchParams.set("workspaceId",e.workspaceId),e?.hash&&(s.hash=e.hash),await c(s.toString(),{replaceState:!0});return}if(e?.hash){const s=`#${e.hash}`;window.location.hash===s&&(window.location.hash=""),window.location.hash=s;return}return}await E(a.pathname+a.search+a.hash)}function T(){const e=typeof sessionStorage>"u"?null:sessionStorage.getItem(D);if(e&&e!=="/"&&!R(e))return e;const a=w();return a?`/workspace/${a.id}`:d(o.state)}async function z(){const e=T();r.info("[navigateBackFromSettings] Navigating back to:",e),await O(e)}function w(e){return f.select(o.state).find(a=>a.id!==e&&a.status!=="Archived"&&a.status!=="Deleted")}async function Y(){const e=w();if(e){r.info("[navigateToFirstWorkspace] Showing workspace:",e.id),await v(e.id);return}const a=d(o.state);r.info("[navigateToFirstWorkspace] Navigating to:",a),await c(a)}async function x(e){const a=w(e);if(a){r.info("[navigateAfterWorkspaceRemoval] Showing workspace:",a.id),await v(a.id);return}const t=d(o.state,e);r.info("[navigateAfterWorkspaceRemoval] Navigating to:",t),await c(t)}const ie=Object.freeze(Object.defineProperty({__proto__:null,clearMainContent:K,closeDrawer:M,findSourcePanelId:$,getSettingsPreviousPath:T,navigateAfterWorkspaceRemoval:x,navigateBackFromSettings:z,navigateToAgent:L,navigateToFile:U,navigateToFirstWorkspace:Y,navigateToNote:p,navigateToSettings:H,navigateToSpec:B,navigateToTask:G,navigateToTerminal:C},Symbol.toStringTag,{value:"Module"}));export{U as a,Y as b,p as c,H as d,G as e,$ as f,d as g,ie as h,_ as i,z as n,re as r,se as w};
1
+ import{a as S}from"./BdWqymET.js";import{aE as g}from"./DYhIMPy1.js";import{g as c}from"./D2pPI0H2.js";import{p as l}from"./Cdx0eFWC.js";import{d as I}from"./B0Z-1lwJ.js";import{dC as f}from"./C0g2TqGQ.js";import{Bw as u,g as y,Ix as o,gR as A,v0 as m,v1 as N,v3 as b}from"./CicdOSYm.js";import{g as W,n as h}from"./CwRpBR2e.js";import{S as D,a as R,n as E}from"./DRSdBoB7.js";import{n as O,o as v}from"./Cftldgk7.js";const k="intent:onboarding-skip:v1";function P(e){return u.getItem(h(k,e))==="1"}function re(e){P(e)||u.setItem(h(k,e),"1")}function _(e){return e.connections?.hasReceivedList===!0&&P(W(e))}function F(e,a){return e.some(t=>t.id!==y&&t.id!==a&&t.status!=="Archived"&&t.status!=="Deleted")}function j(e,a,t=!1){return t||F(e,a)?"/":"/workspace/new"}function d(e,a){return j(f.select(e),a,_(e))}const se=Object.freeze(Object.defineProperty({__proto__:null,resolveWindowEmptyDestination:d},Symbol.toStringTag,{value:"Module"})),r=new S("WorkspaceNavigation");async function L(e){r.info(`[navigateToAgent] Navigating to agent: ${e}`);const t=g(l).params.id;if(!t){r.error("[navigateToAgent] No workspace ID found in current page params");return}const n=new URL(window.location.href);n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","agent"),n.searchParams.set("selectedAgent",e),n.searchParams.delete("selectedTerminal"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"agent",e))}async function C(e){r.info(`[navigateToTerminal] Navigating to terminal: ${e}`);const t=g(l).params.id;if(!t){r.error("[navigateToTerminal] No workspace ID found in current page params");return}const n=new URL(window.location.href),i=n.searchParams.get("drawerOpen")==="1",s=n.searchParams.get("drawerType")==="terminal";(!i||!s)&&n.searchParams.set("drawerOpen","1"),n.searchParams.set("drawerType","terminal"),n.searchParams.set("selectedTerminal",e),n.searchParams.delete("selectedAgent"),await c(n.toString(),{replaceState:!0}),o.dispatch(m(t,"terminal",e))}function $(e){return!e||!(e instanceof Element)?void 0:e.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0}async function p(e,a){r.info(`[navigateToNote] Navigating to note: ${e}`,a);const t=g(l),n=a?.workspaceId??t.params.id;if(!n){r.error("[navigateToNote] No workspace ID found in current page params");return}o.dispatch(b(n,e,{openInAdjacentPanel:a?.openInAdjacentPanel??!1,openInNewAdjacentPanel:a?.openInNewAdjacentPanel??!1,sourcePanelId:a?.sourcePanelId}))}async function U(e,a,t){r.info(`[navigateToFile] Navigating to file: ${e}${a?` (line ${a})`:""}`,t);const i=g(l).params.id;if(!i){r.error("[navigateToFile] No workspace ID found in current page params");return}o.dispatch(N(i,e,{line:a,openInAdjacentPanel:t?.openInAdjacentPanel??!1,sourcePanelId:t?.sourcePanelId}))}async function B(){r.info("[navigateToSpec] Navigating to workspace spec"),await p("spec")}async function M(){r.info("[closeDrawer] Closing drawer");const a=g(l).params.id;if(!a){r.error("[closeDrawer] No workspace ID found in current page params");return}const t=new URL(window.location.href);t.searchParams.set("drawerOpen","0"),t.searchParams.delete("selectedAgent"),t.searchParams.delete("selectedTerminal"),await c(t.toString(),{replaceState:!0}),o.dispatch(A(a))}async function K(){r.info("[clearMainContent] Clearing main content");const e=new URL(window.location.href);e.searchParams.set("mainContentType","empty"),e.searchParams.delete("selectedNoteId"),e.searchParams.delete("selectedFile"),e.searchParams.delete("line"),await c(e.toString(),{replaceState:!1})}async function G(e,a,t){r.info("[navigateToTask] Navigating to task",{noteId:e,taskPosition:a,taskText:t}),await p(e);const n=()=>{I("scroll-to-task",{noteId:e,taskPosition:a,taskText:t},{bubbles:!0}),r.debug("[navigateToTask] Dispatched scroll-to-task event",{noteId:e,taskPosition:a})},i=[100,300,600];for(const s of i)setTimeout(n,s)}async function H(e){r.info("[navigateToSettings] Navigating to settings",e);const a=new URL("/settings",window.location.origin),t=window.location.pathname.match(/^\/workspace\/([^/]+)/)?.[1],n=t==="new"?void 0:t,i=e?.workspaceId??n;if(e?.tab&&a.searchParams.set("tab",e.tab),e?.specialist&&a.searchParams.set("specialist",e.specialist),e?.view&&a.searchParams.set("view",e.view),i&&a.searchParams.set("workspaceId",i),e?.hash&&(a.hash=e.hash),typeof window<"u"&&window.location.pathname==="/settings"){if(e?.tab||e?.specialist||e?.view||e?.workspaceId){const s=new URL(window.location.href);e?.tab&&s.searchParams.set("tab",e.tab),e?.specialist&&s.searchParams.set("specialist",e.specialist),e?.view&&s.searchParams.set("view",e.view),e?.workspaceId&&s.searchParams.set("workspaceId",e.workspaceId),e?.hash&&(s.hash=e.hash),await c(s.toString(),{replaceState:!0});return}if(e?.hash){const s=`#${e.hash}`;window.location.hash===s&&(window.location.hash=""),window.location.hash=s;return}return}await E(a.pathname+a.search+a.hash)}function T(){const e=typeof sessionStorage>"u"?null:sessionStorage.getItem(D);if(e&&e!=="/"&&!R(e))return e;const a=w();return a?`/workspace/${a.id}`:d(o.state)}async function z(){const e=T();r.info("[navigateBackFromSettings] Navigating back to:",e),await O(e)}function w(e){return f.select(o.state).find(a=>a.id!==e&&a.status!=="Archived"&&a.status!=="Deleted")}async function Y(){const e=w();if(e){r.info("[navigateToFirstWorkspace] Showing workspace:",e.id),await v(e.id);return}const a=d(o.state);r.info("[navigateToFirstWorkspace] Navigating to:",a),await c(a)}async function x(e){const a=w(e);if(a){r.info("[navigateAfterWorkspaceRemoval] Showing workspace:",a.id),await v(a.id);return}const t=d(o.state,e);r.info("[navigateAfterWorkspaceRemoval] Navigating to:",t),await c(t)}const ie=Object.freeze(Object.defineProperty({__proto__:null,clearMainContent:K,closeDrawer:M,findSourcePanelId:$,getSettingsPreviousPath:T,navigateAfterWorkspaceRemoval:x,navigateBackFromSettings:z,navigateToAgent:L,navigateToFile:U,navigateToFirstWorkspace:Y,navigateToNote:p,navigateToSettings:H,navigateToSpec:B,navigateToTask:G,navigateToTerminal:C},Symbol.toStringTag,{value:"Module"}));export{U as a,Y as b,p as c,H as d,G as e,$ as f,d as g,ie as h,_ as i,z as n,re as r,se as w};
@@ -1,4 +1,4 @@
1
- import{e as Ie}from"./DpDOcKeW.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./Z0Qp96mA.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
1
+ import{e as Ie}from"./SrezSe0o.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./B1ywot0G.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
2
2
  `+A.showPosition()+`
3
3
  Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},Ae&&(Ct._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,o].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),o.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,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:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=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),E.length-1&&(this.yylineno-=E.length-1);var D=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:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{t as F,br as l,a_ as w,bp as u,bz as G,b as H,bv as re,bt as se}from"./CGWRZzdk.js";import{bs as J,a5 as P,bl as I,bS as _,bA as $,be as z,b$ as N,b_ as k,bO as m,W as v,aD as ae,bn as K,aA as p,c9 as ne,aB as B,c5 as T,a7 as oe,ay as ie}from"./DYhIMPy1.js";import{u as W}from"./B70m4__L.js";import{f as A}from"./BbjJy79n.js";import{D as ce}from"./OmpkRRYb.js";import{a6 as de}from"./CF8w5xgf.js";import{Ix as ue,iL as le}from"./q__vWBPL.js";var pe=B('<p class="text-sm text-muted-foreground"> </p>'),j=B('<p role="status" class="text-sm"> </p>'),ge=B('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function M(y,r){if(new.target)return F({component:M,...y});J(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:G,$on:(e,t)=>H(r,e,t)},x=ge(),f=P(x),q=P(f),U=I(q,!0),D=_(q,2),n=I(D,!0),h=_(D,2);{var Q=e=>{var t=pe(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};w(h,e=>{a().claimsPrimary&&e(Q)})}var O=_(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};w(O,e=>{d()&&e(V)})}var S=_(O,2);{var X=e=>{var t=j(),s=I(t,!0);k(()=>m(s,c())),v(e,t)};w(S,e=>{c()&&e(X)})}var Y=_(S,2);{var Z=e=>{var t=j(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};w(Y,e=>{g()&&!b()&&e(Z)})}$(f);var E=_(f,2),L=P(E);A(L,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var R=_(L,2);A(R,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=_(R,2);{let e=ne(()=>g()&&!b());A(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>m(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(E),$(x),k((e,t,s,o)=>{W(x,"aria-label",e),W(f,"aria-label",t),m(U,s),m(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),K(C)}function _e(y,r){if(new.target)return F({component:_e,...y});J(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(T(()=>c()),T(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:G,$on:(n,h)=>H(r,n,h)},f=oe(),q=ie(f);{var U=n=>{M(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};w(q,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=K(x);return b(),D}export{_e as default};
1
+ import{t as F,br as l,a_ as w,bp as u,bz as G,b as H,bv as re,bt as se}from"./CGWRZzdk.js";import{bs as J,a5 as P,bl as I,bS as _,bA as $,be as z,b$ as N,b_ as k,bO as m,W as v,aD as ae,bn as K,aA as p,c9 as ne,aB as B,c5 as T,a7 as oe,ay as ie}from"./DYhIMPy1.js";import{u as W}from"./BjnZ1Xf3.js";import{f as A}from"./KJX0Kw6L.js";import{D as ce}from"./tHDPdTwr.js";import{a6 as de}from"./CusCKZ30.js";import{Ix as ue,iL as le}from"./CicdOSYm.js";var pe=B('<p class="text-sm text-muted-foreground"> </p>'),j=B('<p role="status" class="text-sm"> </p>'),ge=B('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function M(y,r){if(new.target)return F({component:M,...y});J(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:G,$on:(e,t)=>H(r,e,t)},x=ge(),f=P(x),q=P(f),U=I(q,!0),D=_(q,2),n=I(D,!0),h=_(D,2);{var Q=e=>{var t=pe(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};w(h,e=>{a().claimsPrimary&&e(Q)})}var O=_(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};w(O,e=>{d()&&e(V)})}var S=_(O,2);{var X=e=>{var t=j(),s=I(t,!0);k(()=>m(s,c())),v(e,t)};w(S,e=>{c()&&e(X)})}var Y=_(S,2);{var Z=e=>{var t=j(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};w(Y,e=>{g()&&!b()&&e(Z)})}$(f);var E=_(f,2),L=P(E);A(L,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var R=_(L,2);A(R,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=_(R,2);{let e=ne(()=>g()&&!b());A(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>m(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(E),$(x),k((e,t,s,o)=>{W(x,"aria-label",e),W(f,"aria-label",t),m(U,s),m(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),K(C)}function _e(y,r){if(new.target)return F({component:_e,...y});J(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(T(()=>c()),T(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:G,$on:(n,h)=>H(r,n,h)},f=oe(),q=ie(f);{var U=n=>{M(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};w(q,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=K(x);return b(),D}export{_e as default};