1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3355],{78917:function(t,e,n){n.d(e,{q:function(){return s}});var i=n(99573),o=n(53082),s=(0,i.eW)((t,e)=>{let n;return"sandbox"===e&&(n=(0,o.Ys)("#i"+t)),("sandbox"===e?(0,o.Ys)(n.nodes()[0].contentDocument.body):(0,o.Ys)("body")).select('[id="'.concat(t,'"]'))},"getDiagramElement")},34452:function(t,e,n){n.d(e,{j:function(){return s}});var i=n(66764),o=n(99573),s=(0,o.eW)((t,e,n,s)=>{t.attr("class",n);let{width:c,height:l,x:h,y:d}=r(t,e);(0,i.v2)(t,l,c,s);let u=a(h,d,c,l,e);t.attr("viewBox",u),o.cM.debug("viewBox configured: ".concat(u," with padding: ").concat(e))},"setupViewPortForSVG"),r=(0,o.eW)((t,e)=>{var n;let i=(null===(n=t.node())||void 0===n?void 0:n.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+2*e,height:i.height+2*e,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),a=(0,o.eW)((t,e,n,i,o)=>"".concat(t-o," ").concat(e-o," ").concat(n," ").concat(i),"createViewBox")},33355:function(t,e,n){let i;n.d(e,{diagram:function(){return S}});var o,s=n(78917),r=n(34452),a=n(13521);n(6253),n(16535),n(93950),n(1565),n(66005),n(6045),n(42877);var c=n(66764),l=n(99573),h={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let d=new Uint8Array(16),u=[];for(let t=0;t<256;++t)u.push((t+256).toString(16).slice(1));var g=function(t,e,n){var o,s,r;if(h.randomUUID&&!e&&!t)return h.randomUUID();let a=null!==(r=null!==(s=(t=t||{}).random)&&void 0!==s?s:null===(o=t.rng)||void 0===o?void 0:o.call(t))&&void 0!==r?r:function(){if(!i){if("undefined"==typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");i=crypto.getRandomValues.bind(crypto)}return i(d)}();if(a.length<16)throw Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,e){if((n=n||0)<0||n+16>e.length)throw RangeError("UUID byte range ".concat(n,":").concat(n+15," is out of buffer bounds"));for(let t=0;t<16;++t)e[n+t]=a[t];return e}return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(u[t[e+0]]+u[t[e+1]]+u[t[e+2]]+u[t[e+3]]+"-"+u[t[e+4]]+u[t[e+5]]+"-"+u[t[e+6]]+u[t[e+7]]+"-"+u[t[e+8]]+u[t[e+9]]+"-"+u[t[e+10]]+u[t[e+11]]+u[t[e+12]]+u[t[e+13]]+u[t[e+14]]+u[t[e+15]]).toLowerCase()}(a)},p=n(74494),y=n(11679),m=n(59554),f=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],o=[1,15],s=[1,16],r=[1,20],a=[1,19],c=[6,7,8],h=[1,26],d=[1,24],u=[1,25],g=[6,7,11],p=[1,6,13,15,16,19,22],y=[1,33],m=[1,34],f=[1,6,7,11,13,15,16,19,22],_={trace:(0,l.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},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,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:(0,l.eW)(function(t,e,n,i,o,s,r){var a=s.length-1;switch(o){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: ",s[a].id),i.addNode(s[a-1].length,s[a].id,s[a].descr,s[a].type);break;case 16:i.getLogger().trace("Icon: ",s[a]),i.decorateNode({icon:s[a]});break;case 17:case 21:i.decorateNode({class:s[a]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",s[a].id),i.addNode(0,s[a].id,s[a].descr,s[a].type);break;case 20:i.decorateNode({icon:s[a]});break;case 25:i.getLogger().trace("node found ..",s[a-2]),this.$={id:s[a-1],descr:s[a-1],type:i.getType(s[a-2],s[a])};break;case 26:this.$={id:s[a],descr:s[a],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",s[a-3]),this.$={id:s[a-3],descr:s[a-1],type:i.getType(s[a-2],s[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,15:o,16:s,17:17,18:18,19:r,22: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,15:o,16:s,17:17,18:18,19:r,22:a},{6:n,9:22,12:11,13:i,14:14,15:o,16:s,17:17,18:18,19:r,22:a},{6:h,7:d,10:23,11:u},t(g,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:r,22:a}),t(g,[2,18]),t(g,[2,19]),t(g,[2,20]),t(g,[2,21]),t(g,[2,23]),t(g,[2,24]),t(g,[2,26],{19:[1,30]}),{20:[1,31]},{6:h,7:d,10:32,11:u},{1:[2,7],6:n,12:21,13:i,14:14,15:o,16:s,17:17,18:18,19:r,22:a},t(p,[2,14],{7:y,11:m}),t(f,[2,8]),t(f,[2,9]),t(f,[2,10]),t(g,[2,15]),t(g,[2,16]),t(g,[2,17]),{20:[1,35]},{21:[1,36]},t(p,[2,13],{7:y,11:m}),t(f,[2,11]),t(f,[2,12]),{21:[1,37]},t(g,[2,25]),t(g,[2,27])],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=[],o=[null],s=[],r=this.table,a="",c=0,h=0,d=0,u=s.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 m=g.yylloc;s.push(m);var f=g.options&&g.options.ranges;function _(){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,o.length=o.length-t,s.length=s.length-t},"popStack"),(0,l.eW)(_,"lex");for(var b,E,k,v,S,N,x,L,D,I={};;){if(k=n[n.length-1],this.defaultActions[k]?v=this.defaultActions[k]:(null==b&&(b=_()),v=r[k]&&r[k][b]),void 0===v||!v.length||!v[0]){var O="";for(N in D=[],r[k])this.terminals_[N]&&N>2&&D.push("'"+this.terminals_[N]+"'");O=g.showPosition?"Parse error on line "+(c+1)+":\n"+g.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(O,{text:g.match,token:this.terminals_[b]||b,line:g.yylineno,loc:m,expected:D})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+k+", token: "+b);switch(v[0]){case 1:n.push(b),o.push(g.yytext),s.push(g.yylloc),n.push(v[1]),b=null,E?(b=E,E=null):(h=g.yyleng,a=g.yytext,c=g.yylineno,m=g.yylloc,d>0&&d--);break;case 2:if(x=this.productions_[v[1]][1],I.$=o[o.length-x],I._$={first_line:s[s.length-(x||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(x||1)].first_column,last_column:s[s.length-1].last_column},f&&(I._$.range=[s[s.length-(x||1)].range[0],s[s.length-1].range[1]]),void 0!==(S=this.performAction.apply(I,[a,h,c,p.yy,v[1],o,s].concat(u))))return S;x&&(n=n.slice(0,-1*x*2),o=o.slice(0,-1*x),s=s.slice(0,-1*x)),n.push(this.productions_[v[1]][0]),o.push(I.$),s.push(I._$),L=r[n[n.length-2]][n[n.length-1]],n.push(L);break;case 3:return!0}}return!0},"parse")},b={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 o=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=[o[0],o[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,o;if(this.options.backtrack_lexer&&(o={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&&(o.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 s in o)this[s]=o[s];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,o=this._currentRules(),s=0;s<o.length;s++)if((n=this._input.match(this.rules[o[s]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,o[s])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,o[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 t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return t.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:t.getLogger().trace("end icon"),this.popState();break;case 10:return t.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return t.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;
1case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\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:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function E(){this.yy={}}return _.lexer=b,(0,l.eW)(E,"Parser"),E.prototype=_,_.Parser=E,new E}();f.parser=f;var _={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},b=(o=class{clear(){this.nodes=[],this.count=0,this.elements={},this.baseLevel=void 0}getParent(t){for(let e=this.nodes.length-1;e>=0;e--)if(this.nodes[e].level<t)return this.nodes[e];return null}getMindmap(){return this.nodes.length>0?this.nodes[0]:null}addNode(t,e,n,i){var o,s,r,a;l.cM.info("addNode",t,e,n,i);let h=!1;0===this.nodes.length?(this.baseLevel=t,t=0,h=!0):void 0!==this.baseLevel&&(t-=this.baseLevel,h=!1);let d=(0,c.nV)(),u=null!==(r=null===(o=d.mindmap)||void 0===o?void 0:o.padding)&&void 0!==r?r:c.vZ.mindmap.padding;switch(i){case this.nodeType.ROUNDED_RECT:case this.nodeType.RECT:case this.nodeType.HEXAGON:u*=2}let g={id:this.count++,nodeId:(0,c.oO)(e,d),level:t,descr:(0,c.oO)(n,d),type:i,children:[],width:null!==(a=null===(s=d.mindmap)||void 0===s?void 0:s.maxNodeWidth)&&void 0!==a?a:c.vZ.mindmap.maxNodeWidth,padding:u,isRoot:h},p=this.getParent(t);if(p)p.children.push(g),this.nodes.push(g);else if(h)this.nodes.push(g);else throw Error('There can be only one root. No parent could be found for ("'.concat(g.descr,'")'))}getType(t,e){switch(l.cM.debug("In get type",t,e),t){case"[":return this.nodeType.RECT;case"(":return")"===e?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":return this.nodeType.CIRCLE;case")":return this.nodeType.CLOUD;case"))":return this.nodeType.BANG;case"{{":return this.nodeType.HEXAGON;default:return this.nodeType.DEFAULT}}setElementForId(t,e){this.elements[t]=e}getElementById(t){return this.elements[t]}decorateNode(t){if(!t)return;let e=(0,c.nV)(),n=this.nodes[this.nodes.length-1];t.icon&&(n.icon=(0,c.oO)(t.icon,e)),t.class&&(n.class=(0,c.oO)(t.class,e))}type2Str(t){switch(t){case this.nodeType.DEFAULT:return"no-border";case this.nodeType.RECT:return"rect";case this.nodeType.ROUNDED_RECT:return"rounded-rect";case this.nodeType.CIRCLE:return"circle";case this.nodeType.CLOUD:return"cloud";case this.nodeType.BANG:return"bang";case this.nodeType.HEXAGON:return"hexgon";default:return"no-border"}}assignSections(t,e){if(0===t.level?t.section=void 0:t.section=e,t.children)for(let[n,i]of t.children.entries()){let o=0===t.level?n%11:e;this.assignSections(i,o)}}flattenNodes(t,e){var n;let i=(0,c.nV)(),o=["mindmap-node"];!0===t.isRoot?o.push("section-root","section--1"):void 0!==t.section&&o.push("section-".concat(t.section)),t.class&&o.push(t.class);let s=o.join(" "),r=(0,l.eW)(t=>{var e,n;let o=(null!==(n=null===(e=i.theme)||void 0===e?void 0:e.toLowerCase())&&void 0!==n?n:"").includes("redux");switch(t){case _.CIRCLE:return"mindmapCircle";case _.RECT:return"rect";case _.ROUNDED_RECT:return"rounded";
1case _.CLOUD:return"cloud";case _.BANG:return"bang";case _.HEXAGON:return"hexagon";case _.DEFAULT:return o?"rounded":"defaultMindmapNode";case _.NO_BORDER:default:return"rect"}},"getShapeFromType"),a={id:t.id.toString(),domId:"node_"+t.id.toString(),label:t.descr,labelType:"markdown",isGroup:!1,shape:r(t.type),width:t.width,height:null!==(n=t.height)&&void 0!==n?n:0,padding:t.padding,cssClasses:s,cssStyles:[],look:i.look,icon:t.icon,x:t.x,y:t.y,level:t.level,nodeId:t.nodeId,type:t.type,section:t.section};if(e.push(a),t.children)for(let n of t.children)this.flattenNodes(n,e)}generateEdges(t,e){if(!t.children)return;let n=(0,c.nV)();for(let i of t.children){let o="edge";void 0!==i.section&&(o+=" section-edge-".concat(i.section));let s=t.level+1;o+=" edge-depth-".concat(s);let r={id:"edge_".concat(t.id,"_").concat(i.id),start:t.id.toString(),end:i.id.toString(),type:"normal",curve:"basis",thickness:"normal",look:n.look,classes:o,depth:t.level,section:i.section};e.push(r),this.generateEdges(i,e)}}getData(){let t=this.getMindmap(),e=(0,c.nV)();if(void 0!==(0,c.qO)().layout||(e.layout="cose-bilkent"),!t)return{nodes:[],edges:[],config:e};l.cM.debug("getData: mindmapRoot",t,e),this.assignSections(t);let n=[],i=[];this.flattenNodes(t,n),this.generateEdges(t,i),l.cM.debug("getData: processed ".concat(n.length," nodes and ").concat(i.length," edges"));let o=new Map;for(let t of n)o.set(t.id,{shape:t.shape,width:t.width,height:t.height,padding:t.padding});return{nodes:n,edges:i,config:e,rootNode:t,markers:["point"],direction:"TB",nodeSpacing:50,rankSpacing:50,shapes:Object.fromEntries(o),type:"mindmap",diagramId:"mindmap-"+g()}}getLogger(){return l.cM}constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=_,this.clear(),this.getType=this.getType.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}},(0,l.eW)(o,"MindmapDB"),o),E=(0,l.eW)(async(t,e,n,i)=>{var o,h,d,u;l.cM.debug("Rendering mindmap diagram\n"+t);let g=i.db,p=g.getData(),y=(0,s.q)(e,p.config.securityLevel);if(p.type=i.type,p.layoutAlgorithm=(0,a._b)(p.config.layout,{fallback:"cose-bilkent"}),p.diagramId=e,!g.getMindmap())return;p.nodes.forEach(t=>{"rounded"===t.shape?(t.radius=15,t.taper=15,t.stroke="none",t.width=0,t.padding=15):"circle"===t.shape?t.padding=10:"rect"===t.shape?(t.width=0,t.padding=10):"hexagon"===t.shape&&(t.width=0,t.height=0)}),await (0,a.sY)(p,y);let{themeVariables:m}=(0,c.iE)(),{useGradient:f,gradientStart:_,gradientStop:b}=m;if(f&&_&&b){let t=y.attr("id"),e=y.append("defs").append("linearGradient").attr("id","".concat(t,"-gradient")).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");e.append("stop").attr("offset","0%").attr("stop-color",_).attr("stop-opacity",1),e.append("stop").attr("offset","100%").attr("stop-color",b).attr("stop-opacity",1)}(0,r.j)(y,null!==(d=null===(o=p.config.mindmap)||void 0===o?void 0:o.padding)&&void 0!==d?d:c.vZ.mindmap.padding,"mindmapDiagram",null!==(u=null===(h=p.config.mindmap)||void 0===h?void 0:h.useMaxWidth)&&void 0!==u?u:c.vZ.mindmap.useMaxWidth)},"draw"),k=(0,l.eW)(t=>{let{theme:e,look:n}=t,i="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,p.Z)(t["lineColor"+e])?t["lineColor"+e]=(0,y.Z)(t["lineColor"+e],20):t["lineColor"+e]=(0,m.Z)(t["lineColor"+e],20);for(let s=0;s<t.THEME_COLOR_LIMIT;s++){var o;let r=""+("neo"===n?Math.max(10-(s-1)*2,2):17-3*s);i+="\n .section-".concat(s-1," rect, .section-").concat(s-1," path, .section-").concat(s-1," circle, .section-").concat(s-1," polygon, .section-").concat(s-1," path {\n fill: ").concat(t["cScale"+s],";\n }\n .section-").concat(s-1," text {\n fill: ").concat(t["cScaleLabel"+s],";\n }\n .section-").concat(s-1," span {\n color: ").concat(t["cScaleLabel"+s],";\n }\n .node-icon-").concat(s-1," {\n font-size: 40px;\n color: ").concat(t["cScaleLabel"+s],";\n }\n .section-edge-").concat(s-1,"{\n stroke: ").concat(t["cScale"+s],";\n }\n .edge-depth-").concat(s-1,"{\n stroke-width: ").concat(r,";\n }\n .section-").concat(s-1," line {\n stroke: ").concat(t["cScaleInv"+s],' ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n [data-look="neo"].mindmap-node.section-').concat(s-1,' rect, [data-look="neo"].mindmap-node.section-').concat(s-1,' path, [data-look="neo"].mindmap-node.section-').concat(s-1,' circle, [data-look="neo"].mindmap-node.section-').concat(s-1," polygon {\n fill: ").concat("redux"===e||"redux-dark"===e||"neutral"===e?t.mainBkg:t["cScale"+s],";\n stroke: ").concat("redux"===e||"redux-dark"===e?t.nodeBorder:t["cScale"+s],";\n stroke-width: ").concat(null!==(o=t.strokeWidth)&&void 0!==o?o:2,'px;\n }\n [data-look="neo"].section-edge-').concat(s-1,"{\n stroke: ").concat((null==e?void 0:e.includes("redux"))||"neo-dark"===e?t.nodeBorder:t["cScale"+s],';\n }\n [data-look="neo"].mindmap-node.section-').concat(s-1," text {\n fill: ").concat("redux"===e||"redux-dark"===e?t.nodeBorder:t["cScaleLabel"+("neutral"===e?1:s)],";\n }\n ")}return i},"genSections"),v=(0,l.eW)((t,e,n)=>{let i="";for(let o=0;o<t;o++)i+='\n [data-look="neo"].mindmap-node.section-'.concat(o-1,' rect, [data-look="neo"].mindmap-node.section-').concat(o-1,' path, [data-look="neo"].mindmap-node.section-').concat(o-1,' circle, [data-look="neo"].mindmap-node.section-').concat(o-1," polygon {\n stroke: url(").concat(e,"-gradient);\n fill: ").concat(n,";\n }\n .section-").concat(o-1," line {\n stroke-width: 0;\n }");return i},"genGradient"),S={get db(){return new b},renderer:{draw:E},parser:f,styles:(0,l.eW)(t=>{let{theme:e}=t,n=t.svgId,i=t.dropShadow?t.dropShadow.replace("url(#drop-shadow)","url(".concat(n,"-drop-shadow)")):"none";return"\n .edge {\n stroke-width: 3;\n }\n ".concat(k(t),"\n .section-root rect, .section-root path, .section-root circle, .
1section-root polygon {\n fill: ").concat(t.git0,";\n }\n .section-root text {\n fill: ").concat(t.gitBranchLabel0,";\n }\n .section-root span {\n color: ").concat((null==e?void 0:e.includes("redux"))?t.nodeBorder:t.gitBranchLabel0,';\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .mindmap-node-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n [data-look="neo"].mindmap-node {\n filter: ').concat(i,';\n }\n [data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {\n fill: ').concat((null==e?void 0:e.includes("redux"))?t.mainBkg:t.git0,';\n }\n [data-look="neo"].mindmap-node.section-root .text-inner-tspan {\n fill: ').concat((null==e?void 0:e.includes("redux"))?t.nodeBorder:t["cScaleLabel"+("neutral"===e?1:0)],";\n }\n ").concat(t.useGradient&&n&&t.mainBkg?v(t.THEME_COLOR_LIMIT,n,t.mainBkg):"","\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.