@digipair/skill-web-chatbot 0.8.37 → 0.8.39

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 (129) hide show
  1. package/Tableau10-558cc280.cjs.js +9 -0
  2. package/Tableau10-558cc280.esm.js +7 -0
  3. package/arc-d1f6357e.cjs.js +88 -0
  4. package/arc-d1f6357e.esm.js +86 -0
  5. package/blockDiagram-5dc23a45.cjs.js +2921 -0
  6. package/blockDiagram-5dc23a45.esm.js +2919 -0
  7. package/{c4Diagram-1bdb45a8.cjs.js → c4Diagram-1e775db3.cjs.js} +1904 -2130
  8. package/{c4Diagram-1bdb45a8.esm.js → c4Diagram-1e775db3.esm.js} +1906 -2132
  9. package/channel-ebbc4130.cjs.js +9 -0
  10. package/channel-ebbc4130.esm.js +7 -0
  11. package/classDiagram-f52caa06.cjs.js +209 -0
  12. package/classDiagram-f52caa06.esm.js +207 -0
  13. package/{classDiagram-v2-6dc3b9c3.cjs.js → classDiagram-v2-640c694e.cjs.js} +74 -76
  14. package/{classDiagram-v2-6dc3b9c3.esm.js → classDiagram-v2-640c694e.esm.js} +75 -77
  15. package/clone-afc2f047.cjs.js +10 -0
  16. package/clone-afc2f047.esm.js +8 -0
  17. package/createText-03b82060.cjs.js +2936 -0
  18. package/createText-03b82060.esm.js +2933 -0
  19. package/edges-16357fde.cjs.js +1998 -0
  20. package/edges-16357fde.esm.js +1981 -0
  21. package/erDiagram-c7ff1bec.cjs.js +1807 -0
  22. package/erDiagram-c7ff1bec.esm.js +1805 -0
  23. package/flowDb-9a89ea33.cjs.js +5542 -0
  24. package/flowDb-9a89ea33.esm.js +5538 -0
  25. package/flowDiagram-aadb13b0.cjs.js +1351 -0
  26. package/flowDiagram-aadb13b0.esm.js +1349 -0
  27. package/flowDiagram-v2-f2119625.cjs.js +31 -0
  28. package/flowDiagram-v2-f2119625.esm.js +29 -0
  29. package/flowchart-elk-definition-cf813a97.cjs.js +50257 -0
  30. package/flowchart-elk-definition-cf813a97.esm.js +50255 -0
  31. package/ganttDiagram-3c2fde2b.cjs.js +3710 -0
  32. package/ganttDiagram-3c2fde2b.esm.js +3708 -0
  33. package/{gitGraphDiagram-c3fe571f.cjs.js → gitGraphDiagram-c3a0619c.cjs.js} +1608 -1651
  34. package/{gitGraphDiagram-c3fe571f.esm.js → gitGraphDiagram-c3a0619c.esm.js} +1609 -1652
  35. package/graph-0ee63739.cjs.js +961 -0
  36. package/graph-0ee63739.esm.js +938 -0
  37. package/index-bb6d8841.cjs.js +648 -0
  38. package/index-bb6d8841.esm.js +646 -0
  39. package/index.cjs2.js +5410 -4623
  40. package/index.esm.js +1 -1
  41. package/index.esm2.js +5291 -4527
  42. package/{infoDiagram-9c10eab1.cjs.js → infoDiagram-2f5c50c0.cjs.js} +63 -70
  43. package/{infoDiagram-9c10eab1.esm.js → infoDiagram-2f5c50c0.esm.js} +64 -71
  44. package/journeyDiagram-14fe341a.cjs.js +1061 -0
  45. package/journeyDiagram-14fe341a.esm.js +1059 -0
  46. package/katex-d90b6d29.cjs.js +25690 -0
  47. package/katex-d90b6d29.esm.js +25688 -0
  48. package/layout-fd473db2.cjs.js +1626 -0
  49. package/layout-fd473db2.esm.js +1619 -0
  50. package/libs/skill-web-chatbot/src/lib/pins/chatbot.actions.d.ts +0 -2
  51. package/line-24d93f1b.cjs.js +34 -0
  52. package/line-24d93f1b.esm.js +32 -0
  53. package/linear-9bcf74c4.cjs.js +537 -0
  54. package/linear-9bcf74c4.esm.js +531 -0
  55. package/{mindmap-definition-a9d0f378.cjs.js → mindmap-definition-9399c7e6.cjs.js} +7874 -7610
  56. package/{mindmap-definition-a9d0f378.esm.js → mindmap-definition-9399c7e6.esm.js} +7875 -7611
  57. package/package.json +1 -1
  58. package/path-428ebac9.cjs.js +317 -0
  59. package/path-428ebac9.esm.js +314 -0
  60. package/pieDiagram-828dae43.cjs.js +951 -0
  61. package/pieDiagram-828dae43.esm.js +949 -0
  62. package/{quadrantDiagram-1763608a.cjs.js → quadrantDiagram-5fa00455.cjs.js} +1117 -1340
  63. package/{quadrantDiagram-1763608a.esm.js → quadrantDiagram-5fa00455.esm.js} +1118 -1341
  64. package/{requirementDiagram-779d93b3.cjs.js → requirementDiagram-03163dc4.cjs.js} +1044 -1228
  65. package/{requirementDiagram-779d93b3.esm.js → requirementDiagram-03163dc4.esm.js} +1045 -1229
  66. package/{sankeyDiagram-86a66bae.cjs.js → sankeyDiagram-52ec8976.cjs.js} +337 -339
  67. package/{sankeyDiagram-86a66bae.esm.js → sankeyDiagram-52ec8976.esm.js} +338 -340
  68. package/sequenceDiagram-b517d154.cjs.js +5949 -0
  69. package/sequenceDiagram-b517d154.esm.js +5947 -0
  70. package/{stateDiagram-6f4bb19d.cjs.js → stateDiagram-fca82b5b.cjs.js} +62 -61
  71. package/{stateDiagram-6f4bb19d.esm.js → stateDiagram-fca82b5b.esm.js} +65 -64
  72. package/{stateDiagram-v2-d72c79bd.cjs.js → stateDiagram-v2-ed04200a.cjs.js} +96 -100
  73. package/{stateDiagram-v2-d72c79bd.esm.js → stateDiagram-v2-ed04200a.esm.js} +98 -102
  74. package/{styles-659d7242.cjs.js → styles-11e81fdd.cjs.js} +1990 -1965
  75. package/{styles-659d7242.esm.js → styles-11e81fdd.esm.js} +1989 -1964
  76. package/{styles-3fb7b9cf.cjs.js → styles-cacbff60.cjs.js} +935 -1192
  77. package/{styles-3fb7b9cf.esm.js → styles-cacbff60.esm.js} +929 -1186
  78. package/styles-e75131e4.cjs.js +671 -0
  79. package/styles-e75131e4.esm.js +661 -0
  80. package/svgDrawCommon-ecc5f780.cjs.js +68 -0
  81. package/svgDrawCommon-ecc5f780.esm.js +60 -0
  82. package/timeline-definition-4ee9bff4.cjs.js +1161 -0
  83. package/timeline-definition-4ee9bff4.esm.js +1159 -0
  84. package/xychartDiagram-e5e6b652.cjs.js +3150 -0
  85. package/xychartDiagram-e5e6b652.esm.js +3148 -0
  86. package/arc-da8fd8d8.cjs.js +0 -88
  87. package/arc-da8fd8d8.esm.js +0 -86
  88. package/classDiagram-185c1a10.cjs.js +0 -96
  89. package/classDiagram-185c1a10.esm.js +0 -94
  90. package/constant-2fe7eae5.cjs.js +0 -58
  91. package/constant-2fe7eae5.esm.js +0 -55
  92. package/createText-94e3ebbf.cjs.js +0 -2775
  93. package/createText-94e3ebbf.esm.js +0 -2773
  94. package/edges-558884ee.cjs.js +0 -1450
  95. package/edges-558884ee.esm.js +0 -1436
  96. package/erDiagram-97139f44.cjs.js +0 -1949
  97. package/erDiagram-97139f44.esm.js +0 -1947
  98. package/flowDb-a4faf166.cjs.js +0 -6918
  99. package/flowDb-a4faf166.esm.js +0 -6914
  100. package/flowDiagram-ccbbb58d.cjs.js +0 -999
  101. package/flowDiagram-ccbbb58d.esm.js +0 -997
  102. package/flowDiagram-v2-79ccd6da.cjs.js +0 -29
  103. package/flowDiagram-v2-79ccd6da.esm.js +0 -27
  104. package/flowchart-elk-definition-7863a61f.cjs.js +0 -48577
  105. package/flowchart-elk-definition-7863a61f.esm.js +0 -48575
  106. package/ganttDiagram-3eff0dd8.cjs.js +0 -3855
  107. package/ganttDiagram-3eff0dd8.esm.js +0 -3853
  108. package/index-d0b453e2.cjs.js +0 -609
  109. package/index-d0b453e2.esm.js +0 -607
  110. package/journeyDiagram-b6904cec.cjs.js +0 -1292
  111. package/journeyDiagram-b6904cec.esm.js +0 -1290
  112. package/layout-c5a37d74.cjs.js +0 -2808
  113. package/layout-c5a37d74.esm.js +0 -2795
  114. package/line-ce5d1152.cjs.js +0 -34
  115. package/line-ce5d1152.esm.js +0 -32
  116. package/linear-db016d0c.cjs.js +0 -485
  117. package/linear-db016d0c.esm.js +0 -479
  118. package/pieDiagram-fd367f1f.cjs.js +0 -1157
  119. package/pieDiagram-fd367f1f.esm.js +0 -1155
  120. package/sequenceDiagram-169f11ec.cjs.js +0 -4805
  121. package/sequenceDiagram-169f11ec.esm.js +0 -4803
  122. package/styles-3814544c.cjs.js +0 -534
  123. package/styles-3814544c.esm.js +0 -524
  124. package/svgDraw-af99a425.cjs.js +0 -144
  125. package/svgDraw-af99a425.esm.js +0 -141
  126. package/svgDrawCommon-ebe6c236.cjs.js +0 -70
  127. package/svgDrawCommon-ebe6c236.esm.js +0 -62
  128. package/timeline-definition-65183566.cjs.js +0 -1394
  129. package/timeline-definition-65183566.esm.js +0 -1392
@@ -1,4 +1,4 @@
1
- import { U as Ut, A as Aa, L as La, M as Ma, E as Ea, c as Oa, I as Ia, d as de$1, S, B as Bn, F as Fa, aJ as w0 } from './index.esm2.js';
1
+ import { V as Vn, A as A_, F as F_, E as E_, L as L_, M as M_, h as O_, c as L, $ as $n, j as B_, b4 as F0 } from './index.esm2.js';
2
2
 
3
3
  function _instanceof(left, right) {
4
4
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
@@ -11,201 +11,165 @@ function _type_of(obj) {
11
11
  "@swc/helpers - typeof";
12
12
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
13
13
  }
14
- var mt = function() {
15
- var t = function t(D, r, a, i) {
16
- for(a = a || {}, i = D.length; i--; a[D[i]] = r);
17
- return a;
14
+ var gt = function() {
15
+ var t = function t(C, r, n, i) {
16
+ for(n = n || {}, i = C.length; i--; n[C[i]] = r);
17
+ return n;
18
18
  }, s = [
19
19
  1,
20
20
  2
21
- ], n = [
21
+ ], a = [
22
22
  1,
23
23
  3
24
24
  ], h = [
25
25
  1,
26
- 5
27
- ], u = [
28
- 1,
29
- 7
26
+ 4
30
27
  ], f = [
31
28
  2,
32
- 5
33
- ], p = [
34
- 1,
35
- 15
36
- ], v = [
37
- 1,
38
- 17
29
+ 4
39
30
  ], d = [
40
31
  1,
41
- 21
32
+ 9
33
+ ], y = [
34
+ 1,
35
+ 11
42
36
  ], k = [
43
37
  1,
44
- 22
45
- ], T = [
38
+ 15
39
+ ], u = [
46
40
  1,
47
- 23
48
- ], G = [
41
+ 16
42
+ ], E = [
49
43
  1,
50
- 24
44
+ 17
45
+ ], T = [
46
+ 1,
47
+ 18
51
48
  ], R = [
52
49
  1,
53
- 37
50
+ 30
51
+ ], G = [
52
+ 1,
53
+ 19
54
54
  ], j = [
55
55
  1,
56
- 25
56
+ 20
57
57
  ], U = [
58
58
  1,
59
- 26
59
+ 21
60
60
  ], z = [
61
61
  1,
62
- 27
62
+ 22
63
63
  ], M = [
64
64
  1,
65
- 28
65
+ 23
66
66
  ], H = [
67
67
  1,
68
- 29
68
+ 25
69
69
  ], X = [
70
70
  1,
71
- 32
71
+ 26
72
72
  ], K = [
73
73
  1,
74
- 33
74
+ 27
75
75
  ], W = [
76
76
  1,
77
- 34
77
+ 28
78
78
  ], J = [
79
79
  1,
80
- 35
80
+ 29
81
81
  ], q = [
82
82
  1,
83
- 36
83
+ 32
84
84
  ], Q = [
85
85
  1,
86
- 39
86
+ 33
87
87
  ], Z = [
88
88
  1,
89
- 40
89
+ 34
90
90
  ], tt = [
91
91
  1,
92
- 41
93
- ], et = [
94
- 1,
95
- 42
92
+ 35
96
93
  ], w = [
97
94
  1,
98
- 38
99
- ], Ct = [
100
- 1,
101
- 45
102
- ], o = [
95
+ 31
96
+ ], c = [
103
97
  1,
104
98
  4,
105
99
  5,
100
+ 15,
106
101
  16,
107
- 17,
108
- 19,
102
+ 18,
103
+ 20,
109
104
  21,
110
- 22,
105
+ 23,
111
106
  24,
112
107
  25,
113
108
  26,
114
109
  27,
115
110
  28,
116
- 29,
117
- 33,
118
- 35,
111
+ 32,
112
+ 34,
113
+ 36,
119
114
  37,
120
- 38,
121
- 42,
122
- 50,
123
- 51,
124
- 52,
125
- 53,
126
- 56,
127
- 60
128
- ], st = [
115
+ 41,
116
+ 44,
117
+ 45,
118
+ 46,
119
+ 47,
120
+ 50
121
+ ], et = [
129
122
  1,
130
123
  4,
131
124
  5,
125
+ 13,
132
126
  14,
133
127
  15,
134
128
  16,
135
- 17,
136
- 19,
129
+ 18,
130
+ 20,
137
131
  21,
138
- 22,
132
+ 23,
139
133
  24,
140
134
  25,
141
135
  26,
142
136
  27,
143
137
  28,
144
- 29,
145
- 33,
146
- 35,
138
+ 32,
139
+ 34,
140
+ 36,
147
141
  37,
148
- 38,
149
- 42,
150
- 50,
151
- 51,
152
- 52,
153
- 53,
154
- 56,
155
- 60
156
- ], ut = [
157
- 1,
158
- 4,
159
- 5,
160
- 7,
161
- 16,
162
- 17,
163
- 19,
164
- 21,
165
- 22,
166
- 24,
167
- 25,
168
- 26,
169
- 27,
170
- 28,
171
- 29,
172
- 33,
173
- 35,
174
- 37,
175
- 38,
176
- 42,
177
- 50,
178
- 51,
179
- 52,
180
- 53,
181
- 56,
182
- 60
183
- ], At = [
142
+ 41,
143
+ 44,
144
+ 45,
145
+ 46,
146
+ 47,
147
+ 50
148
+ ], Dt = [
184
149
  4,
185
150
  5,
151
+ 15,
186
152
  16,
187
- 17,
188
- 19,
153
+ 18,
154
+ 20,
189
155
  21,
190
- 22,
156
+ 23,
191
157
  24,
192
158
  25,
193
159
  26,
194
160
  27,
195
161
  28,
196
- 29,
197
- 33,
198
- 35,
162
+ 32,
163
+ 34,
164
+ 36,
199
165
  37,
200
- 38,
201
- 42,
202
- 50,
203
- 51,
204
- 52,
205
- 53,
206
- 56,
207
- 60
208
- ], dt = {
166
+ 41,
167
+ 44,
168
+ 45,
169
+ 46,
170
+ 47,
171
+ 50
172
+ ], ht = {
209
173
  trace: function trace() {},
210
174
  yy: {},
211
175
  symbols_: {
@@ -213,64 +177,54 @@ var mt = function() {
213
177
  start: 3,
214
178
  SPACE: 4,
215
179
  NL: 5,
216
- directive: 6,
217
- SD: 7,
218
- document: 8,
219
- line: 9,
220
- statement: 10,
221
- classDefStatement: 11,
222
- cssClassStatement: 12,
223
- idStatement: 13,
224
- DESCR: 14,
225
- "-->": 15,
226
- HIDE_EMPTY: 16,
227
- scale: 17,
228
- WIDTH: 18,
229
- COMPOSIT_STATE: 19,
230
- STRUCT_START: 20,
231
- STRUCT_STOP: 21,
232
- STATE_DESCR: 22,
233
- AS: 23,
234
- ID: 24,
235
- FORK: 25,
236
- JOIN: 26,
237
- CHOICE: 27,
238
- CONCURRENT: 28,
239
- note: 29,
240
- notePosition: 30,
241
- NOTE_TEXT: 31,
242
- direction: 32,
243
- acc_title: 33,
244
- acc_title_value: 34,
245
- acc_descr: 35,
246
- acc_descr_value: 36,
247
- acc_descr_multiline_value: 37,
248
- classDef: 38,
249
- CLASSDEF_ID: 39,
250
- CLASSDEF_STYLEOPTS: 40,
251
- DEFAULT: 41,
252
- class: 42,
253
- CLASSENTITY_IDS: 43,
254
- STYLECLASS: 44,
255
- openDirective: 45,
256
- typeDirective: 46,
257
- closeDirective: 47,
258
- ":": 48,
259
- argDirective: 49,
260
- direction_tb: 50,
261
- direction_bt: 51,
262
- direction_rl: 52,
263
- direction_lr: 53,
264
- eol: 54,
265
- ";": 55,
266
- EDGE_STATE: 56,
267
- STYLE_SEPARATOR: 57,
268
- left_of: 58,
269
- right_of: 59,
270
- open_directive: 60,
271
- type_directive: 61,
272
- arg_directive: 62,
273
- close_directive: 63,
180
+ SD: 6,
181
+ document: 7,
182
+ line: 8,
183
+ statement: 9,
184
+ classDefStatement: 10,
185
+ cssClassStatement: 11,
186
+ idStatement: 12,
187
+ DESCR: 13,
188
+ "-->": 14,
189
+ HIDE_EMPTY: 15,
190
+ scale: 16,
191
+ WIDTH: 17,
192
+ COMPOSIT_STATE: 18,
193
+ STRUCT_START: 19,
194
+ STRUCT_STOP: 20,
195
+ STATE_DESCR: 21,
196
+ AS: 22,
197
+ ID: 23,
198
+ FORK: 24,
199
+ JOIN: 25,
200
+ CHOICE: 26,
201
+ CONCURRENT: 27,
202
+ note: 28,
203
+ notePosition: 29,
204
+ NOTE_TEXT: 30,
205
+ direction: 31,
206
+ acc_title: 32,
207
+ acc_title_value: 33,
208
+ acc_descr: 34,
209
+ acc_descr_value: 35,
210
+ acc_descr_multiline_value: 36,
211
+ classDef: 37,
212
+ CLASSDEF_ID: 38,
213
+ CLASSDEF_STYLEOPTS: 39,
214
+ DEFAULT: 40,
215
+ class: 41,
216
+ CLASSENTITY_IDS: 42,
217
+ STYLECLASS: 43,
218
+ direction_tb: 44,
219
+ direction_bt: 45,
220
+ direction_rl: 46,
221
+ direction_lr: 47,
222
+ eol: 48,
223
+ ";": 49,
224
+ EDGE_STATE: 50,
225
+ STYLE_SEPARATOR: 51,
226
+ left_of: 52,
227
+ right_of: 53,
274
228
  $accept: 0,
275
229
  $end: 1
276
230
  },
@@ -278,50 +232,45 @@ var mt = function() {
278
232
  2: "error",
279
233
  4: "SPACE",
280
234
  5: "NL",
281
- 7: "SD",
282
- 14: "DESCR",
283
- 15: "-->",
284
- 16: "HIDE_EMPTY",
285
- 17: "scale",
286
- 18: "WIDTH",
287
- 19: "COMPOSIT_STATE",
288
- 20: "STRUCT_START",
289
- 21: "STRUCT_STOP",
290
- 22: "STATE_DESCR",
291
- 23: "AS",
292
- 24: "ID",
293
- 25: "FORK",
294
- 26: "JOIN",
295
- 27: "CHOICE",
296
- 28: "CONCURRENT",
297
- 29: "note",
298
- 31: "NOTE_TEXT",
299
- 33: "acc_title",
300
- 34: "acc_title_value",
301
- 35: "acc_descr",
302
- 36: "acc_descr_value",
303
- 37: "acc_descr_multiline_value",
304
- 38: "classDef",
305
- 39: "CLASSDEF_ID",
306
- 40: "CLASSDEF_STYLEOPTS",
307
- 41: "DEFAULT",
308
- 42: "class",
309
- 43: "CLASSENTITY_IDS",
310
- 44: "STYLECLASS",
311
- 48: ":",
312
- 50: "direction_tb",
313
- 51: "direction_bt",
314
- 52: "direction_rl",
315
- 53: "direction_lr",
316
- 55: ";",
317
- 56: "EDGE_STATE",
318
- 57: "STYLE_SEPARATOR",
319
- 58: "left_of",
320
- 59: "right_of",
321
- 60: "open_directive",
322
- 61: "type_directive",
323
- 62: "arg_directive",
324
- 63: "close_directive"
235
+ 6: "SD",
236
+ 13: "DESCR",
237
+ 14: "-->",
238
+ 15: "HIDE_EMPTY",
239
+ 16: "scale",
240
+ 17: "WIDTH",
241
+ 18: "COMPOSIT_STATE",
242
+ 19: "STRUCT_START",
243
+ 20: "STRUCT_STOP",
244
+ 21: "STATE_DESCR",
245
+ 22: "AS",
246
+ 23: "ID",
247
+ 24: "FORK",
248
+ 25: "JOIN",
249
+ 26: "CHOICE",
250
+ 27: "CONCURRENT",
251
+ 28: "note",
252
+ 30: "NOTE_TEXT",
253
+ 32: "acc_title",
254
+ 33: "acc_title_value",
255
+ 34: "acc_descr",
256
+ 35: "acc_descr_value",
257
+ 36: "acc_descr_multiline_value",
258
+ 37: "classDef",
259
+ 38: "CLASSDEF_ID",
260
+ 39: "CLASSDEF_STYLEOPTS",
261
+ 40: "DEFAULT",
262
+ 41: "class",
263
+ 42: "CLASSENTITY_IDS",
264
+ 43: "STYLECLASS",
265
+ 44: "direction_tb",
266
+ 45: "direction_bt",
267
+ 46: "direction_rl",
268
+ 47: "direction_lr",
269
+ 49: ";",
270
+ 50: "EDGE_STATE",
271
+ 51: "STYLE_SEPARATOR",
272
+ 52: "left_of",
273
+ 53: "right_of"
325
274
  },
326
275
  productions_: [
327
276
  0,
@@ -338,419 +287,372 @@ var mt = function() {
338
287
  2
339
288
  ],
340
289
  [
341
- 3,
342
- 2
343
- ],
344
- [
345
- 8,
290
+ 7,
346
291
  0
347
292
  ],
348
293
  [
349
- 8,
294
+ 7,
350
295
  2
351
296
  ],
352
297
  [
353
- 9,
298
+ 8,
354
299
  2
355
300
  ],
356
301
  [
357
- 9,
302
+ 8,
358
303
  1
359
304
  ],
360
305
  [
361
- 9,
306
+ 8,
362
307
  1
363
308
  ],
364
309
  [
365
- 10,
310
+ 9,
366
311
  1
367
312
  ],
368
313
  [
369
- 10,
314
+ 9,
370
315
  1
371
316
  ],
372
317
  [
373
- 10,
318
+ 9,
374
319
  1
375
320
  ],
376
321
  [
377
- 10,
322
+ 9,
378
323
  2
379
324
  ],
380
325
  [
381
- 10,
326
+ 9,
382
327
  3
383
328
  ],
384
329
  [
385
- 10,
330
+ 9,
386
331
  4
387
332
  ],
388
333
  [
389
- 10,
334
+ 9,
390
335
  1
391
336
  ],
392
337
  [
393
- 10,
338
+ 9,
394
339
  2
395
340
  ],
396
341
  [
397
- 10,
342
+ 9,
398
343
  1
399
344
  ],
400
345
  [
401
- 10,
346
+ 9,
402
347
  4
403
348
  ],
404
349
  [
405
- 10,
350
+ 9,
406
351
  3
407
352
  ],
408
353
  [
409
- 10,
354
+ 9,
410
355
  6
411
356
  ],
412
357
  [
413
- 10,
358
+ 9,
414
359
  1
415
360
  ],
416
361
  [
417
- 10,
362
+ 9,
418
363
  1
419
364
  ],
420
365
  [
421
- 10,
366
+ 9,
422
367
  1
423
368
  ],
424
369
  [
425
- 10,
370
+ 9,
426
371
  1
427
372
  ],
428
373
  [
429
- 10,
374
+ 9,
430
375
  4
431
376
  ],
432
377
  [
433
- 10,
378
+ 9,
434
379
  4
435
380
  ],
436
381
  [
437
- 10,
438
- 1
439
- ],
440
- [
441
- 10,
382
+ 9,
442
383
  1
443
384
  ],
444
385
  [
445
- 10,
386
+ 9,
446
387
  2
447
388
  ],
448
389
  [
449
- 10,
390
+ 9,
450
391
  2
451
392
  ],
452
393
  [
453
- 10,
394
+ 9,
454
395
  1
455
396
  ],
456
397
  [
457
- 11,
458
- 3
459
- ],
460
- [
461
- 11,
398
+ 10,
462
399
  3
463
400
  ],
464
401
  [
465
- 12,
402
+ 10,
466
403
  3
467
404
  ],
468
405
  [
469
- 6,
406
+ 11,
470
407
  3
471
408
  ],
472
409
  [
473
- 6,
474
- 5
475
- ],
476
- [
477
- 32,
410
+ 31,
478
411
  1
479
412
  ],
480
413
  [
481
- 32,
414
+ 31,
482
415
  1
483
416
  ],
484
417
  [
485
- 32,
418
+ 31,
486
419
  1
487
420
  ],
488
421
  [
489
- 32,
422
+ 31,
490
423
  1
491
424
  ],
492
425
  [
493
- 54,
426
+ 48,
494
427
  1
495
428
  ],
496
429
  [
497
- 54,
430
+ 48,
498
431
  1
499
432
  ],
500
433
  [
501
- 13,
434
+ 12,
502
435
  1
503
436
  ],
504
437
  [
505
- 13,
438
+ 12,
506
439
  1
507
440
  ],
508
441
  [
509
- 13,
442
+ 12,
510
443
  3
511
444
  ],
512
445
  [
513
- 13,
446
+ 12,
514
447
  3
515
448
  ],
516
449
  [
517
- 30,
518
- 1
519
- ],
520
- [
521
- 30,
522
- 1
523
- ],
524
- [
525
- 45,
526
- 1
527
- ],
528
- [
529
- 46,
530
- 1
531
- ],
532
- [
533
- 49,
450
+ 29,
534
451
  1
535
452
  ],
536
453
  [
537
- 47,
454
+ 29,
538
455
  1
539
456
  ]
540
457
  ],
541
- performAction: function performAction(r, a, i, l, y, e, B) {
542
- var c = e.length - 1;
543
- switch(y){
458
+ performAction: function performAction(r, n, i, o, p, e, $) {
459
+ var l = e.length - 1;
460
+ switch(p){
461
+ case 3:
462
+ return o.setRootDoc(e[l]), e[l];
544
463
  case 4:
545
- return l.setRootDoc(e[c]), e[c];
546
- case 5:
547
464
  this.$ = [];
548
465
  break;
549
- case 6:
550
- e[c] != "nl" && (e[c - 1].push(e[c]), this.$ = e[c - 1]);
466
+ case 5:
467
+ e[l] != "nl" && (e[l - 1].push(e[l]), this.$ = e[l - 1]);
551
468
  break;
469
+ case 6:
552
470
  case 7:
553
- case 8:
554
- this.$ = e[c];
471
+ this.$ = e[l];
555
472
  break;
556
- case 9:
473
+ case 8:
557
474
  this.$ = "nl";
558
475
  break;
476
+ case 11:
477
+ this.$ = e[l];
478
+ break;
559
479
  case 12:
560
- this.$ = e[c];
480
+ var B = e[l - 1];
481
+ B.description = o.trimColon(e[l]), this.$ = B;
561
482
  break;
562
483
  case 13:
563
- var $ = e[c - 1];
564
- $.description = l.trimColon(e[c]), this.$ = $;
565
- break;
566
- case 14:
567
484
  this.$ = {
568
485
  stmt: "relation",
569
- state1: e[c - 2],
570
- state2: e[c]
486
+ state1: e[l - 2],
487
+ state2: e[l]
571
488
  };
572
489
  break;
573
- case 15:
574
- var pt = l.trimColon(e[c]);
490
+ case 14:
491
+ var ft = o.trimColon(e[l]);
575
492
  this.$ = {
576
493
  stmt: "relation",
577
- state1: e[c - 3],
578
- state2: e[c - 1],
579
- description: pt
494
+ state1: e[l - 3],
495
+ state2: e[l - 1],
496
+ description: ft
580
497
  };
581
498
  break;
582
- case 19:
499
+ case 18:
583
500
  this.$ = {
584
501
  stmt: "state",
585
- id: e[c - 3],
502
+ id: e[l - 3],
586
503
  type: "default",
587
504
  description: "",
588
- doc: e[c - 1]
505
+ doc: e[l - 1]
589
506
  };
590
507
  break;
591
- case 20:
592
- var C = e[c], O = e[c - 2].trim();
593
- if (e[c].match(":")) {
594
- var it = e[c].split(":");
595
- C = it[0], O = [
508
+ case 19:
509
+ var A = e[l], O = e[l - 2].trim();
510
+ if (e[l].match(":")) {
511
+ var st = e[l].split(":");
512
+ A = st[0], O = [
596
513
  O,
597
- it[1]
514
+ st[1]
598
515
  ];
599
516
  }
600
517
  this.$ = {
601
518
  stmt: "state",
602
- id: C,
519
+ id: A,
603
520
  type: "default",
604
521
  description: O
605
522
  };
606
523
  break;
607
- case 21:
524
+ case 20:
608
525
  this.$ = {
609
526
  stmt: "state",
610
- id: e[c - 3],
527
+ id: e[l - 3],
611
528
  type: "default",
612
- description: e[c - 5],
613
- doc: e[c - 1]
529
+ description: e[l - 5],
530
+ doc: e[l - 1]
614
531
  };
615
532
  break;
616
- case 22:
533
+ case 21:
617
534
  this.$ = {
618
535
  stmt: "state",
619
- id: e[c],
536
+ id: e[l],
620
537
  type: "fork"
621
538
  };
622
539
  break;
623
- case 23:
540
+ case 22:
624
541
  this.$ = {
625
542
  stmt: "state",
626
- id: e[c],
543
+ id: e[l],
627
544
  type: "join"
628
545
  };
629
546
  break;
630
- case 24:
547
+ case 23:
631
548
  this.$ = {
632
549
  stmt: "state",
633
- id: e[c],
550
+ id: e[l],
634
551
  type: "choice"
635
552
  };
636
553
  break;
637
- case 25:
554
+ case 24:
638
555
  this.$ = {
639
556
  stmt: "state",
640
- id: l.getDividerId(),
557
+ id: o.getDividerId(),
641
558
  type: "divider"
642
559
  };
643
560
  break;
644
- case 26:
561
+ case 25:
645
562
  this.$ = {
646
563
  stmt: "state",
647
- id: e[c - 1].trim(),
564
+ id: e[l - 1].trim(),
648
565
  note: {
649
- position: e[c - 2].trim(),
650
- text: e[c].trim()
566
+ position: e[l - 2].trim(),
567
+ text: e[l].trim()
651
568
  }
652
569
  };
653
570
  break;
571
+ case 28:
572
+ this.$ = e[l].trim(), o.setAccTitle(this.$);
573
+ break;
574
+ case 29:
654
575
  case 30:
655
- this.$ = e[c].trim(), l.setAccTitle(this.$);
576
+ this.$ = e[l].trim(), o.setAccDescription(this.$);
656
577
  break;
657
578
  case 31:
658
579
  case 32:
659
- this.$ = e[c].trim(), l.setAccDescription(this.$);
660
- break;
661
- case 33:
662
- case 34:
663
580
  this.$ = {
664
581
  stmt: "classDef",
665
- id: e[c - 1].trim(),
666
- classes: e[c].trim()
582
+ id: e[l - 1].trim(),
583
+ classes: e[l].trim()
667
584
  };
668
585
  break;
669
- case 35:
586
+ case 33:
670
587
  this.$ = {
671
588
  stmt: "applyClass",
672
- id: e[c - 1].trim(),
673
- styleClass: e[c].trim()
589
+ id: e[l - 1].trim(),
590
+ styleClass: e[l].trim()
674
591
  };
675
592
  break;
676
- case 38:
677
- l.setDirection("TB"), this.$ = {
593
+ case 34:
594
+ o.setDirection("TB"), this.$ = {
678
595
  stmt: "dir",
679
596
  value: "TB"
680
597
  };
681
598
  break;
682
- case 39:
683
- l.setDirection("BT"), this.$ = {
599
+ case 35:
600
+ o.setDirection("BT"), this.$ = {
684
601
  stmt: "dir",
685
602
  value: "BT"
686
603
  };
687
604
  break;
688
- case 40:
689
- l.setDirection("RL"), this.$ = {
605
+ case 36:
606
+ o.setDirection("RL"), this.$ = {
690
607
  stmt: "dir",
691
608
  value: "RL"
692
609
  };
693
610
  break;
694
- case 41:
695
- l.setDirection("LR"), this.$ = {
611
+ case 37:
612
+ o.setDirection("LR"), this.$ = {
696
613
  stmt: "dir",
697
614
  value: "LR"
698
615
  };
699
616
  break;
700
- case 44:
701
- case 45:
617
+ case 40:
618
+ case 41:
702
619
  this.$ = {
703
620
  stmt: "state",
704
- id: e[c].trim(),
621
+ id: e[l].trim(),
705
622
  type: "default",
706
623
  description: ""
707
624
  };
708
625
  break;
709
- case 46:
626
+ case 42:
710
627
  this.$ = {
711
628
  stmt: "state",
712
- id: e[c - 2].trim(),
629
+ id: e[l - 2].trim(),
713
630
  classes: [
714
- e[c].trim()
631
+ e[l].trim()
715
632
  ],
716
633
  type: "default",
717
634
  description: ""
718
635
  };
719
636
  break;
720
- case 47:
637
+ case 43:
721
638
  this.$ = {
722
639
  stmt: "state",
723
- id: e[c - 2].trim(),
640
+ id: e[l - 2].trim(),
724
641
  classes: [
725
- e[c].trim()
642
+ e[l].trim()
726
643
  ],
727
644
  type: "default",
728
645
  description: ""
729
646
  };
730
647
  break;
731
- case 50:
732
- l.parseDirective("%%{", "open_directive");
733
- break;
734
- case 51:
735
- l.parseDirective(e[c], "type_directive");
736
- break;
737
- case 52:
738
- e[c] = e[c].trim().replace(/'/g, '"'), l.parseDirective(e[c], "arg_directive");
739
- break;
740
- case 53:
741
- l.parseDirective("}%%", "close_directive", "state");
742
- break;
743
648
  }
744
649
  },
745
650
  table: [
746
651
  {
747
652
  3: 1,
748
653
  4: s,
749
- 5: n,
750
- 6: 4,
751
- 7: h,
752
- 45: 6,
753
- 60: u
654
+ 5: a,
655
+ 6: h
754
656
  },
755
657
  {
756
658
  1: [
@@ -758,73 +660,44 @@ var mt = function() {
758
660
  ]
759
661
  },
760
662
  {
761
- 3: 8,
663
+ 3: 5,
762
664
  4: s,
763
- 5: n,
764
- 6: 4,
765
- 7: h,
766
- 45: 6,
767
- 60: u
665
+ 5: a,
666
+ 6: h
768
667
  },
769
668
  {
770
- 3: 9,
669
+ 3: 6,
771
670
  4: s,
772
- 5: n,
773
- 6: 4,
774
- 7: h,
775
- 45: 6,
776
- 60: u
777
- },
778
- {
779
- 3: 10,
780
- 4: s,
781
- 5: n,
782
- 6: 4,
783
- 7: h,
784
- 45: 6,
785
- 60: u
671
+ 5: a,
672
+ 6: h
786
673
  },
787
674
  t([
788
675
  1,
789
676
  4,
790
677
  5,
678
+ 15,
791
679
  16,
792
- 17,
793
- 19,
794
- 22,
680
+ 18,
681
+ 21,
682
+ 23,
795
683
  24,
796
684
  25,
797
685
  26,
798
686
  27,
799
687
  28,
800
- 29,
801
- 33,
802
- 35,
688
+ 32,
689
+ 34,
690
+ 36,
803
691
  37,
804
- 38,
805
- 42,
806
- 50,
807
- 51,
808
- 52,
809
- 53,
810
- 56,
811
- 60
692
+ 41,
693
+ 44,
694
+ 45,
695
+ 46,
696
+ 47,
697
+ 50
812
698
  ], f, {
813
- 8: 11
699
+ 7: 7
814
700
  }),
815
- {
816
- 46: 12,
817
- 61: [
818
- 1,
819
- 13
820
- ]
821
- },
822
- {
823
- 61: [
824
- 2,
825
- 50
826
- ]
827
- },
828
701
  {
829
702
  1: [
830
703
  2,
@@ -841,610 +714,532 @@ var mt = function() {
841
714
  1: [
842
715
  2,
843
716
  3
844
- ]
845
- },
846
- {
847
- 1: [
848
- 2,
849
- 4
850
717
  ],
851
- 4: p,
852
- 5: v,
853
- 6: 30,
854
- 9: 14,
855
- 10: 16,
856
- 11: 18,
857
- 12: 19,
858
- 13: 20,
859
- 16: d,
860
- 17: k,
861
- 19: T,
862
- 22: G,
863
- 24: R,
718
+ 4: d,
719
+ 5: y,
720
+ 8: 8,
721
+ 9: 10,
722
+ 10: 12,
723
+ 11: 13,
724
+ 12: 14,
725
+ 15: k,
726
+ 16: u,
727
+ 18: E,
728
+ 21: T,
729
+ 23: R,
730
+ 24: G,
864
731
  25: j,
865
732
  26: U,
866
733
  27: z,
867
734
  28: M,
868
- 29: H,
869
- 32: 31,
870
- 33: X,
871
- 35: K,
735
+ 31: 24,
736
+ 32: H,
737
+ 34: X,
738
+ 36: K,
872
739
  37: W,
873
- 38: J,
874
- 42: q,
875
- 45: 6,
876
- 50: Q,
877
- 51: Z,
878
- 52: tt,
879
- 53: et,
880
- 56: w,
881
- 60: u
740
+ 41: J,
741
+ 44: q,
742
+ 45: Q,
743
+ 46: Z,
744
+ 47: tt,
745
+ 50: w
882
746
  },
883
- {
884
- 47: 43,
885
- 48: [
886
- 1,
887
- 44
888
- ],
889
- 63: Ct
890
- },
891
- t([
892
- 48,
893
- 63
894
- ], [
895
- 2,
896
- 51
897
- ]),
898
- t(o, [
747
+ t(c, [
899
748
  2,
900
- 6
749
+ 5
901
750
  ]),
902
751
  {
903
- 6: 30,
904
- 10: 46,
905
- 11: 18,
906
- 12: 19,
907
- 13: 20,
908
- 16: d,
909
- 17: k,
910
- 19: T,
911
- 22: G,
912
- 24: R,
752
+ 9: 36,
753
+ 10: 12,
754
+ 11: 13,
755
+ 12: 14,
756
+ 15: k,
757
+ 16: u,
758
+ 18: E,
759
+ 21: T,
760
+ 23: R,
761
+ 24: G,
913
762
  25: j,
914
763
  26: U,
915
764
  27: z,
916
765
  28: M,
917
- 29: H,
918
- 32: 31,
919
- 33: X,
920
- 35: K,
766
+ 31: 24,
767
+ 32: H,
768
+ 34: X,
769
+ 36: K,
921
770
  37: W,
922
- 38: J,
923
- 42: q,
924
- 45: 6,
925
- 50: Q,
926
- 51: Z,
927
- 52: tt,
928
- 53: et,
929
- 56: w,
930
- 60: u
771
+ 41: J,
772
+ 44: q,
773
+ 45: Q,
774
+ 46: Z,
775
+ 47: tt,
776
+ 50: w
931
777
  },
932
- t(o, [
778
+ t(c, [
779
+ 2,
780
+ 7
781
+ ]),
782
+ t(c, [
933
783
  2,
934
784
  8
935
785
  ]),
936
- t(o, [
786
+ t(c, [
937
787
  2,
938
788
  9
939
789
  ]),
940
- t(o, [
790
+ t(c, [
941
791
  2,
942
792
  10
943
793
  ]),
944
- t(o, [
794
+ t(c, [
945
795
  2,
946
796
  11
947
- ]),
948
- t(o, [
949
- 2,
950
- 12
951
797
  ], {
952
- 14: [
798
+ 13: [
953
799
  1,
954
- 47
800
+ 37
955
801
  ],
956
- 15: [
802
+ 14: [
957
803
  1,
958
- 48
804
+ 38
959
805
  ]
960
806
  }),
961
- t(o, [
807
+ t(c, [
962
808
  2,
963
- 16
809
+ 15
964
810
  ]),
965
811
  {
966
- 18: [
812
+ 17: [
967
813
  1,
968
- 49
814
+ 39
969
815
  ]
970
816
  },
971
- t(o, [
817
+ t(c, [
972
818
  2,
973
- 18
819
+ 17
974
820
  ], {
975
- 20: [
821
+ 19: [
976
822
  1,
977
- 50
823
+ 40
978
824
  ]
979
825
  }),
980
826
  {
981
- 23: [
827
+ 22: [
982
828
  1,
983
- 51
829
+ 41
984
830
  ]
985
831
  },
986
- t(o, [
832
+ t(c, [
833
+ 2,
834
+ 21
835
+ ]),
836
+ t(c, [
987
837
  2,
988
838
  22
989
839
  ]),
990
- t(o, [
840
+ t(c, [
991
841
  2,
992
842
  23
993
843
  ]),
994
- t(o, [
844
+ t(c, [
995
845
  2,
996
846
  24
997
847
  ]),
998
- t(o, [
999
- 2,
1000
- 25
1001
- ]),
1002
848
  {
1003
- 30: 52,
1004
- 31: [
849
+ 29: 42,
850
+ 30: [
1005
851
  1,
1006
- 53
852
+ 43
1007
853
  ],
1008
- 58: [
854
+ 52: [
1009
855
  1,
1010
- 54
856
+ 44
1011
857
  ],
1012
- 59: [
858
+ 53: [
1013
859
  1,
1014
- 55
860
+ 45
1015
861
  ]
1016
862
  },
1017
- t(o, [
863
+ t(c, [
1018
864
  2,
1019
- 28
1020
- ]),
1021
- t(o, [
1022
- 2,
1023
- 29
865
+ 27
1024
866
  ]),
1025
867
  {
1026
- 34: [
868
+ 33: [
1027
869
  1,
1028
- 56
870
+ 46
1029
871
  ]
1030
872
  },
1031
873
  {
1032
- 36: [
874
+ 35: [
1033
875
  1,
1034
- 57
876
+ 47
1035
877
  ]
1036
878
  },
1037
- t(o, [
879
+ t(c, [
1038
880
  2,
1039
- 32
881
+ 30
1040
882
  ]),
1041
883
  {
1042
- 39: [
884
+ 38: [
1043
885
  1,
1044
- 58
886
+ 48
1045
887
  ],
1046
- 41: [
888
+ 40: [
1047
889
  1,
1048
- 59
890
+ 49
1049
891
  ]
1050
892
  },
1051
893
  {
1052
- 43: [
894
+ 42: [
1053
895
  1,
1054
- 60
896
+ 50
1055
897
  ]
1056
898
  },
1057
- t(st, [
899
+ t(et, [
1058
900
  2,
1059
- 44
901
+ 40
1060
902
  ], {
1061
- 57: [
903
+ 51: [
1062
904
  1,
1063
- 61
905
+ 51
1064
906
  ]
1065
907
  }),
1066
- t(st, [
908
+ t(et, [
1067
909
  2,
1068
- 45
910
+ 41
1069
911
  ], {
1070
- 57: [
912
+ 51: [
1071
913
  1,
1072
- 62
914
+ 52
1073
915
  ]
1074
916
  }),
1075
- t(o, [
1076
- 2,
1077
- 38
1078
- ]),
1079
- t(o, [
1080
- 2,
1081
- 39
1082
- ]),
1083
- t(o, [
917
+ t(c, [
1084
918
  2,
1085
- 40
919
+ 34
1086
920
  ]),
1087
- t(o, [
921
+ t(c, [
1088
922
  2,
1089
- 41
923
+ 35
1090
924
  ]),
1091
- t(ut, [
925
+ t(c, [
1092
926
  2,
1093
927
  36
1094
928
  ]),
1095
- {
1096
- 49: 63,
1097
- 62: [
1098
- 1,
1099
- 64
1100
- ]
1101
- },
1102
- t(ut, [
929
+ t(c, [
1103
930
  2,
1104
- 53
931
+ 37
1105
932
  ]),
1106
- t(o, [
933
+ t(c, [
1107
934
  2,
1108
- 7
935
+ 6
1109
936
  ]),
1110
- t(o, [
937
+ t(c, [
1111
938
  2,
1112
- 13
939
+ 12
1113
940
  ]),
1114
941
  {
1115
- 13: 65,
1116
- 24: R,
1117
- 56: w
942
+ 12: 53,
943
+ 23: R,
944
+ 50: w
1118
945
  },
1119
- t(o, [
946
+ t(c, [
1120
947
  2,
1121
- 17
948
+ 16
1122
949
  ]),
1123
- t(At, f, {
1124
- 8: 66
950
+ t(Dt, f, {
951
+ 7: 54
1125
952
  }),
1126
953
  {
1127
- 24: [
954
+ 23: [
1128
955
  1,
1129
- 67
956
+ 55
1130
957
  ]
1131
958
  },
1132
959
  {
1133
- 24: [
960
+ 23: [
1134
961
  1,
1135
- 68
962
+ 56
1136
963
  ]
1137
964
  },
1138
965
  {
1139
- 23: [
966
+ 22: [
1140
967
  1,
1141
- 69
968
+ 57
1142
969
  ]
1143
970
  },
1144
971
  {
1145
- 24: [
972
+ 23: [
1146
973
  2,
1147
- 48
974
+ 44
1148
975
  ]
1149
976
  },
1150
977
  {
1151
- 24: [
978
+ 23: [
1152
979
  2,
1153
- 49
980
+ 45
1154
981
  ]
1155
982
  },
1156
- t(o, [
983
+ t(c, [
1157
984
  2,
1158
- 30
985
+ 28
1159
986
  ]),
1160
- t(o, [
987
+ t(c, [
1161
988
  2,
1162
- 31
989
+ 29
1163
990
  ]),
1164
991
  {
1165
- 40: [
992
+ 39: [
1166
993
  1,
1167
- 70
994
+ 58
1168
995
  ]
1169
996
  },
1170
997
  {
1171
- 40: [
998
+ 39: [
1172
999
  1,
1173
- 71
1000
+ 59
1174
1001
  ]
1175
1002
  },
1176
1003
  {
1177
- 44: [
1004
+ 43: [
1178
1005
  1,
1179
- 72
1006
+ 60
1180
1007
  ]
1181
1008
  },
1182
1009
  {
1183
- 24: [
1010
+ 23: [
1184
1011
  1,
1185
- 73
1012
+ 61
1186
1013
  ]
1187
1014
  },
1188
1015
  {
1189
- 24: [
1016
+ 23: [
1190
1017
  1,
1191
- 74
1192
- ]
1193
- },
1194
- {
1195
- 47: 75,
1196
- 63: Ct
1197
- },
1198
- {
1199
- 63: [
1200
- 2,
1201
- 52
1018
+ 62
1202
1019
  ]
1203
1020
  },
1204
- t(o, [
1021
+ t(c, [
1205
1022
  2,
1206
- 14
1023
+ 13
1207
1024
  ], {
1208
- 14: [
1025
+ 13: [
1209
1026
  1,
1210
- 76
1027
+ 63
1211
1028
  ]
1212
1029
  }),
1213
1030
  {
1214
- 4: p,
1215
- 5: v,
1216
- 6: 30,
1217
- 9: 14,
1218
- 10: 16,
1219
- 11: 18,
1220
- 12: 19,
1221
- 13: 20,
1222
- 16: d,
1223
- 17: k,
1224
- 19: T,
1225
- 21: [
1031
+ 4: d,
1032
+ 5: y,
1033
+ 8: 8,
1034
+ 9: 10,
1035
+ 10: 12,
1036
+ 11: 13,
1037
+ 12: 14,
1038
+ 15: k,
1039
+ 16: u,
1040
+ 18: E,
1041
+ 20: [
1226
1042
  1,
1227
- 77
1043
+ 64
1228
1044
  ],
1229
- 22: G,
1230
- 24: R,
1045
+ 21: T,
1046
+ 23: R,
1047
+ 24: G,
1231
1048
  25: j,
1232
1049
  26: U,
1233
1050
  27: z,
1234
1051
  28: M,
1235
- 29: H,
1236
- 32: 31,
1237
- 33: X,
1238
- 35: K,
1052
+ 31: 24,
1053
+ 32: H,
1054
+ 34: X,
1055
+ 36: K,
1239
1056
  37: W,
1240
- 38: J,
1241
- 42: q,
1242
- 45: 6,
1243
- 50: Q,
1244
- 51: Z,
1245
- 52: tt,
1246
- 53: et,
1247
- 56: w,
1248
- 60: u
1057
+ 41: J,
1058
+ 44: q,
1059
+ 45: Q,
1060
+ 46: Z,
1061
+ 47: tt,
1062
+ 50: w
1249
1063
  },
1250
- t(o, [
1064
+ t(c, [
1251
1065
  2,
1252
- 20
1066
+ 19
1253
1067
  ], {
1254
- 20: [
1068
+ 19: [
1255
1069
  1,
1256
- 78
1070
+ 65
1257
1071
  ]
1258
1072
  }),
1259
1073
  {
1260
- 31: [
1074
+ 30: [
1261
1075
  1,
1262
- 79
1076
+ 66
1263
1077
  ]
1264
1078
  },
1265
1079
  {
1266
- 24: [
1080
+ 23: [
1267
1081
  1,
1268
- 80
1082
+ 67
1269
1083
  ]
1270
1084
  },
1271
- t(o, [
1272
- 2,
1273
- 33
1274
- ]),
1275
- t(o, [
1085
+ t(c, [
1276
1086
  2,
1277
- 34
1087
+ 31
1278
1088
  ]),
1279
- t(o, [
1089
+ t(c, [
1280
1090
  2,
1281
- 35
1091
+ 32
1282
1092
  ]),
1283
- t(st, [
1093
+ t(c, [
1284
1094
  2,
1285
- 46
1095
+ 33
1286
1096
  ]),
1287
- t(st, [
1097
+ t(et, [
1288
1098
  2,
1289
- 47
1099
+ 42
1290
1100
  ]),
1291
- t(ut, [
1101
+ t(et, [
1292
1102
  2,
1293
- 37
1103
+ 43
1294
1104
  ]),
1295
- t(o, [
1105
+ t(c, [
1296
1106
  2,
1297
- 15
1107
+ 14
1298
1108
  ]),
1299
- t(o, [
1109
+ t(c, [
1300
1110
  2,
1301
- 19
1111
+ 18
1302
1112
  ]),
1303
- t(At, f, {
1304
- 8: 81
1113
+ t(Dt, f, {
1114
+ 7: 68
1305
1115
  }),
1306
- t(o, [
1116
+ t(c, [
1307
1117
  2,
1308
- 26
1118
+ 25
1309
1119
  ]),
1310
- t(o, [
1120
+ t(c, [
1311
1121
  2,
1312
- 27
1122
+ 26
1313
1123
  ]),
1314
1124
  {
1315
- 4: p,
1316
- 5: v,
1317
- 6: 30,
1318
- 9: 14,
1319
- 10: 16,
1320
- 11: 18,
1321
- 12: 19,
1322
- 13: 20,
1323
- 16: d,
1324
- 17: k,
1325
- 19: T,
1326
- 21: [
1125
+ 4: d,
1126
+ 5: y,
1127
+ 8: 8,
1128
+ 9: 10,
1129
+ 10: 12,
1130
+ 11: 13,
1131
+ 12: 14,
1132
+ 15: k,
1133
+ 16: u,
1134
+ 18: E,
1135
+ 20: [
1327
1136
  1,
1328
- 82
1137
+ 69
1329
1138
  ],
1330
- 22: G,
1331
- 24: R,
1139
+ 21: T,
1140
+ 23: R,
1141
+ 24: G,
1332
1142
  25: j,
1333
1143
  26: U,
1334
1144
  27: z,
1335
1145
  28: M,
1336
- 29: H,
1337
- 32: 31,
1338
- 33: X,
1339
- 35: K,
1146
+ 31: 24,
1147
+ 32: H,
1148
+ 34: X,
1149
+ 36: K,
1340
1150
  37: W,
1341
- 38: J,
1342
- 42: q,
1343
- 45: 6,
1344
- 50: Q,
1345
- 51: Z,
1346
- 52: tt,
1347
- 53: et,
1348
- 56: w,
1349
- 60: u
1151
+ 41: J,
1152
+ 44: q,
1153
+ 45: Q,
1154
+ 46: Z,
1155
+ 47: tt,
1156
+ 50: w
1350
1157
  },
1351
- t(o, [
1158
+ t(c, [
1352
1159
  2,
1353
- 21
1160
+ 20
1354
1161
  ])
1355
1162
  ],
1356
1163
  defaultActions: {
1357
- 7: [
1358
- 2,
1359
- 50
1360
- ],
1361
- 8: [
1164
+ 5: [
1362
1165
  2,
1363
1166
  1
1364
1167
  ],
1365
- 9: [
1168
+ 6: [
1366
1169
  2,
1367
1170
  2
1368
1171
  ],
1369
- 10: [
1370
- 2,
1371
- 3
1372
- ],
1373
- 54: [
1374
- 2,
1375
- 48
1376
- ],
1377
- 55: [
1172
+ 44: [
1378
1173
  2,
1379
- 49
1174
+ 44
1380
1175
  ],
1381
- 64: [
1176
+ 45: [
1382
1177
  2,
1383
- 52
1178
+ 45
1384
1179
  ]
1385
1180
  },
1386
- parseError: function parseError(r, a) {
1387
- if (a.recoverable) this.trace(r);
1181
+ parseError: function parseError(r, n) {
1182
+ if (n.recoverable) this.trace(r);
1388
1183
  else {
1389
1184
  var i = new Error(r);
1390
- throw i.hash = a, i;
1185
+ throw i.hash = n, i;
1391
1186
  }
1392
1187
  },
1393
1188
  parse: function parse(r) {
1394
- var a = this, i = [
1189
+ var n = this, i = [
1395
1190
  0
1396
- ], l = [], y = [
1191
+ ], o = [], p = [
1397
1192
  null
1398
- ], e = [], B = this.table, c = "", C = 0, O = 0, it = 2, $ = 1, pt = e.slice.call(arguments, 1), S = Object.create(this.lexer), A = {
1193
+ ], e = [], $ = this.table, l = "", A = 0, O = 0, st = 2, B = 1, ft = e.slice.call(arguments, 1), S = Object.create(this.lexer), L = {
1399
1194
  yy: {}
1400
1195
  };
1401
- for(var yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy, yt) && (A.yy[yt] = this.yy[yt]);
1402
- S.setInput(r, A.yy), A.yy.lexer = S, A.yy.parser = this, _type_of(S.yylloc) > "u" && (S.yylloc = {});
1403
- var St = S.yylloc;
1404
- e.push(St);
1405
- var zt = S.options && S.options.ranges;
1406
- typeof A.yy.parseError == "function" ? this.parseError = A.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1407
- function Mt() {
1408
- var E;
1409
- return E = l.pop() || S.lex() || $, typeof E != "number" && (_instanceof(E, Array) && (l = E, E = l.pop()), E = a.symbols_[E] || E), E;
1196
+ for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy, dt) && (L.yy[dt] = this.yy[dt]);
1197
+ S.setInput(r, L.yy), L.yy.lexer = S, L.yy.parser = this, _type_of(S.yylloc) > "u" && (S.yylloc = {});
1198
+ var yt = S.yylloc;
1199
+ e.push(yt);
1200
+ var Gt = S.options && S.options.ranges;
1201
+ typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1202
+ function jt() {
1203
+ var x;
1204
+ return x = o.pop() || S.lex() || B, typeof x != "number" && (_instanceof(x, Array) && (o = x, x = o.pop()), x = n.symbols_[x] || x), x;
1410
1205
  }
1411
- for(var _, L, m, gt, N = {}, rt, b, Lt, nt;;){
1412
- if (L = i[i.length - 1], this.defaultActions[L] ? m = this.defaultActions[L] : ((_ === null || (typeof _ === "undefined" ? "undefined" : _type_of(_)) > "u") && (_ = Mt()), m = B[L] && B[L][_]), (typeof m === "undefined" ? "undefined" : _type_of(m)) > "u" || !m.length || !m[0]) {
1413
- var _t = "";
1414
- nt = [];
1415
- for(rt in B[L])this.terminals_[rt] && rt > it && nt.push("'" + this.terminals_[rt] + "'");
1416
- S.showPosition ? _t = "Parse error on line " + (C + 1) + ":\n" + S.showPosition() + "\nExpecting " + nt.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : _t = "Parse error on line " + (C + 1) + ": Unexpected " + (_ == $ ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(_t, {
1206
+ for(var _, v, m, pt, N = {}, it, b, Ct, rt;;){
1207
+ if (v = i[i.length - 1], this.defaultActions[v] ? m = this.defaultActions[v] : ((_ === null || (typeof _ === "undefined" ? "undefined" : _type_of(_)) > "u") && (_ = jt()), m = $[v] && $[v][_]), (typeof m === "undefined" ? "undefined" : _type_of(m)) > "u" || !m.length || !m[0]) {
1208
+ var St = "";
1209
+ rt = [];
1210
+ for(it in $[v])this.terminals_[it] && it > st && rt.push("'" + this.terminals_[it] + "'");
1211
+ S.showPosition ? St = "Parse error on line " + (A + 1) + ":\n" + S.showPosition() + "\nExpecting " + rt.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : St = "Parse error on line " + (A + 1) + ": Unexpected " + (_ == B ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(St, {
1417
1212
  text: S.match,
1418
1213
  token: this.terminals_[_] || _,
1419
1214
  line: S.yylineno,
1420
- loc: St,
1421
- expected: nt
1215
+ loc: yt,
1216
+ expected: rt
1422
1217
  });
1423
1218
  }
1424
- if (_instanceof(m[0], Array) && m.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + L + ", token: " + _);
1219
+ if (_instanceof(m[0], Array) && m.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + _);
1425
1220
  switch(m[0]){
1426
1221
  case 1:
1427
- i.push(_), y.push(S.yytext), e.push(S.yylloc), i.push(m[1]), _ = null, O = S.yyleng, c = S.yytext, C = S.yylineno, St = S.yylloc;
1222
+ i.push(_), p.push(S.yytext), e.push(S.yylloc), i.push(m[1]), _ = null, O = S.yyleng, l = S.yytext, A = S.yylineno, yt = S.yylloc;
1428
1223
  break;
1429
1224
  case 2:
1430
- if (b = this.productions_[m[1]][1], N.$ = y[y.length - b], N._$ = {
1225
+ if (b = this.productions_[m[1]][1], N.$ = p[p.length - b], N._$ = {
1431
1226
  first_line: e[e.length - (b || 1)].first_line,
1432
1227
  last_line: e[e.length - 1].last_line,
1433
1228
  first_column: e[e.length - (b || 1)].first_column,
1434
1229
  last_column: e[e.length - 1].last_column
1435
- }, zt && (N._$.range = [
1230
+ }, Gt && (N._$.range = [
1436
1231
  e[e.length - (b || 1)].range[0],
1437
1232
  e[e.length - 1].range[1]
1438
- ]), gt = this.performAction.apply(N, [
1439
- c,
1233
+ ]), pt = this.performAction.apply(N, [
1234
+ l,
1440
1235
  O,
1441
- C,
1442
- A.yy,
1236
+ A,
1237
+ L.yy,
1443
1238
  m[1],
1444
- y,
1239
+ p,
1445
1240
  e
1446
- ].concat(pt)), (typeof gt === "undefined" ? "undefined" : _type_of(gt)) < "u") return gt;
1447
- b && (i = i.slice(0, -1 * b * 2), y = y.slice(0, -1 * b), e = e.slice(0, -1 * b)), i.push(this.productions_[m[1]][0]), y.push(N.$), e.push(N._$), Lt = B[i[i.length - 2]][i[i.length - 1]], i.push(Lt);
1241
+ ].concat(ft)), (typeof pt === "undefined" ? "undefined" : _type_of(pt)) < "u") return pt;
1242
+ b && (i = i.slice(0, -1 * b * 2), p = p.slice(0, -1 * b), e = e.slice(0, -1 * b)), i.push(this.productions_[m[1]][0]), p.push(N.$), e.push(N._$), Ct = $[i[i.length - 2]][i[i.length - 1]], i.push(Ct);
1448
1243
  break;
1449
1244
  case 3:
1450
1245
  return !0;
@@ -1452,16 +1247,16 @@ var mt = function() {
1452
1247
  }
1453
1248
  return !0;
1454
1249
  }
1455
- }, Ut = function() {
1456
- var D = {
1250
+ }, Yt = function() {
1251
+ var C = {
1457
1252
  EOF: 1,
1458
- parseError: function parseError(a, i) {
1459
- if (this.yy.parser) this.yy.parser.parseError(a, i);
1460
- else throw new Error(a);
1253
+ parseError: function parseError(n, i) {
1254
+ if (this.yy.parser) this.yy.parser.parseError(n, i);
1255
+ else throw new Error(n);
1461
1256
  },
1462
1257
  // resets the lexer, sets new input
1463
- setInput: function setInput(r, a) {
1464
- return this.yy = a || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
1258
+ setInput: function setInput(r, n) {
1259
+ return this.yy = n || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
1465
1260
  "INITIAL"
1466
1261
  ], this.yylloc = {
1467
1262
  first_line: 1,
@@ -1477,24 +1272,24 @@ var mt = function() {
1477
1272
  input: function input() {
1478
1273
  var r = this._input[0];
1479
1274
  this.yytext += r, this.yyleng++, this.offset++, this.match += r, this.matched += r;
1480
- var a = r.match(/(?:\r\n?|\n).*/g);
1481
- return a ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), r;
1275
+ var n = r.match(/(?:\r\n?|\n).*/g);
1276
+ return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), r;
1482
1277
  },
1483
1278
  // unshifts one char (or a string) into the input
1484
1279
  unput: function unput(r) {
1485
- var a = r.length, i = r.split(/(?:\r\n?|\n)/g);
1486
- this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
1487
- var l = this.match.split(/(?:\r\n?|\n)/g);
1280
+ var n = r.length, i = r.split(/(?:\r\n?|\n)/g);
1281
+ this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
1282
+ var o = this.match.split(/(?:\r\n?|\n)/g);
1488
1283
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), i.length - 1 && (this.yylineno -= i.length - 1);
1489
- var y = this.yylloc.range;
1284
+ var p = this.yylloc.range;
1490
1285
  return this.yylloc = {
1491
1286
  first_line: this.yylloc.first_line,
1492
1287
  last_line: this.yylineno + 1,
1493
1288
  first_column: this.yylloc.first_column,
1494
- last_column: i ? (i.length === l.length ? this.yylloc.first_column : 0) + l[l.length - i.length].length - i[0].length : this.yylloc.first_column - a
1289
+ last_column: i ? (i.length === o.length ? this.yylloc.first_column : 0) + o[o.length - i.length].length - i[0].length : this.yylloc.first_column - n
1495
1290
  }, this.options.ranges && (this.yylloc.range = [
1496
- y[0],
1497
- y[0] + this.yyleng - a
1291
+ p[0],
1292
+ p[0] + this.yyleng - n
1498
1293
  ]), this.yyleng = this.yytext.length, this;
1499
1294
  },
1500
1295
  // When called from action, caches matched text and appends it on next action
@@ -1527,13 +1322,13 @@ var mt = function() {
1527
1322
  },
1528
1323
  // displays the character position where the lexing error occurred, i.e. for error messages
1529
1324
  showPosition: function showPosition() {
1530
- var r = this.pastInput(), a = new Array(r.length + 1).join("-");
1531
- return r + this.upcomingInput() + "\n" + a + "^";
1325
+ var r = this.pastInput(), n = new Array(r.length + 1).join("-");
1326
+ return r + this.upcomingInput() + "\n" + n + "^";
1532
1327
  },
1533
1328
  // test the lexed token: return FALSE when not a match, otherwise return token
1534
- test_match: function test_match(r, a) {
1535
- var i, l, y;
1536
- if (this.options.backtrack_lexer && (y = {
1329
+ test_match: function test_match(r, n) {
1330
+ var i, o, p;
1331
+ if (this.options.backtrack_lexer && (p = {
1537
1332
  yylineno: this.yylineno,
1538
1333
  yylloc: {
1539
1334
  first_line: this.yylloc.first_line,
@@ -1552,17 +1347,17 @@ var mt = function() {
1552
1347
  yy: this.yy,
1553
1348
  conditionStack: this.conditionStack.slice(0),
1554
1349
  done: this.done
1555
- }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), l = r[0].match(/(?:\r\n?|\n).*/g), l && (this.yylineno += l.length), this.yylloc = {
1350
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), o = r[0].match(/(?:\r\n?|\n).*/g), o && (this.yylineno += o.length), this.yylloc = {
1556
1351
  first_line: this.yylloc.last_line,
1557
1352
  last_line: this.yylineno + 1,
1558
1353
  first_column: this.yylloc.last_column,
1559
- last_column: l ? l[l.length - 1].length - l[l.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
1354
+ last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
1560
1355
  }, this.yytext += r[0], this.match += r[0], this.matches = r, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
1561
1356
  this.offset,
1562
1357
  this.offset += this.yyleng
1563
- ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(r[0].length), this.matched += r[0], i = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), i) return i;
1358
+ ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(r[0].length), this.matched += r[0], i = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), i) return i;
1564
1359
  if (this._backtrack) {
1565
- for(var e in y)this[e] = y[e];
1360
+ for(var e in p)this[e] = p[e];
1566
1361
  return !1;
1567
1362
  }
1568
1363
  return !1;
@@ -1571,18 +1366,18 @@ var mt = function() {
1571
1366
  next: function next() {
1572
1367
  if (this.done) return this.EOF;
1573
1368
  this._input || (this.done = !0);
1574
- var r, a, i, l;
1369
+ var r, n, i, o;
1575
1370
  this._more || (this.yytext = "", this.match = "");
1576
- for(var y = this._currentRules(), e = 0; e < y.length; e++)if (i = this._input.match(this.rules[y[e]]), i && (!a || i[0].length > a[0].length)) {
1577
- if (a = i, l = e, this.options.backtrack_lexer) {
1578
- if (r = this.test_match(i, y[e]), r !== !1) return r;
1371
+ for(var p = this._currentRules(), e = 0; e < p.length; e++)if (i = this._input.match(this.rules[p[e]]), i && (!n || i[0].length > n[0].length)) {
1372
+ if (n = i, o = e, this.options.backtrack_lexer) {
1373
+ if (r = this.test_match(i, p[e]), r !== !1) return r;
1579
1374
  if (this._backtrack) {
1580
- a = !1;
1375
+ n = !1;
1581
1376
  continue;
1582
1377
  } else return !1;
1583
1378
  } else if (!this.options.flex) break;
1584
1379
  }
1585
- return a ? (r = this.test_match(a, y[l]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1380
+ return n ? (r = this.test_match(n, p[o]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1586
1381
  text: "",
1587
1382
  token: null,
1588
1383
  line: this.yylineno
@@ -1590,29 +1385,29 @@ var mt = function() {
1590
1385
  },
1591
1386
  // return next match that has a token
1592
1387
  lex: function lex() {
1593
- var a = this.next();
1594
- return a || this.lex();
1388
+ var n = this.next();
1389
+ return n || this.lex();
1595
1390
  },
1596
1391
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1597
- begin: function begin(a) {
1598
- this.conditionStack.push(a);
1392
+ begin: function begin(n) {
1393
+ this.conditionStack.push(n);
1599
1394
  },
1600
1395
  // pop the previously active lexer condition state off the condition stack
1601
1396
  popState: function popState() {
1602
- var a = this.conditionStack.length - 1;
1603
- return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1397
+ var n = this.conditionStack.length - 1;
1398
+ return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1604
1399
  },
1605
1400
  // produce the lexer rule set which is active for the currently active lexer condition state
1606
1401
  _currentRules: function _currentRules() {
1607
1402
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1608
1403
  },
1609
1404
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1610
- topState: function topState(a) {
1611
- return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
1405
+ topState: function topState(n) {
1406
+ return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
1612
1407
  },
1613
1408
  // alias for begin(condition)
1614
- pushState: function pushState(a) {
1615
- this.begin(a);
1409
+ pushState: function pushState(n) {
1410
+ this.begin(n);
1616
1411
  },
1617
1412
  // return the number of states currently on the stack
1618
1413
  stateStackSize: function stateStackSize() {
@@ -1621,178 +1416,168 @@ var mt = function() {
1621
1416
  options: {
1622
1417
  "case-insensitive": !0
1623
1418
  },
1624
- performAction: function performAction(a, i, l, y) {
1625
- switch(l){
1419
+ performAction: function performAction(n, i, o, p) {
1420
+ switch(o){
1626
1421
  case 0:
1627
- return 41;
1422
+ return 40;
1628
1423
  case 1:
1629
- return 50;
1424
+ return 44;
1630
1425
  case 2:
1631
- return 51;
1426
+ return 45;
1632
1427
  case 3:
1633
- return 52;
1428
+ return 46;
1634
1429
  case 4:
1635
- return 53;
1430
+ return 47;
1636
1431
  case 5:
1637
- return this.begin("open_directive"), 60;
1432
+ break;
1638
1433
  case 6:
1639
- return this.begin("type_directive"), 61;
1434
+ break;
1640
1435
  case 7:
1641
- return this.popState(), this.begin("arg_directive"), 48;
1436
+ return 5;
1642
1437
  case 8:
1643
- return this.popState(), this.popState(), 63;
1438
+ break;
1644
1439
  case 9:
1645
- return 62;
1440
+ break;
1646
1441
  case 10:
1647
1442
  break;
1648
1443
  case 11:
1649
1444
  break;
1650
1445
  case 12:
1651
- return 5;
1446
+ return this.pushState("SCALE"), 16;
1652
1447
  case 13:
1653
- break;
1448
+ return 17;
1654
1449
  case 14:
1450
+ this.popState();
1655
1451
  break;
1656
1452
  case 15:
1657
- break;
1453
+ return this.begin("acc_title"), 32;
1658
1454
  case 16:
1659
- break;
1455
+ return this.popState(), "acc_title_value";
1660
1456
  case 17:
1661
- return this.pushState("SCALE"), 17;
1457
+ return this.begin("acc_descr"), 34;
1662
1458
  case 18:
1663
- return 18;
1459
+ return this.popState(), "acc_descr_value";
1664
1460
  case 19:
1665
- this.popState();
1461
+ this.begin("acc_descr_multiline");
1666
1462
  break;
1667
1463
  case 20:
1668
- return this.begin("acc_title"), 33;
1464
+ this.popState();
1465
+ break;
1669
1466
  case 21:
1670
- return this.popState(), "acc_title_value";
1467
+ return "acc_descr_multiline_value";
1671
1468
  case 22:
1672
- return this.begin("acc_descr"), 35;
1469
+ return this.pushState("CLASSDEF"), 37;
1673
1470
  case 23:
1674
- return this.popState(), "acc_descr_value";
1471
+ return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
1675
1472
  case 24:
1676
- this.begin("acc_descr_multiline");
1677
- break;
1473
+ return this.popState(), this.pushState("CLASSDEFID"), 38;
1678
1474
  case 25:
1679
- this.popState();
1680
- break;
1475
+ return this.popState(), 39;
1681
1476
  case 26:
1682
- return "acc_descr_multiline_value";
1477
+ return this.pushState("CLASS"), 41;
1683
1478
  case 27:
1684
- return this.pushState("CLASSDEF"), 38;
1479
+ return this.popState(), this.pushState("CLASS_STYLE"), 42;
1685
1480
  case 28:
1686
- return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
1481
+ return this.popState(), 43;
1687
1482
  case 29:
1688
- return this.popState(), this.pushState("CLASSDEFID"), 39;
1483
+ return this.pushState("SCALE"), 16;
1689
1484
  case 30:
1690
- return this.popState(), 40;
1485
+ return 17;
1691
1486
  case 31:
1692
- return this.pushState("CLASS"), 42;
1487
+ this.popState();
1488
+ break;
1693
1489
  case 32:
1694
- return this.popState(), this.pushState("CLASS_STYLE"), 43;
1490
+ this.pushState("STATE");
1491
+ break;
1695
1492
  case 33:
1696
- return this.popState(), 44;
1493
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 24;
1697
1494
  case 34:
1698
- return this.pushState("SCALE"), 17;
1495
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 25;
1699
1496
  case 35:
1700
- return 18;
1497
+ return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 26;
1701
1498
  case 36:
1702
- this.popState();
1703
- break;
1499
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 24;
1704
1500
  case 37:
1705
- this.pushState("STATE");
1706
- break;
1707
- case 38:
1708
1501
  return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 25;
1502
+ case 38:
1503
+ return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 26;
1709
1504
  case 39:
1710
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 26;
1505
+ return 44;
1711
1506
  case 40:
1712
- return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 27;
1507
+ return 45;
1713
1508
  case 41:
1714
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 25;
1509
+ return 46;
1715
1510
  case 42:
1716
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 26;
1511
+ return 47;
1717
1512
  case 43:
1718
- return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 27;
1513
+ this.pushState("STATE_STRING");
1514
+ break;
1719
1515
  case 44:
1720
- return 50;
1516
+ return this.pushState("STATE_ID"), "AS";
1721
1517
  case 45:
1722
- return 51;
1518
+ return this.popState(), "ID";
1723
1519
  case 46:
1724
- return 52;
1520
+ this.popState();
1521
+ break;
1725
1522
  case 47:
1726
- return 53;
1523
+ return "STATE_DESCR";
1727
1524
  case 48:
1728
- this.pushState("STATE_STRING");
1729
- break;
1525
+ return 18;
1730
1526
  case 49:
1731
- return this.pushState("STATE_ID"), "AS";
1527
+ this.popState();
1528
+ break;
1732
1529
  case 50:
1733
- return this.popState(), "ID";
1530
+ return this.popState(), this.pushState("struct"), 19;
1734
1531
  case 51:
1735
- this.popState();
1736
1532
  break;
1737
1533
  case 52:
1738
- return "STATE_DESCR";
1534
+ return this.popState(), 20;
1739
1535
  case 53:
1740
- return 19;
1741
- case 54:
1742
- this.popState();
1743
1536
  break;
1537
+ case 54:
1538
+ return this.begin("NOTE"), 28;
1744
1539
  case 55:
1745
- return this.popState(), this.pushState("struct"), 20;
1540
+ return this.popState(), this.pushState("NOTE_ID"), 52;
1746
1541
  case 56:
1747
- break;
1542
+ return this.popState(), this.pushState("NOTE_ID"), 53;
1748
1543
  case 57:
1749
- return this.popState(), 21;
1750
- case 58:
1544
+ this.popState(), this.pushState("FLOATING_NOTE");
1751
1545
  break;
1546
+ case 58:
1547
+ return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
1752
1548
  case 59:
1753
- return this.begin("NOTE"), 29;
1549
+ break;
1754
1550
  case 60:
1755
- return this.popState(), this.pushState("NOTE_ID"), 58;
1551
+ return "NOTE_TEXT";
1756
1552
  case 61:
1757
- return this.popState(), this.pushState("NOTE_ID"), 59;
1553
+ return this.popState(), "ID";
1758
1554
  case 62:
1759
- this.popState(), this.pushState("FLOATING_NOTE");
1760
- break;
1555
+ return this.popState(), this.pushState("NOTE_TEXT"), 23;
1761
1556
  case 63:
1762
- return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
1557
+ return this.popState(), i.yytext = i.yytext.substr(2).trim(), 30;
1763
1558
  case 64:
1764
- break;
1559
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 30;
1765
1560
  case 65:
1766
- return "NOTE_TEXT";
1561
+ return 6;
1767
1562
  case 66:
1768
- return this.popState(), "ID";
1563
+ return 6;
1769
1564
  case 67:
1770
- return this.popState(), this.pushState("NOTE_TEXT"), 24;
1565
+ return 15;
1771
1566
  case 68:
1772
- return this.popState(), i.yytext = i.yytext.substr(2).trim(), 31;
1567
+ return 50;
1773
1568
  case 69:
1774
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 31;
1569
+ return 23;
1775
1570
  case 70:
1776
- return 7;
1571
+ return i.yytext = i.yytext.trim(), 13;
1777
1572
  case 71:
1778
- return 7;
1573
+ return 14;
1779
1574
  case 72:
1780
- return 16;
1575
+ return 27;
1781
1576
  case 73:
1782
- return 56;
1577
+ return 51;
1783
1578
  case 74:
1784
- return 24;
1785
- case 75:
1786
- return i.yytext = i.yytext.trim(), 14;
1787
- case 76:
1788
- return 15;
1789
- case 77:
1790
- return 28;
1791
- case 78:
1792
- return 57;
1793
- case 79:
1794
1579
  return 5;
1795
- case 80:
1580
+ case 75:
1796
1581
  return "INVALID";
1797
1582
  }
1798
1583
  },
@@ -1802,11 +1587,6 @@ var mt = function() {
1802
1587
  /^(?:.*direction\s+BT[^\n]*)/i,
1803
1588
  /^(?:.*direction\s+RL[^\n]*)/i,
1804
1589
  /^(?:.*direction\s+LR[^\n]*)/i,
1805
- /^(?:%%\{)/i,
1806
- /^(?:((?:(?!\}%%)[^:.])*))/i,
1807
- /^(?::)/i,
1808
- /^(?:\}%%)/i,
1809
- /^(?:((?:(?!\}%%).|\n)*))/i,
1810
1590
  /^(?:%%(?!\{)[^\n]*)/i,
1811
1591
  /^(?:[^\}]%%[^\n]*)/i,
1812
1592
  /^(?:[\n]+)/i,
@@ -1882,152 +1662,119 @@ var mt = function() {
1882
1662
  conditions: {
1883
1663
  LINE: {
1884
1664
  rules: [
1885
- 14,
1886
- 15
1887
- ],
1888
- inclusive: !1
1889
- },
1890
- close_directive: {
1891
- rules: [
1892
- 14,
1893
- 15
1894
- ],
1895
- inclusive: !1
1896
- },
1897
- arg_directive: {
1898
- rules: [
1899
- 8,
1900
1665
  9,
1901
- 14,
1902
- 15
1903
- ],
1904
- inclusive: !1
1905
- },
1906
- type_directive: {
1907
- rules: [
1908
- 7,
1909
- 8,
1910
- 14,
1911
- 15
1912
- ],
1913
- inclusive: !1
1914
- },
1915
- open_directive: {
1916
- rules: [
1917
- 6,
1918
- 14,
1919
- 15
1666
+ 10
1920
1667
  ],
1921
1668
  inclusive: !1
1922
1669
  },
1923
1670
  struct: {
1924
1671
  rules: [
1925
- 14,
1926
- 15,
1927
- 27,
1928
- 31,
1929
- 37,
1930
- 44,
1931
- 45,
1932
- 46,
1933
- 47,
1934
- 56,
1935
- 57,
1936
- 58,
1937
- 59,
1938
- 73,
1939
- 74,
1940
- 75,
1941
- 76,
1942
- 77
1672
+ 9,
1673
+ 10,
1674
+ 22,
1675
+ 26,
1676
+ 32,
1677
+ 39,
1678
+ 40,
1679
+ 41,
1680
+ 42,
1681
+ 51,
1682
+ 52,
1683
+ 53,
1684
+ 54,
1685
+ 68,
1686
+ 69,
1687
+ 70,
1688
+ 71,
1689
+ 72
1943
1690
  ],
1944
1691
  inclusive: !1
1945
1692
  },
1946
1693
  FLOATING_NOTE_ID: {
1947
1694
  rules: [
1948
- 66
1695
+ 61
1949
1696
  ],
1950
1697
  inclusive: !1
1951
1698
  },
1952
1699
  FLOATING_NOTE: {
1953
1700
  rules: [
1954
- 63,
1955
- 64,
1956
- 65
1701
+ 58,
1702
+ 59,
1703
+ 60
1957
1704
  ],
1958
1705
  inclusive: !1
1959
1706
  },
1960
1707
  NOTE_TEXT: {
1961
1708
  rules: [
1962
- 68,
1963
- 69
1709
+ 63,
1710
+ 64
1964
1711
  ],
1965
1712
  inclusive: !1
1966
1713
  },
1967
1714
  NOTE_ID: {
1968
1715
  rules: [
1969
- 67
1716
+ 62
1970
1717
  ],
1971
1718
  inclusive: !1
1972
1719
  },
1973
1720
  NOTE: {
1974
1721
  rules: [
1975
- 60,
1976
- 61,
1977
- 62
1722
+ 55,
1723
+ 56,
1724
+ 57
1978
1725
  ],
1979
1726
  inclusive: !1
1980
1727
  },
1981
1728
  CLASS_STYLE: {
1982
1729
  rules: [
1983
- 33
1730
+ 28
1984
1731
  ],
1985
1732
  inclusive: !1
1986
1733
  },
1987
1734
  CLASS: {
1988
1735
  rules: [
1989
- 32
1736
+ 27
1990
1737
  ],
1991
1738
  inclusive: !1
1992
1739
  },
1993
1740
  CLASSDEFID: {
1994
1741
  rules: [
1995
- 30
1742
+ 25
1996
1743
  ],
1997
1744
  inclusive: !1
1998
1745
  },
1999
1746
  CLASSDEF: {
2000
1747
  rules: [
2001
- 28,
2002
- 29
1748
+ 23,
1749
+ 24
2003
1750
  ],
2004
1751
  inclusive: !1
2005
1752
  },
2006
1753
  acc_descr_multiline: {
2007
1754
  rules: [
2008
- 25,
2009
- 26
1755
+ 20,
1756
+ 21
2010
1757
  ],
2011
1758
  inclusive: !1
2012
1759
  },
2013
1760
  acc_descr: {
2014
1761
  rules: [
2015
- 23
1762
+ 18
2016
1763
  ],
2017
1764
  inclusive: !1
2018
1765
  },
2019
1766
  acc_title: {
2020
1767
  rules: [
2021
- 21
1768
+ 16
2022
1769
  ],
2023
1770
  inclusive: !1
2024
1771
  },
2025
1772
  SCALE: {
2026
1773
  rules: [
2027
- 18,
2028
- 19,
2029
- 35,
2030
- 36
1774
+ 13,
1775
+ 14,
1776
+ 30,
1777
+ 31
2031
1778
  ],
2032
1779
  inclusive: !1
2033
1780
  },
@@ -2037,14 +1784,14 @@ var mt = function() {
2037
1784
  },
2038
1785
  STATE_ID: {
2039
1786
  rules: [
2040
- 50
1787
+ 45
2041
1788
  ],
2042
1789
  inclusive: !1
2043
1790
  },
2044
1791
  STATE_STRING: {
2045
1792
  rules: [
2046
- 51,
2047
- 52
1793
+ 46,
1794
+ 47
2048
1795
  ],
2049
1796
  inclusive: !1
2050
1797
  },
@@ -2054,26 +1801,26 @@ var mt = function() {
2054
1801
  },
2055
1802
  STATE: {
2056
1803
  rules: [
2057
- 14,
2058
- 15,
1804
+ 9,
1805
+ 10,
1806
+ 33,
1807
+ 34,
1808
+ 35,
1809
+ 36,
1810
+ 37,
2059
1811
  38,
2060
- 39,
2061
- 40,
2062
- 41,
2063
- 42,
2064
1812
  43,
1813
+ 44,
2065
1814
  48,
2066
1815
  49,
2067
- 53,
2068
- 54,
2069
- 55
1816
+ 50
2070
1817
  ],
2071
1818
  inclusive: !1
2072
1819
  },
2073
1820
  ID: {
2074
1821
  rules: [
2075
- 14,
2076
- 15
1822
+ 9,
1823
+ 10
2077
1824
  ],
2078
1825
  inclusive: !1
2079
1826
  },
@@ -2085,101 +1832,98 @@ var mt = function() {
2085
1832
  3,
2086
1833
  4,
2087
1834
  5,
1835
+ 6,
1836
+ 7,
1837
+ 8,
2088
1838
  10,
2089
1839
  11,
2090
1840
  12,
2091
- 13,
2092
1841
  15,
2093
- 16,
2094
1842
  17,
2095
- 20,
1843
+ 19,
2096
1844
  22,
2097
- 24,
2098
- 27,
2099
- 31,
2100
- 34,
2101
- 37,
2102
- 55,
2103
- 59,
1845
+ 26,
1846
+ 29,
1847
+ 32,
1848
+ 50,
1849
+ 54,
1850
+ 65,
1851
+ 66,
1852
+ 67,
1853
+ 68,
1854
+ 69,
2104
1855
  70,
2105
1856
  71,
2106
- 72,
2107
1857
  73,
2108
1858
  74,
2109
- 75,
2110
- 76,
2111
- 78,
2112
- 79,
2113
- 80
1859
+ 75
2114
1860
  ],
2115
1861
  inclusive: !0
2116
1862
  }
2117
1863
  }
2118
1864
  };
2119
- return D;
1865
+ return C;
2120
1866
  }();
2121
- dt.lexer = Ut;
2122
- function ft() {
1867
+ ht.lexer = Yt;
1868
+ function ut() {
2123
1869
  this.yy = {};
2124
1870
  }
2125
- return ft.prototype = dt, dt.Parser = ft, new ft();
1871
+ return ut.prototype = ht, ht.Parser = ut, new ut();
2126
1872
  }();
2127
- mt.parser = mt;
2128
- var Ie = mt, ee = "LR", Oe = "TB", Tt = "state", Rt = "relation", se = "classDef", ie = "applyClass", xt = "default", re = "divider", vt = "[*]", wt = "start", Bt = vt, $t = "end", It = "color", Ot = "fill", ne = "bgFill", ae = ",";
2129
- function Pt() {
1873
+ gt.parser = gt;
1874
+ var De = gt, qt = "LR", Ce = "TB", _t = "state", It = "relation", Qt = "classDef", Zt = "applyClass", Et = "default", te = "divider", bt = "[*]", Ot = "start", Nt = bt, Rt = "end", At = "color", Lt = "fill", ee = "bgFill", se = ",";
1875
+ function wt() {
2130
1876
  return {};
2131
1877
  }
2132
- var Vt = ee, lt = [], P = Pt();
2133
- var Ft = function() {
1878
+ var $t = qt, lt = [], P = wt();
1879
+ var Bt = function() {
2134
1880
  return {
2135
1881
  relations: [],
2136
1882
  states: {},
2137
1883
  documents: {}
2138
1884
  };
2139
1885
  };
2140
- var ot = {
2141
- root: Ft()
2142
- }, g = ot.root, V = 0, Nt = 0;
2143
- var ce = {
1886
+ var ct = {
1887
+ root: Bt()
1888
+ }, g = ct.root, F = 0, vt = 0;
1889
+ var ie = {
2144
1890
  LINE: 0,
2145
1891
  DOTTED_LINE: 1
2146
- }, le = {
1892
+ }, re = {
2147
1893
  AGGREGATION: 0,
2148
1894
  EXTENSION: 1,
2149
1895
  COMPOSITION: 2,
2150
1896
  DEPENDENCY: 3
2151
- }, at = function(t) {
1897
+ }, nt = function(t) {
2152
1898
  return JSON.parse(JSON.stringify(t));
2153
- }, oe = function oe(t, s, n) {
2154
- de$1.parseDirective(this, t, s, n);
2155
- }, he = function(t) {
2156
- S.info("Setting root doc", t), lt = t;
2157
- }, ue = function() {
1899
+ }, ne = function(t) {
1900
+ L.info("Setting root doc", t), lt = t;
1901
+ }, ae = function() {
2158
1902
  return lt;
2159
- }, ct = function(t, s, n) {
2160
- if (s.stmt === Rt) ct(t, s.state1, !0), ct(t, s.state2, !1);
2161
- else if (s.stmt === Tt && (s.id === "[*]" ? (s.id = n ? t.id + "_start" : t.id + "_end", s.start = n) : s.id = s.id.trim()), s.doc) {
1903
+ }, at = function(t, s, a) {
1904
+ if (s.stmt === It) at(t, s.state1, !0), at(t, s.state2, !1);
1905
+ else if (s.stmt === _t && (s.id === "[*]" ? (s.id = a ? t.id + "_start" : t.id + "_end", s.start = a) : s.id = s.id.trim()), s.doc) {
2162
1906
  var h = [];
2163
- var u = [], f;
2164
- for(f = 0; f < s.doc.length; f++)if (s.doc[f].type === re) {
2165
- var p = at(s.doc[f]);
2166
- p.doc = at(u), h.push(p), u = [];
2167
- } else u.push(s.doc[f]);
2168
- if (h.length > 0 && u.length > 0) {
2169
- var p1 = {
2170
- stmt: Tt,
2171
- id: w0(),
1907
+ var f = [], d;
1908
+ for(d = 0; d < s.doc.length; d++)if (s.doc[d].type === te) {
1909
+ var y = nt(s.doc[d]);
1910
+ y.doc = nt(f), h.push(y), f = [];
1911
+ } else f.push(s.doc[d]);
1912
+ if (h.length > 0 && f.length > 0) {
1913
+ var y1 = {
1914
+ stmt: _t,
1915
+ id: F0(),
2172
1916
  type: "divider",
2173
- doc: at(u)
1917
+ doc: nt(f)
2174
1918
  };
2175
- h.push(at(p1)), s.doc = h;
1919
+ h.push(nt(y1)), s.doc = h;
2176
1920
  }
2177
- s.doc.forEach(function(p) {
2178
- return ct(s, p, !0);
1921
+ s.doc.forEach(function(y) {
1922
+ return at(s, y, !0);
2179
1923
  });
2180
1924
  }
2181
- }, de = function() {
2182
- return ct({
1925
+ }, le = function() {
1926
+ return at({
2183
1927
  id: "root"
2184
1928
  }, {
2185
1929
  id: "root",
@@ -2188,181 +1932,180 @@ var ce = {
2188
1932
  id: "root",
2189
1933
  doc: lt
2190
1934
  };
2191
- }, fe = function(t) {
1935
+ }, ce = function(t) {
2192
1936
  var s;
2193
- t.doc ? s = t.doc : s = t, S.info(s), Yt(!0), S.info("Extract", s), s.forEach(function(n) {
2194
- switch(n.stmt){
2195
- case Tt:
2196
- I(n.id.trim(), n.type, n.doc, n.description, n.note, n.classes, n.styles, n.textStyles);
1937
+ t.doc ? s = t.doc : s = t, L.info(s), Pt(!0), L.info("Extract", s), s.forEach(function(a) {
1938
+ switch(a.stmt){
1939
+ case _t:
1940
+ I(a.id.trim(), a.type, a.doc, a.description, a.note, a.classes, a.styles, a.textStyles);
2197
1941
  break;
2198
- case Rt:
2199
- Gt(n.state1, n.state2, n.description);
1942
+ case It:
1943
+ Ft(a.state1, a.state2, a.description);
2200
1944
  break;
2201
- case se:
2202
- jt(n.id.trim(), n.classes);
1945
+ case Qt:
1946
+ Vt(a.id.trim(), a.classes);
2203
1947
  break;
2204
- case ie:
2205
- Dt(n.id.trim(), n.styleClass);
1948
+ case Zt:
1949
+ xt(a.id.trim(), a.styleClass);
2206
1950
  break;
2207
1951
  }
2208
1952
  });
2209
1953
  }, I = function I(t) {
2210
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xt, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, h = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null, u = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : null, f = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : null, p = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : null, v = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : null;
2211
- var d = t == null ? void 0 : t.trim();
2212
- g.states[d] === void 0 ? (S.info("Adding state ", d, h), g.states[d] = {
2213
- id: d,
1954
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Et, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, h = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null, f = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : null, d = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : null, y = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : null, k = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : null;
1955
+ var u = t == null ? void 0 : t.trim();
1956
+ g.states[u] === void 0 ? (L.info("Adding state ", u, h), g.states[u] = {
1957
+ id: u,
2214
1958
  descriptions: [],
2215
1959
  type: s,
2216
- doc: n,
2217
- note: u,
1960
+ doc: a,
1961
+ note: f,
2218
1962
  classes: [],
2219
1963
  styles: [],
2220
1964
  textStyles: []
2221
- }) : (g.states[d].doc || (g.states[d].doc = n), g.states[d].type || (g.states[d].type = s)), h && (S.info("Setting state description", d, h), typeof h == "string" && Et(d, h.trim()), typeof h == "object" && h.forEach(function(k) {
2222
- return Et(d, k.trim());
2223
- })), u && (g.states[d].note = u, g.states[d].note.text = Bn.sanitizeText(g.states[d].note.text, Ut())), f && (S.info("Setting state classes", d, f), (typeof f == "string" ? [
2224
- f
2225
- ] : f).forEach(function(T) {
2226
- return Dt(d, T.trim());
2227
- })), p && (S.info("Setting state styles", d, p), (typeof p == "string" ? [
2228
- p
2229
- ] : p).forEach(function(T) {
2230
- return Ee(d, T.trim());
2231
- })), v && (S.info("Setting state styles", d, p), (typeof v == "string" ? [
2232
- v
2233
- ] : v).forEach(function(T) {
2234
- return xe(d, T.trim());
1965
+ }) : (g.states[u].doc || (g.states[u].doc = a), g.states[u].type || (g.states[u].type = s)), h && (L.info("Setting state description", u, h), typeof h == "string" && kt(u, h.trim()), typeof h == "object" && h.forEach(function(E) {
1966
+ return kt(u, E.trim());
1967
+ })), f && (g.states[u].note = f, g.states[u].note.text = $n.sanitizeText(g.states[u].note.text, Vn())), d && (L.info("Setting state classes", u, d), (typeof d == "string" ? [
1968
+ d
1969
+ ] : d).forEach(function(T) {
1970
+ return xt(u, T.trim());
1971
+ })), y && (L.info("Setting state styles", u, y), (typeof y == "string" ? [
1972
+ y
1973
+ ] : y).forEach(function(T) {
1974
+ return _e(u, T.trim());
1975
+ })), k && (L.info("Setting state styles", u, y), (typeof k == "string" ? [
1976
+ k
1977
+ ] : k).forEach(function(T) {
1978
+ return me(u, T.trim());
2235
1979
  }));
2236
- }, Yt = function Yt(t) {
2237
- ot = {
2238
- root: Ft()
2239
- }, g = ot.root, V = 0, P = Pt(), t || Fa();
2240
- }, F = function F(t) {
1980
+ }, Pt = function Pt(t) {
1981
+ ct = {
1982
+ root: Bt()
1983
+ }, g = ct.root, F = 0, P = wt(), t || B_();
1984
+ }, V = function V(t) {
2241
1985
  return g.states[t];
2242
- }, pe = function pe() {
1986
+ }, oe = function oe() {
2243
1987
  return g.states;
2244
- }, ye = function ye() {
2245
- S.info("Documents = ", ot);
2246
- }, Se = function Se() {
1988
+ }, he = function he() {
1989
+ L.info("Documents = ", ct);
1990
+ }, ue = function ue() {
2247
1991
  return g.relations;
2248
1992
  };
2249
- function kt() {
1993
+ function mt() {
2250
1994
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
2251
1995
  var s = t;
2252
- return t === vt && (V++, s = "".concat(wt).concat(V)), s;
1996
+ return t === bt && (F++, s = "".concat(Ot).concat(F)), s;
2253
1997
  }
2254
- function bt() {
2255
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xt;
2256
- return t === vt ? wt : s;
1998
+ function Tt() {
1999
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Et;
2000
+ return t === bt ? Ot : s;
2257
2001
  }
2258
- function ge() {
2002
+ function fe() {
2259
2003
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
2260
2004
  var s = t;
2261
- return t === Bt && (V++, s = "".concat($t).concat(V)), s;
2005
+ return t === Nt && (F++, s = "".concat(Rt).concat(F)), s;
2262
2006
  }
2263
- function _e() {
2264
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xt;
2265
- return t === Bt ? $t : s;
2007
+ function de() {
2008
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Et;
2009
+ return t === Nt ? Rt : s;
2266
2010
  }
2267
- function me(t, s, n) {
2268
- var h = kt(t.id.trim()), u = bt(t.id.trim(), t.type), f = kt(s.id.trim()), p = bt(s.id.trim(), s.type);
2269
- I(h, u, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), I(f, p, s.doc, s.description, s.note, s.classes, s.styles, s.textStyles), g.relations.push({
2011
+ function ye(t, s, a) {
2012
+ var h = mt(t.id.trim()), f = Tt(t.id.trim(), t.type), d = mt(s.id.trim()), y = Tt(s.id.trim(), s.type);
2013
+ I(h, f, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), I(d, y, s.doc, s.description, s.note, s.classes, s.styles, s.textStyles), g.relations.push({
2270
2014
  id1: h,
2271
- id2: f,
2272
- relationTitle: Bn.sanitizeText(n, Ut())
2015
+ id2: d,
2016
+ relationTitle: $n.sanitizeText(a, Vn())
2273
2017
  });
2274
2018
  }
2275
- var Gt = function Gt(t, s, n) {
2276
- if (typeof t == "object") me(t, s, n);
2019
+ var Ft = function Ft(t, s, a) {
2020
+ if (typeof t == "object") ye(t, s, a);
2277
2021
  else {
2278
- var h = kt(t.trim()), u = bt(t), f = ge(s.trim()), p = _e(s);
2279
- I(h, u), I(f, p), g.relations.push({
2022
+ var h = mt(t.trim()), f = Tt(t), d = fe(s.trim()), y = de(s);
2023
+ I(h, f), I(d, y), g.relations.push({
2280
2024
  id1: h,
2281
- id2: f,
2282
- title: Bn.sanitizeText(n, Ut())
2025
+ id2: d,
2026
+ title: $n.sanitizeText(a, Vn())
2283
2027
  });
2284
2028
  }
2285
- }, Et = function Et(t, s) {
2286
- var n = g.states[t], h = s.startsWith(":") ? s.replace(":", "").trim() : s;
2287
- n.descriptions.push(Bn.sanitizeText(h, Ut()));
2288
- }, Te = function Te(t) {
2029
+ }, kt = function kt(t, s) {
2030
+ var a = g.states[t], h = s.startsWith(":") ? s.replace(":", "").trim() : s;
2031
+ a.descriptions.push($n.sanitizeText(h, Vn()));
2032
+ }, pe = function pe(t) {
2289
2033
  return t.substring(0, 1) === ":" ? t.substr(2).trim() : t.trim();
2290
- }, ke = function() {
2291
- return Nt++, "divider-id-" + Nt;
2292
- }, jt = function jt(t) {
2034
+ }, Se = function() {
2035
+ return vt++, "divider-id-" + vt;
2036
+ }, Vt = function Vt(t) {
2293
2037
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
2294
2038
  P[t] === void 0 && (P[t] = {
2295
2039
  id: t,
2296
2040
  styles: [],
2297
2041
  textStyles: []
2298
2042
  });
2299
- var n = P[t];
2300
- s != null && s.split(ae).forEach(function(h) {
2301
- var u = h.replace(/([^;]*);/, "$1").trim();
2302
- if (h.match(It)) {
2303
- var p = u.replace(Ot, ne).replace(It, Ot);
2304
- n.textStyles.push(p);
2043
+ var a = P[t];
2044
+ s != null && s.split(se).forEach(function(h) {
2045
+ var f = h.replace(/([^;]*);/, "$1").trim();
2046
+ if (h.match(At)) {
2047
+ var y = f.replace(Lt, ee).replace(At, Lt);
2048
+ a.textStyles.push(y);
2305
2049
  }
2306
- n.styles.push(u);
2050
+ a.styles.push(f);
2307
2051
  });
2308
- }, be = function be() {
2052
+ }, ge = function ge() {
2309
2053
  return P;
2310
- }, Dt = function Dt(t, s) {
2311
- t.split(",").forEach(function(n) {
2312
- var h = F(n);
2054
+ }, xt = function xt(t, s) {
2055
+ t.split(",").forEach(function(a) {
2056
+ var h = V(a);
2313
2057
  if (h === void 0) {
2314
- var u = n.trim();
2315
- I(u), h = F(u);
2058
+ var f = a.trim();
2059
+ I(f), h = V(f);
2316
2060
  }
2317
2061
  h.classes.push(s);
2318
2062
  });
2319
- }, Ee = function Ee(t, s) {
2320
- var n = F(t);
2321
- n !== void 0 && n.textStyles.push(s);
2322
- }, xe = function xe(t, s) {
2323
- var n = F(t);
2324
- n !== void 0 && n.textStyles.push(s);
2325
- }, ve = function() {
2326
- return Vt;
2327
- }, De = function(t) {
2328
- Vt = t;
2329
- }, Ce = function(t) {
2063
+ }, _e = function _e(t, s) {
2064
+ var a = V(t);
2065
+ a !== void 0 && a.textStyles.push(s);
2066
+ }, me = function me(t, s) {
2067
+ var a = V(t);
2068
+ a !== void 0 && a.textStyles.push(s);
2069
+ }, Te = function() {
2070
+ return $t;
2071
+ }, ke = function(t) {
2072
+ $t = t;
2073
+ }, Ee = function(t) {
2330
2074
  return t && t[0] === ":" ? t.substr(1).trim() : t.trim();
2331
- }, Ne = {
2332
- parseDirective: oe,
2075
+ }, Ae = {
2333
2076
  getConfig: function() {
2334
- return Ut().state;
2077
+ return Vn().state;
2335
2078
  },
2336
2079
  addState: I,
2337
- clear: Yt,
2338
- getState: F,
2339
- getStates: pe,
2340
- getRelations: Se,
2341
- getClasses: be,
2342
- getDirection: ve,
2343
- addRelation: Gt,
2344
- getDividerId: ke,
2345
- setDirection: De,
2346
- cleanupLabel: Te,
2347
- lineType: ce,
2348
- relationType: le,
2349
- logDocuments: ye,
2350
- getRootDoc: ue,
2351
- setRootDoc: he,
2352
- getRootDocV2: de,
2353
- extract: fe,
2354
- trimColon: Ce,
2355
- getAccTitle: Aa,
2356
- setAccTitle: La,
2357
- getAccDescription: Ma,
2358
- setAccDescription: Ea,
2359
- addStyleClass: jt,
2360
- setCssClass: Dt,
2361
- addDescription: Et,
2362
- setDiagramTitle: Oa,
2363
- getDiagramTitle: Ia
2364
- }, Ae = function(t) {
2080
+ clear: Pt,
2081
+ getState: V,
2082
+ getStates: oe,
2083
+ getRelations: ue,
2084
+ getClasses: ge,
2085
+ getDirection: Te,
2086
+ addRelation: Ft,
2087
+ getDividerId: Se,
2088
+ setDirection: ke,
2089
+ cleanupLabel: pe,
2090
+ lineType: ie,
2091
+ relationType: re,
2092
+ logDocuments: he,
2093
+ getRootDoc: ae,
2094
+ setRootDoc: ne,
2095
+ getRootDocV2: le,
2096
+ extract: ce,
2097
+ trimColon: Ee,
2098
+ getAccTitle: A_,
2099
+ setAccTitle: F_,
2100
+ getAccDescription: E_,
2101
+ setAccDescription: L_,
2102
+ addStyleClass: Vt,
2103
+ setCssClass: xt,
2104
+ addDescription: kt,
2105
+ setDiagramTitle: M_,
2106
+ getDiagramTitle: O_
2107
+ }, be = function(t) {
2365
2108
  return "\ndefs #statediagram-barbEnd {\n fill: ".concat(t.transitionColor, ";\n stroke: ").concat(t.transitionColor, ";\n }\ng.stateGroup text {\n fill: ").concat(t.nodeBorder, ";\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ").concat(t.textColor, ";\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ").concat(t.stateLabelColor, ";\n}\n\ng.stateGroup rect {\n fill: ").concat(t.mainBkg, ";\n stroke: ").concat(t.nodeBorder, ";\n}\n\ng.stateGroup line {\n stroke: ").concat(t.lineColor, ";\n stroke-width: 1;\n}\n\n.transition {\n stroke: ").concat(t.transitionColor, ";\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ").concat(t.background, ";\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ").concat(t.noteBorderColor, ";\n fill: ").concat(t.noteBkgColor, ";\n\n text {\n fill: ").concat(t.noteTextColor, ";\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ").concat(t.mainBkg, ";\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ").concat(t.labelBackgroundColor, ";\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ").concat(t.transitionLabelColor || t.tertiaryTextColor, ";\n}\n.label div .edgeLabel {\n color: ").concat(t.transitionLabelColor || t.tertiaryTextColor, ";\n}\n\n.stateLabel text {\n fill: ").concat(t.stateLabelColor, ";\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ").concat(t.specialStateColor, ";\n stroke: ").concat(t.specialStateColor, ";\n}\n\n.node .fork-join {\n fill: ").concat(t.specialStateColor, ";\n stroke: ").concat(t.specialStateColor, ";\n}\n\n.node circle.state-end {\n fill: ").concat(t.innerEndBackground, ";\n stroke: ").concat(t.background, ";\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ").concat(t.compositeBackground || t.background, ";\n // stroke: ").concat(t.background, ";\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ").concat(t.stateBkg || t.mainBkg, ";\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";\n stroke-width: 1px;\n}\n.node polygon {\n fill: ").concat(t.mainBkg, ";\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ").concat(t.lineColor, ";\n}\n\n.statediagram-cluster rect {\n fill: ").concat(t.compositeTitleBackground, ";\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ").concat(t.stateLabelColor, ";\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ").concat(t.compositeBackground || t.background, ";\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ").concat(t.altBackground ? t.altBackground : "#efefef", ";\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ").concat(t.altBackground ? t.altBackground : "#efefef", ";\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ").concat(t.noteBkgColor, ";\n stroke: ").concat(t.noteBorderColor, ";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ").concat(t.noteBkgColor, ";\n stroke: ").concat(t.noteBorderColor, ";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ").concat(t.noteTextColor, ";\n}\n\n.statediagram-note .nodeLabel {\n color: ").concat(t.noteTextColor, ";\n}\n.statediagram .edgeLabel {\n color: red; // ").concat(t.noteTextColor, ";\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ").concat(t.lineColor, ";\n stroke: ").concat(t.lineColor, ";\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ").concat(t.textColor, ";\n}\n");
2366
- }, Re = Ae;
2109
+ }, Le = be;
2367
2110
 
2368
- export { Ie as I, Ne as N, Oe as O, Re as R, Tt as T, Rt as a, re as r, xt as x };
2111
+ export { Ae as A, Ce as C, De as D, Et as E, It as I, Le as L, _t as _, te as t };