1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7511],{71603:function(t,e,n){n.d(e,{G:function(){return i}});var i=(0,n(99573).eW)(()=>"\n /* Font Awesome icon styling - consolidated */\n .label-icon {\n display: inline-block;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n }\n \n .node .label-icon path {\n fill: currentColor;\n stroke: revert;\n stroke-width: revert;\n }\n","getIconStyles")},37511:function(t,e,n){n.d(e,{diagram:function(){return W}});var i=n(66462),s=n(71603),o=n(70118),r=n(93950);n(1565),n(66005),n(6045),n(42877);var a=n(66764),l=n(99573),c=n(74494),h=n(11679),u=n(59554),d=function(){var t=(0,l.eW)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[1,4],n=[1,13],i=[1,12],s=[1,15],o=[1,16],r=[1,20],a=[1,19],c=[6,7,8],h=[1,26],u=[1,24],d=[1,25],g=[6,7,11],p=[1,31],y=[6,7,11,24],f=[1,6,13,16,17,20,23],m=[1,35],b=[1,36],_=[1,6,7,11,13,16,17,20,23],k=[1,38],E={trace:(0,l.eW)(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:(0,l.eW)(function(t,e,n,i,s,o,r){var a=o.length-1;switch(s){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",o[a-1].id),i.addNode(o[a-2].length,o[a-1].id,o[a-1].descr,o[a-1].type,o[a]);break;case 16:i.getLogger().info("Node: ",o[a].id),i.addNode(o[a-1].length,o[a].id,o[a].descr,o[a].type);break;case 17:i.getLogger().trace("Icon: ",o[a]),i.decorateNode({icon:o[a]});break;case 18:case 23:i.decorateNode({class:o[a]});break;case 19:i.getLogger().trace("SPACELIST");break;case 20:i.getLogger().trace("Node: ",o[a-1].id),i.addNode(0,o[a-1].id,o[a-1].descr,o[a-1].type,o[a]);break;case 21:i.getLogger().trace("Node: ",o[a].id),i.addNode(0,o[a].id,o[a].descr,o[a].type);break;case 22:i.decorateNode({icon:o[a]});break;case 27:i.getLogger().trace("node found ..",o[a-2]),this.$={id:o[a-1],descr:o[a-1],type:i.getType(o[a-2],o[a])};break;case 28:this.$={id:o[a],descr:o[a],type:0};break;case 29:i.getLogger().trace("node found ..",o[a-3]),this.$={id:o[a-3],descr:o[a-1],type:i.getType(o[a-2],o[a])};break;case 30:this.$=o[a-1]+o[a];break;case 31:this.$=o[a]}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:n,7:[1,10],9:9,12:11,13:i,14:14,16:s,17:o,18:17,19:18,20:r,23:a},t(c,[2,3]),{1:[2,2]},t(c,[2,4]),t(c,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,16:s,17:o,18:17,19:18,20:r,23:a},{6:n,9:22,12:11,13:i,14:14,16:s,17:o,18:17,19:18,20:r,23:a},{6:h,7:u,10:23,11:d},t(g,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:r,23:a}),t(g,[2,19]),t(g,[2,21],{15:30,24:p}),t(g,[2,22]),t(g,[2,23]),t(y,[2,25]),t(y,[2,26]),t(y,[2,28],{20:[1,32]}),{21:[1,33]},{6:h,7:u,10:34,11:d},{1:[2,7],6:n,12:21,13:i,14:14,16:s,17:o,18:17,19:18,20:r,23:a},t(f,[2,14],{7:m,11:b}),t(_,[2,8]),t(_,[2,9]),t(_,[2,10]),t(g,[2,16],{15:37,24:p}),t(g,[2,17]),t(g,[2,18]),t(g,[2,20],{24:k}),t(y,[2,31]),{21:[1,39]},{22:[1,40]},t(f,[2,13],{7:m,11:b}),t(_,[2,11]),t(_,[2,12]),t(g,[2,15],{24:k}),t(y,[2,30]),{22:[1,41]},t(y,[2,27]),t(y,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:(0,l.eW)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,l.eW)(function(t){var e=this,n=[0],i=[],s=[null],o=[],r=this.table,a="",c=0,h=0,u=0,d=o.slice.call(arguments,1
1),g=Object.create(this.lexer),p={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(p.yy[y]=this.yy[y]);g.setInput(t,p.yy),p.yy.lexer=g,p.yy.parser=this,void 0===g.yylloc&&(g.yylloc={});var f=g.yylloc;o.push(f);var m=g.options&&g.options.ranges;function b(){var t;return"number"!=typeof(t=i.pop()||g.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.eW)(function(t){n.length=n.length-2*t,s.length=s.length-t,o.length=o.length-t},"popStack"),(0,l.eW)(b,"lex");for(var _,k,E,v,S,N,x,L,D,O={};;){if(E=n[n.length-1],this.defaultActions[E]?v=this.defaultActions[E]:(null==_&&(_=b()),v=r[E]&&r[E][_]),void 0===v||!v.length||!v[0]){var I="";for(N in D=[],r[E])this.terminals_[N]&&N>2&&D.push("'"+this.terminals_[N]+"'");I=g.showPosition?"Parse error on line "+(c+1)+":\n"+g.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(I,{text:g.match,token:this.terminals_[_]||_,line:g.yylineno,loc:f,expected:D})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+E+", token: "+_);switch(v[0]){case 1:n.push(_),s.push(g.yytext),o.push(g.yylloc),n.push(v[1]),_=null,k?(_=k,k=null):(h=g.yyleng,a=g.yytext,c=g.yylineno,f=g.yylloc,u>0&&u--);break;case 2:if(x=this.productions_[v[1]][1],O.$=s[s.length-x],O._$={first_line:o[o.length-(x||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(x||1)].first_column,last_column:o[o.length-1].last_column},m&&(O._$.range=[o[o.length-(x||1)].range[0],o[o.length-1].range[1]]),void 0!==(S=this.performAction.apply(O,[a,h,c,p.yy,v[1],s,o].concat(d))))return S;x&&(n=n.slice(0,-1*x*2),s=s.slice(0,-1*x),o=o.slice(0,-1*x)),n.push(this.productions_[v[1]][0]),s.push(O.$),o.push(O._$),L=r[n[n.length-2]][n[n.length-1]],n.push(L);break;case 3:return!0}}return!0},"parse")},v={EOF:1,parseError:(0,l.eW)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,l.eW)(function(t,e){return this.yy=e||this.yy||{},this._input=t,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:(0,l.eW)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,l.eW)(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),n.length-1&&(this.yylineno-=n.length-1);var s=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:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.eW)(function(){return this._more=!0,this},"more"),reject:(0,l.eW)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,l.eW)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,l.eW)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.eW)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.eW)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,l.eW)(function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={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&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var o in s)this[o]=s[o];return!1},"test_match"),next:(0,l.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,s=this._currentRules(),o=0;o<s.length;o++)if((n=this._input.match(this.rules[s[o]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[o])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}
1return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,l.eW)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,l.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.eW)(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:(0,l.eW)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,l.eW)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,l.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,l.eW)(function(t,e,n,i){switch(n){case 0:return this.pushState("shapeData"),e.yytext="",24;case 1:return this.pushState("shapeDataStr"),24;case 2:return this.popState(),24;case 3:return e.yytext=e.yytext.replace(/\n\s*/g,"<br/>"),24;case 4:return 24;case 5:case 10:case 29:case 32:this.popState();break;case 6:return t.getLogger().trace("Found comment",e.yytext),6;case 7:return 8;case 8:this.begin("CLASS");break;case 9:return this.popState(),17;case 11:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 12:return t.getLogger().trace("SPACELINE"),6;case 13:return 7;case 14:return 16;case 15:t.getLogger().trace("end icon"),this.popState();break;case 16:return t.getLogger().trace("Exploding node"),this.begin("NODE"),20;case 17:return t.getLogger().trace("Cloud"),this.begin("NODE"),20;case 18:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),20;case 19:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),20;case 20:case 21:case 22: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 30:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 31:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 33:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 34:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 35:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 36:case 39:case 40:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 37:case 38:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 41:case 42:return t.getLogger().trace("Long description:",e.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}}};function S(){this.yy={}}return E.lexer=v,(0,l.eW)(S,"Parser"),S.prototype=E,E.Parser=S,new S}();d.parser=d;var g=[],p=[],y=0,f={},m=(0,l.eW)(()=>{g=[],p=[],y=0,f={}},"clear"),b=(0,l.eW)(t=>{if(0===g.length)return null;let e=g[0].level,n=null;for(let t=g.length-1;t>=0;t--)if(g[t].level!==e||n||(n=g[t]),g[t].level<e)throw Error('Items without section detected, found section ("'+g[t].label+'")');return t===(null==n?void 0:n.level)?null:n},"getSection"),_=(0,l.eW)(function(){return p},"getSections"),k=(0,l.eW)(function(){let t=[],e=_(),n=(0,a.nV)();for(let o of e){var i,s;
1let e={id:o.id,label:(0,a.oO)(null!==(i=o.label)&&void 0!==i?i:"",n),labelType:"markdown",isGroup:!0,ticket:o.ticket,shape:"kanbanSection",level:o.level,look:n.look};for(let i of(t.push(e),g.filter(t=>t.parentId===o.id))){let e={id:i.id,parentId:o.id,label:(0,a.oO)(null!==(s=i.label)&&void 0!==s?s:"",n),labelType:"markdown",isGroup:!1,ticket:null==i?void 0:i.ticket,priority:null==i?void 0:i.priority,assigned:null==i?void 0:i.assigned,icon:null==i?void 0:i.icon,shape:"kanbanItem",level:i.level,rx:5,ry:5,cssStyles:["text-align: left"]};t.push(e)}}return{nodes:t,edges:[],other:{},config:(0,a.nV)()}},"getData"),E=(0,l.eW)((t,e,n,i,s)=>{var r,l,c,h;let u=(0,a.nV)(),d=null!==(c=null===(r=u.mindmap)||void 0===r?void 0:r.padding)&&void 0!==c?c:a.vZ.mindmap.padding;switch(i){case v.ROUNDED_RECT:case v.RECT:case v.HEXAGON:d*=2}let f={id:(0,a.oO)(e,u)||"kbn"+y++,level:t,label:(0,a.oO)(n,u),width:null!==(h=null===(l=u.mindmap)||void 0===l?void 0:l.maxNodeWidth)&&void 0!==h?h:a.vZ.mindmap.maxNodeWidth,padding:d,isGroup:!1};if(void 0!==s){let t;t=s.includes("\n")?s+"\n":"{\n"+s+"\n}";let e=(0,o.z)(t,{schema:o.A});if(e.shape&&(e.shape!==e.shape.toLowerCase()||e.shape.includes("_")))throw Error("No such shape: ".concat(e.shape,". Shape names should be lowercase."));(null==e?void 0:e.shape)&&"kanbanItem"===e.shape&&(f.shape=null==e?void 0:e.shape),(null==e?void 0:e.label)&&(f.label=null==e?void 0:e.label),(null==e?void 0:e.icon)&&(f.icon=null==e?void 0:e.icon.toString()),(null==e?void 0:e.assigned)&&(f.assigned=null==e?void 0:e.assigned.toString()),(null==e?void 0:e.ticket)&&(f.ticket=null==e?void 0:e.ticket.toString()),(null==e?void 0:e.priority)&&(f.priority=null==e?void 0:e.priority)}let m=b(t);m?f.parentId=m.id||"kbn"+y++:p.push(f),g.push(f)},"addNode"),v={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},S=(0,l.eW)((t,e)=>{switch(l.cM.debug("In get type",t,e),t){case"[":return v.RECT;case"(":return")"===e?v.ROUNDED_RECT:v.CLOUD;case"((":return v.CIRCLE;case")":return v.CLOUD;case"))":return v.BANG;case"{{":return v.HEXAGON;default:return v.DEFAULT}},"getType"),N=(0,l.eW)((t,e)=>{f[t]=e},"setElementForId"),x=(0,l.eW)(t=>{if(!t)return;let e=(0,a.nV)(),n=g[g.length-1];t.icon&&(n.icon=(0,a.oO)(t.icon,e)),t.class&&(n.cssClasses=(0,a.oO)(t.class,e))},"decorateNode"),L=(0,l.eW)(t=>{switch(t){case v.DEFAULT:return"no-border";case v.RECT:return"rect";case v.ROUNDED_RECT:return"rounded-rect";case v.CIRCLE:return"circle";case v.CLOUD:return"cloud";case v.BANG:return"bang";case v.HEXAGON:return"hexgon";default:return"no-border"}},"type2Str"),D=(0,l.eW)(()=>l.cM,"getLogger"),O=(0,l.eW)(t=>f[t],"getElementById"),I=(0,l.eW)(async(t,e,n,s)=>{var o,c,h,u,d,g,p;l.cM.debug("Rendering kanban diagram\n"+t);let y=s.db.getData(),f=(0,a.nV)();f.htmlLabels=!1;let m=(0,i.P)(e);for(let t of y.nodes)t.domId="".concat(e,"-").concat(t.id);let b=m.append("g");b.attr("class","sections");let _=m.append("g");_.attr("class","items");let k=y.nodes.filter(t=>t.isGroup),E=0,v=[],S=25;for(let t of k){let e=(null==f?void 0:null===(h=f.kanban)||void 0===h?void 0:h.sectionWidth)||200;E+=1,t.x=e*E+(E-1)*10/2,t.width=e,t.y=0,t.height=3*e,t.rx=5,t.ry=5,t.cssClasses=t.cssClasses+" section-"+E;let n=await (0,r.us)(b,t);S=Math.max(S,null==n?void 0:null===(u=n.labelBBox)||void 0===u?void 0:u.height),v.push(n)}let N=0;for(let t of k){let e=v[N];N+=1;let n=(null==f?void 0:null===(d=f.kanban)||void 0===d?void 0:d.sectionWidth)||200,i=-(3*n)/2+S,s=i;for(let e of y.nodes.filter(e=>e.parentId===t.id)){if(e.isGroup)throw Error("Groups within groups are not allowed in Kanban diagrams");e.x=t.x,e.width=n-15;let i=(await (0,r.Lf)(_,e,{config:f})).node().getBBox();e.y=s+i.height/2,await (0,r.aH)(e),s=e.y+i.height/2+5}let o=e.cluster.select("rect"),a=Math.max(s-i+30,50)+(S-25);o.attr("height",a)}(0,a.j7)(void 0,m,null!==(g=null===(o=f.mindmap)||void 0===o?void 0:o.padding)&&void 0!==g?g:a.vZ.kanban.padding,null!==(p=null===(c=f.mindmap)||void 0===c?void 0:c.useMaxWidth)&&void 0!==p?p:a.vZ.kanban.useMaxWidth)},"draw"),C=(0,l.eW)(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,c.Z)(t["lineColor"+e])?t["lineColor"+e]=(0,h.Z)(t["lineColor"+e],20):t["lineColor"+e]=(0,u.Z)(t["lineColor"+e],20);let n=(0,l.eW)((e,n)=>t.darkMode?(0,u.Z)(e,n):(0,h.Z)(e,n),"adjuster");for(let i=0;i<t.THEME_COLOR_LIMIT;i++){let s=""+(17-3*i);e+="\n .section-".concat(i-1," rect, .section-").concat(i-1," path, .section-").concat(i-1," circle, .
1section-").concat(i-1," polygon, .section-").concat(i-1," path {\n fill: ").concat(n(t["cScale"+i],10),";\n stroke: ").concat(n(t["cScale"+i],10),";\n\n }\n .section-").concat(i-1," text {\n fill: ").concat(t["cScaleLabel"+i],";\n }\n .node-icon-").concat(i-1," {\n font-size: 40px;\n color: ").concat(t["cScaleLabel"+i],";\n }\n .section-edge-").concat(i-1,"{\n stroke: ").concat(t["cScale"+i],";\n }\n .edge-depth-").concat(i-1,"{\n stroke-width: ").concat(s,";\n }\n .section-").concat(i-1," line {\n stroke: ").concat(t["cScaleInv"+i]," ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ").concat(t.background,";\n stroke: ").concat(t.nodeBorder,";\n stroke-width: 1px;\n }\n\n .kanban-ticket-link {\n fill: ").concat(t.background,";\n stroke: ").concat(t.nodeBorder,";\n text-decoration: underline;\n }\n ")}return e},"genSections"),W={db:{clear:m,addNode:E,getSections:_,getData:k,nodeType:v,getType:S,setElementForId:N,decorateNode:x,type2Str:L,getLogger:D,getElementById:O},renderer:{draw:I},parser:d,styles:(0,l.eW)(t=>"\n .edge {\n stroke-width: 3;\n }\n ".concat(C(t),"\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ").concat(t.git0,";\n }\n .section-root text {\n fill: ").concat(t.gitBranchLabel0,";\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;
1\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .cluster-label, .label {\n color: ").concat(t.textColor,";\n fill: ").concat(t.textColor,";\n }\n .kanban-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n ").concat((0,s.G)(),"\n"),"getStyles")}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.