@kong-ui-public/documentation 1.1.2 → 1.1.3

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 (50) hide show
  1. package/dist/{_basePickBy-zlkqRmFy-CQP0PMRw.js → _basePickBy-zlkqRmFy-Dq-PK6tA.js} +27 -27
  2. package/dist/_baseUniq-SAfYgIkf-DhYxnvgt.js +614 -0
  3. package/dist/{arc-CK9P6CkJ-B3oiAYoG.js → arc-CK9P6CkJ-lihx_wEv.js} +31 -31
  4. package/dist/{architecture-I3QFYML2-DJzmbE4M-BYAx4I-4.js → architecture-I3QFYML2-DJzmbE4M-B5s0Q1wg.js} +1 -1
  5. package/dist/{architectureDiagram-UYN6MBPD-DkZdgpXi-BC7nb0IZ.js → architectureDiagram-UYN6MBPD-DkZdgpXi-CC-fAW7y.js} +850 -850
  6. package/dist/{blockDiagram-ZHA2E4KO-DnCMGCMN-CU7ARVHN.js → blockDiagram-ZHA2E4KO-DnCMGCMN-B9tod6Dk.js} +477 -477
  7. package/dist/{c4Diagram-6F5ED5ID-D5yqWyf0-DEuKG0sN.js → c4Diagram-6F5ED5ID-D5yqWyf0-B1iuFSQ1.js} +203 -203
  8. package/dist/{channel-bVcNKbrJ-C4S-4qV3.js → channel-bVcNKbrJ-DEGmvXXN.js} +1 -1
  9. package/dist/{chunk-5HRBRIJM-BjQ8go1b-733bxiZ-.js → chunk-5HRBRIJM-BjQ8go1b-BszOhLz8.js} +4 -4
  10. package/dist/{chunk-7U56Z5CX-awhAxjZ0-DpUJ4fo1.js → chunk-7U56Z5CX-awhAxjZ0-CHd4qyz3.js} +120 -120
  11. package/dist/{chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js → chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js} +1 -1
  12. package/dist/{chunk-KFBOBJHC-nixdujtH-B4639Jmi.js → chunk-KFBOBJHC-nixdujtH-DCajFn7e.js} +1 -1
  13. package/dist/{chunk-T2TOU4HS-DqOVhIzl-piSN2Cjl.js → chunk-T2TOU4HS-DqOVhIzl-1waDvYDY.js} +229 -229
  14. package/dist/{chunk-TMUBEWPD-BRIzn5gH-SlHeKBx9.js → chunk-TMUBEWPD-BRIzn5gH-Ch1SRQ7H.js} +1 -1
  15. package/dist/{classDiagram-LNE6IOMH-fQzyXfo--C9LjXboP.js → classDiagram-LNE6IOMH-fQzyXfo--BpuwdnmV.js} +4 -4
  16. package/dist/{classDiagram-v2-MQ7JQ4JX-fQzyXfo--C9LjXboP.js → classDiagram-v2-MQ7JQ4JX-fQzyXfo--BpuwdnmV.js} +4 -4
  17. package/dist/{clone-_5SW34SG-DtUOH1l1.js → clone-_5SW34SG-BWxdvZXA.js} +1 -1
  18. package/dist/{cytoscape.esm-DAyNQ0qu-B7WxGuVh.js → cytoscape.esm-DAyNQ0qu-i5PnoWfE.js} +976 -976
  19. package/dist/{dagre-4EVJKHTY-CcAruc30-DaOjmyb6.js → dagre-4EVJKHTY-CcAruc30-H9W22Yky.js} +85 -85
  20. package/dist/{diagram-QW4FP2JN-DZT_0aFO-YCKYx1k-.js → diagram-QW4FP2JN-DZT_0aFO-AmG94tp5.js} +21 -21
  21. package/dist/documentation.es.js +1 -1
  22. package/dist/{erDiagram-6RL3IURR-BfgUC5jv-CS9Q9iKF.js → erDiagram-6RL3IURR-BfgUC5jv-BNzxBFoY.js} +201 -201
  23. package/dist/{flowDiagram-7ASYPVHJ-Bo9CnsE7-CkM-DJdr.js → flowDiagram-7ASYPVHJ-Bo9CnsE7-CSLq7kw9.js} +222 -222
  24. package/dist/{ganttDiagram-NTVNEXSI-8E9hjd6N-iN-VNXrV.js → ganttDiagram-NTVNEXSI-8E9hjd6N-CjQQCbaM.js} +16 -16
  25. package/dist/{gitGraph-YCYPL57B-BnErPIwo-DWobPBzL.js → gitGraph-YCYPL57B-BnErPIwo-DxQPpoWq.js} +1 -1
  26. package/dist/{gitGraphDiagram-NRZ2UAAF-B-t90-9e-Co4q5oQK.js → gitGraphDiagram-NRZ2UAAF-B-t90-9e-B6JY8bWo.js} +17 -17
  27. package/dist/{graph-BYZMvqpu-BpeF1PUA.js → graph-BYZMvqpu-CWGqkYZM.js} +43 -43
  28. package/dist/{index-ZM4BlVwk.js → index-BXOX6oou.js} +3487 -3487
  29. package/dist/{info-46DW6VJ7-DPpbx_vA-CnDg11wg.js → info-46DW6VJ7-DPpbx_vA-BmAPar7H.js} +1 -1
  30. package/dist/{infoDiagram-A4XQUW5V-Bo9uoOcA-WvvF1295.js → infoDiagram-A4XQUW5V-Bo9uoOcA-CtFRRRot.js} +2 -2
  31. package/dist/{journeyDiagram-G5WM74LC-BE7U42Ad-BFF_wJwi.js → journeyDiagram-G5WM74LC-BE7U42Ad-of9fN5Vr.js} +173 -173
  32. package/dist/{kanban-definition-QRCXZQQD-C-5-UNRm-LjA3yK5r.js → kanban-definition-QRCXZQQD-C-5-UNRm-DecJsseT.js} +168 -168
  33. package/dist/{katex-Qk2jHgyB-CF_fuFJb.js → katex-Qk2jHgyB-_qyJ_37x.js} +1054 -1054
  34. package/dist/{layout-BHI4imdk-DgoNZaqw.js → layout-BHI4imdk-BlkmyDbe.js} +19 -19
  35. package/dist/{linear-C2PheBya-wGRbEA3e.js → linear-C2PheBya-DijeUNjP.js} +2 -2
  36. package/dist/{mermaid-parser.core-Ce96PX3Q-DPc-bPXG.js → mermaid-parser.core-Ce96PX3Q-DtNzRUJ7.js} +32 -32
  37. package/dist/{mindmap-definition-GWI6TPTV-C98Syvj2-DOvfo2r8.js → mindmap-definition-GWI6TPTV-C98Syvj2-Btvji3Oh.js} +421 -421
  38. package/dist/{packet-W2GHVCYJ-BLiQbm7T-DbS7CM6G.js → packet-W2GHVCYJ-BLiQbm7T-E8ztaW67.js} +1 -1
  39. package/dist/{pie-BEWT4RHE-D3Mbo3mT-DB-aeuYE.js → pie-BEWT4RHE-D3Mbo3mT-BGVGE8TE.js} +1 -1
  40. package/dist/{pieDiagram-YF2LJOPJ-BJV27s9B-DS-nBsbY.js → pieDiagram-YF2LJOPJ-BJV27s9B-DVrzAwZP.js} +20 -20
  41. package/dist/{quadrantDiagram-OS5C2QUG-M57vVPSx-DMjI1wdt.js → quadrantDiagram-OS5C2QUG-M57vVPSx-DrN-qVPg.js} +131 -131
  42. package/dist/{requirementDiagram-MIRIMTAZ-D0KDg7rf-DeEsJ26T.js → requirementDiagram-MIRIMTAZ-D0KDg7rf-FCJNuddX.js} +77 -77
  43. package/dist/{sankeyDiagram-Y46BX6SQ-D6EdYPdp-BA6cRE1h.js → sankeyDiagram-Y46BX6SQ-D6EdYPdp-ClC_w0Hg.js} +108 -108
  44. package/dist/{sequenceDiagram-G6AWOVSC-B171TAb1-DMtStdxJ.js → sequenceDiagram-G6AWOVSC-B171TAb1-B6jBix6L.js} +181 -181
  45. package/dist/{stateDiagram-MAYHULR4-D7FUnT9_-Du3mnoL2.js → stateDiagram-MAYHULR4-D7FUnT9_-B7dSTUAT.js} +81 -81
  46. package/dist/{stateDiagram-v2-4JROLMXI-Cyc74STT-DR1h52WB.js → stateDiagram-v2-4JROLMXI-Cyc74STT-BhUBvhmS.js} +4 -4
  47. package/dist/{timeline-definition-U7ZMHBDA-Bw-dp1yf-BO9wUMSJ.js → timeline-definition-U7ZMHBDA-Bw-dp1yf-DAx9hgzp.js} +126 -126
  48. package/dist/{xychartDiagram-6QU3TZC5-CqbTSF5W-CwiL6udJ.js → xychartDiagram-6QU3TZC5-CqbTSF5W-Dy5Ia8cd.js} +70 -70
  49. package/package.json +2 -2
  50. package/dist/_baseUniq-SAfYgIkf-BO_CV6Oz.js +0 -614
@@ -1,17 +1,17 @@
1
- import { _ as r, bk as mt, bl as xt, ar as bt, af as q, g as kt, l as S, bm as _t, bn as vt, bo as wt, bp as St } from "./index-ZM4BlVwk.js";
2
- import { h as et } from "./arc-CK9P6CkJ-B3oiAYoG.js";
1
+ import { _ as a, g as mt, l as S, a9 as V, bk as xt, bl as bt, bm as kt, bn as _t, bo as vt, bp as wt, aq as St } from "./index-BXOX6oou.js";
2
+ import { h as et } from "./arc-CK9P6CkJ-lihx_wEv.js";
3
3
  var J = function() {
4
- var n = /* @__PURE__ */ r(function(x, i, c, d) {
4
+ var n = /* @__PURE__ */ a(function(x, i, c, d) {
5
5
  for (c = c || {}, d = x.length; d--; c[x[d]] = i) ;
6
6
  return c;
7
- }, "o"), t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], a = [1, 10], s = [1, 11], h = [1, 12], o = [1, 13], p = [1, 16], g = [1, 17], f = {
8
- trace: /* @__PURE__ */ r(function() {
7
+ }, "o"), t = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], e = [1, 9], r = [1, 10], s = [1, 11], h = [1, 12], o = [1, 13], p = [1, 16], g = [1, 17], f = {
8
+ trace: /* @__PURE__ */ a(function() {
9
9
  }, "trace"),
10
10
  yy: {},
11
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
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
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__ */ r(function(x, i, c, d, u, l, b) {
14
+ performAction: /* @__PURE__ */ a(function(x, i, c, d, u, l, b) {
15
15
  var k = l.length - 1;
16
16
  switch (u) {
17
17
  case 1:
@@ -51,9 +51,9 @@ var J = function() {
51
51
  break;
52
52
  }
53
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: a, 14: s, 16: h, 17: o, 18: 14, 19: 15, 20: p, 21: g }, n(t, [2, 7], { 1: [2, 1] }), n(t, [2, 3]), { 9: 18, 11: e, 12: a, 14: s, 16: h, 17: o, 18: 14, 19: 15, 20: p, 21: g }, 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])],
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: r, 14: s, 16: h, 17: o, 18: 14, 19: 15, 20: p, 21: g }, n(t, [2, 7], { 1: [2, 1] }), n(t, [2, 3]), { 9: 18, 11: e, 12: r, 14: s, 16: h, 17: o, 18: 14, 19: 15, 20: p, 21: g }, 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
55
  defaultActions: {},
56
- parseError: /* @__PURE__ */ r(function(x, i) {
56
+ parseError: /* @__PURE__ */ a(function(x, i) {
57
57
  if (i.recoverable)
58
58
  this.trace(x);
59
59
  else {
@@ -61,7 +61,7 @@ var J = function() {
61
61
  throw c.hash = i, c;
62
62
  }
63
63
  }, "parseError"),
64
- parse: /* @__PURE__ */ r(function(x) {
64
+ parse: /* @__PURE__ */ a(function(x) {
65
65
  var i = this, c = [0], d = [], u = [null], l = [], b = this.table, k = "", $ = 0, N = 0, O = 2, L = 1, j = l.slice.call(arguments, 1), m = Object.create(this.lexer), v = { yy: {} };
66
66
  for (var I in this.yy)
67
67
  Object.prototype.hasOwnProperty.call(this.yy, I) && (v.yy[I] = this.yy[I]);
@@ -73,26 +73,26 @@ var J = function() {
73
73
  function B(E) {
74
74
  c.length = c.length - 2 * E, u.length = u.length - E, l.length = l.length - E;
75
75
  }
76
- r(B, "popStack");
76
+ a(B, "popStack");
77
77
  function F() {
78
78
  var E;
79
79
  return E = d.pop() || m.lex() || L, typeof E != "number" && (E instanceof Array && (d = E, E = d.pop()), E = i.symbols_[E] || E), E;
80
80
  }
81
- r(F, "lex");
82
- for (var w, P, T, Z, R = {}, W, A, tt, V; ; ) {
81
+ a(F, "lex");
82
+ for (var w, P, T, Z, R = {}, W, A, tt, q; ; ) {
83
83
  if (P = c[c.length - 1], this.defaultActions[P] ? T = this.defaultActions[P] : ((w === null || typeof w > "u") && (w = F()), T = b[P] && b[P][w]), typeof T > "u" || !T.length || !T[0]) {
84
84
  var G = "";
85
- V = [];
85
+ q = [];
86
86
  for (W in b[P])
87
- this.terminals_[W] && W > O && V.push("'" + this.terminals_[W] + "'");
87
+ this.terminals_[W] && W > O && q.push("'" + this.terminals_[W] + "'");
88
88
  m.showPosition ? G = "Parse error on line " + ($ + 1) + `:
89
89
  ` + m.showPosition() + `
90
- Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "Parse error on line " + ($ + 1) + ": Unexpected " + (w == L ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(G, {
90
+ Expecting ` + q.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "Parse error on line " + ($ + 1) + ": Unexpected " + (w == L ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(G, {
91
91
  text: m.match,
92
92
  token: this.terminals_[w] || w,
93
93
  line: m.yylineno,
94
94
  loc: M,
95
- expected: V
95
+ expected: q
96
96
  });
97
97
  }
98
98
  if (T[0] instanceof Array && T.length > 1)
@@ -131,14 +131,14 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "
131
131
  }, y = /* @__PURE__ */ function() {
132
132
  var x = {
133
133
  EOF: 1,
134
- parseError: /* @__PURE__ */ r(function(i, c) {
134
+ parseError: /* @__PURE__ */ a(function(i, c) {
135
135
  if (this.yy.parser)
136
136
  this.yy.parser.parseError(i, c);
137
137
  else
138
138
  throw new Error(i);
139
139
  }, "parseError"),
140
140
  // resets the lexer, sets new input
141
- setInput: /* @__PURE__ */ r(function(i, c) {
141
+ setInput: /* @__PURE__ */ a(function(i, c) {
142
142
  return this.yy = c || this.yy || {}, this._input = i, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
143
143
  first_line: 1,
144
144
  first_column: 0,
@@ -147,14 +147,14 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "
147
147
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
148
148
  }, "setInput"),
149
149
  // consumes and returns one char from the input
150
- input: /* @__PURE__ */ r(function() {
150
+ input: /* @__PURE__ */ a(function() {
151
151
  var i = this._input[0];
152
152
  this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
153
153
  var c = i.match(/(?:\r\n?|\n).*/g);
154
154
  return c ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
155
155
  }, "input"),
156
156
  // unshifts one char (or a string) into the input
157
- unput: /* @__PURE__ */ r(function(i) {
157
+ unput: /* @__PURE__ */ a(function(i) {
158
158
  var c = i.length, d = i.split(/(?:\r\n?|\n)/g);
159
159
  this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
160
160
  var u = this.match.split(/(?:\r\n?|\n)/g);
@@ -168,11 +168,11 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "
168
168
  }, this.options.ranges && (this.yylloc.range = [l[0], l[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
169
169
  }, "unput"),
170
170
  // When called from action, caches matched text and appends it on next action
171
- more: /* @__PURE__ */ r(function() {
171
+ more: /* @__PURE__ */ a(function() {
172
172
  return this._more = !0, this;
173
173
  }, "more"),
174
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__ */ r(function() {
175
+ reject: /* @__PURE__ */ a(function() {
176
176
  if (this.options.backtrack_lexer)
177
177
  this._backtrack = !0;
178
178
  else
@@ -185,27 +185,27 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "
185
185
  return this;
186
186
  }, "reject"),
187
187
  // retain first n characters of the match
188
- less: /* @__PURE__ */ r(function(i) {
188
+ less: /* @__PURE__ */ a(function(i) {
189
189
  this.unput(this.match.slice(i));
190
190
  }, "less"),
191
191
  // displays already matched input, i.e. for error messages
192
- pastInput: /* @__PURE__ */ r(function() {
192
+ pastInput: /* @__PURE__ */ a(function() {
193
193
  var i = this.matched.substr(0, this.matched.length - this.match.length);
194
194
  return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
195
195
  }, "pastInput"),
196
196
  // displays upcoming input, i.e. for error messages
197
- upcomingInput: /* @__PURE__ */ r(function() {
197
+ upcomingInput: /* @__PURE__ */ a(function() {
198
198
  var i = this.match;
199
199
  return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
200
200
  }, "upcomingInput"),
201
201
  // displays the character position where the lexing error occurred, i.e. for error messages
202
- showPosition: /* @__PURE__ */ r(function() {
202
+ showPosition: /* @__PURE__ */ a(function() {
203
203
  var i = this.pastInput(), c = new Array(i.length + 1).join("-");
204
204
  return i + this.upcomingInput() + `
205
205
  ` + c + "^";
206
206
  }, "showPosition"),
207
207
  // test the lexed token: return FALSE when not a match, otherwise return token
208
- test_match: /* @__PURE__ */ r(function(i, c) {
208
+ test_match: /* @__PURE__ */ a(function(i, c) {
209
209
  var d, u, l;
210
210
  if (this.options.backtrack_lexer && (l = {
211
211
  yylineno: this.yylineno,
@@ -241,7 +241,7 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "
241
241
  return !1;
242
242
  }, "test_match"),
243
243
  // return next match in input
244
- next: /* @__PURE__ */ r(function() {
244
+ next: /* @__PURE__ */ a(function() {
245
245
  if (this.done)
246
246
  return this.EOF;
247
247
  this._input || (this.done = !0);
@@ -268,37 +268,37 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "
268
268
  });
269
269
  }, "next"),
270
270
  // return next match that has a token
271
- lex: /* @__PURE__ */ r(function() {
271
+ lex: /* @__PURE__ */ a(function() {
272
272
  var i = this.next();
273
273
  return i || this.lex();
274
274
  }, "lex"),
275
275
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
276
- begin: /* @__PURE__ */ r(function(i) {
276
+ begin: /* @__PURE__ */ a(function(i) {
277
277
  this.conditionStack.push(i);
278
278
  }, "begin"),
279
279
  // pop the previously active lexer condition state off the condition stack
280
- popState: /* @__PURE__ */ r(function() {
280
+ popState: /* @__PURE__ */ a(function() {
281
281
  var i = this.conditionStack.length - 1;
282
282
  return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
283
283
  }, "popState"),
284
284
  // produce the lexer rule set which is active for the currently active lexer condition state
285
- _currentRules: /* @__PURE__ */ r(function() {
285
+ _currentRules: /* @__PURE__ */ a(function() {
286
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
287
  }, "_currentRules"),
288
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__ */ r(function(i) {
289
+ topState: /* @__PURE__ */ a(function(i) {
290
290
  return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
291
291
  }, "topState"),
292
292
  // alias for begin(condition)
293
- pushState: /* @__PURE__ */ r(function(i) {
293
+ pushState: /* @__PURE__ */ a(function(i) {
294
294
  this.begin(i);
295
295
  }, "pushState"),
296
296
  // return the number of states currently on the stack
297
- stateStackSize: /* @__PURE__ */ r(function() {
297
+ stateStackSize: /* @__PURE__ */ a(function() {
298
298
  return this.conditionStack.length;
299
299
  }, "stateStackSize"),
300
300
  options: { "case-insensitive": !0 },
301
- performAction: /* @__PURE__ */ r(function(i, c, d, u) {
301
+ performAction: /* @__PURE__ */ a(function(i, c, d, u) {
302
302
  switch (d) {
303
303
  case 0:
304
304
  break;
@@ -351,11 +351,11 @@ Expecting ` + V.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : G = "
351
351
  function _() {
352
352
  this.yy = {};
353
353
  }
354
- return r(_, "Parser"), _.prototype = f, f.Parser = _, new _();
354
+ return a(_, "Parser"), _.prototype = f, f.Parser = _, new _();
355
355
  }();
356
356
  J.parser = J;
357
- var $t = J, rt = {};
358
- mt(rt, {
357
+ var $t = J, at = {};
358
+ vt(at, {
359
359
  addEvent: () => pt,
360
360
  addSection: () => lt,
361
361
  addTask: () => ut,
@@ -366,22 +366,22 @@ mt(rt, {
366
366
  getSections: () => ht,
367
367
  getTasks: () => dt
368
368
  });
369
- var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "getCommonDb"), ct = /* @__PURE__ */ r(function() {
370
- X.length = 0, U.length = 0, D = "", z.length = 0, bt();
371
- }, "clear"), lt = /* @__PURE__ */ r(function(n) {
369
+ var D = "", rt = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ a(() => wt, "getCommonDb"), ct = /* @__PURE__ */ a(function() {
370
+ X.length = 0, U.length = 0, D = "", z.length = 0, St();
371
+ }, "clear"), lt = /* @__PURE__ */ a(function(n) {
372
372
  D = n, X.push(n);
373
- }, "addSection"), ht = /* @__PURE__ */ r(function() {
373
+ }, "addSection"), ht = /* @__PURE__ */ a(function() {
374
374
  return X;
375
- }, "getSections"), dt = /* @__PURE__ */ r(function() {
375
+ }, "getSections"), dt = /* @__PURE__ */ a(function() {
376
376
  let n = nt();
377
377
  const t = 100;
378
378
  let e = 0;
379
379
  for (; !n && e < t; )
380
380
  n = nt(), e++;
381
381
  return U.push(...z), U;
382
- }, "getTasks"), ut = /* @__PURE__ */ r(function(n, t, e) {
383
- const a = {
384
- id: at++,
382
+ }, "getTasks"), ut = /* @__PURE__ */ a(function(n, t, e) {
383
+ const r = {
384
+ id: rt++,
385
385
  section: D,
386
386
  type: D,
387
387
  task: n,
@@ -389,10 +389,10 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
389
389
  //if event is defined, then add it the events array
390
390
  events: e ? [e] : []
391
391
  };
392
- z.push(a);
393
- }, "addTask"), pt = /* @__PURE__ */ r(function(n) {
394
- z.find((t) => t.id === at - 1).events.push(n);
395
- }, "addEvent"), yt = /* @__PURE__ */ r(function(n) {
392
+ z.push(r);
393
+ }, "addTask"), pt = /* @__PURE__ */ a(function(n) {
394
+ z.find((t) => t.id === rt - 1).events.push(n);
395
+ }, "addEvent"), yt = /* @__PURE__ */ a(function(n) {
396
396
  const t = {
397
397
  section: D,
398
398
  type: D,
@@ -401,13 +401,13 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
401
401
  classes: []
402
402
  };
403
403
  U.push(t);
404
- }, "addTaskOrg"), nt = /* @__PURE__ */ r(function() {
405
- const n = /* @__PURE__ */ r(function(e) {
404
+ }, "addTaskOrg"), nt = /* @__PURE__ */ a(function() {
405
+ const n = /* @__PURE__ */ a(function(e) {
406
406
  return z[e].processed;
407
407
  }, "compileTask");
408
408
  let t = !0;
409
- for (const [e, a] of z.entries())
410
- n(e), t = t && a.processed;
409
+ for (const [e, r] of z.entries())
410
+ n(e), t = t && r.processed;
411
411
  return t;
412
412
  }, "compileTasks"), Et = {
413
413
  clear: ct,
@@ -418,46 +418,46 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
418
418
  addTask: ut,
419
419
  addTaskOrg: yt,
420
420
  addEvent: pt
421
- }, Tt = 12, Y = /* @__PURE__ */ r(function(n, t) {
421
+ }, Tt = 12, Y = /* @__PURE__ */ a(function(n, t) {
422
422
  const e = n.append("rect");
423
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"), It = /* @__PURE__ */ r(function(n, t) {
425
- const e = n.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), a = n.append("g");
426
- a.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"), a.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");
424
+ }, "drawRect"), It = /* @__PURE__ */ a(function(n, t) {
425
+ const e = n.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = n.append("g");
426
+ r.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"), r.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
427
  function s(p) {
428
428
  const g = et().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
429
429
  p.append("path").attr("class", "mouth").attr("d", g).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
430
430
  }
431
- r(s, "smile");
431
+ a(s, "smile");
432
432
  function h(p) {
433
433
  const g = et().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
434
434
  p.append("path").attr("class", "mouth").attr("d", g).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
435
435
  }
436
- r(h, "sad");
436
+ a(h, "sad");
437
437
  function o(p) {
438
438
  p.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
439
  }
440
- return r(o, "ambivalent"), t.score > 3 ? s(a) : t.score < 3 ? h(a) : o(a), e;
441
- }, "drawFace"), Mt = /* @__PURE__ */ r(function(n, t) {
440
+ return a(o, "ambivalent"), t.score > 3 ? s(r) : t.score < 3 ? h(r) : o(r), e;
441
+ }, "drawFace"), Mt = /* @__PURE__ */ a(function(n, t) {
442
442
  const e = n.append("circle");
443
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"), gt = /* @__PURE__ */ r(function(n, t) {
445
- const e = t.text.replace(/<br\s*\/?>/gi, " "), a = n.append("text");
446
- a.attr("x", t.x), a.attr("y", t.y), a.attr("class", "legend"), a.style("text-anchor", t.anchor), t.class !== void 0 && a.attr("class", t.class);
447
- const s = a.append("tspan");
448
- return s.attr("x", t.x + t.textMargin * 2), s.text(e), a;
449
- }, "drawText"), At = /* @__PURE__ */ r(function(n, t) {
444
+ }, "drawCircle"), gt = /* @__PURE__ */ a(function(n, t) {
445
+ const e = t.text.replace(/<br\s*\/?>/gi, " "), r = n.append("text");
446
+ r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class !== void 0 && r.attr("class", t.class);
447
+ const s = r.append("tspan");
448
+ return s.attr("x", t.x + t.textMargin * 2), s.text(e), r;
449
+ }, "drawText"), At = /* @__PURE__ */ a(function(n, t) {
450
450
  function e(s, h, o, p, g) {
451
451
  return s + "," + h + " " + (s + o) + "," + h + " " + (s + o) + "," + (h + p - g) + " " + (s + o - g * 1.2) + "," + (h + p) + " " + s + "," + (h + p);
452
452
  }
453
- r(e, "genPoints");
454
- const a = n.append("polygon");
455
- a.attr("points", e(t.x, t.y, 50, 20, 7)), a.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, gt(n, t);
456
- }, "drawLabel"), Lt = /* @__PURE__ */ r(function(n, t, e) {
457
- const a = n.append("g"), s = K();
458
- s.x = t.x, s.y = t.y, s.fill = t.fill, s.width = e.width, s.height = e.height, s.class = "journey-section section-type-" + t.num, s.rx = 3, s.ry = 3, Y(a, s), ft(e)(
453
+ a(e, "genPoints");
454
+ const r = n.append("polygon");
455
+ r.attr("points", e(t.x, t.y, 50, 20, 7)), r.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, gt(n, t);
456
+ }, "drawLabel"), Lt = /* @__PURE__ */ a(function(n, t, e) {
457
+ const r = n.append("g"), s = K();
458
+ s.x = t.x, s.y = t.y, s.fill = t.fill, s.width = e.width, s.height = e.height, s.class = "journey-section section-type-" + t.num, s.rx = 3, s.ry = 3, Y(r, s), ft(e)(
459
459
  t.text,
460
- a,
460
+ r,
461
461
  s.x,
462
462
  s.y,
463
463
  s.width,
@@ -466,12 +466,12 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
466
466
  e,
467
467
  t.colour
468
468
  );
469
- }, "drawSection"), it = -1, Pt = /* @__PURE__ */ r(function(n, t, e) {
470
- const a = t.x + e.width / 2, s = n.append("g");
469
+ }, "drawSection"), it = -1, Pt = /* @__PURE__ */ a(function(n, t, e) {
470
+ const r = t.x + e.width / 2, s = n.append("g");
471
471
  it++;
472
472
  const h = 300 + 5 * 30;
473
- s.append("line").attr("id", "task" + it).attr("x1", a).attr("y1", t.y).attr("x2", a).attr("y2", h).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), It(s, {
474
- cx: a,
473
+ s.append("line").attr("id", "task" + it).attr("x1", r).attr("y1", t.y).attr("x2", r).attr("y2", h).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), It(s, {
474
+ cx: r,
475
475
  cy: 300 + (5 - t.score) * 30,
476
476
  score: t.score
477
477
  });
@@ -487,7 +487,7 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
487
487
  e,
488
488
  t.colour
489
489
  );
490
- }, "drawTask"), Ht = /* @__PURE__ */ r(function(n, t) {
490
+ }, "drawTask"), Ht = /* @__PURE__ */ a(function(n, t) {
491
491
  Y(n, {
492
492
  x: t.startx,
493
493
  y: t.starty,
@@ -496,7 +496,7 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
496
496
  fill: t.fill,
497
497
  class: "rect"
498
498
  }).lower();
499
- }, "drawBackgroundRect"), Ot = /* @__PURE__ */ r(function() {
499
+ }, "drawBackgroundRect"), Ot = /* @__PURE__ */ a(function() {
500
500
  return {
501
501
  x: 0,
502
502
  y: 0,
@@ -508,7 +508,7 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
508
508
  rx: 0,
509
509
  ry: 0
510
510
  };
511
- }, "getTextObj"), K = /* @__PURE__ */ r(function() {
511
+ }, "getTextObj"), K = /* @__PURE__ */ a(function() {
512
512
  return {
513
513
  x: 0,
514
514
  y: 0,
@@ -521,54 +521,54 @@ var D = "", at = 0, X = [], U = [], z = [], ot = /* @__PURE__ */ r(() => xt, "ge
521
521
  }, "getNoteRect"), ft = /* @__PURE__ */ function() {
522
522
  function n(s, h, o, p, g, f, y, _) {
523
523
  const x = h.append("text").attr("x", o + g / 2).attr("y", p + f / 2 + 5).style("font-color", _).style("text-anchor", "middle").text(s);
524
- a(x, y);
524
+ r(x, y);
525
525
  }
526
- r(n, "byText");
526
+ a(n, "byText");
527
527
  function t(s, h, o, p, g, f, y, _, x) {
528
528
  const { taskFontSize: i, taskFontFamily: c } = _, d = s.split(/<br\s*\/?>/gi);
529
529
  for (let u = 0; u < d.length; u++) {
530
530
  const l = u * i - i * (d.length - 1) / 2, b = h.append("text").attr("x", o + g / 2).attr("y", p).attr("fill", x).style("text-anchor", "middle").style("font-size", i).style("font-family", c);
531
- b.append("tspan").attr("x", o + g / 2).attr("dy", l).text(d[u]), b.attr("y", p + f / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), a(b, y);
531
+ b.append("tspan").attr("x", o + g / 2).attr("dy", l).text(d[u]), b.attr("y", p + f / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), r(b, y);
532
532
  }
533
533
  }
534
- r(t, "byTspan");
534
+ a(t, "byTspan");
535
535
  function e(s, h, o, p, g, f, y, _) {
536
536
  const x = h.append("switch"), i = x.append("foreignObject").attr("x", o).attr("y", p).attr("width", g).attr("height", f).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
537
- i.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(s), t(s, x, o, p, g, f, y, _), a(i, y);
537
+ i.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(s), t(s, x, o, p, g, f, y, _), r(i, y);
538
538
  }
539
- r(e, "byFo");
540
- function a(s, h) {
539
+ a(e, "byFo");
540
+ function r(s, h) {
541
541
  for (const o in h)
542
542
  o in h && s.attr(o, h[o]);
543
543
  }
544
- return r(a, "_setTextAttrs"), function(s) {
544
+ return a(r, "_setTextAttrs"), function(s) {
545
545
  return s.textPlacement === "fo" ? e : s.textPlacement === "old" ? n : t;
546
546
  };
547
- }(), Ct = /* @__PURE__ */ r(function(n) {
547
+ }(), Ct = /* @__PURE__ */ a(function(n) {
548
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
549
  }, "initGraphics");
550
550
  function Q(n, t) {
551
551
  n.each(function() {
552
- var e = q(this), a = e.text().split(/(\s+|<br>)/).reverse(), s, h = [], o = 1.1, p = e.attr("y"), g = parseFloat(e.attr("dy")), f = e.text(null).append("tspan").attr("x", 0).attr("y", p).attr("dy", g + "em");
553
- for (let y = 0; y < a.length; y++)
554
- s = a[a.length - 1 - y], h.push(s), f.text(h.join(" ").trim()), (f.node().getComputedTextLength() > t || s === "<br>") && (h.pop(), f.text(h.join(" ").trim()), s === "<br>" ? h = [""] : h = [s], f = e.append("tspan").attr("x", 0).attr("y", p).attr("dy", o + "em").text(s));
552
+ var e = V(this), r = e.text().split(/(\s+|<br>)/).reverse(), s, h = [], o = 1.1, p = e.attr("y"), g = parseFloat(e.attr("dy")), f = e.text(null).append("tspan").attr("x", 0).attr("y", p).attr("dy", g + "em");
553
+ for (let y = 0; y < r.length; y++)
554
+ s = r[r.length - 1 - y], h.push(s), f.text(h.join(" ").trim()), (f.node().getComputedTextLength() > t || s === "<br>") && (h.pop(), f.text(h.join(" ").trim()), s === "<br>" ? h = [""] : h = [s], f = e.append("tspan").attr("x", 0).attr("y", p).attr("dy", o + "em").text(s));
555
555
  });
556
556
  }
557
- r(Q, "wrap");
558
- var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
557
+ a(Q, "wrap");
558
+ var Rt = /* @__PURE__ */ a(function(n, t, e, r) {
559
559
  var s;
560
560
  const h = e % Tt - 1, o = n.append("g");
561
561
  t.section = h, o.attr(
562
562
  "class",
563
563
  (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + h)
564
564
  );
565
- const p = o.append("g"), g = o.append("g"), f = g.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(Q, t.width).node().getBBox(), y = (s = a.fontSize) != null && s.replace ? a.fontSize.replace("px", "") : a.fontSize;
566
- return t.height = f.height + y * 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 + ")"), zt(p, t, h, a), t;
567
- }, "drawNode"), Dt = /* @__PURE__ */ r(function(n, t, e) {
568
- var a;
569
- const s = n.append("g"), h = s.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(Q, t.width).node().getBBox(), o = (a = e.fontSize) != null && a.replace ? e.fontSize.replace("px", "") : e.fontSize;
565
+ const p = o.append("g"), g = o.append("g"), f = g.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(Q, t.width).node().getBBox(), y = (s = r.fontSize) != null && s.replace ? r.fontSize.replace("px", "") : r.fontSize;
566
+ return t.height = f.height + y * 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 + ")"), zt(p, t, h, r), t;
567
+ }, "drawNode"), Dt = /* @__PURE__ */ a(function(n, t, e) {
568
+ var r;
569
+ const s = n.append("g"), h = s.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(Q, t.width).node().getBBox(), o = (r = e.fontSize) != null && r.replace ? e.fontSize.replace("px", "") : e.fontSize;
570
570
  return s.remove(), h.height + o * 1.1 * 0.5 + t.padding;
571
- }, "getVirtualNodeHeight"), zt = /* @__PURE__ */ r(function(n, t, e) {
571
+ }, "getVirtualNodeHeight"), zt = /* @__PURE__ */ a(function(n, t, e) {
572
572
  n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
573
573
  "d",
574
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`
@@ -586,18 +586,18 @@ var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
586
586
  initGraphics: Ct,
587
587
  drawNode: Rt,
588
588
  getVirtualNodeHeight: Dt
589
- }, Nt = /* @__PURE__ */ r(function(n, t, e, a) {
589
+ }, Nt = /* @__PURE__ */ a(function(n, t, e, r) {
590
590
  var s, h;
591
- const o = kt(), p = o.leftMargin ?? 50;
592
- S.debug("timeline", a.db);
591
+ const o = mt(), p = o.leftMargin ?? 50;
592
+ S.debug("timeline", r.db);
593
593
  const g = o.securityLevel;
594
594
  let f;
595
- g === "sandbox" && (f = q("#i" + t));
596
- const y = (g === "sandbox" ? q(f.nodes()[0].contentDocument.body) : q("body")).select("#" + t);
595
+ g === "sandbox" && (f = V("#i" + t));
596
+ const y = (g === "sandbox" ? V(f.nodes()[0].contentDocument.body) : V("body")).select("#" + t);
597
597
  y.append("g");
598
- const _ = a.db.getTasks(), x = a.db.getCommonDb().getDiagramTitle();
598
+ const _ = r.db.getTasks(), x = r.db.getCommonDb().getDiagramTitle();
599
599
  S.debug("task", _), H.initGraphics(y);
600
- const i = a.db.getSections();
600
+ const i = r.db.getSections();
601
601
  S.debug("sections", i);
602
602
  let c = 0, d = 0, u = 0, l = 0, b = 50 + p, k = 50;
603
603
  l = 50;
@@ -677,13 +677,13 @@ var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
677
677
  !0
678
678
  ));
679
679
  const j = y.node().getBBox();
680
- S.debug("bounds", j), x && y.append("text").text(x).attr("x", j.width / 2 - p).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), u = N ? c + d + 150 : d + 100, y.append("g").attr("class", "lineWrapper").append("line").attr("x1", p).attr("y1", u).attr("x2", j.width + 3 * p).attr("y2", u).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), _t(
680
+ S.debug("bounds", j), x && y.append("text").text(x).attr("x", j.width / 2 - p).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), u = N ? c + d + 150 : d + 100, y.append("g").attr("class", "lineWrapper").append("line").attr("x1", p).attr("y1", u).attr("x2", j.width + 3 * p).attr("y2", u).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), xt(
681
681
  void 0,
682
682
  y,
683
683
  ((s = o.timeline) == null ? void 0 : s.padding) ?? 50,
684
684
  ((h = o.timeline) == null ? void 0 : h.useMaxWidth) ?? !1
685
685
  );
686
- }, "draw"), st = /* @__PURE__ */ r(function(n, t, e, a, s, h, o, p, g, f, y) {
686
+ }, "draw"), st = /* @__PURE__ */ a(function(n, t, e, r, s, h, o, p, g, f, y) {
687
687
  var _;
688
688
  for (const x of t) {
689
689
  const i = {
@@ -696,18 +696,18 @@ var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
696
696
  };
697
697
  S.debug("taskNode", i);
698
698
  const c = n.append("g").attr("class", "taskWrapper"), d = H.drawNode(c, i, e, o).height;
699
- if (S.debug("taskHeight after draw", d), c.attr("transform", `translate(${a}, ${s})`), h = Math.max(h, d), x.events) {
699
+ if (S.debug("taskHeight after draw", d), c.attr("transform", `translate(${r}, ${s})`), h = Math.max(h, d), x.events) {
700
700
  const u = n.append("g").attr("class", "lineWrapper");
701
701
  let l = h;
702
- s += 100, l = l + jt(n, x.events, e, a, s, o), s -= 100, u.append("line").attr("x1", a + 190 / 2).attr("y1", s + h).attr("x2", a + 190 / 2).attr(
702
+ s += 100, l = l + jt(n, x.events, e, r, s, o), s -= 100, u.append("line").attr("x1", r + 190 / 2).attr("y1", s + h).attr("x2", r + 190 / 2).attr(
703
703
  "y2",
704
704
  s + h + (y ? h : f) + g + 120
705
705
  ).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
706
706
  }
707
- a = a + 200, y && !((_ = o.timeline) != null && _.disableMulticolor) && e++;
707
+ r = r + 200, y && !((_ = o.timeline) != null && _.disableMulticolor) && e++;
708
708
  }
709
709
  s = s - 10;
710
- }, "drawTasks"), jt = /* @__PURE__ */ r(function(n, t, e, a, s, h) {
710
+ }, "drawTasks"), jt = /* @__PURE__ */ a(function(n, t, e, r, s, h) {
711
711
  let o = 0;
712
712
  const p = s;
713
713
  s = s + 100;
@@ -722,19 +722,19 @@ var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
722
722
  };
723
723
  S.debug("eventNode", f);
724
724
  const y = n.append("g").attr("class", "eventWrapper"), _ = H.drawNode(y, f, e, h).height;
725
- o = o + _, y.attr("transform", `translate(${a}, ${s})`), s = s + 10 + _;
725
+ o = o + _, y.attr("transform", `translate(${r}, ${s})`), s = s + 10 + _;
726
726
  }
727
727
  return s = p, o;
728
728
  }, "drawEvents"), Bt = {
729
- setConf: /* @__PURE__ */ r(() => {
729
+ setConf: /* @__PURE__ */ a(() => {
730
730
  }, "setConf"),
731
731
  draw: Nt
732
- }, Ft = /* @__PURE__ */ r((n) => {
732
+ }, Ft = /* @__PURE__ */ a((n) => {
733
733
  let t = "";
734
734
  for (let e = 0; e < n.THEME_COLOR_LIMIT; e++)
735
- n["lineColor" + e] = n["lineColor" + e] || n["cScaleInv" + e], vt(n["lineColor" + e]) ? n["lineColor" + e] = wt(n["lineColor" + e], 20) : n["lineColor" + e] = St(n["lineColor" + e], 20);
735
+ n["lineColor" + e] = n["lineColor" + e] || n["cScaleInv" + e], bt(n["lineColor" + e]) ? n["lineColor" + e] = kt(n["lineColor" + e], 20) : n["lineColor" + e] = _t(n["lineColor" + e], 20);
736
736
  for (let e = 0; e < n.THEME_COLOR_LIMIT; e++) {
737
- const a = "" + (17 - 3 * e);
737
+ const r = "" + (17 - 3 * e);
738
738
  t += `
739
739
  .section-${e - 1} rect, .section-${e - 1} path, .section-${e - 1} circle, .section-${e - 1} path {
740
740
  fill: ${n["cScale" + e]};
@@ -750,7 +750,7 @@ var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
750
750
  stroke: ${n["cScale" + e]};
751
751
  }
752
752
  .edge-depth-${e - 1}{
753
- stroke-width: ${a};
753
+ stroke-width: ${r};
754
754
  }
755
755
  .section-${e - 1} line {
756
756
  stroke: ${n["cScaleInv" + e]} ;
@@ -770,7 +770,7 @@ var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
770
770
  `;
771
771
  }
772
772
  return t;
773
- }, "genSections"), Wt = /* @__PURE__ */ r((n) => `
773
+ }, "genSections"), Wt = /* @__PURE__ */ a((n) => `
774
774
  .edge {
775
775
  stroke-width: 3;
776
776
  }
@@ -793,11 +793,11 @@ var Rt = /* @__PURE__ */ r(function(n, t, e, a) {
793
793
  .eventWrapper {
794
794
  filter: brightness(120%);
795
795
  }
796
- `, "getStyles"), Vt = Wt, Yt = {
797
- db: rt,
796
+ `, "getStyles"), qt = Wt, Yt = {
797
+ db: at,
798
798
  renderer: Bt,
799
799
  parser: $t,
800
- styles: Vt
800
+ styles: qt
801
801
  };
802
802
  export {
803
803
  Yt as diagram