import{m as a,p as te,a as G,aN as fe,bd as me,be,bf as _e,b7 as ke,r as z,o as M,g as Ee,k as Se,b8 as Ne,b9 as le,ba as ce}from"./mermaid.esm.min-RL45CjrO.js";import{o as xe}from"./chunk-ZZTKAOFA-t_YYI9eu.js";import"./app-BwvsBlHw.js";var Z=(function(){var t=a(function(d,e,s,r){for(s=s||{},r=d.length;r--;s[d[r]]=e);return s},"o"),u=[1,4],p=[1,13],n=[1,12],g=[1,15],f=[1,16],k=[1,20],l=[1,19],D=[6,7,8],v=[1,26],h=[1,24],T=[1,25],S=[6,7,11],$=[1,31],O=[6,7,11,24],b=[1,6,13,16,17,20,23],A=[1,35],I=[1,36],w=[1,6,7,11,13,16,17,20,23],B=[1,38],H={trace:a(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:a(function(d,e,s,r,c,i,E){var o=i.length-1;switch(c){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",i[o-1].id),r.addNode(i[o-2].length,i[o-1].id,i[o-1].descr,i[o-1].type,i[o]);break;case 16:r.getLogger().info("Node: ",i[o].id),r.addNode(i[o-1].length,i[o].id,i[o].descr,i[o].type);break;case 17:r.getLogger().trace("Icon: ",i[o]),r.decorateNode({icon:i[o]});break;case 18:case 23:r.decorateNode({class:i[o]});break;case 19:r.getLogger().trace("SPACELIST");break;case 20:r.getLogger().trace("Node: ",i[o-1].id),r.addNode(0,i[o-1].id,i[o-1].descr,i[o-1].type,i[o]);break;case 21:r.getLogger().trace("Node: ",i[o].id),r.addNode(0,i[o].id,i[o].descr,i[o].type);break;case 22:r.decorateNode({icon:i[o]});break;case 27:r.getLogger().trace("node found ..",i[o-2]),this.$={id:i[o-1],descr:i[o-1],type:r.getType(i[o-2],i[o])};break;case 28:this.$={id:i[o],descr:i[o],type:0};break;case 29:r.getLogger().trace("node found ..",i[o-3]),this.$={id:i[o-3],descr:i[o-1],type:r.getType(i[o-2],i[o])};break;case 30:this.$=i[o-1]+i[o];break;case 31:this.$=i[o];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:p,7:[1,10],9:9,12:11,13:n,14:14,16:g,17:f,18:17,19:18,20:k,23:l},t(D,[2,3]),{1:[2,2]},t(D,[2,4]),t(D,[2,5]),{1:[2,6],6:p,12:21,13:n,14:14,16:g,17:f,18:17,19:18,20:k,23:l},{6:p,9:22,12:11,13:n,14:14,16:g,17:f,18:17,19:18,20:k,23:l},{6:v,7:h,10:23,11:T},t(S,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:k,23:l}),t(S,[2,19]),t(S,[2,21],{15:30,24:$}),t(S,[2,22]),t(S,[2,23]),t(O,[2,25]),t(O,[2,26]),t(O,[2,28],{20:[1,32]}),{21:[1,33]},{6:v,7:h,10:34,11:T},{1:[2,7],6:p,12:21,13:n,14:14,16:g,17:f,18:17,19:18,20:k,23:l},t(b,[2,14],{7:A,11:I}),t(w,[2,8]),t(w,[2,9]),t(w,[2,10]),t(S,[2,16],{15:37,24:$}),t(S,[2,17]),t(S,[2,18]),t(S,[2,20],{24:B}),t(O,[2,31]),{21:[1,39]},{22:[1,40]},t(b,[2,13],{7:A,11:I}),t(w,[2,11]),t(w,[2,12]),t(S,[2,15],{24:B}),t(O,[2,30]),{22:[1,41]},t(O,[2,27]),t(O,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:a(function(d,e){if(e.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=e,s}},"parseError"),parse:a(function(d){var e=this,s=[0],r=[],c=[null],i=[],E=this.table,o="",W=0,ne=0,ue=0,ge=2,re=1,pe=i.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(R.yy[Q]=this.yy[Q]);m.setInput(d,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var V=m.yylloc;i.push(V);var de=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ye(N){s.length=s.length-2*N,c.length=c.length-N,i.length=i.length-N}a(ye,"popStack");function ae(){var N;return N=r.pop()||m.lex()||re,typeof N!="number"&&(N instanceof Array&&(r=N,N=r.pop()),N=e.symbols_[N]||N),N}a(ae,"lex");for(var _,X,P,x,We,q,F={},K,C,oe,j;;){if(P=s[s.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=E[P]&&E[P][_]),typeof x>"u"||!x.length||!x[0]){var Y="";j=[];for(K in E[P])this.terminals_[K]&&K>ge&&j.push("'"+this.terminals_[K]+"'");m.showPosition?Y="Parse error on line "+(W+1)+`: `+m.showPosition()+` Expecting `+j.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Y="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Y,{text:m.match,token:this.terminals_[_]||_,line:m.yylineno,loc:V,expected:j})}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:s.push(_),c.push(m.yytext),i.push(m.yylloc),s.push(x[1]),_=null,X?(_=X,X=null):(ne=m.yyleng,o=m.yytext,W=m.yylineno,V=m.yylloc,ue>0);break;case 2:if(C=this.productions_[x[1]][1],F.$=c[c.length-C],F._$={first_line:i[i.length-(C||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(C||1)].first_column,last_column:i[i.length-1].last_column},de&&(F._$.range=[i[i.length-(C||1)].range[0],i[i.length-1].range[1]]),q=this.performAction.apply(F,[o,ne,W,R.yy,x[1],c,i].concat(pe)),typeof q<"u")return q;C&&(s=s.slice(0,-1*C*2),c=c.slice(0,-1*C),i=i.slice(0,-1*C)),s.push(this.productions_[x[1]][0]),c.push(F.$),i.push(F._$),oe=E[s[s.length-2]][s[s.length-1]],s.push(oe);break;case 3:return!0}}return!0},"parse")},J=(function(){var d={EOF:1,parseError:a(function(e,s){if(this.yy.parser)this.yy.parser.parseError(e,s);else throw new Error(e)},"parseError"),setInput:a(function(e,s){return this.yy=s||this.yy||{},this._input=e,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:a(function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var s=e.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:a(function(e){var s=e.length,r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=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 i=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===c.length?this.yylloc.first_column:0)+c[c.length-r.length].length-r[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(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). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(e){this.unput(this.match.slice(e))},"less"),pastInput:a(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var e=this.pastInput(),s=new Array(e.length+1).join("-");return e+this.upcomingInput()+` `+s+"^"},"showPosition"),test_match:a(function(e,s){var r,c,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),c=e[0].match(/(?:\r\n?|\n).*/g),c&&(this.yylineno+=c.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:c?c[c.length-1].length-c[c.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],r=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var E in i)this[E]=i[E];return!1}return!1},"test_match"),next:a(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,s,r,c;this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),E=0;Es[0].length)){if(s=r,c=E,this.options.backtrack_lexer){if(e=this.test_match(r,i[E]),e!==!1)return e;if(this._backtrack){s=!1;continue}else return!1}else if(!this.options.flex)break}return s?(e=this.test_match(s,i[c]),e!==!1?e:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text. `+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:a(function(){var e=this.next();return e||this.lex()},"lex"),begin:a(function(e){this.conditionStack.push(e)},"begin"),popState:a(function(){var e=this.conditionStack.length-1;return e>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:a(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:a(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:a(function(e){this.begin(e)},"pushState"),stateStackSize:a(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:a(function(e,s,r,c){switch(r){case 0:return this.pushState("shapeData"),s.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:let i=/\n\s*/g;return s.yytext=s.yytext.replace(i,"
"),24;case 4:return 24;case 5:this.popState();break;case 6:return e.getLogger().trace("Found comment",s.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 10:this.popState();break;case 11:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return e.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:e.getLogger().trace("end icon"),this.popState();break;case 16:return e.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return e.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:return this.begin("NODE"),20;case 21:return this.begin("NODE"),20;case 22:return this.begin("NODE"),20;case 23:return this.begin("NODE"),20;case 24:return 13;case 25:return 23;case 26:return 11;case 27:this.begin("NSTR2");break;case 28:return"NODE_DESCR";case 29:this.popState();break;case 30:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return e.getLogger().trace("description:",s.yytext),"NODE_DESCR";case 32:this.popState();break;case 33:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),e.getLogger().trace("node end ...",s.yytext),"NODE_DEND";case 36:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 37:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 38:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 39:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 40:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 41:return e.getLogger().trace("Long description:",s.yytext),21;case 42:return e.getLogger().trace("Long description:",s.yytext),21}},"anonymous"),rules:[/^(?:@\{)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^\"]+)/i,/^(?:[^}^"]+)/i,/^(?:\})/i,/^(?:\s*%%.*)/i,/^(?:kanban\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}@]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{shapeDataEndBracket:{rules:[],inclusive:!1},shapeDataStr:{rules:[2,3],inclusive:!1},shapeData:{rules:[1,4,5],inclusive:!1},CLASS:{rules:[9,10],inclusive:!1},ICON:{rules:[14,15],inclusive:!1},NSTR2:{rules:[28,29],inclusive:!1},NSTR:{rules:[31,32],inclusive:!1},NODE:{rules:[27,30,33,34,35,36,37,38,39,40,41,42],inclusive:!1},INITIAL:{rules:[0,6,7,8,11,12,13,16,17,18,19,20,21,22,23,24,25,26],inclusive:!0}}};return d})();H.lexer=J;function U(){this.yy={}}return a(U,"Parser"),U.prototype=H,H.Parser=U,new U})();Z.parser=Z;var Le=Z,L=[],ie=[],ee=0,se={},De=a(()=>{L=[],ie=[],ee=0,se={}},"clear"),Oe=a(t=>{if(L.length===0)return null;let u=L[0].level,p=null;for(let n=L.length-1;n>=0;n--)if(L[n].level===u&&!p&&(p=L[n]),L[n].levell.parentId===g.id);for(let l of k){let D={id:l.id,parentId:g.id,label:M(l.label??"",n),isGroup:!1,ticket:l?.ticket,priority:l?.priority,assigned:l?.assigned,icon:l?.icon,shape:"kanbanItem",level:l.level,rx:5,ry:5,cssStyles:["text-align: left"]};u.push(D)}}return{nodes:u,edges:t,other:{},config:G()}},"getData"),Ce=a((t,u,p,n,g)=>{let f=G(),k=f.mindmap?.padding??z.mindmap.padding;switch(n){case y.ROUNDED_RECT:case y.RECT:case y.HEXAGON:k*=2}let l={id:M(u,f)||"kbn"+ee++,level:t,label:M(p,f),width:f.mindmap?.maxNodeWidth??z.mindmap.maxNodeWidth,padding:k,isGroup:!1};if(g!==void 0){let v;g.includes(` `)?v=g+` `:v=`{ `+g+` }`;let h=Ee(v,{schema:Se});if(h.shape&&(h.shape!==h.shape.toLowerCase()||h.shape.includes("_")))throw new Error(`No such shape: ${h.shape}. Shape names should be lowercase.`);h?.shape&&h.shape==="kanbanItem"&&(l.shape=h?.shape),h?.label&&(l.label=h?.label),h?.icon&&(l.icon=h?.icon.toString()),h?.assigned&&(l.assigned=h?.assigned.toString()),h?.ticket&&(l.ticket=h?.ticket.toString()),h?.priority&&(l.priority=h?.priority)}let D=Oe(t);D?l.parentId=D.id||"kbn"+ee++:ie.push(l),L.push(l)},"addNode"),y={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},Ae=a((t,u)=>{switch(te.debug("In get type",t,u),t){case"[":return y.RECT;case"(":return u===")"?y.ROUNDED_RECT:y.CLOUD;case"((":return y.CIRCLE;case")":return y.CLOUD;case"))":return y.BANG;case"{{":return y.HEXAGON;default:return y.DEFAULT}},"getType"),Ie=a((t,u)=>{se[t]=u},"setElementForId"),we=a(t=>{if(!t)return;let u=G(),p=L[L.length-1];t.icon&&(p.icon=M(t.icon,u)),t.class&&(p.cssClasses=M(t.class,u))},"decorateNode"),Te=a(t=>{switch(t){case y.DEFAULT:return"no-border";case y.RECT:return"rect";case y.ROUNDED_RECT:return"rounded-rect";case y.CIRCLE:return"circle";case y.CLOUD:return"cloud";case y.BANG:return"bang";case y.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),$e=a(()=>te,"getLogger"),Re=a(t=>se[t],"getElementById"),Pe={clear:De,addNode:Ce,getSections:he,getData:ve,nodeType:y,getType:Ae,setElementForId:Ie,decorateNode:we,type2Str:Te,getLogger:$e,getElementById:Re},Be=Pe,Ue=a(async(t,u,p,n)=>{te.debug(`Rendering kanban diagram `+t);let g=n.db.getData(),f=G();f.htmlLabels=!1;let k=fe(u),l=k.append("g");l.attr("class","sections");let D=k.append("g");D.attr("class","items");let v=g.nodes.filter(b=>b.isGroup),h=0,T=10,S=[],$=25;for(let b of v){let A=f?.kanban?.sectionWidth||200;h=h+1,b.x=A*h+(h-1)*T/2,b.width=A,b.y=0,b.height=A*3,b.rx=5,b.ry=5,b.cssClasses=b.cssClasses+" section-"+h;let I=await me(l,b);$=Math.max($,I?.labelBBox?.height),S.push(I)}let O=0;for(let b of v){let A=S[O];O=O+1;let I=f?.kanban?.sectionWidth||200,w=-I*3/2+$,B=w,H=g.nodes.filter(d=>d.parentId===b.id);for(let d of H){if(d.isGroup)throw new Error("Groups within groups are not allowed in Kanban diagrams");d.x=b.x,d.width=I-1.5*T;let e=(await be(D,d,{config:f})).node().getBBox();d.y=B+e.height/2,await _e(d),B=d.y+e.height/2+T/2}let J=A.cluster.select("rect"),U=Math.max(B-w+3*T,50)+($-25);J.attr("height",U)}ke(void 0,k,f.mindmap?.padding??z.kanban.padding,f.mindmap?.useMaxWidth??z.kanban.useMaxWidth)},"draw"),Fe={draw:Ue},Me=a(t=>{let u="";for(let n=0;nt.darkMode?ce(n,g):le(n,g),"adjuster");for(let n=0;n` .edge { stroke-width: 3; } ${Me(t)} .section-root rect, .section-root path, .section-root circle, .section-root polygon { fill: ${t.git0}; } .section-root text { fill: ${t.gitBranchLabel0}; } .icon-container { height:100%; display: flex; justify-content: center; align-items: center; } .edge { fill: none; } .cluster-label, .label { color: ${t.textColor}; fill: ${t.textColor}; } .kanban-label { dy: 1em; alignment-baseline: middle; text-anchor: middle; dominant-baseline: middle; text-align: center; } ${xe()} `,"getStyles"),Ge=He,Je={db:Be,renderer:Fe,parser:Le,styles:Ge};export{Je as diagram};