@readme/markdown 11.1.1 → 11.2.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 (129) hide show
  1. package/components/Code/index.tsx +4 -3
  2. package/components/CodeTabs/index.tsx +5 -2
  3. package/dist/10.node.js +419 -207
  4. package/dist/10.node.js.map +1 -1
  5. package/dist/101.node.js +23 -0
  6. package/dist/101.node.js.map +1 -0
  7. package/dist/109.node.js +63 -0
  8. package/dist/109.node.js.map +1 -0
  9. package/dist/197.node.js +63 -0
  10. package/dist/197.node.js.map +1 -0
  11. package/dist/213.node.js +23 -0
  12. package/dist/213.node.js.map +1 -0
  13. package/dist/{580.node.js → 259.node.js} +98 -79
  14. package/dist/259.node.js.map +1 -0
  15. package/dist/339.node.js +4 -4
  16. package/dist/{912.node.js → 356.node.js} +154 -150
  17. package/dist/356.node.js.map +1 -0
  18. package/dist/357.node.js +1352 -0
  19. package/dist/357.node.js.map +1 -0
  20. package/dist/387.node.js +23 -0
  21. package/dist/387.node.js.map +1 -0
  22. package/dist/398.node.js +63 -0
  23. package/dist/398.node.js.map +1 -0
  24. package/dist/{805.node.js → 405.node.js} +110 -91
  25. package/dist/405.node.js.map +1 -0
  26. package/dist/{23.node.js → 434.node.js} +178 -118
  27. package/dist/434.node.js.map +1 -0
  28. package/dist/{550.node.js → 470.node.js} +105 -80
  29. package/dist/470.node.js.map +1 -0
  30. package/dist/{870.node.js → 474.node.js} +84 -77
  31. package/dist/474.node.js.map +1 -0
  32. package/dist/{649.node.js → 483.node.js} +70 -67
  33. package/dist/483.node.js.map +1 -0
  34. package/dist/486.node.js +23865 -25247
  35. package/dist/486.node.js.map +1 -1
  36. package/dist/{982.node.js → 524.node.js} +124 -88
  37. package/dist/524.node.js.map +1 -0
  38. package/dist/53.node.js +506 -0
  39. package/dist/53.node.js.map +1 -0
  40. package/dist/{898.node.js → 561.node.js} +54 -52
  41. package/dist/561.node.js.map +1 -0
  42. package/dist/579.node.js +23 -0
  43. package/dist/579.node.js.map +1 -0
  44. package/dist/{881.node.js → 680.node.js} +202 -142
  45. package/dist/680.node.js.map +1 -0
  46. package/dist/{915.node.js → 7.node.js} +265 -1210
  47. package/dist/7.node.js.map +1 -0
  48. package/dist/{188.node.js → 705.node.js} +135 -132
  49. package/dist/705.node.js.map +1 -0
  50. package/dist/713.node.js +23 -0
  51. package/dist/713.node.js.map +1 -0
  52. package/dist/{135.node.js → 720.node.js} +230 -138
  53. package/dist/720.node.js.map +1 -0
  54. package/dist/{364.node.js → 763.node.js} +488 -432
  55. package/dist/763.node.js.map +1 -0
  56. package/dist/{572.node.js → 828.node.js} +229 -185
  57. package/dist/828.node.js.map +1 -0
  58. package/dist/{311.node.js → 834.node.js} +106 -104
  59. package/dist/834.node.js.map +1 -0
  60. package/dist/{359.node.js → 863.node.js} +290 -236
  61. package/dist/863.node.js.map +1 -0
  62. package/dist/872.node.js +630 -0
  63. package/dist/872.node.js.map +1 -0
  64. package/dist/879.node.js +61 -0
  65. package/dist/879.node.js.map +1 -0
  66. package/dist/{371.node.js → 880.node.js} +401 -400
  67. package/dist/880.node.js.map +1 -0
  68. package/dist/{214.node.js → 894.node.js} +116 -114
  69. package/dist/894.node.js.map +1 -0
  70. package/dist/{890.node.js → 90.node.js} +134 -129
  71. package/dist/90.node.js.map +1 -0
  72. package/dist/{855.node.js → 901.node.js} +510 -522
  73. package/dist/901.node.js.map +1 -0
  74. package/dist/903.node.js +23 -0
  75. package/dist/903.node.js.map +1 -0
  76. package/dist/{38.node.js → 929.node.js} +920 -442
  77. package/dist/929.node.js.map +1 -0
  78. package/dist/941.node.js +23 -0
  79. package/dist/941.node.js.map +1 -0
  80. package/dist/995.node.js +2 -2
  81. package/dist/hooks/useHydrated/index.d.ts +6 -0
  82. package/dist/main.js +26 -8
  83. package/dist/main.node.js +32 -6
  84. package/dist/main.node.js.map +1 -1
  85. package/package.json +3 -3
  86. package/dist/122.node.js +0 -23
  87. package/dist/122.node.js.map +0 -1
  88. package/dist/135.node.js.map +0 -1
  89. package/dist/136.node.js +0 -23
  90. package/dist/136.node.js.map +0 -1
  91. package/dist/188.node.js.map +0 -1
  92. package/dist/214.node.js.map +0 -1
  93. package/dist/23.node.js.map +0 -1
  94. package/dist/311.node.js.map +0 -1
  95. package/dist/354.node.js +0 -23
  96. package/dist/354.node.js.map +0 -1
  97. package/dist/359.node.js.map +0 -1
  98. package/dist/364.node.js.map +0 -1
  99. package/dist/371.node.js.map +0 -1
  100. package/dist/38.node.js.map +0 -1
  101. package/dist/391.node.js +0 -522
  102. package/dist/391.node.js.map +0 -1
  103. package/dist/462.node.js +0 -23
  104. package/dist/462.node.js.map +0 -1
  105. package/dist/48.node.js +0 -57
  106. package/dist/48.node.js.map +0 -1
  107. package/dist/537.node.js +0 -59
  108. package/dist/537.node.js.map +0 -1
  109. package/dist/550.node.js.map +0 -1
  110. package/dist/572.node.js.map +0 -1
  111. package/dist/580.node.js.map +0 -1
  112. package/dist/649.node.js.map +0 -1
  113. package/dist/740.node.js +0 -23
  114. package/dist/740.node.js.map +0 -1
  115. package/dist/741.node.js +0 -23
  116. package/dist/741.node.js.map +0 -1
  117. package/dist/779.node.js +0 -57
  118. package/dist/779.node.js.map +0 -1
  119. package/dist/805.node.js.map +0 -1
  120. package/dist/855.node.js.map +0 -1
  121. package/dist/870.node.js.map +0 -1
  122. package/dist/874.node.js +0 -57
  123. package/dist/874.node.js.map +0 -1
  124. package/dist/881.node.js.map +0 -1
  125. package/dist/890.node.js.map +0 -1
  126. package/dist/898.node.js.map +0 -1
  127. package/dist/912.node.js.map +0 -1
  128. package/dist/915.node.js.map +0 -1
  129. package/dist/982.node.js.map +0 -1
@@ -1,35 +1,37 @@
1
1
  "use strict";
2
- exports.id = 214;
3
- exports.ids = [214];
2
+ exports.id = 894;
3
+ exports.ids = [894];
4
4
  exports.modules = {
5
5
 
6
- /***/ 6214:
6
+ /***/ 6894:
7
7
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
8
8
 
9
9
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10
10
  /* harmony export */ diagram: () => (/* binding */ diagram)
11
11
  /* harmony export */ });
12
- /* harmony import */ var _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3804);
13
- /* harmony import */ var d3__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8066);
14
- /* harmony import */ var khroma__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5099);
15
- /* harmony import */ var khroma__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7470);
16
- /* harmony import */ var khroma__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8750);
12
+ /* harmony import */ var _chunk_ABZYJK2D_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6399);
13
+ /* harmony import */ var _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(416);
14
+ /* harmony import */ var d3__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(796);
15
+ /* harmony import */ var khroma__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(5099);
16
+ /* harmony import */ var khroma__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(7470);
17
+ /* harmony import */ var khroma__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8750);
18
+
17
19
 
18
20
 
19
21
  // src/diagrams/timeline/parser/timeline.jison
20
- var parser = function() {
21
- var o = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(k, v, o2, l) {
22
+ var parser = (function() {
23
+ var o = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(k, v, o2, l) {
22
24
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
23
25
  return o2;
24
26
  }, "o"), $V0 = [6, 8, 10, 11, 12, 14, 16, 17, 20, 21], $V1 = [1, 9], $V2 = [1, 10], $V3 = [1, 11], $V4 = [1, 12], $V5 = [1, 13], $V6 = [1, 16], $V7 = [1, 17];
25
27
  var parser2 = {
26
- trace: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function trace() {
28
+ trace: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function trace() {
27
29
  }, "trace"),
28
30
  yy: {},
29
31
  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 },
30
32
  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" },
31
33
  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]],
32
- performAction: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
34
+ performAction: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
33
35
  var $0 = $$.length - 1;
34
36
  switch (yystate) {
35
37
  case 1:
@@ -79,7 +81,7 @@ var parser = function() {
79
81
  }, "anonymous"),
80
82
  table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, o($V0, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: $V1, 12: $V2, 14: $V3, 16: $V4, 17: $V5, 18: 14, 19: 15, 20: $V6, 21: $V7 }, o($V0, [2, 7], { 1: [2, 1] }), o($V0, [2, 3]), { 9: 18, 11: $V1, 12: $V2, 14: $V3, 16: $V4, 17: $V5, 18: 14, 19: 15, 20: $V6, 21: $V7 }, o($V0, [2, 5]), o($V0, [2, 6]), o($V0, [2, 8]), { 13: [1, 19] }, { 15: [1, 20] }, o($V0, [2, 11]), o($V0, [2, 12]), o($V0, [2, 13]), o($V0, [2, 14]), o($V0, [2, 15]), o($V0, [2, 16]), o($V0, [2, 4]), o($V0, [2, 9]), o($V0, [2, 10])],
81
83
  defaultActions: {},
82
- parseError: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function parseError(str, hash) {
84
+ parseError: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parseError(str, hash) {
83
85
  if (hash.recoverable) {
84
86
  this.trace(str);
85
87
  } else {
@@ -88,7 +90,7 @@ var parser = function() {
88
90
  throw error;
89
91
  }
90
92
  }, "parseError"),
91
- parse: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function parse(input) {
93
+ parse: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parse(input) {
92
94
  var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
93
95
  var args = lstack.slice.call(arguments, 1);
94
96
  var lexer2 = Object.create(this.lexer);
@@ -117,7 +119,7 @@ var parser = function() {
117
119
  vstack.length = vstack.length - n;
118
120
  lstack.length = lstack.length - n;
119
121
  }
120
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(popStack, "popStack");
122
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(popStack, "popStack");
121
123
  function lex() {
122
124
  var token;
123
125
  token = tstack.pop() || lexer2.lex() || EOF;
@@ -130,7 +132,7 @@ var parser = function() {
130
132
  }
131
133
  return token;
132
134
  }
133
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(lex, "lex");
135
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(lex, "lex");
134
136
  var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
135
137
  while (true) {
136
138
  state = stack[stack.length - 1];
@@ -231,10 +233,10 @@ var parser = function() {
231
233
  return true;
232
234
  }, "parse")
233
235
  };
234
- var lexer = /* @__PURE__ */ function() {
236
+ var lexer = /* @__PURE__ */ (function() {
235
237
  var lexer2 = {
236
238
  EOF: 1,
237
- parseError: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function parseError(str, hash) {
239
+ parseError: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parseError(str, hash) {
238
240
  if (this.yy.parser) {
239
241
  this.yy.parser.parseError(str, hash);
240
242
  } else {
@@ -242,7 +244,7 @@ var parser = function() {
242
244
  }
243
245
  }, "parseError"),
244
246
  // resets the lexer, sets new input
245
- setInput: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(input, yy) {
247
+ setInput: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(input, yy) {
246
248
  this.yy = yy || this.yy || {};
247
249
  this._input = input;
248
250
  this._more = this._backtrack = this.done = false;
@@ -262,7 +264,7 @@ var parser = function() {
262
264
  return this;
263
265
  }, "setInput"),
264
266
  // consumes and returns one char from the input
265
- input: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
267
+ input: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
266
268
  var ch = this._input[0];
267
269
  this.yytext += ch;
268
270
  this.yyleng++;
@@ -283,7 +285,7 @@ var parser = function() {
283
285
  return ch;
284
286
  }, "input"),
285
287
  // unshifts one char (or a string) into the input
286
- unput: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(ch) {
288
+ unput: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ch) {
287
289
  var len = ch.length;
288
290
  var lines = ch.split(/(?:\r\n?|\n)/g);
289
291
  this._input = ch + this._input;
@@ -309,12 +311,12 @@ var parser = function() {
309
311
  return this;
310
312
  }, "unput"),
311
313
  // When called from action, caches matched text and appends it on next action
312
- more: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
314
+ more: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
313
315
  this._more = true;
314
316
  return this;
315
317
  }, "more"),
316
318
  // 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.
317
- reject: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
319
+ reject: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
318
320
  if (this.options.backtrack_lexer) {
319
321
  this._backtrack = true;
320
322
  } else {
@@ -327,16 +329,16 @@ var parser = function() {
327
329
  return this;
328
330
  }, "reject"),
329
331
  // retain first n characters of the match
330
- less: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(n) {
332
+ less: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(n) {
331
333
  this.unput(this.match.slice(n));
332
334
  }, "less"),
333
335
  // displays already matched input, i.e. for error messages
334
- pastInput: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
336
+ pastInput: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
335
337
  var past = this.matched.substr(0, this.matched.length - this.match.length);
336
338
  return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
337
339
  }, "pastInput"),
338
340
  // displays upcoming input, i.e. for error messages
339
- upcomingInput: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
341
+ upcomingInput: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
340
342
  var next = this.match;
341
343
  if (next.length < 20) {
342
344
  next += this._input.substr(0, 20 - next.length);
@@ -344,13 +346,13 @@ var parser = function() {
344
346
  return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
345
347
  }, "upcomingInput"),
346
348
  // displays the character position where the lexing error occurred, i.e. for error messages
347
- showPosition: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
349
+ showPosition: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
348
350
  var pre = this.pastInput();
349
351
  var c = new Array(pre.length + 1).join("-");
350
352
  return pre + this.upcomingInput() + "\n" + c + "^";
351
353
  }, "showPosition"),
352
354
  // test the lexed token: return FALSE when not a match, otherwise return token
353
- test_match: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(match, indexed_rule) {
355
+ test_match: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(match, indexed_rule) {
354
356
  var token, lines, backup;
355
357
  if (this.options.backtrack_lexer) {
356
358
  backup = {
@@ -413,7 +415,7 @@ var parser = function() {
413
415
  return false;
414
416
  }, "test_match"),
415
417
  // return next match in input
416
- next: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
418
+ next: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
417
419
  if (this.done) {
418
420
  return this.EOF;
419
421
  }
@@ -464,7 +466,7 @@ var parser = function() {
464
466
  }
465
467
  }, "next"),
466
468
  // return next match that has a token
467
- lex: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function lex() {
469
+ lex: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function lex() {
468
470
  var r = this.next();
469
471
  if (r) {
470
472
  return r;
@@ -473,11 +475,11 @@ var parser = function() {
473
475
  }
474
476
  }, "lex"),
475
477
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
476
- begin: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function begin(condition) {
478
+ begin: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function begin(condition) {
477
479
  this.conditionStack.push(condition);
478
480
  }, "begin"),
479
481
  // pop the previously active lexer condition state off the condition stack
480
- popState: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function popState() {
482
+ popState: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function popState() {
481
483
  var n = this.conditionStack.length - 1;
482
484
  if (n > 0) {
483
485
  return this.conditionStack.pop();
@@ -486,7 +488,7 @@ var parser = function() {
486
488
  }
487
489
  }, "popState"),
488
490
  // produce the lexer rule set which is active for the currently active lexer condition state
489
- _currentRules: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function _currentRules() {
491
+ _currentRules: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function _currentRules() {
490
492
  if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
491
493
  return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
492
494
  } else {
@@ -494,7 +496,7 @@ var parser = function() {
494
496
  }
495
497
  }, "_currentRules"),
496
498
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
497
- topState: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function topState(n) {
499
+ topState: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function topState(n) {
498
500
  n = this.conditionStack.length - 1 - Math.abs(n || 0);
499
501
  if (n >= 0) {
500
502
  return this.conditionStack[n];
@@ -503,15 +505,15 @@ var parser = function() {
503
505
  }
504
506
  }, "topState"),
505
507
  // alias for begin(condition)
506
- pushState: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function pushState(condition) {
508
+ pushState: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function pushState(condition) {
507
509
  this.begin(condition);
508
510
  }, "pushState"),
509
511
  // return the number of states currently on the stack
510
- stateStackSize: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function stateStackSize() {
512
+ stateStackSize: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function stateStackSize() {
511
513
  return this.conditionStack.length;
512
514
  }, "stateStackSize"),
513
515
  options: { "case-insensitive": true },
514
- performAction: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
516
+ performAction: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
515
517
  var YYSTATE = YY_START;
516
518
  switch ($avoiding_name_collisions) {
517
519
  case 0:
@@ -573,26 +575,26 @@ var parser = function() {
573
575
  break;
574
576
  }
575
577
  }, "anonymous"),
576
- 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]+)/i, /^(?:[^#:\n]+)/i, /^(?:$)/i, /^(?:.)/i],
578
+ 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],
577
579
  conditions: { "acc_descr_multiline": { "rules": [12, 13], "inclusive": false }, "acc_descr": { "rules": [10], "inclusive": false }, "acc_title": { "rules": [8], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18], "inclusive": true } }
578
580
  };
579
581
  return lexer2;
580
- }();
582
+ })();
581
583
  parser2.lexer = lexer;
582
584
  function Parser() {
583
585
  this.yy = {};
584
586
  }
585
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(Parser, "Parser");
587
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(Parser, "Parser");
586
588
  Parser.prototype = parser2;
587
589
  parser2.Parser = Parser;
588
590
  return new Parser();
589
- }();
591
+ })();
590
592
  parser.parser = parser;
591
593
  var timeline_default = parser;
592
594
 
593
595
  // src/diagrams/timeline/timelineDb.js
594
596
  var timelineDb_exports = {};
595
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__export */ .VA)(timelineDb_exports, {
597
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__export */ .VA)(timelineDb_exports, {
596
598
  addEvent: () => addEvent,
597
599
  addSection: () => addSection,
598
600
  addTask: () => addTask,
@@ -608,22 +610,22 @@ var currentTaskId = 0;
608
610
  var sections = [];
609
611
  var tasks = [];
610
612
  var rawTasks = [];
611
- var getCommonDb = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(() => _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .commonDb_exports */ .Wt, "getCommonDb");
612
- var clear2 = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
613
+ var getCommonDb = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(() => _chunk_ABZYJK2D_mjs__WEBPACK_IMPORTED_MODULE_0__/* .commonDb_exports */ .Wt, "getCommonDb");
614
+ var clear2 = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
613
615
  sections.length = 0;
614
616
  tasks.length = 0;
615
617
  currentSection = "";
616
618
  rawTasks.length = 0;
617
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .clear */ .IU)();
619
+ (0,_chunk_ABZYJK2D_mjs__WEBPACK_IMPORTED_MODULE_0__/* .clear */ .IU)();
618
620
  }, "clear");
619
- var addSection = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(txt) {
621
+ var addSection = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(txt) {
620
622
  currentSection = txt;
621
623
  sections.push(txt);
622
624
  }, "addSection");
623
- var getSections = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
625
+ var getSections = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
624
626
  return sections;
625
627
  }, "getSections");
626
- var getTasks = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
628
+ var getTasks = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
627
629
  let allItemsProcessed = compileTasks();
628
630
  const maxDepth = 100;
629
631
  let iterationCount = 0;
@@ -634,7 +636,7 @@ var getTasks = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0
634
636
  tasks.push(...rawTasks);
635
637
  return tasks;
636
638
  }, "getTasks");
637
- var addTask = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(period, length, event) {
639
+ var addTask = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(period, length, event) {
638
640
  const rawTask = {
639
641
  id: currentTaskId++,
640
642
  section: currentSection,
@@ -646,11 +648,11 @@ var addTask = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0_
646
648
  };
647
649
  rawTasks.push(rawTask);
648
650
  }, "addTask");
649
- var addEvent = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(event) {
651
+ var addEvent = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(event) {
650
652
  const currentTask = rawTasks.find((task) => task.id === currentTaskId - 1);
651
653
  currentTask.events.push(event);
652
654
  }, "addEvent");
653
- var addTaskOrg = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(descr) {
655
+ var addTaskOrg = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(descr) {
654
656
  const newTask = {
655
657
  section: currentSection,
656
658
  type: currentSection,
@@ -660,8 +662,8 @@ var addTaskOrg = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE
660
662
  };
661
663
  tasks.push(newTask);
662
664
  }, "addTaskOrg");
663
- var compileTasks = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
664
- const compileTask = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(pos) {
665
+ var compileTasks = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
666
+ const compileTask = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(pos) {
665
667
  return rawTasks[pos].processed;
666
668
  }, "compileTask");
667
669
  let allProcessed = true;
@@ -688,7 +690,7 @@ var timelineDb_default = {
688
690
  // src/diagrams/timeline/svgDraw.js
689
691
 
690
692
  var MAX_SECTIONS = 12;
691
- var drawRect = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, rectData) {
693
+ var drawRect = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, rectData) {
692
694
  const rectElem = elem.append("rect");
693
695
  rectElem.attr("x", rectData.x);
694
696
  rectElem.attr("y", rectData.y);
@@ -703,26 +705,26 @@ var drawRect = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0
703
705
  }
704
706
  return rectElem;
705
707
  }, "drawRect");
706
- var drawFace = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(element, faceData) {
708
+ var drawFace = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(element, faceData) {
707
709
  const radius = 15;
708
710
  const circleElement = element.append("circle").attr("cx", faceData.cx).attr("cy", faceData.cy).attr("class", "face").attr("r", radius).attr("stroke-width", 2).attr("overflow", "visible");
709
711
  const face = element.append("g");
710
712
  face.append("circle").attr("cx", faceData.cx - radius / 3).attr("cy", faceData.cy - radius / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
711
713
  face.append("circle").attr("cx", faceData.cx + radius / 3).attr("cy", faceData.cy - radius / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
712
714
  function smile(face2) {
713
- const arc = (0,d3__WEBPACK_IMPORTED_MODULE_1__/* .arc */ .JLW)().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
715
+ const arc = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .arc */ .JLW)().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
714
716
  face2.append("path").attr("class", "mouth").attr("d", arc).attr("transform", "translate(" + faceData.cx + "," + (faceData.cy + 2) + ")");
715
717
  }
716
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(smile, "smile");
718
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(smile, "smile");
717
719
  function sad(face2) {
718
- const arc = (0,d3__WEBPACK_IMPORTED_MODULE_1__/* .arc */ .JLW)().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
720
+ const arc = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .arc */ .JLW)().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2);
719
721
  face2.append("path").attr("class", "mouth").attr("d", arc).attr("transform", "translate(" + faceData.cx + "," + (faceData.cy + 7) + ")");
720
722
  }
721
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(sad, "sad");
723
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(sad, "sad");
722
724
  function ambivalent(face2) {
723
725
  face2.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", faceData.cx - 5).attr("y1", faceData.cy + 7).attr("x2", faceData.cx + 5).attr("y2", faceData.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
724
726
  }
725
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(ambivalent, "ambivalent");
727
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(ambivalent, "ambivalent");
726
728
  if (faceData.score > 3) {
727
729
  smile(face);
728
730
  } else if (faceData.score < 3) {
@@ -732,7 +734,7 @@ var drawFace = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0
732
734
  }
733
735
  return circleElement;
734
736
  }, "drawFace");
735
- var drawCircle = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(element, circleData) {
737
+ var drawCircle = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(element, circleData) {
736
738
  const circleElement = element.append("circle");
737
739
  circleElement.attr("cx", circleData.cx);
738
740
  circleElement.attr("cy", circleData.cy);
@@ -748,7 +750,7 @@ var drawCircle = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE
748
750
  }
749
751
  return circleElement;
750
752
  }, "drawCircle");
751
- var drawText = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, textData) {
753
+ var drawText = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, textData) {
752
754
  const nText = textData.text.replace(/<br\s*\/?>/gi, " ");
753
755
  const textElem = elem.append("text");
754
756
  textElem.attr("x", textData.x);
@@ -763,11 +765,11 @@ var drawText = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0
763
765
  span.text(nText);
764
766
  return textElem;
765
767
  }, "drawText");
766
- var drawLabel = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, txtObject) {
768
+ var drawLabel = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, txtObject) {
767
769
  function genPoints(x, y, width, height, cut) {
768
770
  return x + "," + y + " " + (x + width) + "," + y + " " + (x + width) + "," + (y + height - cut) + " " + (x + width - cut * 1.2) + "," + (y + height) + " " + x + "," + (y + height);
769
771
  }
770
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(genPoints, "genPoints");
772
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(genPoints, "genPoints");
771
773
  const polygon = elem.append("polygon");
772
774
  polygon.attr("points", genPoints(txtObject.x, txtObject.y, 50, 20, 7));
773
775
  polygon.attr("class", "labelBox");
@@ -775,7 +777,7 @@ var drawLabel = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_
775
777
  txtObject.x = txtObject.x + 0.5 * txtObject.labelMargin;
776
778
  drawText(elem, txtObject);
777
779
  }, "drawLabel");
778
- var drawSection = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, section, conf) {
780
+ var drawSection = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, section, conf) {
779
781
  const g = elem.append("g");
780
782
  const rect = getNoteRect();
781
783
  rect.x = section.x;
@@ -800,7 +802,7 @@ var drawSection = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODUL
800
802
  );
801
803
  }, "drawSection");
802
804
  var taskCount = -1;
803
- var drawTask = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, task, conf) {
805
+ var drawTask = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, task, conf) {
804
806
  const center = task.x + conf.width / 2;
805
807
  const g = elem.append("g");
806
808
  taskCount++;
@@ -833,7 +835,7 @@ var drawTask = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0
833
835
  task.colour
834
836
  );
835
837
  }, "drawTask");
836
- var drawBackgroundRect = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, bounds) {
838
+ var drawBackgroundRect = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, bounds) {
837
839
  const rectElem = drawRect(elem, {
838
840
  x: bounds.startx,
839
841
  y: bounds.starty,
@@ -844,7 +846,7 @@ var drawBackgroundRect = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTE
844
846
  });
845
847
  rectElem.lower();
846
848
  }, "drawBackgroundRect");
847
- var getTextObj = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
849
+ var getTextObj = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
848
850
  return {
849
851
  x: 0,
850
852
  y: 0,
@@ -857,7 +859,7 @@ var getTextObj = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE
857
859
  ry: 0
858
860
  };
859
861
  }, "getTextObj");
860
- var getNoteRect = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function() {
862
+ var getNoteRect = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
861
863
  return {
862
864
  x: 0,
863
865
  y: 0,
@@ -868,12 +870,12 @@ var getNoteRect = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODUL
868
870
  ry: 0
869
871
  };
870
872
  }, "getNoteRect");
871
- var _drawTextCandidateFunc = /* @__PURE__ */ function() {
873
+ var _drawTextCandidateFunc = /* @__PURE__ */ (function() {
872
874
  function byText(content, g, x, y, width, height, textAttrs, colour) {
873
875
  const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("font-color", colour).style("text-anchor", "middle").text(content);
874
876
  _setTextAttrs(text, textAttrs);
875
877
  }
876
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(byText, "byText");
878
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(byText, "byText");
877
879
  function byTspan(content, g, x, y, width, height, textAttrs, conf, colour) {
878
880
  const { taskFontSize, taskFontFamily } = conf;
879
881
  const lines = content.split(/<br\s*\/?>/gi);
@@ -885,7 +887,7 @@ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
885
887
  _setTextAttrs(text, textAttrs);
886
888
  }
887
889
  }
888
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(byTspan, "byTspan");
890
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(byTspan, "byTspan");
889
891
  function byFo(content, g, x, y, width, height, textAttrs, conf) {
890
892
  const body = g.append("switch");
891
893
  const f = body.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height).attr("position", "fixed");
@@ -894,7 +896,7 @@ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
894
896
  byTspan(content, body, x, y, width, height, textAttrs, conf);
895
897
  _setTextAttrs(text, textAttrs);
896
898
  }
897
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(byFo, "byFo");
899
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(byFo, "byFo");
898
900
  function _setTextAttrs(toText, fromTextAttrsDict) {
899
901
  for (const key in fromTextAttrsDict) {
900
902
  if (key in fromTextAttrsDict) {
@@ -902,17 +904,17 @@ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
902
904
  }
903
905
  }
904
906
  }
905
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(_setTextAttrs, "_setTextAttrs");
907
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(_setTextAttrs, "_setTextAttrs");
906
908
  return function(conf) {
907
909
  return conf.textPlacement === "fo" ? byFo : conf.textPlacement === "old" ? byText : byTspan;
908
910
  };
909
- }();
910
- var initGraphics = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(graphics) {
911
+ })();
912
+ var initGraphics = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(graphics) {
911
913
  graphics.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");
912
914
  }, "initGraphics");
913
915
  function wrap(text, width) {
914
916
  text.each(function() {
915
- var text2 = (0,d3__WEBPACK_IMPORTED_MODULE_1__/* .select */ .Ltv)(this), words = text2.text().split(/(\s+|<br>)/).reverse(), word, line = [], lineHeight = 1.1, y = text2.attr("y"), dy = parseFloat(text2.attr("dy")), tspan = text2.text(null).append("tspan").attr("x", 0).attr("y", y).attr("dy", dy + "em");
917
+ var text2 = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(this), words = text2.text().split(/(\s+|<br>)/).reverse(), word, line = [], lineHeight = 1.1, y = text2.attr("y"), dy = parseFloat(text2.attr("dy")), tspan = text2.text(null).append("tspan").attr("x", 0).attr("y", y).attr("dy", dy + "em");
916
918
  for (let j = 0; j < words.length; j++) {
917
919
  word = words[words.length - 1 - j];
918
920
  line.push(word);
@@ -930,8 +932,8 @@ function wrap(text, width) {
930
932
  }
931
933
  });
932
934
  }
933
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(wrap, "wrap");
934
- var drawNode = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, node, fullSection, conf) {
935
+ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(wrap, "wrap");
936
+ var drawNode = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, node, fullSection, conf) {
935
937
  const section = fullSection % MAX_SECTIONS - 1;
936
938
  const nodeElem = elem.append("g");
937
939
  node.section = section;
@@ -951,7 +953,7 @@ var drawNode = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0
951
953
  defaultBkg(bkgElem, node, section, conf);
952
954
  return node;
953
955
  }, "drawNode");
954
- var getVirtualNodeHeight = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, node, conf) {
956
+ var getVirtualNodeHeight = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, node, conf) {
955
957
  const textElem = elem.append("g");
956
958
  const txt = textElem.append("text").text(node.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(wrap, node.width);
957
959
  const bbox = txt.node().getBBox();
@@ -959,7 +961,7 @@ var getVirtualNodeHeight = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPOR
959
961
  textElem.remove();
960
962
  return bbox.height + fontSize * 1.1 * 0.5 + node.padding;
961
963
  }, "getVirtualNodeHeight");
962
- var defaultBkg = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(elem, node, section) {
964
+ var defaultBkg = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(elem, node, section) {
963
965
  const rd = 5;
964
966
  elem.append("path").attr("id", "node-" + node.id).attr("class", "node-bkg node-" + node.type).attr(
965
967
  "d",
@@ -983,24 +985,24 @@ var svgDraw_default = {
983
985
  };
984
986
 
985
987
  // src/diagrams/timeline/timelineRenderer.ts
986
- var draw = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(text, id, version, diagObj) {
987
- const conf = (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .getConfig2 */ .D7)();
988
- const LEFT_MARGIN = conf.leftMargin ?? 50;
989
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("timeline", diagObj.db);
988
+ var draw = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(text, id, version, diagObj) {
989
+ const conf = (0,_chunk_ABZYJK2D_mjs__WEBPACK_IMPORTED_MODULE_0__/* .getConfig2 */ .D7)();
990
+ const LEFT_MARGIN = conf.timeline?.leftMargin ?? 50;
991
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("timeline", diagObj.db);
990
992
  const securityLevel = conf.securityLevel;
991
993
  let sandboxElement;
992
994
  if (securityLevel === "sandbox") {
993
- sandboxElement = (0,d3__WEBPACK_IMPORTED_MODULE_1__/* .select */ .Ltv)("#i" + id);
995
+ sandboxElement = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)("#i" + id);
994
996
  }
995
- const root = securityLevel === "sandbox" ? (0,d3__WEBPACK_IMPORTED_MODULE_1__/* .select */ .Ltv)(sandboxElement.nodes()[0].contentDocument.body) : (0,d3__WEBPACK_IMPORTED_MODULE_1__/* .select */ .Ltv)("body");
997
+ const root = securityLevel === "sandbox" ? (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(sandboxElement.nodes()[0].contentDocument.body) : (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)("body");
996
998
  const svg = root.select("#" + id);
997
999
  svg.append("g");
998
1000
  const tasks2 = diagObj.db.getTasks();
999
1001
  const title = diagObj.db.getCommonDb().getDiagramTitle();
1000
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("task", tasks2);
1002
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("task", tasks2);
1001
1003
  svgDraw_default.initGraphics(svg);
1002
1004
  const sections2 = diagObj.db.getSections();
1003
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("sections", sections2);
1005
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("sections", sections2);
1004
1006
  let maxSectionHeight = 0;
1005
1007
  let maxTaskHeight = 0;
1006
1008
  let depthY = 0;
@@ -1020,12 +1022,12 @@ var draw = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/*
1020
1022
  maxHeight: maxSectionHeight
1021
1023
  };
1022
1024
  const sectionHeight = svgDraw_default.getVirtualNodeHeight(svg, sectionNode, conf);
1023
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("sectionHeight before draw", sectionHeight);
1025
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("sectionHeight before draw", sectionHeight);
1024
1026
  maxSectionHeight = Math.max(maxSectionHeight, sectionHeight + 20);
1025
1027
  });
1026
1028
  let maxEventCount = 0;
1027
1029
  let maxEventLineLength = 0;
1028
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("tasks.length", tasks2.length);
1030
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("tasks.length", tasks2.length);
1029
1031
  for (const [i, task] of tasks2.entries()) {
1030
1032
  const taskNode = {
1031
1033
  number: i,
@@ -1036,7 +1038,7 @@ var draw = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/*
1036
1038
  maxHeight: maxTaskHeight
1037
1039
  };
1038
1040
  const taskHeight = svgDraw_default.getVirtualNodeHeight(svg, taskNode, conf);
1039
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("taskHeight before draw", taskHeight);
1041
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("taskHeight before draw", taskHeight);
1040
1042
  maxTaskHeight = Math.max(maxTaskHeight, taskHeight + 20);
1041
1043
  maxEventCount = Math.max(maxEventCount, task.events.length);
1042
1044
  let maxEventLineLengthTemp = 0;
@@ -1051,10 +1053,13 @@ var draw = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/*
1051
1053
  };
1052
1054
  maxEventLineLengthTemp += svgDraw_default.getVirtualNodeHeight(svg, eventNode, conf);
1053
1055
  }
1056
+ if (task.events.length > 0) {
1057
+ maxEventLineLengthTemp += (task.events.length - 1) * 10;
1058
+ }
1054
1059
  maxEventLineLength = Math.max(maxEventLineLength, maxEventLineLengthTemp);
1055
1060
  }
1056
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("maxSectionHeight before draw", maxSectionHeight);
1057
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("maxTaskHeight before draw", maxTaskHeight);
1061
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("maxSectionHeight before draw", maxSectionHeight);
1062
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("maxTaskHeight before draw", maxTaskHeight);
1058
1063
  if (sections2 && sections2.length > 0) {
1059
1064
  sections2.forEach((section) => {
1060
1065
  const tasksForSection = tasks2.filter((task) => task.section === section);
@@ -1066,10 +1071,10 @@ var draw = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/*
1066
1071
  padding: 20,
1067
1072
  maxHeight: maxSectionHeight
1068
1073
  };
1069
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("sectionNode", sectionNode);
1074
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("sectionNode", sectionNode);
1070
1075
  const sectionNodeWrapper = svg.append("g");
1071
1076
  const node = svgDraw_default.drawNode(sectionNodeWrapper, sectionNode, sectionNumber, conf);
1072
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("sectionNode output", node);
1077
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("sectionNode output", node);
1073
1078
  sectionNodeWrapper.attr("transform", `translate(${masterX}, ${sectionBeginY})`);
1074
1079
  masterY += maxSectionHeight + 50;
1075
1080
  if (tasksForSection.length > 0) {
@@ -1108,21 +1113,21 @@ var draw = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/*
1108
1113
  );
1109
1114
  }
1110
1115
  const box = svg.node().getBBox();
1111
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("bounds", box);
1116
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("bounds", box);
1112
1117
  if (title) {
1113
1118
  svg.append("text").text(title).attr("x", box.width / 2 - LEFT_MARGIN).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20);
1114
1119
  }
1115
1120
  depthY = hasSections ? maxSectionHeight + maxTaskHeight + 150 : maxTaskHeight + 100;
1116
1121
  const lineWrapper = svg.append("g").attr("class", "lineWrapper");
1117
1122
  lineWrapper.append("line").attr("x1", LEFT_MARGIN).attr("y1", depthY).attr("x2", box.width + 3 * LEFT_MARGIN).attr("y2", depthY).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
1118
- (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .setupGraphViewbox */ .ot)(
1123
+ (0,_chunk_ABZYJK2D_mjs__WEBPACK_IMPORTED_MODULE_0__/* .setupGraphViewbox */ .ot)(
1119
1124
  void 0,
1120
1125
  svg,
1121
1126
  conf.timeline?.padding ?? 50,
1122
1127
  conf.timeline?.useMaxWidth ?? false
1123
1128
  );
1124
1129
  }, "draw");
1125
- var drawTasks = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(diagram2, tasks2, sectionColor, masterX, masterY, maxTaskHeight, conf, maxEventCount, maxEventLineLength, maxSectionHeight, isWithoutSections) {
1130
+ var drawTasks = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(diagram2, tasks2, sectionColor, masterX, masterY, maxTaskHeight, conf, maxEventCount, maxEventLineLength, maxSectionHeight, isWithoutSections) {
1126
1131
  for (const task of tasks2) {
1127
1132
  const taskNode = {
1128
1133
  descr: task.task,
@@ -1132,11 +1137,11 @@ var drawTasks = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_
1132
1137
  padding: 20,
1133
1138
  maxHeight: maxTaskHeight
1134
1139
  };
1135
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("taskNode", taskNode);
1140
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("taskNode", taskNode);
1136
1141
  const taskWrapper = diagram2.append("g").attr("class", "taskWrapper");
1137
1142
  const node = svgDraw_default.drawNode(taskWrapper, taskNode, sectionColor, conf);
1138
1143
  const taskHeight = node.height;
1139
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("taskHeight after draw", taskHeight);
1144
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("taskHeight after draw", taskHeight);
1140
1145
  taskWrapper.attr("transform", `translate(${masterX}, ${masterY})`);
1141
1146
  maxTaskHeight = Math.max(maxTaskHeight, taskHeight);
1142
1147
  if (task.events) {
@@ -1145,10 +1150,7 @@ var drawTasks = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_
1145
1150
  masterY += 100;
1146
1151
  lineLength = lineLength + drawEvents(diagram2, task.events, sectionColor, masterX, masterY, conf);
1147
1152
  masterY -= 100;
1148
- lineWrapper.append("line").attr("x1", masterX + 190 / 2).attr("y1", masterY + maxTaskHeight).attr("x2", masterX + 190 / 2).attr(
1149
- "y2",
1150
- masterY + maxTaskHeight + (isWithoutSections ? maxTaskHeight : maxSectionHeight) + maxEventLineLength + 120
1151
- ).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
1153
+ lineWrapper.append("line").attr("x1", masterX + 190 / 2).attr("y1", masterY + maxTaskHeight).attr("x2", masterX + 190 / 2).attr("y2", masterY + maxTaskHeight + 100 + maxEventLineLength + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5");
1152
1154
  }
1153
1155
  masterX = masterX + 200;
1154
1156
  if (isWithoutSections && !conf.timeline?.disableMulticolor) {
@@ -1157,7 +1159,7 @@ var drawTasks = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_
1157
1159
  }
1158
1160
  masterY = masterY - 10;
1159
1161
  }, "drawTasks");
1160
- var drawEvents = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(function(diagram2, events, sectionColor, masterX, masterY, conf) {
1162
+ var drawEvents = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(diagram2, events, sectionColor, masterX, masterY, conf) {
1161
1163
  let maxEventHeight = 0;
1162
1164
  const eventBeginY = masterY;
1163
1165
  masterY = masterY + 100;
@@ -1170,7 +1172,7 @@ var drawEvents = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE
1170
1172
  padding: 20,
1171
1173
  maxHeight: 50
1172
1174
  };
1173
- _chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .log */ .Rm.debug("eventNode", eventNode);
1175
+ _chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("eventNode", eventNode);
1174
1176
  const eventWrapper = diagram2.append("g").attr("class", "eventWrapper");
1175
1177
  const node = svgDraw_default.drawNode(eventWrapper, eventNode, sectionColor, conf);
1176
1178
  const eventHeight = node.height;
@@ -1182,21 +1184,21 @@ var drawEvents = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE
1182
1184
  return maxEventHeight;
1183
1185
  }, "drawEvents");
1184
1186
  var timelineRenderer_default = {
1185
- setConf: /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)(() => {
1187
+ setConf: /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(() => {
1186
1188
  }, "setConf"),
1187
1189
  draw
1188
1190
  };
1189
1191
 
1190
1192
  // src/diagrams/timeline/styles.js
1191
1193
 
1192
- var genSections = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)((options) => {
1194
+ var genSections = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((options) => {
1193
1195
  let sections2 = "";
1194
1196
  for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
1195
1197
  options["lineColor" + i] = options["lineColor" + i] || options["cScaleInv" + i];
1196
- if ((0,khroma__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A)(options["lineColor" + i])) {
1197
- options["lineColor" + i] = (0,khroma__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)(options["lineColor" + i], 20);
1198
- } else {
1198
+ if ((0,khroma__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A)(options["lineColor" + i])) {
1199
1199
  options["lineColor" + i] = (0,khroma__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A)(options["lineColor" + i], 20);
1200
+ } else {
1201
+ options["lineColor" + i] = (0,khroma__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A)(options["lineColor" + i], 20);
1200
1202
  }
1201
1203
  }
1202
1204
  for (let i = 0; i < options.THEME_COLOR_LIMIT; i++) {
@@ -1237,7 +1239,7 @@ var genSections = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODUL
1237
1239
  }
1238
1240
  return sections2;
1239
1241
  }, "genSections");
1240
- var getStyles = /* @__PURE__ */ (0,_chunk_YTJNT7DU_mjs__WEBPACK_IMPORTED_MODULE_0__/* .__name */ .K2)((options) => `
1242
+ var getStyles = /* @__PURE__ */ (0,_chunk_AGHRB4JF_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((options) => `
1241
1243
  .edge {
1242
1244
  stroke-width: 3;
1243
1245
  }
@@ -1277,4 +1279,4 @@ var diagram = {
1277
1279
 
1278
1280
  };
1279
1281
  ;
1280
- //# sourceMappingURL=214.node.js.map
1282
+ //# sourceMappingURL=894.node.js.map