@x-cmd/draw 0.2.5 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +80 -166
  2. package/dist/lib.d.ts +27 -1
  3. package/dist/lib.js +39 -1
  4. package/dist/node/cli.js +109 -11
  5. package/dist/render/anno.d.ts +50 -0
  6. package/dist/render/anno.js +589 -0
  7. package/dist/render/arch.d.ts +106 -0
  8. package/dist/render/arch.js +1011 -0
  9. package/dist/render/archmap.d.ts +157 -0
  10. package/dist/render/archmap.js +683 -0
  11. package/dist/render/area.js +20 -14
  12. package/dist/render/bar-grouped.js +8 -5
  13. package/dist/render/bar-stacked.js +11 -7
  14. package/dist/render/bar.js +8 -3
  15. package/dist/render/butterfly.d.ts +3 -0
  16. package/dist/render/butterfly.js +355 -0
  17. package/dist/render/calendar.d.ts +6 -0
  18. package/dist/render/calendar.js +448 -0
  19. package/dist/render/combo.js +16 -8
  20. package/dist/render/compass.d.ts +6 -0
  21. package/dist/render/compass.js +77 -0
  22. package/dist/render/dispatch.js +26 -1
  23. package/dist/render/echarts-ssr.d.ts +51 -0
  24. package/dist/render/echarts-ssr.js +511 -0
  25. package/dist/render/gantt.d.ts +46 -0
  26. package/dist/render/gantt.js +415 -0
  27. package/dist/render/gantt2.d.ts +24 -0
  28. package/dist/render/gantt2.js +198 -0
  29. package/dist/render/hbar.js +8 -4
  30. package/dist/render/icons.d.ts +3 -0
  31. package/dist/render/icons.js +78 -0
  32. package/dist/render/kinds.d.ts +11 -0
  33. package/dist/render/kinds.js +176 -0
  34. package/dist/render/ladder.d.ts +21 -0
  35. package/dist/render/ladder.js +230 -0
  36. package/dist/render/layout.d.ts +46 -0
  37. package/dist/render/layout.js +57 -0
  38. package/dist/render/line-multi.js +7 -5
  39. package/dist/render/line.js +9 -5
  40. package/dist/render/maps.d.ts +46 -0
  41. package/dist/render/maps.js +237 -0
  42. package/dist/render/measure.d.ts +0 -1
  43. package/dist/render/measure.js +0 -1
  44. package/dist/render/mermaid.d.ts +30 -0
  45. package/dist/render/mermaid.js +277 -0
  46. package/dist/render/mindmap.d.ts +10 -0
  47. package/dist/render/mindmap.js +388 -0
  48. package/dist/render/orgicon.d.ts +12 -0
  49. package/dist/render/orgicon.js +31 -0
  50. package/dist/render/pie.js +1 -1
  51. package/dist/render/png.d.ts +21 -0
  52. package/dist/render/png.js +109 -0
  53. package/dist/render/quadrant.d.ts +6 -0
  54. package/dist/render/quadrant.js +201 -0
  55. package/dist/render/query.d.ts +2 -0
  56. package/dist/render/query.js +108 -1
  57. package/dist/render/route.d.ts +86 -0
  58. package/dist/render/route.js +1077 -0
  59. package/dist/render/scatter.js +87 -12
  60. package/dist/render/seq.d.ts +41 -0
  61. package/dist/render/seq.js +248 -0
  62. package/dist/render/svg.d.ts +34 -2
  63. package/dist/render/svg.js +159 -20
  64. package/dist/render/table.d.ts +30 -0
  65. package/dist/render/table.js +134 -0
  66. package/dist/render/tokei.d.ts +18 -0
  67. package/dist/render/tokei.js +230 -0
  68. package/dist/render/uc.d.ts +58 -0
  69. package/dist/render/uc.js +319 -0
  70. package/dist/render/units.d.ts +32 -0
  71. package/dist/render/units.js +84 -0
  72. package/dist/render/vendor/au.js +10 -0
  73. package/dist/render/vendor/br.js +10 -0
  74. package/dist/render/vendor/china.js +11 -0
  75. package/dist/render/vendor/de.js +10 -0
  76. package/dist/render/vendor/eu.js +10 -0
  77. package/dist/render/vendor/japan.js +10 -0
  78. package/dist/render/vendor/kr.js +10 -0
  79. package/dist/render/vendor/mermaid-flow-parser.js +1164 -0
  80. package/dist/render/vendor/mermaid-gantt-parser.js +810 -0
  81. package/dist/render/vendor/us-states.js +11 -0
  82. package/dist/render/vendor/world-geo.d.ts +22 -0
  83. package/dist/render/vendor/world-geo.js +9 -0
  84. package/dist/render/vendor/world.d.ts +13 -0
  85. package/dist/render/vendor/world.js +12 -0
  86. package/dist/specs/base.d.ts +16 -0
  87. package/dist/specs/base.js +34 -1
  88. package/dist/specs/butterfly.d.ts +46 -0
  89. package/dist/specs/butterfly.js +241 -0
  90. package/dist/specs/calendar.d.ts +90 -0
  91. package/dist/specs/calendar.js +296 -0
  92. package/dist/specs/compass.d.ts +27 -0
  93. package/dist/specs/compass.js +111 -0
  94. package/dist/specs/index.d.ts +5 -0
  95. package/dist/specs/index.js +5 -0
  96. package/dist/specs/ladder.d.ts +43 -0
  97. package/dist/specs/ladder.js +261 -0
  98. package/dist/specs/quadrant.d.ts +41 -0
  99. package/dist/specs/quadrant.js +200 -0
  100. package/dist/specs/scatter.d.ts +14 -8
  101. package/dist/specs/scatter.js +54 -5
  102. package/dist/specs/table.d.ts +24 -0
  103. package/dist/specs/table.js +154 -0
  104. package/dist/store.d.ts +1 -1
  105. package/dist/store.js +1 -1
  106. package/dist/styles/butterfly.d.ts +2 -0
  107. package/dist/styles/butterfly.js +74 -0
  108. package/dist/styles/calendar.d.ts +2 -0
  109. package/dist/styles/calendar.js +51 -0
  110. package/dist/styles/compass.d.ts +2 -0
  111. package/dist/styles/compass.js +19 -0
  112. package/dist/styles/fonts-banner.d.ts +5 -0
  113. package/dist/styles/fonts-banner.js +9 -0
  114. package/dist/styles/fonts-cjk.d.ts +2 -0
  115. package/dist/styles/fonts-cjk.js +6 -0
  116. package/dist/styles/fonts-ttf.d.ts +2 -0
  117. package/dist/styles/fonts-ttf.js +6 -0
  118. package/dist/styles/index.js +13 -0
  119. package/dist/styles/ladder.d.ts +3 -0
  120. package/dist/styles/ladder.js +66 -0
  121. package/dist/styles/quadrant.d.ts +2 -0
  122. package/dist/styles/quadrant.js +19 -0
  123. package/dist/styles/table.d.ts +2 -0
  124. package/dist/styles/table.js +12 -0
  125. package/dist/styles/types.d.ts +1 -0
  126. package/dist/styles/types.js +1 -0
  127. package/dist/theme.d.ts +1 -1
  128. package/dist/theme.js +3 -4
  129. package/dist/types/dagre.d.ts +39 -0
  130. package/dist/types/dagre.js +3 -0
  131. package/package.json +28 -3
@@ -0,0 +1,1164 @@
1
+ /* eslint-disable *//**
2
+ * mermaid flowchart 解析器(jison 编译产物,vendored)。
3
+ * 源语法: mermaid-js/mermaid packages/mermaid/src/diagrams/flowchart/parser/flow.jison
4
+ * 工具链: jison@0.4.18(mermaid 同款锁定版本): npx jison flow.jison --module js
5
+ * 再生成: 取上述 flow.jison 原样重跑命令即可;语法文件多年稳定,升级时 diff 后重编。
6
+ * 纯 JS/无 DOM/无依赖,Workers 可用。运行时需挂 yy 收集器(见 render/mermaid.ts)。
7
+ */
8
+ /* eslint-disable *//**
9
+ * mermaid flowchart 解析器(jison 编译产物,vendored)。
10
+ * 源语法: mermaid-js/mermaid packages/mermaid/src/diagrams/flowchart/parser/flow.jison
11
+ * 工具链: jison@0.4.18(mermaid 同款锁定版本): npx jison flow.jison --module js
12
+ * 再生成: 取上述 flow.jison 原样重跑命令即可;语法文件多年稳定,升级时 diff 后重编。
13
+ * 纯 JS/无 DOM/无依赖,Workers 可用。运行时需挂 yy 收集器(见 render/mermaid.ts)。
14
+ */
15
+ /* parser generated by jison 0.4.18 */
16
+ /*
17
+ Returns a Parser object of the following structure:
18
+
19
+ Parser: {
20
+ yy: {}
21
+ }
22
+
23
+ Parser.prototype: {
24
+ yy: {},
25
+ trace: function(),
26
+ symbols_: {associative list: name ==> number},
27
+ terminals_: {associative list: number ==> name},
28
+ productions_: [...],
29
+ performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
30
+ table: [...],
31
+ defaultActions: {...},
32
+ parseError: function(str, hash),
33
+ parse: function(input),
34
+
35
+ lexer: {
36
+ EOF: 1,
37
+ parseError: function(str, hash),
38
+ setInput: function(input),
39
+ input: function(),
40
+ unput: function(str),
41
+ more: function(),
42
+ less: function(n),
43
+ pastInput: function(),
44
+ upcomingInput: function(),
45
+ showPosition: function(),
46
+ test_match: function(regex_match_array, rule_index),
47
+ next: function(),
48
+ lex: function(),
49
+ begin: function(condition),
50
+ popState: function(),
51
+ _currentRules: function(),
52
+ topState: function(),
53
+ pushState: function(condition),
54
+
55
+ options: {
56
+ ranges: boolean (optional: true ==> token location info will include a .range[] member)
57
+ flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
58
+ backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)
59
+ },
60
+
61
+ performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
62
+ rules: [...],
63
+ conditions: {associative list: name ==> set},
64
+ }
65
+ }
66
+
67
+
68
+ token location info (@$, _$, etc.): {
69
+ first_line: n,
70
+ last_line: n,
71
+ first_column: n,
72
+ last_column: n,
73
+ range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)
74
+ }
75
+
76
+
77
+ the parseError function receives a 'hash' object with these members for lexer and parser errors: {
78
+ text: (matched text)
79
+ token: (the produced terminal token, if any)
80
+ line: (yylineno)
81
+ }
82
+ while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
83
+ loc: (yylloc)
84
+ expected: (string describing the set of expected tokens)
85
+ recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
86
+ }
87
+ */
88
+ var flowParser0418 = (function(){
89
+ var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,4],$V1=[1,3],$V2=[1,5],$V3=[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],$V4=[2,2],$V5=[1,13],$V6=[1,14],$V7=[1,15],$V8=[1,16],$V9=[1,23],$Va=[1,25],$Vb=[1,26],$Vc=[1,27],$Vd=[1,50],$Ve=[1,49],$Vf=[1,29],$Vg=[1,30],$Vh=[1,31],$Vi=[1,32],$Vj=[1,33],$Vk=[1,45],$Vl=[1,47],$Vm=[1,43],$Vn=[1,48],$Vo=[1,44],$Vp=[1,51],$Vq=[1,46],$Vr=[1,52],$Vs=[1,53],$Vt=[1,34],$Vu=[1,35],$Vv=[1,36],$Vw=[1,37],$Vx=[1,38],$Vy=[1,58],$Vz=[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],$VA=[1,62],$VB=[1,61],$VC=[1,63],$VD=[8,9,11,75,77,78],$VE=[1,79],$VF=[1,92],$VG=[1,97],$VH=[1,96],$VI=[1,93],$VJ=[1,89],$VK=[1,95],$VL=[1,91],$VM=[1,98],$VN=[1,94],$VO=[1,99],$VP=[1,90],$VQ=[8,9,10,11,40,75,77,78],$VR=[8,9,10,11,40,46,75,77,78],$VS=[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],$VT=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],$VU=[44,60,89,102,105,106,109,111,114,115,116],$VV=[1,122],$VW=[1,123],$VX=[1,125],$VY=[1,124],$VZ=[44,60,62,74,89,102,105,106,109,111,114,115,116],$V_=[1,134],$V$=[1,148],$V01=[1,149],$V11=[1,150],$V21=[1,151],$V31=[1,136],$V41=[1,138],$V51=[1,142],$V61=[1,143],$V71=[1,144],$V81=[1,145],$V91=[1,146],$Va1=[1,147],$Vb1=[1,152],$Vc1=[1,153],$Vd1=[1,132],$Ve1=[1,133],$Vf1=[1,140],$Vg1=[1,135],$Vh1=[1,139],$Vi1=[1,137],$Vj1=[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],$Vk1=[1,155],$Vl1=[1,157],$Vm1=[8,9,11],$Vn1=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],$Vo1=[1,177],$Vp1=[1,173],$Vq1=[1,174],$Vr1=[1,178],$Vs1=[1,175],$Vt1=[1,176],$Vu1=[77,116,119],$Vv1=[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],$Vw1=[1,205],$Vx1=[10,106],$Vy1=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],$Vz1=[1,249],$VA1=[1,247],$VB1=[1,251],$VC1=[1,245],$VD1=[1,246],$VE1=[1,248],$VF1=[1,250],$VG1=[1,252],$VH1=[1,270],$VI1=[8,9,11,106],$VJ1=[8,9,10,11,60,84,105,106,109,110,111,112];
90
+ var parser = {trace: function trace () { },
91
+ yy: {},
92
+ 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},
93
+ 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"},
94
+ 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,5],[20,3],[20,4],[20,2],[20,2],[20,3],[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]],
95
+ performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
96
+ /* this == yyval */
97
+
98
+ var $0 = $$.length - 1;
99
+ switch (yystate) {
100
+ case 2:
101
+ this.$ = [];
102
+ break;
103
+ case 3:
104
+
105
+ if(!Array.isArray($$[$0]) || $$[$0].length > 0){
106
+ $$[$0-1].push($$[$0]);
107
+ }
108
+ this.$=$$[$0-1];
109
+ break;
110
+ case 4: case 185:
111
+ this.$=$$[$0];
112
+ break;
113
+ case 11:
114
+ yy.setDirection('TB');this.$ = 'TB';
115
+ break;
116
+ case 12:
117
+ yy.setDirection($$[$0-1]);this.$ = $$[$0-1];
118
+ break;
119
+ case 27:
120
+ this.$=$$[$0-1].nodes
121
+ break;
122
+ case 28: case 29: case 30: case 31: case 32:
123
+ this.$=[];
124
+ break;
125
+ case 33:
126
+ this.$=yy.addSubGraph($$[$0-6],$$[$0-1],$$[$0-4]);
127
+ break;
128
+ case 34:
129
+ this.$=yy.addSubGraph($$[$0-3],$$[$0-1],$$[$0-3]);
130
+ break;
131
+ case 35:
132
+ this.$=yy.addSubGraph(undefined,$$[$0-1],undefined);
133
+ break;
134
+ case 37:
135
+ this.$=$$[$0].trim();yy.setAccTitle(this.$);
136
+ break;
137
+ case 38: case 39:
138
+ this.$=$$[$0].trim();yy.setAccDescription(this.$);
139
+ break;
140
+ case 43:
141
+ this.$ = $$[$0-1] + $$[$0];
142
+ break;
143
+ case 44:
144
+ this.$ = $$[$0];
145
+ break;
146
+ case 45:
147
+ /* console.warn('vs shapeData',$$[$0-3].stmt,$$[$0-1], $$[$0]);*/ yy.addVertex($$[$0-1][$$[$0-1].length-1],undefined,undefined,undefined, undefined,undefined, undefined,$$[$0]); yy.addLink($$[$0-3].stmt,$$[$0-1],$$[$0-2]); this.$ = { stmt: $$[$0-1], nodes: $$[$0-1].concat($$[$0-3].nodes) }
148
+ break;
149
+ case 46:
150
+ /* console.warn('vs shapeData',$$[$0-4].stmt,$$[$0-2], $$[$0-1]);*/ yy.addVertex($$[$0-2][$$[$0-2].length-1],undefined,undefined,undefined, undefined,undefined, undefined,$$[$0-1]); yy.addLink($$[$0-4].stmt,$$[$0-2],$$[$0-3]); this.$ = { stmt: $$[$0-2], nodes: $$[$0-2].concat($$[$0-4].nodes) }
151
+ break;
152
+ case 47:
153
+ /*console.warn('vs',$$[$0-2].stmt,$$[$0]);*/ yy.addLink($$[$0-2].stmt,$$[$0],$$[$0-1]); this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0-2].nodes) }
154
+ break;
155
+ case 48:
156
+ /* console.warn('vs',$$[$0-3].stmt,$$[$0-1]); */ yy.addLink($$[$0-3].stmt,$$[$0-1],$$[$0-2]); this.$ = { stmt: $$[$0-1], nodes: $$[$0-1].concat($$[$0-3].nodes) }
157
+ break;
158
+ case 49:
159
+ /*console.warn('vertexStatement: node spaceList', $$[$0-1]);*/ this.$ = {stmt: $$[$0-1], nodes:$$[$0-1] }
160
+ break;
161
+ case 50:
162
+
163
+ /*console.warn('vertexStatement: node shapeData', $$[$0-1][0], $$[$0]);*/
164
+ yy.addVertex($$[$0-1][$$[$0-1].length-1],undefined,undefined,undefined, undefined,undefined, undefined,$$[$0]);
165
+ this.$ = {stmt: $$[$0-1], nodes:$$[$0-1], shapeData: $$[$0]}
166
+
167
+ break;
168
+ case 51:
169
+
170
+ /*console.warn('vertexStatement: node shapeData', $$[$0-2][0], $$[$0-1]);*/
171
+ yy.addVertex($$[$0-2][$$[$0-2].length-1],undefined,undefined,undefined, undefined,undefined, undefined,$$[$0-1]);
172
+ this.$ = {stmt: $$[$0-2], nodes:$$[$0-2], shapeData: $$[$0-1]}
173
+
174
+ break;
175
+ case 52:
176
+ /* console.warn('vertexStatement: single node', $$[$0]); */ this.$ = {stmt: $$[$0], nodes:$$[$0] }
177
+ break;
178
+ case 53:
179
+ /*console.warn('nod', $$[$0]);*/ this.$ = [$$[$0]];
180
+ break;
181
+ case 54:
182
+ yy.addVertex($$[$0-5][$$[$0-5].length-1],undefined,undefined,undefined, undefined,undefined, undefined,$$[$0-4]); this.$ = $$[$0-5].concat($$[$0]); /*console.warn('pip2', $$[$0-5][0], $$[$0], this.$);*/
183
+ break;
184
+ case 55:
185
+ this.$ = $$[$0-4].concat($$[$0]); /*console.warn('pip', $$[$0-4][0], $$[$0], this.$);*/
186
+ break;
187
+ case 56:
188
+ /* console.warn('nodc', $$[$0]);*/ this.$ = $$[$0];
189
+ break;
190
+ case 57:
191
+ this.$ = $$[$0-2];yy.setClass($$[$0-2],$$[$0])
192
+ break;
193
+ case 58:
194
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'square');
195
+ break;
196
+ case 59:
197
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'doublecircle');
198
+ break;
199
+ case 60:
200
+ this.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'circle');
201
+ break;
202
+ case 61:
203
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'ellipse');
204
+ break;
205
+ case 62:
206
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'stadium');
207
+ break;
208
+ case 63:
209
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'subroutine');
210
+ break;
211
+ case 64:
212
+ this.$ = $$[$0-7];yy.addVertex($$[$0-7],$$[$0-1],'rect',undefined,undefined,undefined, Object.fromEntries([[$$[$0-5], $$[$0-3]]]));
213
+ break;
214
+ case 65:
215
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'cylinder');
216
+ break;
217
+ case 66:
218
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'round');
219
+ break;
220
+ case 67:
221
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'diamond');
222
+ break;
223
+ case 68:
224
+ this.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'hexagon');
225
+ break;
226
+ case 69:
227
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'odd');
228
+ break;
229
+ case 70:
230
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'trapezoid');
231
+ break;
232
+ case 71:
233
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'inv_trapezoid');
234
+ break;
235
+ case 72:
236
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_right');
237
+ break;
238
+ case 73:
239
+ this.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_left');
240
+ break;
241
+ case 74:
242
+ /*console.warn('h: ', $$[$0]);*/this.$ = $$[$0];yy.addVertex($$[$0]);
243
+ break;
244
+ case 75:
245
+ $$[$0-1].text = $$[$0];this.$ = $$[$0-1];
246
+ break;
247
+ case 76: case 77:
248
+ $$[$0-2].text = $$[$0-1];this.$ = $$[$0-2];
249
+ break;
250
+ case 78:
251
+ this.$ = $$[$0];
252
+ break;
253
+ case 79:
254
+ var inf = yy.destructLink($$[$0], $$[$0-2]); this.$ = {"type":inf.type,"stroke":inf.stroke,"length":inf.length,"text":$$[$0-1]};
255
+ break;
256
+ case 80:
257
+ var inf = yy.destructLink($$[$0], $$[$0-2]); this.$ = {"type":inf.type,"stroke":inf.stroke,"length":inf.length,"text":$$[$0-1], "id": $$[$0-3]};
258
+ break;
259
+ case 81:
260
+ this.$={text:$$[$0], type:'text'};
261
+ break;
262
+ case 82:
263
+ this.$={text:$$[$0-1].text+''+$$[$0], type:$$[$0-1].type};
264
+ break;
265
+ case 83:
266
+ this.$={text: $$[$0], type: 'string'};
267
+ break;
268
+ case 84:
269
+ this.$={text:$$[$0], type:'markdown'};
270
+ break;
271
+ case 85:
272
+ var inf = yy.destructLink($$[$0]);this.$ = {"type":inf.type,"stroke":inf.stroke,"length":inf.length};
273
+ break;
274
+ case 86:
275
+ var inf = yy.destructLink($$[$0]);this.$ = {"type":inf.type,"stroke":inf.stroke,"length":inf.length, "id": $$[$0-1]};
276
+ break;
277
+ case 87:
278
+ this.$ = $$[$0-1];
279
+ break;
280
+ case 88:
281
+ this.$={text:$$[$0], type: 'text'};
282
+ break;
283
+ case 89:
284
+ this.$={text:$$[$0-1].text+''+$$[$0], type: $$[$0-1].type};
285
+ break;
286
+ case 90:
287
+ this.$ = {text: $$[$0], type: 'string'};
288
+ break;
289
+ case 91: case 106:
290
+ this.$={text: $$[$0], type: 'markdown'};
291
+ break;
292
+ case 103:
293
+ this.$={text:$$[$0], type: 'text'};
294
+ break;
295
+ case 104:
296
+ this.$={text:$$[$0-1].text+''+$$[$0], type: $$[$0-1].type};
297
+ break;
298
+ case 105:
299
+ this.$={text: $$[$0], type: 'text'};
300
+ break;
301
+ case 107:
302
+ this.$ = $$[$0-4];yy.addClass($$[$0-2],$$[$0]);
303
+ break;
304
+ case 108:
305
+ this.$ = $$[$0-4];yy.setClass($$[$0-2], $$[$0]);
306
+ break;
307
+ case 109: case 117:
308
+ this.$ = $$[$0-1];yy.setClickEvent($$[$0-1], $$[$0]);
309
+ break;
310
+ case 110: case 118:
311
+ this.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-2]);yy.setTooltip($$[$0-3], $$[$0]);
312
+ break;
313
+ case 111:
314
+ this.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);
315
+ break;
316
+ case 112:
317
+ this.$ = $$[$0-4];yy.setClickEvent($$[$0-4], $$[$0-3], $$[$0-2]);yy.setTooltip($$[$0-4], $$[$0]);
318
+ break;
319
+ case 113:
320
+ this.$ = $$[$0-2];yy.setLink($$[$0-2], $$[$0]);
321
+ break;
322
+ case 114:
323
+ this.$ = $$[$0-4];yy.setLink($$[$0-4], $$[$0-2]);yy.setTooltip($$[$0-4], $$[$0]);
324
+ break;
325
+ case 115:
326
+ this.$ = $$[$0-4];yy.setLink($$[$0-4], $$[$0-2], $$[$0]);
327
+ break;
328
+ case 116:
329
+ this.$ = $$[$0-6];yy.setLink($$[$0-6], $$[$0-4], $$[$0]);yy.setTooltip($$[$0-6], $$[$0-2]);
330
+ break;
331
+ case 119:
332
+ this.$ = $$[$0-1];yy.setLink($$[$0-1], $$[$0]);
333
+ break;
334
+ case 120:
335
+ this.$ = $$[$0-3];yy.setLink($$[$0-3], $$[$0-2]);yy.setTooltip($$[$0-3], $$[$0]);
336
+ break;
337
+ case 121:
338
+ this.$ = $$[$0-3];yy.setLink($$[$0-3], $$[$0-2], $$[$0]);
339
+ break;
340
+ case 122:
341
+ this.$ = $$[$0-5];yy.setLink($$[$0-5], $$[$0-4], $$[$0]);yy.setTooltip($$[$0-5], $$[$0-2]);
342
+ break;
343
+ case 123:
344
+ this.$ = $$[$0-4];yy.addVertex($$[$0-2],undefined,undefined,$$[$0]);
345
+ break;
346
+ case 124:
347
+ this.$ = $$[$0-4];yy.updateLink([$$[$0-2]],$$[$0]);
348
+ break;
349
+ case 125:
350
+ this.$ = $$[$0-4];yy.updateLink($$[$0-2],$$[$0]);
351
+ break;
352
+ case 126:
353
+ this.$ = $$[$0-8];yy.updateLinkInterpolate([$$[$0-6]],$$[$0-2]);yy.updateLink([$$[$0-6]],$$[$0]);
354
+ break;
355
+ case 127:
356
+ this.$ = $$[$0-8];yy.updateLinkInterpolate($$[$0-6],$$[$0-2]);yy.updateLink($$[$0-6],$$[$0]);
357
+ break;
358
+ case 128:
359
+ this.$ = $$[$0-6];yy.updateLinkInterpolate([$$[$0-4]],$$[$0]);
360
+ break;
361
+ case 129:
362
+ this.$ = $$[$0-6];yy.updateLinkInterpolate($$[$0-4],$$[$0]);
363
+ break;
364
+ case 130: case 132:
365
+ this.$ = [$$[$0]]
366
+ break;
367
+ case 131: case 133:
368
+ $$[$0-2].push($$[$0]);this.$ = $$[$0-2];
369
+ break;
370
+ case 135:
371
+ this.$ = $$[$0-1] + $$[$0];
372
+ break;
373
+ case 183:
374
+ this.$=$$[$0]
375
+ break;
376
+ case 184:
377
+ this.$=$$[$0-1]+''+$$[$0]
378
+ break;
379
+ case 186:
380
+ this.$=$$[$0-1]+''+$$[$0];
381
+ break;
382
+ case 187:
383
+ this.$={stmt:'dir', value:'TB'};
384
+ break;
385
+ case 188:
386
+ this.$={stmt:'dir', value:'BT'};
387
+ break;
388
+ case 189:
389
+ this.$={stmt:'dir', value:'RL'};
390
+ break;
391
+ case 190:
392
+ this.$={stmt:'dir', value:'LR'};
393
+ break;
394
+ case 191:
395
+ this.$={stmt:'dir', value:'TD'};
396
+ break;
397
+ }
398
+ },
399
+ table: [{3:1,4:2,9:$V0,10:$V1,12:$V2},{1:[3]},o($V3,$V4,{5:6}),{4:7,9:$V0,10:$V1,12:$V2},{4:8,9:$V0,10:$V1,12:$V2},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:$V5,9:$V6,10:$V7,11:$V8,20:17,22:18,23:19,24:20,25:21,26:22,27:$V9,33:24,34:$Va,36:$Vb,38:$Vc,42:28,43:39,44:$Vd,45:40,47:41,60:$Ve,84:$Vf,85:$Vg,86:$Vh,87:$Vi,88:$Vj,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs,121:$Vt,122:$Vu,123:$Vv,124:$Vw,125:$Vx},o($V3,[2,9]),o($V3,[2,10]),o($V3,[2,11]),{8:[1,55],9:[1,56],10:$Vy,15:54,18:57},o($Vz,[2,3]),o($Vz,[2,4]),o($Vz,[2,5]),o($Vz,[2,6]),o($Vz,[2,7]),o($Vz,[2,8]),{8:$VA,9:$VB,11:$VC,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:$VA,9:$VB,11:$VC,21:68},{8:$VA,9:$VB,11:$VC,21:69},{8:$VA,9:$VB,11:$VC,21:70},{8:$VA,9:$VB,11:$VC,21:71},{8:$VA,9:$VB,11:$VC,21:72},{8:$VA,9:$VB,10:[1,73],11:$VC,21:74},o($Vz,[2,36]),{35:[1,75]},{37:[1,76]},o($Vz,[2,39]),o($VD,[2,52],{18:77,39:78,10:$Vy,40:$VE}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:$VF,44:$VG,60:$VH,80:[1,87],89:$VI,95:[1,84],97:[1,85],101:86,105:$VJ,106:$VK,109:$VL,111:$VM,114:$VN,115:$VO,116:$VP,120:88},o($Vz,[2,187]),o($Vz,[2,188]),o($Vz,[2,189]),o($Vz,[2,190]),o($Vz,[2,191]),o($VQ,[2,53]),o($VQ,[2,56],{46:[1,100]}),o($VR,[2,74],{113:113,29:[1,101],44:$Vd,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:$Ve,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,114:$Vq,115:$Vr,116:$Vs}),o($VS,[2,183]),o($VS,[2,144]),o($VS,[2,145]),o($VS,[2,146]),o($VS,[2,147]),o($VS,[2,148]),o($VS,[2,149]),o($VS,[2,150]),o($VS,[2,151]),o($VS,[2,152]),o($VS,[2,153]),o($VS,[2,154]),o($V3,[2,12]),o($V3,[2,18]),o($V3,[2,19]),{9:[1,114]},o($VT,[2,26],{18:115,10:$Vy}),o($Vz,[2,27]),{42:116,43:39,44:$Vd,45:40,47:41,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},o($Vz,[2,40]),o($Vz,[2,41]),o($Vz,[2,42]),o($VU,[2,78],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:$VV,81:$VW,116:$VX,119:$VY},{75:[1,126],77:[1,127]},o($VZ,[2,85]),o($Vz,[2,28]),o($Vz,[2,29]),o($Vz,[2,30]),o($Vz,[2,31]),o($Vz,[2,32]),{10:$V_,12:$V$,14:$V01,27:$V11,28:128,32:$V21,44:$V31,60:$V41,75:$V51,80:[1,130],81:[1,131],83:141,84:$V61,85:$V71,86:$V81,87:$V91,88:$Va1,89:$Vb1,90:$Vc1,91:129,105:$Vd1,109:$Ve1,111:$Vf1,114:$Vg1,115:$Vh1,116:$Vi1},o($Vj1,$V4,{5:154}),o($Vz,[2,37]),o($Vz,[2,38]),o($VD,[2,49],{44:$Vk1}),o($VD,[2,50],{18:156,10:$Vy,40:$Vl1}),o($VQ,[2,44]),{44:$Vd,47:158,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},{102:[1,159],103:160,105:[1,161]},{44:$Vd,47:162,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},{44:$Vd,47:163,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},o($Vm1,[2,109],{10:[1,164],96:[1,165]}),{80:[1,166]},o($Vm1,[2,117],{120:168,10:[1,167],14:$VF,44:$VG,60:$VH,89:$VI,105:$VJ,106:$VK,109:$VL,111:$VM,114:$VN,115:$VO,116:$VP}),o($Vm1,[2,119],{10:[1,169]}),o($Vn1,[2,185]),o($Vn1,[2,172]),o($Vn1,[2,173]),o($Vn1,[2,174]),o($Vn1,[2,175]),o($Vn1,[2,176]),o($Vn1,[2,177]),o($Vn1,[2,178]),o($Vn1,[2,179]),o($Vn1,[2,180]),o($Vn1,[2,181]),o($Vn1,[2,182]),{44:$Vd,47:170,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},{30:171,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:179,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:181,50:[1,180],67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:182,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:183,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:184,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{109:[1,185]},{30:186,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:187,65:[1,188],67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:189,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:190,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{30:191,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},o($VS,[2,184]),o($V3,[2,20]),o($VT,[2,25]),o($VD,[2,47],{39:192,18:193,10:$Vy,40:$VE}),o($VU,[2,75],{10:[1,194]}),{10:[1,195]},{30:196,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{77:[1,197],79:198,116:$VX,119:$VY},o($Vu1,[2,81]),o($Vu1,[2,83]),o($Vu1,[2,84]),o($Vu1,[2,170]),o($Vu1,[2,171]),{76:199,79:121,80:$VV,81:$VW,116:$VX,119:$VY},o($VZ,[2,86]),{8:$VA,9:$VB,10:$V_,11:$VC,12:$V$,14:$V01,21:201,27:$V11,29:[1,200],32:$V21,44:$V31,60:$V41,75:$V51,83:141,84:$V61,85:$V71,86:$V81,87:$V91,88:$Va1,89:$Vb1,90:$Vc1,91:202,105:$Vd1,109:$Ve1,111:$Vf1,114:$Vg1,115:$Vh1,116:$Vi1},o($Vv1,[2,103]),o($Vv1,[2,105]),o($Vv1,[2,106]),o($Vv1,[2,159]),o($Vv1,[2,160]),o($Vv1,[2,161]),o($Vv1,[2,162]),o($Vv1,[2,163]),o($Vv1,[2,164]),o($Vv1,[2,165]),o($Vv1,[2,166]),o($Vv1,[2,167]),o($Vv1,[2,168]),o($Vv1,[2,169]),o($Vv1,[2,92]),o($Vv1,[2,93]),o($Vv1,[2,94]),o($Vv1,[2,95]),o($Vv1,[2,96]),o($Vv1,[2,97]),o($Vv1,[2,98]),o($Vv1,[2,99]),o($Vv1,[2,100]),o($Vv1,[2,101]),o($Vv1,[2,102]),{6:11,7:12,8:$V5,9:$V6,10:$V7,11:$V8,20:17,22:18,23:19,24:20,25:21,26:22,27:$V9,32:[1,203],33:24,34:$Va,36:$Vb,38:$Vc,42:28,43:39,44:$Vd,45:40,47:41,60:$Ve,84:$Vf,85:$Vg,86:$Vh,87:$Vi,88:$Vj,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs,121:$Vt,122:$Vu,123:$Vv,124:$Vw,125:$Vx},{10:$Vy,18:204},o($VD,[2,51],{44:$Vw1}),o($VQ,[2,43]),{10:[1,206],44:$Vd,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:113,114:$Vq,115:$Vr,116:$Vs},{10:[1,207]},{10:[1,208],106:[1,209]},o($Vx1,[2,130]),{10:[1,210],44:$Vd,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:113,114:$Vq,115:$Vr,116:$Vs},{10:[1,211],44:$Vd,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:113,114:$Vq,115:$Vr,116:$Vs},{80:[1,212]},o($Vm1,[2,111],{10:[1,213]}),o($Vm1,[2,113],{10:[1,214]}),{80:[1,215]},o($Vn1,[2,186]),{80:[1,216],98:[1,217]},o($VQ,[2,57],{113:113,44:$Vd,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,114:$Vq,115:$Vr,116:$Vs}),{31:[1,218],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},o($Vy1,[2,88]),o($Vy1,[2,90]),o($Vy1,[2,91]),o($Vy1,[2,155]),o($Vy1,[2,156]),o($Vy1,[2,157]),o($Vy1,[2,158]),{49:[1,220],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{30:221,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{51:[1,222],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{53:[1,223],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{55:[1,224],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{57:[1,225],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{60:[1,226]},{64:[1,227],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{66:[1,228],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{30:229,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},{31:[1,230],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{67:$Vo1,69:[1,231],71:[1,232],82:219,116:$Vr1,117:$Vs1,118:$Vt1},{67:$Vo1,69:[1,234],71:[1,233],82:219,116:$Vr1,117:$Vs1,118:$Vt1},o($VD,[2,45],{18:235,10:$Vy,40:$Vl1}),o($VD,[2,48],{44:$Vk1}),o($VU,[2,77]),o($VU,[2,76]),{62:[1,236],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},o($VU,[2,79]),o($Vu1,[2,82]),{77:[1,237],79:198,116:$VX,119:$VY},{30:238,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},o($Vj1,$V4,{5:239}),o($Vv1,[2,104]),o($Vz,[2,35]),{43:240,44:$Vd,45:40,47:41,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},{10:$Vy,18:241},{10:$Vz1,60:$VA1,84:$VB1,92:242,105:$VC1,107:243,108:244,109:$VD1,110:$VE1,111:$VF1,112:$VG1},{10:$Vz1,60:$VA1,84:$VB1,92:253,104:[1,254],105:$VC1,107:243,108:244,109:$VD1,110:$VE1,111:$VF1,112:$VG1},{10:$Vz1,60:$VA1,84:$VB1,92:255,104:[1,256],105:$VC1,107:243,108:244,109:$VD1,110:$VE1,111:$VF1,112:$VG1},{105:[1,257]},{10:$Vz1,60:$VA1,84:$VB1,92:258,105:$VC1,107:243,108:244,109:$VD1,110:$VE1,111:$VF1,112:$VG1},{44:$Vd,47:259,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},o($Vm1,[2,110]),{80:[1,260]},{80:[1,261],98:[1,262]},o($Vm1,[2,118]),o($Vm1,[2,120],{10:[1,263]}),o($Vm1,[2,121]),o($VR,[2,58]),o($Vy1,[2,89]),o($VR,[2,59]),{51:[1,264],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},o($VR,[2,66]),o($VR,[2,61]),o($VR,[2,62]),o($VR,[2,63]),{109:[1,265]},o($VR,[2,65]),o($VR,[2,67]),{66:[1,266],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},o($VR,[2,69]),o($VR,[2,70]),o($VR,[2,72]),o($VR,[2,71]),o($VR,[2,73]),o($VD,[2,46],{44:$Vw1}),o([10,44,60,89,102,105,106,109,111,114,115,116],[2,87]),o($VU,[2,80]),{31:[1,267],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{6:11,7:12,8:$V5,9:$V6,10:$V7,11:$V8,20:17,22:18,23:19,24:20,25:21,26:22,27:$V9,32:[1,268],33:24,34:$Va,36:$Vb,38:$Vc,42:28,43:39,44:$Vd,45:40,47:41,60:$Ve,84:$Vf,85:$Vg,86:$Vh,87:$Vi,88:$Vj,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs,121:$Vt,122:$Vu,123:$Vv,124:$Vw,125:$Vx},o($VQ,[2,55]),{43:269,44:$Vd,45:40,47:41,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs},o($Vm1,[2,123],{106:$VH1}),o($VI1,[2,132],{108:271,10:$Vz1,60:$VA1,84:$VB1,105:$VC1,109:$VD1,110:$VE1,111:$VF1,112:$VG1}),o($VJ1,[2,134]),o($VJ1,[2,136]),o($VJ1,[2,137]),o($VJ1,[2,138]),o($VJ1,[2,139]),o($VJ1,[2,140]),o($VJ1,[2,141]),o($VJ1,[2,142]),o($VJ1,[2,143]),o($Vm1,[2,124],{106:$VH1}),{10:[1,272]},o($Vm1,[2,125],{106:$VH1}),{10:[1,273]},o($Vx1,[2,131]),o($Vm1,[2,107],{106:$VH1}),o($Vm1,[2,108],{113:113,44:$Vd,60:$Ve,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,114:$Vq,115:$Vr,116:$Vs}),o($Vm1,[2,112]),o($Vm1,[2,114],{10:[1,274]}),o($Vm1,[2,115]),{98:[1,275]},{51:[1,276]},{62:[1,277]},{66:[1,278]},{8:$VA,9:$VB,11:$VC,21:279},o($Vz,[2,34]),o($VQ,[2,54]),{10:$Vz1,60:$VA1,84:$VB1,105:$VC1,107:280,108:244,109:$VD1,110:$VE1,111:$VF1,112:$VG1},o($VJ1,[2,135]),{14:$VF,44:$VG,60:$VH,89:$VI,101:281,105:$VJ,106:$VK,109:$VL,111:$VM,114:$VN,115:$VO,116:$VP,120:88},{14:$VF,44:$VG,60:$VH,89:$VI,101:282,105:$VJ,106:$VK,109:$VL,111:$VM,114:$VN,115:$VO,116:$VP,120:88},{98:[1,283]},o($Vm1,[2,122]),o($VR,[2,60]),{30:284,67:$Vo1,80:$Vp1,81:$Vq1,82:172,116:$Vr1,117:$Vs1,118:$Vt1},o($VR,[2,68]),o($Vj1,$V4,{5:285}),o($VI1,[2,133],{108:271,10:$Vz1,60:$VA1,84:$VB1,105:$VC1,109:$VD1,110:$VE1,111:$VF1,112:$VG1}),o($Vm1,[2,128],{120:168,10:[1,286],14:$VF,44:$VG,60:$VH,89:$VI,105:$VJ,106:$VK,109:$VL,111:$VM,114:$VN,115:$VO,116:$VP}),o($Vm1,[2,129],{120:168,10:[1,287],14:$VF,44:$VG,60:$VH,89:$VI,105:$VJ,106:$VK,109:$VL,111:$VM,114:$VN,115:$VO,116:$VP}),o($Vm1,[2,116]),{31:[1,288],67:$Vo1,82:219,116:$Vr1,117:$Vs1,118:$Vt1},{6:11,7:12,8:$V5,9:$V6,10:$V7,11:$V8,20:17,22:18,23:19,24:20,25:21,26:22,27:$V9,32:[1,289],33:24,34:$Va,36:$Vb,38:$Vc,42:28,43:39,44:$Vd,45:40,47:41,60:$Ve,84:$Vf,85:$Vg,86:$Vh,87:$Vi,88:$Vj,89:$Vk,102:$Vl,105:$Vm,106:$Vn,109:$Vo,111:$Vp,113:42,114:$Vq,115:$Vr,116:$Vs,121:$Vt,122:$Vu,123:$Vv,124:$Vw,125:$Vx},{10:$Vz1,60:$VA1,84:$VB1,92:290,105:$VC1,107:243,108:244,109:$VD1,110:$VE1,111:$VF1,112:$VG1},{10:$Vz1,60:$VA1,84:$VB1,92:291,105:$VC1,107:243,108:244,109:$VD1,110:$VE1,111:$VF1,112:$VG1},o($VR,[2,64]),o($Vz,[2,33]),o($Vm1,[2,126],{106:$VH1}),o($Vm1,[2,127],{106:$VH1})],
400
+ defaultActions: {},
401
+ parseError: function parseError (str, hash) {
402
+ if (hash.recoverable) {
403
+ this.trace(str);
404
+ } else {
405
+ var error = new Error(str);
406
+ error.hash = hash;
407
+ throw error;
408
+ }
409
+ },
410
+ parse: function parse(input) {
411
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
412
+ var args = lstack.slice.call(arguments, 1);
413
+ var lexer = Object.create(this.lexer);
414
+ var sharedState = { yy: {} };
415
+ for (var k in this.yy) {
416
+ if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
417
+ sharedState.yy[k] = this.yy[k];
418
+ }
419
+ }
420
+ lexer.setInput(input, sharedState.yy);
421
+ sharedState.yy.lexer = lexer;
422
+ sharedState.yy.parser = this;
423
+ if (typeof lexer.yylloc == 'undefined') {
424
+ lexer.yylloc = {};
425
+ }
426
+ var yyloc = lexer.yylloc;
427
+ lstack.push(yyloc);
428
+ var ranges = lexer.options && lexer.options.ranges;
429
+ if (typeof sharedState.yy.parseError === 'function') {
430
+ this.parseError = sharedState.yy.parseError;
431
+ } else {
432
+ this.parseError = Object.getPrototypeOf(this).parseError;
433
+ }
434
+ function popStack(n) {
435
+ stack.length = stack.length - 2 * n;
436
+ vstack.length = vstack.length - n;
437
+ lstack.length = lstack.length - n;
438
+ }
439
+ var lex = function () {
440
+ var token;
441
+ token = lexer.lex() || EOF;
442
+ if (typeof token !== 'number') {
443
+ token = self.symbols_[token] || token;
444
+ }
445
+ return token;
446
+ };
447
+ var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
448
+ while (true) {
449
+ state = stack[stack.length - 1];
450
+ if (this.defaultActions[state]) {
451
+ action = this.defaultActions[state];
452
+ } else {
453
+ if (symbol === null || typeof symbol == 'undefined') {
454
+ symbol = lex();
455
+ }
456
+ action = table[state] && table[state][symbol];
457
+ }
458
+ if (typeof action === 'undefined' || !action.length || !action[0]) {
459
+ var errStr = '';
460
+ expected = [];
461
+ for (p in table[state]) {
462
+ if (this.terminals_[p] && p > TERROR) {
463
+ expected.push('\'' + this.terminals_[p] + '\'');
464
+ }
465
+ }
466
+ if (lexer.showPosition) {
467
+ errStr = 'Parse error on line ' + (yylineno + 1) + ':\n' + lexer.showPosition() + '\nExpecting ' + expected.join(', ') + ', got \'' + (this.terminals_[symbol] || symbol) + '\'';
468
+ } else {
469
+ errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\'' + (this.terminals_[symbol] || symbol) + '\'');
470
+ }
471
+ this.parseError(errStr, {
472
+ text: lexer.match,
473
+ token: this.terminals_[symbol] || symbol,
474
+ line: lexer.yylineno,
475
+ loc: yyloc,
476
+ expected: expected
477
+ });
478
+ }
479
+ if (action[0] instanceof Array && action.length > 1) {
480
+ throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);
481
+ }
482
+ switch (action[0]) {
483
+ case 1:
484
+ stack.push(symbol);
485
+ vstack.push(lexer.yytext);
486
+ lstack.push(lexer.yylloc);
487
+ stack.push(action[1]);
488
+ symbol = null;
489
+ if (!preErrorSymbol) {
490
+ yyleng = lexer.yyleng;
491
+ yytext = lexer.yytext;
492
+ yylineno = lexer.yylineno;
493
+ yyloc = lexer.yylloc;
494
+ if (recovering > 0) {
495
+ recovering--;
496
+ }
497
+ } else {
498
+ symbol = preErrorSymbol;
499
+ preErrorSymbol = null;
500
+ }
501
+ break;
502
+ case 2:
503
+ len = this.productions_[action[1]][1];
504
+ yyval.$ = vstack[vstack.length - len];
505
+ yyval._$ = {
506
+ first_line: lstack[lstack.length - (len || 1)].first_line,
507
+ last_line: lstack[lstack.length - 1].last_line,
508
+ first_column: lstack[lstack.length - (len || 1)].first_column,
509
+ last_column: lstack[lstack.length - 1].last_column
510
+ };
511
+ if (ranges) {
512
+ yyval._$.range = [
513
+ lstack[lstack.length - (len || 1)].range[0],
514
+ lstack[lstack.length - 1].range[1]
515
+ ];
516
+ }
517
+ r = this.performAction.apply(yyval, [
518
+ yytext,
519
+ yyleng,
520
+ yylineno,
521
+ sharedState.yy,
522
+ action[1],
523
+ vstack,
524
+ lstack
525
+ ].concat(args));
526
+ if (typeof r !== 'undefined') {
527
+ return r;
528
+ }
529
+ if (len) {
530
+ stack = stack.slice(0, -1 * len * 2);
531
+ vstack = vstack.slice(0, -1 * len);
532
+ lstack = lstack.slice(0, -1 * len);
533
+ }
534
+ stack.push(this.productions_[action[1]][0]);
535
+ vstack.push(yyval.$);
536
+ lstack.push(yyval._$);
537
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
538
+ stack.push(newState);
539
+ break;
540
+ case 3:
541
+ return true;
542
+ }
543
+ }
544
+ return true;
545
+ }};
546
+
547
+ /* generated by jison-lex 0.3.4 */
548
+ var lexer = (function(){
549
+ var lexer = ({
550
+
551
+ EOF:1,
552
+
553
+ parseError:function parseError(str, hash) {
554
+ if (this.yy.parser) {
555
+ this.yy.parser.parseError(str, hash);
556
+ } else {
557
+ throw new Error(str);
558
+ }
559
+ },
560
+
561
+ // resets the lexer, sets new input
562
+ setInput:function (input, yy) {
563
+ this.yy = yy || this.yy || {};
564
+ this._input = input;
565
+ this._more = this._backtrack = this.done = false;
566
+ this.yylineno = this.yyleng = 0;
567
+ this.yytext = this.matched = this.match = '';
568
+ this.conditionStack = ['INITIAL'];
569
+ this.yylloc = {
570
+ first_line: 1,
571
+ first_column: 0,
572
+ last_line: 1,
573
+ last_column: 0
574
+ };
575
+ if (this.options.ranges) {
576
+ this.yylloc.range = [0,0];
577
+ }
578
+ this.offset = 0;
579
+ return this;
580
+ },
581
+
582
+ // consumes and returns one char from the input
583
+ input:function () {
584
+ var ch = this._input[0];
585
+ this.yytext += ch;
586
+ this.yyleng++;
587
+ this.offset++;
588
+ this.match += ch;
589
+ this.matched += ch;
590
+ var lines = ch.match(/(?:\r\n?|\n).*/g);
591
+ if (lines) {
592
+ this.yylineno++;
593
+ this.yylloc.last_line++;
594
+ } else {
595
+ this.yylloc.last_column++;
596
+ }
597
+ if (this.options.ranges) {
598
+ this.yylloc.range[1]++;
599
+ }
600
+
601
+ this._input = this._input.slice(1);
602
+ return ch;
603
+ },
604
+
605
+ // unshifts one char (or a string) into the input
606
+ unput:function (ch) {
607
+ var len = ch.length;
608
+ var lines = ch.split(/(?:\r\n?|\n)/g);
609
+
610
+ this._input = ch + this._input;
611
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
612
+ //this.yyleng -= len;
613
+ this.offset -= len;
614
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
615
+ this.match = this.match.substr(0, this.match.length - 1);
616
+ this.matched = this.matched.substr(0, this.matched.length - 1);
617
+
618
+ if (lines.length - 1) {
619
+ this.yylineno -= lines.length - 1;
620
+ }
621
+ var r = this.yylloc.range;
622
+
623
+ this.yylloc = {
624
+ first_line: this.yylloc.first_line,
625
+ last_line: this.yylineno + 1,
626
+ first_column: this.yylloc.first_column,
627
+ last_column: lines ?
628
+ (lines.length === oldLines.length ? this.yylloc.first_column : 0)
629
+ + oldLines[oldLines.length - lines.length].length - lines[0].length :
630
+ this.yylloc.first_column - len
631
+ };
632
+
633
+ if (this.options.ranges) {
634
+ this.yylloc.range = [r[0], r[0] + this.yyleng - len];
635
+ }
636
+ this.yyleng = this.yytext.length;
637
+ return this;
638
+ },
639
+
640
+ // When called from action, caches matched text and appends it on next action
641
+ more:function () {
642
+ this._more = true;
643
+ return this;
644
+ },
645
+
646
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
647
+ reject:function () {
648
+ if (this.options.backtrack_lexer) {
649
+ this._backtrack = true;
650
+ } else {
651
+ 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).\n' + this.showPosition(), {
652
+ text: "",
653
+ token: null,
654
+ line: this.yylineno
655
+ });
656
+
657
+ }
658
+ return this;
659
+ },
660
+
661
+ // retain first n characters of the match
662
+ less:function (n) {
663
+ this.unput(this.match.slice(n));
664
+ },
665
+
666
+ // displays already matched input, i.e. for error messages
667
+ pastInput:function () {
668
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
669
+ return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
670
+ },
671
+
672
+ // displays upcoming input, i.e. for error messages
673
+ upcomingInput:function () {
674
+ var next = this.match;
675
+ if (next.length < 20) {
676
+ next += this._input.substr(0, 20-next.length);
677
+ }
678
+ return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\n/g, "");
679
+ },
680
+
681
+ // displays the character position where the lexing error occurred, i.e. for error messages
682
+ showPosition:function () {
683
+ var pre = this.pastInput();
684
+ var c = new Array(pre.length + 1).join("-");
685
+ return pre + this.upcomingInput() + "\n" + c + "^";
686
+ },
687
+
688
+ // test the lexed token: return FALSE when not a match, otherwise return token
689
+ test_match:function(match, indexed_rule) {
690
+ var token,
691
+ lines,
692
+ backup;
693
+
694
+ if (this.options.backtrack_lexer) {
695
+ // save context
696
+ backup = {
697
+ yylineno: this.yylineno,
698
+ yylloc: {
699
+ first_line: this.yylloc.first_line,
700
+ last_line: this.last_line,
701
+ first_column: this.yylloc.first_column,
702
+ last_column: this.yylloc.last_column
703
+ },
704
+ yytext: this.yytext,
705
+ match: this.match,
706
+ matches: this.matches,
707
+ matched: this.matched,
708
+ yyleng: this.yyleng,
709
+ offset: this.offset,
710
+ _more: this._more,
711
+ _input: this._input,
712
+ yy: this.yy,
713
+ conditionStack: this.conditionStack.slice(0),
714
+ done: this.done
715
+ };
716
+ if (this.options.ranges) {
717
+ backup.yylloc.range = this.yylloc.range.slice(0);
718
+ }
719
+ }
720
+
721
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
722
+ if (lines) {
723
+ this.yylineno += lines.length;
724
+ }
725
+ this.yylloc = {
726
+ first_line: this.yylloc.last_line,
727
+ last_line: this.yylineno + 1,
728
+ first_column: this.yylloc.last_column,
729
+ last_column: lines ?
730
+ lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length :
731
+ this.yylloc.last_column + match[0].length
732
+ };
733
+ this.yytext += match[0];
734
+ this.match += match[0];
735
+ this.matches = match;
736
+ this.yyleng = this.yytext.length;
737
+ if (this.options.ranges) {
738
+ this.yylloc.range = [this.offset, this.offset += this.yyleng];
739
+ }
740
+ this._more = false;
741
+ this._backtrack = false;
742
+ this._input = this._input.slice(match[0].length);
743
+ this.matched += match[0];
744
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
745
+ if (this.done && this._input) {
746
+ this.done = false;
747
+ }
748
+ if (token) {
749
+ return token;
750
+ } else if (this._backtrack) {
751
+ // recover context
752
+ for (var k in backup) {
753
+ this[k] = backup[k];
754
+ }
755
+ return false; // rule action called reject() implying the next rule should be tested instead.
756
+ }
757
+ return false;
758
+ },
759
+
760
+ // return next match in input
761
+ next:function () {
762
+ if (this.done) {
763
+ return this.EOF;
764
+ }
765
+ if (!this._input) {
766
+ this.done = true;
767
+ }
768
+
769
+ var token,
770
+ match,
771
+ tempMatch,
772
+ index;
773
+ if (!this._more) {
774
+ this.yytext = '';
775
+ this.match = '';
776
+ }
777
+ var rules = this._currentRules();
778
+ for (var i = 0; i < rules.length; i++) {
779
+ tempMatch = this._input.match(this.rules[rules[i]]);
780
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
781
+ match = tempMatch;
782
+ index = i;
783
+ if (this.options.backtrack_lexer) {
784
+ token = this.test_match(tempMatch, rules[i]);
785
+ if (token !== false) {
786
+ return token;
787
+ } else if (this._backtrack) {
788
+ match = false;
789
+ continue; // rule action called reject() implying a rule MISmatch.
790
+ } else {
791
+ // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
792
+ return false;
793
+ }
794
+ } else if (!this.options.flex) {
795
+ break;
796
+ }
797
+ }
798
+ }
799
+ if (match) {
800
+ token = this.test_match(match, rules[index]);
801
+ if (token !== false) {
802
+ return token;
803
+ }
804
+ // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
805
+ return false;
806
+ }
807
+ if (this._input === "") {
808
+ return this.EOF;
809
+ } else {
810
+ return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\n' + this.showPosition(), {
811
+ text: "",
812
+ token: null,
813
+ line: this.yylineno
814
+ });
815
+ }
816
+ },
817
+
818
+ // return next match that has a token
819
+ lex:function lex () {
820
+ var r = this.next();
821
+ if (r) {
822
+ return r;
823
+ } else {
824
+ return this.lex();
825
+ }
826
+ },
827
+
828
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
829
+ begin:function begin (condition) {
830
+ this.conditionStack.push(condition);
831
+ },
832
+
833
+ // pop the previously active lexer condition state off the condition stack
834
+ popState:function popState () {
835
+ var n = this.conditionStack.length - 1;
836
+ if (n > 0) {
837
+ return this.conditionStack.pop();
838
+ } else {
839
+ return this.conditionStack[0];
840
+ }
841
+ },
842
+
843
+ // produce the lexer rule set which is active for the currently active lexer condition state
844
+ _currentRules:function _currentRules () {
845
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
846
+ return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
847
+ } else {
848
+ return this.conditions["INITIAL"].rules;
849
+ }
850
+ },
851
+
852
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
853
+ topState:function topState (n) {
854
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
855
+ if (n >= 0) {
856
+ return this.conditionStack[n];
857
+ } else {
858
+ return "INITIAL";
859
+ }
860
+ },
861
+
862
+ // alias for begin(condition)
863
+ pushState:function pushState (condition) {
864
+ this.begin(condition);
865
+ },
866
+
867
+ // return the number of states currently on the stack
868
+ stateStackSize:function stateStackSize() {
869
+ return this.conditionStack.length;
870
+ },
871
+ options: {},
872
+ performAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
873
+ var YYSTATE=YY_START;
874
+ switch($avoiding_name_collisions) {
875
+ case 0: this.begin("acc_title");return 34;
876
+ break;
877
+ case 1: this.popState(); return "acc_title_value";
878
+ break;
879
+ case 2: this.begin("acc_descr");return 36;
880
+ break;
881
+ case 3: this.popState(); return "acc_descr_value";
882
+ break;
883
+ case 4: this.begin("acc_descr_multiline");
884
+ break;
885
+ case 5: this.popState();
886
+ break;
887
+ case 6:return "acc_descr_multiline_value";
888
+ break;
889
+ case 7:
890
+ // console.log('=> shapeData', yy_.yytext);
891
+ this.pushState("shapeData"); yy_.yytext=""; return 40
892
+ break;
893
+ case 8:
894
+ // console.log('=> shapeDataStr', yy_.yytext);
895
+ this.pushState("shapeDataStr");
896
+ return 40;
897
+
898
+ break;
899
+ case 9:
900
+ // console.log('shapeData <==', yy_.yytext);
901
+ this.popState(); return 40
902
+ break;
903
+ case 10:
904
+ // console.log('shapeData', yy_.yytext);
905
+ const re = /\n\s*/g;
906
+ yy_.yytext = yy_.yytext.replace(re,"<br/>");
907
+ return 40
908
+ break;
909
+ case 11:
910
+ // console.log('shapeData', yy_.yytext);
911
+ return 40;
912
+
913
+ break;
914
+ case 12:
915
+ // console.log('<== root', yy_.yytext)
916
+ this.popState();
917
+
918
+ break;
919
+ case 13:this.begin("callbackname");
920
+ break;
921
+ case 14:this.popState();
922
+ break;
923
+ case 15:this.popState(); this.begin("callbackargs");
924
+ break;
925
+ case 16:return 95;
926
+ break;
927
+ case 17:this.popState();
928
+ break;
929
+ case 18:return 96;
930
+ break;
931
+ case 19: return "MD_STR";
932
+ break;
933
+ case 20: this.popState();
934
+ break;
935
+ case 21: this.begin("md_string");
936
+ break;
937
+ case 22: return "STR";
938
+ break;
939
+ case 23:this.popState();
940
+ break;
941
+ case 24:this.pushState("string");
942
+ break;
943
+ case 25:return 84;
944
+ break;
945
+ case 26:return 102;
946
+ break;
947
+ case 27:return 85;
948
+ break;
949
+ case 28:return 104;
950
+ break;
951
+ case 29:return 86;
952
+ break;
953
+ case 30:return 87;
954
+ break;
955
+ case 31:return 97;
956
+ break;
957
+ case 32:this.begin("click");
958
+ break;
959
+ case 33:this.popState();
960
+ break;
961
+ case 34:return 88;
962
+ break;
963
+ case 35:if(yy.lex.firstGraph()){this.begin("dir");} return 12;
964
+ break;
965
+ case 36:if(yy.lex.firstGraph()){this.begin("dir");} return 12;
966
+ break;
967
+ case 37:if(yy.lex.firstGraph()){this.begin("dir");} return 12;
968
+ break;
969
+ case 38:if(yy.lex.firstGraph()){this.begin("dir");} return 12;
970
+ break;
971
+ case 39:return 27;
972
+ break;
973
+ case 40:return 32;
974
+ break;
975
+ case 41:return 98;
976
+ break;
977
+ case 42:return 98;
978
+ break;
979
+ case 43:return 98;
980
+ break;
981
+ case 44:return 98;
982
+ break;
983
+ case 45: this.popState(); return 13;
984
+ break;
985
+ case 46: this.popState(); return 14;
986
+ break;
987
+ case 47: this.popState(); return 14;
988
+ break;
989
+ case 48: this.popState(); return 14;
990
+ break;
991
+ case 49: this.popState(); return 14;
992
+ break;
993
+ case 50: this.popState(); return 14;
994
+ break;
995
+ case 51: this.popState(); return 14;
996
+ break;
997
+ case 52: this.popState(); return 14;
998
+ break;
999
+ case 53: this.popState(); return 14;
1000
+ break;
1001
+ case 54: this.popState(); return 14;
1002
+ break;
1003
+ case 55: this.popState(); return 14;
1004
+ break;
1005
+ case 56:return 121;
1006
+ break;
1007
+ case 57:return 122;
1008
+ break;
1009
+ case 58:return 123;
1010
+ break;
1011
+ case 59:return 124;
1012
+ break;
1013
+ case 60:return 125;
1014
+ break;
1015
+ case 61: return 78;
1016
+ break;
1017
+ case 62:return 105;
1018
+ break;
1019
+ case 63:return 111;
1020
+ break;
1021
+ case 64:return 46;
1022
+ break;
1023
+ case 65:return 60;
1024
+ break;
1025
+ case 66:return 44;
1026
+ break;
1027
+ case 67:return 8;
1028
+ break;
1029
+ case 68:return 106;
1030
+ break;
1031
+ case 69:return 115;
1032
+ break;
1033
+ case 70: this.popState(); return 77;
1034
+ break;
1035
+ case 71: this.pushState("edgeText"); return 75;
1036
+ break;
1037
+ case 72:return 119;
1038
+ break;
1039
+ case 73: this.popState(); return 77;
1040
+ break;
1041
+ case 74: this.pushState("thickEdgeText"); return 75;
1042
+ break;
1043
+ case 75:return 119;
1044
+ break;
1045
+ case 76: this.popState(); return 77;
1046
+ break;
1047
+ case 77: this.pushState("dottedEdgeText"); return 75;
1048
+ break;
1049
+ case 78:return 119;
1050
+ break;
1051
+ case 79:return 77;
1052
+ break;
1053
+ case 80: this.popState(); return 53;
1054
+ break;
1055
+ case 81:return "TEXT"
1056
+ break;
1057
+ case 82: this.pushState("ellipseText"); return 52;
1058
+ break;
1059
+ case 83: this.popState(); return 55;
1060
+ break;
1061
+ case 84: this.pushState("text"); return 54;
1062
+ break;
1063
+ case 85: this.popState(); return 57;
1064
+ break;
1065
+ case 86: this.pushState("text"); return 56;
1066
+ break;
1067
+ case 87: return 58;
1068
+ break;
1069
+ case 88: this.pushState("text"); return 67;
1070
+ break;
1071
+ case 89: this.popState(); return 64;
1072
+ break;
1073
+ case 90: this.pushState("text") ;return 63;
1074
+ break;
1075
+ case 91: this.popState(); return 49;
1076
+ break;
1077
+ case 92: this.pushState("text"); return 48;
1078
+ break;
1079
+ case 93: this.popState(); return 69;
1080
+ break;
1081
+ case 94: this.popState(); return 71;
1082
+ break;
1083
+ case 95:return 117;
1084
+ break;
1085
+ case 96: this.pushState("trapText"); return 68;
1086
+ break;
1087
+ case 97: this.pushState("trapText"); return 70;
1088
+ break;
1089
+ case 98:return 118;
1090
+ break;
1091
+ case 99:return 67;
1092
+ break;
1093
+ case 100:return 90;
1094
+ break;
1095
+ case 101:return 'SEP';
1096
+ break;
1097
+ case 102:return 89;
1098
+ break;
1099
+ case 103:return 115;
1100
+ break;
1101
+ case 104:return 111;
1102
+ break;
1103
+ case 105:return 44;
1104
+ break;
1105
+ case 106:
1106
+ return 109;
1107
+
1108
+ break;
1109
+ case 107:return 114
1110
+ break;
1111
+ case 108:return 116;
1112
+ break;
1113
+ case 109: this.popState(); return 62;
1114
+ break;
1115
+ case 110: this.pushState("text"); return 62;
1116
+ break;
1117
+ case 111: this.popState(); return 51;
1118
+ break;
1119
+ case 112: this.pushState("text"); return 50;
1120
+ break;
1121
+ case 113: this.popState(); return 31;
1122
+ break;
1123
+ case 114: this.pushState("text"); return 29;
1124
+ break;
1125
+ case 115: this.popState(); return 66
1126
+ break;
1127
+ case 116: this.pushState("text"); return 65
1128
+ break;
1129
+ case 117:return "TEXT";
1130
+ break;
1131
+ case 118:return 'QUOTE';
1132
+ break;
1133
+ case 119:return 9;
1134
+ break;
1135
+ case 120:return 10;
1136
+ break;
1137
+ case 121:return 11;
1138
+ break;
1139
+ }
1140
+ },
1141
+ rules: [/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"\[\]\(\)\{\}\|]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:[^\S\n\r]+)/,/^(?:$)/],
1142
+ conditions: {"shapeDataEndBracket":{"rules":[21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"shapeDataStr":{"rules":[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"shapeData":{"rules":[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"callbackargs":{"rules":[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"callbackname":{"rules":[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"href":{"rules":[21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"click":{"rules":[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"dottedEdgeText":{"rules":[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"thickEdgeText":{"rules":[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"edgeText":{"rules":[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"trapText":{"rules":[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],"inclusive":false},"ellipseText":{"rules":[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"text":{"rules":[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],"inclusive":false},"vertex":{"rules":[21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"dir":{"rules":[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"acc_descr_multiline":{"rules":[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"acc_descr":{"rules":[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"acc_title":{"rules":[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"md_string":{"rules":[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"string":{"rules":[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],"inclusive":false},"INITIAL":{"rules":[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],"inclusive":true}}
1143
+ });
1144
+ return lexer;
1145
+ })();
1146
+ parser.lexer = lexer;
1147
+ function Parser () {
1148
+ this.yy = {};
1149
+ }
1150
+ Parser.prototype = parser;parser.Parser = Parser;
1151
+ return new Parser;
1152
+ })();
1153
+
1154
+
1155
+ if (typeof require !== 'undefined' && typeof exports !== 'undefined') {
1156
+ exports.parser = flowParser0418;
1157
+ exports.Parser = flowParser0418.Parser;
1158
+ exports.parse = function () { return flowParser0418.parse.apply(flowParser0418, arguments); };
1159
+
1160
+
1161
+ }
1162
+
1163
+ // ESM 出口(esbuild/tsc 双端通用)
1164
+ export const mermaidFlowParser = flowParser0418;