PageSourceSearch

https://chatflowchart.com/_next/static/chunks/6745.ae7843168e26d4a9.js

js chatflowchart.com collected 2026-09-29 06:19:08 UTC 41,908 bytes, 113 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6745],{37051:(e,t,i)=>{i.d(t,{A:()=>l});var s=Object.prototype.hasOwnProperty;let r=function(e,t){return null!=e&&s.call(e,t)};var n=i(13023);let l=function(e,t){return null!=e&&(0,n.A)(e,t,r)}},37772:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(49485);let r=function(e){return(0,s.A)(e,4)}},56745:(e,t,i)=>{i.d(t,{diagram:()=>B});var s,r,n=i(3590),l=i(37772),o=i(94808),a=i(38247),c=i(5504),h=i(92261),d=i(913);i(36117),i(99909),i(50405);var u=function(){var e=function(e,t,i,s){for(i=i||{},s=e.length;s--;i[e[s]]=t);return i},t=[1,7],i=[1,13],s=[1,14],r=[1,15],n=[1,19],l=[1,16],o=[1,17],a=[1,18],c=[8,30],h=[8,21,28,29,30,31,32,40,44,47],d=[1,23],u=[1,24],g=[8,15,16,21,28,29,30,31,32,40,44,47],p=[8,15,16,21,27,28,29,30,31,32,40,44,47],y=[1,49],b={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(e,t,i,s,r,n,l){var o=n.length-1;switch(r){case 4:s.getLogger().debug("Rule: separator (NL) ");break;case 5:s.getLogger().debug("Rule: separator (Space) ");break;case 6:s.getLogger().debug("Rule: separator (EOF) ");break;case 7:s.getLogger().debug("Rule: hierarchy: ",n[o-1]),s.setHierarchy(n[o-1]);break;case 8:s.getLogger().debug("Stop NL ");break;case 9:s.getLogger().debug("Stop EOF ");break;case 10:s.getLogger().debug("Stop NL2 ");break;case 11:s.getLogger().debug("Stop EOF2 ");break;case 12:s.getLogger().debug("Rule: statement: ",n[o]),"number"==typeof n[o].length?this.$=n[o]:this.$=[n[o]];break;case 13:s.getLogger().debug("Rule: statement #2: ",n[o-1]),this.$=[n[o-1]].concat(n[o]);break;case 14:s.getLogger().debug("Rule: link: ",n[o],e),this.$={edgeTypeStr:n[o],label:""};break;case 15:s.getLogger().debug("Rule: LABEL link: ",n[o-3],n[o-1],n[o]),this.$={edgeTypeStr:n[o],label:n[o-1]};break;case 18:let a=parseInt(n[o]),c=s.generateId();this.$={id:c,type:"space",label:"",width:a,children:[]};break;case 23:s.getLogger().debug("Rule: (nodeStatement link node) ",n[o-2],n[o-1],n[o]," typestr: ",n[o-1].edgeTypeStr);let h=s.edgeStrToEdgeData(n[o-1].edgeTypeStr);this.$=[{id:n[o-2].id,label:n[o-2].label,type:n[o-2].type,directions:n[o-2].directions},{id:n[o-2].id+"-"+n[o].id,start:n[o-2].id,end:n[o].id,label:n[o-1].label,type:"edge",directions:n[o].directions,arrowTypeEnd:h,arrowTypeStart:"arrow_open"},{id:n[o].id,label:n[o].label,type:s.typeStr2Type(n[o].typeStr),directions:n[o].directions}];break;case 24:s.getLogger().debug("Rule: nodeStatement (abc88 node size) ",n[o-1],n[o]),this.$={id:n[o-1].id,label:n[o-1].label,type:s.typeStr2Type(n[o-1].typeStr),directions:n[o-1].directions,widthInColumns:parseInt(n[o],10)};break;case 25:s.getLogger().debug("Rule: nodeStatement (node) ",n[o]),this.$={id:n[o].id,label:n[o].label,type:s.typeStr2Type(n[o].typeStr),directions:n[o].directions,widthInColumns:1};break;case 26:s.getLogger().debug("APA123",this?this:"na"),s.getLogger().debug("COLUMNS: ",n[o]),this.$={type:"column-setting",columns:"auto"===n[o]?-1:parseInt(n[o])};break;case 27:s.getLogger().debug("Rule: id-block statement : ",n[o-2],n[o-1]),s.generateId(),this.$={...n[o-2],type:"composite",children:n[o-1]};break;case 28:s.getLogger().debug("Rule: blockStatement : ",n[o-2],n[o-1],n[o]);let d=s.generateId();this.$={id:d,type:"composite",label:"",children:n[o-1]};break;case 29:s.getLogger().debug("Rule: node (NODE_ID separator): ",n[o]),this.$={id:n[o]};break;case 30:s.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",n[o-1],n[o]),this.$={id:n[o-1],label:n[o].label,typeStr:n[o].typeStr,directions:n[o].directions};break;case 31:s.getLogger().debug("Rule: dirList: ",n[o]),this.$=[n[o]];break;
1case 32:s.getLogger().debug("Rule: dirList: ",n[o-1],n[o]),this.$=[n[o-1]].concat(n[o]);break;case 33:s.getLogger().debug("Rule: nodeShapeNLabel: ",n[o-2],n[o-1],n[o]),this.$={typeStr:n[o-2]+n[o],label:n[o-1]};break;case 34:s.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",n[o-3],n[o-2]," #3:",n[o-1],n[o]),this.$={typeStr:n[o-3]+n[o],label:n[o-2],directions:n[o-1]};break;case 35:case 36:this.$={type:"classDef",id:n[o-1].trim(),css:n[o].trim()};break;case 37:this.$={type:"applyClass",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 38:this.$={type:"applyStyles",id:n[o-1].trim(),stylesStr:n[o].trim()}}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:r,32:n,40:l,44:o,47:a},{8:[1,20]},e(c,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:i,29:s,31:r,32:n,40:l,44:o,47:a}),e(h,[2,16],{14:22,15:d,16:u}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(g,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:n},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:r,32:n,40:l,44:o,47:a},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(p,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(c,[2,13]),{26:35,32:n},{32:[2,14]},{17:[1,36]},e(g,[2,24]),{11:37,13:4,14:22,15:d,16:u,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:r,32:n,40:l,44:o,47:a},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(p,[2,30]),{18:[1,43]},{18:[1,44]},e(g,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:y},{15:[1,50]},e(h,[2,27]),e(p,[2,33]),{39:[1,51]},{34:52,35:y,39:[2,31]},{32:[2,15]},e(p,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(e,t){if(t.recoverable)this.trace(e);else{var i=Error(e);throw i.hash=t,i}},parse:function(e){var t=this,i=[0],s=[],r=[null],n=[],l=this.table,o="",a=0,c=0,h=n.slice.call(arguments,1),d=Object.create(this.lexer),u={};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(u[g]=this.yy[g]);d.setInput(e,u),u.lexer=d,u.parser=this,void 0===d.yylloc&&(d.yylloc={});var p=d.yylloc;n.push(p);var y=d.options&&d.options.ranges;"function"==typeof u.parseError?this.parseError=u.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var b,_,f,L,x,S,m,v,k={};;){if(_=i[i.length-1],this.defaultActions[_]?f=this.defaultActions[_]:(null==b&&(b=function(){var e;return"number"!=typeof(e=s.pop()||d.lex()||1)&&(e instanceof Array&&(e=(s=e).pop()),e=t.symbols_[e]||e),e}()),f=l[_]&&l[_][b]),void 0===f||!f.length||!f[0]){var E="";for(x in v=[],l[_])this.terminals_[x]&&x>2&&v.push("'"+this.terminals_[x]+"'");E=d.showPosition?"Parse error on line "+(a+1)+":\n"+d.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==b?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(E,{text:d.match,token:this.terminals_[b]||b,line:d.yylineno,loc:p,expected:v})}if(f[0]instanceof Array&&f.length>1)throw Error("Parse Error: multiple actions possible at state: "+_+", token: "+b);switch(f[0]){case 1:i.push(b),r.push(d.yytext),n.push(d.yylloc),i.push(f[1]),b=null,c=d.yyleng,o=d.yytext,a=d.yylineno,p=d.yylloc;break;case 2:if(S=this.productions_[f[1]][1],k.$=r[r.length-S],k._$={first_line:n[n.length-(S||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(S||1)].first_column,last_column:n[n.length-1].last_column},y&&(k._$.range=[n[n.length-(S||1)].range[0],n[n.length-1].range[1]]),void 0!==(L=this.performAction.apply(k,[o,c,a,u,f[1],r,n].concat(h))))return L;S&&(i=i.slice(0,-1*S*2),r=r.slice(0,-1*S),n=n.slice(0,-1*S)),i.push(this.productions_[f[1]][0]),r.push(k.$),n.push(k._$),m=l[i[i.length-2]][i[i.length-1]],i.push(m);break;case 3:return!0}}return!0}};function _(){this.yy={}}return b.lexer={EOF:1,parseError:function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},setInput:function(e,t){return this.yy=t||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}
1,input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var s=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),i.length-1&&(this.yylineno-=i.length-1);var r=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:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,s,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(s=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.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],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var n in r)this[n]=r[n];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,i,s,r=this._currentRules(),n=0;n<r.length;n++)if((i=this._input.match(this.rules[r[n]]))&&(!t||i[0].length>t[0].length)){if(t=i,s=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[n])))return e;if(!this._backtrack)return!1;t=!1;continue}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[s]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,i,s){switch(i){case 0:return 10;case 1:return e.getLogger().debug("Found space-block"),31;case 2:return e.getLogger().debug("Found nl-block"),31;case 3:return e.getLogger().debug("Found space-block"),29;case 4:e.getLogger().debug(".",t.yytext);break;case 5:e.getLogger().debug("_",t.yytext);break;case 6:return 5;case 7:return t.yytext=-1,28;case 8:return t.yytext=t.yytext.replace(/columns\s+/,""),e.getLogger().debug("COLUMNS (LEX)",t.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:e.getLogger().debug("LEX: POPPING STR:",t.yytext),this.popState();break;case 14:return e.getLogger().debug("LEX: STR end:",t.yytext),"STR";case 15:return t.yytext=t.yytext.replace(/space\:/,""),e.getLogger().debug("SPACE NUM (LEX)",t.yytext),21;case 16:return t.yytext="1",e.getLogger().debug("COLUMNS (LEX)",t.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),e.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),e.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),e.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),e.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),e.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),e.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),e.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),e.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),e.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),e.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),e.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),e.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return e.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return e.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return e.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;
1case 58:case 60:case 61:case 62:case 65:return e.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return e.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return e.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return e.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return e.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),e.getLogger().debug("LEX ARR START"),38;case 75:return e.getLogger().debug("Lex: NODE_ID",t.yytext),32;case 76:return e.getLogger().debug("Lex: EOF",t.yytext),8;case 79:return"NODE_DESCR";case 81:e.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:e.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return e.getLogger().debug("LEX: NODE_DESCR:",t.yytext),"NODE_DESCR";case 84:e.getLogger().debug("LEX POPPING"),this.popState();break;case 85:e.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (right): dir:",t.yytext),"DIR";case 87:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (left):",t.yytext),"DIR";case 88:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (x):",t.yytext),"DIR";case 89:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (y):",t.yytext),"DIR";case 90:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (up):",t.yytext),"DIR";case 91:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (down):",t.yytext),"DIR";case 92:return t.yytext="]>",e.getLogger().debug("Lex (ARROW_DIR end):",t.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 94:case 95:case 96:return e.getLogger().debug("Lex: LINK",t.yytext),15;case 97:case 98:case 99:return e.getLogger().debug("Lex: START_LINK",t.yytext),this.pushState("LLABEL"),16;case 101:return e.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 103:case 104:return this.popState(),e.getLogger().debug("Lex: LINK",t.yytext),15;case 105:return e.getLogger().debug("Lex: COLON",t.yytext),t.yytext=t.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}
1]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}},_.prototype=b,b.Parser=_,new _}();u.parser=u;let g={},p=[],y={},b="color",_="fill",f=(0,n.c)(),L={},x=e=>n.e.sanitizeText(e,f),S=function(e,t=""){void 0===L[e]&&(L[e]={id:e,styles:[],textStyles:[]});let i=L[e];null!=t&&t.split(",").forEach(e=>{let t=e.replace(/([^;]*);/,"$1").trim();if(e.match(b)){let e=t.replace(_,"bgFill").replace(b,_);i.textStyles.push(e)}i.styles.push(t)})},m=function(e,t=""){let i=g[e];null!=t&&(i.styles=t.split(","))},v=function(e,t){e.split(",").forEach(function(e){let i=g[e];if(void 0===i){let t=e.trim();g[t]={id:t,type:"na",children:[]},i=g[t]}i.classes||(i.classes=[]),i.classes.push(t)})},k=(e,t)=>{let i=e.flat(),s=[];for(let e of i){if(e.label&&(e.label=x(e.label)),"classDef"===e.type){S(e.id,e.css);continue}if("applyClass"===e.type){v(e.id,(null==e?void 0:e.styleClass)||"");continue}if("applyStyles"===e.type){(null==e?void 0:e.stylesStr)&&m(e.id,null==e?void 0:e.stylesStr);continue}if("column-setting"===e.type)t.columns=e.columns||-1;else if("edge"===e.type)y[e.id]?y[e.id]++:y[e.id]=1,e.id=y[e.id]+"-"+e.id,p.push(e);else{e.label||("composite"===e.type?e.label="":e.label=e.id);let t=!g[e.id];if(t?g[e.id]=e:("na"!==e.type&&(g[e.id].type=e.type),e.label!==e.id&&(g[e.id].label=e.label)),e.children&&k(e.children,e),"space"===e.type){let t=e.width||1;for(let i=0;i<t;i++){let t=(0,l.A)(e);t.id=t.id+"-"+i,g[t.id]=t,s.push(t)}}else t&&s.push(e)}}t.children=s},E=[],w={id:"root",type:"composite",children:[],columns:-1},D=0,A=(e,t)=>{let i=o.A,s=i(e,"r"),r=i(e,"g"),n=i(e,"b");return a.A(s,r,n,t)};function N(e,t,i=!1){var s,r,l;let o,a="default";((null==(s=null==e?void 0:e.classes)?void 0:s.length)||0)>0&&(a=((null==e?void 0:e.classes)||[]).join(" ")),a+=" flowchart-label";let c=0,h="";switch(e.type){case"round":c=5,h="rect";break;case"composite":c=0,h="composite",o=0;break;case"square":case"group":default:h="rect";break;case"diamond":h="question";break;case"hexagon":h="hexagon";break;case"block_arrow":h="block_arrow";break;case"odd":case"rect_left_inv_arrow":h="rect_left_inv_arrow";break;case"lean_right":h="lean_right";break;case"lean_left":h="lean_left";break;case"trapezoid":h="trapezoid";break;case"inv_trapezoid":h="inv_trapezoid";break;case"circle":h="circle";break;case"ellipse":h="ellipse";break;case"stadium":h="stadium";break;
1case"subroutine":h="subroutine";break;case"cylinder":h="cylinder";break;case"doublecircle":h="doublecircle"}let d=(0,n.k)((null==e?void 0:e.styles)||[]),u=e.label,g=e.size||{width:0,height:0,x:0,y:0};return{labelStyle:d.labelStyle,shape:h,labelText:u,rx:c,ry:c,class:a,style:d.style,id:e.id,directions:e.directions,width:g.width,height:g.height,x:g.x,y:g.y,positioned:i,intersect:void 0,type:e.type,padding:o??((null==(l=null==(r=(0,n.F)())?void 0:r.block)?void 0:l.padding)||0)}}async function C(e,t,i){let s=N(t,i,!1);if("group"===s.type)return;let r=await (0,c.e)(e,s),n=r.node().getBBox(),l=i.getBlock(s.id);l.size={width:n.width,height:n.height,x:0,y:0,node:r},i.setBlock(l),r.remove()}async function $(e,t,i){let s=N(t,i,!0);"space"!==i.getBlock(s.id).type&&(await (0,c.e)(e,s),t.intersect=null==s?void 0:s.intersect,(0,c.p)(s))}async function T(e,t,i,s){for(let r of t)await s(e,r,i),r.children&&await T(e,r.children,i,s)}async function I(e,t,i){await T(e,t,i,C)}async function O(e,t,i){await T(e,t,i,$)}async function z(e,t,i,s,r){let n=new h.T({multigraph:!0,compound:!0});for(let e of(n.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8}),i))e.size&&n.setNode(e.id,{width:e.size.width,height:e.size.height,intersect:e.intersect});for(let i of t)if(i.start&&i.end){let t=s.getBlock(i.start),l=s.getBlock(i.end);if((null==t?void 0:t.size)&&(null==l?void 0:l.size)){let s=t.size,o=l.size,a=[{x:s.x,y:s.y},{x:s.x+(o.x-s.x)/2,y:s.y+(o.y-s.y)/2},{x:o.x,y:o.y}];await (0,c.h)(e,{v:i.start,w:i.end,name:i.id},{...i,arrowTypeEnd:i.arrowTypeEnd,arrowTypeStart:i.arrowTypeStart,points:a,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",n,r),i.label&&(await (0,c.f)(e,{...i,label:i.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:i.arrowTypeEnd,arrowTypeStart:i.arrowTypeStart,points:a,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),await (0,c.j)({...i,x:a[1].x,y:a[1].y},{originalPath:a}))}}}let R=(null==(r=null==(s=(0,n.c)())?void 0:s.block)?void 0:r.padding)||8,B={parser:u,db:{getConfig:()=>(0,n.F)().block,typeStr2Type:function(e){switch(n.l.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return n.l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}},edgeTypeStr2Type:function(e){return(n.l.debug("typeStr2Type",e),"=="===e)?"thick":"normal"},edgeStrToEdgeData:function(e){switch(e.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}},getLogger:()=>console,getBlocksFlat:()=>[...Object.values(g)],getBlocks:()=>E||[],getEdges:()=>p,setHierarchy:e=>{w.children=e,k(e,w),E=w.children},getBlock:e=>g[e],setBlock:e=>{g[e.id]=e},getColumns:e=>{let t=g[e];return t?t.columns?t.columns:t.children?t.children.length:-1:-1},getClasses:function(){return L},clear:()=>{n.l.debug("Clear called"),(0,n.v)(),g={root:w={id:"root",type:"composite",children:[],columns:-1}},E=[],L={},p=[],y={}},generateId:()=>(D++,"id-"+Math.random().toString(36).substr(2,12)+"-"+D)},renderer:{draw:async function(e,t,i,s){let r,{securityLevel:l,block:o}=(0,n.F)(),a=s.db;"sandbox"===l&&(r=(0,d.Ltv)("#i"+t));let h="sandbox"===l?(0,d.Ltv)(r.nodes()[0].contentDocument.body):(0,d.Ltv)("body"),u="sandbox"===l?h.select(`[id="${t}"]`):(0,d.Ltv)(`[id="${t}"]`);(0,c.a)(u,["point","circle","cross"],s.type,t);let g=a.getBlocks(),p=a.getBlocksFlat(),y=a.getEdges(),b=u.insert("g").attr("class","block");await I(b,g,a);let _=function(e){let t=e.getBlock("root");if(!t)return;!function e(t,i,s=0,r=0){var l,o,a,c,h,d,u,g,p,y,b;n.l.debug("setBlockSizes abc95 (start)",t.id,null==(l=null==t?void 0:t.size)?void 0:l.x,"block width =",null==t?void 0:t.size,"sieblingWidth",s),(null==(o=null==t?void 0:t.size)?void 0:o.width)||(t.size={width:s,height:r,x:0,y:0});let _=0,f=0;if((null==(a=t.children)?void 0:a.length)>0){for(let s of t.children)e(s,i);let l=(e=>{let t=0,i=0;for(let s of e.children){let{width:r,height:l,x:o,y:a}=s.size||{width:0,height:0,x:0,y:0};n.l.debug("getMaxChildSize abc95 child:",s.id,"width:",r,"height:",l,"x:",o,"y:",a,s.type),"space"!==s.type&&(r>t&&(t=r/(e.widthInColumns||1)),l>i&&(i=l))}return{width:t,height:i}})(t);for(let e of(_=l.width,f=l.height,n.l.debug("setBlockSizes abc95 maxWidth of",t.id,":s children is ",_,f),t.children))e.size&&(n.l.debug(`abc95 Setting size of children of ${t.id} id=${e.id} ${_} ${f} ${e.size}`),e.size.width=_*(e.widthInColumns||1)+R*((e.widthInColumns||1)-1),e.size.height=f,e.size.x=0,e.size.y=0,n.l.debug(`abc95 updating size of ${t.id} children child:${e.id} maxWidth:${_} maxHeight:${f}`));for(let s of t.children)e(s,i,_,f);let o=t.columns||-1,a=0;for(let e of t.children)a+=e.widthInColumns||1;let g=t.children.length;o>0&&o<a&&(g=o),t.widthInColumns;let p=Math.ceil(a/g),y=g*(_+R)+R,b=p*(f+R)+R;if(y<s){n.l.debug(`Detected to small siebling: abc95 ${t.id} sieblingWidth ${s} sieblingHeight ${r}
1 width ${y}`),y=s,b=r;let e=(s-g*R-R)/g,i=(r-p*R-R)/p;for(let s of(n.l.debug("Size indata abc88",t.id,"childWidth",e,"maxWidth",_),n.l.debug("Size indata abc88",t.id,"childHeight",i,"maxHeight",f),n.l.debug("Size indata abc88 xSize",g,"padding",R),t.children))s.size&&(s.size.width=e,s.size.height=i,s.size.x=0,s.size.y=0)}if(n.l.debug(`abc95 (finale calc) ${t.id} xSize ${g} ySize ${p} columns ${o}${t.children.length} width=${Math.max(y,(null==(c=t.size)?void 0:c.width)||0)}`),y<((null==(h=null==t?void 0:t.size)?void 0:h.width)||0)){y=(null==(d=null==t?void 0:t.size)?void 0:d.width)||0;let e=o>0?Math.min(t.children.length,o):t.children.length;if(e>0){let i=(y-e*R-R)/e;for(let e of(n.l.debug("abc95 (growing to fit) width",t.id,y,null==(u=t.size)?void 0:u.width,i),t.children))e.size&&(e.size.width=i)}}t.size={width:y,height:b,x:0,y:0}}n.l.debug("setBlockSizes abc94 (done)",t.id,null==(g=null==t?void 0:t.size)?void 0:g.x,null==(p=null==t?void 0:t.size)?void 0:p.width,null==(y=null==t?void 0:t.size)?void 0:y.y,null==(b=null==t?void 0:t.size)?void 0:b.height)}(t,e,0,0),function e(t,i){var s,r,l,o,a,c,h,d,u,g,p,y,b,_,f,L,x;n.l.debug(`abc85 layout blocks (=>layoutBlocks) ${t.id} x: ${null==(s=null==t?void 0:t.size)?void 0:s.x} y: ${null==(r=null==t?void 0:t.size)?void 0:r.y} width: ${null==(l=null==t?void 0:t.size)?void 0:l.width}`);let S=t.columns||-1;if(n.l.debug("layoutBlocks columns abc95",t.id,"=>",S,t),t.children&&t.children.length>0){let i=(null==(a=null==(o=null==t?void 0:t.children[0])?void 0:o.size)?void 0:a.width)||0,s=t.children.length*i+(t.children.length-1)*R;n.l.debug("widthOfChildren 88",s,"posX");let r=0;n.l.debug("abc91 block?.size?.x",t.id,null==(c=null==t?void 0:t.size)?void 0:c.x);let l=(null==(h=null==t?void 0:t.size)?void 0:h.x)?(null==(d=null==t?void 0:t.size)?void 0:d.x)+(-(null==(u=null==t?void 0:t.size)?void 0:u.width)/2||0):-R,f=0;for(let i of t.children){if(!i.size)continue;let{width:s,height:o}=i.size,{px:a,py:c}=function(e,t){if(0===e||!Number.isInteger(e))throw Error("Columns must be an integer !== 0.");if(t<0||!Number.isInteger(t))throw Error("Position must be a non-negative integer."+t);return e<0?{px:t,py:0}:1===e?{px:0,py:t}:{px:t%e,py:Math.floor(t/e)}}(S,r);if(c!=f&&(f=c,l=(null==(g=null==t?void 0:t.size)?void 0:g.x)?(null==(p=null==t?void 0:t.size)?void 0:p.x)+(-(null==(y=null==t?void 0:t.size)?void 0:y.width)/2||0):-R,n.l.debug("New row in layout for block",t.id," and child ",i.id,f)),n.l.debug(`abc89 layout blocks (child) id: ${i.id} Pos: ${r} (px, py) ${a},${c} (${null==(b=null==t?void 0:t.size)?void 0:b.x},${null==(_=null==t?void 0:t.size)?void 0:_.y}) parent: ${t.id} width: ${s}${R}`),t.size){let e=s/2;i.size.x=l+R+e,n.l.debug(`abc91 layout blocks (calc) px, pyid:${i.id} startingPos=X${l} new startingPosX${i.size.x} ${e} padding=${R} width=${s} halfWidth=${e} => x:${i.size.x} y:${i.size.y} ${i.widthInColumns} (width * (child?.w || 1)) / 2 ${s*((null==i?void 0:i.widthInColumns)||1)/2}`),l=i.size.x+e,i.size.y=t.size.y-t.size.height/2+c*(o+R)+o/2+R,n.l.debug(`abc88 layout blocks (calc) px, pyid:${i.id}startingPosX${l}${R}${e}=>x:${i.size.x}y:${i.size.y}${i.widthInColumns}(width * (child?.w || 1)) / 2${s*((null==i?void 0:i.widthInColumns)||1)/2}`)}i.children&&e(i),r+=(null==i?void 0:i.widthInColumns)||1,n.l.debug("abc88 columnsPos",i,r)}}n.l.debug(`layout blocks (<==layoutBlocks) ${t.id} x: ${null==(f=null==t?void 0:t.size)?void 0:f.x} y: ${null==(L=null==t?void 0:t.size)?void 0:L.y} width: ${null==(x=null==t?void 0:t.size)?void 0:x.width}`)}(t),n.l.debug("getBlocks",JSON.stringify(t,null,2));let{minX:i,minY:s,maxX:r,maxY:l}=function e(t,{minX:i,minY:s,maxX:r,maxY:n}={minX:0,minY:0,maxX:0,maxY:0}){if(t.size&&"root"!==t.id){let{x:e,y:l,width:o,height:a}=t.size;e-o/2<i&&(i=e-o/2),l-a/2<s&&(s=l-a/2),e+o/2>r&&(r=e+o/2),l+a/2>n&&(n=l+a/2)}if(t.children)for(let l of t.children)({minX:i,minY:s,maxX:r,maxY:n}=e(l,{minX:i,minY:s,maxX:r,maxY:n}));return{minX:i,minY:s,maxX:r,maxY:n}}(t);return{x:i,y:s,width:r-i,height:l-s}}(a);if(await O(b,g,a),await z(b,y,p,a,t),_){let e=Math.max(1,Math.round(.125*(_.width/_.height))),t=_.height+e+10,i=_.width+10,{useMaxWidth:s}=o;(0,n.i)(u,t,i,!!s),n.l.debug("Here Bounds",_,_),u.attr("viewBox",`${_.x-5} ${_.y-5} ${_.width+10} ${_.height+10}`)}(0,d.UMr)(d.zt)},getClasses:function(e,t){return t.db.getClasses()}},styles:e=>`.label {
2    font-family: ${e.fontFamily};
3    color: ${e.nodeTextColor||e.textColor};
4  }
5  .cluster-label text {
6    fill: ${e.titleColor};
7  }
8  .cluster-label span,p {
9    color: ${e.titleColor};
10  }
11
12
13
14  .label text,span,p {
15    fill: ${e.nodeTextColor||e.textColor};
16    color: ${e.nodeTextColor||e.textColor};
17  }
18
19  .node rect,
20  .node circle,
21  .node ellipse,
22  .node polygon,
23  .node path {
24    fill: ${e.mainBkg};
25    stroke: ${e.nodeBorder};
26    stroke-width: 1px;
27  }
28  .flowchart-label text {
29    text-anchor: middle;
30  }
31  // .flowchart-label .text-outer-tspan {
32  //   text-anchor: middle;
33  // }
34  // .flowchart-label .text-inner-tspan {
35  //   text-anchor: start;
36  // }
37
38  .node .label {
39    text-align: center;
40  }
41  .node.clickable {
42    cursor: pointer;
43  }
44
45  .arrowheadPath {
46    fill: ${e.arrowheadColor};
47  }
48
49  .edgePath .path {
50    stroke: ${e.lineColor};
51    stroke-width: 2.0px;
52  }
53
54  .flowchart-link {
55    stroke: ${e.lineColor};
56    fill: none;
57  }
58
59  .edgeLabel {
60    background-color: ${e.edgeLabelBackground};
61    rect {
62      opacity: 0.5;
63      background-color: ${e.edgeLabelBackground};
64      fill: ${e.edgeLabelBackground};
65    }
66    text-align: center;
67  }
68
69  /* For html labels only */
70  .labelBkg {
71    background-color: ${A(e.edgeLabelBackground,.5)};
72    // background-color:
73  }
74
75  .node .cluster {
76    // fill: ${A(e.mainBkg,.5)};
77    fill: ${A(e.clusterBkg,.5)};
78    stroke: ${A(e.clusterBorder,.2)};
79    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
80    stroke-width: 1px;
81  }
82
83  .cluster text {
84    fill: ${e.titleColor};
85  }
86
87  .cluster span,p {
88    color: ${e.titleColor};
89  }
90  /* .cluster div {
91    color: ${e.titleColor};
92  } */
93
94  div.mermaidTooltip {
95    position: absolute;
96    text-align: center;
97    max-width: 200px;
98    padding: 2px;
99    font-family: ${e.fontFamily};
100    font-size: 12px;
101    background: ${e.tertiaryColor};
102    border: 1px solid ${e.border2};
103    border-radius: 2px;
104    pointer-events: none;
105    z-index: 100;
106  }
107
108  .flowchartTitleText {
109    text-anchor: middle;
110    font-size: 18px;
111    fill: ${e.textColor};
112  }
113`}},75458:(e,t,i)=>{i.d(t,{A:()=>o});var s=i(3175),r=i(3679),n=i(69271),l=i(50972);let o=(0,r.A)(function(e){return(0,n.A)((0,s.A)(e,1,l.A,!0))})},81801:(e,t,i)=>{i.d(t,{T:()=>p});var s=i(37051),r=i(13439),n=i(71851),l=i(29431),o=i(49757),a=i(79824),c=i(28555),h=i(82945),d=i(75458),u=i(73308),g=i(57864);class p{constructor(e={}){this._isDirected=!s.A(e,"directed")||e.directed,this._isMultigraph=!!s.A(e,"multigraph")&&e.multigraph,this._isCompound=!!s.A(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.A(void 0),this._defaultEdgeLabelFn=r.A(void 0),this._nodes={}
113,this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return n.A(e)||(e=r.A(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return l.A(this._nodes)}sources(){var e=this;return o.A(this.nodes(),function(t){return a.A(e._in[t])})}sinks(){var e=this;return o.A(this.nodes(),function(t){return a.A(e._out[t])})}setNodes(e,t){var i=arguments,s=this;return c.A(e,function(e){i.length>1?s.setNode(e,t):s.setNode(e)}),this}setNode(e,t){return s.A(this._nodes,e)?arguments.length>1&&(this._nodes[e]=t):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount),this}node(e){return this._nodes[e]}hasNode(e){return s.A(this._nodes,e)}removeNode(e){var t=this;if(s.A(this._nodes,e)){var i=function(e){t.removeEdge(t._edgeObjs[e])};
113delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],c.A(this.children(e),function(e){t.setParent(e)}),delete this._children[e]),c.A(l.A(this._in[e]),i),delete this._in[e],delete this._preds[e],c.A(l.A(this._out[e]),i),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(h.A(t))t="\0";else{t+="";for(var i=t;!h.A(i);i=this.parent(i))if(i===e)throw Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if("\0"!==t)return t}}children(e){if(h.A(e)&&(e="\0"),this._isCompound){var t=this._children[e];if(t)return l.A(t)}else if("\0"===e)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var t=this._preds[e];if(t)return l.A(t)}successors(e){var t=this._sucs[e];if(t)return l.A(t)}neighbors(e){var t=this.predecessors(e);if(t)return d.A(t,this.successors(e))}isLeaf(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var i=this;c.A(this._nodes,function(i,s){e(s)&&t.setNode(s,i)}),c.A(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,i.edge(e))});var s={};return this._isCompound&&c.A(t.nodes(),function(e){t.setParent(e,function e(r){var n=i.parent(r);return void 0===n||t.hasNode(n)?(s[r]=n,n):n in s?s[n]:e(n)}(e))}),t}setDefaultEdgeLabel(e){return n.A(e)||(e=r.A(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return u.A(this._edgeObjs)}setPath(e,t){var i=this,s=arguments;return g.A(e,function(e,r){return s.length>1?i.setEdge(e,r,t):i.setEdge(e,r),r}),this}setEdge(){var e,t,i,r,n=!1,l=arguments[0];"object"==typeof l&&null!==l&&"v"in l?(e=l.v,t=l.w,i=l.name,2==arguments.length&&(r=arguments[1],n=!0)):(e=l,t=arguments[1],i=arguments[3],arguments.length>2&&(r=arguments[2],n=!0)),e=""+e,t=""+t,h.A(i)||(i=""+i);var o=_(this._isDirected,e,t,i);if(s.A(this._edgeLabels,o))return n&&(this._edgeLabels[o]=r),this;if(!h.A(i)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[o]=n?r:this._defaultEdgeLabelFn(e,t,i);var a=function(e,t,i,s){var r=""+t,n=""+i;if(!e&&r>n){var l=r;r=n,n=l}var o={v:r,w:n};return s&&(o.name=s),o}(this._isDirected,e,t,i);return e=a.v,t=a.w,Object.freeze(a),this._edgeObjs[o]=a,y(this._preds[t],e),y(this._sucs[e],t),this._in[t][o]=a,this._out[e][o]=a,this._edgeCount++,this}edge(e,t,i){var s=1==arguments.length?f(this._isDirected,arguments[0]):_(this._isDirected,e,t,i);return this._edgeLabels[s]}hasEdge(e,t,i){var r=1==arguments.length?f(this._isDirected,arguments[0]):_(this._isDirected,e,t,i);return s.A(this._edgeLabels,r)}removeEdge(e,t,i){var s=1==arguments.length?f(this._isDirected,arguments[0]):_(this._isDirected,e,t,i),r=this._edgeObjs[s];return r&&(e=r.v,t=r.w,delete this._edgeLabels[s],delete this._edgeObjs[s],b(this._preds[t],e),b(this._sucs[e],t),delete this._in[t][s],delete this._out[e][s],this._edgeCount--),this}inEdges(e,t){var i=this._in[e];if(i){var s=u.A(i);return t?o.A(s,function(e){return e.v===t}):s}}outEdges(e,t){var i=this._out[e];if(i){var s=u.A(i);return t?o.A(s,function(e){return e.w===t}):s}}nodeEdges(e,t){var i=this.inEdges(e,t);if(i)return i.concat(this.outEdges(e,t))}}function y(e,t){e[t]?e[t]++:e[t]=1}function b(e,t){--e[t]||delete e[t]}function _(e,t,i,s){var r=""+t,n=""+i;if(!e&&r>n){var l=r;r=n,n=l}return r+"\x01"+n+"\x01"+(h.A(s)?"\0":s)}function f(e,t){return _(e,t.v,t.w,t.name)}p.prototype._nodeCount=0,p.prototype._edgeCount=0},92261:(e,t,i)=>{i.d(t,{T:()=>s.T});var s=i(81801)},94808:(e,t,i)=>{i.d(t,{A:()=>n});var s=i(15525),r=i(74984);let n=(e,t)=>s.A.lang.round(r.A.parse(e)[t])}}]);

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.