2026-06-16 05:58:18 +00:00
import { g as ae } from "./chunk-55IACEB6.Bl0K_47V.js" ; import { s as ce } from "./chunk-2J33WTMH.ok9i47Q8.js" ; import { _ as h , l as C , p as le , r as he , F as de , I as j , c as P , i as G , b3 as ge , ac as ue , ad as pe , ae as fe } from "./mermaid.core.BrszyIat.js" ; import "./framework.C2AwuPrQ.js" ; const _ = [ ] ; for ( let t = 0 ; t < 256 ; ++ t ) _ . push ( ( t + 256 ) . toString ( 16 ) . slice ( 1 ) ) ; function me ( t , e = 0 ) { return ( _ [ t [ e + 0 ] ] + _ [ t [ e + 1 ] ] + _ [ t [ e + 2 ] ] + _ [ t [ e + 3 ] ] + "-" + _ [ t [ e + 4 ] ] + _ [ t [ e + 5 ] ] + "-" + _ [ t [ e + 6 ] ] + _ [ t [ e + 7 ] ] + "-" + _ [ t [ e + 8 ] ] + _ [ t [ e + 9 ] ] + "-" + _ [ t [ e + 10 ] ] + _ [ t [ e + 11 ] ] + _ [ t [ e + 12 ] ] + _ [ t [ e + 13 ] ] + _ [ t [ e + 14 ] ] + _ [ t [ e + 15 ] ] ) . toLowerCase ( ) } const ye = new Uint8Array ( 16 ) ; function Ee ( ) { return crypto . getRandomValues ( ye ) } function _e ( t , e , a ) { return crypto . randomUUID ? crypto . randomUUID ( ) : be ( t ) } function be ( t , e , a ) { t = t || { } ; const l = t . random ? ? t . rng ? . ( ) ? ? Ee ( ) ; if ( l . length < 16 ) throw new Error ( "Random bytes length must be >= 16" ) ; return l [ 6 ] = l [ 6 ] & 15 | 64 , l [ 8 ] = l [ 8 ] & 63 | 128 , me ( l ) } var q = ( function ( ) { var t = h ( function ( L , s , i , o ) { for ( i = i || { } , o = L . length ; o -- ; i [ L [ o ] ] = s ) ; return i } , "o" ) , e = [ 1 , 4 ] , a = [ 1 , 13 ] , l = [ 1 , 12 ] , n = [ 1 , 15 ] , d = [ 1 , 16 ] , f = [ 1 , 20 ] , y = [ 1 , 19 ] , E = [ 6 , 7 , 8 ] , b = [ 1 , 26 ] , v = [ 1 , 24 ] , R = [ 1 , 25 ] , g = [ 6 , 7 , 11 ] , A = [ 1 , 6 , 13 , 15 , 16 , 19 , 22 ] , J = [ 1 , 33 ] , K = [ 1 , 34 ] , $ = [ 1 , 6 , 7 , 11 , 13 , 15 , 16 , 19 , 22 ] , H = { trace : h ( 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 : h ( function ( s , i , o , c , p , r , B ) { var u = r . length - 1 ; switch ( p ) { case 6 : case 7 : return c ; case 8 : c . getLogger ( ) . trace ( "Stop NL " ) ; break ; case 9 : c . getLogger ( ) . trace ( "Stop EOF " ) ; break ; case 11 : c . getLogger ( ) . trace ( "Stop NL2 " ) ; break ; case 12 : c . getLogger ( ) . trace ( "Stop EOF2 " ) ; break ; case 15 : c . getLogger ( ) . info ( "Node: " , r [ u ] . id ) , c . addNode ( r [ u - 1 ] . length , r [ u ] . id , r [ u ] . descr , r [ u ] . type ) ; break ; case 16 : c . getLogger ( ) . trace ( "Icon: " , r [ u ] ) , c . decorateNode ( { icon : r [ u ] } ) ; break ; case 17 : case 21 : c . decorateNode ( { class : r [ u ] } ) ; break ; case 18 : c . getLogger ( ) . trace ( "SPACELIST" ) ; break ; case 19 : c . getLogger ( ) . trace ( "Node: " , r [ u ] . id ) , c . addNode ( 0 , r [ u ] . id , r [ u ] . descr , r [ u ] . type ) ; break ; case 20 : c . decorateNode ( { icon : r [ u ] } ) ; break ; case 25 : c . getLogger ( ) . trace ( "node found .." , r [ u - 2 ] ) , this . $ = { id : r [ u - 1 ] , descr : r [ u - 1 ] , type : c . getType ( r [ u - 2 ] , r [ u ] ) } ; break ; case 26 : this . $ = { id : r [ u ] , descr : r [ u ] , type : c . nodeType . DEFAULT } ; break ; case 27 : c . getLogger ( ) . trace ( "node found .." , r [ u - 3 ] ) , this . $ = { id : r [ u - 3 ] , descr : r [ u - 1 ] , type : c . getType ( r [ u - 2 ] , r [ u ] ) } ; break } } , "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 : a , 7 : [ 1 , 10 ] , 9 : 9 , 12 : 11 , 13 : l , 14 : 14 , 15 : n , 16 : d , 17 : 17 , 18 : 18 , 19 : f , 22 : y } , t ( E , [ 2 , 3 ] ) , { 1 : [ 2 , 2 ] } , t ( E , [ 2 , 4 ] ) , t ( E , [ 2 , 5 ] ) , { 1 : [ 2 , 6 ] , 6 : a , 12 : 21 , 13 : l , 14 : 14 , 15 : n , 16 : d , 17 : 17 , 18 : 18 , 19 : f , 22 : y } , { 6 : a , 9 : 22 , 12 : 11 , 13 : l , 14 : 14 , 15 : n , 16 : d , 17 : 17 , 18 : 18 , 19 : f , 22 : y } , { 6 : b , 7 : v , 10 : 23 , 11 : R } , t ( g , [ 2 , 22 ] , { 17 : 17 , 18 : 18 , 14 : 27 , 15 : [ 1 , 28 ] , 16 : [ 1 , 29 ] , 19 : f , 22 : y } ) , 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 : b , 7 : v , 10 : 32 , 11 : R } , { 1 : [ 2 , 7 ] , 6 : a , 12 : 21 , 13 : l , 14 : 14 , 15 : n , 16 : d , 17 : 17 , 18 : 18 , 19 : f , 22 : y } , t ( A , [ 2 , 14 ] , { 7 : J , 11 : K } ) , t ( $ , [ 2 , 8 ] ) , t ( $ , [ 2 , 9 ] ) , t ( $ , [ 2 , 10 ] ) , t ( g , [ 2 , 15 ] ) , t ( g , [ 2 , 16 ] ) , t ( g , [ 2 , 17 ] ) , { 20 : [ 1 , 35 ] } , { 21 : [ 1 , 36 ] } , t ( A , [ 2 , 13 ] , { 7 : J , 11 : K } ) , t ( $ , [ 2 , 11 ] ) , t ( $ , [ 2 , 12 ] ) , { 21 : [ 1 , 37 ] } , t ( g , [ 2 , 25 ] ) , t ( g , [ 2 , 27 ] ) ] , defaultActions : { 2 : [ 2 , 1 ] , 6 : [ 2 , 2 ] } , parseError : h ( function ( s , i ) { if ( i . recoverable ) this . trace ( s ) ; else { var o = new Error ( s ) ; throw o . hash = i , o } } , "parseError" ) , parse : h ( function ( s ) { var i = this , o = [ 0 ] , c = [ ] , p = [ null ] , r = [ ] , B = this . table , u = "" , U = 0 , Q = 0 , ie = 2 , Z = 1 , se = r . slice . call ( arguments , 1 ) , m = Object . create ( this . lexer ) , T = { yy : { } } ; for ( var W in this . yy ) Object . prototype . hasOwnProperty . call ( this . yy , W ) && ( T . yy [ W ] = this . yy [ W ] ) ; m . setInput ( s , T . yy ) , T . yy . lexer = m , T . yy . parser = this , typeof m . yylloc > "u" && ( m . yylloc = { } ) ; var z = m
2026-05-11 05:18:54 +00:00
` +m.showPosition()+ `
2026-05-21 07:27:56 +00:00
Expecting ` +F.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Y="Parse error on line "+(U+1)+": Unexpected "+(k==Z?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Y,{text:m.match,token:this.terminals_[k]||k,line:m.yylineno,loc:z,expected:F})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+k);switch(x[0]){case 1:o.push(k),p.push(m.yytext),r.push(m.yylloc),o.push(x[1]),k=null,Q=m.yyleng,u=m.yytext,U=m.yylineno,z=m.yylloc;break;case 2:if(N=this.productions_[x[1]][1],I. $ =p[p.length-N],I._ $ ={first_line:r[r.length-(N||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(N||1)].first_column,last_column:r[r.length-1].last_column},re&&(I._ $ .range=[r[r.length-(N||1)].range[0],r[r.length-1].range[1]]),X=this.performAction.apply(I,[u,Q,U,T.yy,x[1],p,r].concat(se)),typeof X<"u")return X;N&&(o=o.slice(0,-1*N*2),p=p.slice(0,-1*N),r=r.slice(0,-1*N)),o.push(this.productions_[x[1]][0]),p.push(I. $ ),r.push(I._ $ ),te=B[o[o.length-2]][o[o.length-1]],o.push(te);break;case 3:return!0}}return!0},"parse")},ne=(function(){var L={EOF:1,parseError:h(function(i,o){if(this.yy.parser)this.yy.parser.parseError(i,o);else throw new Error(i)},"parseError"),setInput:h(function(s,i){return this.yy=i||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:h(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var i=s.match(/(?: \r \n ?| \n ).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:h(function(s){var i=s.length,o=s.split(/(?: \r \n ?| \n )/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;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),o.length-1&&(this.yylineno-=o.length-1);var p=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:o?(o.length===c.length?this.yylloc.first_column:0)+c[c.length-o.length].length-o[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(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 ) .
2026-05-11 05:18:54 +00:00
` +this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(s){this.unput(this.match.slice(s))},"less"),pastInput:h(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/ \n /g,"")},"pastInput"),upcomingInput:h(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/ \n /g,"")},"upcomingInput"),showPosition:h(function(){var s=this.pastInput(),i=new Array(s.length+1).join("-");return s+this.upcomingInput()+ `
` +i+"^"},"showPosition"),test_match:h(function(s,i){var o,c,p;if(this.options.backtrack_lexer&&(p={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&&(p.yylloc.range=this.yylloc.range.slice(0))),c=s[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+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,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(s[0].length),this.matched+=s[0],o=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),o)return o;if(this._backtrack){for(var r in p)this[r]=p[r];return!1}return!1},"test_match"),next:h(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,i,o,c;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),r=0;r<p.length;r++)if(o=this._input.match(this.rules[p[r]]),o&&(!i||o[0].length>i[0].length)){if(i=o,c=r,this.options.backtrack_lexer){if(s=this.test_match(o,p[r]),s!==!1)return s;if(this._backtrack){i=!1;continue}else return!1}else if(!this.options.flex)break}return i?(s=this.test_match(i,p[c]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+ ` . Unrecognized text .
2026-05-21 07:27:56 +00:00
` +this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:h(function(){var i=this.next();return i||this.lex()},"lex"),begin:h(function(i){this.conditionStack.push(i)},"begin"),popState:h(function(){var i=this.conditionStack.length-1;return i>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:h(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:h(function(i){return i=this.conditionStack.length-1-Math.abs(i||0),i>=0?this.conditionStack[i]:"INITIAL"},"topState"),pushState:h(function(i){this.begin(i)},"pushState"),stateStackSize:h(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:h(function(i,o,c,p){switch(c){case 0:return i.getLogger().trace("Found comment",o.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:i.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return i.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:i.getLogger().trace("end icon"),this.popState();break;case 10:return i.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return i.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return i.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return i.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:return this.begin("NODE"),19;case 15:return this.begin("NODE"),19;case 16:return this.begin("NODE"),19;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 23:this.popState();break;case 24:i.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return i.getLogger().trace("description:",o.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),i.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),i.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),i.getLogger().trace("node end ...",o.yytext),"NODE_DEND";case 30:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 31:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 32:return this.popState(),i.getLogger().trace("node end (-"),"NODE_DEND";case 33:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 34:return this.popState(),i.getLogger().trace("node end (("),"NODE_DEND";case 35:return i.getLogger().trace("Long description:",o.yytext),20;case 36:return i.getLogger().trace("Long description:",o.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 } } } ; return L } ) ( ) ; H . lexer = ne ; function M ( ) { this . yy = { } } return h ( M , "Parser" ) , M . prototype = H , H . Parser = M , new M } ) ( ) ; q . parser = q ; var ke = q , Se = 12 , D = { DEFAULT : 0 , NO _BORDER : 0 , ROUNDED _RECT : 1 , RECT : 2 , CIRCLE : 3 , CLOUD : 4 , BANG : 5 , HEXAGON : 6 } , w , xe = ( w = class { constructor ( ) { this . nodes = [ ] , this . count = 0 , this . elements = { } , this . getLogger = this . getLogger . bind ( this ) , this . nodeType = D , this . clear ( ) , this . getType = this . getType . bind ( this ) , this . getElementById = this . getElementById . bind ( this ) , this . getParent = this . getParent . bi
` +t);const n=l.db,d=n.getData(),f=ae(e,d.config.securityLevel);if(d.type=l.type,d.layoutAlgorithm=le(d.config.layout,{fallback:"cose-bilkent"}),d.diagramId=e,!n.getMindmap())return;d.nodes.forEach(g=>{g.shape==="rounded"?(g.radius=15,g.taper=15,g.stroke="none",g.width=0,g.padding=15):g.shape==="circle"?g.padding=10:g.shape==="rect"?(g.width=0,g.padding=10):g.shape==="hexagon"&&(g.width=0,g.height=0)}),await he(d,f);const{themeVariables:E}=de(),{useGradient:b,gradientStart:v,gradientStop:R}=E;if(b&&v&&R){const g=f.attr("id"),A=f.append("defs").append("linearGradient").attr("id", ` $ { g } - gradient ` ).attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");A.append("stop").attr("offset","0%").attr("stop-color",v).attr("stop-opacity",1),A.append("stop").attr("offset","100%").attr("stop-color",R).attr("stop-opacity",1)}ce(f,d.config.mindmap?.padding??j.mindmap.padding,"mindmapDiagram",d.config.mindmap?.useMaxWidth??j.mindmap.useMaxWidth)},"draw"),De={draw:Ne},Le=h(t=>{const{theme:e,look:a}=t;let l="";for(let n=0;n<t.THEME_COLOR_LIMIT;n++)t["lineColor"+n]=t["lineColor"+n]||t["cScaleInv"+n],ue(t["lineColor"+n])?t["lineColor"+n]=pe(t["lineColor"+n],20):t["lineColor"+n]=fe(t["lineColor"+n],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const d=""+(a==="neo"?Math.max(10-(n-1)*2,2):17-3*n);l+= `
2026-05-11 05:18:54 +00:00
. section - $ { n - 1 } rect , . section - $ { n - 1 } path , . section - $ { n - 1 } circle , . section - $ { n - 1 } polygon , . section - $ { n - 1 } path {
fill : $ { t [ "cScale" + n ] } ;
}
. section - $ { n - 1 } text {
fill : $ { t [ "cScaleLabel" + n ] } ;
}
. section - $ { n - 1 } span {
color : $ { t [ "cScaleLabel" + n ] } ;
}
. node - icon - $ { n - 1 } {
font - size : 40 px ;
color : $ { t [ "cScaleLabel" + n ] } ;
}
. section - edge - $ { n - 1 } {
stroke : $ { t [ "cScale" + n ] } ;
}
. edge - depth - $ { n - 1 } {
stroke - width : $ { d } ;
}
. section - $ { n - 1 } line {
stroke : $ { t [ "cScaleInv" + n ] } ;
stroke - width : 3 ;
}
. disabled , . disabled circle , . disabled text {
fill : lightgray ;
}
. disabled text {
fill : # efefef ;
}
[ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } rect , [ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } path , [ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } circle , [ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } polygon {
fill : $ { e === "redux" || e === "redux-dark" || e === "neutral" ? t . mainBkg : t [ "cScale" + n ] } ;
stroke : $ { e === "redux" || e === "redux-dark" ? t . nodeBorder : t [ "cScale" + n ] } ;
stroke - width : $ { t . strokeWidth ? ? 2 } px ;
}
[ data - look = "neo" ] . section - edge - $ { n - 1 } {
stroke : $ { e ? . includes ( "redux" ) || e === "neo-dark" ? t . nodeBorder : t [ "cScale" + n ] } ;
}
[ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } text {
fill : $ { e === "redux" || e === "redux-dark" ? t . nodeBorder : t [ "cScaleLabel" + ( e === "neutral" ? 1 : n ) ] } ;
}
2026-05-21 07:27:56 +00:00
` }return l},"genSections"),ve=h((t,e,a)=>{let l="";for(let n=0;n<t;n++)l+= `
2026-05-11 05:18:54 +00:00
[ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } rect , [ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } path , [ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } circle , [ data - look = "neo" ] . mindmap - node . section - $ { n - 1 } polygon {
stroke : url ( $ { e } - gradient ) ;
fill : $ { a } ;
}
. section - $ { n - 1 } line {
stroke - width : 0 ;
2026-05-21 07:27:56 +00:00
} ` ;return l},"genGradient"),Te=h(t=>{const{theme:e}=t,a=t.svgId,l=t.dropShadow?t.dropShadow.replace("url(#drop-shadow)", ` url ( $ { a } - drop - shadow ) ` ):"none";return `
2026-05-11 05:18:54 +00:00
. edge {
stroke - width : 3 ;
}
2026-05-21 07:27:56 +00:00
$ { Le ( t ) }
2026-05-11 05:18:54 +00:00
. section - root rect , . section - root path , . section - root circle , . section - root polygon {
fill : $ { t . git0 } ;
}
. section - root text {
fill : $ { t . gitBranchLabel0 } ;
}
. section - root span {
color : $ { e ? . includes ( "redux" ) ? t . nodeBorder : t . gitBranchLabel0 } ;
}
. icon - container {
height : 100 % ;
display : flex ;
justify - content : center ;
align - items : center ;
}
. edge {
fill : none ;
}
. mindmap - node - label {
dy : 1 em ;
alignment - baseline : middle ;
text - anchor : middle ;
dominant - baseline : middle ;
text - align : center ;
}
[ data - look = "neo" ] . mindmap - node {
filter : $ { l } ;
}
[ 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 {
fill : $ { e ? . includes ( "redux" ) ? t . mainBkg : t . git0 } ;
}
[ data - look = "neo" ] . mindmap - node . section - root . text - inner - tspan {
fill : $ { e ? . includes ( "redux" ) ? t . nodeBorder : t [ "cScaleLabel" + ( e === "neutral" ? 1 : 0 ) ] } ;
}
2026-05-21 07:27:56 +00:00
$ { t . useGradient && a && t . mainBkg ? ve ( t . THEME _COLOR _LIMIT , a , t . mainBkg ) : "" }
` },"getStyles"),Oe=Te,Ae={get db(){return new xe},renderer:De,parser:ke,styles:Oe};export{Ae as diagram};