@intent-hq/web 2.392.2 → 2.392.3

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 (147) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{BI5Znnvl.js → -xPMI1SM.js} +1 -1
  3. package/web/app/immutable/chunks/{C_YUZdUd.js → 2ZBNrUZy.js} +1 -1
  4. package/web/app/immutable/chunks/{DJFngwyn.js → 2bueaerM.js} +1 -1
  5. package/web/app/immutable/chunks/{DXVUAQyy.js → 4Rh5tdzC.js} +1 -1
  6. package/web/app/immutable/chunks/{Dno6lZ_K.js → 7n-O-xn5.js} +1 -1
  7. package/web/app/immutable/chunks/{C0vmnkBQ.js → 8ItTOum-.js} +2 -2
  8. package/web/app/immutable/chunks/{8zgEfd8p.js → 9AeivJQm.js} +4 -4
  9. package/web/app/immutable/chunks/{C7MxCYGe.js → A9FjQ4ig.js} +1 -1
  10. package/web/app/immutable/chunks/{Bshuzu80.js → B0dqY8Yd.js} +1 -1
  11. package/web/app/immutable/chunks/{BIBzuMxT.js → B26epB4C.js} +1 -1
  12. package/web/app/immutable/chunks/{DO0aZyxl.js → B3ZeLze4.js} +1 -1
  13. package/web/app/immutable/chunks/{CWtOXclJ.js → B3sgdO-M.js} +1 -1
  14. package/web/app/immutable/chunks/{CRS_Gu5_.js → B5OK1c9R.js} +1 -1
  15. package/web/app/immutable/chunks/{xPQp-52E.js → B5V_Igzh.js} +1 -1
  16. package/web/app/immutable/chunks/{Da5b0o3C.js → B87xP_ZF.js} +1 -1
  17. package/web/app/immutable/chunks/{KIfAnxvY.js → BAbB1JR3.js} +1 -1
  18. package/web/app/immutable/chunks/{DRWBGAqk.js → BC2ymm4x.js} +1 -1
  19. package/web/app/immutable/chunks/{CqrBJHEX.js → BC7-67A3.js} +1 -1
  20. package/web/app/immutable/chunks/{CYkK72cK.js → BFMw_Rsu.js} +1 -1
  21. package/web/app/immutable/chunks/{DkDnBUkd.js → BH56GSiy.js} +1 -1
  22. package/web/app/immutable/chunks/{D3TJ4iaY.js → BHYEUr70.js} +2 -2
  23. package/web/app/immutable/chunks/{BeO9oetE.js → BLNxuTdw.js} +1 -1
  24. package/web/app/immutable/chunks/{Cgot5oOf.js → BOnAZ0Bh.js} +1 -1
  25. package/web/app/immutable/chunks/{CBttKL23.js → BQLNg--d.js} +1 -1
  26. package/web/app/immutable/chunks/{y3KZMSiK.js → BRtw-FGJ.js} +1 -1
  27. package/web/app/immutable/chunks/{CBNc1G45.js → BSsSTp5c.js} +1 -1
  28. package/web/app/immutable/chunks/{Df7jhhBI.js → BZNRCsEn.js} +1 -1
  29. package/web/app/immutable/chunks/{uri-ziv4.js → BafkB9h2.js} +1 -1
  30. package/web/app/immutable/chunks/{Bosx7Vx3.js → Bex9L_jH.js} +4 -4
  31. package/web/app/immutable/chunks/{THKJxtFa.js → BezBXtqG.js} +1 -1
  32. package/web/app/immutable/chunks/{DXUWNyzc.js → BhD6TCSq.js} +2 -2
  33. package/web/app/immutable/chunks/{DFxTcA3E.js → Bhk2u-_3.js} +1 -1
  34. package/web/app/immutable/chunks/{lwgrrOYd.js → BipAYtG2.js} +3 -3
  35. package/web/app/immutable/chunks/{C4pn-RG0.js → BptF1xOU.js} +1 -1
  36. package/web/app/immutable/chunks/{oS1TO8_n.js → BrCVQoPE.js} +1 -1
  37. package/web/app/immutable/chunks/{Cj1pm0MT.js → BrLVGrLO.js} +1 -1
  38. package/web/app/immutable/chunks/{B0uzI9A2.js → Bsnum5pm.js} +3 -3
  39. package/web/app/immutable/chunks/{DN4W-w9t.js → BtOGFmaT.js} +1 -1
  40. package/web/app/immutable/chunks/{DDKN4vcf.js → BtmdpA7S.js} +1 -1
  41. package/web/app/immutable/chunks/{DjrhPbR_.js → By6WkvE9.js} +1 -1
  42. package/web/app/immutable/chunks/{1_KO_ip3.js → Bz-Q0sJs.js} +2 -2
  43. package/web/app/immutable/chunks/{CClkpbU_.js → BzZzhsx0.js} +1 -1
  44. package/web/app/immutable/chunks/{Vh-BjeJL.js → C1UoJPr2.js} +1 -1
  45. package/web/app/immutable/chunks/{DNZ5cdd7.js → C2KrJl1V.js} +1 -1
  46. package/web/app/immutable/chunks/{BM-e4VeL.js → C3L7kk5u.js} +1 -1
  47. package/web/app/immutable/chunks/{SMQhPblH.js → C6O8IM8T.js} +1 -1
  48. package/web/app/immutable/chunks/{BheHEhKd.js → C8XfkHlI.js} +1 -1
  49. package/web/app/immutable/chunks/{CKJ4i51B.js → CCMvmg57.js} +1 -1
  50. package/web/app/immutable/chunks/{C_GcujO5.js → CDUwgFl9.js} +1 -1
  51. package/web/app/immutable/chunks/{giPqPYXa.js → CE7ZckmT.js} +1 -1
  52. package/web/app/immutable/chunks/{BC5ygYt_.js → CKa70XGN.js} +1 -1
  53. package/web/app/immutable/chunks/{DLt_ME6N.js → CKzjrq__.js} +1 -1
  54. package/web/app/immutable/chunks/{B6vwIjYj.js → CN7DE5jB.js} +1 -1
  55. package/web/app/immutable/chunks/{BbBEGYG_.js → CNKJ8_Xr.js} +1 -1
  56. package/web/app/immutable/chunks/{BVEvAi2Z.js → CO-JfYA5.js} +1 -1
  57. package/web/app/immutable/chunks/{VTJ8c5Pi.js → CPgSaaZt.js} +1 -1
  58. package/web/app/immutable/chunks/{CaeTGhTg.js → CQmOm-Tm.js} +1 -1
  59. package/web/app/immutable/chunks/{CJD3ragP.js → CTGxPVh7.js} +1 -1
  60. package/web/app/immutable/chunks/{DHFudMqw.js → CVCwKAMk.js} +1 -1
  61. package/web/app/immutable/chunks/{BNEmqkUA.js → CVG625sB.js} +1 -1
  62. package/web/app/immutable/chunks/{CTS8A6ux.js → CcUDp4zq.js} +1 -1
  63. package/web/app/immutable/chunks/{XO_-t4Ky.js → Ce20e-vK.js} +1 -1
  64. package/web/app/immutable/chunks/{Di5jyd6k.js → Ce2Qo9vu.js} +1 -1
  65. package/web/app/immutable/chunks/{Chq1aw8Z.js → Cf5NbMeL.js} +3 -3
  66. package/web/app/immutable/chunks/{iqPe99td.js → CfOrhDjV.js} +1 -1
  67. package/web/app/immutable/chunks/{CEwjIkNX.js → Cks1DUg1.js} +1 -1
  68. package/web/app/immutable/chunks/{DBmrZ3Yk.js → CnDbx_Wj.js} +1 -1
  69. package/web/app/immutable/chunks/{CU6Gap7x.js → CnDy2OA4.js} +1 -1
  70. package/web/app/immutable/chunks/{D8kaRNt1.js → Cp9hDo50.js} +1 -1
  71. package/web/app/immutable/chunks/{DQliWD4b.js → Cs3vMbTn.js} +1 -1
  72. package/web/app/immutable/chunks/{B1KwWsSa.js → Ct1r6efw.js} +2 -2
  73. package/web/app/immutable/chunks/{DYCJZbxa.js → Cy5LTcPz.js} +1 -1
  74. package/web/app/immutable/chunks/{_4-WGEtP.js → CyUokemm.js} +1 -1
  75. package/web/app/immutable/chunks/{DrtzIUiM.js → D1Tekuc4.js} +1 -1
  76. package/web/app/immutable/chunks/{DDjTC9Ng.js → D2Jd8tc3.js} +1 -1
  77. package/web/app/immutable/chunks/{COziev1s.js → D80ng7VB.js} +3 -3
  78. package/web/app/immutable/chunks/{CfTZUiDx.js → D9OezaF9.js} +1 -1
  79. package/web/app/immutable/chunks/{X4OcqoCu.js → DDhuJH-4.js} +1 -1
  80. package/web/app/immutable/chunks/{B3z7A_dN.js → DEuuzjmM.js} +1 -1
  81. package/web/app/immutable/chunks/{YeB2MH-S.js → DEykPUjl.js} +1 -1
  82. package/web/app/immutable/chunks/{QvexzmZW.js → DGMKnMeG.js} +2 -2
  83. package/web/app/immutable/chunks/{D20BuQ34.js → DIHHBzYi.js} +2 -2
  84. package/web/app/immutable/chunks/{BaKSWwQZ.js → DIUdGij-.js} +2 -2
  85. package/web/app/immutable/chunks/{DERB0Jdj.js → DJDA_1H4.js} +1 -1
  86. package/web/app/immutable/chunks/{DuuySJmX.js → DQxnu3QZ.js} +1 -1
  87. package/web/app/immutable/chunks/{Cgtlzlbv.js → DUbqvr_K.js} +1 -1
  88. package/web/app/immutable/chunks/{DG6P2gCG.js → DVSwhvvP.js} +7 -7
  89. package/web/app/immutable/chunks/{BNSALBsz.js → DVqhJMup.js} +2 -2
  90. package/web/app/immutable/chunks/{CkYbvS58.js → DWOcsYbU.js} +1 -1
  91. package/web/app/immutable/chunks/{DauNjtnc.js → DWurigib.js} +4 -4
  92. package/web/app/immutable/chunks/{COdzefrH.js → D__LL1n8.js} +1 -1
  93. package/web/app/immutable/chunks/{Bbz7-Oyr.js → DccCxKmZ.js} +1 -1
  94. package/web/app/immutable/chunks/{osg5eECY.js → DdpYiyRs.js} +1 -1
  95. package/web/app/immutable/chunks/{BworT-hG.js → DeJMgdsa.js} +1 -1
  96. package/web/app/immutable/chunks/{BBNkFJWF.js → DgzWQmDb.js} +1 -1
  97. package/web/app/immutable/chunks/{B0S6NxMp.js → DimbKbDZ.js} +2 -2
  98. package/web/app/immutable/chunks/{Bvre4WDp.js → DjyYYXwz.js} +1 -1
  99. package/web/app/immutable/chunks/{B0plrICi.js → DlbHdfKY.js} +1 -1
  100. package/web/app/immutable/chunks/{sO3fM1GP.js → DqQqeuqi.js} +1 -1
  101. package/web/app/immutable/chunks/{C4-ezAa_.js → DthJR85Z.js} +1 -1
  102. package/web/app/immutable/chunks/{Bq1RCxZy.js → DtqJUfJC.js} +1 -1
  103. package/web/app/immutable/chunks/{DCWe1Cbq.js → DvXSJM4q.js} +1 -1
  104. package/web/app/immutable/chunks/{C8EJQhtG.js → DxZIPHU6.js} +1 -1
  105. package/web/app/immutable/chunks/{iPZ0ylPo.js → DyrDaCZi.js} +1 -1
  106. package/web/app/immutable/chunks/{BnsvCrVF.js → Dz-57yVz.js} +1 -1
  107. package/web/app/immutable/chunks/{BaHkhxpe.js → ERz1iYnn.js} +1 -1
  108. package/web/app/immutable/chunks/{Budj_98H.js → Egi6fNpS.js} +1 -1
  109. package/web/app/immutable/chunks/{DP6TPKre.js → FTRClsUK.js} +1 -1
  110. package/web/app/immutable/chunks/{BgThAg3r.js → L9YD-wcw.js} +1 -1
  111. package/web/app/immutable/chunks/{CyrdNV-V.js → O8yKLCWC.js} +1 -1
  112. package/web/app/immutable/chunks/{D_h5QPHj.js → PAEJNClQ.js} +1 -1
  113. package/web/app/immutable/chunks/{DceDM5vi.js → PZ5MSUIU.js} +1 -1
  114. package/web/app/immutable/chunks/{ZZl62WTG.js → QnRBGtVu.js} +1 -1
  115. package/web/app/immutable/chunks/{C5uq1gUG.js → VeOG7xIg.js} +3 -3
  116. package/web/app/immutable/chunks/{BcwRYKt7.js → YClu3XTz.js} +2 -2
  117. package/web/app/immutable/chunks/{C6U5NTf5.js → ZspDMNEv.js} +1 -1
  118. package/web/app/immutable/chunks/{CNP0L-eb.js → _aw8AL2s.js} +1 -1
  119. package/web/app/immutable/chunks/{xWBeRD3f.js → edaGtK2z.js} +1 -1
  120. package/web/app/immutable/chunks/{Cphslpp1.js → g2j4hm88.js} +1 -1
  121. package/web/app/immutable/chunks/{DOSjgvd4.js → gdhW58MB.js} +3 -3
  122. package/web/app/immutable/chunks/{Bt2-MCLy.js → n1INJGMs.js} +1 -1
  123. package/web/app/immutable/chunks/{D5areLL_.js → nUY7GyaZ.js} +1 -1
  124. package/web/app/immutable/chunks/{sChr_bGo.js → q9gf_Sso.js} +1 -1
  125. package/web/app/immutable/chunks/{CSd3ES0N.js → u-Z99Ptk.js} +1 -1
  126. package/web/app/immutable/chunks/{Cvhr4SQ6.js → uQRHnH1Z.js} +1 -1
  127. package/web/app/immutable/chunks/{C4TLfn6n.js → wsIl6ydR.js} +1 -1
  128. package/web/app/immutable/chunks/{d0jTaI_s.js → yus24-dF.js} +1 -1
  129. package/web/app/immutable/entry/{app.DMjhiR3P.js → app.DBKLYfDG.js} +2 -2
  130. package/web/app/immutable/entry/start.DyzI50m5.js +1 -0
  131. package/web/app/immutable/nodes/{0.C7i9QD4T.js → 0.Dr_KMFP9.js} +1 -1
  132. package/web/app/immutable/nodes/{1.BLAkNjLi.js → 1.B4UC5y6C.js} +1 -1
  133. package/web/app/immutable/nodes/{10.BJQbFAUz.js → 10.D-SXaVii.js} +1 -1
  134. package/web/app/immutable/nodes/{11.BUUW97-1.js → 11.CD0ZMPB_.js} +1 -1
  135. package/web/app/immutable/nodes/{15.Bxp4-WNL.js → 15.CWhAy0IL.js} +1 -1
  136. package/web/app/immutable/nodes/{19.EqYVVTCt.js → 19.Cl4NIDR3.js} +2 -2
  137. package/web/app/immutable/nodes/{2.C1A3hiDj.js → 2.DgYKd6eT.js} +1 -1
  138. package/web/app/immutable/nodes/{3.xjaKKItm.js → 3.Cz3D2Kq7.js} +1 -1
  139. package/web/app/immutable/nodes/{4.fhY4DLRW.js → 4.CjaUjxEb.js} +1 -1
  140. package/web/app/immutable/nodes/{5.Gnb7dORS.js → 5.COJH7IAv.js} +1 -1
  141. package/web/app/immutable/nodes/{6.DYxTUZ3Q.js → 6.Da5DOHiE.js} +1 -1
  142. package/web/app/immutable/nodes/{7.SR4e3Tlg.js → 7.dcDATK47.js} +1 -1
  143. package/web/app/immutable/nodes/{8.2WJub-vx.js → 8.C2qio8n9.js} +1 -1
  144. package/web/app/immutable/nodes/{9.DwsKz8rq.js → 9.CjfzK0IK.js} +2 -2
  145. package/web/app/version.json +1 -1
  146. package/web/index.html +9 -9
  147. package/web/app/immutable/entry/start.Cj80d4qw.js +0 -1
@@ -1,4 +1,4 @@
1
- import{t as Ke,bo as k,bm as Ce,bw as Ve,b as Ue,q as ur,n as vr,r as gr,o as fr,p as hr,s as mr,bs as ht,bq as pr,f as _r,l as xr,g as br,e as wr,d as kr,m as yr,j as $r,i as Sr,h as Cr,k as Nr}from"./Fcr7AvC-.js";import{bs as Je,ca as Ze,aD as e,ay as be,a5 as o,bH as L,bS as n,a7 as Pt,W as i,be as st,b$ as et,b_ as M,bO as C,bA as s,bl as O,bn as qe,bV as we,aA as y,c9 as _,aB as x,br as mt}from"./3SdAC2_C.js";import{n$ as Rr,JH as ct,n6 as Tt,en as Mr,eK as Pr,eL as Lr}from"./D0qhIm1r.js";import{i as H}from"./BhYXv0ZM.js";import{n as We,j as Oe,h as at}from"./CxR-pcVt.js";import{dI as Ir,bt as Ar}from"./cD292w1o.js";import{a9 as jt}from"./B0uzI9A2.js";import{I as it,g as Ge,i as Lt}from"./CA6H1-bp.js";import{f as xe}from"./Beq_QLuz.js";import"./BAtAwQ72.js";import{f as He,s as Er}from"./BRCr02in.js";import"./CWfjuhY2.js";import{F as fe,a2 as Hr,cR as zr,aw as ot,ax as pt,c2 as Wr,aV as Dr,bN as Tr,bH as jr,b9 as Fr,cW as Br,cn as Gr,b6 as St,c$ as Rt,cr as _t,bo as Or,cF as Kr,au as Vr}from"./ChHRVjww.js";import{i as Ur}from"./DG6P2gCG.js";import{h as Ft}from"./BKD7o1lQ.js";import{H as Bt}from"./CcNhqKh5.js";import{I as Ut}from"./C3KgmGxd.js";import"./x4bPxhVW.js";import{q as Jr}from"./C7b3vXLD.js";import{M as Mt}from"./COziev1s.js";import{B as qr}from"./jphlY6bT.js";import{S as Ct}from"./D7KhILhs.js";const Qr=[/^diff --git /,/^index\s/,/^---\s/,/^\+\+\+\s/,/^\/];function Yr($){const r=[];if(!$)return r;const d=$.split(`
1
+ import{t as Ke,bo as k,bm as Ce,bw as Ve,b as Ue,q as ur,n as vr,r as gr,o as fr,p as hr,s as mr,bs as ht,bq as pr,f as _r,l as xr,g as br,e as wr,d as kr,m as yr,j as $r,i as Sr,h as Cr,k as Nr}from"./Fcr7AvC-.js";import{bs as Je,ca as Ze,aD as e,ay as be,a5 as o,bH as L,bS as n,a7 as Pt,W as i,be as st,b$ as et,b_ as M,bO as C,bA as s,bl as O,bn as qe,bV as we,aA as y,c9 as _,aB as x,br as mt}from"./3SdAC2_C.js";import{n$ as Rr,JH as ct,n6 as Tt,en as Mr,eK as Pr,eL as Lr}from"./D0qhIm1r.js";import{i as H}from"./BhYXv0ZM.js";import{n as We,j as Oe,h as at}from"./CxR-pcVt.js";import{dI as Ir,bt as Ar}from"./cD292w1o.js";import{a9 as jt}from"./Bsnum5pm.js";import{I as it,g as Ge,i as Lt}from"./CA6H1-bp.js";import{f as xe}from"./Beq_QLuz.js";import"./BAtAwQ72.js";import{f as He,s as Er}from"./BRCr02in.js";import"./CWfjuhY2.js";import{F as fe,a2 as Hr,cR as zr,aw as ot,ax as pt,c2 as Wr,aV as Dr,bN as Tr,bH as jr,b9 as Fr,cW as Br,cn as Gr,b6 as St,c$ as Rt,cr as _t,bo as Or,cF as Kr,au as Vr}from"./ChHRVjww.js";import{i as Ur}from"./DVSwhvvP.js";import{h as Ft}from"./BKD7o1lQ.js";import{H as Bt}from"./CcNhqKh5.js";import{I as Ut}from"./C3KgmGxd.js";import"./x4bPxhVW.js";import{q as Jr}from"./C7b3vXLD.js";import{M as Mt}from"./D80ng7VB.js";import{B as qr}from"./jphlY6bT.js";import{S as Ct}from"./D7KhILhs.js";const Qr=[/^diff --git /,/^index\s/,/^---\s/,/^\+\+\+\s/,/^\/];function Yr($){const r=[];if(!$)return r;const d=$.split(`
2
2
  `);let m=null,b=0,u=0;const T=P=>{const h=P.match(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),J=h?parseInt(h[1],10):0,K=h&&h[2]?parseInt(h[2],10):null,pe=h?parseInt(h[3],10):0,q=h&&h[4]?parseInt(h[4],10):null;m={header:P,oldStart:J,oldLines:K,newStart:pe,newLines:q,lines:[]},r.push(m),b=J,u=pe};for(const P of d){if(P.startsWith("@@")){T(P);continue}if(!m)continue;const h=m;P.startsWith("+")?h.lines.push({type:"addition",content:P.slice(1),oldNum:null,newNum:u++,raw:P}):P.startsWith("-")?h.lines.push({type:"deletion",content:P.slice(1),oldNum:b++,newNum:null,raw:P}):P.startsWith(" ")?h.lines.push({type:"context",content:P.slice(1),oldNum:b++,newNum:u++,raw:P}):Qr.some(J=>J.test(P))||P.trim()===""&&h.lines.push({type:"context",content:"",oldNum:b++,newNum:u++,raw:P})}return r}var Xr=x('<div><!> <!> <!></div> <p class="text-ui text-subtle mt-1"> </p>',1);function Jt($,r){if(new.target)return Ke({component:Jt,...$});Je(r,!0);let d=k(r,"lineNumber",7,0),m=k(r,"fileName",7,""),b=k(r,"onSend",7),u=k(r,"onClose",7),T=k(r,"isSending",7,!1),P=k(r,"class",7,""),h=we(""),J=we(null);Ze(()=>{e(J)&&e(J).focus()});function K(){!e(h).trim()||T()||(b()?.(e(h).trim(),d(),m()),L(h,""))}function pe(I){I.key==="Enter"&&!I.shiftKey&&(I.preventDefault(),K()),I.key==="Escape"&&u()?.()}var q={get lineNumber(){return d()},set lineNumber(I=0){d(I),y()},get fileName(){return m()},set fileName(I=""){m(I),y()},get onSend(){return b()},set onSend(I){b(I),y()},get onClose(){return u()},set onClose(I){u(I),y()},get isSending(){return T()},set isSending(I=!1){T(I),y()},get class(){return P()},set class(I=""){P(I),y()},$set:Ve,$on:(I,he)=>Ue(r,I,he)},w=Xr(),z=be(w),de=o(z);{let I=_(()=>Ce.codeReview_inlineComment_askLine_placeholder());Ut(de,{onkeydown:pe,get placeholder(){return e(I)},get disabled(){return T()},class:"flex-1 h-8 rounded-md border border-border bg-background px-3 text-sm placeholder:text-muted-foreground disabled:opacity-50",get ref(){return e(J)},set ref(he){L(J,he,!0)},get value(){return e(h)},set value(he){L(h,he,!0)}})}var ce=n(de,2);{let I=_(()=>!e(h).trim()||T());xe(ce,{type:"button",variant:"primary",onclick:K,get disabled(){return e(I)},class:"h-8 w-8 p-0",children:(he,Ne)=>{var _e=Pt(),S=be(_e);{var E=me=>{it(me,{size:14})},Ie=me=>{fe(me,{get icon(){return Hr},class:"h-3.5 w-3.5"})};H(S,me=>{T()?me(E):me(Ie,-1)})}i(he,_e)},$$slots:{default:!0}})}var ae=n(ce,2);xe(ae,{type:"button",variant:"ghost",onclick:()=>u()?.(),class:"h-8 px-2 text-xs text-muted-foreground hover:text-foreground transition-colors",children:(I,he)=>{st();var Ne=et();M(_e=>C(Ne,_e),[()=>Ce.codeReview_inlineComment_cancel_label()]),i(I,Ne)},$$slots:{default:!0}}),s(z);var te=n(z,2),ke=O(te,!0);return M(I=>{He(z,1,`walkthrough-inline-comment flex items-center gap-2 ${P()??""}`),C(ke,I)},[()=>Ce.codeReview_inlineComment_inputHint_label()]),i($,w),qe(q)}var Zr=x('<div class="text-xs text-slate-400 dark:text-slate-500 mt-1"> </div>'),en=x('<span class="font-medium"> </span> <!>',1),tn=x('<div class="flex items-start gap-3 py-2"><div><!></div> <div class="flex-1 min-w-0"><div class="text-sm leading-relaxed text-slate-700 dark:text-slate-300"><!></div></div></div>'),rn=x('<div class="px-4 pb-3 divide-y divide-border"></div>'),nn=x('<div class="border-t border-border"><!> <!></div>'),an=x('<div class="flex items-center gap-2 px-4 py-2 text-xs text-slate-500 dark:text-slate-400 border-t border-border"><!> <span> </span></div>'),sn=x('<div class="flex items-center gap-2"><!> <!> <!></div> <p class="text-ui text-slate-400 dark:text-slate-500 mt-1"> </p>',1),on=x("<!> <span> </span>",1),ln=x('<div><div class="flex items-start gap-3 px-4 py-3"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-sm text-slate-800 dark:text-slate-200 leading-relaxed"><!></div> <!></div> <!></div> <!> <!> <div class="border-t border-border px-4 py-2"><!></div></div>');function qt($,r){if(new.target)return Ke({component:qt,...$});Je(r,!0);let d=k(r,"annotation",7),m=k(r,"lineNumber",7),b=k(r,"fileName",7),u=k(r,"messages",23,()=>[]),T=k(r,"onSendMessage",7),P=k(r,"onClose",7),h=k(r,"isSending",7,!1),J=k(r,"isAgentResponding",7,!1),K=k(r,"timestamp",7),pe=k(r,"class",7,""),q=we(""),w=we(!1),z=we(!1),de=we(null);Ze(()=>{e(w)&&e(de)&&e(de).focus()});function ce(){!e(q).trim()||h()||(T()?.(e(q).trim(),m(),b()),L(q,""))}function ae(a){a.key==="Enter"&&!a.shiftKey&&(a.preventDefault(),ce()),a.key==="Escape"&&(e(q)?L(q,""):L(w,!1))}function te(a){switch(a){case"highlight":return Fr;case"context":return jr;case"explanation":default:return Tr}}function ke(a){switch(a){case"highlight":return"text-orange-500";case"context":return"text-blue-500";case"explanation":default:return"text-warning-ink"}}function I(a){return a?Jr(a):""}const he=_(()=>u().length>0);var Ne={get annotation(){return d()},set annotation(a){d(a),y()},get lineNumber(){return m()},set lineNumber(a){m(a),y()},get fileName(){return b()},set fileName(a){b(a),y()},get messages(){return u()},set messages(a=[]){u(a),y()},get onSendMessage(){return T()},set onSendMessage(a){T(a),y()},get onClose(){return P()},set onClose(a){P(a),y()},get isSending(){return h()},set isSending(a=!1){h(a),y()},get isAgentResponding(){return J()},set isAgentResponding(a=!1){J(a),y()},get timestamp(){return K()},set timestamp(a){K(a),y()},get class(){return pe()},set class(a=""){pe(a),y()},$set:Ve,$on:(a,D)=>Ue(r,a,D)},_e=ln(),S=o(_e),E=o(S),Ie=o(E);{let a=_(()=>te(d().type)),D=_(()=>ke(d().type));fe(Ie,{get icon(){return e(a)},get class(){return`h-4 w-4 ${e(D)??""}`}})}s(E);var me=n(E,2),v=o(me),R=o(v);Mt(R,{get content(){return d().message},className:"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0"}),s(v);var A=n(v,2);{var X=a=>{var D=Zr(),Z=O(D,!0);M(ee=>C(Z,ee),[()=>I(K())]),i(a,D)};H(A,a=>{K()&&a(X)})}s(me);var ie=n(me,2);{var $e=a=>{{let D=_(()=>Ce.codeReview_commentThread_dismiss_tooltip());xe(a,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,get onclick(){return P()},class:"shrink-0 text-slate-400 hover:text-slate-600 dark:text-slate-500 dark:hover:text-slate-300 transition-colors",get title(){return e(D)},children:(Z,ee)=>{fe(Z,{get icon(){return zr}})},$$slots:{default:!0}})}};H(ie,a=>{P()&&a($e)})}s(S);var Se=n(S,2);{var ye=a=>{var D=nn(),Z=o(D);xe(Z,{type:"button",variant:"ghost",onclick:()=>L(z,!e(z)),class:"w-full flex items-center justify-between px-4 py-2 text-sm text-slate-600 dark:text-slate-400 hover:bg-slate-50 dark:hover:bg-slate-800/50 transition-colors",children:(Q,se)=>{var Y=en(),c=be(Y),p=O(c,!0),B=n(c,2);{let ue=_(()=>e(z)?ot:pt);fe(B,{get icon(){return e(ue)},class:"h-3 w-3"})}M(ue=>C(p,ue),[()=>Ce.codeReview_commentThread_suggestedChanges_label()]),i(Q,Y)},$$slots:{default:!0}});var ee=n(Z,2);{var re=Q=>{var se=rn();Ge(se,21,u,Y=>Y.id,(Y,c)=>{var p=tn(),B=o(p),ue=o(B);{let g=_(()=>e(c).type==="user"?Br:Gr),N=_(()=>e(c).type==="user"?"text-blue-600 dark:text-blue-400":"text-purple-600 dark:text-purple-400");fe(ue,{get icon(){return e(g)},get class(){return`h-2.5 w-2.5 ${e(N)??""}`}})}s(B);var Re=n(B,2),t=o(Re),l=o(t);Mt(l,{get content(){return e(c).content},className:"[&>*:first-child]:mt-0 [&>*:last-child]:mb-0"}),s(t),s(Re),s(p),M(()=>He(B,1,`shrink-0 flex h-5 w-5 items-center justify-center rounded-full ${e(c).type==="user"?"bg-blue-100 dark:bg-blue-900/50":"bg-purple-100 dark:bg-purple-900/50"}`)),We(3,p,()=>at,()=>({axis:"y",distance:4,tier:"moderate"})),i(Y,p)}),s(se),We(3,se,()=>Oe,()=>({tier:"moderate"})),i(Q,se)};H(ee,Q=>{e(z)&&Q(re)})}s(D),i(a,D)};H(Se,a=>{e(he)&&a(ye)})}var V=n(Se,2);{var j=a=>{var D=an(),Z=o(D);it(Z,{size:12});var ee=n(Z,2),re=O(ee,!0);s(D),M(Q=>C(re,Q),[()=>Ce.codeReview_commentThread_agentResponding_label()]),i(a,D)};H(V,a=>{J()&&a(j)})}var f=n(V,2),W=o(f);{var F=a=>{var D=sn(),Z=be(D),ee=o(Z);{let c=_(()=>Ce.codeReview_commentThread_followUp_placeholder());Ut(ee,{onkeydown:ae,get placeholder(){return e(c)},get disabled(){return h()},class:"flex-1 h-8 rounded-md border border-border bg-white dark:bg-slate-800 px-3 text-sm placeholder:text-slate-400 disabled:opacity-50",get ref(){return e(de)},set ref(p){L(de,p,!0)},get value(){return e(q)},set value(p){L(q,p,!0)}})}var re=n(ee,2);{let c=_(()=>!e(q).trim()||h());xe(re,{type:"button",variant:"primary",onclick:ce,get disabled(){return e(c)},class:"h-8 w-8 p-0",children:(p,B)=>{var ue=Pt(),Re=be(ue);{var t=g=>{it(g,{size:14})},l=g=>{fe(g,{get icon(){return Wr},class:"h-3 w-3"})};H(Re,g=>{h()?g(t):g(l,-1)})}i(p,ue)},$$slots:{default:!0}})}var Q=n(re,2);xe(Q,{type:"button",variant:"ghost",onclick:()=>{L(w,!1),L(q,"")},class:"h-8 px-2 text-xs text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200 transition-colors",children:(c,p)=>{st();var B=et();M(ue=>C(B,ue),[()=>Ce.codeReview_commentThread_cancel_label()]),i(c,B)},$$slots:{default:!0}}),s(Z);var se=n(Z,2),Y=O(se,!0);M(c=>C(Y,c),[()=>Ce.codeReview_commentThread_inputHint_label()]),We(3,Z,()=>Oe,()=>({tier:"fast"})),i(a,D)},le=a=>{xe(a,{type:"button",variant:"ghost",onclick:()=>L(w,!0),class:"flex items-center gap-1.5 text-xs text-emerald-600 dark:text-emerald-400 hover:text-emerald-700 dark:hover:text-emerald-300 transition-colors",children:(D,Z)=>{var ee=on(),re=be(ee);fe(re,{get icon(){return Dr},class:"h-3 w-3"});var Q=n(re,2),se=O(Q,!0);M(Y=>C(se,Y),[()=>Ce.codeReview_commentThread_askQuestion_label()]),i(D,ee)},$$slots:{default:!0}})};H(W,a=>{e(w)?a(F):a(le,-1)})}return s(f),s(_e),M(()=>He(_e,1,`walkthrough-comment-thread relative flex w-full flex-col bg-white shadow-sm dark:bg-slate-900 ${pe()??""}`)),We(3,_e,()=>Oe,()=>({tier:"moderate"})),i($,_e),qe(Ne)}var dn=x('<span class="text-emerald-600 dark:text-emerald-400 font-medium"> </span>'),cn=x('<!> <svg class="h-4 w-4 text-ghost shrink-0" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12zm2 0v12h6v-12H5.5z"></path></svg> <div class="flex items-baseline gap-2 flex-1 min-w-0"><span class="text-sm font-medium text-foreground truncate"> </span> <span class="text-xs text-subtle truncate hidden sm:inline"> </span></div> <div class="flex items-center gap-1 text-xs shrink-0"><!></div>',1),un=x('<div class="px-4 pb-3 -mt-1"><p class="text-sm text-subtle"> </p></div>'),vn=x('<div><div><span class="w-12 px-2 text-right text-ui text-subtle tabular-nums"> </span></div> <span> </span> <pre class="flex-1 px-1 whitespace-pre overflow-hidden text-ellipsis"><code class="hljs"></code></pre></div>'),gn=x('<div class="border-t border-border"><div class="font-mono text-xs leading-relaxed text-muted-foreground"><!> <!></div></div>'),fn=x('<span class="text-subtle">·</span> <!>',1),hn=x('<div class="flex items-center justify-end gap-2 px-3 py-1.5 bg-muted/20 border-b border-border text-xs"><!> <!></div>'),Gt=x("<!> <span> </span> <!>",1),mn=x('<div class="ml-20"><!></div>'),pn=x('<div class="ml-20 border-l-2 border-primary-ink/50 bg-muted/20"><div class="p-3"><!></div></div>'),_n=x('<div><div><span class="w-10 px-2 text-right text-ui text-subtle tabular-nums"> </span> <span class="w-10 px-2 text-right text-ui text-subtle tabular-nums"> </span></div> <span> </span> <div class="flex-1 flex items-center min-w-0 pr-2"><pre class="flex-1 px-1 whitespace-pre overflow-x-auto"><code class="hljs"></code></pre> <!></div></div> <!> <!> <!>',1),xn=x("<!> <!>",1),bn=x('<div class="relative"><!> <div class="overflow-x-auto"><div class="font-mono text-xs leading-relaxed min-w-full"></div></div></div>'),wn=x('<div><div class="flex flex-col border-b border-border"><!> <!></div> <!> <!></div>');function It($,r){if(new.target)return Ke({component:It,...$});Je(r,!0);let d=k(r,"fileName",7),m=k(r,"patch",7),b=k(r,"annotations",23,()=>[]),u=k(r,"initialCollapsed",7,!1),T=k(r,"contextLines",7,3),P=k(r,"onSendMessage",7),h=k(r,"isSending",7,!1),J=k(r,"additions",7,0),K=k(r,"deletions",7,0),pe=k(r,"fileDescription",7,""),q=k(r,"class",7,"");const w=_(()=>Yr(m())),z=_(()=>Rr(d())),de=_(()=>{const t=new Map;return!e(z)||e(z)==="text"||e(z)==="plaintext"||!Bt.getLanguage(e(z))||e(w).forEach(l=>{const g=[];if(l.lines.forEach(N=>{const G=N.content||"",U=`${N.oldNum}-${N.newNum}`;g.push({content:G,key:U})}),g.length!==0)try{const N=g.map(ne=>ne.content).join(`
3
3
  `),U=Bt.highlight(N,{language:e(z)}).value.split(`
4
4
  `);g.forEach((ne,oe)=>{oe<U.length&&t.set(ne.key,U[oe])})}catch(N){console.warn("Failed to highlight hunk:",N)}}),t});let ce=we(mt(u())),ae=we(mt(new Set)),te=we(null);const ke=_(()=>{const t=new Map;for(const l of b()){const g=t.get(l.line)||[];g.push(l),t.set(l.line,g)}return t}),I=_(()=>new Set(b().map(t=>t.line)));function he(t){if(t.type==="deletion")return[];const l=t.newNum;return l==null?[]:e(ke).get(l)||[]}function Ne(t,l,g){if(g.type==="addition"||g.type==="deletion")return!0;const N=g.newNum??g.oldNum;if(N!==null&&e(I).has(N))return!0;const G=e(w)[t];if(!G)return!1;for(let U=Math.max(0,l-T());U<=Math.min(G.lines.length-1,l+T());U++){const ne=G.lines[U];if(ne.type==="addition"||ne.type==="deletion")return!0;const oe=ne.newNum??ne.oldNum;if(oe!==null&&e(I).has(oe))return!0}for(const U of e(ae)){const[ne,oe,ve]=U.split("-").map(Number);if(ne===t&&l>=oe&&l<=ve)return!0}return!1}function _e(t){const l=e(w)[t];if(!l)return[];const g=[];let N=null;for(let G=0;G<l.lines.length;G++){const U=Ne(t,G,l.lines[G]);!U&&N===null?N=G:U&&N!==null&&(g.push({startIndex:N,endIndex:G-1,count:G-N}),N=null)}return N!==null&&g.push({startIndex:N,endIndex:l.lines.length-1,count:l.lines.length-N}),g}function S(t,l,g){const N=`${t}-${l}-${g}`;e(ae).add(N),L(ae,new Set(e(ae)),!0)}function E(){for(let t=0;t<e(w).length;t++){const l=e(w)[t];S(t,0,l.lines.length-1)}}function Ie(){L(ae,new Set,!0)}function me(t){const l=`${t.oldNum}-${t.newNum}`,g=e(de).get(l);return g!==void 0?g:v(t.content||"")}function v(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function R(t){switch(t.type){case"addition":return"bg-emerald-500/5 dark:bg-emerald-500/10";case"deletion":return"bg-red-500/5 dark:bg-red-500/10";default:return""}}function A(t){switch(t.type){case"addition":return"text-emerald-600 dark:text-emerald-400 font-medium";case"deletion":return"text-red-600 dark:text-red-400 font-medium";default:return"text-transparent"}}function X(t){switch(t.type){case"addition":return"+";case"deletion":return"-";default:return" "}}function ie(t){switch(t.type){case"addition":return"bg-emerald-500/10 dark:bg-emerald-500/15";case"deletion":return"bg-red-500/10 dark:bg-red-500/15";default:return"bg-muted/30"}}function $e(){L(ce,!e(ce))}function Se(t){L(te,t,!0)}function ye(){L(te,null)}function V(t,l,g){P()?.(t,l,g),L(te,null)}const j=_(()=>()=>{const t=d().split("/");return t[t.length-1]}),f=_(()=>()=>{const t=d().split("/");return t.length<=1?"":t.slice(0,-1).join("/")}),W=_(()=>{for(let t=0;t<e(w).length;t++)if(_e(t).length>0)return!0;return!1}),F=_(()=>{const l=[];for(let g=0;g<e(w).length&&l.length<3;g++){const N=e(w)[g];for(let G=0;G<N.lines.length&&l.length<3;G++){const U=N.lines[G];(U.type==="addition"||U.type==="deletion")&&l.push({line:U,hunkIndex:g,lineIndex:G})}}return l}),le=_(()=>{let t=0;for(const l of e(w))for(const g of l.lines)(g.type==="addition"||g.type==="deletion")&&t++;return t});let a=we(mt(new Map));function D(t){return`${t.file}:${t.line}:${t.type}`}function Z(t){return e(a).get(D(t))||[]}var ee={get fileName(){return d()},set fileName(t){d(t),y()},get patch(){return m()},set patch(t){m(t),y()},get annotations(){return b()},set annotations(t=[]){b(t),y()},get initialCollapsed(){return u()},set initialCollapsed(t=!1){u(t),y()},get contextLines(){return T()},set contextLines(t=3){T(t),y()},get onSendMessage(){return P()},set onSendMessage(t){P(t),y()},get isSending(){return h()},set isSending(t=!1){h(t),y()},get additions(){return J()},set additions(t=0){J(t),y()},get deletions(){return K()},set deletions(t=0){K(t),y()},get fileDescription(){return pe()},set fileDescription(t=""){pe(t),y()},get class(){return q()},set class(t=""){q(t),y()},$set:Ve,$on:(t,l)=>Ue(r,t,l)},re=wn(),Q=o(re),se=o(Q);xe(se,{type:"button",variant:"ghost",class:"w-full flex items-center gap-2 px-4 py-3 hover:bg-muted/30 transition-colors text-left group",onclick:$e,children:(t,l)=>{var g=cn(),N=be(g);{let Le=_(()=>e(ce)?pt:ot);fe(N,{get icon(){return e(Le)},class:"h-3 w-3 text-ghost shrink-0"})}var G=n(N,4),U=o(G),ne=O(U,!0),oe=n(U,2),ve=O(oe,!0);s(G);var Me=n(G,2),Ae=o(Me);{var De=Le=>{var Ee=dn(),Fe=O(Ee);M(()=>C(Fe,`+${J()+K()}`)),i(Le,Ee)};H(Ae,Le=>{(J()>0||K()>0)&&Le(De)})}s(Me),M((Le,Ee)=>{C(ne,Le),C(ve,Ee)},[()=>e(j)(),()=>e(f)()]),i(t,g)},$$slots:{default:!0}});var Y=n(se,2);{var c=t=>{var l=un(),g=o(l),N=O(g,!0);s(l),M(()=>C(N,pe())),i(t,l)};H(Y,t=>{pe()&&t(c)})}s(Q);var p=n(Q,2);{var B=t=>{var l=gn(),g=o(l),N=o(g);Ge(N,17,()=>e(F),({line:ne,hunkIndex:oe,lineIndex:ve})=>`preview-${oe}-${ve}`,(ne,oe)=>{let ve=()=>e(oe).line;var Me=vn(),Ae=o(Me),De=o(Ae),Le=O(De,!0);s(Ae);var Ee=n(Ae,2),Fe=O(Ee,!0),Te=n(Ee,2),ge=o(Te);Ft(ge,()=>me(ve()),!0),s(ge),s(Te),s(Me),M((Qe,Ye,Xe,tt)=>{He(Me,1,`flex ${Qe??""}`),He(Ae,1,`w-12 shrink-0 flex select-none ${Ye??""} border-r border-border`),C(Le,ve().newNum??ve().oldNum??""),He(Ee,1,`w-5 shrink-0 text-center select-none ${Xe??""}`),C(Fe,tt)},[()=>R(ve()),()=>ie(ve()),()=>A(ve()),()=>X(ve())]),i(ne,Me)});var G=n(N,2);{var U=ne=>{xe(ne,{type:"button",variant:"ghost",class:"w-full py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors text-center",onclick:$e,children:(oe,ve)=>{st();var Me=et();M(Ae=>C(Me,Ae),[()=>Ce.codeReview_fileDiff_moreLines_label({count:e(le)-e(F).length})]),i(oe,Me)},$$slots:{default:!0}})};H(G,ne=>{e(le)>e(F).length&&ne(U)})}s(g),s(l),We(3,l,()=>Oe,()=>({tier:"moderate"})),i(t,l)};H(p,t=>{e(ce)&&e(F).length>0&&t(B)})}var ue=n(p,2);{var Re=t=>{var l=bn(),g=o(l);{var N=ne=>{var oe=hn(),ve=o(oe);xe(ve,{type:"button",variant:"ghost",class:"text-muted-foreground hover:text-foreground transition-colors",onclick:E,children:(De,Le)=>{st();var Ee=et();M(Fe=>C(Ee,Fe),[()=>Ce.codeReview_fileDiff_expandAll_label()]),i(De,Ee)},$$slots:{default:!0}});var Me=n(ve,2);{var Ae=De=>{var Le=fn(),Ee=n(be(Le),2);xe(Ee,{type:"button",variant:"ghost",class:"text-muted-foreground hover:text-foreground transition-colors",onclick:Ie,children:(Fe,Te)=>{st();var ge=et();M(Qe=>C(ge,Qe),[()=>Ce.codeReview_fileDiff_collapse_label()]),i(Fe,ge)},$$slots:{default:!0}}),i(De,Le)};H(Me,De=>{e(ae).size>0&&De(Ae)})}s(oe),i(ne,oe)};H(g,ne=>{e(W)&&ne(N)})}var G=n(g,2),U=o(G);Ge(U,21,()=>e(w),Lt,(ne,oe,ve)=>{const Me=_(()=>_e(ve)),Ae=_(()=>e(Me).find(Te=>Te.startIndex===0));var De=xn(),Le=be(De);{var Ee=Te=>{xe(Te,{type:"button",variant:"ghost",class:"w-full flex items-center justify-center gap-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors border-b border-border",onclick:()=>S(ve,e(Ae).startIndex,e(Ae).endIndex),children:(ge,Qe)=>{var Ye=Gt(),Xe=be(Ye);fe(Xe,{get icon(){return ot},class:"h-2.5 w-2.5"});var tt=n(Xe,2),xt=O(tt,!0),rt=n(tt,2);fe(rt,{get icon(){return ot},class:"h-2.5 w-2.5"}),M(ut=>C(xt,ut),[()=>Ce.codeReview_fileDiff_showHidden_label({count:e(Ae).count})]),i(ge,Ye)},$$slots:{default:!0}})};H(Le,Te=>{e(Ae)&&Te(Ee)})}var Fe=n(Le,2);Ge(Fe,19,()=>e(oe).lines,(Te,ge)=>`${ve}-${ge}`,(Te,ge,Qe)=>{const Ye=_(()=>`${e(ge).oldNum}-${e(ge).newNum}`),Xe=_(()=>he(e(ge))),tt=_(()=>e(te)===e(Ye)),xt=_(()=>Ne(ve,e(Qe),e(ge))),rt=_(()=>e(Me).find(lt=>lt.startIndex===e(Qe)+1));var ut=Pt(),er=be(ut);{var tr=lt=>{var At=_n(),vt=be(At),gt=o(vt),Et=o(gt),rr=O(Et,!0),nr=n(Et,2),ar=O(nr,!0);s(gt);var bt=n(gt,2),sr=O(bt,!0),Ht=n(bt,2),wt=o(Ht),zt=o(wt);Ft(zt,()=>me(e(ge)),!0),s(zt),s(wt);var or=n(wt,2);{var ir=Pe=>{{let ze=_(()=>Ce.codeReview_fileDiff_askLine_tooltip());xe(Pe,{type:"button",variant:"ghost",size:"icon-compact",iconOnly:!0,class:"size-5 opacity-0 group-hover:opacity-100 text-muted-foreground hover:text-primary-ink transition-all shrink-0",onclick:()=>Se(e(Ye)),get title(){return e(ze)},children:(je,Be)=>{fe(je,{get icon(){return St}})},$$slots:{default:!0}})}};H(or,Pe=>{P()&&Pe(ir)})}s(Ht),s(vt);var Wt=n(vt,2);Ge(Wt,19,()=>e(Xe),(Pe,ze)=>`${Pe.line}-${ze}`,(Pe,ze)=>{var je=mn(),Be=o(je);{let nt=_(()=>e(ge).newNum??e(ge).oldNum??0),ft=_(()=>Z(e(ze)));qt(Be,{get annotation(){return e(ze)},get lineNumber(){return e(nt)},get fileName(){return d()},get messages(){return e(ft)},onSendMessage:(kt,yt,$t)=>V(kt,yt,$t),get isSending(){return h()}})}s(je),We(3,je,()=>Oe,()=>({tier:"moderate"})),i(Pe,je)});var Dt=n(Wt,2);{var lr=Pe=>{var ze=pn(),je=o(ze),Be=o(je);{let nt=_(()=>e(ge).newNum??e(ge).oldNum??0);Jt(Be,{get lineNumber(){return e(nt)},get fileName(){return d()},onSend:V,onClose:ye,get isSending(){return h()}})}s(je),s(ze),i(Pe,ze)};H(Dt,Pe=>{e(tt)&&e(Xe).length===0&&Pe(lr)})}var dr=n(Dt,2);{var cr=Pe=>{xe(Pe,{type:"button",variant:"ghost",class:"w-full flex items-center justify-center gap-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/30 transition-colors border-y border-border bg-muted/10",onclick:()=>S(ve,e(rt).startIndex,e(rt).endIndex),children:(ze,je)=>{var Be=Gt(),nt=be(Be);fe(nt,{get icon(){return St},class:"h-2.5 w-2.5"});var ft=n(nt,2),kt=O(ft,!0),yt=n(ft,2);fe(yt,{get icon(){return St},class:"h-2.5 w-2.5"}),M($t=>C(kt,$t),[()=>Ce.codeReview_fileDiff_showHidden_label({count:e(rt).count})]),i(ze,Be)},$$slots:{default:!0}})};H(dr,Pe=>{e(rt)&&Pe(cr)})}M((Pe,ze,je,Be)=>{He(vt,1,`group flex ${Pe??""} hover:bg-accent/30 transition-colors`),He(gt,1,`w-20 shrink-0 flex select-none ${ze??""} border-r border-border`),C(rr,e(ge).oldNum??""),C(ar,e(ge).newNum??""),He(bt,1,`w-5 shrink-0 text-center select-none ${je??""}`),C(sr,Be)},[()=>R(e(ge)),()=>ie(e(ge)),()=>A(e(ge)),()=>X(e(ge))]),i(lt,At)};H(er,lt=>{e(xt)&&lt(tr)})}i(Te,ut)}),i(ne,De)}),s(U),s(G),s(l),We(3,l,()=>Oe,()=>({tier:"moderate"})),i(t,l)};H(ue,t=>{e(ce)||t(Re)})}return s(re),M(()=>He(re,1,`walkthrough-file-diff overflow-hidden bg-card ${q()??""}`)),i($,re),qe(ee)}var kn=x('<div class="flex items-start gap-3"><div class="shrink-0 mt-0.5"><svg viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M2 6a2 2 0 012-2h4l2 2h4a2 2 0 012 2v1H8a3 3 0 00-3 3v1.5a1.5 1.5 0 01-3 0V6z" clip-rule="evenodd"></path><path d="M6 12a2 2 0 012-2h8a2 2 0 012 2v2a2 2 0 01-2 2H2h2a2 2 0 002-2v-2z"></path></svg></div> <div class="flex-1 min-w-0"><h4 class="text-sm font-medium text-foreground line-clamp-2"> </h4> <p class="text-xs text-subtle mt-1 line-clamp-2"> </p> <div class="flex items-center gap-1 mt-2 text-xs text-subtle"><svg class="h-3.5 w-3.5" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12z"></path></svg> <span> </span></div></div></div>'),yn=x('<div><div class="mb-4"><h3 class="text-sm font-medium text-subtle"> </h3></div> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3"></div></div>');function Qt($,r){if(new.target)return Ke({component:Qt,...$});Je(r,!0);let d=k(r,"categories",7),m=k(r,"onCategoryClick",7),b=k(r,"class",7,"");function u(w){const z=["bg-blue-500/10 border-blue-500/30 hover:border-blue-500/50","bg-purple-500/10 border-purple-500/30 hover:border-purple-500/50","bg-emerald-500/10 border-emerald-500/30 hover:border-emerald-500/50","bg-warning/10 border-warning/30 hover:border-warning/30","bg-rose-500/10 border-rose-500/30 hover:border-rose-500/50","bg-cyan-500/10 border-cyan-500/30 hover:border-cyan-500/50"];return z[w%z.length]}function T(w){const z=["text-blue-500","text-purple-500","text-emerald-500","text-warning-ink","text-rose-500","text-cyan-500"];return z[w%z.length]}var P={get categories(){return d()},set categories(w){d(w),y()},get onCategoryClick(){return m()},set onCategoryClick(w){m(w),y()},get class(){return b()},set class(w=""){b(w),y()},$set:Ve,$on:(w,z)=>Ue(r,w,z)},h=yn(),J=o(h),K=o(J),pe=O(K,!0);s(J);var q=n(J,2);return Ge(q,21,d,Lt,(w,z,de)=>{{let ce=_(()=>u(de));xe(w,{type:"button",variant:"ghost",get class(){return`text-left p-4 rounded-lg border transition-all duration-spring-moderate ease-spring-moderate motion-reduce:transition-none ${e(ce)??""}`},onclick:()=>m()?.(de),children:(ae,te)=>{var ke=kn(),I=o(ke),he=O(I),Ne=n(I,2),_e=o(Ne),S=O(_e,!0),E=n(_e,2),Ie=O(E,!0),me=n(E,2),v=n(o(me),2),R=O(v,!0);s(me),s(Ne),s(ke),M((A,X)=>{He(he,0,`h-5 w-5 ${A??""}`),C(S,e(z).title),C(Ie,e(z).description),C(R,X)},[()=>T(de),()=>e(z).files.length===1?Ce.codeReview_categoriesGrid_fileCount_one({count:e(z).files.length}):Ce.codeReview_categoriesGrid_fileCount_many({count:e(z).files.length})]),i(ae,ke)},$$slots:{default:!0}})}}),s(q),s(h),M(w=>{He(h,1,`walkthrough-categories-grid ${b()??""}`),C(pe,w)},[()=>Ce.codeReview_categoriesGrid_whatChanged_title()]),i($,h),qe(P)}var $n=x('<div class="w-0.5 flex-1 bg-border min-h-5"></div>'),Sn=x('<p class="text-sm text-subtle mt-2"> </p>'),Cn=x('<div class="rounded-lg border border-border bg-card p-4"><div class="flex items-center gap-2"><svg class="h-4 w-4 text-ghost" viewBox="0 0 16 16" fill="currentColor"><path d="M3.5 1.5A1.5 1.5 0 0 1 5 0h6a1.5 1.5 0 0 1 1.5 1.5v12A1.5 1.5 0 0 1 11 15H5a1.5 1.5 0 0 1-1.5-1.5v-12z"></path></svg> <span class="text-sm font-medium text-foreground"> </span></div> <!></div>'),Nn=x('<div class="flex gap-4"><div class="relative flex flex-col items-center w-3"><div></div> <div class="absolute top-4 w-2 h-2 rounded-full bg-muted-foreground/30 ring-2 ring-background"></div></div> <div class="flex-1 min-w-0 pb-4"><!></div></div>'),Rn=x('<div><div class="flex items-start gap-4 mb-4"><div class="relative flex flex-col items-center"><div></div> <!></div> <div class="flex-1 min-w-0 -mt-0.5"><h3 class="text-base font-semibold text-foreground"> </h3> <p class="text-sm text-subtle mt-1"> </p></div></div> <div class="relative"></div></div>');function Yt($,r){if(new.target)return Ke({component:Yt,...$});Je(r,!0);let d=k(r,"category",7),m=k(r,"categoryIndex",7),b=k(r,"filePatchMap",7),u=k(r,"isLast",7,!1),T=k(r,"onSendMessage",7),P=k(r,"isSending",7,!1),h=k(r,"class",7,"");function J(S){const E=["bg-blue-500","bg-purple-500","bg-emerald-500","bg-warning","bg-rose-500","bg-cyan-500"];return E[S%E.length]}const K=_(()=>d().files.map(S=>{const E=b().get(S.path);return{...S,patch:E?.patch,additions:E?.additions??0,deletions:E?.deletions??0}}));var pe={get category(){return d()},set category(S){d(S),y()},get categoryIndex(){return m()},set categoryIndex(S){m(S),y()},get filePatchMap(){return b()},set filePatchMap(S){b(S),y()},get isLast(){return u()},set isLast(S=!1){u(S),y()},get onSendMessage(){return T()},set onSendMessage(S){T(S),y()},get isSending(){return P()},set isSending(S=!1){P(S),y()},get class(){return h()},set class(S=""){h(S),y()},$set:Ve,$on:(S,E)=>Ue(r,S,E)},q=Rn(),w=o(q),z=o(w),de=o(z),ce=n(de,2);{var ae=S=>{var E=$n();i(S,E)};H(ce,S=>{(!u()||e(K).length>0)&&S(ae)})}s(z);var te=n(z,2),ke=o(te),I=O(ke,!0),he=n(ke,2),Ne=O(he,!0);s(te),s(w);var _e=n(w,2);return Ge(_e,23,()=>e(K),(S,E)=>`${m()}-${E}`,(S,E,Ie)=>{var me=Nn(),v=o(me),R=o(v);st(2),s(v);var A=n(v,2),X=o(A);{var ie=Se=>{It(Se,{get fileName(){return e(E).path},get patch(){return e(E).patch},get annotations(){return e(E).annotations},get additions(){return e(E).additions},get deletions(){return e(E).deletions},get fileDescription(){return e(E).summary},get onSendMessage(){return T()},get isSending(){return P()},class:"rounded-lg border border-border overflow-hidden"})},$e=Se=>{var ye=Cn(),V=o(ye),j=n(o(V),2),f=O(j,!0);s(V);var W=n(V,2);{var F=le=>{var a=Sn(),D=O(a,!0);M(()=>C(D,e(E).summary)),i(le,a)};H(W,le=>{e(E).summary&&le(F)})}s(ye),M(()=>C(f,e(E).path)),i(Se,ye)};H(X,Se=>{e(E).patch?Se(ie):Se($e,-1)})}s(A),s(me),M(()=>He(R,1,`w-0.5 flex-1 bg-border ${e(Ie)===e(K).length-1&&u()?"h-1/2":""}`)),i(S,me)}),s(_e),s(q),M(S=>{He(q,1,`walkthrough-category-section ${h()??""}`),Er(q,"id",`category-${m()??""}`),He(de,1,`w-3 h-3 rounded-full ${S??""} ring-4 ring-background shrink-0`),C(I,d().title),C(Ne,d().description)},[()=>J(m())]),i($,q),qe(pe)}var Mn=x('<!> <!> <span class="text-sm font-medium"> </span> <!>',1),Pn=x('<div class="flex items-center gap-2 text-sm text-subtle py-2"><!> <span> </span></div>'),Ot=x("<!> ",1),Ln=x('<div class="rounded-lg bg-danger-background/10 border border-danger/20 p-4"><p class="text-sm text-danger"> </p> <!></div>'),In=x('<h2 class="text-lg font-semibold text-foreground"> </h2>'),An=x('<p class="text-sm text-subtle italic"> </p>'),Kt=x("<div><!></div>"),En=x('<div class="space-y-8 pt-4"></div>'),Hn=x('<!> <!> <span class="text-sm font-medium text-subtle"> </span>',1),zn=x('<div class="space-y-3 pt-2"></div>'),Wn=x('<div class="pt-4 border-t border-border"><!> <!></div>'),Dn=x('<div class="flex justify-end pt-2"><!></div>'),Tn=x('<div class="space-y-6"><!> <!> <!> <!> <!> <!></div>'),jn=x('<div class="px-4 pb-4"><!> <!> <!></div>'),Fn=x('<div class="border-t border-border"><!> <!></div>');function Xt($,r){if(new.target)return Ke({component:Xt,...$});Je(r,!0);let d=k(r,"walkthrough",7),m=k(r,"status",7),b=k(r,"workspaceId",7),u=k(r,"error",7,""),T=k(r,"workspacePath",7),P=k(r,"changes",23,()=>[]),h=k(r,"onSendMessage",7),J=k(r,"isSending",7,!1),K=k(r,"onRegenerate",7),pe=k(r,"showCategoriesGrid",7,!0);const q=_(()=>m()==="running"),w=_(()=>m()==="complete"),z=_(()=>!!u());let de=we(!0),ce=we(!1),ae=we(mt(new Map));const te=_(()=>{if(d()?.categories&&d().categories.length>0)return d().categories;if(d()?.annotations&&d().annotations.length>0){const v=new Map;for(const R of d().annotations){const A=v.get(R.file)||[];A.push(R),v.set(R.file,A)}return[{title:d().title,description:d().overview,files:Array.from(v.entries()).map(([R,A])=>({path:R,annotations:A.sort((X,ie)=>X.line-ie.line)}))}]}return[]}),ke=_(()=>{if(!d()?.annotations)return new Map;const v=new Map;for(const R of d().annotations){const A=v.get(R.file)||[];A.push(R),v.set(R.file,A)}for(const[R,A]of v)v.set(R,A.sort((X,ie)=>X.line-ie.line));return v}),I=_(()=>{const v=new Set;for(const R of e(te))for(const A of R.files)v.add(A.path);for(const R of e(ke).keys())v.add(R);return v}),he=_(()=>P().filter(v=>!e(I).has(v.relativePath)));Ze(()=>{if(!d()||!T())return;const v=new Set([...e(I),...e(he).map(R=>R.relativePath)]);for(const R of v)e(ae).has(R)||Ur(b(),!0,R).then(A=>{if(A&&A.oldContent!==void 0&&A.newContent!==void 0){const X=Ne(R,A.oldContent,A.newContent);if(X){const ie=P().find($e=>$e.relativePath===R);e(ae).set(R,{patch:X,additions:ie?.stats?.additions??0,deletions:ie?.stats?.deletions??0}),L(ae,new Map(e(ae)),!0)}}}).catch(A=>{console.warn(`Failed to load diff for ${R}:`,A)})});function Ne(v,R,A){const X=R.split(`
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DvEcqVUt.js","/app/immutable/chunks/TdGvVwuC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/nodes/0.C7i9QD4T.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/Cu9dGfYE.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/C0vmnkBQ.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/assets/0.f7Q6Jfdh.css","/app/immutable/nodes/1.BLAkNjLi.js","/app/immutable/chunks/DXUWNyzc.js","/app/immutable/chunks/CYkK72cK.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/Beq_QLuz.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BAtAwQ72.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.C1A3hiDj.js","/app/immutable/chunks/CbSZGuz9.js","/app/immutable/chunks/cD292w1o.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/DBmrZ3Yk.js","/app/immutable/chunks/BI5Znnvl.js","/app/immutable/chunks/xPQp-52E.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DG6P2gCG.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B0SSzYpD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BbBEGYG_.js","/app/immutable/chunks/DO0aZyxl.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BeZe2Rt-.js","/app/immutable/chunks/_IjN0Lbt.js","/app/immutable/chunks/CH7HNVC2.js","/app/immutable/chunks/CDCAMh6o.js","/app/immutable/chunks/B0uzI9A2.js","/app/immutable/chunks/s_T1Uukt.js","/app/immutable/chunks/DJFngwyn.js","/app/immutable/chunks/DkQdSPDN.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/XAL8NtHj.js","/app/immutable/chunks/ZfkZCfTr.js","/app/immutable/chunks/DP6TPKre.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Y8hdNZSZ.js","/app/immutable/chunks/BmqZzhgO.js","/app/immutable/chunks/BonA_mfc.js","/app/immutable/chunks/9ryMZ44V.js","/app/immutable/chunks/DauNjtnc.js","/app/immutable/chunks/sO3fM1GP.js","/app/immutable/chunks/Cim9mWY1.js","/app/immutable/chunks/C6U5NTf5.js","/app/immutable/chunks/CCAtqaSn.js","/app/immutable/chunks/QvexzmZW.js","/app/immutable/chunks/DFh2QzKR.js","/app/immutable/chunks/Bvwrya09.js","/app/immutable/chunks/x4bPxhVW.js","/app/immutable/chunks/BzXQ5SMs.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/O5ZlQHf9.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/BVhnyyZ7.js","/app/immutable/chunks/ghzRmqKs.js","/app/immutable/chunks/u_H5ILVa.js","/app/immutable/chunks/2OP7IVCM.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/YeB2MH-S.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DepS1LOg.js","/app/immutable/chunks/WWDClKTE.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/D6H34kDj.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/Bw-Zu1Zf.js","/app/immutable/chunks/BYfDvU8j.js","/app/immutable/chunks/D8cNe_33.js","/app/immutable/chunks/BFO-Le8U.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/Di5jyd6k.js","/app/immutable/chunks/C3KgmGxd.js","/app/immutable/chunks/gNR_yDDX.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/UWtWVoQE.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/iMqZaR5X.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/Tgw7Kdvt.js","/app/immutable/chunks/Cz3WzTlQ.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DcrCEeFN.js","/app/immutable/chunks/Ch9YoFhc.js","/app/immutable/chunks/DfINI0LK.js","/app/immutable/chunks/CWtyXmQ4.js","/app/immutable/chunks/B0S6NxMp.js","/app/immutable/chunks/BnnKw3Va.js","/app/immutable/chunks/BJIUXUAo.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/C2RnxEnO.js","/app/immutable/chunks/CVx5OKWy.js","/app/immutable/chunks/D7KhILhs.js","/app/immutable/chunks/B8m3-qrW.js","/app/immutable/chunks/CpK0xLH4.js","/app/immutable/chunks/ZmAQurQV.js","/app/immutable/chunks/BKGQPtRi.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/assets/directory-picker-service.uzk1xoHg.css","/app/immutable/chunks/BaHkhxpe.js","/app/immutable/chunks/Vh-BjeJL.js","/app/immutable/chunks/koUs6Gjt.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/CjrqEuvI.js","/app/immutable/chunks/CQzFriMx.js","/app/immutable/chunks/DEOVFEjx.js","/app/immutable/chunks/COmspkQo.js","/app/immutable/chunks/lK1e5NlM.js","/app/immutable/chunks/OqslD7bF.js","/app/immutable/chunks/BpFxCD0b.js","/app/immutable/chunks/XO_-t4Ky.js","/app/immutable/chunks/l3Y4i65_.js","/app/immutable/chunks/Chq1aw8Z.js","/app/immutable/chunks/CTkkv_Ih.js","/app/immutable/chunks/DWjpzYNk.js","/app/immutable/chunks/B2-ooCTr.js","/app/immutable/chunks/Dbqo6rfT.js","/app/immutable/chunks/DOSjgvd4.js","/app/immutable/chunks/Bh3yfjRP.js","/app/immutable/chunks/D_jEt7ej.js","/app/immutable/chunks/D20BuQ34.js","/app/immutable/chunks/6_Ki4zfU.js","/app/immutable/chunks/DON9zoQ1.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/DJZIHUd7.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/jphlY6bT.js","/app/immutable/chunks/BusD2v6a.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/Budj_98H.js","/app/immutable/chunks/BV3fep4W.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/DP31pjuo.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/zdzlwKoA.js","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/8zgEfd8p.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/C8OXQeb2.js","/app/immutable/chunks/Ce-va2I0.js","/app/immutable/chunks/Dk9lUzSs.js","/app/immutable/assets/CompactWorkspaceInitializer.i4vCnRqW.css","/app/immutable/chunks/BDQvAsU6.js","/app/immutable/chunks/lwgrrOYd.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/DhXSKt_a.js","/app/immutable/chunks/CXygwMkb.js","/app/immutable/chunks/U5o8u-di.js","/app/immutable/chunks/COziev1s.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/CGcJ5lqH.js","/app/immutable/chunks/iNacp7Sr.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/Rq6GuI3F.js","/app/immutable/chunks/B1KwWsSa.js","/app/immutable/chunks/BCw-LKCu.js","/app/immutable/chunks/CCSQmeuF.js","/app/immutable/chunks/D5ocbEo-.js","/app/immutable/chunks/BdWMbiFk.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/BWtzEUuh.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/BbIcudMY.js","/app/immutable/assets/2.Vr3nl0E4.css","/app/immutable/nodes/3.xjaKKItm.js","/app/immutable/nodes/4.fhY4DLRW.js","/app/immutable/nodes/5.Gnb7dORS.js","/app/immutable/nodes/6.DYxTUZ3Q.js","/app/immutable/chunks/DRpk7IAR.js","/app/immutable/chunks/RGi81mvu.js","/app/immutable/chunks/DzR2lw_C.js","/app/immutable/assets/PanelContentRenderer.C1wFV-kd.css","/app/immutable/chunks/Bky3Gaqa.js","/app/immutable/chunks/KIfAnxvY.js","/app/immutable/chunks/CNP0L-eb.js","/app/immutable/chunks/C5uq1gUG.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/dvKmN4h6.js","/app/immutable/chunks/f5b-J-bi.js","/app/immutable/chunks/BQ5x_RaT.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/CClkpbU_.js","/app/immutable/chunks/D179JMBI.js","/app/immutable/chunks/DjrhPbR_.js","/app/immutable/chunks/BcwRYKt7.js","/app/immutable/chunks/C8PR5GO9.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/BNEmqkUA.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/C1SGWBXH.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/Bosx7Vx3.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/BGSmaq6H.js","/app/immutable/chunks/BaKSWwQZ.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/BNSALBsz.js","/app/immutable/chunks/DMOXpjfz.js","/app/immutable/chunks/B6vwIjYj.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/C4pn-RG0.js","/app/immutable/chunks/oS1TO8_n.js","/app/immutable/chunks/DuuySJmX.js","/app/immutable/chunks/T6UBEOFc.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/D9gMMVdB.js","/app/immutable/chunks/iViWtmHm.js","/app/immutable/chunks/gKdztwD8.js","/app/immutable/chunks/DHMxSQaO.js","/app/immutable/chunks/CkYbvS58.js","/app/immutable/chunks/Cgtlzlbv.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/52kdRKiP.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/D3TJ4iaY.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/assets/ResizablePanel.Bi3i2_fe.css","/app/immutable/assets/6.DBgC2kSL.css","/app/immutable/nodes/7.SR4e3Tlg.js","/app/immutable/assets/7.D6ebrVTb.css","/app/immutable/nodes/8.2WJub-vx.js","/app/immutable/chunks/DYCJZbxa.js","/app/immutable/nodes/9.DwsKz8rq.js","/app/immutable/chunks/sChr_bGo.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/CdtwTpzR.js","/app/immutable/chunks/B9R2bql6.js","/app/immutable/assets/9.CfWCtgHG.css","/app/immutable/nodes/10.BJQbFAUz.js","/app/immutable/chunks/CRm25OCR.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/CTS8A6ux.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/DoFGyuPK.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/DjAFd7Fr.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/ByaJIEgQ.js","/app/immutable/chunks/CqrBJHEX.js","/app/immutable/assets/10.xCAPscJx.css","/app/immutable/nodes/11.BUUW97-1.js","/app/immutable/assets/11.BO7QC36g.css","/app/immutable/nodes/12.B8s5KuaN.js","/app/immutable/nodes/13.J8EpPA9A.js","/app/immutable/assets/13.CF5xLHXq.css","/app/immutable/nodes/14.C5TLXVit.js","/app/immutable/chunks/B36ccT8S.js","/app/immutable/assets/14.BuZANxI8.css","/app/immutable/nodes/15.Bxp4-WNL.js","/app/immutable/assets/15.CWppUCpM.css","/app/immutable/nodes/16.T0PyvW1V.js","/app/immutable/assets/16.DBFWhlfB.css","/app/immutable/nodes/17.pi-yfOoM.js","/app/immutable/nodes/18.CTVha2lA.js","/app/immutable/nodes/19.EqYVVTCt.js","/app/immutable/assets/19.Cznk2DRv.css","/app/immutable/nodes/20.gu-VpWFh.js","/app/immutable/assets/20.BdP13STv.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DvEcqVUt.js","/app/immutable/chunks/TdGvVwuC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/nodes/0.Dr_KMFP9.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/Cu9dGfYE.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/8ItTOum-.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/assets/0.f7Q6Jfdh.css","/app/immutable/nodes/1.B4UC5y6C.js","/app/immutable/chunks/BhD6TCSq.js","/app/immutable/chunks/BFMw_Rsu.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/Beq_QLuz.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BAtAwQ72.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.DgYKd6eT.js","/app/immutable/chunks/CbSZGuz9.js","/app/immutable/chunks/cD292w1o.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/CnDbx_Wj.js","/app/immutable/chunks/-xPMI1SM.js","/app/immutable/chunks/B5V_Igzh.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DVSwhvvP.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B0SSzYpD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CNKJ8_Xr.js","/app/immutable/chunks/B3ZeLze4.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BeZe2Rt-.js","/app/immutable/chunks/_IjN0Lbt.js","/app/immutable/chunks/CH7HNVC2.js","/app/immutable/chunks/CDCAMh6o.js","/app/immutable/chunks/Bsnum5pm.js","/app/immutable/chunks/s_T1Uukt.js","/app/immutable/chunks/2bueaerM.js","/app/immutable/chunks/DkQdSPDN.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/XAL8NtHj.js","/app/immutable/chunks/ZfkZCfTr.js","/app/immutable/chunks/FTRClsUK.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Y8hdNZSZ.js","/app/immutable/chunks/BmqZzhgO.js","/app/immutable/chunks/BonA_mfc.js","/app/immutable/chunks/9ryMZ44V.js","/app/immutable/chunks/DWurigib.js","/app/immutable/chunks/DqQqeuqi.js","/app/immutable/chunks/Cim9mWY1.js","/app/immutable/chunks/ZspDMNEv.js","/app/immutable/chunks/CCAtqaSn.js","/app/immutable/chunks/DGMKnMeG.js","/app/immutable/chunks/DFh2QzKR.js","/app/immutable/chunks/Bvwrya09.js","/app/immutable/chunks/x4bPxhVW.js","/app/immutable/chunks/BzXQ5SMs.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/O5ZlQHf9.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/BVhnyyZ7.js","/app/immutable/chunks/ghzRmqKs.js","/app/immutable/chunks/u_H5ILVa.js","/app/immutable/chunks/2OP7IVCM.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DEykPUjl.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DepS1LOg.js","/app/immutable/chunks/WWDClKTE.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/D6H34kDj.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/Bw-Zu1Zf.js","/app/immutable/chunks/BYfDvU8j.js","/app/immutable/chunks/D8cNe_33.js","/app/immutable/chunks/BFO-Le8U.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/Ce2Qo9vu.js","/app/immutable/chunks/C3KgmGxd.js","/app/immutable/chunks/gNR_yDDX.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/UWtWVoQE.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/iMqZaR5X.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/Tgw7Kdvt.js","/app/immutable/chunks/Cz3WzTlQ.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/DcrCEeFN.js","/app/immutable/chunks/Ch9YoFhc.js","/app/immutable/chunks/DfINI0LK.js","/app/immutable/chunks/CWtyXmQ4.js","/app/immutable/chunks/DimbKbDZ.js","/app/immutable/chunks/BnnKw3Va.js","/app/immutable/chunks/BJIUXUAo.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/C2RnxEnO.js","/app/immutable/chunks/CVx5OKWy.js","/app/immutable/chunks/D7KhILhs.js","/app/immutable/chunks/B8m3-qrW.js","/app/immutable/chunks/CpK0xLH4.js","/app/immutable/chunks/ZmAQurQV.js","/app/immutable/chunks/BKGQPtRi.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/assets/directory-picker-service.uzk1xoHg.css","/app/immutable/chunks/ERz1iYnn.js","/app/immutable/chunks/C1UoJPr2.js","/app/immutable/chunks/koUs6Gjt.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/CjrqEuvI.js","/app/immutable/chunks/CQzFriMx.js","/app/immutable/chunks/DEOVFEjx.js","/app/immutable/chunks/COmspkQo.js","/app/immutable/chunks/lK1e5NlM.js","/app/immutable/chunks/OqslD7bF.js","/app/immutable/chunks/BpFxCD0b.js","/app/immutable/chunks/Ce20e-vK.js","/app/immutable/chunks/l3Y4i65_.js","/app/immutable/chunks/Cf5NbMeL.js","/app/immutable/chunks/CTkkv_Ih.js","/app/immutable/chunks/DWjpzYNk.js","/app/immutable/chunks/B2-ooCTr.js","/app/immutable/chunks/Dbqo6rfT.js","/app/immutable/chunks/gdhW58MB.js","/app/immutable/chunks/Bh3yfjRP.js","/app/immutable/chunks/D_jEt7ej.js","/app/immutable/chunks/DIHHBzYi.js","/app/immutable/chunks/6_Ki4zfU.js","/app/immutable/chunks/DON9zoQ1.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/DJZIHUd7.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/jphlY6bT.js","/app/immutable/chunks/BusD2v6a.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/Egi6fNpS.js","/app/immutable/chunks/BV3fep4W.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/DP31pjuo.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/zdzlwKoA.js","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/9AeivJQm.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/C8OXQeb2.js","/app/immutable/chunks/Ce-va2I0.js","/app/immutable/chunks/Dk9lUzSs.js","/app/immutable/assets/CompactWorkspaceInitializer.i4vCnRqW.css","/app/immutable/chunks/BDQvAsU6.js","/app/immutable/chunks/BipAYtG2.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/DhXSKt_a.js","/app/immutable/chunks/CXygwMkb.js","/app/immutable/chunks/U5o8u-di.js","/app/immutable/chunks/D80ng7VB.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/CGcJ5lqH.js","/app/immutable/chunks/iNacp7Sr.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/Rq6GuI3F.js","/app/immutable/chunks/Ct1r6efw.js","/app/immutable/chunks/BCw-LKCu.js","/app/immutable/chunks/CCSQmeuF.js","/app/immutable/chunks/D5ocbEo-.js","/app/immutable/chunks/BdWMbiFk.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/BWtzEUuh.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/BbIcudMY.js","/app/immutable/assets/2.Vr3nl0E4.css","/app/immutable/nodes/3.Cz3D2Kq7.js","/app/immutable/nodes/4.CjaUjxEb.js","/app/immutable/nodes/5.COJH7IAv.js","/app/immutable/nodes/6.Da5DOHiE.js","/app/immutable/chunks/DRpk7IAR.js","/app/immutable/chunks/RGi81mvu.js","/app/immutable/chunks/DzR2lw_C.js","/app/immutable/assets/PanelContentRenderer.C1wFV-kd.css","/app/immutable/chunks/Bky3Gaqa.js","/app/immutable/chunks/BAbB1JR3.js","/app/immutable/chunks/_aw8AL2s.js","/app/immutable/chunks/VeOG7xIg.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/dvKmN4h6.js","/app/immutable/chunks/f5b-J-bi.js","/app/immutable/chunks/BQ5x_RaT.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/BzZzhsx0.js","/app/immutable/chunks/D179JMBI.js","/app/immutable/chunks/By6WkvE9.js","/app/immutable/chunks/YClu3XTz.js","/app/immutable/chunks/C8PR5GO9.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/CVG625sB.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/C1SGWBXH.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/Bex9L_jH.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/BGSmaq6H.js","/app/immutable/chunks/DIUdGij-.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/DVqhJMup.js","/app/immutable/chunks/DMOXpjfz.js","/app/immutable/chunks/CN7DE5jB.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/BptF1xOU.js","/app/immutable/chunks/BrCVQoPE.js","/app/immutable/chunks/DQxnu3QZ.js","/app/immutable/chunks/T6UBEOFc.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/D9gMMVdB.js","/app/immutable/chunks/iViWtmHm.js","/app/immutable/chunks/gKdztwD8.js","/app/immutable/chunks/DHMxSQaO.js","/app/immutable/chunks/DWOcsYbU.js","/app/immutable/chunks/DUbqvr_K.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/52kdRKiP.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/BHYEUr70.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/assets/ResizablePanel.Bi3i2_fe.css","/app/immutable/assets/6.DBgC2kSL.css","/app/immutable/nodes/7.dcDATK47.js","/app/immutable/assets/7.D6ebrVTb.css","/app/immutable/nodes/8.C2qio8n9.js","/app/immutable/chunks/Cy5LTcPz.js","/app/immutable/nodes/9.CjfzK0IK.js","/app/immutable/chunks/q9gf_Sso.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/CdtwTpzR.js","/app/immutable/chunks/B9R2bql6.js","/app/immutable/assets/9.CfWCtgHG.css","/app/immutable/nodes/10.D-SXaVii.js","/app/immutable/chunks/CRm25OCR.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/CcUDp4zq.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/DoFGyuPK.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/DjAFd7Fr.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/ByaJIEgQ.js","/app/immutable/chunks/BC7-67A3.js","/app/immutable/assets/10.xCAPscJx.css","/app/immutable/nodes/11.CD0ZMPB_.js","/app/immutable/assets/11.BO7QC36g.css","/app/immutable/nodes/12.B8s5KuaN.js","/app/immutable/nodes/13.J8EpPA9A.js","/app/immutable/assets/13.CF5xLHXq.css","/app/immutable/nodes/14.C5TLXVit.js","/app/immutable/chunks/B36ccT8S.js","/app/immutable/assets/14.BuZANxI8.css","/app/immutable/nodes/15.CWhAy0IL.js","/app/immutable/assets/15.CWppUCpM.css","/app/immutable/nodes/16.T0PyvW1V.js","/app/immutable/assets/16.DBFWhlfB.css","/app/immutable/nodes/17.pi-yfOoM.js","/app/immutable/nodes/18.CTVha2lA.js","/app/immutable/nodes/19.Cl4NIDR3.js","/app/immutable/assets/19.Cznk2DRv.css","/app/immutable/nodes/20.gu-VpWFh.js","/app/immutable/assets/20.BdP13STv.css"])))=>i.map(i=>d[i]);
2
2
  import{_ as o,bm as X,t as lt,bo as f,bw as dt,b as pt,c as ft}from"../chunks/Fcr7AvC-.js";import{l as x}from"../chunks/BdWqymET.js";import{s as gt}from"../chunks/D-N7efrx.js";import{bs as Et,cb as vt,ca as Tt,bk as bt,aD as m,bH as F,c0 as ht,ay as T,bS as It,W as c,bn as At,bV as U,aA as g,a7 as I,c9 as y,a5 as Ot,bA as Rt,aB as q,b$ as Pt,b_ as Dt,bO as Lt}from"../chunks/3SdAC2_C.js";import{i as k}from"../chunks/BhYXv0ZM.js";import{c as V}from"../chunks/2z64ELW5.js";import{b as S}from"../chunks/Dn334wJv.js";const yt=async()=>{window.location.pathname.startsWith("/sandbox")||await o(()=>import("../chunks/DvEcqVUt.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},Vt=/^[a-zA-Z_$]{1,3}\.call is not a function$/;function St(t){return t instanceof Error&&t.name==="TypeError"&&Vt.test(t.message)&&typeof t.stack=="string"&&t.stack.includes("bits-ui")}const K=500,wt=8,xt=/[a-z][a-z0-9+.-]*:\/\/\S+/gi,kt=/[)\]}>'".,;:]+$/,Nt=/[^/]+\.[cm]?[jt]s(?::\d+){0,2}$/;function Ct(t){const e=kt.exec(t)?.[0]??"",a=t.slice(0,t.length-e.length),n=a.indexOf("://"),i=a.slice(0,n),s=a.slice(n+3).split("#")[0].split("?")[0],_=s.indexOf("/"),l=_===-1?s:s.slice(0,_),d=l.slice(l.lastIndexOf("@")+1),p=_===-1?"":s.slice(_);if(p===""||p==="/")return`${i}://${d}${e}`;const O=Nt.exec(p)?.[0];return`${i}://${d}/${O??"<redacted>"}${e}`}function w(t){const e=t.replace(xt,Ct);return e.length>K?`${e.slice(0,K)}…`:e}function jt(t){return typeof t!="string"||t.length===0?null:t.split(`
3
3
  `).slice(0,wt).map(w).join(`
4
- `)}function Mt(t,e){if(t instanceof Error)return{name:w(String(t.name)),message:w(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const a="message"in t?t.message:void 0;return{name:"object",message:typeof a=="string"?w(a):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:w(String(t)),stack:null,routeId:e}}let Z=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("no diff result available"))return{message:""};if(a.includes("isInHiddenArea"))return{message:""};if(a.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("Not found: /index.html")||a.includes("Not found"))return Z?(A++,A>=Ft&&(x.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(()=>{x.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),x.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(Z=!0,A=0,{message:""});A=0}return gt(t)?{message:""}:St(t)?{message:""}:(x.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Yt={};var zt=q('<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=q("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let a=f(e,"stores",7),n=f(e,"page",7),i=f(e,"constructors",7),s=f(e,"components",23,()=>[]),_=f(e,"form",7),l=f(e,"data_0",7,null),d=f(e,"data_1",7,null),p=f(e,"data_2",7,null);vt(()=>a().page.set(n())),Tt(()=>{a(),n(),i(),s(),_(),l(),d(),p(),a().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=a().page.subscribe(()=>{m(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=y(()=>i()[2]);var tt={get stores(){return a()},set stores(r){a(r),g()},get page(){return n()},set page(r){n(r),g()},get constructors(){return i()},set constructors(r){i(r),g()},get components(){return s()},set components(r=[]){s(r),g()},get form(){return _()},set form(r){_(r),g()},get data_0(){return l()},set data_0(r=null){l(r),g()},get data_1(){return d()},set data_1(r=null){d(r),g()},get data_2(){return p()},set data_2(r=null){p(r),g()},$set:dt,$on:(r,u)=>pt(e,r,u)},G=Bt(),W=T(G);{var et=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params},children:(L,$t)=>{var H=I(),_t=T(H);V(_t,()=>m(Y),(ut,mt)=>{S(mt(ut,{get data(){return p()},get form(){return _()},get params(){return n().params}}),ct=>s()[2]=ct,()=>s()?.[2])}),c(L,H)},$$slots:{default:!0}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)},it=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}c(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)},rt=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var u=zt(),E=Ot(u);{var R=v=>{var b=Pt();Dt(()=>Lt(b,m(B))),c(v,b)};k(E,v=>{m(z)&&v(R)})}Rt(u),c(r,u)};k(ot,r=>{m(O)&&r(at)})}return c(t,G),At(tt)}const te=ft(J),ee=[()=>o(()=>import("../nodes/0.C7i9QD4T.js"),__vite__mapDeps([6,4,5,7,8,9,10,11,3,12,13,14,15,16,2,17,18,19,20,21,22,23]),import.meta.url),()=>o(()=>import("../nodes/1.BLAkNjLi.js"),__vite__mapDeps([24,4,5,8,25,26,27,28,7,29,3,30,31,32,33,34,11,1,2,35,9]),import.meta.url),()=>o(()=>import("../nodes/2.C1A3hiDj.js"),__vite__mapDeps([36,4,5,7,37,8,9,29,3,30,27,28,31,33,38,2,12,13,14,15,16,11,39,34,1,35,20,40,25,41,21,22,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,32,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,19,100,101,102,10,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,18,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,26,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210]),import.meta.url),()=>o(()=>import("../nodes/3.xjaKKItm.js"),__vite__mapDeps([211,4,5,8,64,31,7,29,3,30,25,26,27,28,32,33,34,11,1,2,35,9,43,44,42,45,38,12,13,14,15,16,39,20,40,21,22,41]),import.meta.url),()=>o(()=>import("../nodes/4.fhY4DLRW.js"),__vite__mapDeps([212,4,5,7,10,11,3,46,12,13,14,15,16,2,38,39,27,28,8,29,30,31,34,1,35,20,40,47,44,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,32,33,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106,107,108]),import.meta.url),()=>o(()=>import("../nodes/5.Gnb7dORS.js"),__vite__mapDeps([213,4,5,7,201,202,12,13,14,15,3,16,2,11,27,28,8,29,30,31,203,150,134,133,32,33,34,1,35,9,132,124,111,64,85,125,63,120,121,88,89,86,66,87,130,62,44,200,107,108,10,46,38,39,20,40,47,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106]),import.meta.url),()=>o(()=>import("../nodes/6.DYxTUZ3Q.js"),__vite__mapDeps([214,4,5,65,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,113,81,55,56,61,62,63,64,66,67,111,85,86,87,123,124,125,120,121,88,89,96,110,112,114,115,116,117,118,119,122,126,44,52,53,47,54,50,21,22,127,128,129,130,131,132,43,25,42,45,41,135,136,137,138,187,162,163,164,165,77,51,49,48,78,153,154,147,155,156,157,109,158,140,18,141,142,159,160,161,166,167,168,148,169,150,170,188,179,90,219,220,221,196,222,223,224,72,225,73,226,227,228,139,76,143,229,95,230,231,232,233,194,234,79,94,186,235,236,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,26,250,182,251,252,253,71,74,75,60,68,254,255,149,256,207,208,257,258,92,259,260,261,262,263,264,183,101,184,265,266,267,268,191,91,171,269,270,192,271,37,203,272,273,178,274]),import.meta.url),()=>o(()=>import("../nodes/7.SR4e3Tlg.js"),__vite__mapDeps([275,4,5,8,31,7,29,3,30,33,38,2,12,13,14,15,16,11,39,27,28,34,1,35,20,40,44,26,25,49,50,47,48,222,9,64,223,61,32,62,63,65,66,67,159,53,140,18,132,124,111,85,125,120,121,88,89,86,87,133,134,130,96,52,54,55,56,57,21,22,141,142,131,126,115,116,224,72,225,123,73,226,148,227,228,51,153,154,128,114,129,147,155,156,157,109,69,110,112,113,117,118,119,122,127,43,42,45,41,135,136,137,138,158,160,161,162,163,164,165,166,167,168,169,150,170,139,76,143,77,78,229,95,230,231,232,233,194,234,79,94,186,235,236,196,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,81,187,188,179,90,250,182,251,252,253,255,97,98,276]),import.meta.url),()=>o(()=>import("../nodes/8.2WJub-vx.js"),__vite__mapDeps([277,4,5,65,113,278,21,14,22,41,13,12,15,3,7,16,2,11,61,8,29,30,32,33,31,34,1,35,28,9,40,62,63,27,64,66,67,134,219]),import.meta.url),()=>o(()=>import("../nodes/9.DwsKz8rq.js"),__vite__mapDeps([279,4,5,8,9,31,7,29,3,30,33,32,34,11,1,2,35,28,85,120,64,111,121,88,89,110,112,65,113,114,27,86,66,87,115,116,117,118,119,122,123,124,125,63,96,61,40,62,12,13,14,15,16,67,126,44,52,38,39,20,53,47,54,55,56,57,50,21,22,127,128,129,130,131,132,133,134,43,25,42,45,41,69,135,136,137,138,172,146,147,150,141,142,148,26,59,157,280,281,203,78,159,160,226,233,194,82,70,49,48,250,264,183,182,101,163,164,149,168,80,278,154,155,260,261,99,91,282,90,283,284,81,68,105,267,156,166,285,228]),import.meta.url),()=>o(()=>import("../nodes/10.BJQbFAUz.js"),__vite__mapDeps([286,4,5,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,26,25,55,56,180,64,44,181,58,51,52,53,47,54,50,21,22,49,48,59,60,61,62,63,65,66,67,68,95,96,136,113,114,111,85,137,154,130,120,121,88,89,128,129,147,155,156,157,132,124,125,86,87,153,109,110,112,115,116,117,118,119,122,123,126,127,131,43,42,45,41,135,138,158,140,18,141,142,159,160,161,162,163,164,165,166,167,168,148,169,150,170,182,183,139,76,143,177,184,37,185,94,259,98,196,189,81,280,281,203,92,80,271,79,101,230,272,263,231,229,232,233,194,234,226,186,235,264,265,248,273,175,204,174,104,105,106,107,108,176,205,206,287,200,288,289,93,290,152,149,99,291,292,100,293,294,295,256,296,198,297,171,261,192,298]),import.meta.url),()=>o(()=>import("../nodes/11.BUUW97-1.js"),__vite__mapDeps([299,4,5,8,42,25,31,7,29,3,30,28,12,13,14,15,16,2,11,27,33,189,116,32,34,1,35,9,119,64,111,85,61,40,62,63,65,66,67,109,96,257,192,155,124,291,292,100,38,39,20,287,200,107,108,106,53,47,44,45,160,288,117,102,295,101,300]),import.meta.url),()=>o(()=>import("../nodes/12.B8s5KuaN.js"),__vite__mapDeps([301,4,5,65,113,27,28,8,7,29,3,30,31]),import.meta.url),()=>o(()=>import("../nodes/13.J8EpPA9A.js"),__vite__mapDeps([302,4,5,8,9,32,7,29,3,30,33,31,34,11,1,2,35,28,27,134,219,303]),import.meta.url),()=>o(()=>import("../nodes/14.C5TLXVit.js"),__vite__mapDeps([304,4,5,8,29,3,7,30,34,11,1,2,35,134,219,33,31,32,28,9,305,13,173,196,111,64,85,40,115,116,136,65,113,114,137,127,128,129,27,130,120,121,63,88,89,306]),import.meta.url),()=>o(()=>import("../nodes/15.Bxp4-WNL.js"),__vite__mapDeps([307,4,5,8,54,12,13,14,15,3,7,16,2,11,55,39,56,38,27,28,29,30,31,34,1,35,20,40,57,50,134,219,33,46,47,44,48,49,51,52,53,21,22,58,59,60,61,32,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,10,103,104,105,106,107,108,244,194,140,18,132,124,111,125,120,121,133,130,141,142,131,126,115,116,209,117,190,245,144,112,113,114,118,122,123,163,164,177,162,165,187,153,154,128,129,147,155,156,157,109,110,119,127,135,136,137,138,158,159,160,161,166,167,168,148,169,150,170,188,284,254,224,139,143,222,223,225,226,227,228,229,230,231,232,233,234,186,235,236,196,237,238,205,239,240,241,242,243,246,247,248,193,195,249,26,179,250,182,251,252,253,255,149,256,207,208,257,258,305,308]),import.meta.url),()=>o(()=>import("../nodes/16.T0PyvW1V.js"),__vite__mapDeps([309,4,5,29,3,7,30,34,11,1,2,35,134,219,33,8,31,64,72,224,28,16,196,32,9,75,76,40,53,47,44,310,228]),import.meta.url),()=>o(()=>import("../nodes/17.pi-yfOoM.js"),__vite__mapDeps([311,4,5,8,9,29,3,7,30,34,11,1,2,35,134,219,33,266,31,96,225,15,16,32,28,85,86,66,87,123,124,111,64,125,63,120,121,88,89,27,53,47,44,48,73,72,224,226,148,227,228,122,40,267,196,74,268]),import.meta.url),()=>o(()=>import("../nodes/18.CTVha2lA.js"),__vite__mapDeps([312,4,5,29,3,7,30,34,11,1,2,35,134,219,33]),import.meta.url),()=>o(()=>import("../nodes/19.EqYVVTCt.js"),__vite__mapDeps([313,4,5,8,53,11,3,47,44,27,28,7,29,30,31,32,33,34,1,2,35,9,12,13,14,15,16,64,186,79,38,39,20,40,54,55,56,57,50,179,90,62,84,112,65,113,114,111,85,86,66,87,115,116,117,118,160,132,124,125,63,120,121,88,89,133,134,130,131,145,146,127,128,129,147,141,142,148,70,137,99,43,25,42,45,21,22,41,314]),import.meta.url),()=>o(()=>import("../nodes/20.gu-VpWFh.js"),__vite__mapDeps([315,4,5,65,29,3,7,30,34,11,1,2,35,134,219,33,8,215,28,202,12,13,14,15,16,32,31,9,216,133,27,217,40,38,39,20,69,57,83,218,272,248,166,56,22,103,316]),import.meta.url)],re=[],oe={"/(app)":[6,[2],[3]],"/(app)/agent/[id]":[7,[2],[3]],"/(app)/desktop-control-agent":[8,[2],[3]],"/desktop-overlay":[13],"/dev-console":[14],"/dock-annotation":[16],"/dock-capture-editor":[17],"/dock":[15],"/frame":[18],"/hud":[19,[4]],"/(app)/settings":[9,[2],[3]],"/tab-window/[id]":[20,[5]],"/(app)/workspace/creating":[12,[2],[3]],"/(app)/workspace/[id]":[10,[2],[3]],"/(app)/workspace/[id]/files":[11,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:yt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),ae=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),se=!1,ne=(t,e)=>Gt[t](e),ie=()=>o(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{ne as decode,Gt as decoders,oe as dictionary,ae as encoders,ie as get_error_template,se as hash,Q as hooks,Yt as matchers,ee as nodes,te as root,re as server_loads};
4
+ `)}function Mt(t,e){if(t instanceof Error)return{name:w(String(t.name)),message:w(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const a="message"in t?t.message:void 0;return{name:"object",message:typeof a=="string"?w(a):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:w(String(t)),stack:null,routeId:e}}let Z=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("no diff result available"))return{message:""};if(a.includes("isInHiddenArea"))return{message:""};if(a.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const a=String(t.message);if(a.includes("Not found: /index.html")||a.includes("Not found"))return Z?(A++,A>=Ft&&(x.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(()=>{x.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),x.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(Z=!0,A=0,{message:""});A=0}return gt(t)?{message:""}:St(t)?{message:""}:(x.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Yt={};var zt=q('<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=q("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let a=f(e,"stores",7),n=f(e,"page",7),i=f(e,"constructors",7),s=f(e,"components",23,()=>[]),_=f(e,"form",7),l=f(e,"data_0",7,null),d=f(e,"data_1",7,null),p=f(e,"data_2",7,null);vt(()=>a().page.set(n())),Tt(()=>{a(),n(),i(),s(),_(),l(),d(),p(),a().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=a().page.subscribe(()=>{m(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=y(()=>i()[2]);var tt={get stores(){return a()},set stores(r){a(r),g()},get page(){return n()},set page(r){n(r),g()},get constructors(){return i()},set constructors(r){i(r),g()},get components(){return s()},set components(r=[]){s(r),g()},get form(){return _()},set form(r){_(r),g()},get data_0(){return l()},set data_0(r=null){l(r),g()},get data_1(){return d()},set data_1(r=null){d(r),g()},get data_2(){return p()},set data_2(r=null){p(r),g()},$set:dt,$on:(r,u)=>pt(e,r,u)},G=Bt(),W=T(G);{var et=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params},children:(L,$t)=>{var H=I(),_t=T(H);V(_t,()=>m(Y),(ut,mt)=>{S(mt(ut,{get data(){return p()},get form(){return _()},get params(){return n().params}}),ct=>s()[2]=ct,()=>s()?.[2])}),c(L,H)},$$slots:{default:!0}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)},it=h=>{const N=y(()=>i()[1]);var D=I(),C=T(D);V(C,()=>m(N),(j,M)=>{S(M(j,{get data(){return d()},get form(){return _()},get params(){return n().params}}),L=>s()[1]=L,()=>s()?.[1])}),c(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}c(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)},rt=r=>{const u=y(()=>i()[0]);var E=I(),R=T(E);V(R,()=>m(u),(v,b)=>{S(b(v,{get data(){return l()},get form(){return _()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),c(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var u=zt(),E=Ot(u);{var R=v=>{var b=Pt();Dt(()=>Lt(b,m(B))),c(v,b)};k(E,v=>{m(z)&&v(R)})}Rt(u),c(r,u)};k(ot,r=>{m(O)&&r(at)})}return c(t,G),At(tt)}const te=ft(J),ee=[()=>o(()=>import("../nodes/0.Dr_KMFP9.js"),__vite__mapDeps([6,4,5,7,8,9,10,11,3,12,13,14,15,16,2,17,18,19,20,21,22,23]),import.meta.url),()=>o(()=>import("../nodes/1.B4UC5y6C.js"),__vite__mapDeps([24,4,5,8,25,26,27,28,7,29,3,30,31,32,33,34,11,1,2,35,9]),import.meta.url),()=>o(()=>import("../nodes/2.DgYKd6eT.js"),__vite__mapDeps([36,4,5,7,37,8,9,29,3,30,27,28,31,33,38,2,12,13,14,15,16,11,39,34,1,35,20,40,25,41,21,22,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,32,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,19,100,101,102,10,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,18,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,26,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210]),import.meta.url),()=>o(()=>import("../nodes/3.Cz3D2Kq7.js"),__vite__mapDeps([211,4,5,8,64,31,7,29,3,30,25,26,27,28,32,33,34,11,1,2,35,9,43,44,42,45,38,12,13,14,15,16,39,20,40,21,22,41]),import.meta.url),()=>o(()=>import("../nodes/4.CjaUjxEb.js"),__vite__mapDeps([212,4,5,7,10,11,3,46,12,13,14,15,16,2,38,39,27,28,8,29,30,31,34,1,35,20,40,47,44,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,32,33,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106,107,108]),import.meta.url),()=>o(()=>import("../nodes/5.COJH7IAv.js"),__vite__mapDeps([213,4,5,7,201,202,12,13,14,15,3,16,2,11,27,28,8,29,30,31,203,150,134,133,32,33,34,1,35,9,132,124,111,64,85,125,63,120,121,88,89,86,66,87,130,62,44,200,107,108,10,46,38,39,20,40,47,48,49,50,51,52,53,54,55,56,57,21,22,58,59,60,61,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,103,104,105,106]),import.meta.url),()=>o(()=>import("../nodes/6.Da5DOHiE.js"),__vite__mapDeps([214,4,5,65,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,113,81,55,56,61,62,63,64,66,67,111,85,86,87,123,124,125,120,121,88,89,96,110,112,114,115,116,117,118,119,122,126,44,52,53,47,54,50,21,22,127,128,129,130,131,132,43,25,42,45,41,135,136,137,138,187,162,163,164,165,77,51,49,48,78,153,154,147,155,156,157,109,158,140,18,141,142,159,160,161,166,167,168,148,169,150,170,188,179,90,219,220,221,196,222,223,224,72,225,73,226,227,228,139,76,143,229,95,230,231,232,233,194,234,79,94,186,235,236,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,26,250,182,251,252,253,71,74,75,60,68,254,255,149,256,207,208,257,258,92,259,260,261,262,263,264,183,101,184,265,266,267,268,191,91,171,269,270,192,271,37,203,272,273,178,274]),import.meta.url),()=>o(()=>import("../nodes/7.dcDATK47.js"),__vite__mapDeps([275,4,5,8,31,7,29,3,30,33,38,2,12,13,14,15,16,11,39,27,28,34,1,35,20,40,44,26,25,49,50,47,48,222,9,64,223,61,32,62,63,65,66,67,159,53,140,18,132,124,111,85,125,120,121,88,89,86,87,133,134,130,96,52,54,55,56,57,21,22,141,142,131,126,115,116,224,72,225,123,73,226,148,227,228,51,153,154,128,114,129,147,155,156,157,109,69,110,112,113,117,118,119,122,127,43,42,45,41,135,136,137,138,158,160,161,162,163,164,165,166,167,168,169,150,170,139,76,143,77,78,229,95,230,231,232,233,194,234,79,94,186,235,236,196,237,238,205,239,102,240,241,242,243,244,209,190,245,246,247,248,177,193,195,249,81,187,188,179,90,250,182,251,252,253,255,97,98,276]),import.meta.url),()=>o(()=>import("../nodes/8.C2qio8n9.js"),__vite__mapDeps([277,4,5,65,113,278,21,14,22,41,13,12,15,3,7,16,2,11,61,8,29,30,32,33,31,34,1,35,28,9,40,62,63,27,64,66,67,134,219]),import.meta.url),()=>o(()=>import("../nodes/9.CjfzK0IK.js"),__vite__mapDeps([279,4,5,8,9,31,7,29,3,30,33,32,34,11,1,2,35,28,85,120,64,111,121,88,89,110,112,65,113,114,27,86,66,87,115,116,117,118,119,122,123,124,125,63,96,61,40,62,12,13,14,15,16,67,126,44,52,38,39,20,53,47,54,55,56,57,50,21,22,127,128,129,130,131,132,133,134,43,25,42,45,41,69,135,136,137,138,172,146,147,150,141,142,148,26,59,157,280,281,203,78,159,160,226,233,194,82,70,49,48,250,264,183,182,101,163,164,149,168,80,278,154,155,260,261,99,91,282,90,283,284,81,68,105,267,156,166,285,228]),import.meta.url),()=>o(()=>import("../nodes/10.D-SXaVii.js"),__vite__mapDeps([286,4,5,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,133,134,27,217,40,38,39,20,69,57,83,218,26,25,55,56,180,64,44,181,58,51,52,53,47,54,50,21,22,49,48,59,60,61,62,63,65,66,67,68,95,96,136,113,114,111,85,137,154,130,120,121,88,89,128,129,147,155,156,157,132,124,125,86,87,153,109,110,112,115,116,117,118,119,122,123,126,127,131,43,42,45,41,135,138,158,140,18,141,142,159,160,161,162,163,164,165,166,167,168,148,169,150,170,182,183,139,76,143,177,184,37,185,94,259,98,196,189,81,280,281,203,92,80,271,79,101,230,272,263,231,229,232,233,194,234,226,186,235,264,265,248,273,175,204,174,104,105,106,107,108,176,205,206,287,200,288,289,93,290,152,149,99,291,292,100,293,294,295,256,296,198,297,171,261,192,298]),import.meta.url),()=>o(()=>import("../nodes/11.CD0ZMPB_.js"),__vite__mapDeps([299,4,5,8,42,25,31,7,29,3,30,28,12,13,14,15,16,2,11,27,33,189,116,32,34,1,35,9,119,64,111,85,61,40,62,63,65,66,67,109,96,257,192,155,124,291,292,100,38,39,20,287,200,107,108,106,53,47,44,45,160,288,117,102,295,101,300]),import.meta.url),()=>o(()=>import("../nodes/12.B8s5KuaN.js"),__vite__mapDeps([301,4,5,65,113,27,28,8,7,29,3,30,31]),import.meta.url),()=>o(()=>import("../nodes/13.J8EpPA9A.js"),__vite__mapDeps([302,4,5,8,9,32,7,29,3,30,33,31,34,11,1,2,35,28,27,134,219,303]),import.meta.url),()=>o(()=>import("../nodes/14.C5TLXVit.js"),__vite__mapDeps([304,4,5,8,29,3,7,30,34,11,1,2,35,134,219,33,31,32,28,9,305,13,173,196,111,64,85,40,115,116,136,65,113,114,137,127,128,129,27,130,120,121,63,88,89,306]),import.meta.url),()=>o(()=>import("../nodes/15.CWhAy0IL.js"),__vite__mapDeps([307,4,5,8,54,12,13,14,15,3,7,16,2,11,55,39,56,38,27,28,29,30,31,34,1,35,20,40,57,50,134,219,33,46,47,44,48,49,51,52,53,21,22,58,59,60,61,32,9,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,41,45,90,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,10,103,104,105,106,107,108,244,194,140,18,132,124,111,125,120,121,133,130,141,142,131,126,115,116,209,117,190,245,144,112,113,114,118,122,123,163,164,177,162,165,187,153,154,128,129,147,155,156,157,109,110,119,127,135,136,137,138,158,159,160,161,166,167,168,148,169,150,170,188,284,254,224,139,143,222,223,225,226,227,228,229,230,231,232,233,234,186,235,236,196,237,238,205,239,240,241,242,243,246,247,248,193,195,249,26,179,250,182,251,252,253,255,149,256,207,208,257,258,305,308]),import.meta.url),()=>o(()=>import("../nodes/16.T0PyvW1V.js"),__vite__mapDeps([309,4,5,29,3,7,30,34,11,1,2,35,134,219,33,8,31,64,72,224,28,16,196,32,9,75,76,40,53,47,44,310,228]),import.meta.url),()=>o(()=>import("../nodes/17.pi-yfOoM.js"),__vite__mapDeps([311,4,5,8,9,29,3,7,30,34,11,1,2,35,134,219,33,266,31,96,225,15,16,32,28,85,86,66,87,123,124,111,64,125,63,120,121,88,89,27,53,47,44,48,73,72,224,226,148,227,228,122,40,267,196,74,268]),import.meta.url),()=>o(()=>import("../nodes/18.CTVha2lA.js"),__vite__mapDeps([312,4,5,29,3,7,30,34,11,1,2,35,134,219,33]),import.meta.url),()=>o(()=>import("../nodes/19.Cl4NIDR3.js"),__vite__mapDeps([313,4,5,8,53,11,3,47,44,27,28,7,29,30,31,32,33,34,1,2,35,9,12,13,14,15,16,64,186,79,38,39,20,40,54,55,56,57,50,179,90,62,84,112,65,113,114,111,85,86,66,87,115,116,117,118,160,132,124,125,63,120,121,88,89,133,134,130,131,145,146,127,128,129,147,141,142,148,70,137,99,43,25,42,45,21,22,41,314]),import.meta.url),()=>o(()=>import("../nodes/20.gu-VpWFh.js"),__vite__mapDeps([315,4,5,65,29,3,7,30,34,11,1,2,35,134,219,33,8,215,28,202,12,13,14,15,16,32,31,9,216,133,27,217,40,38,39,20,69,57,83,218,272,248,166,56,22,103,316]),import.meta.url)],re=[],oe={"/(app)":[6,[2],[3]],"/(app)/agent/[id]":[7,[2],[3]],"/(app)/desktop-control-agent":[8,[2],[3]],"/desktop-overlay":[13],"/dev-console":[14],"/dock-annotation":[16],"/dock-capture-editor":[17],"/dock":[15],"/frame":[18],"/hud":[19,[4]],"/(app)/settings":[9,[2],[3]],"/tab-window/[id]":[20,[5]],"/(app)/workspace/creating":[12,[2],[3]],"/(app)/workspace/[id]":[10,[2],[3]],"/(app)/workspace/[id]/files":[11,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:yt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),ae=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),se=!1,ne=(t,e)=>Gt[t](e),ie=()=>o(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{ne as decode,Gt as decoders,oe as dictionary,ae as encoders,ie as get_error_template,se as hash,Q as hooks,Yt as matchers,ee as nodes,te as root,re as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,s as r}from"../chunks/BhD6TCSq.js";export{o as load_css,r as start};
@@ -1 +1 @@
1
- import{t as L,bo as O,bw as I,bs as ee,bq as te,b as N,br as ne,bp as oe}from"../chunks/Fcr7AvC-.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as T,W as E,bn as W,aA as R}from"../chunks/3SdAC2_C.js";import{t as $}from"../chunks/CWfjuhY2.js";import{i as ie}from"../chunks/BhYXv0ZM.js";import{k as ae}from"../chunks/Cc0763mU.js";import{w as ce}from"../chunks/BIv0yV05.js";import{JH as ue}from"../chunks/D0qhIm1r.js";import{z as de,I as B}from"../chunks/Bqd7fdCF.js";import{initAppStore as le}from"../chunks/Cu9dGfYE.js";import{J as fe,H as me}from"../chunks/BwweojP5.js";import{i as pe}from"../chunks/C0vmnkBQ.js";const we=!1,ve=!1,ge=!0,Ce=Object.freeze(Object.defineProperty({__proto__:null,csr:ge,prerender:ve,ssr:we},Symbol.toStringTag,{value:"Module"}));function be(e,t,r){const f=le(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 j=3,Y=4,he=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<he||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function Ee(){return document.querySelector("webview:hover")!==null}function Ae(e){e!=="back"&&e!=="forward"||Ee()||S(e)}function q(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function C(e){q(e)||(e.button===j?(e.preventDefault(),S("back")):e.button===Y&&(e.preventDefault(),S("forward")))}function F(e){q(e)||(e.button===j||e.button===Y)&&e.preventDefault()}function ye(e=window){return e.addEventListener("mouseup",C,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",C,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function _e(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 z(e,t){if(new.target)return L({component:z,...e});P(t,!0);const r=()=>ee(m,"$resolvedLocale$",f),[f,p]=te();let s=O(t,"children",7);const l=be(ue,{startSagas:()=>[]},void 0);re(l);const m=fe(),v=me();se(()=>{const n=!pe()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},H=()=>c(!1),M=()=>c(!0),K=v.subscribe(_=>{d=_,a()}),k=window.electronAPI,D=de();let y;a(),n&&(D?y=k?.on?.("window:focus",c):(window.addEventListener("blur",H),window.addEventListener("focus",M)));const Q=_e(document.documentElement),X=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const Z=ye(window),U=window.electronAPI?.on?.(B.APP.HISTORY_NAVIGATE,Ae);return()=>{K(),Q.destroy(),y?k.offById("window:focus",y):n&&!D&&(window.removeEventListener("blur",H),window.removeEventListener("focus",M)),document.documentElement.removeAttribute("data-window-blurred"),X(),Z(),U&&window.electronAPI.offById(B.APP.HISTORY_NAVIGATE,U)}});var u={get children(){return s()},set children(n){s(n),R()},$set:I,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);$(d,()=>s()??T),E(n,o)}),E(e,w);var i=W(u);return p(),i}const x="/dev-console";function Se(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Le(e){return e===G||e.startsWith(`${G}/`)}const V="/frame";function Oe(e){return e===V||e===`${V}/`}function J(e,t){if(new.target)return L({component:J,...e});P(t,!0);let r=O(t,"children",7);const f=typeof window<"u"&&(Se(window.location.pathname)||Le(window.location.pathname)||Oe(window.location.pathname));var p={get children(){return r()},set children(u){r(u),R()},$set:I,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);$(g,()=>r()??T),E(u,w)},v=u=>{z(u,{get children(){return r()}})};ie(l,u=>{f?u(m):u(v,-1)})}return E(e,s),W(p)}var Ie=new Set(["$$slots","$$events","$$legacy","children"]);function Ne(e,t){if(new.target)return L({component:Ne,...e});P(t,!0);let r=O(t,"children",7),f=oe(t,Ie);var p={get children(){return r()},set children(s){r(s),R()},$set:I,$on:(s,l)=>N(t,s,l)};return J(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);$(v,()=>r()??T),E(s,m)},$$slots:{default:!0}})),W(p)}export{Ne as component,Ce as universal};
1
+ import{t as L,bo as O,bw as I,bs as ee,bq as te,b as N,br as ne,bp as oe}from"../chunks/Fcr7AvC-.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as T,W as E,bn as W,aA as R}from"../chunks/3SdAC2_C.js";import{t as $}from"../chunks/CWfjuhY2.js";import{i as ie}from"../chunks/BhYXv0ZM.js";import{k as ae}from"../chunks/Cc0763mU.js";import{w as ce}from"../chunks/BIv0yV05.js";import{JH as ue}from"../chunks/D0qhIm1r.js";import{z as de,I as B}from"../chunks/Bqd7fdCF.js";import{initAppStore as le}from"../chunks/Cu9dGfYE.js";import{J as fe,H as me}from"../chunks/BwweojP5.js";import{i as pe}from"../chunks/8ItTOum-.js";const we=!1,ve=!1,ge=!0,Ce=Object.freeze(Object.defineProperty({__proto__:null,csr:ge,prerender:ve,ssr:we},Symbol.toStringTag,{value:"Module"}));function be(e,t,r){const f=le(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 j=3,Y=4,he=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<he||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function Ee(){return document.querySelector("webview:hover")!==null}function Ae(e){e!=="back"&&e!=="forward"||Ee()||S(e)}function q(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function C(e){q(e)||(e.button===j?(e.preventDefault(),S("back")):e.button===Y&&(e.preventDefault(),S("forward")))}function F(e){q(e)||(e.button===j||e.button===Y)&&e.preventDefault()}function ye(e=window){return e.addEventListener("mouseup",C,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",C,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function _e(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 z(e,t){if(new.target)return L({component:z,...e});P(t,!0);const r=()=>ee(m,"$resolvedLocale$",f),[f,p]=te();let s=O(t,"children",7);const l=be(ue,{startSagas:()=>[]},void 0);re(l);const m=fe(),v=me();se(()=>{const n=!pe()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},H=()=>c(!1),M=()=>c(!0),K=v.subscribe(_=>{d=_,a()}),k=window.electronAPI,D=de();let y;a(),n&&(D?y=k?.on?.("window:focus",c):(window.addEventListener("blur",H),window.addEventListener("focus",M)));const Q=_e(document.documentElement),X=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const Z=ye(window),U=window.electronAPI?.on?.(B.APP.HISTORY_NAVIGATE,Ae);return()=>{K(),Q.destroy(),y?k.offById("window:focus",y):n&&!D&&(window.removeEventListener("blur",H),window.removeEventListener("focus",M)),document.documentElement.removeAttribute("data-window-blurred"),X(),Z(),U&&window.electronAPI.offById(B.APP.HISTORY_NAVIGATE,U)}});var u={get children(){return s()},set children(n){s(n),R()},$set:I,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);$(d,()=>s()??T),E(n,o)}),E(e,w);var i=W(u);return p(),i}const x="/dev-console";function Se(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Le(e){return e===G||e.startsWith(`${G}/`)}const V="/frame";function Oe(e){return e===V||e===`${V}/`}function J(e,t){if(new.target)return L({component:J,...e});P(t,!0);let r=O(t,"children",7);const f=typeof window<"u"&&(Se(window.location.pathname)||Le(window.location.pathname)||Oe(window.location.pathname));var p={get children(){return r()},set children(u){r(u),R()},$set:I,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);$(g,()=>r()??T),E(u,w)},v=u=>{z(u,{get children(){return r()}})};ie(l,u=>{f?u(m):u(v,-1)})}return E(e,s),W(p)}var Ie=new Set(["$$slots","$$events","$$legacy","children"]);function Ne(e,t){if(new.target)return L({component:Ne,...e});P(t,!0);let r=O(t,"children",7),f=oe(t,Ie);var p={get children(){return r()},set children(s){r(s),R()},$set:I,$on:(s,l)=>N(t,s,l)};return J(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);$(v,()=>r()??T),E(s,m)},$$slots:{default:!0}})),W(p)}export{Ne as component,Ce as universal};
@@ -1 +1 @@
1
- import{t as W,bw as A,b as D,bm as u,br as R,bp as U}from"../chunks/Fcr7AvC-.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as y,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 O}from"../chunks/3SdAC2_C.js";import{i as T}from"../chunks/BhYXv0ZM.js";import{g as re}from"../chunks/DXUWNyzc.js";import{p as b}from"../chunks/CYkK72cK.js";import{F as te,cT as ae}from"../chunks/ChHRVjww.js";import{f as se}from"../chunks/Beq_QLuz.js";import"../chunks/BAtAwQ72.js";var oe=O('<p class="text-sm text-subtle"> </p>'),ie=O('<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(i,o){if(new.target)return W({component:q,...i});E(o,!0);let c=y(()=>b.error),r=y(()=>b.status),v=y(()=>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:(l,n)=>D(o,l,n)},j=X(),G=Y(j);{var H=l=>{var n=ie(),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(),p=$(d,!0);k(h=>m(p,h),[()=>u.error_page_status_label({status:e(r)})]),_(t,d)};T(C,t=>{e(r)&&e(r)!==500&&t(K)})}var L=f(C,2),M=$(L,!0);s(w);var P=f(w,2),Q=a(P);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var p=ee();k(h=>m(p,h),[()=>u.error_page_reload_button()]),_(t,p)},$$slots:{default:!0}}),s(P),s(S),s(F),s(n),k((t,d)=>{m(J,t),m(M,d)},[()=>u.error_page_title(),()=>e(c)?.message||u.error_page_unexpected_fallback()]),_(l,n)};T(G,l=>{e(v)||l(H)})}return _(i,j),N(g)}var le=new Set(["$$slots","$$events","$$legacy"]);function ne(i,o){if(new.target)return W({component:ne,...i});E(o,!0);let c=U(o,le);var r={$set:A,$on:(v,g)=>D(o,v,g)};return q(i,R(()=>c)),N(r)}export{ne as component};
1
+ import{t as W,bw as A,b as D,bm as u,br as R,bp as U}from"../chunks/Fcr7AvC-.js";import{bs as E,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as y,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 O}from"../chunks/3SdAC2_C.js";import{i as T}from"../chunks/BhYXv0ZM.js";import{g as re}from"../chunks/BhD6TCSq.js";import{p as b}from"../chunks/BFMw_Rsu.js";import{F as te,cT as ae}from"../chunks/ChHRVjww.js";import{f as se}from"../chunks/Beq_QLuz.js";import"../chunks/BAtAwQ72.js";var oe=O('<p class="text-sm text-subtle"> </p>'),ie=O('<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(i,o){if(new.target)return W({component:q,...i});E(o,!0);let c=y(()=>b.error),r=y(()=>b.status),v=y(()=>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:(l,n)=>D(o,l,n)},j=X(),G=Y(j);{var H=l=>{var n=ie(),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(),p=$(d,!0);k(h=>m(p,h),[()=>u.error_page_status_label({status:e(r)})]),_(t,d)};T(C,t=>{e(r)&&e(r)!==500&&t(K)})}var L=f(C,2),M=$(L,!0);s(w);var P=f(w,2),Q=a(P);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var p=ee();k(h=>m(p,h),[()=>u.error_page_reload_button()]),_(t,p)},$$slots:{default:!0}}),s(P),s(S),s(F),s(n),k((t,d)=>{m(J,t),m(M,d)},[()=>u.error_page_title(),()=>e(c)?.message||u.error_page_unexpected_fallback()]),_(l,n)};T(G,l=>{e(v)||l(H)})}return _(i,j),N(g)}var le=new Set(["$$slots","$$events","$$legacy"]);function ne(i,o){if(new.target)return W({component:ne,...i});E(o,!0);let c=U(o,le);var r={$set:A,$on:(v,g)=>D(o,v,g)};return q(i,R(()=>c)),N(r)}export{ne as component};