@intent-hq/web 2.327.3 → 2.327.4
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/{BZprW35U.js → 0rLfviYO.js} +1 -1
- package/web/app/immutable/chunks/{C1_2Nvwd.js → 4mn3OQkh.js} +1 -1
- package/web/app/immutable/chunks/{3JpWDI-M.js → 5lVDKMGV.js} +4 -4
- package/web/app/immutable/chunks/{WCqnCI0Y.js → 95-CBX6k.js} +1 -1
- package/web/app/immutable/chunks/{B6EWkrDE.js → A7QYlP8X.js} +2 -2
- package/web/app/immutable/chunks/{E96eL6xW.js → B3GFeWXU.js} +1 -1
- package/web/app/immutable/chunks/{BY3-E0yy.js → B5JLqeOx.js} +1 -1
- package/web/app/immutable/chunks/{CwBEqZZ_.js → B6hQw8HR.js} +1 -1
- package/web/app/immutable/chunks/{-nlL-11J.js → BA1UhUwc.js} +1 -1
- package/web/app/immutable/chunks/{rr-r2USw.js → BAgeXgSf.js} +1 -1
- package/web/app/immutable/chunks/{B4Un96Br.js → BCc6fRgu.js} +1 -1
- package/web/app/immutable/chunks/{BDj_hFdE.js → BGT3aL1b.js} +1 -1
- package/web/app/immutable/chunks/{CjREz2UM.js → BH7mKpum.js} +1 -1
- package/web/app/immutable/chunks/{DLFNuh8k.js → BJqJJOp_.js} +1 -1
- package/web/app/immutable/chunks/{BhbOznM0.js → BL9TmjaL.js} +1 -1
- package/web/app/immutable/chunks/{COsr-D4q.js → BLyZPAr5.js} +1 -1
- package/web/app/immutable/chunks/{CYjbCKOB.js → BMtNlV8v.js} +1 -1
- package/web/app/immutable/chunks/{CI3k0XZh.js → BRdBfY-O.js} +4 -4
- package/web/app/immutable/chunks/{DvJIE9F0.js → BS6nPK7B.js} +1 -1
- package/web/app/immutable/chunks/{B7Mop_jC.js → BSVsWuXl.js} +1 -1
- package/web/app/immutable/chunks/{BAcNJnHM.js → BT5Z8Ufg.js} +1 -1
- package/web/app/immutable/chunks/{CrKwVRvT.js → BU_i_vpd.js} +1 -1
- package/web/app/immutable/chunks/{D39ODeMy.js → BUsZHo0X.js} +2 -2
- package/web/app/immutable/chunks/{C9vpFXDp.js → BX9t7Lu-.js} +1 -1
- package/web/app/immutable/chunks/{fDvN4TBM.js → BZKFinnt.js} +1 -1
- package/web/app/immutable/chunks/{CjjnLU79.js → BbOZc-at.js} +1 -1
- package/web/app/immutable/chunks/{TWLYZedM.js → Bc2kn6EH.js} +1 -1
- package/web/app/immutable/chunks/{3MiSzwO_.js → Bdhho7CC.js} +1 -1
- package/web/app/immutable/chunks/{C1pMbnE7.js → Bjrk7UMZ.js} +1 -1
- package/web/app/immutable/chunks/{AjPbGUJ_.js → BmIgxNuB.js} +1 -1
- package/web/app/immutable/chunks/{BneSomYW.js → Bs5pujY-.js} +1 -1
- package/web/app/immutable/chunks/{35D9vOc6.js → BtrIIAMB.js} +1 -1
- package/web/app/immutable/chunks/{TP_FEuf4.js → Bw4y3_Ol.js} +1 -1
- package/web/app/immutable/chunks/{DPWvmlFQ.js → Bxub7VY-.js} +1 -1
- package/web/app/immutable/chunks/{BLqcY2WP.js → BxxGMnsj.js} +1 -1
- package/web/app/immutable/chunks/{BveUtPGK.js → C3Gi_9p3.js} +1 -1
- package/web/app/immutable/chunks/{CZe-BIqB.js → C4xkBjNQ.js} +1 -1
- package/web/app/immutable/chunks/{k0Eu5yMT.js → C5MuNtit.js} +1 -1
- package/web/app/immutable/chunks/{DcQP1f_r.js → C5PRf5_x.js} +3 -3
- package/web/app/immutable/chunks/{CyLGGlF1.js → C6bEmXfu.js} +4 -4
- package/web/app/immutable/chunks/{CViHflT5.js → C8PcVt0F.js} +1 -1
- package/web/app/immutable/chunks/{BgfnWFwk.js → CB_tD4hW.js} +1 -1
- package/web/app/immutable/chunks/{D3kn1fgc.js → CBgs1jD4.js} +1 -1
- package/web/app/immutable/chunks/{B798GHK3.js → CIJcws70.js} +1 -1
- package/web/app/immutable/chunks/{CRWxVPtt.js → CMR4YeKo.js} +1 -1
- package/web/app/immutable/chunks/{AfJdOpGJ.js → CP2Kg1B4.js} +1 -1
- package/web/app/immutable/chunks/{Bggzn0XP.js → CPFrNISL.js} +1 -1
- package/web/app/immutable/chunks/{CjqwEdIV.js → CQNA0ds6.js} +1 -1
- package/web/app/immutable/chunks/{CuacBn4U.js → CR7xGCmU.js} +1 -1
- package/web/app/immutable/chunks/{CKlsIlGI.js → CRCP-bLi.js} +1 -1
- package/web/app/immutable/chunks/{CcurICQ5.js → CRinz0qf.js} +1 -1
- package/web/app/immutable/chunks/{B9dGZuHJ.js → CRkupLLY.js} +3 -3
- package/web/app/immutable/chunks/{B-lZ23N5.js → CUF2wY0B.js} +1 -1
- package/web/app/immutable/chunks/{CP38gzl0.js → CUNya7Ty.js} +1 -1
- package/web/app/immutable/chunks/{DeH8i2FV.js → CVCmU8cH.js} +1 -1
- package/web/app/immutable/chunks/{BFK7BFQt.js → CVWsHMge.js} +1 -1
- package/web/app/immutable/chunks/{D6G_--ry.js → CZnfw8n4.js} +1 -1
- package/web/app/immutable/chunks/{DTKsxP_g.js → CdbmwjaM.js} +1 -1
- package/web/app/immutable/chunks/{D_YJY_Ty.js → CgpltzkY.js} +1 -1
- package/web/app/immutable/chunks/{ZWp2d2r6.js → Cjxd8cwf.js} +1 -1
- package/web/app/immutable/chunks/{GbJiak62.js → ClIEAc52.js} +1 -1
- package/web/app/immutable/chunks/{s4jPNyw8.js → CmPULPQO.js} +1 -1
- package/web/app/immutable/chunks/{C9Oy0LtB.js → Crtm1Tdw.js} +1 -1
- package/web/app/immutable/chunks/{myjILdXe.js → CsQZrNPD.js} +1 -1
- package/web/app/immutable/chunks/{BtY5FIF5.js → CseMAxRT.js} +1 -1
- package/web/app/immutable/chunks/{ZNzwzylD.js → CtDsnagM.js} +3 -3
- package/web/app/immutable/chunks/{uZRrd2pm.js → CwW6ndDl.js} +1 -1
- package/web/app/immutable/chunks/{dD52HyjL.js → D17qSIEz.js} +1 -1
- package/web/app/immutable/chunks/{D3pYGmsv.js → D1EubvTh.js} +2 -2
- package/web/app/immutable/chunks/{C6tQk-Lg.js → D3pCGnn6.js} +1 -1
- package/web/app/immutable/chunks/{DBMurqmQ.js → D5Vbuf5Q.js} +1 -1
- package/web/app/immutable/chunks/{ckA-QIlc.js → D86pbdSK.js} +1 -1
- package/web/app/immutable/chunks/{BcyJoTHB.js → D8POxNfK.js} +1 -1
- package/web/app/immutable/chunks/{CGpqxwcV.js → D9fDSLwb.js} +1 -1
- package/web/app/immutable/chunks/{DLgg2y1C.js → DG3MtJwi.js} +1 -1
- package/web/app/immutable/chunks/{CziMjc6R.js → DKDYIgLv.js} +3 -3
- package/web/app/immutable/chunks/{tNRnW6ie.js → DMsh1yGi.js} +1 -1
- package/web/app/immutable/chunks/{eq-q_IQg.js → DMv-E05P.js} +4 -4
- package/web/app/immutable/chunks/{Bx_Kd6Zj.js → DRBvR0Tt.js} +1 -1
- package/web/app/immutable/chunks/{r2-n1eEu.js → DRLE5FVS.js} +1 -1
- package/web/app/immutable/chunks/{C0k-qPFA.js → DUGrMwWd.js} +1 -1
- package/web/app/immutable/chunks/{ZOCUfPRu.js → DV6D0Bkp.js} +6 -6
- package/web/app/immutable/chunks/{Dhbliv-K.js → DYU4YpuR.js} +1 -1
- package/web/app/immutable/chunks/{FrlwlE8V.js → DgyZhpgg.js} +1 -1
- package/web/app/immutable/chunks/{DlL4i-_c.js → Dk4Ddrsx.js} +1 -1
- package/web/app/immutable/chunks/{zWlUYLxQ.js → Dk8ELDo2.js} +1 -1
- package/web/app/immutable/chunks/{CNynWE_u.js → DkHQqDIr.js} +1 -1
- package/web/app/immutable/chunks/{iXIypZcP.js → DlTQCTDP.js} +1 -1
- package/web/app/immutable/chunks/{DreRgY6W.js → DmQ8h8xi.js} +1 -1
- package/web/app/immutable/chunks/{cSZBj2H1.js → Dn7dutqt.js} +1 -1
- package/web/app/immutable/chunks/{CDQiwfpS.js → DrS3YtfK.js} +2 -2
- package/web/app/immutable/chunks/{DZt8Gjbk.js → Dv5hWj70.js} +1 -1
- package/web/app/immutable/chunks/{UeWiMZOF.js → DvSMiV5j.js} +1 -1
- package/web/app/immutable/chunks/{r_aV6a4U.js → DvzRlb0E.js} +1 -1
- package/web/app/immutable/chunks/{U3vyCaVU.js → DxGU3xpZ.js} +1 -1
- package/web/app/immutable/chunks/{D2bUbzxj.js → ECTD8W-L.js} +1 -1
- package/web/app/immutable/chunks/{DgFSF7Q3.js → FQUUYt8f.js} +1 -1
- package/web/app/immutable/chunks/{BOvycfTx.js → FyCAxxbB.js} +1 -1
- package/web/app/immutable/chunks/{Bg-m0Nfi.js → KVLkeJBt.js} +1 -1
- package/web/app/immutable/chunks/{Dmz-4iVB.js → Ld9N5V0Z.js} +1 -1
- package/web/app/immutable/chunks/{DkVStA3d.js → NjepB5TE.js} +1 -1
- package/web/app/immutable/chunks/{B01nzMRs.js → OY7xFhVZ.js} +1 -1
- package/web/app/immutable/chunks/{B7gQ_nlj.js → PlbZiyMr.js} +1 -1
- package/web/app/immutable/chunks/{3t4RuxC6.js → PnXyzret.js} +2 -2
- package/web/app/immutable/chunks/{C_fXhDsq.js → Pw8-HxaI.js} +12 -12
- package/web/app/immutable/chunks/{Bf7TqJG_.js → R736-vzp.js} +1 -1
- package/web/app/immutable/chunks/{Bm0frbxK.js → SP1g61ea.js} +1 -1
- package/web/app/immutable/chunks/{CroauewU.js → U2OaO8zU.js} +1 -1
- package/web/app/immutable/chunks/{DAB4KDZf.js → UvxFr-I2.js} +1 -1
- package/web/app/immutable/chunks/{BjtjqFpR.js → WKwDz9jQ.js} +1 -1
- package/web/app/immutable/chunks/{DkZU9zgp.js → WPm8oU1g.js} +2 -2
- package/web/app/immutable/chunks/{DOuKhcDi.js → Z311vB9V.js} +1 -1
- package/web/app/immutable/chunks/{7ZTbeFDr.js → bqazsiqQ.js} +1 -1
- package/web/app/immutable/chunks/{DLrur9eT.js → e_7d0HhT.js} +3 -3
- package/web/app/immutable/chunks/{DFXVbPZk.js → felZLd_I.js} +1 -1
- package/web/app/immutable/chunks/{DagQHAoe.js → gDHuvKO5.js} +1 -1
- package/web/app/immutable/chunks/{B08wwvKU.js → gP4ZqKh0.js} +1 -1
- package/web/app/immutable/chunks/{Cs3K9au3.js → hua24XJh.js} +1 -1
- package/web/app/immutable/chunks/{iFTOUkOI.js → kw6HOG6J.js} +2 -2
- package/web/app/immutable/chunks/{DfURqgI9.js → qH6ij_zT.js} +1 -1
- package/web/app/immutable/chunks/{D1zY3q4_.js → rDgjtPAw.js} +2 -2
- package/web/app/immutable/chunks/{KOIbPY1T.js → sm9FgN6B.js} +1 -1
- package/web/app/immutable/entry/{app.DoEJogUG.js → app.nL8LhceC.js} +2 -2
- package/web/app/immutable/entry/start.DMMboC2Z.js +1 -0
- package/web/app/immutable/nodes/{0.BtuyckLI.js → 0.DnTOWH22.js} +1 -1
- package/web/app/immutable/nodes/{1.BlE22l2r.js → 1.DdFwPgy2.js} +1 -1
- package/web/app/immutable/nodes/{10.BZLSu1t9.js → 10.BodWJQlD.js} +1 -1
- package/web/app/immutable/nodes/{14.CP4eEnwP.js → 14.Cch3Hlry.js} +1 -1
- package/web/app/immutable/nodes/{17.DtGxkuYO.js → 17.CR8Vf-gp.js} +2 -2
- package/web/app/immutable/nodes/{2.C6nyC7hb.js → 2.DJ8VmJpJ.js} +12 -12
- package/web/app/immutable/nodes/{3.1uPqjsRC.js → 3.B0GEDD6l.js} +1 -1
- package/web/app/immutable/nodes/{4.BjOowzuW.js → 4.C1EmG9sP.js} +1 -1
- package/web/app/immutable/nodes/{5.Dy-YkbU6.js → 5.weYY_j2P.js} +1 -1
- package/web/app/immutable/nodes/{6.DR9-o0Dc.js → 6.BDlVx9Dk.js} +1 -1
- package/web/app/immutable/nodes/{7.BR2qXozN.js → 7.C0Ip3FSb.js} +1 -1
- package/web/app/immutable/nodes/{8.DxHPj0Oq.js → 8.CpQw4Gbe.js} +4 -4
- package/web/app/immutable/nodes/{9.BHHxehGk.js → 9.DT0bh2W_.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.C_iz1en-.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{t as D,bq as d,a_ as P,by as b,b as S}from"./CNdlzZOD.js";import{bs as x,a7 as A,ay as C,W as M,bn as z,aA as m,aD as i,c9 as c}from"./DYhIMPy1.js";import{D as f,M as B}from"./
|
|
1
|
+
import{t as D,bq as d,a_ as P,by as b,b as S}from"./CNdlzZOD.js";import{bs as x,a7 as A,ay as C,W as M,bn as z,aA as m,aD as i,c9 as c}from"./DYhIMPy1.js";import{D as f,M as B}from"./DMv-E05P.js";import{S as N,p as R}from"./hua24XJh.js";import{N as W}from"./BZKFinnt.js";import{Ig as $,uR as j,be as E}from"./BoIGV7s7.js";import{x as J}from"./kw6HOG6J.js";import{a0 as K}from"./De3HYtL6.js";function O(l,s){if(new.target)return D({component:O,...l});x(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new W,u=c(()=>{if(o()==="mermaid")return null;const e=g.parseMarkdown(`\`\`\`ws-block:diagram
|
|
2
2
|
${t()}
|
|
3
3
|
\`\`\``)[0],r=e?.primitive.type==="diagram"?JSON.stringify(e.primitive):t();return R(r,!0)});function k(e,r){if(!a()||!r.target)return;const n={openInAdjacentPanel:e.metaKey||e.ctrlKey,sourcePanelId:e.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0};r.type==="file"?$.dispatch(j(a(),r.target,n)):r.type==="note"&&J(K(r.target,a()),{...n,workspaceId:E(a()),event:e})}var w={get kind(){return o()},set kind(e){o(e),m()},get source(){return t()},set source(e){t(e),m()},get workspaceId(){return a()},set workspaceId(e){a(e),m()},$set:b,$on:(e,r)=>S(s,e,r)},p=A(),y=C(p);{var I=e=>{f(e,{kind:"mermaid",rendererOwnsActions:!0,children:(r,n)=>{B(r,{get code(){return t()},showExportButton:!0})},$$slots:{default:!0}})},_=e=>{f(e,{kind:"custom",children:(r,n)=>{{let h=c(()=>i(u)?.diagram??null),v=c(()=>i(u)?.error);N(r,{get diagram(){return i(h)},get source(){return t()},get sourceError(){return i(v)},onBindingClick:k})}},$$slots:{default:!0}})};P(y,e=>{o()==="mermaid"?e(I):e(_,-1)})}return M(l,p),z(w)}export{O as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as G,bq as l,a_ as q,bo as u,by as H,b as J,bu as re,bs as se}from"./CNdlzZOD.js";import{bs as K,a5 as P,bl as I,bS as _,bA as $,be as z,b$ as N,b_ as k,bO as m,W as v,aD as ae,bn as L,aA as p,c9 as ne,aB as A,c5 as W,a7 as oe,ay as ie}from"./DYhIMPy1.js";import{u as j}from"./9iFKJfkz.js";import{f as O}from"./D3glRUn0.js";import{D as ce}from"./2BNczbc1.js";import{a5 as de}from"./
|
|
1
|
+
import{t as G,bq as l,a_ as q,bo as u,by as H,b as J,bu as re,bs as se}from"./CNdlzZOD.js";import{bs as K,a5 as P,bl as I,bS as _,bA as $,be as z,b$ as N,b_ as k,bO as m,W as v,aD as ae,bn as L,aA as p,c9 as ne,aB as A,c5 as W,a7 as oe,ay as ie}from"./DYhIMPy1.js";import{u as j}from"./9iFKJfkz.js";import{f as O}from"./D3glRUn0.js";import{D as ce}from"./2BNczbc1.js";import{a5 as de}from"./PnXyzret.js";import{Ig as ue,iO as le}from"./BoIGV7s7.js";var pe=A('<p class="text-sm text-muted-foreground"> </p>'),F=A('<p role="status" class="text-sm"> </p>'),ge=A('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function M(y,r){if(new.target)return G({component:M,...y});K(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:H,$on:(e,t)=>J(r,e,t)},x=ge(),f=P(x),w=P(f),U=I(w,!0),D=_(w,2),n=I(D,!0),h=_(D,2);{var Q=e=>{var t=pe(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};q(h,e=>{a().claimsPrimary&&e(Q)})}var B=_(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};q(B,e=>{d()&&e(V)})}var S=_(B,2);{var X=e=>{var t=F(),s=I(t,!0);k(()=>m(s,c())),v(e,t)};q(S,e=>{c()&&e(X)})}var Y=_(S,2);{var Z=e=>{var t=F(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};q(Y,e=>{g()&&!b()&&e(Z)})}$(f);var E=_(f,2),R=P(E);O(R,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var T=_(R,2);O(T,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=_(T,2);{let e=ne(()=>g()&&!b());O(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>m(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(E),$(x),k((e,t,s,o)=>{j(x,"aria-label",e),j(f,"aria-label",t),m(U,s),m(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),L(C)}function _e(y,r){if(new.target)return G({component:_e,...y});K(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(W(()=>c()),W(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:H,$on:(n,h)=>J(r,n,h)},f=oe(),w=ie(f);{var U=n=>{M(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};q(w,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=L(x);return b(),D}export{_e as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./
|
|
1
|
+
import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./DMv-E05P.js";var tt=(function(){var e=o(function(k,a,d,l){for(d=d||{},l=k.length;l--;d[k[l]]=a);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],s=[1,12],r=[1,13],n=[1,14],h=[1,15],c=[1,16],i=[1,19],y=[1,20],p={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:o(function(a,d,l,g,x,u,S){var v=u.length-1;switch(x){case 1:return u[v-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[v-1].push(u[v]),this.$=u[v-1];break;case 7:case 8:this.$=u[v];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[v].substr(6)),this.$=u[v].substr(6);break;case 12:this.$=u[v].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[v].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[v].substr(8)),this.$=u[v].substr(8);break;case 18:g.addTask(u[v],0,""),this.$=u[v];break;case 19:g.addEvent(u[v].substr(2)),this.$=u[v];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:o(function(a,d){if(d.recoverable)this.trace(a);else{var l=new Error(a);throw l.hash=d,l}},"parseError"),parse:o(function(a){var d=this,l=[0],g=[],x=[null],u=[],S=this.table,v="",I=0,C=0,R=2,O=1,L=u.slice.call(arguments,1),w=Object.create(this.lexer),H={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(H.yy[V]=this.yy[V]);w.setInput(a,H.yy),H.yy.lexer=w,H.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var F=w.yylloc;u.push(F);var K=w.options&&w.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(A){l.length=l.length-2*A,x.length=x.length-A,u.length=u.length-A}o(N,"popStack");function b(){var A;return A=g.pop()||w.lex()||O,typeof A!="number"&&(A instanceof Array&&(g=A,A=g.pop()),A=d.symbols_[A]||A),A}o(b,"lex");for(var _,$,T,P,W={},G,B,Z,j;;){if($=l[l.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((_===null||typeof _>"u")&&(_=b()),T=S[$]&&S[$][_]),typeof T>"u"||!T.length||!T[0]){var Y="";j=[];for(G in S[$])this.terminals_[G]&&G>R&&j.push("'"+this.terminals_[G]+"'");w.showPosition?Y="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+w.showPosition()+`
|
|
3
3
|
Expecting `+j.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Y="Parse error on line "+(I+1)+": Unexpected "+(_==O?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Y,{text:w.match,token:this.terminals_[_]||_,line:w.yylineno,loc:F,expected:j})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+_);switch(T[0]){case 1:l.push(_),x.push(w.yytext),u.push(w.yylloc),l.push(T[1]),_=null,C=w.yyleng,v=w.yytext,I=w.yylineno,F=w.yylloc;break;case 2:if(B=this.productions_[T[1]][1],W.$=x[x.length-B],W._$={first_line:u[u.length-(B||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(B||1)].first_column,last_column:u[u.length-1].last_column},K&&(W._$.range=[u[u.length-(B||1)].range[0],u[u.length-1].range[1]]),P=this.performAction.apply(W,[v,C,I,H.yy,T[1],x,u].concat(L)),typeof P<"u")return P;B&&(l=l.slice(0,-1*B*2),x=x.slice(0,-1*B),u=u.slice(0,-1*B)),l.push(this.productions_[T[1]][0]),x.push(W.$),u.push(W._$),Z=S[l[l.length-2]][l[l.length-1]],l.push(Z);break;case 3:return!0}}return!0},"parse")},m=(function(){var k={EOF:1,parseError:o(function(d,l){if(this.yy.parser)this.yy.parser.parseError(d,l);else throw new Error(d)},"parseError"),setInput:o(function(a,d){return this.yy=d||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:o(function(a){var d=a.length,l=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===g.length?this.yylloc.first_column:0)+g[g.length-l.length].length-l[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(a){this.unput(this.match.slice(a))},"less"),pastInput:o(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Fe,bq as U,a_ as K,bo as M,by as je,b as qe,bu as Ie,bs as rt,bt as xt}from"./CNdlzZOD.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as a,bn as Ne,aA as X,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Be,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./DYhIMPy1.js";import{G as ot}from"./DrH3w3jB.js";import{u as Ee,v as Xe,j as Ye,n as De,i as Qe}from"./9iFKJfkz.js";import{c as P}from"./b0njYmMP.js";import{P as He,h as Me,i as Se,g as We}from"./DhFS-yhc.js";import{B as At,t as T,E as Ze,d as Pt}from"./CR1VVB-y.js";import{f as Ce}from"./D3glRUn0.js";import{C as Tt}from"./B08wwvKU.js";import"./bkMlvHq9.js";import{Ig as xe,fi as Rt,Ed as nt,CD as it,pv as Dt}from"./BoIGV7s7.js";import{aO as lt,aL as It,aM as Lt,dr as zt}from"./De3HYtL6.js";import{d as Et,r as Ht}from"./13JKYtK_.js";import{M as Mt}from"./CziMjc6R.js";import{k as St}from"./3JpWDI-M.js";import{e as et}from"./iFTOUkOI.js";import{J as Wt,e as Ct}from"./Bggzn0XP.js";import{o as Bt}from"./D3kn1fgc.js";import{S as Le}from"./C58HgKcj.js";import{F as ze,_ as Ot,cY as Ft,as as jt,bj as qt}from"./BIfN-lxi.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Vt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Jt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Ut=m('<div class="flex h-10 items-center px-3"><!></div>'),Xt=m("<div><!> <!> <!> <!></div>"),Yt=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ge(l,!0);const Y=At();bt(Y.cleanup);let L=U(l,"detail",7,!1),F=U(l,"count",7,5),Q=U(l,"view",7,"list"),Z=U(l,"grouped",7,!1),s=U(l,"rows",7,"workspace");var z={get detail(){return L()},set detail(i=!1){L(i),X()},get count(){return F()},set count(i=5){F(i),X()},get view(){return Q()},set view(i="list"){Q(i),X()},get grouped(){return Z()},set grouped(i=!1){Z(i),X()},get rows(){return s()},set rows(i="workspace"){s(i),X()},$set:je,$on:(i,D)=>qe(l,i,D)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var D=Nt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var S=n(ee,2);T(S,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),a(h,k)}),a(i,D)},Te=i=>{var D=Kt();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var S=Jt(),d=u(S),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Vt(),de=u(j),ae=u(de);T(ae,{class:"h-4 flex-1"});var ce=n(ae);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),a(k,j)}),c(S),a(g,S)}),c(D),a(i,D)},_e=i=>{var D=Yt(),g=R(D);{var ee=d=>{var h=Ut(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),a(d,h)};K(g,d=>{Z()&&d(ee)})}var S=n(g,2);De(S,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Xt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},ae=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(ae,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Xe(A,1,Ye(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),a(d,A)}),a(i,D)};K(be,i=>{L()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Ee(y,"aria-label",i),Ee(y,"data-reduced",Y.current),Xe(ie,1,Ye(L()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>M.home_integrations_loading()]),a(b,y),Ne(z)}function ct(b){return b.filter(Et)}function Zt(){let b=null;return(l,Y)=>{const L=b?l.find(Q=>Q.id===b):void 0;if(L)return L;const F=Ht(l);return b=Y&&F?String(F.id):null,F}}function ea(b,l,Y){return l&&b.find(L=>L.id===l)||Y}var ta=m('<div class="p-4"><!></div>'),aa=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ge(l,!0);const Y=()=>Ie(ie,"$agents$",F),L=()=>Ie(be,"$loaded$",F),[F,Q]=rt();let Z=U(l,"workspace",7),s=U(l,"preview",7,!1),z=U(l,"agent",7);const y=Be(()=>Z().id),ie=lt(y),be=It(y),le=$(()=>ct(Y())),Te=$(()=>s()?void 0:z()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Mt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function S(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||S(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),X()},get preview(){return s()},set preview(t=!1){s(t),X()},get agent(){return z()},set agent(t){z(t),X()},$set:je,$on:(t,o)=>qe(l,t,o)},h=aa(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(re=>O(q,re),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>z().id,q=>{{let re=$(()=>e(_e)?.agentId===z().id?e(_e):void 0);Tt(q,{get workspace(){return Z()},get agentId(){return z().id},get agentName(){return z().name},autoFocus:!1,get attentionFocusRequest(){return e(re)},isInitialWorkspaceAgent:!1})}}),a(t,o)},j=t=>{var o=ta(),w=u(o);dt(w,{detail:!0}),c(o),a(t,o)},de=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.home_detail_unavailable()]),a(q,re)};let w=$(()=>M.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:S,message:o,$$slots:{message:!0}})}},ae=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(q,re)};let w=$(()=>M.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:S,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):z()?t(te,1):!L()&&!e(g)?t(j,2):L()?t(ae,-1):t(de,3)})}c(h),x(()=>Ee(h,"data-workspace-link-target",Z().id)),a(b,h);var ce=Ne(d);return Q(),ce}var ra=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sa=m('<div class="shrink-0"><!></div>'),oa=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),at=m("<!><!>",1),na=m("<p> </p>"),ia=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),la=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),da=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),ca=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),va=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ua(b,l){if(new.target)return Fe({component:ua,...b});Ge(l,!0);const Y=()=>Ie(_e,"$readRevision$",Q),L=()=>Ie(Te,"$agents$",Q),F=()=>Ie(D,"$pickedId$",Q),[Q,Z]=rt();let s=U(l,"workspace",7),z=U(l,"onclose",7),y=U(l,"preview",7,!1),ie=U(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:M.workspace_links_untitled_label()),le=Be(()=>s().id),Te=lt(le),_e=Lt(le),i=Be(()=>Y()),D=Wt(le),g=$(()=>ct(L())),ee=Zt(),S=$(()=>ee(e(g),Y()>i)),d=$(()=>ea(e(g),F(),e(S)));function h(r){xe.dispatch(nt(le,r)),xe.dispatch(it(le,r))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!zt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Bt(s().id)}var de={get workspace(){return s()},set workspace(r){s(r),X()},get onclose(){return z()},set onclose(r){z(r),X()},get preview(){return y()},set preview(r=!1){y(r),X()},get showBackToList(){return ie()},set showBackToList(r=!0){ie(r),X()},$set:je,$on:(r,f)=>qe(l,r,f)},ae=va(),ce=u(ae),t=u(ce),o=u(t),w=u(o);P(w,()=>He,(r,f)=>{f(r,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>Me,(ve,E)=>{E(ve,{children:(V,ge)=>{var me=tt(),ne=R(me);{const C=(H,B)=>{let I=()=>(B?.()).props;{let v=$(()=>M.home_open_workspace());Ce(H,xt(I,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,J)=>{var _=ra(),se=R(_),ue=Ae(se,!0),we=n(se,2);ze(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),a(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Se,(H,B)=>{B(H,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,H)=>{H(C,{children:(B,I)=>{$e();var v=ke();x(()=>O(v,e(be))),a(B,v)},$$slots:{default:!0}})}),a(V,me)},$$slots:{default:!0}})}),a(G,N)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var re=r=>{var f=sa(),G=u(f);{let oe=$(()=>M.home_close_preview()),N=$(()=>M.home_close_preview());Ce(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return z()},children:(W,ve)=>{ze(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),a(r,f)};K(q,r=>{ie()&&r(re)})}c(t);var ye=n(t,2);{var ut=r=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),V=R(E);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),H=R(C);{const I=(v,p)=>{let J=()=>(p?.()).props;var _=oa();Qe(_,()=>({...J(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{St(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{ze(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ue=n(se,2),Re=Ae(Ue,!0);c(_),x(()=>O(Re,e(A))),a(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(I,v)=>{v(I,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,e(A))),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,E)},$$slots:{default:!0}})}),a(r,f)};K(ye,r=>{e(A)&&r(ut)})}var pt=n(ye,2);{var mt=r=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),V=R(E);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),H=R(C);{const I=(v,p)=>{let J=()=>(p?.()).props;var _=na();Qe(_,()=>({...J(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),a(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(I,v)=>{v(I,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,E)},$$slots:{default:!0}})}),a(r,f)};K(pt,r=>{s().statusMessage&&r(mt)})}c(ce);var Ve=n(ce,2);{var ft=r=>{var f=da(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Le.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const E=e(g).find(V=>V.id===ve);E&&h(E.id)},children:(ve,E)=>{var V=tt(),ge=R(V);{let ne=$(()=>M.home_agents());P(ge,()=>Le.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(H,B)=>{var I=ia(),v=R(I);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var J=n(v,2),_=Ae(J,!0),se=n(J,2);ze(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),a(H,I)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Le.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,H)=>{var B=fe(),I=R(B);De(I,17,()=>e(g),v=>v.id,(v,p)=>{var J=fe(),_=R(J);P(_,()=>Le.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ue)=>{var Re=la(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),a(we,Re)},$$slots:{default:!0}})}),a(v,J)}),a(C,B)},$$slots:{default:!0}})}),a(ve,V)},$$slots:{default:!0}})})}c(f),a(r,f)};K(Ve,r=>{e(g).length&&r(ft)})}var Je=n(Ve,2);{var _t=r=>{var f=ca(),G=u(f),oe=Ae(G,!0),N=n(G,2);Ce(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var E=ke();x(V=>O(E,V),[()=>M.home_retry()]),a(W,E)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>M.home_detail_unavailable()]),a(r,f)};K(Je,r=>{e(k)&&r(_t)})}var Ke=n(Je,2),gt=u(Ke);ot(gt,()=>s().id,r=>{vt(r,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(ae),x(r=>Ee(ae,"aria-label",r),[()=>M.home_workspace_details()]),a(b,ae);var ht=Ne(de);return Z(),ht}export{dt as H,ua as a};
|
|
1
|
+
import{t as Fe,bq as U,a_ as K,bo as M,by as je,b as qe,bu as Ie,bs as rt,bt as xt}from"./CNdlzZOD.js";import{bs as Ge,bj as bt,a5 as u,bA as c,b_ as x,W as a,bn as Ne,aA as X,ay as R,bS as n,aD as e,aB as m,c9 as $,c5 as Be,ca as yt,bk as st,bH as Pe,bV as Oe,a7 as fe,be as $e,b$ as ke,bO as O,bl as Ae}from"./DYhIMPy1.js";import{G as ot}from"./DrH3w3jB.js";import{u as Ee,v as Xe,j as Ye,n as De,i as Qe}from"./9iFKJfkz.js";import{c as P}from"./b0njYmMP.js";import{P as He,h as Me,i as Se,g as We}from"./DhFS-yhc.js";import{B as At,t as T,E as Ze,d as Pt}from"./CR1VVB-y.js";import{f as Ce}from"./D3glRUn0.js";import{C as Tt}from"./gP4ZqKh0.js";import"./bkMlvHq9.js";import{Ig as xe,fi as Rt,Ed as nt,CD as it,pv as Dt}from"./BoIGV7s7.js";import{aO as lt,aL as It,aM as Lt,dr as zt}from"./De3HYtL6.js";import{d as Et,r as Ht}from"./13JKYtK_.js";import{M as Mt}from"./DKDYIgLv.js";import{k as St}from"./5lVDKMGV.js";import{e as et}from"./kw6HOG6J.js";import{J as Wt,e as Ct}from"./CPFrNISL.js";import{o as Bt}from"./CBgs1jD4.js";import{S as Le}from"./C58HgKcj.js";import{F as ze,_ as Ot,cY as Ft,as as jt,bj as qt}from"./BIfN-lxi.js";var Gt=m('<div class="space-y-3"><!> <!></div>'),Nt=m('<div class="space-y-3"><!> <!></div> <!>',1),Vt=m('<div class="space-y-3 rounded-xl border border-border p-4 shadow-xs"><div class="flex items-center gap-3"><!><!></div> <!> <div class="flex items-center justify-between pt-1"><!><!></div></div>'),Jt=m('<div class="min-w-0 space-y-3"><div class="flex h-10 items-center px-2"><!></div> <!></div>'),Kt=m('<div class="grid grid-cols-[repeat(auto-fit,minmax(min(100%,10rem),1fr))] gap-3 px-1"></div>'),Ut=m('<div class="flex h-10 items-center px-3"><!></div>'),Xt=m("<div><!> <!> <!> <!></div>"),Yt=m("<!> <!>",1),Qt=m('<div role="status" class="min-h-0 min-w-0 flex-1 overflow-hidden svelte-kmeefs" data-home-loading=""><div aria-hidden="true"><!></div></div>');function dt(b,l){if(new.target)return Fe({component:dt,...b});Ge(l,!0);const Y=At();bt(Y.cleanup);let L=U(l,"detail",7,!1),F=U(l,"count",7,5),Q=U(l,"view",7,"list"),Z=U(l,"grouped",7,!1),s=U(l,"rows",7,"workspace");var z={get detail(){return L()},set detail(i=!1){L(i),X()},get count(){return F()},set count(i=5){F(i),X()},get view(){return Q()},set view(i="list"){Q(i),X()},get grouped(){return Z()},set grouped(i=!1){Z(i),X()},get rows(){return s()},set rows(i="workspace"){s(i),X()},$set:je,$on:(i,D)=>qe(l,i,D)},y=Qt(),ie=u(y),be=u(ie);{var le=i=>{var D=Nt(),g=R(D),ee=u(g);T(ee,{class:"h-6 w-4/5"});var S=n(ee,2);T(S,{class:"h-4 w-1/2"}),c(g);var d=n(g,2);De(d,16,()=>[0,1],h=>h,(h,A)=>{var k=Gt(),te=u(k);T(te,{class:"h-3 w-full"});var j=n(te,2);T(j,{class:"h-3 w-5/6"}),c(k),a(h,k)}),a(i,D)},Te=i=>{var D=Kt();De(D,20,()=>[0,1,2],g=>g,(g,ee)=>{var S=Jt(),d=u(S),h=u(d);T(h,{class:"h-3 w-20"}),c(d);var A=n(d,2);De(A,16,()=>[0,1,2],k=>k,(k,te)=>{var j=Vt(),de=u(j),ae=u(de);T(ae,{class:"h-4 flex-1"});var ce=n(ae);T(ce,{class:"size-3 rounded-full"}),c(de);var t=n(de,2);T(t,{class:"h-3 w-full"});var o=n(t,2),w=u(o);T(w,{class:"size-4 rounded-sm"});var q=n(w);T(q,{class:"h-3 w-6"}),c(o),c(j),a(k,j)}),c(S),a(g,S)}),c(D),a(i,D)},_e=i=>{var D=Yt(),g=R(D);{var ee=d=>{var h=Ut(),A=u(h);T(A,{class:"h-3 w-20"}),c(h),a(d,h)};K(g,d=>{Z()&&d(ee)})}var S=n(g,2);De(S,16,()=>Array.from({length:F()},(d,h)=>h),d=>d,(d,h)=>{var A=Xt(),k=u(A);T(k,{class:"size-4 shrink-0 rounded-sm"});var te=n(k,2);T(te,{class:"h-4 min-w-0 flex-1"});var j=n(te,2);{var de=o=>{T(o,{class:"size-3 shrink-0 rounded-full"})},ae=o=>{T(o,{class:"size-5 shrink-0 rounded-full"})};K(j,o=>{s()==="workspace"?o(de):s()==="integration"&&o(ae,1)})}var ce=n(j,2);{var t=o=>{{let w=$(()=>s()==="workspace"?"h-3 w-8 shrink-0":"h-3 w-6 shrink-0");T(o,{get class(){return e(w)}})}};K(ce,o=>{s()!=="compact"&&o(t)})}c(A),x(()=>Xe(A,1,Ye(s()==="compact"?"flex min-h-6 items-center gap-2 py-1":`flex h-12 items-center gap-3 border-b border-border ${s()==="integration"?"px-2":"px-3"}`))),a(d,A)}),a(i,D)};K(be,i=>{L()?i(le):Q()==="board"?i(Te,1):i(_e,-1)})}return c(ie),c(y),x(i=>{Ee(y,"aria-label",i),Ee(y,"data-reduced",Y.current),Xe(ie,1,Ye(L()?"space-y-6 py-3":s()==="compact"?"":"px-5 pb-4"))},[()=>M.home_integrations_loading()]),a(b,y),Ne(z)}function ct(b){return b.filter(Et)}function Zt(){let b=null;return(l,Y)=>{const L=b?l.find(Q=>Q.id===b):void 0;if(L)return L;const F=Ht(l);return b=Y&&F?String(F.id):null,F}}function ea(b,l,Y){return l&&b.find(L=>L.id===l)||Y}var ta=m('<div class="p-4"><!></div>'),aa=m('<div class="flex h-full min-h-0 min-w-0 flex-col" data-home-workspace-chat=""><!></div>');function vt(b,l){if(new.target)return Fe({component:vt,...b});Ge(l,!0);const Y=()=>Ie(ie,"$agents$",F),L=()=>Ie(be,"$loaded$",F),[F,Q]=rt();let Z=U(l,"workspace",7),s=U(l,"preview",7,!1),z=U(l,"agent",7);const y=Be(()=>Z().id),ie=lt(y),be=It(y),le=$(()=>ct(Y())),Te=$(()=>s()?void 0:z()?.id);yt(()=>{const t=e(Te);if(!t)return;const o=Date.now();return()=>{Date.now()-o<Mt||setTimeout(()=>xe.dispatch(Rt(t)),0)}});let _e=Oe(void 0),i=0;function D(t,o){s()||!e(le).some(w=>w.id===t)||(Pe(_e,{agentId:t,questionMessageId:o,requestId:++i},!0),xe.dispatch(nt(y,t)),xe.dispatch(it(y,t)))}let g=Oe(!1),ee;function S(){s()||(Pe(g,!1),clearTimeout(ee),xe.dispatch(Dt(y)),ee=setTimeout(()=>{Pe(g,!0)},15e3))}st(()=>(s()||S(),()=>clearTimeout(ee)));var d={focusAttention:D,get workspace(){return Z()},set workspace(t){Z(t),X()},get preview(){return s()},set preview(t=!1){s(t),X()},get agent(){return z()},set agent(t){z(t),X()},$set:je,$on:(t,o)=>qe(l,t,o)},h=aa(),A=u(h);{var k=t=>{Ze(t,{density:"compact",title:w=>{$e();var q=ke();x(re=>O(q,re),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(w,q)},$$slots:{title:!0}})},te=t=>{var o=fe(),w=R(o);ot(w,()=>z().id,q=>{{let re=$(()=>e(_e)?.agentId===z().id?e(_e):void 0);Tt(q,{get workspace(){return Z()},get agentId(){return z().id},get agentName(){return z().name},autoFocus:!1,get attentionFocusRequest(){return e(re)},isInitialWorkspaceAgent:!1})}}),a(t,o)},j=t=>{var o=ta(),w=u(o);dt(w,{detail:!0}),c(o),a(t,o)},de=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.home_detail_unavailable()]),a(q,re)};let w=$(()=>M.home_retry());Pt(t,{density:"compact",get retryLabel(){return e(w)},onRetry:S,message:o,$$slots:{message:!0}})}},ae=t=>{{const o=q=>{$e();var re=ke();x(ye=>O(re,ye),[()=>M.agentOverview_hierarchyGraph_noAgents_title()]),a(q,re)};let w=$(()=>M.home_retry());Ze(t,{density:"compact",get actionLabel(){return e(w)},onAction:S,title:o,$$slots:{title:!0}})}};K(A,t=>{s()?t(k):z()?t(te,1):!L()&&!e(g)?t(j,2):L()?t(ae,-1):t(de,3)})}c(h),x(()=>Ee(h,"data-workspace-link-target",Z().id)),a(b,h);var ce=Ne(d);return Q(),ce}var ra=m('<span class="min-w-0 line-clamp-2 [overflow-wrap:anywhere]"> </span> <!>',1),tt=m("<!> <!>",1),sa=m('<div class="shrink-0"><!></div>'),oa=m('<div><!> <span class="home-detail-repository-name truncate"> </span></div>'),at=m("<!><!>",1),na=m("<p> </p>"),ia=m('<!> <span class="min-w-0 truncate text-left"> </span> <!>',1),la=m('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),da=m('<div class="shrink-0 min-w-0 px-1 py-2" data-home-agent-switcher=""><!></div>'),ca=m('<div class="flex items-center gap-2 px-4 py-2 type-caption text-muted-foreground" role="status"><p> </p> <!></div>'),va=m('<section class="flex h-full min-h-0 min-w-0 flex-col" data-home-detail=""><header class="shrink-0 border-b border-border px-4 py-2"><div class="flex min-w-0 items-center gap-3"><h2 class="-ml-2 min-w-0 flex-1"><!></h2> <!></div> <!> <!></header> <!> <!> <div class="min-h-0 min-w-0 flex-1"><!></div></section>');function ua(b,l){if(new.target)return Fe({component:ua,...b});Ge(l,!0);const Y=()=>Ie(_e,"$readRevision$",Q),L=()=>Ie(Te,"$agents$",Q),F=()=>Ie(D,"$pickedId$",Q),[Q,Z]=rt();let s=U(l,"workspace",7),z=U(l,"onclose",7),y=U(l,"preview",7,!1),ie=U(l,"showBackToList",7,!0);const be=$(()=>s().title.trim()?s().title:M.workspace_links_untitled_label()),le=Be(()=>s().id),Te=lt(le),_e=Lt(le),i=Be(()=>Y()),D=Wt(le),g=$(()=>ct(L())),ee=Zt(),S=$(()=>ee(e(g),Y()>i)),d=$(()=>ea(e(g),F(),e(S)));function h(r){xe.dispatch(nt(le,r)),xe.dispatch(it(le,r))}const A=$(()=>[s().repositoryOwner,s().repositoryName].filter(Boolean).join("/")||s().repositoryPath);let k=Oe(!1);async function te(){Pe(k,!1);try{await Ct(s().id),Pe(k,!zt.select(xe.state,s().id))}catch{Pe(k,!0)}}st(()=>{y()||te()});function j(){Bt(s().id)}var de={get workspace(){return s()},set workspace(r){s(r),X()},get onclose(){return z()},set onclose(r){z(r),X()},get preview(){return y()},set preview(r=!1){y(r),X()},get showBackToList(){return ie()},set showBackToList(r=!0){ie(r),X()},$set:je,$on:(r,f)=>qe(l,r,f)},ae=va(),ce=u(ae),t=u(ce),o=u(t),w=u(o);P(w,()=>He,(r,f)=>{f(r,{children:(G,oe)=>{var N=fe(),W=R(N);P(W,()=>Me,(ve,E)=>{E(ve,{children:(V,ge)=>{var me=tt(),ne=R(me);{const C=(H,B)=>{let I=()=>(B?.()).props;{let v=$(()=>M.home_open_workspace());Ce(H,xt(I,{variant:"ghost",class:"type-title h-auto min-w-0 max-w-full shrink gap-2 justify-start whitespace-normal px-2 py-1 text-left font-medium leading-snug",wrapContent:!1,get"aria-label"(){return e(v)},onclick:j,children:(p,J)=>{var _=ra(),se=R(_),ue=Ae(se,!0),we=n(se,2);ze(we,{get icon(){return Ot},class:"shrink-0 text-muted-foreground",size:"sm"}),x(()=>O(ue,e(be))),a(p,_)},$$slots:{default:!0}}))}};P(ne,()=>Se,(H,B)=>{B(H,{child:C,$$slots:{child:!0}})})}var he=n(ne,2);P(he,()=>We,(C,H)=>{H(C,{children:(B,I)=>{$e();var v=ke();x(()=>O(v,e(be))),a(B,v)},$$slots:{default:!0}})}),a(V,me)},$$slots:{default:!0}})}),a(G,N)},$$slots:{default:!0}})}),c(o);var q=n(o,2);{var re=r=>{var f=sa(),G=u(f);{let oe=$(()=>M.home_close_preview()),N=$(()=>M.home_close_preview());Ce(G,{variant:"ghost",size:"icon-sm",get"aria-label"(){return e(oe)},get tooltip(){return e(N)},get onclick(){return z()},children:(W,ve)=>{ze(W,{get icon(){return Ft}})},$$slots:{default:!0}})}c(f),a(r,f)};K(q,r=>{ie()&&r(re)})}c(t);var ye=n(t,2);{var ut=r=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),V=R(E);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),H=R(C);{const I=(v,p)=>{let J=()=>(p?.()).props;var _=oa();Qe(_,()=>({...J(),class:"mb-1 flex min-w-0 max-w-[min(100%,16rem)] items-center gap-1.5 type-caption text-muted-foreground","data-home-detail-repository":!0,"aria-label":e(A)}));var se=u(_);{var ue=pe=>{St(pe,{get identity(){return s().repositoryOwner},size:16,class:"shrink-0 rounded-sm"})},we=pe=>{ze(pe,{get icon(){return qt}})};K(se,pe=>{s().repositoryOwner?pe(ue):pe(we,-1)})}var Ue=n(se,2),Re=Ae(Ue,!0);c(_),x(()=>O(Re,e(A))),a(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(I,v)=>{v(I,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,e(A))),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,E)},$$slots:{default:!0}})}),a(r,f)};K(ye,r=>{e(A)&&r(ut)})}var pt=n(ye,2);{var mt=r=>{var f=fe(),G=R(f);P(G,()=>He,(oe,N)=>{N(oe,{children:(W,ve)=>{var E=fe(),V=R(E);P(V,()=>Me,(ge,me)=>{me(ge,{children:(ne,he)=>{var C=at(),H=R(C);{const I=(v,p)=>{let J=()=>(p?.()).props;var _=na();Qe(_,()=>({...J(),class:"type-caption line-clamp-2 break-words leading-snug text-muted-foreground"}));var se=Ae(_,!0);x(()=>O(se,s().statusMessage)),a(v,_)};P(H,()=>Se,(v,p)=>{p(v,{child:I,$$slots:{child:!0}})})}var B=n(H);P(B,()=>We,(I,v)=>{v(I,{children:(p,J)=>{$e();var _=ke();x(()=>O(_,s().statusMessage)),a(p,_)},$$slots:{default:!0}})}),a(ne,C)},$$slots:{default:!0}})}),a(W,E)},$$slots:{default:!0}})}),a(r,f)};K(pt,r=>{s().statusMessage&&r(mt)})}c(ce);var Ve=n(ce,2);{var ft=r=>{var f=da(),G=u(f);{let oe=$(()=>e(d)?.id??"");P(G,()=>Le.Root,(N,W)=>{W(N,{get value(){return e(oe)},onchange:ve=>{const E=e(g).find(V=>V.id===ve);E&&h(E.id)},children:(ve,E)=>{var V=tt(),ge=R(V);{let ne=$(()=>M.home_agents());P(ge,()=>Le.Trigger,(he,C)=>{C(he,{variant:"ghost",class:"h-8 w-fit max-w-full justify-start",get"aria-label"(){return e(ne)},children:(H,B)=>{var I=ia(),v=R(I);{var p=ue=>{{let we=$(()=>e(d).metadata?.specialist??e(d).agentMetadata?.specialist);et(ue,{get agentId(){return e(d).id},get specialist(){return e(we)},variant:"emphasized"})}};K(v,ue=>{e(d)&&ue(p)})}var J=n(v,2),_=Ae(J,!0),se=n(J,2);ze(se,{get icon(){return jt},class:"shrink-0 text-muted-foreground"}),x(()=>O(_,e(d)?.name)),a(H,I)},$$slots:{default:!0}})})}var me=n(ge,2);P(me,()=>Le.Content,(ne,he)=>{he(ne,{portal:!0,children:(C,H)=>{var B=fe(),I=R(B);De(I,17,()=>e(g),v=>v.id,(v,p)=>{var J=fe(),_=R(J);P(_,()=>Le.Item,(se,ue)=>{ue(se,{get value(){return e(p).id},get label(){return e(p).name},children:(we,Ue)=>{var Re=la(),pe=u(Re);{let kt=$(()=>e(p).metadata?.specialist??e(p).agentMetadata?.specialist);et(pe,{get agentId(){return e(p).id},get specialist(){return e(kt)},variant:"emphasized"})}var wt=n(pe,2),$t=Ae(wt,!0);c(Re),x(()=>O($t,e(p).name)),a(we,Re)},$$slots:{default:!0}})}),a(v,J)}),a(C,B)},$$slots:{default:!0}})}),a(ve,V)},$$slots:{default:!0}})})}c(f),a(r,f)};K(Ve,r=>{e(g).length&&r(ft)})}var Je=n(Ve,2);{var _t=r=>{var f=ca(),G=u(f),oe=Ae(G,!0),N=n(G,2);Ce(N,{variant:"outline",size:"sm",onclick:te,children:(W,ve)=>{$e();var E=ke();x(V=>O(E,V),[()=>M.home_retry()]),a(W,E)},$$slots:{default:!0}}),c(f),x(W=>O(oe,W),[()=>M.home_detail_unavailable()]),a(r,f)};K(Je,r=>{e(k)&&r(_t)})}var Ke=n(Je,2),gt=u(Ke);ot(gt,()=>s().id,r=>{vt(r,{get workspace(){return s()},get preview(){return y()},get agent(){return e(d)}})}),c(Ke),c(ae),x(r=>Ee(ae,"aria-label",r),[()=>M.home_workspace_details()]),a(b,ae);var ht=Ne(de);return Z(),ht}export{dt as H,ua as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as fe}from"./
|
|
1
|
+
import{g as fe}from"./CUNya7Ty.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./DMv-E05P.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(x[0]){case 1:r.push(_),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),_=null,ie=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,ie,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./DYhIMPy1.js";import{p as r}from"./
|
|
1
|
+
import"./DYhIMPy1.js";import{p as r}from"./DV6D0Bkp.js";const t={get error(){return r.error},get params(){return r.params},get state(){return r.state},get status(){return r.status},get url(){return r.url}},s=t;export{s as p};
|