@kong-ui-public/documentation 1.5.10 → 1.5.11

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 (90) hide show
  1. package/dist/_baseUniq-BM5nBlUE-Bqq-876b.js +477 -0
  2. package/dist/{arc-B-ukyQgl-BIkl0oly.js → arc-Da5qnJCa-D1fJq9Ga.js} +14 -14
  3. package/dist/architecture-YZFGNWBL-CvR_VbsD-i8qH434J.js +6 -0
  4. package/dist/architectureDiagram-Q4EWVU46-DqiP7Rm1-CBe5jt7q.js +4694 -0
  5. package/dist/blockDiagram-DXYQGD6D-Dqw9F2Am-BLtGZalg.js +2304 -0
  6. package/dist/{c4Diagram-AAMF2YG6-CKwlop6T-biDHxtgF.js → c4Diagram-AHTNJAMY-D1CqyEQ6-B0R-a6pf.js} +740 -743
  7. package/dist/{channel-Da4OyhNU-CjtA-gzv.js → channel-C0HsK-iS-D8tJdRzv.js} +1 -1
  8. package/dist/{chunk-ANTBXLJU-CgMY7K4E-BDFVHt4k.js → chunk-4BX2VUAB-CkAjNgA_-Bs9A5Kfv.js} +1 -1
  9. package/dist/{chunk-JBRWN2VN-DGZEDqQT-C_bgxQXb.js → chunk-4TB4RGXK-BahB65Eg-ChDwOMia.js} +483 -393
  10. package/dist/{chunk-WVR4S24B-CqqZpXpd-DYcapnmX.js → chunk-55IACEB6-FAGpaDxG-BTfPS-CU.js} +1 -1
  11. package/dist/{chunk-NRVI72HA-Bk2QoSU4-C8BLG4Nn.js → chunk-EDXVE4YY-JJVh1SXw-B-sKHFur.js} +1 -1
  12. package/dist/{chunk-GLLZNHP4-BfObQGbx-D2i6EGF4.js → chunk-FMBD7UC4-CAMVhC3j-oHcHavNU.js} +1 -1
  13. package/dist/{chunk-LXBSTHXV-DDrUAnPm-BhQORC-M.js → chunk-OYMX7WX6-CUYLPicN-BOih3xeZ.js} +219 -206
  14. package/dist/{chunk-FHKO5MBM--0hzbho5-CD7UphLJ.js → chunk-QZHKN3VN-DludCzyb-DYJGn0Nm.js} +1 -1
  15. package/dist/chunk-YZCP3GAM-D78rBxvk-E0y6EYmh.js +68 -0
  16. package/dist/{classDiagram-3BZAVTQC-BieGHK_n-DKk2Tasm.js → classDiagram-6PBFFD2Q-DImmr9bN-Ipdf4BlS.js} +2 -2
  17. package/dist/{classDiagram-v2-QTMF73CY-BieGHK_n-DKk2Tasm.js → classDiagram-v2-HSJHXN6E-DImmr9bN-Ipdf4BlS.js} +2 -2
  18. package/dist/{clone-BQ4BCIVX-BtVSQfya.js → clone-CxV-_MWN-BTBOrYIK.js} +1 -1
  19. package/dist/cose-bilkent-S5V4N54A-B5XQcR33-C16znhn9.js +2608 -0
  20. package/dist/{cytoscape.esm-CjI2IsL8-DYIumutE.js → cytoscape.esm-BjnMFxuP-CWlRmT1g.js} +16 -13
  21. package/dist/{dagre-2BBEFEWP-sc2upYy7-rNXSQFNY.js → dagre-KV5264BT-PBiSm4y3-BP7huLbw.js} +19 -20
  22. package/dist/diagram-5BDNPKRD-Um_ME5I2-DLUwrd96.js +123 -0
  23. package/dist/diagram-G4DWMVQ6-BsTsajjz-Uehh1WWi.js +530 -0
  24. package/dist/{diagram-RP2FKANI-DabtWDGU-FmJgjY_V.js → diagram-MMDJMWI5-C5oqUzF8-gcpf6PNh.js} +67 -67
  25. package/dist/{diagram-GUPCWM2R-RSzJRmP4-5_ml5U5U.js → diagram-TYMM5635-CQxFzu44-Dx5KCUXW.js} +23 -23
  26. package/dist/documentation.es.js +1 -1
  27. package/dist/documentation.umd.js +1748 -1228
  28. package/dist/erDiagram-SMLLAGMA-23hRKyIy-B-dChHLQ.js +898 -0
  29. package/dist/flowDiagram-DWJPFMVM-BeSa8cQn-B2__M71K.js +1635 -0
  30. package/dist/ganttDiagram-T4ZO3ILL-ZC4a8MdR-tE42RGcp.js +2700 -0
  31. package/dist/gitGraph-7Q5UKJZL-DlY-5kQ6-CLY7BmsA.js +6 -0
  32. package/dist/gitGraphDiagram-UUTBAWPF-DXVZeOtJ-CWWgOrKv.js +828 -0
  33. package/dist/graph-WBvyJJXo-BBnBDARn.js +738 -0
  34. package/dist/{index-DeBlJN4f.js → index-Bh-wTBlD.js} +16761 -15853
  35. package/dist/info-OMHHGYJF-RTXqsfQC-DrfqfklB.js +6 -0
  36. package/dist/infoDiagram-42DDH7IO-BZdpI3Rt-l8iFfMFP.js +24 -0
  37. package/dist/ishikawaDiagram-UXIWVN3A-DvYKV3c4-BPgCxTOl.js +622 -0
  38. package/dist/journeyDiagram-VCZTEJTY-C2ry_hWi-DI5GD7uG.js +834 -0
  39. package/dist/{kanban-definition-KOZQBZVT-BcgyR947-u-ThSWpr.js → kanban-definition-6JOO6SKY-CY_QsIlW-OqXNCY1p.js} +163 -158
  40. package/dist/{katex-C0Lgw_Sx-CbX2I1cQ.js → katex-CX_HYDAq-_-dpIk5k.js} +3261 -3333
  41. package/dist/layout-DzPx9mR5-CHbk03j2.js +1438 -0
  42. package/dist/{linear-Bkwca0xU-DC0DlB3Q.js → linear-h6L3lVRp-DOzK9CUG.js} +1 -1
  43. package/dist/mermaid-parser.core-DtLRLmJt-Bs8fzU82.js +18375 -0
  44. package/dist/min-hEQogXjh-DyJPZJjb.js +38 -0
  45. package/dist/mindmap-definition-QFDTVHPH-DtiyxxYL-DUl1WEb7.js +836 -0
  46. package/dist/packet-4T2RLAQJ-Di7zpGDk-UtQRvAVW.js +6 -0
  47. package/dist/pie-ZZUOXDRM-CXos-t2G-BFyC-RaB.js +6 -0
  48. package/dist/pieDiagram-DEJITSTG-D7gBkRMg-BBSz-kJB.js +164 -0
  49. package/dist/{quadrantDiagram-YPSRARAO-BQtyf3HP-D7rZGp1l.js → quadrantDiagram-34T5L4WZ-Cfwapd1Q-CS_lKY3k.js} +16 -16
  50. package/dist/radar-PYXPWWZC-D0dHj_5J-DO49D32P.js +6 -0
  51. package/dist/{requirementDiagram-EGVEC5DT-CnnVFZwh-D9sZFwwg.js → requirementDiagram-MS252O5E-Bimzbn3B-B-e5vK9F.js} +199 -167
  52. package/dist/{sankeyDiagram-HRAUVNP4-DnGkLEvt-DIAbJDNn.js → sankeyDiagram-XADWPNL6-B8rOSxDr-uYyl_iJz.js} +13 -13
  53. package/dist/sequenceDiagram-FGHM5R23-z1blPVFc-DxkfwOOg.js +2893 -0
  54. package/dist/stateDiagram-FHFEXIEX-Dvj2dUvd-CEjEPSzp.js +263 -0
  55. package/dist/{stateDiagram-v2-EYPG3UTE-CkraIkNs-DLA1w3a5.js → stateDiagram-v2-QKLJ7IA2-CEq8bJSN-BmK4dbQp.js} +2 -2
  56. package/dist/timeline-definition-GMOUNBTQ-CFbR3HDt-Dajv0gse.js +1066 -0
  57. package/dist/treeView-SZITEDCU-ZiyDRNdY-FcohlUhB.js +6 -0
  58. package/dist/treemap-W4RFUUIX-D-tfszYV-CkdYg79W.js +6 -0
  59. package/dist/vennDiagram-DHZGUBPP-DDPnvwIl-DLef8GZ-.js +1564 -0
  60. package/dist/wardley-RL74JXVD-CzW2PcVh-Bl64UM-9.js +6 -0
  61. package/dist/wardleyDiagram-NUSXRM2D-G2F05w5q-Dgb8afBt.js +603 -0
  62. package/dist/{xychartDiagram-FDP5SA34-C0od7xbm-JkA2XwsO.js → xychartDiagram-5P7HB3ND-DcvqnhIW-CQekuj1q.js} +286 -284
  63. package/package.json +2 -2
  64. package/dist/_basePickBy-By9oZA6R-C9Q3wZgc.js +0 -151
  65. package/dist/_baseUniq-aulxCrZg-DpgqVftQ.js +0 -614
  66. package/dist/architecture-U656AL7Q-D7FlR8mQ-CcoM0xmP.js +0 -6
  67. package/dist/architectureDiagram-KFL7JDKH-D2wQyXF3-DUIfKyBT.js +0 -4665
  68. package/dist/blockDiagram-ZYB65J3Q-BVrJ6Sru-CTSsbOHf.js +0 -2265
  69. package/dist/chunk-OMD6QJNC-Dw01cgI4-BX05x0MM.js +0 -64
  70. package/dist/diagram-4IRLE6MV-DhfS8dHC-BHYGYZis.js +0 -533
  71. package/dist/erDiagram-HZWUO2LU-DRB4Mbtv-CgU99FCL.js +0 -840
  72. package/dist/flowDiagram-THRYKUMA-Cca2217c-CyDxFUag.js +0 -1627
  73. package/dist/ganttDiagram-WV7ZQ7D5-T3W_JgZV-PlELdFB9.js +0 -2504
  74. package/dist/gitGraph-F6HP7TQM-CF97nS_M-Cds3-fO4.js +0 -6
  75. package/dist/gitGraphDiagram-OJR772UL-DxvQcvVZ-DsH5Tcqa.js +0 -712
  76. package/dist/graph-DM4yJZhA-Bbo6I0vd.js +0 -247
  77. package/dist/info-NVLQJR56-BIkzHNxa-PHtGLaWD.js +0 -6
  78. package/dist/infoDiagram-6WOFNB3A-rRqd7shu-DmCUCKD0.js +0 -24
  79. package/dist/journeyDiagram-FFXJYRFH-C9rjRycy-44BCKp7p.js +0 -834
  80. package/dist/layout-CDChcvw3-C4cdx174.js +0 -1321
  81. package/dist/mermaid-parser.core-DRkTy7co-D3k_lOFL.js +0 -12890
  82. package/dist/mindmap-definition-LNHGMQRG-Dzyqm5dG-BSHIrtY4.js +0 -3231
  83. package/dist/packet-BFZMPI3H-D2ECyuNX-BrLUxNwr.js +0 -6
  84. package/dist/pie-7BOR55EZ-DZrUX33b-DTRam8Zi.js +0 -6
  85. package/dist/pieDiagram-DBDJKBY4-Pbq0hYNc-BY63OUmy.js +0 -161
  86. package/dist/radar-NHE76QYJ-DRHdhW6w-DS2_BWvC.js +0 -6
  87. package/dist/sequenceDiagram-WFGC7UMF-ChsW9bN4-D52efQBS.js +0 -2283
  88. package/dist/stateDiagram-UUKSUZ4H-Cbf4sKeS-CW-kRLpc.js +0 -263
  89. package/dist/timeline-definition-3HZDQTIS-zCLLmQCc-B-r1pMne.js +0 -799
  90. package/dist/treemap-KMMF4GRG-BWdglwua-CKei-6bJ.js +0 -6
@@ -1,219 +1,219 @@
1
- import { a5 as gi, a6 as ui, ao as Xt, an as xi, a7 as di, a8 as pi, _ as a, l as Nt, aU as fi, aa as mi, at as yi, aC as Ct, ad as bi, aA as Ot, aB as Ai, bb as Si, bc as wi, bd as zt } from "./index-DeBlJN4f.js";
1
+ import { a7 as ui, a8 as gi, ap as Xt, ao as xi, a9 as di, aa as pi, _ as a, l as Ft, aU as fi, ab as mi, av as yi, aB as Ct, ae as bi, aD as Vt, aE as Ai, ba as Si, bb as wi, bc as Bt } from "./index-Bh-wTBlD.js";
2
2
  import { t as Ci } from "./init-DjUOC4st-C8Nwz6AJ.js";
3
3
  import { h as ki } from "./ordinal-DfAQgscy-BEJTu10r.js";
4
- import { f as Wt } from "./linear-Bkwca0xU-DC0DlB3Q.js";
4
+ import { f as Ot } from "./linear-h6L3lVRp-DOzK9CUG.js";
5
5
  function _i(t, i, e) {
6
6
  t = +t, i = +i, e = (h = arguments.length) < 2 ? (i = t, t = 0, 1) : h < 3 ? 1 : +e;
7
- for (var s = -1, h = Math.max(0, Math.ceil((i - t) / e)) | 0, x = new Array(h); ++s < h; )
8
- x[s] = t + s * e;
9
- return x;
7
+ for (var s = -1, h = Math.max(0, Math.ceil((i - t) / e)) | 0, g = new Array(h); ++s < h; )
8
+ g[s] = t + s * e;
9
+ return g;
10
10
  }
11
11
  function yt() {
12
- var t = ki().unknown(void 0), i = t.domain, e = t.range, s = 0, h = 1, x, u, f = !1, w = 0, R = 0, D = 0.5;
12
+ var t = ki().unknown(void 0), i = t.domain, e = t.range, s = 0, h = 1, g, u, p = !1, k = 0, D = 0, L = 0.5;
13
13
  delete t.unknown;
14
- function A() {
15
- var m = i().length, v = h < s, T = v ? h : s, L = v ? s : h;
16
- x = (L - T) / Math.max(1, m - w + R * 2), f && (x = Math.floor(x)), T += (L - T - x * (m - w)) * D, u = x * (1 - w), f && (T = Math.round(T), u = Math.round(u));
17
- var E = _i(m).map(function(p) {
18
- return T + x * p;
14
+ function w() {
15
+ var f = i().length, v = h < s, R = v ? h : s, P = v ? s : h;
16
+ g = (P - R) / Math.max(1, f - k + D * 2), p && (g = Math.floor(g)), R += (P - R - g * (f - k)) * L, u = g * (1 - k), p && (R = Math.round(R), u = Math.round(u));
17
+ var E = _i(f).map(function(d) {
18
+ return R + g * d;
19
19
  });
20
20
  return e(v ? E.reverse() : E);
21
21
  }
22
- return t.domain = function(m) {
23
- return arguments.length ? (i(m), A()) : i();
24
- }, t.range = function(m) {
25
- return arguments.length ? ([s, h] = m, s = +s, h = +h, A()) : [s, h];
26
- }, t.rangeRound = function(m) {
27
- return [s, h] = m, s = +s, h = +h, f = !0, A();
22
+ return t.domain = function(f) {
23
+ return arguments.length ? (i(f), w()) : i();
24
+ }, t.range = function(f) {
25
+ return arguments.length ? ([s, h] = f, s = +s, h = +h, w()) : [s, h];
26
+ }, t.rangeRound = function(f) {
27
+ return [s, h] = f, s = +s, h = +h, p = !0, w();
28
28
  }, t.bandwidth = function() {
29
29
  return u;
30
30
  }, t.step = function() {
31
- return x;
32
- }, t.round = function(m) {
33
- return arguments.length ? (f = !!m, A()) : f;
34
- }, t.padding = function(m) {
35
- return arguments.length ? (w = Math.min(1, R = +m), A()) : w;
36
- }, t.paddingInner = function(m) {
37
- return arguments.length ? (w = Math.min(1, m), A()) : w;
38
- }, t.paddingOuter = function(m) {
39
- return arguments.length ? (R = +m, A()) : R;
40
- }, t.align = function(m) {
41
- return arguments.length ? (D = Math.max(0, Math.min(1, m)), A()) : D;
31
+ return g;
32
+ }, t.round = function(f) {
33
+ return arguments.length ? (p = !!f, w()) : p;
34
+ }, t.padding = function(f) {
35
+ return arguments.length ? (k = Math.min(1, D = +f), w()) : k;
36
+ }, t.paddingInner = function(f) {
37
+ return arguments.length ? (k = Math.min(1, f), w()) : k;
38
+ }, t.paddingOuter = function(f) {
39
+ return arguments.length ? (D = +f, w()) : D;
40
+ }, t.align = function(f) {
41
+ return arguments.length ? (L = Math.max(0, Math.min(1, f)), w()) : L;
42
42
  }, t.copy = function() {
43
- return yt(i(), [s, h]).round(f).paddingInner(w).paddingOuter(R).align(D);
44
- }, Ci.apply(A(), arguments);
43
+ return yt(i(), [s, h]).round(p).paddingInner(k).paddingOuter(D).align(L);
44
+ }, Ci.apply(w(), arguments);
45
45
  }
46
46
  var bt = function() {
47
- var t = /* @__PURE__ */ a(function(z, o, c, g) {
48
- for (c = c || {}, g = z.length; g--; c[z[g]] = o) ;
49
- return c;
50
- }, "o"), i = [1, 10, 12, 14, 16, 18, 19, 21, 23], e = [2, 6], s = [1, 3], h = [1, 5], x = [1, 6], u = [1, 7], f = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], w = [1, 25], R = [1, 26], D = [1, 28], A = [1, 29], m = [1, 30], v = [1, 31], T = [1, 32], L = [1, 33], E = [1, 34], p = [1, 35], C = [1, 36], l = [1, 37], B = [1, 43], F = [1, 42], U = [1, 47], N = [1, 50], r = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], P = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], S = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], k = [1, 64], j = {
47
+ var t = /* @__PURE__ */ a(function(B, o, l, c) {
48
+ for (l = l || {}, c = B.length; c--; l[B[c]] = o) ;
49
+ return l;
50
+ }, "o"), i = [1, 10, 12, 14, 16, 18, 19, 21, 23], e = [2, 6], s = [1, 3], h = [1, 5], g = [1, 6], u = [1, 7], p = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], k = [1, 25], D = [1, 26], L = [1, 28], w = [1, 29], f = [1, 30], v = [1, 31], R = [1, 32], P = [1, 33], E = [1, 34], d = [1, 35], _ = [1, 36], r = [1, 37], W = [1, 43], X = [1, 42], F = [1, 47], V = [1, 50], S = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], H = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], m = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], A = [1, 64], M = {
51
51
  trace: /* @__PURE__ */ a(function() {
52
52
  }, "trace"),
53
53
  yy: {},
54
54
  symbols_: { error: 2, start: 3, eol: 4, XYCHART: 5, chartConfig: 6, document: 7, CHART_ORIENTATION: 8, statement: 9, title: 10, text: 11, X_AXIS: 12, parseXAxis: 13, Y_AXIS: 14, parseYAxis: 15, LINE: 16, plotData: 17, BAR: 18, acc_title: 19, acc_title_value: 20, acc_descr: 21, acc_descr_value: 22, acc_descr_multiline_value: 23, SQUARE_BRACES_START: 24, commaSeparatedNumbers: 25, SQUARE_BRACES_END: 26, NUMBER_WITH_DECIMAL: 27, COMMA: 28, xAxisData: 29, bandData: 30, ARROW_DELIMITER: 31, commaSeparatedTexts: 32, yAxisData: 33, NEWLINE: 34, SEMI: 35, EOF: 36, alphaNum: 37, STR: 38, MD_STR: 39, alphaNumToken: 40, AMP: 41, NUM: 42, ALPHA: 43, PLUS: 44, EQUALS: 45, MULT: 46, DOT: 47, BRKT: 48, MINUS: 49, UNDERSCORE: 50, $accept: 0, $end: 1 },
55
55
  terminals_: { 2: "error", 5: "XYCHART", 8: "CHART_ORIENTATION", 10: "title", 12: "X_AXIS", 14: "Y_AXIS", 16: "LINE", 18: "BAR", 19: "acc_title", 20: "acc_title_value", 21: "acc_descr", 22: "acc_descr_value", 23: "acc_descr_multiline_value", 24: "SQUARE_BRACES_START", 26: "SQUARE_BRACES_END", 27: "NUMBER_WITH_DECIMAL", 28: "COMMA", 31: "ARROW_DELIMITER", 34: "NEWLINE", 35: "SEMI", 36: "EOF", 38: "STR", 39: "MD_STR", 41: "AMP", 42: "NUM", 43: "ALPHA", 44: "PLUS", 45: "EQUALS", 46: "MULT", 47: "DOT", 48: "BRKT", 49: "MINUS", 50: "UNDERSCORE" },
56
56
  productions_: [0, [3, 2], [3, 3], [3, 2], [3, 1], [6, 1], [7, 0], [7, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 3], [9, 2], [9, 3], [9, 2], [9, 2], [9, 1], [17, 3], [25, 3], [25, 1], [13, 1], [13, 2], [13, 1], [29, 1], [29, 3], [30, 3], [32, 3], [32, 1], [15, 1], [15, 2], [15, 1], [33, 3], [4, 1], [4, 1], [4, 1], [11, 1], [11, 1], [11, 1], [37, 1], [37, 2], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1], [40, 1]],
57
- performAction: /* @__PURE__ */ a(function(z, o, c, g, b, n, I) {
58
- var d = n.length - 1;
59
- switch (b) {
57
+ performAction: /* @__PURE__ */ a(function(B, o, l, c, y, n, I) {
58
+ var x = n.length - 1;
59
+ switch (y) {
60
60
  case 5:
61
- g.setOrientation(n[d]);
61
+ c.setOrientation(n[x]);
62
62
  break;
63
63
  case 9:
64
- g.setDiagramTitle(n[d].text.trim());
64
+ c.setDiagramTitle(n[x].text.trim());
65
65
  break;
66
66
  case 12:
67
- g.setLineData({ text: "", type: "text" }, n[d]);
67
+ c.setLineData({ text: "", type: "text" }, n[x]);
68
68
  break;
69
69
  case 13:
70
- g.setLineData(n[d - 1], n[d]);
70
+ c.setLineData(n[x - 1], n[x]);
71
71
  break;
72
72
  case 14:
73
- g.setBarData({ text: "", type: "text" }, n[d]);
73
+ c.setBarData({ text: "", type: "text" }, n[x]);
74
74
  break;
75
75
  case 15:
76
- g.setBarData(n[d - 1], n[d]);
76
+ c.setBarData(n[x - 1], n[x]);
77
77
  break;
78
78
  case 16:
79
- this.$ = n[d].trim(), g.setAccTitle(this.$);
79
+ this.$ = n[x].trim(), c.setAccTitle(this.$);
80
80
  break;
81
81
  case 17:
82
82
  case 18:
83
- this.$ = n[d].trim(), g.setAccDescription(this.$);
83
+ this.$ = n[x].trim(), c.setAccDescription(this.$);
84
84
  break;
85
85
  case 19:
86
- this.$ = n[d - 1];
86
+ this.$ = n[x - 1];
87
87
  break;
88
88
  case 20:
89
- this.$ = [Number(n[d - 2]), ...n[d]];
89
+ this.$ = [Number(n[x - 2]), ...n[x]];
90
90
  break;
91
91
  case 21:
92
- this.$ = [Number(n[d])];
92
+ this.$ = [Number(n[x])];
93
93
  break;
94
94
  case 22:
95
- g.setXAxisTitle(n[d]);
95
+ c.setXAxisTitle(n[x]);
96
96
  break;
97
97
  case 23:
98
- g.setXAxisTitle(n[d - 1]);
98
+ c.setXAxisTitle(n[x - 1]);
99
99
  break;
100
100
  case 24:
101
- g.setXAxisTitle({ type: "text", text: "" });
101
+ c.setXAxisTitle({ type: "text", text: "" });
102
102
  break;
103
103
  case 25:
104
- g.setXAxisBand(n[d]);
104
+ c.setXAxisBand(n[x]);
105
105
  break;
106
106
  case 26:
107
- g.setXAxisRangeData(Number(n[d - 2]), Number(n[d]));
107
+ c.setXAxisRangeData(Number(n[x - 2]), Number(n[x]));
108
108
  break;
109
109
  case 27:
110
- this.$ = n[d - 1];
110
+ this.$ = n[x - 1];
111
111
  break;
112
112
  case 28:
113
- this.$ = [n[d - 2], ...n[d]];
113
+ this.$ = [n[x - 2], ...n[x]];
114
114
  break;
115
115
  case 29:
116
- this.$ = [n[d]];
116
+ this.$ = [n[x]];
117
117
  break;
118
118
  case 30:
119
- g.setYAxisTitle(n[d]);
119
+ c.setYAxisTitle(n[x]);
120
120
  break;
121
121
  case 31:
122
- g.setYAxisTitle(n[d - 1]);
122
+ c.setYAxisTitle(n[x - 1]);
123
123
  break;
124
124
  case 32:
125
- g.setYAxisTitle({ type: "text", text: "" });
125
+ c.setYAxisTitle({ type: "text", text: "" });
126
126
  break;
127
127
  case 33:
128
- g.setYAxisRangeData(Number(n[d - 2]), Number(n[d]));
128
+ c.setYAxisRangeData(Number(n[x - 2]), Number(n[x]));
129
129
  break;
130
130
  case 37:
131
- this.$ = { text: n[d], type: "text" };
131
+ this.$ = { text: n[x], type: "text" };
132
132
  break;
133
133
  case 38:
134
- this.$ = { text: n[d], type: "text" };
134
+ this.$ = { text: n[x], type: "text" };
135
135
  break;
136
136
  case 39:
137
- this.$ = { text: n[d], type: "markdown" };
137
+ this.$ = { text: n[x], type: "markdown" };
138
138
  break;
139
139
  case 40:
140
- this.$ = n[d];
140
+ this.$ = n[x];
141
141
  break;
142
142
  case 41:
143
- this.$ = n[d - 1] + "" + n[d];
143
+ this.$ = n[x - 1] + "" + n[x];
144
144
  break;
145
145
  }
146
146
  }, "anonymous"),
147
- table: [t(i, e, { 3: 1, 4: 2, 7: 4, 5: s, 34: h, 35: x, 36: u }), { 1: [3] }, t(i, e, { 4: 2, 7: 4, 3: 8, 5: s, 34: h, 35: x, 36: u }), t(i, e, { 4: 2, 7: 4, 6: 9, 3: 10, 5: s, 8: [1, 11], 34: h, 35: x, 36: u }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, t(f, [2, 34]), t(f, [2, 35]), t(f, [2, 36]), { 1: [2, 1] }, t(i, e, { 4: 2, 7: 4, 3: 21, 5: s, 34: h, 35: x, 36: u }), { 1: [2, 3] }, t(f, [2, 5]), t(i, [2, 7], { 4: 22, 34: h, 35: x, 36: u }), { 11: 23, 37: 24, 38: w, 39: R, 40: 27, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }, { 11: 39, 13: 38, 24: B, 27: F, 29: 40, 30: 41, 37: 24, 38: w, 39: R, 40: 27, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }, { 11: 45, 15: 44, 27: U, 33: 46, 37: 24, 38: w, 39: R, 40: 27, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }, { 11: 49, 17: 48, 24: N, 37: 24, 38: w, 39: R, 40: 27, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }, { 11: 52, 17: 51, 24: N, 37: 24, 38: w, 39: R, 40: 27, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }, { 20: [1, 53] }, { 22: [1, 54] }, t(r, [2, 18]), { 1: [2, 2] }, t(r, [2, 8]), t(r, [2, 9]), t(P, [2, 37], { 40: 55, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }), t(P, [2, 38]), t(P, [2, 39]), t(S, [2, 40]), t(S, [2, 42]), t(S, [2, 43]), t(S, [2, 44]), t(S, [2, 45]), t(S, [2, 46]), t(S, [2, 47]), t(S, [2, 48]), t(S, [2, 49]), t(S, [2, 50]), t(S, [2, 51]), t(r, [2, 10]), t(r, [2, 22], { 30: 41, 29: 56, 24: B, 27: F }), t(r, [2, 24]), t(r, [2, 25]), { 31: [1, 57] }, { 11: 59, 32: 58, 37: 24, 38: w, 39: R, 40: 27, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }, t(r, [2, 11]), t(r, [2, 30], { 33: 60, 27: U }), t(r, [2, 32]), { 31: [1, 61] }, t(r, [2, 12]), { 17: 62, 24: N }, { 25: 63, 27: k }, t(r, [2, 14]), { 17: 65, 24: N }, t(r, [2, 16]), t(r, [2, 17]), t(S, [2, 41]), t(r, [2, 23]), { 27: [1, 66] }, { 26: [1, 67] }, { 26: [2, 29], 28: [1, 68] }, t(r, [2, 31]), { 27: [1, 69] }, t(r, [2, 13]), { 26: [1, 70] }, { 26: [2, 21], 28: [1, 71] }, t(r, [2, 15]), t(r, [2, 26]), t(r, [2, 27]), { 11: 59, 32: 72, 37: 24, 38: w, 39: R, 40: 27, 41: D, 42: A, 43: m, 44: v, 45: T, 46: L, 47: E, 48: p, 49: C, 50: l }, t(r, [2, 33]), t(r, [2, 19]), { 25: 73, 27: k }, { 26: [2, 28] }, { 26: [2, 20] }],
147
+ table: [t(i, e, { 3: 1, 4: 2, 7: 4, 5: s, 34: h, 35: g, 36: u }), { 1: [3] }, t(i, e, { 4: 2, 7: 4, 3: 8, 5: s, 34: h, 35: g, 36: u }), t(i, e, { 4: 2, 7: 4, 6: 9, 3: 10, 5: s, 8: [1, 11], 34: h, 35: g, 36: u }), { 1: [2, 4], 9: 12, 10: [1, 13], 12: [1, 14], 14: [1, 15], 16: [1, 16], 18: [1, 17], 19: [1, 18], 21: [1, 19], 23: [1, 20] }, t(p, [2, 34]), t(p, [2, 35]), t(p, [2, 36]), { 1: [2, 1] }, t(i, e, { 4: 2, 7: 4, 3: 21, 5: s, 34: h, 35: g, 36: u }), { 1: [2, 3] }, t(p, [2, 5]), t(i, [2, 7], { 4: 22, 34: h, 35: g, 36: u }), { 11: 23, 37: 24, 38: k, 39: D, 40: 27, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }, { 11: 39, 13: 38, 24: W, 27: X, 29: 40, 30: 41, 37: 24, 38: k, 39: D, 40: 27, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }, { 11: 45, 15: 44, 27: F, 33: 46, 37: 24, 38: k, 39: D, 40: 27, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }, { 11: 49, 17: 48, 24: V, 37: 24, 38: k, 39: D, 40: 27, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }, { 11: 52, 17: 51, 24: V, 37: 24, 38: k, 39: D, 40: 27, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }, { 20: [1, 53] }, { 22: [1, 54] }, t(S, [2, 18]), { 1: [2, 2] }, t(S, [2, 8]), t(S, [2, 9]), t(H, [2, 37], { 40: 55, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }), t(H, [2, 38]), t(H, [2, 39]), t(m, [2, 40]), t(m, [2, 42]), t(m, [2, 43]), t(m, [2, 44]), t(m, [2, 45]), t(m, [2, 46]), t(m, [2, 47]), t(m, [2, 48]), t(m, [2, 49]), t(m, [2, 50]), t(m, [2, 51]), t(S, [2, 10]), t(S, [2, 22], { 30: 41, 29: 56, 24: W, 27: X }), t(S, [2, 24]), t(S, [2, 25]), { 31: [1, 57] }, { 11: 59, 32: 58, 37: 24, 38: k, 39: D, 40: 27, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }, t(S, [2, 11]), t(S, [2, 30], { 33: 60, 27: F }), t(S, [2, 32]), { 31: [1, 61] }, t(S, [2, 12]), { 17: 62, 24: V }, { 25: 63, 27: A }, t(S, [2, 14]), { 17: 65, 24: V }, t(S, [2, 16]), t(S, [2, 17]), t(m, [2, 41]), t(S, [2, 23]), { 27: [1, 66] }, { 26: [1, 67] }, { 26: [2, 29], 28: [1, 68] }, t(S, [2, 31]), { 27: [1, 69] }, t(S, [2, 13]), { 26: [1, 70] }, { 26: [2, 21], 28: [1, 71] }, t(S, [2, 15]), t(S, [2, 26]), t(S, [2, 27]), { 11: 59, 32: 72, 37: 24, 38: k, 39: D, 40: 27, 41: L, 42: w, 43: f, 44: v, 45: R, 46: P, 47: E, 48: d, 49: _, 50: r }, t(S, [2, 33]), t(S, [2, 19]), { 25: 73, 27: A }, { 26: [2, 28] }, { 26: [2, 20] }],
148
148
  defaultActions: { 8: [2, 1], 10: [2, 3], 21: [2, 2], 72: [2, 28], 73: [2, 20] },
149
- parseError: /* @__PURE__ */ a(function(z, o) {
149
+ parseError: /* @__PURE__ */ a(function(B, o) {
150
150
  if (o.recoverable)
151
- this.trace(z);
151
+ this.trace(B);
152
152
  else {
153
- var c = new Error(z);
154
- throw c.hash = o, c;
153
+ var l = new Error(B);
154
+ throw l.hash = o, l;
155
155
  }
156
156
  }, "parseError"),
157
- parse: /* @__PURE__ */ a(function(z) {
158
- var o = this, c = [0], g = [], b = [null], n = [], I = this.table, d = "", q = 0, Et = 0, oi = 2, It = 1, ri = n.slice.call(arguments, 1), _ = Object.create(this.lexer), V = { yy: {} };
157
+ parse: /* @__PURE__ */ a(function(B) {
158
+ var o = this, l = [0], c = [], y = [null], n = [], I = this.table, x = "", q = 0, Et = 0, hi = 2, It = 1, ri = n.slice.call(arguments, 1), T = Object.create(this.lexer), U = { yy: {} };
159
159
  for (var at in this.yy)
160
- Object.prototype.hasOwnProperty.call(this.yy, at) && (V.yy[at] = this.yy[at]);
161
- _.setInput(z, V.yy), V.yy.lexer = _, V.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
162
- var nt = _.yylloc;
160
+ Object.prototype.hasOwnProperty.call(this.yy, at) && (U.yy[at] = this.yy[at]);
161
+ T.setInput(B, U.yy), U.yy.lexer = T, U.yy.parser = this, typeof T.yylloc > "u" && (T.yylloc = {});
162
+ var nt = T.yylloc;
163
163
  n.push(nt);
164
- var li = _.options && _.options.ranges;
165
- typeof V.yy.parseError == "function" ? this.parseError = V.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
166
- function ci(M) {
167
- c.length = c.length - 2 * M, b.length = b.length - M, n.length = n.length - M;
164
+ var li = T.options && T.options.ranges;
165
+ typeof U.yy.parseError == "function" ? this.parseError = U.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
166
+ function ci(O) {
167
+ l.length = l.length - 2 * O, y.length = y.length - O, n.length = n.length - O;
168
168
  }
169
169
  a(ci, "popStack");
170
170
  function $t() {
171
- var M;
172
- return M = g.pop() || _.lex() || It, typeof M != "number" && (M instanceof Array && (g = M, M = g.pop()), M = o.symbols_[M] || M), M;
171
+ var O;
172
+ return O = c.pop() || T.lex() || It, typeof O != "number" && (O instanceof Array && (c = O, O = c.pop()), O = o.symbols_[O] || O), O;
173
173
  }
174
174
  a($t, "lex");
175
- for (var $, Y, W, ht, H = {}, tt, X, Mt, it; ; ) {
176
- if (Y = c[c.length - 1], this.defaultActions[Y] ? W = this.defaultActions[Y] : (($ === null || typeof $ > "u") && ($ = $t()), W = I[Y] && I[Y][$]), typeof W > "u" || !W.length || !W[0]) {
177
- var ot = "";
175
+ for (var $, j, z, ot, Q = {}, tt, Y, Mt, it; ; ) {
176
+ if (j = l[l.length - 1], this.defaultActions[j] ? z = this.defaultActions[j] : (($ === null || typeof $ > "u") && ($ = $t()), z = I[j] && I[j][$]), typeof z > "u" || !z.length || !z[0]) {
177
+ var ht = "";
178
178
  it = [];
179
- for (tt in I[Y])
180
- this.terminals_[tt] && tt > oi && it.push("'" + this.terminals_[tt] + "'");
181
- _.showPosition ? ot = "Parse error on line " + (q + 1) + `:
182
- ` + _.showPosition() + `
183
- Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot = "Parse error on line " + (q + 1) + ": Unexpected " + ($ == It ? "end of input" : "'" + (this.terminals_[$] || $) + "'"), this.parseError(ot, {
184
- text: _.match,
179
+ for (tt in I[j])
180
+ this.terminals_[tt] && tt > hi && it.push("'" + this.terminals_[tt] + "'");
181
+ T.showPosition ? ht = "Parse error on line " + (q + 1) + `:
182
+ ` + T.showPosition() + `
183
+ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ht = "Parse error on line " + (q + 1) + ": Unexpected " + ($ == It ? "end of input" : "'" + (this.terminals_[$] || $) + "'"), this.parseError(ht, {
184
+ text: T.match,
185
185
  token: this.terminals_[$] || $,
186
- line: _.yylineno,
186
+ line: T.yylineno,
187
187
  loc: nt,
188
188
  expected: it
189
189
  });
190
190
  }
191
- if (W[0] instanceof Array && W.length > 1)
192
- throw new Error("Parse Error: multiple actions possible at state: " + Y + ", token: " + $);
193
- switch (W[0]) {
191
+ if (z[0] instanceof Array && z.length > 1)
192
+ throw new Error("Parse Error: multiple actions possible at state: " + j + ", token: " + $);
193
+ switch (z[0]) {
194
194
  case 1:
195
- c.push($), b.push(_.yytext), n.push(_.yylloc), c.push(W[1]), $ = null, Et = _.yyleng, d = _.yytext, q = _.yylineno, nt = _.yylloc;
195
+ l.push($), y.push(T.yytext), n.push(T.yylloc), l.push(z[1]), $ = null, Et = T.yyleng, x = T.yytext, q = T.yylineno, nt = T.yylloc;
196
196
  break;
197
197
  case 2:
198
- if (X = this.productions_[W[1]][1], H.$ = b[b.length - X], H._$ = {
199
- first_line: n[n.length - (X || 1)].first_line,
198
+ if (Y = this.productions_[z[1]][1], Q.$ = y[y.length - Y], Q._$ = {
199
+ first_line: n[n.length - (Y || 1)].first_line,
200
200
  last_line: n[n.length - 1].last_line,
201
- first_column: n[n.length - (X || 1)].first_column,
201
+ first_column: n[n.length - (Y || 1)].first_column,
202
202
  last_column: n[n.length - 1].last_column
203
- }, li && (H._$.range = [
204
- n[n.length - (X || 1)].range[0],
203
+ }, li && (Q._$.range = [
204
+ n[n.length - (Y || 1)].range[0],
205
205
  n[n.length - 1].range[1]
206
- ]), ht = this.performAction.apply(H, [
207
- d,
206
+ ]), ot = this.performAction.apply(Q, [
207
+ x,
208
208
  Et,
209
209
  q,
210
- V.yy,
211
- W[1],
212
- b,
210
+ U.yy,
211
+ z[1],
212
+ y,
213
213
  n
214
- ].concat(ri)), typeof ht < "u")
215
- return ht;
216
- X && (c = c.slice(0, -1 * X * 2), b = b.slice(0, -1 * X), n = n.slice(0, -1 * X)), c.push(this.productions_[W[1]][0]), b.push(H.$), n.push(H._$), Mt = I[c[c.length - 2]][c[c.length - 1]], c.push(Mt);
214
+ ].concat(ri)), typeof ot < "u")
215
+ return ot;
216
+ Y && (l = l.slice(0, -1 * Y * 2), y = y.slice(0, -1 * Y), n = n.slice(0, -1 * Y)), l.push(this.productions_[z[1]][0]), y.push(Q.$), n.push(Q._$), Mt = I[l[l.length - 2]][l[l.length - 1]], l.push(Mt);
217
217
  break;
218
218
  case 3:
219
219
  return !0;
@@ -221,18 +221,18 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot =
221
221
  }
222
222
  return !0;
223
223
  }, "parse")
224
- }, J = /* @__PURE__ */ function() {
225
- var z = {
224
+ }, C = /* @__PURE__ */ function() {
225
+ var B = {
226
226
  EOF: 1,
227
- parseError: /* @__PURE__ */ a(function(o, c) {
227
+ parseError: /* @__PURE__ */ a(function(o, l) {
228
228
  if (this.yy.parser)
229
- this.yy.parser.parseError(o, c);
229
+ this.yy.parser.parseError(o, l);
230
230
  else
231
231
  throw new Error(o);
232
232
  }, "parseError"),
233
233
  // resets the lexer, sets new input
234
- setInput: /* @__PURE__ */ a(function(o, c) {
235
- return this.yy = c || this.yy || {}, this._input = o, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
234
+ setInput: /* @__PURE__ */ a(function(o, l) {
235
+ return this.yy = l || this.yy || {}, this._input = o, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
236
236
  first_line: 1,
237
237
  first_column: 0,
238
238
  last_line: 1,
@@ -243,22 +243,22 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot =
243
243
  input: /* @__PURE__ */ a(function() {
244
244
  var o = this._input[0];
245
245
  this.yytext += o, this.yyleng++, this.offset++, this.match += o, this.matched += o;
246
- var c = o.match(/(?:\r\n?|\n).*/g);
247
- return c ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
246
+ var l = o.match(/(?:\r\n?|\n).*/g);
247
+ return l ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
248
248
  }, "input"),
249
249
  // unshifts one char (or a string) into the input
250
250
  unput: /* @__PURE__ */ a(function(o) {
251
- var c = o.length, g = o.split(/(?:\r\n?|\n)/g);
252
- this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
253
- var b = this.match.split(/(?:\r\n?|\n)/g);
254
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), g.length - 1 && (this.yylineno -= g.length - 1);
251
+ var l = o.length, c = o.split(/(?:\r\n?|\n)/g);
252
+ this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - l), this.offset -= l;
253
+ var y = this.match.split(/(?:\r\n?|\n)/g);
254
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), c.length - 1 && (this.yylineno -= c.length - 1);
255
255
  var n = this.yylloc.range;
256
256
  return this.yylloc = {
257
257
  first_line: this.yylloc.first_line,
258
258
  last_line: this.yylineno + 1,
259
259
  first_column: this.yylloc.first_column,
260
- last_column: g ? (g.length === b.length ? this.yylloc.first_column : 0) + b[b.length - g.length].length - g[0].length : this.yylloc.first_column - c
261
- }, this.options.ranges && (this.yylloc.range = [n[0], n[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
260
+ last_column: c ? (c.length === y.length ? this.yylloc.first_column : 0) + y[y.length - c.length].length - c[0].length : this.yylloc.first_column - l
261
+ }, this.options.ranges && (this.yylloc.range = [n[0], n[0] + this.yyleng - l]), this.yyleng = this.yytext.length, this;
262
262
  }, "unput"),
263
263
  // When called from action, caches matched text and appends it on next action
264
264
  more: /* @__PURE__ */ a(function() {
@@ -293,13 +293,13 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot =
293
293
  }, "upcomingInput"),
294
294
  // displays the character position where the lexing error occurred, i.e. for error messages
295
295
  showPosition: /* @__PURE__ */ a(function() {
296
- var o = this.pastInput(), c = new Array(o.length + 1).join("-");
296
+ var o = this.pastInput(), l = new Array(o.length + 1).join("-");
297
297
  return o + this.upcomingInput() + `
298
- ` + c + "^";
298
+ ` + l + "^";
299
299
  }, "showPosition"),
300
300
  // test the lexed token: return FALSE when not a match, otherwise return token
301
- test_match: /* @__PURE__ */ a(function(o, c) {
302
- var g, b, n;
301
+ test_match: /* @__PURE__ */ a(function(o, l) {
302
+ var c, y, n;
303
303
  if (this.options.backtrack_lexer && (n = {
304
304
  yylineno: this.yylineno,
305
305
  yylloc: {
@@ -319,13 +319,13 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot =
319
319
  yy: this.yy,
320
320
  conditionStack: this.conditionStack.slice(0),
321
321
  done: this.done
322
- }, this.options.ranges && (n.yylloc.range = this.yylloc.range.slice(0))), b = o[0].match(/(?:\r\n?|\n).*/g), b && (this.yylineno += b.length), this.yylloc = {
322
+ }, this.options.ranges && (n.yylloc.range = this.yylloc.range.slice(0))), y = o[0].match(/(?:\r\n?|\n).*/g), y && (this.yylineno += y.length), this.yylloc = {
323
323
  first_line: this.yylloc.last_line,
324
324
  last_line: this.yylineno + 1,
325
325
  first_column: this.yylloc.last_column,
326
- last_column: b ? b[b.length - 1].length - b[b.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
327
- }, this.yytext += o[0], this.match += o[0], this.matches = o, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(o[0].length), this.matched += o[0], g = this.performAction.call(this, this.yy, this, c, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), g)
328
- return g;
326
+ last_column: y ? y[y.length - 1].length - y[y.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
327
+ }, this.yytext += o[0], this.match += o[0], this.matches = o, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(o[0].length), this.matched += o[0], c = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
328
+ return c;
329
329
  if (this._backtrack) {
330
330
  for (var I in n)
331
331
  this[I] = n[I];
@@ -338,22 +338,22 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot =
338
338
  if (this.done)
339
339
  return this.EOF;
340
340
  this._input || (this.done = !0);
341
- var o, c, g, b;
341
+ var o, l, c, y;
342
342
  this._more || (this.yytext = "", this.match = "");
343
343
  for (var n = this._currentRules(), I = 0; I < n.length; I++)
344
- if (g = this._input.match(this.rules[n[I]]), g && (!c || g[0].length > c[0].length)) {
345
- if (c = g, b = I, this.options.backtrack_lexer) {
346
- if (o = this.test_match(g, n[I]), o !== !1)
344
+ if (c = this._input.match(this.rules[n[I]]), c && (!l || c[0].length > l[0].length)) {
345
+ if (l = c, y = I, this.options.backtrack_lexer) {
346
+ if (o = this.test_match(c, n[I]), o !== !1)
347
347
  return o;
348
348
  if (this._backtrack) {
349
- c = !1;
349
+ l = !1;
350
350
  continue;
351
351
  } else
352
352
  return !1;
353
353
  } else if (!this.options.flex)
354
354
  break;
355
355
  }
356
- return c ? (o = this.test_match(c, n[b]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
356
+ return l ? (o = this.test_match(l, n[y]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
357
357
  ` + this.showPosition(), {
358
358
  text: "",
359
359
  token: null,
@@ -391,8 +391,8 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot =
391
391
  return this.conditionStack.length;
392
392
  }, "stateStackSize"),
393
393
  options: { "case-insensitive": !0 },
394
- performAction: /* @__PURE__ */ a(function(o, c, g, b) {
395
- switch (g) {
394
+ performAction: /* @__PURE__ */ a(function(o, l, c, y) {
395
+ switch (c) {
396
396
  case 0:
397
397
  break;
398
398
  case 1:
@@ -494,16 +494,16 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[$] || $) + "'" : ot =
494
494
  return 36;
495
495
  }
496
496
  }, "anonymous"),
497
- rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\{)/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:xychart\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
497
+ rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\})/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:xychart\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
498
498
  conditions: { data_inner: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, data: { rules: [0, 1, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 23, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_band_data: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_data: { rules: [0, 1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, title: { rules: [], inclusive: !1 }, md_string: { rules: [], inclusive: !1 }, string: { rules: [28, 29], inclusive: !1 }, INITIAL: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 } }
499
499
  };
500
- return z;
500
+ return B;
501
501
  }();
502
- j.lexer = J;
503
- function O() {
502
+ M.lexer = C;
503
+ function N() {
504
504
  this.yy = {};
505
505
  }
506
- return a(O, "Parser"), O.prototype = j, j.Parser = O, new O();
506
+ return a(N, "Parser"), N.prototype = M, M.Parser = N, new N();
507
507
  }();
508
508
  bt.parser = bt;
509
509
  var Ti = bt;
@@ -519,14 +519,14 @@ function G(t) {
519
519
  return t.type === "linear";
520
520
  }
521
521
  a(G, "isLinearAxisData");
522
- var rt, Vt = (rt = class {
522
+ var rt, Yt = (rt = class {
523
523
  constructor(t) {
524
524
  this.parentGroup = t;
525
525
  }
526
526
  getMaxDimension(t, i) {
527
527
  if (!this.parentGroup)
528
528
  return {
529
- width: t.reduce((h, x) => Math.max(x.length, h), 0) * i,
529
+ width: t.reduce((h, g) => Math.max(g.length, h), 0) * i,
530
530
  height: i
531
531
  };
532
532
  const e = {
@@ -534,12 +534,12 @@ var rt, Vt = (rt = class {
534
534
  height: 0
535
535
  }, s = this.parentGroup.append("g").attr("visibility", "hidden").attr("font-size", i);
536
536
  for (const h of t) {
537
- const x = wi(s, 1, h), u = x ? x.width : h.length * i, f = x ? x.height : i;
538
- e.width = Math.max(e.width, u), e.height = Math.max(e.height, f);
537
+ const g = wi(s, 1, h), u = g ? g.width : h.length * i, p = g ? g.height : i;
538
+ e.width = Math.max(e.width, u), e.height = Math.max(e.height, p);
539
539
  }
540
540
  return s.remove(), e;
541
541
  }
542
- }, a(rt, "TextDimensionCalculatorWithFont"), rt), Bt = 0.7, Ft = 0.2, lt, Yt = (lt = class {
542
+ }, a(rt, "TextDimensionCalculatorWithFont"), rt), Wt = 0.7, zt = 0.2, lt, Nt = (lt = class {
543
543
  constructor(t, i, e, s) {
544
544
  this.axisConfig = t, this.title = i, this.textDimensionCalculator = e, this.axisThemeConfig = s, this.boundingRect = { x: 0, y: 0, width: 0, height: 0 }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = { x: 0, y: 0, width: 0, height: 0 }, this.axisPosition = "left";
545
545
  }
@@ -566,12 +566,12 @@ var rt, Vt = (rt = class {
566
566
  );
567
567
  }
568
568
  recalculateOuterPaddingToDrawBar() {
569
- Bt * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(Bt * this.getTickDistance() / 2)), this.recalculateScale();
569
+ Wt * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(Wt * this.getTickDistance() / 2)), this.recalculateScale();
570
570
  }
571
571
  calculateSpaceIfDrawnHorizontally(t) {
572
572
  let i = t.height;
573
573
  if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
574
- const e = this.getLabelDimension(), s = Ft * t.width;
574
+ const e = this.getLabelDimension(), s = zt * t.width;
575
575
  this.outerPadding = Math.min(e.width / 2, s);
576
576
  const h = e.height + this.axisConfig.labelPadding * 2;
577
577
  this.labelTextHeight = e.height, h <= i && (i -= h, this.showLabel = !0);
@@ -588,7 +588,7 @@ var rt, Vt = (rt = class {
588
588
  calculateSpaceIfDrawnVertical(t) {
589
589
  let i = t.width;
590
590
  if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
591
- const e = this.getLabelDimension(), s = Ft * t.height;
591
+ const e = this.getLabelDimension(), s = zt * t.height;
592
592
  this.outerPadding = Math.min(e.height / 2, s);
593
593
  const h = e.width + this.axisConfig.labelPadding * 2;
594
594
  h <= i && (i -= h, this.showLabel = !0);
@@ -792,7 +792,7 @@ var rt, Vt = (rt = class {
792
792
  throw Error("Drawing of right axis is not implemented");
793
793
  return this.axisPosition === "bottom" ? this.getDrawableElementsForBottomAxis() : this.axisPosition === "top" ? this.getDrawableElementsForTopAxis() : [];
794
794
  }
795
- }, a(lt, "BaseAxis"), lt), ct, Ri = (ct = class extends Yt {
795
+ }, a(lt, "BaseAxis"), lt), ct, Ri = (ct = class extends Nt {
796
796
  constructor(t, i, e, s, h) {
797
797
  super(t, s, h, i), this.categories = e, this.scale = yt().domain(this.categories).range(this.getRange());
798
798
  }
@@ -800,7 +800,7 @@ var rt, Vt = (rt = class {
800
800
  super.setRange(t);
801
801
  }
802
802
  recalculateScale() {
803
- this.scale = yt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5), Nt.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
803
+ this.scale = yt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5), Ft.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
804
804
  }
805
805
  getTickValues() {
806
806
  return this.categories;
@@ -808,23 +808,23 @@ var rt, Vt = (rt = class {
808
808
  getScaleValue(t) {
809
809
  return this.scale(t) ?? this.getRange()[0];
810
810
  }
811
- }, a(ct, "BandAxis"), ct), gt, Di = (gt = class extends Yt {
811
+ }, a(ct, "BandAxis"), ct), ut, Di = (ut = class extends Nt {
812
812
  constructor(t, i, e, s, h) {
813
- super(t, s, h, i), this.domain = e, this.scale = Wt().domain(this.domain).range(this.getRange());
813
+ super(t, s, h, i), this.domain = e, this.scale = Ot().domain(this.domain).range(this.getRange());
814
814
  }
815
815
  getTickValues() {
816
816
  return this.scale.ticks();
817
817
  }
818
818
  recalculateScale() {
819
819
  const t = [...this.domain];
820
- this.axisPosition === "left" && t.reverse(), this.scale = Wt().domain(t).range(this.getRange());
820
+ this.axisPosition === "left" && t.reverse(), this.scale = Ot().domain(t).range(this.getRange());
821
821
  }
822
822
  getScaleValue(t) {
823
823
  return this.scale(t);
824
824
  }
825
- }, a(gt, "LinearAxis"), gt);
825
+ }, a(ut, "LinearAxis"), ut);
826
826
  function St(t, i, e, s) {
827
- const h = new Vt(s);
827
+ const h = new Yt(s);
828
828
  return kt(t) ? new Ri(
829
829
  i,
830
830
  e,
@@ -840,7 +840,7 @@ function St(t, i, e, s) {
840
840
  );
841
841
  }
842
842
  a(St, "getAxis");
843
- var ut, Li = (ut = class {
843
+ var gt, Li = (gt = class {
844
844
  constructor(t, i, e, s) {
845
845
  this.textDimensionCalculator = t, this.chartConfig = i, this.chartData = e, this.chartThemeConfig = s, this.boundingRect = {
846
846
  x: 0,
@@ -881,12 +881,12 @@ var ut, Li = (ut = class {
881
881
  ]
882
882
  }), t;
883
883
  }
884
- }, a(ut, "ChartTitle"), ut);
885
- function Ut(t, i, e, s) {
886
- const h = new Vt(s);
884
+ }, a(gt, "ChartTitle"), gt);
885
+ function Ht(t, i, e, s) {
886
+ const h = new Yt(s);
887
887
  return new Li(h, t, i, e);
888
888
  }
889
- a(Ut, "getChartTitleComponent");
889
+ a(Ht, "getChartTitleComponent");
890
890
  var xt, Pi = (xt = class {
891
891
  constructor(t, i, e, s, h) {
892
892
  this.plotData = t, this.xAxis = i, this.yAxis = e, this.orientation = s, this.plotIndex = h;
@@ -897,7 +897,7 @@ var xt, Pi = (xt = class {
897
897
  this.yAxis.getScaleValue(e[1])
898
898
  ]);
899
899
  let i;
900
- return this.orientation === "horizontal" ? i = zt().y((e) => e[0]).x((e) => e[1])(t) : i = zt().x((e) => e[0]).y((e) => e[1])(t), i ? [
900
+ return this.orientation === "horizontal" ? i = Bt().y((e) => e[0]).x((e) => e[1])(t) : i = Bt().x((e) => e[0]).y((e) => e[1])(t), i ? [
901
901
  {
902
902
  groupTexts: ["plot", `line-plot-${this.plotIndex}`],
903
903
  type: "path",
@@ -912,8 +912,8 @@ var xt, Pi = (xt = class {
912
912
  ] : [];
913
913
  }
914
914
  }, a(xt, "LinePlot"), xt), dt, vi = (dt = class {
915
- constructor(t, i, e, s, h, x) {
916
- this.barData = t, this.boundingRect = i, this.xAxis = e, this.yAxis = s, this.orientation = h, this.plotIndex = x;
915
+ constructor(t, i, e, s, h, g) {
916
+ this.barData = t, this.boundingRect = i, this.xAxis = e, this.yAxis = s, this.orientation = h, this.plotIndex = g;
917
917
  }
918
918
  getDrawableElement() {
919
919
  const t = this.barData.data.map((s) => [
@@ -1006,15 +1006,15 @@ var xt, Pi = (xt = class {
1006
1006
  return t;
1007
1007
  }
1008
1008
  }, a(pt, "BasePlot"), pt);
1009
- function Ht(t, i, e) {
1009
+ function Ut(t, i, e) {
1010
1010
  return new Ei(t, i, e);
1011
1011
  }
1012
- a(Ht, "getPlotComponent");
1012
+ a(Ut, "getPlotComponent");
1013
1013
  var ft, Ii = (ft = class {
1014
1014
  constructor(t, i, e, s) {
1015
1015
  this.chartConfig = t, this.chartData = i, this.componentStore = {
1016
- title: Ut(t, i, e, s),
1017
- plot: Ht(t, i, e),
1016
+ title: Ht(t, i, e, s),
1017
+ plot: Ut(t, i, e),
1018
1018
  xAxis: St(
1019
1019
  i.xAxis,
1020
1020
  t.xAxis,
@@ -1040,11 +1040,11 @@ var ft, Ii = (ft = class {
1040
1040
  };
1041
1041
  }
1042
1042
  calculateVerticalSpace() {
1043
- let t = this.chartConfig.width, i = this.chartConfig.height, e = 0, s = 0, h = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), x = Math.floor(
1043
+ let t = this.chartConfig.width, i = this.chartConfig.height, e = 0, s = 0, h = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), g = Math.floor(
1044
1044
  i * this.chartConfig.plotReservedSpacePercent / 100
1045
1045
  ), u = this.componentStore.plot.calculateSpace({
1046
1046
  width: h,
1047
- height: x
1047
+ height: g
1048
1048
  });
1049
1049
  t -= u.width, i -= u.height, u = this.componentStore.title.calculateSpace({
1050
1050
  width: this.chartConfig.width,
@@ -1055,31 +1055,31 @@ var ft, Ii = (ft = class {
1055
1055
  }), i -= u.height, this.componentStore.yAxis.setAxisPosition("left"), u = this.componentStore.yAxis.calculateSpace({
1056
1056
  width: t,
1057
1057
  height: i
1058
- }), e = u.width, t -= u.width, t > 0 && (h += t, t = 0), i > 0 && (x += i, i = 0), this.componentStore.plot.calculateSpace({
1058
+ }), e = u.width, t -= u.width, t > 0 && (h += t, t = 0), i > 0 && (g += i, i = 0), this.componentStore.plot.calculateSpace({
1059
1059
  width: h,
1060
- height: x
1061
- }), this.componentStore.plot.setBoundingBoxXY({ x: e, y: s }), this.componentStore.xAxis.setRange([e, e + h]), this.componentStore.xAxis.setBoundingBoxXY({ x: e, y: s + x }), this.componentStore.yAxis.setRange([s, s + x]), this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: s }), this.chartData.plots.some((f) => At(f)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1060
+ height: g
1061
+ }), this.componentStore.plot.setBoundingBoxXY({ x: e, y: s }), this.componentStore.xAxis.setRange([e, e + h]), this.componentStore.xAxis.setBoundingBoxXY({ x: e, y: s + g }), this.componentStore.yAxis.setRange([s, s + g]), this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: s }), this.chartData.plots.some((p) => At(p)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1062
1062
  }
1063
1063
  calculateHorizontalSpace() {
1064
- let t = this.chartConfig.width, i = this.chartConfig.height, e = 0, s = 0, h = 0, x = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), u = Math.floor(
1064
+ let t = this.chartConfig.width, i = this.chartConfig.height, e = 0, s = 0, h = 0, g = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), u = Math.floor(
1065
1065
  i * this.chartConfig.plotReservedSpacePercent / 100
1066
- ), f = this.componentStore.plot.calculateSpace({
1067
- width: x,
1066
+ ), p = this.componentStore.plot.calculateSpace({
1067
+ width: g,
1068
1068
  height: u
1069
1069
  });
1070
- t -= f.width, i -= f.height, f = this.componentStore.title.calculateSpace({
1070
+ t -= p.width, i -= p.height, p = this.componentStore.title.calculateSpace({
1071
1071
  width: this.chartConfig.width,
1072
1072
  height: i
1073
- }), e = f.height, i -= f.height, this.componentStore.xAxis.setAxisPosition("left"), f = this.componentStore.xAxis.calculateSpace({
1073
+ }), e = p.height, i -= p.height, this.componentStore.xAxis.setAxisPosition("left"), p = this.componentStore.xAxis.calculateSpace({
1074
1074
  width: t,
1075
1075
  height: i
1076
- }), t -= f.width, s = f.width, this.componentStore.yAxis.setAxisPosition("top"), f = this.componentStore.yAxis.calculateSpace({
1076
+ }), t -= p.width, s = p.width, this.componentStore.yAxis.setAxisPosition("top"), p = this.componentStore.yAxis.calculateSpace({
1077
1077
  width: t,
1078
1078
  height: i
1079
- }), i -= f.height, h = e + f.height, t > 0 && (x += t, t = 0), i > 0 && (u += i, i = 0), this.componentStore.plot.calculateSpace({
1080
- width: x,
1079
+ }), i -= p.height, h = e + p.height, t > 0 && (g += t, t = 0), i > 0 && (u += i, i = 0), this.componentStore.plot.calculateSpace({
1080
+ width: g,
1081
1081
  height: u
1082
- }), this.componentStore.plot.setBoundingBoxXY({ x: s, y: h }), this.componentStore.yAxis.setRange([s, s + x]), this.componentStore.yAxis.setBoundingBoxXY({ x: s, y: e }), this.componentStore.xAxis.setRange([h, h + u]), this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: h }), this.chartData.plots.some((w) => At(w)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1082
+ }), this.componentStore.plot.setBoundingBoxXY({ x: s, y: h }), this.componentStore.yAxis.setRange([s, s + g]), this.componentStore.yAxis.setBoundingBoxXY({ x: s, y: e }), this.componentStore.xAxis.setRange([h, h + u]), this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: h }), this.chartData.plots.some((k) => At(k)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
1083
1083
  }
1084
1084
  calculateSpace() {
1085
1085
  this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
@@ -1096,15 +1096,15 @@ var ft, Ii = (ft = class {
1096
1096
  static build(t, i, e, s) {
1097
1097
  return new Ii(t, i, e, s).getDrawableElement();
1098
1098
  }
1099
- }, a(mt, "XYChartBuilder"), mt), Q = 0, Gt, K = Rt(), Z = Tt(), y = Dt(), wt = Z.plotColorPalette.split(",").map((t) => t.trim()), et = !1, _t = !1;
1099
+ }, a(mt, "XYChartBuilder"), mt), K = 0, jt, Z = Rt(), J = Tt(), b = Dt(), wt = J.plotColorPalette.split(",").map((t) => t.trim()), et = !1, _t = !1;
1100
1100
  function Tt() {
1101
1101
  const t = Si(), i = Ct();
1102
- return Ot(t.xyChart, i.themeVariables.xyChart);
1102
+ return Vt(t.xyChart, i.themeVariables.xyChart);
1103
1103
  }
1104
1104
  a(Tt, "getChartDefaultThemeConfig");
1105
1105
  function Rt() {
1106
1106
  const t = Ct();
1107
- return Ot(
1107
+ return Vt(
1108
1108
  Ai.xyChart,
1109
1109
  t.xyChart
1110
1110
  );
@@ -1133,43 +1133,43 @@ function st(t) {
1133
1133
  return bi(t.trim(), i);
1134
1134
  }
1135
1135
  a(st, "textSanitizer");
1136
- function jt(t) {
1137
- Gt = t;
1138
- }
1139
- a(jt, "setTmpSVGG");
1140
1136
  function Qt(t) {
1141
- t === "horizontal" ? K.chartOrientation = "horizontal" : K.chartOrientation = "vertical";
1137
+ jt = t;
1138
+ }
1139
+ a(Qt, "setTmpSVGG");
1140
+ function Gt(t) {
1141
+ t === "horizontal" ? Z.chartOrientation = "horizontal" : Z.chartOrientation = "vertical";
1142
1142
  }
1143
- a(Qt, "setOrientation");
1143
+ a(Gt, "setOrientation");
1144
1144
  function Kt(t) {
1145
- y.xAxis.title = st(t.text);
1145
+ b.xAxis.title = st(t.text);
1146
1146
  }
1147
1147
  a(Kt, "setXAxisTitle");
1148
1148
  function Lt(t, i) {
1149
- y.xAxis = { type: "linear", title: y.xAxis.title, min: t, max: i }, et = !0;
1149
+ b.xAxis = { type: "linear", title: b.xAxis.title, min: t, max: i }, et = !0;
1150
1150
  }
1151
1151
  a(Lt, "setXAxisRangeData");
1152
1152
  function Zt(t) {
1153
- y.xAxis = {
1153
+ b.xAxis = {
1154
1154
  type: "band",
1155
- title: y.xAxis.title,
1155
+ title: b.xAxis.title,
1156
1156
  categories: t.map((i) => st(i.text))
1157
1157
  }, et = !0;
1158
1158
  }
1159
1159
  a(Zt, "setXAxisBand");
1160
1160
  function Jt(t) {
1161
- y.yAxis.title = st(t.text);
1161
+ b.yAxis.title = st(t.text);
1162
1162
  }
1163
1163
  a(Jt, "setYAxisTitle");
1164
1164
  function qt(t, i) {
1165
- y.yAxis = { type: "linear", title: y.yAxis.title, min: t, max: i }, _t = !0;
1165
+ b.yAxis = { type: "linear", title: b.yAxis.title, min: t, max: i }, _t = !0;
1166
1166
  }
1167
1167
  a(qt, "setYAxisRangeData");
1168
1168
  function ti(t) {
1169
- const i = Math.min(...t), e = Math.max(...t), s = G(y.yAxis) ? y.yAxis.min : 1 / 0, h = G(y.yAxis) ? y.yAxis.max : -1 / 0;
1170
- y.yAxis = {
1169
+ const i = Math.min(...t), e = Math.max(...t), s = G(b.yAxis) ? b.yAxis.min : 1 / 0, h = G(b.yAxis) ? b.yAxis.max : -1 / 0;
1170
+ b.yAxis = {
1171
1171
  type: "linear",
1172
- title: y.yAxis.title,
1172
+ title: b.yAxis.title,
1173
1173
  min: Math.min(s, i),
1174
1174
  max: Math.max(h, e)
1175
1175
  };
@@ -1180,14 +1180,14 @@ function Pt(t) {
1180
1180
  if (t.length === 0)
1181
1181
  return i;
1182
1182
  if (!et) {
1183
- const e = G(y.xAxis) ? y.xAxis.min : 1 / 0, s = G(y.xAxis) ? y.xAxis.max : -1 / 0;
1183
+ const e = G(b.xAxis) ? b.xAxis.min : 1 / 0, s = G(b.xAxis) ? b.xAxis.max : -1 / 0;
1184
1184
  Lt(Math.min(e, 1), Math.max(s, t.length));
1185
1185
  }
1186
- if (_t || ti(t), kt(y.xAxis) && (i = y.xAxis.categories.map((e, s) => [e, t[s]])), G(y.xAxis)) {
1187
- const e = y.xAxis.min, s = y.xAxis.max, h = (s - e) / (t.length - 1), x = [];
1186
+ if (_t || ti(t), kt(b.xAxis) && (i = b.xAxis.categories.map((e, s) => [e, t[s]])), G(b.xAxis)) {
1187
+ const e = b.xAxis.min, s = b.xAxis.max, h = (s - e) / (t.length - 1), g = [];
1188
1188
  for (let u = e; u <= s; u += h)
1189
- x.push(`${u}`);
1190
- i = x.map((u, f) => [u, t[f]]);
1189
+ g.push(`${u}`);
1190
+ i = g.map((u, p) => [u, t[p]]);
1191
1191
  }
1192
1192
  return i;
1193
1193
  }
@@ -1198,53 +1198,53 @@ function vt(t) {
1198
1198
  a(vt, "getPlotColorFromPalette");
1199
1199
  function ii(t, i) {
1200
1200
  const e = Pt(i);
1201
- y.plots.push({
1201
+ b.plots.push({
1202
1202
  type: "line",
1203
- strokeFill: vt(Q),
1203
+ strokeFill: vt(K),
1204
1204
  strokeWidth: 2,
1205
1205
  data: e
1206
- }), Q++;
1206
+ }), K++;
1207
1207
  }
1208
1208
  a(ii, "setLineData");
1209
1209
  function ei(t, i) {
1210
1210
  const e = Pt(i);
1211
- y.plots.push({
1211
+ b.plots.push({
1212
1212
  type: "bar",
1213
- fill: vt(Q),
1213
+ fill: vt(K),
1214
1214
  data: e
1215
- }), Q++;
1215
+ }), K++;
1216
1216
  }
1217
1217
  a(ei, "setBarData");
1218
1218
  function si() {
1219
- if (y.plots.length === 0)
1219
+ if (b.plots.length === 0)
1220
1220
  throw Error("No Plot to render, please provide a plot with some data");
1221
- return y.title = Xt(), $i.build(K, y, Z, Gt);
1221
+ return b.title = Xt(), $i.build(Z, b, J, jt);
1222
1222
  }
1223
1223
  a(si, "getDrawableElem");
1224
1224
  function ai() {
1225
- return Z;
1225
+ return J;
1226
1226
  }
1227
1227
  a(ai, "getChartThemeConfig");
1228
1228
  function ni() {
1229
- return K;
1229
+ return Z;
1230
1230
  }
1231
1231
  a(ni, "getChartConfig");
1232
- function hi() {
1233
- return y;
1232
+ function oi() {
1233
+ return b;
1234
1234
  }
1235
- a(hi, "getXYChartData");
1235
+ a(oi, "getXYChartData");
1236
1236
  var Mi = /* @__PURE__ */ a(function() {
1237
- yi(), Q = 0, K = Rt(), y = Dt(), Z = Tt(), wt = Z.plotColorPalette.split(",").map((t) => t.trim()), et = !1, _t = !1;
1238
- }, "clear"), zi = {
1237
+ yi(), K = 0, Z = Rt(), b = Dt(), J = Tt(), wt = J.plotColorPalette.split(",").map((t) => t.trim()), et = !1, _t = !1;
1238
+ }, "clear"), Bi = {
1239
1239
  getDrawableElem: si,
1240
1240
  clear: Mi,
1241
1241
  setAccTitle: pi,
1242
1242
  getAccTitle: di,
1243
1243
  setDiagramTitle: xi,
1244
1244
  getDiagramTitle: Xt,
1245
- getAccDescription: ui,
1246
- setAccDescription: gi,
1247
- setOrientation: Qt,
1245
+ getAccDescription: gi,
1246
+ setAccDescription: ui,
1247
+ setOrientation: Gt,
1248
1248
  setXAxisTitle: Kt,
1249
1249
  setXAxisRangeData: Lt,
1250
1250
  setXAxisBand: Zt,
@@ -1252,89 +1252,91 @@ var Mi = /* @__PURE__ */ a(function() {
1252
1252
  setYAxisRangeData: qt,
1253
1253
  setLineData: ii,
1254
1254
  setBarData: ei,
1255
- setTmpSVGG: jt,
1255
+ setTmpSVGG: Qt,
1256
1256
  getChartThemeConfig: ai,
1257
1257
  getChartConfig: ni,
1258
- getXYChartData: hi
1259
- }, Wi = /* @__PURE__ */ a((t, i, e, s) => {
1260
- const h = s.db, x = h.getChartThemeConfig(), u = h.getChartConfig(), f = h.getXYChartData().plots[0].data.map((p) => p[1]);
1261
- function w(p) {
1262
- return p === "top" ? "text-before-edge" : "middle";
1258
+ getXYChartData: oi
1259
+ }, Oi = /* @__PURE__ */ a((t, i, e, s) => {
1260
+ const h = s.db, g = h.getChartThemeConfig(), u = h.getChartConfig(), p = h.getXYChartData().plots[0].data.map((d) => d[1]);
1261
+ function k(d) {
1262
+ return d === "top" ? "text-before-edge" : "middle";
1263
1263
  }
1264
- a(w, "getDominantBaseLine");
1265
- function R(p) {
1266
- return p === "left" ? "start" : p === "right" ? "end" : "middle";
1264
+ a(k, "getDominantBaseLine");
1265
+ function D(d) {
1266
+ return d === "left" ? "start" : d === "right" ? "end" : "middle";
1267
1267
  }
1268
- a(R, "getTextAnchor");
1269
- function D(p) {
1270
- return `translate(${p.x}, ${p.y}) rotate(${p.rotation || 0})`;
1268
+ a(D, "getTextAnchor");
1269
+ function L(d) {
1270
+ return `translate(${d.x}, ${d.y}) rotate(${d.rotation || 0})`;
1271
1271
  }
1272
- a(D, "getTextTransformation"), Nt.debug(`Rendering xychart chart
1272
+ a(L, "getTextTransformation"), Ft.debug(`Rendering xychart chart
1273
1273
  ` + t);
1274
- const A = fi(i), m = A.append("g").attr("class", "main"), v = m.append("rect").attr("width", u.width).attr("height", u.height).attr("class", "background");
1275
- mi(A, u.height, u.width, !0), A.attr("viewBox", `0 0 ${u.width} ${u.height}`), v.attr("fill", x.backgroundColor), h.setTmpSVGG(A.append("g").attr("class", "mermaid-tmp-group"));
1276
- const T = h.getDrawableElem(), L = {};
1277
- function E(p) {
1278
- let C = m, l = "";
1279
- for (const [B] of p.entries()) {
1280
- let F = m;
1281
- B > 0 && L[l] && (F = L[l]), l += p[B], C = L[l], C || (C = L[l] = F.append("g").attr("class", p[B]));
1274
+ const w = fi(i), f = w.append("g").attr("class", "main"), v = f.append("rect").attr("width", u.width).attr("height", u.height).attr("class", "background");
1275
+ mi(w, u.height, u.width, !0), w.attr("viewBox", `0 0 ${u.width} ${u.height}`), v.attr("fill", g.backgroundColor), h.setTmpSVGG(w.append("g").attr("class", "mermaid-tmp-group"));
1276
+ const R = h.getDrawableElem(), P = {};
1277
+ function E(d) {
1278
+ let _ = f, r = "";
1279
+ for (const [W] of d.entries()) {
1280
+ let X = f;
1281
+ W > 0 && P[r] && (X = P[r]), r += d[W], _ = P[r], _ || (_ = P[r] = X.append("g").attr("class", d[W]));
1282
1282
  }
1283
- return C;
1283
+ return _;
1284
1284
  }
1285
1285
  a(E, "getGroup");
1286
- for (const p of T) {
1287
- if (p.data.length === 0)
1286
+ for (const d of R) {
1287
+ if (d.data.length === 0)
1288
1288
  continue;
1289
- const C = E(p.groupTexts);
1290
- switch (p.type) {
1289
+ const _ = E(d.groupTexts);
1290
+ switch (d.type) {
1291
1291
  case "rect":
1292
- if (C.selectAll("rect").data(p.data).enter().append("rect").attr("x", (l) => l.x).attr("y", (l) => l.y).attr("width", (l) => l.width).attr("height", (l) => l.height).attr("fill", (l) => l.fill).attr("stroke", (l) => l.strokeFill).attr("stroke-width", (l) => l.strokeWidth), u.showDataLabel)
1292
+ if (_.selectAll("rect").data(d.data).enter().append("rect").attr("x", (r) => r.x).attr("y", (r) => r.y).attr("width", (r) => r.width).attr("height", (r) => r.height).attr("fill", (r) => r.fill).attr("stroke", (r) => r.strokeFill).attr("stroke-width", (r) => r.strokeWidth), u.showDataLabel) {
1293
+ const r = u.showDataLabelOutsideBar;
1293
1294
  if (u.chartOrientation === "horizontal") {
1294
- let l = function(r, P) {
1295
- const { data: S, label: k } = r;
1296
- return P * k.length * B <= S.width - 10;
1295
+ let W = function(A, M) {
1296
+ const { data: C, label: N } = A;
1297
+ return M * N.length * X <= C.width - F;
1297
1298
  };
1298
- a(l, "fitsHorizontally");
1299
- const B = 0.7, F = p.data.map((r, P) => ({ data: r, label: f[P].toString() })).filter((r) => r.data.width > 0 && r.data.height > 0), U = F.map((r) => {
1300
- const { data: P } = r;
1301
- let S = P.height * 0.7;
1302
- for (; !l(r, S) && S > 0; )
1303
- S -= 1;
1304
- return S;
1305
- }), N = Math.floor(Math.min(...U));
1306
- C.selectAll("text").data(F).enter().append("text").attr("x", (r) => r.data.x + r.data.width - 10).attr("y", (r) => r.data.y + r.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${N}px`).text((r) => r.label);
1299
+ a(W, "fitsHorizontally");
1300
+ const X = 0.7, F = 10, V = d.data.map((A, M) => ({ data: A, label: p[M].toString() })).filter((A) => A.data.width > 0 && A.data.height > 0), S = V.map((A) => {
1301
+ const { data: M } = A;
1302
+ let C = M.height * 0.7;
1303
+ for (; !W(A, C) && C > 0; )
1304
+ C -= 1;
1305
+ return C;
1306
+ }), H = Math.floor(Math.min(...S)), m = /* @__PURE__ */ a((A) => r ? A.data.x + A.data.width + F : A.data.x + A.data.width - F, "determineLabelXPosition");
1307
+ _.selectAll("text").data(V).enter().append("text").attr("x", m).attr("y", (A) => A.data.y + A.data.height / 2).attr("text-anchor", r ? "start" : "end").attr("dominant-baseline", "middle").attr("fill", g.dataLabelColor).attr("font-size", `${H}px`).text((A) => A.label);
1307
1308
  } else {
1308
- let l = function(r, P, S) {
1309
- const { data: k, label: j } = r, J = P * j.length * 0.7, O = k.x + k.width / 2, z = O - J / 2, o = O + J / 2, c = z >= k.x && o <= k.x + k.width, g = k.y + S + P <= k.y + k.height;
1310
- return c && g;
1309
+ let W = function(m, A, M) {
1310
+ const { data: C, label: N } = m, B = A * N.length * 0.7, o = C.x + C.width / 2, l = o - B / 2, c = o + B / 2, y = l >= C.x && c <= C.x + C.width, n = C.y + M + A <= C.y + C.height;
1311
+ return y && n;
1311
1312
  };
1312
- a(l, "fitsInBar");
1313
- const B = 10, F = p.data.map((r, P) => ({ data: r, label: f[P].toString() })).filter((r) => r.data.width > 0 && r.data.height > 0), U = F.map((r) => {
1314
- const { data: P, label: S } = r;
1315
- let k = P.width / (S.length * 0.7);
1316
- for (; !l(r, k, B) && k > 0; )
1317
- k -= 1;
1318
- return k;
1319
- }), N = Math.floor(Math.min(...U));
1320
- C.selectAll("text").data(F).enter().append("text").attr("x", (r) => r.data.x + r.data.width / 2).attr("y", (r) => r.data.y + B).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${N}px`).text((r) => r.label);
1313
+ a(W, "fitsInBar");
1314
+ const X = 10, F = d.data.map((m, A) => ({ data: m, label: p[A].toString() })).filter((m) => m.data.width > 0 && m.data.height > 0), V = F.map((m) => {
1315
+ const { data: A, label: M } = m;
1316
+ let C = A.width / (M.length * 0.7);
1317
+ for (; !W(m, C, X) && C > 0; )
1318
+ C -= 1;
1319
+ return C;
1320
+ }), S = Math.floor(Math.min(...V)), H = /* @__PURE__ */ a((m) => r ? m.data.y - X : m.data.y + X, "determineLabelYPosition");
1321
+ _.selectAll("text").data(F).enter().append("text").attr("x", (m) => m.data.x + m.data.width / 2).attr("y", H).attr("text-anchor", "middle").attr("dominant-baseline", r ? "auto" : "hanging").attr("fill", g.dataLabelColor).attr("font-size", `${S}px`).text((m) => m.label);
1321
1322
  }
1323
+ }
1322
1324
  break;
1323
1325
  case "text":
1324
- C.selectAll("text").data(p.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (l) => l.fill).attr("font-size", (l) => l.fontSize).attr("dominant-baseline", (l) => w(l.verticalPos)).attr("text-anchor", (l) => R(l.horizontalPos)).attr("transform", (l) => D(l)).text((l) => l.text);
1326
+ _.selectAll("text").data(d.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (r) => r.fill).attr("font-size", (r) => r.fontSize).attr("dominant-baseline", (r) => k(r.verticalPos)).attr("text-anchor", (r) => D(r.horizontalPos)).attr("transform", (r) => L(r)).text((r) => r.text);
1325
1327
  break;
1326
1328
  case "path":
1327
- C.selectAll("path").data(p.data).enter().append("path").attr("d", (l) => l.path).attr("fill", (l) => l.fill ? l.fill : "none").attr("stroke", (l) => l.strokeFill).attr("stroke-width", (l) => l.strokeWidth);
1329
+ _.selectAll("path").data(d.data).enter().append("path").attr("d", (r) => r.path).attr("fill", (r) => r.fill ? r.fill : "none").attr("stroke", (r) => r.strokeFill).attr("stroke-width", (r) => r.strokeWidth);
1328
1330
  break;
1329
1331
  }
1330
1332
  }
1331
- }, "draw"), Bi = {
1332
- draw: Wi
1333
- }, Vi = {
1333
+ }, "draw"), Wi = {
1334
+ draw: Oi
1335
+ }, Yi = {
1334
1336
  parser: Ti,
1335
- db: zi,
1336
- renderer: Bi
1337
+ db: Bi,
1338
+ renderer: Wi
1337
1339
  };
1338
1340
  export {
1339
- Vi as diagram
1341
+ Yi as diagram
1340
1342
  };