@digipair/skill-web-chatbot 0.91.0-0 → 0.92.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 (136) hide show
  1. package/SAP-icons.cjs.js +2489 -0
  2. package/SAP-icons.cjs2.js +2489 -0
  3. package/SAP-icons.esm.js +2482 -0
  4. package/SAP-icons.esm2.js +2482 -0
  5. package/Tableau10-558cc280.cjs.js +9 -0
  6. package/Tableau10-558cc280.esm.js +7 -0
  7. package/arc-d1f6357e.cjs.js +88 -0
  8. package/arc-d1f6357e.esm.js +86 -0
  9. package/array-2ff2c7a6.cjs.js +7 -0
  10. package/array-2ff2c7a6.esm.js +5 -0
  11. package/blockDiagram-5dc23a45.cjs.js +2921 -0
  12. package/blockDiagram-5dc23a45.esm.js +2919 -0
  13. package/c4Diagram-1e775db3.cjs.js +4387 -0
  14. package/c4Diagram-1e775db3.esm.js +4385 -0
  15. package/channel-ebbc4130.cjs.js +9 -0
  16. package/channel-ebbc4130.esm.js +7 -0
  17. package/classDiagram-f52caa06.cjs.js +209 -0
  18. package/classDiagram-f52caa06.esm.js +207 -0
  19. package/classDiagram-v2-640c694e.cjs.js +401 -0
  20. package/classDiagram-v2-640c694e.esm.js +399 -0
  21. package/clone-afc2f047.cjs.js +10 -0
  22. package/clone-afc2f047.esm.js +8 -0
  23. package/createText-03b82060.cjs.js +2936 -0
  24. package/createText-03b82060.esm.js +2933 -0
  25. package/edges-16357fde.cjs.js +1998 -0
  26. package/edges-16357fde.esm.js +1981 -0
  27. package/erDiagram-c7ff1bec.cjs.js +1807 -0
  28. package/erDiagram-c7ff1bec.esm.js +1805 -0
  29. package/flowDb-9a89ea33.cjs.js +5542 -0
  30. package/flowDb-9a89ea33.esm.js +5538 -0
  31. package/flowDiagram-aadb13b0.cjs.js +1351 -0
  32. package/flowDiagram-aadb13b0.esm.js +1349 -0
  33. package/flowDiagram-v2-f2119625.cjs.js +31 -0
  34. package/flowDiagram-v2-f2119625.esm.js +29 -0
  35. package/flowchart-elk-definition-cf813a97.cjs.js +50257 -0
  36. package/flowchart-elk-definition-cf813a97.esm.js +50255 -0
  37. package/ganttDiagram-3c2fde2b.cjs.js +3710 -0
  38. package/ganttDiagram-3c2fde2b.esm.js +3708 -0
  39. package/gitGraphDiagram-c3a0619c.cjs.js +3820 -0
  40. package/gitGraphDiagram-c3a0619c.esm.js +3818 -0
  41. package/graph-0ee63739.cjs.js +961 -0
  42. package/graph-0ee63739.esm.js +938 -0
  43. package/index-bb6d8841.cjs.js +648 -0
  44. package/index-bb6d8841.esm.js +646 -0
  45. package/index.cjs.d.ts +1 -0
  46. package/index.cjs.js +17 -0
  47. package/index.cjs2.js +60723 -0
  48. package/index.esm.js +1 -0
  49. package/index.esm2.js +60574 -0
  50. package/infoDiagram-2f5c50c0.cjs.js +460 -0
  51. package/infoDiagram-2f5c50c0.esm.js +458 -0
  52. package/init-f9637058.cjs.js +17 -0
  53. package/init-f9637058.esm.js +15 -0
  54. package/journeyDiagram-14fe341a.cjs.js +1061 -0
  55. package/journeyDiagram-14fe341a.esm.js +1059 -0
  56. package/katex-d90b6d29.cjs.js +25690 -0
  57. package/katex-d90b6d29.esm.js +25688 -0
  58. package/layout-fd473db2.cjs.js +1626 -0
  59. package/layout-fd473db2.esm.js +1619 -0
  60. package/libs/engine/src/index.d.ts +2 -0
  61. package/libs/engine/src/lib/alias.interface.d.ts +9 -0
  62. package/libs/engine/src/lib/engine.d.ts +13 -0
  63. package/libs/engine/src/lib/pins-settings.interface.d.ts +15 -0
  64. package/libs/skill-web-chatbot/src/lib/chat.element.d.ts +28 -0
  65. package/libs/skill-web-chatbot/src/lib/common.data.d.ts +1 -0
  66. package/libs/skill-web-chatbot/src/lib/config.d.ts +9 -0
  67. package/libs/skill-web-chatbot/src/lib/digipair-full.data.d.ts +1 -0
  68. package/libs/skill-web-chatbot/src/lib/digipair-full.element.d.ts +36 -0
  69. package/libs/skill-web-chatbot/src/lib/digipair.data.d.ts +1 -0
  70. package/libs/skill-web-chatbot/src/lib/digipair.element.d.ts +44 -0
  71. package/libs/skill-web-chatbot/src/lib/inputs.element.d.ts +10 -0
  72. package/libs/skill-web-chatbot/src/lib/message.interface.d.ts +10 -0
  73. package/libs/skill-web-chatbot/src/lib/pins/chatbot.actions.d.ts +1 -0
  74. package/libs/skill-web-chatbot/src/lib/tools/css-selector.d.ts +1 -0
  75. package/line-24d93f1b.cjs.js +34 -0
  76. package/line-24d93f1b.esm.js +32 -0
  77. package/linear-9bcf74c4.cjs.js +537 -0
  78. package/linear-9bcf74c4.esm.js +531 -0
  79. package/mindmap-definition-9399c7e6.cjs.js +20489 -0
  80. package/mindmap-definition-9399c7e6.esm.js +20487 -0
  81. package/ordinal-5695958c.cjs.js +331 -0
  82. package/ordinal-5695958c.esm.js +329 -0
  83. package/package.json +7 -22
  84. package/path-428ebac9.cjs.js +317 -0
  85. package/path-428ebac9.esm.js +314 -0
  86. package/pieDiagram-828dae43.cjs.js +951 -0
  87. package/pieDiagram-828dae43.esm.js +949 -0
  88. package/quadrantDiagram-5fa00455.cjs.js +2410 -0
  89. package/quadrantDiagram-5fa00455.esm.js +2408 -0
  90. package/requirementDiagram-03163dc4.cjs.js +2267 -0
  91. package/requirementDiagram-03163dc4.esm.js +2265 -0
  92. package/sankeyDiagram-52ec8976.cjs.js +1848 -0
  93. package/sankeyDiagram-52ec8976.esm.js +1846 -0
  94. package/sequenceDiagram-b517d154.cjs.js +5949 -0
  95. package/sequenceDiagram-b517d154.esm.js +5947 -0
  96. package/stateDiagram-fca82b5b.cjs.js +283 -0
  97. package/stateDiagram-fca82b5b.esm.js +281 -0
  98. package/stateDiagram-v2-ed04200a.cjs.js +373 -0
  99. package/stateDiagram-v2-ed04200a.esm.js +371 -0
  100. package/styles-11e81fdd.cjs.js +3944 -0
  101. package/styles-11e81fdd.esm.js +3940 -0
  102. package/styles-cacbff60.cjs.js +2120 -0
  103. package/styles-cacbff60.esm.js +2111 -0
  104. package/styles-e75131e4.cjs.js +671 -0
  105. package/styles-e75131e4.esm.js +661 -0
  106. package/svgDrawCommon-ecc5f780.cjs.js +68 -0
  107. package/svgDrawCommon-ecc5f780.esm.js +60 -0
  108. package/timeline-definition-4ee9bff4.cjs.js +1161 -0
  109. package/timeline-definition-4ee9bff4.esm.js +1159 -0
  110. package/xychartDiagram-e5e6b652.cjs.js +3150 -0
  111. package/xychartDiagram-e5e6b652.esm.js +3148 -0
  112. package/.swcrc +0 -28
  113. package/README.md +0 -7
  114. package/eslint.config.mjs +0 -22
  115. package/rollup.config.cjs +0 -28
  116. package/src/digipair__engine.d.ts +0 -2
  117. package/src/handlebars.d.ts +0 -1
  118. package/src/index.html +0 -18
  119. package/src/lib/chat.element.ts +0 -603
  120. package/src/lib/common.data.ts +0 -1
  121. package/src/lib/config.ts +0 -30
  122. package/src/lib/digipair-full.data.ts +0 -101
  123. package/src/lib/digipair-full.element.ts +0 -358
  124. package/src/lib/digipair.data.ts +0 -103
  125. package/src/lib/digipair.element.ts +0 -446
  126. package/src/lib/inputs.element.ts +0 -46
  127. package/src/lib/mermaid.d.ts +0 -1
  128. package/src/lib/message.interface.ts +0 -10
  129. package/src/lib/pins/chatbot.actions.ts +0 -32
  130. package/src/lib/tools/css-selector.ts +0 -12
  131. package/tsconfig.json +0 -13
  132. package/tsconfig.lib.json +0 -19
  133. /package/{src/index.d.ts → index.d.ts} +0 -0
  134. /package/{src/index.ts → libs/skill-web-chatbot/src/index.d.ts} +0 -0
  135. /package/{src/schema.fr.json → schema.fr.json} +0 -0
  136. /package/{src/schema.json → schema.json} +0 -0
@@ -0,0 +1,458 @@
1
+ import { c as L, aK as z_, O as Ol } from './index.esm2.js';
2
+
3
+ function _instanceof(left, right) {
4
+ if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
5
+ return !!right[Symbol.hasInstance](left);
6
+ } else {
7
+ return left instanceof right;
8
+ }
9
+ }
10
+ function _type_of(obj) {
11
+ "@swc/helpers - typeof";
12
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
13
+ }
14
+ var O = function() {
15
+ var a = function a(u, t, e, n) {
16
+ for(e = e || {}, n = u.length; n--; e[u[n]] = t);
17
+ return e;
18
+ }, f = [
19
+ 6,
20
+ 9,
21
+ 10
22
+ ], m = {
23
+ trace: function trace() {},
24
+ yy: {},
25
+ symbols_: {
26
+ error: 2,
27
+ start: 3,
28
+ info: 4,
29
+ document: 5,
30
+ EOF: 6,
31
+ line: 7,
32
+ statement: 8,
33
+ NL: 9,
34
+ showInfo: 10,
35
+ $accept: 0,
36
+ $end: 1
37
+ },
38
+ terminals_: {
39
+ 2: "error",
40
+ 4: "info",
41
+ 6: "EOF",
42
+ 9: "NL",
43
+ 10: "showInfo"
44
+ },
45
+ productions_: [
46
+ 0,
47
+ [
48
+ 3,
49
+ 3
50
+ ],
51
+ [
52
+ 5,
53
+ 0
54
+ ],
55
+ [
56
+ 5,
57
+ 2
58
+ ],
59
+ [
60
+ 7,
61
+ 1
62
+ ],
63
+ [
64
+ 7,
65
+ 1
66
+ ],
67
+ [
68
+ 8,
69
+ 1
70
+ ]
71
+ ],
72
+ performAction: function performAction(t, e, n, s, r, i, d) {
73
+ switch(i.length - 1, r){
74
+ case 1:
75
+ return s;
76
+ case 4:
77
+ break;
78
+ case 6:
79
+ s.setInfo(!0);
80
+ break;
81
+ }
82
+ },
83
+ table: [
84
+ {
85
+ 3: 1,
86
+ 4: [
87
+ 1,
88
+ 2
89
+ ]
90
+ },
91
+ {
92
+ 1: [
93
+ 3
94
+ ]
95
+ },
96
+ a(f, [
97
+ 2,
98
+ 2
99
+ ], {
100
+ 5: 3
101
+ }),
102
+ {
103
+ 6: [
104
+ 1,
105
+ 4
106
+ ],
107
+ 7: 5,
108
+ 8: 6,
109
+ 9: [
110
+ 1,
111
+ 7
112
+ ],
113
+ 10: [
114
+ 1,
115
+ 8
116
+ ]
117
+ },
118
+ {
119
+ 1: [
120
+ 2,
121
+ 1
122
+ ]
123
+ },
124
+ a(f, [
125
+ 2,
126
+ 3
127
+ ]),
128
+ a(f, [
129
+ 2,
130
+ 4
131
+ ]),
132
+ a(f, [
133
+ 2,
134
+ 5
135
+ ]),
136
+ a(f, [
137
+ 2,
138
+ 6
139
+ ])
140
+ ],
141
+ defaultActions: {
142
+ 4: [
143
+ 2,
144
+ 1
145
+ ]
146
+ },
147
+ parseError: function parseError(t, e) {
148
+ if (e.recoverable) this.trace(t);
149
+ else {
150
+ var n = new Error(t);
151
+ throw n.hash = e, n;
152
+ }
153
+ },
154
+ parse: function parse(t) {
155
+ var e = this, n = [
156
+ 0
157
+ ], s = [], r = [
158
+ null
159
+ ], i = [], d = this.table, $ = "", v = 0, L = 0, N = 2, T = 1, R = i.slice.call(arguments, 1), o = Object.create(this.lexer), p = {
160
+ yy: {}
161
+ };
162
+ for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy, E) && (p.yy[E] = this.yy[E]);
163
+ o.setInput(t, p.yy), p.yy.lexer = o, p.yy.parser = this, _type_of(o.yylloc) > "u" && (o.yylloc = {});
164
+ var I = o.yylloc;
165
+ i.push(I);
166
+ var z = o.options && o.options.ranges;
167
+ typeof p.yy.parseError == "function" ? this.parseError = p.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
168
+ function U() {
169
+ var y;
170
+ return y = s.pop() || o.lex() || T, typeof y != "number" && (_instanceof(y, Array) && (s = y, y = s.pop()), y = e.symbols_[y] || y), y;
171
+ }
172
+ for(var l, g, h, w, _ = {}, b, c, F, S;;){
173
+ if (g = n[n.length - 1], this.defaultActions[g] ? h = this.defaultActions[g] : ((l === null || (typeof l === "undefined" ? "undefined" : _type_of(l)) > "u") && (l = U()), h = d[g] && d[g][l]), (typeof h === "undefined" ? "undefined" : _type_of(h)) > "u" || !h.length || !h[0]) {
174
+ var A = "";
175
+ S = [];
176
+ for(b in d[g])this.terminals_[b] && b > N && S.push("'" + this.terminals_[b] + "'");
177
+ o.showPosition ? A = "Parse error on line " + (v + 1) + ":\n" + o.showPosition() + "\nExpecting " + S.join(", ") + ", got '" + (this.terminals_[l] || l) + "'" : A = "Parse error on line " + (v + 1) + ": Unexpected " + (l == T ? "end of input" : "'" + (this.terminals_[l] || l) + "'"), this.parseError(A, {
178
+ text: o.match,
179
+ token: this.terminals_[l] || l,
180
+ line: o.yylineno,
181
+ loc: I,
182
+ expected: S
183
+ });
184
+ }
185
+ if (_instanceof(h[0], Array) && h.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + l);
186
+ switch(h[0]){
187
+ case 1:
188
+ n.push(l), r.push(o.yytext), i.push(o.yylloc), n.push(h[1]), l = null, L = o.yyleng, $ = o.yytext, v = o.yylineno, I = o.yylloc;
189
+ break;
190
+ case 2:
191
+ if (c = this.productions_[h[1]][1], _.$ = r[r.length - c], _._$ = {
192
+ first_line: i[i.length - (c || 1)].first_line,
193
+ last_line: i[i.length - 1].last_line,
194
+ first_column: i[i.length - (c || 1)].first_column,
195
+ last_column: i[i.length - 1].last_column
196
+ }, z && (_._$.range = [
197
+ i[i.length - (c || 1)].range[0],
198
+ i[i.length - 1].range[1]
199
+ ]), w = this.performAction.apply(_, [
200
+ $,
201
+ L,
202
+ v,
203
+ p.yy,
204
+ h[1],
205
+ r,
206
+ i
207
+ ].concat(R)), (typeof w === "undefined" ? "undefined" : _type_of(w)) < "u") return w;
208
+ c && (n = n.slice(0, -1 * c * 2), r = r.slice(0, -1 * c), i = i.slice(0, -1 * c)), n.push(this.productions_[h[1]][0]), r.push(_.$), i.push(_._$), F = d[n[n.length - 2]][n[n.length - 1]], n.push(F);
209
+ break;
210
+ case 3:
211
+ return !0;
212
+ }
213
+ }
214
+ return !0;
215
+ }
216
+ }, k = function() {
217
+ var u = {
218
+ EOF: 1,
219
+ parseError: function parseError(e, n) {
220
+ if (this.yy.parser) this.yy.parser.parseError(e, n);
221
+ else throw new Error(e);
222
+ },
223
+ // resets the lexer, sets new input
224
+ setInput: function setInput(t, e) {
225
+ return this.yy = e || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
226
+ "INITIAL"
227
+ ], this.yylloc = {
228
+ first_line: 1,
229
+ first_column: 0,
230
+ last_line: 1,
231
+ last_column: 0
232
+ }, this.options.ranges && (this.yylloc.range = [
233
+ 0,
234
+ 0
235
+ ]), this.offset = 0, this;
236
+ },
237
+ // consumes and returns one char from the input
238
+ input: function input() {
239
+ var t = this._input[0];
240
+ this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
241
+ var e = t.match(/(?:\r\n?|\n).*/g);
242
+ return e ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
243
+ },
244
+ // unshifts one char (or a string) into the input
245
+ unput: function unput(t) {
246
+ var e = t.length, n = t.split(/(?:\r\n?|\n)/g);
247
+ this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - e), this.offset -= e;
248
+ var s = this.match.split(/(?:\r\n?|\n)/g);
249
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
250
+ var r = this.yylloc.range;
251
+ return this.yylloc = {
252
+ first_line: this.yylloc.first_line,
253
+ last_line: this.yylineno + 1,
254
+ first_column: this.yylloc.first_column,
255
+ last_column: n ? (n.length === s.length ? this.yylloc.first_column : 0) + s[s.length - n.length].length - n[0].length : this.yylloc.first_column - e
256
+ }, this.options.ranges && (this.yylloc.range = [
257
+ r[0],
258
+ r[0] + this.yyleng - e
259
+ ]), this.yyleng = this.yytext.length, this;
260
+ },
261
+ // When called from action, caches matched text and appends it on next action
262
+ more: function more() {
263
+ return this._more = !0, this;
264
+ },
265
+ // 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.
266
+ reject: function reject() {
267
+ if (this.options.backtrack_lexer) this._backtrack = !0;
268
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
269
+ text: "",
270
+ token: null,
271
+ line: this.yylineno
272
+ });
273
+ return this;
274
+ },
275
+ // retain first n characters of the match
276
+ less: function less(t) {
277
+ this.unput(this.match.slice(t));
278
+ },
279
+ // displays already matched input, i.e. for error messages
280
+ pastInput: function pastInput() {
281
+ var t = this.matched.substr(0, this.matched.length - this.match.length);
282
+ return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
283
+ },
284
+ // displays upcoming input, i.e. for error messages
285
+ upcomingInput: function upcomingInput() {
286
+ var t = this.match;
287
+ return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
288
+ },
289
+ // displays the character position where the lexing error occurred, i.e. for error messages
290
+ showPosition: function showPosition() {
291
+ var t = this.pastInput(), e = new Array(t.length + 1).join("-");
292
+ return t + this.upcomingInput() + "\n" + e + "^";
293
+ },
294
+ // test the lexed token: return FALSE when not a match, otherwise return token
295
+ test_match: function test_match(t, e) {
296
+ var n, s, r;
297
+ if (this.options.backtrack_lexer && (r = {
298
+ yylineno: this.yylineno,
299
+ yylloc: {
300
+ first_line: this.yylloc.first_line,
301
+ last_line: this.last_line,
302
+ first_column: this.yylloc.first_column,
303
+ last_column: this.yylloc.last_column
304
+ },
305
+ yytext: this.yytext,
306
+ match: this.match,
307
+ matches: this.matches,
308
+ matched: this.matched,
309
+ yyleng: this.yyleng,
310
+ offset: this.offset,
311
+ _more: this._more,
312
+ _input: this._input,
313
+ yy: this.yy,
314
+ conditionStack: this.conditionStack.slice(0),
315
+ done: this.done
316
+ }, this.options.ranges && (r.yylloc.range = this.yylloc.range.slice(0))), s = t[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
317
+ first_line: this.yylloc.last_line,
318
+ last_line: this.yylineno + 1,
319
+ first_column: this.yylloc.last_column,
320
+ last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
321
+ }, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
322
+ this.offset,
323
+ this.offset += this.yyleng
324
+ ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(t[0].length), this.matched += t[0], n = this.performAction.call(this, this.yy, this, e, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
325
+ if (this._backtrack) {
326
+ for(var i in r)this[i] = r[i];
327
+ return !1;
328
+ }
329
+ return !1;
330
+ },
331
+ // return next match in input
332
+ next: function next() {
333
+ if (this.done) return this.EOF;
334
+ this._input || (this.done = !0);
335
+ var t, e, n, s;
336
+ this._more || (this.yytext = "", this.match = "");
337
+ for(var r = this._currentRules(), i = 0; i < r.length; i++)if (n = this._input.match(this.rules[r[i]]), n && (!e || n[0].length > e[0].length)) {
338
+ if (e = n, s = i, this.options.backtrack_lexer) {
339
+ if (t = this.test_match(n, r[i]), t !== !1) return t;
340
+ if (this._backtrack) {
341
+ e = !1;
342
+ continue;
343
+ } else return !1;
344
+ } else if (!this.options.flex) break;
345
+ }
346
+ return e ? (t = this.test_match(e, r[s]), t !== !1 ? t : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
347
+ text: "",
348
+ token: null,
349
+ line: this.yylineno
350
+ });
351
+ },
352
+ // return next match that has a token
353
+ lex: function lex() {
354
+ var e = this.next();
355
+ return e || this.lex();
356
+ },
357
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
358
+ begin: function begin(e) {
359
+ this.conditionStack.push(e);
360
+ },
361
+ // pop the previously active lexer condition state off the condition stack
362
+ popState: function popState() {
363
+ var e = this.conditionStack.length - 1;
364
+ return e > 0 ? this.conditionStack.pop() : this.conditionStack[0];
365
+ },
366
+ // produce the lexer rule set which is active for the currently active lexer condition state
367
+ _currentRules: function _currentRules() {
368
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
369
+ },
370
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
371
+ topState: function topState(e) {
372
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
373
+ },
374
+ // alias for begin(condition)
375
+ pushState: function pushState(e) {
376
+ this.begin(e);
377
+ },
378
+ // return the number of states currently on the stack
379
+ stateStackSize: function stateStackSize() {
380
+ return this.conditionStack.length;
381
+ },
382
+ options: {
383
+ "case-insensitive": !0
384
+ },
385
+ performAction: function performAction(e, n, s, r) {
386
+ switch(s){
387
+ case 0:
388
+ return 4;
389
+ case 1:
390
+ return 9;
391
+ case 2:
392
+ return "space";
393
+ case 3:
394
+ return 10;
395
+ case 4:
396
+ return 6;
397
+ case 5:
398
+ return "TXT";
399
+ }
400
+ },
401
+ rules: [
402
+ /^(?:info\b)/i,
403
+ /^(?:[\s\n\r]+)/i,
404
+ /^(?:[\s]+)/i,
405
+ /^(?:showInfo\b)/i,
406
+ /^(?:$)/i,
407
+ /^(?:.)/i
408
+ ],
409
+ conditions: {
410
+ INITIAL: {
411
+ rules: [
412
+ 0,
413
+ 1,
414
+ 2,
415
+ 3,
416
+ 4,
417
+ 5
418
+ ],
419
+ inclusive: !0
420
+ }
421
+ }
422
+ };
423
+ return u;
424
+ }();
425
+ m.lexer = k;
426
+ function x() {
427
+ this.yy = {};
428
+ }
429
+ return x.prototype = m, m.Parser = x, new x();
430
+ }();
431
+ O.parser = O;
432
+ var B = O, j = {
433
+ info: !1
434
+ };
435
+ var P = j.info;
436
+ var V = function(a) {
437
+ P = a;
438
+ }, X = function() {
439
+ return P;
440
+ }, q = function() {
441
+ P = j.info;
442
+ }, C = {
443
+ clear: q,
444
+ setInfo: V,
445
+ getInfo: X
446
+ }, G = function(a, f, m) {
447
+ L.debug("rendering info diagram\n" + a);
448
+ var k = z_(f);
449
+ Ol(k, 100, 400, !0), k.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text("v".concat(m));
450
+ }, H = {
451
+ draw: G
452
+ }, K = {
453
+ parser: B,
454
+ db: C,
455
+ renderer: H
456
+ };
457
+
458
+ export { K as diagram };
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ function t(e, a) {
4
+ switch(arguments.length){
5
+ case 0:
6
+ break;
7
+ case 1:
8
+ this.range(e);
9
+ break;
10
+ default:
11
+ this.range(a).domain(e);
12
+ break;
13
+ }
14
+ return this;
15
+ }
16
+
17
+ exports.t = t;
@@ -0,0 +1,15 @@
1
+ function t(e, a) {
2
+ switch(arguments.length){
3
+ case 0:
4
+ break;
5
+ case 1:
6
+ this.range(e);
7
+ break;
8
+ default:
9
+ this.range(a).domain(e);
10
+ break;
11
+ }
12
+ return this;
13
+ }
14
+
15
+ export { t };