@data_wise/hyper-markdown 1.0.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 (64) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +201 -0
  3. package/dist/_basePickBy-CU9zxouA.js +151 -0
  4. package/dist/_baseUniq-Dfv1esQT.js +614 -0
  5. package/dist/arc-c3dke9_g.js +83 -0
  6. package/dist/architecture-U656AL7Q-zgUqrnAb.js +5 -0
  7. package/dist/architectureDiagram-VXUJARFQ-Dv4YjP5o.js +4665 -0
  8. package/dist/blockDiagram-VD42YOAC-D98UGbTn.js +2265 -0
  9. package/dist/c4Diagram-YG6GDRKO-XUzUdD_2.js +1581 -0
  10. package/dist/channel-C5xtftmJ.js +5 -0
  11. package/dist/chunk-4BX2VUAB-DEeESiZ5.js +9 -0
  12. package/dist/chunk-55IACEB6-DHxOGacI.js +8 -0
  13. package/dist/chunk-B4BG7PRW-8o0v-7qo.js +1376 -0
  14. package/dist/chunk-DI55MBZ5-DW3vqV--.js +1382 -0
  15. package/dist/chunk-FMBD7UC4-DDdtUAG0.js +19 -0
  16. package/dist/chunk-QN33PNHL-CSSbo0QX.js +20 -0
  17. package/dist/chunk-QZHKN3VN-w9zLiEAG.js +15 -0
  18. package/dist/chunk-TZMSLE5B-t-rP83k8.js +64 -0
  19. package/dist/classDiagram-2ON5EDUG-e9sZhnve.js +16 -0
  20. package/dist/classDiagram-v2-WZHVMYZB-e9sZhnve.js +16 -0
  21. package/dist/clone-DiTglB0h.js +8 -0
  22. package/dist/cose-bilkent-S5V4N54A-CWVtemhp.js +2605 -0
  23. package/dist/cytoscape.esm-ZmItrg9y.js +18731 -0
  24. package/dist/dagre-6UL2VRFP-MV2ZfZta.js +447 -0
  25. package/dist/defaultLocale-D7EN2tov.js +171 -0
  26. package/dist/diagram-PSM6KHXK-5lJpUCK9.js +534 -0
  27. package/dist/diagram-QEK2KX5R-CNU6jJsS.js +221 -0
  28. package/dist/diagram-S2PKOQOG-BKjk2v_A.js +143 -0
  29. package/dist/erDiagram-Q2GNP2WA-BtAVbAYU.js +842 -0
  30. package/dist/flowDiagram-NV44I4VS-DISVIV3t.js +1627 -0
  31. package/dist/ganttDiagram-LVOFAZNH-Ddt7ksjd.js +2499 -0
  32. package/dist/gitGraph-F6HP7TQM-BAIad0GA.js +5 -0
  33. package/dist/gitGraphDiagram-NY62KEGX-C-l5siHi.js +712 -0
  34. package/dist/graph-DoqhIGWS.js +247 -0
  35. package/dist/hyper-markdown.es.js +11 -0
  36. package/dist/hyper-markdown.umd.js +3180 -0
  37. package/dist/index-D8q1QLkY.js +139643 -0
  38. package/dist/info-NVLQJR56-temdJZnQ.js +5 -0
  39. package/dist/infoDiagram-ER5ION4S-CWrTqrrP.js +24 -0
  40. package/dist/init-DjUOC4st.js +16 -0
  41. package/dist/journeyDiagram-XKPGCS4Q-033aYkz7.js +836 -0
  42. package/dist/kanban-definition-3W4ZIXB7-Dz47qxF_.js +720 -0
  43. package/dist/katex-dDbcVckU.js +11687 -0
  44. package/dist/layout-DRpSHON1.js +1335 -0
  45. package/dist/linear-BO6pDEmK.js +259 -0
  46. package/dist/mermaid-parser.core-D_tMj5cA.js +12921 -0
  47. package/dist/mindmap-definition-VGOIOE7T-BsHgjAmS.js +786 -0
  48. package/dist/ordinal-DfAQgscy.js +61 -0
  49. package/dist/packet-BFZMPI3H-Bzlf_wLW.js +5 -0
  50. package/dist/pie-7BOR55EZ-Czidi0ky.js +5 -0
  51. package/dist/pieDiagram-ADFJNKIX-CSpQeOry.js +161 -0
  52. package/dist/quadrantDiagram-AYHSOK5B-flM7H9xo.js +1024 -0
  53. package/dist/radar-NHE76QYJ-D1f__eiC.js +5 -0
  54. package/dist/requirementDiagram-UZGBJVZJ-1iG0LrwF.js +852 -0
  55. package/dist/sankeyDiagram-TZEHDZUN-0SClKoX9.js +810 -0
  56. package/dist/sequenceDiagram-WL72ISMW-Bwbc6j-1.js +2518 -0
  57. package/dist/stateDiagram-FKZM4ZOC-BuNY3ZqE.js +263 -0
  58. package/dist/stateDiagram-v2-4FDKWEC3-CB1nMpEc.js +16 -0
  59. package/dist/style.css +10 -0
  60. package/dist/timeline-definition-IT6M3QCI-CjFYKVsS.js +801 -0
  61. package/dist/treemap-KMMF4GRG-Cs8Vv-VD.js +5 -0
  62. package/dist/xychartDiagram-PRI3JC2R-B6hpuUj2.js +1340 -0
  63. package/package.json +70 -0
  64. package/types/index.d.ts +34 -0
@@ -0,0 +1,801 @@
1
+ import { _ as s, c as xt, l as E, d as q, V as kt, W as vt, X as _t, Y as bt, B as wt, $ as St, y as Et } from "./index-D8q1QLkY.js";
2
+ import { d as nt } from "./arc-c3dke9_g.js";
3
+ var X = function() {
4
+ var n = /* @__PURE__ */ s(function(f, r, a, h) {
5
+ for (a = a || {}, h = f.length; h--; a[f[h]] = r) ;
6
+ return a;
7
+ }, "o"), t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], l = [1, 10], i = [1, 11], d = [1, 12], c = [1, 13], g = [1, 16], m = [1, 17], p = {
8
+ trace: /* @__PURE__ */ s(function() {
9
+ }, "trace"),
10
+ yy: {},
11
+ symbols_: { error: 2, start: 3, timeline: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, period_statement: 18, event_statement: 19, period: 20, event: 21, $accept: 0, $end: 1 },
12
+ terminals_: { 2: "error", 4: "timeline", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 20: "period", 21: "event" },
13
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [18, 1], [19, 1]],
14
+ performAction: /* @__PURE__ */ s(function(r, a, h, u, y, o, S) {
15
+ var k = o.length - 1;
16
+ switch (y) {
17
+ case 1:
18
+ return o[k - 1];
19
+ case 2:
20
+ this.$ = [];
21
+ break;
22
+ case 3:
23
+ o[k - 1].push(o[k]), this.$ = o[k - 1];
24
+ break;
25
+ case 4:
26
+ case 5:
27
+ this.$ = o[k];
28
+ break;
29
+ case 6:
30
+ case 7:
31
+ this.$ = [];
32
+ break;
33
+ case 8:
34
+ u.getCommonDb().setDiagramTitle(o[k].substr(6)), this.$ = o[k].substr(6);
35
+ break;
36
+ case 9:
37
+ this.$ = o[k].trim(), u.getCommonDb().setAccTitle(this.$);
38
+ break;
39
+ case 10:
40
+ case 11:
41
+ this.$ = o[k].trim(), u.getCommonDb().setAccDescription(this.$);
42
+ break;
43
+ case 12:
44
+ u.addSection(o[k].substr(8)), this.$ = o[k].substr(8);
45
+ break;
46
+ case 15:
47
+ u.addTask(o[k], 0, ""), this.$ = o[k];
48
+ break;
49
+ case 16:
50
+ u.addEvent(o[k].substr(2)), this.$ = o[k];
51
+ break;
52
+ }
53
+ }, "anonymous"),
54
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, n(t, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: e, 12: l, 14: i, 16: d, 17: c, 18: 14, 19: 15, 20: g, 21: m }, n(t, [2, 7], { 1: [2, 1] }), n(t, [2, 3]), { 9: 18, 11: e, 12: l, 14: i, 16: d, 17: c, 18: 14, 19: 15, 20: g, 21: m }, n(t, [2, 5]), n(t, [2, 6]), n(t, [2, 8]), { 13: [1, 19] }, { 15: [1, 20] }, n(t, [2, 11]), n(t, [2, 12]), n(t, [2, 13]), n(t, [2, 14]), n(t, [2, 15]), n(t, [2, 16]), n(t, [2, 4]), n(t, [2, 9]), n(t, [2, 10])],
55
+ defaultActions: {},
56
+ parseError: /* @__PURE__ */ s(function(r, a) {
57
+ if (a.recoverable)
58
+ this.trace(r);
59
+ else {
60
+ var h = new Error(r);
61
+ throw h.hash = a, h;
62
+ }
63
+ }, "parseError"),
64
+ parse: /* @__PURE__ */ s(function(r) {
65
+ var a = this, h = [0], u = [], y = [null], o = [], S = this.table, k = "", $ = 0, C = 0, B = 2, J = 1, O = o.slice.call(arguments, 1), v = Object.create(this.lexer), N = { yy: {} };
66
+ for (var L in this.yy)
67
+ Object.prototype.hasOwnProperty.call(this.yy, L) && (N.yy[L] = this.yy[L]);
68
+ v.setInput(r, N.yy), N.yy.lexer = v, N.yy.parser = this, typeof v.yylloc > "u" && (v.yylloc = {});
69
+ var b = v.yylloc;
70
+ o.push(b);
71
+ var M = v.options && v.options.ranges;
72
+ typeof N.yy.parseError == "function" ? this.parseError = N.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
73
+ function R(T) {
74
+ h.length = h.length - 2 * T, y.length = y.length - T, o.length = o.length - T;
75
+ }
76
+ s(R, "popStack");
77
+ function A() {
78
+ var T;
79
+ return T = u.pop() || v.lex() || J, typeof T != "number" && (T instanceof Array && (u = T, T = u.pop()), T = a.symbols_[T] || T), T;
80
+ }
81
+ s(A, "lex");
82
+ for (var w, H, I, K, V = {}, j, P, et, G; ; ) {
83
+ if (H = h[h.length - 1], this.defaultActions[H] ? I = this.defaultActions[H] : ((w === null || typeof w > "u") && (w = A()), I = S[H] && S[H][w]), typeof I > "u" || !I.length || !I[0]) {
84
+ var Q = "";
85
+ G = [];
86
+ for (j in S[H])
87
+ this.terminals_[j] && j > B && G.push("'" + this.terminals_[j] + "'");
88
+ v.showPosition ? Q = "Parse error on line " + ($ + 1) + `:
89
+ ` + v.showPosition() + `
90
+ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "Parse error on line " + ($ + 1) + ": Unexpected " + (w == J ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(Q, {
91
+ text: v.match,
92
+ token: this.terminals_[w] || w,
93
+ line: v.yylineno,
94
+ loc: b,
95
+ expected: G
96
+ });
97
+ }
98
+ if (I[0] instanceof Array && I.length > 1)
99
+ throw new Error("Parse Error: multiple actions possible at state: " + H + ", token: " + w);
100
+ switch (I[0]) {
101
+ case 1:
102
+ h.push(w), y.push(v.yytext), o.push(v.yylloc), h.push(I[1]), w = null, C = v.yyleng, k = v.yytext, $ = v.yylineno, b = v.yylloc;
103
+ break;
104
+ case 2:
105
+ if (P = this.productions_[I[1]][1], V.$ = y[y.length - P], V._$ = {
106
+ first_line: o[o.length - (P || 1)].first_line,
107
+ last_line: o[o.length - 1].last_line,
108
+ first_column: o[o.length - (P || 1)].first_column,
109
+ last_column: o[o.length - 1].last_column
110
+ }, M && (V._$.range = [
111
+ o[o.length - (P || 1)].range[0],
112
+ o[o.length - 1].range[1]
113
+ ]), K = this.performAction.apply(V, [
114
+ k,
115
+ C,
116
+ $,
117
+ N.yy,
118
+ I[1],
119
+ y,
120
+ o
121
+ ].concat(O)), typeof K < "u")
122
+ return K;
123
+ P && (h = h.slice(0, -1 * P * 2), y = y.slice(0, -1 * P), o = o.slice(0, -1 * P)), h.push(this.productions_[I[1]][0]), y.push(V.$), o.push(V._$), et = S[h[h.length - 2]][h[h.length - 1]], h.push(et);
124
+ break;
125
+ case 3:
126
+ return !0;
127
+ }
128
+ }
129
+ return !0;
130
+ }, "parse")
131
+ }, x = /* @__PURE__ */ function() {
132
+ var f = {
133
+ EOF: 1,
134
+ parseError: /* @__PURE__ */ s(function(a, h) {
135
+ if (this.yy.parser)
136
+ this.yy.parser.parseError(a, h);
137
+ else
138
+ throw new Error(a);
139
+ }, "parseError"),
140
+ // resets the lexer, sets new input
141
+ setInput: /* @__PURE__ */ s(function(r, a) {
142
+ 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 = ["INITIAL"], this.yylloc = {
143
+ first_line: 1,
144
+ first_column: 0,
145
+ last_line: 1,
146
+ last_column: 0
147
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
148
+ }, "setInput"),
149
+ // consumes and returns one char from the input
150
+ input: /* @__PURE__ */ s(function() {
151
+ var r = this._input[0];
152
+ this.yytext += r, this.yyleng++, this.offset++, this.match += r, this.matched += r;
153
+ var a = r.match(/(?:\r\n?|\n).*/g);
154
+ 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;
155
+ }, "input"),
156
+ // unshifts one char (or a string) into the input
157
+ unput: /* @__PURE__ */ s(function(r) {
158
+ var a = r.length, h = r.split(/(?:\r\n?|\n)/g);
159
+ this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
160
+ var u = this.match.split(/(?:\r\n?|\n)/g);
161
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), h.length - 1 && (this.yylineno -= h.length - 1);
162
+ var y = this.yylloc.range;
163
+ return this.yylloc = {
164
+ first_line: this.yylloc.first_line,
165
+ last_line: this.yylineno + 1,
166
+ first_column: this.yylloc.first_column,
167
+ last_column: h ? (h.length === u.length ? this.yylloc.first_column : 0) + u[u.length - h.length].length - h[0].length : this.yylloc.first_column - a
168
+ }, this.options.ranges && (this.yylloc.range = [y[0], y[0] + this.yyleng - a]), this.yyleng = this.yytext.length, this;
169
+ }, "unput"),
170
+ // When called from action, caches matched text and appends it on next action
171
+ more: /* @__PURE__ */ s(function() {
172
+ return this._more = !0, this;
173
+ }, "more"),
174
+ // 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.
175
+ reject: /* @__PURE__ */ s(function() {
176
+ if (this.options.backtrack_lexer)
177
+ this._backtrack = !0;
178
+ else
179
+ 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).
180
+ ` + this.showPosition(), {
181
+ text: "",
182
+ token: null,
183
+ line: this.yylineno
184
+ });
185
+ return this;
186
+ }, "reject"),
187
+ // retain first n characters of the match
188
+ less: /* @__PURE__ */ s(function(r) {
189
+ this.unput(this.match.slice(r));
190
+ }, "less"),
191
+ // displays already matched input, i.e. for error messages
192
+ pastInput: /* @__PURE__ */ s(function() {
193
+ var r = this.matched.substr(0, this.matched.length - this.match.length);
194
+ return (r.length > 20 ? "..." : "") + r.substr(-20).replace(/\n/g, "");
195
+ }, "pastInput"),
196
+ // displays upcoming input, i.e. for error messages
197
+ upcomingInput: /* @__PURE__ */ s(function() {
198
+ var r = this.match;
199
+ return r.length < 20 && (r += this._input.substr(0, 20 - r.length)), (r.substr(0, 20) + (r.length > 20 ? "..." : "")).replace(/\n/g, "");
200
+ }, "upcomingInput"),
201
+ // displays the character position where the lexing error occurred, i.e. for error messages
202
+ showPosition: /* @__PURE__ */ s(function() {
203
+ var r = this.pastInput(), a = new Array(r.length + 1).join("-");
204
+ return r + this.upcomingInput() + `
205
+ ` + a + "^";
206
+ }, "showPosition"),
207
+ // test the lexed token: return FALSE when not a match, otherwise return token
208
+ test_match: /* @__PURE__ */ s(function(r, a) {
209
+ var h, u, y;
210
+ if (this.options.backtrack_lexer && (y = {
211
+ yylineno: this.yylineno,
212
+ yylloc: {
213
+ first_line: this.yylloc.first_line,
214
+ last_line: this.last_line,
215
+ first_column: this.yylloc.first_column,
216
+ last_column: this.yylloc.last_column
217
+ },
218
+ yytext: this.yytext,
219
+ match: this.match,
220
+ matches: this.matches,
221
+ matched: this.matched,
222
+ yyleng: this.yyleng,
223
+ offset: this.offset,
224
+ _more: this._more,
225
+ _input: this._input,
226
+ yy: this.yy,
227
+ conditionStack: this.conditionStack.slice(0),
228
+ done: this.done
229
+ }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), u = r[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
230
+ first_line: this.yylloc.last_line,
231
+ last_line: this.yylineno + 1,
232
+ first_column: this.yylloc.last_column,
233
+ last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
234
+ }, this.yytext += r[0], this.match += r[0], this.matches = r, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(r[0].length), this.matched += r[0], h = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), h)
235
+ return h;
236
+ if (this._backtrack) {
237
+ for (var o in y)
238
+ this[o] = y[o];
239
+ return !1;
240
+ }
241
+ return !1;
242
+ }, "test_match"),
243
+ // return next match in input
244
+ next: /* @__PURE__ */ s(function() {
245
+ if (this.done)
246
+ return this.EOF;
247
+ this._input || (this.done = !0);
248
+ var r, a, h, u;
249
+ this._more || (this.yytext = "", this.match = "");
250
+ for (var y = this._currentRules(), o = 0; o < y.length; o++)
251
+ if (h = this._input.match(this.rules[y[o]]), h && (!a || h[0].length > a[0].length)) {
252
+ if (a = h, u = o, this.options.backtrack_lexer) {
253
+ if (r = this.test_match(h, y[o]), r !== !1)
254
+ return r;
255
+ if (this._backtrack) {
256
+ a = !1;
257
+ continue;
258
+ } else
259
+ return !1;
260
+ } else if (!this.options.flex)
261
+ break;
262
+ }
263
+ return a ? (r = this.test_match(a, y[u]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
264
+ ` + this.showPosition(), {
265
+ text: "",
266
+ token: null,
267
+ line: this.yylineno
268
+ });
269
+ }, "next"),
270
+ // return next match that has a token
271
+ lex: /* @__PURE__ */ s(function() {
272
+ var a = this.next();
273
+ return a || this.lex();
274
+ }, "lex"),
275
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
276
+ begin: /* @__PURE__ */ s(function(a) {
277
+ this.conditionStack.push(a);
278
+ }, "begin"),
279
+ // pop the previously active lexer condition state off the condition stack
280
+ popState: /* @__PURE__ */ s(function() {
281
+ var a = this.conditionStack.length - 1;
282
+ return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
283
+ }, "popState"),
284
+ // produce the lexer rule set which is active for the currently active lexer condition state
285
+ _currentRules: /* @__PURE__ */ s(function() {
286
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
287
+ }, "_currentRules"),
288
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
289
+ topState: /* @__PURE__ */ s(function(a) {
290
+ return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
291
+ }, "topState"),
292
+ // alias for begin(condition)
293
+ pushState: /* @__PURE__ */ s(function(a) {
294
+ this.begin(a);
295
+ }, "pushState"),
296
+ // return the number of states currently on the stack
297
+ stateStackSize: /* @__PURE__ */ s(function() {
298
+ return this.conditionStack.length;
299
+ }, "stateStackSize"),
300
+ options: { "case-insensitive": !0 },
301
+ performAction: /* @__PURE__ */ s(function(a, h, u, y) {
302
+ switch (u) {
303
+ case 0:
304
+ break;
305
+ case 1:
306
+ break;
307
+ case 2:
308
+ return 10;
309
+ case 3:
310
+ break;
311
+ case 4:
312
+ break;
313
+ case 5:
314
+ return 4;
315
+ case 6:
316
+ return 11;
317
+ case 7:
318
+ return this.begin("acc_title"), 12;
319
+ case 8:
320
+ return this.popState(), "acc_title_value";
321
+ case 9:
322
+ return this.begin("acc_descr"), 14;
323
+ case 10:
324
+ return this.popState(), "acc_descr_value";
325
+ case 11:
326
+ this.begin("acc_descr_multiline");
327
+ break;
328
+ case 12:
329
+ this.popState();
330
+ break;
331
+ case 13:
332
+ return "acc_descr_multiline_value";
333
+ case 14:
334
+ return 17;
335
+ case 15:
336
+ return 21;
337
+ case 16:
338
+ return 20;
339
+ case 17:
340
+ return 6;
341
+ case 18:
342
+ return "INVALID";
343
+ }
344
+ }, "anonymous"),
345
+ rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:timeline\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^:\n]+)/i, /^(?::\s(?:[^:\n]|:(?!\s))+)/i, /^(?:[^#:\n]+)/i, /^(?:$)/i, /^(?:.)/i],
346
+ conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18], inclusive: !0 } }
347
+ };
348
+ return f;
349
+ }();
350
+ p.lexer = x;
351
+ function _() {
352
+ this.yy = {};
353
+ }
354
+ return s(_, "Parser"), _.prototype = p, p.Parser = _, new _();
355
+ }();
356
+ X.parser = X;
357
+ var Tt = X, at = {};
358
+ wt(at, {
359
+ addEvent: () => yt,
360
+ addSection: () => ht,
361
+ addTask: () => pt,
362
+ addTaskOrg: () => gt,
363
+ clear: () => ct,
364
+ default: () => It,
365
+ getCommonDb: () => ot,
366
+ getSections: () => dt,
367
+ getTasks: () => ut
368
+ });
369
+ var W = "", lt = 0, Y = [], U = [], z = [], ot = /* @__PURE__ */ s(() => St, "getCommonDb"), ct = /* @__PURE__ */ s(function() {
370
+ Y.length = 0, U.length = 0, W = "", z.length = 0, Et();
371
+ }, "clear"), ht = /* @__PURE__ */ s(function(n) {
372
+ W = n, Y.push(n);
373
+ }, "addSection"), dt = /* @__PURE__ */ s(function() {
374
+ return Y;
375
+ }, "getSections"), ut = /* @__PURE__ */ s(function() {
376
+ let n = it();
377
+ const t = 100;
378
+ let e = 0;
379
+ for (; !n && e < t; )
380
+ n = it(), e++;
381
+ return U.push(...z), U;
382
+ }, "getTasks"), pt = /* @__PURE__ */ s(function(n, t, e) {
383
+ const l = {
384
+ id: lt++,
385
+ section: W,
386
+ type: W,
387
+ task: n,
388
+ score: t || 0,
389
+ //if event is defined, then add it the events array
390
+ events: e ? [e] : []
391
+ };
392
+ z.push(l);
393
+ }, "addTask"), yt = /* @__PURE__ */ s(function(n) {
394
+ z.find((e) => e.id === lt - 1).events.push(n);
395
+ }, "addEvent"), gt = /* @__PURE__ */ s(function(n) {
396
+ const t = {
397
+ section: W,
398
+ type: W,
399
+ description: n,
400
+ task: n,
401
+ classes: []
402
+ };
403
+ U.push(t);
404
+ }, "addTaskOrg"), it = /* @__PURE__ */ s(function() {
405
+ const n = /* @__PURE__ */ s(function(e) {
406
+ return z[e].processed;
407
+ }, "compileTask");
408
+ let t = !0;
409
+ for (const [e, l] of z.entries())
410
+ n(e), t = t && l.processed;
411
+ return t;
412
+ }, "compileTasks"), It = {
413
+ clear: ct,
414
+ getCommonDb: ot,
415
+ addSection: ht,
416
+ getSections: dt,
417
+ getTasks: ut,
418
+ addTask: pt,
419
+ addTaskOrg: gt,
420
+ addEvent: yt
421
+ }, Nt = 12, Z = /* @__PURE__ */ s(function(n, t) {
422
+ const e = n.append("rect");
423
+ return e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), e.attr("rx", t.rx), e.attr("ry", t.ry), t.class !== void 0 && e.attr("class", t.class), e;
424
+ }, "drawRect"), Lt = /* @__PURE__ */ s(function(n, t) {
425
+ const l = n.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = n.append("g");
426
+ i.append("circle").attr("cx", t.cx - 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), i.append("circle").attr("cx", t.cx + 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
427
+ function d(m) {
428
+ const p = nt().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
429
+ m.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
430
+ }
431
+ s(d, "smile");
432
+ function c(m) {
433
+ const p = nt().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
434
+ m.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
435
+ }
436
+ s(c, "sad");
437
+ function g(m) {
438
+ m.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
439
+ }
440
+ return s(g, "ambivalent"), t.score > 3 ? d(i) : t.score < 3 ? c(i) : g(i), l;
441
+ }, "drawFace"), $t = /* @__PURE__ */ s(function(n, t) {
442
+ const e = n.append("circle");
443
+ return e.attr("cx", t.cx), e.attr("cy", t.cy), e.attr("class", "actor-" + t.pos), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("r", t.r), e.class !== void 0 && e.attr("class", e.class), t.title !== void 0 && e.append("title").text(t.title), e;
444
+ }, "drawCircle"), ft = /* @__PURE__ */ s(function(n, t) {
445
+ const e = t.text.replace(/<br\s*\/?>/gi, " "), l = n.append("text");
446
+ l.attr("x", t.x), l.attr("y", t.y), l.attr("class", "legend"), l.style("text-anchor", t.anchor), t.class !== void 0 && l.attr("class", t.class);
447
+ const i = l.append("tspan");
448
+ return i.attr("x", t.x + t.textMargin * 2), i.text(e), l;
449
+ }, "drawText"), Mt = /* @__PURE__ */ s(function(n, t) {
450
+ function e(i, d, c, g, m) {
451
+ return i + "," + d + " " + (i + c) + "," + d + " " + (i + c) + "," + (d + g - m) + " " + (i + c - m * 1.2) + "," + (d + g) + " " + i + "," + (d + g);
452
+ }
453
+ s(e, "genPoints");
454
+ const l = n.append("polygon");
455
+ l.attr("points", e(t.x, t.y, 50, 20, 7)), l.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, ft(n, t);
456
+ }, "drawLabel"), Ht = /* @__PURE__ */ s(function(n, t, e) {
457
+ const l = n.append("g"), i = D();
458
+ i.x = t.x, i.y = t.y, i.fill = t.fill, i.width = e.width, i.height = e.height, i.class = "journey-section section-type-" + t.num, i.rx = 3, i.ry = 3, Z(l, i), mt(e)(
459
+ t.text,
460
+ l,
461
+ i.x,
462
+ i.y,
463
+ i.width,
464
+ i.height,
465
+ { class: "journey-section section-type-" + t.num },
466
+ e,
467
+ t.colour
468
+ );
469
+ }, "drawSection"), rt = -1, Pt = /* @__PURE__ */ s(function(n, t, e) {
470
+ const l = t.x + e.width / 2, i = n.append("g");
471
+ rt++;
472
+ const d = 300 + 5 * 30;
473
+ i.append("line").attr("id", "task" + rt).attr("x1", l).attr("y1", t.y).attr("x2", l).attr("y2", d).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Lt(i, {
474
+ cx: l,
475
+ cy: 300 + (5 - t.score) * 30,
476
+ score: t.score
477
+ });
478
+ const c = D();
479
+ c.x = t.x, c.y = t.y, c.fill = t.fill, c.width = e.width, c.height = e.height, c.class = "task task-type-" + t.num, c.rx = 3, c.ry = 3, Z(i, c), mt(e)(
480
+ t.task,
481
+ i,
482
+ c.x,
483
+ c.y,
484
+ c.width,
485
+ c.height,
486
+ { class: "task" },
487
+ e,
488
+ t.colour
489
+ );
490
+ }, "drawTask"), At = /* @__PURE__ */ s(function(n, t) {
491
+ Z(n, {
492
+ x: t.startx,
493
+ y: t.starty,
494
+ width: t.stopx - t.startx,
495
+ height: t.stopy - t.starty,
496
+ fill: t.fill,
497
+ class: "rect"
498
+ }).lower();
499
+ }, "drawBackgroundRect"), Ct = /* @__PURE__ */ s(function() {
500
+ return {
501
+ x: 0,
502
+ y: 0,
503
+ fill: void 0,
504
+ "text-anchor": "start",
505
+ width: 100,
506
+ height: 100,
507
+ textMargin: 0,
508
+ rx: 0,
509
+ ry: 0
510
+ };
511
+ }, "getTextObj"), D = /* @__PURE__ */ s(function() {
512
+ return {
513
+ x: 0,
514
+ y: 0,
515
+ width: 100,
516
+ anchor: "start",
517
+ height: 100,
518
+ rx: 0,
519
+ ry: 0
520
+ };
521
+ }, "getNoteRect"), mt = /* @__PURE__ */ function() {
522
+ function n(i, d, c, g, m, p, x, _) {
523
+ const f = d.append("text").attr("x", c + m / 2).attr("y", g + p / 2 + 5).style("font-color", _).style("text-anchor", "middle").text(i);
524
+ l(f, x);
525
+ }
526
+ s(n, "byText");
527
+ function t(i, d, c, g, m, p, x, _, f) {
528
+ const { taskFontSize: r, taskFontFamily: a } = _, h = i.split(/<br\s*\/?>/gi);
529
+ for (let u = 0; u < h.length; u++) {
530
+ const y = u * r - r * (h.length - 1) / 2, o = d.append("text").attr("x", c + m / 2).attr("y", g).attr("fill", f).style("text-anchor", "middle").style("font-size", r).style("font-family", a);
531
+ o.append("tspan").attr("x", c + m / 2).attr("dy", y).text(h[u]), o.attr("y", g + p / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), l(o, x);
532
+ }
533
+ }
534
+ s(t, "byTspan");
535
+ function e(i, d, c, g, m, p, x, _) {
536
+ const f = d.append("switch"), a = f.append("foreignObject").attr("x", c).attr("y", g).attr("width", m).attr("height", p).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
537
+ a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(i), t(i, f, c, g, m, p, x, _), l(a, x);
538
+ }
539
+ s(e, "byFo");
540
+ function l(i, d) {
541
+ for (const c in d)
542
+ c in d && i.attr(c, d[c]);
543
+ }
544
+ return s(l, "_setTextAttrs"), function(i) {
545
+ return i.textPlacement === "fo" ? e : i.textPlacement === "old" ? n : t;
546
+ };
547
+ }(), Rt = /* @__PURE__ */ s(function(n) {
548
+ n.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
549
+ }, "initGraphics");
550
+ function tt(n, t) {
551
+ n.each(function() {
552
+ var e = q(this), l = e.text().split(/(\s+|<br>)/).reverse(), i, d = [], c = 1.1, g = e.attr("y"), m = parseFloat(e.attr("dy")), p = e.text(null).append("tspan").attr("x", 0).attr("y", g).attr("dy", m + "em");
553
+ for (let x = 0; x < l.length; x++)
554
+ i = l[l.length - 1 - x], d.push(i), p.text(d.join(" ").trim()), (p.node().getComputedTextLength() > t || i === "<br>") && (d.pop(), p.text(d.join(" ").trim()), i === "<br>" ? d = [""] : d = [i], p = e.append("tspan").attr("x", 0).attr("y", g).attr("dy", c + "em").text(i));
555
+ });
556
+ }
557
+ s(tt, "wrap");
558
+ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
559
+ var _;
560
+ const i = e % Nt - 1, d = n.append("g");
561
+ t.section = i, d.attr(
562
+ "class",
563
+ (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + i)
564
+ );
565
+ const c = d.append("g"), g = d.append("g"), p = g.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), x = (_ = l.fontSize) != null && _.replace ? l.fontSize.replace("px", "") : l.fontSize;
566
+ return t.height = p.height + x * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, g.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), Wt(c, t, i, l), t;
567
+ }, "drawNode"), Vt = /* @__PURE__ */ s(function(n, t, e) {
568
+ var g;
569
+ const l = n.append("g"), d = l.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), c = (g = e.fontSize) != null && g.replace ? e.fontSize.replace("px", "") : e.fontSize;
570
+ return l.remove(), d.height + c * 1.1 * 0.5 + t.padding;
571
+ }, "getVirtualNodeHeight"), Wt = /* @__PURE__ */ s(function(n, t, e) {
572
+ n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
573
+ "d",
574
+ `M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
575
+ ), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
576
+ }, "defaultBkg"), F = {
577
+ drawRect: Z,
578
+ drawCircle: $t,
579
+ drawSection: Ht,
580
+ drawText: ft,
581
+ drawLabel: Mt,
582
+ drawTask: Pt,
583
+ drawBackgroundRect: At,
584
+ getTextObj: Ct,
585
+ getNoteRect: D,
586
+ initGraphics: Rt,
587
+ drawNode: Ft,
588
+ getVirtualNodeHeight: Vt
589
+ }, zt = /* @__PURE__ */ s(function(n, t, e, l) {
590
+ var O, v, N;
591
+ const i = xt(), d = ((O = i.timeline) == null ? void 0 : O.leftMargin) ?? 50;
592
+ E.debug("timeline", l.db);
593
+ const c = i.securityLevel;
594
+ let g;
595
+ c === "sandbox" && (g = q("#i" + t));
596
+ const p = (c === "sandbox" ? q(g.nodes()[0].contentDocument.body) : q("body")).select("#" + t);
597
+ p.append("g");
598
+ const x = l.db.getTasks(), _ = l.db.getCommonDb().getDiagramTitle();
599
+ E.debug("task", x), F.initGraphics(p);
600
+ const f = l.db.getSections();
601
+ E.debug("sections", f);
602
+ let r = 0, a = 0, h = 0, u = 0, y = 50 + d, o = 50;
603
+ u = 50;
604
+ let S = 0, k = !0;
605
+ f.forEach(function(L) {
606
+ const b = {
607
+ number: S,
608
+ descr: L,
609
+ section: S,
610
+ width: 150,
611
+ padding: 20,
612
+ maxHeight: r
613
+ }, M = F.getVirtualNodeHeight(p, b, i);
614
+ E.debug("sectionHeight before draw", M), r = Math.max(r, M + 20);
615
+ });
616
+ let $ = 0, C = 0;
617
+ E.debug("tasks.length", x.length);
618
+ for (const [L, b] of x.entries()) {
619
+ const M = {
620
+ number: L,
621
+ descr: b,
622
+ section: b.section,
623
+ width: 150,
624
+ padding: 20,
625
+ maxHeight: a
626
+ }, R = F.getVirtualNodeHeight(p, M, i);
627
+ E.debug("taskHeight before draw", R), a = Math.max(a, R + 20), $ = Math.max($, b.events.length);
628
+ let A = 0;
629
+ for (const w of b.events) {
630
+ const H = {
631
+ descr: w,
632
+ section: b.section,
633
+ number: b.section,
634
+ width: 150,
635
+ padding: 20,
636
+ maxHeight: 50
637
+ };
638
+ A += F.getVirtualNodeHeight(p, H, i);
639
+ }
640
+ b.events.length > 0 && (A += (b.events.length - 1) * 10), C = Math.max(C, A);
641
+ }
642
+ E.debug("maxSectionHeight before draw", r), E.debug("maxTaskHeight before draw", a), f && f.length > 0 ? f.forEach((L) => {
643
+ const b = x.filter((w) => w.section === L), M = {
644
+ number: S,
645
+ descr: L,
646
+ section: S,
647
+ width: 200 * Math.max(b.length, 1) - 50,
648
+ padding: 20,
649
+ maxHeight: r
650
+ };
651
+ E.debug("sectionNode", M);
652
+ const R = p.append("g"), A = F.drawNode(R, M, S, i);
653
+ E.debug("sectionNode output", A), R.attr("transform", `translate(${y}, ${u})`), o += r + 50, b.length > 0 && st(
654
+ p,
655
+ b,
656
+ S,
657
+ y,
658
+ o,
659
+ a,
660
+ i,
661
+ $,
662
+ C,
663
+ r,
664
+ !1
665
+ ), y += 200 * Math.max(b.length, 1), o = u, S++;
666
+ }) : (k = !1, st(
667
+ p,
668
+ x,
669
+ S,
670
+ y,
671
+ o,
672
+ a,
673
+ i,
674
+ $,
675
+ C,
676
+ r,
677
+ !0
678
+ ));
679
+ const B = p.node().getBBox();
680
+ E.debug("bounds", B), _ && p.append("text").text(_).attr("x", B.width / 2 - d).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), h = k ? r + a + 150 : a + 100, p.append("g").attr("class", "lineWrapper").append("line").attr("x1", d).attr("y1", h).attr("x2", B.width + 3 * d).attr("y2", h).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), kt(
681
+ void 0,
682
+ p,
683
+ ((v = i.timeline) == null ? void 0 : v.padding) ?? 50,
684
+ ((N = i.timeline) == null ? void 0 : N.useMaxWidth) ?? !1
685
+ );
686
+ }, "draw"), st = /* @__PURE__ */ s(function(n, t, e, l, i, d, c, g, m, p, x) {
687
+ var _;
688
+ for (const f of t) {
689
+ const r = {
690
+ descr: f.task,
691
+ section: e,
692
+ number: e,
693
+ width: 150,
694
+ padding: 20,
695
+ maxHeight: d
696
+ };
697
+ E.debug("taskNode", r);
698
+ const a = n.append("g").attr("class", "taskWrapper"), u = F.drawNode(a, r, e, c).height;
699
+ if (E.debug("taskHeight after draw", u), a.attr("transform", `translate(${l}, ${i})`), d = Math.max(d, u), f.events) {
700
+ const y = n.append("g").attr("class", "lineWrapper");
701
+ let o = d;
702
+ i += 100, o = o + Bt(n, f.events, e, l, i, c), i -= 100, y.append("line").attr("x1", l + 190 / 2).attr("y1", i + d).attr("x2", l + 190 / 2).attr("y2", i + d + 100 + m + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
703
+ }
704
+ l = l + 200, x && !((_ = c.timeline) != null && _.disableMulticolor) && e++;
705
+ }
706
+ i = i - 10;
707
+ }, "drawTasks"), Bt = /* @__PURE__ */ s(function(n, t, e, l, i, d) {
708
+ let c = 0;
709
+ const g = i;
710
+ i = i + 100;
711
+ for (const m of t) {
712
+ const p = {
713
+ descr: m,
714
+ section: e,
715
+ number: e,
716
+ width: 150,
717
+ padding: 20,
718
+ maxHeight: 50
719
+ };
720
+ E.debug("eventNode", p);
721
+ const x = n.append("g").attr("class", "eventWrapper"), f = F.drawNode(x, p, e, d).height;
722
+ c = c + f, x.attr("transform", `translate(${l}, ${i})`), i = i + 10 + f;
723
+ }
724
+ return i = g, c;
725
+ }, "drawEvents"), Ot = {
726
+ setConf: /* @__PURE__ */ s(() => {
727
+ }, "setConf"),
728
+ draw: zt
729
+ }, jt = /* @__PURE__ */ s((n) => {
730
+ let t = "";
731
+ for (let e = 0; e < n.THEME_COLOR_LIMIT; e++)
732
+ n["lineColor" + e] = n["lineColor" + e] || n["cScaleInv" + e], vt(n["lineColor" + e]) ? n["lineColor" + e] = _t(n["lineColor" + e], 20) : n["lineColor" + e] = bt(n["lineColor" + e], 20);
733
+ for (let e = 0; e < n.THEME_COLOR_LIMIT; e++) {
734
+ const l = "" + (17 - 3 * e);
735
+ t += `
736
+ .section-${e - 1} rect, .section-${e - 1} path, .section-${e - 1} circle, .section-${e - 1} path {
737
+ fill: ${n["cScale" + e]};
738
+ }
739
+ .section-${e - 1} text {
740
+ fill: ${n["cScaleLabel" + e]};
741
+ }
742
+ .node-icon-${e - 1} {
743
+ font-size: 40px;
744
+ color: ${n["cScaleLabel" + e]};
745
+ }
746
+ .section-edge-${e - 1}{
747
+ stroke: ${n["cScale" + e]};
748
+ }
749
+ .edge-depth-${e - 1}{
750
+ stroke-width: ${l};
751
+ }
752
+ .section-${e - 1} line {
753
+ stroke: ${n["cScaleInv" + e]} ;
754
+ stroke-width: 3;
755
+ }
756
+
757
+ .lineWrapper line{
758
+ stroke: ${n["cScaleLabel" + e]} ;
759
+ }
760
+
761
+ .disabled, .disabled circle, .disabled text {
762
+ fill: lightgray;
763
+ }
764
+ .disabled text {
765
+ fill: #efefef;
766
+ }
767
+ `;
768
+ }
769
+ return t;
770
+ }, "genSections"), Gt = /* @__PURE__ */ s((n) => `
771
+ .edge {
772
+ stroke-width: 3;
773
+ }
774
+ ${jt(n)}
775
+ .section-root rect, .section-root path, .section-root circle {
776
+ fill: ${n.git0};
777
+ }
778
+ .section-root text {
779
+ fill: ${n.gitBranchLabel0};
780
+ }
781
+ .icon-container {
782
+ height:100%;
783
+ display: flex;
784
+ justify-content: center;
785
+ align-items: center;
786
+ }
787
+ .edge {
788
+ fill: none;
789
+ }
790
+ .eventWrapper {
791
+ filter: brightness(120%);
792
+ }
793
+ `, "getStyles"), qt = Gt, Jt = {
794
+ db: at,
795
+ renderer: Ot,
796
+ parser: Tt,
797
+ styles: qt
798
+ };
799
+ export {
800
+ Jt as diagram
801
+ };