@intent-hq/web 2.320.0 → 2.320.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 (143) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{CK5TbVXs.js → 2d9ARddo.js} +1 -1
  3. package/web/app/immutable/chunks/{0S9IxBYm.js → 3TX-_riq.js} +4 -4
  4. package/web/app/immutable/chunks/{DHup9Hyk.js → 49Xcxy9Z.js} +1 -1
  5. package/web/app/immutable/chunks/{D5mrdrwv.js → 4EPU-1_C.js} +1 -1
  6. package/web/app/immutable/chunks/{C7VzwASa.js → 55B_mQC6.js} +6 -6
  7. package/web/app/immutable/chunks/{BYWZOhBp.js → 5BaUgoc7.js} +1 -1
  8. package/web/app/immutable/chunks/{DZyoV8-g.js → B--T3tY0.js} +1 -1
  9. package/web/app/immutable/chunks/{Bw5FiD-Y.js → B-NH8jPK.js} +1 -1
  10. package/web/app/immutable/chunks/{sZnxO3Td.js → B1892jNy.js} +1 -1
  11. package/web/app/immutable/chunks/{DIitBWg3.js → B524kvVw.js} +1 -1
  12. package/web/app/immutable/chunks/{e5uo7mZH.js → BB6TPLRQ.js} +1 -1
  13. package/web/app/immutable/chunks/{D1xDyaMF.js → BIzCpN2r.js} +1 -1
  14. package/web/app/immutable/chunks/{dTdCS8d7.js → BJfH3e03.js} +1 -1
  15. package/web/app/immutable/chunks/{TWdtA8BC.js → BJzlL5VK.js} +1 -1
  16. package/web/app/immutable/chunks/{CWHiycVZ.js → BMJ3_jM1.js} +1 -1
  17. package/web/app/immutable/chunks/{DyyCDL26.js → BQKHJuv8.js} +1 -1
  18. package/web/app/immutable/chunks/{hIpW6zoP.js → BRqOyyER.js} +1 -1
  19. package/web/app/immutable/chunks/{B02JUP96.js → BS3L5ssG.js} +1 -1
  20. package/web/app/immutable/chunks/{Cl6HYldG.js → BTVnc-yD.js} +1 -1
  21. package/web/app/immutable/chunks/{go1cucdf.js → BZrP_BN5.js} +2 -2
  22. package/web/app/immutable/chunks/{BDWwvOsS.js → BmGPu7Nl.js} +1 -1
  23. package/web/app/immutable/chunks/{BUQv-rGq.js → BnY6qa9O.js} +1 -1
  24. package/web/app/immutable/chunks/{5-cDqrnd.js → BoAwi0I6.js} +1 -1
  25. package/web/app/immutable/chunks/{i6Mg1Q2O.js → BsCDeyle.js} +1 -1
  26. package/web/app/immutable/chunks/{DgIrJ3hH.js → BtA94G-4.js} +1 -1
  27. package/web/app/immutable/chunks/{Bq8HB3qA.js → Btkc4GhJ.js} +1 -1
  28. package/web/app/immutable/chunks/{EJCOdspF.js → Bv7Cc181.js} +1 -1
  29. package/web/app/immutable/chunks/{HxY68xDO.js → BvO0zD3q.js} +1 -1
  30. package/web/app/immutable/chunks/{CLHEbYRj.js → BxxQ5pIU.js} +1 -1
  31. package/web/app/immutable/chunks/{Bfb5WFg3.js → Byh9jXBr.js} +1 -1
  32. package/web/app/immutable/chunks/{CgN5SAW1.js → C-r1nQ0P.js} +2 -2
  33. package/web/app/immutable/chunks/{BI6L4fKK.js → C0HDG-tg.js} +1 -1
  34. package/web/app/immutable/chunks/{XppZ9Q2A.js → C23Piy_l.js} +1 -1
  35. package/web/app/immutable/chunks/{Ci8maFTk.js → C2pLxq9N.js} +1 -1
  36. package/web/app/immutable/chunks/{B_dSJdhc.js → C9Az19Q-.js} +1 -1
  37. package/web/app/immutable/chunks/{DCXOZ-cm.js → CAhuuwZ9.js} +1 -1
  38. package/web/app/immutable/chunks/{CHGuZ9fZ.js → CCVg2HgS.js} +1 -1
  39. package/web/app/immutable/chunks/{BV8VDu62.js → CGTFiYKr.js} +1 -1
  40. package/web/app/immutable/chunks/{BEqt0QSe.js → CGVZRNqq.js} +1 -1
  41. package/web/app/immutable/chunks/{rytmH58N.js → CI-U2zwu.js} +1 -1
  42. package/web/app/immutable/chunks/{DpTF0OML.js → CIH3mb7Y.js} +1 -1
  43. package/web/app/immutable/chunks/{Rut-2pZ8.js → CJhkZF1l.js} +1 -1
  44. package/web/app/immutable/chunks/{CtugIh5q.js → CK2xtMaJ.js} +1 -1
  45. package/web/app/immutable/chunks/{D_tUKjY4.js → CKiOztob.js} +1 -1
  46. package/web/app/immutable/chunks/{DHA6UXAH.js → CMcfEzCt.js} +1 -1
  47. package/web/app/immutable/chunks/{4PQMLe8m.js → COuKp8NZ.js} +1 -1
  48. package/web/app/immutable/chunks/{DsF7snTf.js → CQX4KubR.js} +1 -1
  49. package/web/app/immutable/chunks/{CsBJcTed.js → CR8nwpLC.js} +1 -1
  50. package/web/app/immutable/chunks/{PsUBRXJ6.js → CW_MTCOu.js} +1 -1
  51. package/web/app/immutable/chunks/{BJDDeVIO.js → CW_i4yzi.js} +1 -1
  52. package/web/app/immutable/chunks/{BFslYMdM.js → CXux1NAJ.js} +1 -1
  53. package/web/app/immutable/chunks/{BFPcVXtw.js → CYvGLw1Y.js} +1 -1
  54. package/web/app/immutable/chunks/{CSY5tujD.js → CZFJH8pA.js} +4 -4
  55. package/web/app/immutable/chunks/{CCvXttvr.js → CcjhvQaU.js} +1 -1
  56. package/web/app/immutable/chunks/{nGAsq1_L.js → CduK2Osu.js} +1 -1
  57. package/web/app/immutable/chunks/{8AEPB8vg.js → ChV6OcuF.js} +1 -1
  58. package/web/app/immutable/chunks/{H3thz4A8.js → Ck3dkN4B.js} +1 -1
  59. package/web/app/immutable/chunks/{Hl0p8Y_K.js → Cm-Ux8AK.js} +1 -1
  60. package/web/app/immutable/chunks/{C5NmOSh4.js → CmTfIBH2.js} +2 -2
  61. package/web/app/immutable/chunks/{CPgvYNNr.js → CpnH3je1.js} +1 -1
  62. package/web/app/immutable/chunks/{C_Jtint5.js → CrF5hjNA.js} +1 -1
  63. package/web/app/immutable/chunks/{DUBITB6h.js → CrkvePNd.js} +1 -1
  64. package/web/app/immutable/chunks/{DHbAKa61.js → CtNKFf3W.js} +1 -1
  65. package/web/app/immutable/chunks/{P_873CiZ.js → CuTNRxpo.js} +1 -1
  66. package/web/app/immutable/chunks/{ZPW-9-jj.js → Cugknw1m.js} +1 -1
  67. package/web/app/immutable/chunks/{V7Hjifys.js → Cx547a39.js} +1 -1
  68. package/web/app/immutable/chunks/{D7X4cgrV.js → D5BYjywr.js} +2 -2
  69. package/web/app/immutable/chunks/{DCnWoCId.js → D7hkdi6r.js} +1 -1
  70. package/web/app/immutable/chunks/{B1r9HFnN.js → D8l-pxCs.js} +1 -1
  71. package/web/app/immutable/chunks/{CAidTZMG.js → DAgho_P-.js} +1 -1
  72. package/web/app/immutable/chunks/{CZy8s0G0.js → DBEuoua2.js} +2 -2
  73. package/web/app/immutable/chunks/{Uvf6CZvV.js → DDhu5Shq.js} +4 -4
  74. package/web/app/immutable/chunks/{C_nueLij.js → DFRP5ruh.js} +1 -1
  75. package/web/app/immutable/chunks/{DYRPk2Lc.js → DJbnWCnN.js} +1 -1
  76. package/web/app/immutable/chunks/{DkBn6nxi.js → DKBox7Ew.js} +1 -1
  77. package/web/app/immutable/chunks/{D1zDcaZa.js → DLme1vI4.js} +1 -1
  78. package/web/app/immutable/chunks/{BjK8NxLQ.js → DMu4mjpX.js} +1 -1
  79. package/web/app/immutable/chunks/{BPBgxP_m.js → DOxrGs5l.js} +1 -1
  80. package/web/app/immutable/chunks/{D33mZ1q4.js → DQSz8rIC.js} +1 -1
  81. package/web/app/immutable/chunks/{CFBBhrkC.js → DUW0BlH5.js} +1 -1
  82. package/web/app/immutable/chunks/{Dyr9OHj8.js → DWcUEP_3.js} +4 -4
  83. package/web/app/immutable/chunks/{CvfkUn8M.js → DbSP_yi5.js} +1 -1
  84. package/web/app/immutable/chunks/{B_BXfNyq.js → Dbcyn1sm.js} +1 -1
  85. package/web/app/immutable/chunks/{BuOFVkeK.js → Dby-RtfB.js} +1 -1
  86. package/web/app/immutable/chunks/{C5i434eU.js → DcQGtdYG.js} +1 -1
  87. package/web/app/immutable/chunks/{BozAh4mR.js → DclJ6-AA.js} +1 -1
  88. package/web/app/immutable/chunks/{DEbxL_K_.js → Dczc0YMo.js} +1 -1
  89. package/web/app/immutable/chunks/{qBcLa7Zb.js → DeFnstZp.js} +1 -1
  90. package/web/app/immutable/chunks/{B2RDqcyK.js → Df_CcsUd.js} +1 -1
  91. package/web/app/immutable/chunks/{DrzXjqzo.js → DgvFQ5ps.js} +1 -1
  92. package/web/app/immutable/chunks/{BYA94DCT.js → DgvGDMI5.js} +1 -1
  93. package/web/app/immutable/chunks/{DLX1zpqU.js → DjWen1vr.js} +1 -1
  94. package/web/app/immutable/chunks/{Dzu_kyuP.js → Dk1FwKDL.js} +1 -1
  95. package/web/app/immutable/chunks/{CI_jzrtS.js → Dkt7Tsgw.js} +1 -1
  96. package/web/app/immutable/chunks/{CIO13o1_.js → DlUfd75E.js} +1 -1
  97. package/web/app/immutable/chunks/{Dyftr3KP.js → DnIfn_Q5.js} +1 -1
  98. package/web/app/immutable/chunks/{CR6gKG-r.js → DnWPcgvb.js} +1 -1
  99. package/web/app/immutable/chunks/{DFlMJdQz.js → Do2QepJk.js} +1 -1
  100. package/web/app/immutable/chunks/{5REd_oE3.js → DsQHEEWt.js} +1 -1
  101. package/web/app/immutable/chunks/{BrMxn35B.js → Dtei9o3U.js} +1 -1
  102. package/web/app/immutable/chunks/{BvnODxCP.js → Dy4G53ce.js} +1 -1
  103. package/web/app/immutable/chunks/{CI-6MxKa.js → H5XG0yyu.js} +2 -2
  104. package/web/app/immutable/chunks/{T8ZYfg6I.js → IYLMGQxr.js} +1 -1
  105. package/web/app/immutable/chunks/{BsWKC22i.js → IsZuHG2a.js} +1 -1
  106. package/web/app/immutable/chunks/{BcyYpopU.js → JwXVdNK9.js} +1 -1
  107. package/web/app/immutable/chunks/{D0rBJOMA.js → KJelEqX3.js} +1 -1
  108. package/web/app/immutable/chunks/{DFelFjwN.js → Le4YFzxz.js} +3 -3
  109. package/web/app/immutable/chunks/{BwTXFSMC.js → O4y88_QN.js} +1 -1
  110. package/web/app/immutable/chunks/{DQyFaFhy.js → OvSKCwS-.js} +1 -1
  111. package/web/app/immutable/chunks/{C7K9s96B.js → T2aO1XPv.js} +1 -1
  112. package/web/app/immutable/chunks/{DpAML2LZ.js → VE9Tc-Fm.js} +2 -2
  113. package/web/app/immutable/chunks/{DUTF8GiF.js → VKC6gzws.js} +6 -6
  114. package/web/app/immutable/chunks/{Bd9YcJpJ.js → VKc1-U2z.js} +1 -1
  115. package/web/app/immutable/chunks/{DaNWGYoy.js → V_BIwIYH.js} +1 -1
  116. package/web/app/immutable/chunks/{BBHcEtpr.js → Wm9WFHAU.js} +1 -1
  117. package/web/app/immutable/chunks/{CxGR0S3R.js → XWXuV5J_.js} +1 -1
  118. package/web/app/immutable/chunks/{BlAtH_I1.js → cYktK7bI.js} +3 -3
  119. package/web/app/immutable/chunks/{DfBOHkPz.js → mEKKjA-u.js} +1 -1
  120. package/web/app/immutable/chunks/{C95LwPTq.js → mk8wN9pR.js} +1 -1
  121. package/web/app/immutable/chunks/{BivhoPt2.js → oB6nSTCC.js} +1 -1
  122. package/web/app/immutable/chunks/{_GzLh8om.js → sOHh4EMg.js} +1 -1
  123. package/web/app/immutable/chunks/{BxsS3mXG.js → sWFJeG75.js} +1 -1
  124. package/web/app/immutable/chunks/{afj8l-L0.js → u-Ou3zHY.js} +2 -2
  125. package/web/app/immutable/chunks/{RBSqSYOo.js → zl8Sz0Gx.js} +3 -3
  126. package/web/app/immutable/entry/{app.D1_zvf06.js → app.DnikQ4I9.js} +2 -2
  127. package/web/app/immutable/entry/start.DW0TPq6E.js +1 -0
  128. package/web/app/immutable/nodes/{0.DncqPHfM.js → 0.C7A1xQm9.js} +1 -1
  129. package/web/app/immutable/nodes/{1.C0XLYfok.js → 1.D3O5lTcl.js} +1 -1
  130. package/web/app/immutable/nodes/{10.FOhcPF7P.js → 10.BaLN4VIK.js} +1 -1
  131. package/web/app/immutable/nodes/{14.CQ7rNDCc.js → 14.BycEEfsq.js} +1 -1
  132. package/web/app/immutable/nodes/{16.D1YB7GYH.js → 16.BjrtGDLp.js} +2 -2
  133. package/web/app/immutable/nodes/{2.BdCIUUeK.js → 2.Cfk2c4l0.js} +3 -3
  134. package/web/app/immutable/nodes/{3.plIg2MFf.js → 3.Dp8QGgRH.js} +1 -1
  135. package/web/app/immutable/nodes/{4.CcgVPTck.js → 4.D3m3OUdj.js} +1 -1
  136. package/web/app/immutable/nodes/{5.C_N4OtaU.js → 5.BMBYYbKi.js} +1 -1
  137. package/web/app/immutable/nodes/{6.DGUZaYtw.js → 6.BIo4yUgT.js} +1 -1
  138. package/web/app/immutable/nodes/{7.C8AkEQkN.js → 7.DdNd4GXX.js} +1 -1
  139. package/web/app/immutable/nodes/{8.Bib6c2R5.js → 8.Cp6GdAVQ.js} +2 -2
  140. package/web/app/immutable/nodes/{9.DgERn09Y.js → 9.kCWJBZ1N.js} +1 -1
  141. package/web/app/version.json +1 -1
  142. package/web/index.html +9 -9
  143. package/web/app/immutable/entry/start.UwzduGPr.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CI-6MxKa.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/DozYGPQ1.js","/app/immutable/chunks/B30Ssr1r.js","/app/immutable/chunks/DSbw-nyW.js","/app/immutable/chunks/C72zM9oE.js","/app/immutable/chunks/CBE9bOjQ.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DkrIcKd4.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/MJGmlCLu.js","/app/immutable/chunks/BBvT7Bb8.js","/app/immutable/chunks/CcVvQKcJ.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CZ5Pr0zI.js","/app/immutable/chunks/C3lmZVdU.js","/app/immutable/chunks/DYepVMa7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/Dlalsrb2.js","/app/immutable/chunks/D_FHOcPH.js","/app/immutable/chunks/CpEHCOut.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/Ca0VZzWN.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/BLl4jbbs.js","/app/immutable/chunks/CDFwOYFZ.js","/app/immutable/chunks/CAoY2-K6.js","/app/immutable/chunks/SrOLwB5L.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/YGDnq71P.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/CnlzKY2y.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/9Lm8k_8r.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/D02FkLBh.js","/app/immutable/chunks/4o1DPfmL.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/DVX1HL-4.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/DQyFaFhy.js","/app/immutable/chunks/7z2H_RtS.js","/app/immutable/chunks/CVQvxrRM.js","/app/immutable/chunks/D7X4cgrV.js","/app/immutable/chunks/CWHiycVZ.js","/app/immutable/chunks/C7VzwASa.js","/app/immutable/chunks/DHup9Hyk.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/D0rBJOMA.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
2
- import{bo as v,t as Ft,bq as y,a_ as D,by as zt,b as Ht,br as zf,bu as St,bs as ia,bt as yi,b7 as dl,ba as Hf,bl as jf,bb as Wf,bm as Uf,a$ as qf,b9 as Vf,b8 as Kf,b2 as Gf,bf as Jf,bg as Yf,bk as Xf,be as Zf,bn as Qf,b0 as $f,b4 as ep,bi as tp,bh as rp,b6 as np,b5 as ap,b3 as sp,bd as op,bc as ip,bj as lp,b1 as cp,_ as dp}from"./DozYGPQ1.js";import{bI as up,bj as Is,aG as fp,bs as jt,aD as e,a5 as I,bS as m,bA as w,W as d,bn as Wt,c9 as u,aA as _,a7 as wt,ay as qe,be as tr,b$ as Mt,aC as wa,bl as R,b_ as k,bO as x,aB as S,bo as Cs,ca as It,bH as L,bV as be,br as Vr,bk as Es,c0 as Qn,ai as Na,cd as Qa,aw as Cn,a as pp,aj as Nr,c7 as gp,c6 as ul,c5 as En,bf as Vs,bz as $c}from"./DYhIMPy1.js";import{F as Ks,I as vp,y as mp}from"./BBvT7Bb8.js";import{c as hp,s as ne,a as Bn,l as An,f as Pn,d as dr,k as gt,I as Ps,h as Lt,i as Mr,o as bp,j as yp,g as _p,m as xp}from"./CBE9bOjQ.js";import{s as vn}from"./B30Ssr1r.js";import{c as en}from"./MJGmlCLu.js";import{H as Vo,t as or,n as wp,i as fl,u as pl}from"./C72zM9oE.js";import{b as vr}from"./BaIAhI85.js";import{h as ed,bt as kp,cJ as Sp,dC as Ip,dn as Cp,aw as Ep,cs as Pp,a1 as Ap,cP as Tp,dm as vs,aB as ao,c1 as Rp,H as Lp,c as Mp,$ as gl,cV as Np,bR as Op,L as Dp,dj as Bp,V as Fp,dt as zp,ae as Hp,as as jp,f as Wp,t as Up}from"./SrOLwB5L.js";import{c as qp}from"./D-62MVd3.js";import{n as na,w as Vp,C as td,d as Kp,R as Gp}from"./4o1DPfmL.js";import{f as bt,ap as Xa,ai as Jp,am as Ko,bc as Yp}from"./DkrIcKd4.js";import{an as Xp,ab as vl,$ as Zp,aA as Qp,ac as $p,i as eg,aS as tg,I as rg,R as ng,as as ag,ag as sg,a0 as og,b as ml,at as ig,s as lg,o as cg,aY as dg,n as ug,a_ as Go,A as hl,af as fg,aZ as pg,ap as rd,T as nd,a7 as gg,a6 as bl,V as vg,L as yl}from"./CSY5tujD.js";import{c$ as mg,F as Pt,bh as Jo,bL as hg,ap as bg,aQ as yg,cL as _g,bl as _i,bB as xg,aG as ad,aL as xi,c_ as Gs,ac as Yo,cn as wg,cd as kg,ci as wi,cF as sd,bs as Sg,e as Ig,b$ as _l,c9 as Cg,cl as Eg,cW as od,bV as xl,b8 as So,be as us,aF as Pg,aA as Xo,av as id,bc as ld,bC as Ag,B as Tg,bv as Rg,a7 as cd,ch as Lg,am as dd,cN as ud,cJ as wl,at as fd,aK as kl,a1 as Mg,cv as Ng,cU as Og,aJ as Dg,a$ as Bg,bO as pd,bn as Fg,c5 as Sl,ao as gd,az as zg,aa as Hg,a8 as jg}from"./CpEHCOut.js";import{c as vd}from"./ChTqQfQN.js";import{h as Wg}from"./CnlzKY2y.js";import{HQ as Nt,bQ as Ug,rv as Il,s5 as qg,ID as Vg,IJ as Kg,g as md,HC as Gg,nj as hd,nz as bd,ny as yd,nc as so,pP as ki,xo as Jg,us as zs,tK as Zo,uu as Yg,n0 as _d,HV as Xg,sE as Zg,on as xd,qU as Si,lJ as Cl,a6 as El,qq as Qg,qm as $g,qr as ev,qi as tv,qo as rv,ui as nv,zY as wd,A0 as kd,nA as Pl,bi as Qo,Gl as av,Hy as sv,hg as ov,hf as iv,nu as lv,vv as cv,vw as dv,vu as Al,AZ as Xn,cv as uv,cj as fv,d5 as pv,dc as gv,A6 as vv}from"./DYepVMa7.js";import{bG as mv,bP as hv,i as bv,z as yv,bS as _v,ag as xv,ai as wv,ak as kv,a4 as Sv,a3 as Iv}from"./BLl4jbbs.js";import{n as Cv,m as Ev,u as $o,c7 as Pv,K as Av,c6 as Tv,c1 as Rv,aw as Tl,c3 as Lv,bC as ei,aG as Mv,s as Nv,c as ms,d as ti,c4 as Sd,c5 as ri,br as Ov,a$ as Dv,bG as Bv,bE as Fv,B as zv,bl as Hv,x as jv}from"./DQyFaFhy.js";import{cd as Wv,cf as Uv,ce as qv,b0 as Vv,a_ as Kv,a$ as Gv,a3 as Jv,ak as Ns,aj as Yv,az as Rl,aH as Xv,ai as Zv,C as Qv,i as $v,E as Hs,cO as em,aV as Ll,cT as tm,af as rm,a7 as nm,r as am,p as sm,aE as om,cW as im,cF as lm,cy as cm,cp as dm,bO as um}from"./Bd9YcJpJ.js";import{s as fm,j as pm,i as gm,I as $a,c as Ml}from"./CZ5Pr0zI.js";import"./C3lmZVdU.js";import{k as Id,f as Nl,K as Ol,M as vm,r as mm,q as hm,N as Cd,J as ni,e as hs,a0 as es,i as bm}from"./CI-6MxKa.js";import"./Ca0VZzWN.js";import{J as Ii,P as ym,s as _m,k as xm,G as wm,o as km,l as Sm,M as Im,H as Cm,w as Ja,a as Em,K as Pm,n as Am,R as Tm}from"./Dlalsrb2.js";import{t as bs,n as Rm,O as Lm,M as Mm,S as _a}from"./D_FHOcPH.js";import{C as ai}from"./D-NAfI6p.js";import{aQ as Nm,aY as Om,aB as Dm,b0 as Bm,aO as Fm,aU as zm,a7 as rs,b3 as Dl,aK as Hm,aR as jm,aX as Ci,aS as Ei,W as Io,aq as Wm,X as Um,a_ as qm,aJ as Vm,aT as Km,aW as Gm,b6 as Jm,b4 as Ym,ay as Ed,p as Xm,n as Zm,aV as Qm,_ as $m,ao as eh,aD as th,z as rh,aC as nh,a8 as ah}from"./BlAtH_I1.js";import{s as si}from"./T8ZYfg6I.js";import{M as sh}from"./BigdBsL9.js";import{u as Pi,w as oh,v as oo,I as ih,A as Bl,e as ys,d as xa,J as Fl,c as lh,f as ch,g as zl,i as dh,b as uh,o as Pd,j as fh,O as ph,x as gh,k as Ad,S as vh,N as mh,q as Hl,p as hh,n as jl,z as bh,s as yh}from"./i6Mg1Q2O.js";import{o as Wl,a as Ul,T as Co,b as _h}from"./go1cucdf.js";import{ag as xh,a6 as wh,M as kh,J as Sh,aj as Ih}from"./C7-4lB53.js";import{D as _s}from"./hIpW6zoP.js";import"./Dld3dCA-.js";import{C as aa}from"./DCnWoCId.js";import{M as Ch}from"./Dyr9OHj8.js";import{g as Ai}from"./DSbw-nyW.js";import{f as ql}from"./CWHiycVZ.js";import{c as js}from"./DakbBhJV.js";import{handleIntentLink as Eh}from"./afj8l-L0.js";import{s as Ph,a as Ah,f as Th,d as Rh,r as Lh,h as Mh,w as fs,g as Nh,W as Oh,H as Dh,c as Bh,M as Td}from"./Uvf6CZvV.js";import{e as Fh,q as zh}from"./CDFwOYFZ.js";import{showAssistantContent as Hh}from"./C5NmOSh4.js";import{o as Js,c as jh,n as Wh}from"./D0rBJOMA.js";import{p as Uh}from"./C7K9s96B.js";import{m as qh}from"./7k5ozo9c.js";import{h as Os}from"./DDdEHmdT.js";import{i as Rd}from"./7z2H_RtS.js";import{g as Vh,e as Kh,f as Gh,h as Jh}from"./BvFAWM27.js";import{T as Eo}from"./DQhHyGm2.js";import{i as Yh,r as Vl}from"./BwTXFSMC.js";import{a as Xh}from"./DVX1HL-4.js";import{a as Zh}from"./BJzHxIyr.js";import{p as Qh}from"./D_tUKjY4.js";const $h="intent:inline-visual-draft";function XI(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/H5XG0yyu.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/DozYGPQ1.js","/app/immutable/chunks/B30Ssr1r.js","/app/immutable/chunks/DSbw-nyW.js","/app/immutable/chunks/C72zM9oE.js","/app/immutable/chunks/CBE9bOjQ.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DkrIcKd4.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/MJGmlCLu.js","/app/immutable/chunks/BBvT7Bb8.js","/app/immutable/chunks/CcVvQKcJ.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CZ5Pr0zI.js","/app/immutable/chunks/C3lmZVdU.js","/app/immutable/chunks/DYepVMa7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/Dlalsrb2.js","/app/immutable/chunks/D_FHOcPH.js","/app/immutable/chunks/CpEHCOut.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/Ca0VZzWN.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/BLl4jbbs.js","/app/immutable/chunks/CDFwOYFZ.js","/app/immutable/chunks/CAoY2-K6.js","/app/immutable/chunks/SrOLwB5L.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/YGDnq71P.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/CnlzKY2y.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/9Lm8k_8r.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/D02FkLBh.js","/app/immutable/chunks/4o1DPfmL.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/DVX1HL-4.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/OvSKCwS-.js","/app/immutable/chunks/7z2H_RtS.js","/app/immutable/chunks/CVQvxrRM.js","/app/immutable/chunks/D5BYjywr.js","/app/immutable/chunks/BMJ3_jM1.js","/app/immutable/chunks/55B_mQC6.js","/app/immutable/chunks/49Xcxy9Z.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/KJelEqX3.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
2
+ import{bo as v,t as Ft,bq as y,a_ as D,by as zt,b as Ht,br as zf,bu as St,bs as ia,bt as yi,b7 as dl,ba as Hf,bl as jf,bb as Wf,bm as Uf,a$ as qf,b9 as Vf,b8 as Kf,b2 as Gf,bf as Jf,bg as Yf,bk as Xf,be as Zf,bn as Qf,b0 as $f,b4 as ep,bi as tp,bh as rp,b6 as np,b5 as ap,b3 as sp,bd as op,bc as ip,bj as lp,b1 as cp,_ as dp}from"./DozYGPQ1.js";import{bI as up,bj as Is,aG as fp,bs as jt,aD as e,a5 as I,bS as m,bA as w,W as d,bn as Wt,c9 as u,aA as _,a7 as wt,ay as qe,be as tr,b$ as Mt,aC as wa,bl as R,b_ as k,bO as x,aB as S,bo as Cs,ca as It,bH as L,bV as be,br as Vr,bk as Es,c0 as Qn,ai as Na,cd as Qa,aw as Cn,a as pp,aj as Nr,c7 as gp,c6 as ul,c5 as En,bf as Vs,bz as $c}from"./DYhIMPy1.js";import{F as Ks,I as vp,y as mp}from"./BBvT7Bb8.js";import{c as hp,s as ne,a as Bn,l as An,f as Pn,d as dr,k as gt,I as Ps,h as Lt,i as Mr,o as bp,j as yp,g as _p,m as xp}from"./CBE9bOjQ.js";import{s as vn}from"./B30Ssr1r.js";import{c as en}from"./MJGmlCLu.js";import{H as Vo,t as or,n as wp,i as fl,u as pl}from"./C72zM9oE.js";import{b as vr}from"./BaIAhI85.js";import{h as ed,bt as kp,cJ as Sp,dC as Ip,dn as Cp,aw as Ep,cs as Pp,a1 as Ap,cP as Tp,dm as vs,aB as ao,c1 as Rp,H as Lp,c as Mp,$ as gl,cV as Np,bR as Op,L as Dp,dj as Bp,V as Fp,dt as zp,ae as Hp,as as jp,f as Wp,t as Up}from"./SrOLwB5L.js";import{c as qp}from"./D-62MVd3.js";import{n as na,w as Vp,C as td,d as Kp,R as Gp}from"./4o1DPfmL.js";import{f as bt,ap as Xa,ai as Jp,am as Ko,bc as Yp}from"./DkrIcKd4.js";import{an as Xp,ab as vl,$ as Zp,aA as Qp,ac as $p,i as eg,aS as tg,I as rg,R as ng,as as ag,ag as sg,a0 as og,b as ml,at as ig,s as lg,o as cg,aY as dg,n as ug,a_ as Go,A as hl,af as fg,aZ as pg,ap as rd,T as nd,a7 as gg,a6 as bl,V as vg,L as yl}from"./CZFJH8pA.js";import{c$ as mg,F as Pt,bh as Jo,bL as hg,ap as bg,aQ as yg,cL as _g,bl as _i,bB as xg,aG as ad,aL as xi,c_ as Gs,ac as Yo,cn as wg,cd as kg,ci as wi,cF as sd,bs as Sg,e as Ig,b$ as _l,c9 as Cg,cl as Eg,cW as od,bV as xl,b8 as So,be as us,aF as Pg,aA as Xo,av as id,bc as ld,bC as Ag,B as Tg,bv as Rg,a7 as cd,ch as Lg,am as dd,cN as ud,cJ as wl,at as fd,aK as kl,a1 as Mg,cv as Ng,cU as Og,aJ as Dg,a$ as Bg,bO as pd,bn as Fg,c5 as Sl,ao as gd,az as zg,aa as Hg,a8 as jg}from"./CpEHCOut.js";import{c as vd}from"./ChTqQfQN.js";import{h as Wg}from"./CnlzKY2y.js";import{HQ as Nt,bQ as Ug,rv as Il,s5 as qg,ID as Vg,IJ as Kg,g as md,HC as Gg,nj as hd,nz as bd,ny as yd,nc as so,pP as ki,xo as Jg,us as zs,tK as Zo,uu as Yg,n0 as _d,HV as Xg,sE as Zg,on as xd,qU as Si,lJ as Cl,a6 as El,qq as Qg,qm as $g,qr as ev,qi as tv,qo as rv,ui as nv,zY as wd,A0 as kd,nA as Pl,bi as Qo,Gl as av,Hy as sv,hg as ov,hf as iv,nu as lv,vv as cv,vw as dv,vu as Al,AZ as Xn,cv as uv,cj as fv,d5 as pv,dc as gv,A6 as vv}from"./DYepVMa7.js";import{bG as mv,bP as hv,i as bv,z as yv,bS as _v,ag as xv,ai as wv,ak as kv,a4 as Sv,a3 as Iv}from"./BLl4jbbs.js";import{n as Cv,m as Ev,u as $o,c7 as Pv,K as Av,c6 as Tv,c1 as Rv,aw as Tl,c3 as Lv,bC as ei,aG as Mv,s as Nv,c as ms,d as ti,c4 as Sd,c5 as ri,br as Ov,a$ as Dv,bG as Bv,bE as Fv,B as zv,bl as Hv,x as jv}from"./OvSKCwS-.js";import{cd as Wv,cf as Uv,ce as qv,b0 as Vv,a_ as Kv,a$ as Gv,a3 as Jv,ak as Ns,aj as Yv,az as Rl,aH as Xv,ai as Zv,C as Qv,i as $v,E as Hs,cO as em,aV as Ll,cT as tm,af as rm,a7 as nm,r as am,p as sm,aE as om,cW as im,cF as lm,cy as cm,cp as dm,bO as um}from"./VKc1-U2z.js";import{s as fm,j as pm,i as gm,I as $a,c as Ml}from"./CZ5Pr0zI.js";import"./C3lmZVdU.js";import{k as Id,f as Nl,K as Ol,M as vm,r as mm,q as hm,N as Cd,J as ni,e as hs,a0 as es,i as bm}from"./H5XG0yyu.js";import"./Ca0VZzWN.js";import{J as Ii,P as ym,s as _m,k as xm,G as wm,o as km,l as Sm,M as Im,H as Cm,w as Ja,a as Em,K as Pm,n as Am,R as Tm}from"./Dlalsrb2.js";import{t as bs,n as Rm,O as Lm,M as Mm,S as _a}from"./D_FHOcPH.js";import{C as ai}from"./D-NAfI6p.js";import{aQ as Nm,aY as Om,aB as Dm,b0 as Bm,aO as Fm,aU as zm,a7 as rs,b3 as Dl,aK as Hm,aR as jm,aX as Ci,aS as Ei,W as Io,aq as Wm,X as Um,a_ as qm,aJ as Vm,aT as Km,aW as Gm,b6 as Jm,b4 as Ym,ay as Ed,p as Xm,n as Zm,aV as Qm,_ as $m,ao as eh,aD as th,z as rh,aC as nh,a8 as ah}from"./cYktK7bI.js";import{s as si}from"./IYLMGQxr.js";import{M as sh}from"./BigdBsL9.js";import{u as Pi,w as oh,v as oo,I as ih,A as Bl,e as ys,d as xa,J as Fl,c as lh,f as ch,g as zl,i as dh,b as uh,o as Pd,j as fh,O as ph,x as gh,k as Ad,S as vh,N as mh,q as Hl,p as hh,n as jl,z as bh,s as yh}from"./BsCDeyle.js";import{o as Wl,a as Ul,T as Co,b as _h}from"./BZrP_BN5.js";import{ag as xh,a6 as wh,M as kh,J as Sh,aj as Ih}from"./C7-4lB53.js";import{D as _s}from"./BRqOyyER.js";import"./Dld3dCA-.js";import{C as aa}from"./D7hkdi6r.js";import{M as Ch}from"./DWcUEP_3.js";import{g as Ai}from"./DSbw-nyW.js";import{f as ql}from"./BMJ3_jM1.js";import{c as js}from"./DakbBhJV.js";import{handleIntentLink as Eh}from"./u-Ou3zHY.js";import{s as Ph,a as Ah,f as Th,d as Rh,r as Lh,h as Mh,w as fs,g as Nh,W as Oh,H as Dh,c as Bh,M as Td}from"./DDhu5Shq.js";import{e as Fh,q as zh}from"./CDFwOYFZ.js";import{showAssistantContent as Hh}from"./CmTfIBH2.js";import{o as Js,c as jh,n as Wh}from"./KJelEqX3.js";import{p as Uh}from"./T2aO1XPv.js";import{m as qh}from"./7k5ozo9c.js";import{h as Os}from"./DDdEHmdT.js";import{i as Rd}from"./7z2H_RtS.js";import{g as Vh,e as Kh,f as Gh,h as Jh}from"./BvFAWM27.js";import{T as Eo}from"./DQhHyGm2.js";import{i as Yh,r as Vl}from"./O4y88_QN.js";import{a as Xh}from"./DVX1HL-4.js";import{a as Zh}from"./BJzHxIyr.js";import{p as Qh}from"./CKiOztob.js";const $h="intent:inline-visual-draft";function XI(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
3
3
 
4
4
  `:""}${n}
5
5
 
@@ -260,7 +260,7 @@ ${r.content}`:a.content=r.content,a):r.old_text!==void 0&&r.new_text!==void 0?(a
260
260
  `,c0=["background","foreground","card","card-foreground","primary","primary-ink","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","border","input","ring","danger","danger-background","info","info-foreground","success","success-foreground","warning","warning-foreground","font-ui","font-code","text-body-size","text-body-line-height","text-body-weight","text-body-tracking","radius-small","radius-medium","radius-large","app-background","sidebar","sidebar-accent","agent-avatar-surface-active","agent-avatar-foreground","diagram-host-surface","diagram-canvas","diagram-label-surface","diagram-node-surface","diagram-node-hover-surface","diagram-node-outline","diagram-node-title","diagram-metadata","diagram-group-outline","diagram-connector","diagram-connector-hover","diagram-connector-muted","diagram-connector-inactive","diagram-connector-danger","diagram-connector-success","diagram-connector-warning","diagram-connector-active","diagram-accent","diagram-accent-foreground","diagram-node-radius","diagram-group-radius","diagram-connector-width","text-caption-size","text-caption-line-height","text-caption-weight","text-caption-tracking","text-body-strong-size","text-body-strong-line-height","text-body-strong-weight","text-body-strong-tracking","space-1","space-2","space-3","space-4","space-5","space-6","space-7","control-height-compact","control-height-small","control-height-medium","control-height-large","radius-full","spring-fast","spring-fast-exit","spring-fast-ease","spring-moderate","spring-moderate-exit","spring-moderate-ease","spring-slow","spring-slow-exit","spring-slow-ease","spring-exit-ease","motion-fast","motion-standard","motion-slow","ease-standard","ease-emphasized-out","motion-reduced"],Ho=96,Nc=2e4,d0=480,Fu=512,u0=["default-src 'none'","script-src 'unsafe-inline'","style-src 'unsafe-inline'","img-src data:","connect-src 'none'","font-src data:","media-src 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","manifest-src 'none'","base-uri 'none'","form-action 'none'"].join("; ");function f0(r,t,n,a,s,o){const c=new MessageChannel,l=MessagePort.prototype.postMessage.bind(c.port1);window.parent.postMessage({channel:r,type:"scroll-port"},"*",[c.port2]);const f=(C,z={})=>{window.parent.postMessage({channel:r,type:C,...z},"*")};let i=s?.state??null,p=null,g=!1;Object.defineProperty(window,"intentVisual",{configurable:!1,writable:!1,value:Object.freeze({get state(){return i},publish(C){try{if(!o(C))return!1;const z=JSON.parse(JSON.stringify(C));return i=z.state,p=z,g||(g=!0,requestAnimationFrame(()=>{g=!1,p&&f("snapshot",{snapshot:p}),p=null})),!0}catch{return!1}}})});let T=!1,b=-1,h=innerHeight,P=Number.NaN,A=0,B=0;const F=()=>{if(T=!1,!document.body)return;let C=Math.ceil(Math.max(document.body.scrollHeight,document.body.getBoundingClientRect().height));const z=innerHeight,J=C-z;if(z>h+1&&J>1&&Math.abs(J-P)<=1?A+=1:(z!==h||J<=1)&&(A=0),h=z,P=J,!B&&A>=3){B=Math.max(a,z);const Q="Page height follows the frame (vh units or height: 100%); frame height held.";console.warn(Q),f("layout",{message:Q})}B&&(C=Math.min(C,B)),C!==b&&(b=C,f("resize",{height:C}))},O=()=>{T||(T=!0,requestAnimationFrame(F))},N=C=>{if(!C||typeof C.dark!="boolean"||!C.variables)return;const z=document.documentElement;z.classList.toggle("dark",C.dark),z.style.colorScheme=C.dark?"dark":"light";const J=C.variables["--inline-html-root-font-size"];"--inline-html-root-font-size"in t.variables&&typeof J=="string"&&J.length<512&&z.style.setProperty("--inline-html-root-font-size",J);for(const Q of Object.keys(t.variables)){if(Q==="--inline-html-root-font-size")continue;const $=C.variables[Q];typeof $=="string"&&$.length<512&&z.style.setProperty(Q,$)}O()};window.addEventListener("message",C=>{C.source!==window.parent||!C.data||C.data.channel!==r||C.data.type==="theme"&&N(C.data.theme)});const U=C=>{if(C.defaultPrevented||!C.isTrusted||C.ctrlKey||C.metaKey||C.shiftKey||!C.deltaY||Math.abs(C.deltaX)>Math.abs(C.deltaY))return;const z=$=>{const Ie=getComputedStyle($);if($!==document.scrollingElement&&!/^(auto|scroll|overlay)$/.test(Ie.overflowY)||/^(hidden|clip)$/.test(Ie.overflowY))return!1;const le=$.scrollHeight-$.clientHeight;return le>1&&(C.deltaY<0?$.scrollTop>1:$.scrollTop<le-1)};if(C.composedPath().some($=>$ instanceof Element&&z($))||document.scrollingElement&&z(document.scrollingElement))return;const J=C.deltaMode===WheelEvent.DOM_DELTA_LINE?parseFloat(getComputedStyle(document.body).lineHeight)||16:C.deltaMode===WheelEvent.DOM_DELTA_PAGE?innerHeight:1,Q=Math.max(-n,Math.min(n,C.deltaY*J));Number.isFinite(Q)&&(C.preventDefault(),l({deltaY:Q}))};window.addEventListener("wheel",()=>{window.removeEventListener("wheel",U),window.addEventListener("wheel",U,{passive:!1})},{capture:!0,passive:!1}),window.addEventListener("error",C=>{C.message&&f("error",{message:C.message.slice(0,300)})}),window.addEventListener("unhandledrejection",C=>{const z=C.reason;f("error",{message:String(z instanceof Error?z.message:z).slice(0,300)})}),window.addEventListener("click",C=>{const z=C.target instanceof Element?C.target.closest("a, area"):null;if(!z)return;(z.getAttribute("href")??z.getAttribute("xlink:href"))?.startsWith("#")||C.preventDefault()},!0),window.addEventListener("submit",C=>C.preventDefault(),!0),N(t),window.addEventListener("DOMContentLoaded",()=>{new ResizeObserver(O).observe(document.body),new MutationObserver(O).observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),window.addEventListener("resize",O),document.addEventListener("load",O,!0),document.fonts.ready.then(O),f("ready"),O()},{once:!0})}function p0(r,t,n,a,s){const o=document.createElement("iframe");o.setAttribute("sandbox","allow-scripts"),o.setAttribute("referrerpolicy","no-referrer"),o.title=n,o.style.cssText="display:block;width:100%;height:100%;border:0;";let c;const l=f=>{const i=f.data?.deltaY;typeof i=="number"&&Number.isFinite(i)&&i!==0&&Math.abs(i)<=a&&window.parent.postMessage({channel:r,type:"wheel",deltaY:i},"*")};window.addEventListener("message",f=>{const i=f.data;if(!(!i||typeof i!="object"||i.channel!==r)){if(f.source===window.parent&&i.type==="theme"){o.contentWindow?.postMessage({channel:r,type:"theme",theme:i.theme},"*");return}if(!(f.source!==o.contentWindow||f.origin!=="null")){if(i.type==="scroll-port"&&!c&&f.ports.length===1){c=f.ports[0],c.onmessage=l;return}i.type==="resize"&&typeof i.height=="number"&&Number.isFinite(i.height)&&i.height>=0?window.parent.postMessage({channel:r,type:"resize",height:i.height},"*"):i.type==="ready"?window.parent.postMessage({channel:r,type:"ready"},"*"):(i.type==="error"||i.type==="layout")&&typeof i.message=="string"?window.parent.postMessage({channel:r,type:i.type,message:i.message.slice(0,300)},"*"):i.type==="snapshot"&&s(i.snapshot)&&window.parent.postMessage({channel:r,type:"snapshot",snapshot:i.snapshot},"*")}}}),window.addEventListener("DOMContentLoaded",()=>{o.srcdoc=t,document.body.append(o)},{once:!0})}function g0(r,t,n,a,s,o,c,l){const f=document.implementation.createHTMLDocument(""),i=f.createElement("template");i.innerHTML=n,f.body.append(i.content);const p=Q=>{Q.querySelectorAll("meta, base, link, iframe, frame, frameset, object, embed").forEach($=>$.remove()),Q.querySelectorAll("template").forEach($=>p($.content)),Q.querySelectorAll("a, area").forEach($=>{for(const Ie of["href","xlink:href"])$.getAttribute(Ie)?.startsWith("#")||$.removeAttribute(Ie);$.removeAttribute("target"),$.removeAttribute("ping"),$.removeAttribute("download")})};p(f);const g=Q=>JSON.stringify(Q).replace(/</g,"\\u003c"),T=f.createElement("meta");T.httpEquiv="Content-Security-Policy",T.content=r.csp;const b=f.createElement("meta");b.setAttribute("charset","utf-8");const h=f.createElement("style"),P=/^data:[\w.+/-]+;base64,[A-Za-z0-9+/=]+$/.test(l)?`@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900;
261
261
  font-display: swap; src: url('${l}') format('woff2'); }`:"";h.textContent=`${P}${r.styles}`;const A=f.createElement("script"),B=g([a,s,r.maxScrollDelta,r.lockHeight,t(c)?c:null]);A.textContent=`(${r.bridge})(...${B}, (${r.validate}));`,f.head.prepend(T,b,h,A);const F=`<!doctype html>${f.documentElement.outerHTML}`,O=document.implementation.createHTMLDocument(""),N=O.createElement("meta");N.httpEquiv="Content-Security-Policy",N.content=r.csp.replace("frame-src 'none'","frame-src about:");const U=O.createElement("meta");U.setAttribute("charset","utf-8");const C=O.createElement("style");C.textContent="html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }";const z=O.createElement("script"),J=g([a,F,o,r.maxScrollDelta]);return z.textContent=`(${r.shell})(...${J}, (${r.validate}));`,O.head.prepend(N,U,C,z),`<!doctype html>${O.documentElement.outerHTML}`}const v0=()=>({csp:u0,styles:l0,maxScrollDelta:Fu,lockHeight:d0,bridge:f0.toString(),shell:p0.toString(),validate:Si.toString()});function m0(r,t,n,a,s=null,o=""){return g0(v0(),Si,r,t,n,a,s,o)}function Oc(r){const t=getComputedStyle(r);return{dark:document.documentElement.classList.contains("dark"),variables:{...Object.fromEntries(c0.map(n=>[`--${n}`,t.getPropertyValue(`--${n}`).trim()])),"--inline-html-root-font-size":getComputedStyle(document.documentElement).fontSize}}}function h0(r,t,n,a,s=null){return m0(r,t,n,a,s,i0)}var b0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground"> </p>'),y0=S('<div class="type-body flex items-center justify-between gap-3 px-4 py-2" role="status"><span class="text-danger"> </span> <!></div> <!>',1),_0=S('<p class="sr-only" role="status"> </p>'),x0=S('<p class="type-body m-0 px-4 py-3 text-muted-foreground" role="status"> </p>'),w0=S('<div class="type-body px-4 py-2 text-danger" role="status"><p class="m-0"> </p> <p class="type-code m-0 break-words"> </p></div>'),k0=S('<iframe sandbox="allow-scripts" referrerpolicy="no-referrer"></iframe>'),S0=S('<div class="space-y-4 p-4" aria-hidden="true"><div class="space-y-2"><!> <!></div> <!> <div class="flex items-center gap-4"><!> <!> <!></div></div>'),I0=S('<span class="type-caption ml-auto text-muted-foreground" role="status"> </span>'),C0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground" role="status"> <!></p>'),E0=S('<th class="min-w-40 px-2 pb-3 align-top font-normal"><!> <div class="mt-1 flex gap-1"><!> <!></div></th>'),P0=S('<td class="max-w-56 px-2 py-2 align-top break-words tabular-nums"> </td>'),A0=S('<tr><th class="max-w-48 py-2 pr-4 align-top font-normal break-words text-muted-foreground"> </th><!></tr>'),T0=S('<div class="overflow-x-auto px-4 pb-4" data-inline-visual-comparison=""><table class="type-body w-full border-separate border-spacing-0 text-left"><thead><tr><th class="min-w-28 pr-4 pb-3 font-normal text-muted-foreground"> </th><th class="min-w-32 px-2 pb-3 align-top font-medium"> </th><!></tr></thead><tbody></tbody></table></div>'),R0=S('<div class="flex flex-wrap items-center gap-1 px-4 py-2" data-inline-visual-actions=""><!> <!> <!> <!> <!></div> <!> <!>',1),L0=S('<div data-inline-html="" class="my-3 min-w-0 overflow-hidden rounded-lg bg-background text-foreground"><div class="flex min-w-0 items-center justify-end gap-1 p-1"><!> <!></div> <!> <!> <div class="relative min-w-0"><!> <!></div> <!></div>');function zu(r,t){if(new.target)return Ft({component:zu,...r});jt(t,!0);const n=720;let a=y(t,"source",7),s=y(t,"isStreaming",7,!1),o=y(t,"isComplete",7,!0),c=y(t,"record",7),l=y(t,"storageStatus",7,"ready"),f=y(t,"onRecordChange",7),i=y(t,"onUseConfiguration",7),p=y(t,"onExport",7),g=y(t,"onRetry",7),T=y(t,"storageError",7),b=y(t,"exportStatus",7),h=y(t,"exportPath",7),P=y(t,"exportError",7),A,B=be(void 0),F=be(!1),O=be(!1),N=be(0),U=be(""),C=be(""),z=be(!1),J=be(""),Q=be(Vr(Ho)),$=be(n),Ie=be(""),le=be(Cl()),se=be(void 0),ue,we=be(void 0),G=be(!1);const pe=u(()=>c()??e(le)),oe=u(()=>l()!=="loading"&&(l()!=="error"||!!e(pe).current)),Ne=u(()=>!s()&&o()&&!!a().trim()&&e(oe)),Le=u(()=>Math.min(Nc,Math.max(Ho,e(Q)))),Se=u(()=>s()||l()==="loading"?"loading":o()?a().trim()?e(J)?"error":e(z)?"ready":"loading":"empty":"incomplete"),_e=u(()=>s()||l()==="loading"||e(Ne)&&!e(z)&&!e(J));function He(Y){const xe={...Y,current:e(se)??Y.current};L(le,xe),f()?.(xe)}function Ue(){const Y=e(se);!Y||e(pe).scenarios.length>=El||(He({...e(pe),scenarios:[...e(pe).scenarios,{id:crypto.randomUUID(),name:Xf({number:pl(e(pe).scenarios.length+1)}),snapshot:structuredClone(Y)}]}),L(G,!0))}function ie(Y,xe){const Ke=xe.trim().slice(0,120);Ke&&He({...e(pe),scenarios:e(pe).scenarios.map(rt=>rt.id===Y?{...rt,name:Ke}:rt)})}function ee(Y){const xe=structuredClone(Y);L(se,xe),L(we,xe),He({...e(pe),current:xe}),L(N,e(N)+1)}function Ze(Y){return typeof Y=="number"?pl(Y):typeof Y=="string"?Y:JSON.stringify(Y)}function V(){!e(B)?.contentWindow||!e(C)||e(B).contentWindow.postMessage({channel:e(C),type:"theme",theme:Oc(A)},"*")}function K(Y){let xe=A.parentElement;for(;xe;){const Ke=getComputedStyle(xe),rt=xe.scrollHeight-xe.clientHeight;if(/^(auto|scroll|overlay)$/.test(Ke.overflowY)&&rt>1){if(Y<0?xe.scrollTop>0:xe.scrollTop<rt){xe.dispatchEvent(new WheelEvent("wheel",{deltaY:Y,bubbles:!0})),xe.scrollTop+=Y;return}if(/^(contain|none)$/.test(Ke.overscrollBehaviorY))return}xe=xe.parentElement}window.scrollBy({top:Y,behavior:"instant"})}It(()=>{if(!e(F))return;const Y=a(),xe=e(Ne);e(N),En(()=>{ue!==Y&&(L(le,Cl()),L(se,void 0),L(G,!1),L(we,void 0),ue=Y),L(z,!1),L(J,""),L(Ie,""),L(Q,Ho,!0),L(C,crypto.randomUUID(),!0),L(U,xe?h0(Y,e(C),Oc(A),dl(),e(we)??e(se)??e(pe).current):"",!0),L(we,void 0)})}),Es(()=>{L(F,!0);const Y=ht=>{if(ht.source!==e(B)?.contentWindow||ht.origin!=="null")return;const je=ht.data;if(!(!je||typeof je!="object"||je.channel!==e(C)))if(je.type==="resize"&&typeof je.height=="number"&&Number.isFinite(je.height)&&je.height>=0)L(Q,Math.min(Nc,Math.ceil(je.height)),!0);else if(je.type==="ready")L(z,!0),V();else if(je.type==="error"&&typeof je.message=="string")L(J,je.message.slice(0,300),!0);else if(je.type==="layout"&&typeof je.message=="string")L(Ie,je.message.slice(0,300),!0);else if(je.type==="snapshot"&&e(Ne)&&Si(je.snapshot)){const vt=je.snapshot;L(se,vt),He({...e(pe),current:vt})}else je.type==="wheel"&&e(z)&&e(Ne)&&!e(O)&&!e(_e)&&typeof je.deltaY=="number"&&Number.isFinite(je.deltaY)&&je.deltaY!==0&&Math.abs(je.deltaY)<=Fu&&K(je.deltaY)},xe=()=>{L($,Math.min(n,Math.max(160,Math.floor(window.innerHeight*.8))),!0)},Ke=new MutationObserver(V);Ke.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]});const rt=window.matchMedia("(prefers-color-scheme: dark)");return rt.addEventListener("change",V),window.addEventListener("message",Y),window.addEventListener("resize",xe),xe(),()=>{Ke.disconnect(),rt.removeEventListener("change",V),window.removeEventListener("message",Y),window.removeEventListener("resize",xe)}});var W={get source(){return a()},set source(Y){a(Y),_()},get isStreaming(){return s()},set isStreaming(Y=!1){s(Y),_()},get isComplete(){return o()},set isComplete(Y=!0){o(Y),_()},get record(){return c()},set record(Y){c(Y),_()},get storageStatus(){return l()},set storageStatus(Y="ready"){l(Y),_()},get onRecordChange(){return f()},set onRecordChange(Y){f(Y),_()},get onUseConfiguration(){return i()},set onUseConfiguration(Y){i(Y),_()},get onExport(){return p()},set onExport(Y){p(Y),_()},get onRetry(){return g()},set onRetry(Y){g(Y),_()},get storageError(){return T()},set storageError(Y){T(Y),_()},get exportStatus(){return b()},set exportStatus(Y){b(Y),_()},get exportPath(){return h()},set exportPath(Y){h(Y),_()},get exportError(){return P()},set exportError(Y){P(Y),_()},$set:zt,$on:(Y,xe)=>Ht(t,Y,xe)},ae=L0(),Ce=I(ae),Z=I(Ce);bt(Z,{variant:"ghost",size:"sm",get active(){return e(O)},get"aria-pressed"(){return e(O)},onclick:()=>{L(O,!e(O))},children:(Y,xe)=>{tr();var Ke=Mt();k(rt=>x(Ke,rt),[()=>e(O)?Hf():jf()]),d(Y,Ke)},$$slots:{default:!0}});var de=m(Z,2);{let Y=u(()=>!e(Ne));bt(de,{variant:"ghost",size:"sm",get disabled(){return e(Y)},onclick:()=>{L(N,e(N)+1)},children:(xe,Ke)=>{tr();var rt=Mt();k(ht=>x(rt,ht),[()=>Wf()]),d(xe,rt)},$$slots:{default:!0}})}w(Ce);var Ae=m(Ce,2);{var Fe=Y=>{var xe=y0(),Ke=qe(xe),rt=I(Ke),ht=R(rt,!0),je=m(rt,2);{var vt=ct=>{bt(ct,{variant:"ghost",size:"sm",get onclick(){return g()},children:(Ut,qt)=>{tr();var Zt=Mt();k(_t=>x(Zt,_t),[()=>Zf()]),d(Ut,Zt)},$$slots:{default:!0}})};D(je,ct=>{g()&&ct(vt)})}w(Ke);var ot=m(Ke,2);{var it=ct=>{var Ut=b0(),qt=R(Ut,!0);k(()=>x(qt,T())),d(ct,Ut)};D(ot,ct=>{T()&&ct(it)})}k(ct=>x(ht,ct),[()=>Uf()]),d(Y,xe)};D(Ae,Y=>{l()==="error"&&Y(Fe)})}var tt=m(Ae,2);{var ge=Y=>{var xe=_0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>s()?qf():Vf()]),d(Y,xe)},Oe=Y=>{var xe=x0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>o()?Gf():Kf()]),d(Y,xe)},q=Y=>{var xe=w0(),Ke=I(xe),rt=R(Ke,!0),ht=m(Ke,2),je=R(ht,!0);w(xe),k(vt=>{x(rt,vt),x(je,e(J))},[()=>Jf()]),d(Y,xe)};D(tt,Y=>{e(_e)?Y(ge):e(Ne)?e(J)&&Y(q,2):Y(Oe,1)})}var Me=m(tt,2),ve=I(Me);{var M=Y=>{var xe=k0();let Ke,rt;vr(xe,ht=>L(B,ht),()=>e(B)),k(ht=>{ne(xe,"title",ht),ne(xe,"srcdoc",e(U)),Ke=gt(xe,1,"block w-full border-0 svelte-1kkow1d",null,Ke,{"preview-hidden":e(O)||e(_e)}),ne(xe,"aria-hidden",e(O)||e(_e)),rt=An(xe,"",rt,{height:`${e(Le)}px`})},[()=>dl()]),d(Y,xe)};D(ve,Y=>{e(Ne)&&e(U)&&Y(M)})}var H=m(ve,2);{var me=Y=>{aa(Y,{get code(){return a()},language:"html",noBorder:!0,noMargin:!0,get maxHeight(){return e($)}})},Qe=Y=>{var xe=S0(),Ke=I(xe),rt=I(Ke);Ja(rt,{class:"h-4 w-32 max-w-1/2"});var ht=m(rt,2);Ja(ht,{class:"h-3 w-2/3"}),w(Ke);var je=m(Ke,2);Ja(je,{class:"aspect-video max-h-60 w-full rounded-lg"});var vt=m(je,2),ot=I(vt);Ja(ot,{class:"h-3 w-16"});var it=m(ot,2);Ja(it,{class:"h-2 min-w-0 flex-1"});var ct=m(it,2);Ja(ct,{class:"h-3 w-10"}),w(vt),w(xe),d(Y,xe)};D(H,Y=>{e(O)?Y(me):e(_e)&&Y(Qe,1)})}w(Me);var Te=m(Me,2);{var ze=Y=>{var xe=R0(),Ke=qe(xe),rt=I(Ke);{var ht=Ct=>{{let Yt=u(()=>!e(z)||!!e(J));bt(Ct,{size:"sm",get disabled(){return e(Yt)},onclick:()=>e(se)&&i()(e(se)),children:(At,he)=>{tr();var re=Mt();k(Ve=>x(re,Ve),[()=>Qf()]),d(At,re)},$$slots:{default:!0}})}};D(rt,Ct=>{i()&&Ct(ht)})}var je=m(rt,2);{let Ct=u(()=>!e(z)||!!e(J)||e(pe).scenarios.length>=El);bt(je,{variant:"ghost",size:"sm",get disabled(){return e(Ct)},onclick:Ue,children:(Yt,At)=>{tr();var he=Mt();k(re=>x(he,re),[()=>Yf()]),d(Yt,he)},$$slots:{default:!0}})}var vt=m(je,2);{var ot=Ct=>{bt(Ct,{variant:"ghost",size:"sm",get active(){return e(G)},get"aria-expanded"(){return e(G)},onclick:()=>L(G,!e(G)),children:(Yt,At)=>{tr();var he=Mt();k(re=>x(he,re),[()=>$f()]),d(Yt,he)},$$slots:{default:!0}})};D(vt,Ct=>{e(pe).scenarios.length&&Ct(ot)})}var it=m(vt,2);{var ct=Ct=>{{let Yt=u(()=>!e(z)||b()==="saving");bt(Ct,{variant:"ghost",size:"sm",get disabled(){return e(Yt)},onclick:()=>p()({...e(pe),current:e(se)??null}),children:(At,he)=>{tr();var re=Mt();k(Ve=>x(re,Ve),[()=>ep()]),d(At,re)},$$slots:{default:!0}})}};D(it,Ct=>{p()&&Ct(ct)})}var Ut=m(it,2);{var qt=Ct=>{var Yt=I0(),At=R(Yt,!0);k(he=>x(At,he),[()=>l()==="saving"?tp():l()==="ready"?rp():""]),d(Ct,Yt)};D(Ut,Ct=>{f()&&Ct(qt)})}w(Ke);var Zt=m(Ke,2);{var _t=Ct=>{var Yt=C0(),At=I(Yt),he=m(At);{var re=Ve=>{var nt=Mt();k(()=>x(nt,P())),d(Ve,nt)};D(he,Ve=>{b()==="error"&&P()&&Ve(re)})}w(Yt),k(Ve=>x(At,`${Ve??""} `),[()=>b()==="saving"?np():b()==="saved"?ap({path:h()??""}):sp()]),d(Ct,Yt)};D(Zt,Ct=>{b()&&Ct(_t)})}var Kt=m(Zt,2);{var Vt=Ct=>{var Yt=T0(),At=I(Yt),he=I(At),re=I(he),Ve=I(re),nt=R(Ve,!0),dt=m(Ve),We=R(dt,!0),X=m(dt);Lt(X,17,()=>e(pe).scenarios,ce=>ce.id,(ce,Pe)=>{var Ee=E0(),Be=I(Ee);{let ke=u(()=>lp());$a(Be,{get value(){return e(Pe).name},get"aria-label"(){return e(ke)},maxlength:120,onblur:$e=>{$e.currentTarget.value.trim()||($e.currentTarget.value=e(Pe).name),ie(e(Pe).id,$e.currentTarget.value)},onkeydown:$e=>{$e.key==="Enter"&&$e.currentTarget.blur(),$e.key==="Escape"&&($e.currentTarget.value=e(Pe).name,$e.currentTarget.blur())}})}var De=m(Be,2),Ge=I(De);bt(Ge,{variant:"ghost",size:"sm",onclick:()=>ee(e(Pe).snapshot),children:(ke,$e)=>{tr();var Je=Mt();k(et=>x(Je,et),[()=>op()]),d(ke,Je)},$$slots:{default:!0}});var Ye=m(Ge,2);bt(Ye,{variant:"ghost",size:"sm",onclick:()=>He({...e(pe),scenarios:e(pe).scenarios.filter(ke=>ke.id!==e(Pe).id)}),children:(ke,$e)=>{tr();var Je=Mt();k(et=>x(Je,et),[()=>ip()]),d(ke,Je)},$$slots:{default:!0}}),w(De),w(Ee),d(ce,Ee)}),w(re),w(he);var fe=m(he);Lt(fe,20,()=>["inputs","results"],Mr,(ce,Pe)=>{const Ee=u(()=>Pe),Be=u(()=>Array.from(new Set([...Object.keys(e(se)[e(Ee)]),...e(pe).scenarios.flatMap(Ye=>Object.keys(Ye.snapshot[e(Ee)]))])));var De=wt(),Ge=qe(De);Lt(Ge,16,()=>e(Be),Ye=>Ye,(Ye,ke)=>{var $e=A0(),Je=I($e),et=R(Je,!0),st=m(Je);Lt(st,17,()=>[e(se),...e(pe).scenarios.map(at=>at.snapshot)],Mr,(at,ut)=>{var kt=P0(),mt=R(kt,!0);k(Ot=>x(mt,Ot),[()=>Object.hasOwn(e(ut)[e(Ee)],ke)?Ze(e(ut)[e(Ee)][ke]):"—"]),d(at,kt)}),w($e),k(()=>x(et,ke)),d(Ye,$e)}),d(ce,De)}),w(fe),w(At),w(Yt),k(ce=>{x(nt,e(se).title),x(We,ce)},[()=>cp()]),d(Ct,Yt)};D(Kt,Ct=>{e(G)&&e(pe).scenarios.length&&Ct(Vt)})}d(Y,xe)};D(Te,Y=>{e(se)&&e(Ne)&&Y(ze)})}return w(ae),vr(ae,Y=>A=Y,()=>A),k(()=>{ne(ae,"data-inline-html-status",e(Se)),ne(ae,"data-inline-html-layout",e(Ie)?"viewport-locked":void 0),ne(ae,"aria-busy",e(_e))}),d(r,ae),Wt(W)}var M0=S('<div class="w-full min-w-0"><!></div>');function N0(r,t){if(new.target)return Ft({component:N0,...r});jt(t,!0);const n=()=>St(e(b),"$agent$",s),a=()=>St(e(B),"$entry$",s),[s,o]=ia();let c=y(t,"block",7),l=y(t,"role",7),f=y(t,"workspaceId",7),i=y(t,"agentId",7),p=y(t,"messageId",7),g=y(t,"contentBlockKey",7,""),T=be(void 0);const b=u(()=>ao(i()??"")),h=u(()=>l()==="assistant"&&f()&&i()&&p()&&c().metadata?.fenceClosed&&!c().metadata?.isStreaming&&n()&&!xd(n())?{workspaceId:f(),agentId:i(),messageId:p(),blockKey:JSON.stringify([g(),c().metadata?.fenceStart??0]),source:c().content}:void 0),P=u(()=>!!(f()&&i()&&p()&&c().metadata?.fenceClosed&&!n())),A=u(()=>e(h)?rv(e(h)):""),B=u(()=>Fm(e(A)));It(()=>{e(h)&&Nt.dispatch(Qg(e(h)))});function F(Q){!f()||!i()||n()?.retiredAt||e(T)?.dispatchEvent(new CustomEvent($h,{bubbles:!0,detail:{workspaceId:f(),agentId:i(),snapshot:Q}}))}var O={get block(){return c()},set block(Q){c(Q),_()},get role(){return l()},set role(Q){l(Q),_()},get workspaceId(){return f()},set workspaceId(Q){f(Q),_()},get agentId(){return i()},set agentId(Q){i(Q),_()},get messageId(){return p()},set messageId(Q){p(Q),_()},get contentBlockKey(){return g()},set contentBlockKey(Q=""){g(Q),_()},$set:zt,$on:(Q,$)=>Ht(t,Q,$)},N=wt(),U=qe(N);{var C=Q=>{var $=M0(),Ie=I($);{let le=u(()=>c().metadata?.isStreaming??!1),se=u(()=>c().metadata?.fenceClosed??!1),ue=u(()=>a()?.record),we=u(()=>e(h)?a()?.status??"loading":e(P)?"loading":"ready"),G=u(()=>a()?.error),pe=u(()=>e(h)?Ue=>Nt.dispatch(tv(e(A),Ue)):void 0),oe=u(()=>f()&&i()&&n()&&!n().retiredAt?F:void 0),Ne=u(()=>e(h)?()=>Nt.dispatch(ev(e(A))):void 0),Le=u(()=>e(h)?Ue=>Nt.dispatch($g(e(A),crypto.randomUUID(),Ue)):void 0),Se=u(()=>a()?.export?.status),_e=u(()=>a()?.export?.path),He=u(()=>a()?.export?.error);zu(Ie,{get source(){return c().content},get isStreaming(){return e(le)},get isComplete(){return e(se)},get record(){return e(ue)},get storageStatus(){return e(we)},get storageError(){return e(G)},get onRecordChange(){return e(pe)},get onUseConfiguration(){return e(oe)},get onRetry(){return e(Ne)},get onExport(){return e(Le)},get exportStatus(){return e(Se)},get exportPath(){return e(_e)},get exportError(){return e(He)}})}w($),vr($,le=>L(T,le),()=>e(T)),d(Q,$)},z=Q=>{aa(Q,{get code(){return c().content},language:"html"})};D(U,Q=>{l()==="assistant"?Q(C):Q(z,-1)})}d(r,N);var J=Wt(O);return o(),J}var O0=S('<div class="digest-card flex items-start gap-2.5 py-5 px-6 my-4 shadow-xs text-base leading-normal border border-border"> </div>');function D0(r,t){if(new.target)return Ft({component:D0,...r});jt(t,!0);let n=y(t,"digest",7);var a={get digest(){return n()},set digest(c){n(c),_()},$set:zt,$on:(c,l)=>Ht(t,c,l)},s=O0(),o=R(s,!0);return k(()=>x(o,n())),d(r,s),Wt(a)}var B0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-blue-500/15 text-blue-600 dark:text-blue-400"> </span>'),F0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground"> </span>'),z0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-primary/10 text-primary/80"> </span>'),H0=S('<div class="flex items-start gap-3 px-4 py-2.5"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 flex-wrap"><span class="text-sm font-semibold text-foreground"> </span> <!> <!></div> <div class="mt-0.5 text-xs font-mono text-muted-foreground truncate"> </div></div></div>'),j0=S('<div class="detected-scripts-card my-3 rounded-lg border border-border bg-muted/30 overflow-hidden"><div class="flex items-center gap-2 px-4 py-2.5 border-b border-border bg-muted/40"><!> <span class="text-sm font-semibold text-foreground"> </span></div> <div class="divide-y divide-border"></div> <div class="px-4 py-2 border-t border-border bg-muted/20"><span class="text-xs text-muted-foreground"> </span></div></div>');function W0(r,t){if(new.target)return Ft({component:W0,...r});jt(t,!0);let n=y(t,"scripts",7);var a={get scripts(){return n()},set scripts(b){n(b),_()},$set:zt,$on:(b,h)=>Ht(t,b,h)},s=j0(),o=I(s),c=I(o);Pt(c,{get icon(){return od},size:"sm",class:"text-primary-ink/70"});var l=m(c,2),f=R(l,!0);w(o);var i=m(o,2);Lt(i,21,n,b=>b.name+b.command,(b,h)=>{var P=H0(),A=I(P),B=I(A),F=I(B),O=R(F,!0),N=m(F,2);{var U=Ie=>{var le=B0(),se=R(le,!0);k(ue=>x(se,ue),[()=>v.chat_detectedScripts_service_badge()]),d(Ie,le)},C=Ie=>{var le=F0(),se=R(le,!0);k(ue=>x(se,ue),[()=>v.chat_detectedScripts_command_badge()]),d(Ie,le)};D(N,Ie=>{e(h).mode==="service"?Ie(U):Ie(C,-1)})}var z=m(N,2);{var J=Ie=>{var le=z0(),se=R(le,!0);k(()=>x(se,e(h).category)),d(Ie,le)};D(z,Ie=>{e(h).category&&e(h).category!=="other"&&Ie(J)})}w(B);var Q=m(B,2),$=R(Q,!0);w(A),w(P),k(()=>{x(O,e(h).name),x($,e(h).command)}),d(b,P)}),w(i);var p=m(i,2),g=I(p),T=R(g,!0);return w(p),w(s),k((b,h)=>{x(f,b),x(T,h)},[()=>v.chat_detectedScripts_title(),()=>n().length===1?v.chat_detectedScripts_count_one({count:or(n().length)}):v.chat_detectedScripts_count_many({count:or(n().length)})]),d(r,s),Wt(a)}function U0(r,t){if(new.target)return Ft({component:U0,...r});jt(t,!0);let n=y(t,"diff",7),a=y(t,"filePath",7),s=y(t,"language",7),o=y(t,"onApply",7),c=y(t,"onReject",7);function l(){o()?.(),na.success(v.chat_diffViewer_applied_toast())}function f(){c()?.(),na.info(v.chat_diffViewer_rejected_toast())}const i=u(()=>{const g=[];return o()&&g.push({label:v.chat_diffViewer_apply_label(),variant:"success",onClick:l}),c()&&g.push({label:v.chat_diffViewer_reject_label(),variant:"danger",onClick:f}),g});var p={get diff(){return n()},set diff(g){n(g),_()},get filePath(){return a()},set filePath(g){a(g),_()},get language(){return s()},set language(g){s(g),_()},get onApply(){return o()},set onApply(g){o(g),_()},get onReject(){return c()},set onReject(g){c(g),_()},$set:zt,$on:(g,T)=>Ht(t,g,T)};{let g=u(()=>a()||v.chat_diffViewer_suggestedChanges_fallback());_s(r,{get patch(){return n()},get fileName(){return e(g)},get language(){return s()},get actions(){return e(i)},collapsible:!0,initialCollapsed:!1,maxHeight:"500px"})}return Wt(p)}var q0=wa('<circle fill="none" style="transition: stroke-dasharray 0.3s ease-out"></circle>'),Dc=wa("<circle></circle>"),V0=wa('<svg class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 fill-background" viewBox="0 0 8 6"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69471 1.69471C7.87687 1.50611 7.97766 1.25351 7.97539 0.991311C7.97311 0.729114 7.86794 0.478302 7.68253 0.292894C7.49712 0.107485 7.24631 0.00231622 6.98411 3.78025e-05C6.72192 -0.00224062 6.46931 0.0985542 6.28071 0.280712L2.98771 3.57371L1.69471 2.28071C1.50611 2.09855 1.25351 1.99776 0.991311 2.00004C0.729114 2.00232 0.478302 2.10749 0.292894 2.29289C0.107485 2.4783 0.00231622 2.72911 3.78025e-05 2.99131C-0.00224062 3.25351 0.0985542 3.50611 0.280712 3.69471L2.28071 5.69471C2.46824 5.88218 2.72255 5.9875 2.98771 5.9875C3.25288 5.9875 3.50718 5.88218 3.69471 5.69471L7.69471 1.69471Z"></path></svg>'),K0=S('<div class="relative"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><circle fill="none"></circle><!></svg> <!></div>');function qs(r,t){if(new.target)return Ft({component:qs,...r});jt(t,!0);let n=y(t,"phase",7),a=y(t,"progress",7,0),s=y(t,"size",7,16),o=y(t,"class",7,""),c=u(()=>s()/2),l=u(()=>e(c)),f=u(()=>e(c)),i=u(()=>s()*.12),p=u(()=>e(c)-e(i)/2),g=u(()=>e(c)*.35),T=u(()=>2*Math.PI*e(g)),b=u(()=>Math.max(0,Math.min(1,a()))*e(T));const h={planning:"#99999999",building:"#54B1F3",reviewing:"#6D7FF5",shipped:"var(--color-foreground)"};let P=u(()=>h[n()]||"currentColor");var A={get phase(){return n()},set phase(le){n(le),_()},get progress(){return a()},set progress(le=0){a(le),_()},get size(){return s()},set size(le=16){s(le),_()},get class(){return o()},set class(le=""){o(le),_()},$set:zt,$on:(le,se)=>Ht(t,le,se)},B=K0(),F=I(B),O=I(F),N=m(O);{var U=le=>{},C=le=>{var se=q0();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(g)*.8),ne(se,"stroke",e(P)),ne(se,"stroke-width",e(g)*1.5),ne(se,"stroke-dasharray",`${e(b)??""} ${e(T)??""}`),ne(se,"stroke-dashoffset",e(T)*.25),ne(se,"transform",`rotate(-90 ${e(l)??""} ${e(f)??""})`)}),d(le,se)},z=le=>{var se=Dc();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(p)*.6),ne(se,"fill",e(P))}),d(le,se)},J=le=>{var se=Dc();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(p)),ne(se,"fill",e(P))}),d(le,se)};D(N,le=>{n()==="planning"?le(U):n()==="building"?le(C,1):n()==="reviewing"?le(z,2):n()==="shipped"&&le(J,3)})}w(F);var Q=m(F,2);{var $=le=>{},Ie=le=>{var se=V0();k(()=>ne(se,"width",s()*.5)),d(le,se)};D(Q,le=>{n()==="reviewing"?le($):n()==="shipped"&&le(Ie,1)})}return w(B),k(()=>{ne(F,"width",s()),ne(F,"height",s()),ne(F,"viewBox",`0 0 ${s()??""} ${s()??""}`),gt(F,0,dr(o())),ne(O,"cx",e(l)),ne(O,"cy",e(f)),ne(O,"r",e(p)),ne(O,"stroke",e(P)),ne(O,"stroke-width",e(i))}),d(r,B),Wt(A)}var Bc=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full"></span> </span>'),G0=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full bg-border"></span> </span>'),Fc=S('<span class="text-ui text-subtle truncate"> </span>'),zc=S('<div class="flex items-center gap-1 mt-0.5"><!> <!></div>'),Hc=S('<div class="flex items-start gap-2"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-xs leading-snug truncate"> </div> <!></div></div>'),J0=S('<div class="flex items-center gap-2"><div class="shrink-0"><!></div> <span class="text-ui text-subtle truncate line-through"> </span></div>'),Y0=S('<span class="text-ui text-subtle pl-4"> </span>'),X0=S('<div class="flex flex-col gap-0.5 pt-1 border-t border-border"><!> <!></div>'),Z0=S('<div class="text-ui text-subtle"> </div>'),Q0=S("<!> <!> <!> <!>",1),$0=S('<div class="flex flex-col py-2 px-3 gap-2 max-h-80 overflow-y-auto"><div class="flex items-center justify-between gap-3"><span class="text-xs font-semibold text-foreground"> </span> <div class="flex items-center gap-3 text-ui text-subtle"><!> <!> <!></div></div> <!></div>'),ek=S('<div class="rounded-[0.5px]"></div>');function Hu(r,t){if(new.target)return Ft({component:Hu,...r});jt(t,!0);let n=y(t,"stats",7),a=y(t,"tasks",23,()=>[]),s=y(t,"maxBars",7,20),o=y(t,"barWidth",7,"1px"),c=y(t,"barHeight",7,"16px"),l=y(t,"gap",7,"1px"),f=y(t,"class",7);const i={completed:"#22c55e",inProgress:"#4F7BF7",notStarted:"var(--border)"};let p=u(()=>{const{completed:N,inProgress:U,notStarted:C,total:z}=n();if(z===0)return[];const J=[...Array(N).fill("completed"),...Array(U).fill("inProgress"),...Array(Math.max(0,C)).fill("notStarted")];return J.length<=s()?J:J.slice(J.length-s())}),g=u(()=>a().filter(N=>N.status==="complete")),T=u(()=>a().filter(N=>N.status==="in_progress"||N.status==="review_required")),b=u(()=>a().filter(N=>N.status!=="complete"&&N.status!=="in_progress"&&N.status!=="review_required"&&N.status!=="cancelled")),h=u(()=>a().filter(N=>N.status==="cancelled")),P=u(()=>a().length>0);var A={get stats(){return n()},set stats(N){n(N),_()},get tasks(){return a()},set tasks(N=[]){a(N),_()},get maxBars(){return s()},set maxBars(N=20){s(N),_()},get barWidth(){return o()},set barWidth(N="1px"){o(N),_()},get barHeight(){return c()},set barHeight(N="16px"){c(N),_()},get gap(){return l()},set gap(N="1px"){l(N),_()},get class(){return f()},set class(N){f(N),_()},$set:zt,$on:(N,U)=>Ht(t,N,U)},B=wt(),F=qe(B);{var O=N=>{Ko(N,{side:"top",align:"start",sideOffset:6,contentClass:"max-w-xs p-0",delayDuration:200,disableHoverableContent:!1,content:C=>{var z=$0(),J=I(z),Q=I(J),$=R(Q,!0),Ie=m(Q,2),le=I(Ie);{var se=Le=>{var Se=Bc(),_e=I(Se);An(_e,"",{},{"background-color":"#22c55e"});var He=m(_e);w(Se),k(()=>x(He,` ${n().completed??""}`)),d(Le,Se)};D(le,Le=>{n().completed>0&&Le(se)})}var ue=m(le,2);{var we=Le=>{var Se=Bc(),_e=I(Se);An(_e,"",{},{"background-color":"#4F7BF7"});var He=m(_e);w(Se),k(()=>x(He,` ${n().inProgress??""}`)),d(Le,Se)};D(ue,Le=>{n().inProgress>0&&Le(we)})}var G=m(ue,2);{var pe=Le=>{var Se=G0(),_e=m(I(Se));w(Se),k(()=>x(_e,` ${n().notStarted??""}`)),d(Le,Se)};D(G,Le=>{n().notStarted>0&&Le(pe)})}w(Ie),w(J);var oe=m(J,2);{var Ne=Le=>{var Se=Q0(),_e=qe(Se);Lt(_e,17,()=>e(T),Mr,(V,K)=>{var W=Hc(),ae=I(W),Ce=I(ae);Co(Ce,{get status(){return e(K).status},size:14}),w(ae);var Z=m(ae,2),de=I(Z),Ae=R(de,!0),Fe=m(de,2);{var tt=ge=>{var Oe=zc(),q=I(Oe);{let M=u(()=>e(K).agentState||"idle");hl(q,{get agentId(){return e(K).agentId},get state(){return e(M)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=M=>{var H=Fc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(M,H)};D(Me,M=>{e(K).agentName&&M(ve)})}w(Oe),d(ge,Oe)};D(Fe,ge=>{e(K).agentId&&ge(tt)})}w(Z),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var He=m(_e,2);Lt(He,17,()=>e(b),Mr,(V,K)=>{var W=Hc(),ae=I(W),Ce=I(ae);Co(Ce,{get status(){return e(K).status},size:14}),w(ae);var Z=m(ae,2),de=I(Z),Ae=R(de,!0),Fe=m(de,2);{var tt=ge=>{var Oe=zc(),q=I(Oe);{let M=u(()=>e(K).agentState||"idle");hl(q,{get agentId(){return e(K).agentId},get state(){return e(M)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=M=>{var H=Fc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(M,H)};D(Me,M=>{e(K).agentName&&M(ve)})}w(Oe),d(ge,Oe)};D(Fe,ge=>{e(K).agentId&&ge(tt)})}w(Z),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var Ue=m(He,2);{var ie=V=>{var K=X0(),W=I(K);Lt(W,17,()=>e(g).slice(0,3),Mr,(Z,de)=>{var Ae=J0(),Fe=I(Ae),tt=I(Fe);Co(tt,{status:"complete",size:12}),w(Fe);var ge=m(Fe,2),Oe=R(ge,!0);w(Ae),k(()=>x(Oe,e(de).title)),d(Z,Ae)});var ae=m(W,2);{var Ce=Z=>{var de=Y0(),Ae=R(de,!0);k(Fe=>x(Ae,Fe),[()=>v.workspace_taskProgressBar_moreCompleted_label({count:or(e(g).length-3)})]),d(Z,de)};D(ae,Z=>{e(g).length>3&&Z(Ce)})}w(K),d(V,K)};D(Ue,V=>{e(g).length>0&&V(ie)})}var ee=m(Ue,2);{var Ze=V=>{var K=Z0(),W=R(K,!0);k(ae=>x(W,ae),[()=>v.workspace_taskProgressBar_cancelled_label({count:or(e(h).length)})]),d(V,K)};D(ee,V=>{e(h).length>0&&V(Ze)})}d(Le,Se)};D(oe,Le=>{e(P)&&Le(Ne)})}w(z),k(Le=>x($,Le),[()=>v.workspace_taskProgressBar_tasksRatio_label({completed:or(n().completed),total:or(n().total)})]),d(C,z)},children:(C,z)=>{{let J=u(()=>Pn("flex h-auto min-w-0 shrink items-end justify-start cursor-default rounded-none border-0",f())),Q=u(()=>`gap: ${l()}`),$=u(()=>v.workspace_taskProgressBar_tasksRatio_label({completed:or(n().completed),total:or(n().total)}));bt(C,{variant:"plain",type:"button",wrapContent:!1,get class(){return e(J)},get style(){return e(Q)},get"aria-label"(){return e($)},"data-task-progress-trigger":!0,children:(Ie,le)=>{var se=wt(),ue=qe(se);Lt(ue,17,()=>e(p),Mr,(we,G)=>{var pe=ek();let oe;k(()=>oe=An(pe,"",oe,{width:o(),height:c(),"background-color":i[e(G)]})),d(we,pe)}),d(Ie,se)},$$slots:{default:!0}})}},$$slots:{content:!0,default:!0}})};D(F,N=>{n().total>0&&N(O)})}return d(r,B),Wt(A)}function Wi(r,t){if(new.target)return Ft({component:Wi,...r});jt(t,!0);let n=y(t,"items",7),a=y(t,"ariaLabel",7),s=y(t,"open",15,!1),o=y(t,"orientation",7,"vertical"),c=y(t,"selection",7),l=y(t,"class",7,"");const f=u(()=>pg(n(),c(),a()));var i={get items(){return n()},set items(p){n(p),_()},get ariaLabel(){return a()},set ariaLabel(p){a(p),_()},get open(){return s()},set open(p=!1){s(p),_()},get orientation(){return o()},set orientation(p="vertical"){o(p),_()},get selection(){return c()},set selection(p){c(p),_()},get class(){return l()},set class(p=""){l(p),_()},$set:zt,$on:(p,g)=>Ht(t,p,g)};return Em(r,{get actions(){return e(f)},align:"end",get ariaLabel(){return a()},onAction:g=>fg(n(),g)?.onClick(),get open(){return s()},set open(g){s(g)},trigger:(g,T)=>{let b=()=>(T?.()).props;bt(g,yi(b,{variant:"plain",size:"icon-compact",iconOnly:!0,type:"button",get class(){return l()},get"aria-label"(){return a()},onclick:h=>{h.stopPropagation(),b().onclick?.(h)},oncontextmenu:h=>{h.preventDefault(),h.stopPropagation()},children:(h,P)=>{Pm(h,{get orientation(){return o()},class:"size-3.5"})},$$slots:{default:!0}}))},$$slots:{trigger:!0}}),Wt(i)}var tk=S('<span class="contents"><!></span>'),rk=S("<!> <!>",1);function ju(r,t){if(new.target)return Ft({component:ju,...r});jt(t,!0);let n=y(t,"workspaceId",7),a=y(t,"slot",7);const s=u(()=>Wg(a()));let o=be(null);It(()=>{e(o)&&e(o).workspaceId!==n()&&L(o,null)});function c(h){const P=rd(h);P&&L(o,{...P,workspaceId:n()},!0)}function l(h){h.preventDefault(),h.stopPropagation();const P=h.currentTarget.getBoundingClientRect();L(o,{x:P.left,y:P.bottom+2,returnFocus:h.currentTarget,workspaceId:n()},!0)}function f(){L(o,null)}var i={get workspaceId(){return n()},set workspaceId(h){n(h),_()},get slot(){return a()},set slot(h){a(h),_()},$set:zt,$on:(h,P)=>Ht(t,h,P)},p=rk(),g=qe(p);{let h=u(()=>v.workspace_microKeyBadge_ariaLabel({number:or(a()+1)})),P=u(()=>v.workspace_microKeyBadge_tooltip({number:or(a()+1)})),A=u(()=>e(o)!==null);bt(g,{variant:"ghost",size:"icon",type:"button",class:"micro-key-slot-badge size-4 min-w-0 shrink-0 cursor-pointer rounded-[3px] p-0 a11y-ignore",get"aria-label"(){return e(h)},get title(){return e(P)},onclick:l,oncontextmenu:c,onkeydown:c,"aria-haspopup":"menu",get"aria-expanded"(){return e(A)},children:(B,F)=>{var O=tk(),N=I(O);Kp(N,{get slot(){return a()},get class(){return`transition-colors ${e(s)??""}`}}),w(O),d(B,O)},$$slots:{default:!0}})}var T=m(g,2);{var b=h=>{{let P=u(()=>e(o)?.x??0),A=u(()=>e(o)?.y??0),B=u(()=>e(o)?.returnFocus),F=u(()=>v.workspace_card_assignMicroKey_label()),O=u(()=>Th(n(),f));nd(h,{get x(){return e(P)},get y(){return e(A)},get returnFocus(){return e(B)},selection:"single",get ariaLabel(){return e(F)},get items(){return e(O)},onClickOutside:f})}};D(T,h=>{e(o)&&h(b)})}return d(r,p),Wt(i)}var nk=S('<span class="flex size-4 shrink-0 items-center justify-center"><!></span>'),ak=S('<span data-workspace-card-pin-indicator="" aria-hidden="true"><!></span> <span class="sr-only"> </span>',1),sk=S('<span class="type-caption shrink-0 rounded-sm bg-muted-foreground/10 px-1.5 font-normal text-muted-foreground" data-workspace-card-trailing-label=""> </span>'),ok=S('<span data-workspace-card-pr-item=""><!></span>'),ik=S('<span class="flex shrink-0 items-center" data-workspace-card-pr-list=""><!></span>'),lk=S('<span data-workspace-card-time=""><!></span>'),ck=S('<span aria-hidden="true"><!></span>'),dk=S("<div><!> <!> <!> <!></div>"),uk=S('<div data-workspace-card-hover-surface=""><!></div>'),fk=S('<div role="group" data-workspace-card-row=""><!> <div class="relative z-10 flex shrink-0 items-center gap-1.5"><!> <!> <span class="sr-only"> </span></div> <div class="relative z-10 flex min-w-0 flex-1 items-center gap-2"><span class="flex min-w-0 flex-1 items-center gap-1" data-workspace-card-title-group=""><span dir="ltr" data-workspace-card-title=""><span class="wc-title-text svelte-1ct56pd"> </span></span> <!></span> <!> <!> <!></div> <!></div> <!> <!>',1),pk=S('<div class="relative z-10 flex shrink-0 items-center"><!></div>'),gk=S('<div><!> <!> <span class="font-medium truncate"> </span> <span class="shrink-0 text-muted-foreground">·</span> <span class="truncate text-xs text-muted-foreground"> </span> <!></div>'),vk=S('<div class="text-sm font-semibold truncate"> </div>'),jc=S('<span class="truncate"> </span>'),mk=S('<span class="text-muted-foreground">·</span>'),hk=S('<div class="flex items-center gap-1 truncate text-xs text-muted-foreground"><!> <!> <!></div>'),bk=S('<div><!> <!> <div class="flex items-center gap-2 text-xs"><!> <span class="truncate text-muted-foreground"> </span> <span> </span></div> <!></div>'),yk=S('<div class="flex items-center gap-2"><!> <span class="text-ui shrink-0 tabular-nums text-muted-foreground"> </span></div>'),_k=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span> <span class="tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span></div>'),xk=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span></div>'),wk=S('<div class="flex items-center text-ui"><span> </span></div>'),kk=S('<div class="flex flex-col gap-1 px-3 pb-2.5"><!> <!> <!> <!></div>'),Sk=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!></div>'),Ik=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!> <!></div>'),Ck=S('<div role="group"><!> <div class="flex items-start gap-2.5 px-3 pt-3 pb-2"><!> <div class="flex-1 min-w-0"><div class="text-sm font-medium"> </div> <div class="mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground"> </div></div></div> <!> <!></div>');function Wu(r,t){if(new.target)return Ft({component:Wu,...r});jt(t,!0);const n=()=>St(He,"$prMonitors$",c),a=()=>St(Ue,"$microConnected$",c),s=()=>St(ee,"$hidesOwnerActions$",c),o=()=>St(ie,"$workspaceKeySlot$",c),[c,l]=ia();let f=y(t,"workspace",7),i=y(t,"phase",7),p=y(t,"stats",7),g=y(t,"variant",7,"compact"),T=y(t,"showTime",7,!0),b=y(t,"isRunning",7,!1),h=y(t,"isUnread",7,!1),P=y(t,"isWaiting",7),A=y(t,"isPinned",7,!1),B=y(t,"streamingAgentIds",23,()=>[]),F=y(t,"hasSpec",7,!1),O=y(t,"isAgentRunning",7,!1),N=y(t,"agentDigest",7),U=y(t,"trailingLabel",7),C=y(t,"title",7),z=y(t,"repoName",7),J=y(t,"branch",7),Q=y(t,"onClick",7),$=y(t,"onAction",7),Ie=y(t,"onTogglePin",7),le=y(t,"onMarkAsRead",7),se=y(t,"onOpenInNewWindow",7),ue=y(t,"onHover",7),we=y(t,"highlighted",7,!1),G=y(t,"selected",7,!1),pe=y(t,"highlightId",7),oe=y(t,"suppressHover",7,!1),Ne=y(t,"isolateHoverReveal",7,!1),Le=y(t,"class",7),Se=y(t,"actions",7);const _e=Qa("");It(()=>{_e.set(f()?.id??"")});const He=Np(_e),Ue=qh(),ie=_v(_e),ee=Op(_e),Ze=u(()=>Lh(f()??{})),V=u(()=>Mh(e(Ze)));let K=u(()=>f()?Uh.url.pathname===`/workspace/${f().id}`:!1),W=u(()=>f()?`workspace-hover-card-${f().id}`:void 0),ae=be(!1),Ce=be(null),Z=be(null);It(()=>{if(!e(Z))return;const te=Os(e(Z),{id:pe()});return()=>te.destroy()});let de=be(null),Ae=be(null),Fe=be(null),tt=be(0),ge=be(0),Oe=u(()=>e(tt)+(e(ge)>0?e(ge)+4:0));function q(){const te=e(de),pt=e(Fe);L(tt,te?Math.max(0,te.scrollWidth-te.clientWidth):0,!0),L(ge,te&&pt&&pt.getClientRects().length>0?Math.max(0,te.getBoundingClientRect().right-pt.getBoundingClientRect().left):0,!0)}It(()=>{const te=e(de),pt=e(Ae),Dt=e(Fe);if(!te||!pt||(q(),typeof ResizeObserver>"u"))return;const br=new ResizeObserver(q);return br.observe(te),br.observe(pt),Dt&&br.observe(Dt),()=>br.disconnect()});let Me=null,ve=null,M=!1,H=!1,me=!1,Qe=!1,Te=!1,ze=!1,Y=be(!1),xe=!1,Ke=null,rt=be(null),ht=null,je;function vt(){Me!==null&&(clearTimeout(Me),Me=null)}function ot(){ve!==null&&(clearTimeout(ve),ve=null),ht?.(),ht=null}function it(){ot(),L(Y,!0),L(ae,!0),!Te&&(Te=!0,fs.notifyOpened())}function ct(){ot(),clearTimeout(je),L(Y,!1),L(ae,!1),H=!1,Qe=!1,Te&&(Te=!1,fs.notifyClosed())}function Ut(){return M||H||me||Qe}function qt(){if(!e(ae)){ct();return}ot(),ve=setTimeout(()=>{ve=null,Ut()||ct()},Oh),ht=fs.deferClose(ct)}function Zt(){H=!0,ot()}function _t(){H=!1,!me&&!Qe&&qt()}function Kt(){Qe=!0,clearTimeout(je),ot()}function Vt(te){const pt=te.relatedTarget instanceof Node?te.relatedTarget:null;if(pt&&fe()?.contains(pt)||(Qe=!1,pt&&e(Ce)?.contains(pt)))return;if(pt){!M&&!H&&ct();return}const Dt=te.target;clearTimeout(je),je=setTimeout(()=>{const br=document.activeElement,yr=fe()?.contains(br)||e(Ce)?.contains(br);br&&br!==Dt&&yr||!M&&!H&&ct()},0)}function Ct(){Ke!==null&&clearTimeout(Ke),xe=!0,Ke=setTimeout(()=>{xe=!1,Ke=null},0)}function Yt(te){const pt=te.target,Dt=fe();pt instanceof Node&&Dt?.contains(pt)||te.type==="scroll"&&e(Ce)&&pt instanceof Node&&!pt.contains(e(Ce))||(te.type==="pointerdown"&&Ct(),vt(),ct())}It(()=>{if(e(Y))return window.addEventListener("pointerdown",Yt,!0),window.addEventListener("scroll",Yt,!0),()=>{window.removeEventListener("pointerdown",Yt,!0),window.removeEventListener("scroll",Yt,!0)}});function At(te){if(te.key!=="Escape")return;const pt=te.target;pt instanceof Node&&fe()?.contains(pt)||(te.preventDefault(),te.stopPropagation(),ze=me,vt(),ct())}It(()=>{if(e(ae))return window.addEventListener("keydown",At,!0),()=>window.removeEventListener("keydown",At,!0)});const he=u(()=>f()?Bp.select(Nt.state,f().id):null),re=u(()=>e(he)?e(he):f()?.activePullRequest?f().activePullRequest:!f()?.prStatus||f().prNumber==null?null:{id:`legacy-pr-${f().prNumber}`,number:f().prNumber,url:f().prUrl??"",title:v.workspace_hoverCard_pullRequest_label(),status:f().prStatus,createdAt:f().updatedAt,updatedAt:f().updatedAt}),Ve=u(()=>Dp(f())),nt=u(()=>{if(!f()||e(Ve))return[];const te=f(),pt=te.repositoryOwner&&te.repositoryName?`${te.repositoryOwner}/${te.repositoryName}`:void 0;return gg({workspacePRs:te.pullRequests,activePR:e(re),monitors:n(),workspaceRepo:pt,buildPrUrl:(Dt,br)=>sm(Dt,te.repositoryOwner,te.repositoryName,br),getDisplayTitle:Dt=>Dt.title})}),dt=u(()=>e(nt)[0]);function We(te){const pt=te.resource?.repository.provider==="gitlab"?`${te.repo} !${te.number}`:te.repo?v.workspace_card_prBadge_repoLine_tooltip({repo:te.repo,number:te.number}):v.workspace_card_prBadge_label({number:` #${te.number}`});return[Fp(pt,te),te.title,te.details].filter(Boolean).join(`
262
262
  `)}function X(te){te.key==="Enter"&&Q()?.(te)}function fe(){return e(W)?document.getElementById(e(W)):null}function ce(){return Array.from(fe()?.querySelectorAll("button:not(:disabled), a[href]")??[])}function Pe(){const te=e(Ce)?.querySelector("[data-workspace-card-trigger]"),pt=fe();if(!te||!pt)return null;const Dt=Array.from(document.querySelectorAll('button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).filter(yr=>yr.tabIndex>=0&&!pt.contains(yr)),br=Dt.indexOf(te);return br>=0?Dt[br+1]:null}function Ee(te){ze=!!e(Ce)?.contains(te),ct(),te.focus({preventScroll:!0})}function Be(){const te=e(Ce)?.querySelector("[data-workspace-card-trigger]");te&&Ee(te)}async function De(te){if(te.key==="Escape"&&e(ae)){te.preventDefault(),te.stopPropagation(),ct();return}te.key!=="ArrowDown"||oe()||!f()||(te.preventDefault(),te.stopPropagation(),L(Y,!0),L(ae,!0),await Qn(),ce()[0]?.focus({preventScroll:!0}))}function Ge(te){const pt=ce(),Dt=te.key==="Tab"&&te.shiftKey&&te.currentTarget===pt[0],yr=te.key==="Tab"&&!te.shiftKey&&te.currentTarget===pt.at(-1)?Pe():null;te.key!=="Escape"&&!Dt&&!yr||(te.preventDefault(),te.stopPropagation(),yr?Ee(yr):Be())}function Ye(){M=!0,ot(),fs.settleDeferredCloses(),q(),ue()?.(),f()&&!oe()&&!me&&(vt(),L(Y,!0),Me=setTimeout(()=>{Me=null,it()},fs.currentOpenDelay))}function ke(){M=!1,vt(),!me&&!Qe&&qt()}function $e(){me=!0,vt(),ot(),!ze&&(xe||f()&&!oe()&&(L(Y,!0),L(ae,!0)))}function Je(te){const pt=te.relatedTarget instanceof Node?te.relatedTarget:null;pt&&e(Ce)?.contains(pt)||(ze=!1,me=!1,!(pt&&fe()?.contains(pt))&&!M&&!H&&ct())}It(()=>{oe()&&(vt(),ot(),ct())});let et=be(null),st=be(!1),at;It(()=>{const te=f()?.id;at!==te&&(at=te,L(st,!1)),e(et)&&e(et).workspaceId!==f()?.id&&kt()});function ut(te){if(!f())return;const pt=rd(te);if(pt){if(L(st,!1),mt().length===0){L(et,null);return}L(et,{...pt,returnFocus:te.target instanceof HTMLElement?te.target.closest("button")??e(Ce)?.querySelector("button")??null:null,workspaceId:f().id},!0)}}function kt(){L(et,null),L(st,!1)}It(()=>{e(st)&&L(et,null)}),Is(()=>{vt(),ot(),Ke!==null&&(clearTimeout(Ke),Ke=null),ct()});function mt(){if(!f())return[];const te=[];return se()&&te.push({id:"open-new-window",label:v.workspace_card_openNewWindow_label(),icon:cd,onClick:()=>{se()?.(),kt()}}),te.push(...Nh(f().id,{connected:a(),onClose:kt})),s()||(e(Ve)||te.push({id:"transfer",label:v.workspace_card_transfer_label(),icon:Lg,onClick:()=>{Nt.dispatch(nv({workspaceId:f().id,workspaceTitle:f().title})),kt()}}),te.push({id:"archive",label:v.workspace_card_archive_label(),icon:dd,onClick:()=>{Nt.dispatch(wd(f().id)),kt()}}),te.push({id:"delete",label:v.workspace_card_deleteSpace_label(),icon:ud,destructive:!0,onClick:()=>{Nt.dispatch(kd(f().id)),kt()}})),te}let Ot=u(()=>O()&&N()?N():i()?.subtitle??""),Gt=u(()=>p()&&p().tasks.total>0?p().tasks.completed/p().tasks.total:0),$t=u(()=>!!p()&&(p().tasks.total>0||p().files.changed>0||p().commits.total>0||p().pr.hasOpen||p().pr.hasMerged)),fr=u(()=>e(Ve)?void 0:J()),Br=u(()=>!p()||e(Ve)?"":p().pr.hasMerged?v.workspace_card_prMerged_label({number:p().pr.number??""}):p().pr.hasOpen?v.workspace_card_prOpen_label({number:p().pr.number?`#${p().pr.number}`:""}):""),fn=u(()=>i()?.phase==="planning"?O()?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:F()||(p()?.tasks.total??0)>0?{primary:{label:v.workspace_card_approveStart_label(),action:"approve"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:i()?.phase==="building"?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:i()?.phase==="reviewing"?{primary:{label:v.workspace_card_createPr_label(),action:"create-pr"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}}:{primary:{label:v.workspace_card_archive_label(),action:"archive"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}});const Tn={planning:"bg-muted/20 text-muted-foreground",building:"bg-info/15 text-info",reviewing:"bg-primary/15 text-primary",shipped:"bg-foreground/10 text-foreground"};var Fn={get workspace(){return f()},set workspace(te){f(te),_()},get phase(){return i()},set phase(te){i(te),_()},get stats(){return p()},set stats(te){p(te),_()},get variant(){return g()},set variant(te="compact"){g(te),_()},get showTime(){return T()},set showTime(te=!0){T(te),_()},get isRunning(){return b()},set isRunning(te=!1){b(te),_()},get isUnread(){return h()},set isUnread(te=!1){h(te),_()},get isWaiting(){return P()},set isWaiting(te){P(te),_()},get isPinned(){return A()},set isPinned(te=!1){A(te),_()},get streamingAgentIds(){return B()},set streamingAgentIds(te=[]){B(te),_()},get hasSpec(){return F()},set hasSpec(te=!1){F(te),_()},get isAgentRunning(){return O()},set isAgentRunning(te=!1){O(te),_()},get agentDigest(){return N()},set agentDigest(te){N(te),_()},get trailingLabel(){return U()},set trailingLabel(te){U(te),_()},get title(){return C()},set title(te){C(te),_()},get repoName(){return z()},set repoName(te){z(te),_()},get branch(){return J()},set branch(te){J(te),_()},get onClick(){return Q()},set onClick(te){Q(te),_()},get onAction(){return $()},set onAction(te){$(te),_()},get onTogglePin(){return Ie()},set onTogglePin(te){Ie(te),_()},get onMarkAsRead(){return le()},set onMarkAsRead(te){le(te),_()},get onOpenInNewWindow(){return se()},set onOpenInNewWindow(te){se(te),_()},get onHover(){return ue()},set onHover(te){ue(te),_()},get highlighted(){return we()},set highlighted(te=!1){we(te),_()},get selected(){return G()},set selected(te=!1){G(te),_()},get highlightId(){return pe()},set highlightId(te){pe(te),_()},get suppressHover(){return oe()},set suppressHover(te=!1){oe(te),_()},get isolateHoverReveal(){return Ne()},set isolateHoverReveal(te=!1){Ne(te),_()},get class(){return Le()},set class(te){Le(te),_()},get actions(){return Se()},set actions(te){Se(te),_()},$set:zt,$on:(te,pt)=>Ht(t,te,pt)},kn=wt(),ua=qe(kn);{var Ar=te=>{var pt=fk(),Dt=qe(pt);let br;var yr=I(Dt);{let yt=u(()=>f().title||v.workspace_links_untitled_label()),Et=u(()=>`workspace-status-state-${f().id}${A()?` workspace-pinned-state-${f().id}`:""}${e(ae)?` ${e(W)}`:""}`),ur=u(()=>e(K)?"page":void 0);bt(yr,{variant:"plain",class:"absolute inset-0 z-0 h-auto w-auto rounded-md focus-visible:border-transparent focus-visible:bg-background/50 focus-visible:ring-0",get"aria-label"(){return e(yt)},get"aria-describedby"(){return e(Et)},get"aria-current"(){return e(ur)},"data-workspace-card-trigger":!0,onkeydown:De,onclick:_r=>{_r.stopPropagation(),Q()?.(_r)}})}var mn=m(yr,2),jr=I(mn);{var zn=yt=>{var Et=nk(),ur=I(Et);{var _r=Rr=>{ju(Rr,{get workspaceId(){return f().id},get slot(){return o()}})};D(ur,Rr=>{o()!==null&&Rr(_r)})}w(Et),d(yt,Et)};D(jr,yt=>{a()&&yt(zn)})}var Hn=m(jr,2);Ko(Hn,{get content(){return e(V).tooltip},side:"bottom",sideOffset:4,children:(yt,Et)=>{Rh(yt,{get status(){return e(Ze)},size:14,decorative:!0,class:"justify-start"})},$$slots:{default:!0}});var jn=m(Hn,2),Kn=R(jn,!0);w(mn);var Kr=m(mn,2),hn=I(Kr),Jt=I(hn),tn=I(Jt),$n=R(tn,!0);vr(tn,yt=>L(Ae,yt),()=>e(Ae)),w(Jt),vr(Jt,yt=>L(de,yt),()=>e(de));var Pr=m(Jt,2);{var Tr=yt=>{var Et=ak(),ur=qe(Et),_r=I(ur);Pt(_r,{get icon(){return wl},size:"xs"}),w(ur);var Rr=m(ur,2),j=R(Rr,!0);k(Re=>{gt(ur,1,`wc-pin-indicator inline-flex shrink-0 items-center text-muted-foreground transition-opacity
263
- ${Ie()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ne(Rr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Re)},[()=>v.layout_activeCard_pinned_header()]),d(yt,Et)};D(Pr,yt=>{A()&&yt(Tr)})}w(hn);var rn=m(hn,2);{var fa=yt=>{var Et=sk(),ur=R(Et,!0);k(()=>x(ur,U())),d(yt,Et)};D(rn,yt=>{U()&&yt(fa)})}var Gr=m(rn,2);{var Jr=yt=>{const Et=u(()=>e(dt));var ur=ik(),_r=I(ur);{let Rr=u(()=>We(e(Et)));Ko(_r,{get content(){return e(Rr)},side:"bottom",sideOffset:4,children:(j,Re)=>{var ft=wt(),Qt=qe(ft);{var lr=xr=>{{let Ir=u(()=>We(e(Et)));bt(xr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Et).foregroundClass??""}`},get"aria-label"(){return e(Ir)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Et).identity},get"data-pr-status"(){return e(Et).status},onclick:Qr=>{Qr.stopPropagation();const Or=f().id;dp(async()=>{const{handleLink:nn}=await import("./CI-6MxKa.js").then(Gn=>Gn.Q);return{handleLink:nn}},__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,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]),import.meta.url).then(({handleLink:nn})=>nn(e(Et).url,{workspaceId:Or,event:Qr}))},children:(Qr,Or)=>{Pt(Qr,{get icon(){return e(Et).statusIcon},size:14})},$$slots:{default:!0}})}},ar=xr=>{var Ir=ok(),Qr=I(Ir);Pt(Qr,{get icon(){return e(Et).statusIcon},size:14}),w(Ir),k(Or=>{gt(Ir,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Et).foregroundClass??""}`,"svelte-1ct56pd"),ne(Ir,"aria-label",Or),ne(Ir,"data-pr-identity",e(Et).identity),ne(Ir,"data-pr-status",e(Et).status)},[()=>We(e(Et))]),d(xr,Ir)};D(Qt,xr=>{e(Et).url?xr(lr):xr(ar,-1)})}d(j,ft)},$$slots:{default:!0}})}w(ur),k(Rr=>ne(ur,"aria-label",Rr),[()=>e(Et).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(yt,ur)};D(Gr,yt=>{e(dt)&&yt(Jr)})}var Yr=m(Gr,2);{var ea=yt=>{var Et=lk(),ur=I(Et);{var _r=j=>{{let Re=u(()=>Pl(f()));Gp(j,{get date(){return e(Re)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Rr=u(()=>Pl(f())>0);D(ur,j=>{e(Rr)&&j(_r)})}w(Et),k(()=>gt(Et,1,`wc-secondary shrink-0 ${Se()||Ie()||h()&&le()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(yt,Et)};D(Yr,yt=>{T()&&yt(ea)})}w(Kr);var Pa=m(Kr,2);{var Da=yt=>{var Et=dk(),ur=I(Et);{var _r=lr=>{{let ar=u(()=>A()?"text-primary-ink":"text-muted-foreground"),xr=u(()=>A()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),Ir=u(()=>A()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
263
+ ${Ie()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ne(Rr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Re)},[()=>v.layout_activeCard_pinned_header()]),d(yt,Et)};D(Pr,yt=>{A()&&yt(Tr)})}w(hn);var rn=m(hn,2);{var fa=yt=>{var Et=sk(),ur=R(Et,!0);k(()=>x(ur,U())),d(yt,Et)};D(rn,yt=>{U()&&yt(fa)})}var Gr=m(rn,2);{var Jr=yt=>{const Et=u(()=>e(dt));var ur=ik(),_r=I(ur);{let Rr=u(()=>We(e(Et)));Ko(_r,{get content(){return e(Rr)},side:"bottom",sideOffset:4,children:(j,Re)=>{var ft=wt(),Qt=qe(ft);{var lr=xr=>{{let Ir=u(()=>We(e(Et)));bt(xr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Et).foregroundClass??""}`},get"aria-label"(){return e(Ir)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Et).identity},get"data-pr-status"(){return e(Et).status},onclick:Qr=>{Qr.stopPropagation();const Or=f().id;dp(async()=>{const{handleLink:nn}=await import("./H5XG0yyu.js").then(Gn=>Gn.Q);return{handleLink:nn}},__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,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]),import.meta.url).then(({handleLink:nn})=>nn(e(Et).url,{workspaceId:Or,event:Qr}))},children:(Qr,Or)=>{Pt(Qr,{get icon(){return e(Et).statusIcon},size:14})},$$slots:{default:!0}})}},ar=xr=>{var Ir=ok(),Qr=I(Ir);Pt(Qr,{get icon(){return e(Et).statusIcon},size:14}),w(Ir),k(Or=>{gt(Ir,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Et).foregroundClass??""}`,"svelte-1ct56pd"),ne(Ir,"aria-label",Or),ne(Ir,"data-pr-identity",e(Et).identity),ne(Ir,"data-pr-status",e(Et).status)},[()=>We(e(Et))]),d(xr,Ir)};D(Qt,xr=>{e(Et).url?xr(lr):xr(ar,-1)})}d(j,ft)},$$slots:{default:!0}})}w(ur),k(Rr=>ne(ur,"aria-label",Rr),[()=>e(Et).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(yt,ur)};D(Gr,yt=>{e(dt)&&yt(Jr)})}var Yr=m(Gr,2);{var ea=yt=>{var Et=lk(),ur=I(Et);{var _r=j=>{{let Re=u(()=>Pl(f()));Gp(j,{get date(){return e(Re)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Rr=u(()=>Pl(f())>0);D(ur,j=>{e(Rr)&&j(_r)})}w(Et),k(()=>gt(Et,1,`wc-secondary shrink-0 ${Se()||Ie()||h()&&le()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(yt,Et)};D(Yr,yt=>{T()&&yt(ea)})}w(Kr);var Pa=m(Kr,2);{var Da=yt=>{var Et=dk(),ur=I(Et);{var _r=lr=>{{let ar=u(()=>A()?"text-primary-ink":"text-muted-foreground"),xr=u(()=>A()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),Ir=u(()=>A()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
264
264
  ${e(ar)??""}`},onclick:Qr=>{Qr.stopPropagation(),Ie()?.(Qr)},get"aria-label"(){return e(xr)},get title(){return e(Ir)},children:(Qr,Or)=>{var nn=ck(),Gn=I(nn);Pt(Gn,{get icon(){return wl},size:"xs"}),w(nn),d(Qr,nn)},$$slots:{default:!0}})}};D(ur,lr=>{Ie()&&lr(_r)})}var Rr=m(ur,2);{var j=lr=>{{let ar=u(()=>v.workspace_card_markAsRead_label()),xr=u(()=>v.workspace_card_markAsRead_label());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,class:"text-muted-foreground hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0",onclick:Ir=>{Ir.stopPropagation(),le()?.(Ir)},get"aria-label"(){return e(ar)},get title(){return e(xr)},children:(Ir,Qr)=>{Pt(Ir,{get icon(){return fd},size:"xs"})},$$slots:{default:!0}})}};D(Rr,lr=>{h()&&le()&&lr(j)})}var Re=m(Rr,2);vn(Re,()=>Se()??Vs);var ft=m(Re,2);{var Qt=lr=>{{let ar=u(mt),xr=u(()=>v.workspace_progressCard_actions_ariaLabel());Wi(lr,{get items(){return e(ar)},get ariaLabel(){return e(xr)},class:"flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:outline-none",get open(){return e(st)},set open(Ir){L(st,Ir,!0)}})}};D(ft,lr=>{se()&&lr(Qt)})}w(Et),vr(Et,lr=>L(Fe,lr),()=>e(Fe)),k(()=>gt(Et,1,`wc-actions absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center gap-0.5 rounded-md bg-accent/95 px-0.5 focus-within:opacity-100
265
265
  ${Ne()?"group-focus-within/wc:opacity-100":"group-focus-within:opacity-100"}
266
266
  ${we()?"opacity-100":oe()?"opacity-0":Ne()?"opacity-0 group-hover/wc:opacity-100":"opacity-0 group-hover:opacity-100"}`,"svelte-1ct56pd")),d(yt,Et)};D(Pa,yt=>{(Se()||se()||Ie()||h()&&le())&&yt(Da)})}w(Dt),vr(Dt,yt=>L(Ce,yt),()=>e(Ce)),Bn(Dt,(yt,Et)=>Os?.(yt,Et),()=>({id:pe()}));var Xr=m(Dt,2);{var Zr=yt=>{Dh(yt,{get id(){return e(W)},get anchor(){return`--workspace-list-${f().id??""}`},position:"right",get anchorElement(){return e(Ce)},class:"w-auto overflow-visible! rounded-lg border-0! bg-background! shadow-none!",onmouseenter:Zt,onmouseleave:_t,onfocusin:Kt,onfocusout:Vt,children:(Et,ur)=>{var _r=uk(),Rr=I(_r);Bh(Rr,{get workspace(){return f()},get activeAgentIds(){return B()},onkeydown:Ge}),w(_r),vr(_r,j=>L(rt,j),()=>e(rt)),Cn("pointerenter",_r,Zt),Cn("pointerleave",_r,_t),Nr("focusin",_r,Kt),Nr("focusout",_r,Vt),d(Et,_r)},$$slots:{default:!0}})};D(Xr,yt=>{e(ae)&&!oe()&&yt(Zr)})}var bn=m(Xr,2);{var ta=yt=>{const Et=u(mt);var ur=wt(),_r=qe(ur);{var Rr=j=>{{let Re=u(()=>e(et)?.x??0),ft=u(()=>e(et)?.y??0),Qt=u(()=>e(et)?.returnFocus),lr=u(()=>v.workspace_progressCard_actions_ariaLabel());nd(j,{get x(){return e(Re)},get y(){return e(ft)},get returnFocus(){return e(Qt)},get ariaLabel(){return e(lr)},get items(){return e(Et)},onClickOutside:kt})}};D(_r,j=>{e(Et).length>0&&j(Rr)})}d(yt,ur)};D(bn,yt=>{e(et)&&yt(ta)})}k((yt,Et,ur)=>{gt(Dt,1,yt,"svelte-1ct56pd"),ne(Dt,"data-pinned",A()),ne(Dt,"data-highlight-id",pe()),br=An(Dt,"",br,{"anchor-name":`--workspace-list-${f().id??""}`}),ne(jn,"id",`workspace-status-state-${f().id??""}`),x(Kn,e(V).accessibleName),gt(Jt,1,`wc-title type-body min-w-0 truncate font-normal!
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DgDI47Tl.js","/app/immutable/chunks/CcVvQKcJ.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/DozYGPQ1.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/nodes/0.DncqPHfM.js","/app/immutable/chunks/B30Ssr1r.js","/app/immutable/chunks/BBvT7Bb8.js","/app/immutable/chunks/ApbPdiAE.js","/app/immutable/chunks/DYepVMa7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/_p09hiud.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/DZxiqmZj.js","/app/immutable/chunks/YGDnq71P.js","/app/immutable/chunks/D7X4cgrV.js","/app/immutable/assets/0.BagG56ya.css","/app/immutable/nodes/1.C0XLYfok.js","/app/immutable/chunks/C7VzwASa.js","/app/immutable/chunks/C7K9s96B.js","/app/immutable/chunks/CpEHCOut.js","/app/immutable/chunks/MJGmlCLu.js","/app/immutable/chunks/CBE9bOjQ.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DkrIcKd4.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.BdCIUUeK.js","/app/immutable/chunks/jiIr1QvR.js","/app/immutable/chunks/C72zM9oE.js","/app/immutable/chunks/SrOLwB5L.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/D0rBJOMA.js","/app/immutable/chunks/DHup9Hyk.js","/app/immutable/chunks/CWHiycVZ.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CAoY2-K6.js","/app/immutable/chunks/D8dE5NKO.js","/app/immutable/chunks/DUTF8GiF.js","/app/immutable/chunks/CVQvxrRM.js","/app/immutable/chunks/C7-4lB53.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/Bd9YcJpJ.js","/app/immutable/chunks/DQyFaFhy.js","/app/immutable/chunks/7z2H_RtS.js","/app/immutable/chunks/BLl4jbbs.js","/app/immutable/chunks/CDFwOYFZ.js","/app/immutable/chunks/CnlzKY2y.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/DFelFjwN.js","/app/immutable/chunks/9tzjcklF.js","/app/immutable/chunks/DIitBWg3.js","/app/immutable/chunks/4o1DPfmL.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/BmW_s-QS.js","/app/immutable/chunks/BrMxn35B.js","/app/immutable/chunks/BlAtH_I1.js","/app/immutable/chunks/BwTXFSMC.js","/app/immutable/chunks/DB531Hr_.js","/app/immutable/chunks/C-_w8CdN.js","/app/immutable/chunks/DpAML2LZ.js","/app/immutable/chunks/C3lmZVdU.js","/app/immutable/chunks/Ca0VZzWN.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/CfpYQrWa.js","/app/immutable/chunks/CpW6JN4X.js","/app/immutable/chunks/Bk4gFCP5.js","/app/immutable/chunks/C_Jtint5.js","/app/immutable/chunks/DukwQosN.js","/app/immutable/chunks/DU9iEtZ1.js","/app/immutable/chunks/DXjHY2hF.js","/app/immutable/chunks/D02FkLBh.js","/app/immutable/chunks/Cl6HYldG.js","/app/immutable/chunks/R6dAjEem.js","/app/immutable/chunks/r2I2bB7k.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/Dld3dCA-.js","/app/immutable/chunks/BtxYdCDO.js","/app/immutable/chunks/CPObUSo8.js","/app/immutable/chunks/VlQJw7Mt.js","/app/immutable/chunks/BwfkZxtl.js","/app/immutable/chunks/B9MzVcgv.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/lkH5RFQO.js","/app/immutable/chunks/CI-6MxKa.js","/app/immutable/chunks/DSbw-nyW.js","/app/immutable/chunks/CZ5Pr0zI.js","/app/immutable/chunks/Dlalsrb2.js","/app/immutable/chunks/D_FHOcPH.js","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/9Lm8k_8r.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/DVX1HL-4.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css","/app/immutable/chunks/CxGR0S3R.js","/app/immutable/chunks/Dpk7e0gp.js","/app/immutable/chunks/BvnODxCP.js","/app/immutable/chunks/D1xDyaMF.js","/app/immutable/chunks/fUyHJpWx.js","/app/immutable/chunks/CSY5tujD.js","/app/immutable/chunks/D-NAfI6p.js","/app/immutable/assets/AttachmentPreview.BCSCCZGm.css","/app/immutable/chunks/e5uo7mZH.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/CwSP6heW.js","/app/immutable/chunks/j3QkolT-.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/Ci8maFTk.js","/app/immutable/chunks/7k5ozo9c.js","/app/immutable/chunks/0S9IxBYm.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/IwQXvQKq.js","/app/immutable/assets/CompactWorkspaceInitializer.InGGWMfl.css","/app/immutable/chunks/GzyujEXJ.js","/app/immutable/chunks/Uvf6CZvV.js","/app/immutable/assets/accessibility.CP-rioAF.css","/app/immutable/chunks/Bv-JB2Uu.js","/app/immutable/chunks/B-ukGsyU.js","/app/immutable/chunks/DdteGby8.js","/app/immutable/chunks/p7znhYIU.js","/app/immutable/chunks/Ddqq3yIK.js","/app/immutable/chunks/V4Dt-iuy.js","/app/immutable/chunks/BuOFVkeK.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/assets/2.DBD158ED.css","/app/immutable/nodes/3.plIg2MFf.js","/app/immutable/nodes/4.CcgVPTck.js","/app/immutable/nodes/5.C_N4OtaU.js","/app/immutable/chunks/CgN5SAW1.js","/app/immutable/chunks/BigdBsL9.js","/app/immutable/chunks/DfN8_dcw.js","/app/immutable/chunks/DyyCDL26.js","/app/immutable/chunks/i6Mg1Q2O.js","/app/immutable/chunks/T8ZYfg6I.js","/app/immutable/chunks/go1cucdf.js","/app/immutable/chunks/CR6gKG-r.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DQhHyGm2.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/BI6L4fKK.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/assets/ResizablePanel.DF8NAXK-.css","/app/immutable/chunks/DamIfQPR.js","/app/immutable/chunks/C95LwPTq.js","/app/immutable/chunks/V7Hjifys.js","/app/immutable/chunks/RBSqSYOo.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/hIpW6zoP.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/DCnWoCId.js","/app/immutable/chunks/CoZ28bOB.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/Dyr9OHj8.js","/app/immutable/assets/DiagramPresentation.Bfi3xHm0.css","/app/immutable/chunks/DakbBhJV.js","/app/immutable/chunks/afj8l-L0.js","/app/immutable/chunks/C5NmOSh4.js","/app/immutable/chunks/DDdEHmdT.js","/app/immutable/chunks/D_tUKjY4.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.CWdkjFsY.css","/app/immutable/chunks/5REd_oE3.js","/app/immutable/chunks/BDWwvOsS.js","/app/immutable/chunks/CvfkUn8M.js","/app/immutable/chunks/D8UQMJEh.js","/app/immutable/assets/conversation-turns.Cw6qSz_q.css","/app/immutable/chunks/CwKQMp5y.js","/app/immutable/chunks/Bw5FiD-Y.js","/app/immutable/chunks/CCmXROuj.js","/app/immutable/chunks/ivVGXMNS.js","/app/immutable/assets/ChatPanel.CbI83JII.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/assets/5.DBgC2kSL.css","/app/immutable/nodes/6.DGUZaYtw.js","/app/immutable/assets/6.D6ebrVTb.css","/app/immutable/nodes/7.C8AkEQkN.js","/app/immutable/chunks/TWdtA8BC.js","/app/immutable/nodes/8.Bib6c2R5.js","/app/immutable/chunks/BozAh4mR.js","/app/immutable/chunks/4xlJdO9z.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/DtL3mwiX.js","/app/immutable/assets/8._uRcFklA.css","/app/immutable/assets/dock-tokens.CevytPYC.css","/app/immutable/nodes/9.DgERn09Y.js","/app/immutable/chunks/Cmsg1-Jz.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/C_nueLij.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/C0Eg_x6y.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/BkH6TsO0.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/gV7ZxrZ2.js","/app/immutable/chunks/TRcwahzR.js","/app/immutable/chunks/CFBBhrkC.js","/app/immutable/assets/9.QLJOd4KT.css","/app/immutable/nodes/10.FOhcPF7P.js","/app/immutable/assets/10.BO7QC36g.css","/app/immutable/nodes/11.DNy1N3E_.js","/app/immutable/nodes/12.CkJqJXDQ.js","/app/immutable/assets/12.CF5xLHXq.css","/app/immutable/nodes/13.BQO-XqRU.js","/app/immutable/chunks/273-ejOd.js","/app/immutable/assets/13.BuZANxI8.css","/app/immutable/nodes/14.CQ7rNDCc.js","/app/immutable/chunks/DVijqcE1.js","/app/immutable/assets/14.BlmY1boZ.css","/app/immutable/nodes/15.Cul5GEsK.js","/app/immutable/assets/15.COfTIH7u.css","/app/immutable/nodes/16.D1YB7GYH.js","/app/immutable/assets/16.Cznk2DRv.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DgDI47Tl.js","/app/immutable/chunks/CcVvQKcJ.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/DozYGPQ1.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/nodes/0.C7A1xQm9.js","/app/immutable/chunks/B30Ssr1r.js","/app/immutable/chunks/BBvT7Bb8.js","/app/immutable/chunks/ApbPdiAE.js","/app/immutable/chunks/DYepVMa7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/_p09hiud.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/DZxiqmZj.js","/app/immutable/chunks/YGDnq71P.js","/app/immutable/chunks/D5BYjywr.js","/app/immutable/assets/0.BagG56ya.css","/app/immutable/nodes/1.D3O5lTcl.js","/app/immutable/chunks/55B_mQC6.js","/app/immutable/chunks/T2aO1XPv.js","/app/immutable/chunks/CpEHCOut.js","/app/immutable/chunks/MJGmlCLu.js","/app/immutable/chunks/CBE9bOjQ.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DkrIcKd4.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.Cfk2c4l0.js","/app/immutable/chunks/jiIr1QvR.js","/app/immutable/chunks/C72zM9oE.js","/app/immutable/chunks/SrOLwB5L.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/KJelEqX3.js","/app/immutable/chunks/49Xcxy9Z.js","/app/immutable/chunks/BMJ3_jM1.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CAoY2-K6.js","/app/immutable/chunks/D8dE5NKO.js","/app/immutable/chunks/VKC6gzws.js","/app/immutable/chunks/CVQvxrRM.js","/app/immutable/chunks/C7-4lB53.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/VKc1-U2z.js","/app/immutable/chunks/OvSKCwS-.js","/app/immutable/chunks/7z2H_RtS.js","/app/immutable/chunks/BLl4jbbs.js","/app/immutable/chunks/CDFwOYFZ.js","/app/immutable/chunks/CnlzKY2y.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/Le4YFzxz.js","/app/immutable/chunks/9tzjcklF.js","/app/immutable/chunks/B524kvVw.js","/app/immutable/chunks/4o1DPfmL.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/BmW_s-QS.js","/app/immutable/chunks/Dtei9o3U.js","/app/immutable/chunks/cYktK7bI.js","/app/immutable/chunks/O4y88_QN.js","/app/immutable/chunks/DB531Hr_.js","/app/immutable/chunks/C-_w8CdN.js","/app/immutable/chunks/VE9Tc-Fm.js","/app/immutable/chunks/C3lmZVdU.js","/app/immutable/chunks/Ca0VZzWN.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/CfpYQrWa.js","/app/immutable/chunks/CpW6JN4X.js","/app/immutable/chunks/Bk4gFCP5.js","/app/immutable/chunks/CrF5hjNA.js","/app/immutable/chunks/DukwQosN.js","/app/immutable/chunks/DU9iEtZ1.js","/app/immutable/chunks/DXjHY2hF.js","/app/immutable/chunks/D02FkLBh.js","/app/immutable/chunks/BTVnc-yD.js","/app/immutable/chunks/R6dAjEem.js","/app/immutable/chunks/r2I2bB7k.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/Dld3dCA-.js","/app/immutable/chunks/BtxYdCDO.js","/app/immutable/chunks/CPObUSo8.js","/app/immutable/chunks/VlQJw7Mt.js","/app/immutable/chunks/BwfkZxtl.js","/app/immutable/chunks/B9MzVcgv.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/lkH5RFQO.js","/app/immutable/chunks/H5XG0yyu.js","/app/immutable/chunks/DSbw-nyW.js","/app/immutable/chunks/CZ5Pr0zI.js","/app/immutable/chunks/Dlalsrb2.js","/app/immutable/chunks/D_FHOcPH.js","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/9Lm8k_8r.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/DVX1HL-4.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css","/app/immutable/chunks/XWXuV5J_.js","/app/immutable/chunks/Dpk7e0gp.js","/app/immutable/chunks/Dy4G53ce.js","/app/immutable/chunks/BIzCpN2r.js","/app/immutable/chunks/fUyHJpWx.js","/app/immutable/chunks/CZFJH8pA.js","/app/immutable/chunks/D-NAfI6p.js","/app/immutable/assets/AttachmentPreview.BCSCCZGm.css","/app/immutable/chunks/BB6TPLRQ.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/CwSP6heW.js","/app/immutable/chunks/j3QkolT-.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/C2pLxq9N.js","/app/immutable/chunks/7k5ozo9c.js","/app/immutable/chunks/3TX-_riq.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/IwQXvQKq.js","/app/immutable/assets/CompactWorkspaceInitializer.InGGWMfl.css","/app/immutable/chunks/GzyujEXJ.js","/app/immutable/chunks/DDhu5Shq.js","/app/immutable/assets/accessibility.CP-rioAF.css","/app/immutable/chunks/Bv-JB2Uu.js","/app/immutable/chunks/B-ukGsyU.js","/app/immutable/chunks/DdteGby8.js","/app/immutable/chunks/p7znhYIU.js","/app/immutable/chunks/Ddqq3yIK.js","/app/immutable/chunks/V4Dt-iuy.js","/app/immutable/chunks/Dby-RtfB.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/assets/2.DBD158ED.css","/app/immutable/nodes/3.Dp8QGgRH.js","/app/immutable/nodes/4.D3m3OUdj.js","/app/immutable/nodes/5.BMBYYbKi.js","/app/immutable/chunks/C-r1nQ0P.js","/app/immutable/chunks/BigdBsL9.js","/app/immutable/chunks/DfN8_dcw.js","/app/immutable/chunks/BQKHJuv8.js","/app/immutable/chunks/BsCDeyle.js","/app/immutable/chunks/IYLMGQxr.js","/app/immutable/chunks/BZrP_BN5.js","/app/immutable/chunks/DnWPcgvb.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DQhHyGm2.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/C0HDG-tg.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/assets/ResizablePanel.DF8NAXK-.css","/app/immutable/chunks/DamIfQPR.js","/app/immutable/chunks/mk8wN9pR.js","/app/immutable/chunks/Cx547a39.js","/app/immutable/chunks/zl8Sz0Gx.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/BRqOyyER.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/D7hkdi6r.js","/app/immutable/chunks/CoZ28bOB.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/DWcUEP_3.js","/app/immutable/assets/DiagramPresentation.Bfi3xHm0.css","/app/immutable/chunks/DakbBhJV.js","/app/immutable/chunks/u-Ou3zHY.js","/app/immutable/chunks/CmTfIBH2.js","/app/immutable/chunks/DDdEHmdT.js","/app/immutable/chunks/CKiOztob.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.CWdkjFsY.css","/app/immutable/chunks/DsQHEEWt.js","/app/immutable/chunks/BmGPu7Nl.js","/app/immutable/chunks/DbSP_yi5.js","/app/immutable/chunks/D8UQMJEh.js","/app/immutable/assets/conversation-turns.Cw6qSz_q.css","/app/immutable/chunks/CwKQMp5y.js","/app/immutable/chunks/B-NH8jPK.js","/app/immutable/chunks/CCmXROuj.js","/app/immutable/chunks/ivVGXMNS.js","/app/immutable/assets/ChatPanel.CbI83JII.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/assets/5.DBgC2kSL.css","/app/immutable/nodes/6.BIo4yUgT.js","/app/immutable/assets/6.D6ebrVTb.css","/app/immutable/nodes/7.DdNd4GXX.js","/app/immutable/chunks/BJzlL5VK.js","/app/immutable/nodes/8.Cp6GdAVQ.js","/app/immutable/chunks/DclJ6-AA.js","/app/immutable/chunks/4xlJdO9z.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/DtL3mwiX.js","/app/immutable/assets/8._uRcFklA.css","/app/immutable/assets/dock-tokens.CevytPYC.css","/app/immutable/nodes/9.kCWJBZ1N.js","/app/immutable/chunks/Cmsg1-Jz.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DFRP5ruh.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/C0Eg_x6y.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/BkH6TsO0.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/gV7ZxrZ2.js","/app/immutable/chunks/TRcwahzR.js","/app/immutable/chunks/DUW0BlH5.js","/app/immutable/assets/9.QLJOd4KT.css","/app/immutable/nodes/10.BaLN4VIK.js","/app/immutable/assets/10.BO7QC36g.css","/app/immutable/nodes/11.DNy1N3E_.js","/app/immutable/nodes/12.CkJqJXDQ.js","/app/immutable/assets/12.CF5xLHXq.css","/app/immutable/nodes/13.BQO-XqRU.js","/app/immutable/chunks/273-ejOd.js","/app/immutable/assets/13.BuZANxI8.css","/app/immutable/nodes/14.BycEEfsq.js","/app/immutable/chunks/DVijqcE1.js","/app/immutable/assets/14.BlmY1boZ.css","/app/immutable/nodes/15.Cul5GEsK.js","/app/immutable/assets/15.COfTIH7u.css","/app/immutable/nodes/16.BjrtGDLp.js","/app/immutable/assets/16.Cznk2DRv.css"])))=>i.map(i=>d[i]);
2
2
  import{_ as a,bo as X,t as lt,bq as g,a_ as w,by as dt,b as pt,c as gt}from"../chunks/DozYGPQ1.js";import{l as k}from"../chunks/BJzHxIyr.js";import{s as ft}from"../chunks/D-N7efrx.js";import{bs as Et,cb as vt,ca as bt,bk as Tt,aD as c,bH as F,c0 as ht,ay as b,bS as It,W as m,bn as At,bV as U,aA as f,a7 as I,c9 as L,a5 as Ot,bA as Rt,aB as Z,b$ as Pt,b_ as Dt,bO as yt}from"../chunks/DYhIMPy1.js";import{c as S}from"../chunks/MJGmlCLu.js";import{b as V}from"../chunks/BaIAhI85.js";const Lt=async()=>{window.location.pathname.startsWith("/sandbox")||await a(()=>import("../chunks/DgDI47Tl.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},St=/^[a-zA-Z_$]{1,3}\.call is not a function$/;function Vt(t){return t instanceof Error&&t.name==="TypeError"&&St.test(t.message)&&typeof t.stack=="string"&&t.stack.includes("bits-ui")}const q=500,xt=8,wt=/[a-z][a-z0-9+.-]*:\/\/\S+/gi,kt=/[)\]}>'".,;:]+$/,Nt=/[^/]+\.[cm]?[jt]s(?::\d+){0,2}$/;function Ct(t){const e=kt.exec(t)?.[0]??"",o=t.slice(0,t.length-e.length),n=o.indexOf("://"),i=o.slice(0,n),s=o.slice(n+3).split("#")[0].split("?")[0],u=s.indexOf("/"),l=u===-1?s:s.slice(0,u),d=l.slice(l.lastIndexOf("@")+1),p=u===-1?"":s.slice(u);if(p===""||p==="/")return`${i}://${d}${e}`;const O=Nt.exec(p)?.[0];return`${i}://${d}/${O??"<redacted>"}${e}`}function x(t){const e=t.replace(wt,Ct);return e.length>q?`${e.slice(0,q)}…`:e}function jt(t){return typeof t!="string"||t.length===0?null:t.split(`
3
3
  `).slice(0,xt).map(x).join(`
4
- `)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(k.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{k.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),k.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(k.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),bt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);Tt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=b(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=b($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=b(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};w(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};w(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var T=Pt();Dt(()=>yt(T,c(B))),m(v,T)};w(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};w(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.DncqPHfM.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,2,14,15,16,17,18,19]),import.meta.url),()=>a(()=>import("../nodes/1.C0XLYfok.js"),__vite__mapDeps([20,4,5,21,22,23,24,7,25,3,26,27,28,8,1,2,29]),import.meta.url),()=>a(()=>import("../nodes/2.BdCIUUeK.js"),__vite__mapDeps([30,4,5,7,31,10,11,12,13,2,3,8,23,24,25,26,32,33,34,27,28,1,29,17,21,35,18,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,16,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,15,107,108,109,110,111,112,113,114,115,116,117,118,119,22,120,121,122,123,124,125,126,127,128,9,129,130,131]),import.meta.url),()=>a(()=>import("../nodes/3.plIg2MFf.js"),__vite__mapDeps([132,4,5,32,25,3,26,7,21,22,23,24,27,28,8,1,2,29,37,38,36,39,33,10,11,12,13,34,17,40,18,35]),import.meta.url),()=>a(()=>import("../nodes/4.CcgVPTck.js"),__vite__mapDeps([133,4,5,7,9,8,3,42,10,11,12,13,2,33,23,24,25,26,34,27,28,1,29,17,32,43,38,44,45,40,46,47,48,18,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,35,39,71,72,73,74,75,76,77,78,41,79,16,80,81,82,83,37,21,36,84,85,86,87,88]),import.meta.url),()=>a(()=>import("../nodes/5.C_N4OtaU.js"),__vite__mapDeps([134,4,5,58,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,94,92,67,57,68,69,95,93,91,49,50,40,33,34,17,45,51,52,96,97,98,48,43,38,56,59,90,77,99,47,18,37,21,36,39,35,100,106,46,44,15,89,107,108,55,64,81,136,72,137,138,139,140,141,142,143,74,144,120,145,146,118,147,148,65,121,62,63,122,115,71,149,150,151,126,152,153,154,155,82,156,157,158,159,160,161,162,163,164,22,165,166,167,168,61,169,170,103,171,129,130,172,173,174,175,176,177,114,76,109,70,178,179,124,180]),import.meta.url),()=>a(()=>import("../nodes/6.DGUZaYtw.js"),__vite__mapDeps([181,4,5,25,3,26,28,33,2,10,11,12,13,7,8,23,24,34,27,1,29,17,32,38,22,21,44,45,43,40,152,153,56,51,57,58,59,106,46,47,48,18,49,50,52,93,94,92,67,68,69,95,91,96,97,98,77,90,99,37,36,39,35,100,15,89,107,108,62,63,140,136,139,141,142,143,64,74,144,120,145,154,126,155,82,156,157,158,159,160,121,122,161,162,163,164,65,115,71,165,166,167,168,170,78,41,182]),import.meta.url),()=>a(()=>import("../nodes/7.C8AkEQkN.js"),__vite__mapDeps([183,4,5,58,96,184,18,12,35,11,10,13,2,3,7,8,56,25,26,27,28,24,1,29,32,51,57,23,59,97,149]),import.meta.url),()=>a(()=>import("../nodes/8.Bib6c2R5.js"),__vite__mapDeps([185,4,5,8,3,25,26,24,28,27,7,1,2,29,67,94,92,32,23,57,68,69,95,93,91,10,11,12,13,49,50,40,33,34,17,45,51,52,58,96,97,98,125,102,60,90,77,56,59,99,38,47,48,43,18,37,21,36,39,35,100,22,54,186,66,44,63,187,144,142,165,146,118,81,103,73,70,184,175,176,107,79,85,188,71,189,111,190,191]),import.meta.url),()=>a(()=>import("../nodes/9.DgERn09Y.js"),__vite__mapDeps([192,4,5,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,94,92,67,57,68,69,95,93,91,49,50,40,33,34,17,45,51,52,58,96,97,98,48,43,38,56,59,90,77,99,47,18,37,21,36,39,35,100,106,46,44,15,89,107,108,55,64,81,136,72,137,138,139,140,141,142,143,74,144,120,145,146,118,147,148,22,116,117,53,54,112,84,85,86,87,88,113,76,119,174,41,126,123,65,73,193,128,194,195,187,75,196,105,186,103,79,197,198,80,199,200,201,171,202,203,109,176,124,204]),import.meta.url),()=>a(()=>import("../nodes/10.FOhcPF7P.js"),__vite__mapDeps([205,4,5,36,21,25,3,26,24,10,11,12,13,2,7,8,23,28,123,92,32,67,27,1,29,99,56,51,57,58,59,89,77,172,124,91,197,198,80,33,34,17,193,128,87,88,86,48,43,38,39,194,82,201,81,206]),import.meta.url),()=>a(()=>import("../nodes/11.DNy1N3E_.js"),__vite__mapDeps([207,4,5,58,96,23,24,7,25,3,26]),import.meta.url),()=>a(()=>import("../nodes/12.CkJqJXDQ.js"),__vite__mapDeps([208,4,5,8,3,27,7,25,26,28,24,1,2,29,23,97,149,209]),import.meta.url),()=>a(()=>import("../nodes/13.BQO-XqRU.js"),__vite__mapDeps([210,4,5,25,3,26,7,27,28,24,8,1,2,29,97,149,211,11,110,126,92,32,67,94,23,57,68,69,95,107,58,96,212]),import.meta.url),()=>a(()=>import("../nodes/14.CQ7rNDCc.js"),__vite__mapDeps([213,4,5,49,10,11,12,13,2,3,7,8,50,40,33,23,24,25,26,34,27,28,1,29,17,32,45,51,52,97,149,42,43,38,44,46,47,48,18,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,35,39,71,72,73,74,75,76,77,78,41,79,16,80,81,82,83,37,21,36,84,85,86,87,88,160,90,91,92,93,94,95,96,98,99,100,106,15,89,107,108,121,122,161,101,111,169,152,153,140,136,139,141,142,143,144,120,145,154,126,155,156,157,158,159,162,163,164,22,115,165,166,167,168,170,103,171,129,130,172,173,211,214,215,191]),import.meta.url),()=>a(()=>import("../nodes/15.Cul5GEsK.js"),__vite__mapDeps([216,4,5,25,3,26,7,27,28,24,8,1,2,29,97,149,32,13,126,214,48,43,38,217]),import.meta.url),()=>a(()=>import("../nodes/16.D1YB7GYH.js"),__vite__mapDeps([218,4,5,48,8,3,43,38,23,24,7,25,26,27,28,1,2,29,10,11,12,13,32,120,64,33,34,17,49,50,40,45,51,52,115,71,83,93,94,92,67,57,68,69,95,91,58,96,97,98,102,60,79,37,21,36,39,18,35,219]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock":[14],"/hud":[16,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
4
+ `)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(k.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{k.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),k.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(k.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),bt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);Tt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=b(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=b($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=b(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=b(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};w(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=b(E);S(R,()=>c(_),(v,T)=>{V(T(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};w(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var T=Pt();Dt(()=>yt(T,c(B))),m(v,T)};w(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};w(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.C7A1xQm9.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,2,14,15,16,17,18,19]),import.meta.url),()=>a(()=>import("../nodes/1.D3O5lTcl.js"),__vite__mapDeps([20,4,5,21,22,23,24,7,25,3,26,27,28,8,1,2,29]),import.meta.url),()=>a(()=>import("../nodes/2.Cfk2c4l0.js"),__vite__mapDeps([30,4,5,7,31,10,11,12,13,2,3,8,23,24,25,26,32,33,34,27,28,1,29,17,21,35,18,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,16,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,15,107,108,109,110,111,112,113,114,115,116,117,118,119,22,120,121,122,123,124,125,126,127,128,9,129,130,131]),import.meta.url),()=>a(()=>import("../nodes/3.Dp8QGgRH.js"),__vite__mapDeps([132,4,5,32,25,3,26,7,21,22,23,24,27,28,8,1,2,29,37,38,36,39,33,10,11,12,13,34,17,40,18,35]),import.meta.url),()=>a(()=>import("../nodes/4.D3m3OUdj.js"),__vite__mapDeps([133,4,5,7,9,8,3,42,10,11,12,13,2,33,23,24,25,26,34,27,28,1,29,17,32,43,38,44,45,40,46,47,48,18,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,35,39,71,72,73,74,75,76,77,78,41,79,16,80,81,82,83,37,21,36,84,85,86,87,88]),import.meta.url),()=>a(()=>import("../nodes/5.BMBYYbKi.js"),__vite__mapDeps([134,4,5,58,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,94,92,67,57,68,69,95,93,91,49,50,40,33,34,17,45,51,52,96,97,98,48,43,38,56,59,90,77,99,47,18,37,21,36,39,35,100,106,46,44,15,89,107,108,55,64,81,136,72,137,138,139,140,141,142,143,74,144,120,145,146,118,147,148,65,121,62,63,122,115,71,149,150,151,126,152,153,154,155,82,156,157,158,159,160,161,162,163,164,22,165,166,167,168,61,169,170,103,171,129,130,172,173,174,175,176,177,114,76,109,70,178,179,124,180]),import.meta.url),()=>a(()=>import("../nodes/6.BIo4yUgT.js"),__vite__mapDeps([181,4,5,25,3,26,28,33,2,10,11,12,13,7,8,23,24,34,27,1,29,17,32,38,22,21,44,45,43,40,152,153,56,51,57,58,59,106,46,47,48,18,49,50,52,93,94,92,67,68,69,95,91,96,97,98,77,90,99,37,36,39,35,100,15,89,107,108,62,63,140,136,139,141,142,143,64,74,144,120,145,154,126,155,82,156,157,158,159,160,121,122,161,162,163,164,65,115,71,165,166,167,168,170,78,41,182]),import.meta.url),()=>a(()=>import("../nodes/7.DdNd4GXX.js"),__vite__mapDeps([183,4,5,58,96,184,18,12,35,11,10,13,2,3,7,8,56,25,26,27,28,24,1,29,32,51,57,23,59,97,149]),import.meta.url),()=>a(()=>import("../nodes/8.Cp6GdAVQ.js"),__vite__mapDeps([185,4,5,8,3,25,26,24,28,27,7,1,2,29,67,94,92,32,23,57,68,69,95,93,91,10,11,12,13,49,50,40,33,34,17,45,51,52,58,96,97,98,125,102,60,90,77,56,59,99,38,47,48,43,18,37,21,36,39,35,100,22,54,186,66,44,63,187,144,142,165,146,118,81,103,73,70,184,175,176,107,79,85,188,71,189,111,190,191]),import.meta.url),()=>a(()=>import("../nodes/9.kCWJBZ1N.js"),__vite__mapDeps([192,4,5,135,27,7,25,3,26,28,24,8,1,2,29,23,31,10,11,12,13,32,94,92,67,57,68,69,95,93,91,49,50,40,33,34,17,45,51,52,58,96,97,98,48,43,38,56,59,90,77,99,47,18,37,21,36,39,35,100,106,46,44,15,89,107,108,55,64,81,136,72,137,138,139,140,141,142,143,74,144,120,145,146,118,147,148,22,116,117,53,54,112,84,85,86,87,88,113,76,119,174,41,126,123,65,73,193,128,194,195,187,75,196,105,186,103,79,197,198,80,199,200,201,171,202,203,109,176,124,204]),import.meta.url),()=>a(()=>import("../nodes/10.BaLN4VIK.js"),__vite__mapDeps([205,4,5,36,21,25,3,26,24,10,11,12,13,2,7,8,23,28,123,92,32,67,27,1,29,99,56,51,57,58,59,89,77,172,124,91,197,198,80,33,34,17,193,128,87,88,86,48,43,38,39,194,82,201,81,206]),import.meta.url),()=>a(()=>import("../nodes/11.DNy1N3E_.js"),__vite__mapDeps([207,4,5,58,96,23,24,7,25,3,26]),import.meta.url),()=>a(()=>import("../nodes/12.CkJqJXDQ.js"),__vite__mapDeps([208,4,5,8,3,27,7,25,26,28,24,1,2,29,23,97,149,209]),import.meta.url),()=>a(()=>import("../nodes/13.BQO-XqRU.js"),__vite__mapDeps([210,4,5,25,3,26,7,27,28,24,8,1,2,29,97,149,211,11,110,126,92,32,67,94,23,57,68,69,95,107,58,96,212]),import.meta.url),()=>a(()=>import("../nodes/14.BycEEfsq.js"),__vite__mapDeps([213,4,5,49,10,11,12,13,2,3,7,8,50,40,33,23,24,25,26,34,27,28,1,29,17,32,45,51,52,97,149,42,43,38,44,46,47,48,18,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,35,39,71,72,73,74,75,76,77,78,41,79,16,80,81,82,83,37,21,36,84,85,86,87,88,160,90,91,92,93,94,95,96,98,99,100,106,15,89,107,108,121,122,161,101,111,169,152,153,140,136,139,141,142,143,144,120,145,154,126,155,156,157,158,159,162,163,164,22,115,165,166,167,168,170,103,171,129,130,172,173,211,214,215,191]),import.meta.url),()=>a(()=>import("../nodes/15.Cul5GEsK.js"),__vite__mapDeps([216,4,5,25,3,26,7,27,28,24,8,1,2,29,97,149,32,13,126,214,48,43,38,217]),import.meta.url),()=>a(()=>import("../nodes/16.BjrtGDLp.js"),__vite__mapDeps([218,4,5,48,8,3,43,38,23,24,7,25,26,27,28,1,2,29,10,11,12,13,32,120,64,33,34,17,49,50,40,45,51,52,115,71,83,93,94,92,67,57,68,69,95,91,58,96,97,98,102,60,79,37,21,36,39,18,35,219]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock":[14],"/hud":[16,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,s as r}from"../chunks/55B_mQC6.js";export{o as load_css,r as start};
@@ -1 +1 @@
1
- import{t as L,bq as O,by as I,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/DozYGPQ1.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as y,bn as T,aA as $}from"../chunks/DYhIMPy1.js";import{s as R}from"../chunks/B30Ssr1r.js";import{y as ie,I as C,F as ae}from"../chunks/BBvT7Bb8.js";import{w as ce}from"../chunks/ApbPdiAE.js";import{HQ as ue}from"../chunks/DYepVMa7.js";import{initAppStore as de}from"../chunks/_p09hiud.js";import{F as le,D as fe}from"../chunks/YGDnq71P.js";import{i as me}from"../chunks/D7X4cgrV.js";const pe=!1,we=!1,ve=!0,Me=Object.freeze(Object.defineProperty({__proto__:null,csr:ve,prerender:we,ssr:pe},Symbol.toStringTag,{value:"Module"}));function ge(e,t,r){const f=de(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const V=3,j=4,be=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<be||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function he(){return document.querySelector("webview:hover")!==null}function ye(e){e!=="back"&&e!=="forward"||he()||S(e)}function Y(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function U(e){Y(e)||(e.button===V?(e.preventDefault(),S("back")):e.button===j&&(e.preventDefault(),S("forward")))}function F(e){Y(e)||(e.button===V||e.button===j)&&e.preventDefault()}function Ae(e=window){return e.addEventListener("mouseup",U,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",U,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function Ee(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function q(e,t){if(new.target)return L({component:q,...e});P(t,!0);const r=()=>Z(m,"$resolvedLocale$",f),[f,p]=ee();let s=O(t,"children",7);const l=ge(ue,{startSagas:()=>[]},void 0);re(l);const m=le(),v=fe();se(()=>{const n=!me()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},D=()=>c(!1),H=()=>c(!0),z=v.subscribe(_=>{d=_,a()}),M=window.electronAPI,k=ie();let E;a(),n&&(k?E=M?.on?.("window:focus",c):(window.addEventListener("blur",D),window.addEventListener("focus",H)));const Q=Ee(document.documentElement),J=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const X=Ae(window),B=window.electronAPI?.on?.(C.APP.HISTORY_NAVIGATE,ye);return()=>{z(),Q.destroy(),E?M.offById("window:focus",E):n&&!k&&(window.removeEventListener("blur",D),window.removeEventListener("focus",H)),document.documentElement.removeAttribute("data-window-blurred"),J(),X(),B&&window.electronAPI.offById(C.APP.HISTORY_NAVIGATE,B)}});var u={get children(){return s()},set children(n){s(n),$()},$set:I,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);R(d,()=>s()??W),y(n,o)}),y(e,w);var i=T(u);return p(),i}const x="/dev-console";function _e(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Se(e){return e===G||e.startsWith(`${G}/`)}function K(e,t){if(new.target)return L({component:K,...e});P(t,!0);let r=O(t,"children",7);const f=typeof window<"u"&&(_e(window.location.pathname)||Se(window.location.pathname));var p={get children(){return r()},set children(u){r(u),$()},$set:I,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);R(g,()=>r()??W),y(u,w)},v=u=>{q(u,{get children(){return r()}})};te(l,u=>{f?u(m):u(v,-1)})}return y(e,s),T(p)}var Le=new Set(["$$slots","$$events","$$legacy","children"]);function Oe(e,t){if(new.target)return L({component:Oe,...e});P(t,!0);let r=O(t,"children",7),f=oe(t,Le);var p={get children(){return r()},set children(s){r(s),$()},$set:I,$on:(s,l)=>N(t,s,l)};return K(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);R(v,()=>r()??W),y(s,m)},$$slots:{default:!0}})),T(p)}export{Oe as component,Me as universal};
1
+ import{t as L,bq as O,by as I,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/DozYGPQ1.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as y,bn as T,aA as $}from"../chunks/DYhIMPy1.js";import{s as R}from"../chunks/B30Ssr1r.js";import{y as ie,I as C,F as ae}from"../chunks/BBvT7Bb8.js";import{w as ce}from"../chunks/ApbPdiAE.js";import{HQ as ue}from"../chunks/DYepVMa7.js";import{initAppStore as de}from"../chunks/_p09hiud.js";import{F as le,D as fe}from"../chunks/YGDnq71P.js";import{i as me}from"../chunks/D5BYjywr.js";const pe=!1,we=!1,ve=!0,Me=Object.freeze(Object.defineProperty({__proto__:null,csr:ve,prerender:we,ssr:pe},Symbol.toStringTag,{value:"Module"}));function ge(e,t,r){const f=de(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const V=3,j=4,be=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<be||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function he(){return document.querySelector("webview:hover")!==null}function ye(e){e!=="back"&&e!=="forward"||he()||S(e)}function Y(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function U(e){Y(e)||(e.button===V?(e.preventDefault(),S("back")):e.button===j&&(e.preventDefault(),S("forward")))}function F(e){Y(e)||(e.button===V||e.button===j)&&e.preventDefault()}function Ae(e=window){return e.addEventListener("mouseup",U,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",U,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function Ee(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function q(e,t){if(new.target)return L({component:q,...e});P(t,!0);const r=()=>Z(m,"$resolvedLocale$",f),[f,p]=ee();let s=O(t,"children",7);const l=ge(ue,{startSagas:()=>[]},void 0);re(l);const m=le(),v=fe();se(()=>{const n=!me()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},D=()=>c(!1),H=()=>c(!0),z=v.subscribe(_=>{d=_,a()}),M=window.electronAPI,k=ie();let E;a(),n&&(k?E=M?.on?.("window:focus",c):(window.addEventListener("blur",D),window.addEventListener("focus",H)));const Q=Ee(document.documentElement),J=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const X=Ae(window),B=window.electronAPI?.on?.(C.APP.HISTORY_NAVIGATE,ye);return()=>{z(),Q.destroy(),E?M.offById("window:focus",E):n&&!k&&(window.removeEventListener("blur",D),window.removeEventListener("focus",H)),document.documentElement.removeAttribute("data-window-blurred"),J(),X(),B&&window.electronAPI.offById(C.APP.HISTORY_NAVIGATE,B)}});var u={get children(){return s()},set children(n){s(n),$()},$set:I,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);R(d,()=>s()??W),y(n,o)}),y(e,w);var i=T(u);return p(),i}const x="/dev-console";function _e(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Se(e){return e===G||e.startsWith(`${G}/`)}function K(e,t){if(new.target)return L({component:K,...e});P(t,!0);let r=O(t,"children",7);const f=typeof window<"u"&&(_e(window.location.pathname)||Se(window.location.pathname));var p={get children(){return r()},set children(u){r(u),$()},$set:I,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);R(g,()=>r()??W),y(u,w)},v=u=>{q(u,{get children(){return r()}})};te(l,u=>{f?u(m):u(v,-1)})}return y(e,s),T(p)}var Le=new Set(["$$slots","$$events","$$legacy","children"]);function Oe(e,t){if(new.target)return L({component:Oe,...e});P(t,!0);let r=O(t,"children",7),f=oe(t,Le);var p={get children(){return r()},set children(s){r(s),$()},$set:I,$on:(s,l)=>N(t,s,l)};return K(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);R(v,()=>r()??W),y(s,m)},$$slots:{default:!0}})),T(p)}export{Oe as component,Me as universal};
@@ -1 +1 @@
1
- import{t as W,a_ as P,by as A,b as D,bo as p,bt as R,br as U}from"../chunks/DozYGPQ1.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as h,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as T}from"../chunks/DYhIMPy1.js";import{g as re}from"../chunks/C7VzwASa.js";import{p as b}from"../chunks/C7K9s96B.js";import{F as te,cO as ae}from"../chunks/CpEHCOut.js";import{f as se}from"../chunks/DkrIcKd4.js";var oe=T('<p class="text-sm text-subtle"> </p>'),le=T('<div class="min-h-screen flex items-center justify-center p-6 bg-background"><div class="w-full max-w-md" role="alert" aria-live="assertive"><div class="bg-card border border-border rounded-xl shadow-lg p-8 space-y-6 text-center"><div class="flex justify-center"><div class="w-14 h-14 rounded-full bg-warning/10 flex items-center justify-center opacity-50"><!></div></div> <div class="space-y-3"><h2 class="text-2xl font-semibold text-foreground"> </h2> <!> <p class="text-base text-subtle leading-relaxed break-words"> </p></div> <div class="flex items-center justify-center gap-3 flex-wrap"><!></div></div></div></div>');function q(l,o){if(new.target)return W({component:q,...l});E(o,!0);let c=h(()=>b.error),r=h(()=>b.status),v=h(()=>e(r)===404&&b.url.pathname!=="/");V(()=>{e(v)?(console.warn("[+error.svelte:root] 404, redirecting to /",{url:b.url.href,status:e(r)}),re("/",{replaceState:!0})):console.error("[+error.svelte:root]",{status:e(r),error:e(c)})});var g={$set:A,$on:(i,n)=>D(o,i,n)},j=X(),G=Y(j);{var H=i=>{var n=le(),F=a(n),S=a(F),x=a(S),z=a(x),I=a(z);te(I,{get icon(){return ae},size:"lg",class:"text-warning"}),s(z),s(x);var w=f(x,2),B=a(w),J=$(B,!0),C=f(B,2);{var K=t=>{var d=oe(),u=$(d,!0);k(y=>m(u,y),[()=>p.error_page_status_label({status:e(r)})]),_(t,d)};P(C,t=>{e(r)&&e(r)!==500&&t(K)})}var L=f(C,2),M=$(L,!0);s(w);var O=f(w,2),Q=a(O);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var u=ee();k(y=>m(u,y),[()=>p.error_page_reload_button()]),_(t,u)},$$slots:{default:!0}}),s(O),s(S),s(F),s(n),k((t,d)=>{m(J,t),m(M,d)},[()=>p.error_page_title(),()=>e(c)?.message||p.error_page_unexpected_fallback()]),_(i,n)};P(G,i=>{e(v)||i(H)})}return _(l,j),N(g)}var ie=new Set(["$$slots","$$events","$$legacy"]);function ne(l,o){if(new.target)return W({component:ne,...l});E(o,!0);let c=U(o,ie);var r={$set:A,$on:(v,g)=>D(o,v,g)};return q(l,R(()=>c)),N(r)}export{ne as component};
1
+ import{t as W,a_ as P,by as A,b as D,bo as p,bt as R,br as U}from"../chunks/DozYGPQ1.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as h,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as T}from"../chunks/DYhIMPy1.js";import{g as re}from"../chunks/55B_mQC6.js";import{p as b}from"../chunks/T2aO1XPv.js";import{F as te,cO as ae}from"../chunks/CpEHCOut.js";import{f as se}from"../chunks/DkrIcKd4.js";var oe=T('<p class="text-sm text-subtle"> </p>'),le=T('<div class="min-h-screen flex items-center justify-center p-6 bg-background"><div class="w-full max-w-md" role="alert" aria-live="assertive"><div class="bg-card border border-border rounded-xl shadow-lg p-8 space-y-6 text-center"><div class="flex justify-center"><div class="w-14 h-14 rounded-full bg-warning/10 flex items-center justify-center opacity-50"><!></div></div> <div class="space-y-3"><h2 class="text-2xl font-semibold text-foreground"> </h2> <!> <p class="text-base text-subtle leading-relaxed break-words"> </p></div> <div class="flex items-center justify-center gap-3 flex-wrap"><!></div></div></div></div>');function q(l,o){if(new.target)return W({component:q,...l});E(o,!0);let c=h(()=>b.error),r=h(()=>b.status),v=h(()=>e(r)===404&&b.url.pathname!=="/");V(()=>{e(v)?(console.warn("[+error.svelte:root] 404, redirecting to /",{url:b.url.href,status:e(r)}),re("/",{replaceState:!0})):console.error("[+error.svelte:root]",{status:e(r),error:e(c)})});var g={$set:A,$on:(i,n)=>D(o,i,n)},j=X(),G=Y(j);{var H=i=>{var n=le(),F=a(n),S=a(F),x=a(S),z=a(x),I=a(z);te(I,{get icon(){return ae},size:"lg",class:"text-warning"}),s(z),s(x);var w=f(x,2),B=a(w),J=$(B,!0),C=f(B,2);{var K=t=>{var d=oe(),u=$(d,!0);k(y=>m(u,y),[()=>p.error_page_status_label({status:e(r)})]),_(t,d)};P(C,t=>{e(r)&&e(r)!==500&&t(K)})}var L=f(C,2),M=$(L,!0);s(w);var O=f(w,2),Q=a(O);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var u=ee();k(y=>m(u,y),[()=>p.error_page_reload_button()]),_(t,u)},$$slots:{default:!0}}),s(O),s(S),s(F),s(n),k((t,d)=>{m(J,t),m(M,d)},[()=>p.error_page_title(),()=>e(c)?.message||p.error_page_unexpected_fallback()]),_(i,n)};P(G,i=>{e(v)||i(H)})}return _(l,j),N(g)}var ie=new Set(["$$slots","$$events","$$legacy"]);function ne(l,o){if(new.target)return W({component:ne,...l});E(o,!0);let c=U(o,ie);var r={$set:A,$on:(v,g)=>D(o,v,g)};return q(l,R(()=>c)),N(r)}export{ne as component};