(e="gen-2")
| 7 | Initialize mermaid with maxEdges set to a higher number to allow more edges. |
| 8 | You cannot set this config via configuration inside the diagram as it is a secure config. |
| 9 | You have to call mermaid.initialize.`)}isLinkData(e){return e!==null&&typeof e=="object"&&"id"in e&&typeof e.id=="string"}addLink(e,i,r){let a=this.isLinkData(r)?r.id.replace("@",""):void 0;Z.info("addLink",e,i,a);for(let o of e)for(let d of i){let l=o===e[e.length-1],k=d===i[0];l&&k?this.addSingleLink(o,d,r,a):this.addSingleLink(o,d,r,void 0)}}updateLinkInterpolate(e,i){e.forEach(r=>{r==="default"?this.edges.defaultInterpolate=i:this.edges[r].interpolate=i})}updateLink(e,i){e.forEach(r=>{if(typeof r=="number"&&r>=this.edges.length)throw new Error(`The index ${r} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);r==="default"?this.edges.defaultStyle=i:(this.edges[r].style=i,(this.edges[r]?.style?.length??0)>0&&!this.edges[r]?.style?.some(a=>a?.startsWith("fill"))&&this.edges[r]?.style?.push("fill:none"))})}addClass(e,i){let r=i.join().replace(/\\,/g,"\xA7\xA7\xA7").replace(/,/g,";").replace(/§§§/g,",").split(";");e.split(",").forEach(a=>{let o=this.classes.get(a);o===void 0&&(o={id:a,styles:[],textStyles:[]},this.classes.set(a,o)),r?.forEach(d=>{if(/color/.exec(d)){let l=d.replace("fill","bgFill");o.textStyles.push(l)}o.styles.push(d)})})}setDirection(e){this.direction=e.trim(),/.*</.exec(this.direction)&&(this.direction="RL"),/.*\^/.exec(this.direction)&&(this.direction="BT"),/.*>/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),this.direction==="TD"&&(this.direction="TB")}setClass(e,i){for(let r of e.split(",")){let a=this.vertices.get(r);a&&a.classes.push(i);let o=this.edges.find(l=>l.id===r);o&&o.classes.push(i);let d=this.subGraphLookup.get(r);d&&d.classes.push(i)}}setTooltip(e,i){if(i!==void 0){i=this.sanitizeText(i);for(let r of e.split(","))this.tooltips.set(this.version==="gen-1"?this.lookUpDomId(r):r,i)}}setClickFun(e,i,r){let a=this.lookUpDomId(e);if(de().securityLevel!=="loose"||i===void 0)return;let o=[];if(typeof r=="string"){o=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l<o.length;l++){let k=o[l].trim();k.startsWith('"')&&k.endsWith('"')&&(k=k.substr(1,k.length-2)),o[l]=k}}o.length===0&&o.push(e);let d=this.vertices.get(e);d&&(d.haveCallback=!0,this.funs.push(()=>{let l=document.querySelector(`[id="${a}"]`);l!==null&&l.addEventListener("click",()=>{Qe.runFunc(i,...o)},!1)}))}setLink(e,i,r){e.split(",").forEach(a=>{let o=this.vertices.get(a);o!==void 0&&(o.link=Qe.formatUrl(i,this.config),o.linkTarget=r)}),this.setClass(e,"clickable")}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,i,r){e.split(",").forEach(a=>{this.setClickFun(a,i,r)}),this.setClass(e,"clickable")}bindFunctions(e){this.funs.forEach(i=>{i(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let i=ot();Ee(e).select("svg").selectAll("g.node").on("mouseover",o=>{let d=Ee(o.currentTarget),l=d.attr("title");if(l===null)return;let k=o.currentTarget?.getBoundingClientRect();i.transition().duration(200).style("opacity",".9"),i.text(d.attr("title")).style("left",window.scrollX+k.left+(k.right-k.left)/2+"px").style("top",window.scrollY+k.bottom+"px"),i.html(H1.sanitize(l)),d.classed("hover",!0)}).on("mouseout",o=>{i.transition().duration(500).style("opacity",0),Ee(o.currentTarget).classed("hover",!1)})}clear(e="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=de(),X1()}setGen(e){this.version=e||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(e,i,r){let a=e.text.trim(),o=r.text;e===r&&/\s/.exec(r.text)&&(a=void 0);let l=g(b=>{let D={boolean:{},number:{},string:{}},K=[],x;return{nodeList:b.filter(function(U){let J=typeof U;return U.stmt&&U.stmt==="dir"?(x=U.value,!1):U.trim()===""?!1:J in D?D[J].hasOwnProperty(U)?!1:D[J][U]=!0:K.includes(U)?!1:K.push(U)}),dir:x}},"uniq")(i.flat()),k=l.nodeList,n=l.dir,p=de().flowchart??{};if(n=n??(p.inheritDir?this.getDirection()??de().direction??void 0:void 0),this.version==="gen-1")for(let b=0;b<k.length;b++)k[b]=this.lookUpDomId(k[b]);a=a??"subGraph"+this.subCount,o=o||"",o=this.sanitizeText(o),this.subCount=this.subCount+1;let S={id:a,nodes:k,title:o.trim(),classes:[],dir:n,labelType:this.sanitizeNodeLabelType(r?.type)};return Z.info("Adding",S.id,S.nodes,S.dir),S.nodes=this.makeUniq(S,this.subGraphs).nodes,this.subGraphs.push(S),this.subGraphLookup.set(a,S),a}getPosForId(e){for(let[i,r]of this.subGraphs.entries())if(r.id===e)return i;return-1}indexNodes2(e,i){let r=this.subGraphs[i].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=i,this.subGraphs[i].id===e)return{result:!0,count:0};let a=0,o=1;for(;a<r.length;){let d=this.getPosForId(r[a]);if(d>=0){let l=this.indexNodes2(e,d);if(l.result)return{result:!0,count:o+l.count};o=o+l.count}a=a+1}return{result:!1,count:o}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let i=e.trim(),r="arrow_open";switch(i[0]){case"<":r="arrow_point",i=i.slice(1);break;case"x":r="arrow_cross",i=i.slice(1);break;case"o":r="arrow_circle",i=i.slice(1);break}let a="normal";return i.includes("=")&&(a="thick"),i.includes(".")&&(a="dotted"),{type:r,stroke:a}}countChar(e,i){let r=i.length,a=0;for(let o=0;o<r;++o)i[o]===e&&++a;return a}destructEndLink(e){let i=e.trim(),r=i.slice(0,-1),a="arrow_open";switch(i.slice(-1)){case"x":a="arrow_cross",i.startsWith("x")&&(a="double_"+a,r=r.slice(1));break;case">":a="arrow_point",i.startsWith("<")&&(a="double_"+a,r=r.slice(1));break;case"o":a="arrow_circle",i.startsWith("o")&&(a="double_"+a,r=r.slice(1));break}let o="normal",d=r.length-1;r.startsWith("=")&&(o="thick"),r.startsWith("~")&&(o="invisible");let l=this.countChar(".",r);return l&&(o="dotted",d=l),{type:a,stroke:o,length:d}}destructLink(e,i){let r=this.destructEndLink(e),a;if(i){if(a=this.destructStartLink(i),a.stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if(a.type==="arrow_open")a.type=r.type;else{if(a.type!==r.type)return{type:"INVALID",stroke:"INVALID"};a.type="double_"+a.type}return a.type==="double_arrow"&&(a.type="double_arrow_point"),a.length=r.length,a}return r}exists(e,i){for(let r of e)if(r.nodes.includes(i))return!0;return!1}makeUniq(e,i){let r=[];return e.nodes.forEach((a,o)=>{this.exists(i,a)||r.push(e.nodes[o])}),{nodes:r}}getTypeFromVertex(e){if(e.img)return"imageSquare";if(e.icon)return e.form==="circle"?"iconCircle":e.form==="square"?"iconSquare":e.form==="rounded"?"iconRounded":"icon";switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}}findNode(e,i){return e.find(r=>r.id===i)}destructEdgeType(e){let i="none",r="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":r=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":i=e.replace("double_",""),r=i;break}return{arrowTypeStart:i,arrowTypeEnd:r}}addNodeFromVertex(e,i,r,a,o,d){let l=r.get(e.id),k=a.get(e.id)??!1,n=this.findNode(i,e.id);if(n)n.cssStyles=e.styles,n.cssCompiledStyles=this.getCompiledStyles(e.classes),n.cssClasses=e.classes.join(" ");else{let p={id:e.id,label:e.text,labelType:e.labelType,labelStyle:"",parentId:l,padding:o.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:d,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};k?i.push(n1(a1({},p),{isGroup:!0,shape:"rect"})):i.push(n1(a1({},p),{isGroup:!1,shape:this.getTypeFromVertex(e)}))}}getCompiledStyles(e){let i=[];for(let r of e){let a=this.classes.get(r);a?.styles&&(i=[...i,...a.styles??[]].map(o=>o.trim())),a?.textStyles&&(i=[...i,...a.textStyles??[]].map(o=>o.trim()))}return i}getData(){let e=de(),i=[],r=[],a=this.getSubGraphs(),o=new Map,d=new Map;for(let n=a.length-1;n>=0;n--){let p=a[n];p.nodes.length>0&&d.set(p.id,!0);for(let S of p.nodes)o.set(S,p.id)}for(let n=a.length-1;n>=0;n--){let p=a[n];i.push({id:p.id,label:p.title,labelStyle:"",labelType:p.labelType,parentId:o.get(p.id),padding:8,cssCompiledStyles:this.getCompiledStyles(p.classes),cssClasses:p.classes.join(" "),shape:"rect",dir:p.dir,isGroup:!0,look:e.look})}this.getVertices().forEach(n=>{this.addNodeFromVertex(n,i,o,d,e,e.look||"classic")});let k=this.getEdges();return k.forEach((n,p)=>{let{arrowTypeStart:S,arrowTypeEnd:b}=this.destructEdgeType(n.type),D=[...k.defaultStyle??[]];n.style&&D.push(...n.style);let K={id:Je(n.start,n.end,{counter:p,prefix:"L"},n.id),isUserDefinedId:n.isUserDefinedId,start:n.start,end:n.end,type:n.type??"normal",label:n.text,labelType:n.labelType,labelpos:"c",thickness:n.stroke,minlen:n.length,classes:n?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:n?.stroke==="invisible"||n?.type==="arrow_open"?"none":S,arrowTypeEnd:n?.stroke==="invisible"||n?.type==="arrow_open"?"none":b,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(n.classes),labelStyle:D,style:D,pattern:n.stroke,look:e.look,animate:n.animate,animation:n.animation,curve:n.interpolate||this.edges.defaultInterpolate||e.flowchart?.curve};r.push(K)}),{nodes:i,edges:r,other:{},config:e}}defaultConfig(){return st.flowchart}},Et=g(function(e,i){return i.db.getClasses()},"getClasses"),Dt=g(function(e,i,r,a){return j1(this,null,function*(){Z.info("REF0:"),Z.info("Drawing state diagram (v2)",i);let{securityLevel:o,flowchart:d,layout:l}=de(),k;o==="sandbox"&&(k=Ee("#i"+i));let n=o==="sandbox"?k.nodes()[0].contentDocument:document;Z.debug("Before getData: ");let p=a.db.getData();Z.debug("Data: ",p);let S=ct(i,o),b=a.db.getDirection();p.type=a.type,p.layoutAlgorithm=ut(l),p.layoutAlgorithm==="dagre"&&l==="elk"&&Z.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),p.direction=b,p.nodeSpacing=d?.nodeSpacing||50,p.rankSpacing=d?.rankSpacing||50,p.markers=["point","circle","cross"],p.diagramId=i,Z.debug("REF1:",p),yield nt(p,S);let D=p.config.flowchart?.diagramPadding??8;Qe.insertTitle(S,"flowchartTitleText",d?.titleTopMargin||0,a.db.getDiagramTitle()),ht(S,D,"flowchart",d?.useMaxWidth||!1);for(let K of p.nodes){let x=Ee(`#${i} [id="${K.id}"]`);if(!x||!K.link)continue;let _=n.createElementNS("http://www.w3.org/2000/svg","a");_.setAttributeNS("http://www.w3.org/2000/svg","class",K.cssClasses),_.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),o==="sandbox"?_.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):K.linkTarget&&_.setAttributeNS("http://www.w3.org/2000/svg","target",K.linkTarget);let U=x.insert(function(){return _},":first-child"),J=x.select(".label-container");J&&U.append(function(){return J.node()});let ke=x.select(".label");ke&&U.append(function(){return ke.node()})}})},"draw"),St={getClasses:Et,draw:Dt},o1=(function(){var e=g(function(be,c,h,f){for(h=h||{},f=be.length;f--;h[be[f]]=c);return h},"o"),i=[1,4],r=[1,3],a=[1,5],o=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],d=[2,2],l=[1,13],k=[1,14],n=[1,15],p=[1,16],S=[1,23],b=[1,25],D=[1,26],K=[1,27],x=[1,50],_=[1,49],U=[1,29],J=[1,30],ke=[1,31],Pe=[1,32],Oe=[1,33],L=[1,45],V=[1,47],w=[1,43],I=[1,48],R=[1,44],N=[1,51],G=[1,46],P=[1,52],O=[1,53],Me=[1,34],Ue=[1,35],ze=[1,36],We=[1,37],je=[1,38],pe=[1,58],T=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],ee=[1,62],te=[1,61],se=[1,63],De=[8,9,11,75,77,78],l1=[1,79],Se=[1,92],Te=[1,97],xe=[1,96],ye=[1,93],Fe=[1,89],_e=[1,95],Be=[1,91],ve=[1,98],Le=[1,94],Ve=[1,99],we=[1,90],ge=[8,9,10,11,40,75,77,78],z=[8,9,10,11,40,46,75,77,78],H=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],c1=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],Ie=[44,60,89,102,105,106,109,111,114,115,116],h1=[1,122],d1=[1,123],Ke=[1,125],Ye=[1,124],p1=[44,60,62,74,89,102,105,106,109,111,114,115,116],f1=[1,134],b1=[1,148],k1=[1,149],g1=[1,150],A1=[1,151],m1=[1,136],C1=[1,138],E1=[1,142],D1=[1,143],S1=[1,144],T1=[1,145],x1=[1,146],y1=[1,147],F1=[1,152],_1=[1,153],B1=[1,132],v1=[1,133],L1=[1,140],V1=[1,135],w1=[1,139],I1=[1,137],Ze=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],R1=[1,155],N1=[1,157],B=[8,9,11],q=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],A=[1,177],W=[1,173],j=[1,174],m=[1,178],C=[1,175],E=[1,176],Re=[77,116,119],y=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],G1=[10,106],fe=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],ie=[1,248],re=[1,246],ae=[1,250],ne=[1,244],ue=[1,245],oe=[1,247],le=[1,249],ce=[1,251],Ne=[1,269],P1=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],$e={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr",125:"direction_td"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:g(function(c,h,f,u,F,t,Ae){var s=t.length-1;switch(F){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 183:this.$=t[s];break;case 11:u.setDirection("TB"),this.$="TB";break;case 12:u.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=u.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=u.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=u.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),u.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),u.setAccDescription(this.$);break;case 43:this.$=t[s-1]+t[s];break;case 44:this.$=t[s];break;case 45:u.addVertex(t[s-1][t[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s]),u.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 46:u.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 47:u.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 48:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 49:u.addVertex(t[s-1][t[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s]),this.$={stmt:t[s-1],nodes:t[s-1],shapeData:t[s]};break;case 50:this.$={stmt:t[s],nodes:t[s]};break;case 51:this.$=[t[s]];break;case 52:u.addVertex(t[s-5][t[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,t[s-4]),this.$=t[s-5].concat(t[s]);break;case 53:this.$=t[s-4].concat(t[s]);break;case 54:this.$=t[s];break;case 55:this.$=t[s-2],u.setClass(t[s-2],t[s]);break;case 56:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"square");break;case 57:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"doublecircle");break;case 58:this.$=t[s-5],u.addVertex(t[s-5],t[s-2],"circle");break;case 59:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"ellipse");break;case 60:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"stadium");break;case 61:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"subroutine");break;case 62:this.$=t[s-7],u.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 63:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"cylinder");break;case 64:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"round");break;case 65:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"diamond");break;case 66:this.$=t[s-5],u.addVertex(t[s-5],t[s-2],"hexagon");break;case 67:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"odd");break;case 68:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"trapezoid");break;case 69:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 70:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"lean_right");break;case 71:this.$=t[s-3],u.addVertex(t[s-3],t[s-1],"lean_left");break;case 72:this.$=t[s],u.addVertex(t[s]);break;case 73:t[s-1].text=t[s],this.$=t[s-1];break;case 74:case 75:t[s-2].text=t[s-1],this.$=t[s-2];break;case 76:this.$=t[s];break;case 77:var v=u.destructLink(t[s],t[s-2]);this.$={type:v.type,stroke:v.stroke,length:v.length,text:t[s-1]};break;case 78:var v=u.destructLink(t[s],t[s-2]);this.$={type:v.type,stroke:v.stroke,length:v.length,text:t[s-1],id:t[s-3]};break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:this.$={text:t[s],type:"markdown"};break;case 83:var v=u.destructLink(t[s]);this.$={type:v.type,stroke:v.stroke,length:v.length};break;case 84:var v=u.destructLink(t[s]);this.$={type:v.type,stroke:v.stroke,length:v.length,id:t[s-1]};break;case 85:this.$=t[s-1];break;case 86:this.$={text:t[s],type:"text"};break;case 87:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 88:this.$={text:t[s],type:"string"};break;case 89:case 104:this.$={text:t[s],type:"markdown"};break;case 101:this.$={text:t[s],type:"text"};break;case 102:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 103:this.$={text:t[s],type:"text"};break;case 105:this.$=t[s-4],u.addClass(t[s-2],t[s]);break;case 106:this.$=t[s-4],u.setClass(t[s-2],t[s]);break;case 107:case 115:this.$=t[s-1],u.setClickEvent(t[s-1],t[s]);break;case 108:case 116:this.$=t[s-3],u.setClickEvent(t[s-3],t[s-2]),u.setTooltip(t[s-3],t[s]);break;case 109:this.$=t[s-2],u.setClickEvent(t[s-2],t[s-1],t[s]);break;case 110:this.$=t[s-4],u.setClickEvent(t[s-4],t[s-3],t[s-2]),u.setTooltip(t[s-4],t[s]);break;case 111:this.$=t[s-2],u.setLink(t[s-2],t[s]);break;case 112:this.$=t[s-4],u.setLink(t[s-4],t[s-2]),u.setTooltip(t[s-4],t[s]);break;case 113:this.$=t[s-4],u.setLink(t[s-4],t[s-2],t[s]);break;case 114:this.$=t[s-6],u.setLink(t[s-6],t[s-4],t[s]),u.setTooltip(t[s-6],t[s-2]);break;case 117:this.$=t[s-1],u.setLink(t[s-1],t[s]);break;case 118:this.$=t[s-3],u.setLink(t[s-3],t[s-2]),u.setTooltip(t[s-3],t[s]);break;case 119:this.$=t[s-3],u.setLink(t[s-3],t[s-2],t[s]);break;case 120:this.$=t[s-5],u.setLink(t[s-5],t[s-4],t[s]),u.setTooltip(t[s-5],t[s-2]);break;case 121:this.$=t[s-4],u.addVertex(t[s-2],void 0,void 0,t[s]);break;case 122:this.$=t[s-4],u.updateLink([t[s-2]],t[s]);break;case 123:this.$=t[s-4],u.updateLink(t[s-2],t[s]);break;case 124:this.$=t[s-8],u.updateLinkInterpolate([t[s-6]],t[s-2]),u.updateLink([t[s-6]],t[s]);break;case 125:this.$=t[s-8],u.updateLinkInterpolate(t[s-6],t[s-2]),u.updateLink(t[s-6],t[s]);break;case 126:this.$=t[s-6],u.updateLinkInterpolate([t[s-4]],t[s]);break;case 127:this.$=t[s-6],u.updateLinkInterpolate(t[s-4],t[s]);break;case 128:case 130:this.$=[t[s]];break;case 129:case 131:t[s-2].push(t[s]),this.$=t[s-2];break;case 133:this.$=t[s-1]+t[s];break;case 181:this.$=t[s];break;case 182:this.$=t[s-1]+""+t[s];break;case 184:this.$=t[s-1]+""+t[s];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"};break;case 189:this.$={stmt:"dir",value:"TD"};break}},"anonymous"),table:[{3:1,4:2,9:i,10:r,12:a},{1:[3]},e(o,d,{5:6}),{4:7,9:i,10:r,12:a},{4:8,9:i,10:r,12:a},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:l,9:k,10:n,11:p,20:17,22:18,23:19,24:20,25:21,26:22,27:S,33:24,34:b,36:D,38:K,42:28,43:39,44:x,45:40,47:41,60:_,84:U,85:J,86:ke,87:Pe,88:Oe,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O,121:Me,122:Ue,123:ze,124:We,125:je},e(o,[2,9]),e(o,[2,10]),e(o,[2,11]),{8:[1,55],9:[1,56],10:pe,15:54,18:57},e(T,[2,3]),e(T,[2,4]),e(T,[2,5]),e(T,[2,6]),e(T,[2,7]),e(T,[2,8]),{8:ee,9:te,11:se,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:ee,9:te,11:se,21:68},{8:ee,9:te,11:se,21:69},{8:ee,9:te,11:se,21:70},{8:ee,9:te,11:se,21:71},{8:ee,9:te,11:se,21:72},{8:ee,9:te,10:[1,73],11:se,21:74},e(T,[2,36]),{35:[1,75]},{37:[1,76]},e(T,[2,39]),e(De,[2,50],{18:77,39:78,10:pe,40:l1}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:Se,44:Te,60:xe,80:[1,87],89:ye,95:[1,84],97:[1,85],101:86,105:Fe,106:_e,109:Be,111:ve,114:Le,115:Ve,116:we,120:88},e(T,[2,185]),e(T,[2,186]),e(T,[2,187]),e(T,[2,188]),e(T,[2,189]),e(ge,[2,51]),e(ge,[2,54],{46:[1,100]}),e(z,[2,72],{113:113,29:[1,101],44:x,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:_,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:L,102:V,105:w,106:I,109:R,111:N,114:G,115:P,116:O}),e(H,[2,181]),e(H,[2,142]),e(H,[2,143]),e(H,[2,144]),e(H,[2,145]),e(H,[2,146]),e(H,[2,147]),e(H,[2,148]),e(H,[2,149]),e(H,[2,150]),e(H,[2,151]),e(H,[2,152]),e(o,[2,12]),e(o,[2,18]),e(o,[2,19]),{9:[1,114]},e(c1,[2,26],{18:115,10:pe}),e(T,[2,27]),{42:116,43:39,44:x,45:40,47:41,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(Ie,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:h1,81:d1,116:Ke,119:Ye},{75:[1,126],77:[1,127]},e(p1,[2,83]),e(T,[2,28]),e(T,[2,29]),e(T,[2,30]),e(T,[2,31]),e(T,[2,32]),{10:f1,12:b1,14:k1,27:g1,28:128,32:A1,44:m1,60:C1,75:E1,80:[1,130],81:[1,131],83:141,84:D1,85:S1,86:T1,87:x1,88:y1,89:F1,90:_1,91:129,105:B1,109:v1,111:L1,114:V1,115:w1,116:I1},e(Ze,d,{5:154}),e(T,[2,37]),e(T,[2,38]),e(De,[2,48],{44:R1}),e(De,[2,49],{18:156,10:pe,40:N1}),e(ge,[2,44]),{44:x,47:158,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},{102:[1,159],103:160,105:[1,161]},{44:x,47:162,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},{44:x,47:163,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},e(B,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},e(B,[2,115],{120:168,10:[1,167],14:Se,44:Te,60:xe,89:ye,105:Fe,106:_e,109:Be,111:ve,114:Le,115:Ve,116:we}),e(B,[2,117],{10:[1,169]}),e(q,[2,183]),e(q,[2,170]),e(q,[2,171]),e(q,[2,172]),e(q,[2,173]),e(q,[2,174]),e(q,[2,175]),e(q,[2,176]),e(q,[2,177]),e(q,[2,178]),e(q,[2,179]),e(q,[2,180]),{44:x,47:170,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},{30:171,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:179,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:181,50:[1,180],67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:182,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:183,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:184,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{109:[1,185]},{30:186,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:187,65:[1,188],67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:189,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:190,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{30:191,67:A,80:W,81:j,82:172,116:m,117:C,118:E},e(H,[2,182]),e(o,[2,20]),e(c1,[2,25]),e(De,[2,46],{39:192,18:193,10:pe,40:l1}),e(Ie,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{77:[1,197],79:198,116:Ke,119:Ye},e(Re,[2,79]),e(Re,[2,81]),e(Re,[2,82]),e(Re,[2,168]),e(Re,[2,169]),{76:199,79:121,80:h1,81:d1,116:Ke,119:Ye},e(p1,[2,84]),{8:ee,9:te,10:f1,11:se,12:b1,14:k1,21:201,27:g1,29:[1,200],32:A1,44:m1,60:C1,75:E1,83:141,84:D1,85:S1,86:T1,87:x1,88:y1,89:F1,90:_1,91:202,105:B1,109:v1,111:L1,114:V1,115:w1,116:I1},e(y,[2,101]),e(y,[2,103]),e(y,[2,104]),e(y,[2,157]),e(y,[2,158]),e(y,[2,159]),e(y,[2,160]),e(y,[2,161]),e(y,[2,162]),e(y,[2,163]),e(y,[2,164]),e(y,[2,165]),e(y,[2,166]),e(y,[2,167]),e(y,[2,90]),e(y,[2,91]),e(y,[2,92]),e(y,[2,93]),e(y,[2,94]),e(y,[2,95]),e(y,[2,96]),e(y,[2,97]),e(y,[2,98]),e(y,[2,99]),e(y,[2,100]),{6:11,7:12,8:l,9:k,10:n,11:p,20:17,22:18,23:19,24:20,25:21,26:22,27:S,32:[1,203],33:24,34:b,36:D,38:K,42:28,43:39,44:x,45:40,47:41,60:_,84:U,85:J,86:ke,87:Pe,88:Oe,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O,121:Me,122:Ue,123:ze,124:We,125:je},{10:pe,18:204},{44:[1,205]},e(ge,[2,43]),{10:[1,206],44:x,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:113,114:G,115:P,116:O},{10:[1,207]},{10:[1,208],106:[1,209]},e(G1,[2,128]),{10:[1,210],44:x,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:113,114:G,115:P,116:O},{10:[1,211],44:x,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:113,114:G,115:P,116:O},{80:[1,212]},e(B,[2,109],{10:[1,213]}),e(B,[2,111],{10:[1,214]}),{80:[1,215]},e(q,[2,184]),{80:[1,216],98:[1,217]},e(ge,[2,55],{113:113,44:x,60:_,89:L,102:V,105:w,106:I,109:R,111:N,114:G,115:P,116:O}),{31:[1,218],67:A,82:219,116:m,117:C,118:E},e(fe,[2,86]),e(fe,[2,88]),e(fe,[2,89]),e(fe,[2,153]),e(fe,[2,154]),e(fe,[2,155]),e(fe,[2,156]),{49:[1,220],67:A,82:219,116:m,117:C,118:E},{30:221,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{51:[1,222],67:A,82:219,116:m,117:C,118:E},{53:[1,223],67:A,82:219,116:m,117:C,118:E},{55:[1,224],67:A,82:219,116:m,117:C,118:E},{57:[1,225],67:A,82:219,116:m,117:C,118:E},{60:[1,226]},{64:[1,227],67:A,82:219,116:m,117:C,118:E},{66:[1,228],67:A,82:219,116:m,117:C,118:E},{30:229,67:A,80:W,81:j,82:172,116:m,117:C,118:E},{31:[1,230],67:A,82:219,116:m,117:C,118:E},{67:A,69:[1,231],71:[1,232],82:219,116:m,117:C,118:E},{67:A,69:[1,234],71:[1,233],82:219,116:m,117:C,118:E},e(De,[2,45],{18:156,10:pe,40:N1}),e(De,[2,47],{44:R1}),e(Ie,[2,75]),e(Ie,[2,74]),{62:[1,235],67:A,82:219,116:m,117:C,118:E},e(Ie,[2,77]),e(Re,[2,80]),{77:[1,236],79:198,116:Ke,119:Ye},{30:237,67:A,80:W,81:j,82:172,116:m,117:C,118:E},e(Ze,d,{5:238}),e(y,[2,102]),e(T,[2,35]),{43:239,44:x,45:40,47:41,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},{10:pe,18:240},{10:ie,60:re,84:ae,92:241,105:ne,107:242,108:243,109:ue,110:oe,111:le,112:ce},{10:ie,60:re,84:ae,92:252,104:[1,253],105:ne,107:242,108:243,109:ue,110:oe,111:le,112:ce},{10:ie,60:re,84:ae,92:254,104:[1,255],105:ne,107:242,108:243,109:ue,110:oe,111:le,112:ce},{105:[1,256]},{10:ie,60:re,84:ae,92:257,105:ne,107:242,108:243,109:ue,110:oe,111:le,112:ce},{44:x,47:258,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},e(B,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},e(B,[2,116]),e(B,[2,118],{10:[1,262]}),e(B,[2,119]),e(z,[2,56]),e(fe,[2,87]),e(z,[2,57]),{51:[1,263],67:A,82:219,116:m,117:C,118:E},e(z,[2,64]),e(z,[2,59]),e(z,[2,60]),e(z,[2,61]),{109:[1,264]},e(z,[2,63]),e(z,[2,65]),{66:[1,265],67:A,82:219,116:m,117:C,118:E},e(z,[2,67]),e(z,[2,68]),e(z,[2,70]),e(z,[2,69]),e(z,[2,71]),e([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),e(Ie,[2,78]),{31:[1,266],67:A,82:219,116:m,117:C,118:E},{6:11,7:12,8:l,9:k,10:n,11:p,20:17,22:18,23:19,24:20,25:21,26:22,27:S,32:[1,267],33:24,34:b,36:D,38:K,42:28,43:39,44:x,45:40,47:41,60:_,84:U,85:J,86:ke,87:Pe,88:Oe,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O,121:Me,122:Ue,123:ze,124:We,125:je},e(ge,[2,53]),{43:268,44:x,45:40,47:41,60:_,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O},e(B,[2,121],{106:Ne}),e(P1,[2,130],{108:270,10:ie,60:re,84:ae,105:ne,109:ue,110:oe,111:le,112:ce}),e($,[2,132]),e($,[2,134]),e($,[2,135]),e($,[2,136]),e($,[2,137]),e($,[2,138]),e($,[2,139]),e($,[2,140]),e($,[2,141]),e(B,[2,122],{106:Ne}),{10:[1,271]},e(B,[2,123],{106:Ne}),{10:[1,272]},e(G1,[2,129]),e(B,[2,105],{106:Ne}),e(B,[2,106],{113:113,44:x,60:_,89:L,102:V,105:w,106:I,109:R,111:N,114:G,115:P,116:O}),e(B,[2,110]),e(B,[2,112],{10:[1,273]}),e(B,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:ee,9:te,11:se,21:278},e(T,[2,34]),e(ge,[2,52]),{10:ie,60:re,84:ae,105:ne,107:279,108:243,109:ue,110:oe,111:le,112:ce},e($,[2,133]),{14:Se,44:Te,60:xe,89:ye,101:280,105:Fe,106:_e,109:Be,111:ve,114:Le,115:Ve,116:we,120:88},{14:Se,44:Te,60:xe,89:ye,101:281,105:Fe,106:_e,109:Be,111:ve,114:Le,115:Ve,116:we,120:88},{98:[1,282]},e(B,[2,120]),e(z,[2,58]),{30:283,67:A,80:W,81:j,82:172,116:m,117:C,118:E},e(z,[2,66]),e(Ze,d,{5:284}),e(P1,[2,131],{108:270,10:ie,60:re,84:ae,105:ne,109:ue,110:oe,111:le,112:ce}),e(B,[2,126],{120:168,10:[1,285],14:Se,44:Te,60:xe,89:ye,105:Fe,106:_e,109:Be,111:ve,114:Le,115:Ve,116:we}),e(B,[2,127],{120:168,10:[1,286],14:Se,44:Te,60:xe,89:ye,105:Fe,106:_e,109:Be,111:ve,114:Le,115:Ve,116:we}),e(B,[2,114]),{31:[1,287],67:A,82:219,116:m,117:C,118:E},{6:11,7:12,8:l,9:k,10:n,11:p,20:17,22:18,23:19,24:20,25:21,26:22,27:S,32:[1,288],33:24,34:b,36:D,38:K,42:28,43:39,44:x,45:40,47:41,60:_,84:U,85:J,86:ke,87:Pe,88:Oe,89:L,102:V,105:w,106:I,109:R,111:N,113:42,114:G,115:P,116:O,121:Me,122:Ue,123:ze,124:We,125:je},{10:ie,60:re,84:ae,92:289,105:ne,107:242,108:243,109:ue,110:oe,111:le,112:ce},{10:ie,60:re,84:ae,92:290,105:ne,107:242,108:243,109:ue,110:oe,111:le,112:ce},e(z,[2,62]),e(T,[2,33]),e(B,[2,124],{106:Ne}),e(B,[2,125],{106:Ne})],defaultActions:{},parseError:g(function(c,h){if(h.recoverable)this.trace(c);else{var f=new Error(c);throw f.hash=h,f}},"parseError"),parse:g(function(c){var h=this,f=[0],u=[],F=[null],t=[],Ae=this.table,s="",v=0,O1=0,M1=0,bt=2,U1=1,kt=t.slice.call(arguments,1),M=Object.create(this.lexer),me={yy:{}};for(var e1 in this.yy)Object.prototype.hasOwnProperty.call(this.yy,e1)&&(me.yy[e1]=this.yy[e1]);M.setInput(c,me.yy),me.yy.lexer=M,me.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var t1=M.yylloc;t.push(t1);var gt=M.options&&M.options.ranges;typeof me.yy.parseError=="function"?this.parseError=me.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function At(X){f.length=f.length-2*X,F.length=F.length-X,t.length=t.length-X}g(At,"popStack");function z1(){var X;return X=u.pop()||M.lex()||U1,typeof X!="number"&&(X instanceof Array&&(u=X,X=u.pop()),X=h.symbols_[X]||X),X}g(z1,"lex");for(var Y,s1,Ce,Q,_t,i1,Ge={},qe,he,W1,Xe;;){if(Ce=f[f.length-1],this.defaultActions[Ce]?Q=this.defaultActions[Ce]:((Y===null||typeof Y>"u")&&(Y=z1()),Q=Ae[Ce]&&Ae[Ce][Y]),typeof Q>"u"||!Q.length||!Q[0]){var r1="";Xe=[];for(qe in Ae[Ce])this.terminals_[qe]&&qe>bt&&Xe.push("'"+this.terminals_[qe]+"'");M.showPosition?r1="Parse error on line "+(v+1)+`: |
| 10 | `+M.showPosition()+` |
| 11 | Expecting `+Xe.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":r1="Parse error on line "+(v+1)+": Unexpected "+(Y==U1?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(r1,{text:M.match,token:this.terminals_[Y]||Y,line:M.yylineno,loc:t1,expected:Xe})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ce+", token: "+Y);switch(Q[0]){case 1:f.push(Y),F.push(M.yytext),t.push(M.yylloc),f.push(Q[1]),Y=null,s1?(Y=s1,s1=null):(O1=M.yyleng,s=M.yytext,v=M.yylineno,t1=M.yylloc,M1>0&&M1--);break;case 2:if(he=this.productions_[Q[1]][1],Ge.$=F[F.length-he],Ge._$={first_line:t[t.length-(he||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(he||1)].first_column,last_column:t[t.length-1].last_column},gt&&(Ge._$.range=[t[t.length-(he||1)].range[0],t[t.length-1].range[1]]),i1=this.performAction.apply(Ge,[s,O1,v,me.yy,Q[1],F,t].concat(kt)),typeof i1<"u")return i1;he&&(f=f.slice(0,-1*he*2),F=F.slice(0,-1*he),t=t.slice(0,-1*he)),f.push(this.productions_[Q[1]][0]),F.push(Ge.$),t.push(Ge._$),W1=Ae[f[f.length-2]][f[f.length-1]],f.push(W1);break;case 3:return!0}}return!0},"parse")},ft=(function(){var be={EOF:1,parseError:g(function(h,f){if(this.yy.parser)this.yy.parser.parseError(h,f);else throw new Error(h)},"parseError"),setInput:g(function(c,h){return this.yy=h||this.yy||{},this._input=c,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:g(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var h=c.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:g(function(c){var h=c.length,f=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var F=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:f?(f.length===u.length?this.yylloc.first_column:0)+u[u.length-f.length].length-f[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[F[0],F[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). |
| 12 | `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:g(function(c){this.unput(this.match.slice(c))},"less"),pastInput:g(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var c=this.pastInput(),h=new Array(c.length+1).join("-");return c+this.upcomingInput()+` |
no test coverage detected