494 lines
174 KiB
JavaScript
494 lines
174 KiB
JavaScript
|
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["-"],{"./node_modules/monaco-editor/esm/vs/basic-languages/typescript/typescript.js":function(je,se,ot){ot.r(se),ot.d(se,{conf:function(){return G},language:function(){return et}});var E=ot("include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.api.js");var C=Object.defineProperty,U=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyNames,ae=Object.prototype.hasOwnProperty,Ot=(ut,mt,Qt,le)=>{if(mt&&typeof mt=="object"||typeof mt=="function")for(let Zt of w(mt))!ae.call(ut,Zt)&&Zt!==Qt&&C(ut,Zt,{get:()=>mt[Zt],enumerable:!(le=U(mt,Zt))||le.enumerable});return ut},Rt=(ut,mt,Qt)=>(Ot(ut,mt,"default"),Qt&&Ot(Qt,mt,"default")),N={};Rt(N,E);var G={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:N.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:N.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:N.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:N.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},et={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/#?[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"commen
|
||
|
outsidePoint: ${JSON.stringify(t)}
|
||
|
insidePoint : ${JSON.stringify(e)}
|
||
|
node : x:${s.x} y:${s.y} w:${s.width} h:${s.height}`);const a=s.x,c=s.y,i=Math.abs(a-e.x),o=s.width/2;let h=e.x<t.x?o-i:o+i;const g=s.height/2,R=Math.abs(t.y-e.y),m=Math.abs(t.x-e.x);if(Math.abs(c-t.y)*o>Math.abs(a-t.x)*g){let x=e.y<t.y?t.y-g-c:c-g-t.y;h=m*x/R;const D={x:e.x<t.x?e.x+h:e.x-m+h,y:e.y<t.y?e.y+R-x:e.y-R+x};return h===0&&(D.x=t.x,D.y=t.y),m===0&&(D.x=t.x),R===0&&(D.y=t.y),E.l.debug(`abc89 topp/bott calc, Q ${R}, q ${x}, R ${m}, r ${h}`,D),D}else{e.x<t.x?h=t.x-o-a:h=a-o-t.x;let x=R*h/m,D=e.x<t.x?e.x+m-h:e.x-m+h,T=e.y<t.y?e.y+x:e.y-x;return E.l.debug(`sides calc abc89, Q ${R}, q ${x}, R ${m}, r ${h}`,{_x:D,_y:T}),h===0&&(D=t.x,T=t.y),m===0&&(D=t.x),R===0&&(T=t.y),{x:D,y:T}}},zt=(s,t)=>{E.l.debug("abc88 cutPathAtIntersect",s,t);let e=[],a=s[0],c=!1;return s.forEach(i=>{if(!Wt(t,i)&&!c){const o=Kt(t,a,i);let h=!1;e.forEach(g=>{h=h||g.x===o.x&&g.y===o.y}),e.some(g=>g.x===o.x&&g.y===o.y)||e.push(o),c=!0}else a=i,c||e.push(i)}),e},Jt=function(s,t,e,a,c,i,o){let h=e.points;E.l.debug("abc88 InsertEdge: edge=",e,"e=",t);let g=!1;const R=i.node(t.v);var m=i.node(t.w);m?.intersect&&R?.intersect&&(h=h.slice(1,e.points.length-1),h.unshift(R.intersect(h[0])),h.push(m.intersect(h[h.length-1]))),e.toCluster&&(E.l.debug("to cluster abc88",a[e.toCluster]),h=zt(e.points,a[e.toCluster].node),g=!0),e.fromCluster&&(E.l.debug("from cluster abc88",a[e.fromCluster]),h=zt(h.reverse(),a[e.fromCluster].node).reverse(),g=!0);const x=h.filter(St=>!Number.isNaN(St.y));let D=C.qrM;e.curve&&(c==="graph"||c==="flowchart")&&(D=e.curve);const{x:T,y:Y}=ee(e),nt=(0,C.n8j)().x(T).y(Y).curve(D);let S;switch(e.thickness){case"normal":S="edge-thickness-normal";break;case"thick":S="edge-thickness-thick";break;case"invisible":S="edge-thickness-thick";break;default:S=""}switch(e.pattern){case"solid":S+=" edge-pattern-solid";break;case"dotted":S+=" edge-pattern-dotted";break;case"dashed":S+=" edge-pattern-dashed";break}const Et=s.append("path").attr("d",nt(x)).attr("id",e.id).attr("class"," "+S+(e.classes?" "+e.classes:"")).attr("style",e.style);let X="";((0,E.c)().flowchart.arrowMarkerAbsolute||(0,E.c)().state.arrowMarkerAbsolute)&&(X=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,X=X.replace(/\(/g,"\\("),X=X.replace(/\)/g,"\\)")),wt(Et,e,X,o,c);let It={};return g&&(It.updatedPath=h),It.originalPath=e.points,It}},"./node_modules/mermaid/dist/flowDb-4b19a42f.js":function(je,se,ot){ot.d(se,{d:function(){return ke},f:function(){return me},p:function(){return w}});var E=ot("./node_modules/d3/src/index.js"),C=ot("./node_modules/mermaid/dist/mermaid-f47111a7.js"),U=function(){var n=function(is,at,gt,Ct){for(gt=gt||{},Ct=is.length;Ct--;gt[is[Ct]]=at);return gt},F=[1,4],r=[1,3],b=[1,5],v=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],j=[2,2],K=[1,13],xt=[1,14],$=[1,15],Lt=[1,16],tt=[1,23],ee=[1,25],wt=[1,26],Nt=[1,27],_t=[1,49],dt=[1,48],Ft=[1,29],ct=[1,30],Ee=[1,31],ge=[1,32],Te=[1,33],Wt=[1,44],Kt=[1,46],zt=[1,42],Jt=[1,47],s=[1,43],t=[1,50],e=[1,45],a=[1,51],c=[1,52],i=[1,34],o=[1,35],h=[1,36],g=[1,37],R=[1,57],m=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],x=[1,61],D=[1,60],T=[1,62],Y=[8,9,11,73,75],nt=[1,88],S=[1,93],Et=[1,92],X=[1,89],It=[1,85],St=[1,91],ue=[1,87],pe=[1,94],Se=[1,90],ht=[1,95],I=[1,86],H=[8,9,10,11,73,75],W=[8,9,10,11,44,73,75],B=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],Pt=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],p=[42,58,86,99,102,103,106,108,111,112,113],we=[1,121],y=[1,120],Ue=[1,128],Re=[1,142],Ye=[1,143],Be=[1,144],as=[1,145],qt=[1,130],Fe=[1,132],Ce=[1,136],hs=[1,137],xs=[1,138],_s=[1,139],_e=[1,140],Ge=[1,141],Le=[1,146],ds=[1,147],We=[1,126],ls=[1,127],Me=[1,134],bs=[1,129],cs=[1,133],fs=[1,131],Ie=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Ds=[1,149],ce=[8,9,11],Oe=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],jt=[1,169],ve=[1,165],De=[1,
|
||
|
`+xe.showPosition()+`
|
||
|
Expecting `+ks.join(", ")+", got '"+(this.terminals_[Ne]||Ne)+"'":vs="Parse error on line "+(Ve+1)+": Unexpected "+(Ne==Ns?"end of input":"'"+(this.terminals_[Ne]||Ne)+"'"),this.parseError(vs,{text:xe.match,token:this.terminals_[Ne]||Ne,line:xe.yylineno,loc:ws,expected:ks})}if(Pe[0]instanceof Array&&Pe.length>1)throw new Error("Parse Error: multiple actions possible at state: "+us+", token: "+Ne);switch(Pe[0]){case 1:Ct.push(Ne),oe.push(xe.yytext),l.push(xe.yylloc),Ct.push(Pe[1]),Ne=null,Fs=xe.yyleng,d=xe.yytext,Ve=xe.yylineno,ws=xe.yylloc;break;case 2:if(ts=this.productions_[Pe[1]][1],ys.$=oe[oe.length-ts],ys._$={first_line:l[l.length-(ts||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ts||1)].first_column,last_column:l[l.length-1].last_column},Vs&&(ys._$.range=[l[l.length-(ts||1)].range[0],l[l.length-1].range[1]]),Cs=this.performAction.apply(ys,[d,Fs,Ve,os.yy,Pe[1],oe,l].concat(Ms)),typeof Cs<"u")return Cs;ts&&(Ct=Ct.slice(0,-1*ts*2),oe=oe.slice(0,-1*ts),l=l.slice(0,-1*ts)),Ct.push(this.productions_[Pe[1]][0]),oe.push(ys.$),l.push(ys._$),Is=ms[Ct[Ct.length-2]][Ct[Ct.length-1]],Ct.push(Is);break;case 3:return!0}}return!0}},Os=function(){var is={EOF:1,parseError:function(gt,Ct){if(this.yy.parser)this.yy.parser.parseError(gt,Ct);else throw new Error(gt)},setInput:function(at,gt){return this.yy=gt||this.yy||{},this._input=at,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},input:function(){var at=this._input[0];this.yytext+=at,this.yyleng++,this.offset++,this.match+=at,this.matched+=at;var gt=at.match(/(?:\r\n?|\n).*/g);return gt?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),at},unput:function(at){var gt=at.length,Ct=at.split(/(?:\r\n?|\n)/g);this._input=at+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-gt),this.offset-=gt;var V=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),Ct.length-1&&(this.yylineno-=Ct.length-1);var oe=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:Ct?(Ct.length===V.length?this.yylloc.first_column:0)+V[V.length-Ct.length].length-Ct[0].length:this.yylloc.first_column-gt},this.options.ranges&&(this.yylloc.range=[oe[0],oe[0]+this.yyleng-gt]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(at){this.unput(this.match.slice(at))},pastInput:function(){var at=this.matched.substr(0,this.matched.length-this.match.length);return(at.length>20?"...":"")+at.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var at=this.match;return at.length<20&&(at+=this._input.substr(0,20-at.length)),(at.substr(0,20)+(at.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var at=this.pastInput(),gt=new Array(at.length+1).join("-");return at+this.upcomingInput()+`
|
||
|
`+gt+"^"},test_match:function(at,gt){var Ct,V,oe;if(this.options.backtrack_lexer&&(oe={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&&(oe.yylloc.range=this.yylloc.range.slice(0))),V=at[0].match(/(?:\r\n?|\n).*/g),V&&(this.yylineno+=V.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:V?V[V.length-1].length-V[V.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+at[0].length},this.yytext+=at[0],this.match+=at[0],this.matches=at,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(at[0].length),this.matched+=at[0],Ct=this.performAction.call(this,this.yy,this,gt,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),Ct)return Ct;if(this._backtrack){for(var l in oe)this[l]=oe[l];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var at,gt,Ct,V;this._more||(this.yytext="",this.match="");for(var oe=this._currentRules(),l=0;l<oe.length;l++)if(Ct=this._input.match(this.rules[oe[l]]),Ct&&(!gt||Ct[0].length>gt[0].length)){if(gt=Ct,V=l,this.options.backtrack_lexer){if(at=this.test_match(Ct,oe[l]),at!==!1)return at;if(this._backtrack){gt=!1;continue}else return!1}else if(!this.options.flex)break}return gt?(at=this.test_match(gt,oe[V]),at!==!1?at:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
||
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var gt=this.next();return gt||this.lex()},begin:function(gt){this.conditionStack.push(gt)},popState:function(){var gt=this.conditionStack.length-1;return gt>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(gt){return gt=this.conditionStack.length-1-Math.abs(gt||0),gt>=0?this.conditionStack[gt]:"INITIAL"},pushState:function(gt){this.begin(gt)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(gt,Ct,V,oe){switch(V){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 11:this.popState();break;case 12:return 93;case 13:return"MD_STR";case 14:this.popState();break;case 15:this.begin("md_string");break;case 16:return"STR";case 17:this.popState();break;case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 27:this.popState();break;case 28:return 85;case 29:return gt.lex.firstGraph()&&this.begin("dir"),12;case 30:return gt.lex.firstGraph()&&this.begin("dir"),12;case 31:return gt.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:return 95;case 35:return 95;case 36:return 95;case 37:return 95;case 38:return this.popState(),13;case 39:return this.popState(),14;case 40:return this.popState(),14;case 41:return this.popState(),14;case 42:return this.popState(),14;case 43:return this.popState(),14;case 44:return this.popState(),14;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:return 108;case 55:return 44;case 56:return 58;case 57:return 42;case 58:return 8;case 59:return 103;case 60:return 112;case 61:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:return 116;case 64:return this.popState(),75;case 65:return this.pushState("thickEdgeText"),73;case 66:return 116;case 67:return this.popState(),75;case 68:return this.pushState("dottedEdgeText"),73;case 69:return 116;case 70:return 75;case 71:return this.popState(),51;case 72:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 94:return 112;case 95:return 108;case 96:return 42;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 108:return"TEXT";case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:r
|
||
|
|
||
|
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
||
|
You cannot set this config via configuration inside the diagram as it is a secure config.
|
||
|
You have to call mermaid.initialize.`)},Ht=function(n,F,r){C.l.info("addLink (abc78)",n,F,r);let b,v;for(b=0;b<n.length;b++)for(v=0;v<F.length;v++)Dt(n[b],F[v],r)},re=function(n,F){n.forEach(function(r){r==="default"?G.defaultInterpolate=F:G[r].interpolate=F})},vt=function(n,F){n.forEach(function(r){if(r>=G.length)throw new Error(`The index ${r} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${G.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);r==="default"?G.defaultStyle=F:(C.u.isSubstringInArray("fill",F)===-1&&F.push("fill:none"),G[r].style=F)})},Tt=function(n,F){n.split(",").forEach(function(r){et[r]===void 0&&(et[r]={id:r,styles:[],textStyles:[]}),F?.forEach(function(b){if(b.match("color")){const v=b.replace("fill","bgFill").replace("color","fill");et[r].textStyles.push(v)}et[r].styles.push(b)})})},lt=function(n){Mt=n,Mt.match(/.*</)&&(Mt="RL"),Mt.match(/.*\^/)&&(Mt="BT"),Mt.match(/.*>/)&&(Mt="LR"),Mt.match(/.*v/)&&(Mt="TB"),Mt==="TD"&&(Mt="TB")},te=function(n,F){n.split(",").forEach(function(r){let b=r;N[b]!==void 0&&N[b].classes.push(F),mt[b]!==void 0&&mt[b].classes.push(F)})},he=function(n,F){n.split(",").forEach(function(r){F!==void 0&&(Qt[ye==="gen-1"?kt(r):r]=At(F))})},J=function(n,F,r){let b=kt(n);if((0,C.c)().securityLevel!=="loose"||F===void 0)return;let v=[];if(typeof r=="string"){v=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let j=0;j<v.length;j++){let K=v[j].trim();K.charAt(0)==='"'&&K.charAt(K.length-1)==='"'&&(K=K.substr(1,K.length-2)),v[j]=K}}v.length===0&&v.push(n),N[n]!==void 0&&(N[n].haveCallback=!0,q.push(function(){const j=document.querySelector(`[id="${b}"]`);j!==null&&j.addEventListener("click",function(){C.u.runFunc(F,...v)},!1)}))},Z=function(n,F,r){n.split(",").forEach(function(b){N[b]!==void 0&&(N[b].link=C.u.formatUrl(F,Rt),N[b].linkTarget=r)}),te(n,"clickable")},k=function(n){if(Qt.hasOwnProperty(n))return Qt[n]},u=function(n,F,r){n.split(",").forEach(function(b){J(b,F,r)}),te(n,"clickable")},A=function(n){q.forEach(function(F){F(n)})},P=function(){return Mt.trim()},L=function(){return N},O=function(){return G},ft=function(){return et},rt=function(n){let F=(0,E.Ltv)(".mermaidTooltip");(F._groups||F)[0][0]===null&&(F=(0,E.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,E.Ltv)(n).select("svg").selectAll("g.node").on("mouseover",function(){const v=(0,E.Ltv)(this);if(v.attr("title")===null)return;const K=this.getBoundingClientRect();F.transition().duration(200).style("opacity",".9"),F.text(v.attr("title")).style("left",window.scrollX+K.left+(K.right-K.left)/2+"px").style("top",window.scrollY+K.bottom+"px"),F.html(F.html().replace(/<br\/>/g,"<br/>")),v.classed("hover",!0)}).on("mouseout",function(){F.transition().duration(500).style("opacity",0),(0,E.Ltv)(this).classed("hover",!1)})};q.push(rt);const st=function(n="gen-1"){N={},et={},G=[],q=[rt],ut=[],mt={},le=0,Qt={},Zt=!0,ye=n,Rt=(0,C.c)(),(0,C.v)()},Bt=n=>{ye=n||"gen-2"},Vt=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},ie=function(n,F,r){let b=n.text.trim(),v=r.text;n===r&&r.text.match(/\s/)&&(b=void 0);function j(tt){const ee={boolean:{},number:{},string:{}},wt=[];let Nt;return{nodeList:tt.filter(function(dt){const Ft=typeof dt;return dt.stmt&&dt.stmt==="dir"?(Nt=dt.value,!1):dt.trim()===""?!1:Ft in ee?ee[Ft].hasOwnProperty(dt)?!1:ee[Ft][dt]=!0:wt.includes(dt)?!1:wt.push(dt)}),dir:Nt}}let K=[];const{nodeList:xt,dir:$}=j(K.concat.apply(K,F));if(K=xt,ye==="gen-1")for(let tt=0;tt<K.length;tt++)K[tt]=kt(K[tt]);b=b||"subGraph"+le,v=v||"",v=At(v),le=le+1;const Lt={id:b,nodes:K,title:v.trim(),classes:[],dir:$,labelType:r.type};return C.l.info("Adding",Lt.id,Lt.nodes,Lt.dir),Lt.nodes=Yt(Lt,ut).nodes,ut.push(Lt),mt[b]=Lt,b},de=function(n){for(const[F,r]of ut.entries())if(r.id===n)return F;return-1};let ne=-1;const z=[],Q=function(n,F){const r=ut[F].nodes;if(ne=ne+1,ne>2e3)return;if(z[ne]=F,ut[F].id===n)return{result:!0,count:0};let b=0,v=1;for(;b<r.length;){const j=de(r[b]);if(j>=0)
|
||
|
`),(0,U.c)()),vt.style===void 0&&(J.style=J.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),J.labelStyle=J.labelStyle.replace("color:","fill:"),J.id=lt,J.classes="flowchart-link "+te+" "+he,At.setEdge(vt.start,vt.end,J,bt)}},le={setConf:G,addVertices:et,addEdges:ut,getClasses:function(q,At){return At.db.getClasses()},draw:async function(q,At,kt,bt){U.l.info("Drawing flowchart");let Dt=bt.db.getDirection();Dt===void 0&&(Dt="TD");const{securityLevel:Ht,flowchart:re}=(0,U.c)(),vt=re.nodeSpacing||50,Tt=re.rankSpacing||50;let lt;Ht==="sandbox"&&(lt=(0,C.Ltv)("#i"+At));const te=Ht==="sandbox"?(0,C.Ltv)(lt.nodes()[0].contentDocument.body):(0,C.Ltv)("body"),he=Ht==="sandbox"?lt.nodes()[0].contentDocument:document,J=new E.T({multigraph:!0,compound:!0}).setGraph({rankdir:Dt,nodesep:vt,ranksep:Tt,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let Z;const k=bt.db.getSubGraphs();U.l.info("Subgraphs - ",k);for(let rt=k.length-1;rt>=0;rt--)Z=k[rt],U.l.info("Subgraph - ",Z),bt.db.addVertex(Z.id,{text:Z.title,type:Z.labelType},"group",void 0,Z.classes,Z.dir);const u=bt.db.getVertices(),A=bt.db.getEdges();U.l.info("Edges",A);let P=0;for(P=k.length-1;P>=0;P--){Z=k[P],(0,C.Ubm)("cluster").append("text");for(let rt=0;rt<Z.nodes.length;rt++)U.l.info("Setting up subgraphs",Z.nodes[rt],Z.id),J.setParent(Z.nodes[rt],Z.id)}await et(u,J,At,te,he,bt),await ut(A,J);const L=te.select(`[id="${At}"]`),O=te.select("#"+At+" g");if(await(0,w.r)(O,J,["point","circle","cross"],"flowchart",At),U.u.insertTitle(L,"flowchartTitleText",re.titleTopMargin,bt.db.getDiagramTitle()),(0,U.o)(J,L,re.diagramPadding,re.useMaxWidth),bt.db.indexNodes("subGraph"+P),!re.htmlLabels){const rt=he.querySelectorAll('[id="'+At+'"] .edgeLabel .label');for(const st of rt){const Bt=st.getBBox(),Vt=he.createElementNS("http://www.w3.org/2000/svg","rect");Vt.setAttribute("rx",0),Vt.setAttribute("ry",0),Vt.setAttribute("width",Bt.width),Vt.setAttribute("height",Bt.height),st.insertBefore(Vt,st.firstChild)}}Object.keys(u).forEach(function(rt){const st=u[rt];if(st.link){const Bt=(0,C.Ltv)("#"+At+' [id="'+rt+'"]');if(Bt){const Vt=he.createElementNS("http://www.w3.org/2000/svg","a");Vt.setAttributeNS("http://www.w3.org/2000/svg","class",st.classes.join(" ")),Vt.setAttributeNS("http://www.w3.org/2000/svg","href",st.link),Vt.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),Ht==="sandbox"?Vt.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):st.linkTarget&&Vt.setAttributeNS("http://www.w3.org/2000/svg","target",st.linkTarget);const ie=Bt.insert(function(){return Vt},":first-child"),de=Bt.select(".label-container");de&&ie.append(function(){return de.node()});const ne=Bt.select(".label");ne&&ie.append(function(){return ne.node()})}}})}},Zt=(q,At)=>{const kt=Ot.A,bt=kt(q,"r"),Dt=kt(q,"g"),Ht=kt(q,"b");return Rt.A(bt,Dt,Ht,At)},ye=q=>`.label {
|
||
|
font-family: ${q.fontFamily};
|
||
|
color: ${q.nodeTextColor||q.textColor};
|
||
|
}
|
||
|
.cluster-label text {
|
||
|
fill: ${q.titleColor};
|
||
|
}
|
||
|
.cluster-label span,p {
|
||
|
color: ${q.titleColor};
|
||
|
}
|
||
|
|
||
|
.label text,span,p {
|
||
|
fill: ${q.nodeTextColor||q.textColor};
|
||
|
color: ${q.nodeTextColor||q.textColor};
|
||
|
}
|
||
|
|
||
|
.node rect,
|
||
|
.node circle,
|
||
|
.node ellipse,
|
||
|
.node polygon,
|
||
|
.node path {
|
||
|
fill: ${q.mainBkg};
|
||
|
stroke: ${q.nodeBorder};
|
||
|
stroke-width: 1px;
|
||
|
}
|
||
|
.flowchart-label text {
|
||
|
text-anchor: middle;
|
||
|
}
|
||
|
// .flowchart-label .text-outer-tspan {
|
||
|
// text-anchor: middle;
|
||
|
// }
|
||
|
// .flowchart-label .text-inner-tspan {
|
||
|
// text-anchor: start;
|
||
|
// }
|
||
|
|
||
|
.node .katex path {
|
||
|
fill: #000;
|
||
|
stroke: #000;
|
||
|
stroke-width: 1px;
|
||
|
}
|
||
|
|
||
|
.node .label {
|
||
|
text-align: center;
|
||
|
}
|
||
|
.node.clickable {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
.arrowheadPath {
|
||
|
fill: ${q.arrowheadColor};
|
||
|
}
|
||
|
|
||
|
.edgePath .path {
|
||
|
stroke: ${q.lineColor};
|
||
|
stroke-width: 2.0px;
|
||
|
}
|
||
|
|
||
|
.flowchart-link {
|
||
|
stroke: ${q.lineColor};
|
||
|
fill: none;
|
||
|
}
|
||
|
|
||
|
.edgeLabel {
|
||
|
background-color: ${q.edgeLabelBackground};
|
||
|
rect {
|
||
|
opacity: 0.5;
|
||
|
background-color: ${q.edgeLabelBackground};
|
||
|
fill: ${q.edgeLabelBackground};
|
||
|
}
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
/* For html labels only */
|
||
|
.labelBkg {
|
||
|
background-color: ${Zt(q.edgeLabelBackground,.5)};
|
||
|
// background-color:
|
||
|
}
|
||
|
|
||
|
.cluster rect {
|
||
|
fill: ${q.clusterBkg};
|
||
|
stroke: ${q.clusterBorder};
|
||
|
stroke-width: 1px;
|
||
|
}
|
||
|
|
||
|
.cluster text {
|
||
|
fill: ${q.titleColor};
|
||
|
}
|
||
|
|
||
|
.cluster span,p {
|
||
|
color: ${q.titleColor};
|
||
|
}
|
||
|
/* .cluster div {
|
||
|
color: ${q.titleColor};
|
||
|
} */
|
||
|
|
||
|
div.mermaidTooltip {
|
||
|
position: absolute;
|
||
|
text-align: center;
|
||
|
max-width: 200px;
|
||
|
padding: 2px;
|
||
|
font-family: ${q.fontFamily};
|
||
|
font-size: 12px;
|
||
|
background: ${q.tertiaryColor};
|
||
|
border: 1px solid ${q.border2};
|
||
|
border-radius: 2px;
|
||
|
pointer-events: none;
|
||
|
z-index: 100;
|
||
|
}
|
||
|
|
||
|
.flowchartTitleText {
|
||
|
text-anchor: middle;
|
||
|
font-size: 18px;
|
||
|
fill: ${q.textColor};
|
||
|
}
|
||
|
`},"./node_modules/mermaid/dist/styles-991ebdfc.js":function(je,se,ot){ot.d(se,{d:function(){return Ae},p:function(){return w},s:function(){return ss}});var E=ot("./node_modules/d3/src/index.js"),C=ot("./node_modules/mermaid/dist/mermaid-f47111a7.js"),U=function(){var f=function(ht,I,H,W){for(H=H||{},W=ht.length;W--;H[ht[W]]=I);return H},M=[1,17],it=[1,18],pt=[1,19],yt=[1,39],Yt=[1,40],fe=[1,25],me=[1,23],ke=[1,24],n=[1,31],F=[1,32],r=[1,33],b=[1,34],v=[1,35],j=[1,36],K=[1,26],xt=[1,27],$=[1,28],Lt=[1,29],tt=[1,43],ee=[1,30],wt=[1,42],Nt=[1,44],_t=[1,41],dt=[1,45],Ft=[1,9],ct=[1,8,9],Ee=[1,56],ge=[1,57],Te=[1,58],Wt=[1,59],Kt=[1,60],zt=[1,61],Jt=[1,62],s=[1,8,9,39],t=[1,74],e=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],a=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],c=[13,74,80,95,97,98],i=[13,64,65,74,80,95,97,98],o=[13,59,60,61,62,63,74,80,95,97,98],h=[1,93],g=[1,110],R=[1,108],m=[1,102],x=[1,103],D=[1,104],T=[1,105],Y=[1,106],nt=[1,107],S=[1,109],Et=[1,8,9,37,39,42],X=[1,8,9,21],It=[1,8,9,78],St=[1,8,9,21,73,74,78,80,81,82,83,84,85],ue={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87
|
||
|
`+qt.showPosition()+`
|
||
|
Expecting `+cs.join(", ")+", got '"+(this.terminals_[_e]||_e)+"'":fs="Parse error on line "+(Ue+1)+": Unexpected "+(_e==Be?"end of input":"'"+(this.terminals_[_e]||_e)+"'"),this.parseError(fs,{text:qt.match,token:this.terminals_[_e]||_e,line:qt.yylineno,loc:hs,expected:cs})}if(Le[0]instanceof Array&&Le.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ge+", token: "+_e);switch(Le[0]){case 1:W.push(_e),Pt.push(qt.yytext),p.push(qt.yylloc),W.push(Le[1]),_e=null,Re=qt.yyleng,y=qt.yytext,Ue=qt.yylineno,hs=qt.yylloc;break;case 2:if(Me=this.productions_[Le[1]][1],We.$=Pt[Pt.length-Me],We._$={first_line:p[p.length-(Me||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(Me||1)].first_column,last_column:p[p.length-1].last_column},xs&&(We._$.range=[p[p.length-(Me||1)].range[0],p[p.length-1].range[1]]),ds=this.performAction.apply(We,[y,Re,Ue,Fe.yy,Le[1],Pt,p].concat(as)),typeof ds<"u")return ds;Me&&(W=W.slice(0,-1*Me*2),Pt=Pt.slice(0,-1*Me),p=p.slice(0,-1*Me)),W.push(this.productions_[Le[1]][0]),Pt.push(We.$),p.push(We._$),bs=we[W[W.length-2]][W[W.length-1]],W.push(bs);break;case 3:return!0}}return!0}},pe=function(){var ht={EOF:1,parseError:function(H,W){if(this.yy.parser)this.yy.parser.parseError(H,W);else throw new Error(H)},setInput:function(I,H){return this.yy=H||this.yy||{},this._input=I,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},input:function(){var I=this._input[0];this.yytext+=I,this.yyleng++,this.offset++,this.match+=I,this.matched+=I;var H=I.match(/(?:\r\n?|\n).*/g);return H?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),I},unput:function(I){var H=I.length,W=I.split(/(?:\r\n?|\n)/g);this._input=I+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-H),this.offset-=H;var B=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),W.length-1&&(this.yylineno-=W.length-1);var Pt=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:W?(W.length===B.length?this.yylloc.first_column:0)+B[B.length-W.length].length-W[0].length:this.yylloc.first_column-H},this.options.ranges&&(this.yylloc.range=[Pt[0],Pt[0]+this.yyleng-H]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(I){this.unput(this.match.slice(I))},pastInput:function(){var I=this.matched.substr(0,this.matched.length-this.match.length);return(I.length>20?"...":"")+I.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var I=this.match;return I.length<20&&(I+=this._input.substr(0,20-I.length)),(I.substr(0,20)+(I.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var I=this.pastInput(),H=new Array(I.length+1).join("-");return I+this.upcomingInput()+`
|
||
|
`+H+"^"},test_match:function(I,H){var W,B,Pt;if(this.options.backtrack_lexer&&(Pt={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&&(Pt.yylloc.range=this.yylloc.range.slice(0))),B=I[0].match(/(?:\r\n?|\n).*/g),B&&(this.yylineno+=B.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:B?B[B.length-1].length-B[B.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+I[0].length},this.yytext+=I[0],this.match+=I[0],this.matches=I,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(I[0].length),this.matched+=I[0],W=this.performAction.call(this,this.yy,this,H,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),W)return W;if(this._backtrack){for(var p in Pt)this[p]=Pt[p];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var I,H,W,B;this._more||(this.yytext="",this.match="");for(var Pt=this._currentRules(),p=0;p<Pt.length;p++)if(W=this._input.match(this.rules[Pt[p]]),W&&(!H||W[0].length>H[0].length)){if(H=W,B=p,this.options.backtrack_lexer){if(I=this.test_match(W,Pt[p]),I!==!1)return I;if(this._backtrack){H=!1;continue}else return!1}else if(!this.options.flex)break}return H?(I=this.test_match(H,Pt[B]),I!==!1?I:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
||
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var H=this.next();return H||this.lex()},begin:function(H){this.conditionStack.push(H)},popState:function(){var H=this.conditionStack.length-1;return H>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(H){return H=this.conditionStack.length-1-Math.abs(H||0),H>=0?this.conditionStack[H]:"INITIAL"},pushState:function(H){this.begin(H)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(H,W,B,Pt){switch(B){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:break;case 5:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 19:this.popState();break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 22:this.popState();break;case 23:return 71;case 24:this.popState();break;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:return this.popState(),8;case 30:break;case 31:return this.begin("namespace-body"),37;case 32:return this.popState(),39;case 33:return"EOF_IN_STRUCT";case 34:return 8;case 35:break;case 36:return"EDGE_STATE";case 37:return this.begin("class"),44;case 38:return this.popState(),8;case 39:break;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 42:return this.popState(),39;case 43:return"EOF_IN_STRUCT";case 44:return"EDGE_STATE";case 45:return"OPEN_IN_STRUCT";case 46:break;case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 57:this.popState();break;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 60:this.popState();break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:return 68;case 64:return 68;case 65:return 68;case 66:return 68;case 67:return 60;case 68:return 60;case 69:return 62;case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:return 84;case 84:return 84;case 85:return 85;case 86:return"EQUALS";case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:return 83;case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(
|
||
|
fill: ${f.nodeBorder||f.classText};
|
||
|
stroke: none;
|
||
|
font-family: ${f.fontFamily};
|
||
|
font-size: 10px;
|
||
|
|
||
|
.title {
|
||
|
font-weight: bolder;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
.nodeLabel, .edgeLabel {
|
||
|
color: ${f.classText};
|
||
|
}
|
||
|
.edgeLabel .label rect {
|
||
|
fill: ${f.mainBkg};
|
||
|
}
|
||
|
.label text {
|
||
|
fill: ${f.classText};
|
||
|
}
|
||
|
.edgeLabel .label span {
|
||
|
background: ${f.mainBkg};
|
||
|
}
|
||
|
|
||
|
.classTitle {
|
||
|
font-weight: bolder;
|
||
|
}
|
||
|
.node rect,
|
||
|
.node circle,
|
||
|
.node ellipse,
|
||
|
.node polygon,
|
||
|
.node path {
|
||
|
fill: ${f.mainBkg};
|
||
|
stroke: ${f.nodeBorder};
|
||
|
stroke-width: 1px;
|
||
|
}
|
||
|
|
||
|
|
||
|
.divider {
|
||
|
stroke: ${f.nodeBorder};
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
g.clickable {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
g.classGroup rect {
|
||
|
fill: ${f.mainBkg};
|
||
|
stroke: ${f.nodeBorder};
|
||
|
}
|
||
|
|
||
|
g.classGroup line {
|
||
|
stroke: ${f.nodeBorder};
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
.classLabel .box {
|
||
|
stroke: none;
|
||
|
stroke-width: 0;
|
||
|
fill: ${f.mainBkg};
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
|
||
|
.classLabel .label {
|
||
|
fill: ${f.nodeBorder};
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
|
||
|
.relation {
|
||
|
stroke: ${f.lineColor};
|
||
|
stroke-width: 1;
|
||
|
fill: none;
|
||
|
}
|
||
|
|
||
|
.dashed-line{
|
||
|
stroke-dasharray: 3;
|
||
|
}
|
||
|
|
||
|
.dotted-line{
|
||
|
stroke-dasharray: 1 2;
|
||
|
}
|
||
|
|
||
|
#compositionStart, .composition {
|
||
|
fill: ${f.lineColor} !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#compositionEnd, .composition {
|
||
|
fill: ${f.lineColor} !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#dependencyStart, .dependency {
|
||
|
fill: ${f.lineColor} !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#dependencyStart, .dependency {
|
||
|
fill: ${f.lineColor} !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#extensionStart, .extension {
|
||
|
fill: transparent !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#extensionEnd, .extension {
|
||
|
fill: transparent !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#aggregationStart, .aggregation {
|
||
|
fill: transparent !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#aggregationEnd, .aggregation {
|
||
|
fill: transparent !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#lollipopStart, .lollipop {
|
||
|
fill: ${f.mainBkg} !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
#lollipopEnd, .lollipop {
|
||
|
fill: ${f.mainBkg} !important;
|
||
|
stroke: ${f.lineColor} !important;
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
.edgeTerminals {
|
||
|
font-size: 11px;
|
||
|
line-height: initial;
|
||
|
}
|
||
|
|
||
|
.classTitleText {
|
||
|
text-anchor: middle;
|
||
|
font-size: 18px;
|
||
|
fill: ${f.textColor};
|
||
|
}
|
||
|
`},"./node_modules/mermaid/dist/styles-d20c7d72.js":function(je,se,ot){ot.d(se,{D:function(){return et},S:function(){return Rt},a:function(){return ut},b:function(){return Ot},c:function(){return ae},d:function(){return ke},p:function(){return U},s:function(){return F}});var E=ot("./node_modules/mermaid/dist/mermaid-f47111a7.js"),C=function(){var r=function(m,x,D,T){for(D=D||{},T=m.length;T--;D[m[T]]=x);return D},b=[1,2],v=[1,3],j=[1,4],K=[2,4],xt=[1,9],$=[1,11],Lt=[1,15],tt=[1,16],ee=[1,17],wt=[1,18],Nt=[1,30],_t=[1,19],dt=[1,20],Ft=[1,21],ct=[1,22],Ee=[1,23],ge=[1,25],Te=[1,26],Wt=[1,27],Kt=[1,28],zt=[1,29],Jt=[1,32],s=[1,33],t=[1,34],e=[1,35],a=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],i=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],o=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],h={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(x,D,T,Y,nt,S,Et){var X=S.length-1;switch(nt){case 3:return Y.setRootDoc(S[X]),S[X];case 4:this.$=[];break;case 5:S[X]!="nl"&&(S[X-1].push(S[X]),this.$=S[X-1]);break;case 6:case 7:this.$=S[X];break;case 8:this.$="nl";break;case 11:this.$=S[X];break;case 12:const pe=S[X-1];pe.description=Y.trimColon(S[X]),this.$=pe;break;case 13:this.$={stmt:"relation",state1:S[X-2],state2:S[X]};break;case 14:const Se=Y.trimColon(S[X]);this.$={stmt:"relation",state1:S[X-3],state2:S[X-1],description:Se};break;case 18:this.$={stmt:"state",id:S[X-3],type:"default",description:"",doc:S[X-1]};break;case 19:var It=S[X],St=S[X-2].trim();if(S[X].match(":")){var ue=S[X].split(":");It=ue[0],St=[St,ue[1]]}this.$={stmt:"state",id:It,type:"default",description:St};break;case 20:this.$={stmt:"state",id:S[X-3],type:"default",description:S[X-5],doc:S[X-1]};break;case 21:this.$={stmt:"state",id:S[X],type:"fork"};break;case 22:this.$={stmt:"state",id:S[X],type:"join"};break;case 23:this.$={stmt:"state",id:S[X],type:"choice"};break;case 24:this.$={stmt:"state",id:Y.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:S[X-1].trim(),note:{position:S[X-2].trim(),text:S[X].trim()}};break;case 28:this.$=S[X].trim(),Y.setAccTitle(this.$);break;case 29:case 30:this.$=S[X].trim(),Y.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:S[X-1].trim(),classes:S[X].trim()};break;case 33:this.$={stmt:"applyClass",id:S[X-1].trim(),styleClass:S[X].trim()};break;case 34:Y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};brea
|
||
|
`+ht.showPosition()+`
|
||
|
Expecting `+qt.join(", ")+", got '"+(this.terminals_[p]||p)+"'":Fe="Parse error on line "+(It+1)+": Unexpected "+(p==pe?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(Fe,{text:ht.match,token:this.terminals_[p]||p,line:ht.yylineno,loc:W,expected:qt})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+we+", token: "+p);switch(y[0]){case 1:T.push(p),nt.push(ht.yytext),S.push(ht.yylloc),T.push(y[1]),p=null,St=ht.yyleng,X=ht.yytext,It=ht.yylineno,W=ht.yylloc;break;case 2:if(Be=this.productions_[y[1]][1],Re.$=nt[nt.length-Be],Re._$={first_line:S[S.length-(Be||1)].first_line,last_line:S[S.length-1].last_line,first_column:S[S.length-(Be||1)].first_column,last_column:S[S.length-1].last_column},B&&(Re._$.range=[S[S.length-(Be||1)].range[0],S[S.length-1].range[1]]),Ue=this.performAction.apply(Re,[X,St,It,I.yy,y[1],nt,S].concat(Se)),typeof Ue<"u")return Ue;Be&&(T=T.slice(0,-1*Be*2),nt=nt.slice(0,-1*Be),S=S.slice(0,-1*Be)),T.push(this.productions_[y[1]][0]),nt.push(Re.$),S.push(Re._$),as=Et[T[T.length-2]][T[T.length-1]],T.push(as);break;case 3:return!0}}return!0}},g=function(){var m={EOF:1,parseError:function(D,T){if(this.yy.parser)this.yy.parser.parseError(D,T);else throw new Error(D)},setInput:function(x,D){return this.yy=D||this.yy||{},this._input=x,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},input:function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var D=x.match(/(?:\r\n?|\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},unput:function(x){var D=x.length,T=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var Y=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),T.length-1&&(this.yylineno-=T.length-1);var nt=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:T?(T.length===Y.length?this.yylloc.first_column:0)+Y[Y.length-T.length].length-T[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[nt[0],nt[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
||
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(x){this.unput(this.match.slice(x))},pastInput:function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var x=this.pastInput(),D=new Array(x.length+1).join("-");return x+this.upcomingInput()+`
|
||
|
`+D+"^"},test_match:function(x,D){var T,Y,nt;if(this.options.backtrack_lexer&&(nt={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&&(nt.yylloc.range=this.yylloc.range.slice(0))),Y=x[0].match(/(?:\r\n?|\n).*/g),Y&&(this.yylineno+=Y.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:Y?Y[Y.length-1].length-Y[Y.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+x[0].length},this.yytext+=x[0],this.match+=x[0],this.matches=x,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(x[0].length),this.matched+=x[0],T=this.performAction.call(this,this.yy,this,D,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),T)return T;if(this._backtrack){for(var S in nt)this[S]=nt[S];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var x,D,T,Y;this._more||(this.yytext="",this.match="");for(var nt=this._currentRules(),S=0;S<nt.length;S++)if(T=this._input.match(this.rules[nt[S]]),T&&(!D||T[0].length>D[0].length)){if(D=T,Y=S,this.options.backtrack_lexer){if(x=this.test_match(T,nt[S]),x!==!1)return x;if(this._backtrack){D=!1;continue}else return!1}else if(!this.options.flex)break}return D?(x=this.test_match(D,nt[Y]),x!==!1?x:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
||
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var D=this.next();return D||this.lex()},begin:function(D){this.conditionStack.push(D)},popState:function(){var D=this.conditionStack.length-1;return D>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(D){return D=this.conditionStack.length-1-Math.abs(D||0),D>=0?this.conditionStack[D]:"INITIAL"},pushState:function(D){this.begin(D)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(D,T,Y,nt){switch(Y){case 0:return 40;case 1:return 44;case 2:return 45;case 3:return 46;case 4:return 47;case 5:break;case 6:break;case 7:return 5;case 8:break;case 9:break;case 10:break;case 11:break;case 12:return this.pushState("SCALE"),16;case 13:return 17;case 14:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 20:this.popState();break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 29:return this.pushState("SCALE"),16;case 30:return 17;case 31:this.popState();break;case 32:this.pushState("STATE");break;case 33:return this.popState(),T.yytext=T.yytext.slice(0,-8).trim(),24;case 34:return this.popState(),T.yytext=T.yytext.slice(0,-8).trim(),25;case 35:return this.popState(),T.yytext=T.yytext.slice(0,-10).trim(),26;case 36:return this.popState(),T.yytext=T.yytext.slice(0,-8).trim(),24;case 37:return this.popState(),T.yytext=T.yytext.slice(0,-8).trim(),25;case 38:return this.popState(),T.yytext=T.yytext.slice(0,-10).trim(),26;case 39:return 44;case 40:return 45;case 41:return 46;case 42:return 47;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:return this.popState(),"ID";case 46:this.popState();break;case 47:return"STATE_DESCR";case 48:return 18;case 49:this.popState();break;case 50:return this.popState(),this.pushState("struct"),19;case 51:break;case 52:return this.popState(),20;case 53:break;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 59:break;case 60:return"NOTE_TEXT";case 61:return this.popState(),"ID";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),T.yytext=T.yytext.substr(2).trim(),30;case 64:return this.popState(),T.yytext=T.yytext.slice(0,-8).trim(),30;case 65:return 6;case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return T.yytext=T.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 74:return 5;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/
|
||
|
defs #statediagram-barbEnd {
|
||
|
fill: ${r.transitionColor};
|
||
|
stroke: ${r.transitionColor};
|
||
|
}
|
||
|
g.stateGroup text {
|
||
|
fill: ${r.nodeBorder};
|
||
|
stroke: none;
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
g.stateGroup text {
|
||
|
fill: ${r.textColor};
|
||
|
stroke: none;
|
||
|
font-size: 10px;
|
||
|
|
||
|
}
|
||
|
g.stateGroup .state-title {
|
||
|
font-weight: bolder;
|
||
|
fill: ${r.stateLabelColor};
|
||
|
}
|
||
|
|
||
|
g.stateGroup rect {
|
||
|
fill: ${r.mainBkg};
|
||
|
stroke: ${r.nodeBorder};
|
||
|
}
|
||
|
|
||
|
g.stateGroup line {
|
||
|
stroke: ${r.lineColor};
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
.transition {
|
||
|
stroke: ${r.transitionColor};
|
||
|
stroke-width: 1;
|
||
|
fill: none;
|
||
|
}
|
||
|
|
||
|
.stateGroup .composit {
|
||
|
fill: ${r.background};
|
||
|
border-bottom: 1px
|
||
|
}
|
||
|
|
||
|
.stateGroup .alt-composit {
|
||
|
fill: #e0e0e0;
|
||
|
border-bottom: 1px
|
||
|
}
|
||
|
|
||
|
.state-note {
|
||
|
stroke: ${r.noteBorderColor};
|
||
|
fill: ${r.noteBkgColor};
|
||
|
|
||
|
text {
|
||
|
fill: ${r.noteTextColor};
|
||
|
stroke: none;
|
||
|
font-size: 10px;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.stateLabel .box {
|
||
|
stroke: none;
|
||
|
stroke-width: 0;
|
||
|
fill: ${r.mainBkg};
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
|
||
|
.edgeLabel .label rect {
|
||
|
fill: ${r.labelBackgroundColor};
|
||
|
opacity: 0.5;
|
||
|
}
|
||
|
.edgeLabel .label text {
|
||
|
fill: ${r.transitionLabelColor||r.tertiaryTextColor};
|
||
|
}
|
||
|
.label div .edgeLabel {
|
||
|
color: ${r.transitionLabelColor||r.tertiaryTextColor};
|
||
|
}
|
||
|
|
||
|
.stateLabel text {
|
||
|
fill: ${r.stateLabelColor};
|
||
|
font-size: 10px;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.node circle.state-start {
|
||
|
fill: ${r.specialStateColor};
|
||
|
stroke: ${r.specialStateColor};
|
||
|
}
|
||
|
|
||
|
.node .fork-join {
|
||
|
fill: ${r.specialStateColor};
|
||
|
stroke: ${r.specialStateColor};
|
||
|
}
|
||
|
|
||
|
.node circle.state-end {
|
||
|
fill: ${r.innerEndBackground};
|
||
|
stroke: ${r.background};
|
||
|
stroke-width: 1.5
|
||
|
}
|
||
|
.end-state-inner {
|
||
|
fill: ${r.compositeBackground||r.background};
|
||
|
// stroke: ${r.background};
|
||
|
stroke-width: 1.5
|
||
|
}
|
||
|
|
||
|
.node rect {
|
||
|
fill: ${r.stateBkg||r.mainBkg};
|
||
|
stroke: ${r.stateBorder||r.nodeBorder};
|
||
|
stroke-width: 1px;
|
||
|
}
|
||
|
.node polygon {
|
||
|
fill: ${r.mainBkg};
|
||
|
stroke: ${r.stateBorder||r.nodeBorder};;
|
||
|
stroke-width: 1px;
|
||
|
}
|
||
|
#statediagram-barbEnd {
|
||
|
fill: ${r.lineColor};
|
||
|
}
|
||
|
|
||
|
.statediagram-cluster rect {
|
||
|
fill: ${r.compositeTitleBackground};
|
||
|
stroke: ${r.stateBorder||r.nodeBorder};
|
||
|
stroke-width: 1px;
|
||
|
}
|
||
|
|
||
|
.cluster-label, .nodeLabel {
|
||
|
color: ${r.stateLabelColor};
|
||
|
}
|
||
|
|
||
|
.statediagram-cluster rect.outer {
|
||
|
rx: 5px;
|
||
|
ry: 5px;
|
||
|
}
|
||
|
.statediagram-state .divider {
|
||
|
stroke: ${r.stateBorder||r.nodeBorder};
|
||
|
}
|
||
|
|
||
|
.statediagram-state .title-state {
|
||
|
rx: 5px;
|
||
|
ry: 5px;
|
||
|
}
|
||
|
.statediagram-cluster.statediagram-cluster .inner {
|
||
|
fill: ${r.compositeBackground||r.background};
|
||
|
}
|
||
|
.statediagram-cluster.statediagram-cluster-alt .inner {
|
||
|
fill: ${r.altBackground?r.altBackground:"#efefef"};
|
||
|
}
|
||
|
|
||
|
.statediagram-cluster .inner {
|
||
|
rx:0;
|
||
|
ry:0;
|
||
|
}
|
||
|
|
||
|
.statediagram-state rect.basic {
|
||
|
rx: 5px;
|
||
|
ry: 5px;
|
||
|
}
|
||
|
.statediagram-state rect.divider {
|
||
|
stroke-dasharray: 10,10;
|
||
|
fill: ${r.altBackground?r.altBackground:"#efefef"};
|
||
|
}
|
||
|
|
||
|
.note-edge {
|
||
|
stroke-dasharray: 5;
|
||
|
}
|
||
|
|
||
|
.statediagram-note rect {
|
||
|
fill: ${r.noteBkgColor};
|
||
|
stroke: ${r.noteBorderColor};
|
||
|
stroke-width: 1px;
|
||
|
rx: 0;
|
||
|
ry: 0;
|
||
|
}
|
||
|
.statediagram-note rect {
|
||
|
fill: ${r.noteBkgColor};
|
||
|
stroke: ${r.noteBorderColor};
|
||
|
stroke-width: 1px;
|
||
|
rx: 0;
|
||
|
ry: 0;
|
||
|
}
|
||
|
|
||
|
.statediagram-note text {
|
||
|
fill: ${r.noteTextColor};
|
||
|
}
|
||
|
|
||
|
.statediagram-note .nodeLabel {
|
||
|
color: ${r.noteTextColor};
|
||
|
}
|
||
|
.statediagram .edgeLabel {
|
||
|
color: red; // ${r.noteTextColor};
|
||
|
}
|
||
|
|
||
|
#dependencyStart, #dependencyEnd {
|
||
|
fill: ${r.lineColor};
|
||
|
stroke: ${r.lineColor};
|
||
|
stroke-width: 1;
|
||
|
}
|
||
|
|
||
|
.statediagramTitleText {
|
||
|
text-anchor: middle;
|
||
|
font-size: 18px;
|
||
|
fill: ${r.textColor};
|
||
|
}
|
||
|
`}}]);
|