@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,18 +1,18 @@
1
- import { x as dt, g as ft, y as at, d as gt } from "./chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js";
2
- import { _ as s, g as I, al as mt, am as xt, a5 as kt, a6 as _t, a8 as bt, a7 as $t, ar as vt, af as W, ag as wt } from "./index-ZM4BlVwk.js";
3
- import { h as Q } from "./arc-CK9P6CkJ-B3oiAYoG.js";
1
+ import { d as dt, y as at, g as ft, x as gt } from "./chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js";
2
+ import { _ as n, a6 as mt, a5 as xt, a7 as kt, a8 as _t, aj as bt, ak as $t, g as I, a9 as W, aa as vt, aq as wt } from "./index-BXOX6oou.js";
3
+ import { h as Q } from "./arc-CK9P6CkJ-lihx_wEv.js";
4
4
  var q = function() {
5
- var t = /* @__PURE__ */ s(function(g, i, r, u) {
5
+ var t = /* @__PURE__ */ n(function(g, i, r, u) {
6
6
  for (r = r || {}, u = g.length; u--; r[g[u]] = i) ;
7
7
  return r;
8
- }, "o"), e = [6, 8, 10, 11, 12, 14, 16, 17, 18], a = [1, 9], c = [1, 10], n = [1, 11], h = [1, 12], l = [1, 13], y = [1, 14], d = {
9
- trace: /* @__PURE__ */ s(function() {
8
+ }, "o"), e = [6, 8, 10, 11, 12, 14, 16, 17, 18], a = [1, 9], l = [1, 10], s = [1, 11], h = [1, 12], c = [1, 13], y = [1, 14], d = {
9
+ trace: /* @__PURE__ */ n(function() {
10
10
  }, "trace"),
11
11
  yy: {},
12
12
  symbols_: { error: 2, start: 3, journey: 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, taskName: 18, taskData: 19, $accept: 0, $end: 1 },
13
13
  terminals_: { 2: "error", 4: "journey", 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", 18: "taskName", 19: "taskData" },
14
14
  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, 2]],
15
- performAction: /* @__PURE__ */ s(function(g, i, r, u, p, o, m) {
15
+ performAction: /* @__PURE__ */ n(function(g, i, r, u, p, o, m) {
16
16
  var k = o.length - 1;
17
17
  switch (p) {
18
18
  case 1:
@@ -49,9 +49,9 @@ var q = function() {
49
49
  break;
50
50
  }
51
51
  }, "anonymous"),
52
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: a, 12: c, 14: n, 16: h, 17: l, 18: y }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: a, 12: c, 14: n, 16: h, 17: l, 18: y }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
52
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: a, 12: l, 14: s, 16: h, 17: c, 18: y }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: a, 12: l, 14: s, 16: h, 17: c, 18: y }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
53
53
  defaultActions: {},
54
- parseError: /* @__PURE__ */ s(function(g, i) {
54
+ parseError: /* @__PURE__ */ n(function(g, i) {
55
55
  if (i.recoverable)
56
56
  this.trace(g);
57
57
  else {
@@ -59,7 +59,7 @@ var q = function() {
59
59
  throw r.hash = i, r;
60
60
  }
61
61
  }, "parseError"),
62
- parse: /* @__PURE__ */ s(function(g) {
62
+ parse: /* @__PURE__ */ n(function(g) {
63
63
  var i = this, r = [0], u = [], p = [null], o = [], m = this.table, k = "", D = 0, G = 0, ht = 2, H = 1, ut = o.slice.call(arguments, 1), _ = Object.create(this.lexer), M = { yy: {} };
64
64
  for (var R in this.yy)
65
65
  Object.prototype.hasOwnProperty.call(this.yy, R) && (M.yy[R] = this.yy[R]);
@@ -71,12 +71,12 @@ var q = function() {
71
71
  function yt($) {
72
72
  r.length = r.length - 2 * $, p.length = p.length - $, o.length = o.length - $;
73
73
  }
74
- s(yt, "popStack");
74
+ n(yt, "popStack");
75
75
  function J() {
76
76
  var $;
77
77
  return $ = u.pop() || _.lex() || H, typeof $ != "number" && ($ instanceof Array && (u = $, $ = u.pop()), $ = i.symbols_[$] || $), $;
78
78
  }
79
- s(J, "lex");
79
+ n(J, "lex");
80
80
  for (var b, A, v, N, P = {}, F, T, K, B; ; ) {
81
81
  if (A = r[r.length - 1], this.defaultActions[A] ? v = this.defaultActions[A] : ((b === null || typeof b > "u") && (b = J()), v = m[A] && m[A][b]), typeof v > "u" || !v.length || !v[0]) {
82
82
  var Y = "";
@@ -129,14 +129,14 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Y = "
129
129
  }, x = /* @__PURE__ */ function() {
130
130
  var g = {
131
131
  EOF: 1,
132
- parseError: /* @__PURE__ */ s(function(i, r) {
132
+ parseError: /* @__PURE__ */ n(function(i, r) {
133
133
  if (this.yy.parser)
134
134
  this.yy.parser.parseError(i, r);
135
135
  else
136
136
  throw new Error(i);
137
137
  }, "parseError"),
138
138
  // resets the lexer, sets new input
139
- setInput: /* @__PURE__ */ s(function(i, r) {
139
+ setInput: /* @__PURE__ */ n(function(i, r) {
140
140
  return this.yy = r || 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 = {
141
141
  first_line: 1,
142
142
  first_column: 0,
@@ -145,14 +145,14 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Y = "
145
145
  }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
146
146
  }, "setInput"),
147
147
  // consumes and returns one char from the input
148
- input: /* @__PURE__ */ s(function() {
148
+ input: /* @__PURE__ */ n(function() {
149
149
  var i = this._input[0];
150
150
  this.yytext += i, this.yyleng++, this.offset++, this.match += i, this.matched += i;
151
151
  var r = i.match(/(?:\r\n?|\n).*/g);
152
152
  return r ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), i;
153
153
  }, "input"),
154
154
  // unshifts one char (or a string) into the input
155
- unput: /* @__PURE__ */ s(function(i) {
155
+ unput: /* @__PURE__ */ n(function(i) {
156
156
  var r = i.length, u = i.split(/(?:\r\n?|\n)/g);
157
157
  this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
158
158
  var p = this.match.split(/(?:\r\n?|\n)/g);
@@ -166,11 +166,11 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Y = "
166
166
  }, this.options.ranges && (this.yylloc.range = [o[0], o[0] + this.yyleng - r]), this.yyleng = this.yytext.length, this;
167
167
  }, "unput"),
168
168
  // When called from action, caches matched text and appends it on next action
169
- more: /* @__PURE__ */ s(function() {
169
+ more: /* @__PURE__ */ n(function() {
170
170
  return this._more = !0, this;
171
171
  }, "more"),
172
172
  // 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.
173
- reject: /* @__PURE__ */ s(function() {
173
+ reject: /* @__PURE__ */ n(function() {
174
174
  if (this.options.backtrack_lexer)
175
175
  this._backtrack = !0;
176
176
  else
@@ -183,27 +183,27 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Y = "
183
183
  return this;
184
184
  }, "reject"),
185
185
  // retain first n characters of the match
186
- less: /* @__PURE__ */ s(function(i) {
186
+ less: /* @__PURE__ */ n(function(i) {
187
187
  this.unput(this.match.slice(i));
188
188
  }, "less"),
189
189
  // displays already matched input, i.e. for error messages
190
- pastInput: /* @__PURE__ */ s(function() {
190
+ pastInput: /* @__PURE__ */ n(function() {
191
191
  var i = this.matched.substr(0, this.matched.length - this.match.length);
192
192
  return (i.length > 20 ? "..." : "") + i.substr(-20).replace(/\n/g, "");
193
193
  }, "pastInput"),
194
194
  // displays upcoming input, i.e. for error messages
195
- upcomingInput: /* @__PURE__ */ s(function() {
195
+ upcomingInput: /* @__PURE__ */ n(function() {
196
196
  var i = this.match;
197
197
  return i.length < 20 && (i += this._input.substr(0, 20 - i.length)), (i.substr(0, 20) + (i.length > 20 ? "..." : "")).replace(/\n/g, "");
198
198
  }, "upcomingInput"),
199
199
  // displays the character position where the lexing error occurred, i.e. for error messages
200
- showPosition: /* @__PURE__ */ s(function() {
200
+ showPosition: /* @__PURE__ */ n(function() {
201
201
  var i = this.pastInput(), r = new Array(i.length + 1).join("-");
202
202
  return i + this.upcomingInput() + `
203
203
  ` + r + "^";
204
204
  }, "showPosition"),
205
205
  // test the lexed token: return FALSE when not a match, otherwise return token
206
- test_match: /* @__PURE__ */ s(function(i, r) {
206
+ test_match: /* @__PURE__ */ n(function(i, r) {
207
207
  var u, p, o;
208
208
  if (this.options.backtrack_lexer && (o = {
209
209
  yylineno: this.yylineno,
@@ -239,7 +239,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Y = "
239
239
  return !1;
240
240
  }, "test_match"),
241
241
  // return next match in input
242
- next: /* @__PURE__ */ s(function() {
242
+ next: /* @__PURE__ */ n(function() {
243
243
  if (this.done)
244
244
  return this.EOF;
245
245
  this._input || (this.done = !0);
@@ -266,37 +266,37 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Y = "
266
266
  });
267
267
  }, "next"),
268
268
  // return next match that has a token
269
- lex: /* @__PURE__ */ s(function() {
269
+ lex: /* @__PURE__ */ n(function() {
270
270
  var i = this.next();
271
271
  return i || this.lex();
272
272
  }, "lex"),
273
273
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
274
- begin: /* @__PURE__ */ s(function(i) {
274
+ begin: /* @__PURE__ */ n(function(i) {
275
275
  this.conditionStack.push(i);
276
276
  }, "begin"),
277
277
  // pop the previously active lexer condition state off the condition stack
278
- popState: /* @__PURE__ */ s(function() {
278
+ popState: /* @__PURE__ */ n(function() {
279
279
  var i = this.conditionStack.length - 1;
280
280
  return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
281
281
  }, "popState"),
282
282
  // produce the lexer rule set which is active for the currently active lexer condition state
283
- _currentRules: /* @__PURE__ */ s(function() {
283
+ _currentRules: /* @__PURE__ */ n(function() {
284
284
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
285
285
  }, "_currentRules"),
286
286
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
287
- topState: /* @__PURE__ */ s(function(i) {
287
+ topState: /* @__PURE__ */ n(function(i) {
288
288
  return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
289
289
  }, "topState"),
290
290
  // alias for begin(condition)
291
- pushState: /* @__PURE__ */ s(function(i) {
291
+ pushState: /* @__PURE__ */ n(function(i) {
292
292
  this.begin(i);
293
293
  }, "pushState"),
294
294
  // return the number of states currently on the stack
295
- stateStackSize: /* @__PURE__ */ s(function() {
295
+ stateStackSize: /* @__PURE__ */ n(function() {
296
296
  return this.conditionStack.length;
297
297
  }, "stateStackSize"),
298
298
  options: { "case-insensitive": !0 },
299
- performAction: /* @__PURE__ */ s(function(i, r, u, p) {
299
+ performAction: /* @__PURE__ */ n(function(i, r, u, p) {
300
300
  switch (u) {
301
301
  case 0:
302
302
  break;
@@ -351,40 +351,40 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[b] || b) + "'" : Y = "
351
351
  function f() {
352
352
  this.yy = {};
353
353
  }
354
- return s(f, "Parser"), f.prototype = d, d.Parser = f, new f();
354
+ return n(f, "Parser"), f.prototype = d, d.Parser = f, new f();
355
355
  }();
356
356
  q.parser = q;
357
- var Tt = q, C = "", U = [], j = [], V = [], St = /* @__PURE__ */ s(function() {
358
- U.length = 0, j.length = 0, C = "", V.length = 0, vt();
359
- }, "clear"), Mt = /* @__PURE__ */ s(function(t) {
357
+ var Tt = q, C = "", U = [], j = [], V = [], St = /* @__PURE__ */ n(function() {
358
+ U.length = 0, j.length = 0, C = "", V.length = 0, wt();
359
+ }, "clear"), Mt = /* @__PURE__ */ n(function(t) {
360
360
  C = t, U.push(t);
361
- }, "addSection"), At = /* @__PURE__ */ s(function() {
361
+ }, "addSection"), At = /* @__PURE__ */ n(function() {
362
362
  return U;
363
- }, "getSections"), Et = /* @__PURE__ */ s(function() {
363
+ }, "getSections"), Et = /* @__PURE__ */ n(function() {
364
364
  let t = tt();
365
365
  const e = 100;
366
366
  let a = 0;
367
367
  for (; !t && a < e; )
368
368
  t = tt(), a++;
369
369
  return j.push(...V), j;
370
- }, "getTasks"), It = /* @__PURE__ */ s(function() {
370
+ }, "getTasks"), It = /* @__PURE__ */ n(function() {
371
371
  const t = [];
372
372
  return j.forEach((e) => {
373
373
  e.people && t.push(...e.people);
374
374
  }), [...new Set(t)].sort();
375
- }, "updateActors"), Pt = /* @__PURE__ */ s(function(t, e) {
375
+ }, "updateActors"), Pt = /* @__PURE__ */ n(function(t, e) {
376
376
  const a = e.substr(1).split(":");
377
- let c = 0, n = [];
378
- a.length === 1 ? (c = Number(a[0]), n = []) : (c = Number(a[0]), n = a[1].split(","));
379
- const h = n.map((y) => y.trim()), l = {
377
+ let l = 0, s = [];
378
+ a.length === 1 ? (l = Number(a[0]), s = []) : (l = Number(a[0]), s = a[1].split(","));
379
+ const h = s.map((y) => y.trim()), c = {
380
380
  section: C,
381
381
  type: C,
382
382
  people: h,
383
383
  task: t,
384
- score: c
384
+ score: l
385
385
  };
386
- V.push(l);
387
- }, "addTask"), Ct = /* @__PURE__ */ s(function(t) {
386
+ V.push(c);
387
+ }, "addTask"), Ct = /* @__PURE__ */ n(function(t) {
388
388
  const e = {
389
389
  section: C,
390
390
  type: C,
@@ -393,32 +393,32 @@ var Tt = q, C = "", U = [], j = [], V = [], St = /* @__PURE__ */ s(function() {
393
393
  classes: []
394
394
  };
395
395
  j.push(e);
396
- }, "addTaskOrg"), tt = /* @__PURE__ */ s(function() {
397
- const t = /* @__PURE__ */ s(function(a) {
396
+ }, "addTaskOrg"), tt = /* @__PURE__ */ n(function() {
397
+ const t = /* @__PURE__ */ n(function(a) {
398
398
  return V[a].processed;
399
399
  }, "compileTask");
400
400
  let e = !0;
401
- for (const [a, c] of V.entries())
402
- t(a), e = e && c.processed;
401
+ for (const [a, l] of V.entries())
402
+ t(a), e = e && l.processed;
403
403
  return e;
404
- }, "compileTasks"), jt = /* @__PURE__ */ s(function() {
404
+ }, "compileTasks"), jt = /* @__PURE__ */ n(function() {
405
405
  return It();
406
406
  }, "getActors"), et = {
407
- getConfig: /* @__PURE__ */ s(() => I().journey, "getConfig"),
407
+ getConfig: /* @__PURE__ */ n(() => I().journey, "getConfig"),
408
408
  clear: St,
409
- setDiagramTitle: mt,
410
- getDiagramTitle: xt,
411
- setAccTitle: kt,
412
- getAccTitle: _t,
413
- setAccDescription: bt,
414
- getAccDescription: $t,
409
+ setDiagramTitle: $t,
410
+ getDiagramTitle: bt,
411
+ setAccTitle: _t,
412
+ getAccTitle: kt,
413
+ setAccDescription: xt,
414
+ getAccDescription: mt,
415
415
  addSection: Mt,
416
416
  getSections: At,
417
417
  getTasks: Et,
418
418
  addTask: Pt,
419
419
  addTaskOrg: Ct,
420
420
  getActors: jt
421
- }, Vt = /* @__PURE__ */ s((t) => `.label {
421
+ }, Vt = /* @__PURE__ */ n((t) => `.label {
422
422
  font-family: 'trebuchet ms', verdana, arial, sans-serif;
423
423
  font-family: var(--mermaid-font-family);
424
424
  color: ${t.textColor};
@@ -551,62 +551,62 @@ var Tt = q, C = "", U = [], j = [], V = [], St = /* @__PURE__ */ s(function() {
551
551
  .actor-5 {
552
552
  ${t.actor5 ? `fill: ${t.actor5}` : ""};
553
553
  }
554
- `, "getStyles"), Lt = Vt, Z = /* @__PURE__ */ s(function(t, e) {
555
- return dt(t, e);
556
- }, "drawRect"), Dt = /* @__PURE__ */ s(function(t, e) {
557
- const a = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), c = t.append("g");
558
- c.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), c.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
559
- function n(y) {
554
+ `, "getStyles"), Lt = Vt, Z = /* @__PURE__ */ n(function(t, e) {
555
+ return gt(t, e);
556
+ }, "drawRect"), Dt = /* @__PURE__ */ n(function(t, e) {
557
+ const a = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), l = t.append("g");
558
+ l.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), l.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
559
+ function s(y) {
560
560
  const d = Q().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
561
561
  y.append("path").attr("class", "mouth").attr("d", d).attr("transform", "translate(" + e.cx + "," + (e.cy + 2) + ")");
562
562
  }
563
- s(n, "smile");
563
+ n(s, "smile");
564
564
  function h(y) {
565
565
  const d = Q().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
566
566
  y.append("path").attr("class", "mouth").attr("d", d).attr("transform", "translate(" + e.cx + "," + (e.cy + 7) + ")");
567
567
  }
568
- s(h, "sad");
569
- function l(y) {
568
+ n(h, "sad");
569
+ function c(y) {
570
570
  y.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", e.cx - 5).attr("y1", e.cy + 7).attr("x2", e.cx + 5).attr("y2", e.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
571
571
  }
572
- return s(l, "ambivalent"), e.score > 3 ? n(c) : e.score < 3 ? h(c) : l(c), a;
573
- }, "drawFace"), rt = /* @__PURE__ */ s(function(t, e) {
572
+ return n(c, "ambivalent"), e.score > 3 ? s(l) : e.score < 3 ? h(l) : c(l), a;
573
+ }, "drawFace"), rt = /* @__PURE__ */ n(function(t, e) {
574
574
  const a = t.append("circle");
575
575
  return a.attr("cx", e.cx), a.attr("cy", e.cy), a.attr("class", "actor-" + e.pos), a.attr("fill", e.fill), a.attr("stroke", e.stroke), a.attr("r", e.r), a.class !== void 0 && a.attr("class", a.class), e.title !== void 0 && a.append("title").text(e.title), a;
576
- }, "drawCircle"), ot = /* @__PURE__ */ s(function(t, e) {
576
+ }, "drawCircle"), ot = /* @__PURE__ */ n(function(t, e) {
577
577
  return ft(t, e);
578
- }, "drawText"), Ft = /* @__PURE__ */ s(function(t, e) {
579
- function a(n, h, l, y, d) {
580
- return n + "," + h + " " + (n + l) + "," + h + " " + (n + l) + "," + (h + y - d) + " " + (n + l - d * 1.2) + "," + (h + y) + " " + n + "," + (h + y);
581
- }
582
- s(a, "genPoints");
583
- const c = t.append("polygon");
584
- c.attr("points", a(e.x, e.y, 50, 20, 7)), c.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, ot(t, e);
585
- }, "drawLabel"), Bt = /* @__PURE__ */ s(function(t, e, a) {
586
- const c = t.append("g"), n = at();
587
- n.x = e.x, n.y = e.y, n.fill = e.fill, n.width = a.width * e.taskCount + // width of the tasks
588
- a.diagramMarginX * (e.taskCount - 1), n.height = a.height, n.class = "journey-section section-type-" + e.num, n.rx = 3, n.ry = 3, Z(c, n), ct(a)(
578
+ }, "drawText"), Ft = /* @__PURE__ */ n(function(t, e) {
579
+ function a(s, h, c, y, d) {
580
+ return s + "," + h + " " + (s + c) + "," + h + " " + (s + c) + "," + (h + y - d) + " " + (s + c - d * 1.2) + "," + (h + y) + " " + s + "," + (h + y);
581
+ }
582
+ n(a, "genPoints");
583
+ const l = t.append("polygon");
584
+ l.attr("points", a(e.x, e.y, 50, 20, 7)), l.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, ot(t, e);
585
+ }, "drawLabel"), Bt = /* @__PURE__ */ n(function(t, e, a) {
586
+ const l = t.append("g"), s = at();
587
+ s.x = e.x, s.y = e.y, s.fill = e.fill, s.width = a.width * e.taskCount + // width of the tasks
588
+ a.diagramMarginX * (e.taskCount - 1), s.height = a.height, s.class = "journey-section section-type-" + e.num, s.rx = 3, s.ry = 3, Z(l, s), lt(a)(
589
589
  e.text,
590
- c,
591
- n.x,
592
- n.y,
593
- n.width,
594
- n.height,
590
+ l,
591
+ s.x,
592
+ s.y,
593
+ s.width,
594
+ s.height,
595
595
  { class: "journey-section section-type-" + e.num },
596
596
  a,
597
597
  e.colour
598
598
  );
599
- }, "drawSection"), it = -1, Ot = /* @__PURE__ */ s(function(t, e, a) {
600
- const c = e.x + a.width / 2, n = t.append("g");
599
+ }, "drawSection"), it = -1, Ot = /* @__PURE__ */ n(function(t, e, a) {
600
+ const l = e.x + a.width / 2, s = t.append("g");
601
601
  it++;
602
602
  const h = 300 + 5 * 30;
603
- n.append("line").attr("id", "task" + it).attr("x1", c).attr("y1", e.y).attr("x2", c).attr("y2", h).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Dt(n, {
604
- cx: c,
603
+ s.append("line").attr("id", "task" + it).attr("x1", l).attr("y1", e.y).attr("x2", l).attr("y2", h).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Dt(s, {
604
+ cx: l,
605
605
  cy: 300 + (5 - e.score) * 30,
606
606
  score: e.score
607
607
  });
608
- const l = at();
609
- l.x = e.x, l.y = e.y, l.fill = e.fill, l.width = a.width, l.height = a.height, l.class = "task task-type-" + e.num, l.rx = 3, l.ry = 3, Z(n, l);
608
+ const c = at();
609
+ c.x = e.x, c.y = e.y, c.fill = e.fill, c.width = a.width, c.height = a.height, c.class = "task task-type-" + e.num, c.rx = 3, c.ry = 3, Z(s, c);
610
610
  let y = e.x + 14;
611
611
  e.people.forEach((d) => {
612
612
  const x = e.actors[d].color, f = {
@@ -618,47 +618,47 @@ var Tt = q, C = "", U = [], j = [], V = [], St = /* @__PURE__ */ s(function() {
618
618
  title: d,
619
619
  pos: e.actors[d].position
620
620
  };
621
- rt(n, f), y += 10;
622
- }), ct(a)(
621
+ rt(s, f), y += 10;
622
+ }), lt(a)(
623
623
  e.task,
624
- n,
625
- l.x,
626
- l.y,
627
- l.width,
628
- l.height,
624
+ s,
625
+ c.x,
626
+ c.y,
627
+ c.width,
628
+ c.height,
629
629
  { class: "task" },
630
630
  a,
631
631
  e.colour
632
632
  );
633
- }, "drawTask"), Rt = /* @__PURE__ */ s(function(t, e) {
634
- gt(t, e);
635
- }, "drawBackgroundRect"), ct = /* @__PURE__ */ function() {
636
- function t(n, h, l, y, d, x, f, g) {
637
- const i = h.append("text").attr("x", l + d / 2).attr("y", y + x / 2 + 5).style("font-color", g).style("text-anchor", "middle").text(n);
638
- c(i, f);
639
- }
640
- s(t, "byText");
641
- function e(n, h, l, y, d, x, f, g, i) {
642
- const { taskFontSize: r, taskFontFamily: u } = g, p = n.split(/<br\s*\/?>/gi);
633
+ }, "drawTask"), Rt = /* @__PURE__ */ n(function(t, e) {
634
+ dt(t, e);
635
+ }, "drawBackgroundRect"), lt = /* @__PURE__ */ function() {
636
+ function t(s, h, c, y, d, x, f, g) {
637
+ const i = h.append("text").attr("x", c + d / 2).attr("y", y + x / 2 + 5).style("font-color", g).style("text-anchor", "middle").text(s);
638
+ l(i, f);
639
+ }
640
+ n(t, "byText");
641
+ function e(s, h, c, y, d, x, f, g, i) {
642
+ const { taskFontSize: r, taskFontFamily: u } = g, p = s.split(/<br\s*\/?>/gi);
643
643
  for (let o = 0; o < p.length; o++) {
644
- const m = o * r - r * (p.length - 1) / 2, k = h.append("text").attr("x", l + d / 2).attr("y", y).attr("fill", i).style("text-anchor", "middle").style("font-size", r).style("font-family", u);
645
- k.append("tspan").attr("x", l + d / 2).attr("dy", m).text(p[o]), k.attr("y", y + x / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), c(k, f);
644
+ const m = o * r - r * (p.length - 1) / 2, k = h.append("text").attr("x", c + d / 2).attr("y", y).attr("fill", i).style("text-anchor", "middle").style("font-size", r).style("font-family", u);
645
+ k.append("tspan").attr("x", c + d / 2).attr("dy", m).text(p[o]), k.attr("y", y + x / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), l(k, f);
646
646
  }
647
647
  }
648
- s(e, "byTspan");
649
- function a(n, h, l, y, d, x, f, g) {
650
- const i = h.append("switch"), r = i.append("foreignObject").attr("x", l).attr("y", y).attr("width", d).attr("height", x).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
651
- r.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(n), e(n, i, l, y, d, x, f, g), c(r, f);
648
+ n(e, "byTspan");
649
+ function a(s, h, c, y, d, x, f, g) {
650
+ const i = h.append("switch"), r = i.append("foreignObject").attr("x", c).attr("y", y).attr("width", d).attr("height", x).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
651
+ r.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(s), e(s, i, c, y, d, x, f, g), l(r, f);
652
652
  }
653
- s(a, "byFo");
654
- function c(n, h) {
655
- for (const l in h)
656
- l in h && n.attr(l, h[l]);
653
+ n(a, "byFo");
654
+ function l(s, h) {
655
+ for (const c in h)
656
+ c in h && s.attr(c, h[c]);
657
657
  }
658
- return s(c, "_setTextAttrs"), function(n) {
659
- return n.textPlacement === "fo" ? a : n.textPlacement === "old" ? t : e;
658
+ return n(l, "_setTextAttrs"), function(s) {
659
+ return s.textPlacement === "fo" ? a : s.textPlacement === "old" ? t : e;
660
660
  };
661
- }(), zt = /* @__PURE__ */ s(function(t) {
661
+ }(), zt = /* @__PURE__ */ n(function(t) {
662
662
  t.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");
663
663
  }, "initGraphics"), L = {
664
664
  drawRect: Z,
@@ -669,57 +669,57 @@ var Tt = q, C = "", U = [], j = [], V = [], St = /* @__PURE__ */ s(function() {
669
669
  drawTask: Ot,
670
670
  drawBackgroundRect: Rt,
671
671
  initGraphics: zt
672
- }, Nt = /* @__PURE__ */ s(function(t) {
672
+ }, Nt = /* @__PURE__ */ n(function(t) {
673
673
  Object.keys(t).forEach(function(e) {
674
674
  O[e] = t[e];
675
675
  });
676
676
  }, "setConf"), S = {};
677
- function lt(t) {
677
+ function ct(t) {
678
678
  const e = I().journey;
679
679
  let a = 60;
680
- Object.keys(S).forEach((c) => {
681
- const n = S[c].color, h = {
680
+ Object.keys(S).forEach((l) => {
681
+ const s = S[l].color, h = {
682
682
  cx: 20,
683
683
  cy: a,
684
684
  r: 7,
685
- fill: n,
685
+ fill: s,
686
686
  stroke: "#000",
687
- pos: S[c].position
687
+ pos: S[l].position
688
688
  };
689
689
  L.drawCircle(t, h);
690
- const l = {
690
+ const c = {
691
691
  x: 40,
692
692
  y: a + 7,
693
693
  fill: "#666",
694
- text: c,
694
+ text: l,
695
695
  textMargin: e.boxTextMargin | 5
696
696
  };
697
- L.drawText(t, l), a += 20;
697
+ L.drawText(t, c), a += 20;
698
698
  });
699
699
  }
700
- s(lt, "drawActorLegend");
701
- var O = I().journey, E = O.leftMargin, Yt = /* @__PURE__ */ s(function(t, e, a, c) {
702
- const n = I().journey, h = I().securityLevel;
703
- let l;
704
- h === "sandbox" && (l = W("#i" + e));
705
- const y = h === "sandbox" ? W(l.nodes()[0].contentDocument.body) : W("body");
700
+ n(ct, "drawActorLegend");
701
+ var O = I().journey, E = O.leftMargin, Yt = /* @__PURE__ */ n(function(t, e, a, l) {
702
+ const s = I().journey, h = I().securityLevel;
703
+ let c;
704
+ h === "sandbox" && (c = W("#i" + e));
705
+ const y = h === "sandbox" ? W(c.nodes()[0].contentDocument.body) : W("body");
706
706
  w.init();
707
707
  const d = y.select("#" + e);
708
708
  L.initGraphics(d);
709
- const x = c.db.getTasks(), f = c.db.getDiagramTitle(), g = c.db.getActors();
709
+ const x = l.db.getTasks(), f = l.db.getDiagramTitle(), g = l.db.getActors();
710
710
  for (const m in S)
711
711
  delete S[m];
712
712
  let i = 0;
713
713
  g.forEach((m) => {
714
714
  S[m] = {
715
- color: n.actorColours[i % n.actorColours.length],
715
+ color: s.actorColours[i % s.actorColours.length],
716
716
  position: i
717
717
  }, i++;
718
- }), lt(d), w.insert(0, 0, E, Object.keys(S).length * 50), Wt(d, x, 0);
718
+ }), ct(d), w.insert(0, 0, E, Object.keys(S).length * 50), Wt(d, x, 0);
719
719
  const r = w.getBounds();
720
720
  f && d.append("text").text(f).attr("x", E).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
721
- const u = r.stopy - r.starty + 2 * n.diagramMarginY, p = E + r.stopx + 2 * n.diagramMarginX;
722
- wt(d, u, p, n.useMaxWidth), d.append("line").attr("x1", E).attr("y1", n.height * 4).attr("x2", p - E - 4).attr("y2", n.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
721
+ const u = r.stopy - r.starty + 2 * s.diagramMarginY, p = E + r.stopx + 2 * s.diagramMarginX;
722
+ vt(d, u, p, s.useMaxWidth), d.append("line").attr("x1", E).attr("y1", s.height * 4).attr("x2", p - E - 4).attr("y2", s.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
723
723
  const o = f ? 70 : 0;
724
724
  d.attr("viewBox", `${r.startx} -25 ${p} ${u + o}`), d.attr("preserveAspectRatio", "xMinYMin meet"), d.attr("height", u + o + 25);
725
725
  }, "draw"), w = {
@@ -731,7 +731,7 @@ var O = I().journey, E = O.leftMargin, Yt = /* @__PURE__ */ s(function(t, e, a,
731
731
  },
732
732
  verticalPos: 0,
733
733
  sequenceItems: [],
734
- init: /* @__PURE__ */ s(function() {
734
+ init: /* @__PURE__ */ n(function() {
735
735
  this.sequenceItems = [], this.data = {
736
736
  startx: void 0,
737
737
  stopx: void 0,
@@ -739,48 +739,48 @@ var O = I().journey, E = O.leftMargin, Yt = /* @__PURE__ */ s(function(t, e, a,
739
739
  stopy: void 0
740
740
  }, this.verticalPos = 0;
741
741
  }, "init"),
742
- updateVal: /* @__PURE__ */ s(function(t, e, a, c) {
743
- t[e] === void 0 ? t[e] = a : t[e] = c(a, t[e]);
742
+ updateVal: /* @__PURE__ */ n(function(t, e, a, l) {
743
+ t[e] === void 0 ? t[e] = a : t[e] = l(a, t[e]);
744
744
  }, "updateVal"),
745
- updateBounds: /* @__PURE__ */ s(function(t, e, a, c) {
746
- const n = I().journey, h = this;
747
- let l = 0;
745
+ updateBounds: /* @__PURE__ */ n(function(t, e, a, l) {
746
+ const s = I().journey, h = this;
747
+ let c = 0;
748
748
  function y(d) {
749
- return /* @__PURE__ */ s(function(x) {
750
- l++;
751
- const f = h.sequenceItems.length - l + 1;
752
- h.updateVal(x, "starty", e - f * n.boxMargin, Math.min), h.updateVal(x, "stopy", c + f * n.boxMargin, Math.max), h.updateVal(w.data, "startx", t - f * n.boxMargin, Math.min), h.updateVal(w.data, "stopx", a + f * n.boxMargin, Math.max), d !== "activation" && (h.updateVal(x, "startx", t - f * n.boxMargin, Math.min), h.updateVal(x, "stopx", a + f * n.boxMargin, Math.max), h.updateVal(w.data, "starty", e - f * n.boxMargin, Math.min), h.updateVal(w.data, "stopy", c + f * n.boxMargin, Math.max));
749
+ return /* @__PURE__ */ n(function(x) {
750
+ c++;
751
+ const f = h.sequenceItems.length - c + 1;
752
+ h.updateVal(x, "starty", e - f * s.boxMargin, Math.min), h.updateVal(x, "stopy", l + f * s.boxMargin, Math.max), h.updateVal(w.data, "startx", t - f * s.boxMargin, Math.min), h.updateVal(w.data, "stopx", a + f * s.boxMargin, Math.max), d !== "activation" && (h.updateVal(x, "startx", t - f * s.boxMargin, Math.min), h.updateVal(x, "stopx", a + f * s.boxMargin, Math.max), h.updateVal(w.data, "starty", e - f * s.boxMargin, Math.min), h.updateVal(w.data, "stopy", l + f * s.boxMargin, Math.max));
753
753
  }, "updateItemBounds");
754
754
  }
755
- s(y, "updateFn"), this.sequenceItems.forEach(y());
755
+ n(y, "updateFn"), this.sequenceItems.forEach(y());
756
756
  }, "updateBounds"),
757
- insert: /* @__PURE__ */ s(function(t, e, a, c) {
758
- const n = Math.min(t, a), h = Math.max(t, a), l = Math.min(e, c), y = Math.max(e, c);
759
- this.updateVal(w.data, "startx", n, Math.min), this.updateVal(w.data, "starty", l, Math.min), this.updateVal(w.data, "stopx", h, Math.max), this.updateVal(w.data, "stopy", y, Math.max), this.updateBounds(n, l, h, y);
757
+ insert: /* @__PURE__ */ n(function(t, e, a, l) {
758
+ const s = Math.min(t, a), h = Math.max(t, a), c = Math.min(e, l), y = Math.max(e, l);
759
+ this.updateVal(w.data, "startx", s, Math.min), this.updateVal(w.data, "starty", c, Math.min), this.updateVal(w.data, "stopx", h, Math.max), this.updateVal(w.data, "stopy", y, Math.max), this.updateBounds(s, c, h, y);
760
760
  }, "insert"),
761
- bumpVerticalPos: /* @__PURE__ */ s(function(t) {
761
+ bumpVerticalPos: /* @__PURE__ */ n(function(t) {
762
762
  this.verticalPos = this.verticalPos + t, this.data.stopy = this.verticalPos;
763
763
  }, "bumpVerticalPos"),
764
- getVerticalPos: /* @__PURE__ */ s(function() {
764
+ getVerticalPos: /* @__PURE__ */ n(function() {
765
765
  return this.verticalPos;
766
766
  }, "getVerticalPos"),
767
- getBounds: /* @__PURE__ */ s(function() {
767
+ getBounds: /* @__PURE__ */ n(function() {
768
768
  return this.data;
769
769
  }, "getBounds")
770
- }, X = O.sectionFills, nt = O.sectionColours, Wt = /* @__PURE__ */ s(function(t, e, a) {
771
- const c = I().journey;
772
- let n = "";
773
- const h = c.height * 2 + c.diagramMarginY, l = a + h;
770
+ }, X = O.sectionFills, st = O.sectionColours, Wt = /* @__PURE__ */ n(function(t, e, a) {
771
+ const l = I().journey;
772
+ let s = "";
773
+ const h = l.height * 2 + l.diagramMarginY, c = a + h;
774
774
  let y = 0, d = "#CCC", x = "black", f = 0;
775
775
  for (const [g, i] of e.entries()) {
776
- if (n !== i.section) {
777
- d = X[y % X.length], f = y % X.length, x = nt[y % nt.length];
776
+ if (s !== i.section) {
777
+ d = X[y % X.length], f = y % X.length, x = st[y % st.length];
778
778
  let u = 0;
779
779
  const p = i.section;
780
780
  for (let m = g; m < e.length && e[m].section == p; m++)
781
781
  u = u + 1;
782
782
  const o = {
783
- x: g * c.taskMargin + g * c.width + E,
783
+ x: g * l.taskMargin + g * l.width + E,
784
784
  y: 50,
785
785
  text: i.section,
786
786
  fill: d,
@@ -788,21 +788,21 @@ var O = I().journey, E = O.leftMargin, Yt = /* @__PURE__ */ s(function(t, e, a,
788
788
  colour: x,
789
789
  taskCount: u
790
790
  };
791
- L.drawSection(t, o, c), n = i.section, y++;
791
+ L.drawSection(t, o, l), s = i.section, y++;
792
792
  }
793
793
  const r = i.people.reduce((u, p) => (S[p] && (u[p] = S[p]), u), {});
794
- i.x = g * c.taskMargin + g * c.width + E, i.y = l, i.width = c.diagramMarginX, i.height = c.diagramMarginY, i.colour = x, i.fill = d, i.num = f, i.actors = r, L.drawTask(t, i, c), w.insert(i.x, i.y, i.x + i.width + c.taskMargin, 300 + 5 * 30);
794
+ i.x = g * l.taskMargin + g * l.width + E, i.y = c, i.width = l.diagramMarginX, i.height = l.diagramMarginY, i.colour = x, i.fill = d, i.num = f, i.actors = r, L.drawTask(t, i, l), w.insert(i.x, i.y, i.x + i.width + l.taskMargin, 300 + 5 * 30);
795
795
  }
796
- }, "drawTasks"), st = {
796
+ }, "drawTasks"), nt = {
797
797
  setConf: Nt,
798
798
  draw: Yt
799
799
  }, Zt = {
800
800
  parser: Tt,
801
801
  db: et,
802
- renderer: st,
802
+ renderer: nt,
803
803
  styles: Lt,
804
- init: /* @__PURE__ */ s((t) => {
805
- st.setConf(t.journey), et.clear();
804
+ init: /* @__PURE__ */ n((t) => {
805
+ nt.setConf(t.journey), et.clear();
806
806
  }, "init")
807
807
  };
808
808
  export {