<smallclass="form-text text-muted"ng-show="options.expirationMode=='redirect'">After {{options.expirationDate | date}}, visitors will be redirected to GitHub.</small>
`);for(var[i,{detector:n}]of Object.entries(Qe))if(n(e,t))return i;throw new Ze("No diagram type detected matching given configuration for text: "+e)},"detectType"),et=mt((...e)=>{for(var{id:t,detector:i,loader:n}of e)tt(t,i,n)},"registerLazyLoadedDiagrams"),tt=mt((e,t,i)=>{Qe[e]&&I.warn(`Detectorwithkey${e}alreadyexists.Overwriting.`),Qe[e]={detector:t,loader:i},I.debug(`Detectorwithkey${e}added`+(i?" with loader":""))},"addDetector"),it=mt(e=>Qe[e].loader,"getDiagramLoader")}),Wi=e(()=>{"use strict";function P(){this.yy={}}var e,t,i,B,F,j,n,r,s,a,o,l,h,u,d,p,g,f,m,y,b,v,x,w,k,T,S,C,_,A,E,$,L,R,z,H,U,q,W,G,V,Y,X,K,Z,Q,J,M,I,N,D,O,ee,te,ie,ne;e=mt(function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i},"o"),t=[1,24],i=[1,25],B=[1,26],F=[1,27],j=[1,28],n=[1,63],r=[1,64],s=[1,65],a=[1,66],o=[1,67],l=[1,68],h=[1,69],u=[1,29],d=[1,30],p=[1,31],g=[1,32],f=[1,33],m=[1,34],y=[1,35],b=[1,36],v=[1,37],x=[1,38],w=[1,39],k=[1,40],T=[1,41],S=[1,42],C=[1,43],_=[1,44],A=[1,45],E=[1,46],$=[1,47],L=[1,48],R=[1,50],z=[1,51],H=[1,52],U=[1,53],q=[1,54],W=[1,55],G=[1,56],V=[1,57],Y=[1,58],X=[1,59],K=[1,60],Z=[14,42],Q=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],J=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],M=[1,82],I=[1,83],N=[1,84],D=[1,85],O=[12,14,42],ee=[12,14,33,42],te=[12,14,33,42,76,77,79,80],ie=[12,33],ne=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],t={trace:mt(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:mt(function(e,t,i,n,r,s,a){var o=s.length-1;switch(r){case 3:n.setDirection("TB");break;case 4:n.setDirection("BT");break;case 5:n.setDirection("RL");break;case 6:n.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:n.setC4Type(s[o-3]);break;case 19:n.setTitle(s[o].substring(6)),this.$=s[o].substring(6);break;case 20:n.setAccDescription(s[o].substring(15)),this.$=s[o].substring(15);break;case 21:this.$=s[o].trim(),n.setTitle(this.$);break;case 22:case 23:this.$=s[o].trim(),n.se
Line truncated
`+g.showPosition()+`
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
pleasereportwhatinputcausedthisbug`);return{type:"verb",mode:"text",body:i=i.slice(1,-1),star:n}}bc.hasOwnProperty(t[0])&&!va[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=bc[t[0]]+t.slice(1));var r=rc.exec(t);if(r&&("i"===(t=t.substring(0,r.index))?t="ı":"j"===t&&(t="ȷ")),va[this.mode][t]){this.settings.strict&&"math"===this.mode&&0<=Oa.indexOf(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var i=va[this.mode][t].group,n=gs.range(e),s=ya.hasOwnProperty(i)?{type:"atom",mode:this.mode,family:i,loc:n,text:t}:{type:i,mode:this.mode,loc:n,text:t}}else{if(!(128<=t.charCodeAt(0)))return null;this.settings.strict&&(zr(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),s={type:"textord",mode:"text",loc:gs.range(e),text:t}}if(this.consume(),r)for(var a=0;a<r[0].length;a++){var o=r[0][a];if(!yc[o])throw new X("Unknown accent ' "+o+"'",e);var l=yc[o][this.mode]||yc[o].text;if(!l)throw new X("Accent "+o+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:gs.range(e),label:l,isStretchy:!1,isShifty:!0,base:s}}return s}}).endOfExpression=["}","\\endgroup","\\end","\\right","&"],xc=mt(function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var e=new vc(e,t),i=(delete e.gullet.macros.current["\\df@tag"],e.parse());if(delete e.gullet.macros.current["\\current@color"],delete e.gullet.macros.current["\\color"],e.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new X("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:e.subparse([new fs("\\df@tag")])}]}return i},"parseTree"),wc=mt(function(e,t,i){t.textContent="";e=Cc(e,i).toNode();t.appendChild(e)},"render"),typeof document<"u"&&"CSS1Compat"!==document.compatMode&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),wc=mt(function(){throw new X("KaTeX doesn't work in quirks mode.")},"render")),kc=mt(function(e,t){return Cc(e,t).toMarkup()},"renderToString"),Tc=mt(function(e,t){t=new Ts(t);return xc(e,t)},"generateParseTree"),Sc=mt(function(e,t,i){if(!i.throwOnError&&e instanceof X)return(t=Z.makeSpan(["katex-error"],[new pa(t)])).setAttribute("title",e.toString()),t.setAttribute("style","color:"+i.errorColor),t;throw e},"renderError"),Cc=mt(function(t,i){i=new Ts(i);try{var e=xc(t,i);return Lo(e,t,i)}catch(e){return Sc(e,t,i)}},"renderToDomTree"),_c=mt(function(t,i){i=new Ts(i);try{var e=xc(t,i);return Ro(e,t,i)}catch(e){return Sc(e,t,i)}},"renderToHTMLTree"),$c={version:Ac="0.16.22",render:wc,renderToString:kc,ParseError:X,SETTINGS_SCHEMA:ks,__parse:Tc,__renderToDomTree:Cc,__renderToHTMLTree:_c,__setFontMetrics:Hr,__defineSymbol:o,__defineFunction:l,__defineMacro:h,__domTree:Ec={Span:ca,Anchor:ha,SymbolNode:pa,SvgNode:ga,PathNode:fa,LineNode:ma}}});function Rc(){let t="data-temp-href-target";Dr.addHook("beforeSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),Dr.addHook("afterSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target"))&&e.setAttribute("rel","noopener")})}var Mc,Ic,Nc,Dc,Oc,Pc,Bc,Fc,jc,zc,Hc,Uc,qc,Wc,Vc,Gc,Yc,Xc,Kc,Zc,Qc,Jc,eh,th,$,ih,nh,rh,sh,ah,oh,lh,ch,hh=e(()=>{"use strict";Or(),Mc=/<br\s*\/?>/gi,Ic=mt(e=>e?Hc(e).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Nc=(()=>{let e=!1;return()=>{e||(Rc(),e=!0)}})(),mt(Rc,"setupDompurifyHooks"),Dc=mt(e=>(Nc(),Dr.sanitize(e)),"removeScript"),Oc=mt((e,t)=>{return!1!==t.flowchart?.htmlLabels&&("antiscript"===(t=t.securityLevel)||"strict"===t?e=Dc(e):"loose"!==t&&(e=(e=(e=Hc(e)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),e=zc(e))),e},"sanitizeMore"),Pc=mt((e,t)=>e&&(e=(t.dompurifyConfig?Dr.sanitize(Oc(e,t),t.dompurifyConfig):Dr.sanitize(Oc(e,t),{FORBID_TAGS:["style"]})).toString()),"sanitizeText"),Bc=mt((e,t)=>"string"==typeof e?Pc(e,t):e.flat().map(e=>Pc(e,t)),"sanitizeTextOrArray"),Fc=mt(e=>Mc.test(e),"hasBreaks"),jc=mt(e=>e.split(Mc),"splitBreaks"),zc=mt(e=>e.replace(/#br#/g,"<br/>"),"placeholderToBreak"),Hc=mt(e=>e.replace(Mc,"#br#"),"breakToPlaceholder"),Uc=mt(e=>{let t="";return e&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,t=CSS.escape(t)),t},"getUrl"),qc=mt(e=>!(!1===e||["false","null","0"].includes(String(e).trim().toLowerCase())),"evaluate"),Wc=mt(function(...e){e=
Line truncated
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},"tallDelim"),Ws=class{static{mt(this,"DocumentFragment")}constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return ws.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){var e=mt(e=>e.toText(),"toText");return this.children.map(e).join("")}},Gs={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:
Line truncated
pleasereportwhatinputcausedthisbug`);return{type:"verb",mode:"text",body:i=i.slice(1,-1),star:n}}bc.hasOwnProperty(t[0])&&!va[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=bc[t[0]]+t.slice(1));var r=rc.exec(t);if(r&&("i"===(t=t.substring(0,r.index))?t="ı":"j"===t&&(t="ȷ")),va[this.mode][t]){this.settings.strict&&"math"===this.mode&&0<=Oa.indexOf(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var i=va[this.mode][t].group,n=gs.range(e),s=ya.hasOwnProperty(i)?{type:"atom",mode:this.mode,family:i,loc:n,text:t}:{type:i,mode:this.mode,loc:n,text:t}}else{if(!(128<=t.charCodeAt(0)))return null;this.settings.strict&&(zr(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),s={type:"textord",mode:"text",loc:gs.range(e),text:t}}if(this.consume(),r)for(var a=0;a<r[0].length;a++){var o=r[0][a];if(!yc[o])throw new X("Unknown accent ' "+o+"'",e);var l=yc[o][this.mode]||yc[o].text;if(!l)throw new X("Accent "+o+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:gs.range(e),label:l,isStretchy:!1,isShifty:!0,base:s}}return s}}).endOfExpression=["}","\\endgroup","\\end","\\right","&"],xc=mt(function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var e=new vc(e,t),i=(delete e.gullet.macros.current["\\df@tag"],e.parse());if(delete e.gullet.macros.current["\\current@color"],delete e.gullet.macros.current["\\color"],e.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new X("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:e.subparse([new fs("\\df@tag")])}]}return i},"parseTree"),wc=mt(function(e,t,i){t.textContent="";e=Cc(e,i).toNode();t.appendChild(e)},"render"),typeof document<"u"&&"CSS1Compat"!==document.compatMode&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),wc=mt(function(){throw new X("KaTeX doesn't work in quirks mode.")},"render")),kc=mt(function(e,t){return Cc(e,t).toMarkup()},"renderToString"),Tc=mt(function(e,t){t=new Ts(t);return xc(e,t)},"generateParseTree"),Sc=mt(function(e,t,i){if(!i.throwOnError&&e instanceof X)return(t=Z.makeSpan(["katex-error"],[new pa(t)])).setAttribute("title",e.toString()),t.setAttribute("style","color:"+i.errorColor),t;throw e},"renderError"),Cc=mt(function(t,i){i=new Ts(i);try{var e=xc(t,i);return Lo(e,t,i)}catch(e){return Sc(e,t,i)}},"renderToDomTree"),_c=mt(function(t,i){i=new Ts(i);try{var e=xc(t,i);return Ro(e,t,i)}catch(e){return Sc(e,t,i)}},"renderToHTMLTree"),$c={version:Ac="0.16.22",render:wc,renderToString:kc,ParseError:X,SETTINGS_SCHEMA:ks,__parse:Tc,__renderToDomTree:Cc,__renderToHTMLTree:_c,__setFontMetrics:Hr,__defineSymbol:o,__defineFunction:l,__defineMacro:h,__domTree:Ec={Span:ca,Anchor:ha,SymbolNode:pa,SvgNode:ga,PathNode:fa,LineNode:ma}}});function Rc(){let t="data-temp-href-target";Dr.addHook("beforeSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),Dr.addHook("afterSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target"))&&e.setAttribute("rel","noopener")})}var Mc,Ic,Nc,Dc,Oc,Pc,Bc,Fc,jc,zc,Hc,Uc,qc,Wc,Gc,Vc,Yc,Xc,Kc,Zc,Qc,Jc,eh,th,$,ih,nh,rh,sh,ah,oh,lh,ch,hh=e(()=>{"use strict";Or(),Mc=/<br\s*\/?>/gi,Ic=mt(e=>e?Hc(e).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Nc=(()=>{let e=!1;return()=>{e||(Rc(),e=!0)}})(),mt(Rc,"setupDompurifyHooks"),Dc=mt(e=>(Nc(),Dr.sanitize(e)),"removeScript"),Oc=mt((e,t)=>{return!1!==t.flowchart?.htmlLabels&&("antiscript"===(t=t.securityLevel)||"strict"===t?e=Dc(e):"loose"!==t&&(e=(e=(e=Hc(e)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),e=zc(e))),e},"sanitizeMore"),Pc=mt((e,t)=>e&&(e=(t.dompurifyConfig?Dr.sanitize(Oc(e,t),t.dompurifyConfig):Dr.sanitize(Oc(e,t),{FORBID_TAGS:["style"]})).toString()),"sanitizeText"),Bc=mt((e,t)=>"string"==typeof e?Pc(e,t):e.flat().map(e=>Pc(e,t)),"sanitizeTextOrArray"),Fc=mt(e=>Mc.test(e),"hasBreaks"),jc=mt(e=>e.split(Mc),"splitBreaks"),zc=mt(e=>e.replace(/#br#/g,"<br/>"),"placeholderToBreak"),Hc=mt(e=>e.replace(Mc,"#br#"),"breakToPlaceholder"),Uc=mt(e=>{let t="";return e&&(t=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,t=CSS.escape(t)),t},"getUrl"),qc=mt(e=>!(!1===e||["false","null","0"].includes(String(e).trim().toLowerCase())),"evaluate"),Wc=mt(function(...e){e=
Line truncated
`,"ig");t=t.trim().replace(e,"").replace(/'/gm,'"'),I.debug(`Detectingdiagramdirective${null!==i?" type:"+i:""}basedonthetext:`+t);for(var n,r,s,a=[];null!==(n=Xe.exec(t));)n.index===Xe.lastIndex&&Xe.lastIndex++,(n&&!i||i&&n[1]?.match(i)||i&&n[2]?.match(i))&&(r=n[1]||n[2],s=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null,a.push({type:r,args:s}));return 0===a.length?{type:t,args:null}:1===a.length?a[0]:a}catch(e){return I.error(`ERROR:${e.message}-Unabletoparsedirectivetype:'${i}'basedonthetext:'${t}'`),{type:void 0,args:null}}},"detectDirective"),OC=mt(function(e){return e.replace(Xe,"")},"removeDirectives"),PC=mt(function(e,t){for(var[i,n]of t.entries())if(n.match(e))return i;return-1},"isSubstringInArray"),mt(yC,"interpolateToCurve"),mt(bC,"formatUrl"),BC=mt((t,...e)=>{let i=t.split("."),n=i.length-1,r=i[n],s=window;for(let e=0;e<n;e++)if(!(s=s[i[e]]))return void I.error(`Functionname:${t}notfoundinwindow`);s[r](...e)},"runFunc"),mt(vC,"distance"),mt(xC,"traverseEdge"),mt(wC,"calcLabelPosition"),FC=mt((e,t=2)=>{t=Math.pow(10,t);return Math.round(e*t)/t},"roundNumber"),jC=mt((e,t)=>{let i,n=t;for(var r of e){if(i){var s=vC(r,i);if(0===s)return i;if(s<n)n-=s;else{s=n/s;if(s<=0)return i;if(1<=s)return{x:r.x,y:r.y};if(0<s&&s<1)return{x:FC((1-s)*i.x+s*r.x,5),y:FC((1-s)*i.y+s*r.y,5)}}}i=r}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),zC=mt((e,t,i)=>{I.info("our points "+JSON.stringify(t)),t[0]!==i&&(t=t.reverse());var i=jC(t,25),e=e?10:5,n=Math.atan2(t[0].y-i.y,t[0].x-i.x),r={x:0,y:0};return r.x=Math.sin(n)*e+(t[0].x+i.x)/2,r.y=-Math.cos(n)*e+(t[0].y+i.y)/2,r},"calcCardinalityPosition"),mt(kC,"calcTerminalLabelPosition"),mt(TC,"getStylesFromArray"),HC=0,UC=mt(()=>(HC++,"id-"+Math.random().toString(36).substr(2,12)+"-"+HC),"generateId"),mt(SC,"makeRandomHex"),qC=mt(e=>SC(e.length),"random"),WC=mt(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),VC=mt(function(e,t){var i=t.text.replace($.lineBreakRegex," "),[,n]=e_(t.fontSize),e=e.append("text"),n=(e.attr("x",t.x),e.attr("y",t.y),e.style("text-anchor",t.anchor),e.style("font-family",t.fontFamily),e.style("font-size",n),e.style("font-weight",t.fontWeight),e.attr("fill",t.fill),void 0!==t.class&&e.attr("class",t.class),e.append("tspan"));return n.attr("x",t.x+2*t.textMargin),n.attr("fill",t.fill),n.text(i),e},"drawSimpleText"),GC=N7((e,a,o)=>{if(!e||(o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},o),$.lineBreakRegex.test(e)))return e;let l=e.split(" ").filter(Boolean),c=[],h="";return l.forEach((e,t)=>{var i,n,r=_C(e+" ",o),s=_C(h,o);h=a<r?({hyphenatedStrings:i,remainingWord:n}=YC(e,a,"-",o),c.push(h,...i),n):a<=s+r?(c.push(h),e):[h,e].filter(Boolean).join(" "),t+1===l.length&&c.push(h)}),c.filter(e=>""!==e).join(o.joinWith)},(e,t,i)=>""+e+t+i.fontSize+i.fontWeight+i.fontFamily+i.joinWith),YC=N7((e,n,r="-",s)=>{s=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},s);let a=[...e],o=[],l="";return a.forEach((e,t)=>{var i,e=""+l+e;l=_C(e,s)>=n?(t=t+1,t=a.length===t,i=e+r,o.push(t?e:i),""):e}),{hyphenatedStrings:o,remainingWord:l}},(e,t,i="-",n)=>""+e+t+i+n.fontSize+n.fontWeight+n.fontFamily),mt(CC,"calculateTextHeight"),mt(_C,"calculateTextWidth"),XC=N7((e,t)=>{var{fontSize:t=12,fontFamily:i="Arial",fontWeight:n=400}=t;if(!e)return{width:0,height:0};var[,r]=e_(t),t=["sans-serif",i],s=e.split($.lineBreakRegex),a=[],i=G("body");if(!i.remove)return{width:0,height:0,lineHeight:0};var o,l=i.append("svg");for(o of t){var c,h={width:0,height:0,lineHeight:0};for(c of s){var u=WC(),u=(u.text=c||RC,VC(l,u).style("font-size",r).style("font-weight",n).style("font-family",o)),u=(u._groups||u)[0][0].getBBox();if(0===u.width&&0===u.height)throw new Error("svg element not in render tree");h.width=Math.round(Math.max(h.width,u.width)),u=Math.round(u.height),h.height+=u,h.lineHeight=Math.round(Math.max(h.lineHeight,u))}a.push(h)}return l.remove(),a[isNaN(a[1].height)||isNaN(a[1].width)||isNaN(a[1].lineHeight)||a[0].height>a[1].height&&a[0].width>a[1].width&&a[0].lineHeight>a[1].lineHeight?0:1]},(e,t)=>""+e+t.fontSize+t.fontWeight+t.fontFamily),KC=class{constructor(e=!1,t){this.count=0,this.count=t?t.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{mt(this,"InitIDGenerator")}},QC=mt(function(e){return ZC=ZC||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),ZC.innerHTML=e,unescape(ZC.textContent)},"entityDecode"),mt(AC,"isDetailedError"),JC=mt((e,t,i,n)=>{var r;n&&(r=e.node()?.getBBox())&&e.append("text").text(n).attr("text-anchor","middle").attr("x",r.x+r.width/2).attr("y",-i).attr("class",t)},"insertTitle"),e_=mt(e=>{var t;return"number"==typeof e?[e,e+"px"]:(t=parseInt(e??"",10),Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+"px"]:[t,e])},"parseFontSize"),mt(EC,"cleanAndMerge"),t_={assignWithD
Line truncated
`,"ig");t=t.trim().replace(e,"").replace(/'/gm,'"'),I.debug(`Detectingdiagramdirective${null!==i?" type:"+i:""}basedonthetext:`+t);for(var n,r,s,a=[];null!==(n=Xe.exec(t));)n.index===Xe.lastIndex&&Xe.lastIndex++,(n&&!i||i&&n[1]?.match(i)||i&&n[2]?.match(i))&&(r=n[1]||n[2],s=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null,a.push({type:r,args:s}));return 0===a.length?{type:t,args:null}:1===a.length?a[0]:a}catch(e){return I.error(`ERROR:${e.message}-Unabletoparsedirectivetype:'${i}'basedonthetext:'${t}'`),{type:void 0,args:null}}},"detectDirective"),OC=mt(function(e){return e.replace(Xe,"")},"removeDirectives"),PC=mt(function(e,t){for(var[i,n]of t.entries())if(n.match(e))return i;return-1},"isSubstringInArray"),mt(yC,"interpolateToCurve"),mt(bC,"formatUrl"),BC=mt((t,...e)=>{let i=t.split("."),n=i.length-1,r=i[n],s=window;for(let e=0;e<n;e++)if(!(s=s[i[e]]))return void I.error(`Functionname:${t}notfoundinwindow`);s[r](...e)},"runFunc"),mt(vC,"distance"),mt(xC,"traverseEdge"),mt(wC,"calcLabelPosition"),FC=mt((e,t=2)=>{t=Math.pow(10,t);return Math.round(e*t)/t},"roundNumber"),jC=mt((e,t)=>{let i,n=t;for(var r of e){if(i){var s=vC(r,i);if(0===s)return i;if(s<n)n-=s;else{s=n/s;if(s<=0)return i;if(1<=s)return{x:r.x,y:r.y};if(0<s&&s<1)return{x:FC((1-s)*i.x+s*r.x,5),y:FC((1-s)*i.y+s*r.y,5)}}}i=r}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),zC=mt((e,t,i)=>{I.info("our points "+JSON.stringify(t)),t[0]!==i&&(t=t.reverse());var i=jC(t,25),e=e?10:5,n=Math.atan2(t[0].y-i.y,t[0].x-i.x),r={x:0,y:0};return r.x=Math.sin(n)*e+(t[0].x+i.x)/2,r.y=-Math.cos(n)*e+(t[0].y+i.y)/2,r},"calcCardinalityPosition"),mt(kC,"calcTerminalLabelPosition"),mt(TC,"getStylesFromArray"),HC=0,UC=mt(()=>(HC++,"id-"+Math.random().toString(36).substr(2,12)+"-"+HC),"generateId"),mt(SC,"makeRandomHex"),qC=mt(e=>SC(e.length),"random"),WC=mt(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),GC=mt(function(e,t){var i=t.text.replace($.lineBreakRegex," "),[,n]=e_(t.fontSize),e=e.append("text"),n=(e.attr("x",t.x),e.attr("y",t.y),e.style("text-anchor",t.anchor),e.style("font-family",t.fontFamily),e.style("font-size",n),e.style("font-weight",t.fontWeight),e.attr("fill",t.fill),void 0!==t.class&&e.attr("class",t.class),e.append("tspan"));return n.attr("x",t.x+2*t.textMargin),n.attr("fill",t.fill),n.text(i),e},"drawSimpleText"),VC=N7((e,a,o)=>{if(!e||(o=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},o),$.lineBreakRegex.test(e)))return e;let l=e.split(" ").filter(Boolean),c=[],h="";return l.forEach((e,t)=>{var i,n,r=_C(e+" ",o),s=_C(h,o);h=a<r?({hyphenatedStrings:i,remainingWord:n}=YC(e,a,"-",o),c.push(h,...i),n):a<=s+r?(c.push(h),e):[h,e].filter(Boolean).join(" "),t+1===l.length&&c.push(h)}),c.filter(e=>""!==e).join(o.joinWith)},(e,t,i)=>""+e+t+i.fontSize+i.fontWeight+i.fontFamily+i.joinWith),YC=N7((e,n,r="-",s)=>{s=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},s);let a=[...e],o=[],l="";return a.forEach((e,t)=>{var i,e=""+l+e;l=_C(e,s)>=n?(t=t+1,t=a.length===t,i=e+r,o.push(t?e:i),""):e}),{hyphenatedStrings:o,remainingWord:l}},(e,t,i="-",n)=>""+e+t+i+n.fontSize+n.fontWeight+n.fontFamily),mt(CC,"calculateTextHeight"),mt(_C,"calculateTextWidth"),XC=N7((e,t)=>{var{fontSize:t=12,fontFamily:i="Arial",fontWeight:n=400}=t;if(!e)return{width:0,height:0};var[,r]=e_(t),t=["sans-serif",i],s=e.split($.lineBreakRegex),a=[],i=V("body");if(!i.remove)return{width:0,height:0,lineHeight:0};var o,l=i.append("svg");for(o of t){var c,h={width:0,height:0,lineHeight:0};for(c of s){var u=WC(),u=(u.text=c||RC,GC(l,u).style("font-size",r).style("font-weight",n).style("font-family",o)),u=(u._groups||u)[0][0].getBBox();if(0===u.width&&0===u.height)throw new Error("svg element not in render tree");h.width=Math.round(Math.max(h.width,u.width)),u=Math.round(u.height),h.height+=u,h.lineHeight=Math.round(Math.max(h.lineHeight,u))}a.push(h)}return l.remove(),a[isNaN(a[1].height)||isNaN(a[1].width)||isNaN(a[1].lineHeight)||a[0].height>a[1].height&&a[0].width>a[1].width&&a[0].lineHeight>a[1].lineHeight?0:1]},(e,t)=>""+e+t.fontSize+t.fontWeight+t.fontFamily),KC=class{constructor(e=!1,t){this.count=0,this.count=t?t.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{mt(this,"InitIDGenerator")}},QC=mt(function(e){return ZC=ZC||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),ZC.innerHTML=e,unescape(ZC.textContent)},"entityDecode"),mt(AC,"isDetailedError"),JC=mt((e,t,i,n)=>{var r;n&&(r=e.node()?.getBBox())&&e.append("text").text(n).attr("text-anchor","middle").attr("x",r.x+r.width/2).attr("y",-i).attr("class",t)},"insertTitle"),e_=mt(e=>{var t;return"number"==typeof e?[e,e+"px"]:(t=parseInt(e??"",10),Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+"px"]:[t,e])},"parseFontSize"),mt(EC,"cleanAndMerge"),t_={assignWithD
Line truncated
`,t-1))}function VA(e,t,i){var n,r,s,a,o,l,c,h=e.kind,u=e.result,d=e.input.charCodeAt(e.position);if(EA(d)||$A(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d||(63===d||45===d)&&(EA(n=e.input.charCodeAt(e.position+1))||i&&$A(n)))return!1;for(e.kind="scalar",e.result="",r=s=e.position,a=!1;0!==d;){if(58===d){if(EA(n=e.input.charCodeAt(e.position+1))||i&&$A(n))break}else if(35===d){if(EA(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&qA(e)||i&&$A(d))break;if(_A(d)){if(o=e.line,l=e.lineStart,c=e.lineIndent,UA(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=s,e.line=o,e.lineStart=l,e.lineIndent=c;break}}a&&(FA(e,r,s,!1),WA(e,e.line-o),r=s=e.position,a=!1),AA(d)||(s=e.position+1),d=e.input.charCodeAt(++e.position)}return FA(e,r,s,!1),!!e.result||(e.kind=h,e.result=u,!1)}function GA(e,t){var i,n,r=e.input.charCodeAt(e.position);if(39!==r)return!1;for(e.kind="scalar",e.result="",e.position++,i=n=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(FA(e,i,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;i=e.position,e.position++,n=e.position}else _A(r)?(FA(e,i,n,!0),WA(e,UA(e,!1,t)),i=n=e.position):e.position===e.lineStart&&qA(e)?PA(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);PA(e,"unexpected end of the stream within a single quoted scalar")}function YA(e,t){var i,n,r,s,a,o=e.input.charCodeAt(e.position);if(34!==o)return!1;for(e.kind="scalar",e.result="",e.position++,i=n=e.position;0!==(o=e.input.charCodeAt(e.position));){if(34===o)return FA(e,i,e.position,!0),e.position++,!0;if(92===o){if(FA(e,i,e.position,!0),_A(o=e.input.charCodeAt(++e.position)))UA(e,!1,t);else if(o<256&&xE[o])e.result+=wE[o],e.position++;else if(0<(a=RA(o))){for(r=a,s=0;0<r;r--)0<=(a=LA(o=e.input.charCodeAt(++e.position)))?s=(s<<4)+a:PA(e,"expected hexadecimal character");e.result+=NA(s),e.position++}else PA(e,"unknown escape sequence");i=n=e.position}else _A(o)?(FA(e,i,n,!0),WA(e,UA(e,!1,t)),i=n=e.position):e.position===e.lineStart&&qA(e)?PA(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}PA(e,"unexpected end of the stream within a double quoted scalar")}function XA(e,t){var i,n,r,s,a,o,l,c,h,u,d,p=!0,g=e.tag,f=e.anchor,m=Object.create(null),y=e.input.charCodeAt(e.position);if(91===y)c=!(a=93),s=[];else{if(123!==y)return!1;a=125,c=!0,s={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),y=e.input.charCodeAt(++e.position);0!==y;){if(UA(e,!0,t),(y=e.input.charCodeAt(e.position))===a)return e.position++,e.tag=g,e.anchor=f,e.kind=c?"mapping":"sequence",e.result=s,!0;p?44===y&&PA(e,"expected the node content, but found ','"):PA(e,"missed comma between flow collection entries"),d=null,o=l=!1,63===y&&EA(e.input.charCodeAt(e.position+1))&&(o=l=!0,e.position++,UA(e,!0,t)),i=e.line,n=e.lineStart,r=e.position,i9(e,t,lE,!1,!0),u=e.tag,h=e.result,UA(e,!0,t),y=e.input.charCodeAt(e.position),!l&&e.line!==i||58!==y||(o=!0,y=e.input.charCodeAt(++e.position),UA(e,!0,t),i9(e,t,lE,!1,!0),d=e.result),c?zA(e,s,m,u,h,d,i,n,r):o?s.push(zA(e,null,m,u,h,d,i,n,r)):s.push(h),UA(e,!0,t),44===(y=e.input.charCodeAt(e.position))?(p=!0,y=e.input.charCodeAt(++e.position)):p=!1}PA(e,"unexpected end of the stream within a flow collection")}function KA(e,t){var i,n,r,s=dE,a=!1,o=!1,l=t,c=0,h=!1,u=e.input.charCodeAt(e.position);if(124===u)n=!1;else{if(62!==u)return!1;n=!0}for(e.kind="scalar",e.result="";0!==u;)if(43===(u=e.input.charCodeAt(++e.position))||45===u)dE===s?s=43===u?gE:pE:PA(e,"repeat of a chomping mode identifier");else{if(!(0<=(r=MA(u))))break;0===r?PA(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?PA(e,"repeat of an indentation width identifier"):(l=t+r-1,o=!0)}if(AA(u)){for(;AA(u=e.input.charCodeAt(++e.position)););if(35===u)for(;!_A(u=e.input.charCodeAt(++e.position))&&0!==u;);}for(;0!==u;){for(HA(e),e.lineIndent=0,u=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&32===u;)e.lineIndent++,u=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),_A(u))c++;else{if(e.lineIndent<l){s===gE?e.result+=B9.repeat(`
`,t-1))}function GA(e,t,i){var n,r,s,a,o,l,c,h=e.kind,u=e.result,d=e.input.charCodeAt(e.position);if(EA(d)||$A(d)||35===d||38===d||42===d||33===d||124===d||62===d||39===d||34===d||37===d||64===d||96===d||(63===d||45===d)&&(EA(n=e.input.charCodeAt(e.position+1))||i&&$A(n)))return!1;for(e.kind="scalar",e.result="",r=s=e.position,a=!1;0!==d;){if(58===d){if(EA(n=e.input.charCodeAt(e.position+1))||i&&$A(n))break}else if(35===d){if(EA(e.input.charCodeAt(e.position-1)))break}else{if(e.position===e.lineStart&&qA(e)||i&&$A(d))break;if(_A(d)){if(o=e.line,l=e.lineStart,c=e.lineIndent,UA(e,!1,-1),e.lineIndent>=t){a=!0,d=e.input.charCodeAt(e.position);continue}e.position=s,e.line=o,e.lineStart=l,e.lineIndent=c;break}}a&&(FA(e,r,s,!1),WA(e,e.line-o),r=s=e.position,a=!1),AA(d)||(s=e.position+1),d=e.input.charCodeAt(++e.position)}return FA(e,r,s,!1),!!e.result||(e.kind=h,e.result=u,!1)}function VA(e,t){var i,n,r=e.input.charCodeAt(e.position);if(39!==r)return!1;for(e.kind="scalar",e.result="",e.position++,i=n=e.position;0!==(r=e.input.charCodeAt(e.position));)if(39===r){if(FA(e,i,e.position,!0),39!==(r=e.input.charCodeAt(++e.position)))return!0;i=e.position,e.position++,n=e.position}else _A(r)?(FA(e,i,n,!0),WA(e,UA(e,!1,t)),i=n=e.position):e.position===e.lineStart&&qA(e)?PA(e,"unexpected end of the document within a single quoted scalar"):(e.position++,n=e.position);PA(e,"unexpected end of the stream within a single quoted scalar")}function YA(e,t){var i,n,r,s,a,o=e.input.charCodeAt(e.position);if(34!==o)return!1;for(e.kind="scalar",e.result="",e.position++,i=n=e.position;0!==(o=e.input.charCodeAt(e.position));){if(34===o)return FA(e,i,e.position,!0),e.position++,!0;if(92===o){if(FA(e,i,e.position,!0),_A(o=e.input.charCodeAt(++e.position)))UA(e,!1,t);else if(o<256&&xE[o])e.result+=wE[o],e.position++;else if(0<(a=RA(o))){for(r=a,s=0;0<r;r--)0<=(a=LA(o=e.input.charCodeAt(++e.position)))?s=(s<<4)+a:PA(e,"expected hexadecimal character");e.result+=NA(s),e.position++}else PA(e,"unknown escape sequence");i=n=e.position}else _A(o)?(FA(e,i,n,!0),WA(e,UA(e,!1,t)),i=n=e.position):e.position===e.lineStart&&qA(e)?PA(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}PA(e,"unexpected end of the stream within a double quoted scalar")}function XA(e,t){var i,n,r,s,a,o,l,c,h,u,d,p=!0,g=e.tag,f=e.anchor,m=Object.create(null),y=e.input.charCodeAt(e.position);if(91===y)c=!(a=93),s=[];else{if(123!==y)return!1;a=125,c=!0,s={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),y=e.input.charCodeAt(++e.position);0!==y;){if(UA(e,!0,t),(y=e.input.charCodeAt(e.position))===a)return e.position++,e.tag=g,e.anchor=f,e.kind=c?"mapping":"sequence",e.result=s,!0;p?44===y&&PA(e,"expected the node content, but found ','"):PA(e,"missed comma between flow collection entries"),d=null,o=l=!1,63===y&&EA(e.input.charCodeAt(e.position+1))&&(o=l=!0,e.position++,UA(e,!0,t)),i=e.line,n=e.lineStart,r=e.position,i9(e,t,lE,!1,!0),u=e.tag,h=e.result,UA(e,!0,t),y=e.input.charCodeAt(e.position),!l&&e.line!==i||58!==y||(o=!0,y=e.input.charCodeAt(++e.position),UA(e,!0,t),i9(e,t,lE,!1,!0),d=e.result),c?zA(e,s,m,u,h,d,i,n,r):o?s.push(zA(e,null,m,u,h,d,i,n,r)):s.push(h),UA(e,!0,t),44===(y=e.input.charCodeAt(e.position))?(p=!0,y=e.input.charCodeAt(++e.position)):p=!1}PA(e,"unexpected end of the stream within a flow collection")}function KA(e,t){var i,n,r,s=dE,a=!1,o=!1,l=t,c=0,h=!1,u=e.input.charCodeAt(e.position);if(124===u)n=!1;else{if(62!==u)return!1;n=!0}for(e.kind="scalar",e.result="";0!==u;)if(43===(u=e.input.charCodeAt(++e.position))||45===u)dE===s?s=43===u?gE:pE:PA(e,"repeat of a chomping mode identifier");else{if(!(0<=(r=MA(u))))break;0===r?PA(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?PA(e,"repeat of an indentation width identifier"):(l=t+r-1,o=!0)}if(AA(u)){for(;AA(u=e.input.charCodeAt(++e.position)););if(35===u)for(;!_A(u=e.input.charCodeAt(++e.position))&&0!==u;);}for(;0!==u;){for(HA(e),e.lineIndent=0,u=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&32===u;)e.lineIndent++,u=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),_A(u))c++;else{if(e.lineIndent<l){s===gE?e.result+=B9.repeat(`
`,a?1+c:c),o=a=!0,c=0,i=e.position;!_A(u)&&0!==u;)u=e.input.charCodeAt(++e.position);FA(e,i,e.position,!1)}}return!0}function ZA(e,t){var i,n,r=e.tag,s=e.anchor,a=[],o=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),n=e.input.charCodeAt(e.position);0!==n&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,PA(e,"tab characters must not be used in indentation")),45===n)&&EA(e.input.charCodeAt(e.position+1));)if(o=!0,e.position++,UA(e,!0,-1)&&e.lineIndent<=t)a.push(null),n=e.input.charCodeAt(e.position);else if(i=e.line,i9(e,t,hE,!1,!0),a.push(e.result),UA(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>t)&&0!==n)PA(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!o&&(e.tag=r,e.anchor=s,e.kind="sequence",e.result=a,!0)}function QA(e,t,i){var n,r,s,a,o,l,c,h=e.tag,u=e.anchor,d={},p=Object.create(null),g=null,f=null,m=null,y=!1,b=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=d),c=e.input.charCodeAt(e.position);0!==c;){if(y||-1===e.firstTabInLine||(e.position=e.firstTabInLine,PA(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,63!==c&&58!==c||!EA(n)){if(a=e.line,o=e.lineStart,l=e.position,!i9(e,i,cE,!1,!0))break;if(e.line===s){for(c=e.input.charCodeAt(e.position);AA(c);)c=e.input.charCodeAt(++e.position);if(58===c)EA(c=e.input.charCodeAt(++e.position))||PA(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(zA(e,d,p,g,f,null,a,o,l),g=f=m=null),r=y=!(b=!0),g=e.tag,f=e.result;else{if(!b)return e.tag=h,e.anchor=u,!0;PA(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return e.tag=h,e.anchor=u,!0;PA(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(zA(e,d,p,g,f,null,a,o,l),g=f=m=null),r=y=b=!0):y?r=!(y=!1):PA(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,c=n;if((e.line===s||e.lineIndent>t)&&(y&&(a=e.line,o=e.lineStart,l=e.position),i9(e,t,uE,!0,r)&&(y?f=e.result:m=e.result),y||(zA(e,d,p,g,f,m,a,o,l),g=f=m=null),UA(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&0!==c)PA(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return y&&zA(e,d,p,g,f,null,a,o,l),b&&(e.tag=h,e.anchor=u,e.kind="mapping",e.result=d),b}function JA(e){var t,i,n,r=!1,s=!1,a=e.input.charCodeAt(e.position);if(33!==a)return!1;if(null!==e.tag&&PA(e,"duplication of a tag property"),60===(a=e.input.charCodeAt(++e.position))?(r=!0,a=e.input.charCodeAt(++e.position)):33===a?(s=!0,i="!!",a=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){for(;0!==(a=e.input.charCodeAt(++e.position))&&62!==a;);e.position<e.length?(n=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):PA(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!EA(a);)33===a&&(s?PA(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),bE.test(i)||PA(e,"named tag handle cannot contain such characters"),s=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),yE.test(n)&&PA(e,"tag suffix cannot contain flow indicator characters")}n&&!vE.test(n)&&PA(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch{PA(e,"tag name is malformed: "+n)}return r?e.tag=n:oE.call(e.tagMap,i)?e.tag=e.tagMap[i]+n:"!"===i?e.tag="!"+n:"!!"===i?e.tag="tag:yaml.org,2002:"+n:PA(e,'undeclared tag handle "'+i+'"'),!0}function e9(e){var t,i=e.input.charCodeAt(e.position);if(38!==i)return!1;for(null!==e.anchor&&PA(e,"duplication of an anchor property"),i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!EA(i)&&!$A(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&PA(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function t9(e){var t,i=e.input.charCodeAt(e.position);if(42!==i)return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!EA(i)&&!$A(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&PA(e,"name of an alias node must contain at least one character"),t=e.input.slice(t,e.position),oE.call(e.anchorMap,t)||PA(e,'unidentified alias "'+t+'"'),e.result=e.anchorMap[t],UA(e,!0,-1),!0}function i9(e,t,i,n,r){var s,a,o,l,c,h,u,d=1,p=!1,g=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=a=o=uE===i||hE===i,n&&UA(e,!0,-1)&&(p=!0,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)),1===d)for(;JA(e)||e9(e);)UA(e,!0,-1)?(p=!0,o=s,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)):o=!1;if(o=o&&(p||r),1!==d&&uE!==i||(n=lE===i||cE===i?t:t+1,r=e.position-e.lineStart,1===d?o&&(ZA(e,r)||QA(e,r,n))||XA(e,n)?g=!0:(a&&KA(e,n)||GA(e,n)||YA(e,n)?g=!0:t9(e)?(g=!0,null===e.tag&&null===e.anchor||PA(e,"alias node should not have any properties")):VA(e,n,lE===i)&&
Line truncated
`,a?1+c:c),o=a=!0,c=0,i=e.position;!_A(u)&&0!==u;)u=e.input.charCodeAt(++e.position);FA(e,i,e.position,!1)}}return!0}function ZA(e,t){var i,n,r=e.tag,s=e.anchor,a=[],o=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),n=e.input.charCodeAt(e.position);0!==n&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,PA(e,"tab characters must not be used in indentation")),45===n)&&EA(e.input.charCodeAt(e.position+1));)if(o=!0,e.position++,UA(e,!0,-1)&&e.lineIndent<=t)a.push(null),n=e.input.charCodeAt(e.position);else if(i=e.line,i9(e,t,hE,!1,!0),a.push(e.result),UA(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===i||e.lineIndent>t)&&0!==n)PA(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break;return!!o&&(e.tag=r,e.anchor=s,e.kind="sequence",e.result=a,!0)}function QA(e,t,i){var n,r,s,a,o,l,c,h=e.tag,u=e.anchor,d={},p=Object.create(null),g=null,f=null,m=null,y=!1,b=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=d),c=e.input.charCodeAt(e.position);0!==c;){if(y||-1===e.firstTabInLine||(e.position=e.firstTabInLine,PA(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),s=e.line,63!==c&&58!==c||!EA(n)){if(a=e.line,o=e.lineStart,l=e.position,!i9(e,i,cE,!1,!0))break;if(e.line===s){for(c=e.input.charCodeAt(e.position);AA(c);)c=e.input.charCodeAt(++e.position);if(58===c)EA(c=e.input.charCodeAt(++e.position))||PA(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(zA(e,d,p,g,f,null,a,o,l),g=f=m=null),r=y=!(b=!0),g=e.tag,f=e.result;else{if(!b)return e.tag=h,e.anchor=u,!0;PA(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return e.tag=h,e.anchor=u,!0;PA(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===c?(y&&(zA(e,d,p,g,f,null,a,o,l),g=f=m=null),r=y=b=!0):y?r=!(y=!1):PA(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,c=n;if((e.line===s||e.lineIndent>t)&&(y&&(a=e.line,o=e.lineStart,l=e.position),i9(e,t,uE,!0,r)&&(y?f=e.result:m=e.result),y||(zA(e,d,p,g,f,m,a,o,l),g=f=m=null),UA(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&0!==c)PA(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return y&&zA(e,d,p,g,f,null,a,o,l),b&&(e.tag=h,e.anchor=u,e.kind="mapping",e.result=d),b}function JA(e){var t,i,n,r=!1,s=!1,a=e.input.charCodeAt(e.position);if(33!==a)return!1;if(null!==e.tag&&PA(e,"duplication of a tag property"),60===(a=e.input.charCodeAt(++e.position))?(r=!0,a=e.input.charCodeAt(++e.position)):33===a?(s=!0,i="!!",a=e.input.charCodeAt(++e.position)):i="!",t=e.position,r){for(;0!==(a=e.input.charCodeAt(++e.position))&&62!==a;);e.position<e.length?(n=e.input.slice(t,e.position),a=e.input.charCodeAt(++e.position)):PA(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!EA(a);)33===a&&(s?PA(e,"tag suffix cannot contain exclamation marks"):(i=e.input.slice(t-1,e.position+1),bE.test(i)||PA(e,"named tag handle cannot contain such characters"),s=!0,t=e.position+1)),a=e.input.charCodeAt(++e.position);n=e.input.slice(t,e.position),yE.test(n)&&PA(e,"tag suffix cannot contain flow indicator characters")}n&&!vE.test(n)&&PA(e,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch{PA(e,"tag name is malformed: "+n)}return r?e.tag=n:oE.call(e.tagMap,i)?e.tag=e.tagMap[i]+n:"!"===i?e.tag="!"+n:"!!"===i?e.tag="tag:yaml.org,2002:"+n:PA(e,'undeclared tag handle "'+i+'"'),!0}function e9(e){var t,i=e.input.charCodeAt(e.position);if(38!==i)return!1;for(null!==e.anchor&&PA(e,"duplication of an anchor property"),i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!EA(i)&&!$A(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&PA(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function t9(e){var t,i=e.input.charCodeAt(e.position);if(42!==i)return!1;for(i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!EA(i)&&!$A(i);)i=e.input.charCodeAt(++e.position);return e.position===t&&PA(e,"name of an alias node must contain at least one character"),t=e.input.slice(t,e.position),oE.call(e.anchorMap,t)||PA(e,'unidentified alias "'+t+'"'),e.result=e.anchorMap[t],UA(e,!0,-1),!0}function i9(e,t,i,n,r){var s,a,o,l,c,h,u,d=1,p=!1,g=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,s=a=o=uE===i||hE===i,n&&UA(e,!0,-1)&&(p=!0,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)),1===d)for(;JA(e)||e9(e);)UA(e,!0,-1)?(p=!0,o=s,e.lineIndent>t?d=1:e.lineIndent===t?d=0:e.lineIndent<t&&(d=-1)):o=!1;if(o=o&&(p||r),1!==d&&uE!==i||(n=lE===i||cE===i?t:t+1,r=e.position-e.lineStart,1===d?o&&(ZA(e,r)||QA(e,r,n))||XA(e,n)?g=!0:(a&&KA(e,n)||VA(e,n)||YA(e,n)?g=!0:t9(e)?(g=!0,null===e.tag&&null===e.anchor||PA(e,"alias node should not have any properties")):GA(e,n,lE===i)&&
Line truncated
`),65279===e.charCodeAt(0))?e.slice(1):e,t),t=e.indexOf("\0");for(-1!==t&&(i.position=t,PA(i,"null byte is not allowed in input")),i.input+="\0";32===i.input.charCodeAt(i.position);)i.lineIndent+=1,i.position+=1;for(;i.position<i.length-1;)n9(i);return i.documents}function s9(e,t,i){null!==t&&"object"==typeof t&&"u"<typeof i&&(i=t,t=null);var n=r9(e,i);if("function"!=typeof t)return n;for(var r=0,s=n.length;r<s;r+=1)t(n[r])}function a9(e,t){e=r9(e,t);if(0!==e.length){if(1===e.length)return e[0];throw new F9("expected a single document in the stream, but found more")}}function o9(e,t){var i,n,r,s,a,o,l;if(null===t)return{};for(i={},r=0,s=(n=Object.keys(t)).length;r<s;r+=1)a=n[r],o=String(t[a]),"!!"===a.slice(0,2)&&(a="tag:yaml.org,2002:"+a.slice(2)),(l=e.compiledTypeMap.fallback[a])&&_E.call(l.styleAliases,o)&&(o=l.styleAliases[o]),i[a]=o;return i}function l9(e){var t,i,n=e.toString(16).toUpperCase();if(e<=255)t="x",i=2;else if(e<=65535)t="u",i=4;else{if(!(e<=4294967295))throw new F9("code point within a string may not be greater than 0xFFFFFFFF");t="U",i=8}return"\\"+t+B9.repeat("0",i-n.length)+n}function c9(e){this.schema=e.schema||aE,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=B9.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=o9(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?ME:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function h9(e,t){for(var i,n,r=B9.repeat(" ",t),s=0,a="",o=e.length;s<o;)s=-1===(i=e.indexOf(`
`+e.slice(a+1):o+=e.slice(s),o.slice(1)}function A9(e){for(var t,i,n="",r=0;r<e.length;65536<=t?r+=2:r++)t=v9(e,r),!(i=$E[t])&&g9(t)?(n+=e[r],65536<=t&&(n+=e[r+1])):n+=i||l9(t);return n}function E9(e,t,i){for(var n,r="",s=e.tag,a=0,o=i.length;a<o;a+=1)n=i[a],e.replacer&&(n=e.replacer.call(i,String(a),n)),(I9(e,t,n,!1,!1)||"u"<typeof n&&I9(e,t,null,!1,!1))&&(""!==r&&(r+=","+(e.condenseFlow?"":" ")),r+=e.dump);e.tag=s,e.dump="["+r+"]"}function $9(e,t,i,n){for(var r,s="",a=e.tag,o=0,l=i.length;o<l;o+=1)r=i[o],e.replacer&&(r=e.replacer.call(i,String(o),r)),(I9(e,t+1,r,!0,!0,!1,!0)||"u"<typeof r&&I9(e,t+1,null,!0,!0,!1,!0))&&(n&&""===s||(s+=u9(e,t)),e.dump&&EE===e.dump.charCodeAt(0)?s+="-":s+="- ",s+=e.dump);e.tag=a,e.dump=s||"[]"}function L9(e,t,i){for(var n,r,s,a="",o=e.tag,l=Object.keys(i),c=0,h=l.length;c<h;c+=1)(s="")!==a&&(s+=", "),e.condenseFlow&&(s+='"'),r=i[n=l[c]],e.replacer&&(r=e.replacer.call(i,n,r)),I9(e,t,n,!1,!1)&&(1024<e.dump.length&&(s+="? "),s+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),I9(e,t,r,!1,!1))&&(a+=s+=e.dump);e.tag=o,e.dump="{"+a+"}"}function R9(e,t,i,n){var r,s,a,o,l,c="",h=e.tag,u=Object.keys(i);if(!0===e.sortKeys)u.sort();else if("function"==typeof e.sortKeys)u.sort(e.sortKeys);else if(e.sortKeys)throw new F9("sortKeys must be a boolean or a function");for(r=0,s=u.length;r<s;r+=1)l="",n&&""===c||(l+=u9(e,t)),a=i[o=u[r]],e.replacer&&(a=e.replacer.call(i,o,a)),I9(e,t+1,o,!0,!0,!0)&&((o=null!==e.tag&&"?"!==e.tag||e.dump&&1024<e.dump.length)&&(e.dump&&EE===e.dump.charCodeAt(0)?l+="?":l+="? "),l+=e.dump,o&&(l+=u9(e,t)),I9(e,t+1,a,!0,o))&&(e.dump&&EE===e.dump.charCodeAt(0)?l+=":":l+=": ",c+=l+=e.dump);e.tag=h,e.dump=c||"{}"}function M9(e,t,i){for(var n,r,s,a=i?e.explicitTypes:e.implicitTypes,o=0,l=a.length;o<l;o+=1)if(((r=a[o]).instanceOf||r.predicate)&&(!r.instanceOf||"object"==typeof t&&t instanceof r.instanceOf)&&(!r.predicate||r.predicate(t))){if(i?r.multi&&r.representName?e.tag=r.representName(t):e.tag=r.tag:e.tag="?",r.represent){if(s=e.styleMap[r.tag]||r.defaultStyle,"[object Function]"===CE.call(r.represent))n=r.represent(t,s);else{if(!_E.call(r.represent,s))throw new F9("!<"+r.tag+'> tag resolver accepts not "'+s+'" style');n=r.represent[s](t,s)}e.dump=n}return!0}return!1}function I9(e,t,i,n,r,s,a){e.tag=null,e.dump=i,M9(e,i,!1)||M9(e,i,!0);var o,l,c=CE.call(e.dump),h=n,u=(n=n&&(e.flowLevel<0||e.flowLevel>t),"[object Object]"===c||"[object Array]"===c);if(u&&(l=-1!==(o=e.duplicates.indexOf(i))),(null!==e.tag&&"?"!==e.tag||l||2!==e.indent&&0<t)&&(r=!1),l&&e.usedDuplicates[o])e.dump="*ref_"+o;else{if(u&&l&&!e.usedDuplicates[o]&&(e.usedDuplicates[o]=!0),"[object Object]"===c)n&&0!==Object.keys(e.dump).length?(R9(e,t,e.dump,r),l&&(e.dump="&ref_"+o+e.dump)):(L9(e,t,e.dump),l&&(e.dump="&ref_"+o+" "+e.dump));else if("[object Array]"===c)n&&0!==e.dump.length?(e.noArrayIndent&&!a&&0<t?$9(e,t-1,e.dump,r):$9(e,t,e.dump,r),l&&(e.dump="&ref_"+o+e.dump)):(E9(e,t,e.dump),l&&(e.dump="&ref_"+o+" "+e.dump));else{if("[object String]"!==c){if("[object Undefined]"===c)return!1;if(e.skipInvalid)return!1;throw new F9("unacceptable kind of an object to dump "+c)}"?"!==e.tag&&k9(e,e.dump,t,s,h)}null!==e.tag&&"?"!==e.tag&&(i=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),i="!"===e.tag[0]?"!"+i:"tag:yaml.org,2002:"===i.slice(0,18)?"!!"+i.slice(18):"!<"+i+">",e.dump=i+" "+e.dump)}return!0}function N9(e,t){var i,n,r=[],s=[];for(D9(e,r,s),i=0,n=s.length;i<n;i+=1)t.duplicates.push(r[s[i]]);t.usedDuplicates=new Array(n)}function D9(e,t,i){var n,r,s;if(null!==e&&"object"==typeof e)if(-1!==(r=t.indexOf(e)))-1===i.indexOf(r)&&i.push(r);else if(t.push(e),Array.isArray(e))for(r=0,s=e.length;r<s;r+=1)D9(e[r],t,i);else for(r=0,s=(n=Object.keys(e)).length;r<s;r+=1)D9(e[n[r]],t,i)}function O9(e,t){t=new c9(t=t||{}),t.noRefs||N9(e,t);return t.replacer&&(e=t.replacer.call({"":e},"",e)),I9(t,0,e,!0,!0)?t.dump+`
`:""}function P9(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var B9,F9,j9,z9,H9,U9,q9,W9,V9,G9,Y9,X9,K9,Z9,Q9,J9,eE,tE,iE,nE,rE,sE,aE,oE,lE,cE,hE,uE,dE,pE,gE,fE,mE,yE,bE,vE,xE,wE,kE,TE,SE,CE,_E,AE,EE,$E,LE,RE,ME,IE,NE,DE,OE,PE,BE,FE,jE=e(()=>{"use strict";for(mt(I_,"isNothing"),mt(N_,"isObject"),mt(D_,"toArray"),mt(O_,"extend"),mt(P_,"repeat"),mt(B_,"isNegativeZero"),B9={isNothing:I_,isObject:N_,toArray:D_,repeat:P_,isNegativeZero:B_,extend:O_},mt(F_,"formatError"),mt(j_,"YAMLException$1"),((j_.prototype=Object.create(Error.prototype)).constructor=j_).prototype.toString=mt(function(e){return this.name+": "+F_(this,e)},"toString"),F9=j_,mt(z_,"getLine"),mt(H_,"padStart"),mt(U_,"makeSnippet"),j9=U_,z9=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],H9=["scalar","sequence","mapping"],mt(q_,"compileStyleAliases"),mt(W_,"Type$1"),U9=W_,mt(V_,"compileList"),mt(G_,"compileMap"),mt(Y_,"Schema$1"),Y_.prototype.extend=mt(function(e){var t=[],i=[];if(e instanceof U9)i.push(e);else if(Array.isArray(e))i=i.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new F9("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit))}t.forEach(function(e){if(!(e instanceof U9))throw new F9("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new F9("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new F9("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(e){if(!(e instanceof U9))throw new F9("Specified list of YAML types (or a single Type object) contains a non-Type object.")});e=Object.create(Y_.prototype);return e.implicit=(this.implicit||[]).concat(t),e.explicit=(this.explicit||[]).concat(i),e.compiledImplicit=V_(e,"implicit"),e.compiledExplicit=V_(e,"explicit"),e.compiledTypeMap=G_(e.compiledImplicit,e.compiledExplicit),e},"extend"),V9=Y_,SE=new U9("tag:yaml.org,2002:str",{kind:"scalar",construct:mt(function(e){return null!==e?e:""},"construct")}),X9=new U9("tag:yaml.org,2002:seq",{kind:"sequence",construct:mt(function(e){return null!==e?e:[]},"construct")}),K9=new U9("tag:yaml.org,2002:map",{kind:"mapping",construct:mt(function(e){return null!==e?e:{}},"construct")}),V9=new V9({explicit:[SE,X9,K9]}),mt(X_,"resolveYamlNull"),mt(K_,"constructYamlNull"),mt(Z_,"isNull"),SE=new U9("tag:yaml.org,2002:null",{kind:"scalar",resolve:X_,construct:K_,predicate:Z_,represent:{canonical:mt(function(){return"~"},"canonical"),lowercase:mt(function(){return"null"},"lowercase"),uppercase:mt(function(){return"NULL"},"uppercase"),camelcase:mt(function(){return"Null"},"camelcase"),empty:mt(function(){return""},"empty")},defaultStyle:"lowercase"}),mt(Q_,"resolveYamlBoolean"),mt(J_,"constructYamlBoolean"),mt(eA,"isBoolean"),X9=new U9("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Q_,construct:J_,predicate:eA,represent:{lowercase:mt(function(e){return e?"true":"false"},"lowercase"),uppercase:mt(function(e){return e?"TRUE":"FALSE"},"uppercase"),camelcase:mt(function(e){return e?"True":"False"},"camelcase")},defaultStyle:"lowercase"}),mt(tA,"isHexCode"),mt(iA,"isOctCode"),mt(nA,"isDecCode"),mt(rA,"resolveYamlInteger"),mt(sA,"constructYamlInteger"),mt(aA,"isInteger"),K9=new U9("tag:yaml.org,2002:int",{kind:"scalar",resolve:rA,construct:sA,predicate:aA,represent:{binary:mt(function(e){return 0<=e?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},"binary"),octal:mt(function(e){return 0<=e?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},"octal"),decimal:mt(function(e){return e.toString(10)},"decimal"),hexadecimal:mt(function(e){return 0<=e?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),q9=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),mt(oA,"resolveYamlFloat"),mt(lA,"constructYamlFloat"),W9=/^[-+]?[0-9]+e/,mt(cA,"representYamlFloat"),mt(hA,"isFloat"),Q9=new U9("tag:yaml.org,2002:float",{kind:"scalar",resolve:oA,construct:lA,predicate:hA,represent:cA,defaultStyle:"lowercase"}),V9=V9.extend({implicit:[SE,X9,K9,Q9]}),SE=V9,G9=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Y9=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),mt(uA,"resolveYamlTimestamp"),mt(dA,"constructYamlTimestamp"),mt
Line truncated
\r`,mt(fA,"resolveYamlBinary"),mt(mA,"constructYamlBinary"),mt(yA,"representYamlBinary"),mt(bA,"isBinary"),Q9=new U9("tag:yaml.org,2002:binary",{kind:"scalar",resolve:fA,construct:mA,predicate:bA,represent:yA}),J9=Object.prototype.hasOwnProperty,eE=Object.prototype.toString,mt(vA,"resolveYamlOmap"),mt(xA,"constructYamlOmap"),tE=new U9("tag:yaml.org,2002:omap",{kind:"sequence",resolve:vA,construct:xA}),iE=Object.prototype.toString,mt(wA,"resolveYamlPairs"),mt(kA,"constructYamlPairs"),nE=new U9("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:wA,construct:kA}),rE=Object.prototype.hasOwnProperty,mt(TA,"resolveYamlSet"),mt(SA,"constructYamlSet"),sE=new U9("tag:yaml.org,2002:set",{kind:"mapping",resolve:TA,construct:SA}),aE=SE.extend({implicit:[X9,K9],explicit:[Q9,tE,nE,sE]}),oE=Object.prototype.hasOwnProperty,uE=4,dE=lE=1,pE=cE=2,gE=hE=3,fE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,mE=/[\x85\u2028\u2029]/,yE=/[,\[\]\{\}]/,bE=/^(?:!|!!|![a-z\-]+!)$/i,vE=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,mt(CA,"_class"),mt(_A,"is_EOL"),mt(AA,"is_WHITE_SPACE"),mt(EA,"is_WS_OR_EOL"),mt($A,"is_FLOW_INDICATOR"),mt(LA,"fromHexCode"),mt(RA,"escapedHexLen"),mt(MA,"fromDecimalCode"),mt(IA,"simpleEscapeSequence"),mt(NA,"charFromCodepoint"),xE=new Array(256),wE=new Array(256),kE=0;kE<256;kE++)xE[kE]=IA(kE)?1:0,wE[kE]=IA(kE);mt(DA,"State$1"),mt(OA,"generateError"),mt(PA,"throwError"),mt(BA,"throwWarning"),TE={YAML:mt(function(e,t,i){var n,r;null!==e.version&&PA(e,"duplication of %YAML directive"),1!==i.length&&PA(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&PA(e,"ill-formed argument of the YAML directive"),n=parseInt(r[1],10),r=parseInt(r[2],10),1!==n&&PA(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=r<2,1!==r&&2!==r&&BA(e,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:mt(function(e,t,i){var n;2!==i.length&&PA(e,"TAG directive accepts exactly two arguments"),n=i[0],i=i[1],bE.test(n)||PA(e,"ill-formed tag handle (first argument) of the TAG directive"),oE.call(e.tagMap,n)&&PA(e,'there is a previously declared suffix for "'+n+'" tag handle'),vE.test(i)||PA(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{PA(e,"tag prefix is malformed: "+i)}e.tagMap[n]=i},"handleTagDirective")},mt(FA,"captureSegment"),mt(jA,"mergeMappings"),mt(zA,"storeMappingPair"),mt(HA,"readLineBreak"),mt(UA,"skipSeparationSpace"),mt(qA,"testDocumentSeparator"),mt(WA,"writeFoldedLines"),mt(VA,"readPlainScalar"),mt(GA,"readSingleQuotedScalar"),mt(YA,"readDoubleQuotedScalar"),mt(XA,"readFlowCollection"),mt(KA,"readBlockScalar"),mt(ZA,"readBlockSequence"),mt(QA,"readBlockMapping"),mt(JA,"readTagProperty"),mt(e9,"readAnchorProperty"),mt(t9,"readAlias"),mt(i9,"composeNode"),mt(n9,"readDocument"),mt(r9,"loadDocuments"),mt(s9,"loadAll$1"),mt(a9,"load$1"),SE={loadAll:s9,load:a9},CE=Object.prototype.toString,_E=Object.prototype.hasOwnProperty,AE=65279,EE=10,$E={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},LE=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],RE=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/,mt(o9,"compileStyleMap"),mt(l9,"encodeHex"),ME=2,mt(c9,"State"),mt(h9,"indentString"),mt(u9,"generateNextLine"),mt(d9,"testImplicitResolving"),mt(p9,"isWhitespace"),mt(g9,"isPrintable"),mt(f9,"isNsCharOrWhitespace"),mt(m9,"isPlainSafe"),mt(y9,"isPlainSafeFirst"),mt(b9,"isPlainSafeLast"),mt(v9,"codePointAt"),mt(x9,"needIndentIndicator"),IE=1,NE=2,DE=3,OE=4,PE=5,mt(w9,"chooseScalarStyle"),mt(k9,"writeScalar"),mt(T9,"blockHeader"),mt(S9,"dropEndingNewline"),mt(C9,"foldString"),mt(_9,"foldLine"),mt(A9,"escapeString"),mt(E9,"writeFlowSequence"),mt($9,"writeBlockSequence"),mt(L9,"writeFlowMapping"),mt(R9,"writeBlockMapping"),mt(M9,"detectType"),mt(I9,"writeNode"),mt(N9,"getDuplicateReferences"),mt(D9,"inspectNode"),mt(O9,"dump$1"),mt(P9,"renamed"),BE=V9,FE=SE.load,P9("safeLoad","load"),P9("safeLoadAll","loadAll"),P9("safeDump","dump")});function zE(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function HE(e){QE=e}function UE(e,t=""){let n="string"==typeof e?e:e.source,r={replace:mt((e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(e$.caret,"$1"),n=n.replace(e,i),r},"replace"),getRegex:mt(()=>new RegExp(n,t),"getRegex")};return r}function qE(e,t){if(t){if(e$.escapeTest.test(e))return e.replace(e$.escapeReplace,C$)}else if(e$.escapeTestNoEncode.test(e))return e.replace(e$.escapeReplaceNoEncode,C$);return e}function WE(e){try{e=encodeURI(e).replace(e$.percentDecode,"%")}catch{return null}return e}function VE(e,t){let i=e.replace(e$.findPipe,(e,t,i)=>{let n=!1,r=t;for(;0<=--r
Line truncated
`:""}function P9(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var B9,F9,j9,z9,H9,U9,q9,W9,G9,V9,Y9,X9,K9,Z9,Q9,J9,eE,tE,iE,nE,rE,sE,aE,oE,lE,cE,hE,uE,dE,pE,gE,fE,mE,yE,bE,vE,xE,wE,kE,TE,SE,CE,_E,AE,EE,$E,LE,RE,ME,IE,NE,DE,OE,PE,BE,FE,jE=e(()=>{"use strict";for(mt(I_,"isNothing"),mt(N_,"isObject"),mt(D_,"toArray"),mt(O_,"extend"),mt(P_,"repeat"),mt(B_,"isNegativeZero"),B9={isNothing:I_,isObject:N_,toArray:D_,repeat:P_,isNegativeZero:B_,extend:O_},mt(F_,"formatError"),mt(j_,"YAMLException$1"),((j_.prototype=Object.create(Error.prototype)).constructor=j_).prototype.toString=mt(function(e){return this.name+": "+F_(this,e)},"toString"),F9=j_,mt(z_,"getLine"),mt(H_,"padStart"),mt(U_,"makeSnippet"),j9=U_,z9=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],H9=["scalar","sequence","mapping"],mt(q_,"compileStyleAliases"),mt(W_,"Type$1"),U9=W_,mt(G_,"compileList"),mt(V_,"compileMap"),mt(Y_,"Schema$1"),Y_.prototype.extend=mt(function(e){var t=[],i=[];if(e instanceof U9)i.push(e);else if(Array.isArray(e))i=i.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new F9("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(i=i.concat(e.explicit))}t.forEach(function(e){if(!(e instanceof U9))throw new F9("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new F9("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new F9("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),i.forEach(function(e){if(!(e instanceof U9))throw new F9("Specified list of YAML types (or a single Type object) contains a non-Type object.")});e=Object.create(Y_.prototype);return e.implicit=(this.implicit||[]).concat(t),e.explicit=(this.explicit||[]).concat(i),e.compiledImplicit=G_(e,"implicit"),e.compiledExplicit=G_(e,"explicit"),e.compiledTypeMap=V_(e.compiledImplicit,e.compiledExplicit),e},"extend"),G9=Y_,SE=new U9("tag:yaml.org,2002:str",{kind:"scalar",construct:mt(function(e){return null!==e?e:""},"construct")}),X9=new U9("tag:yaml.org,2002:seq",{kind:"sequence",construct:mt(function(e){return null!==e?e:[]},"construct")}),K9=new U9("tag:yaml.org,2002:map",{kind:"mapping",construct:mt(function(e){return null!==e?e:{}},"construct")}),G9=new G9({explicit:[SE,X9,K9]}),mt(X_,"resolveYamlNull"),mt(K_,"constructYamlNull"),mt(Z_,"isNull"),SE=new U9("tag:yaml.org,2002:null",{kind:"scalar",resolve:X_,construct:K_,predicate:Z_,represent:{canonical:mt(function(){return"~"},"canonical"),lowercase:mt(function(){return"null"},"lowercase"),uppercase:mt(function(){return"NULL"},"uppercase"),camelcase:mt(function(){return"Null"},"camelcase"),empty:mt(function(){return""},"empty")},defaultStyle:"lowercase"}),mt(Q_,"resolveYamlBoolean"),mt(J_,"constructYamlBoolean"),mt(eA,"isBoolean"),X9=new U9("tag:yaml.org,2002:bool",{kind:"scalar",resolve:Q_,construct:J_,predicate:eA,represent:{lowercase:mt(function(e){return e?"true":"false"},"lowercase"),uppercase:mt(function(e){return e?"TRUE":"FALSE"},"uppercase"),camelcase:mt(function(e){return e?"True":"False"},"camelcase")},defaultStyle:"lowercase"}),mt(tA,"isHexCode"),mt(iA,"isOctCode"),mt(nA,"isDecCode"),mt(rA,"resolveYamlInteger"),mt(sA,"constructYamlInteger"),mt(aA,"isInteger"),K9=new U9("tag:yaml.org,2002:int",{kind:"scalar",resolve:rA,construct:sA,predicate:aA,represent:{binary:mt(function(e){return 0<=e?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},"binary"),octal:mt(function(e){return 0<=e?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},"octal"),decimal:mt(function(e){return e.toString(10)},"decimal"),hexadecimal:mt(function(e){return 0<=e?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),q9=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),mt(oA,"resolveYamlFloat"),mt(lA,"constructYamlFloat"),W9=/^[-+]?[0-9]+e/,mt(cA,"representYamlFloat"),mt(hA,"isFloat"),Q9=new U9("tag:yaml.org,2002:float",{kind:"scalar",resolve:oA,construct:lA,predicate:hA,represent:cA,defaultStyle:"lowercase"}),G9=G9.extend({implicit:[SE,X9,K9,Q9]}),SE=G9,V9=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Y9=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),mt(uA,"resolveYamlTimestamp"),mt(dA,"constructYamlTimestamp"),mt
Line truncated
\r`,mt(fA,"resolveYamlBinary"),mt(mA,"constructYamlBinary"),mt(yA,"representYamlBinary"),mt(bA,"isBinary"),Q9=new U9("tag:yaml.org,2002:binary",{kind:"scalar",resolve:fA,construct:mA,predicate:bA,represent:yA}),J9=Object.prototype.hasOwnProperty,eE=Object.prototype.toString,mt(vA,"resolveYamlOmap"),mt(xA,"constructYamlOmap"),tE=new U9("tag:yaml.org,2002:omap",{kind:"sequence",resolve:vA,construct:xA}),iE=Object.prototype.toString,mt(wA,"resolveYamlPairs"),mt(kA,"constructYamlPairs"),nE=new U9("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:wA,construct:kA}),rE=Object.prototype.hasOwnProperty,mt(TA,"resolveYamlSet"),mt(SA,"constructYamlSet"),sE=new U9("tag:yaml.org,2002:set",{kind:"mapping",resolve:TA,construct:SA}),aE=SE.extend({implicit:[X9,K9],explicit:[Q9,tE,nE,sE]}),oE=Object.prototype.hasOwnProperty,uE=4,dE=lE=1,pE=cE=2,gE=hE=3,fE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,mE=/[\x85\u2028\u2029]/,yE=/[,\[\]\{\}]/,bE=/^(?:!|!!|![a-z\-]+!)$/i,vE=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,mt(CA,"_class"),mt(_A,"is_EOL"),mt(AA,"is_WHITE_SPACE"),mt(EA,"is_WS_OR_EOL"),mt($A,"is_FLOW_INDICATOR"),mt(LA,"fromHexCode"),mt(RA,"escapedHexLen"),mt(MA,"fromDecimalCode"),mt(IA,"simpleEscapeSequence"),mt(NA,"charFromCodepoint"),xE=new Array(256),wE=new Array(256),kE=0;kE<256;kE++)xE[kE]=IA(kE)?1:0,wE[kE]=IA(kE);mt(DA,"State$1"),mt(OA,"generateError"),mt(PA,"throwError"),mt(BA,"throwWarning"),TE={YAML:mt(function(e,t,i){var n,r;null!==e.version&&PA(e,"duplication of %YAML directive"),1!==i.length&&PA(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&PA(e,"ill-formed argument of the YAML directive"),n=parseInt(r[1],10),r=parseInt(r[2],10),1!==n&&PA(e,"unacceptable YAML version of the document"),e.version=i[0],e.checkLineBreaks=r<2,1!==r&&2!==r&&BA(e,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:mt(function(e,t,i){var n;2!==i.length&&PA(e,"TAG directive accepts exactly two arguments"),n=i[0],i=i[1],bE.test(n)||PA(e,"ill-formed tag handle (first argument) of the TAG directive"),oE.call(e.tagMap,n)&&PA(e,'there is a previously declared suffix for "'+n+'" tag handle'),vE.test(i)||PA(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{PA(e,"tag prefix is malformed: "+i)}e.tagMap[n]=i},"handleTagDirective")},mt(FA,"captureSegment"),mt(jA,"mergeMappings"),mt(zA,"storeMappingPair"),mt(HA,"readLineBreak"),mt(UA,"skipSeparationSpace"),mt(qA,"testDocumentSeparator"),mt(WA,"writeFoldedLines"),mt(GA,"readPlainScalar"),mt(VA,"readSingleQuotedScalar"),mt(YA,"readDoubleQuotedScalar"),mt(XA,"readFlowCollection"),mt(KA,"readBlockScalar"),mt(ZA,"readBlockSequence"),mt(QA,"readBlockMapping"),mt(JA,"readTagProperty"),mt(e9,"readAnchorProperty"),mt(t9,"readAlias"),mt(i9,"composeNode"),mt(n9,"readDocument"),mt(r9,"loadDocuments"),mt(s9,"loadAll$1"),mt(a9,"load$1"),SE={loadAll:s9,load:a9},CE=Object.prototype.toString,_E=Object.prototype.hasOwnProperty,AE=65279,EE=10,$E={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},LE=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],RE=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/,mt(o9,"compileStyleMap"),mt(l9,"encodeHex"),ME=2,mt(c9,"State"),mt(h9,"indentString"),mt(u9,"generateNextLine"),mt(d9,"testImplicitResolving"),mt(p9,"isWhitespace"),mt(g9,"isPrintable"),mt(f9,"isNsCharOrWhitespace"),mt(m9,"isPlainSafe"),mt(y9,"isPlainSafeFirst"),mt(b9,"isPlainSafeLast"),mt(v9,"codePointAt"),mt(x9,"needIndentIndicator"),IE=1,NE=2,DE=3,OE=4,PE=5,mt(w9,"chooseScalarStyle"),mt(k9,"writeScalar"),mt(T9,"blockHeader"),mt(S9,"dropEndingNewline"),mt(C9,"foldString"),mt(_9,"foldLine"),mt(A9,"escapeString"),mt(E9,"writeFlowSequence"),mt($9,"writeBlockSequence"),mt(L9,"writeFlowMapping"),mt(R9,"writeBlockMapping"),mt(M9,"detectType"),mt(I9,"writeNode"),mt(N9,"getDuplicateReferences"),mt(D9,"inspectNode"),mt(O9,"dump$1"),mt(P9,"renamed"),BE=G9,FE=SE.load,P9("safeLoad","load"),P9("safeLoadAll","loadAll"),P9("safeDump","dump")});function zE(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}function HE(e){QE=e}function UE(e,t=""){let n="string"==typeof e?e:e.source,r={replace:mt((e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(e$.caret,"$1"),n=n.replace(e,i),r},"replace"),getRegex:mt(()=>new RegExp(n,t),"getRegex")};return r}function qE(e,t){if(t){if(e$.escapeTest.test(e))return e.replace(e$.escapeReplace,C$)}else if(e$.escapeTestNoEncode.test(e))return e.replace(e$.escapeReplaceNoEncode,C$);return e}function WE(e){try{e=encodeURI(e).replace(e$.percentDecode,"%")}catch{return null}return e}function GE(e,t){let i=e.replace(e$.findPipe,(e,t,i)=>{let n=!1,r=t;for(;0<=--r
Line truncated
`):[],n={type:"table",raw:r[0],header:[],align:[],rows:[]};if(t.length===e.length){for(var s of e)this.rules.other.tableAlignRight.test(s)?n.align.push("right"):this.rules.other.tableAlignCenter.test(s)?n.align.push("center"):this.rules.other.tableAlignLeft.test(s)?n.align.push("left"):n.align.push(null);for(let e=0;e<t.length;e++)n.header.push({text:t[e],tokens:this.lexer.inline(t[e]),header:!0,align:n.align[e]});for(var a of i)n.rows.push(VE(a,n.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:n.align[t]})));return n}}}lheading(e){e=this.rules.block.lheading.exec(e);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(e){var t,e=this.rules.block.paragraph.exec(e);if(e)return t=e[1].charAt(e[1].length-1)===`
`):[],n={type:"table",raw:r[0],header:[],align:[],rows:[]};if(t.length===e.length){for(var s of e)this.rules.other.tableAlignRight.test(s)?n.align.push("right"):this.rules.other.tableAlignCenter.test(s)?n.align.push("center"):this.rules.other.tableAlignLeft.test(s)?n.align.push("left"):n.align.push(null);for(let e=0;e<t.length;e++)n.header.push({text:t[e],tokens:this.lexer.inline(t[e]),header:!0,align:n.align[e]});for(var a of i)n.rows.push(GE(a,n.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:n.align[t]})));return n}}}lheading(e){e=this.rules.block.lheading.exec(e);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(e){var t,e=this.rules.block.paragraph.exec(e);if(e)return t=e[1].charAt(e[1].length-1)===`
`+this.renderer.text(e);s+=r?this.renderer.paragraph({type:"paragraph",raw:t,text:t,tokens:[{type:"text",raw:t,text:t,escaped:!0}]}):t;continue}default:var l='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}return s}parseInline(t,i=this.renderer){let n="";for(let e=0;e<t.length;e++){var r=t[e];if(this.options.extensions?.renderers?.[r.type]){var s=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==s||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(r.type)){n+=s||"";continue}}var a=r;switch(a.type){case"escape":n+=i.text(a);break;case"html":n+=i.html(a);break;case"link":n+=i.link(a);break;case"image":n+=i.image(a);break;case"strong":n+=i.strong(a);break;case"em":n+=i.em(a);break;case"codespan":n+=i.codespan(a);break;case"br":n+=i.br(a);break;case"del":n+=i.del(a);break;case"text":n+=i.text(a);break;default:var o='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}return n}},R$=class{static{mt(this,"L")}options;block;constructor(e){this.options=e||QE}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?A$.lex:A$.lexInline}provideParser(){return this.block?L$.parse:L$.parseInline}},M$=class{static{mt(this,"B")}defaults=zE();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=L$;Renderer=E$;TextRenderer=$$;Lexer=A$;Tokenizer=_$;Hooks=R$;constructor(...e){this.use(...e)}walkTokens(e,i){let n=[];for(var r of e)switch(n=n.concat(i.call(this,r)),r.type){case"table":var t,s,a=r;for(t of a.header)n=n.concat(this.walkTokens(t.tokens,i));for(s of a.rows)for(var o of s)n=n.concat(this.walkTokens(o.tokens,i));break;case"list":a=r;n=n.concat(this.walkTokens(a.items,i));break;default:{let t=r;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(e=>{e=t[e].flat(1/0);n=n.concat(this.walkTokens(e,i))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,i)))}}return n}use(...e){let r=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(t=>{var e={...t};if(e.async=this.defaults.async||e.async||!1,t.extensions&&(t.extensions.forEach(n=>{if(!n.name)throw new Error("extension name required");if("renderer"in n){let i=r.renderers[n.name];i?r.renderers[n.name]=function(...e){let t=n.renderer.apply(this,e);return t=!1===t?i.apply(this,e):t}:r.renderers[n.name]=n.renderer}if("tokenizer"in n){if(!n.level||"block"!==n.level&&"inline"!==n.level)throw new Error("extension level must be 'block' or 'inline'");var e=r[n.level];e?e.unshift(n.tokenizer):r[n.level]=[n.tokenizer],n.start&&("block"===n.level?r.startBlock?r.startBlock.push(n.start):r.startBlock=[n.start]:"inline"===n.level&&(r.startInline?r.startInline.push(n.start):r.startInline=[n.start]))}"childTokens"in n&&n.childTokens&&(r.childTokens[n.name]=n.childTokens)}),e.extensions=r),t.renderer){let r=this.defaults.renderer||new E$(this.defaults);for(var s in t.renderer){if(!(s in r))throw new Error(`renderer'${s}'doesnotexist`);if(!["options","parser"].includes(s)){let e=s,i=t.renderer[e],n=r[e];r[e]=(...e)=>{let t=i.apply(r,e);return(t=!1===t?n.apply(r,e):t)||""}}}e.renderer=r}if(t.tokenizer){let r=this.defaults.tokenizer||new _$(this.defaults);for(var a in t.tokenizer){if(!(a in r))throw new Error(`tokenizer'${a}'doesnotexist`);if(!["options","rules","lexer"].includes(a)){let e=a,i=t.tokenizer[e],n=r[e];r[e]=(...e)=>{let t=i.apply(r,e);return t=!1===t?n.apply(r,e):t}}}e.tokenizer=r}if(t.hooks){let r=this.defaults.hooks||new R$;for(var o in t.hooks){if(!(o in r))throw new Error(`hook'${o}'doesnotexist`);if(!["options","block"].includes(o)){let e=o,i=t.hooks[e],n=r[e];R$.passThroughHooks.has(o)?r[e]=e=>{return this.defaults.async?Promise.resolve(i.call(r,e)).then(e=>n.call(r,e)):(e=i.call(r,e),n.call(r,e))}:r[e]=(...e)=>{let t=i.apply(r,e);return t=!1===t?n.apply(r,e):t}}}e.hooks=r}if(t.walkTokens){let i=this.defaults.walkTokens,n=t.walkTokens;e.walkTokens=function(e){let t=[];return t.push(n.call(this,e)),t=i?t.concat(i.call(this,e)):t}}this.defaults={...this.defaults,...e}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return A$.lex(e,t??this.defaults)}parser(e,t){return L$.parse(e,t??this.defaults)}parseMarkdown(o){return(i,e)=>{let t={...e},n={...this.defaults,...t},r=this.onError(!!n.silent,!!n.async);if(!0===this.defaults.async&&!1===t.async)return r(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if("u"<typeof i||null===i)return r(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof i)return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", str
Line truncated
`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return U$(e,t)}function U$(e,t,i=[],n=[]){if(0===e.length)return 0<n.length&&i.push(n),0<i.length?i:[];let r="";" "===e[0].content&&(r=" ",e.shift());var s=e.shift()??{content:" ",type:"normal"},a=[...n];return""!==r&&a.push({content:r,type:"normal"}),a.push(s),t(a)?U$(e,t,i,a):(0<n.length?(i.push(n),e.unshift(s)):s.content&&([a,n]=j$(t,s),i.push([a]),n.content)&&e.unshift(n),U$(e,t,i))}var q$=e(()=>{"use strict";mt(F$,"splitTextToChars"),mt(j$,"splitWordToFitWidth"),mt(z$,"splitWordToFitWidthRecursion"),mt(H$,"splitLineToFitWidth"),mt(U$,"splitLineToFitWidthRecursion")});function W$(e,t){t&&e.attr("style",t)}async function V$(e,t,i,n,r=!1){e=e.append("foreignObject");e.attr("width",10*i+"px"),e.attr("height",10*i+"px");let s=e.append("xhtml:div"),a=t.label;t.label&&Jc(t.label)&&(a=await th(t.label.replace($.lineBreakRegex,`
`)))throw new Error("splitLineToFitWidth does not support newlines in the line");return U$(e,t)}function U$(e,t,i=[],n=[]){if(0===e.length)return 0<n.length&&i.push(n),0<i.length?i:[];let r="";" "===e[0].content&&(r=" ",e.shift());var s=e.shift()??{content:" ",type:"normal"},a=[...n];return""!==r&&a.push({content:r,type:"normal"}),a.push(s),t(a)?U$(e,t,i,a):(0<n.length?(i.push(n),e.unshift(s)):s.content&&([a,n]=j$(t,s),i.push([a]),n.content)&&e.unshift(n),U$(e,t,i))}var q$=e(()=>{"use strict";mt(F$,"splitTextToChars"),mt(j$,"splitWordToFitWidth"),mt(z$,"splitWordToFitWidthRecursion"),mt(H$,"splitLineToFitWidth"),mt(U$,"splitLineToFitWidthRecursion")});function W$(e,t){t&&e.attr("style",t)}async function G$(e,t,i,n,r=!1){e=e.append("foreignObject");e.attr("width",10*i+"px"),e.attr("height",10*i+"px");let s=e.append("xhtml:div"),a=t.label;t.label&&Jc(t.label)&&(a=await th(t.label.replace($.lineBreakRegex,`
Parentcluster`,o.height),r.setNode(o.id,t),r.parent(e)||(I.trace("Setting parent",e,o.id),r.setParent(e,o.id,t))),I.info("(Insert) Node XXX"+e+": "+JSON.stringify(r.node(e))),n?.clusterNode?(I.info("Cluster identified XBX",e,n.width,r.node(e)),{ranksep:t,nodesep:i}=r.graph(),n.graph.setGraph({...n.graph.graph(),ranksep:t+25,nodesep:i}),i=(t=await LK(u,n.graph,s,a,r.node(e),l)).elem,aL(n,i),n.diff=t.diff||0,I.info("New compound node after recursive render XAX",e,"width",n.width,"height",n.height),VD(i,n)):0<r.children(e).length?(I.trace("Cluster - the non recursive path XBX",e,n.id,n,n.width,"Graph:",r),I.trace(wK(n.id,r)),dK.set(n.id,{id:wK(n.id,r),node:n})):(I.trace("Node - the non recursive path XAX",e,u,r.node(e),c),await qD(u,r.node(e),{config:l,dir:c}))})),await mt(async()=>{var e=r.edges().map(async function(e){var t=r.edge(e.v,e.w,e.name);I.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),I.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(r.edge(e))),I.info("Fix",dK,"ids:",e.v,e.w,"Translating: ",dK.get(e.v),dK.get(e.w)),await mD(i,t)});await Promise.all(e)},"processEdges")(),I.info("Graph before layout:",JSON.stringify(cK(r))),I.info("############################################# XXX"),I.info("### Layout ### XXX"),I.info("############################################# XXX"),DX(r),I.info("Graph after layout:",JSON.stringify(cK(r))),0),p=jN(l)["subGraphTitleTotalMargin"];return await Promise.all(_K(r).map(async function(e){var t,i=r.node(e);I.info("Position XBX => "+e+": ("+i.x,","+i.y,") width: ",i.width," height: ",i.height),i?.clusterNode?(i.y+=p,I.info("A tainted cluster node XBX1",e,i.id,i.width,i.height,i.x,i.y,r.parent(e)),dK.get(i.id).node=i,YD(i)):0<r.children(e).length?(I.info("A pure cluster node XBX1",e,i.id,i.x,i.y,i.width,i.height,r.parent(e)),i.height+=p,r.node(i.parentId),e=i?.padding/2||0,t=i?.labelBBox?.height||0,I.debug("OffsetY",t-e||0,"labelHeight",t,"halfPadding",e),await YN(n,i),dK.get(i.id).node=i):(t=r.node(i.parentId),i.y+=p/2,I.info("A regular node XBX1 - using the padding",i.id,"parent",i.parentId,i.width,i.height,i.x,i.y,"offsetY",i.offsetY,"parent",t,t?.offsetY,i),YD(i))})),r.edges().forEach(function(e){var t=r.edge(e),i=(I.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t),t),t.points.forEach(e=>e.y+=p/2),r.node(e.v)),e=r.node(e.w),i=TD(h,t,dK,s,i,e,a);yD(t,i)}),r.nodes().forEach(function(e){var t=r.node(e);I.info(e,t.type,t.diff),t.isGroup&&(d=t.diff)}),I.warn("Returning from recursive render XAX",e,d),{elem:e,diff:d}},"recursiveRender"),RK=mt(async(e,t)=>{let l=new GV({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),i=t.select("g");zD(i,e.markers,e.type,e.diagramId),GD(),gD(),XN(),fK(),e.nodes.forEach(e=>{l.setNode(e.id,{...e}),e.parentId&&l.setParent(e.id,e.parentId)}),I.debug("Edges:",e.edges),e.edges.forEach(e=>{var t,i,n,r,s,a,o;e.start===e.end?(i=(t=e.start)+"---"+t+"---1",n=t+"---"+t+"---2",r=l.node(t),l.setNode(i,{domId:i,id:i,parentId:r.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),l.setParent(i,r.parentId),l.setNode(n,{domId:n,id:n,parentId:r.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),l.setParent(n,r.parentId),s=structuredClone(e),a=structuredClone(e),o=structuredClone(e),s.label="",s.arrowTypeEnd="none",s.id=t+"-cyclic-special-1",a.arrowTypeStart="none",a.arrowTypeEnd="none",a.id=t+"-cyclic-special-mid",o.label="",r.isGroup&&(s.fromCluster=t,o.toCluster=t),o.id=t+"-cyclic-special-2",o.arrowTypeStart="none",l.setEdge(t,i,s,t+"-cyclic-special-0"),l.setEdge(i,n,a,t+"-cyclic-special-1"),l.setEdge(n,t,o,t+"-cyc<lic-special-2")):l.setEdge(e.start,e.end,{...e},e.id)}),I.warn("Graph at first:",JSON.stringify(cK(l))),TK(l),I.warn("Graph after XAX:",JSON.stringify(cK(l)));t=N();await LK(i,l,e.type,e.diagramId,void 0,t)},"render")}),ZK=e(()=>{"use strict";ZD(),t(),MK={},IK=mt(e=>{for(var t of e)MK[t.name]=t},"registerLayoutLoaders"),mt(()=>{IK([{name:"dagre",loader:mt(async()=>Promise.resolve().then(()=>(KK(),$K)),"loader")}])},"registerDefaultLayoutLoaders")(),NK=mt(async(e,t)=>{var i;if(e.layoutAlgorithm in MK)return(await(i=MK[e.layoutAlgorithm]).loader()).render(e,t,XD,{algorithm:i.algorithm});throw new Error("Unknown layout algorithm: "+e.layoutAlgorithm)},"render"),DK=mt((e="",{fallback:t="dagre"}={})=>{if(e in MK)return e;if(t in MK)return I.warn(`Layoutalgorithm${e}isnotregistered.Using${t}asfallback.`),t;throw new Error(`Bothlayoutalgorithms${e}and${t}arenotregistered.`)},"getRegisteredLayoutAlgorithm")}),QK=e(()=>{"use strict";uh(),t(),OK=mt((e,t,i,n)=>{e.attr("class",i);var{width:i,height:r,x:s,y:a}=PK(e,t),n=(rh(e,r,i,n),BK(s,a,i,r,t));e.attr("viewBox",n),I.debug(`viewBoxconfigured:$Line truncated
Parentcluster`,o.height),r.setNode(o.id,t),r.parent(e)||(I.trace("Setting parent",e,o.id),r.setParent(e,o.id,t))),I.info("(Insert) Node XXX"+e+": "+JSON.stringify(r.node(e))),n?.clusterNode?(I.info("Cluster identified XBX",e,n.width,r.node(e)),{ranksep:t,nodesep:i}=r.graph(),n.graph.setGraph({...n.graph.graph(),ranksep:t+25,nodesep:i}),i=(t=await LK(u,n.graph,s,a,r.node(e),l)).elem,aL(n,i),n.diff=t.diff||0,I.info("New compound node after recursive render XAX",e,"width",n.width,"height",n.height),GD(i,n)):0<r.children(e).length?(I.trace("Cluster - the non recursive path XBX",e,n.id,n,n.width,"Graph:",r),I.trace(wK(n.id,r)),dK.set(n.id,{id:wK(n.id,r),node:n})):(I.trace("Node - the non recursive path XAX",e,u,r.node(e),c),await qD(u,r.node(e),{config:l,dir:c}))})),await mt(async()=>{var e=r.edges().map(async function(e){var t=r.edge(e.v,e.w,e.name);I.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),I.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(r.edge(e))),I.info("Fix",dK,"ids:",e.v,e.w,"Translating: ",dK.get(e.v),dK.get(e.w)),await mD(i,t)});await Promise.all(e)},"processEdges")(),I.info("Graph before layout:",JSON.stringify(cK(r))),I.info("############################################# XXX"),I.info("### Layout ### XXX"),I.info("############################################# XXX"),DX(r),I.info("Graph after layout:",JSON.stringify(cK(r))),0),p=jN(l)["subGraphTitleTotalMargin"];return await Promise.all(_K(r).map(async function(e){var t,i=r.node(e);I.info("Position XBX => "+e+": ("+i.x,","+i.y,") width: ",i.width," height: ",i.height),i?.clusterNode?(i.y+=p,I.info("A tainted cluster node XBX1",e,i.id,i.width,i.height,i.x,i.y,r.parent(e)),dK.get(i.id).node=i,YD(i)):0<r.children(e).length?(I.info("A pure cluster node XBX1",e,i.id,i.x,i.y,i.width,i.height,r.parent(e)),i.height+=p,r.node(i.parentId),e=i?.padding/2||0,t=i?.labelBBox?.height||0,I.debug("OffsetY",t-e||0,"labelHeight",t,"halfPadding",e),await YN(n,i),dK.get(i.id).node=i):(t=r.node(i.parentId),i.y+=p/2,I.info("A regular node XBX1 - using the padding",i.id,"parent",i.parentId,i.width,i.height,i.x,i.y,"offsetY",i.offsetY,"parent",t,t?.offsetY,i),YD(i))})),r.edges().forEach(function(e){var t=r.edge(e),i=(I.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t),t),t.points.forEach(e=>e.y+=p/2),r.node(e.v)),e=r.node(e.w),i=TD(h,t,dK,s,i,e,a);yD(t,i)}),r.nodes().forEach(function(e){var t=r.node(e);I.info(e,t.type,t.diff),t.isGroup&&(d=t.diff)}),I.warn("Returning from recursive render XAX",e,d),{elem:e,diff:d}},"recursiveRender"),RK=mt(async(e,t)=>{let l=new VG({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:e.config?.nodeSpacing||e.config?.flowchart?.nodeSpacing||e.nodeSpacing,ranksep:e.config?.rankSpacing||e.config?.flowchart?.rankSpacing||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),i=t.select("g");zD(i,e.markers,e.type,e.diagramId),VD(),gD(),XN(),fK(),e.nodes.forEach(e=>{l.setNode(e.id,{...e}),e.parentId&&l.setParent(e.id,e.parentId)}),I.debug("Edges:",e.edges),e.edges.forEach(e=>{var t,i,n,r,s,a,o;e.start===e.end?(i=(t=e.start)+"---"+t+"---1",n=t+"---"+t+"---2",r=l.node(t),l.setNode(i,{domId:i,id:i,parentId:r.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),l.setParent(i,r.parentId),l.setNode(n,{domId:n,id:n,parentId:r.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),l.setParent(n,r.parentId),s=structuredClone(e),a=structuredClone(e),o=structuredClone(e),s.label="",s.arrowTypeEnd="none",s.id=t+"-cyclic-special-1",a.arrowTypeStart="none",a.arrowTypeEnd="none",a.id=t+"-cyclic-special-mid",o.label="",r.isGroup&&(s.fromCluster=t,o.toCluster=t),o.id=t+"-cyclic-special-2",o.arrowTypeStart="none",l.setEdge(t,i,s,t+"-cyclic-special-0"),l.setEdge(i,n,a,t+"-cyclic-special-1"),l.setEdge(n,t,o,t+"-cyc<lic-special-2")):l.setEdge(e.start,e.end,{...e},e.id)}),I.warn("Graph at first:",JSON.stringify(cK(l))),TK(l),I.warn("Graph after XAX:",JSON.stringify(cK(l)));t=N();await LK(i,l,e.type,e.diagramId,void 0,t)},"render")}),ZK=e(()=>{"use strict";ZD(),t(),MK={},IK=mt(e=>{for(var t of e)MK[t.name]=t},"registerLayoutLoaders"),mt(()=>{IK([{name:"dagre",loader:mt(async()=>Promise.resolve().then(()=>(KK(),$K)),"loader")}])},"registerDefaultLayoutLoaders")(),NK=mt(async(e,t)=>{var i;if(e.layoutAlgorithm in MK)return(await(i=MK[e.layoutAlgorithm]).loader()).render(e,t,XD,{algorithm:i.algorithm});throw new Error("Unknown layout algorithm: "+e.layoutAlgorithm)},"render"),DK=mt((e="",{fallback:t="dagre"}={})=>{if(e in MK)return e;if(t in MK)return I.warn(`Layoutalgorithm${e}isnotregistered.Using${t}asfallback.`),t;throw new Error(`Bothlayoutalgorithms${e}and${t}arenotregistered.`)},"getRegisteredLayoutAlgorithm")}),QK=e(()=>{"use strict";uh(),t(),OK=mt((e,t,i,n)=>{e.attr("class",i);var{width:i,height:r,x:s,y:a}=PK(e,t),n=(rh(e,r,i,n),BK(s,a,i,r,t));e.attr("viewBox",n),I.debug(`viewBoxconfigured:$Line truncated
`+g.showPosition()+`
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},B={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`)):(t=Bie(e.PATTERN,r.ensureOptimizations),gq(t)&&(m=!1),b(t,e=>{xne(i,e,f[n])})):(r.ensureOptimizations&&zte(`${Vie} TokenType: <${e.name}> is using a custom token pattern without providing <start_chars_hint> parameter.
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`)):(t=Bie(e.PATTERN,r.ensureOptimizations),gq(t)&&(m=!1),b(t,e=>{xne(i,e,f[n])})):(r.ensureOptimizations&&zte(`${Gie} TokenType: <${e.name}> is using a custom token pattern without providing <start_chars_hint> parameter.
Thiswilldisablethelexer'sfirstcharoptimizations.
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),m=!1);return i},[])}),{emptyGroups:g,patternIdxToConfig:f,charCodeToPatternIdxToConfig:y,hasCustom:n,canBeOptimized:m}}function Kie(e,t){let i=[],n=Qie(e);i=i.concat(n.errors);var e=Jie(n.valid),r=e.valid;return i=(i=(i=(i=(i=i.concat(e.errors)).concat(Zie(r))).concat(sne(r))).concat(ane(r,t))).concat(one(r))}function Zie(e){let t=[],i=nU(e,e=>vq(e[Tne]));return t=(t=(t=(t=(t=t.concat(ene(i))).concat(ine(i))).concat(nne(i))).concat(rne(i))).concat(tne(i))}function Qie(e){var t=nU(e,e=>!VU(e,Tne));return{errors:v(t,e=>({message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:Xne.MISSING_PATTERN,tokenTypes:[e]})),valid:_H(e,t)}}function Jie(e){var t=nU(e,e=>{e=e[Tne];return!(vq(e)||N6(e)||VU(e,"exec")||XU(e))});return{errors:v(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Xne.INVALID_PATTERN,tokenTypes:[e]})),valid:_H(e,t)}}function ene(e){class n extends Mee{static{mt(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(e){this.found=!0}}e=nU(e,e=>{e=e.PATTERN;try{var t=Iie(e),i=new n;return i.visit(t),i.found}catch{return Ane.test(e.source)}});return v(e,e=>({message:`Unexpected RegExp Anchor Error:
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE`),m=!1);return i},[])}),{emptyGroups:g,patternIdxToConfig:f,charCodeToPatternIdxToConfig:y,hasCustom:n,canBeOptimized:m}}function Kie(e,t){let i=[],n=Qie(e);i=i.concat(n.errors);var e=Jie(n.valid),r=e.valid;return i=(i=(i=(i=(i=i.concat(e.errors)).concat(Zie(r))).concat(sne(r))).concat(ane(r,t))).concat(one(r))}function Zie(e){let t=[],i=nU(e,e=>vq(e[Tne]));return t=(t=(t=(t=(t=t.concat(ene(i))).concat(ine(i))).concat(nne(i))).concat(rne(i))).concat(tne(i))}function Qie(e){var t=nU(e,e=>!GU(e,Tne));return{errors:v(t,e=>({message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:Xne.MISSING_PATTERN,tokenTypes:[e]})),valid:_H(e,t)}}function Jie(e){var t=nU(e,e=>{e=e[Tne];return!(vq(e)||N6(e)||GU(e,"exec")||XU(e))});return{errors:v(t,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:Xne.INVALID_PATTERN,tokenTypes:[e]})),valid:_H(e,t)}}function ene(e){class n extends Mee{static{mt(this,"EndAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitEndAnchor(e){this.found=!0}}e=nU(e,e=>{e=e.PATTERN;try{var t=Iie(e),i=new n;return i.visit(t),i.found}catch{return Ane.test(e.source)}});return v(e,e=>({message:`Unexpected RegExp Anchor Error:
Seechevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORSfordetails.`,type:Xne.EOI_ANCHOR_FOUND,tokenTypes:[e]}))}function tne(e){e=nU(e,e=>e.PATTERN.test(""));return v(e,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:Xne.EMPTY_MATCH_PATTERN,tokenTypes:[e]}))}function ine(e){class n extends Mee{static{mt(this,"StartAnchorFinder")}constructor(){super(...arguments),this.found=!1}visitStartAnchor(e){this.found=!0}}e=nU(e,e=>{e=e.PATTERN;try{var t=Iie(e),i=new n;return i.visit(t),i.found}catch{return Ene.test(e.source)}});return v(e,e=>({message:`UnexpectedRegExpAnchorError:
Seehttps://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Xne.SOI_ANCHOR_FOUND,tokenTypes:[e]}))}function nne(e){e=nU(e,e=>{e=e[Tne];return e instanceof RegExp&&(e.multiline||e.global)});return v(e,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Xne.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}))}function rne(e){let n=[],t=v(e,i=>JW(e,(e,t)=>(i.PATTERN.source!==t.PATTERN.source||sq(n,t)||t.PATTERN===Zne.NA||(n.push(t),e.push(t)),e),[]));t=mj(t);var i=nU(t,e=>1<e.length);return v(i,e=>{var t=v(e,e=>e.name);return{message:`The same RegExp pattern ->${mU(e).PATTERN}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,type:Xne.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}})}function sne(e){e=nU(e,e=>{return!!VU(e,"GROUP")&&(e=e.GROUP)!==Zne.SKIPPED&&e!==Zne.NA&&!XU(e)});return v(e,e=>({message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Xne.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}))}function ane(e,t){e=nU(e,e=>void 0!==e.PUSH_MODE&&!sq(t,e.PUSH_MODE));return v(e,e=>({message:`Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,type:Xne.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}))}function one(e){let s=[],t=JW(e,(e,t,i)=>{var n=t.PATTERN;return n!==Zne.NA&&(XU(n)?e.push({str:n,idx:i,tokenType:t}):vq(n)&&cne(n)&&e.push({str:n.source,idx:i,tokenType:t})),e},[]);return b(e,(n,r)=>{b(t,({str:e,idx:t,tokenType:i})=>{r<t&&lne(e,n.PATTERN)&&(t=`Token: ->${i.name}<- can never be matched.
Seehttps://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS for details.`,type:Xne.SOI_ANCHOR_FOUND,tokenTypes:[e]}))}function nne(e){e=nU(e,e=>{e=e[Tne];return e instanceof RegExp&&(e.multiline||e.global)});return v(e,e=>({message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:Xne.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}))}function rne(e){let n=[],t=v(e,i=>JW(e,(e,t)=>(i.PATTERN.source!==t.PATTERN.source||sq(n,t)||t.PATTERN===Zne.NA||(n.push(t),e.push(t)),e),[]));t=mj(t);var i=nU(t,e=>1<e.length);return v(i,e=>{var t=v(e,e=>e.name);return{message:`The same RegExp pattern ->${mU(e).PATTERN}<-has been used in all of the following Token Types: ${t.join(", ")} <-`,type:Xne.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}})}function sne(e){e=nU(e,e=>{return!!GU(e,"GROUP")&&(e=e.GROUP)!==Zne.SKIPPED&&e!==Zne.NA&&!XU(e)});return v(e,e=>({message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:Xne.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}))}function ane(e,t){e=nU(e,e=>void 0!==e.PUSH_MODE&&!sq(t,e.PUSH_MODE));return v(e,e=>({message:`Token Type: ->${e.name}<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->${e.PUSH_MODE}<-which does not exist`,type:Xne.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}))}function one(e){let s=[],t=JW(e,(e,t,i)=>{var n=t.PATTERN;return n!==Zne.NA&&(XU(n)?e.push({str:n,idx:i,tokenType:t}):vq(n)&&cne(n)&&e.push({str:n.source,idx:i,tokenType:t})),e},[]);return b(e,(n,r)=>{b(t,({str:e,idx:t,tokenType:i})=>{r<t&&lne(e,n.PATTERN)&&(t=`Token: ->${i.name}<- can never be matched.
Seehttps://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`,s.push({message:t,type:Xne.UNREACHABLE_PATTERN,tokenTypes:[n,i]}))})}),s}function lne(e,t){var i;if(vq(t))return null!==(i=t.exec(e))&&0===i.index;if(N6(t))return t(e,0,[],{});if(VU(t,"exec"))return t.exec(e,0,[],{});if("string"==typeof t)return t===e;throw Error("non exhaustive match")}function cne(t){return void 0===dU([".","\\","[","]","|","^","$","(",")","?","*","+","{"],e=>-1!==t.source.indexOf(e))}function hne(e){var t=e.ignoreCase?"i":"";return new RegExp(`^(?:${e.source})`,t)}function une(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}function dne(e,t,i){let r=[];return VU(e,Sne)||r.push({message:"A MultiMode Lexer cannot be initialized without a <"+Sne+`> property in its definition
`,type:Xne.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),VU(e,Cne)||r.push({message:"A MultiMode Lexer cannot be initialized without a <"+Cne+`>propertyinitsdefinition
Seehttps://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`,s.push({message:t,type:Xne.UNREACHABLE_PATTERN,tokenTypes:[n,i]}))})}),s}function lne(e,t){var i;if(vq(t))return null!==(i=t.exec(e))&&0===i.index;if(N6(t))return t(e,0,[],{});if(GU(t,"exec"))return t.exec(e,0,[],{});if("string"==typeof t)return t===e;throw Error("non exhaustive match")}function cne(t){return void 0===dU([".","\\","[","]","|","^","$","(",")","?","*","+","{"],e=>-1!==t.source.indexOf(e))}function hne(e){var t=e.ignoreCase?"i":"";return new RegExp(`^(?:${e.source})`,t)}function une(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}function dne(e,t,i){let r=[];return GU(e,Sne)||r.push({message:"A MultiMode Lexer cannot be initialized without a <"+Sne+`> property in its definition
`,type:Xne.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),GU(e,Cne)||r.push({message:"A MultiMode Lexer cannot be initialized without a <"+Cne+`>propertyinitsdefinition
FordetailsSee:https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR`;if(t.issue===Xne.CUSTOM_LINE_BREAK)return`Warning: A Custom Token Pattern should specify the <line_breaks> option.
`+e)}tokenizeInternal(r,O){let e,s,t,i,n,a,o,l,c,h,P,u,d,B,p,g=r,F=g.length,f=0,m=0,j=this.hasCustom?0:Math.floor(r.length/10),y=new Array(j),b=[],v=this.trackStartLines?1:void 0,x=this.trackStartLines?1:void 0,w=gne(this.emptyGroups),z=this.trackStartLines,k=this.config.lineTerminatorsPattern,T=0,S=[],C=[],_=[],H=[];Object.freeze(H);let A;function E(){return S}function $(e){e=wne(e),e=C[e];return void 0===e?H:e}mt(E,"getPossiblePatternsSlow"),mt($,"getPossiblePatternsOptimized");var U=mt(e=>{var t;1===_.length&&void 0===e.tokenType.PUSH_MODE?(t=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e),b.push({offset:e.startOffset,line:e.startLine,column:e.startColumn,length:e.image.length,message:t})):(_.pop(),e=LH(_),S=this.patternIdxToConfig[e],C=this.charCodeToPatternIdxToConfig[e],T=S.length,t=this.canModeBeOptimized[e]&&!1===this.config.safeMode,A=C&&t?$:E)},"pop_mode");function L(e){_.push(e),C=this.charCodeToPatternIdxToConfig[e],S=this.patternIdxToConfig[e],T=S.length,T=S.length;e=this.canModeBeOptimized[e]&&!1===this.config.safeMode;A=C&&e?$:E}mt(L,"push_mode"),L.call(this,O);let R,q=this.config.recoveryEnabled;for(;f<F;){a=null;var W=g.charCodeAt(f),V=A(W),G=V.length;for(e=0;e<G;e++){var M=(R=V[e]).pattern,Y=(o=null,R.short);if(!1!==Y?W===Y&&(a=M):!0===R.isCustom?null!==(p=M.exec(g,f,y,w))?(a=p[0],void 0!==p.payload&&(o=p.payload)):a=null:(this.updateLastIndex(M,f),a=this.match(M,r,f)),null!==a){if(void 0!==(n=R.longerAlt)){var X=n.length;for(t=0;t<X;t++){var I=S[n[t]],N=I.pattern;if(!(l=null)===I.isCustom?null!==(p=N.exec(g,f,y,w))?(i=p[0],void 0!==p.payload&&(l=p.payload)):i=null:(this.updateLastIndex(N,f),i=this.match(N,r,f)),i&&i.length>a.length){a=i,o=l,R=I;break}}}break}}if(null!==a){if(c=a.length,void 0!==(h=R.group)&&(P=R.tokenTypeIdx,u=this.createTokenInstance(a,f,P,R.tokenType,v,x,c),this.handlePayload(u,o),!1===h?m=this.addToken(y,m,u):w[h].push(u)),r=this.chopInput(r,c),f+=c,x=this.computeNewColumn(x,c),!0===z&&!0===R.canLineTerminator){let e=0,t,i;for(k.lastIndex=0;!0===(t=k.test(a))&&(i=k.lastIndex-1,e++),!0===t;);0!==e&&(v+=e,x=c-i,this.updateTokenEndLineColumnLocation(u,h,i,e,v,x,c))}this.handleModes(R,U,L,u)}else{let e=f,t=v,i=x,n=!1===q;for(;!1===n&&f<F;)for(r=this.chopInput(r,1),f++,s=0;s<T;s++){var D=S[s],K=D.pattern,Z=D.short;if(!1!==Z?g.charCodeAt(f)===Z&&(n=!0):n=!0===D.isCustom?null!==K.exec(g,f,y,w):(this.updateLastIndex(K,f),null!==K.exec(r)),!0===n)break}if(d=f-e,x=this.computeNewColumn(x,d),B=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(g,e,d,t,i),b.push({offset:e,line:t,column:i,length:d,message:B}),!1===q)break}}return this.hasCustom||(y.length=m),{tokens:y,groups:w,errors:b}}handleModes(e,t,i,n){var r;!0===e.pop?(r=e.push,t(n),void 0!==r&&i.call(this,r)):void 0!==e.push&&i.call(this,e.push)}chopInput(e,t){return e.substring(t)}updateLastIndex(e,t){e.lastIndex=t}updateTokenEndLineColumnLocation(e,t,i,n,r,s,a){void 0!==t&&(i=(t=i===a-1)?-1:0,1===n&&!0==t||(e.endLine=r+i,e.endColumn=s-1-i))}computeNewColumn(e,t){return e+t}createOffsetOnlyToken(e,t,i,n){return{image:e,startOffset:t,tokenTypeIdx:i,tokenType:n}}createStartOnlyToken(e,t,i,n,r,s){return{image:e,startOffset:t,startLine:r,startColumn:s,tokenTypeIdx:i,tokenType:n}}createFullToken(e,t,i,n,r,s,a){return{image:e,startOffset:t,endOffset:t+a-1,startLine:r,endLine:r,startColumn:s,endColumn:s+a-1,tokenTypeIdx:i,tokenType:n}}addTokenUsingPush(e,t,i){return e.push(i),t}addTokenUsingMemberAccess(e,t,i){return e[t]=i,++t}handlePayloadNoCustom(e,t){}handlePayloadWithCustom(e,t){null!==t&&(e.payload=t)}matchWithTest(e,t,i){return!0===e.test(t)?t.substring(i,e.lastIndex):null}matchWithExec(e,t){e=e.exec(t);return null!==e?e[0]:null}}).SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",Zne.NA=/NOT_APPLICABLE/});function tre(e){return ire(e)?e.LABEL:e.name}function ire(e){return XU(e.LABEL)&&""!==e.LABEL}function nre(e){return rre(e)}function rre(e){var t=e.pattern,i={};if(i.name=e.name,Tq(t)||(i.PATTERN=t),VU(e,ore))throw`Theparentpropertyisnolongersupported.
See:https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return VU(e,lre)&&(i.CATEGORIES=e[lre]),Dne([i]),VU(e,cre)&&(i.LABEL=e[cre]),VU(e,hre)&&(i.GROUP=e[hre]),VU(e,dre)&&(i.POP_MODE=e[dre]),VU(e,ure)&&(i.PUSH_MODE=e[ure]),VU(e,pre)&&(i.LONGER_ALT=e[pre]),VU(e,gre)&&(i.LINE_BREAKS=e[gre]),VU(e,fre)&&(i.START_CHARS_HINT=e[fre]),i}function sre(e,t,i,n,r,s,a,o){return{image:t,startOffset:i,endOffset:n,startLine:r,endLine:s,startColumn:a,endColumn:o,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}}function are(e,t){return Ine(e,t)}var ore,lre,cre,hre,ure,dre,pre,gre,fre,mre,yre,bre,vre,xre=e(()=>{"use strict";zV(),ere(),Qne(),mt(tre,"tokenLabel"),mt(ire,"hasTokenLabel"),ore="parent",lre="categories",cre="label",hre="group",ure="push_mode",dre="pop_mode",pre="longer_alt",gre="line_breaks",fre="start_chars_hint",mt(nre,"createToken"),mt(rre,"createTokenInternal"),Dne([mre=nre({name:"EOF",pattern:Zne.NA})]),mt(sre,"createTokenInstance"),mt(are,"tokenMatcher")}),wre=e(()=>{"use strict";xre(),zV(),bie(),yre={buildMismatchTokenMessage({expected:e,actual:t}){return`Expecting ${ire(e)?`--> ${tre(e)} <--`:`token of type --> ${e.name} <--`} but found --> '${t.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:e}){return"Redundant input, expecting EOF but found: "+e.image},buildNoViableAltMessage({expectedPathsPerAlt:e,actual:t,customUserDescription:i}){var n="Expecting: ",t=`
`+e)}tokenizeInternal(r,O){let e,s,t,i,n,a,o,l,c,h,P,u,d,B,p,g=r,F=g.length,f=0,m=0,j=this.hasCustom?0:Math.floor(r.length/10),y=new Array(j),b=[],v=this.trackStartLines?1:void 0,x=this.trackStartLines?1:void 0,w=gne(this.emptyGroups),z=this.trackStartLines,k=this.config.lineTerminatorsPattern,T=0,S=[],C=[],_=[],H=[];Object.freeze(H);let A;function E(){return S}function $(e){e=wne(e),e=C[e];return void 0===e?H:e}mt(E,"getPossiblePatternsSlow"),mt($,"getPossiblePatternsOptimized");var U=mt(e=>{var t;1===_.length&&void 0===e.tokenType.PUSH_MODE?(t=this.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e),b.push({offset:e.startOffset,line:e.startLine,column:e.startColumn,length:e.image.length,message:t})):(_.pop(),e=LH(_),S=this.patternIdxToConfig[e],C=this.charCodeToPatternIdxToConfig[e],T=S.length,t=this.canModeBeOptimized[e]&&!1===this.config.safeMode,A=C&&t?$:E)},"pop_mode");function L(e){_.push(e),C=this.charCodeToPatternIdxToConfig[e],S=this.patternIdxToConfig[e],T=S.length,T=S.length;e=this.canModeBeOptimized[e]&&!1===this.config.safeMode;A=C&&e?$:E}mt(L,"push_mode"),L.call(this,O);let R,q=this.config.recoveryEnabled;for(;f<F;){a=null;var W=g.charCodeAt(f),G=A(W),V=G.length;for(e=0;e<V;e++){var M=(R=G[e]).pattern,Y=(o=null,R.short);if(!1!==Y?W===Y&&(a=M):!0===R.isCustom?null!==(p=M.exec(g,f,y,w))?(a=p[0],void 0!==p.payload&&(o=p.payload)):a=null:(this.updateLastIndex(M,f),a=this.match(M,r,f)),null!==a){if(void 0!==(n=R.longerAlt)){var X=n.length;for(t=0;t<X;t++){var I=S[n[t]],N=I.pattern;if(!(l=null)===I.isCustom?null!==(p=N.exec(g,f,y,w))?(i=p[0],void 0!==p.payload&&(l=p.payload)):i=null:(this.updateLastIndex(N,f),i=this.match(N,r,f)),i&&i.length>a.length){a=i,o=l,R=I;break}}}break}}if(null!==a){if(c=a.length,void 0!==(h=R.group)&&(P=R.tokenTypeIdx,u=this.createTokenInstance(a,f,P,R.tokenType,v,x,c),this.handlePayload(u,o),!1===h?m=this.addToken(y,m,u):w[h].push(u)),r=this.chopInput(r,c),f+=c,x=this.computeNewColumn(x,c),!0===z&&!0===R.canLineTerminator){let e=0,t,i;for(k.lastIndex=0;!0===(t=k.test(a))&&(i=k.lastIndex-1,e++),!0===t;);0!==e&&(v+=e,x=c-i,this.updateTokenEndLineColumnLocation(u,h,i,e,v,x,c))}this.handleModes(R,U,L,u)}else{let e=f,t=v,i=x,n=!1===q;for(;!1===n&&f<F;)for(r=this.chopInput(r,1),f++,s=0;s<T;s++){var D=S[s],K=D.pattern,Z=D.short;if(!1!==Z?g.charCodeAt(f)===Z&&(n=!0):n=!0===D.isCustom?null!==K.exec(g,f,y,w):(this.updateLastIndex(K,f),null!==K.exec(r)),!0===n)break}if(d=f-e,x=this.computeNewColumn(x,d),B=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(g,e,d,t,i),b.push({offset:e,line:t,column:i,length:d,message:B}),!1===q)break}}return this.hasCustom||(y.length=m),{tokens:y,groups:w,errors:b}}handleModes(e,t,i,n){var r;!0===e.pop?(r=e.push,t(n),void 0!==r&&i.call(this,r)):void 0!==e.push&&i.call(this,e.push)}chopInput(e,t){return e.substring(t)}updateLastIndex(e,t){e.lastIndex=t}updateTokenEndLineColumnLocation(e,t,i,n,r,s,a){void 0!==t&&(i=(t=i===a-1)?-1:0,1===n&&!0==t||(e.endLine=r+i,e.endColumn=s-1-i))}computeNewColumn(e,t){return e+t}createOffsetOnlyToken(e,t,i,n){return{image:e,startOffset:t,tokenTypeIdx:i,tokenType:n}}createStartOnlyToken(e,t,i,n,r,s){return{image:e,startOffset:t,startLine:r,startColumn:s,tokenTypeIdx:i,tokenType:n}}createFullToken(e,t,i,n,r,s,a){return{image:e,startOffset:t,endOffset:t+a-1,startLine:r,endLine:r,startColumn:s,endColumn:s+a-1,tokenTypeIdx:i,tokenType:n}}addTokenUsingPush(e,t,i){return e.push(i),t}addTokenUsingMemberAccess(e,t,i){return e[t]=i,++t}handlePayloadNoCustom(e,t){}handlePayloadWithCustom(e,t){null!==t&&(e.payload=t)}matchWithTest(e,t,i){return!0===e.test(t)?t.substring(i,e.lastIndex):null}matchWithExec(e,t){e=e.exec(t);return null!==e?e[0]:null}}).SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",Zne.NA=/NOT_APPLICABLE/});function tre(e){return ire(e)?e.LABEL:e.name}function ire(e){return XU(e.LABEL)&&""!==e.LABEL}function nre(e){return rre(e)}function rre(e){var t=e.pattern,i={};if(i.name=e.name,Tq(t)||(i.PATTERN=t),GU(e,ore))throw`Theparentpropertyisnolongersupported.
See:https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.`;return GU(e,lre)&&(i.CATEGORIES=e[lre]),Dne([i]),GU(e,cre)&&(i.LABEL=e[cre]),GU(e,hre)&&(i.GROUP=e[hre]),GU(e,dre)&&(i.POP_MODE=e[dre]),GU(e,ure)&&(i.PUSH_MODE=e[ure]),GU(e,pre)&&(i.LONGER_ALT=e[pre]),GU(e,gre)&&(i.LINE_BREAKS=e[gre]),GU(e,fre)&&(i.START_CHARS_HINT=e[fre]),i}function sre(e,t,i,n,r,s,a,o){return{image:t,startOffset:i,endOffset:n,startLine:r,endLine:s,startColumn:a,endColumn:o,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}}function are(e,t){return Ine(e,t)}var ore,lre,cre,hre,ure,dre,pre,gre,fre,mre,yre,bre,vre,xre=e(()=>{"use strict";zG(),ere(),Qne(),mt(tre,"tokenLabel"),mt(ire,"hasTokenLabel"),ore="parent",lre="categories",cre="label",hre="group",ure="push_mode",dre="pop_mode",pre="longer_alt",gre="line_breaks",fre="start_chars_hint",mt(nre,"createToken"),mt(rre,"createTokenInternal"),Dne([mre=nre({name:"EOF",pattern:Zne.NA})]),mt(sre,"createTokenInstance"),mt(are,"tokenMatcher")}),wre=e(()=>{"use strict";xre(),zG(),bie(),yre={buildMismatchTokenMessage({expected:e,actual:t}){return`Expecting ${ire(e)?`--> ${tre(e)} <--`:`token of type --> ${e.name} <--`} but found --> '${t.image}' <--`},buildNotAllInputParsedMessage({firstRedundant:e}){return"Redundant input, expecting EOF but found: "+e.image},buildNoViableAltMessage({expectedPathsPerAlt:e,actual:t,customUserDescription:i}){var n="Expecting: ",t=`
ForFurtherdetails.`)}if(sT(e))this.tokensMap=JW(e,(e,t)=>(e[t.name]=t,e),{});else if(VU(e,"modes")&&ZH(iB(tq(e.modes)),Wne)){t=iB(tq(e.modes)),t=_V(t);this.tokensMap=JW(t,(e,t)=>(e[t.name]=t,e),{})}else{if(!R6(e))throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=hj(e)}this.tokensMap.EOF=mre;t=VU(e,"modes")?iB(tq(e.modes)):tq(e),e=ZH(t,e=>gq(e.categoryMatches));this.tokenMatcher=e?Nne:Ine,Dne(tq(this.tokensMap))}defineRule(i,n,e){if(this.selfAnalysisDone)throw Error(`Grammarrule<${i}>maynotbedefinedafterthe'performSelfAnalysis'methodhasbeencalled'
Idxvaluemustbeanonenegativevaluesmallerthan`+(Eae+1))).KNOWN_RECORDER_ERROR=!0,e}var Aae,Eae,$ae,Lae,Rae,Mae,Iae,Nae=e(()=>{"use strict";zV(),bie(),ere(),Qne(),xre(),Wae(),Use(),Aae={description:"This Object indicates the Parser is during Recording Phase"},Object.freeze(Aae),Eae=Math.pow(2,8)-1,Dne([$ae=nre({name:"RECORDING_PHASE_TOKEN",pattern:Zne.NA})]),Lae=sre($ae,`ThisITokenindicatestheParserisinRecordingPhase
ForFurtherdetails.`)}if(sT(e))this.tokensMap=JW(e,(e,t)=>(e[t.name]=t,e),{});else if(GU(e,"modes")&&ZH(iB(tq(e.modes)),Wne)){t=iB(tq(e.modes)),t=_G(t);this.tokensMap=JW(t,(e,t)=>(e[t.name]=t,e),{})}else{if(!R6(e))throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=hj(e)}this.tokensMap.EOF=mre;t=GU(e,"modes")?iB(tq(e.modes)):tq(e),e=ZH(t,e=>gq(e.categoryMatches));this.tokenMatcher=e?Nne:Ine,Dne(tq(this.tokensMap))}defineRule(i,n,e){if(this.selfAnalysisDone)throw Error(`Grammarrule<${i}>maynotbedefinedafterthe'performSelfAnalysis'methodhasbeencalled'
Idxvaluemustbeanonenegativevaluesmallerthan`+(Eae+1))).KNOWN_RECORDER_ERROR=!0,e}var Aae,Eae,$ae,Lae,Rae,Mae,Iae,Nae=e(()=>{"use strict";zG(),bie(),ere(),Qne(),xre(),Wae(),Use(),Aae={description:"This Object indicates the Parser is during Recording Phase"},Object.freeze(Aae),Eae=Math.pow(2,8)-1,Dne([$ae=nre({name:"RECORDING_PHASE_TOKEN",pattern:Zne.NA})]),Lae=sre($ae,`ThisITokenindicatestheParserisinRecordingPhase
See:https://chevrotain.io/docs/guide/internals.html#grammar-recording for details`,-1,-1,-1,-1,-1,-1),Object.freeze(Lae),Rae={name:`This CSTNode indicates the Parser is in Recording Phase
insidetoplevelrule:<${this.recordingProdStack[0].name}>`)).KNOWN_RECORDER_ERROR=!0,n}},mt(Tae,"recordProd"),mt(Sae,"recordOrProd"),mt(Cae,"getIdxSuffix"),mt(_ae,"assertMethodIdxIsValid")}),Dae=e(()=>{"use strict";zV(),Yte(),Wae(),Iae=class{static{mt(this,"PerformanceTracer")}initPerformanceTracer(e){var t;VU(e,"traceInitPerf")?(e=e.traceInitPerf,this.traceInitMaxIdent=(t="number"==typeof e)?e:1/0,this.traceInitPerf=t?0<e:e):(this.traceInitMaxIdent=0,this.traceInitPerf=jae.traceInitPerf),this.traceInitIndent=-1}TRACE_INIT(e,t){var i,n,r,s;return!0===this.traceInitPerf?(this.traceInitIndent++,i=new Array(this.traceInitIndent+1).join("\t"),{time:n,value:r}=(this.traceInitIndent<this.traceInitMaxIdent&&console.log(i+`--><${e}>`),qte(t)),s=10<n?console.warn:console.log,this.traceInitIndent<this.traceInitMaxIdent&&s(i+`<--<${e}>time:${n}ms`),this.traceInitIndent--,r):t()}}});function Oae(r,e){e.forEach(i=>{let n=i.prototype;Object.getOwnPropertyNames(n).forEach(e=>{var t;"constructor"!==e&&((t=Object.getOwnPropertyDescriptor(n,e))&&(t.get||t.set)?Object.defineProperty(r.prototype,e,t):r.prototype[e]=i.prototype[e])})})}var Pae=e(()=>{"use strict";mt(Oae,"applyMixins")});function Bae(e=void 0){return function(){return e}}var Fae,jae,zae,Hae,Uae,qae,Wae=e(()=>{"use strict";var e;zV(),Yte(),Mie(),xre(),wre(),kse(),jse(),Xse(),yae(),bae(),vae(),xae(),wae(),kae(),Nae(),Dae(),Pae(),vse(),Fae=sre(mre,"",NaN,NaN,NaN,NaN,NaN,NaN),Object.freeze(Fae),jae=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:yre,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),zae=Object.freeze({recoveryValueFunc:mt(()=>{},"recoveryValueFunc"),resyncEnabled:!0}),(e=Hae=Hae||{})[e.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e[e.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e[e.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e[e.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e[e.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e[e.LEFT_RECURSION=5]="LEFT_RECURSION",e[e.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e[e.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e[e.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e[e.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e[e.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e[e.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e[e.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",e[e.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION",mt(Bae,"EMPTY_ALT"),(Uae=class t{static{mt(this,"Parser")}static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated.\t\nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{var e;this.selfAnalysisDone=!0;let i=this.className,n=(this.TRACE_INIT("toFastProps",()=>{Vte(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),b(this.definedRulesNames,e=>{let t=this[e].originalGrammarAction,i;this.TRACE_INIT(e+" Rule",()=>{i=this.topLevelRuleRecord(e,t)}),this.gastProductionsCache[e]=i})}finally{this.disableRecording()}}),[]);if(this.TRACE_INIT("Grammar Resolving",()=>{n=xse({rules:tq(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(n)}),this.TRACE_INIT("Grammar Validations",()=>{var e,t;gq(n)&&!1===this.skipValidations&&(e=wse({rules:tq(this.gastProductionsCache),tokenTypes:tq(this.tokensMap),errMsgProvider:vre,grammarName:i}),t=ese({lookaheadStrategy:this.lookaheadStrategy,rules:tq(this.gastProductionsCache),tokenTypes:tq(this.tokensMap),grammarName:i}),this.definitionErrors=this.definitionErrors.concat(e,t))}),gq(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{var e=$ie(tq(this.gastProductionsCache));this.resyncFollows=e}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var e,t;null!=(t=(e=this.lookaheadStrategy).initialize)&&t.call(e,{rules:tq(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(tq(this.gastProductionsCache))})),!t.DEFER_DEFINITION_ERRORS_HANDLING&&!gq(this.definitionErrors))throw e=v(this.definitionErrors,e=>e.message),new Error(`ParserDefinitionErrorsdetected:
insidetoplevelrule:<${this.recordingProdStack[0].name}>`)).KNOWN_RECORDER_ERROR=!0,n}},mt(Tae,"recordProd"),mt(Sae,"recordOrProd"),mt(Cae,"getIdxSuffix"),mt(_ae,"assertMethodIdxIsValid")}),Dae=e(()=>{"use strict";zG(),Yte(),Wae(),Iae=class{static{mt(this,"PerformanceTracer")}initPerformanceTracer(e){var t;GU(e,"traceInitPerf")?(e=e.traceInitPerf,this.traceInitMaxIdent=(t="number"==typeof e)?e:1/0,this.traceInitPerf=t?0<e:e):(this.traceInitMaxIdent=0,this.traceInitPerf=jae.traceInitPerf),this.traceInitIndent=-1}TRACE_INIT(e,t){var i,n,r,s;return!0===this.traceInitPerf?(this.traceInitIndent++,i=new Array(this.traceInitIndent+1).join("\t"),{time:n,value:r}=(this.traceInitIndent<this.traceInitMaxIdent&&console.log(i+`--><${e}>`),qte(t)),s=10<n?console.warn:console.log,this.traceInitIndent<this.traceInitMaxIdent&&s(i+`<--<${e}>time:${n}ms`),this.traceInitIndent--,r):t()}}});function Oae(r,e){e.forEach(i=>{let n=i.prototype;Object.getOwnPropertyNames(n).forEach(e=>{var t;"constructor"!==e&&((t=Object.getOwnPropertyDescriptor(n,e))&&(t.get||t.set)?Object.defineProperty(r.prototype,e,t):r.prototype[e]=i.prototype[e])})})}var Pae=e(()=>{"use strict";mt(Oae,"applyMixins")});function Bae(e=void 0){return function(){return e}}var Fae,jae,zae,Hae,Uae,qae,Wae=e(()=>{"use strict";var e;zG(),Yte(),Mie(),xre(),wre(),kse(),jse(),Xse(),yae(),bae(),vae(),xae(),wae(),kae(),Nae(),Dae(),Pae(),vse(),Fae=sre(mre,"",NaN,NaN,NaN,NaN,NaN,NaN),Object.freeze(Fae),jae=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:yre,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),zae=Object.freeze({recoveryValueFunc:mt(()=>{},"recoveryValueFunc"),resyncEnabled:!0}),(e=Hae=Hae||{})[e.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e[e.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e[e.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e[e.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e[e.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e[e.LEFT_RECURSION=5]="LEFT_RECURSION",e[e.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e[e.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e[e.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e[e.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e[e.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e[e.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e[e.TOO_MANY_ALTS=12]="TOO_MANY_ALTS",e[e.CUSTOM_LOOKAHEAD_VALIDATION=13]="CUSTOM_LOOKAHEAD_VALIDATION",mt(Bae,"EMPTY_ALT"),(Uae=class t{static{mt(this,"Parser")}static performSelfAnalysis(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated.\t\nUse the **instance** method with the same name instead.")}performSelfAnalysis(){this.TRACE_INIT("performSelfAnalysis",()=>{var e;this.selfAnalysisDone=!0;let i=this.className,n=(this.TRACE_INIT("toFastProps",()=>{Gte(this)}),this.TRACE_INIT("Grammar Recording",()=>{try{this.enableRecording(),b(this.definedRulesNames,e=>{let t=this[e].originalGrammarAction,i;this.TRACE_INIT(e+" Rule",()=>{i=this.topLevelRuleRecord(e,t)}),this.gastProductionsCache[e]=i})}finally{this.disableRecording()}}),[]);if(this.TRACE_INIT("Grammar Resolving",()=>{n=xse({rules:tq(this.gastProductionsCache)}),this.definitionErrors=this.definitionErrors.concat(n)}),this.TRACE_INIT("Grammar Validations",()=>{var e,t;gq(n)&&!1===this.skipValidations&&(e=wse({rules:tq(this.gastProductionsCache),tokenTypes:tq(this.tokensMap),errMsgProvider:vre,grammarName:i}),t=ese({lookaheadStrategy:this.lookaheadStrategy,rules:tq(this.gastProductionsCache),tokenTypes:tq(this.tokensMap),grammarName:i}),this.definitionErrors=this.definitionErrors.concat(e,t))}),gq(this.definitionErrors)&&(this.recoveryEnabled&&this.TRACE_INIT("computeAllProdsFollows",()=>{var e=$ie(tq(this.gastProductionsCache));this.resyncFollows=e}),this.TRACE_INIT("ComputeLookaheadFunctions",()=>{var e,t;null!=(t=(e=this.lookaheadStrategy).initialize)&&t.call(e,{rules:tq(this.gastProductionsCache)}),this.preComputeLookaheadFunctions(tq(this.gastProductionsCache))})),!t.DEFER_DEFINITION_ERRORS_HANDLING&&!gq(this.definitionErrors))throw e=v(this.definitionErrors,e=>e.message),new Error(`ParserDefinitionErrorsdetected:
`+e.join(`
-------------------------------
`))})}constructor(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;if(this.initErrorHandler(t),this.initLexerAdapter(),this.initLooksAhead(t),this.initRecognizerEngine(e,t),this.initRecoverable(t),this.initTreeBuilder(t),this.initContentAssist(),this.initGastRecorder(t),this.initPerformanceTracer(t),VU(t,"ignoredIssues"))throw new Error(`The<ignoredIssues>IParserConfigpropertyhasbeendeprecated.
`))})}constructor(e,t){this.definitionErrors=[],this.selfAnalysisDone=!1;if(this.initErrorHandler(t),this.initLexerAdapter(),this.initLooksAhead(t),this.initRecognizerEngine(e,t),this.initRecoverable(t),this.initTreeBuilder(t),this.initContentAssist(),this.initGastRecorder(t),this.initPerformanceTracer(t),GU(t,"ignoredIssues"))throw new Error(`The<ignoredIssues>IParserConfigpropertyhasbeendeprecated.
`;case"r":return"\r";case"t":return"\t";case"v":return"\v";case"0":return"\0";default:return e}}function t(e){return"^"===e.charAt(0)?e.substring(1):e}function i(e){return parseInt(e)}function n(e){return BigInt(e)}function r(e){return new Date(e)}function a(e){return Number(e)}function o(e){return"true"===e.toLowerCase()}var l;iee(),Pte(),Lhe=class{static{mt(this,"DefaultValueConverter")}convert(e,t){let i=t.grammarSource;if(eJ(i=YQ(i)?nte(i):i)){var n=i.rule.ref;if(n)return this.runConverter(n,e,t);throw new Error("This cst node was not parsed by a rule.")}return e}runConverter(e,t,i){switch(e.name.toUpperCase()){case"INT":return Rhe.convertInt(t);case"STRING":return Rhe.convertString(t);case"ID":return Rhe.convertID(t)}switch(null==(e=_te(e))?void 0:e.toLowerCase()){case"number":return Rhe.convertNumber(t);case"boolean":return Rhe.convertBoolean(t);case"bigint":return Rhe.convertBigint(t);case"date":return Rhe.convertDate(t);default:return t}}},l=Rhe=Rhe||{},mt(e,"convertString"),l.convertString=e,mt(s,"convertEscapeCharacter"),mt(t,"convertID"),l.convertID=t,mt(i,"convertInt"),l.convertInt=i,mt(n,"convertBigint"),l.convertBigint=n,mt(r,"convertDate"),l.convertDate=r,mt(a,"convertNumber"),l.convertNumber=a,mt(o,"convertBoolean"),l.convertBoolean=o}),Dhe=W(e=>{"use strict";var t,i;function n(){if(void 0===t)throw new Error("No runtime abstraction layer installed");return t}function r(e){if(void 0===e)throw new Error("No runtime abstraction layer provided");t=e}Object.defineProperty(e,"__esModule",{value:!0}),mt(n,"RAL"),i=n=n||{},mt(r,"install"),i.install=r,e.default=n}),Ohe=W(e=>{"use strict";function t(e){return!0===e||!1===e}function i(e){return"string"==typeof e||e instanceof String}function n(e){return"number"==typeof e||e instanceof Number}function r(e){return e instanceof Error}function s(e){return"function"==typeof e}function a(e){return Array.isArray(e)}function o(e){return a(e)&&e.every(e=>i(e))}Object.defineProperty(e,"__esModule",{value:!0}),e.stringArray=e.array=e.func=e.error=e.number=e.string=e.boolean=void 0,mt(t,"boolean"),e.boolean=t,mt(i,"string"),e.string=i,mt(n,"number"),e.number=n,mt(r,"error"),e.error=r,mt(s,"func"),e.func=s,mt(a,"array"),e.array=a,mt(o,"stringArray"),e.stringArray=o}),Phe=W(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=t.Event=void 0;var a=Dhe();{var i=t.Event={};let e={dispose(){}};i.None=function(){return e}}var r=class{static{mt(this,"CallbackList")}add(e,t=null,i){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(i)&&i.push({dispose:mt(()=>this.remove(e,t),"dispose")})}remove(n,r=null){if(this._callbacks){let i=!1;for(let e=0,t=this._callbacks.length;e<t;e++)if(this._callbacks[e]===n){if(this._contexts[e]===r)return this._callbacks.splice(e,1),void this._contexts.splice(e,1);i=!0}if(i)throw new Error("When adding a listener with a context, you should remove it with the same context")}}invoke(...i){if(!this._callbacks)return[];var n=[],r=this._callbacks.slice(0),s=this._contexts.slice(0);for(let e=0,t=r.length;e<t;e++)try{n.push(r[e].apply(s[e],i))}catch(e){(0,a.default)().console.error(e)}return n}isEmpty(){return!this._callbacks||0===this._callbacks.length}dispose(){this._callbacks=void 0,this._contexts=void 0}},i=class s{static{mt(this,"Emitter")}constructor(e){this._options=e}get event(){return this._event||(this._event=(e,t,i)=>{this._callbacks||(this._callbacks=new r),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);let n={dispose:mt(()=>{this._callbacks&&(this._callbacks.remove(e,t),n.dispose=s._noop,this._options)&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this)},"dispose")};return Array.isArray(i)&&i.push(n),n}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};(t.Emitter=i)._noop=function(){}}),Bhe=W(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;var t,i,n=Dhe(),r=Ohe(),s=Phe();function a(e){return e&&(e===i.None||e===i.Cancelled||r.boolean(e.isCancellationRequested)&&!!e.onCancellationRequested)}(i=t||(e.CancellationToken=t={})).None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:s.Event.None}),i.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:s.Event.None}),mt(a,"is"),i.is=a;var o=Object.freeze(function(e,t){let i=(0,n.default)().timer.setTimeout(e.bind(t),0);return{dispose(){i.dispose()}}}),l=class{static{mt(this,"MutableToken")}constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?o
Line truncated
`)?`
`:`
`}var qde,Wde,Vde,Gde,Yde,Xde,Kde,Zde,Qde,Jde,epe,tpe,ipe,npe,rpe,spe=e(()=>{"use strict";Yce(),Zee(),gue(),mt(Cde,"parseJSDoc"),mt(_de,"isJSDoc"),mt(Ade,"getLines"),qde=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Wde=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu,mt(Ede,"tokenize"),mt($de,"buildInlineTokens"),Vde=/\S/,Gde=/\s*$/,mt(Lde,"skipWhitespace"),mt(Rde,"lastCharacter"),mt(Mde,"parseJSDocComment"),mt(Ide,"parseJSDocElement"),mt(Nde,"appendEmptyLine"),mt(Dde,"parseJSDocText"),mt(Ode,"parseJSDocInline"),mt(Pde,"parseJSDocTag"),mt(Bde,"parseJSDocLine"),mt(Fde,"normalizeOptions"),mt(jde,"normalizeOption"),Yde=class{static{mt(this,"JSDocCommentImpl")}constructor(e,t){this.elements=e,this.range=t}getTag(t){return this.getAllTags().find(e=>e.name===t)}getTags(t){return this.getAllTags().filter(e=>e.name===t)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(var t of this.elements)0===e.length?e=t.toString():(t=t.toString(),e+=Ude(e)+t);return e.trim()}toMarkdown(e){let t="";for(var i of this.elements)0===t.length?t=i.toMarkdown(e):(i=i.toMarkdown(e),t+=Ude(t)+i);return t.trim()}},Xde=class{static{mt(this,"JSDocTagImpl")}constructor(e,t,i,n){this.name=e,this.content=t,this.inline=i,this.range=n}toString(){let e="@"+this.name,t=this.content.toString();return 1===this.content.inlines.length?e=e+" "+t:1<this.content.inlines.length&&(e=e+`
`}var qde,Wde,Gde,Vde,Yde,Xde,Kde,Zde,Qde,Jde,epe,tpe,ipe,npe,rpe,spe=e(()=>{"use strict";Yce(),Zee(),gue(),mt(Cde,"parseJSDoc"),mt(_de,"isJSDoc"),mt(Ade,"getLines"),qde=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Wde=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu,mt(Ede,"tokenize"),mt($de,"buildInlineTokens"),Gde=/\S/,Vde=/\s*$/,mt(Lde,"skipWhitespace"),mt(Rde,"lastCharacter"),mt(Mde,"parseJSDocComment"),mt(Ide,"parseJSDocElement"),mt(Nde,"appendEmptyLine"),mt(Dde,"parseJSDocText"),mt(Ode,"parseJSDocInline"),mt(Pde,"parseJSDocTag"),mt(Bde,"parseJSDocLine"),mt(Fde,"normalizeOptions"),mt(jde,"normalizeOption"),Yde=class{static{mt(this,"JSDocCommentImpl")}constructor(e,t){this.elements=e,this.range=t}getTag(t){return this.getAllTags().find(e=>e.name===t)}getTags(t){return this.getAllTags().filter(e=>e.name===t)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(var t of this.elements)0===e.length?e=t.toString():(t=t.toString(),e+=Ude(e)+t);return e.trim()}toMarkdown(e){let t="";for(var i of this.elements)0===t.length?t=i.toMarkdown(e):(i=i.toMarkdown(e),t+=Ude(t)+i);return t.trim()}},Xde=class{static{mt(this,"JSDocTagImpl")}constructor(e,t,i,n){this.name=e,this.content=t,this.inline=i,this.range=n}toString(){let e="@"+this.name,t=this.content.toString();return 1===this.content.inlines.length?e=e+" "+t:1<this.content.inlines.length&&(e=e+`
`)),this.result=e}static{a(this,"MermaidParseError")}}});function ufe(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}var dfe,pfe,gfe=e(()=>{"use strict";mt(ufe,"populateCommonDb")}),ffe=e(()=>{"use strict";dfe={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4}}),mfe=e(()=>{"use strict";pfe=class{constructor(e){this.init=e,this.records=this.init()}static{mt(this,"ImperativeState")}reset(){this.records=this.init()}}});function yfe(){return qC({length:7})}function bfe(e,n){let r=Object.create(null);return e.reduce((e,t)=>{var i=n(t);return r[i]||(r[i]=!0,e.push(t)),e},[])}function vfe(e,t,i){t=e.indexOf(t);-1===t?e.push(i):e.splice(t,1,i)}function xfe(e){let t=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),i="";e.forEach(function(e){e===t?i+="\t*":i+="\t|"});var n,r=[i,t.id,t.seq];for(n in x.records.branches)x.records.branches.get(n)===t.id&&r.push(n);if(I.debug(r.join(" ")),t.parents&&2==t.parents.length&&t.parents[0]&&t.parents[1]){var s=x.records.commits.get(t.parents[0]);vfe(e,t,s),t.parents[1]&&e.push(x.records.commits.get(t.parents[1]))}else{if(0==t.parents.length)return;t.parents[0]&&(s=x.records.commits.get(t.parents[0]),vfe(e,t,s))}xfe(e=bfe(e,e=>e.id))}var wfe,kfe,x,Tfe,Sfe,Cfe,_fe,Afe,Efe,$fe,Lfe,Rfe,Mfe,Ife,Nfe,Dfe,Ofe,Pfe,Bfe,Ffe,jfe,zfe,Hfe,Ufe,qfe,Wfe,Vfe,Gfe,Yfe,Xfe,Kfe,Zfe,Qfe,Jfe,eme,tme,ime,nme,rme,sme,ame,ome,lme,cme,hme,ume,dme,pme,gme,fme,mme,yme,bme,vme,xme,wme,kme,Tme,Sme,Cme,_me,Ame,Eme=e(()=>{"use strict";t(),s_(),Mn(),hh(),Cu(),ffe(),mfe(),Ln(),wfe=vi.gitGraph,kfe=mt(()=>EC({...wfe,...Ii().gitGraph}),"getConfig"),x=new pfe(()=>{var e=kfe(),t=e.mainBranchName,e=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:e}]]),branches:new Map([[t,null]]),currBranch:t,direction:"LR",seq:0,options:{}}}),mt(yfe,"getID"),mt(bfe,"uniqBy"),Tfe=mt(function(e){x.records.direction=e},"setDirection"),Sfe=mt(function(e){I.debug("options str",e),e=(e=e?.trim())||"{}";try{x.records.options=JSON.parse(e)}catch(e){I.error("error while parsing gitGraph options",e.message)}},"setOptions"),Cfe=mt(function(){return x.records.options},"getOptions"),_fe=mt(function(e){let t=e.msg,i=e.id,n=e.type,r=e.tags,s=(I.info("commit",t,i,n,r),I.debug("Entering commit:",t,i,n,r),kfe());i=$.sanitizeText(i,s),t=$.sanitizeText(t,s),r=r?.map(e=>$.sanitizeText(e,s));e={id:i||x.records.seq+"-"+yfe(),message:t,seq:x.records.seq++,type:n??dfe.NORMAL,tags:r??[],parents:null==x.records.head?[]:[x.records.head.id],branch:x.records.currBranch};x.records.head=e,I.info("main branch",s.mainBranchName),x.records.commits.has(e.id)&&I.warn(`CommitID${e.id}alreadyexists`),x.records.commits.set(e.id,e),x.records.branches.set(x.records.currBranch,e.id),I.debug("in pushCommit "+e.id)},"commit"),Afe=mt(function(e){var t=e.name,e=e.order,t=$.sanitizeText(t,kfe());if(x.records.branches.has(t))throw new Error(`Tryingtocreateanexistingbranch.(Help:Eitheruseanewnameifyouwantcreateanewbranchortryusing"checkout ${t}")`);x.records.branches.set(t,null!=x.records.head?x.records.head.id:null),x.records.branchConfig.set(t,{name:t,order:e}),Lfe(t),I.debug("in createBranch")},"branch"),Efe=mt(e=>{let t=e.branch,i=e.id,n=e.type,r=e.tags,s=kfe();t=$.sanitizeText(t,s),i=i&&$.sanitizeText(i,s);var e=x.records.branches.get(x.records.currBranch),a=x.records.branches.get(t),e=e?x.records.commits.get(e):void 0,o=a?x.records.commits.get(a):void 0;if(e&&o&&e.branch===t)throw new Error(`Cannotmergebranch'${t}'intoitself.`);if(x.records.currBranch===t)throw(l=new Error('Incorrect usage of "merge". Cannot merge a branch to itself')).hash={text:"merge "+t,token:"merge "+t,expected:["branch abc"]},l;if(void 0===e||!e)throw(l=new Error(`Incorrectusageof"merge".Currentbranch(${x.records.currBranch})hasnocommits`)).hash={text:"merge "+t,token:"merge "+t,expected:["commit"]},l;if(!x.records.branches.has(t))throw(l=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist")).hash={text:"merge "+t,token:"merge "+t,expected:["branch "+t]},l;if(void 0===o||!o)throw(l=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits")).hash={text:"merge "+t,token:"merge "+t,expected:['"commit"']},l;if(e===o)throw(l=new Error('Incorrect usage of "merge". Both branches have same head')).hash={text:"merge "+t,token:"merge "+t,expected:["branch abc"]},l;if(i&&x.records.commits.has(i))throw(e=new Error('Incorrect usage of "merge". Commit with id:'+i+" already exists, use different custom id")).hash={text:`merge${t}${i}${n}`+r?.join(" "),token:`merge${t}${i}${n}`+r?.join(" "),expected:[`merge${t}${i}_UNIQUE${n}`+r?.join(" ")]},e;var o=a||"",l={id:i||x.records.seq+"-"+yfe(),message:`mergedbranch${t}into`+x.records.currBranch,seq:x.records.seq++,parents:null==x.records.head?[]:[x.records.head.id,o],branch:x.records.currBranch,type:dfe.MERGE,customType:n,customId:!!i,ta
Line truncated
`)),this.result=e}static{a(this,"MermaidParseError")}}});function ufe(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}var dfe,pfe,gfe=e(()=>{"use strict";mt(ufe,"populateCommonDb")}),ffe=e(()=>{"use strict";dfe={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4}}),mfe=e(()=>{"use strict";pfe=class{constructor(e){this.init=e,this.records=this.init()}static{mt(this,"ImperativeState")}reset(){this.records=this.init()}}});function yfe(){return qC({length:7})}function bfe(e,n){let r=Object.create(null);return e.reduce((e,t)=>{var i=n(t);return r[i]||(r[i]=!0,e.push(t)),e},[])}function vfe(e,t,i){t=e.indexOf(t);-1===t?e.push(i):e.splice(t,1,i)}function xfe(e){let t=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),i="";e.forEach(function(e){e===t?i+="\t*":i+="\t|"});var n,r=[i,t.id,t.seq];for(n in x.records.branches)x.records.branches.get(n)===t.id&&r.push(n);if(I.debug(r.join(" ")),t.parents&&2==t.parents.length&&t.parents[0]&&t.parents[1]){var s=x.records.commits.get(t.parents[0]);vfe(e,t,s),t.parents[1]&&e.push(x.records.commits.get(t.parents[1]))}else{if(0==t.parents.length)return;t.parents[0]&&(s=x.records.commits.get(t.parents[0]),vfe(e,t,s))}xfe(e=bfe(e,e=>e.id))}var wfe,kfe,x,Tfe,Sfe,Cfe,_fe,Afe,Efe,$fe,Lfe,Rfe,Mfe,Ife,Nfe,Dfe,Ofe,Pfe,Bfe,Ffe,jfe,zfe,Hfe,Ufe,qfe,Wfe,Gfe,Vfe,Yfe,Xfe,Kfe,Zfe,Qfe,Jfe,eme,tme,ime,nme,rme,sme,ame,ome,lme,cme,hme,ume,dme,pme,gme,fme,mme,yme,bme,vme,xme,wme,kme,Tme,Sme,Cme,_me,Ame,Eme=e(()=>{"use strict";t(),s_(),Mn(),hh(),Cu(),ffe(),mfe(),Ln(),wfe=vi.gitGraph,kfe=mt(()=>EC({...wfe,...Ii().gitGraph}),"getConfig"),x=new pfe(()=>{var e=kfe(),t=e.mainBranchName,e=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:e}]]),branches:new Map([[t,null]]),currBranch:t,direction:"LR",seq:0,options:{}}}),mt(yfe,"getID"),mt(bfe,"uniqBy"),Tfe=mt(function(e){x.records.direction=e},"setDirection"),Sfe=mt(function(e){I.debug("options str",e),e=(e=e?.trim())||"{}";try{x.records.options=JSON.parse(e)}catch(e){I.error("error while parsing gitGraph options",e.message)}},"setOptions"),Cfe=mt(function(){return x.records.options},"getOptions"),_fe=mt(function(e){let t=e.msg,i=e.id,n=e.type,r=e.tags,s=(I.info("commit",t,i,n,r),I.debug("Entering commit:",t,i,n,r),kfe());i=$.sanitizeText(i,s),t=$.sanitizeText(t,s),r=r?.map(e=>$.sanitizeText(e,s));e={id:i||x.records.seq+"-"+yfe(),message:t,seq:x.records.seq++,type:n??dfe.NORMAL,tags:r??[],parents:null==x.records.head?[]:[x.records.head.id],branch:x.records.currBranch};x.records.head=e,I.info("main branch",s.mainBranchName),x.records.commits.has(e.id)&&I.warn(`CommitID${e.id}alreadyexists`),x.records.commits.set(e.id,e),x.records.branches.set(x.records.currBranch,e.id),I.debug("in pushCommit "+e.id)},"commit"),Afe=mt(function(e){var t=e.name,e=e.order,t=$.sanitizeText(t,kfe());if(x.records.branches.has(t))throw new Error(`Tryingtocreateanexistingbranch.(Help:Eitheruseanewnameifyouwantcreateanewbranchortryusing"checkout ${t}")`);x.records.branches.set(t,null!=x.records.head?x.records.head.id:null),x.records.branchConfig.set(t,{name:t,order:e}),Lfe(t),I.debug("in createBranch")},"branch"),Efe=mt(e=>{let t=e.branch,i=e.id,n=e.type,r=e.tags,s=kfe();t=$.sanitizeText(t,s),i=i&&$.sanitizeText(i,s);var e=x.records.branches.get(x.records.currBranch),a=x.records.branches.get(t),e=e?x.records.commits.get(e):void 0,o=a?x.records.commits.get(a):void 0;if(e&&o&&e.branch===t)throw new Error(`Cannotmergebranch'${t}'intoitself.`);if(x.records.currBranch===t)throw(l=new Error('Incorrect usage of "merge". Cannot merge a branch to itself')).hash={text:"merge "+t,token:"merge "+t,expected:["branch abc"]},l;if(void 0===e||!e)throw(l=new Error(`Incorrectusageof"merge".Currentbranch(${x.records.currBranch})hasnocommits`)).hash={text:"merge "+t,token:"merge "+t,expected:["commit"]},l;if(!x.records.branches.has(t))throw(l=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist")).hash={text:"merge "+t,token:"merge "+t,expected:["branch "+t]},l;if(void 0===o||!o)throw(l=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits")).hash={text:"merge "+t,token:"merge "+t,expected:['"commit"']},l;if(e===o)throw(l=new Error('Incorrect usage of "merge". Both branches have same head')).hash={text:"merge "+t,token:"merge "+t,expected:["branch abc"]},l;if(i&&x.records.commits.has(i))throw(e=new Error('Incorrect usage of "merge". Commit with id:'+i+" already exists, use different custom id")).hash={text:`merge${t}${i}${n}`+r?.join(" "),token:`merge${t}${i}${n}`+r?.join(" "),expected:[`merge${t}${i}_UNIQUE${n}`+r?.join(" ")]},e;var o=a||"",l={id:i||x.records.seq+"-"+yfe(),message:`mergedbranch${t}into`+x.records.currBranch,seq:x.records.seq++,parents:null==x.records.head?[]:[x.records.head.id,o],branch:x.records.currBranch,type:dfe.MERGE,customType:n,customId:!!i,ta
Line truncated
${o-t/2-2},${2+y}
${o-t/2-2},${y-2}
${a.posWithOffset-t/2-4},${y-m-2}
@@ -846,7 +846,7 @@ For Further details.`}function Xoe(e){if(e instanceof eie)return"SUBRULE";if(e i
${a.x+10+t+4},${y-m-2}
${a.x+10+t+4},${y+m+2}
${a.x+10},`+(y+m+2)).attr("transform","translate(12,12) rotate(45, "+a.x+","+o+")"),p.attr("cx",a.x+2).attr("cy",y).attr("transform","translate(12,12) rotate(45, "+a.x+","+o+")"),d.attr("x",a.x+5).attr("y",y+3).attr("transform","translate(14,14) rotate(45, "+a.x+","+o+")"))}}},"drawCommitTags"),gme=mt(e=>{switch(e.customType??e.type){case dfe.NORMAL:return"commit-normal";case dfe.REVERSE:return"commit-reverse";case dfe.HIGHLIGHT:return"commit-highlight";case dfe.MERGE:return"commit-merge";case dfe.CHERRY_PICK:return"commit-cherry-pick";default:return"commit-normal"}},"getCommitClassType"),fme=mt((e,t,i,n)=>{var r,s={x:0,y:0};return 0<e.parents.length?(r=rme(e.parents))?(r=n.get(r)??s,"TB"===t?r.y+40:"BT"===t?(n.get(e.id)??s).y-40:r.x+40):0:"TB"===t?30:"BT"===t?(n.get(e.id)??s).y-40:0},"calculatePosition"),mme=mt((e,t,i)=>{var i="BT"===tme&&i?t:t+10,t="TB"===tme||"BT"===tme?i:Kfe.get(e.branch)?.pos,n="TB"===tme||"BT"===tme?Kfe.get(e.branch)?.pos:i;if(void 0===n||void 0===t)throw new Error("Position were undefined for commit "+e.id);return{x:n,y:t,posWithOffset:i}},"getCommitPosition"),yme=mt((e,s,a)=>{if(!Xfe)throw new Error("GitGraph config not found");let o=e.append("g").attr("class","commit-bullets"),l=e.append("g").attr("class","commit-labels"),c="TB"===tme||"BT"===tme?30:0,t=[...s.keys()],h=Xfe?.parallelCommits??!1,i=mt((e,t)=>{e=s.get(e)?.seq,t=s.get(t)?.seq;return void 0!==e&&void 0!==t?e-t:0},"sortKeys"),n=t.sort(i);"BT"===tme&&(h&&ame(n,s,c),n=n.reverse()),n.forEach(e=>{var t=s.get(e);if(!t)throw new Error("Commit not found for key "+e);h&&(c=fme(t,tme,c,Zfe));var i,n,r,e=mme(t,c,h);a&&(i=gme(t),n=t.customType??t.type,r=Kfe.get(t.branch)?.index??0,ume(o,t,e,i,r,n),dme(l,t,e,c),pme(l,t,e,c)),"TB"===tme||"BT"===tme?Zfe.set(t.id,{x:e.x,y:e.posWithOffset}):Zfe.set(t.id,{x:e.posWithOffset,y:e.y}),(c="BT"===tme&&h?c+40:c+40+10)>eme&&(eme=c)})},"drawCommits"),bme=mt((t,i,e,n,r)=>{let s=(("TB"===tme||"BT"===tme?e.x<n.x:e.y<n.y)?i:t).branch,a=mt(e=>e.branch===s,"isOnBranchToGetCurve"),o=mt(e=>e.seq>t.seq&&e.seq<i.seq,"isBetweenCommits");return[...r.values()].some(e=>o(e)&&a(e))},"shouldRerouteArrow"),vme=mt((e,t,i=0)=>{let n=e+Math.abs(e-t)/2;var r;return 5<i?n:Jfe.every(e=>10<=Math.abs(e-n))?(Jfe.push(n),n):(r=Math.abs(e-t),vme(e,t-r/5,i+1))},"findLane"),xme=mt((e,t,i,n)=>{var r,s=Zfe.get(t.id),a=Zfe.get(i.id);if(void 0===s||void 0===a)throw new Error(`Commitpositionsnotfoundforcommits${t.id}and`+i.id);let o=bme(t,i,s,a,n),l="",c="",h=0,u=0,d=Kfe.get(i.branch)?.index;i.type===dfe.MERGE&&t.id!==i.parents[0]&&(d=Kfe.get(t.branch)?.index);let p;if(o?(l="A 10 10, 0, 0, 0,",c="A 10 10, 0, 0, 1,",h=10,u=10,n=s.y<a.y?vme(s.y,a.y):vme(a.y,s.y),r=s.x<a.x?vme(s.x,a.x):vme(a.x,s.x),p="TB"===tme?s.x<a.x?`M${s.x}${s.y}L${r-h}${s.y}${c}${r}${s.y+u}L${r}${a.y-h}${l}${r+u}${a.y}L${a.x}`+a.y:(d=Kfe.get(t.branch)?.index,`M${s.x}${s.y}L${r+h}${s.y}${l}${r}${s.y+u}L${r}${a.y-h}${c}${r-u}${a.y}L${a.x}`+a.y):"BT"===tme?s.x<a.x?`M${s.x}${s.y}L${r-h}${s.y}${l}${r}${s.y-u}L${r}${a.y+h}${c}${r+u}${a.y}L${a.x}`+a.y:(d=Kfe.get(t.branch)?.index,`M${s.x}${s.y}L${r+h}${s.y}${c}${r}${s.y-u}L${r}${a.y+h}${l}${r-u}${a.y}L${a.x}`+a.y):s.y<a.y?`M${s.x}${s.y}L${s.x}${n-h}${l}${s.x+u}${n}L${a.x-h}${n}${c}${a.x}${n+u}L${a.x}`+a.y:(d=Kfe.get(t.branch)?.index,`M${s.x}${s.y}L${s.x}${n+h}${c}${s.x+u}${n}L${a.x-h}${n}${l}${a.x}${n-u}L${a.x}`+a.y)):(l="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",h=20,u=20,"TB"===tme?(s.x<a.x&&(p=i.type===dfe.MERGE&&t.id!==i.parents[0]?`M${s.x}${s.y}L${s.x}${a.y-h}${l}${s.x+u}${a.y}L${a.x}`+a.y:`M${s.x}${s.y}L${a.x-h}${s.y}${c}${a.x}${s.y+u}L${a.x}`+a.y),s.x>a.x&&(l="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",h=20,u=20,p=i.type===dfe.MERGE&&t.id!==i.parents[0]?`M${s.x}${s.y}L${s.x}${a.y-h}${c}${s.x-u}${a.y}L${a.x}`+a.y:`M${s.x}${s.y}L${a.x+h}${s.y}${l}${a.x}${s.y+u}L${a.x}`+a.y),s.x===a.x&&(p=`M${s.x}${s.y}L${a.x}`+a.y)):"BT"===tme?(s.x<a.x&&(p=i.type===dfe.MERGE&&t.id!==i.parents[0]?`M${s.x}${s.y}L${s.x}${a.y+h}${c}${s.x+u}${a.y}L${a.x}`+a.y:`M${s.x}${s.y}L${a.x-h}${s.y}${l}${a.x}${s.y-u}L${a.x}`+a.y),s.x>a.x&&(l="A 20 20, 0, 0, 0,",c="A 20 20, 0, 0, 1,",h=20,u=20,p=i.type===dfe.MERGE&&t.id!==i.parents[0]?`M${s.x}${s.y}L${s.x}${a.y+h}${l}${s.x-u}${a.y}L${a.x}`+a.y:`M${s.x}${s.y}L${a.x-h}${s.y}${l}${a.x}${s.y-u}L${a.x}`+a.y),s.x===a.x&&(p=`M${s.x}${s.y}L${a.x}`+a.y)):(s.y<a.y&&(p=i.type===dfe.MERGE&&t.id!==i.parents[0]?`M${s.x}${s.y}L${a.x-h}${s.y}${c}${a.x}${s.y+u}L${a.x}`+a.y:`M${s.x}${s.y}L${s.x}${a.y-h}${l}${s.x+u}${a.y}L${a.x}`+a.y),s.y>a.y&&(p=i.type===dfe.MERGE&&t.id!==i.parents[0]?`M${s.x}${s.y}L${a.x-h}${s.y}${l}${a.x}${s.y-u}L${a.x}`+a.y:`M${s.x}${s.y}L${s.x}${a.y+h}${c}${s.x+u}${a.y}L${a.x}`+a.y),s.y===a.y&&(p=`M${s.x}${s.y}L${a.x}`+a.y))),void 0===p)t
Line truncated
`,"id:",t,i),!Xfe)throw new Error("GitGraph config not found");let a=Xfe.rotateCommitLabel??!1,r=n.db;Qfe=r.getCommits();e=r.getBranchesAsObjArray();tme=r.getDirection();let o=G(`[id="${t}"]`),l=0;e.forEach((e,t)=>{var i=nme(e.name),n=o.append("g"),r=n.insert("g").attr("class","branchLabel"),s=r.insert("g").attr("class","label branch-label"),i=(s.node()?.appendChild(i),i.getBBox());l=Tme(e.name,l,t,i,a),s.remove(),r.remove(),n.remove()}),yme(o,Qfe,!1),Xfe.showBranches&&kme(o,e),wme(o,Qfe),yme(o,Qfe,!0),t_.insertTitle(o,"gitTitleText",Xfe.titleTopMargin??0,r.getDiagramTitle()),Lh(void 0,o,Xfe.diagramPadding,Xfe.useMaxWidth)},"draw"),Cme={draw:Sme}}),Rme=e(()=>{"use strict";_me=mt(t=>`
`,"id:",t,i),!Xfe)throw new Error("GitGraph config not found");let a=Xfe.rotateCommitLabel??!1,r=n.db;Qfe=r.getCommits();e=r.getBranchesAsObjArray();tme=r.getDirection();let o=V(`[id="${t}"]`),l=0;e.forEach((e,t)=>{var i=nme(e.name),n=o.append("g"),r=n.insert("g").attr("class","branchLabel"),s=r.insert("g").attr("class","label branch-label"),i=(s.node()?.appendChild(i),i.getBBox());l=Tme(e.name,l,t,i,a),s.remove(),r.remove(),n.remove()}),yme(o,Qfe,!1),Xfe.showBranches&&kme(o,e),wme(o,Qfe),yme(o,Qfe,!0),t_.insertTitle(o,"gitTitleText",Xfe.titleTopMargin??0,r.getDiagramTitle()),Lh(void 0,o,Xfe.diagramPadding,Xfe.useMaxWidth)},"draw"),Cme={draw:Sme}}),Rme=e(()=>{"use strict";_me=mt(t=>`
.commit-id,
.commit-msg,
.branch-label{
@@ -897,12 +897,12 @@ For Further details.`}function Xoe(e){if(e instanceof eie)return"SUBRULE";if(e i
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`+e);let u=Cye(t),d=u.append("g").attr("class","main"),p=d.append("rect").attr("width",a.width).attr("height",a.height).attr("class","background"),g=(rh(u,a.height,a.width,!0),u.attr("viewBox",`00${a.width}`+a.height),p.attr("fill",s.backgroundColor),r.setTmpSVGG(u.append("g").attr("class","mermaid-tmp-group")),r.getDrawableElem()),f={};function m(t){let i=d,n="";for(var[r]of t.entries()){let e=d;0<r&&f[n]&&(e=f[n]),n+=t[r],i=(i=f[n])||(f[n]=e.append("g").attr("class",t[r]))}return i}mt(m,"getGroup");for(var y of g)if(0!==y.data.length){var b=m(y.groupTexts);switch(y.type){case"rect":if(b.selectAll("rect").data(y.data).enter().append("rect").attr("x",e=>e.x).attr("y",e=>e.y).attr("width",e=>e.width).attr("height",e=>e.height).attr("fill",e=>e.fill).attr("stroke",e=>e.strokeFill).attr("stroke-width",e=>e.strokeWidth),a.showDataLabel)if("horizontal"===a.chartOrientation){let n=function(e,t){var{data:e,label:i}=e;return t*i.length*.7<=e.width-10};n,mt(n,"fitsHorizontally");var v=y.data.map((e,t)=>({data:e,label:o[t].toString()})).filter(e=>0<e.data.width&&0<e.data.height),x=v.map(e=>{let t=e["data"],i=.7*t.height;for(;!n(e,i)&&0<i;)--i;return i}),x=Math.floor(Math.min(...x));b.selectAll("text").data(v).enter().append("text").attr("x",e=>e.data.x+e.data.width-10).attr("y",e=>e.data.y+e.data.height/2).attr("text-anchor","end").attr("dominant-baseline","middle").attr("fill","black").attr("font-size",x+"px").text(e=>e.label)}else{let r=function(e,t,i){var{data:e,label:n}=e,n=t*n.length*.7,r=e.x+e.width/2,r=r-n/2>=e.x&&r+n/2<=e.x+e.width,n=e.y+i+t<=e.y+e.height;return r&&n};r,mt(r,"fitsInBar");var v=y.data.map((e,t)=>({data:e,label:o[t].toString()})).filter(e=>0<e.data.width&&0<e.data.height),x=v.map(e=>{let{data:t,label:i}=e,n=t.width/(.7*i.length);for(;!r(e,n,10)&&0<n;)--n;return n}),w=Math.floor(Math.min(...x));b.selectAll("text").data(v).enter().append("text").attr("x",e=>e.data.x+e.data.width/2).attr("y",e=>e.data.y+10).attr("text-anchor","middle").attr("dominant-baseline","hanging").attr("fill","black").attr("font-size",w+"px").text(e=>e.label)}break;case"text":b.selectAll("text").data(y.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",e=>e.fill).attr("font-size",e=>e.fontSize).attr("dominant-baseline",e=>l(e.verticalPos)).attr("text-anchor",e=>c(e.horizontalPos)).attr("transform",e=>h(e)).text(e=>e.text);break;case"path":b.selectAll("path").data(y.data).enter().append("path").attr("d",e=>e.path).attr("fill",e=>e.fill||"none").attr("stroke",e=>e.strokeFill).attr("stroke-width",e=>e.strokeWidth)}}},"draw"),Jve={draw:Qve}}),i2e={};G(i2e,{diagram:()=>n2e});var n2e,r2e,s2e,a2e,o2e,l2e,c2e=e(()=>{"use strict";Vbe(),e2e(),t2e(),n2e={parser:Wbe,db:Zve,renderer:Jve}}),h2e=e(()=>{"use strict";function O(){this.yy={}}var e,t,i,n,r,s,a,o,l,c,h,u,d,p,g,f,m,y,b,v,x,w,k,T,S,C,_,P,B,F,j,z,H,U,q,W,G,A,V,Y,X,K,Z,Q,J,ee,te,ie,E,ne,re,$,L,R,M,I,N,D,se,ae,oe,le;e=mt(function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i},"o"),t=[1,3],i=[1,4],n=[1,5],r=[1,6],s=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],a=[1,22],o=[2,7],l=[1,26],c=[1,27],h=[1,28],u=[1,29],d=[1,33],p=[1,34],g=[1,35],f=[1,36],m=[1,37],y=[1,38],b=[1,24],v=[1,31],x=[1,32],w=[1,30],k=[1,39],T=[1,40],S=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],C=[1,61],_=[89,90],P=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[27,29],F=[1,70],j=[1,71],z=[1,72],H=[1,73],U=[1,74],q=[1,75],W=[1,76],G=[1,83],A=[1,80],V=[1,84],Y=[1,85],X=[1,86],K=[1,87],Z=[1,88],Q=[1,89],J=[1,90],ee=[1,91],te=[1,92],ie=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],E=[63,64],ne=[1,101],re=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],$=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],L=[1,110],R=[1,106],M=[1,107],I=[1,108],N=[1,109],D=[1,111],se=[1,116],ae=[1,117],oe=[1,114],le=[1,115],t={trace:mt(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,
Line truncated
`+g.showPosition()+`
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},s={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
@@ -1389,12 +1389,12 @@ Expecting `+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on l
fill:${e.actorBkg};
stroke-width:2px;
}
`,"getStyles"),C2e=S2e}),o4e=e(()=>{"use strict";function t(e,t,i,n,r,s,a){g(t.append("text").attr("x",i).attr("y",n).style("text-anchor","start").text(e),a)}function l(e,t,i,n,r,s,a,o){var{actorFontSize:l,actorFontFamily:c,actorFontWeight:h}=o,u=e.split($.lineBreakRegex);for(let e=0;e<u.length;e++){var d=e*l-l*(u.length-1)/2,p=t.append("text").attr("x",i).attr("y",n).style("text-anchor","start").style("font-size",l).style("font-weight",h).style("font-family",c);p.append("tspan").attr("x",i).attr("dy",d).text(u[e]),p.attr("y",n+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(p,a)}}function i(e,t,i,n,r,s,a,o){t=t.append("switch"),r=t.append("foreignObject").attr("x",i).attr("y",n).attr("width",r).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");r.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),l(e,t,i,n,0,s,a,o),g(r,a)}function g(e,t){for(var i in t)t.hasOwnProperty(i)&&e.attr(i,t[i])}function n(e,t,i,n,r,s,a){f(t.append("text").attr("x",i+r/2).attr("y",n+s/2+5).style("text-anchor","middle").text(e),a)}function c(e,t,i,n,r,s,a,o){var{actorFontSize:o,actorFontFamily:l,actorFontWeight:c}=o,[h,u]=e_(o),d=e.split($.lineBreakRegex);for(let e=0;e<d.length;e++){var p=e*h-h*(d.length-1)/2,g=t.append("text").attr("x",i+r/2).attr("y",n).style("text-anchor","middle").style("font-size",u).style("font-weight",c).style("font-family",l);g.append("tspan").attr("x",i+r/2).attr("dy",p).text(d[e]),g.attr("y",n+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),f(g,a)}}function r(e,t,i,n,r,s,a,o){var t=t.append("switch"),l=t.append("foreignObject").attr("x",i).attr("y",n).attr("width",r).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),c(e,t,i,n,r,s,a,o),f(l,a)}async function s(e,t,i,n,r,s,a,o){var l=await eh(e,Ii()),t=t.append("switch"),l=t.append("foreignObject").attr("x",i+r/2-l.width/2).attr("y",n+s/2-l.height/2).attr("width",l.width).attr("height",l.height).append("xhtml:div").style("height","100%").style("width","100%");l.append("div").style("text-align","center").style("vertical-align","middle").html(await th(e,Ii())),c(e,t,i,n,r,s,a,o),f(l,a)}function f(e,t){for(var i in t)t.hasOwnProperty(i)&&e.attr(i,t[i])}hh(),c6(),s_(),_2e=ie(l6(),1),Mn(),A2e=36,E2e="actor-bottom",$2e=mt(function(e,t){return _w(e,t)},"drawRect"),L2e=mt(function(e,t,i,n,r){if(void 0===t.links||null===t.links||0===Object.keys(t.links).length)return{height:0,width:0};var s=t.links,a=t.actorCnt,o=t.rectData,t="none",l=(r&&(t="block !important"),e.append("g")),r=(l.attr("id","actor"+a+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",t),""),c=(void 0!==o.class&&(r=" "+o.class),o.width>i?o.width:i),e=l.append("rect");if(e.attr("class","actorPopupMenuPanel"+r),e.attr("x",o.x),e.attr("y",o.height),e.attr("fill",o.fill),e.attr("stroke",o.stroke),e.attr("width",c),e.attr("height",o.height),e.attr("rx",o.rx),e.attr("ry",o.ry),null!=s){var h,u=20;for(h in s){var d=l.append("a"),p=(0,_2e.sanitizeUrl)(s[h]);d.attr("xlink:href",p),d.attr("target","_blank"),t4e(n)(h,d,o.x+10,o.height+u,c,20,{class:"actor"},n),u+=30}}return e.attr("height",u),{height:o.height+u,width:c}},"drawPopup"),R2e=mt(function(e){return"var pu = document.getElementById('"+e+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),M2e=mt(async function(n,r,s=null){var a=n.append("foreignObject"),o=await th(r.text,Ii()),o=a.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(o).node().getBoundingClientRect();if(a.attr("height",Math.round(o.height)).attr("width",Math.round(o.width)),"noteText"===r.class){var n=n.node().firstChild,n=(n.setAttribute("height",o.height+2*r.textMargin),n.getBBox());a.attr("x",Math.round(n.x+n.width/2-o.width/2)).attr("y",Math.round(n.y+n.height/2-o.height/2))}else if(s){let{startx:e,stopx:t,starty:i}=s;e>t&&(n=e,e=t,t=n),a.attr("x",Math.round(e+Math.abs(e-t)/2-o.width/2)),"loopText"===r.class?a.attr("y",Math.round(i)):a.attr("y",Math.round(i-o.height))}return[a]},"drawKatex"),I2e=mt(function(e,t){let i=0,n=0,r=t.text.split($.lineBreakRegex),[s,a]=e_(t.fontSize),o=[],l=0,c=mt(()=>t.y,"yfunc");if(void 0!==t.valign&&void 0!==t.textMargin&&0<t.textMargin)switch(t.valign){case"top":case"start":c=mt(()=>Math.round(t.y+t.textMargin),"yfunc");break;case"middle":case"center":c=mt(()=>Math.round(t.y+(i+n+t.textMargin)/2),"yfunc");break;case"bottom":case"end":c=mt(()=>Math.round(t.y+(i+n+2*t.textMargin)-t.textMargin),"yfunc")}if(void 0!==t.anchor&&void 0!==t.textMargin&&void 0!==t.width)switch(t.anchor){case"left":case"start":t.x=Math.round(t.x+t.textMargin),t.anchor="start",t.dominantBaseline="middle",t.align
Line truncated
`,"getStyles"),C2e=S2e}),o4e=e(()=>{"use strict";function t(e,t,i,n,r,s,a){g(t.append("text").attr("x",i).attr("y",n).style("text-anchor","start").text(e),a)}function l(e,t,i,n,r,s,a,o){var{actorFontSize:l,actorFontFamily:c,actorFontWeight:h}=o,u=e.split($.lineBreakRegex);for(let e=0;e<u.length;e++){var d=e*l-l*(u.length-1)/2,p=t.append("text").attr("x",i).attr("y",n).style("text-anchor","start").style("font-size",l).style("font-weight",h).style("font-family",c);p.append("tspan").attr("x",i).attr("dy",d).text(u[e]),p.attr("y",n+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(p,a)}}function i(e,t,i,n,r,s,a,o){t=t.append("switch"),r=t.append("foreignObject").attr("x",i).attr("y",n).attr("width",r).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");r.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),l(e,t,i,n,0,s,a,o),g(r,a)}function g(e,t){for(var i in t)t.hasOwnProperty(i)&&e.attr(i,t[i])}function n(e,t,i,n,r,s,a){f(t.append("text").attr("x",i+r/2).attr("y",n+s/2+5).style("text-anchor","middle").text(e),a)}function c(e,t,i,n,r,s,a,o){var{actorFontSize:o,actorFontFamily:l,actorFontWeight:c}=o,[h,u]=e_(o),d=e.split($.lineBreakRegex);for(let e=0;e<d.length;e++){var p=e*h-h*(d.length-1)/2,g=t.append("text").attr("x",i+r/2).attr("y",n).style("text-anchor","middle").style("font-size",u).style("font-weight",c).style("font-family",l);g.append("tspan").attr("x",i+r/2).attr("dy",p).text(d[e]),g.attr("y",n+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),f(g,a)}}function r(e,t,i,n,r,s,a,o){var t=t.append("switch"),l=t.append("foreignObject").attr("x",i).attr("y",n).attr("width",r).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(e),c(e,t,i,n,r,s,a,o),f(l,a)}async function s(e,t,i,n,r,s,a,o){var l=await eh(e,Ii()),t=t.append("switch"),l=t.append("foreignObject").attr("x",i+r/2-l.width/2).attr("y",n+s/2-l.height/2).attr("width",l.width).attr("height",l.height).append("xhtml:div").style("height","100%").style("width","100%");l.append("div").style("text-align","center").style("vertical-align","middle").html(await th(e,Ii())),c(e,t,i,n,r,s,a,o),f(l,a)}function f(e,t){for(var i in t)t.hasOwnProperty(i)&&e.attr(i,t[i])}hh(),c6(),s_(),_2e=ie(l6(),1),Mn(),A2e=36,E2e="actor-bottom",$2e=mt(function(e,t){return _w(e,t)},"drawRect"),L2e=mt(function(e,t,i,n,r){if(void 0===t.links||null===t.links||0===Object.keys(t.links).length)return{height:0,width:0};var s=t.links,a=t.actorCnt,o=t.rectData,t="none",l=(r&&(t="block !important"),e.append("g")),r=(l.attr("id","actor"+a+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",t),""),c=(void 0!==o.class&&(r=" "+o.class),o.width>i?o.width:i),e=l.append("rect");if(e.attr("class","actorPopupMenuPanel"+r),e.attr("x",o.x),e.attr("y",o.height),e.attr("fill",o.fill),e.attr("stroke",o.stroke),e.attr("width",c),e.attr("height",o.height),e.attr("rx",o.rx),e.attr("ry",o.ry),null!=s){var h,u=20;for(h in s){var d=l.append("a"),p=(0,_2e.sanitizeUrl)(s[h]);d.attr("xlink:href",p),d.attr("target","_blank"),t4e(n)(h,d,o.x+10,o.height+u,c,20,{class:"actor"},n),u+=30}}return e.attr("height",u),{height:o.height+u,width:c}},"drawPopup"),R2e=mt(function(e){return"var pu = document.getElementById('"+e+"'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }"},"popupMenuToggle"),M2e=mt(async function(n,r,s=null){var a=n.append("foreignObject"),o=await th(r.text,Ii()),o=a.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(o).node().getBoundingClientRect();if(a.attr("height",Math.round(o.height)).attr("width",Math.round(o.width)),"noteText"===r.class){var n=n.node().firstChild,n=(n.setAttribute("height",o.height+2*r.textMargin),n.getBBox());a.attr("x",Math.round(n.x+n.width/2-o.width/2)).attr("y",Math.round(n.y+n.height/2-o.height/2))}else if(s){let{startx:e,stopx:t,starty:i}=s;e>t&&(n=e,e=t,t=n),a.attr("x",Math.round(e+Math.abs(e-t)/2-o.width/2)),"loopText"===r.class?a.attr("y",Math.round(i)):a.attr("y",Math.round(i-o.height))}return[a]},"drawKatex"),I2e=mt(function(e,t){let i=0,n=0,r=t.text.split($.lineBreakRegex),[s,a]=e_(t.fontSize),o=[],l=0,c=mt(()=>t.y,"yfunc");if(void 0!==t.valign&&void 0!==t.textMargin&&0<t.textMargin)switch(t.valign){case"top":case"start":c=mt(()=>Math.round(t.y+t.textMargin),"yfunc");break;case"middle":case"center":c=mt(()=>Math.round(t.y+(i+n+t.textMargin)/2),"yfunc");break;case"bottom":case"end":c=mt(()=>Math.round(t.y+(i+n+2*t.textMargin)-t.textMargin),"yfunc")}if(void 0!==t.anchor&&void 0!==t.textMargin&&void 0!==t.width)switch(t.anchor){case"left":case"start":t.x=Math.round(t.x+t.textMargin),t.anchor="start",t.dominantBaseline="middle",t.align
Line truncated
`+g.showPosition()+`
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},t={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`,"getStyles"),H4e=z4e}),Q4e=e(()=>{"use strict";_u(),t(),QN(),ZK(),QK(),s_(),U4e=mt((e,t="TB")=>{if(!e.doc)return t;let i=t;for(var n of e.doc)"dir"===n.stmt&&(i=n.value);return i},"getDir"),q4e=mt(function(e,t){return t.db.getClasses()},"getClasses"),W4e=mt(async function(e,t,i,n){I.info("REF0:"),I.info("Drawing class diagram (v3)",t);var{securityLevel:r,state:s,layout:a}=N(),o=n.db.getData(),r=FN(t,r);o.type=n.type,o.layoutAlgorithm=DK(a),o.nodeSpacing=s?.nodeSpacing||50,o.rankSpacing=s?.rankSpacing||50,o.markers=["aggregation","extension","composition","dependency","lollipop"],o.diagramId=t,await NK(o,r);t_.insertTitle(r,"classDiagramTitleText",s?.titleTopMargin??25,n.db.getDiagramTitle()),OK(r,8,"classDiagram",s?.useMaxWidth??!0)},"draw"),V4e={getClasses:q4e,draw:W4e,getDir:U4e}}),J4e={};V(J4e,{diagram:()=>exe});var exe,txe=e(()=>{"use strict";Y4e(),K4e(),Z4e(),Q4e(),exe={parser:N4e,get db(){return new j4e},renderer:V4e,styles:H4e,init:mt(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")}}),ixe={};V(ixe,{diagram:()=>nxe});var nxe,rxe,sxe,axe,oxe,lxe,cxe,hxe,uxe,dxe,pxe,gxe,fxe,mxe,yxe,bxe,vxe,xxe,wxe,kxe,Txe,Sxe,Cxe,_xe,Axe,Exe,$xe,Lxe,Rxe,Mxe,Ixe,Nxe,Dxe,Oxe,Pxe,Bxe,Fxe,jxe,zxe,Hxe,Uxe=e(()=>{"use strict";Y4e(),K4e(),Z4e(),Q4e(),nxe={parser:N4e,get db(){return new j4e},renderer:V4e,styles:H4e,init:mt(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")}}),qxe=e(()=>{"use strict";function e(){this.yy={}}var t,i,n,r,s,a,o,l,c,h,u,d,p,g,f,m,y,b,v,x,w,k,T,S,C,_,A,E,$,L,R,M;t=mt(function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i},"o"),i=[1,2],n=[1,3],r=[1,4],s=[2,4],a=[1,9],o=[1,11],l=[1,16],c=[1,17],h=[1,18],u=[1,19],d=[1,33],p=[1,20],g=[1,21],f=[1,22],m=[1,23],y=[1,24],b=[1,26],v=[1,27],x=[1,28],w=[1,29],k=[1,30],T=[1,31],S=[1,32],C=[1,35],_=[1,36],A=[1,37],E=[1,38],$=[1,34],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],R=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],i={trace:mt(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":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:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"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,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],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:mt(function(e,t,i,n,r,s,a){var o=s.length-1;switch(r){case 3:return n.setRootDoc(s[o]),s[o];case 4:this.$=[];break;case 5:"nl"!=s[o]&&(s[o-1].push(s[o]),this.$=s[o-1]);break;case 6:case 7:this.$=s[o];break;case 8:this.$="nl";break;case 12:this.$=s[o];break;case 13:var l=s[o-1];l.description=n.trimColon(s[o]),this.$=l;break;case 14:this.$={stmt:"relation",state1:s[o-2],state2:s[o]};break;case 15:l=n.trimColon(s[o]);this.$={stmt:"relation",state1:s[o-3],state2:s[o-1],description:l};break;case 19:this.$={stmt:"state",id:s[o-3],type:"default",description:"",doc:s[o-1]};break;case 20:var c,l=s[o],h=s[o-2].trim();s[o].match(":")&&(l=(c=s[o].split(":"))[0],h=[h,c[1]]),this.$={stmt:"state",id:l,type:"default",description:h};break;case 21:this.$={stmt:"state",id:s[o-3],type:"default",description:s[o-5],doc:s[o-1]};break;case 22:this.$={stmt:"state",id:s[o],type:"fork"};break;case 23:this.$={stmt:"state",id:s[o],type:"join"};break;case 24:this.$={stmt:"state",id:s[o],type:"cho
Line truncated
${GK()}
`,"getStyles"),H4e=z4e}),Q4e=e(()=>{"use strict";_u(),t(),QN(),ZK(),QK(),s_(),U4e=mt((e,t="TB")=>{if(!e.doc)return t;let i=t;for(var n of e.doc)"dir"===n.stmt&&(i=n.value);return i},"getDir"),q4e=mt(function(e,t){return t.db.getClasses()},"getClasses"),W4e=mt(async function(e,t,i,n){I.info("REF0:"),I.info("Drawing class diagram (v3)",t);var{securityLevel:r,state:s,layout:a}=N(),o=n.db.getData(),r=FN(t,r);o.type=n.type,o.layoutAlgorithm=DK(a),o.nodeSpacing=s?.nodeSpacing||50,o.rankSpacing=s?.rankSpacing||50,o.markers=["aggregation","extension","composition","dependency","lollipop"],o.diagramId=t,await NK(o,r);t_.insertTitle(r,"classDiagramTitleText",s?.titleTopMargin??25,n.db.getDiagramTitle()),OK(r,8,"classDiagram",s?.useMaxWidth??!0)},"draw"),G4e={getClasses:q4e,draw:W4e,getDir:U4e}}),J4e={};G(J4e,{diagram:()=>exe});var exe,txe=e(()=>{"use strict";Y4e(),K4e(),Z4e(),Q4e(),exe={parser:N4e,get db(){return new j4e},renderer:G4e,styles:H4e,init:mt(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")}}),ixe={};G(ixe,{diagram:()=>nxe});var nxe,rxe,sxe,axe,oxe,lxe,cxe,hxe,uxe,dxe,pxe,gxe,fxe,mxe,yxe,bxe,vxe,xxe,wxe,kxe,Txe,Sxe,Cxe,_xe,Axe,Exe,$xe,Lxe,Rxe,Mxe,Ixe,Nxe,Dxe,Oxe,Pxe,Bxe,Fxe,jxe,zxe,Hxe,Uxe=e(()=>{"use strict";Y4e(),K4e(),Z4e(),Q4e(),nxe={parser:N4e,get db(){return new j4e},renderer:G4e,styles:H4e,init:mt(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")}}),qxe=e(()=>{"use strict";function e(){this.yy={}}var t,i,n,r,s,a,o,l,c,h,u,d,p,g,f,m,y,b,v,x,w,k,T,S,C,_,A,E,$,L,R,M;t=mt(function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i},"o"),i=[1,2],n=[1,3],r=[1,4],s=[2,4],a=[1,9],o=[1,11],l=[1,16],c=[1,17],h=[1,18],u=[1,19],d=[1,33],p=[1,20],g=[1,21],f=[1,22],m=[1,23],y=[1,24],b=[1,26],v=[1,27],x=[1,28],w=[1,29],k=[1,30],T=[1,31],S=[1,32],C=[1,35],_=[1,36],A=[1,37],E=[1,38],$=[1,34],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],R=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],i={trace:mt(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":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:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"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,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],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:mt(function(e,t,i,n,r,s,a){var o=s.length-1;switch(r){case 3:return n.setRootDoc(s[o]),s[o];case 4:this.$=[];break;case 5:"nl"!=s[o]&&(s[o-1].push(s[o]),this.$=s[o-1]);break;case 6:case 7:this.$=s[o];break;case 8:this.$="nl";break;case 12:this.$=s[o];break;case 13:var l=s[o-1];l.description=n.trimColon(s[o]),this.$=l;break;case 14:this.$={stmt:"relation",state1:s[o-2],state2:s[o]};break;case 15:l=n.trimColon(s[o]);this.$={stmt:"relation",state1:s[o-3],state2:s[o-1],description:l};break;case 19:this.$={stmt:"state",id:s[o-3],type:"default",description:"",doc:s[o-1]};break;case 20:var c,l=s[o],h=s[o-2].trim();s[o].match(":")&&(l=(c=s[o].split(":"))[0],h=[h,c[1]]),this.$={stmt:"state",id:l,type:"default",description:h};break;case 21:this.$={stmt:"state",id:s[o-3],type:"default",description:s[o-5],doc:s[o-1]};break;case 22:this.$={stmt:"state",id:s[o],type:"fork"};break;case 23:this.$={stmt:"state",id:s[o],type:"join"};break;case 24:this.$={stmt:"state",id:s[o],type:"cho
Line truncated
`+g.showPosition()+`
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},n={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`,"getStyles"),d3e=u3e}),P3e=e(()=>{"use strict";a6(),D3e(),s_(),hh(),_u(),t(),p3e=mt(e=>e.append("circle").attr("class","start-state").attr("r",N().state.sizeUnit).attr("cx",N().state.padding+N().state.sizeUnit).attr("cy",N().state.padding+N().state.sizeUnit),"drawStartState"),g3e=mt(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",N().state.textHeight).attr("class","divider").attr("x2",2*N().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),f3e=mt((e,t)=>{var t=e.append("text").attr("x",2*N().state.padding).attr("y",N().state.textHeight+2*N().state.padding).attr("font-size",N().state.fontSize).attr("class","state-title").text(t.id),i=t.node().getBBox();return e.insert("rect",":first-child").attr("x",N().state.padding).attr("y",N().state.padding).attr("width",i.width+2*N().state.padding).attr("height",i.height+2*N().state.padding).attr("rx",N().state.radius),t},"drawSimpleState"),m3e=mt((e,t)=>{let i=mt(function(e,t,i){e=e.append("tspan").attr("x",2*N().state.padding).text(t);i||e.attr("dy",N().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*N().state.padding).attr("y",N().state.textHeight+1.3*N().state.padding).attr("font-size",N().state.fontSize).attr("class","state-title").text(t.descriptions[0]).node().getBBox(),r=n.height,s=e.append("text").attr("x",N().state.padding).attr("y",r+.4*N().state.padding+N().state.dividerMargin+N().state.textHeight).attr("class","state-description"),a=!0,o=!0;t.descriptions.forEach(function(e){a||(i(s,e,o),o=!1),a=!1});var t=e.append("line").attr("x1",N().state.padding).attr("y1",N().state.padding+r+N().state.dividerMargin/2).attr("y2",N().state.padding+r+N().state.dividerMargin/2).attr("class","descr-divider"),l=s.node().getBBox(),c=Math.max(l.width,n.width);return t.attr("x2",c+3*N().state.padding),e.insert("rect",":first-child").attr("x",N().state.padding).attr("y",N().state.padding).attr("width",c+2*N().state.padding).attr("height",l.height+r+2*N().state.padding).attr("rx",N().state.radius),e},"drawDescrState"),y3e=mt((e,t,i)=>{let n=N().state.padding,r=2*N().state.padding,s=e.node().getBBox(),a=s.width,o=s.x,l=e.append("text").attr("x",0).attr("y",N().state.titleShift).attr("font-size",N().state.fontSize).attr("class","state-title").text(t.id),c=l.node().getBBox().width+r,h=Math.max(c,a);h===a&&(h+=r);let u,d=e.node().getBBox();t.doc,u=o-n,a<c&&(u=(a-h)/2+n),Math.abs(o-d.x)<n&&a<c&&(u=o-(c-a)/2);t=1-N().state.textHeight;return e.insert("rect",":first-child").attr("x",u).attr("y",t).attr("class",i?"alt-composit":"composit").attr("width",h).attr("height",d.height+N().state.textHeight+N().state.titleShift+1).attr("rx","0"),l.attr("x",u+n),c<=a&&l.attr("x",o+(h-r)/2-c/2+n),e.insert("rect",":first-child").attr("x",u).attr("y",N().state.titleShift-N().state.textHeight-N().state.padding).attr("width",h).attr("height",3*N().state.textHeight).attr("rx",N().state.radius),e.insert("rect",":first-child").attr("x",u).attr("y",N().state.titleShift-N().state.textHeight-N().state.padding).attr("width",h).attr("height",d.height+3+2*N().state.textHeight).attr("rx",N().state.radius),e},"addTitleAndBox"),b3e=mt(e=>(e.append("circle").attr("class","end-state-outer").attr("r",N().state.sizeUnit+N().state.miniPadding).attr("cx",N().state.padding+N().state.sizeUnit+N().state.miniPadding).attr("cy",N().state.padding+N().state.sizeUnit+N().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",N().state.sizeUnit).attr("cx",N().state.padding+N().state.sizeUnit+2).attr("cy",N().state.padding+N().state.sizeUnit+2)),"drawEndState"),v3e=mt((e,t)=>{let i=N().state.forkWidth,n=N().state.forkHeight;return t.parentId&&(t=i,i=n,n=t),e.append("rect").style("stroke","black").style("fill","black").attr("width",i).attr("height",n).attr("x",N().state.padding).attr("y",N().state.padding)},"drawForkJoinState"),x3e=mt((e,t,i,n)=>{let r=0,s=n.append("text"),a=(s.style("text-anchor","start"),s.attr("class","noteText"),e.replace(/\r\n/g,"<br/>")),o=(a=a.replace(/\n/g,"<br/>")).split($.lineBreakRegex),l=1.25*N().state.noteMargin;for(var c of o){var h,c=c.trim();0<c.length&&((h=s.append("tspan")).text(c),0===l&&(c=h.node().getBBox(),l+=c.height),r+=l,h.attr("x",t+N().state.noteMargin),h.attr("y",i+r+1.25*N().state.noteMargin))}return{textWidth:s.node().getBBox().width,textHeight:r}},"_drawLongText"),w3e=mt((e,t)=>{t.attr("class","state-note");var i=t.append("rect").attr("x",0).attr("y",N().state.padding),t=t.append("g"),{textWidth:e,textHeight:t}=x3e(e,0,0,t);return i.attr("height",t+2*N().state.noteMargin),i.attr("width",e+2*N().state.noteMargin),i},"drawNote"),k3e=mt(function(e,t){var i=t.id,n={id:i,label:t.id,width:0,height:0},e=e.append("g").attr("id",i).attr("class","stateGroup"),i=("start"===t.type&&p3e(e),"end"===t.type&&b3e(e),"fork"!==t.type&&"join"!==t.type||v3e(e,t),"note"===t.type&&w3e(t.note.text,e),"divider"===t.type&&g3e(e),"default"===t.type&&0===t.descriptions.length&&f3e(e,t),"default"===t.type&&0<t.descriptions.length
Line truncated
`,"getStyles"),d3e=u3e}),P3e=e(()=>{"use strict";a6(),D3e(),s_(),hh(),_u(),t(),p3e=mt(e=>e.append("circle").attr("class","start-state").attr("r",N().state.sizeUnit).attr("cx",N().state.padding+N().state.sizeUnit).attr("cy",N().state.padding+N().state.sizeUnit),"drawStartState"),g3e=mt(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",N().state.textHeight).attr("class","divider").attr("x2",2*N().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),f3e=mt((e,t)=>{var t=e.append("text").attr("x",2*N().state.padding).attr("y",N().state.textHeight+2*N().state.padding).attr("font-size",N().state.fontSize).attr("class","state-title").text(t.id),i=t.node().getBBox();return e.insert("rect",":first-child").attr("x",N().state.padding).attr("y",N().state.padding).attr("width",i.width+2*N().state.padding).attr("height",i.height+2*N().state.padding).attr("rx",N().state.radius),t},"drawSimpleState"),m3e=mt((e,t)=>{let i=mt(function(e,t,i){e=e.append("tspan").attr("x",2*N().state.padding).text(t);i||e.attr("dy",N().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*N().state.padding).attr("y",N().state.textHeight+1.3*N().state.padding).attr("font-size",N().state.fontSize).attr("class","state-title").text(t.descriptions[0]).node().getBBox(),r=n.height,s=e.append("text").attr("x",N().state.padding).attr("y",r+.4*N().state.padding+N().state.dividerMargin+N().state.textHeight).attr("class","state-description"),a=!0,o=!0;t.descriptions.forEach(function(e){a||(i(s,e,o),o=!1),a=!1});var t=e.append("line").attr("x1",N().state.padding).attr("y1",N().state.padding+r+N().state.dividerMargin/2).attr("y2",N().state.padding+r+N().state.dividerMargin/2).attr("class","descr-divider"),l=s.node().getBBox(),c=Math.max(l.width,n.width);return t.attr("x2",c+3*N().state.padding),e.insert("rect",":first-child").attr("x",N().state.padding).attr("y",N().state.padding).attr("width",c+2*N().state.padding).attr("height",l.height+r+2*N().state.padding).attr("rx",N().state.radius),e},"drawDescrState"),y3e=mt((e,t,i)=>{let n=N().state.padding,r=2*N().state.padding,s=e.node().getBBox(),a=s.width,o=s.x,l=e.append("text").attr("x",0).attr("y",N().state.titleShift).attr("font-size",N().state.fontSize).attr("class","state-title").text(t.id),c=l.node().getBBox().width+r,h=Math.max(c,a);h===a&&(h+=r);let u,d=e.node().getBBox();t.doc,u=o-n,a<c&&(u=(a-h)/2+n),Math.abs(o-d.x)<n&&a<c&&(u=o-(c-a)/2);t=1-N().state.textHeight;return e.insert("rect",":first-child").attr("x",u).attr("y",t).attr("class",i?"alt-composit":"composit").attr("width",h).attr("height",d.height+N().state.textHeight+N().state.titleShift+1).attr("rx","0"),l.attr("x",u+n),c<=a&&l.attr("x",o+(h-r)/2-c/2+n),e.insert("rect",":first-child").attr("x",u).attr("y",N().state.titleShift-N().state.textHeight-N().state.padding).attr("width",h).attr("height",3*N().state.textHeight).attr("rx",N().state.radius),e.insert("rect",":first-child").attr("x",u).attr("y",N().state.titleShift-N().state.textHeight-N().state.padding).attr("width",h).attr("height",d.height+3+2*N().state.textHeight).attr("rx",N().state.radius),e},"addTitleAndBox"),b3e=mt(e=>(e.append("circle").attr("class","end-state-outer").attr("r",N().state.sizeUnit+N().state.miniPadding).attr("cx",N().state.padding+N().state.sizeUnit+N().state.miniPadding).attr("cy",N().state.padding+N().state.sizeUnit+N().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",N().state.sizeUnit).attr("cx",N().state.padding+N().state.sizeUnit+2).attr("cy",N().state.padding+N().state.sizeUnit+2)),"drawEndState"),v3e=mt((e,t)=>{let i=N().state.forkWidth,n=N().state.forkHeight;return t.parentId&&(t=i,i=n,n=t),e.append("rect").style("stroke","black").style("fill","black").attr("width",i).attr("height",n).attr("x",N().state.padding).attr("y",N().state.padding)},"drawForkJoinState"),x3e=mt((e,t,i,n)=>{let r=0,s=n.append("text"),a=(s.style("text-anchor","start"),s.attr("class","noteText"),e.replace(/\r\n/g,"<br/>")),o=(a=a.replace(/\n/g,"<br/>")).split($.lineBreakRegex),l=1.25*N().state.noteMargin;for(var c of o){var h,c=c.trim();0<c.length&&((h=s.append("tspan")).text(c),0===l&&(c=h.node().getBBox(),l+=c.height),r+=l,h.attr("x",t+N().state.noteMargin),h.attr("y",i+r+1.25*N().state.noteMargin))}return{textWidth:s.node().getBBox().width,textHeight:r}},"_drawLongText"),w3e=mt((e,t)=>{t.attr("class","state-note");var i=t.append("rect").attr("x",0).attr("y",N().state.padding),t=t.append("g"),{textWidth:e,textHeight:t}=x3e(e,0,0,t);return i.attr("height",t+2*N().state.noteMargin),i.attr("width",e+2*N().state.noteMargin),i},"drawNote"),k3e=mt(function(e,t){var i=t.id,n={id:i,label:t.id,width:0,height:0},e=e.append("g").attr("id",i).attr("class","stateGroup"),i=("start"===t.type&&p3e(e),"end"===t.type&&b3e(e),"fork"!==t.type&&"join"!==t.type||v3e(e,t),"note"===t.type&&w3e(t.note.text,e),"divider"===t.type&&g3e(e),"default"===t.type&&0===t.descriptions.length&&f3e(e,t),"default"===t.type&&0<t.descriptions.length
Line truncated
`+g.showPosition()+`
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},r={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},c={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:mt(function(){return this.next()||this.lex()},"lex"),begin:mt(function(e){this.conditionStack.push(e)},"begin"),popState:mt(function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:mt(function(){return(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL).rules},"_currentRules"),topState:mt(function(e){return 0<=(e=this.conditionStack.length-1-Math.abs(e||0))?this.conditionStack[e]:"INITIAL"},"topState"),pushState:mt(function(e){this.begin(e)},"pushState"),stateStackSize:mt(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:mt(function(e,t,i,n){switch(i){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},i.lexer=c,mt(e,"Parser"),(Pwe=new((e.prototype=i).Parser=e)).parser=Pwe,Bwe=Pwe}),Uwe=e(()=>{"use strict";_u(),hh(),t(),Ln(),Fwe={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},jwe=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=Fwe,this.clear(),this.getType=this.getType.bind(this),this.getMindmap=this.getMindmap.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{mt(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={}}getParent(t){for(lete=this.nodes.length-1;0<=e;e--)if(this.nodes[e].level<t)returnthis.nodes[e];returnnull}getMindmap(){return0<this.nodes.length?this.nodes[0]:null}addNode(e,t,i,n){I.info("addNode",e,t,i,n);letr=N(),s=r.mindmap?.padding??vi.mindmap.padding;switch(n){casethis.nodeType.ROUNDED_RECT:casethis.nodeType.RECT:casethis.nodeType.HEXAGON:s*=2}t={id:this.count++,nodeId:Pc(t,r),level:e,descr:Pc(i,r),type:n,children:[],width:r.mindmap?.maxNodeWidth??vi.mindmap.maxNodeWidth,padding:s},i=this.getParent(e);if(i)i.children.push(t);elseif(0!==this.nodes.length)thrownewError(`There can be only one root. No parent could be found for ("${t.descr}")`);this.nodes.push(t)}getType(e,t){switch(I.debug("In get type",e,t),e){case"[":returnthis.nodeType.RECT;case"(":return")"===t?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":returnthis.nodeType.CIRCLE;case")":returnthis.nodeType.CLOUD;case"))":returnthis.nodeType.BANG;caseLine truncated
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:mt(function(){return this.next()||this.lex()},"lex"),begin:mt(function(e){this.conditionStack.push(e)},"begin"),popState:mt(function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:mt(function(){return(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL).rules},"_currentRules"),topState:mt(function(e){return 0<=(e=this.conditionStack.length-1-Math.abs(e||0))?this.conditionStack[e]:"INITIAL"},"topState"),pushState:mt(function(e){this.begin(e)},"pushState"),stateStackSize:mt(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:mt(function(e,t,i,n){switch(i){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 23:this.popState();break;case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 26:this.popState();break;case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.yytext),20}},"anonymous"),rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},i.lexer=c,mt(e,"Parser"),(Pwe=new((e.prototype=i).Parser=e)).parser=Pwe,Bwe=Pwe}),Uwe=e(()=>{"use strict";_u(),hh(),t(),Ln(),Fwe={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},jwe=class{constructor(){this.nodes=[],this.count=0,this.elements={},this.getLogger=this.getLogger.bind(this),this.nodeType=Fwe,this.clear(),this.getType=this.getType.bind(this),this.getMindmap=this.getMindmap.bind(this),this.getElementById=this.getElementById.bind(this),this.getParent=this.getParent.bind(this),this.getMindmap=this.getMindmap.bind(this),this.addNode=this.addNode.bind(this),this.decorateNode=this.decorateNode.bind(this)}static{mt(this,"MindmapDB")}clear(){this.nodes=[],this.count=0,this.elements={}}getParent(t){for(lete=this.nodes.length-1;0<=e;e--)if(this.nodes[e].level<t)returnthis.nodes[e];returnnull}getMindmap(){return0<this.nodes.length?this.nodes[0]:null}addNode(e,t,i,n){I.info("addNode",e,t,i,n);letr=N(),s=r.mindmap?.padding??vi.mindmap.padding;switch(n){casethis.nodeType.ROUNDED_RECT:casethis.nodeType.RECT:casethis.nodeType.HEXAGON:s*=2}t={id:this.count++,nodeId:Pc(t,r),level:e,descr:Pc(i,r),type:n,children:[],width:r.mindmap?.maxNodeWidth??vi.mindmap.maxNodeWidth,padding:s},i=this.getParent(e);if(i)i.children.push(t);elseif(0!==this.nodes.length)thrownewError(`There can be only one root. No parent could be found for ("${t.descr}")`);this.nodes.push(t)}getType(e,t){switch(I.debug("In get type",e,t),e){case"[":returnthis.nodeType.RECT;case"(":return")"===t?this.nodeType.ROUNDED_RECT:this.nodeType.CLOUD;case"((":returnthis.nodeType.CIRCLE;case")":returnthis.nodeType.CLOUD;case"))":returnthis.nodeType.BANG;caseLine truncated
Inordertobeiterable,non-arrayobjectsmusthavea[Symbol.iterator]()method.`)}function r6e(){throw new TypeError(`Invalidattempttodestructurenon-iterableinstance.
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},c={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
@@ -2358,17 +2358,17 @@ Expecting `+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on l
dominant-baseline:middle;
text-align:center;
}
${VK()}
`,"getStyles"),CLe=SLe}),RLe={};V(RLe,{diagram:()=>MLe});var MLe,ILe,NLe,DLe,OLe,PLe,BLe,FLe,jLe,zLe,HLe,ULe,qLe,WLe,VLe,GLe=e(()=>{"use strict";ALe(),ELe(),$Le(),LLe(),MLe={db:xLe,renderer:kLe,parser:nLe,styles:CLe}}),YLe=e(()=>{"use strict";function e(){this.yy={}}var t,i,n,r;t=mt(function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i},"o"),i=[1,9],n=[1,10],r=[1,5,10,12],r={trace:mt(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:mt(function(e,t,i,n,r,s,a){var o=s.length-1;switch(r){case 7:var l=n.findOrCreateNode(s[o-4].trim().replaceAll('""','"')),c=n.findOrCreateNode(s[o-2].trim().replaceAll('""','"')),h=parseFloat(s[o].trim());n.addLink(l,c,h);break;case 8:case 9:case 11:this.$=s[o];break;case 10:this.$=s[o-1]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(r,[2,8]),t(r,[2,9]),{19:[1,16]},t(r,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:n},{15:18,16:7,17:8,18:i,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(r,[2,10]),{15:21,16:7,17:8,18:i,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:mt(function(e,t){var i;if(!t.recoverable)throw(i=new Error(e)).hash=t,i;this.trace(e)},"parseError"),parse:mt(function(e){var t,i=this,n=[0],r=[],s=[null],a=[],o=this.table,l="",c=0,h=0,u=0,d=1,p=a.slice.call(arguments,1),g=Object.create(this.lexer),f={yy:{}};for(t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,t)&&(f.yy[t]=this.yy[t]);g.setInput(e,f.yy),f.yy.lexer=g,f.yy.parser=this,"u"<typeof g.yylloc&&(g.yylloc={});var m=g.yylloc,y=(a.push(m),g.options&&g.options.ranges);function b(){var e=r.pop()||g.lex()||d;return"number"!=typeof e&&(e instanceof Array&&(e=(r=e).pop()),e=i.symbols_[e]||e),e}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,mt(function(e){n.length=n.length-2*e,s.length=s.length-e,a.length=a.length-e},"popStack"),mt(b,"lex");for(var v,x,w,k,T,S,C,_={};;){if(w=n[n.length-1],"u"<typeof(k=this.defaultActions[w]||((null===v||"u"<typeof v)&&(v=b()),o[w]&&o[w][v]))||!k.length||!k[0]){var A="",E=[];for(T in o[w])this.terminals_[T]&&2<T&&E.push("'"+this.terminals_[T]+"'");A=g.showPosition?"Parse error on line "+(c+1)+`:
${GK()}
`,"getStyles"),CLe=SLe}),RLe={};G(RLe,{diagram:()=>MLe});var MLe,ILe,NLe,DLe,OLe,PLe,BLe,FLe,jLe,zLe,HLe,ULe,qLe,WLe,GLe,VLe=e(()=>{"use strict";ALe(),ELe(),$Le(),LLe(),MLe={db:xLe,renderer:kLe,parser:nLe,styles:CLe}}),YLe=e(()=>{"use strict";function e(){this.yy={}}var t,i,n,r;t=mt(function(e,t,i,n){for(i=i||{},n=e.length;n--;i[e[n]]=t);return i},"o"),i=[1,9],n=[1,10],r=[1,5,10,12],r={trace:mt(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:mt(function(e,t,i,n,r,s,a){var o=s.length-1;switch(r){case 7:var l=n.findOrCreateNode(s[o-4].trim().replaceAll('""','"')),c=n.findOrCreateNode(s[o-2].trim().replaceAll('""','"')),h=parseFloat(s[o].trim());n.addLink(l,c,h);break;case 8:case 9:case 11:this.$=s[o];break;case 10:this.$=s[o-1]}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(r,[2,8]),t(r,[2,9]),{19:[1,16]},t(r,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:n},{15:18,16:7,17:8,18:i,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(r,[2,10]),{15:21,16:7,17:8,18:i,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:mt(function(e,t){var i;if(!t.recoverable)throw(i=new Error(e)).hash=t,i;this.trace(e)},"parseError"),parse:mt(function(e){var t,i=this,n=[0],r=[],s=[null],a=[],o=this.table,l="",c=0,h=0,u=0,d=1,p=a.slice.call(arguments,1),g=Object.create(this.lexer),f={yy:{}};for(t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,t)&&(f.yy[t]=this.yy[t]);g.setInput(e,f.yy),f.yy.lexer=g,f.yy.parser=this,"u"<typeof g.yylloc&&(g.yylloc={});var m=g.yylloc,y=(a.push(m),g.options&&g.options.ranges);function b(){var e=r.pop()||g.lex()||d;return"number"!=typeof e&&(e instanceof Array&&(e=(r=e).pop()),e=i.symbols_[e]||e),e}"function"==typeof f.yy.parseError?this.parseError=f.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,mt(function(e){n.length=n.length-2*e,s.length=s.length-e,a.length=a.length-e},"popStack"),mt(b,"lex");for(var v,x,w,k,T,S,C,_={};;){if(w=n[n.length-1],"u"<typeof(k=this.defaultActions[w]||((null===v||"u"<typeof v)&&(v=b()),o[w]&&o[w][v]))||!k.length||!k[0]){var A="",E=[];for(T in o[w])this.terminals_[T]&&2<T&&E.push("'"+this.terminals_[T]+"'");A=g.showPosition?"Parse error on line "+(c+1)+`:
`+g.showPosition()+`
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},i={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:mt(function(){return this.next()||this.lex()},"lex"),begin:mt(function(e){this.conditionStack.push(e)},"begin"),popState:mt(function(){return 0<this.conditionStack.length-1?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:mt(function(){return(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL).rules},"_currentRules"),topState:mt(function(e){return 0<=(e=this.conditionStack.length-1-Math.abs(e||0))?this.conditionStack[e]:"INITIAL"},"topState"),pushState:mt(function(e){this.begin(e)},"pushState"),stateStackSize:mt(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:mt(function(e,t,i,n){switch(i){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}},r.lexer=i,mt(e,"Parser"),(ILe=new((e.prototype=r).Parser=e)).parser=ILe,NLe=ILe}),XLe=e(()=>{"use strict";_u(),hh(),Cu(),DLe=[],OLe=[],PLe=new Map,BLe=mt(()=>{DLe=[],OLe=[],PLe=new Map,bh()},"clear"),FLe=class{constructor(e,t,i=0){this.source=e,this.target=t,this.value=i}static{mt(this,"SankeyLink")}},jLe=mt((e,t,i)=>{DLe.push(new FLe(e,t,i))},"addLink"),zLe=class{constructor(e){this.ID=e}static{mt(this,"SankeyNode")}},HLe=mt(e=>{e=$.sanitizeText(e,N());let t=PLe.get(e);return void 0===t&&(t=new zLe(e),PLe.set(e,t),OLe.push(t)),t},"findOrCreateNode"),ULe=mt(()=>OLe,"getNodes"),qLe=mt(()=>DLe,"getLinks"),WLe=mt(()=>({nodes:OLe.map(e=>({id:e.ID})),links:DLe.map(e=>({source:e.source.ID,target:e.target.ID,value:e.value}))}),"getGraph"),VLe={nodesMap:PLe,getConfig:mt(()=>N().sankey,"getConfig"),getNodes:ULe,getLinks:qLe,getGraph:WLe,addLink:jLe,findOrCreateNode:HLe,getAccTitle:xh,setAccTitle:vh,getAccDescription:kh,setAccDescription:wh,getDiagramTitle:Sh,setDiagramTitle:Th,clear:BLe}});function KLe(t,i){let n;if(void 0===i)for(var e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let e=-1;for(var r of t)null!=(r=i(r,++e,t))&&(n<r||void 0===n&&r>=r)&&(n=r)}return n}var ZLe=e(()=>{"use strict";mt(KLe,"max")});function QLe(t,i){let n;if(void 0===i)for(var e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let e=-1;for(var r of t)null!=(r=i(r,++e,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}var JLe=e(()=>{"use strict";mt(QLe,"min")});function eRe(t,i){let n=0;if(void 0===i)for(var e of t)(e=+e)&&(n+=e);else{let e=-1;for(var r of t)(r=+i(r,++e,t))&&(n+=r)}return n}var tRe=e(()=>{"use strict";mt(eRe,"sum")}),iRe=e(()=>{"use strict";ZLe(),JLe(),tRe()});function nRe(e){return e.target.depth}function rRe(e){return e.depth}function sRe(e,t){return t-1-e.height}function aRe(e,t){return e.sourceLinks.length?e.depth:t-1}function oRe(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?QLe(e.sourceLinks,nRe)-1:0}var lRe=e(()=>{"use strict";iRe(),mt(nRe,"targetDepth"),mt(rRe,"left"),mt(sRe,"right"),mt(aRe,"justify"),mt(oRe,"center")});function cRe(e){return function(){return e}}var hRe=e(()=>{"use strict";mt(cRe,"constant")});function uRe(e,t){return pRe(e.source,t.source)||e.index-t.index}function dRe(e,t){return pRe(e.target,t.target)||e.index-t.index}function pRe(e,t){return e.y0-t.y0}function gRe(e){return e.value}function fRe(e){return e.index}function mRe(e){return e.nodes}function yRe(e){return e.links}function bRe(e,t){e=e.get(t);if(e)return e;throw new Error("missing: "+t)}function vRe({nodes:e}){for(var i of e){let e=i.y0,t=e;for(var n of i.sourceLinks)n.y0=e+n.width/2,e+=n.width;for(var r of i.targetLinks)r.y1=t+r.width/2,t+=r.width}}function xRe(){let o=0,l=0,c=1,h=1,u=24,r=8,d,p=fRe,g=aRe,f,m,t=mRe,i=yRe,s=6;function n(){var e={nodes:t.apply(null,arguments),links:i.apply(null,arguments)};return a(e),y(e),b(e),v(e),k(e),vRe(e),e}function a({nodes:i,links:e}){for(var[t,n]of i.entries())n.index=t,n.sourceLinks=[],n.targetLinks=[];var r,s,a=new Map(i.map((e,t)=>[p(e,t,i),e]));for([r,s]of e.entries()){s.index=r;let{source:e,target:t}=s;"object"!=typeof e&&(e=s.source=bRe(a,e)),"object"!=typeof t&&(t=s.target=bRe(a,t)),e.sourceLinks.push(s),t.targetLinks.push(s)}if(null!=m)for(var{sourceLinks:o,targetLinks:l}of i)o.sort(m),l.sort(m)}function y({nodes:e}){for(var t of e)t.value=void 0===t.fixedValue?Math.max(eRe(t.sourceLinks,gRe),eRe(t.targetLinks,gRe)):t.fixedValue}function b({nodes:e}){let t=e.
Line truncated
}`,"getStyles"),JRe=QRe}),aMe={};V(aMe,{diagram:()=>lMe});var oMe,lMe,cMe,hMe,uMe,dMe,pMe,gMe,fMe,mMe,yMe,bMe,vMe,xMe,wMe,kMe,TMe,SMe,CMe=e(()=>{"use strict";YLe(),XLe(),nMe(),rMe(),sMe(),oMe=NLe.parse.bind(NLe),NLe.parse=e=>oMe(ZRe(e)),lMe={styles:JRe,parser:NLe,db:VLe,renderer:KRe}}),_Me=e(()=>{"use strict";Mn(),Ln(),s_(),Cu(),cMe={packet:[]},hMe=structuredClone(cMe),uMe=vi.packet,dMe=mt(()=>{var e=EC({...uMe,...Ii().packet});return e.showBits&&(e.paddingY+=10),e},"getConfig"),pMe=mt(()=>hMe.packet,"getPacket"),gMe=mt(e=>{0<e.length&&hMe.packet.push(e)},"pushWord"),fMe=mt(()=>{bh(),hMe=structuredClone(cMe)},"clear"),mMe={pushWord:gMe,getPacket:pMe,getConfig:dMe,clear:fMe,setAccTitle:vh,getAccTitle:xh,setDiagramTitle:Th,getDiagramTitle:Sh,getAccDescription:kh,setAccDescription:wh}}),AMe=e(()=>{"use strict";hfe(),t(),gfe(),_Me(),yMe=mt(e=>{ufe(e,mMe);let t=-1,i=[],n=1,r=mMe.getConfig()["bitsPerRow"];for(var{start:s,end:a,bits:o,label:l}of e.blocks){if(void 0!==s&&void 0!==a&&a<s)throw new Error(`Packetblock${s}-${a}isinvalid.Endmustbegreaterthanstart.`);if((s??=t+1)!==t+1)throw new Error(`Packetblock${s}-${a??s}isnotcontiguous.Itshouldstartfrom${t+1}.`);if(0===o)throw new Error(`Packetblock${s}isinvalid.Cannothaveazerobitfield.`);for(a??=s+(o??1)-1,o??=a-s+1,t=a,I.debug(`Packetblock${s}-${t}withlabel`+l);i.length<=r+1&&mMe.getPacket().length<1e4;){var[c,h]=bMe({start:s,end:a,bits:o,label:l},n,r);if(i.push(c),c.end+1===n*r&&(mMe.pushWord(i),i=[],n++),!h)break;({start:s,end:a,bits:o,label:l}=h)}}mMe.pushWord(i)},"populate"),bMe=mt((e,t,i)=>{if(void 0===e.start)throw new Error("start should have been set during first phase");if(void 0===e.end)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Blockstart${e.start}isgreaterthanblockend${e.end}.`);var n;return e.end+1<=t*i?[e,void 0]:[{start:e.start,end:n=t*i-1,label:e.label,bits:n-e.start},{start:n=t*i,end:e.end,label:e.label,bits:e.end-n}]},"getNextFittingBlock"),vMe={parse:mt(async e=>{e=await afe("packet",e);I.debug(e),yMe(e)},"parse")}}),EMe=e(()=>{"use strict";Mye(),uh(),xMe=mt((e,t,i,n)=>{var r,s,n=n.db,a=n.getConfig(),{rowHeight:o,paddingY:l,bitWidth:c,bitsPerRow:h}=a,u=n.getPacket(),n=n.getDiagramTitle(),l=o+l,o=l*(u.length+1)-(n?0:o),c=c*h+2,d=Cye(t);d.attr("viewbox",`00${c}`+o),rh(d,o,c,a.useMaxWidth);for([r,s]of u.entries())wMe(d,s,r,a);d.append("text").text(n).attr("x",c/2).attr("y",o-l/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),wMe=mt((e,t,i,{rowHeight:n,paddingX:r,paddingY:s,bitWidth:a,bitsPerRow:o,showBits:l})=>{var c,h=e.append("g"),u=i*(n+s)+s;for(c of t){var d,p,g=c.start%o*a+1,f=(c.end-c.start+1)*a-r;h.append("rect").attr("x",g).attr("y",u).attr("width",f).attr("height",n).attr("class","packetBlock"),h.append("text").attr("x",g+f/2).attr("y",u+n/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(c.label),l&&(d=c.end===c.start,p=u-2,h.append("text").attr("x",g+(d?f/2:0)).attr("y",p).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",d?"middle":"start").text(c.start),d||h.append("text").attr("x",g+f).attr("y",p).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(c.end))}},"drawWord"),kMe={draw:xMe}}),$Me=e(()=>{"use strict";s_(),TMe={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},SMe=mt(({packet:e}={})=>{e=EC(TMe,e);return`
}`,"getStyles"),JRe=QRe}),aMe={};G(aMe,{diagram:()=>lMe});var oMe,lMe,cMe,hMe,uMe,dMe,pMe,gMe,fMe,mMe,yMe,bMe,vMe,xMe,wMe,kMe,TMe,SMe,CMe=e(()=>{"use strict";YLe(),XLe(),nMe(),rMe(),sMe(),oMe=NLe.parse.bind(NLe),NLe.parse=e=>oMe(ZRe(e)),lMe={styles:JRe,parser:NLe,db:GLe,renderer:KRe}}),_Me=e(()=>{"use strict";Mn(),Ln(),s_(),Cu(),cMe={packet:[]},hMe=structuredClone(cMe),uMe=vi.packet,dMe=mt(()=>{var e=EC({...uMe,...Ii().packet});return e.showBits&&(e.paddingY+=10),e},"getConfig"),pMe=mt(()=>hMe.packet,"getPacket"),gMe=mt(e=>{0<e.length&&hMe.packet.push(e)},"pushWord"),fMe=mt(()=>{bh(),hMe=structuredClone(cMe)},"clear"),mMe={pushWord:gMe,getPacket:pMe,getConfig:dMe,clear:fMe,setAccTitle:vh,getAccTitle:xh,setDiagramTitle:Th,getDiagramTitle:Sh,getAccDescription:kh,setAccDescription:wh}}),AMe=e(()=>{"use strict";hfe(),t(),gfe(),_Me(),yMe=mt(e=>{ufe(e,mMe);let t=-1,i=[],n=1,r=mMe.getConfig()["bitsPerRow"];for(var{start:s,end:a,bits:o,label:l}of e.blocks){if(void 0!==s&&void 0!==a&&a<s)throw new Error(`Packetblock${s}-${a}isinvalid.Endmustbegreaterthanstart.`);if((s??=t+1)!==t+1)throw new Error(`Packetblock${s}-${a??s}isnotcontiguous.Itshouldstartfrom${t+1}.`);if(0===o)throw new Error(`Packetblock${s}isinvalid.Cannothaveazerobitfield.`);for(a??=s+(o??1)-1,o??=a-s+1,t=a,I.debug(`Packetblock${s}-${t}withlabel`+l);i.length<=r+1&&mMe.getPacket().length<1e4;){var[c,h]=bMe({start:s,end:a,bits:o,label:l},n,r);if(i.push(c),c.end+1===n*r&&(mMe.pushWord(i),i=[],n++),!h)break;({start:s,end:a,bits:o,label:l}=h)}}mMe.pushWord(i)},"populate"),bMe=mt((e,t,i)=>{if(void 0===e.start)throw new Error("start should have been set during first phase");if(void 0===e.end)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Blockstart${e.start}isgreaterthanblockend${e.end}.`);var n;return e.end+1<=t*i?[e,void 0]:[{start:e.start,end:n=t*i-1,label:e.label,bits:n-e.start},{start:n=t*i,end:e.end,label:e.label,bits:e.end-n}]},"getNextFittingBlock"),vMe={parse:mt(async e=>{e=await afe("packet",e);I.debug(e),yMe(e)},"parse")}}),EMe=e(()=>{"use strict";Mye(),uh(),xMe=mt((e,t,i,n)=>{var r,s,n=n.db,a=n.getConfig(),{rowHeight:o,paddingY:l,bitWidth:c,bitsPerRow:h}=a,u=n.getPacket(),n=n.getDiagramTitle(),l=o+l,o=l*(u.length+1)-(n?0:o),c=c*h+2,d=Cye(t);d.attr("viewbox",`00${c}`+o),rh(d,o,c,a.useMaxWidth);for([r,s]of u.entries())wMe(d,s,r,a);d.append("text").text(n).attr("x",c/2).attr("y",o-l/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),wMe=mt((e,t,i,{rowHeight:n,paddingX:r,paddingY:s,bitWidth:a,bitsPerRow:o,showBits:l})=>{var c,h=e.append("g"),u=i*(n+s)+s;for(c of t){var d,p,g=c.start%o*a+1,f=(c.end-c.start+1)*a-r;h.append("rect").attr("x",g).attr("y",u).attr("width",f).attr("height",n).attr("class","packetBlock"),h.append("text").attr("x",g+f/2).attr("y",u+n/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(c.label),l&&(d=c.end===c.start,p=u-2,h.append("text").attr("x",g+(d?f/2:0)).attr("y",p).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",d?"middle":"start").text(c.start),d||h.append("text").attr("x",g+f).attr("y",p).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(c.end))}},"drawWord"),kMe={draw:xMe}}),$Me=e(()=>{"use strict";s_(),TMe={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},SMe=mt(({packet:e}={})=>{e=EC(TMe,e);return`
.packetByte{
font-size:${e.byteFontSize};
}
@@ -2391,7 +2391,7 @@ Expecting `+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on l
stroke-width:${e.blockStrokeWidth};
fill:${e.blockFillColor};
}
`},"styles")}),LMe={};V(LMe,{diagram:()=>RMe});var RMe,MMe,IMe,NMe,DMe,OMe,PMe,BMe,FMe,jMe,zMe,HMe,UMe,qMe,WMe,VMe,GMe,YMe=e(()=>{"use strict";_Me(),AMe(),EMe(),$Me(),RMe={parser:vMe,db:mMe,renderer:kMe,styles:SMe}}),XMe=e(()=>{"use strict";Mn(),Ln(),s_(),Cu(),IMe={axes:[],curves:[],options:MMe={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"}},NMe=structuredClone(IMe),DMe=vi.radar,OMe=mt(()=>EC({...DMe,...Ii().radar}),"getConfig"),PMe=mt(()=>NMe.axes,"getAxes"),BMe=mt(()=>NMe.curves,"getCurves"),FMe=mt(()=>NMe.options,"getOptions"),jMe=mt(e=>{NMe.axes=e.map(e=>({name:e.name,label:e.label??e.name}))},"setAxes"),zMe=mt(e=>{NMe.curves=e.map(e=>({name:e.name,label:e.label??e.name,entries:HMe(e.entries)}))},"setCurves"),HMe=mt(i=>{if(null==i[0].axis)return i.map(e=>e.value);var e=PMe();if(0===e.length)throw new Error("Axes must be populated before curves for reference entries");return e.map(t=>{var e=i.find(e=>e.axis?.$refText===t.name);if(void 0===e)throw new Error("Missing entry for axis "+t.label);return e.value})},"computeCurveEntries"),UMe=mt(e=>{e=e.reduce((e,t)=>(e[t.name]=t,e),{});NMe.options={showLegend:e.showLegend?.value??MMe.showLegend,ticks:e.ticks?.value??MMe.ticks,max:e.max?.value??MMe.max,min:e.min?.value??MMe.min,graticule:e.graticule?.value??MMe.graticule}},"setOptions"),qMe=mt(()=>{bh(),NMe=structuredClone(IMe)},"clear"),WMe={getAxes:PMe,getCurves:BMe,getOptions:FMe,setAxes:jMe,setCurves:zMe,setOptions:UMe,getConfig:OMe,clear:qMe,setAccTitle:vh,getAccTitle:xh,setDiagramTitle:Th,getDiagramTitle:Sh,getAccDescription:kh,setAccDescription:wh}}),KMe=e(()=>{"use strict";hfe(),t(),gfe(),XMe(),VMe=mt(e=>{ufe(e,WMe);var{axes:e,curves:t,options:i}=e;WMe.setAxes(e),WMe.setCurves(t),WMe.setOptions(i)},"populate"),GMe={parse:mt(async e=>{e=await afe("radar",e);I.debug(e),VMe(e)},"parse")}});function ZMe(i,e,t,n,r,s,a){let o=e.length,l=Math.min(a.width,a.height)/2;t.forEach((e,t)=>{e.entries.length===o&&(e=e.entries.map((e,t)=>{t=2*Math.PI*t/o-Math.PI/2,e=QMe(e,n,r,l);return{x:e*Math.cos(t),y:e*Math.sin(t)}}),"circle"===s?i.append("path").attr("d",JMe(e,a.curveTension)).attr("class","radarCurve-"+t):"polygon"===s&&i.append("polygon").attr("points",e.map(e=>e.x+","+e.y).join(" ")).attr("class","radarCurve-"+t))})}function QMe(e,t,i,n){return n*(Math.min(Math.max(e,t),i)-t)/(i-t)}function JMe(t,i){let n=t.length,r=`M${t[0].x},`+t[0].y;for(let e=0;e<n;e++){var s=t[(e-1+n)%n],a=t[e],o=t[(e+1)%n],l=t[(e+2)%n],s={x:a.x+(o.x-s.x)*i,y:a.y+(o.y-s.y)*i},l={x:o.x-(l.x-a.x)*i,y:o.y-(l.y-a.y)*i};r+=`C${s.x},${s.y}${l.x},${l.y}${o.x},`+o.y}return r+" Z"}function eIe(s,e,t,i){if(t){let n=3*(i.width/2+i.marginRight)/4,r=3*-(i.height/2+i.marginTop)/4;e.forEach((e,t)=>{var i=s.append("g").attr("transform",`translate(${n},${r+20*t})`);i.append("rect").attr("width",12).attr("height",12).attr("class","radarLegendBox-"+t),i.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(e.label)})}}var tIe,iIe,nIe,rIe,sIe,aIe,oIe,lIe,cIe=e(()=>{"use strict";Mye(),tIe=mt((e,t,i,n)=>{var n=n.db,r=n.getAxes(),s=n.getCurves(),a=n.getOptions(),o=n.getConfig(),n=n.getDiagramTitle(),t=Cye(t),t=iIe(t,o),l=a.max??Math.max(...s.map(e=>Math.max(...e.entries))),c=a.min,h=Math.min(o.width,o.height)/2;nIe(t,r,h,a.ticks,a.graticule),rIe(t,r,h,o),ZMe(t,r,s,c,l,a.graticule,o),eIe(t,s,a.showLegend,o),t.append("text").attr("class","radarTitle").text(n).attr("x",0).attr("y",-o.height/2-o.marginTop)},"draw"),iIe=mt((e,t)=>{let i=t.width+t.marginLeft+t.marginRight,n=t.height+t.marginTop+t.marginBottom,r=t.marginLeft+t.width/2,s=t.marginTop+t.height/2;return e.attr("viewbox",`00${i}`+n).attr("width",i).attr("height",n),e.append("g").attr("transform",`translate(${r},${s})`)},"drawFrame"),nIe=mt((r,s,a,o,e)=>{if("circle"===e)for(let e=0;e<o;e++){var t=a*(e+1)/o;r.append("circle").attr("r",t).attr("class","radarGraticule")}else if("polygon"===e){let n=s.length;for(let t=0;t<o;t++){let i=a*(t+1)/o,e=s.map((e,t)=>{t=2*t*Math.PI/n-Math.PI/2;return i*Math.cos(t)+","+i*Math.sin(t)}).join(" ");r.append("polygon").attr("points",e).attr("class","radarGraticule")}}},"drawGraticule"),rIe=mt((t,i,n,r)=>{var s=i.length;for(let e=0;e<s;e++){var a=i[e].label,o=2*e*Math.PI/s-Math.PI/2;t.append("line").attr("x1",0).attr("y1",0).attr("x2",n*r.axisScaleFactor*Math.cos(o)).attr("y2",n*r.axisScaleFactor*Math.sin(o)).attr("class","radarAxisLine"),t.append("text").text(a).attr("x",n*r.axisLabelFactor*Math.cos(o)).attr("y",n*r.axisLabelFactor*Math.sin(o)).attr("class","radarAxisLabel")}},"drawAxes"),mt(ZMe,"drawCurves"),mt(QMe,"relativeRadius"),mt(JMe,"closedRoundCurve"),mt(eIe,"drawLegend"),sIe={draw:tIe}}),hIe=e(()=>{"use strict";s_(),Cn(),Mn(),aIe=mt((t,i)=>{let n="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++){var r=t["cScale"+e];n+=`
`},"styles")}),LMe={};G(LMe,{diagram:()=>RMe});var RMe,MMe,IMe,NMe,DMe,OMe,PMe,BMe,FMe,jMe,zMe,HMe,UMe,qMe,WMe,GMe,VMe,YMe=e(()=>{"use strict";_Me(),AMe(),EMe(),$Me(),RMe={parser:vMe,db:mMe,renderer:kMe,styles:SMe}}),XMe=e(()=>{"use strict";Mn(),Ln(),s_(),Cu(),IMe={axes:[],curves:[],options:MMe={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"}},NMe=structuredClone(IMe),DMe=vi.radar,OMe=mt(()=>EC({...DMe,...Ii().radar}),"getConfig"),PMe=mt(()=>NMe.axes,"getAxes"),BMe=mt(()=>NMe.curves,"getCurves"),FMe=mt(()=>NMe.options,"getOptions"),jMe=mt(e=>{NMe.axes=e.map(e=>({name:e.name,label:e.label??e.name}))},"setAxes"),zMe=mt(e=>{NMe.curves=e.map(e=>({name:e.name,label:e.label??e.name,entries:HMe(e.entries)}))},"setCurves"),HMe=mt(i=>{if(null==i[0].axis)return i.map(e=>e.value);var e=PMe();if(0===e.length)throw new Error("Axes must be populated before curves for reference entries");return e.map(t=>{var e=i.find(e=>e.axis?.$refText===t.name);if(void 0===e)throw new Error("Missing entry for axis "+t.label);return e.value})},"computeCurveEntries"),UMe=mt(e=>{e=e.reduce((e,t)=>(e[t.name]=t,e),{});NMe.options={showLegend:e.showLegend?.value??MMe.showLegend,ticks:e.ticks?.value??MMe.ticks,max:e.max?.value??MMe.max,min:e.min?.value??MMe.min,graticule:e.graticule?.value??MMe.graticule}},"setOptions"),qMe=mt(()=>{bh(),NMe=structuredClone(IMe)},"clear"),WMe={getAxes:PMe,getCurves:BMe,getOptions:FMe,setAxes:jMe,setCurves:zMe,setOptions:UMe,getConfig:OMe,clear:qMe,setAccTitle:vh,getAccTitle:xh,setDiagramTitle:Th,getDiagramTitle:Sh,getAccDescription:kh,setAccDescription:wh}}),KMe=e(()=>{"use strict";hfe(),t(),gfe(),XMe(),GMe=mt(e=>{ufe(e,WMe);var{axes:e,curves:t,options:i}=e;WMe.setAxes(e),WMe.setCurves(t),WMe.setOptions(i)},"populate"),VMe={parse:mt(async e=>{e=await afe("radar",e);I.debug(e),GMe(e)},"parse")}});function ZMe(i,e,t,n,r,s,a){let o=e.length,l=Math.min(a.width,a.height)/2;t.forEach((e,t)=>{e.entries.length===o&&(e=e.entries.map((e,t)=>{t=2*Math.PI*t/o-Math.PI/2,e=QMe(e,n,r,l);return{x:e*Math.cos(t),y:e*Math.sin(t)}}),"circle"===s?i.append("path").attr("d",JMe(e,a.curveTension)).attr("class","radarCurve-"+t):"polygon"===s&&i.append("polygon").attr("points",e.map(e=>e.x+","+e.y).join(" ")).attr("class","radarCurve-"+t))})}function QMe(e,t,i,n){return n*(Math.min(Math.max(e,t),i)-t)/(i-t)}function JMe(t,i){let n=t.length,r=`M${t[0].x},`+t[0].y;for(let e=0;e<n;e++){var s=t[(e-1+n)%n],a=t[e],o=t[(e+1)%n],l=t[(e+2)%n],s={x:a.x+(o.x-s.x)*i,y:a.y+(o.y-s.y)*i},l={x:o.x-(l.x-a.x)*i,y:o.y-(l.y-a.y)*i};r+=`C${s.x},${s.y}${l.x},${l.y}${o.x},`+o.y}return r+" Z"}function eIe(s,e,t,i){if(t){let n=3*(i.width/2+i.marginRight)/4,r=3*-(i.height/2+i.marginTop)/4;e.forEach((e,t)=>{var i=s.append("g").attr("transform",`translate(${n},${r+20*t})`);i.append("rect").attr("width",12).attr("height",12).attr("class","radarLegendBox-"+t),i.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(e.label)})}}var tIe,iIe,nIe,rIe,sIe,aIe,oIe,lIe,cIe=e(()=>{"use strict";Mye(),tIe=mt((e,t,i,n)=>{var n=n.db,r=n.getAxes(),s=n.getCurves(),a=n.getOptions(),o=n.getConfig(),n=n.getDiagramTitle(),t=Cye(t),t=iIe(t,o),l=a.max??Math.max(...s.map(e=>Math.max(...e.entries))),c=a.min,h=Math.min(o.width,o.height)/2;nIe(t,r,h,a.ticks,a.graticule),rIe(t,r,h,o),ZMe(t,r,s,c,l,a.graticule,o),eIe(t,s,a.showLegend,o),t.append("text").attr("class","radarTitle").text(n).attr("x",0).attr("y",-o.height/2-o.marginTop)},"draw"),iIe=mt((e,t)=>{let i=t.width+t.marginLeft+t.marginRight,n=t.height+t.marginTop+t.marginBottom,r=t.marginLeft+t.width/2,s=t.marginTop+t.height/2;return e.attr("viewbox",`00${i}`+n).attr("width",i).attr("height",n),e.append("g").attr("transform",`translate(${r},${s})`)},"drawFrame"),nIe=mt((r,s,a,o,e)=>{if("circle"===e)for(let e=0;e<o;e++){var t=a*(e+1)/o;r.append("circle").attr("r",t).attr("class","radarGraticule")}else if("polygon"===e){let n=s.length;for(let t=0;t<o;t++){let i=a*(t+1)/o,e=s.map((e,t)=>{t=2*t*Math.PI/n-Math.PI/2;return i*Math.cos(t)+","+i*Math.sin(t)}).join(" ");r.append("polygon").attr("points",e).attr("class","radarGraticule")}}},"drawGraticule"),rIe=mt((t,i,n,r)=>{var s=i.length;for(let e=0;e<s;e++){var a=i[e].label,o=2*e*Math.PI/s-Math.PI/2;t.append("line").attr("x1",0).attr("y1",0).attr("x2",n*r.axisScaleFactor*Math.cos(o)).attr("y2",n*r.axisScaleFactor*Math.sin(o)).attr("class","radarAxisLine"),t.append("text").text(a).attr("x",n*r.axisLabelFactor*Math.cos(o)).attr("y",n*r.axisLabelFactor*Math.sin(o)).attr("class","radarAxisLabel")}},"drawAxes"),mt(ZMe,"drawCurves"),mt(QMe,"relativeRadius"),mt(JMe,"closedRoundCurve"),mt(eIe,"drawLegend"),sIe={draw:tIe}}),hIe=e(()=>{"use strict";s_(),Cn(),Mn(),aIe=mt((t,i)=>{let n="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++){var r=t["cScale"+e];n+=`
.radarCurve-${e}{
color:${r};
fill:${r};
@@ -2433,12 +2433,12 @@ Expecting `+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on l
Expecting`+E.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(c+1)+": Unexpected "+(v==d?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(A,{text:g.match,token:this.terminals_[v]||v,line:g.yylineno,loc:m,expected:E})}if(k[0]instanceof Array&&1<k.length)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+v);switch(k[0]){case 1:n.push(v),s.push(g.yytext),a.push(g.yylloc),n.push(k[1]),v=null,x?(v=x,x=null):(h=g.yyleng,l=g.yytext,c=g.yylineno,m=g.yylloc,0<u&&u--);break;case 2:if(S=this.productions_[k[1]][1],_.$=s[s.length-S],_._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},y&&(_._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),typeof(C=this.performAction.apply(_,[l,h,c,f.yy,k[1],s,a].concat(p)))<"u")return C;S&&(n=n.slice(0,-1*S*2),s=s.slice(0,-1*S),a=a.slice(0,-1*S)),n.push(this.productions_[k[1]][0]),s.push(_.$),a.push(_._$),C=o[n[n.length-2]][n[n.length-1]],n.push(C);break;case 3:return!0}}return!0},"parse")},d={EOF:1,parseError:mt(function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},"parseError"),setInput:mt(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},"setInput"),input:mt(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},"input"),unput:mt(function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),n=(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),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===e.length?this.yylloc.first_column:0)+e[e.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:mt(function(){return this._more=!0,this},"more"),reject:mt(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+`.Youcanonlyinvokereject()inthelexerwhenthelexerisofthebacktrackingpersuasion(options.backtrack_lexer=true).
`+t+"^"},"showPosition"),test_match:mt(function(e,t){var i,n;if(this.options.backtrack_lexer&&(n={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)&&(n.yylloc.range=this.yylloc.range.slice(0)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+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 r in n)this[r]=n[r];return!1},"test_match"),next:mt(function(){if(this.done)return this.EOF;var e,t,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;s<r.length;s++)if((i=this._input.match(this.rules[r[s]]))&&(!t||i[0].length>t[0].length)){if(t=i,n=s,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[s])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[n]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.