@intent-hq/web 2.370.1 → 2.370.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{Dk-rIzdO.js → 2fnkFLNz.js} +1 -1
- package/web/app/immutable/chunks/{Z-hUD4Ap.js → 37RwnxdA.js} +1 -1
- package/web/app/immutable/chunks/{pehcYFWW.js → 5LALF9-w.js} +2 -2
- package/web/app/immutable/chunks/{CFq9q-gu.js → 5eDYSo3l.js} +1 -1
- package/web/app/immutable/chunks/{DG-AKB01.js → 61v4Xd-q.js} +1 -1
- package/web/app/immutable/chunks/{D1_IbOsX.js → 6VefuM40.js} +1 -1
- package/web/app/immutable/chunks/{BBvc0xcX.js → 8kPgwy6s.js} +1 -1
- package/web/app/immutable/chunks/{DqaHaAl1.js → B-7g-jyw.js} +3 -3
- package/web/app/immutable/chunks/{Baepgj8b.js → B4F8uEiO.js} +1 -1
- package/web/app/immutable/chunks/{BHe6JG_C.js → B7nQiJX-.js} +2 -2
- package/web/app/immutable/chunks/{DOIzLCtE.js → BFgsQcq9.js} +1 -1
- package/web/app/immutable/chunks/{CKfVT02n.js → BGndkjol.js} +2 -2
- package/web/app/immutable/chunks/{bLKIt_n4.js → BLaGtfsC.js} +1 -1
- package/web/app/immutable/chunks/{Ca6eVlSm.js → BM1qSBOB.js} +1 -1
- package/web/app/immutable/chunks/{XagMlRFc.js → BOWO4Ybr.js} +2 -2
- package/web/app/immutable/chunks/{DYzJKeX7.js → BPOdNeJW.js} +1 -1
- package/web/app/immutable/chunks/{B2_coen2.js → BR1Dvtpp.js} +1 -1
- package/web/app/immutable/chunks/{BIDxyGuw.js → BR9APAxb.js} +1 -1
- package/web/app/immutable/chunks/{BKq-hmnE.js → BS5Nujz5.js} +1 -1
- package/web/app/immutable/chunks/{Dp08eKy3.js → BTodhwDl.js} +1 -1
- package/web/app/immutable/chunks/{Q1s61YDh.js → BWu7Gpqf.js} +13 -13
- package/web/app/immutable/chunks/{JZ27Qh_j.js → BZJ31k0Z.js} +1 -1
- package/web/app/immutable/chunks/{3bNhkT-J.js → BZgI7WU1.js} +1 -1
- package/web/app/immutable/chunks/{yScsjjST.js → BcrA9Yen.js} +1 -1
- package/web/app/immutable/chunks/{CIvyT4T_.js → BdJsd1ki.js} +1 -1
- package/web/app/immutable/chunks/{BJDeJSt-.js → Bfp4ruWu.js} +1 -1
- package/web/app/immutable/chunks/{DkL69EQl.js → BgE7NCeJ.js} +1 -1
- package/web/app/immutable/chunks/{weHhj1in.js → BghZcrpF.js} +1 -1
- package/web/app/immutable/chunks/{VcOG8L0Z.js → BiVa9bC9.js} +1 -1
- package/web/app/immutable/chunks/{UO171Id4.js → BkG4Behb.js} +1 -1
- package/web/app/immutable/chunks/{Ds4DhRwW.js → BpcFcSgh.js} +1 -1
- package/web/app/immutable/chunks/{BeVAskuR.js → Bq3GMUqF.js} +1 -1
- package/web/app/immutable/chunks/{C29Jqwzt.js → BrGoXwG8.js} +1 -1
- package/web/app/immutable/chunks/{1BRHaRmm.js → Bsyy-0lH.js} +3 -3
- package/web/app/immutable/chunks/{DfJwQVW8.js → BxN9s7AP.js} +1 -1
- package/web/app/immutable/chunks/{Dg9ZuAkk.js → Bzz0c_ry.js} +2 -2
- package/web/app/immutable/chunks/{DSjbk-ao.js → C-IS8SBb.js} +1 -1
- package/web/app/immutable/chunks/{KSJAkSbC.js → C30xT9-i.js} +1 -1
- package/web/app/immutable/chunks/{Dr6C4F1X.js → C3pE6msh.js} +1 -1
- package/web/app/immutable/chunks/{BVDDJIsV.js → C5T8uUpU.js} +1 -1
- package/web/app/immutable/chunks/{BSwUOmEO.js → C5pJ7DEG.js} +1 -1
- package/web/app/immutable/chunks/{DM71GnMx.js → CELHofTd.js} +3 -3
- package/web/app/immutable/chunks/{Bo89tkt2.js → CFdTsqjt.js} +1 -1
- package/web/app/immutable/chunks/{CQWMr-uu.js → CHvjIWnN.js} +2 -2
- package/web/app/immutable/chunks/{2IbSEmAW.js → CMYDhfVs.js} +1 -1
- package/web/app/immutable/chunks/{Ce83awb2.js → CQCytUET.js} +2 -2
- package/web/app/immutable/chunks/{SLPWQR3F.js → CQiC3L5q.js} +1 -1
- package/web/app/immutable/chunks/{2kcdsiKR.js → CRhdiLrU.js} +1 -1
- package/web/app/immutable/chunks/{BTBYrxZV.js → CTBZXNUF.js} +1 -1
- package/web/app/immutable/chunks/{wK4T9_HO.js → CUj3qXAR.js} +1 -1
- package/web/app/immutable/chunks/{Dbrv6RE-.js → CWOeseZJ.js} +1 -1
- package/web/app/immutable/chunks/{DmC2lRsL.js → CX-8a7xU.js} +2 -2
- package/web/app/immutable/chunks/{CdYt8dgZ.js → CX-WDgpQ.js} +1 -1
- package/web/app/immutable/chunks/{BIH1E0JD.js → CZ0MIbMm.js} +1 -1
- package/web/app/immutable/chunks/{DSCqJfZ-.js → C_WatYYk.js} +1 -1
- package/web/app/immutable/chunks/{7aKXh--T.js → CcCeOCLG.js} +3 -3
- package/web/app/immutable/chunks/{CFcZXBVA.js → CcYjFBrM.js} +1 -1
- package/web/app/immutable/chunks/{DteD0Nal.js → Ce4DeuTo.js} +3 -3
- package/web/app/immutable/chunks/{DqMtaSxK.js → CmdzVgvT.js} +1 -1
- package/web/app/immutable/chunks/{7i9XTDuo.js → CoZeNthD.js} +1 -1
- package/web/app/immutable/chunks/{DqZnld6x.js → Cov6EESF.js} +3 -3
- package/web/app/immutable/chunks/{L-jTlD15.js → CqCZk0ca.js} +3 -3
- package/web/app/immutable/chunks/{Tygff_sj.js → Cr_u-KK4.js} +1 -1
- package/web/app/immutable/chunks/{Czc9XxQH.js → Cw0RkUSg.js} +1 -1
- package/web/app/immutable/chunks/{DMzReQ-5.js → Cxn7PlP-.js} +1 -1
- package/web/app/immutable/chunks/{gTjyNX6h.js → Cxs4PvAD.js} +1 -1
- package/web/app/immutable/chunks/{BgnxwWhQ.js → Cy9k09g5.js} +1 -1
- package/web/app/immutable/chunks/{DUO0KBjx.js → CzM5SEDv.js} +1 -1
- package/web/app/immutable/chunks/{DnsVLkb8.js → D2dH0brU.js} +1 -1
- package/web/app/immutable/chunks/{C-5vE6yh.js → D3gleuKc.js} +4 -4
- package/web/app/immutable/chunks/{BKzqt9uo.js → D4D4msrU.js} +1 -1
- package/web/app/immutable/chunks/{OltbXq5G.js → D5-1hxdu.js} +1 -1
- package/web/app/immutable/chunks/{BU9a7SkD.js → D5MxzPoI.js} +1 -1
- package/web/app/immutable/chunks/{W2c1MO7q.js → D8-Qc246.js} +1 -1
- package/web/app/immutable/chunks/{Czz4CkiM.js → DDVgDlM2.js} +1 -1
- package/web/app/immutable/chunks/{DRRKH4VP.js → DFMjHFLq.js} +1 -1
- package/web/app/immutable/chunks/{JMqHRN1q.js → DJOX3PaT.js} +1 -1
- package/web/app/immutable/chunks/{Beg3arHH.js → DLfLfqER.js} +1 -1
- package/web/app/immutable/chunks/{CVXKL6ab.js → DNF6envV.js} +1 -1
- package/web/app/immutable/chunks/{ENlRNbf0.js → DNbpqTjh.js} +1 -1
- package/web/app/immutable/chunks/{K2mnFSgK.js → DOiozQGI.js} +1 -1
- package/web/app/immutable/chunks/{BL5h9RCy.js → DP7n2Ccw.js} +1 -1
- package/web/app/immutable/chunks/{DfT1buZq.js → DTbH-mAR.js} +2 -2
- package/web/app/immutable/chunks/{CC-xReBN.js → DUAki0uS.js} +1 -1
- package/web/app/immutable/chunks/{DbIuIgjV.js → DUj14ka7.js} +1 -1
- package/web/app/immutable/chunks/{D4hsFsw4.js → DY9gJ8US.js} +1 -1
- package/web/app/immutable/chunks/{BhA_kLCx.js → D_izGjgJ.js} +1 -1
- package/web/app/immutable/chunks/{xCaPmms8.js → DcnKM2c0.js} +1 -1
- package/web/app/immutable/chunks/{CTKKTfh5.js → DgTfsal1.js} +2 -2
- package/web/app/immutable/chunks/{DbN2kVX-.js → Dk27S3e8.js} +1 -1
- package/web/app/immutable/chunks/{D8Nxo4aC.js → DlGpNWpV.js} +1 -1
- package/web/app/immutable/chunks/{CzMPk75T.js → DnV9eAGG.js} +1 -1
- package/web/app/immutable/chunks/{B3hSlB6y.js → DnfgukfK.js} +1 -1
- package/web/app/immutable/chunks/{BtrJwCgg.js → Dqa8MqiX.js} +1 -1
- package/web/app/immutable/chunks/{CO9mOa2z.js → DqvpZseI.js} +1 -1
- package/web/app/immutable/chunks/{PtFvwTVZ.js → Dr1T9Ela.js} +3 -3
- package/web/app/immutable/chunks/{nrAGmqbi.js → DrBfRK-l.js} +1 -1
- package/web/app/immutable/chunks/{Bb3w2fM6.js → DuR22uzB.js} +1 -1
- package/web/app/immutable/chunks/{CNkmihEX.js → DxOqqCxd.js} +2 -2
- package/web/app/immutable/chunks/{BR_GHabc.js → F6KnEzK2.js} +1 -1
- package/web/app/immutable/chunks/{CxJ0MhK_.js → IbOrXYhr.js} +3 -3
- package/web/app/immutable/chunks/{DUfE7lx2.js → MmbRHAVV.js} +1 -1
- package/web/app/immutable/chunks/{Ba5gf06c.js → RMFOakJ8.js} +1 -1
- package/web/app/immutable/chunks/{CkoG9STP.js → Rtb2u0aS.js} +1 -1
- package/web/app/immutable/chunks/{DRWqzfiQ.js → S0vfIVN4.js} +1 -1
- package/web/app/immutable/chunks/{CENbvXsw.js → Tl9_Ag57.js} +1 -1
- package/web/app/immutable/chunks/{Cum1dYpM.js → YcLv7RIG.js} +1 -1
- package/web/app/immutable/chunks/{BqOLTDDX.js → YjkXFMdR.js} +1 -1
- package/web/app/immutable/chunks/{2CvTs4Gl.js → YlOhdwpJ.js} +1 -1
- package/web/app/immutable/chunks/{eNRNxfO0.js → ZiiliHwl.js} +1 -1
- package/web/app/immutable/chunks/{C_V6o9Il.js → a-02PhaD.js} +1 -1
- package/web/app/immutable/chunks/{Cmj0JylI.js → deZv7xr3.js} +1 -1
- package/web/app/immutable/chunks/{BalxhI2Q.js → e6y6K_3x.js} +1 -1
- package/web/app/immutable/chunks/{Dax7ITFa.js → eHZL9ha9.js} +1 -1
- package/web/app/immutable/chunks/{CC4-q0Fm.js → l3HuVu6N.js} +1 -1
- package/web/app/immutable/chunks/{DIhsiUIT.js → lUjoTdjg.js} +1 -1
- package/web/app/immutable/chunks/{aitTA173.js → mPd0q3-n.js} +4 -4
- package/web/app/immutable/chunks/{B5LyNSS1.js → mdamofpo.js} +1 -1
- package/web/app/immutable/chunks/{CllirvEK.js → mwFmA_HW.js} +1 -1
- package/web/app/immutable/chunks/{DUl-h1p3.js → qOqJpb_a.js} +1 -1
- package/web/app/immutable/chunks/{DhWcN4bx.js → wNJjv8Uj.js} +1 -1
- package/web/app/immutable/chunks/{CT012uiB.js → xIIgydKf.js} +1 -1
- package/web/app/immutable/chunks/{BE3ifD-D.js → z2CLzpx7.js} +1 -1
- package/web/app/immutable/entry/{app.De5C2NS7.js → app.CC3URvKW.js} +2 -2
- package/web/app/immutable/entry/start.C3bg9se6.js +1 -0
- package/web/app/immutable/nodes/{0.D8lcICdy.js → 0.C4aXi2Zc.js} +1 -1
- package/web/app/immutable/nodes/{1.Bcr9Ac6T.js → 1.O03B6KYk.js} +1 -1
- package/web/app/immutable/nodes/{10.CdYxZNRv.js → 10.DSjz-a23.js} +4 -4
- package/web/app/immutable/nodes/{11.DTALKQkg.js → 11.DUbB-MHX.js} +1 -1
- package/web/app/immutable/nodes/{15.BuZ5Ykpn.js → 15.BU8WwWus.js} +1 -1
- package/web/app/immutable/nodes/{19.Bwna1DuW.js → 19.C3kZuMc1.js} +2 -2
- package/web/app/immutable/nodes/2.SHzQR8g8.js +13 -0
- package/web/app/immutable/nodes/{3.CJlWKIE-.js → 3.D7EtacCx.js} +1 -1
- package/web/app/immutable/nodes/{4.CDSfo4Q5.js → 4._-Ygm1PE.js} +1 -1
- package/web/app/immutable/nodes/{5.B6hsM1cw.js → 5.B5veLa-N.js} +1 -1
- package/web/app/immutable/nodes/{6.DCm27sfe.js → 6.BnrdHFCS.js} +1 -1
- package/web/app/immutable/nodes/{7.Dd2x1_y1.js → 7.DAUgpsnC.js} +1 -1
- package/web/app/immutable/nodes/{8.C0jzmTGW.js → 8.Cj1FZ4Vr.js} +1 -1
- package/web/app/immutable/nodes/{9.Bj88iDsv.js → 9.BuIEgUbP.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.BbOZiO5_.js +0 -1
- package/web/app/immutable/nodes/2.BCkphmFm.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{I as le}from"./OltbXq5G.js";import{p as he}from"./2CvTs4Gl.js";import{Y as $e,b0 as fe,aZ as ge,U as ue,V as ye,a_ as xe,b as h,W as J,ay as w,aW as me,X as P,bh as pe,b4 as be,r as we,z as B,q as ke,O as ve,aM as Ce}from"./aitTA173.js";import{p as Ee}from"./C0gEyGJV.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),We=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),De=h(function(){return d.records.currBranch},"getCurrentBranch"),qe=h(function(){return d.records.direction},"getDirection"),Pe=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:We,getCommitsArray:ne,getCurrentBranch:De,getDirection:qe,getHead:Pe,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ke(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ke=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,D=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),D.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=P(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
1
|
+
import{I as le}from"./D5-1hxdu.js";import{p as he}from"./YlOhdwpJ.js";import{Y as $e,b0 as fe,aZ as ge,U as ue,V as ye,a_ as xe,b as h,W as J,ay as w,aW as me,X as P,bh as pe,b4 as be,r as we,z as B,q as ke,O as ve,aM as Ce}from"./mPd0q3-n.js";import{p as Ee}from"./C0gEyGJV.js";var m={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Be=ve.gitGraph,S=h(()=>ke({...Be,...J().gitGraph}),"getConfig"),d=new le(()=>{const e=S(),r=e.mainBranchName,t=e.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:t}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function Y(){return Ce({length:7})}h(Y,"getID");function te(e,r){const t=Object.create(null);return e.reduce((s,o)=>{const i=r(o);return t[i]||(t[i]=!0,s.push(o)),s},[])}h(te,"uniqBy");var Te=h(function(e){d.records.direction=e},"setDirection"),Le=h(function(e){w.debug("options str",e),e=e?.trim(),e=e||"{}";try{d.records.options=JSON.parse(e)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),Me=h(function(){return d.records.options},"getOptions"),Re=h(function(e){let r=e.msg,t=e.id;const s=e.type;let o=e.tags;w.info("commit",r,t,s,o),w.debug("Entering commit:",r,t,s,o);const i=S();t=B.sanitizeText(t,i),r=B.sanitizeText(r,i),o=o?.map(a=>B.sanitizeText(a,i));const n={id:t||d.records.seq+"-"+Y(),message:r,seq:d.records.seq++,type:s??m.NORMAL,tags:o??[],parents:d.records.head==null?[]:[d.records.head.id],branch:d.records.currBranch};d.records.head=n,w.info("main branch",i.mainBranchName),d.records.commits.has(n.id)&&w.warn(`Commit ID ${n.id} already exists`),d.records.commits.set(n.id,n),d.records.branches.set(d.records.currBranch,n.id),w.debug("in pushCommit "+n.id)},"commit"),Ie=h(function(e){let r=e.name;const t=e.order;if(r=B.sanitizeText(r,S()),d.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);d.records.branches.set(r,d.records.head!=null?d.records.head.id:null),d.records.branchConfig.set(r,{name:r,order:t}),ae(r),w.debug("in createBranch")},"branch"),Oe=h(e=>{let r=e.branch,t=e.id;const s=e.type,o=e.tags,i=S();r=B.sanitizeText(r,i),t&&(t=B.sanitizeText(t,i));const n=d.records.branches.get(d.records.currBranch),a=d.records.branches.get(r),l=n?d.records.commits.get(n):void 0,f=a?d.records.commits.get(a):void 0;if(l&&f&&l.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(d.records.currBranch===r){const c=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(l===void 0||!l){const c=new Error(`Incorrect usage of "merge". Current branch (${d.records.currBranch})has no commits`);throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},c}if(!d.records.branches.has(r)){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},c}if(f===void 0||!f){const c=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},c}if(l===f){const c=new Error('Incorrect usage of "merge". Both branches have same head');throw c.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},c}if(t&&d.records.commits.has(t)){const c=new Error('Incorrect usage of "merge". Commit with id:'+t+" already exists, use different custom id");throw c.hash={text:`merge ${r} ${t} ${s} ${o?.join(" ")}`,token:`merge ${r} ${t} ${s} ${o?.join(" ")}`,expected:[`merge ${r} ${t}_UNIQUE ${s} ${o?.join(" ")}`]},c}const g=a||"",$={id:t||`${d.records.seq}-${Y()}`,message:`merged branch ${r} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,g],branch:d.records.currBranch,type:m.MERGE,customType:s,customId:!!t,tags:o??[]};d.records.head=$,d.records.commits.set($.id,$),d.records.branches.set(d.records.currBranch,$.id),w.debug(d.records.branches),w.debug("in mergeBranch")},"merge"),_e=h(function(e){let r=e.id,t=e.targetId,s=e.tags,o=e.parent;w.debug("Entering cherryPick:",r,t,s);const i=S();if(r=B.sanitizeText(r,i),t=B.sanitizeText(t,i),s=s?.map(l=>B.sanitizeText(l,i)),o=B.sanitizeText(o,i),!r||!d.records.commits.has(r)){const l=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw l.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},l}const n=d.records.commits.get(r);if(n===void 0||!n)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(o&&!(Array.isArray(n.parents)&&n.parents.includes(o)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const a=n.branch;if(n.type===m.MERGE&&!o)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!t||!d.records.commits.has(t)){if(a===d.records.currBranch){const $=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const l=d.records.branches.get(d.records.currBranch);if(l===void 0||!l){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const f=d.records.commits.get(l);if(f===void 0||!f){const $=new Error(`Incorrect usage of "cherry-pick". Current branch (${d.records.currBranch})has no commits`);throw $.hash={text:`cherryPick ${r} ${t}`,token:`cherryPick ${r} ${t}`,expected:["cherry-pick abc"]},$}const g={id:d.records.seq+"-"+Y(),message:`cherry-picked ${n?.message} into ${d.records.currBranch}`,seq:d.records.seq++,parents:d.records.head==null?[]:[d.records.head.id,n.id],branch:d.records.currBranch,type:m.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${n.id}${n.type===m.MERGE?`|parent:${o}`:""}`]};d.records.head=g,d.records.commits.set(g.id,g),d.records.branches.set(d.records.currBranch,g.id),w.debug(d.records.branches),w.debug("in cherryPick")}},"cherryPick"),ae=h(function(e){if(e=B.sanitizeText(e,S()),d.records.branches.has(e)){d.records.currBranch=e;const r=d.records.branches.get(d.records.currBranch);r===void 0||!r?d.records.head=null:d.records.head=d.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw r.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},r}},"checkout");function V(e,r,t){const s=e.indexOf(r);s===-1?e.push(t):e.splice(s,1,t)}h(V,"upsert");function Q(e){const r=e.reduce((o,i)=>o.seq>i.seq?o:i,e[0]);let t="";e.forEach(function(o){o===r?t+=" *":t+=" |"});const s=[t,r.id,r.seq];for(const o in d.records.branches)d.records.branches.get(o)===r.id&&s.push(o);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const o=d.records.commits.get(r.parents[0]);V(e,r,o),r.parents[1]&&e.push(d.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const o=d.records.commits.get(r.parents[0]);V(e,r,o)}}e=te(e,o=>o.id),Q(e)}h(Q,"prettyPrintCommitHistory");var Ge=h(function(){w.debug(d.records.commits);const e=ne()[0];Q([e])},"prettyPrint"),He=h(function(){d.reset(),we()},"clear"),Se=h(function(){return[...d.records.branchConfig.values()].map((r,t)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${t}`)}).sort((r,t)=>(r.order??0)-(t.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),Ae=h(function(){return d.records.branches},"getBranches"),We=h(function(){return d.records.commits},"getCommits"),ne=h(function(){const e=[...d.records.commits.values()];return e.forEach(function(r){w.debug(r.id)}),e.sort((r,t)=>r.seq-t.seq),e},"getCommitsArray"),De=h(function(){return d.records.currBranch},"getCurrentBranch"),qe=h(function(){return d.records.direction},"getDirection"),Pe=h(function(){return d.records.head},"getHead"),se={commitType:m,getConfig:S,setDirection:Te,setOptions:Le,getOptions:Me,commit:Re,branch:Ie,merge:Oe,cherryPick:_e,checkout:ae,prettyPrint:Ge,clear:He,getBranchesAsObjArray:Se,getBranches:Ae,getCommits:We,getCommitsArray:ne,getCurrentBranch:De,getDirection:qe,getHead:Pe,setAccTitle:xe,getAccTitle:ye,getAccDescription:ue,setAccDescription:ge,setDiagramTitle:fe,getDiagramTitle:$e},Ne=h((e,r)=>{he(e,r),e.dir&&r.setDirection(e.dir);for(const t of e.statements)Fe(t,r)},"populate"),Fe=h((e,r)=>{const s={Commit:h(o=>r.commit(ze(o)),"Commit"),Branch:h(o=>r.branch(Ye(o)),"Branch"),Merge:h(o=>r.merge(je(o)),"Merge"),Checkout:h(o=>r.checkout(Ue(o)),"Checkout"),CherryPicking:h(o=>r.cherryPick(Ke(o)),"CherryPicking")}[e.$type];s?s(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),ze=h(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?m[e.type]:m.NORMAL,tags:e.tags??void 0}),"parseCommit"),Ye=h(e=>({name:e.name,order:e.order??0}),"parseBranch"),je=h(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?m[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),Ue=h(e=>e.branch,"parseCheckout"),Ke=h(e=>({id:e.id,targetId:"",tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),"parseCherryPicking"),Ve={parse:h(async e=>{const r=await Ee("gitGraph",e);w.debug(r),Ne(r,se)},"parse")},O=10,_=40,L=4,R=2,G=8,j=new Set(["redux","redux-dark","redux-color","redux-dark-color"]),X=12,Z=new Set(["redux-color","redux-dark-color"]),Xe=new Set(["dark","redux-dark","redux-dark-color","neo-dark"]),H=h((e,r,t=!1)=>t&&e>0?(e-1)%(r-1)+1:e%r,"calcColorIndex"),C=new Map,E=new Map,F=30,D=new Map,z=[],I=0,y="LR",Je=h(()=>{C.clear(),E.clear(),D.clear(),I=0,z=[],y="LR"},"clear"),oe=h(e=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(s=>{const o=document.createElementNS("http://www.w3.org/2000/svg","tspan");o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),o.setAttribute("dy","1em"),o.setAttribute("x","0"),o.setAttribute("class","row"),o.textContent=s.trim(),r.appendChild(o)}),r},"drawText"),ce=h(e=>{let r,t,s;return y==="BT"?(t=h((o,i)=>o<=i,"comparisonFunc"),s=1/0):(t=h((o,i)=>o>=i,"comparisonFunc"),s=0),e.forEach(o=>{const i=y==="TB"||y=="BT"?E.get(o)?.y:E.get(o)?.x;i!==void 0&&t(i,s)&&(r=o,s=i)}),r},"findClosestParent"),Qe=h(e=>{let r="",t=1/0;return e.forEach(s=>{const o=E.get(s).y;o<=t&&(r=s,t=o)}),r||void 0},"findClosestParentBT"),Ze=h((e,r,t)=>{let s=t,o=t;const i=[];e.forEach(n=>{const a=r.get(n);if(!a)throw new Error(`Commit not found for key ${n}`);a.parents.length?(s=rr(a),o=Math.max(s,o)):i.push(a),tr(a,s)}),s=o,i.forEach(n=>{ar(n,s,t)}),e.forEach(n=>{const a=r.get(n);if(a?.parents.length){const l=Qe(a.parents);s=E.get(l).y-_,s<=o&&(o=s);const f=C.get(a.branch).pos,g=s-O;E.set(a.id,{x:f,y:g})}})},"setParallelBTPos"),er=h(e=>{const r=ce(e.parents.filter(s=>s!==null));if(!r)throw new Error(`Closest parent not found for commit ${e.id}`);const t=E.get(r)?.y;if(t===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return t},"findClosestParentPos"),rr=h(e=>er(e)+_,"calculateCommitPosition"),tr=h((e,r)=>{const t=C.get(e.branch);if(!t)throw new Error(`Branch not found for commit ${e.id}`);const s=t.pos,o=r+O;return E.set(e.id,{x:s,y:o}),{x:s,y:o}},"setCommitPosition"),ar=h((e,r,t)=>{const s=C.get(e.branch);if(!s)throw new Error(`Branch not found for commit ${e.id}`);const o=r+t,i=s.pos;E.set(e.id,{x:i,y:o})},"setRootPosition"),nr=h((e,r,t,s,o,i)=>{const{theme:n}=P(),a=j.has(n??""),l=Z.has(n??""),f=Xe.has(n??"");if(i===m.HIGHLIGHT)e.append("rect").attr("x",t.x-10+(a?3:0)).attr("y",t.y-10+(a?3:0)).attr("width",a?14:20).attr("height",a?14:20).attr("class",`commit ${r.id} commit-highlight${H(o,G,l)} ${s}-outer`),e.append("rect").attr("x",t.x-6+(a?2:0)).attr("y",t.y-6+(a?2:0)).attr("width",a?8:12).attr("height",a?8:12).attr("class",`commit ${r.id} commit${H(o,G,l)} ${s}-inner`);else if(i===m.CHERRY_PICK)e.append("circle").attr("cx",t.x).attr("cy",t.y).attr("r",a?7:10).attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x-3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("circle").attr("cx",t.x+3).attr("cy",t.y+2).attr("r",a?2.5:2.75).attr("fill",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x+3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`),e.append("line").attr("x1",t.x-3).attr("y1",t.y+1).attr("x2",t.x).attr("y2",t.y-5).attr("stroke",f?"#000000":"#fff").attr("class",`commit ${r.id} ${s}`);else{const g=e.append("circle");if(g.attr("cx",t.x),g.attr("cy",t.y),g.attr("r",a?7:10),g.attr("class",`commit ${r.id} commit${H(o,G,l)}`),i===m.MERGE){const $=e.append("circle");$.attr("cx",t.x),$.attr("cy",t.y),$.attr("r",a?5:6),$.attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}if(i===m.REVERSE){const $=e.append("path"),c=a?4:5;$.attr("d",`M ${t.x-c},${t.y-c}L${t.x+c},${t.y+c}M${t.x-c},${t.y+c}L${t.x+c},${t.y-c}`).attr("class",`commit ${s} ${r.id} commit${H(o,G,l)}`)}}},"drawCommitBullet"),sr=h((e,r,t,s,o)=>{if(r.type!==m.CHERRY_PICK&&(r.customId&&r.type===m.MERGE||r.type!==m.MERGE)&&o.showCommitLabel){const i=e.append("g"),n=i.insert("rect").attr("class","commit-label-bkg"),a=i.append("text").attr("x",s).attr("y",t.y+25).attr("class","commit-label").text(r.id),l=a.node()?.getBBox();if(l&&(n.attr("x",t.posWithOffset-l.width/2-R).attr("y",t.y+13.5).attr("width",l.width+2*R).attr("height",l.height+2*R),y==="TB"||y==="BT"?(n.attr("x",t.x-(l.width+4*L+5)).attr("y",t.y-12),a.attr("x",t.x-(l.width+4*L)).attr("y",t.y+l.height-12)):a.attr("x",t.posWithOffset-l.width/2),o.rotateCommitLabel))if(y==="TB"||y==="BT")a.attr("transform","rotate(-45, "+t.x+", "+t.y+")"),n.attr("transform","rotate(-45, "+t.x+", "+t.y+")");else{const f=-7.5-(l.width+10)/25*9.5,g=10+l.width/25*8.5;i.attr("transform","translate("+f+", "+g+") rotate(-45, "+s+", "+t.y+")")}}},"drawCommitLabel"),or=h((e,r,t,s)=>{if(r.tags.length>0){let o=0,i=0,n=0;const a=[];for(const l of r.tags.reverse()){const f=e.insert("polygon"),g=e.append("circle"),$=e.append("text").attr("y",t.y-16-o).attr("class","tag-label").text(l),c=$.node()?.getBBox();if(!c)throw new Error("Tag bbox not found");i=Math.max(i,c.width),n=Math.max(n,c.height),$.attr("x",t.posWithOffset-c.width/2),a.push({tag:$,hole:g,rect:f,yOffset:o}),o+=20}for(const{tag:l,hole:f,rect:g,yOffset:$}of a){const c=n/2,x=t.y-19.2-$;if(g.attr("class","tag-label-bkg").attr("points",`
|
|
2
2
|
${s-i/2-L/2},${x+R}
|
|
3
3
|
${s-i/2-L/2},${x-R}
|
|
4
4
|
${t.posWithOffset-i/2-L},${x-c-R}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BpKFGHfS.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/nodes/0.D8lcICdy.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CI4_aI7e.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/Dnz4szur.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/DWDPOFkL.js","/app/immutable/chunks/BoQ8Q7zJ.js","/app/immutable/chunks/XagMlRFc.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/assets/0.Br7oph3E.css","/app/immutable/nodes/1.Bcr9Ac6T.js","/app/immutable/chunks/Dg9ZuAkk.js","/app/immutable/chunks/D4hsFsw4.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/BnA9v3pc.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/rIUowGAi.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.BCkphmFm.js","/app/immutable/chunks/oSmiRYki.js","/app/immutable/chunks/C2wWLl1x.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/JZ27Qh_j.js","/app/immutable/chunks/BR_GHabc.js","/app/immutable/chunks/DUfE7lx2.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/BHCTYYXY.js","/app/immutable/chunks/Q1s61YDh.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DaqXt9wp.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/DqMtaSxK.js","/app/immutable/chunks/7i9XTDuo.js","/app/immutable/chunks/Cz-HgbT1.js","/app/immutable/chunks/BLb6jd9K.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/CAV1CzzW.js","/app/immutable/chunks/Dq9sK6wY.js","/app/immutable/chunks/DQLMO9xD.js","/app/immutable/chunks/DQZlstPH.js","/app/immutable/chunks/DqaHaAl1.js","/app/immutable/chunks/nxYQz1Bp.js","/app/immutable/chunks/DhWcN4bx.js","/app/immutable/chunks/CkrbZXJF.js","/app/immutable/chunks/DVu7tZ67.js","/app/immutable/chunks/Do5lDWBq.js","/app/immutable/chunks/1BRHaRmm.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/1q0xL14K.js","/app/immutable/chunks/Dz5-AChV.js","/app/immutable/chunks/CQkTODWA.js","/app/immutable/chunks/BqkCNgyL.js","/app/immutable/chunks/DqZnld6x.js","/app/immutable/chunks/KSJAkSbC.js","/app/immutable/chunks/BZWU4mlm.js","/app/immutable/chunks/BeVAskuR.js","/app/immutable/chunks/D_pS9hme.js","/app/immutable/chunks/Ce83awb2.js","/app/immutable/chunks/C96BAoIR.js","/app/immutable/chunks/D3VYu5tL.js","/app/immutable/chunks/DKn1sQ32.js","/app/immutable/chunks/BGP1lrgu.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/CN-6Tr26.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/B7CIdOn0.js","/app/immutable/chunks/DWC3_76J.js","/app/immutable/chunks/DkkmguuG.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/D1_IbOsX.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DiD2Cn17.js","/app/immutable/chunks/AsFm-iq9.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/NgjMs0r6.js","/app/immutable/chunks/CoeUPp7o.js","/app/immutable/chunks/DExi1WR7.js","/app/immutable/chunks/BX9VoS92.js","/app/immutable/chunks/ByfLGh4b.js","/app/immutable/chunks/DyHCBf0T.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/DWcAR6Dh.js","/app/immutable/chunks/Dax7ITFa.js","/app/immutable/chunks/BaGw_bDr.js","/app/immutable/chunks/Bj-9TYLg.js","/app/immutable/chunks/D-g0wh54.js","/app/immutable/chunks/CDsbSWM0.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/Dukt1CUc.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/C3-0e__R.js","/app/immutable/chunks/BROVvkEL.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/BWn2FCdq.js","/app/immutable/chunks/C1YR8Gnj.js","/app/immutable/chunks/D2jpdqLS.js","/app/immutable/chunks/DXtdMDwl.js","/app/immutable/chunks/pehcYFWW.js","/app/immutable/chunks/rei1qYSi.js","/app/immutable/chunks/OK80LzXp.js","/app/immutable/chunks/BCBNqT5t.js","/app/immutable/chunks/BIY9btQv.js","/app/immutable/chunks/C6ROKFdp.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/KAO5AtPr.js","/app/immutable/chunks/eRIG79tn.js","/app/immutable/chunks/C6P_twJN.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/DUctnn_k.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/DG-AKB01.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/C0jW3ncX.js","/app/immutable/chunks/BldeOF88.js","/app/immutable/chunks/CGLbiObk.js","/app/immutable/chunks/hqZSbKVs.js","/app/immutable/chunks/DrMbcJpA.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/DCv0ZqUq.js","/app/immutable/chunks/CplGG62F.js","/app/immutable/chunks/CvqKGiPA.js","/app/immutable/chunks/DfJwQVW8.js","/app/immutable/chunks/DPvT-ATr.js","/app/immutable/chunks/L-jTlD15.js","/app/immutable/chunks/CnS7dtdu.js","/app/immutable/chunks/Jx0QEit0.js","/app/immutable/chunks/QFEvVzf2.js","/app/immutable/chunks/5kePy1TE.js","/app/immutable/chunks/DteD0Nal.js","/app/immutable/chunks/BVDDJIsV.js","/app/immutable/chunks/KEjNxHSN.js","/app/immutable/chunks/DcsxLfDg.js","/app/immutable/chunks/BHe6JG_C.js","/app/immutable/chunks/BR75pcGU.js","/app/immutable/chunks/FmBB5PWm.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/BlQvrYPa.js","/app/immutable/assets/TipTapEditor.BLRSTYT-.css","/app/immutable/chunks/B4rTQlY3.js","/app/immutable/chunks/Cl7NoY6M.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/DMzReQ-5.js","/app/immutable/chunks/CoDlIYWp.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/DsGwNgOu.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/D2MmXC4A.js","/app/immutable/chunks/DwEChUMY.js","/app/immutable/chunks/BOXv-Vsz.js","/app/immutable/chunks/C-5vE6yh.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/C9AWL-_E.js","/app/immutable/chunks/CatLGfTW.js","/app/immutable/chunks/FhXVX7Hi.js","/app/immutable/assets/CompactWorkspaceInitializer.i4vCnRqW.css","/app/immutable/chunks/FLNU8xuu.js","/app/immutable/chunks/CxJ0MhK_.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/B0v5Qiob.js","/app/immutable/chunks/C289w7fG.js","/app/immutable/chunks/BOHkf2gI.js","/app/immutable/chunks/DM71GnMx.js","/app/immutable/chunks/BigcqNWS.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/DfTSMq0b.js","/app/immutable/chunks/B3bYRRle.js","/app/immutable/chunks/SxNO1NUM.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/Gr7b8MIr.js","/app/immutable/chunks/DfT1buZq.js","/app/immutable/chunks/DGQoqGp4.js","/app/immutable/chunks/CJCoBdox.js","/app/immutable/chunks/DFrynV0u.js","/app/immutable/chunks/JvjGgKob.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/DOwDDYVN.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/BbIcudMY.js","/app/immutable/assets/2.DIadQLJA.css","/app/immutable/nodes/3.CJlWKIE-.js","/app/immutable/nodes/4.CDSfo4Q5.js","/app/immutable/nodes/5.B6hsM1cw.js","/app/immutable/nodes/6.DCm27sfe.js","/app/immutable/chunks/CKf0K7iH.js","/app/immutable/chunks/D6vwIrtC.js","/app/immutable/chunks/BxQi83db.js","/app/immutable/assets/PanelContentRenderer.C1wFV-kd.css","/app/immutable/chunks/BoAG71Ap.js","/app/immutable/chunks/DUO0KBjx.js","/app/immutable/chunks/DbIuIgjV.js","/app/immutable/chunks/7aKXh--T.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/CjswKKTa.js","/app/immutable/chunks/CVpnQG0j.js","/app/immutable/chunks/DAfOI1BG.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/CzMPk75T.js","/app/immutable/chunks/C2UYU20O.js","/app/immutable/chunks/eNRNxfO0.js","/app/immutable/chunks/CNkmihEX.js","/app/immutable/chunks/BW94gUhQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/CkoG9STP.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/e_K38tqB.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/aitTA173.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CQIdhUGs.js","/app/immutable/chunks/CQWMr-uu.js","/app/immutable/chunks/D0H3cACA.js","/app/immutable/chunks/DmC2lRsL.js","/app/immutable/chunks/hSiYrZoo.js","/app/immutable/chunks/Cum1dYpM.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/BSwUOmEO.js","/app/immutable/chunks/nrAGmqbi.js","/app/immutable/chunks/CC-xReBN.js","/app/immutable/chunks/BOROIf_S.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/yGw_3prC.js","/app/immutable/chunks/D2CiBsJQ.js","/app/immutable/chunks/7Uk2VvOl.js","/app/immutable/chunks/D5CXAAzn.js","/app/immutable/chunks/2kcdsiKR.js","/app/immutable/chunks/VcOG8L0Z.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/B1tKRs9e.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/CTKKTfh5.js","/app/immutable/chunks/BrMXrCxP.js","/app/immutable/assets/ResizablePanel.Bi3i2_fe.css","/app/immutable/assets/6.DBgC2kSL.css","/app/immutable/nodes/7.Dd2x1_y1.js","/app/immutable/assets/7.D6ebrVTb.css","/app/immutable/nodes/8.C0jzmTGW.js","/app/immutable/chunks/Ba5gf06c.js","/app/immutable/nodes/9.Bj88iDsv.js","/app/immutable/chunks/DkL69EQl.js","/app/immutable/chunks/5vm8eILD.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/b-bXytVF.js","/app/immutable/chunks/Cnfa9ycD.js","/app/immutable/assets/9._uRcFklA.css","/app/immutable/nodes/10.CdYxZNRv.js","/app/immutable/chunks/BpyEBWKW.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DnsVLkb8.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/D5xUDbUx.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/DYmzWBEk.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/L3AlUw84.js","/app/immutable/chunks/Beg3arHH.js","/app/immutable/assets/10.xCAPscJx.css","/app/immutable/nodes/11.DTALKQkg.js","/app/immutable/assets/11.BO7QC36g.css","/app/immutable/nodes/12.31R3OdO3.js","/app/immutable/nodes/13.DTamgdFN.js","/app/immutable/assets/13.CF5xLHXq.css","/app/immutable/nodes/14.CzznX4mY.js","/app/immutable/chunks/Bz9mgUtY.js","/app/immutable/assets/14.BuZANxI8.css","/app/immutable/nodes/15.BuZ5Ykpn.js","/app/immutable/assets/15.CWppUCpM.css","/app/immutable/nodes/16.D1WCmH9D.js","/app/immutable/assets/16.DBFWhlfB.css","/app/immutable/nodes/17.DXnAkOJb.js","/app/immutable/nodes/18.BBYG39nr.js","/app/immutable/nodes/19.Bwna1DuW.js","/app/immutable/assets/19.Cznk2DRv.css","/app/immutable/nodes/20.DyC7cckU.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/BpKFGHfS.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/nodes/0.C4aXi2Zc.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CI4_aI7e.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/Dnz4szur.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/DWDPOFkL.js","/app/immutable/chunks/BoQ8Q7zJ.js","/app/immutable/chunks/BOWO4Ybr.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/assets/0.Br7oph3E.css","/app/immutable/nodes/1.O03B6KYk.js","/app/immutable/chunks/Bzz0c_ry.js","/app/immutable/chunks/DY9gJ8US.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/BnA9v3pc.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/rIUowGAi.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.SHzQR8g8.js","/app/immutable/chunks/oSmiRYki.js","/app/immutable/chunks/C2wWLl1x.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/BZJ31k0Z.js","/app/immutable/chunks/F6KnEzK2.js","/app/immutable/chunks/MmbRHAVV.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/BHCTYYXY.js","/app/immutable/chunks/BWu7Gpqf.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DaqXt9wp.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CmdzVgvT.js","/app/immutable/chunks/CoZeNthD.js","/app/immutable/chunks/Cz-HgbT1.js","/app/immutable/chunks/BLb6jd9K.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/CAV1CzzW.js","/app/immutable/chunks/Dq9sK6wY.js","/app/immutable/chunks/DQLMO9xD.js","/app/immutable/chunks/DQZlstPH.js","/app/immutable/chunks/B-7g-jyw.js","/app/immutable/chunks/nxYQz1Bp.js","/app/immutable/chunks/wNJjv8Uj.js","/app/immutable/chunks/CkrbZXJF.js","/app/immutable/chunks/DVu7tZ67.js","/app/immutable/chunks/Do5lDWBq.js","/app/immutable/chunks/Bsyy-0lH.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/1q0xL14K.js","/app/immutable/chunks/Dz5-AChV.js","/app/immutable/chunks/CQkTODWA.js","/app/immutable/chunks/BqkCNgyL.js","/app/immutable/chunks/Cov6EESF.js","/app/immutable/chunks/C30xT9-i.js","/app/immutable/chunks/BZWU4mlm.js","/app/immutable/chunks/Bq3GMUqF.js","/app/immutable/chunks/D_pS9hme.js","/app/immutable/chunks/CQCytUET.js","/app/immutable/chunks/C96BAoIR.js","/app/immutable/chunks/D3VYu5tL.js","/app/immutable/chunks/DKn1sQ32.js","/app/immutable/chunks/BGP1lrgu.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/CN-6Tr26.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/B7CIdOn0.js","/app/immutable/chunks/DWC3_76J.js","/app/immutable/chunks/DkkmguuG.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/6VefuM40.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DiD2Cn17.js","/app/immutable/chunks/AsFm-iq9.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/NgjMs0r6.js","/app/immutable/chunks/CoeUPp7o.js","/app/immutable/chunks/DExi1WR7.js","/app/immutable/chunks/BX9VoS92.js","/app/immutable/chunks/ByfLGh4b.js","/app/immutable/chunks/DyHCBf0T.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/DWcAR6Dh.js","/app/immutable/chunks/eHZL9ha9.js","/app/immutable/chunks/BaGw_bDr.js","/app/immutable/chunks/Bj-9TYLg.js","/app/immutable/chunks/D-g0wh54.js","/app/immutable/chunks/CDsbSWM0.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/Dukt1CUc.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/C3-0e__R.js","/app/immutable/chunks/BROVvkEL.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/BWn2FCdq.js","/app/immutable/chunks/C1YR8Gnj.js","/app/immutable/chunks/D2jpdqLS.js","/app/immutable/chunks/DXtdMDwl.js","/app/immutable/chunks/5LALF9-w.js","/app/immutable/chunks/rei1qYSi.js","/app/immutable/chunks/OK80LzXp.js","/app/immutable/chunks/BCBNqT5t.js","/app/immutable/chunks/BIY9btQv.js","/app/immutable/chunks/C6ROKFdp.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/KAO5AtPr.js","/app/immutable/chunks/eRIG79tn.js","/app/immutable/chunks/C6P_twJN.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/DUctnn_k.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/61v4Xd-q.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/C0jW3ncX.js","/app/immutable/chunks/BldeOF88.js","/app/immutable/chunks/CGLbiObk.js","/app/immutable/chunks/hqZSbKVs.js","/app/immutable/chunks/DrMbcJpA.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/DCv0ZqUq.js","/app/immutable/chunks/CplGG62F.js","/app/immutable/chunks/CvqKGiPA.js","/app/immutable/chunks/BxN9s7AP.js","/app/immutable/chunks/DPvT-ATr.js","/app/immutable/chunks/CqCZk0ca.js","/app/immutable/chunks/CnS7dtdu.js","/app/immutable/chunks/Jx0QEit0.js","/app/immutable/chunks/QFEvVzf2.js","/app/immutable/chunks/5kePy1TE.js","/app/immutable/chunks/Ce4DeuTo.js","/app/immutable/chunks/C5T8uUpU.js","/app/immutable/chunks/KEjNxHSN.js","/app/immutable/chunks/DcsxLfDg.js","/app/immutable/chunks/B7nQiJX-.js","/app/immutable/chunks/BR75pcGU.js","/app/immutable/chunks/FmBB5PWm.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/BlQvrYPa.js","/app/immutable/assets/TipTapEditor.BLRSTYT-.css","/app/immutable/chunks/B4rTQlY3.js","/app/immutable/chunks/Cl7NoY6M.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/Cxn7PlP-.js","/app/immutable/chunks/CoDlIYWp.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/DsGwNgOu.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/D2MmXC4A.js","/app/immutable/chunks/DwEChUMY.js","/app/immutable/chunks/BOXv-Vsz.js","/app/immutable/chunks/D3gleuKc.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/C9AWL-_E.js","/app/immutable/chunks/CatLGfTW.js","/app/immutable/chunks/FhXVX7Hi.js","/app/immutable/assets/CompactWorkspaceInitializer.i4vCnRqW.css","/app/immutable/chunks/FLNU8xuu.js","/app/immutable/chunks/IbOrXYhr.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/B0v5Qiob.js","/app/immutable/chunks/C289w7fG.js","/app/immutable/chunks/BOHkf2gI.js","/app/immutable/chunks/CELHofTd.js","/app/immutable/chunks/BigcqNWS.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/DfTSMq0b.js","/app/immutable/chunks/B3bYRRle.js","/app/immutable/chunks/SxNO1NUM.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/Gr7b8MIr.js","/app/immutable/chunks/DTbH-mAR.js","/app/immutable/chunks/DGQoqGp4.js","/app/immutable/chunks/CJCoBdox.js","/app/immutable/chunks/DFrynV0u.js","/app/immutable/chunks/JvjGgKob.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/DOwDDYVN.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/BbIcudMY.js","/app/immutable/assets/2.DIadQLJA.css","/app/immutable/nodes/3.D7EtacCx.js","/app/immutable/nodes/4._-Ygm1PE.js","/app/immutable/nodes/5.B5veLa-N.js","/app/immutable/nodes/6.BnrdHFCS.js","/app/immutable/chunks/CKf0K7iH.js","/app/immutable/chunks/D6vwIrtC.js","/app/immutable/chunks/BxQi83db.js","/app/immutable/assets/PanelContentRenderer.C1wFV-kd.css","/app/immutable/chunks/BoAG71Ap.js","/app/immutable/chunks/CzM5SEDv.js","/app/immutable/chunks/DUj14ka7.js","/app/immutable/chunks/CcCeOCLG.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/CjswKKTa.js","/app/immutable/chunks/CVpnQG0j.js","/app/immutable/chunks/DAfOI1BG.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/DnV9eAGG.js","/app/immutable/chunks/C2UYU20O.js","/app/immutable/chunks/ZiiliHwl.js","/app/immutable/chunks/DxOqqCxd.js","/app/immutable/chunks/BW94gUhQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/Rtb2u0aS.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/e_K38tqB.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/mPd0q3-n.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CQIdhUGs.js","/app/immutable/chunks/CHvjIWnN.js","/app/immutable/chunks/D0H3cACA.js","/app/immutable/chunks/CX-8a7xU.js","/app/immutable/chunks/hSiYrZoo.js","/app/immutable/chunks/YcLv7RIG.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/C5pJ7DEG.js","/app/immutable/chunks/DrBfRK-l.js","/app/immutable/chunks/DUAki0uS.js","/app/immutable/chunks/BOROIf_S.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/yGw_3prC.js","/app/immutable/chunks/D2CiBsJQ.js","/app/immutable/chunks/7Uk2VvOl.js","/app/immutable/chunks/D5CXAAzn.js","/app/immutable/chunks/CRhdiLrU.js","/app/immutable/chunks/BiVa9bC9.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/B1tKRs9e.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/DgTfsal1.js","/app/immutable/chunks/BrMXrCxP.js","/app/immutable/assets/ResizablePanel.Bi3i2_fe.css","/app/immutable/assets/6.DBgC2kSL.css","/app/immutable/nodes/7.DAUgpsnC.js","/app/immutable/assets/7.D6ebrVTb.css","/app/immutable/nodes/8.Cj1FZ4Vr.js","/app/immutable/chunks/RMFOakJ8.js","/app/immutable/nodes/9.BuIEgUbP.js","/app/immutable/chunks/BgE7NCeJ.js","/app/immutable/chunks/5vm8eILD.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/b-bXytVF.js","/app/immutable/chunks/Cnfa9ycD.js","/app/immutable/assets/9._uRcFklA.css","/app/immutable/nodes/10.DSjz-a23.js","/app/immutable/chunks/BpyEBWKW.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/D2dH0brU.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/D5xUDbUx.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/DYmzWBEk.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/L3AlUw84.js","/app/immutable/chunks/DLfLfqER.js","/app/immutable/assets/10.xCAPscJx.css","/app/immutable/nodes/11.DUbB-MHX.js","/app/immutable/assets/11.BO7QC36g.css","/app/immutable/nodes/12.31R3OdO3.js","/app/immutable/nodes/13.DTamgdFN.js","/app/immutable/assets/13.CF5xLHXq.css","/app/immutable/nodes/14.CzznX4mY.js","/app/immutable/chunks/Bz9mgUtY.js","/app/immutable/assets/14.BuZANxI8.css","/app/immutable/nodes/15.BU8WwWus.js","/app/immutable/assets/15.CWppUCpM.css","/app/immutable/nodes/16.D1WCmH9D.js","/app/immutable/assets/16.DBFWhlfB.css","/app/immutable/nodes/17.DXnAkOJb.js","/app/immutable/nodes/18.BBYG39nr.js","/app/immutable/nodes/19.C3kZuMc1.js","/app/immutable/assets/19.Cznk2DRv.css","/app/immutable/nodes/20.DyC7cckU.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/51_h0jm2.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/CJxGDkBm.js";import{i as k}from"../chunks/PXCFrn2V.js";import{c as V}from"../chunks/DGmOjLYi.js";import{b as S}from"../chunks/NtFyWdpR.js";const yt=async()=>{window.location.pathname.startsWith("/sandbox")||await o(()=>import("../chunks/BpKFGHfS.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.D8lcICdy.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.Bcr9Ac6T.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.BCkphmFm.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,32,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,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,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,18,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.CJlWKIE-.js"),__vite__mapDeps([211,4,5,8,57,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,46,21,22,41]),import.meta.url),()=>o(()=>import("../nodes/4.CDSfo4Q5.js"),__vite__mapDeps([212,4,5,7,10,11,3,47,12,13,14,15,16,2,38,27,28,8,29,30,31,39,34,1,35,20,40,48,44,49,50,51,46,52,53,54,32,33,9,55,56,57,58,59,60,61,21,22,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,41,45,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.B6hsM1cw.js"),__vite__mapDeps([213,4,5,7,201,202,12,13,14,15,3,16,2,11,27,28,8,29,30,31,203,149,129,128,32,33,34,1,35,9,127,124,111,57,86,125,56,120,121,89,90,87,59,88,130,55,44,200,107,108,10,47,38,39,20,40,48,49,50,51,46,52,53,54,58,60,61,21,22,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,41,45,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.DCm27sfe.js"),__vite__mapDeps([214,4,5,58,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,128,129,27,217,40,38,39,20,70,65,84,218,113,82,63,46,64,111,57,86,87,59,88,123,124,125,56,120,121,89,90,96,110,112,114,115,116,117,118,119,122,54,55,60,126,44,53,61,48,21,22,62,51,127,130,131,132,133,134,135,136,43,25,42,45,41,137,138,187,162,163,164,165,78,52,50,49,79,152,153,144,154,155,156,109,157,158,18,145,146,159,160,161,166,167,168,147,169,149,170,188,179,91,219,220,221,196,222,223,224,73,225,74,226,227,228,139,77,140,229,95,230,231,232,233,194,234,80,94,186,235,236,205,237,102,238,239,240,241,242,209,190,243,244,245,246,177,193,195,247,26,248,182,249,250,251,72,75,76,68,69,252,253,148,254,207,208,255,256,92,257,258,259,260,261,262,183,101,184,263,264,265,266,191,171,267,268,192,269,37,203,270,271,178,272]),import.meta.url),()=>o(()=>import("../nodes/7.Dd2x1_y1.js"),__vite__mapDeps([273,4,5,8,31,7,29,3,30,33,38,2,12,13,14,15,16,11,27,28,39,34,1,35,20,40,44,26,25,50,51,48,49,46,222,9,57,223,54,32,55,56,58,59,60,159,61,158,18,127,124,111,86,125,120,121,89,90,87,88,128,129,130,96,53,21,22,62,63,64,65,145,146,133,126,115,116,224,73,225,123,74,226,147,227,228,52,152,153,135,114,136,144,154,155,156,109,110,112,113,117,118,119,122,131,132,134,43,42,45,41,70,137,138,157,160,161,162,163,164,165,166,167,168,169,149,170,139,77,140,78,79,229,95,230,231,232,233,194,234,80,94,186,235,236,196,205,237,102,238,239,240,241,242,209,190,243,244,245,246,177,193,195,247,82,187,188,179,91,248,182,249,250,251,253,97,98,274]),import.meta.url),()=>o(()=>import("../nodes/8.C0jzmTGW.js"),__vite__mapDeps([275,4,5,58,113,276,21,14,22,41,13,12,15,3,7,16,2,11,54,8,29,30,32,33,31,34,1,35,28,9,40,55,56,27,57,59,60,129,219]),import.meta.url),()=>o(()=>import("../nodes/9.Bj88iDsv.js"),__vite__mapDeps([277,4,5,8,9,31,7,29,3,30,28,33,32,34,11,1,2,35,86,134,111,57,135,114,136,27,130,120,121,56,89,90,112,58,113,87,59,88,115,116,117,118,110,119,122,123,124,125,96,54,40,55,12,13,14,15,16,60,126,44,53,38,39,20,61,48,21,22,62,63,46,64,65,51,127,128,129,131,132,133,43,25,42,45,41,70,137,138,172,143,144,149,145,146,147,26,67,156,278,279,79,159,160,226,233,194,83,71,50,49,248,262,183,182,101,163,164,148,168,81,276,153,154,155,258,259,99,105,280,91,281,265,282,69,283,228]),import.meta.url),()=>o(()=>import("../nodes/10.CdYxZNRv.js"),__vite__mapDeps([284,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,128,129,27,217,40,38,39,20,70,65,84,218,26,25,63,46,64,180,57,44,181,66,52,53,54,55,56,58,59,60,61,48,21,22,62,51,50,49,67,68,69,95,96,131,113,114,111,86,132,153,130,120,121,89,90,135,136,144,154,155,156,127,124,125,87,88,152,109,110,112,115,116,117,118,119,122,123,126,133,134,43,42,45,41,137,138,157,158,18,145,146,159,160,161,162,163,164,165,166,167,168,147,169,149,170,182,183,139,77,140,177,184,37,185,94,257,98,196,189,82,203,92,81,269,80,101,230,270,261,231,229,232,233,194,234,226,186,235,262,263,246,271,175,204,174,104,105,106,107,108,176,205,206,285,200,286,287,279,93,288,151,278,148,99,289,290,100,291,292,293,254,294,198,295,171,259,192,296]),import.meta.url),()=>o(()=>import("../nodes/11.DTALKQkg.js"),__vite__mapDeps([297,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,57,111,86,54,40,55,56,58,59,60,109,96,255,192,154,124,289,290,100,38,39,20,285,200,107,108,106,61,48,44,45,160,286,117,102,293,101,298]),import.meta.url),()=>o(()=>import("../nodes/12.31R3OdO3.js"),__vite__mapDeps([299,4,5,58,113,27,28,8,7,29,3,30,31]),import.meta.url),()=>o(()=>import("../nodes/13.DTamgdFN.js"),__vite__mapDeps([300,4,5,8,9,32,7,29,3,30,33,31,34,11,1,2,35,28,27,129,219,301]),import.meta.url),()=>o(()=>import("../nodes/14.CzznX4mY.js"),__vite__mapDeps([302,4,5,8,29,3,7,30,34,11,1,2,35,129,219,33,31,32,28,9,303,13,173,196,111,57,86,40,115,116,131,58,113,114,132,134,135,136,27,130,120,121,56,89,90,304]),import.meta.url),()=>o(()=>import("../nodes/15.BuZ5Ykpn.js"),__vite__mapDeps([305,4,5,8,62,12,13,14,15,3,7,16,2,11,63,46,64,38,27,28,29,30,31,39,34,1,35,20,40,65,51,129,219,33,47,48,44,49,50,52,53,54,32,9,55,56,57,58,59,60,61,21,22,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,41,45,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,10,103,104,105,106,107,108,242,194,158,18,127,124,111,125,120,121,128,130,145,146,133,126,115,116,209,117,190,243,141,112,113,114,118,122,123,163,164,177,162,165,187,152,153,135,136,144,154,155,156,109,110,119,131,132,134,137,138,157,159,160,161,166,167,168,147,169,149,170,188,282,252,224,222,223,225,226,227,228,139,140,229,230,231,232,233,234,186,235,236,196,205,237,238,239,240,241,244,245,246,193,195,247,26,179,248,182,249,250,251,253,148,254,207,208,255,256,303,306]),import.meta.url),()=>o(()=>import("../nodes/16.D1WCmH9D.js"),__vite__mapDeps([307,4,5,29,3,7,30,34,11,1,2,35,129,219,33,8,31,57,73,224,28,16,196,32,9,76,77,40,61,48,44,308,228]),import.meta.url),()=>o(()=>import("../nodes/17.DXnAkOJb.js"),__vite__mapDeps([309,4,5,8,9,29,3,7,30,34,11,1,2,35,129,219,33,264,31,96,225,15,16,32,28,86,87,59,88,123,124,111,57,125,56,120,121,89,90,27,61,48,44,49,74,73,224,226,147,227,228,122,40,265,196,75,266]),import.meta.url),()=>o(()=>import("../nodes/18.BBYG39nr.js"),__vite__mapDeps([310,4,5,29,3,7,30,34,11,1,2,35,129,219,33]),import.meta.url),()=>o(()=>import("../nodes/19.Bwna1DuW.js"),__vite__mapDeps([311,4,5,8,61,11,3,48,44,27,28,7,29,30,31,32,33,34,1,2,35,9,12,13,14,15,16,57,186,80,38,39,20,40,62,63,46,64,65,51,179,91,55,85,112,58,113,114,111,86,87,59,88,115,116,117,118,160,127,124,125,56,120,121,89,90,128,129,130,133,142,143,134,135,136,144,145,146,147,71,132,99,43,25,42,45,21,22,41,312]),import.meta.url),()=>o(()=>import("../nodes/20.DyC7cckU.js"),__vite__mapDeps([313,4,5,58,29,3,7,30,34,11,1,2,35,129,219,33,8,215,28,202,12,13,14,15,16,32,31,9,216,128,27,217,40,38,39,20,70,65,84,218,270,246,166,64,22,103,314]),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.C4aXi2Zc.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.O03B6KYk.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.SHzQR8g8.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,32,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,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,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,18,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.D7EtacCx.js"),__vite__mapDeps([211,4,5,8,57,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,46,21,22,41]),import.meta.url),()=>o(()=>import("../nodes/4._-Ygm1PE.js"),__vite__mapDeps([212,4,5,7,10,11,3,47,12,13,14,15,16,2,38,27,28,8,29,30,31,39,34,1,35,20,40,48,44,49,50,51,46,52,53,54,32,33,9,55,56,57,58,59,60,61,21,22,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,41,45,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.B5veLa-N.js"),__vite__mapDeps([213,4,5,7,201,202,12,13,14,15,3,16,2,11,27,28,8,29,30,31,203,149,129,128,32,33,34,1,35,9,127,124,111,57,86,125,56,120,121,89,90,87,59,88,130,55,44,200,107,108,10,47,38,39,20,40,48,49,50,51,46,52,53,54,58,60,61,21,22,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,41,45,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.BnrdHFCS.js"),__vite__mapDeps([214,4,5,58,215,8,28,29,3,7,30,202,12,13,14,15,16,2,11,32,33,31,34,1,35,9,216,128,129,27,217,40,38,39,20,70,65,84,218,113,82,63,46,64,111,57,86,87,59,88,123,124,125,56,120,121,89,90,96,110,112,114,115,116,117,118,119,122,54,55,60,126,44,53,61,48,21,22,62,51,127,130,131,132,133,134,135,136,43,25,42,45,41,137,138,187,162,163,164,165,78,52,50,49,79,152,153,144,154,155,156,109,157,158,18,145,146,159,160,161,166,167,168,147,169,149,170,188,179,91,219,220,221,196,222,223,224,73,225,74,226,227,228,139,77,140,229,95,230,231,232,233,194,234,80,94,186,235,236,205,237,102,238,239,240,241,242,209,190,243,244,245,246,177,193,195,247,26,248,182,249,250,251,72,75,76,68,69,252,253,148,254,207,208,255,256,92,257,258,259,260,261,262,183,101,184,263,264,265,266,191,171,267,268,192,269,37,203,270,271,178,272]),import.meta.url),()=>o(()=>import("../nodes/7.DAUgpsnC.js"),__vite__mapDeps([273,4,5,8,31,7,29,3,30,33,38,2,12,13,14,15,16,11,27,28,39,34,1,35,20,40,44,26,25,50,51,48,49,46,222,9,57,223,54,32,55,56,58,59,60,159,61,158,18,127,124,111,86,125,120,121,89,90,87,88,128,129,130,96,53,21,22,62,63,64,65,145,146,133,126,115,116,224,73,225,123,74,226,147,227,228,52,152,153,135,114,136,144,154,155,156,109,110,112,113,117,118,119,122,131,132,134,43,42,45,41,70,137,138,157,160,161,162,163,164,165,166,167,168,169,149,170,139,77,140,78,79,229,95,230,231,232,233,194,234,80,94,186,235,236,196,205,237,102,238,239,240,241,242,209,190,243,244,245,246,177,193,195,247,82,187,188,179,91,248,182,249,250,251,253,97,98,274]),import.meta.url),()=>o(()=>import("../nodes/8.Cj1FZ4Vr.js"),__vite__mapDeps([275,4,5,58,113,276,21,14,22,41,13,12,15,3,7,16,2,11,54,8,29,30,32,33,31,34,1,35,28,9,40,55,56,27,57,59,60,129,219]),import.meta.url),()=>o(()=>import("../nodes/9.BuIEgUbP.js"),__vite__mapDeps([277,4,5,8,9,31,7,29,3,30,28,33,32,34,11,1,2,35,86,134,111,57,135,114,136,27,130,120,121,56,89,90,112,58,113,87,59,88,115,116,117,118,110,119,122,123,124,125,96,54,40,55,12,13,14,15,16,60,126,44,53,38,39,20,61,48,21,22,62,63,46,64,65,51,127,128,129,131,132,133,43,25,42,45,41,70,137,138,172,143,144,149,145,146,147,26,67,156,278,279,79,159,160,226,233,194,83,71,50,49,248,262,183,182,101,163,164,148,168,81,276,153,154,155,258,259,99,105,280,91,281,265,282,69,283,228]),import.meta.url),()=>o(()=>import("../nodes/10.DSjz-a23.js"),__vite__mapDeps([284,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,128,129,27,217,40,38,39,20,70,65,84,218,26,25,63,46,64,180,57,44,181,66,52,53,54,55,56,58,59,60,61,48,21,22,62,51,50,49,67,68,69,95,96,131,113,114,111,86,132,153,130,120,121,89,90,135,136,144,154,155,156,127,124,125,87,88,152,109,110,112,115,116,117,118,119,122,123,126,133,134,43,42,45,41,137,138,157,158,18,145,146,159,160,161,162,163,164,165,166,167,168,147,169,149,170,182,183,139,77,140,177,184,37,185,94,257,98,196,189,82,203,92,81,269,80,101,230,270,261,231,229,232,233,194,234,226,186,235,262,263,246,271,175,204,174,104,105,106,107,108,176,205,206,285,200,286,287,279,93,288,151,278,148,99,289,290,100,291,292,293,254,294,198,295,171,259,192,296]),import.meta.url),()=>o(()=>import("../nodes/11.DUbB-MHX.js"),__vite__mapDeps([297,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,57,111,86,54,40,55,56,58,59,60,109,96,255,192,154,124,289,290,100,38,39,20,285,200,107,108,106,61,48,44,45,160,286,117,102,293,101,298]),import.meta.url),()=>o(()=>import("../nodes/12.31R3OdO3.js"),__vite__mapDeps([299,4,5,58,113,27,28,8,7,29,3,30,31]),import.meta.url),()=>o(()=>import("../nodes/13.DTamgdFN.js"),__vite__mapDeps([300,4,5,8,9,32,7,29,3,30,33,31,34,11,1,2,35,28,27,129,219,301]),import.meta.url),()=>o(()=>import("../nodes/14.CzznX4mY.js"),__vite__mapDeps([302,4,5,8,29,3,7,30,34,11,1,2,35,129,219,33,31,32,28,9,303,13,173,196,111,57,86,40,115,116,131,58,113,114,132,134,135,136,27,130,120,121,56,89,90,304]),import.meta.url),()=>o(()=>import("../nodes/15.BU8WwWus.js"),__vite__mapDeps([305,4,5,8,62,12,13,14,15,3,7,16,2,11,63,46,64,38,27,28,29,30,31,39,34,1,35,20,40,65,51,129,219,33,47,48,44,49,50,52,53,54,32,9,55,56,57,58,59,60,61,21,22,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,41,45,91,92,93,94,95,96,97,98,99,19,100,101,102,43,25,42,10,103,104,105,106,107,108,242,194,158,18,127,124,111,125,120,121,128,130,145,146,133,126,115,116,209,117,190,243,141,112,113,114,118,122,123,163,164,177,162,165,187,152,153,135,136,144,154,155,156,109,110,119,131,132,134,137,138,157,159,160,161,166,167,168,147,169,149,170,188,282,252,224,222,223,225,226,227,228,139,140,229,230,231,232,233,234,186,235,236,196,205,237,238,239,240,241,244,245,246,193,195,247,26,179,248,182,249,250,251,253,148,254,207,208,255,256,303,306]),import.meta.url),()=>o(()=>import("../nodes/16.D1WCmH9D.js"),__vite__mapDeps([307,4,5,29,3,7,30,34,11,1,2,35,129,219,33,8,31,57,73,224,28,16,196,32,9,76,77,40,61,48,44,308,228]),import.meta.url),()=>o(()=>import("../nodes/17.DXnAkOJb.js"),__vite__mapDeps([309,4,5,8,9,29,3,7,30,34,11,1,2,35,129,219,33,264,31,96,225,15,16,32,28,86,87,59,88,123,124,111,57,125,56,120,121,89,90,27,61,48,44,49,74,73,224,226,147,227,228,122,40,265,196,75,266]),import.meta.url),()=>o(()=>import("../nodes/18.BBYG39nr.js"),__vite__mapDeps([310,4,5,29,3,7,30,34,11,1,2,35,129,219,33]),import.meta.url),()=>o(()=>import("../nodes/19.C3kZuMc1.js"),__vite__mapDeps([311,4,5,8,61,11,3,48,44,27,28,7,29,30,31,32,33,34,1,2,35,9,12,13,14,15,16,57,186,80,38,39,20,40,62,63,46,64,65,51,179,91,55,85,112,58,113,114,111,86,87,59,88,115,116,117,118,160,127,124,125,56,120,121,89,90,128,129,130,133,142,143,134,135,136,144,145,146,147,71,132,99,43,25,42,45,21,22,41,312]),import.meta.url),()=>o(()=>import("../nodes/20.DyC7cckU.js"),__vite__mapDeps([313,4,5,58,29,3,7,30,34,11,1,2,35,129,219,33,8,215,28,202,12,13,14,15,16,32,31,9,216,128,27,217,40,38,39,20,70,65,84,218,270,246,166,64,22,103,314]),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/Bzz0c_ry.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/51_h0jm2.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/CJxGDkBm.js";import{s as $}from"../chunks/DxvSggY5.js";import{i as ie}from"../chunks/PXCFrn2V.js";import{k as ae}from"../chunks/C9UsZ4re.js";import{w as ce}from"../chunks/BIv0yV05.js";import{J5 as ue}from"../chunks/CI4_aI7e.js";import{z as de,I as B}from"../chunks/Bqd7fdCF.js";import{initAppStore as le}from"../chunks/Dnz4szur.js";import{J as fe,H as me}from"../chunks/BoQ8Q7zJ.js";import{i as pe}from"../chunks/
|
|
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/51_h0jm2.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/CJxGDkBm.js";import{s as $}from"../chunks/DxvSggY5.js";import{i as ie}from"../chunks/PXCFrn2V.js";import{k as ae}from"../chunks/C9UsZ4re.js";import{w as ce}from"../chunks/BIv0yV05.js";import{J5 as ue}from"../chunks/CI4_aI7e.js";import{z as de,I as B}from"../chunks/Bqd7fdCF.js";import{initAppStore as le}from"../chunks/Dnz4szur.js";import{J as fe,H as me}from"../chunks/BoQ8Q7zJ.js";import{i as pe}from"../chunks/BOWO4Ybr.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()},M=()=>c(!1),k=()=>c(!0),K=v.subscribe(_=>{d=_,a()}),D=window.electronAPI,H=de();let y;a(),n&&(H?y=D?.on?.("window:focus",c):(window.addEventListener("blur",M),window.addEventListener("focus",k)));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?D.offById("window:focus",y):n&&!H&&(window.removeEventListener("blur",M),window.removeEventListener("focus",k)),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/51_h0jm2.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/CJxGDkBm.js";import{i as T}from"../chunks/PXCFrn2V.js";import{g as re}from"../chunks/
|
|
1
|
+
import{t as W,bw as A,b as D,bm as u,br as R,bp as U}from"../chunks/51_h0jm2.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/CJxGDkBm.js";import{i as T}from"../chunks/PXCFrn2V.js";import{g as re}from"../chunks/Bzz0c_ry.js";import{p as b}from"../chunks/DY9gJ8US.js";import{F as te,cT as ae}from"../chunks/DSQT151l.js";import{f as se}from"../chunks/BnA9v3pc.js";import"../chunks/rIUowGAi.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};
|