local-operator-ui 0.34.55 → 0.34.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/out/main/index.js +1 -1
  2. package/out/renderer/assets/{_basePickBy-Be_5LfVS.js → _basePickBy-BZpmSLU-.js} +1 -1
  3. package/out/renderer/assets/{_baseUniq-hdy9kmQQ.js → _baseUniq-5Fk4AsiY.js} +1 -1
  4. package/out/renderer/assets/{agent-details-page-CLbcLEwm.js → agent-details-page-BEoctGwH.js} +1 -1
  5. package/out/renderer/assets/{agent-hub-page-Bf5Aw-Jn.js → agent-hub-page-DVtEYZne.js} +1 -1
  6. package/out/renderer/assets/{agents-page-BpaQBOFJ.js → agents-page-CqlFD0Ps.js} +3 -3
  7. package/out/renderer/assets/{arc-CgN-UZqL.js → arc-Cgq0RekE.js} +1 -1
  8. package/out/renderer/assets/{architectureDiagram-IEHRJDOE-DowMu2Qf.js → architectureDiagram-IEHRJDOE-SKpw5bNL.js} +1 -1
  9. package/out/renderer/assets/{blockDiagram-JOT3LUYC-DgKTIFqt.js → blockDiagram-JOT3LUYC-jQv0ffHr.js} +1 -1
  10. package/out/renderer/assets/{book-open-yKrSTgbR.js → book-open--60aKTv6.js} +1 -1
  11. package/out/renderer/assets/browser-page-jc3r193W.js +1 -0
  12. package/out/renderer/assets/{browser-webauthn-prompt-CJ6FJJMN.js → browser-webauthn-prompt-PeVRs-qh.js} +1 -1
  13. package/out/renderer/assets/{c4Diagram-VJAJSXHY-Ctyv3nA_.js → c4Diagram-VJAJSXHY-BlRyRK9C.js} +1 -1
  14. package/out/renderer/assets/channel-BpN7da5J.js +1 -0
  15. package/out/renderer/assets/{chunk-4BMEZGHF-CW43fWPt.js → chunk-4BMEZGHF-BBVAaHlr.js} +1 -1
  16. package/out/renderer/assets/{chunk-A2AXSNBT-BfdEIIIg.js → chunk-A2AXSNBT-sJR5i1wN.js} +1 -1
  17. package/out/renderer/assets/{chunk-AEK57VVT-Bx4nZ-57.js → chunk-AEK57VVT-C8IWMgPw.js} +1 -1
  18. package/out/renderer/assets/{chunk-D6G4REZN-BA6hwejS.js → chunk-D6G4REZN-DTfUS03C.js} +1 -1
  19. package/out/renderer/assets/{chunk-RZ5BOZE2-Civ6_Z-P.js → chunk-RZ5BOZE2-DiGk8o7V.js} +1 -1
  20. package/out/renderer/assets/{chunk-XZIHB7SX-BVPRrS8K.js → chunk-XZIHB7SX-Mamouuqj.js} +1 -1
  21. package/out/renderer/assets/classDiagram-GIVACNV2-IcRW-YOl.js +1 -0
  22. package/out/renderer/assets/classDiagram-v2-COTLJTTW-IcRW-YOl.js +1 -0
  23. package/out/renderer/assets/clone-Dri7yO5y.js +1 -0
  24. package/out/renderer/assets/{console-mirror-D12eLWy7.js → console-mirror-Ch4jKiRK.js} +1 -1
  25. package/out/renderer/assets/{consoleCapture-B5s47GGM.js → consoleCapture-BYlfSgpd.js} +1 -1
  26. package/out/renderer/assets/{conversation-input-sync-oIWpPfzj.js → conversation-input-sync-Cs9wr7F7.js} +4 -4
  27. package/out/renderer/assets/{dagre-OKDRZEBW-CayNWWG3.js → dagre-OKDRZEBW-D5TY-UFL.js} +1 -1
  28. package/out/renderer/assets/{diagram-SSKATNLV-CNrEYtm4.js → diagram-SSKATNLV-BTiHJkCz.js} +1 -1
  29. package/out/renderer/assets/{diagram-VNBRO52H-jzZ7n3uT.js → diagram-VNBRO52H-CBxLprav.js} +1 -1
  30. package/out/renderer/assets/{erDiagram-Q7BY3M3F-9BaZ6ZkV.js → erDiagram-Q7BY3M3F-9aF5V3AY.js} +1 -1
  31. package/out/renderer/assets/{error-boundary-BfL6ia-P.js → error-boundary-B5YLbOOu.js} +1 -1
  32. package/out/renderer/assets/{flowDiagram-4HSFHLVR-CptBIl13.js → flowDiagram-4HSFHLVR-BXlN8K06.js} +1 -1
  33. package/out/renderer/assets/{ganttDiagram-APWFNJXF-CgcFEyO7.js → ganttDiagram-APWFNJXF-1FcF-Cau.js} +1 -1
  34. package/out/renderer/assets/{gitGraphDiagram-7IBYFJ6S-cmMetjXL.js → gitGraphDiagram-7IBYFJ6S-CjCM20j_.js} +1 -1
  35. package/out/renderer/assets/{graph-R1Ok41yA.js → graph-CGuSrplO.js} +1 -1
  36. package/out/renderer/assets/{index-BFzgup69.js → index-5brl9P13.js} +1 -1
  37. package/out/renderer/assets/{index-pufheB69.css → index-BUuvY2SU.css} +1 -1
  38. package/out/renderer/assets/{index-Dsm4DzII.js → index-CalJ1cZq.js} +1 -1
  39. package/out/renderer/assets/{index-CsR1USrT.js → index-DbzmFwlT.js} +1 -1
  40. package/out/renderer/assets/{index-CNvEPxPr.js → index-rnB6EiBX.js} +3 -3
  41. package/out/renderer/assets/{infoDiagram-PH2N3AL5-DeSmG1nL.js → infoDiagram-PH2N3AL5-Bqs15-nE.js} +1 -1
  42. package/out/renderer/assets/{installer-BM-QRi7Y.js → installer-DZXz4Bgj.js} +1 -1
  43. package/out/renderer/assets/{journeyDiagram-U35MCT3I--ZNfC2qt.js → journeyDiagram-U35MCT3I-BkSqHNi1.js} +1 -1
  44. package/out/renderer/assets/{kanban-definition-NDS4AKOZ-kUi3-HdL.js → kanban-definition-NDS4AKOZ-CGnCYoin.js} +1 -1
  45. package/out/renderer/assets/{layout-DQq3NfPk.js → layout-BM7AzCJ1.js} +1 -1
  46. package/out/renderer/assets/{legacy-agents-page-D0vembfV.js → legacy-agents-page-B8f2tJOf.js} +1 -1
  47. package/out/renderer/assets/{mermaid.core-kSHzKq9G.js → mermaid.core-C14g_ZP7.js} +5 -5
  48. package/out/renderer/assets/{mesh-page-BhfRHXQS.js → mesh-page-DCCummN5.js} +1 -1
  49. package/out/renderer/assets/{mindmap-definition-ALO5MXBD-BsJiNdkz.js → mindmap-definition-ALO5MXBD-D7Z-SM4X.js} +1 -1
  50. package/out/renderer/assets/{mini-DngBC0gl.js → mini-CcJI0pQs.js} +1 -1
  51. package/out/renderer/assets/{notebook-pen-BbGvgaYT.js → notebook-pen-Dj0km82T.js} +1 -1
  52. package/out/renderer/assets/{org-access-DVLt_Z75.js → org-access-D0eAQUWQ.js} +1 -1
  53. package/out/renderer/assets/{org-surface-gate-J1G29FUu.js → org-surface-gate-Bgznt94a.js} +1 -1
  54. package/out/renderer/assets/{page-header-BSVtXSul.js → page-header-B3mzM2nC.js} +1 -1
  55. package/out/renderer/assets/{pieDiagram-IB7DONF6-D9NPKlbA.js → pieDiagram-IB7DONF6-3pVvYdop.js} +1 -1
  56. package/out/renderer/assets/{projects-page-CV3ap9Ch.js → projects-page-T2Yw-kRf.js} +1 -1
  57. package/out/renderer/assets/{publication-validation-CXXK8RMX.js → publication-validation-BIJPIOf1.js} +1 -1
  58. package/out/renderer/assets/{quadrantDiagram-7GDLP6J5-Dp6sSgy_.js → quadrantDiagram-7GDLP6J5-Dttg4cdR.js} +1 -1
  59. package/out/renderer/assets/{radar-MK3ICKWK-BdYaxH9C.js → radar-MK3ICKWK-Bd7wnpF5.js} +1 -1
  60. package/out/renderer/assets/{radient-auth-buttons-2gyRX5Xg.js → radient-auth-buttons-MPoHRsQX.js} +1 -1
  61. package/out/renderer/assets/{requirementDiagram-KVF5MWMF-CSxZpxDc.js → requirementDiagram-KVF5MWMF-Jiaz4ehK.js} +1 -1
  62. package/out/renderer/assets/{sankeyDiagram-QLVOVGJD-DNfJtnGS.js → sankeyDiagram-QLVOVGJD-C4tMl9ww.js} +1 -1
  63. package/out/renderer/assets/{schedules-page-BMY6s4UJ.js → schedules-page-CR7bLqQt.js} +1 -1
  64. package/out/renderer/assets/{sequenceDiagram-X6HHIX6F-wP1VuU8h.js → sequenceDiagram-X6HHIX6F-DncET3lE.js} +1 -1
  65. package/out/renderer/assets/{settings-page-CVUD4U35.js → settings-page-B_D-wGm4.js} +1 -1
  66. package/out/renderer/assets/{stateDiagram-DGXRK772-BRguDCdq.js → stateDiagram-DGXRK772-BI1ziKRV.js} +1 -1
  67. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-Bqeb-TkR.js +1 -0
  68. package/out/renderer/assets/{timeline-definition-BDJGKUSR-Sovor235.js → timeline-definition-BDJGKUSR-DxR2rlJV.js} +1 -1
  69. package/out/renderer/assets/{ui-preferences-store-g6-xQ9NA.js → ui-preferences-store-D1IJShox.js} +1 -1
  70. package/out/renderer/assets/{use-download-agent-mutation-CKVzPGPY.js → use-download-agent-mutation-C6TvAwyM.js} +1 -1
  71. package/out/renderer/assets/{use-memberships-query-BgAi_tHu.js → use-memberships-query-AlVCuF9E.js} +1 -1
  72. package/out/renderer/assets/{use-session-snapshot-Ba7FspxL.js → use-session-snapshot-XM0bTxHC.js} +1 -1
  73. package/out/renderer/assets/{xychartDiagram-VJFVF3MP-BBlbpFBv.js → xychartDiagram-VJFVF3MP-CJW_dOUR.js} +1 -1
  74. package/out/renderer/console-capture.html +5 -5
  75. package/out/renderer/index.html +7 -7
  76. package/out/renderer/installer.html +4 -4
  77. package/out/renderer/mini.html +7 -7
  78. package/package.json +1 -1
  79. package/out/renderer/assets/browser-page-CKyYrwF0.js +0 -1
  80. package/out/renderer/assets/channel-DaruqAQQ.js +0 -1
  81. package/out/renderer/assets/classDiagram-GIVACNV2-D8vhGZVf.js +0 -1
  82. package/out/renderer/assets/classDiagram-v2-COTLJTTW-D8vhGZVf.js +0 -1
  83. package/out/renderer/assets/clone-HcmO38Fx.js +0 -1
  84. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-CqO4MBYu.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as l,t as n,j as t,c as de,e as Xn,L as es}from"./index-CsR1USrT.js";import{cw as bt,cx as ts,cy as Vt,cz as je,bQ as ns,C as xe,ah as fn,ai as It,a4 as yn,u as Lt,aK as ss,aL as as,cA as is,cB as os,cC as rs,cD as ls,cE as xn,cF as Ot,af as kn,cG as cs,cH as ds,aP as us,cI as Gt,cJ as Le,a as Ft,c as wt,cK as gs,cL as et,cM as _s,bm as ms,cN as ps,cO as hs,cP as fs,cQ as ys,d as ye,cR as jt,ad as xs,cS as ks,cT as vs,cU as bs,cV as ws,Z as Dt,cW as js,cX as Ns,a3 as vn,aR as Nt,aS as St,cY as Ss,aW as Cs,cZ as Ms,cb as Ct,ar as tt,c_ as As,c$ as Es,d0 as Rs,d1 as Mt,d2 as Ts,d3 as Is,d4 as Ls,aN as Os,bE as Fs,d5 as bn,d6 as Ds,d7 as zs,d8 as Ps,B as Us,d9 as wn,aQ as jn,da as Nn,db as Ks,dc as $s,dd as Bs,de as Hs,df as Vs,dg as Gs,dh as qs,di as Ys,D as Qs,bL as Sn,aX as Ws,bl as Zs,dj as Ke,dk as At,dl as qt,dm as Js,dn as Xs,dp as ea,dq as Cn,dr as ta,by as na,ds as sa,bT as aa,dt as ia,bS as oa,du as ra,dv as la,dw as Yt,dx as ca,dy as da,dz as ua}from"./conversation-input-sync-oIWpPfzj.js";import{K as ga,u as Ne,n as _a,o as ma,q as pa,T as ha,r as Mn}from"./ui-preferences-store-g6-xQ9NA.js";import{bh as An,bi as fa,bj as ya,bk as ie,b1 as ct,b2 as ce,bl as xa,bm as ka,aH as Qt,bn as va,bo as ba,bp as We,S as wa,b0 as ja,bq as Na,br as Sa,bs as Ca,bt as Ma,bu as Aa,bv as Ea,aS as Wt,bw as Ra,aN as Ta,aZ as Zt,bx as Ia,a_ as La,a$ as Oa,by as Fa,bz as Da}from"./index-CNvEPxPr.js";import{P as za}from"./page-header-BSVtXSul.js";import{c as b,u as Q,B,S as ue,M as Pa,Y as ot,Z as rt,_ as ze,F as Ua,G as Ka,H as $a,J as Ba,K as Ha,l as He,a0 as lt,N as Va,L as ve,I as Oe,ab as Jt,T as En,C as Ga,q as qa,r as Ya,s as Qa,v as Wa,w as Xt,p as Za,A as oe,z as Ja,E as Xa,ac as ei,a4 as ti,g as ni,k as Rn}from"./error-boundary-BfL6ia-P.js";import{R as si}from"./radient-auth-buttons-2gyRX5Xg.js";import{N as ai}from"./notebook-pen-BbGvgaYT.js";import{B as ii}from"./book-open-yKrSTgbR.js";import{a as oi,p as ht}from"./parseISO-BHJWTxrA.js";import{i as ri,a as Ie,f as li}from"./format-esAOn2VS.js";import{t as ci}from"./en-US-CHJkXXr4.js";import"./console-mirror-D12eLWy7.js";/**
1
+ import{r as l,t as n,j as t,c as de,e as Xn,L as es}from"./index-DbzmFwlT.js";import{cw as bt,cx as ts,cy as Vt,cz as je,bQ as ns,C as xe,ah as fn,ai as It,a4 as yn,u as Lt,aK as ss,aL as as,cA as is,cB as os,cC as rs,cD as ls,cE as xn,cF as Ot,af as kn,cG as cs,cH as ds,aP as us,cI as Gt,cJ as Le,a as Ft,c as wt,cK as gs,cL as et,cM as _s,bm as ms,cN as ps,cO as hs,cP as fs,cQ as ys,d as ye,cR as jt,ad as xs,cS as ks,cT as vs,cU as bs,cV as ws,Z as Dt,cW as js,cX as Ns,a3 as vn,aR as Nt,aS as St,cY as Ss,aW as Cs,cZ as Ms,cb as Ct,ar as tt,c_ as As,c$ as Es,d0 as Rs,d1 as Mt,d2 as Ts,d3 as Is,d4 as Ls,aN as Os,bE as Fs,d5 as bn,d6 as Ds,d7 as zs,d8 as Ps,B as Us,d9 as wn,aQ as jn,da as Nn,db as Ks,dc as $s,dd as Bs,de as Hs,df as Vs,dg as Gs,dh as qs,di as Ys,D as Qs,bL as Sn,aX as Ws,bl as Zs,dj as Ke,dk as At,dl as qt,dm as Js,dn as Xs,dp as ea,dq as Cn,dr as ta,by as na,ds as sa,bT as aa,dt as ia,bS as oa,du as ra,dv as la,dw as Yt,dx as ca,dy as da,dz as ua}from"./conversation-input-sync-Cs9wr7F7.js";import{K as ga,u as Ne,n as _a,o as ma,q as pa,T as ha,r as Mn}from"./ui-preferences-store-D1IJShox.js";import{bh as An,bi as fa,bj as ya,bk as ie,b1 as ct,b2 as ce,bl as xa,bm as ka,aH as Qt,bn as va,bo as ba,bp as We,S as wa,b0 as ja,bq as Na,br as Sa,bs as Ca,bt as Ma,bu as Aa,bv as Ea,aS as Wt,bw as Ra,aN as Ta,aZ as Zt,bx as Ia,a_ as La,a$ as Oa,by as Fa,bz as Da}from"./index-rnB6EiBX.js";import{P as za}from"./page-header-B3mzM2nC.js";import{c as b,u as Q,B,S as ue,M as Pa,Y as ot,Z as rt,_ as ze,F as Ua,G as Ka,H as $a,J as Ba,K as Ha,l as He,a0 as lt,N as Va,L as ve,I as Oe,ab as Jt,T as En,C as Ga,q as qa,r as Ya,s as Qa,v as Wa,w as Xt,p as Za,A as oe,z as Ja,E as Xa,ac as ei,a4 as ti,g as ni,k as Rn}from"./error-boundary-B5YLbOOu.js";import{R as si}from"./radient-auth-buttons-MPoHRsQX.js";import{N as ai}from"./notebook-pen-Dj0km82T.js";import{B as ii}from"./book-open--60aKTv6.js";import{a as oi,p as ht}from"./parseISO-BHJWTxrA.js";import{i as ri,a as Ie,f as li}from"./format-esAOn2VS.js";import{t as ci}from"./en-US-CHJkXXr4.js";import"./console-mirror-Ch4jKiRK.js";/**
2
2
  * @license lucide-react v0.507.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1 +1 @@
1
- import{s as W,a as P,S as N}from"./chunk-AEK57VVT-Bx4nZ-57.js";import{_ as u,c as t,d as z,l as S,e as C,k as T,u as U}from"./mermaid.core-kSHzKq9G.js";import{G as F}from"./graph-R1Ok41yA.js";import{l as O}from"./layout-DQq3NfPk.js";import{y as J,z as X}from"./conversation-input-sync-oIWpPfzj.js";import"./chunk-RZ5BOZE2-Civ6_Z-P.js";import"./index-CsR1USrT.js";import"./_baseUniq-hdy9kmQQ.js";import"./_basePickBy-Be_5LfVS.js";import"./ui-preferences-store-g6-xQ9NA.js";import"./error-boundary-BfL6ia-P.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),K=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,x=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(x,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),p=x.node().getBBox(),c=Math.max(p.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",p.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Q=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),x=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),p=s.node().getBBox().width+n;let c=Math.max(p,x);c===x&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,p>x&&(l=(x-c)/2+o),Math.abs(a-B.x)<o&&p>x&&(l=a-(p-x)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),p<=x&&s.attr("x",a+(c-n)/2-p/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let x=e.replace(/\r\n/g,"<br/>");x=x.replace(/\n/g,"<br/>");const a=x.split(T.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const p=y.trim();if(p.length>0){const c=g.append("tspan");if(c.text(p),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&Z(n,i),i.type==="default"&&i.descriptions.length>0&&K(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=J().x(function(s){return s.x}).y(function(s){return s.y}).curve(X),x=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),x.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:p}=U.calcLabelPosition(i.points),c=T.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",p+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,p+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,p)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",p+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",p-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,H={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=z("#i"+i));const x=n==="sandbox"?z(g.nodes()[0].contentDocument.body):z("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=x.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,x,a,o);const p=b.padding,c=s.node().getBBox(),l=c.width+p*2,B=c.height+p*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,x)=>{const a=new F({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s<e.length;s++)if(e[s].stmt==="relation"){y=!1;break}d?a.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:y?1:b.edgeLengthFactor,nodeSep:y?1:50,isMultiGraph:!0}):a.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:y?1:b.edgeLengthFactor,nodeSep:y?1:50,ranker:"tight-tree",isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});const p=x.db.getStates(),c=x.db.getRelations(),l=Object.keys(p);for(const r of l){const f=p[r];d&&(f.parentId=d);let h;if(f.doc){let w=i.append("g").attr("id",f.id).attr("class","stateGroup");h=R(f.doc,w,f.id,!o,n,g,x);{w=Q(w,f,o);let v=w.node().getBBox();h.width=v.width,h.height=v.height+b.padding/2,H[f.id]={y:b.compositTitleSize}}}else h=_(i,f,a);if(f.note){const w={descriptions:[],id:f.id+"-note",note:f.note,type:"note"},v=_(i,w,a);f.note.position==="left of"?(a.setNode(h.id+"-note",v),a.setNode(h.id,h)):(a.setNode(h.id,h),a.setNode(h.id+"-note",v)),a.setParent(h.id,h.id+"-group"),a.setParent(h.id+"-note",h.id+"-group")}else a.setNode(h.id,h)}S.debug("Count=",a.nodeCount(),a);let B=0;c.forEach(function(r){B++,S.debug("Setting edge",r),a.setEdge(r.id1,r.id2,{relation:r,width:dt(r.title),height:b.labelHeight*T.getRows(r.title).length,labelpos:"c"},"id"+B)}),O(a),S.debug("Graph after layout",a.nodes());const m=i.node();a.nodes().forEach(function(r){r!==void 0&&a.node(r)!==void 0?(S.warn("Node "+r+": "+JSON.stringify(a.node(r))),n.select("#"+m.id+" #"+r).attr("transform","translate("+(a.node(r).x-a.node(r).width/2)+","+(a.node(r).y+(H[r]?H[r].y:0)-a.node(r).height/2)+" )"),n.select("#"+m.id+" #"+r).attr("data-x-shift",a.node(r).x-a.node(r).width/2),g.querySelectorAll("#"+m.id+" #"+r+" .divider").forEach(h=>{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},Bt={parser:P,get db(){return new N(1)},renderer:ot,styles:W,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{Bt as diagram};
1
+ import{s as W,a as P,S as N}from"./chunk-AEK57VVT-C8IWMgPw.js";import{_ as u,c as t,d as z,l as S,e as C,k as T,u as U}from"./mermaid.core-C14g_ZP7.js";import{G as F}from"./graph-CGuSrplO.js";import{l as O}from"./layout-BM7AzCJ1.js";import{y as J,z as X}from"./conversation-input-sync-Cs9wr7F7.js";import"./chunk-RZ5BOZE2-DiGk8o7V.js";import"./index-DbzmFwlT.js";import"./_baseUniq-5Fk4AsiY.js";import"./_basePickBy-BZpmSLU-.js";import"./ui-preferences-store-D1IJShox.js";import"./error-boundary-B5YLbOOu.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),K=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,x=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(x,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),p=x.node().getBBox(),c=Math.max(p.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",p.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Q=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),x=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),p=s.node().getBBox().width+n;let c=Math.max(p,x);c===x&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,p>x&&(l=(x-c)/2+o),Math.abs(a-B.x)<o&&p>x&&(l=a-(p-x)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),p<=x&&s.attr("x",a+(c-n)/2-p/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let x=e.replace(/\r\n/g,"<br/>");x=x.replace(/\n/g,"<br/>");const a=x.split(T.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const p=y.trim();if(p.length>0){const c=g.append("tspan");if(c.text(p),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&Z(n,i),i.type==="default"&&i.descriptions.length>0&&K(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=J().x(function(s){return s.x}).y(function(s){return s.y}).curve(X),x=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),x.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:p}=U.calcLabelPosition(i.points),c=T.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",p+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,p+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,p)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",p+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",p-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,H={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=z("#i"+i));const x=n==="sandbox"?z(g.nodes()[0].contentDocument.body):z("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=x.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,x,a,o);const p=b.padding,c=s.node().getBBox(),l=c.width+p*2,B=c.height+p*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,x)=>{const a=new F({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s<e.length;s++)if(e[s].stmt==="relation"){y=!1;break}d?a.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:y?1:b.edgeLengthFactor,nodeSep:y?1:50,isMultiGraph:!0}):a.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:y?1:b.edgeLengthFactor,nodeSep:y?1:50,ranker:"tight-tree",isMultiGraph:!0}),a.setDefaultEdgeLabel(function(){return{}});const p=x.db.getStates(),c=x.db.getRelations(),l=Object.keys(p);for(const r of l){const f=p[r];d&&(f.parentId=d);let h;if(f.doc){let w=i.append("g").attr("id",f.id).attr("class","stateGroup");h=R(f.doc,w,f.id,!o,n,g,x);{w=Q(w,f,o);let v=w.node().getBBox();h.width=v.width,h.height=v.height+b.padding/2,H[f.id]={y:b.compositTitleSize}}}else h=_(i,f,a);if(f.note){const w={descriptions:[],id:f.id+"-note",note:f.note,type:"note"},v=_(i,w,a);f.note.position==="left of"?(a.setNode(h.id+"-note",v),a.setNode(h.id,h)):(a.setNode(h.id,h),a.setNode(h.id+"-note",v)),a.setParent(h.id,h.id+"-group"),a.setParent(h.id+"-note",h.id+"-group")}else a.setNode(h.id,h)}S.debug("Count=",a.nodeCount(),a);let B=0;c.forEach(function(r){B++,S.debug("Setting edge",r),a.setEdge(r.id1,r.id2,{relation:r,width:dt(r.title),height:b.labelHeight*T.getRows(r.title).length,labelpos:"c"},"id"+B)}),O(a),S.debug("Graph after layout",a.nodes());const m=i.node();a.nodes().forEach(function(r){r!==void 0&&a.node(r)!==void 0?(S.warn("Node "+r+": "+JSON.stringify(a.node(r))),n.select("#"+m.id+" #"+r).attr("transform","translate("+(a.node(r).x-a.node(r).width/2)+","+(a.node(r).y+(H[r]?H[r].y:0)-a.node(r).height/2)+" )"),n.select("#"+m.id+" #"+r).attr("data-x-shift",a.node(r).x-a.node(r).width/2),g.querySelectorAll("#"+m.id+" #"+r+" .divider").forEach(h=>{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},Bt={parser:P,get db(){return new N(1)},renderer:ot,styles:W,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};export{Bt as diagram};
@@ -0,0 +1 @@
1
+ import{s as r,b as e,a,S as s}from"./chunk-AEK57VVT-C8IWMgPw.js";import{_ as i}from"./mermaid.core-C14g_ZP7.js";import"./chunk-RZ5BOZE2-DiGk8o7V.js";import"./conversation-input-sync-Cs9wr7F7.js";import"./index-DbzmFwlT.js";import"./ui-preferences-store-D1IJShox.js";import"./error-boundary-B5YLbOOu.js";var n={parser:a,get db(){return new s(2)},renderer:e,styles:r,init:i(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};export{n as diagram};
@@ -1,4 +1,4 @@
1
- import{_ as s,c as xt,l as E,d as j,V as kt,W as vt,X as _t,Y as bt,D as wt,$ as St,z as Et}from"./mermaid.core-kSHzKq9G.js";import{d as nt}from"./arc-CgN-UZqL.js";import"./conversation-input-sync-oIWpPfzj.js";import"./index-CsR1USrT.js";import"./ui-preferences-store-g6-xQ9NA.js";import"./error-boundary-BfL6ia-P.js";var Q=function(){var n=s(function(x,i,a,c){for(a=a||{},c=x.length;c--;a[x[c]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],h=[1,13],f=[1,16],m=[1,17],u={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,c,p,y,o,w){var v=o.length-1;switch(y){case 1:return o[v-1];case 2:this.$=[];break;case 3:o[v-1].push(o[v]),this.$=o[v-1];break;case 4:case 5:this.$=o[v];break;case 6:case 7:this.$=[];break;case 8:p.getCommonDb().setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),p.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),p.getCommonDb().setAccDescription(this.$);break;case 12:p.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 15:p.addTask(o[v],0,""),this.$=o[v];break;case 16:p.addEvent(o[v].substr(2)),this.$=o[v];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=a,c}},"parseError"),parse:s(function(i){var a=this,c=[0],p=[],y=[null],o=[],w=this.table,v="",N=0,A=0,V=2,U=1,M=o.slice.call(arguments,1),g=Object.create(this.lexer),b={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(b.yy[L]=this.yy[L]);g.setInput(i,b.yy),b.yy.lexer=g,b.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var P=g.yylloc;o.push(P);var W=g.options&&g.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Z(T){c.length=c.length-2*T,y.length=y.length-T,o.length=o.length-T}s(Z,"popStack");function tt(){var T;return T=p.pop()||g.lex()||U,typeof T!="number"&&(T instanceof Array&&(p=T,T=p.pop()),T=a.symbols_[T]||T),T}s(tt,"lex");for(var S,C,I,J,R={},B,$,et,O;;){if(C=c[c.length-1],this.defaultActions[C]?I=this.defaultActions[C]:((S===null||typeof S>"u")&&(S=tt()),I=w[C]&&w[C][S]),typeof I>"u"||!I.length||!I[0]){var K="";O=[];for(B in w[C])this.terminals_[B]&&B>V&&O.push("'"+this.terminals_[B]+"'");g.showPosition?K="Parse error on line "+(N+1)+`:
1
+ import{_ as s,c as xt,l as E,d as j,V as kt,W as vt,X as _t,Y as bt,D as wt,$ as St,z as Et}from"./mermaid.core-C14g_ZP7.js";import{d as nt}from"./arc-Cgq0RekE.js";import"./conversation-input-sync-Cs9wr7F7.js";import"./index-DbzmFwlT.js";import"./ui-preferences-store-D1IJShox.js";import"./error-boundary-B5YLbOOu.js";var Q=function(){var n=s(function(x,i,a,c){for(a=a||{},c=x.length;c--;a[x[c]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],d=[1,12],h=[1,13],f=[1,16],m=[1,17],u={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,c,p,y,o,w){var v=o.length-1;switch(y){case 1:return o[v-1];case 2:this.$=[];break;case 3:o[v-1].push(o[v]),this.$=o[v-1];break;case 4:case 5:this.$=o[v];break;case 6:case 7:this.$=[];break;case 8:p.getCommonDb().setDiagramTitle(o[v].substr(6)),this.$=o[v].substr(6);break;case 9:this.$=o[v].trim(),p.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[v].trim(),p.getCommonDb().setAccDescription(this.$);break;case 12:p.addSection(o[v].substr(8)),this.$=o[v].substr(8);break;case 15:p.addTask(o[v],0,""),this.$=o[v];break;case 16:p.addEvent(o[v].substr(2)),this.$=o[v];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:d,17:h,18:14,19:15,20:f,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=a,c}},"parseError"),parse:s(function(i){var a=this,c=[0],p=[],y=[null],o=[],w=this.table,v="",N=0,A=0,V=2,U=1,M=o.slice.call(arguments,1),g=Object.create(this.lexer),b={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(b.yy[L]=this.yy[L]);g.setInput(i,b.yy),b.yy.lexer=g,b.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var P=g.yylloc;o.push(P);var W=g.options&&g.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Z(T){c.length=c.length-2*T,y.length=y.length-T,o.length=o.length-T}s(Z,"popStack");function tt(){var T;return T=p.pop()||g.lex()||U,typeof T!="number"&&(T instanceof Array&&(p=T,T=p.pop()),T=a.symbols_[T]||T),T}s(tt,"lex");for(var S,C,I,J,R={},B,$,et,O;;){if(C=c[c.length-1],this.defaultActions[C]?I=this.defaultActions[C]:((S===null||typeof S>"u")&&(S=tt()),I=w[C]&&w[C][S]),typeof I>"u"||!I.length||!I[0]){var K="";O=[];for(B in w[C])this.terminals_[B]&&B>V&&O.push("'"+this.terminals_[B]+"'");g.showPosition?K="Parse error on line "+(N+1)+`:
2
2
  `+g.showPosition()+`
3
3
  Expecting `+O.join(", ")+", got '"+(this.terminals_[S]||S)+"'":K="Parse error on line "+(N+1)+": Unexpected "+(S==U?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(K,{text:g.match,token:this.terminals_[S]||S,line:g.yylineno,loc:P,expected:O})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+S);switch(I[0]){case 1:c.push(S),y.push(g.yytext),o.push(g.yylloc),c.push(I[1]),S=null,A=g.yyleng,v=g.yytext,N=g.yylineno,P=g.yylloc;break;case 2:if($=this.productions_[I[1]][1],R.$=y[y.length-$],R._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},W&&(R._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),J=this.performAction.apply(R,[v,A,N,b.yy,I[1],y,o].concat(M)),typeof J<"u")return J;$&&(c=c.slice(0,-1*$*2),y=y.slice(0,-1*$),o=o.slice(0,-1*$)),c.push(this.productions_[I[1]][0]),y.push(R.$),o.push(R._$),et=w[c[c.length-2]][c[c.length-1]],c.push(et);break;case 3:return!0}}return!0},"parse")},k=function(){var x={EOF:1,parseError:s(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,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:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var p=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),c.length-1&&(this.yylineno-=c.length-1);var y=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:c?(c.length===p.length?this.yylloc.first_column:0)+p[p.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(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:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`