@intent-hq/web 2.315.0 → 2.316.1

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 (263) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{CzzsK_z0.js → -4NpXDFA.js} +1 -1
  3. package/web/app/immutable/chunks/-JijlOOI.js +1 -0
  4. package/web/app/immutable/chunks/{B36kU0RI.js → 1glN8WZR.js} +1 -1
  5. package/web/app/immutable/chunks/{CIkNpS3P.js → 4GOFpkFz.js} +1 -1
  6. package/web/app/immutable/chunks/{B6o2T7JU.js → 4OYv1x7m.js} +1 -1
  7. package/web/app/immutable/chunks/{BzVDQRgL.js → 5Qkq80VH.js} +1 -1
  8. package/web/app/immutable/chunks/{bS-VFUYb.js → 5doW_7tI.js} +1 -1
  9. package/web/app/immutable/chunks/{Cuq9exmb.js → 62Z5FdlR.js} +1 -1
  10. package/web/app/immutable/chunks/{BA8g-07b.js → 6TqymR4w.js} +1 -1
  11. package/web/app/immutable/chunks/{Dvap-Bcg.js → 6b0rgNvc.js} +2 -2
  12. package/web/app/immutable/chunks/{ZaCkwnYl.js → 74ywEOg9.js} +1 -1
  13. package/web/app/immutable/chunks/{DEmaG7Ya.js → 8mzXJxUW.js} +1 -1
  14. package/web/app/immutable/chunks/{CpELl9t1.js → AXIAXE42.js} +3 -3
  15. package/web/app/immutable/chunks/{DTsLO4aV.js → B-QbT_QZ.js} +1 -1
  16. package/web/app/immutable/chunks/{DDIYUGOD.js → B1LQECzz.js} +1 -1
  17. package/web/app/immutable/chunks/{BsB-PCKs.js → B3RA9kXa.js} +1 -1
  18. package/web/app/immutable/chunks/{Swkg1pRS.js → B4r7cJNO.js} +1 -1
  19. package/web/app/immutable/chunks/{IIdGbw6g.js → B5CAnWhZ.js} +1 -1
  20. package/web/app/immutable/chunks/{BDIALQgX.js → B5JU_-gP.js} +1 -1
  21. package/web/app/immutable/chunks/{C3vS1byi.js → B666jmxV.js} +1 -1
  22. package/web/app/immutable/chunks/{D60vJvLR.js → B89nEuF-.js} +1 -1
  23. package/web/app/immutable/chunks/{Csa9LtrA.js → B8NcRhEG.js} +1 -1
  24. package/web/app/immutable/chunks/{9GP6SafJ.js → B8W3QKCn.js} +1 -1
  25. package/web/app/immutable/chunks/{B1h0QCy7.js → B9HMXORu.js} +1 -1
  26. package/web/app/immutable/chunks/{BS-r7N3W.js → B9Y6nB-h.js} +1 -1
  27. package/web/app/immutable/chunks/{BwdewdLu.js → BAMIlwbq.js} +1 -1
  28. package/web/app/immutable/chunks/{Dj42fWMH.js → BAm6Imyt.js} +1 -1
  29. package/web/app/immutable/chunks/{CTKJUmq_.js → BDA1Ugkc.js} +1 -1
  30. package/web/app/immutable/chunks/{CZBUuakO.js → BDPSecFd.js} +2 -2
  31. package/web/app/immutable/chunks/{D22I-TIV.js → BELPi3nC.js} +1 -1
  32. package/web/app/immutable/chunks/{CtO7SsM-.js → BEZid-wN.js} +1 -1
  33. package/web/app/immutable/chunks/{eYob4ynm.js → BEm-LQiN.js} +1 -1
  34. package/web/app/immutable/chunks/{CUjmBXfD.js → BErHxpt7.js} +1 -1
  35. package/web/app/immutable/chunks/{BoXSGPEf.js → BI_3dcBJ.js} +2 -2
  36. package/web/app/immutable/chunks/{dyJEvFNA.js → BJHfEwR6.js} +1 -1
  37. package/web/app/immutable/chunks/{PeOOhaLn.js → BJjB6NZq.js} +1 -1
  38. package/web/app/immutable/chunks/{DE0RJrWM.js → BKNCuPkO.js} +1 -1
  39. package/web/app/immutable/chunks/{wc9xM_2L.js → BM8QRBST.js} +1 -1
  40. package/web/app/immutable/chunks/{CfHhYnBc.js → BPGcNKLB.js} +1 -1
  41. package/web/app/immutable/chunks/{BGkYz2ud.js → BQ8tXdZu.js} +1 -1
  42. package/web/app/immutable/chunks/{DrxYPSVr.js → BSwRALVr.js} +1 -1
  43. package/web/app/immutable/chunks/{hUiIfi2t.js → BTNnUZgK.js} +1 -1
  44. package/web/app/immutable/chunks/{45Qi4YFf.js → BThHq8_S.js} +1 -1
  45. package/web/app/immutable/chunks/{D1h8l9Ve.js → BVGPFX9W.js} +1 -1
  46. package/web/app/immutable/chunks/{BI7cYdMD.js → BZ779J0V.js} +3 -3
  47. package/web/app/immutable/chunks/{BM62R-OM.js → BZyiigVh.js} +1 -1
  48. package/web/app/immutable/chunks/{JchQH-Q8.js → B_-HLIzl.js} +1 -1
  49. package/web/app/immutable/chunks/{jn5owXje.js → B_Lm5gCD.js} +1 -1
  50. package/web/app/immutable/chunks/{Clc6wozH.js → B_Uva0b1.js} +1 -1
  51. package/web/app/immutable/chunks/BaBfwkQ0.js +4 -0
  52. package/web/app/immutable/chunks/{ZpSdOcUX.js → BdGv2V1p.js} +1 -1
  53. package/web/app/immutable/chunks/{C8LKnqUt.js → BdtaGGP-.js} +1 -1
  54. package/web/app/immutable/chunks/{cE62vW_i.js → Be4GIdcx.js} +2 -2
  55. package/web/app/immutable/chunks/{17xFUwtQ.js → BeqM5XE9.js} +2 -2
  56. package/web/app/immutable/chunks/{etKulcEH.js → Bffmk8mK.js} +1 -1
  57. package/web/app/immutable/chunks/{DbrsPlQk.js → BhFD9JDw.js} +1 -1
  58. package/web/app/immutable/chunks/{C7ilG2WB.js → BiJhyKRr.js} +1 -1
  59. package/web/app/immutable/chunks/{CMMABWQi.js → BiLRO_7d.js} +1 -1
  60. package/web/app/immutable/chunks/{D441f0lY.js → Bj5FOIMp.js} +43 -43
  61. package/web/app/immutable/chunks/{CzdJ5DN4.js → BkPvaENa.js} +1 -1
  62. package/web/app/immutable/chunks/{Czd6tfZA.js → BlBXbDCF.js} +1 -1
  63. package/web/app/immutable/chunks/{qmO_2WOw.js → Bl_mdtS5.js} +1 -1
  64. package/web/app/immutable/chunks/{BTxL9if-.js → BnY3EDnN.js} +3 -3
  65. package/web/app/immutable/chunks/{DXHWw6vt.js → BodsW_pQ.js} +2 -2
  66. package/web/app/immutable/chunks/{DnMKNs0X.js → BqCXmi6V.js} +3 -3
  67. package/web/app/immutable/chunks/{CBRfvExq.js → BqUqwkFB.js} +1 -1
  68. package/web/app/immutable/chunks/{B6MVuluU.js → BqZ5K73B.js} +1 -1
  69. package/web/app/immutable/chunks/{D5arKTNF.js → Bqva_xpl.js} +1 -1
  70. package/web/app/immutable/chunks/{DxI6kRYN.js → Bs8Qb-17.js} +1 -1
  71. package/web/app/immutable/chunks/{Bjzk9M3D.js → BszyP2Xm.js} +1 -1
  72. package/web/app/immutable/chunks/{ja3pdsid.js → Bt8I_YBy.js} +1 -1
  73. package/web/app/immutable/chunks/{DbHbiWFj.js → BuJ6T8t6.js} +1 -1
  74. package/web/app/immutable/chunks/{DGvAL7MJ.js → BuNSu9iM.js} +1 -1
  75. package/web/app/immutable/chunks/{BP6KtsDA.js → BxgdFxC5.js} +1 -1
  76. package/web/app/immutable/chunks/{BHJ90Mf-.js → Byx47MBL.js} +1 -1
  77. package/web/app/immutable/chunks/{B2jOlwPp.js → BzbMU544.js} +1 -1
  78. package/web/app/immutable/chunks/{CjCXWRTy.js → C-b2TnYk.js} +1 -1
  79. package/web/app/immutable/chunks/{DcBvBE74.js → C010Rrz_.js} +1 -1
  80. package/web/app/immutable/chunks/{D0UrvUQM.js → C0GDF9vt.js} +1 -1
  81. package/web/app/immutable/chunks/{DZhHioOL.js → C2Inz1MA.js} +1 -1
  82. package/web/app/immutable/chunks/{Cufik1EG.js → C2WXNTdR.js} +1 -1
  83. package/web/app/immutable/chunks/{BW4yj8m7.js → C3HkPZ8G.js} +1 -1
  84. package/web/app/immutable/chunks/{CFrKPVp-.js → C4RhwIf-.js} +1 -1
  85. package/web/app/immutable/chunks/{D2QAvk7S.js → C4u6LQEf.js} +1 -1
  86. package/web/app/immutable/chunks/{1r2-2NoO.js → C53cDHO_.js} +1 -1
  87. package/web/app/immutable/chunks/{DM1ZHS3Y.js → C5_6YJsU.js} +1 -1
  88. package/web/app/immutable/chunks/{Deg5jWhG.js → C74GZ40P.js} +1 -1
  89. package/web/app/immutable/chunks/{dUOQ5AaY.js → C8iHXc33.js} +1 -1
  90. package/web/app/immutable/chunks/{B-8kHUzd.js → C9Fu7eOC.js} +1 -1
  91. package/web/app/immutable/chunks/{BMMcARVk.js → C9I4tasT.js} +1 -1
  92. package/web/app/immutable/chunks/{CjGoJ5M9.js → C9mX4U8C.js} +2 -2
  93. package/web/app/immutable/chunks/{DUjsEo3X.js → CB7NczxA.js} +1 -1
  94. package/web/app/immutable/chunks/{-EpgQj88.js → CB__zD5M.js} +1 -1
  95. package/web/app/immutable/chunks/{DNFEdIdv.js → CCIM6To3.js} +1 -1
  96. package/web/app/immutable/chunks/{AStlTL_B.js → CD9NMDLt.js} +1 -1
  97. package/web/app/immutable/chunks/{Cpn3qWfd.js → CDKknk7B.js} +1 -1
  98. package/web/app/immutable/chunks/{CEoXgs7Q.js → CEB_6XsH.js} +1 -1
  99. package/web/app/immutable/chunks/{B-P4veSb.js → CH1mzr4Y.js} +1 -1
  100. package/web/app/immutable/chunks/{BlQxdvN2.js → CI2w5V5f.js} +1 -1
  101. package/web/app/immutable/chunks/{BZmsmL8P.js → CK7B4YgF.js} +1 -1
  102. package/web/app/immutable/chunks/{C5-HTPPK.js → CKMm3ui8.js} +1 -1
  103. package/web/app/immutable/chunks/{i8qNDIdz.js → CQGNrQKX.js} +1 -1
  104. package/web/app/immutable/chunks/{CPS8yuKp.js → CRB8gnRr.js} +1 -1
  105. package/web/app/immutable/chunks/{D43c7AFS.js → CT6OoS2U.js} +1 -1
  106. package/web/app/immutable/chunks/{DQ13AkOA.js → CU7uaRH8.js} +1 -1
  107. package/web/app/immutable/chunks/{Cso7NntT.js → CUsBvtcm.js} +1 -1
  108. package/web/app/immutable/chunks/{D56XXK4f.js → CVRU8SPX.js} +1 -1
  109. package/web/app/immutable/chunks/{B-2_r0A5.js → CVUE3R4M.js} +1 -1
  110. package/web/app/immutable/chunks/{DRONnAVY.js → CVaZI97u.js} +1 -1
  111. package/web/app/immutable/chunks/{H0ZjbDhN.js → CXBZySXz.js} +1 -1
  112. package/web/app/immutable/chunks/{2UOzeX2M.js → CXfuXg3I.js} +1 -1
  113. package/web/app/immutable/chunks/{CrskbTlC.js → CXrMqMyA.js} +1 -1
  114. package/web/app/immutable/chunks/{D90jQ3ZZ.js → CZbq2yCl.js} +1 -1
  115. package/web/app/immutable/chunks/{DQHfY0wY.js → C_jLGOhH.js} +1 -1
  116. package/web/app/immutable/chunks/{dRknRrDn.js → CaC6IVGK.js} +1 -1
  117. package/web/app/immutable/chunks/{BPhG_Xtj.js → CaW-fRmu.js} +2 -2
  118. package/web/app/immutable/chunks/{CTX2aXUF.js → Cdke6HGe.js} +1 -1
  119. package/web/app/immutable/chunks/{ChLTaT6L.js → CeJ1IeC2.js} +1 -1
  120. package/web/app/immutable/chunks/{BsZr4pOk.js → CeQqxeYw.js} +1 -1
  121. package/web/app/immutable/chunks/{DyHgOFFg.js → CesSZmjL.js} +1 -1
  122. package/web/app/immutable/chunks/{2j5TR93A.js → CfZC2MEi.js} +1 -1
  123. package/web/app/immutable/chunks/{DnouAZbM.js → Ch1H5x_J.js} +1 -1
  124. package/web/app/immutable/chunks/{B9pexpLt.js → Cj4zs9c7.js} +1 -1
  125. package/web/app/immutable/chunks/{CMqLPRJh.js → CkCqJfhq.js} +1 -1
  126. package/web/app/immutable/chunks/{uDDQZzPe.js → CkfN0rvh.js} +1 -1
  127. package/web/app/immutable/chunks/{HpMdkrj7.js → ClUXFe3K.js} +1 -1
  128. package/web/app/immutable/chunks/{DW_tfZdS.js → CmLKusq1.js} +3 -3
  129. package/web/app/immutable/chunks/{AJN9mSFe.js → CnKV6OJ6.js} +1 -1
  130. package/web/app/immutable/chunks/{C-jm3uXv.js → CnQHIa4H.js} +6 -6
  131. package/web/app/immutable/chunks/{j-Hd81da.js → CnnMkIrL.js} +1 -1
  132. package/web/app/immutable/chunks/{BhfbTmVQ.js → CokmOrrP.js} +1 -1
  133. package/web/app/immutable/chunks/{hYDzZ9as.js → CqJpu93-.js} +1 -1
  134. package/web/app/immutable/chunks/{B-7spAu4.js → CsEnNURD.js} +1 -1
  135. package/web/app/immutable/chunks/{DsRw0NLx.js → CsSJgs0M.js} +2 -2
  136. package/web/app/immutable/chunks/{Q95-G3Tv.js → Csc1-9uJ.js} +1 -1
  137. package/web/app/immutable/chunks/{CVr9pwFM.js → Cscrr3Bj.js} +1 -1
  138. package/web/app/immutable/chunks/{D38Ru3z6.js → Csm7pADB.js} +1 -1
  139. package/web/app/immutable/chunks/{gIgvBwPt.js → CtZ1ayFi.js} +1 -1
  140. package/web/app/immutable/chunks/{82qiqofo.js → Ctd97c_e.js} +1 -1
  141. package/web/app/immutable/chunks/{D9Da4bYx.js → Cu6U4_SW.js} +1 -1
  142. package/web/app/immutable/chunks/{DV6UkZ5a.js → CvEWlZlD.js} +1 -1
  143. package/web/app/immutable/chunks/CvwAJPbw.js +175 -0
  144. package/web/app/immutable/chunks/{6Rt8MvWn.js → Cvz2UPkQ.js} +1 -1
  145. package/web/app/immutable/chunks/{tVfn9CHP.js → Cx_Gtduu.js} +1 -1
  146. package/web/app/immutable/chunks/{CZikPtVV.js → Cy5dtLUp.js} +1 -1
  147. package/web/app/immutable/chunks/{DJZIU3cR.js → Cy_Sd6l-.js} +1 -1
  148. package/web/app/immutable/chunks/{CD3v15Ti.js → CyaBhv0M.js} +1 -1
  149. package/web/app/immutable/chunks/{Dd-BRJYG.js → Cyi8qA9K.js} +1 -1
  150. package/web/app/immutable/chunks/{Br9IA-Ja.js → Czwx3NuT.js} +1 -1
  151. package/web/app/immutable/chunks/{r3MPkSU0.js → D-zBZCIk.js} +1 -1
  152. package/web/app/immutable/chunks/{CpnUYFMu.js → D0vQQfVr.js} +1 -1
  153. package/web/app/immutable/chunks/{_pUPWAkF.js → D2F-bT-3.js} +1 -1
  154. package/web/app/immutable/chunks/{C5DgMO0u.js → D3KzRi1O.js} +3 -3
  155. package/web/app/immutable/chunks/{yJa3kvR1.js → D3wKW8Yy.js} +1 -1
  156. package/web/app/immutable/chunks/{Co0AVCAv.js → D5eIiHgJ.js} +1 -1
  157. package/web/app/immutable/chunks/D5sm9-9m.js +1 -0
  158. package/web/app/immutable/chunks/D9vinIDW.js +1 -0
  159. package/web/app/immutable/chunks/{6vbvyEDW.js → DB72_jij.js} +1 -1
  160. package/web/app/immutable/chunks/{DLueLf8l.js → DBctQLOE.js} +1 -1
  161. package/web/app/immutable/chunks/{DdHsJ0nA.js → DCER3gcM.js} +1 -1
  162. package/web/app/immutable/chunks/DDa1LTyW.js +271 -0
  163. package/web/app/immutable/chunks/{CoJeJSLc.js → DIAJO_LS.js} +1 -1
  164. package/web/app/immutable/chunks/{fKsoycU6.js → DKJ-ClwC.js} +1 -1
  165. package/web/app/immutable/chunks/{B9xm9DK7.js → DMMQmvHP.js} +1 -1
  166. package/web/app/immutable/chunks/{CXnUJFR2.js → DRnZS8vr.js} +1 -1
  167. package/web/app/immutable/chunks/{Bg4RpIu7.js → DSuQ3pnp.js} +1 -1
  168. package/web/app/immutable/chunks/{C4C2GjZ7.js → DYFYZyyQ.js} +1 -1
  169. package/web/app/immutable/chunks/{CqSXeJtk.js → DYpVqbU_.js} +1 -1
  170. package/web/app/immutable/chunks/{CJzNuuJO.js → DZjJzG_y.js} +1 -1
  171. package/web/app/immutable/chunks/{DhZDbKoP.js → Da50wjjU.js} +1 -1
  172. package/web/app/immutable/chunks/{BkDFndY7.js → Da5VtqHi.js} +1 -1
  173. package/web/app/immutable/chunks/{D0UXbQbI.js → DaGonLMu.js} +1 -1
  174. package/web/app/immutable/chunks/{9CybJbHN.js → DczjFzGu.js} +1 -1
  175. package/web/app/immutable/chunks/{BbGlxyDx.js → DghTaRWn.js} +1 -1
  176. package/web/app/immutable/chunks/{UWOPR8uY.js → DjGSED-U.js} +2 -2
  177. package/web/app/immutable/chunks/{DaCSSt4n.js → Dkd8TC3I.js} +1 -1
  178. package/web/app/immutable/chunks/{BKJB_6oY.js → DlnJ95sD.js} +4 -4
  179. package/web/app/immutable/chunks/{WVbSHjXl.js → DmeizJnp.js} +1 -1
  180. package/web/app/immutable/chunks/{BQupMMp-.js → Dp10o7PT.js} +1 -1
  181. package/web/app/immutable/chunks/{DXYkWPe_.js → DrGaWKZY.js} +1 -1
  182. package/web/app/immutable/chunks/Ds24foTJ.js +1 -0
  183. package/web/app/immutable/chunks/Dw9SO8pk.js +324 -0
  184. package/web/app/immutable/chunks/{DCdW5wmG.js → DwfAZy2c.js} +1 -1
  185. package/web/app/immutable/chunks/{CLGCkXvY.js → DwojjmdS.js} +1 -1
  186. package/web/app/immutable/chunks/{daoeIyG_.js → DwsOsy09.js} +1 -1
  187. package/web/app/immutable/chunks/{CiJSzLSf.js → Dz1YFuOh.js} +1 -1
  188. package/web/app/immutable/chunks/{h8IoI-w7.js → DzNB7FSW.js} +1 -1
  189. package/web/app/immutable/chunks/E2zwcBGL.js +1 -0
  190. package/web/app/immutable/chunks/{BWdRpmh3.js → EysdqQlI.js} +1 -1
  191. package/web/app/immutable/chunks/{Cwy3o6zK.js → GsTyZvYk.js} +1 -1
  192. package/web/app/immutable/chunks/{CLSvSGMY.js → HJiWQ3CH.js} +1 -1
  193. package/web/app/immutable/chunks/{E-3i0Fur.js → HSaJqWy-.js} +3 -3
  194. package/web/app/immutable/chunks/{DmYZE-MO.js → IgS40dps.js} +3 -3
  195. package/web/app/immutable/chunks/{4GsjZWx0.js → LnIYdbx4.js} +1 -1
  196. package/web/app/immutable/chunks/{QihShgnK.js → M2l9pCLN.js} +1 -1
  197. package/web/app/immutable/chunks/{DWhtEEhJ.js → McgjWRB8.js} +1 -1
  198. package/web/app/immutable/chunks/{DCPTVyDU.js → NYl-wMGf.js} +21 -21
  199. package/web/app/immutable/chunks/{DBOoSzzw.js → Rv7yxoLs.js} +1 -1
  200. package/web/app/immutable/chunks/{D-b9zJlt.js → SwYsdc6L.js} +1 -1
  201. package/web/app/immutable/chunks/{BcI-R0js.js → TskFxLe9.js} +1 -1
  202. package/web/app/immutable/chunks/{B7ZHl5_Y.js → UoGzAf2x.js} +1 -1
  203. package/web/app/immutable/chunks/{ClgzRlxs.js → Z1oQcFDn.js} +1 -1
  204. package/web/app/immutable/chunks/{D8NOVJ50.js → _1A-m7jq.js} +1 -1
  205. package/web/app/immutable/chunks/{BLyNH-U9.js → a9OghpUZ.js} +1 -1
  206. package/web/app/immutable/chunks/{CLkwa_R_.js → b8R7ytjh.js} +1 -1
  207. package/web/app/immutable/chunks/{Dr41JWYu.js → cHqVrdKP.js} +1 -1
  208. package/web/app/immutable/chunks/{BYevJ1Pj.js → d-ok7Yxa.js} +1 -1
  209. package/web/app/immutable/chunks/de735paS.js +1 -0
  210. package/web/app/immutable/chunks/{DSyGSHPH.js → fcbuovVV.js} +1 -1
  211. package/web/app/immutable/chunks/{CV9PEzoB.js → fsEhp3Sj.js} +1 -1
  212. package/web/app/immutable/chunks/{BS1nq856.js → hr4poPaj.js} +1 -1
  213. package/web/app/immutable/chunks/{DIYS_mcw.js → jnCaD4Bx.js} +1 -1
  214. package/web/app/immutable/chunks/{BL1pyapR.js → kUVtufTg.js} +1 -1
  215. package/web/app/immutable/chunks/{Cti1rV_x.js → kWExXPwX.js} +1 -1
  216. package/web/app/immutable/chunks/{CS74N62e.js → m9sL96bw.js} +1 -1
  217. package/web/app/immutable/chunks/{BX6Kopvz.js → nTZUlaQp.js} +1 -1
  218. package/web/app/immutable/chunks/{CwR0GP6W.js → opTS8jo1.js} +1 -1
  219. package/web/app/immutable/chunks/{DYlSkPA-.js → qj_I7waa.js} +1 -1
  220. package/web/app/immutable/chunks/{CHXEA9Fi.js → r5hLdwbG.js} +4 -4
  221. package/web/app/immutable/chunks/{CnodaVJ0.js → rnl2fV5A.js} +2 -2
  222. package/web/app/immutable/chunks/{Pb7J418u.js → udwlX3ME.js} +1 -1
  223. package/web/app/immutable/chunks/{DNOlba2e.js → vF7or5DB.js} +1 -1
  224. package/web/app/immutable/chunks/{DMKbkua9.js → wJdL3Qov.js} +1 -1
  225. package/web/app/immutable/chunks/wvJp1htg.js +2 -0
  226. package/web/app/immutable/chunks/{Ch8MPJbT.js → yU3kgZB6.js} +1 -1
  227. package/web/app/immutable/chunks/{CIOSdkrK.js → zP47CxCg.js} +1 -1
  228. package/web/app/immutable/chunks/{Uxor6krE.js → zaRHhPuE.js} +2 -2
  229. package/web/app/immutable/chunks/{BW4xwD_u.js → zpc-7Jr1.js} +1 -1
  230. package/web/app/immutable/entry/{app.rwgCwLre.js → app.Co-UnKY3.js} +3 -3
  231. package/web/app/immutable/entry/start.L8HMvb6x.js +1 -0
  232. package/web/app/immutable/nodes/{0.CAiwn7VU.js → 0.DNQpr_j7.js} +1 -1
  233. package/web/app/immutable/nodes/{1.4C-qOEjD.js → 1.hY0sxeHr.js} +1 -1
  234. package/web/app/immutable/nodes/{10.CSnI2pUC.js → 10.FFAOp7ps.js} +1 -1
  235. package/web/app/immutable/nodes/{11.DeNilyai.js → 11.CIaPPQvs.js} +1 -1
  236. package/web/app/immutable/nodes/{12.ySK4H8-2.js → 12.CO3XhA4p.js} +1 -1
  237. package/web/app/immutable/nodes/{13._q8cT7vQ.js → 13.x3qcbpU-.js} +3 -3
  238. package/web/app/immutable/nodes/{14.BVMi0m8a.js → 14.DRR_Z9jI.js} +3 -3
  239. package/web/app/immutable/nodes/{15.DZYm8wgy.js → 15.CQMgeYc5.js} +1 -1
  240. package/web/app/immutable/nodes/{16.2kka0tX2.js → 16.DGSRuzAc.js} +2 -2
  241. package/web/app/immutable/nodes/{2.BOqim1UO.js → 2.BfMkmqW-.js} +4 -4
  242. package/web/app/immutable/nodes/{3.rvoF1b9l.js → 3.DYbcbl8p.js} +1 -1
  243. package/web/app/immutable/nodes/{4.COWGFPUE.js → 4.BtnV0fM4.js} +1 -1
  244. package/web/app/immutable/nodes/{5.ClB4PiMc.js → 5.C4rvV3jr.js} +2 -2
  245. package/web/app/immutable/nodes/{6.B09HHXQ8.js → 6.cOtVQuzJ.js} +1 -1
  246. package/web/app/immutable/nodes/{7.ivApEpSz.js → 7.BS2-LdIc.js} +1 -1
  247. package/web/app/immutable/nodes/{8.BSIvYD1L.js → 8.C3ZiMMw0.js} +12 -12
  248. package/web/app/immutable/nodes/{9.C9K9J_Xm.js → 9.sLOao7gK.js} +5 -5
  249. package/web/app/version.json +1 -1
  250. package/web/generated/paraglide.js +49 -49
  251. package/web/index.html +18 -18
  252. package/web/app/immutable/chunks/B3iaLYr6.js +0 -1
  253. package/web/app/immutable/chunks/BLUkoS8T.js +0 -2
  254. package/web/app/immutable/chunks/CA0a6eNp.js +0 -1
  255. package/web/app/immutable/chunks/CPxyG9KJ.js +0 -271
  256. package/web/app/immutable/chunks/DHNO0898.js +0 -175
  257. package/web/app/immutable/chunks/DMkYHym4.js +0 -324
  258. package/web/app/immutable/chunks/DhLTyNrj.js +0 -1
  259. package/web/app/immutable/chunks/DsAKyTjw.js +0 -4
  260. package/web/app/immutable/chunks/DuQiXW7a.js +0 -1
  261. package/web/app/immutable/chunks/FAATYx56.js +0 -1
  262. package/web/app/immutable/chunks/ye8JXfxU.js +0 -1
  263. package/web/app/immutable/entry/start.CHX_XseY.js +0 -1
@@ -1,4 +1,4 @@
1
- import{c as P}from"./CV9PEzoB.js";import{c as J,f as Q,C as Y,H as y,g as G,b as X,F as Z,S as $,a as K}from"./Cuq9exmb.js";import{D as Oe,d as Ie,e as Le,R as Ne,h as Ee,i as Ue,j as De,t as Be,k as Re}from"./Cuq9exmb.js";import{l as _,g as B}from"./C5DgMO0u.js";const x=120*1e3;class C{constructor(i){this._defaults=i,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>x&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=P({moduleId:"vs/language/json/jsonWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/json.worker-Cgaz53LV.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...i){let t;return this._getClient().then(n=>{t=n}).then(n=>{if(this._worker)return this._worker.withSyncedResources(i)}).then(n=>t)}}function ee(e,i=!1){const t=e.length;let n=0,o="",p=0,l=16,u=0,g=0,w=0,v=0,c=0;function O(s,m){let a=0,r=0;for(;a<s;){let f=e.charCodeAt(n);if(f>=48&&f<=57)r=r*16+f-48;else if(f>=65&&f<=70)r=r*16+f-65+10;else if(f>=97&&f<=102)r=r*16+f-97+10;else break;n++,a++}return a<s&&(r=-1),r}function U(s){n=s,o="",p=0,l=16,c=0}function N(){let s=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&T(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&T(e.charCodeAt(n)))for(n++;n<e.length&&T(e.charCodeAt(n));)n++;else return c=3,e.substring(s,n);let m=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&T(e.charCodeAt(n))){for(n++;n<e.length&&T(e.charCodeAt(n));)n++;m=n}else c=3;return e.substring(s,m)}function q(){let s="",m=n;for(;;){if(n>=t){s+=e.substring(m,n),c=2;break}const a=e.charCodeAt(n);if(a===34){s+=e.substring(m,n),n++;break}if(a===92){if(s+=e.substring(m,n),n++,n>=t){c=2;break}switch(e.charCodeAt(n++)){case 34:s+='"';break;case 92:s+="\\";break;case 47:s+="/";break;case 98:s+="\b";break;case 102:s+="\f";break;case 110:s+=`
1
+ import{c as P}from"./fsEhp3Sj.js";import{c as J,f as Q,C as Y,H as y,g as G,b as X,F as Z,S as $,a as K}from"./62Z5FdlR.js";import{D as Oe,d as Ie,e as Le,R as Ne,h as Ee,i as Ue,j as De,t as Be,k as Re}from"./62Z5FdlR.js";import{l as _,g as B}from"./D3KzRi1O.js";const x=120*1e3;class C{constructor(i){this._defaults=i,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>x&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=P({moduleId:"vs/language/json/jsonWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/json.worker-Cgaz53LV.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...i){let t;return this._getClient().then(n=>{t=n}).then(n=>{if(this._worker)return this._worker.withSyncedResources(i)}).then(n=>t)}}function ee(e,i=!1){const t=e.length;let n=0,o="",p=0,l=16,u=0,g=0,w=0,v=0,c=0;function O(s,m){let a=0,r=0;for(;a<s;){let f=e.charCodeAt(n);if(f>=48&&f<=57)r=r*16+f-48;else if(f>=65&&f<=70)r=r*16+f-65+10;else if(f>=97&&f<=102)r=r*16+f-97+10;else break;n++,a++}return a<s&&(r=-1),r}function U(s){n=s,o="",p=0,l=16,c=0}function N(){let s=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&T(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&T(e.charCodeAt(n)))for(n++;n<e.length&&T(e.charCodeAt(n));)n++;else return c=3,e.substring(s,n);let m=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&T(e.charCodeAt(n))){for(n++;n<e.length&&T(e.charCodeAt(n));)n++;m=n}else c=3;return e.substring(s,m)}function q(){let s="",m=n;for(;;){if(n>=t){s+=e.substring(m,n),c=2;break}const a=e.charCodeAt(n);if(a===34){s+=e.substring(m,n),n++;break}if(a===92){if(s+=e.substring(m,n),n++,n>=t){c=2;break}switch(e.charCodeAt(n++)){case 34:s+='"';break;case 92:s+="\\";break;case 47:s+="/";break;case 98:s+="\b";break;case 102:s+="\f";break;case 110:s+=`
2
2
  `;break;case 114:s+="\r";break;case 116:s+=" ";break;case 117:const f=O(4);f>=0?s+=String.fromCharCode(f):c=4;break;default:c=5}m=n;continue}if(a>=0&&a<=31)if(I(a)){s+=e.substring(m,n),c=2;break}else c=6;n++}return s}function D(){if(o="",c=0,p=n,g=u,v=w,n>=t)return p=t,l=17;let s=e.charCodeAt(n);if(E(s)){do n++,o+=String.fromCharCode(s),s=e.charCodeAt(n);while(E(s));return l=15}if(I(s))return n++,o+=String.fromCharCode(s),s===13&&e.charCodeAt(n)===10&&(n++,o+=`
3
3
  `),u++,w=n,l=14;switch(s){case 123:return n++,l=1;case 125:return n++,l=2;case 91:return n++,l=3;case 93:return n++,l=4;case 58:return n++,l=6;case 44:return n++,l=5;case 34:return n++,o=q(),l=10;case 47:const m=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<t&&!I(e.charCodeAt(n));)n++;return o=e.substring(m,n),l=12}if(e.charCodeAt(n+1)===42){n+=2;const a=t-1;let r=!1;for(;n<a;){const f=e.charCodeAt(n);if(f===42&&e.charCodeAt(n+1)===47){n+=2,r=!0;break}n++,I(f)&&(f===13&&e.charCodeAt(n)===10&&n++,u++,w=n)}return r||(n++,c=1),o=e.substring(m,n),l=13}return o+=String.fromCharCode(s),n++,l=16;case 45:if(o+=String.fromCharCode(s),n++,n===t||!T(e.charCodeAt(n)))return l=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=N(),l=11;default:for(;n<t&&z(s);)n++,s=e.charCodeAt(n);if(p!==n){switch(o=e.substring(p,n),o){case"true":return l=8;case"false":return l=9;case"null":return l=7}return l=16}return o+=String.fromCharCode(s),n++,l=16}}function z(s){if(E(s)||I(s))return!1;switch(s){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function d(){let s;do s=D();while(s>=12&&s<=15);return s}return{setPosition:U,getPosition:()=>n,scan:i?d:D,getToken:()=>l,getTokenValue:()=>o,getTokenOffset:()=>p,getTokenLength:()=>n-p,getTokenStartLine:()=>g,getTokenStartCharacter:()=>p-v,getTokenError:()=>c}}function E(e){return e===32||e===9}function I(e){return e===10||e===13}function T(e){return e>=48&&e<=57}var R;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(R||(R={}));new Array(20).fill(0).map((e,i)=>" ".repeat(i));const A=200;new Array(A).fill(0).map((e,i)=>`
4
4
  `+" ".repeat(i)),new Array(A).fill(0).map((e,i)=>"\r"+" ".repeat(i)),new Array(A).fill(0).map((e,i)=>`\r
@@ -1,2 +1,2 @@
1
- import{t as ht,bq as m,bo as g,a_ as p,by as bt,b as xt}from"./B3iaLYr6.js";import{bs as yt,a7 as kt,ay as Q,W as u,bn as At,aA as h,a5 as F,bS as f,bl as S,bA as W,aD as e,b_ as H,bO as x,aB as k,bH as et,c9 as y,bV as at,be as wt,b$ as Ct}from"./DYhIMPy1.js";import{I as It,h as Bt}from"./DEmaG7Ya.js";import{H as Pt,C as zt}from"./6Rt8MvWn.js";import{f as M}from"./CpELl9t1.js";import"./hUiIfi2t.js";import{F as rt,ca as Rt,cl as St,at as Wt}from"./dUOQ5AaY.js";import{e as Ht}from"./DsAKyTjw.js";import{D as Dt}from"./BsZr4pOk.js";import{Hp as Lt,ts as $t}from"./h8IoI-w7.js";import{g as Nt}from"./Uxor6krE.js";var qt=k('<span class="type-caption shrink-0 font-medium text-success"> </span>'),Ft=k('<!> <span class="type-body flex-1 truncate text-left font-medium text-foreground"> </span> <span class="type-caption shrink-0 tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span> <!>',1),Mt=k("<!> ",1),Ot=k('<div class="mb-2 flex gap-1"></div>'),Vt=k('<div class="border-t border-border p-2"><!> <!></div>'),jt=k('<div class="ws-block-widget type-body my-2 overflow-hidden rounded-md border border-border bg-card text-foreground shadow-(--elevation-raised)"><div class="flex min-h-9 items-center gap-2 px-3 py-1.5"><!> <!> <!></div> <!></div>'),Et=k('<div class="ws-block-widget type-caption my-2 text-muted-foreground"> </div>');function Tt(U,n){if(new.target)return ht({component:Tt,...U});yt(n,!0);let A=m(n,"patches",7),O=m(n,"label",23,()=>g.ui_patchBlock_label()),V=m(n,"lastApply",7),w=m(n,"linkedAgentId",7),D=m(n,"workspaceId",7),P=m(n,"applying",7,!1),L=m(n,"onApply",7),$=m(n,"onRevert",7),j=at(!1),E=at(0),z=y(()=>A()?.[e(E)]),T=y(()=>V()?.status==="success");function st(t){const o=t.split(`
1
+ import{t as ht,bq as m,bo as g,a_ as p,by as bt,b as xt}from"./E2zwcBGL.js";import{bs as yt,a7 as kt,ay as Q,W as u,bn as At,aA as h,a5 as F,bS as f,bl as S,bA as W,aD as e,b_ as H,bO as x,aB as k,bH as et,c9 as y,bV as at,be as wt,b$ as Ct}from"./DYhIMPy1.js";import{I as It,h as Bt}from"./8mzXJxUW.js";import{H as Pt,C as zt}from"./Cvz2UPkQ.js";import{f as M}from"./AXIAXE42.js";import"./BTNnUZgK.js";import{F as rt,ca as Rt,cl as St,at as Wt}from"./C8iHXc33.js";import{e as Ht}from"./BaBfwkQ0.js";import{D as Dt}from"./CeQqxeYw.js";import{Hp as Lt,ts as $t}from"./DzNB7FSW.js";import{g as Nt}from"./zaRHhPuE.js";var qt=k('<span class="type-caption shrink-0 font-medium text-success"> </span>'),Ft=k('<!> <span class="type-body flex-1 truncate text-left font-medium text-foreground"> </span> <span class="type-caption shrink-0 tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span> <!>',1),Mt=k("<!> ",1),Ot=k('<div class="mb-2 flex gap-1"></div>'),Vt=k('<div class="border-t border-border p-2"><!> <!></div>'),jt=k('<div class="ws-block-widget type-body my-2 overflow-hidden rounded-md border border-border bg-card text-foreground shadow-(--elevation-raised)"><div class="flex min-h-9 items-center gap-2 px-3 py-1.5"><!> <!> <!></div> <!></div>'),Et=k('<div class="ws-block-widget type-caption my-2 text-muted-foreground"> </div>');function Tt(U,n){if(new.target)return ht({component:Tt,...U});yt(n,!0);let A=m(n,"patches",7),O=m(n,"label",23,()=>g.ui_patchBlock_label()),V=m(n,"lastApply",7),w=m(n,"linkedAgentId",7),D=m(n,"workspaceId",7),P=m(n,"applying",7,!1),L=m(n,"onApply",7),$=m(n,"onRevert",7),j=at(!1),E=at(0),z=y(()=>A()?.[e(E)]),T=y(()=>V()?.status==="success");function st(t){const o=t.split(`
2
2
  `);let v=0,b=0;for(const C of o)C.startsWith("+")&&!C.startsWith("+++")?v++:C.startsWith("-")&&!C.startsWith("---")&&b++;return{addCount:v,removeCount:b}}let X=y(()=>e(z)?st(e(z).diff):{addCount:0,removeCount:0}),G=y(()=>P()?{label:g.ui_patchBlock_applying_label(),icon:null}:e(T)?{label:g.ui_patchBlock_revert_label(),icon:St}:{label:g.ui_patchBlock_apply_label(),icon:Wt}),nt=y(()=>!!(L()||$()));function ot(){et(j,!e(j))}function lt(){e(T)?$()?.():L()?.()}var it={get patches(){return A()},set patches(t){A(t),h()},get label(){return O()},set label(t=g.ui_patchBlock_label()){O(t),h()},get lastApply(){return V()},set lastApply(t){V(t),h()},get linkedAgentId(){return w()},set linkedAgentId(t){w(t),h()},get workspaceId(){return D()},set workspaceId(t){D(t),h()},get applying(){return P()},set applying(t=!1){P(t),h()},get onApply(){return L()},set onApply(t){L(t),h()},get onRevert(){return $()},set onRevert(t){$(t),h()},$set:bt,$on:(t,o)=>xt(n,t,o)},Y=kt(),ct=Q(Y);{var dt=t=>{var o=jt(),v=F(o),b=F(v);{var C=a=>{{let c=y(()=>g.ui_patchBlock_viewAgent_tooltip());M(a,{variant:"plain",size:"icon-compact",iconOnly:!0,class:"size-4! shrink-0 rounded-sm! transition-opacity hover:opacity-80",onclick:l=>{D()&&Lt.dispatch($t(D(),{agentId:w(),...Nt(l)}))},get title(){return e(c)},children:(l,_)=>{Ht(l,{get agentId(){return w()},variant:"compact"})},$$slots:{default:!0}})}};p(b,a=>{w()&&a(C)})}var Z=f(b,2);M(Z,{variant:"plain",size:"compact",class:"h-auto! min-w-0 flex-1 shrink items-center justify-start gap-2 px-0! py-0! text-muted-foreground transition-colors hover:text-foreground",truncateLabel:!1,labelClass:"flex min-w-0 flex-1 items-center gap-2",onclick:ot,children:(a,c)=>{var l=Ft(),_=Q(l);{var I=i=>{rt(i,{get icon(){return Rt},size:10,class:"text-muted-foreground"})};p(_,i=>{w()||i(I)})}var B=f(_,2),s=S(B,!0),d=f(B,2),r=F(d),R=S(r),N=f(r,2),J=S(N);W(d);var K=f(d,2);{var tt=i=>{var q=qt(),mt=S(q,!0);H(gt=>x(mt,gt),[()=>g.ui_patchBlock_applied_label()]),u(i,q)};p(K,i=>{e(T)&&i(tt)})}H(()=>{x(s,O()),x(R,`+${e(X).addCount??""}`),x(J,`-${e(X).removeCount??""}`)}),u(a,l)},$$slots:{default:!0}});var ut=f(Z,2);{var ft=a=>{M(a,{variant:"ghost-light",size:"sm",class:"type-caption shrink-0",onclick:lt,get disabled(){return P()},children:(c,l)=>{var _=Mt(),I=Q(_);{var B=r=>{It(r,{size:12})},s=r=>{rt(r,{get icon(){return e(G).icon},size:"xs"})};p(I,r=>{P()?r(B):e(G).icon&&r(s,1)})}var d=f(I);H(()=>x(d,` ${e(G).label??""}`)),u(c,_)},$$slots:{default:!0}})};p(ut,a=>{e(nt)&&a(ft)})}W(v);var vt=f(v,2);{var _t=a=>{var c=Vt(),l=F(c);{var _=s=>{var d=Ot();Bt(d,23,A,(r,R)=>`patch-${R}-${r.filePath}`,(r,R,N)=>{{let J=y(()=>e(N)===e(E)?"default":"ghost-light");M(r,{get variant(){return e(J)},size:"sm",class:"type-caption",onclick:()=>et(E,e(N),!0),children:(K,tt)=>{wt();var i=Ct();H(q=>x(i,q),[()=>e(R).filePath.split("/").pop()]),u(K,i)},$$slots:{default:!0}})}}),W(d),u(s,d)};p(l,s=>{A().length>1&&s(_)})}var I=f(l,2);{var B=s=>{Dt(s,{get patch(){return e(z).diff},get fileName(){return e(z).filePath},showHeader:!0,showStats:!0,showLineNumbers:!0,maxHeight:"300px",collapsible:!1,class:"overflow-hidden rounded-sm border border-border"})};p(I,s=>{e(z)&&s(B)})}W(c),Pt(3,c,()=>zt,()=>({tier:"moderate"})),u(a,c)};p(vt,a=>{e(j)&&a(_t)})}W(o),u(t,o)},pt=t=>{var o=Et(),v=S(o,!0);H(b=>x(v,b),[()=>g.ui_patchBlock_invalid_error()]),u(t,o)};p(ct,t=>{A()?.length?t(dt):t(pt,-1)})}return u(U,Y),At(it)}export{Tt as P};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BP6KtsDA.js","/app/immutable/chunks/h8IoI-w7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/hUiIfi2t.js","/app/immutable/chunks/B3iaLYr6.js","/app/immutable/chunks/CBRfvExq.js","/app/immutable/chunks/Dr41JWYu.js","/app/immutable/chunks/ChLTaT6L.js"])))=>i.map(i=>d[i]);
2
- import{t as Kt,bq as Y,a_ as T,by as Nt,bu as D,bs as Qt,b as Gt,bo as i,_ as Jt}from"./B3iaLYr6.js";import{bs as Yt,ca as A,bH as H,c5 as ft,aD as Z,bj as Zt,a5 as C,bS as p,bA as F,b_ as y,W as h,bn as te,cd as tt,bV as _t,c9 as ee,aA as et,bl as E,bO as k,ay as vt,aB as w}from"./DYhIMPy1.js";import{k as xt,l as re}from"./DEmaG7Ya.js";import{b as se}from"./BaIAhI85.js";import{b as ae}from"./4xlJdO9z.js";import{Hp as u,Bg as ne,B6 as ie,B5 as oe,Hj as le,AT as ce,ib as ue,iC as de}from"./h8IoI-w7.js";import{a as pe,T as me,D as fe,L as _e,o as ve}from"./BTxL9if-.js";import{F as rt,c_ as xe,c7 as ge,cW as he}from"./dUOQ5AaY.js";import{f as gt}from"./CpELl9t1.js";import{n as N}from"./DYlSkPA-.js";import"./hUiIfi2t.js";import"./ChTqQfQN.js";import"./D0UrvUQM.js";import{r as be}from"./DbrsPlQk.js";import{selectScriptById as st,selectScriptRuntime as ye,selectScriptOutput as ht,selectScriptRetainedOutput as ke,selectCanDeleteScript as bt}from"./6vbvyEDW.js";import{g as we}from"./DGvAL7MJ.js";import{bQ as Se,dH as $e,di as yt}from"./Cti1rV_x.js";import"./BA8g-07b.js";import"./DLueLf8l.js";import"./BMMcARVk.js";import{c as Ae}from"./_pUPWAkF.js";import{E as kt}from"./BLUkoS8T.js";var wt=w("<!> ",1),Ce=w('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Fe=w('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Oe=w('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Le=w('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Re=w('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Ie=w('<code class="text-muted-foreground font-mono text-xs"> </code>'),Be=w('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),Te=w('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function De(_,m){if(new.target)return Kt({component:De,..._});Yt(m,!0);const U=()=>D(It,"$outputAuthority",O),o=()=>D(Ct,"$runtime$",O),v=()=>D(Ft,"$output$",O),q=()=>D(Rt,"$codeFontFamilyCSS",O),f=()=>D(Ot,"$retainedOutput$",O),St=()=>D(Lt,"$hidesAgentLifecycleActions$",O),at=()=>D(At,"$script$",O),[O,$t]=Qt();let S=Y(m,"scriptId",7),x=Y(m,"workspaceId",7),Q=Y(m,"class",7,"");const L=tt(""),j=tt(""),nt=tt("");let G=_t(!1);A(()=>L.set(x())),A(()=>j.set(S()));let R,n=null,M=null,V=null,P=null,I=null,z=null;const At=st(L,j),Ct=ye(L,j),Ft=ht(L,j),Ot=ke(L,j,nt),Lt=Se(L),Rt=we(),It=$e(L),it=crypto.randomUUID();A(()=>{const t=x();return S(),()=>{t&&u.dispatch(ne(t,it))}}),A(()=>{const t=x(),e=S(),s=U(),r=o();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),H(G,ft(()=>v().chunks.length===0),!0),u.dispatch(ie(t,e,l)),()=>u.dispatch(oe(t,e,l))});let X=_t(0);const Bt=ee(()=>o().status==="exited"&&o().exitCode!=null&&o().exitCode!==0&&o().exitCode<128);function Tt(){if(!R||n)return;P=new me(R);const t=P.getCurrentTheme();n=new fe({allowProposedApi:!0,fontFamily:q(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new ve,n.loadAddon(M);const e=new _e((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?be(r).then(b=>{Jt(async()=>{const{getPanelLayoutManager:c}=await import("./BP6KtsDA.js").then(g=>g.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(x()).openBrowserPanel(b.url,void 0,void 0,b.requestedUrl)}).catch(()=>{window.open(b.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(R),P.applyTheme(n),z=requestAnimationFrame(()=>{z=null,M?.fit()}),V=new ResizeObserver(()=>{M?.fit()}),V.observe(R),Dt()}function Dt(){if(!n)return;const t=ht.select(u.state,x(),S());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),H(X,t.dropped+t.chunks.length)}function ot(){I!==null&&(cancelAnimationFrame(I),I=null),z!==null&&(cancelAnimationFrame(z),z=null),V?.disconnect(),V=null,P?.dispose(),P=null;const t=n;n=null,M=null,H(X,0),t&&pe(t)}A(()=>{const t=v(),e=ft(()=>Z(X)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),H(X,s)}),A(()=>{const t=q();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Et(){u.dispatch(le(x(),S()))}function qt(){if(!x()){N.error(i.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ue(x(),S(),f()?.text,it))}A(()=>{o().status==="idle"&&v().chunks.length===0&&ot()}),A(()=>{!(o().status==="idle"&&v().chunks.length===0)&&R&&!n&&(I!==null&&cancelAnimationFrame(I),I=requestAnimationFrame(()=>{I=null,Tt()}))}),Zt(()=>{ot()});var Wt={get scriptId(){return S()},set scriptId(t){S(t),et()},get workspaceId(){return x()},set workspaceId(t){x(t),et()},get class(){return Q()},set class(t=""){Q(t),et()},$set:Nt,$on:(t,e)=>Gt(m,t,e)},K=Te(),lt=C(K);{var jt=t=>{var e=Ce(),s=C(e),r=C(s),l=C(r);rt(l,{get icon(){return xe},size:"xs"}),F(r);var b=p(r,2),c=E(b,!0);F(s);var g=p(s,2);{var $=a=>{gt(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:qt,children:(d,B)=>{var W=wt(),mt=vt(W);rt(mt,{get icon(){return he},size:"sm",class:"mr-1.5"});var Vt=p(mt);y(Xt=>k(Vt,` ${Xt??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),h(d,W)},$$slots:{default:!0}})};T(g,a=>{St()||a($)})}F(e),y(a=>k(c,a),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:o().exitCode??0})]),h(t,e)};T(lt,t=>{Z(Bt)&&t(jt)})}var ct=p(lt,2);{var Mt=t=>{var e=Le(),s=C(e),r=E(s,!0),l=p(s,2),b=E(l,!0),c=p(l,2);{var g=a=>{var d=Fe();let B;var W=E(d,!0);y(()=>{B=re(d,"",B,{"font-family":q()}),k(W,f().text)}),h(a,d)},$=a=>{var d=Oe(),B=E(d,!0);y(W=>k(B,W),[()=>f().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),h(a,d)};T(c,a=>{f().status==="available"?a(g):a($,-1)})}F(e),y((a,d)=>{k(r,a),k(b,d)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),ae("open","toggle",e,a=>H(G,a),()=>Z(G)),h(t,e)};T(ct,t=>{f()&&t(Mt)})}var ut=p(ct,2);{var Pt=t=>{var e=Re(),s=E(e,!0);y(r=>k(s,r),[()=>i.terminal_scriptOutput_live_label()]),h(t,e)};T(ut,t=>{v().chunks.length>0&&f()&&t(Pt)})}var dt=p(ut,2);{var zt=t=>{var e=Be(),s=C(e),r=p(C(s),2);{var l=c=>{var g=Ie(),$=E(g,!0);y(a=>k($,a),[()=>ce(at())]),h(c,g)};T(r,c=>{at()&&c(l)})}var b=p(r,2);gt(b,{variant:"ghost",size:"xs",onclick:Et,class:"text-muted-foreground hover:text-foreground",children:(c,g)=>{var $=wt(),a=vt($);rt(a,{get icon(){return ge},class:"h-3 w-3 mr-1"});var d=p(a);y(B=>k(d,` ${B??""}`),[()=>i.terminal_scriptOutput_run_label()]),h(c,$)},$$slots:{default:!0}}),F(s),F(e),h(t,e)};T(dt,t=>{o().status==="idle"&&v().chunks.length===0&&t(zt)})}var J=p(dt,2);let pt;var Ht=C(J);se(Ht,t=>R=t,()=>R),F(J),F(K),y(()=>{xt(K,1,`script-output-viewer ${Q()??""}`,"svelte-115p4sl"),pt=xt(J,1,"flex-1 relative overflow-hidden",null,pt,{hidden:o().status==="idle"&&v().chunks.length===0})}),h(_,K);var Ut=te(Wt);return $t(),Ut}async function ar(_,m,U){const o=st.select(u.state,_,m);if(!o||!U()||!bt.select(u.state,_,m))return;const v=kt(o.runtime?.status),q=yt.select(u.state,_);if(!q){N.error(i.workspace_client_accessChanged_error());return}if(!await Ae({title:i.scripts_delete_title({name:o.name}),description:v?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(q!==yt.select(u.state,_)){N.error(i.workspace_client_accessChanged_error());return}const f=st.select(u.state,_,m);if(!U()||!f||f.createdAt!==o.createdAt||f.name!==o.name||!v&&kt(f.runtime?.status)||!bt.select(u.state,_,m)){N.error(i.scripts_delete_changed_error());return}u.dispatch(de(_,m,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{De as S,ar as c};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BxgdFxC5.js","/app/immutable/chunks/DzNB7FSW.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/BTNnUZgK.js","/app/immutable/chunks/E2zwcBGL.js","/app/immutable/chunks/BqUqwkFB.js","/app/immutable/chunks/cHqVrdKP.js","/app/immutable/chunks/CeJ1IeC2.js"])))=>i.map(i=>d[i]);
2
+ import{t as Kt,bq as Y,a_ as T,by as Nt,bu as D,bs as Qt,b as Gt,bo as i,_ as Jt}from"./E2zwcBGL.js";import{bs as Yt,ca as A,bH as z,c5 as ft,aD as Z,bj as Zt,a5 as C,bS as p,bA as F,b_ as y,W as h,bn as te,cd as tt,bV as _t,c9 as ee,aA as et,bl as q,bO as k,ay as vt,aB as w}from"./DYhIMPy1.js";import{k as xt,l as re}from"./8mzXJxUW.js";import{b as se}from"./BaIAhI85.js";import{b as ae}from"./4xlJdO9z.js";import{Hp as u,Bg as ne,B6 as ie,B5 as oe,Hj as le,AT as ce,ib as ue,iC as de}from"./DzNB7FSW.js";import{a as pe,T as me,D as fe,L as _e,o as ve}from"./BnY3EDnN.js";import{F as rt,c_ as xe,c7 as ge,cW as he}from"./C8iHXc33.js";import{f as gt}from"./AXIAXE42.js";import{n as N}from"./qj_I7waa.js";import"./BTNnUZgK.js";import"./ChTqQfQN.js";import"./C0GDF9vt.js";import{r as be}from"./BhFD9JDw.js";import{selectScriptById as st,selectScriptRuntime as ye,selectScriptOutput as ht,selectScriptRetainedOutput as ke,selectCanDeleteScript as bt}from"./DB72_jij.js";import{g as we}from"./BuNSu9iM.js";import{bQ as Se,dH as $e,di as yt}from"./kWExXPwX.js";import"./6TqymR4w.js";import"./DBctQLOE.js";import"./C9I4tasT.js";import{c as Ae}from"./D2F-bT-3.js";import{H as kt}from"./wvJp1htg.js";var wt=w("<!> ",1),Ce=w('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Fe=w('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Oe=w('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Le=w('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Re=w('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Ie=w('<code class="text-muted-foreground font-mono text-xs"> </code>'),Be=w('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),Te=w('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function De(_,m){if(new.target)return Kt({component:De,..._});Yt(m,!0);const U=()=>D(It,"$outputAuthority",O),o=()=>D(Ct,"$runtime$",O),v=()=>D(Ft,"$output$",O),E=()=>D(Rt,"$codeFontFamilyCSS",O),f=()=>D(Ot,"$retainedOutput$",O),St=()=>D(Lt,"$hidesAgentLifecycleActions$",O),at=()=>D(At,"$script$",O),[O,$t]=Qt();let S=Y(m,"scriptId",7),x=Y(m,"workspaceId",7),Q=Y(m,"class",7,"");const L=tt(""),j=tt(""),nt=tt("");let G=_t(!1);A(()=>L.set(x())),A(()=>j.set(S()));let R,n=null,H=null,V=null,M=null,I=null,P=null;const At=st(L,j),Ct=ye(L,j),Ft=ht(L,j),Ot=ke(L,j,nt),Lt=Se(L),Rt=we(),It=$e(L),it=crypto.randomUUID();A(()=>{const t=x();return S(),()=>{t&&u.dispatch(ne(t,it))}}),A(()=>{const t=x(),e=S(),s=U(),r=o();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),z(G,ft(()=>v().chunks.length===0),!0),u.dispatch(ie(t,e,l)),()=>u.dispatch(oe(t,e,l))});let X=_t(0);const Bt=ee(()=>o().status==="exited"&&o().exitCode!=null&&o().exitCode!==0&&o().exitCode<128);function Tt(){if(!R||n)return;M=new me(R);const t=M.getCurrentTheme();n=new fe({allowProposedApi:!0,fontFamily:E(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),H=new ve,n.loadAddon(H);const e=new _e((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?be(r).then(b=>{Jt(async()=>{const{getPanelLayoutManager:c}=await import("./BxgdFxC5.js").then(g=>g.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(x()).openBrowserPanel(b.url,void 0,void 0,b.requestedUrl)}).catch(()=>{window.open(b.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(R),M.applyTheme(n),P=requestAnimationFrame(()=>{P=null,H?.fit()}),V=new ResizeObserver(()=>{H?.fit()}),V.observe(R),Dt()}function Dt(){if(!n)return;const t=ht.select(u.state,x(),S());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),z(X,t.dropped+t.chunks.length)}function ot(){I!==null&&(cancelAnimationFrame(I),I=null),P!==null&&(cancelAnimationFrame(P),P=null),V?.disconnect(),V=null,M?.dispose(),M=null;const t=n;n=null,H=null,z(X,0),t&&pe(t)}A(()=>{const t=v(),e=ft(()=>Z(X)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),z(X,s)}),A(()=>{const t=E();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function qt(){u.dispatch(le(x(),S()))}function Et(){if(!x()){N.error(i.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ue(x(),S(),f()?.text,it))}A(()=>{o().status==="idle"&&v().chunks.length===0&&ot()}),A(()=>{!(o().status==="idle"&&v().chunks.length===0)&&R&&!n&&(I!==null&&cancelAnimationFrame(I),I=requestAnimationFrame(()=>{I=null,Tt()}))}),Zt(()=>{ot()});var Wt={get scriptId(){return S()},set scriptId(t){S(t),et()},get workspaceId(){return x()},set workspaceId(t){x(t),et()},get class(){return Q()},set class(t=""){Q(t),et()},$set:Nt,$on:(t,e)=>Gt(m,t,e)},K=Te(),lt=C(K);{var jt=t=>{var e=Ce(),s=C(e),r=C(s),l=C(r);rt(l,{get icon(){return xe},size:"xs"}),F(r);var b=p(r,2),c=q(b,!0);F(s);var g=p(s,2);{var $=a=>{gt(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Et,children:(d,B)=>{var W=wt(),mt=vt(W);rt(mt,{get icon(){return he},size:"sm",class:"mr-1.5"});var Vt=p(mt);y(Xt=>k(Vt,` ${Xt??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),h(d,W)},$$slots:{default:!0}})};T(g,a=>{St()||a($)})}F(e),y(a=>k(c,a),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:o().exitCode??0})]),h(t,e)};T(lt,t=>{Z(Bt)&&t(jt)})}var ct=p(lt,2);{var Ht=t=>{var e=Le(),s=C(e),r=q(s,!0),l=p(s,2),b=q(l,!0),c=p(l,2);{var g=a=>{var d=Fe();let B;var W=q(d,!0);y(()=>{B=re(d,"",B,{"font-family":E()}),k(W,f().text)}),h(a,d)},$=a=>{var d=Oe(),B=q(d,!0);y(W=>k(B,W),[()=>f().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),h(a,d)};T(c,a=>{f().status==="available"?a(g):a($,-1)})}F(e),y((a,d)=>{k(r,a),k(b,d)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),ae("open","toggle",e,a=>z(G,a),()=>Z(G)),h(t,e)};T(ct,t=>{f()&&t(Ht)})}var ut=p(ct,2);{var Mt=t=>{var e=Re(),s=q(e,!0);y(r=>k(s,r),[()=>i.terminal_scriptOutput_live_label()]),h(t,e)};T(ut,t=>{v().chunks.length>0&&f()&&t(Mt)})}var dt=p(ut,2);{var Pt=t=>{var e=Be(),s=C(e),r=p(C(s),2);{var l=c=>{var g=Ie(),$=q(g,!0);y(a=>k($,a),[()=>ce(at())]),h(c,g)};T(r,c=>{at()&&c(l)})}var b=p(r,2);gt(b,{variant:"ghost",size:"xs",onclick:qt,class:"text-muted-foreground hover:text-foreground",children:(c,g)=>{var $=wt(),a=vt($);rt(a,{get icon(){return ge},class:"h-3 w-3 mr-1"});var d=p(a);y(B=>k(d,` ${B??""}`),[()=>i.terminal_scriptOutput_run_label()]),h(c,$)},$$slots:{default:!0}}),F(s),F(e),h(t,e)};T(dt,t=>{o().status==="idle"&&v().chunks.length===0&&t(Pt)})}var J=p(dt,2);let pt;var zt=C(J);se(zt,t=>R=t,()=>R),F(J),F(K),y(()=>{xt(K,1,`script-output-viewer ${Q()??""}`,"svelte-115p4sl"),pt=xt(J,1,"flex-1 relative overflow-hidden",null,pt,{hidden:o().status==="idle"&&v().chunks.length===0})}),h(_,K);var Ut=te(Wt);return $t(),Ut}async function ar(_,m,U){const o=st.select(u.state,_,m);if(!o||!U()||!bt.select(u.state,_,m))return;const v=kt(o.runtime?.status),E=yt.select(u.state,_);if(!E){N.error(i.workspace_client_accessChanged_error());return}if(!await Ae({title:i.scripts_delete_title({name:o.name}),description:v?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(E!==yt.select(u.state,_)){N.error(i.workspace_client_accessChanged_error());return}const f=st.select(u.state,_,m);if(!U()||!f||f.createdAt!==o.createdAt||f.name!==o.name||!v&&kt(f.runtime?.status)||!bt.select(u.state,_,m)){N.error(i.scripts_delete_changed_error());return}u.dispatch(de(_,m,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{De as S,ar as c};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CMqLPRJh.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/CMMABWQi.js","/app/immutable/chunks/B3iaLYr6.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/h8IoI-w7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/hUiIfi2t.js","/app/immutable/chunks/CBRfvExq.js","/app/immutable/chunks/CpELl9t1.js","/app/immutable/chunks/DEmaG7Ya.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/Dj42fWMH.js","/app/immutable/chunks/B9pexpLt.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CtO7SsM-.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/ChLTaT6L.js","/app/immutable/chunks/Cti1rV_x.js","/app/immutable/chunks/dUOQ5AaY.js","/app/immutable/chunks/DGvAL7MJ.js","/app/immutable/chunks/6Rt8MvWn.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DsRw0NLx.js","/app/immutable/chunks/DXYkWPe_.js"])))=>i.map(i=>d[i]);
2
- import{bo as c,_ as p}from"./B3iaLYr6.js";import{n as I}from"./DYlSkPA-.js";import"./DYhIMPy1.js";import"./DEmaG7Ya.js";import"./hUiIfi2t.js";import{bx as A}from"./CpELl9t1.js";import"./ChTqQfQN.js";import"./D0UrvUQM.js";import{g as L,Hp as d,u8 as g,ua as y}from"./h8IoI-w7.js";import{$ as R}from"./Cti1rV_x.js";import{l as v}from"./Dr41JWYu.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function H(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,w;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=h(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=h(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),m=A(E+l);return i=h(m.path.split("/")),w=m.line,W(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...w!==void 0?{line:w}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function h(e){return e.map(r=>decodeURIComponent(r)).join("/")}function W(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=H(e);if(!t.valid)return I.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./CMqLPRJh.js");return{openMessage:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]),import.meta.url);await n({workspaceId:t.workspaceId,agentId:t.agentId,messageId:t.resourceId});break}default:I.error(c.ui_linkHandler_unsupportedLink_title(),{description:c.ui_linkHandler_unsupportedLink_description({type:t.type})})}}catch(n){n instanceof u?I.error(c.ui_linkHandler_notFound_title(),{description:n.message}):I.error(c.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:c.ui_linkHandler_unknownError_label()})}return!0}function G(e,r){return R(e,r)}function B(){return async(e,r,t)=>{const a=t.target.closest("a");return a?.href?.startsWith("intent://")?(t.preventDefault(),await T(a.href)):!1}}async function C(e){const{appClient:r}=await p(async()=>{const{appClient:a}=await import("./CMMABWQi.js").then(o=>o.Z);return{appClient:a}},__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,2,21,22,23]),import.meta.url);if(!await r.workspaces.get(e).catch(()=>null))throw new u(c.workspace_loader_notFound_title());const{openAndShowWorkspace:n}=await p(async()=>{const{openAndShowWorkspace:a}=await import("./DXYkWPe_.js").then(o=>o.s);return{openAndShowWorkspace:a}},__vite__mapDeps([30,7,5,6,8,9,10,11,12,4,13,29]),import.meta.url);await n(e)}async function N(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const a=!t||e.workspaceId!==t;if(!await P(e.workspaceId,e.resourceId))throw new u(c.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:e.workspaceId}));if(a){const{openAndShowWorkspace:s}=await p(async()=>{const{openAndShowWorkspace:i}=await import("./DXYkWPe_.js").then(_=>_.s);return{openAndShowWorkspace:i}},__vite__mapDeps([30,7,5,6,8,9,10,11,12,4,13,29]),import.meta.url);await s(e.workspaceId,{query:{note:e.resourceId}})}else d.dispatch(y(e.workspaceId,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());if(!await P(t,e.resourceId))throw new u(c.ui_linkHandler_noteNotFoundCurrent_error({noteId:e.resourceId}));d.dispatch(y(t,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function b(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const n=!t||e.workspaceId!==t;if(n){const{openAndShowWorkspace:a}=await p(async()=>{const{openAndShowWorkspace:o}=await import("./DXYkWPe_.js").then(s=>s.s);return{openAndShowWorkspace:o}},__vite__mapDeps([30,7,5,6,8,9,10,11,12,4,13,29]),import.meta.url);if(!await a(e.workspaceId))return}d.dispatch(g(e.workspaceId,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:n?!1:r.openInAdjacentPanel??!1,sourcePanelId:n?void 0:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());d.dispatch(g(t,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:r.openInAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function P(e,r){try{const{backendRequest:t}=await p(async()=>{const{backendRequest:o}=await import("./CpELl9t1.js").then(s=>s.az);return{backendRequest:o}},__vite__mapDeps([14,4,5,12,15,11,16,17,18,13,19,10,20]),import.meta.url),n=await t("note.get",{workspaceId:e,noteId:r}),a=n&&typeof n=="object"&&"note"in n?n.note:n;return a!=null&&typeof a=="object"}catch{return!1}}export{u as NotFoundError,B as createIntentLinkClickHandler,G as generateNoteLink,T as handleIntentLink,H as parseIntentLink};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CkCqJfhq.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/BiLRO_7d.js","/app/immutable/chunks/E2zwcBGL.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/DzNB7FSW.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/BTNnUZgK.js","/app/immutable/chunks/BqUqwkFB.js","/app/immutable/chunks/AXIAXE42.js","/app/immutable/chunks/8mzXJxUW.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/BAm6Imyt.js","/app/immutable/chunks/Cj4zs9c7.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BEZid-wN.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CeJ1IeC2.js","/app/immutable/chunks/kWExXPwX.js","/app/immutable/chunks/C8iHXc33.js","/app/immutable/chunks/BuNSu9iM.js","/app/immutable/chunks/Cvz2UPkQ.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CsSJgs0M.js","/app/immutable/chunks/DrGaWKZY.js"])))=>i.map(i=>d[i]);
2
+ import{bo as c,_ as p}from"./E2zwcBGL.js";import{n as I}from"./qj_I7waa.js";import"./DYhIMPy1.js";import"./8mzXJxUW.js";import"./BTNnUZgK.js";import{bx as A}from"./AXIAXE42.js";import"./ChTqQfQN.js";import"./C0GDF9vt.js";import{g as L,Hp as d,u8 as g,ua as y}from"./DzNB7FSW.js";import{$ as R}from"./kWExXPwX.js";import{l as v}from"./cHqVrdKP.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function H(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,w;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=h(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=h(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),m=A(E+l);return i=h(m.path.split("/")),w=m.line,W(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...w!==void 0?{line:w}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function h(e){return e.map(r=>decodeURIComponent(r)).join("/")}function W(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=H(e);if(!t.valid)return I.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./CkCqJfhq.js");return{openMessage:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30]),import.meta.url);await n({workspaceId:t.workspaceId,agentId:t.agentId,messageId:t.resourceId});break}default:I.error(c.ui_linkHandler_unsupportedLink_title(),{description:c.ui_linkHandler_unsupportedLink_description({type:t.type})})}}catch(n){n instanceof u?I.error(c.ui_linkHandler_notFound_title(),{description:n.message}):I.error(c.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:c.ui_linkHandler_unknownError_label()})}return!0}function G(e,r){return R(e,r)}function B(){return async(e,r,t)=>{const a=t.target.closest("a");return a?.href?.startsWith("intent://")?(t.preventDefault(),await T(a.href)):!1}}async function C(e){const{appClient:r}=await p(async()=>{const{appClient:a}=await import("./BiLRO_7d.js").then(o=>o.Z);return{appClient:a}},__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,2,21,22,23]),import.meta.url);if(!await r.workspaces.get(e).catch(()=>null))throw new u(c.workspace_loader_notFound_title());const{openAndShowWorkspace:n}=await p(async()=>{const{openAndShowWorkspace:a}=await import("./DrGaWKZY.js").then(o=>o.s);return{openAndShowWorkspace:a}},__vite__mapDeps([30,7,5,6,8,9,10,11,12,4,13,29]),import.meta.url);await n(e)}async function N(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const a=!t||e.workspaceId!==t;if(!await P(e.workspaceId,e.resourceId))throw new u(c.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:e.workspaceId}));if(a){const{openAndShowWorkspace:s}=await p(async()=>{const{openAndShowWorkspace:i}=await import("./DrGaWKZY.js").then(_=>_.s);return{openAndShowWorkspace:i}},__vite__mapDeps([30,7,5,6,8,9,10,11,12,4,13,29]),import.meta.url);await s(e.workspaceId,{query:{note:e.resourceId}})}else d.dispatch(y(e.workspaceId,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());if(!await P(t,e.resourceId))throw new u(c.ui_linkHandler_noteNotFoundCurrent_error({noteId:e.resourceId}));d.dispatch(y(t,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function b(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const n=!t||e.workspaceId!==t;if(n){const{openAndShowWorkspace:a}=await p(async()=>{const{openAndShowWorkspace:o}=await import("./DrGaWKZY.js").then(s=>s.s);return{openAndShowWorkspace:o}},__vite__mapDeps([30,7,5,6,8,9,10,11,12,4,13,29]),import.meta.url);if(!await a(e.workspaceId))return}d.dispatch(g(e.workspaceId,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:n?!1:r.openInAdjacentPanel??!1,sourcePanelId:n?void 0:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());d.dispatch(g(t,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:r.openInAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function P(e,r){try{const{backendRequest:t}=await p(async()=>{const{backendRequest:o}=await import("./AXIAXE42.js").then(s=>s.az);return{backendRequest:o}},__vite__mapDeps([14,4,5,12,15,11,16,17,18,13,19,10,20]),import.meta.url),n=await t("note.get",{workspaceId:e,noteId:r}),a=n&&typeof n=="object"&&"note"in n?n.note:n;return a!=null&&typeof a=="object"}catch{return!1}}export{u as NotFoundError,B as createIntentLinkClickHandler,G as generateNoteLink,T as handleIntentLink,H as parseIntentLink};
@@ -1 +1 @@
1
- import{g as p,r as u,d as n}from"./qmO_2WOw.js";import{p as f}from"./CJzNuuJO.js";import{b as a,ay as o}from"./BKJB_6oY.js";import{M as c,c as d}from"./hYDzZ9as.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},w={parser:R,db:n,renderer:u,styles:p};export{w as diagram};
1
+ import{g as p,r as u,d as n}from"./Bl_mdtS5.js";import{p as f}from"./DZjJzG_y.js";import{b as a,ay as o}from"./DlnJ95sD.js";import{M as c,c as d}from"./CqJpu93-.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},w={parser:R,db:n,renderer:u,styles:p};export{w as diagram};
@@ -1 +1 @@
1
- import{n as t}from"./DYlSkPA-.js";import"./DYhIMPy1.js";import{bo as n}from"./B3iaLYr6.js";import"./DEmaG7Ya.js";import"./hUiIfi2t.js";import"./CpELl9t1.js";import"./ChTqQfQN.js";import"./D0UrvUQM.js";import"./h8IoI-w7.js";function L(e){try{const r=new URL(e).hostname.toLowerCase();return r==="daemon.localhost"||r==="client.localhost"}catch{return!1}}const s="browser:resolve-url";function a(e){return typeof e=="object"&&e!==null&&typeof e.url=="string"&&typeof e.rewritten=="boolean"}async function l(e,r){const o={url:e,rewritten:!1};if(!r)return o;try{const i=await r(s,{url:e});return a(i)?i:o}catch{return o}}async function g(e,r){if(!r)return e;try{const o=await r(s,{url:e,mode:"rewrite-only"});return a(o)?o.url:e}catch{return e}}async function c(e){const r=await l(e,typeof window<"u"?window.electronAPI?.invoke:void 0);return r.error&&r.rewritten?r.forbidden?t.error(n.browser_linkOpen_ownerOnlyForward_error()):t.error(n.browser_embedded_resolveFailed_error(),{description:r.error}):r.warning&&t.warning(n.browser_linkOpen_loopbackAmbiguity_warning(),{description:r.warning}),{url:r.url,...r.rewritten&&r.requestedUrl!==void 0?{requestedUrl:r.requestedUrl}:{}}}const h=Object.freeze(Object.defineProperty({__proto__:null,resolveBrowserLinkForOpen:c},Symbol.toStringTag,{value:"Module"}));export{l as a,h as b,g as c,L as i,c as r};
1
+ import{n as t}from"./qj_I7waa.js";import"./DYhIMPy1.js";import{bo as n}from"./E2zwcBGL.js";import"./8mzXJxUW.js";import"./BTNnUZgK.js";import"./AXIAXE42.js";import"./ChTqQfQN.js";import"./C0GDF9vt.js";import"./DzNB7FSW.js";function L(e){try{const r=new URL(e).hostname.toLowerCase();return r==="daemon.localhost"||r==="client.localhost"}catch{return!1}}const s="browser:resolve-url";function a(e){return typeof e=="object"&&e!==null&&typeof e.url=="string"&&typeof e.rewritten=="boolean"}async function l(e,r){const o={url:e,rewritten:!1};if(!r)return o;try{const i=await r(s,{url:e});return a(i)?i:o}catch{return o}}async function g(e,r){if(!r)return e;try{const o=await r(s,{url:e,mode:"rewrite-only"});return a(o)?o.url:e}catch{return e}}async function c(e){const r=await l(e,typeof window<"u"?window.electronAPI?.invoke:void 0);return r.error&&r.rewritten?r.forbidden?t.error(n.browser_linkOpen_ownerOnlyForward_error()):t.error(n.browser_embedded_resolveFailed_error(),{description:r.error}):r.warning&&t.warning(n.browser_linkOpen_loopbackAmbiguity_warning(),{description:r.warning}),{url:r.url,...r.rewritten&&r.requestedUrl!==void 0?{requestedUrl:r.requestedUrl}:{}}}const h=Object.freeze(Object.defineProperty({__proto__:null,resolveBrowserLinkForOpen:c},Symbol.toStringTag,{value:"Module"}));export{l as a,h as b,g as c,L as i,c as r};
@@ -1 +1 @@
1
- import{t as g,bq as h,bo as u,by as C,b as S}from"./B3iaLYr6.js";import{bs as T,a5 as _,bl as l,bS as c,bA as m,b_ as A,bO as n,W as j,bn as q,aA as w,aB as B}from"./DYhIMPy1.js";var I=B('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><div class="text-center"><p class="text-lg font-medium text-foreground"> </p> <p class="text-sm"> </p> <p class="text-xs mt-4 text-subtle"> </p></div></div>');function L(p,a){if(new.target)return g({component:L,...p});T(a,!0);let e=h(a,"tab",7);var v={get tab(){return e()},set tab(t){e(t),w()},$set:C,$on:(t,r)=>S(a,t,r)},s=I(),o=_(s),b=_(o),d=l(b,!0),i=c(b,2),x=l(i,!0),f=c(i,2),y=l(f,!0);return m(o),m(s),A((t,r)=>{n(d,e().title),n(x,t),n(y,r)},[()=>u.layout_panelContent_typeLabel({type:e().type}),()=>u.layout_settingsTab_notImplemented_label()]),j(p,s),q(v)}export{L as default};
1
+ import{t as g,bq as h,bo as u,by as C,b as S}from"./E2zwcBGL.js";import{bs as T,a5 as _,bl as l,bS as c,bA as m,b_ as A,bO as n,W as j,bn as q,aA as w,aB as B}from"./DYhIMPy1.js";var I=B('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><div class="text-center"><p class="text-lg font-medium text-foreground"> </p> <p class="text-sm"> </p> <p class="text-xs mt-4 text-subtle"> </p></div></div>');function L(p,a){if(new.target)return g({component:L,...p});T(a,!0);let e=h(a,"tab",7);var v={get tab(){return e()},set tab(t){e(t),w()},$set:C,$on:(t,r)=>S(a,t,r)},s=I(),o=_(s),b=_(o),d=l(b,!0),i=c(b,2),x=l(i,!0),f=c(i,2),y=l(f,!0);return m(o),m(s),A((t,r)=>{n(d,e().title),n(x,t),n(y,r)},[()=>u.layout_panelContent_typeLabel({type:e().type}),()=>u.layout_settingsTab_notImplemented_label()]),j(p,s),q(v)}export{L as default};