@intent-hq/web 2.350.1 → 2.351.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DNZhZg57.js → -o555Jq8.js} +1 -1
  3. package/web/app/immutable/chunks/{BOMdRVXl.js → 0-xAXZgf.js} +1 -1
  4. package/web/app/immutable/chunks/{7uJhY2Ro.js → 25Qfa38y.js} +1 -1
  5. package/web/app/immutable/chunks/{BRWlAcla.js → 3yYmQx2z.js} +1 -1
  6. package/web/app/immutable/chunks/41c-5lbJ.js +1 -0
  7. package/web/app/immutable/chunks/{To-GU1hI.js → 4XRamNN4.js} +1 -1
  8. package/web/app/immutable/chunks/{SW-tnZ5e.js → 5P8mOVWK.js} +1 -1
  9. package/web/app/immutable/chunks/{C-Tv9xzP.js → 67kYB1lt.js} +1 -1
  10. package/web/app/immutable/chunks/{BtEQs3u_.js → 6pSwNbUy.js} +3 -3
  11. package/web/app/immutable/chunks/{BBYhh_eX.js → 73QfWqEv.js} +1 -1
  12. package/web/app/immutable/chunks/{Cjw1QvKa.js → AOUBMpYk.js} +1 -1
  13. package/web/app/immutable/chunks/{BT9NukZQ.js → AyGecNlS.js} +1 -1
  14. package/web/app/immutable/chunks/{CEa8rngJ.js → B-TDUD-n.js} +1 -1
  15. package/web/app/immutable/chunks/{CtUmTl5D.js → B-hKl_xx.js} +1 -1
  16. package/web/app/immutable/chunks/{Ci4xycon.js → B043Z8mk.js} +1 -1
  17. package/web/app/immutable/chunks/{D7v0ZhmL.js → B0QrNgSj.js} +1 -1
  18. package/web/app/immutable/chunks/{Ca33AaL6.js → B22owOuz.js} +1 -1
  19. package/web/app/immutable/chunks/{CV5WtbgW.js → B57wBfTw.js} +1 -1
  20. package/web/app/immutable/chunks/{B4ny9Nap.js → B5ekpGAe.js} +1 -1
  21. package/web/app/immutable/chunks/{BmxmL68T.js → B6bPIJ1k.js} +1 -1
  22. package/web/app/immutable/chunks/{D41iEHKy.js → B9aafd7C.js} +1 -1
  23. package/web/app/immutable/chunks/{Cvv8aJ4r.js → B9l9TMyA.js} +1 -1
  24. package/web/app/immutable/chunks/{B8WU5ocP.js → BA4L4UPI.js} +1 -1
  25. package/web/app/immutable/chunks/{7fznLbVZ.js → BAb3JAL_.js} +1 -1
  26. package/web/app/immutable/chunks/{Bp_k45o-.js → BBCbq-hE.js} +1 -1
  27. package/web/app/immutable/chunks/{DzPN4aFg.js → BCP62aew.js} +1 -1
  28. package/web/app/immutable/chunks/{CBVEFL-b.js → BCQGaqgQ.js} +1 -1
  29. package/web/app/immutable/chunks/{BhO09u_O.js → BDX4YTR9.js} +1 -1
  30. package/web/app/immutable/chunks/{D897Deqj.js → BDbt9cuZ.js} +1 -1
  31. package/web/app/immutable/chunks/{gq1gp-va.js → BEsCIa2p.js} +1 -1
  32. package/web/app/immutable/chunks/{D4xoTssJ.js → BH-zWM3a.js} +3 -3
  33. package/web/app/immutable/chunks/{xEQudZps.js → BHcKnFOT.js} +1 -1
  34. package/web/app/immutable/chunks/{CEI59WUF.js → BI5nb_pF.js} +1 -1
  35. package/web/app/immutable/chunks/{DWqOehs6.js → BJ5nSO_Z.js} +3 -3
  36. package/web/app/immutable/chunks/{BLiGayBi.js → BJdaIUzQ.js} +1 -1
  37. package/web/app/immutable/chunks/BJwMP_No.js +1 -0
  38. package/web/app/immutable/chunks/{rbrWRnHh.js → BOuXmWAj.js} +1 -1
  39. package/web/app/immutable/chunks/{C5_BSKQx.js → BPIrwIPC.js} +1 -1
  40. package/web/app/immutable/chunks/{UiRD2HCB.js → BSkWWR3g.js} +1 -1
  41. package/web/app/immutable/chunks/{DJBAuZjD.js → BTI1m7l8.js} +1 -1
  42. package/web/app/immutable/chunks/{BaneMq5E.js → BTLU_fQH.js} +1 -1
  43. package/web/app/immutable/chunks/{C-8EePTi.js → BXYFidlw.js} +1 -1
  44. package/web/app/immutable/chunks/{C1862fgG.js → BYT1TQGK.js} +1 -1
  45. package/web/app/immutable/chunks/{CPFtOnI7.js → BYjUWrg8.js} +1 -1
  46. package/web/app/immutable/chunks/{YeEGAsBO.js → BahcW9Py.js} +1 -1
  47. package/web/app/immutable/chunks/{UkpeErAx.js → Bd6Rwh69.js} +2 -2
  48. package/web/app/immutable/chunks/{BzSSQl6R.js → BdKft7gn.js} +1 -1
  49. package/web/app/immutable/chunks/{ChmnWquS.js → BhX-5zd9.js} +1 -1
  50. package/web/app/immutable/chunks/{BxE0TK4z.js → Bj0v3XMt.js} +1 -1
  51. package/web/app/immutable/chunks/{Bv8FuKnx.js → BjHlv5EB.js} +1 -1
  52. package/web/app/immutable/chunks/{BsAcT-SB.js → BjVx5o0n.js} +1 -1
  53. package/web/app/immutable/chunks/{BxUPDfJ4.js → BjnapXgD.js} +2 -2
  54. package/web/app/immutable/chunks/{B_EJ_ROK.js → Bkkc9nPJ.js} +3 -3
  55. package/web/app/immutable/chunks/{DMJnRVJf.js → BlcZflKW.js} +1 -1
  56. package/web/app/immutable/chunks/{9_2ZyZ9L.js → Bm0VuPYn.js} +1 -1
  57. package/web/app/immutable/chunks/{eIlGg2ZH.js → Bo40L-We.js} +1 -1
  58. package/web/app/immutable/chunks/{BHpSEINq.js → BoT__Uvu.js} +1 -1
  59. package/web/app/immutable/chunks/{D6kv6T9Z.js → BpGfQKt5.js} +1 -1
  60. package/web/app/immutable/chunks/{BJTb0iPR.js → Bpkh7IXN.js} +1 -1
  61. package/web/app/immutable/chunks/{DKPFCCGK.js → BrR0973A.js} +1 -1
  62. package/web/app/immutable/chunks/{BpfVRpLO.js → BsDTYuK1.js} +1 -1
  63. package/web/app/immutable/chunks/{BSSsvY4I.js → BuDJvkTk.js} +1 -1
  64. package/web/app/immutable/chunks/{Cw94LfJC.js → BuupGai6.js} +1 -1
  65. package/web/app/immutable/chunks/{_s2xW34N.js → Bv1i2B5u.js} +1 -1
  66. package/web/app/immutable/chunks/{DVpbdNgF.js → BwzznN4d.js} +1 -1
  67. package/web/app/immutable/chunks/{DsLKXQ10.js → ByQWAkHB.js} +1 -1
  68. package/web/app/immutable/chunks/{DM6SW5ie.js → Byr2ZhFE.js} +1 -1
  69. package/web/app/immutable/chunks/{d34yYkdR.js → BzXCk-eX.js} +1 -1
  70. package/web/app/immutable/chunks/{EBvHmS3f.js → C-cC659R.js} +1 -1
  71. package/web/app/immutable/chunks/{fE-kcmYj.js → C1ha510g.js} +1 -1
  72. package/web/app/immutable/chunks/{CIFYvyWz.js → C1zdYplM.js} +1 -1
  73. package/web/app/immutable/chunks/{LeGktTWT.js → C2QAZ2iP.js} +1 -1
  74. package/web/app/immutable/chunks/{B3groEj8.js → C2pyYkiS.js} +1 -1
  75. package/web/app/immutable/chunks/{Dw4yJGUy.js → C4UmUQ0t.js} +1 -1
  76. package/web/app/immutable/chunks/{CbVZZ75K.js → C4oYAvfo.js} +1 -1
  77. package/web/app/immutable/chunks/{C7uOzB-k.js → C4qlKK6F.js} +1 -1
  78. package/web/app/immutable/chunks/{6oPcdkTg.js → C96Cos0M.js} +1 -1
  79. package/web/app/immutable/chunks/{qVFwsb4j.js → C97vyu8P.js} +1 -1
  80. package/web/app/immutable/chunks/{BE9VuWVi.js → C9OFPDov.js} +1 -1
  81. package/web/app/immutable/chunks/{DJnP7chT.js → C9jK2F--.js} +1 -1
  82. package/web/app/immutable/chunks/{Cs2fCAnT.js → CA8Jy4WC.js} +1 -1
  83. package/web/app/immutable/chunks/{CeeT1t7l.js → CB3bw4PL.js} +1 -1
  84. package/web/app/immutable/chunks/{C2olseF2.js → CBtX8-Aa.js} +1 -1
  85. package/web/app/immutable/chunks/{rEoZFmiI.js → CCO5tijn.js} +1 -1
  86. package/web/app/immutable/chunks/{286xXFLf.js → CCw4KHZp.js} +1 -1
  87. package/web/app/immutable/chunks/{CcIb5dHQ.js → CEpelLfd.js} +2 -2
  88. package/web/app/immutable/chunks/{D3HUOTfX.js → CEufllny.js} +1 -1
  89. package/web/app/immutable/chunks/{mxwa8yTT.js → CHnA0xpr.js} +1 -1
  90. package/web/app/immutable/chunks/{B0tZqpMw.js → CIm0iT4E.js} +1 -1
  91. package/web/app/immutable/chunks/{CtH7YJ1N.js → CKGxulW8.js} +1 -1
  92. package/web/app/immutable/chunks/{Dw7Mfzwn.js → CKmgmdFa.js} +1 -1
  93. package/web/app/immutable/chunks/{DukC1Pxj.js → CMWevjI7.js} +1 -1
  94. package/web/app/immutable/chunks/{XM11aLg9.js → CNPNgdra.js} +1 -1
  95. package/web/app/immutable/chunks/{1WcgIxhR.js → CTh4M5uj.js} +1 -1
  96. package/web/app/immutable/chunks/{BKf74O20.js → CTvwRPyF.js} +1 -1
  97. package/web/app/immutable/chunks/{BXSSv3Oq.js → CUBdinib.js} +1 -1
  98. package/web/app/immutable/chunks/{CaGPKvrg.js → CVDRxz2f.js} +1 -1
  99. package/web/app/immutable/chunks/{BC51na55.js → CWUa486r.js} +1 -1
  100. package/web/app/immutable/chunks/{CBTiE17j.js → CYlvyU3U.js} +1 -1
  101. package/web/app/immutable/chunks/{2yJgo8xz.js → CYyISHjN.js} +1 -1
  102. package/web/app/immutable/chunks/{CMvvA2dm.js → C_akaBgq.js} +1 -1
  103. package/web/app/immutable/chunks/{DlTJT3V9.js → CaPALXDj.js} +1 -1
  104. package/web/app/immutable/chunks/{Csp7pCXT.js → CbX7A7fn.js} +1 -1
  105. package/web/app/immutable/chunks/{Cwzl8GTd.js → Cc0uYvgR.js} +1 -1
  106. package/web/app/immutable/chunks/{CyRJV2Ki.js → CcYKMJWn.js} +1 -1
  107. package/web/app/immutable/chunks/{D7KOa2cM.js → CccgSyFt.js} +2 -2
  108. package/web/app/immutable/chunks/{B_7vJcZK.js → CdXmpyDy.js} +1 -1
  109. package/web/app/immutable/chunks/{f_NG7JPv.js → CgXr85TV.js} +1 -1
  110. package/web/app/immutable/chunks/{H_Nm449K.js → CgfVp9Ef.js} +1 -1
  111. package/web/app/immutable/chunks/{BCahpYtg.js → Ch2DvoYt.js} +1 -1
  112. package/web/app/immutable/chunks/{Xn8V9ehY.js → ChD6V-mA.js} +1 -1
  113. package/web/app/immutable/chunks/{CrlYwLEr.js → CjPfyTRR.js} +1 -1
  114. package/web/app/immutable/chunks/{D2rxIP2b.js → Cj__CwtA.js} +1 -1
  115. package/web/app/immutable/chunks/{BK62I-uA.js → CjafAhxa.js} +1 -1
  116. package/web/app/immutable/chunks/{CFE62qf4.js → ClCe1k4i.js} +1 -1
  117. package/web/app/immutable/chunks/{B-DRVFcy.js → ClgmQqA9.js} +1 -1
  118. package/web/app/immutable/chunks/{CK2a86W3.js → ClkbPGx9.js} +1 -1
  119. package/web/app/immutable/chunks/{CUEflbxf.js → CrHTQDbT.js} +1 -1
  120. package/web/app/immutable/chunks/{DwJJFAxY.js → CramXAJ0.js} +1 -1
  121. package/web/app/immutable/chunks/{BkMQXe7-.js → Crf39e2Q.js} +1 -1
  122. package/web/app/immutable/chunks/{2cru8yuU.js → CrkDo76r.js} +1 -1
  123. package/web/app/immutable/chunks/{Dr7kBzFG.js → CuCrpEmq.js} +1 -1
  124. package/web/app/immutable/chunks/{DxR7IJ2x.js → CuHfgFFh.js} +1 -1
  125. package/web/app/immutable/chunks/{BjYS0G-V.js → Cv3VBAcZ.js} +1 -1
  126. package/web/app/immutable/chunks/{DFxm2U6S.js → Cw23SInT.js} +1 -1
  127. package/web/app/immutable/chunks/{ChdL62OI.js → Cxn17X4d.js} +2 -2
  128. package/web/app/immutable/chunks/{71jcCmFL.js → Cy3svQNQ.js} +1 -1
  129. package/web/app/immutable/chunks/{DVWomJ3M.js → D-fvD02O.js} +2 -2
  130. package/web/app/immutable/chunks/{B2r-op5b.js → D07rIrLM.js} +1 -1
  131. package/web/app/immutable/chunks/{iP2vS2hx.js → D2kFrNtb.js} +1 -1
  132. package/web/app/immutable/chunks/{Ccm9-f52.js → D542lbvk.js} +2 -2
  133. package/web/app/immutable/chunks/{kXBIZrMa.js → D68o263s.js} +1 -1
  134. package/web/app/immutable/chunks/{CUiOtEey.js → D6kdeziR.js} +1 -1
  135. package/web/app/immutable/chunks/{C9CjIm-I.js → D6ncbN-K.js} +1 -1
  136. package/web/app/immutable/chunks/{B99vgEcA.js → D9WrXbf9.js} +1 -1
  137. package/web/app/immutable/chunks/{32pNLDLJ.js → D9XKGcAY.js} +1 -1
  138. package/web/app/immutable/chunks/{qT7g0XeC.js → DE4arwhh.js} +1 -1
  139. package/web/app/immutable/chunks/{BDh1WR6p.js → DEVAGsyG.js} +1 -1
  140. package/web/app/immutable/chunks/{BJpI9lmh.js → DGRqvVY1.js} +2 -2
  141. package/web/app/immutable/chunks/{vCsRAP9U.js → DGaDkdng.js} +1 -1
  142. package/web/app/immutable/chunks/{CbVK4mzc.js → DGb_dMRY.js} +1 -1
  143. package/web/app/immutable/chunks/{BCazrMx2.js → DL304mi1.js} +1 -1
  144. package/web/app/immutable/chunks/{B1uWzETW.js → DLiD3Y7h.js} +1 -1
  145. package/web/app/immutable/chunks/DMIrVtTU.js +1 -0
  146. package/web/app/immutable/chunks/{CIwCBz4N.js → DPemhAGL.js} +1 -1
  147. package/web/app/immutable/chunks/{DPiLMhQg.js → DQ8vH0VY.js} +1 -1
  148. package/web/app/immutable/chunks/{B45FOkqf.js → DQ_x-k0O.js} +3 -3
  149. package/web/app/immutable/chunks/{2rtvtln4.js → DQjekoSU.js} +1 -1
  150. package/web/app/immutable/chunks/{BwgrW8yQ.js → DRRbh3V4.js} +1 -1
  151. package/web/app/immutable/chunks/{C82N7Ttz.js → DRiReCwX.js} +1 -1
  152. package/web/app/immutable/chunks/{CsbrChhH.js → DUor0DI_.js} +1 -1
  153. package/web/app/immutable/chunks/{BmMUMiCr.js → DWgWsm2y.js} +1 -1
  154. package/web/app/immutable/chunks/{CM0lKKPd.js → D_P8KoFV.js} +1 -1
  155. package/web/app/immutable/chunks/{BMcc0dQQ.js → Dc8XEwi0.js} +1 -1
  156. package/web/app/immutable/chunks/{BQAE7Cab.js → DcxuGfvW.js} +1 -1
  157. package/web/app/immutable/chunks/{D4gEzra-.js → DdfHQxRr.js} +1 -1
  158. package/web/app/immutable/chunks/{DZ-cwX5R.js → De70D2Lx.js} +2 -2
  159. package/web/app/immutable/chunks/{CzZDc-Ii.js → DfA_Upom.js} +1 -1
  160. package/web/app/immutable/chunks/{fvaRaafM.js → DfuAejzr.js} +1 -1
  161. package/web/app/immutable/chunks/{BaMaQsqR.js → DhhomoFS.js} +1 -1
  162. package/web/app/immutable/chunks/{BV_qZ-Kq.js → DipCXz5L.js} +1 -1
  163. package/web/app/immutable/chunks/{D3wOVtz4.js → DjE6Tn4o.js} +1 -1
  164. package/web/app/immutable/chunks/{4M32Nrru.js → Dq9dLpt4.js} +4 -4
  165. package/web/app/immutable/chunks/{B_Iojn2B.js → DqKef_Yi.js} +1 -1
  166. package/web/app/immutable/chunks/{DG7MHKfi.js → DsewpLhd.js} +1 -1
  167. package/web/app/immutable/chunks/{DhNmiaLk.js → DtV2WjXp.js} +1 -1
  168. package/web/app/immutable/chunks/{LIrM5l7a.js → DtWKfIHW.js} +1 -1
  169. package/web/app/immutable/chunks/{BASTKLI1.js → DuPQa1Hv.js} +4 -4
  170. package/web/app/immutable/chunks/{CJeZnjZ2.js → Dv-TQImR.js} +1 -1
  171. package/web/app/immutable/chunks/{CKR2Jwr3.js → DvmJXjP_.js} +1 -1
  172. package/web/app/immutable/chunks/{Cifu9mi9.js → DwR2QVtr.js} +1 -1
  173. package/web/app/immutable/chunks/{DDlZNhW-.js → DwqB2LW1.js} +1 -1
  174. package/web/app/immutable/chunks/{CrGdgRLR.js → Dy3sS5WY.js} +1 -1
  175. package/web/app/immutable/chunks/{DLbCIONA.js → Dy5C9WSY.js} +1 -1
  176. package/web/app/immutable/chunks/{DxrW2EIL.js → DzIV-I7E.js} +1 -1
  177. package/web/app/immutable/chunks/{DZlVkf9Y.js → DzqZnAgo.js} +4 -4
  178. package/web/app/immutable/chunks/{CFMV5ANe.js → ETkf7dmN.js} +1 -1
  179. package/web/app/immutable/chunks/{CjFrzDwu.js → FHXrLz5A.js} +1 -1
  180. package/web/app/immutable/chunks/{_1y9QH1k.js → FbHjHDf9.js} +1 -1
  181. package/web/app/immutable/chunks/{2B0vRGaJ.js → G1rQ1ZLS.js} +1 -1
  182. package/web/app/immutable/chunks/{Bb07ib28.js → GfKb8O3O.js} +1 -1
  183. package/web/app/immutable/chunks/{Cbr15rLJ.js → Ghm7WpFi.js} +1 -1
  184. package/web/app/immutable/chunks/{Y5hz4Ndf.js → Ju7PAma1.js} +1 -1
  185. package/web/app/immutable/chunks/{BEVux-ca.js → KcC0pRTT.js} +1 -1
  186. package/web/app/immutable/chunks/{CH0shWeP.js → Lx7mQEPN.js} +1 -1
  187. package/web/app/immutable/chunks/{BboZoGK5.js → N7G-ZTah.js} +5 -5
  188. package/web/app/immutable/chunks/{C7LjhbvI.js → NFc5A7UL.js} +1 -1
  189. package/web/app/immutable/chunks/{C6DrVy6-.js → Og4xuM7g.js} +1 -1
  190. package/web/app/immutable/chunks/{CEHfILB1.js → QFwPCSKD.js} +1 -1
  191. package/web/app/immutable/chunks/{CKe6gKEB.js → QLXfiC8k.js} +1 -1
  192. package/web/app/immutable/chunks/{BJeKKdy7.js → QPRdLPHE.js} +1 -1
  193. package/web/app/immutable/chunks/{C7NptMs7.js → R6z5Bqeu.js} +1 -1
  194. package/web/app/immutable/chunks/{D2JEXCBC.js → RjrC7VFY.js} +1 -1
  195. package/web/app/immutable/chunks/{DEu6gDAW.js → SXjX79W0.js} +3 -3
  196. package/web/app/immutable/chunks/{B8kZnhwO.js → Sa9G_k7P.js} +1 -1
  197. package/web/app/immutable/chunks/{Ari-xzJB.js → SoUJpC1P.js} +1 -1
  198. package/web/app/immutable/chunks/{BCFqTXC5.js → UMKs78qL.js} +1 -1
  199. package/web/app/immutable/chunks/{2GRAEVbl.js → Uea955Vz.js} +1 -1
  200. package/web/app/immutable/chunks/{CClSMHHc.js → VIOarPUD.js} +1 -1
  201. package/web/app/immutable/chunks/{hHmUU40X.js → VmRBMU-H.js} +2 -2
  202. package/web/app/immutable/chunks/{D3v_P2Uq.js → W2yoNJFv.js} +1 -1
  203. package/web/app/immutable/chunks/{DZ9bPwU4.js → X0wrjHux.js} +1 -1
  204. package/web/app/immutable/chunks/{Ctvf1zqH.js → XVViy8ZW.js} +1 -1
  205. package/web/app/immutable/chunks/{BNuxEAQs.js → ZngqFVq2.js} +1 -1
  206. package/web/app/immutable/chunks/{CxxiwOxz.js → _6UbyZFm.js} +1 -1
  207. package/web/app/immutable/chunks/{BaXl9G_p.js → a6ao35lO.js} +1 -1
  208. package/web/app/immutable/chunks/{RMrXit9I.js → af7yduyJ.js} +12 -12
  209. package/web/app/immutable/chunks/{vQ6gxb4d.js → b1qSM27E.js} +1 -1
  210. package/web/app/immutable/chunks/{DldD9pcf.js → b8GoMhSt.js} +1 -1
  211. package/web/app/immutable/chunks/{WydNOMQI.js → bV1WTvQr.js} +1 -1
  212. package/web/app/immutable/chunks/{B79m0-as.js → cKfnoB88.js} +1 -1
  213. package/web/app/immutable/chunks/{ClDVqtGb.js → dAVgSJe8.js} +1 -1
  214. package/web/app/immutable/chunks/{B25aSyPj.js → dvtNrmBJ.js} +1 -1
  215. package/web/app/immutable/chunks/{DW8-b4qF.js → fKGM3H1S.js} +1 -1
  216. package/web/app/immutable/chunks/{Dt_3gVf3.js → gWaxvgpv.js} +4 -4
  217. package/web/app/immutable/chunks/{D68W4EG9.js → gtyJplKf.js} +1 -1
  218. package/web/app/immutable/chunks/{BVg1wXVp.js → hYtFXuM6.js} +1 -1
  219. package/web/app/immutable/chunks/{dt-eIcjK.js → jmGUW687.js} +1 -1
  220. package/web/app/immutable/chunks/{nwgFD7pR.js → jqiN8Ebl.js} +2 -2
  221. package/web/app/immutable/chunks/{BXpSvmYd.js → jyFhDlZn.js} +1 -1
  222. package/web/app/immutable/chunks/{zDp2t9TD.js → mgh5gPA4.js} +1 -1
  223. package/web/app/immutable/chunks/{CxF8YFum.js → nLyQInj7.js} +1 -1
  224. package/web/app/immutable/chunks/nbfGErIW.js +1 -0
  225. package/web/app/immutable/chunks/{DMF8Xnwn.js → nqpg2Djj.js} +1 -1
  226. package/web/app/immutable/chunks/{kWL2GjPN.js → oNlT93oA.js} +1 -1
  227. package/web/app/immutable/chunks/{CNCNgnPl.js → ot3p-Y1j.js} +1 -1
  228. package/web/app/immutable/chunks/{xCXPOQKs.js → pA6KCKbP.js} +1 -1
  229. package/web/app/immutable/chunks/{B3aPtdPQ.js → sHSA98Ae.js} +1 -1
  230. package/web/app/immutable/chunks/{DDmVz0zj.js → sxpeFI4o.js} +1 -1
  231. package/web/app/immutable/chunks/{CfcmMMGe.js → ugjOCd8V.js} +3 -3
  232. package/web/app/immutable/chunks/{DBwXC8Tc.js → uoJ0nI_z.js} +1 -1
  233. package/web/app/immutable/chunks/{BgCDi7PA.js → v23yk8Nl.js} +1 -1
  234. package/web/app/immutable/chunks/{DYdDm8qg.js → vLUkS5Lr.js} +1 -1
  235. package/web/app/immutable/chunks/{cHlEaLvO.js → vSLEtuRc.js} +1 -1
  236. package/web/app/immutable/chunks/{DT77V-dl.js → zB3SalmM.js} +1 -1
  237. package/web/app/immutable/entry/{app.B3zmyQo-.js → app.D9kIVkFi.js} +3 -3
  238. package/web/app/immutable/entry/start.CsSnQcM4.js +1 -0
  239. package/web/app/immutable/nodes/{0.kC9p1Qyh.js → 0.CycxDG0L.js} +1 -1
  240. package/web/app/immutable/nodes/{1.CbKQgLbJ.js → 1.DBDsO8vk.js} +1 -1
  241. package/web/app/immutable/nodes/{10.nkEgxR4t.js → 10.DeWMsWJr.js} +1 -1
  242. package/web/app/immutable/nodes/{11.BNBCl9Ko.js → 11.D3R05nAN.js} +1 -1
  243. package/web/app/immutable/nodes/{12.BriSlPZC.js → 12.FwwO1QwE.js} +1 -1
  244. package/web/app/immutable/nodes/{13.QpfX0_5g.js → 13.BXCK1uUO.js} +3 -3
  245. package/web/app/immutable/nodes/{14.ZJqXSGiE.js → 14.CaU020TI.js} +1 -1
  246. package/web/app/immutable/nodes/{15.DdEMX_Kl.js → 15.DBweoCJ3.js} +1 -1
  247. package/web/app/immutable/nodes/{16.rtMs5JTy.js → 16.x7FRjB-z.js} +1 -1
  248. package/web/app/immutable/nodes/{17.DDfq3IKN.js → 17.nVKVEw2j.js} +1 -1
  249. package/web/app/immutable/nodes/{18.Cds1TQEe.js → 18.D8Pypemm.js} +2 -2
  250. package/web/app/immutable/nodes/{2.TMV-VJam.js → 2.bw2OhfV2.js} +4 -4
  251. package/web/app/immutable/nodes/{3.Dy6_DOyf.js → 3.C3rwANJW.js} +1 -1
  252. package/web/app/immutable/nodes/{4.CSClZLtr.js → 4.D3HKzTPL.js} +1 -1
  253. package/web/app/immutable/nodes/{5.B2fm04nD.js → 5.f1pRghhu.js} +1 -1
  254. package/web/app/immutable/nodes/{6.wppAoRAf.js → 6.rpNMjH5t.js} +1 -1
  255. package/web/app/immutable/nodes/{7.BJEQzlNN.js → 7.BSbrbiiB.js} +1 -1
  256. package/web/app/immutable/nodes/8.DbrZFert.js +14 -0
  257. package/web/app/immutable/nodes/{9.Dz8XAzvL.js → 9.D--sfpfT.js} +5 -5
  258. package/web/app/version.json +1 -1
  259. package/web/generated/paraglide.js +46 -46
  260. package/web/index.html +18 -18
  261. package/web/app/immutable/chunks/DGQ1ECsI.js +0 -1
  262. package/web/app/immutable/chunks/DZgyzAfw.js +0 -1
  263. package/web/app/immutable/chunks/H2SodBVA.js +0 -1
  264. package/web/app/immutable/chunks/Hc3ynozM.js +0 -1
  265. package/web/app/immutable/entry/start.DL1A5aV6.js +0 -1
  266. package/web/app/immutable/nodes/8.bO4mjRsC.js +0 -14
@@ -1,4 +1,4 @@
1
- import{bo as b,t as wt,bq as H,by as Tt,bs as xt,b as kt,bu as D}from"./DGQ1ECsI.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as N,c9 as f,aA as J,aB as x,a5 as I,bA as A,bl as P,b_ as F,bO as S}from"./DYhIMPy1.js";import{i as L}from"./B-DRVFcy.js";import{k as St}from"./B99vgEcA.js";import{c as Wt}from"./CJeZnjZ2.js";import{C as V}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./BCFqTXC5.js";import"./Bp_k45o-.js";import"./ChmnWquS.js";import{bc as Dt}from"./Cjw1QvKa.js";import"./DZ-cwX5R.js";import"./D7KOa2cM.js";import{Iv as B,J0 as Nt,Jg as Ft,J5 as Lt,uR as Bt}from"./BSSsvY4I.js";import{T as Et}from"./CFMV5ANe.js";import{g as Ut}from"./DfN8_dcw.js";import{dr as Ot}from"./CbVK4mzc.js";import{bR as jt,bL as Rt,b6 as Ht}from"./CsbrChhH.js";import"./286xXFLf.js";import{M as Jt}from"./CPFtOnI7.js";import{V as Mt}from"./C9CjIm-I.js";import{O as Vt}from"./Bb07ib28.js";import{c as qt}from"./ChTqQfQN.js";import{i as Gt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function M(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function zt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||b.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||b.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:zt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function Kt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=M(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:V.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>M(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=M(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:V.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
1
+ import{bo as b,t as wt,bq as H,by as Tt,bs as xt,b as kt,bu as D}from"./41c-5lbJ.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as N,c9 as f,aA as J,aB as x,a5 as I,bA as A,bl as P,b_ as F,bO as S}from"./DYhIMPy1.js";import{i as L}from"./ClgmQqA9.js";import{k as St}from"./D9WrXbf9.js";import{c as Wt}from"./Dv-TQImR.js";import{C as V}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./UMKs78qL.js";import"./BBCbq-hE.js";import"./BhX-5zd9.js";import{bc as Dt}from"./AOUBMpYk.js";import"./De70D2Lx.js";import"./CccgSyFt.js";import{Iv as B,J0 as Nt,Jg as Ft,J5 as Lt,uR as Bt}from"./BuDJvkTk.js";import{T as Et}from"./ETkf7dmN.js";import{g as Ut}from"./DfN8_dcw.js";import{dr as Ot}from"./DGb_dMRY.js";import{bR as jt,bL as Rt,b6 as Ht}from"./DUor0DI_.js";import"./CCw4KHZp.js";import{M as Jt}from"./BYjUWrg8.js";import{V as Mt}from"./D6ncbN-K.js";import{O as Vt}from"./GfKb8O3O.js";import{c as qt}from"./ChTqQfQN.js";import{i as Gt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function M(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function zt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||b.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||b.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:zt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function Kt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=M(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:V.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>M(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=M(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:V.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
2
2
  `);c.length>0&&c[c.length-1]===""&&c.pop();let d=!1;for(const s of c)if(!(s.startsWith("diff --git")||s.startsWith("index ")||s.startsWith("--- ")||s.startsWith("+++ ")||s.startsWith("\"))){if(s.startsWith("@@")){d=!0;continue}d&&(s.startsWith("+")?r.push(s.slice(1)):s.startsWith("-")?n.push(s.slice(1)):s.startsWith(" ")?(n.push(s.slice(1)),r.push(s.slice(1))):s===""&&(n.push(""),r.push("")))}return{oldContent:n.join(`
3
3
  `),newContent:r.join(`
4
4
  `)}}var Xt=x("<!> <!>",1),Yt=x('<div class="flex items-center gap-1.5 px-3 py-1.5 text-xs text-subtle bg-muted/50 border-b border-border"><span> </span></div>'),Zt=x('<div class="flex flex-col h-full"><!> <div class="flex-1 min-h-0"><!></div></div>'),te=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <p class="text-xs opacity-70"> </p></div>'),ee=x('<p class="text-xs opacity-70"> </p>'),ne=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <!></div>');function ae(e,n){if(new.target)return wt({component:ae,...e});It(n,!0);const r=()=>D(lt,"$workspace",v),c=()=>D(st,"$foldUnchanged",v),d=()=>D(rt,"$lineWrapping",v),s=()=>D(ot,"$diffSideBySide",v),[v,nt]=xt(),at=a=>{Mt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>B.dispatch(Lt()),get wrapEnabled(){return d()},onToggleWrap:()=>B.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>B.dispatch(Nt())})},it=a=>{var i=Xt(),g=X(i);{let m=f(()=>b.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Jt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var y=N(g,2);{var C=m=>{Vt(m,{get filePath(){return t(G)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(O)}})};L(y,m=>{t(G)&&m(C)})}w(a,i)},rt=jt(),st=Rt(),ot=Ht(),dt=qt("ActivityChangesTabType");let E=H(n,"tab",7),_=H(n,"workspaceId",7),U=H(n,"isActive",7);const q=Ut(),lt=Ot(_()),O=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>E().data?.event),ct=f(()=>t(o)?Kt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),G=f(()=>t(p)&&t(O)?Gt(t(p))?t(p):`${t(O)}/${t(p)}`:null),j=f(()=>()=>{if(!t(o))return null;const a=t(o).data,i=t(o).codeChange;return a?.diff||i?.diff||t(u)?.content?.diff||null}),z=f(()=>()=>t(u)?.content?!!(t(u).content.oldContent&&t(u).content.newContent):!1);function ft(a){if(!a)return;const i=a.match(/@@ -(\d+)/);return i?parseInt(i[1],10):void 0}const k=f(()=>{if(t(z)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(j)();return a?Qt(a):null}),W=f(()=>ft(t(j)())),pt=f(()=>t(W)!==void 0&&t(W)>1),gt=f(()=>{const a=t(p)||"",i=t(o)?.data||{};return{id:`activity-${t(o)?.id||"unknown"}-${a}`,file:a,relativePath:a,stage:V.Committed,status:t(u)?.status||"modified",stats:{additions:i?.additions||t(u)?.stats?.additions||0,deletions:i?.deletions||t(u)?.stats?.deletions||0},attribution:{timestamp:t(o)?.timestamp?new Date(t(o).timestamp).getTime():Date.now()},content:t(k)?{oldContent:t(k).oldContent,newContent:t(k).newContent}:void 0}});function ut(a){if(!t(p))return;const g={type:"file",title:t(p).split("/").pop()||t(p),closable:!0,filePath:t(p),workspaceId:_()};B.dispatch(Bt(_(),g))}Q(()=>{!q||!U()||q.registerActions({display:at,actions:it})}),Q(()=>{if(t(o)){const a=t(o).data;dt.debug("Activity event diff info",{eventType:t(o).type,eventId:t(o).id,filePath:t(p),hasDiffString:!!t(j)(),hasOldNewContent:t(z)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return E()},set tab(a){E(a),J()},get workspaceId(){return _()},set workspaceId(a){_(a),J()},get isActive(){return U()},set isActive(a){U(a),J()},$set:Tt,$on:(a,i)=>kt(n,a,i)},K=At(),mt=X(K);{var vt=a=>{var i=Zt(),g=I(i);{var y=l=>{var h=Yt(),$=I(h),R=P($,!0);A(h),F(_t=>S(R,_t),[()=>b.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};L(g,l=>{t(pt)&&l(y)})}var C=N(g,2),m=I(C);St(m,()=>`${t(o)?.id}-${t(p)}`,l=>{{let h=f(()=>s()?"split":"unified");Et(l,{get change(){return t(gt)},get workspaceId(){return _()},get viewMode(){return t(h)},get foldUnchanged(){return c()},get lineWrapping(){return d()},get lineOffset(){return t(W)}})}}),A(C),A(i),w(a,i)},yt=a=>{var i=te(),g=I(i),y=P(g,!0),C=N(g,2),m=P(C,!0);A(i),F((l,h)=>{S(y,l),S(m,h)},[()=>b.layout_activityChanges_noDiffStored_label(),()=>b.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},Ct=a=>{var i=ne(),g=I(i),y=P(g,!0),C=N(g,2);{var m=l=>{var h=ee(),$=P(h,!0);F(R=>S($,R),[()=>b.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};L(C,l=>{t(o)&&l(m)})}A(i),F(l=>S(y,l),[()=>b.layout_activityChanges_noChanges_label()]),w(a,i)};L(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(yt,1):a(Ct,-1)})}w(e,K);var bt=Pt(ht);return nt(),bt}export{ae as default};
@@ -1 +1 @@
1
- import{t as Zt,bq as K,by as jt,b as Jt,bu as Z,bs as Ie,bo as i}from"./DGQ1ECsI.js";import{bs as Nt,ay as yt,be as h,b$ as x,b_ as s,bO as o,W as n,bS as l,bl as B,bn as Qt,aA as R,a7 as Se,aD as t,c9 as g,aB as I,bo as we,bV as kt,br as Ge,ca as Bt,bH as M,bk as Le,a5 as E,bA as O}from"./DYhIMPy1.js";import{g as Ae,i as Pe,I as Ht}from"./D3HUOTfX.js";import{c as ze}from"./CJeZnjZ2.js";import{f as De,c as Te,s as qt}from"./Bp_k45o-.js";import{f as z}from"./CxF8YFum.js";import"./DZ-cwX5R.js";import"./CzZDc-Ii.js";import{b as Fe}from"./C6DrVy6-.js";import"./rEoZFmiI.js";import"./B2r-op5b.js";import{b as Ue}from"./DVpbdNgF.js";import{i as P}from"./B-DRVFcy.js";import{I as Mt}from"./CM0lKKPd.js";import{L as Wt}from"./Cw94LfJC.js";import"./ChmnWquS.js";import{G as Ee,x as Oe}from"./D7KOa2cM.js";import{Iv as W,fn as Kt,F as Be,ed as Rt,qw as He,tW as qe,Im as Me,od as We,hB as Ke}from"./BSSsvY4I.js";import{a$ as Vt,b0 as Xt,b1 as Re,aW as Ve,aX as Yt,aY as Xe,aZ as Ye,b5 as Ze}from"./Csp7pCXT.js";var je=I('<!> <p class="type-body"> </p>',1);function Je(it,$){if(new.target)return Zt({component:Je,...it});Nt($,!0);let D=K($,"open",15,!1),H=K($,"static",7,!1),st=K($,"title",7),_=K($,"message",7),k=K($,"buttons",7),b=K($,"cancelIndex",7,0),j=K($,"onSelect",7);function V(r){D(!1),j()?.(r)}var vt={get open(){return D()},set open(r=!1){D(r),R()},get static(){return H()},set static(r=!1){H(r),R()},get title(){return st()},set title(r){st(r),R()},get message(){return _()},set message(r){_(r),R()},get buttons(){return k()},set buttons(r){k(r),R()},get cancelIndex(){return b()},set cancelIndex(r=0){b(r),R()},get onSelect(){return j()},set onSelect(r){j(r),R()},$set:jt,$on:(r,q)=>Jt($,r,q)};return Ue(it,{get static(){return H()},role:"alertdialog",get title(){return st()},dismissOnInteractOutside:!1,focusContent:!0,onSubmit:()=>V(k().length-1),onCancel:()=>V(b()),get open(){return D()},set open(q){D(q)},footer:q=>{var T=Se(),w=yt(T);Ae(w,17,k,Pe,(J,N,X)=>{{let Q=g(()=>X===b()?"ghost":X===k().length-1?"primary":"outline");z(J,{get variant(){return t(Q)},onclick:()=>V(X),children:(ct,pt)=>{h();var ut=x();s(()=>o(ut,t(N))),n(ct,ut)},$$slots:{default:!0}})}}),n(q,T)},children:(q,T)=>{var w=je(),J=yt(w);ze(J,()=>Fe,(Q,ct)=>{ct(Q,{class:"sr-only",children:(pt,ut)=>{h();var _t=x();s(()=>o(_t,_())),n(pt,_t)},$$slots:{default:!0}})});var N=l(J,2),X=B(N,!0);s(()=>o(X,_())),n(q,w)},$$slots:{footer:!0,default:!0}}),Qt(vt)}var Ne=I('<p class="text-sm text-subtle" role="status" data-testid="gitlab-instance-update-required"> </p>'),Qe=I('<p class="break-all type-caption text-subtle" data-testid="gitlab-connect-instance"> </p>'),ta=I('<div class="max-w-sm space-y-3" data-testid="gitlab-connect-device-flow"><!> <div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!> <!></div></div>'),ea=I('<div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!></div>'),aa=I('<p class="text-xs text-danger" role="alert"> </p>'),na=I('<div class="max-w-sm space-y-1" data-testid="gitlab-connect-token"><!> <!> <p class="text-xs text-subtle"> <!></p></div> <div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>',1),ra=I('<div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>'),sa=I('<div class="max-w-sm space-y-1"><!> <!> <p class="text-xs text-subtle"> </p> <!></div> <!>',1),oa=I('<p class="text-sm text-subtle" role="status"> </p>'),la=I('<div class="space-y-1"><p class="text-sm text-subtle" role="status"> </p> <!></div>'),ia=I('<p class="text-sm text-danger" role="alert"> </p>'),ca=I('<div data-testid="gitlab-connect-form"><!> <!> <!> <!> <!></div>');function ua(it,$){const D=we();if(new.target)return Zt({component:ua,...it});Nt($,!0);const H=()=>Z(ct,"$storedInstance$",r),st=()=>Z(ee,"$deviceGrantSupported$",r),_=()=>Z(ne,"$instanceSetupSupported$",r),k=()=>Z(pt,"$isAuthenticating$",r),b=()=>Z(ut,"$isCancelling$",r),j=()=>Z(te,"$deviceFlow$",r),V=()=>Z(_t,"$cancelOutcome$",r),vt=()=>Z(ae,"$error$",r),[r,q]=Ie();let T=K($,"compact",7,!1),w=K($,"onCancel",7);const J=`${D}-host`,N=`${D}-host-help`,X=`${D}-host-error`,Q=`${D}-token`,ct=Vt(),pt=Xt(),ut=Re(),_t=Ve(),te=Yt(),ee=Xe(),ae=Ye(),ne=Ze();let bt=kt(Ge(Vt.select(W.state))),St=kt(!1),tt=kt(""),ft=kt(!1);const p=g(()=>qe(t(bt))),wt=g(()=>t(ft)||t(p)===H()&&st()===!1),Ct=g(()=>t(p)?We(t(p)):null),re=g(()=>_()&&t(p)!==null&&t(tt).trim().length>0);Bt(()=>{const c=H();t(St)||M(bt,c,!0)}),Bt(()=>{_()||M(tt,"")}),Le(()=>{const c=()=>{const e=W.state;Xt.select(e)&&Yt.select(e)&&W.dispatch(Kt())};return window.addEventListener("focus",c),()=>window.removeEventListener("focus",c)});function Gt(){!_()||!t(p)||t(p)===H()||k()||b()||W.dispatch(He(t(p)))}function se(){M(St,!0),M(tt,"")}function Lt(){!_()||!t(p)||k()||b()||W.dispatch(Me(t(p)))}function At(){const c=t(tt).trim();!_()||!c||!t(p)||k()||b()||(W.dispatch(Ke(t(p),c)),M(tt,""))}function Pt(){!_()||b()||(k()&&W.dispatch(Rt()),M(ft,!0))}function oe(){M(ft,!1)}function le(){b()||W.dispatch(Rt())}function ie(){t(Ct)&&Oe(t(Ct),{})}function ce(c){c.key==="Enter"&&(c.preventDefault(),Gt(),t(wt)?document.getElementById(Q)?.focus():Lt())}function ue(c){c.key==="Enter"&&(c.preventDefault(),At())}const zt=g(()=>T()?"sm":"xl"),gt=g(()=>T()?"sm":"default");var de={get compact(){return T()},set compact(c=!1){T(c),R()},get onCancel(){return w()},set onCancel(c){w(c),R()},$set:jt,$on:(c,e)=>Jt($,c,e)},mt=ca();{const c=e=>{z(e,{variant:"ghost",size:"sm",type:"button",class:"text-muted-foreground hover:text-foreground",get disabled(){return b()},onclick:le,children:(a,u)=>{h();var f=x();s(G=>o(f,G),[()=>b()?i.lib_gitlabConnect_cancelling_label():i.lib_gitlabConnect_cancel_label()]),n(a,f)},$$slots:{default:!0}})};var Dt=E(mt);{var ve=e=>{var a=Ne(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_updateRequired_description()]),n(e,a)};P(Dt,e=>{_()||e(ve)})}var Tt=l(Dt,2);{var pe=e=>{var a=Qe(),u=B(a,!0);s(()=>o(u,H())),n(e,a)};P(Tt,e=>{(k()||b())&&e(pe)})}var Ft=l(Tt,2);{var _e=e=>{var a=ta(),u=E(a);{let at=g(()=>i.lib_gitlabConnect_openGitlab_label());Ee(u,{get userCode(){return j().userCode},get verificationUri(){return j().verificationUri},get openLabel(){return t(at)},get compact(){return T()}})}var f=l(u,2),G=E(f);Ht(G,{size:16,class:"shrink-0"});var S=l(G,2),ot=B(S,!0),et=l(S,2);{let at=g(()=>b()||!_());z(et,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return t(at)},onclick:Pt,children:(It,Et)=>{h();var d=x();s(m=>o(d,m),[()=>i.lib_gitlabConnect_useToken_label()]),n(It,d)},$$slots:{default:!0}})}var dt=l(et,2);c(dt),O(f),O(a),s(at=>o(ot,at),[()=>i.lib_gitlabConnect_waitingForAuthorization_label()]),n(e,a)},be=e=>{var a=ea(),u=E(a);Ht(u,{size:16,class:"shrink-0"});var f=l(u,2),G=B(f,!0),S=l(f,2);c(S),O(a),s(ot=>o(G,ot),[()=>i.lib_gitlabConnect_connecting_label()]),n(e,a)},fe=e=>{var a=sa(),u=yt(a),f=E(u);Wt(f,{get for(){return J},children:(d,m)=>{h();var y=x();s(L=>o(y,L),[()=>i.lib_gitlabConnect_host_label()]),n(d,y)},$$slots:{default:!0}});var G=l(f,2);{let d=g(()=>!_()),m=g(()=>!t(p)||void 0),y=g(()=>t(p)?N:`${N} ${X}`);Mt(G,{get id(){return J},type:"text",autocomplete:"url",spellcheck:!1,get disabled(){return t(d)},get"aria-invalid"(){return t(m)},get"aria-describedby"(){return t(y)},get placeholder(){return Be},oninput:se,onchange:Gt,onkeydown:ce,get value(){return t(bt)},set value(L){M(bt,L,!0)}})}var S=l(G,2),ot=B(S,!0),et=l(S,2);{var dt=d=>{var m=aa(),y=B(m,!0);s(L=>{qt(m,"id",X),o(y,L)},[()=>i.lib_gitlabConnect_invalidInstance_error()]),n(d,m)};P(et,d=>{t(p)||d(dt)})}O(u);var at=l(u,2);{var It=d=>{var m=na(),y=yt(m),L=E(y);Wt(L,{get for(){return Q},children:(v,U)=>{h();var lt=x();s(C=>o(lt,C),[()=>i.lib_gitlabConnect_token_label()]),n(v,lt)},$$slots:{default:!0}});var $t=l(L,2);{let v=g(()=>!_());Mt($t,{get id(){return Q},type:"password",autocomplete:"off",get disabled(){return t(v)},placeholder:"glpat-...",onkeydown:ue,get value(){return t(tt)},set value(U){M(tt,U,!0)}})}var ht=l($t,2),F=E(ht),nt=l(F);{var xt=v=>{z(v,{variant:"link",size:"sm",type:"button",class:"h-auto px-0 text-xs",onclick:ie,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_createToken_label({host:t(p)})]),n(U,C)},$$slots:{default:!0}})};P(nt,v=>{t(Ct)&&t(p)&&v(xt)})}O(ht),O(y);var A=l(y,2),Y=E(A);{let v=g(()=>!t(re));z(Y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:At,get disabled(){return t(v)},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_connect_label()]),n(U,C)},$$slots:{default:!0}})}var Ot=l(Y,2);{var ke=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",onclick:oe,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_useDevice_label()]),n(U,C)},$$slots:{default:!0}})};P(Ot,v=>{t(ft)&&!(t(p)===H()&&st()===!1)&&v(ke)})}var ye=l(Ot,2);{var Ce=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_cancel_label()]),n(U,C)},$$slots:{default:!0}})};P(ye,v=>{w()&&v(Ce)})}O(A),s(v=>o(F,`${v??""} `),[()=>i.lib_gitlabConnect_token_description()]),n(d,m)},Et=d=>{var m=ra(),y=E(m);{let F=g(()=>!t(p)||!_());z(y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:Lt,get disabled(){return t(F)},children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_connect_label()]),n(nt,A)},$$slots:{default:!0}})}var L=l(y,2);{let F=g(()=>!_());z(L,{variant:"ghost",get size(){return t(gt)},type:"button",get disabled(){return t(F)},onclick:Pt,children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_useToken_label()]),n(nt,A)},$$slots:{default:!0}})}var $t=l(L,2);{var ht=F=>{z(F,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_cancel_label()]),n(nt,A)},$$slots:{default:!0}})};P($t,F=>{w()&&F(ht)})}O(m),n(d,m)};P(at,d=>{t(wt)?d(It):d(Et,-1)})}s(d=>{qt(S,"id",N),o(ot,d)},[()=>i.lib_gitlabConnect_host_description()]),n(e,a)};P(Ft,e=>{(k()||b())&&j()?e(_e):k()||b()?e(be,1):e(fe,-1)})}var Ut=l(Ft,2);{var ge=e=>{var a=oa(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_cancelled_label()]),n(e,a)},me=e=>{var a=la(),u=E(a),f=B(u,!0),G=l(u,2);z(G,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return b()},onclick:()=>W.dispatch(Kt()),children:(S,ot)=>{h();var et=x();s(dt=>o(et,dt),[()=>i.lib_gitlabConnect_checkStatus_label()]),n(S,et)},$$slots:{default:!0}}),O(a),s(S=>o(f,S),[()=>V()==="already-started"?i.lib_gitlabConnect_alreadyStarted_description():i.lib_gitlabConnect_cancelFailed_description()]),n(e,a)};P(Ut,e=>{V()==="cancelled"?e(ge):(V()==="already-started"||V()==="failed")&&e(me,1)})}var $e=l(Ut,2);{var he=e=>{var a=ia(),u=B(a,!0);s(()=>o(u,vt())),n(e,a)};P($e,e=>{vt()&&e(he)})}O(mt)}s(()=>De(mt,1,Te(T()?"space-y-2":"space-y-4"))),n(it,mt);var xe=Qt(de);return q(),xe}export{ua as G,Je as M};
1
+ import{t as Zt,bq as K,by as jt,b as Jt,bu as Z,bs as Ie,bo as i}from"./41c-5lbJ.js";import{bs as Nt,ay as yt,be as h,b$ as x,b_ as s,bO as o,W as n,bS as l,bl as B,bn as Qt,aA as R,a7 as Se,aD as t,c9 as g,aB as I,bo as we,bV as kt,br as Ge,ca as Bt,bH as M,bk as Le,a5 as E,bA as O}from"./DYhIMPy1.js";import{g as Ae,i as Pe,I as Ht}from"./CEufllny.js";import{c as ze}from"./Dv-TQImR.js";import{f as De,c as Te,s as qt}from"./BBCbq-hE.js";import{f as z}from"./nLyQInj7.js";import"./De70D2Lx.js";import"./DfA_Upom.js";import{b as Fe}from"./Og4xuM7g.js";import"./CCO5tijn.js";import"./D07rIrLM.js";import{b as Ue}from"./BwzznN4d.js";import{i as P}from"./ClgmQqA9.js";import{I as Mt}from"./D_P8KoFV.js";import{L as Wt}from"./BuupGai6.js";import"./BhX-5zd9.js";import{G as Ee,x as Oe}from"./CccgSyFt.js";import{Iv as W,fn as Kt,F as Be,ed as Rt,qw as He,tW as qe,Im as Me,od as We,hB as Ke}from"./BuDJvkTk.js";import{a$ as Vt,b0 as Xt,b1 as Re,aW as Ve,aX as Yt,aY as Xe,aZ as Ye,b5 as Ze}from"./CbX7A7fn.js";var je=I('<!> <p class="type-body"> </p>',1);function Je(it,$){if(new.target)return Zt({component:Je,...it});Nt($,!0);let D=K($,"open",15,!1),H=K($,"static",7,!1),st=K($,"title",7),_=K($,"message",7),k=K($,"buttons",7),b=K($,"cancelIndex",7,0),j=K($,"onSelect",7);function V(r){D(!1),j()?.(r)}var vt={get open(){return D()},set open(r=!1){D(r),R()},get static(){return H()},set static(r=!1){H(r),R()},get title(){return st()},set title(r){st(r),R()},get message(){return _()},set message(r){_(r),R()},get buttons(){return k()},set buttons(r){k(r),R()},get cancelIndex(){return b()},set cancelIndex(r=0){b(r),R()},get onSelect(){return j()},set onSelect(r){j(r),R()},$set:jt,$on:(r,q)=>Jt($,r,q)};return Ue(it,{get static(){return H()},role:"alertdialog",get title(){return st()},dismissOnInteractOutside:!1,focusContent:!0,onSubmit:()=>V(k().length-1),onCancel:()=>V(b()),get open(){return D()},set open(q){D(q)},footer:q=>{var T=Se(),w=yt(T);Ae(w,17,k,Pe,(J,N,X)=>{{let Q=g(()=>X===b()?"ghost":X===k().length-1?"primary":"outline");z(J,{get variant(){return t(Q)},onclick:()=>V(X),children:(ct,pt)=>{h();var ut=x();s(()=>o(ut,t(N))),n(ct,ut)},$$slots:{default:!0}})}}),n(q,T)},children:(q,T)=>{var w=je(),J=yt(w);ze(J,()=>Fe,(Q,ct)=>{ct(Q,{class:"sr-only",children:(pt,ut)=>{h();var _t=x();s(()=>o(_t,_())),n(pt,_t)},$$slots:{default:!0}})});var N=l(J,2),X=B(N,!0);s(()=>o(X,_())),n(q,w)},$$slots:{footer:!0,default:!0}}),Qt(vt)}var Ne=I('<p class="text-sm text-subtle" role="status" data-testid="gitlab-instance-update-required"> </p>'),Qe=I('<p class="break-all type-caption text-subtle" data-testid="gitlab-connect-instance"> </p>'),ta=I('<div class="max-w-sm space-y-3" data-testid="gitlab-connect-device-flow"><!> <div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!> <!></div></div>'),ea=I('<div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!></div>'),aa=I('<p class="text-xs text-danger" role="alert"> </p>'),na=I('<div class="max-w-sm space-y-1" data-testid="gitlab-connect-token"><!> <!> <p class="text-xs text-subtle"> <!></p></div> <div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>',1),ra=I('<div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>'),sa=I('<div class="max-w-sm space-y-1"><!> <!> <p class="text-xs text-subtle"> </p> <!></div> <!>',1),oa=I('<p class="text-sm text-subtle" role="status"> </p>'),la=I('<div class="space-y-1"><p class="text-sm text-subtle" role="status"> </p> <!></div>'),ia=I('<p class="text-sm text-danger" role="alert"> </p>'),ca=I('<div data-testid="gitlab-connect-form"><!> <!> <!> <!> <!></div>');function ua(it,$){const D=we();if(new.target)return Zt({component:ua,...it});Nt($,!0);const H=()=>Z(ct,"$storedInstance$",r),st=()=>Z(ee,"$deviceGrantSupported$",r),_=()=>Z(ne,"$instanceSetupSupported$",r),k=()=>Z(pt,"$isAuthenticating$",r),b=()=>Z(ut,"$isCancelling$",r),j=()=>Z(te,"$deviceFlow$",r),V=()=>Z(_t,"$cancelOutcome$",r),vt=()=>Z(ae,"$error$",r),[r,q]=Ie();let T=K($,"compact",7,!1),w=K($,"onCancel",7);const J=`${D}-host`,N=`${D}-host-help`,X=`${D}-host-error`,Q=`${D}-token`,ct=Vt(),pt=Xt(),ut=Re(),_t=Ve(),te=Yt(),ee=Xe(),ae=Ye(),ne=Ze();let bt=kt(Ge(Vt.select(W.state))),St=kt(!1),tt=kt(""),ft=kt(!1);const p=g(()=>qe(t(bt))),wt=g(()=>t(ft)||t(p)===H()&&st()===!1),Ct=g(()=>t(p)?We(t(p)):null),re=g(()=>_()&&t(p)!==null&&t(tt).trim().length>0);Bt(()=>{const c=H();t(St)||M(bt,c,!0)}),Bt(()=>{_()||M(tt,"")}),Le(()=>{const c=()=>{const e=W.state;Xt.select(e)&&Yt.select(e)&&W.dispatch(Kt())};return window.addEventListener("focus",c),()=>window.removeEventListener("focus",c)});function Gt(){!_()||!t(p)||t(p)===H()||k()||b()||W.dispatch(He(t(p)))}function se(){M(St,!0),M(tt,"")}function Lt(){!_()||!t(p)||k()||b()||W.dispatch(Me(t(p)))}function At(){const c=t(tt).trim();!_()||!c||!t(p)||k()||b()||(W.dispatch(Ke(t(p),c)),M(tt,""))}function Pt(){!_()||b()||(k()&&W.dispatch(Rt()),M(ft,!0))}function oe(){M(ft,!1)}function le(){b()||W.dispatch(Rt())}function ie(){t(Ct)&&Oe(t(Ct),{})}function ce(c){c.key==="Enter"&&(c.preventDefault(),Gt(),t(wt)?document.getElementById(Q)?.focus():Lt())}function ue(c){c.key==="Enter"&&(c.preventDefault(),At())}const zt=g(()=>T()?"sm":"xl"),gt=g(()=>T()?"sm":"default");var de={get compact(){return T()},set compact(c=!1){T(c),R()},get onCancel(){return w()},set onCancel(c){w(c),R()},$set:jt,$on:(c,e)=>Jt($,c,e)},mt=ca();{const c=e=>{z(e,{variant:"ghost",size:"sm",type:"button",class:"text-muted-foreground hover:text-foreground",get disabled(){return b()},onclick:le,children:(a,u)=>{h();var f=x();s(G=>o(f,G),[()=>b()?i.lib_gitlabConnect_cancelling_label():i.lib_gitlabConnect_cancel_label()]),n(a,f)},$$slots:{default:!0}})};var Dt=E(mt);{var ve=e=>{var a=Ne(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_updateRequired_description()]),n(e,a)};P(Dt,e=>{_()||e(ve)})}var Tt=l(Dt,2);{var pe=e=>{var a=Qe(),u=B(a,!0);s(()=>o(u,H())),n(e,a)};P(Tt,e=>{(k()||b())&&e(pe)})}var Ft=l(Tt,2);{var _e=e=>{var a=ta(),u=E(a);{let at=g(()=>i.lib_gitlabConnect_openGitlab_label());Ee(u,{get userCode(){return j().userCode},get verificationUri(){return j().verificationUri},get openLabel(){return t(at)},get compact(){return T()}})}var f=l(u,2),G=E(f);Ht(G,{size:16,class:"shrink-0"});var S=l(G,2),ot=B(S,!0),et=l(S,2);{let at=g(()=>b()||!_());z(et,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return t(at)},onclick:Pt,children:(It,Et)=>{h();var d=x();s(m=>o(d,m),[()=>i.lib_gitlabConnect_useToken_label()]),n(It,d)},$$slots:{default:!0}})}var dt=l(et,2);c(dt),O(f),O(a),s(at=>o(ot,at),[()=>i.lib_gitlabConnect_waitingForAuthorization_label()]),n(e,a)},be=e=>{var a=ea(),u=E(a);Ht(u,{size:16,class:"shrink-0"});var f=l(u,2),G=B(f,!0),S=l(f,2);c(S),O(a),s(ot=>o(G,ot),[()=>i.lib_gitlabConnect_connecting_label()]),n(e,a)},fe=e=>{var a=sa(),u=yt(a),f=E(u);Wt(f,{get for(){return J},children:(d,m)=>{h();var y=x();s(L=>o(y,L),[()=>i.lib_gitlabConnect_host_label()]),n(d,y)},$$slots:{default:!0}});var G=l(f,2);{let d=g(()=>!_()),m=g(()=>!t(p)||void 0),y=g(()=>t(p)?N:`${N} ${X}`);Mt(G,{get id(){return J},type:"text",autocomplete:"url",spellcheck:!1,get disabled(){return t(d)},get"aria-invalid"(){return t(m)},get"aria-describedby"(){return t(y)},get placeholder(){return Be},oninput:se,onchange:Gt,onkeydown:ce,get value(){return t(bt)},set value(L){M(bt,L,!0)}})}var S=l(G,2),ot=B(S,!0),et=l(S,2);{var dt=d=>{var m=aa(),y=B(m,!0);s(L=>{qt(m,"id",X),o(y,L)},[()=>i.lib_gitlabConnect_invalidInstance_error()]),n(d,m)};P(et,d=>{t(p)||d(dt)})}O(u);var at=l(u,2);{var It=d=>{var m=na(),y=yt(m),L=E(y);Wt(L,{get for(){return Q},children:(v,U)=>{h();var lt=x();s(C=>o(lt,C),[()=>i.lib_gitlabConnect_token_label()]),n(v,lt)},$$slots:{default:!0}});var $t=l(L,2);{let v=g(()=>!_());Mt($t,{get id(){return Q},type:"password",autocomplete:"off",get disabled(){return t(v)},placeholder:"glpat-...",onkeydown:ue,get value(){return t(tt)},set value(U){M(tt,U,!0)}})}var ht=l($t,2),F=E(ht),nt=l(F);{var xt=v=>{z(v,{variant:"link",size:"sm",type:"button",class:"h-auto px-0 text-xs",onclick:ie,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_createToken_label({host:t(p)})]),n(U,C)},$$slots:{default:!0}})};P(nt,v=>{t(Ct)&&t(p)&&v(xt)})}O(ht),O(y);var A=l(y,2),Y=E(A);{let v=g(()=>!t(re));z(Y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:At,get disabled(){return t(v)},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_connect_label()]),n(U,C)},$$slots:{default:!0}})}var Ot=l(Y,2);{var ke=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",onclick:oe,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_useDevice_label()]),n(U,C)},$$slots:{default:!0}})};P(Ot,v=>{t(ft)&&!(t(p)===H()&&st()===!1)&&v(ke)})}var ye=l(Ot,2);{var Ce=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_cancel_label()]),n(U,C)},$$slots:{default:!0}})};P(ye,v=>{w()&&v(Ce)})}O(A),s(v=>o(F,`${v??""} `),[()=>i.lib_gitlabConnect_token_description()]),n(d,m)},Et=d=>{var m=ra(),y=E(m);{let F=g(()=>!t(p)||!_());z(y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:Lt,get disabled(){return t(F)},children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_connect_label()]),n(nt,A)},$$slots:{default:!0}})}var L=l(y,2);{let F=g(()=>!_());z(L,{variant:"ghost",get size(){return t(gt)},type:"button",get disabled(){return t(F)},onclick:Pt,children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_useToken_label()]),n(nt,A)},$$slots:{default:!0}})}var $t=l(L,2);{var ht=F=>{z(F,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_cancel_label()]),n(nt,A)},$$slots:{default:!0}})};P($t,F=>{w()&&F(ht)})}O(m),n(d,m)};P(at,d=>{t(wt)?d(It):d(Et,-1)})}s(d=>{qt(S,"id",N),o(ot,d)},[()=>i.lib_gitlabConnect_host_description()]),n(e,a)};P(Ft,e=>{(k()||b())&&j()?e(_e):k()||b()?e(be,1):e(fe,-1)})}var Ut=l(Ft,2);{var ge=e=>{var a=oa(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_cancelled_label()]),n(e,a)},me=e=>{var a=la(),u=E(a),f=B(u,!0),G=l(u,2);z(G,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return b()},onclick:()=>W.dispatch(Kt()),children:(S,ot)=>{h();var et=x();s(dt=>o(et,dt),[()=>i.lib_gitlabConnect_checkStatus_label()]),n(S,et)},$$slots:{default:!0}}),O(a),s(S=>o(f,S),[()=>V()==="already-started"?i.lib_gitlabConnect_alreadyStarted_description():i.lib_gitlabConnect_cancelFailed_description()]),n(e,a)};P(Ut,e=>{V()==="cancelled"?e(ge):(V()==="already-started"||V()==="failed")&&e(me,1)})}var $e=l(Ut,2);{var he=e=>{var a=ia(),u=B(a,!0);s(()=>o(u,vt())),n(e,a)};P($e,e=>{vt()&&e(he)})}O(mt)}s(()=>De(mt,1,Te(T()?"space-y-2":"space-y-4"))),n(it,mt);var xe=Qt(de);return q(),xe}export{ua as G,Je as M};
@@ -1 +1 @@
1
- import{t as Fe,bq as X,bo as M,by as je,b as qe,bu as De,bs as at,bt as xt}from"./DGQ1ECsI.js";import{bs as Ne,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ge,aA as J,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Be,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./DYhIMPy1.js";import{i as K}from"./B-DRVFcy.js";import{k as ot}from"./B99vgEcA.js";import{g as Ie}from"./D3HUOTfX.js";import{c as P}from"./CJeZnjZ2.js";import{s as Ee,f as Je,c as Qe,b as Ye}from"./Bp_k45o-.js";import{P as He,h as Me,i as Se,g as We}from"./CK2a86W3.js";import{B as At,t as T,E as Ze,d as Pt}from"./Cw94LfJC.js";import"./DZ-cwX5R.js";import{C as Tt}from"./B8kZnhwO.js";import"./d34yYkdR.js";import{Iv as xe,fj as Rt,Es as nt,CU as it,px as It}from"./BSSsvY4I.js";import{aO as lt,aL as Dt,aM as Lt,dt as zt}from"./CbVK4mzc.js";import{d as Et,r as Ht}from"./eIlGg2ZH.js";import{M as Mt}from"./DWqOehs6.js";import{k as St}from"./4M32Nrru.js";import{e as et}from"./D7KOa2cM.js";import{T as Wt,e as Ct}from"./BJpI9lmh.js";import{o as Bt}from"./CBVEFL-b.js";import{f as Ce}from"./CxF8YFum.js";import{S as Le}from"./CKe6gKEB.js";import{F as ze,_ as Ot,c_ as Ft,as as jt,bj as qt}from"./Cjw1QvKa.js";var Nt=m('<div class="space-y-3"><!> <!></div>'),Gt=m('<div class="space-y-3"><!> <!></div> <!>',1),Ut=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Xt=m('<div class="flex h-10 items-center px-3"><!></div>'),Jt=m("<div><!> <!> <!> <!></div>"),Qt=m("<!> <!>",1),Yt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ne(l,!0);const Q=At();bt(Q.cleanup);let L=X(l,"detail",7,!1),F=X(l,"count",7,5),Y=X(l,"view",7,"list"),Z=X(l,"grouped",7,!1),s=X(l,"rows",7,"workspace");var z={get detail(){return L()},set detail(i=!1){L(i),J()},get count(){return F()},set count(i=5){F(i),J()},get view(){return Y()},set view(i="list"){Y(i),J()},get grouped(){return Z()},set grouped(i=!1){Z(i),J()},get rows(){return s()},set rows(i="workspace"){s(i),J()},$set:je,$on:(i,I)=>qe(l,i,I)},y=Yt(),ie=u(y),be=u(ie);{var le=i=>{var I=Gt(),g=R(I),ee=u(g);T(ee,{class:"h-6 w-4/5"});var S=n(ee,2);T(S,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);Ie(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Nt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,I)},Te=i=>{var I=Kt();Ie(I,20,()=>[0,1,2],g=>g,(g,ee)=>{var S=Vt(),d=u(S),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);Ie(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Ut(),de=u(j),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),r(k,j)}),c(S),r(g,S)}),c(I),r(i,I)},_e=i=>{var I=Qt(),g=R(I);{var ee=d=>{var h=Xt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};K(g,d=>{Z()&&d(ee)})}var S=n(g,2);Ie(S,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Jt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Je(A,1,Qe(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,I)};K(be,i=>{L()?i(le):Y()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Ee(y,"aria-label",i),Ee(y,"data-reduced",Q.current),Je(ie,1,Qe(L()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>M.home_integrations_loading()]),r(b,y),Ge(z)}function ct(b){return b.filter(Et)}function Zt(){let b=null;return(l,Q)=>{const L=b?l.find(Y=>Y.id===b):void 0;if(L)return L;const F=Ht(l);return b=Q&&F?String(F.id):null,F}}function er(b,l,Q){return l&&b.find(L=>L.id===l)||Q}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ne(l,!0);const Q=()=>De(ie,"$agents$",F),L=()=>De(be,"$loaded$",F),[F,Y]=at();let Z=X(l,"workspace",7),s=X(l,"preview",7,!1),z=X(l,"agent",7);const y=Be(()=>Z().id),ie=lt(y),be=Dt(y),le=$(()=>ct(Q())),Te=$(()=>s()?void 0:z()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Mt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function I(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function S(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(It(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||S(),()=>clearTimeout(ee)));var d={focusAttention:I,get workspace(){return Z()},set workspace(t){Z(t),J()},get preview(){return s()},set preview(t=!1){s(t),J()},get agent(){return z()},set agent(t){z(t),J()},$set:je,$on:(t,o)=>qe(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(ae=>O(q,ae),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),r(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>z().id,q=>{{let ae=$(()=>e(_e)?.agentId===z().id?e(_e):void 0);Tt(q,{get workspace(){return Z()},get agentId(){return z().id},get agentName(){return z().name},autoFocus:!1,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},j=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=q=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>M.home_detail_unavailable()]),r(q,ae)};let w=$(()=>M.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:S,message:o,$$slots:{message:!0}})}},re=t=>{{const o=q=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),r(q,ae)};let w=$(()=>M.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:S,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):z()?t(te,1):!L()&&!e(g)?t(j,2):L()?t(re,-1):t(de,3)})}c(h),x(()=>Ee(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ge(d);return Y(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Fe({component:ur,...b});Ne(l,!0);const Q=()=>De(_e,"$readRevision$",Y),L=()=>De(Te,"$agents$",Y),F=()=>De(I,"$pickedId$",Y),[Y,Z]=at();let s=X(l,"workspace",7),z=X(l,"onclose",7),y=X(l,"preview",7,!1),ie=X(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:M.workspace_links_untitled_label()),le=Be(()=>s().id),Te=lt(le),_e=Lt(le),i=Be(()=>Q()),I=Wt(le),g=$(()=>ct(L())),ee=Zt(),S=$(()=>ee(e(g),Q()>i)),d=$(()=>er(e(g),F(),e(S)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!zt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Bt(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),J()},get onclose(){return z()},set onclose(a){z(a),J()},get preview(){return y()},set preview(a=!1){y(a),J()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),J()},$set:je,$on:(a,f)=>qe(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>He,(a,f)=>{f(a,{children:(N,oe)=>{var G=fe(),W=R(G);P(W,()=>Me,(ve,E)=>{E(ve,{children:(U,ge)=>{var me=tt(),ne=R(me);{const C=(H,B)=>{let D=()=>(B?.()).props;{let v=$(()=>M.home_open_workspace());Ce(H,xt(D,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,V)=>{var _=ar(),se=R(_),ue=Ae(se,!0),we=n(se,2);ze(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Se,(H,B)=>{B(H,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,H)=>{H(C,{children:(B,D)=>{$e();var v=ke();x(()=>O(v,e(be))),r(B,v)},$$slots:{default:!0}})}),r(U,me)},$$slots:{default:!0}})}),r(N,G)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var ae=a=>{var f=sr(),N=u(f);{let oe=$(()=>M.home_close_preview()),G=$(()=>M.home_close_preview());Ce(N,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(G)},get onclick(){return z()},children:(W,ve)=>{ze(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),r(a,f)};K(q,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),N=R(f);P(N,()=>He,(oe,G)=>{G(oe,{children:(W,ve)=>{var E=fe(),U=R(E);P(U,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),H=R(C);{const D=(v,p)=>{let V=()=>(p?.()).props;var _=or();Ye(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{St(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{ze(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Xe=n(se,2),Re=Ae(Xe,!0);c(_),x(()=>O(Re,e(A))),r(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(D,v)=>{v(D,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};K(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),N=R(f);P(N,()=>He,(oe,G)=>{G(oe,{children:(W,ve)=>{var E=fe(),U=R(E);P(U,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),H=R(C);{const D=(v,p)=>{let V=()=>(p?.()).props;var _=nr();Ye(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),r(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(D,v)=>{v(D,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};K(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Ue=n(ce,2);{var ft=a=>{var f=dr(),N=u(f);{let oe=$(()=>e(d)?.id??"");P(N,()=>Le.Root,(G,W)=>{W(G,{get value(){return e(oe)},onchange:ve=>{const E=e(g).find(U=>U.id===ve);E&&h(E.id)},children:(ve,E)=>{var U=tt(),ge=R(U);{let ne=$(()=>M.home_agents());P(ge,()=>Le.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(H,B)=>{var D=ir(),v=R(D);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);ze(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),r(H,D)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Le.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,H)=>{var B=fe(),D=R(B);Ie(D,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=R(V);P(_,()=>Le.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Xe)=>{var Re=lr(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),r(we,Re)},$$slots:{default:!0}})}),r(v,V)}),r(C,B)},$$slots:{default:!0}})}),r(ve,U)},$$slots:{default:!0}})})}c(f),r(a,f)};K(Ue,a=>{e(g).length&&a(ft)})}var Ve=n(Ue,2);{var _t=a=>{var f=cr(),N=u(f),oe=Ae(N,!0),G=n(N,2);Ce(G,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var E=ke();x(U=>O(E,U),[()=>M.home_retry()]),r(W,E)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>M.home_detail_unavailable()]),r(a,f)};K(Ve,a=>{e(k)&&a(_t)})}var Ke=n(Ve,2),gt=u(Ke);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(re),x(a=>Ee(re,"aria-label",a),[()=>M.home_workspace_details()]),r(b,re);var ht=Ge(de);return Z(),ht}export{dt as H,ur as a};
1
+ import{t as Fe,bq as X,bo as M,by as je,b as qe,bu as De,bs as at,bt as xt}from"./41c-5lbJ.js";import{bs as Ne,bj as bt,a5 as u,bA as c,b_ as x,W as r,bn as Ge,aA as J,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Be,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./DYhIMPy1.js";import{i as K}from"./ClgmQqA9.js";import{k as ot}from"./D9WrXbf9.js";import{g as Ie}from"./CEufllny.js";import{c as P}from"./Dv-TQImR.js";import{s as Ee,f as Je,c as Qe,b as Ye}from"./BBCbq-hE.js";import{P as He,h as Me,i as Se,g as We}from"./ClkbPGx9.js";import{B as At,t as T,E as Ze,d as Pt}from"./BuupGai6.js";import"./De70D2Lx.js";import{C as Tt}from"./Sa9G_k7P.js";import"./BzXCk-eX.js";import{Iv as xe,fj as Rt,Es as nt,CU as it,px as It}from"./BuDJvkTk.js";import{aO as lt,aL as Dt,aM as Lt,dt as zt}from"./DGb_dMRY.js";import{d as Et,r as Ht}from"./Bo40L-We.js";import{M as Mt}from"./BJ5nSO_Z.js";import{k as St}from"./Dq9dLpt4.js";import{e as et}from"./CccgSyFt.js";import{T as Wt,e as Ct}from"./DGRqvVY1.js";import{o as Bt}from"./BCQGaqgQ.js";import{f as Ce}from"./nLyQInj7.js";import{S as Le}from"./QLXfiC8k.js";import{F as ze,_ as Ot,c_ as Ft,as as jt,bj as qt}from"./AOUBMpYk.js";var Nt=m('<div class="space-y-3"><!> <!></div>'),Gt=m('<div class="space-y-3"><!> <!></div> <!>',1),Ut=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Vt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Xt=m('<div class="flex h-10 items-center px-3"><!></div>'),Jt=m("<div><!> <!> <!> <!></div>"),Qt=m("<!> <!>",1),Yt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ne(l,!0);const Q=At();bt(Q.cleanup);let L=X(l,"detail",7,!1),F=X(l,"count",7,5),Y=X(l,"view",7,"list"),Z=X(l,"grouped",7,!1),s=X(l,"rows",7,"workspace");var z={get detail(){return L()},set detail(i=!1){L(i),J()},get count(){return F()},set count(i=5){F(i),J()},get view(){return Y()},set view(i="list"){Y(i),J()},get grouped(){return Z()},set grouped(i=!1){Z(i),J()},get rows(){return s()},set rows(i="workspace"){s(i),J()},$set:je,$on:(i,I)=>qe(l,i,I)},y=Yt(),ie=u(y),be=u(ie);{var le=i=>{var I=Gt(),g=R(I),ee=u(g);T(ee,{class:"h-6 w-4/5"});var S=n(ee,2);T(S,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);Ie(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Nt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),r(h,k)}),r(i,I)},Te=i=>{var I=Kt();Ie(I,20,()=>[0,1,2],g=>g,(g,ee)=>{var S=Vt(),d=u(S),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);Ie(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Ut(),de=u(j),re=u(de);T(re,{class:"h-4 flex-1"});var ce=n(re);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),r(k,j)}),c(S),r(g,S)}),c(I),r(i,I)},_e=i=>{var I=Qt(),g=R(I);{var ee=d=>{var h=Xt(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),r(d,h)};K(g,d=>{Z()&&d(ee)})}var S=n(g,2);Ie(S,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Jt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},re=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(re,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Je(A,1,Qe(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),r(d,A)}),r(i,I)};K(be,i=>{L()?i(le):Y()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Ee(y,"aria-label",i),Ee(y,"data-reduced",Q.current),Je(ie,1,Qe(L()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>M.home_integrations_loading()]),r(b,y),Ge(z)}function ct(b){return b.filter(Et)}function Zt(){let b=null;return(l,Q)=>{const L=b?l.find(Y=>Y.id===b):void 0;if(L)return L;const F=Ht(l);return b=Q&&F?String(F.id):null,F}}function er(b,l,Q){return l&&b.find(L=>L.id===l)||Q}var tr=m('<div class="p-4"><!></div>'),rr=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ne(l,!0);const Q=()=>De(ie,"$agents$",F),L=()=>De(be,"$loaded$",F),[F,Y]=at();let Z=X(l,"workspace",7),s=X(l,"preview",7,!1),z=X(l,"agent",7);const y=Be(()=>Z().id),ie=lt(y),be=Dt(y),le=$(()=>ct(Q())),Te=$(()=>s()?void 0:z()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Mt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function I(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function S(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(It(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||S(),()=>clearTimeout(ee)));var d={focusAttention:I,get workspace(){return Z()},set workspace(t){Z(t),J()},get preview(){return s()},set preview(t=!1){s(t),J()},get agent(){return z()},set agent(t){z(t),J()},$set:je,$on:(t,o)=>qe(l,t,o)},h=rr(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(ae=>O(q,ae),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),r(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>z().id,q=>{{let ae=$(()=>e(_e)?.agentId===z().id?e(_e):void 0);Tt(q,{get workspace(){return Z()},get agentId(){return z().id},get agentName(){return z().name},autoFocus:!1,get attentionFocusRequest(){return e(ae)},isInitialWorkspaceAgent:!1})}}),r(t,o)},j=t=>{var o=tr(),w=u(o);dt(w,{detail:!0}),c(o),r(t,o)},de=t=>{{const o=q=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>M.home_detail_unavailable()]),r(q,ae)};let w=$(()=>M.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:S,message:o,$$slots:{message:!0}})}},re=t=>{{const o=q=>{$e();var ae=ke();x(ye=>O(ae,ye),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),r(q,ae)};let w=$(()=>M.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:S,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):z()?t(te,1):!L()&&!e(g)?t(j,2):L()?t(re,-1):t(de,3)})}c(h),x(()=>Ee(h,"data-workspace-link-target",Z().id)),r(b,h);var ce=Ge(d);return Y(),ce}var ar=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sr=m('<div class="shrink-0"><!></div>'),or=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),rt=m("<!><!>",1),nr=m("<p> </p>"),ir=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),lr=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),dr=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),cr=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),vr=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ur(b,l){if(new.target)return Fe({component:ur,...b});Ne(l,!0);const Q=()=>De(_e,"$readRevision$",Y),L=()=>De(Te,"$agents$",Y),F=()=>De(I,"$pickedId$",Y),[Y,Z]=at();let s=X(l,"workspace",7),z=X(l,"onclose",7),y=X(l,"preview",7,!1),ie=X(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:M.workspace_links_untitled_label()),le=Be(()=>s().id),Te=lt(le),_e=Lt(le),i=Be(()=>Q()),I=Wt(le),g=$(()=>ct(L())),ee=Zt(),S=$(()=>ee(e(g),Q()>i)),d=$(()=>er(e(g),F(),e(S)));function h(a){xe.dispatch(nt(le,a)),xe.dispatch(it(le,a))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!zt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Bt(s().id)}var de={get workspace(){return s()},set workspace(a){s(a),J()},get onclose(){return z()},set onclose(a){z(a),J()},get preview(){return y()},set preview(a=!1){y(a),J()},get showBackToList(){return ie()},set showBackToList(a=!0){ie(a),J()},$set:je,$on:(a,f)=>qe(l,a,f)},re=vr(),ce=u(re),t=u(ce),o=u(t),w=u(o);P(w,()=>He,(a,f)=>{f(a,{children:(N,oe)=>{var G=fe(),W=R(G);P(W,()=>Me,(ve,E)=>{E(ve,{children:(U,ge)=>{var me=tt(),ne=R(me);{const C=(H,B)=>{let D=()=>(B?.()).props;{let v=$(()=>M.home_open_workspace());Ce(H,xt(D,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,V)=>{var _=ar(),se=R(_),ue=Ae(se,!0),we=n(se,2);ze(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),r(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Se,(H,B)=>{B(H,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,H)=>{H(C,{children:(B,D)=>{$e();var v=ke();x(()=>O(v,e(be))),r(B,v)},$$slots:{default:!0}})}),r(U,me)},$$slots:{default:!0}})}),r(N,G)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var ae=a=>{var f=sr(),N=u(f);{let oe=$(()=>M.home_close_preview()),G=$(()=>M.home_close_preview());Ce(N,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(G)},get onclick(){return z()},children:(W,ve)=>{ze(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),r(a,f)};K(q,a=>{ie()&&a(ae)})}c(t);var ye=n(t,2);{var ut=a=>{var f=fe(),N=R(f);P(N,()=>He,(oe,G)=>{G(oe,{children:(W,ve)=>{var E=fe(),U=R(E);P(U,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),H=R(C);{const D=(v,p)=>{let V=()=>(p?.()).props;var _=or();Ye(_,()=>({...V(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{St(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{ze(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Xe=n(se,2),Re=Ae(Xe,!0);c(_),x(()=>O(Re,e(A))),r(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(D,v)=>{v(D,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,e(A))),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};K(ye,a=>{e(A)&&a(ut)})}var pt=n(ye,2);{var mt=a=>{var f=fe(),N=R(f);P(N,()=>He,(oe,G)=>{G(oe,{children:(W,ve)=>{var E=fe(),U=R(E);P(U,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=rt(),H=R(C);{const D=(v,p)=>{let V=()=>(p?.()).props;var _=nr();Ye(_,()=>({...V(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),r(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:D,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(D,v)=>{v(D,{children:(p,V)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),r(p,_)},$$slots:{default:!0}})}),r(ne,C)},$$slots:{default:!0}})}),r(W,E)},$$slots:{default:!0}})}),r(a,f)};K(pt,a=>{s().statusMessage&&a(mt)})}c(ce);var Ue=n(ce,2);{var ft=a=>{var f=dr(),N=u(f);{let oe=$(()=>e(d)?.id??"");P(N,()=>Le.Root,(G,W)=>{W(G,{get value(){return e(oe)},onchange:ve=>{const E=e(g).find(U=>U.id===ve);E&&h(E.id)},children:(ve,E)=>{var U=tt(),ge=R(U);{let ne=$(()=>M.home_agents());P(ge,()=>Le.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(H,B)=>{var D=ir(),v=R(D);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var V=n(v,2),_=Ae(V,!0),se=n(V,2);ze(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),r(H,D)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Le.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,H)=>{var B=fe(),D=R(B);Ie(D,17,()=>e(g),v=>v.id,(v,p)=>{var V=fe(),_=R(V);P(_,()=>Le.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Xe)=>{var Re=lr(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),r(we,Re)},$$slots:{default:!0}})}),r(v,V)}),r(C,B)},$$slots:{default:!0}})}),r(ve,U)},$$slots:{default:!0}})})}c(f),r(a,f)};K(Ue,a=>{e(g).length&&a(ft)})}var Ve=n(Ue,2);{var _t=a=>{var f=cr(),N=u(f),oe=Ae(N,!0),G=n(N,2);Ce(G,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var E=ke();x(U=>O(E,U),[()=>M.home_retry()]),r(W,E)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>M.home_detail_unavailable()]),r(a,f)};K(Ve,a=>{e(k)&&a(_t)})}var Ke=n(Ve,2),gt=u(Ke);ot(gt,()=>s().id,a=>{vt(a,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(re),x(a=>Ee(re,"aria-label",a),[()=>M.home_workspace_details()]),r(b,re);var ht=Ge(de);return Z(),ht}export{dt as H,ur as a};
@@ -1 +1 @@
1
- import{t as W,bq as A,bo as s,by as O,b as R}from"./DGQ1ECsI.js";import{bs as S,a5 as q,aD as i,bS as p,bl as u,bA as k,b_ as h,bO as b,W as f,bn as B,c9 as j,aA as E,aB as g}from"./DYhIMPy1.js";import{i as F}from"./B-DRVFcy.js";import{g as G}from"./D3HUOTfX.js";import{s as m}from"./Bp_k45o-.js";import{h as H,W as J,i as K}from"./Cjw1QvKa.js";var L=g('<li class="flex items-center gap-2"><!> <span class="min-w-0 flex-1 break-words"> </span> <span class="shrink-0 text-muted-foreground"> </span></li>'),M=g('<ul class="space-y-1 text-sm"></ul>');function N(n,o){if(new.target)return W({component:N,...n});S(o,!0);let r=A(o,"checklist",7);const v=j(()=>{const e=c=>({state:c?"done":"waiting",status:c?s.desktop_os_checklist_allowed():s.desktop_os_checklist_missing()}),t=()=>r().screenCapture==="blocked"?{state:"waiting",status:s.desktop_os_checklist_blocked()}:r().screenCapture==="ready"?{state:"done",status:s.desktop_os_checklist_ready()}:r().screenCapture==="checking"?{state:"waiting",status:s.desktop_os_checklist_checking()}:{state:"failed",status:s.desktop_os_checklist_unconfirmed()};return[{label:s.desktop_os_checklist_accessibility(),...e(r().accessibility)},{label:s.desktop_os_checklist_screenRecording(),...e(r().screenRecording)},{label:s.desktop_os_checklist_screenCapture(),...t()}]});var x={get checklist(){return r()},set checklist(e){r(e),E()},$set:O,$on:(e,t)=>R(o,e,t)},l=M();return G(l,21,()=>i(v),e=>e.label,(e,t)=>{var c=L(),_=q(c);{var C=a=>{H(a,{class:"size-4 shrink-0 text-success","aria-hidden":"true"})},y=a=>{J(a,{class:"size-4 shrink-0 text-danger","aria-hidden":"true"})},w=a=>{K(a,{class:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"})};F(_,a=>{i(t).state==="done"?a(C):i(t).state==="failed"?a(y,1):a(w,-1)})}var d=p(_,2),z=u(d,!0),D=p(d,2),I=u(D,!0);k(c),h(()=>{m(c,"data-state",i(t).state),b(z,i(t).label),b(I,i(t).status)}),f(e,c)}),k(l),h(e=>m(l,"aria-label",e),[()=>s.desktop_os_checklist_title()]),f(n,l),B(x)}export{N as D};
1
+ import{t as W,bq as A,bo as s,by as O,b as R}from"./41c-5lbJ.js";import{bs as S,a5 as q,aD as i,bS as p,bl as u,bA as k,b_ as h,bO as b,W as f,bn as B,c9 as j,aA as E,aB as g}from"./DYhIMPy1.js";import{i as F}from"./ClgmQqA9.js";import{g as G}from"./CEufllny.js";import{s as m}from"./BBCbq-hE.js";import{h as H,W as J,i as K}from"./AOUBMpYk.js";var L=g('<li class="flex items-center gap-2"><!> <span class="min-w-0 flex-1 break-words"> </span> <span class="shrink-0 text-muted-foreground"> </span></li>'),M=g('<ul class="space-y-1 text-sm"></ul>');function N(n,o){if(new.target)return W({component:N,...n});S(o,!0);let r=A(o,"checklist",7);const v=j(()=>{const e=c=>({state:c?"done":"waiting",status:c?s.desktop_os_checklist_allowed():s.desktop_os_checklist_missing()}),t=()=>r().screenCapture==="blocked"?{state:"waiting",status:s.desktop_os_checklist_blocked()}:r().screenCapture==="ready"?{state:"done",status:s.desktop_os_checklist_ready()}:r().screenCapture==="checking"?{state:"waiting",status:s.desktop_os_checklist_checking()}:{state:"failed",status:s.desktop_os_checklist_unconfirmed()};return[{label:s.desktop_os_checklist_accessibility(),...e(r().accessibility)},{label:s.desktop_os_checklist_screenRecording(),...e(r().screenRecording)},{label:s.desktop_os_checklist_screenCapture(),...t()}]});var x={get checklist(){return r()},set checklist(e){r(e),E()},$set:O,$on:(e,t)=>R(o,e,t)},l=M();return G(l,21,()=>i(v),e=>e.label,(e,t)=>{var c=L(),_=q(c);{var C=a=>{H(a,{class:"size-4 shrink-0 text-success","aria-hidden":"true"})},y=a=>{J(a,{class:"size-4 shrink-0 text-danger","aria-hidden":"true"})},w=a=>{K(a,{class:"size-4 shrink-0 text-muted-foreground","aria-hidden":"true"})};F(_,a=>{i(t).state==="done"?a(C):i(t).state==="failed"?a(y,1):a(w,-1)})}var d=p(_,2),z=u(d,!0),D=p(d,2),I=u(D,!0);k(c),h(()=>{m(c,"data-state",i(t).state),b(z,i(t).label),b(I,i(t).status)}),f(e,c)}),k(l),h(e=>m(l,"aria-label",e),[()=>s.desktop_os_checklist_title()]),f(n,l),B(x)}export{N as D};
@@ -1 +1 @@
1
- import{a0 as b,aR as o,aP as c,l,bu as p,bT as v,bL as g,bM as f,aQ as m}from"./DYhIMPy1.js";import{B as y}from"./DGQ1ECsI.js";function R(u,_,d=!1){var n;o&&(n=m,c());var s=new y(u),h=d?l:0;function t(a,r){if(o){var e=p(n);if(a!==parseInt(e.substring(1))){var i=v();g(i),s.anchor=i,f(!1),s.ensure(a,r),f(!0);return}}s.ensure(a,r)}b(()=>{var a=!1;_((r,e=0)=>{a=!0,t(e,r)}),a||t(-1,null)},h)}export{R as i};
1
+ import{a0 as b,aR as o,aP as c,l,bu as p,bT as v,bL as g,bM as f,aQ as m}from"./DYhIMPy1.js";import{B as y}from"./41c-5lbJ.js";function R(u,_,d=!1){var n;o&&(n=m,c());var s=new y(u),h=d?l:0;function t(a,r){if(o){var e=p(n);if(a!==parseInt(e.substring(1))){var i=v();g(i),s.anchor=i,f(!1),s.ensure(a,r),f(!0);return}}s.ensure(a,r)}b(()=>{var a=!1;_((r,e=0)=>{a=!0,t(e,r)}),a||t(-1,null)},h)}export{R as i};