@marimo-team/islands 0.13.16-dev3 → 0.13.16-dev4

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 (85) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DaX7qzkh.js → ConnectedDataExplorerComponent-W-BOfG8M.js} +1495 -1496
  2. package/dist/{VegaLite-DqttTZoC.js → VegaLite-C9hsmU75.js} +12483 -12485
  3. package/dist/{_baseUniq-C7BPwQHe.js → _baseUniq-JsDeIdvj.js} +13 -13
  4. package/dist/{any-language-editor-DUew9Rp9.js → any-language-editor-BzZqDQm_.js} +2 -2
  5. package/dist/{architectureDiagram-IEHRJDOE-a3lDrXQx.js → architectureDiagram-IEHRJDOE-DnNsdc8e.js} +1800 -1800
  6. package/dist/asn1-jKiBa2Ya.js +10 -10
  7. package/dist/assets/{save-worker-9HEtFDM0.js → save-worker-DwN_qfSx.js} +695 -702
  8. package/dist/assets/{worker-BGGm0KYZ.js → worker-BzMPE1Lq.js} +732 -739
  9. package/dist/assets/{worker-BNsqBj5w.js → worker-ISYYr8IB.js} +726 -732
  10. package/dist/blockDiagram-JOT3LUYC-C_KEbscf.js +2249 -0
  11. package/dist/{c4Diagram-VJAJSXHY-iO9Wy6JM.js → c4Diagram-VJAJSXHY-B7trZ6_H.js} +401 -400
  12. package/dist/{channel-DcjC1CFM.js → channel-CwUzkjN9.js} +1 -1
  13. package/dist/chunk-4BMEZGHF-C4_0qa8X.js +9 -0
  14. package/dist/chunk-A2AXSNBT-DApfdN4z.js +1373 -0
  15. package/dist/chunk-AEK57VVT-D_rUaIu3.js +1416 -0
  16. package/dist/{chunk-D6G4REZN-Dlv_YHcf.js → chunk-D6G4REZN-BJurAONC.js} +2 -2
  17. package/dist/{chunk-RZ5BOZE2-D8w7Mlj9.js → chunk-RZ5BOZE2-ChOs68Hz.js} +8 -8
  18. package/dist/chunk-XZIHB7SX-CGbScEEe.js +16 -0
  19. package/dist/{classDiagram-GIVACNV2-B9RHXsFh.js → classDiagram-GIVACNV2-CqVjeibK.js} +2 -2
  20. package/dist/{classDiagram-v2-COTLJTTW-B9RHXsFh.js → classDiagram-v2-COTLJTTW-CqVjeibK.js} +2 -2
  21. package/dist/clojure-CCKyeQKf.js +2 -2
  22. package/dist/{clone-D3N_odGc.js → clone-BPHB9gtw.js} +1 -1
  23. package/dist/css-bIlmDBTK.js +19 -19
  24. package/dist/{cytoscape.esm-DAyNQ0qu.js → cytoscape.esm-CCQ3SVU1.js} +2301 -2301
  25. package/dist/dagre-OKDRZEBW-EJUR9APO.js +447 -0
  26. package/dist/{data-editor-DYnEMVel.js → data-editor-CvujN_l-.js} +5785 -5795
  27. package/dist/{diagram-SSKATNLV-B7sCpaam.js → diagram-SSKATNLV-Bs-Zy3OO.js} +13 -13
  28. package/dist/{diagram-VNBRO52H-D5XB9Rqn.js → diagram-VNBRO52H-rhV7IJ0T.js} +3 -3
  29. package/dist/{erDiagram-Q7BY3M3F-Bc4bVsl5.js → erDiagram-Q7BY3M3F-DwuCpdOL.js} +263 -262
  30. package/dist/flowDiagram-4HSFHLVR-CpbGvx3R.js +1623 -0
  31. package/dist/{ganttDiagram-APWFNJXF-DX7O4yzu.js → ganttDiagram-APWFNJXF-B9ih7Ggj.js} +45 -45
  32. package/dist/gitGraphDiagram-7IBYFJ6S-tTFS2NlF.js +712 -0
  33. package/dist/{graph-3qoxqlMi.js → graph-DiSBbvS5.js} +9 -9
  34. package/dist/{index-ClcExt8M.js → index-BZo5-DOE.js} +99 -98
  35. package/dist/{index-DSv7cBZ6.js → index-CmU7bpCv.js} +4 -4
  36. package/dist/{index-DMwlOrYW.js → index-KrnLhU30.js} +9 -9
  37. package/dist/{index-DarPCnb9.js → index-TeAlNqJE.js} +28 -28
  38. package/dist/{infoDiagram-PH2N3AL5-Hpz-dZTP.js → infoDiagram-PH2N3AL5-COt3b362.js} +3 -3
  39. package/dist/javascript-WMWNx-Vj.js +47 -47
  40. package/dist/{journeyDiagram-U35MCT3I-D8lBbVPX.js → journeyDiagram-U35MCT3I-Civ2cUVg.js} +18 -18
  41. package/dist/kanban-definition-NDS4AKOZ-QxhTc8lo.js +719 -0
  42. package/dist/{katex-9tX9hjoM.js → katex-CUSbq6rG.js} +2180 -2180
  43. package/dist/{layout-BQ5ygFMS.js → layout-B0SQ1LdD.js} +27 -27
  44. package/dist/{linear-DEKTCzK7.js → linear-Bn_UtFyT.js} +2 -2
  45. package/dist/main-ClxYr2BI.js +169878 -0
  46. package/dist/main.js +1 -1
  47. package/dist/mermaid-M3c3q4Qd.js +14517 -0
  48. package/dist/{mhchem-L5-rce7L.js → mhchem-Db_f2n8C.js} +30 -30
  49. package/dist/{min-BVLo0atX.js → min-C0Jzc_ko.js} +2 -2
  50. package/dist/{mindmap-definition-ALO5MXBD-CJrYaVvo.js → mindmap-definition-ALO5MXBD-BW8IbhiG.js} +359 -359
  51. package/dist/mllike-BSnXJBGA.js +7 -7
  52. package/dist/{pieDiagram-IB7DONF6-Dctceo_p.js → pieDiagram-IB7DONF6-DIa7m5Au.js} +34 -34
  53. package/dist/pug-BqUR2bBq.js +35 -35
  54. package/dist/python-B5QdSKoL.js +18 -18
  55. package/dist/quadrantDiagram-7GDLP6J5-D1HtkiJK.js +1025 -0
  56. package/dist/{radar-MK3ICKWK-C1HW1I3s.js → radar-MK3ICKWK-Dm3jRuoE.js} +2555 -2554
  57. package/dist/{react-plotly-Cb9GFlJK.js → react-plotly-CJ3A7ju0.js} +6595 -6597
  58. package/dist/{requirementDiagram-KVF5MWMF-B1hXsRKm.js → requirementDiagram-KVF5MWMF-b-q1aUEu.js} +251 -250
  59. package/dist/rpm-IznJm2Xc.js +9 -9
  60. package/dist/{sankeyDiagram-QLVOVGJD-C4Wft0rG.js → sankeyDiagram-QLVOVGJD-Bo4y0LBQ.js} +339 -338
  61. package/dist/{sequenceDiagram-X6HHIX6F-DuI3MtaO.js → sequenceDiagram-X6HHIX6F-DMq4wla5.js} +822 -821
  62. package/dist/{slides-component-CtHXOtAT.js → slides-component-Cyh202Vq.js} +280 -280
  63. package/dist/sql-mMre1Bo3.js +9 -9
  64. package/dist/{stateDiagram-DGXRK772-BA90keZx.js → stateDiagram-DGXRK772-D_y0WAcv.js} +17 -17
  65. package/dist/{stateDiagram-v2-YXO3MK2T-BAYgRopg.js → stateDiagram-v2-YXO3MK2T-CHK5LNw7.js} +2 -2
  66. package/dist/style.css +1 -1
  67. package/dist/{time-CSFHw3Jv.js → time-YVQKuiUR.js} +2 -2
  68. package/dist/{timeline-definition-BDJGKUSR-Blc0sOvC.js → timeline-definition-BDJGKUSR-DH63_P4w.js} +261 -261
  69. package/dist/timer-BYwnU4DF.js +378 -378
  70. package/dist/ttcn-cfg-Bac_acMi.js +9 -9
  71. package/dist/{vega-component-BhqCtGzK.js → vega-component-CUFBFMjm.js} +82 -82
  72. package/dist/{xychartDiagram-VJFVF3MP-zwhLbXXB.js → xychartDiagram-VJFVF3MP-3NU7tduZ.js} +472 -471
  73. package/package.json +1 -1
  74. package/dist/blockDiagram-JOT3LUYC-CKFyxt0d.js +0 -2248
  75. package/dist/chunk-4BMEZGHF-lIaJqjDq.js +0 -9
  76. package/dist/chunk-A2AXSNBT-Cvv8kb-T.js +0 -1372
  77. package/dist/chunk-AEK57VVT-B-uzYNYV.js +0 -1415
  78. package/dist/chunk-XZIHB7SX-eF6XymTt.js +0 -15
  79. package/dist/dagre-OKDRZEBW-9GOkw9EI.js +0 -447
  80. package/dist/flowDiagram-4HSFHLVR-O0PMfC8B.js +0 -1622
  81. package/dist/gitGraphDiagram-7IBYFJ6S-Bq1HYszu.js +0 -712
  82. package/dist/kanban-definition-NDS4AKOZ-BjHkwf3p.js +0 -719
  83. package/dist/main-CtGDFKVm.js +0 -156521
  84. package/dist/mermaid-dkwEEzHU.js +0 -11991
  85. package/dist/quadrantDiagram-7GDLP6J5-BCGXIJXJ.js +0 -1024
@@ -0,0 +1,1025 @@
1
+ var _a, _b;
2
+ import { _ as r, s as be, g as Se, t as te, q as _e, a as Ae, b as ke, c as Et, l as qt, d as vt, e as Fe, z as Pe, H as D, M as ve, i as Ce } from "./mermaid-M3c3q4Qd.js";
3
+ import { l as $t } from "./linear-Bn_UtFyT.js";
4
+ var Ct = function() {
5
+ var t = /* @__PURE__ */ r(function(M, s, l, u) {
6
+ for (l = l || {}, u = M.length; u--; l[M[u]] = s) ;
7
+ return l;
8
+ }, "o"), a = [1, 3], p = [1, 4], f = [1, 5], o = [1, 6], x = [1, 7], _ = [1, 4, 5, 10, 12, 13, 14, 18, 25, 35, 37, 39, 41, 42, 48, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 63, 64, 65, 66, 67], h = [1, 4, 5, 10, 12, 13, 14, 18, 25, 28, 35, 37, 39, 41, 42, 48, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 63, 64, 65, 66, 67], c = [55, 56, 57], S = [2, 36], m = [1, 37], b = [1, 36], y = [1, 38], T = [1, 35], q = [1, 43], g = [1, 41], rt = [1, 14], ct = [1, 23], dt = [1, 18], ut = [1, 19], xt = [1, 20], ot = [1, 21], bt = [1, 22], lt = [1, 24], i = [1, 25], Dt = [1, 26], zt = [1, 27], Vt = [1, 28], It = [1, 29], W = [1, 32], U = [1, 33], k = [1, 34], F = [1, 39], P = [1, 40], v = [1, 42], C = [1, 44], O = [1, 62], H = [1, 61], L = [4, 5, 8, 10, 12, 13, 14, 18, 44, 47, 49, 55, 56, 57, 63, 64, 65, 66, 67], wt = [1, 65], Bt = [1, 66], Rt = [1, 67], Nt = [1, 68], Wt = [1, 69], Ut = [1, 70], Qt = [1, 71], Ot = [1, 72], Ht = [1, 73], Xt = [1, 74], Mt = [1, 75], Yt = [1, 76], I = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], G = [1, 90], K = [1, 91], Z = [1, 92], J = [1, 99], $ = [1, 93], tt = [1, 96], et = [1, 94], it = [1, 95], at = [1, 97], nt = [1, 98], St = [1, 102], jt = [10, 55, 56, 57], R = [4, 5, 6, 8, 10, 11, 13, 17, 18, 19, 20, 55, 56, 57], _t = {
9
+ trace: /* @__PURE__ */ r(function() {
10
+ }, "trace"),
11
+ yy: {},
12
+ symbols_: { error: 2, idStringToken: 3, ALPHA: 4, NUM: 5, NODE_STRING: 6, DOWN: 7, MINUS: 8, DEFAULT: 9, COMMA: 10, COLON: 11, AMP: 12, BRKT: 13, MULT: 14, UNICODE_TEXT: 15, styleComponent: 16, UNIT: 17, SPACE: 18, STYLE: 19, PCT: 20, idString: 21, style: 22, stylesOpt: 23, classDefStatement: 24, CLASSDEF: 25, start: 26, eol: 27, QUADRANT: 28, document: 29, line: 30, statement: 31, axisDetails: 32, quadrantDetails: 33, points: 34, title: 35, title_value: 36, acc_title: 37, acc_title_value: 38, acc_descr: 39, acc_descr_value: 40, acc_descr_multiline_value: 41, section: 42, text: 43, point_start: 44, point_x: 45, point_y: 46, class_name: 47, "X-AXIS": 48, "AXIS-TEXT-DELIMITER": 49, "Y-AXIS": 50, QUADRANT_1: 51, QUADRANT_2: 52, QUADRANT_3: 53, QUADRANT_4: 54, NEWLINE: 55, SEMI: 56, EOF: 57, alphaNumToken: 58, textNoTagsToken: 59, STR: 60, MD_STR: 61, alphaNum: 62, PUNCTUATION: 63, PLUS: 64, EQUALS: 65, DOT: 66, UNDERSCORE: 67, $accept: 0, $end: 1 },
13
+ terminals_: { 2: "error", 4: "ALPHA", 5: "NUM", 6: "NODE_STRING", 7: "DOWN", 8: "MINUS", 9: "DEFAULT", 10: "COMMA", 11: "COLON", 12: "AMP", 13: "BRKT", 14: "MULT", 15: "UNICODE_TEXT", 17: "UNIT", 18: "SPACE", 19: "STYLE", 20: "PCT", 25: "CLASSDEF", 28: "QUADRANT", 35: "title", 36: "title_value", 37: "acc_title", 38: "acc_title_value", 39: "acc_descr", 40: "acc_descr_value", 41: "acc_descr_multiline_value", 42: "section", 44: "point_start", 45: "point_x", 46: "point_y", 47: "class_name", 48: "X-AXIS", 49: "AXIS-TEXT-DELIMITER", 50: "Y-AXIS", 51: "QUADRANT_1", 52: "QUADRANT_2", 53: "QUADRANT_3", 54: "QUADRANT_4", 55: "NEWLINE", 56: "SEMI", 57: "EOF", 60: "STR", 61: "MD_STR", 63: "PUNCTUATION", 64: "PLUS", 65: "EQUALS", 66: "DOT", 67: "UNDERSCORE" },
14
+ productions_: [0, [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [21, 1], [21, 2], [22, 1], [22, 2], [23, 1], [23, 3], [24, 5], [26, 2], [26, 2], [26, 2], [29, 0], [29, 2], [30, 2], [31, 0], [31, 1], [31, 2], [31, 1], [31, 1], [31, 1], [31, 2], [31, 2], [31, 2], [31, 1], [31, 1], [34, 4], [34, 5], [34, 5], [34, 6], [32, 4], [32, 3], [32, 2], [32, 4], [32, 3], [32, 2], [33, 2], [33, 2], [33, 2], [33, 2], [27, 1], [27, 1], [27, 1], [43, 1], [43, 2], [43, 1], [43, 1], [62, 1], [62, 2], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [59, 1], [59, 1], [59, 1]],
15
+ performAction: /* @__PURE__ */ r(function(s, l, u, d, A, e, ht) {
16
+ var n = e.length - 1;
17
+ switch (A) {
18
+ case 23:
19
+ this.$ = e[n];
20
+ break;
21
+ case 24:
22
+ this.$ = e[n - 1] + "" + e[n];
23
+ break;
24
+ case 26:
25
+ this.$ = e[n - 1] + e[n];
26
+ break;
27
+ case 27:
28
+ this.$ = [e[n].trim()];
29
+ break;
30
+ case 28:
31
+ e[n - 2].push(e[n].trim()), this.$ = e[n - 2];
32
+ break;
33
+ case 29:
34
+ this.$ = e[n - 4], d.addClass(e[n - 2], e[n]);
35
+ break;
36
+ case 37:
37
+ this.$ = [];
38
+ break;
39
+ case 42:
40
+ this.$ = e[n].trim(), d.setDiagramTitle(this.$);
41
+ break;
42
+ case 43:
43
+ this.$ = e[n].trim(), d.setAccTitle(this.$);
44
+ break;
45
+ case 44:
46
+ case 45:
47
+ this.$ = e[n].trim(), d.setAccDescription(this.$);
48
+ break;
49
+ case 46:
50
+ d.addSection(e[n].substr(8)), this.$ = e[n].substr(8);
51
+ break;
52
+ case 47:
53
+ d.addPoint(e[n - 3], "", e[n - 1], e[n], []);
54
+ break;
55
+ case 48:
56
+ d.addPoint(e[n - 4], e[n - 3], e[n - 1], e[n], []);
57
+ break;
58
+ case 49:
59
+ d.addPoint(e[n - 4], "", e[n - 2], e[n - 1], e[n]);
60
+ break;
61
+ case 50:
62
+ d.addPoint(e[n - 5], e[n - 4], e[n - 2], e[n - 1], e[n]);
63
+ break;
64
+ case 51:
65
+ d.setXAxisLeftText(e[n - 2]), d.setXAxisRightText(e[n]);
66
+ break;
67
+ case 52:
68
+ e[n - 1].text += " \u27F6 ", d.setXAxisLeftText(e[n - 1]);
69
+ break;
70
+ case 53:
71
+ d.setXAxisLeftText(e[n]);
72
+ break;
73
+ case 54:
74
+ d.setYAxisBottomText(e[n - 2]), d.setYAxisTopText(e[n]);
75
+ break;
76
+ case 55:
77
+ e[n - 1].text += " \u27F6 ", d.setYAxisBottomText(e[n - 1]);
78
+ break;
79
+ case 56:
80
+ d.setYAxisBottomText(e[n]);
81
+ break;
82
+ case 57:
83
+ d.setQuadrant1Text(e[n]);
84
+ break;
85
+ case 58:
86
+ d.setQuadrant2Text(e[n]);
87
+ break;
88
+ case 59:
89
+ d.setQuadrant3Text(e[n]);
90
+ break;
91
+ case 60:
92
+ d.setQuadrant4Text(e[n]);
93
+ break;
94
+ case 64:
95
+ this.$ = { text: e[n], type: "text" };
96
+ break;
97
+ case 65:
98
+ this.$ = { text: e[n - 1].text + "" + e[n], type: e[n - 1].type };
99
+ break;
100
+ case 66:
101
+ this.$ = { text: e[n], type: "text" };
102
+ break;
103
+ case 67:
104
+ this.$ = { text: e[n], type: "markdown" };
105
+ break;
106
+ case 68:
107
+ this.$ = e[n];
108
+ break;
109
+ case 69:
110
+ this.$ = e[n - 1] + "" + e[n];
111
+ break;
112
+ }
113
+ }, "anonymous"),
114
+ table: [{ 18: a, 26: 1, 27: 2, 28: p, 55: f, 56: o, 57: x }, { 1: [3] }, { 18: a, 26: 8, 27: 2, 28: p, 55: f, 56: o, 57: x }, { 18: a, 26: 9, 27: 2, 28: p, 55: f, 56: o, 57: x }, t(_, [2, 33], { 29: 10 }), t(h, [2, 61]), t(h, [2, 62]), t(h, [2, 63]), { 1: [2, 30] }, { 1: [2, 31] }, t(c, S, { 30: 11, 31: 12, 24: 13, 32: 15, 33: 16, 34: 17, 43: 30, 58: 31, 1: [2, 32], 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 18: rt, 25: ct, 35: dt, 37: ut, 39: xt, 41: ot, 42: bt, 48: lt, 50: i, 51: Dt, 52: zt, 53: Vt, 54: It, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }), t(_, [2, 34]), { 27: 45, 55: f, 56: o, 57: x }, t(c, [2, 37]), t(c, S, { 24: 13, 32: 15, 33: 16, 34: 17, 43: 30, 58: 31, 31: 46, 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 18: rt, 25: ct, 35: dt, 37: ut, 39: xt, 41: ot, 42: bt, 48: lt, 50: i, 51: Dt, 52: zt, 53: Vt, 54: It, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 39]), t(c, [2, 40]), t(c, [2, 41]), { 36: [1, 47] }, { 38: [1, 48] }, { 40: [1, 49] }, t(c, [2, 45]), t(c, [2, 46]), { 18: [1, 50] }, { 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 43: 51, 58: 31, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }, { 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 43: 52, 58: 31, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }, { 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 43: 53, 58: 31, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }, { 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 43: 54, 58: 31, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }, { 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 43: 55, 58: 31, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }, { 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 43: 56, 58: 31, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }, { 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 44: [1, 57], 47: [1, 58], 58: 60, 59: 59, 63: k, 64: F, 65: P, 66: v, 67: C }, t(L, [2, 64]), t(L, [2, 66]), t(L, [2, 67]), t(L, [2, 70]), t(L, [2, 71]), t(L, [2, 72]), t(L, [2, 73]), t(L, [2, 74]), t(L, [2, 75]), t(L, [2, 76]), t(L, [2, 77]), t(L, [2, 78]), t(L, [2, 79]), t(L, [2, 80]), t(_, [2, 35]), t(c, [2, 38]), t(c, [2, 42]), t(c, [2, 43]), t(c, [2, 44]), { 3: 64, 4: wt, 5: Bt, 6: Rt, 7: Nt, 8: Wt, 9: Ut, 10: Qt, 11: Ot, 12: Ht, 13: Xt, 14: Mt, 15: Yt, 21: 63 }, t(c, [2, 53], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 49: [1, 77], 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 56], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 49: [1, 78], 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 57], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 58], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 59], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 60], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 63: k, 64: F, 65: P, 66: v, 67: C }), { 45: [1, 79] }, { 44: [1, 80] }, t(L, [2, 65]), t(L, [2, 81]), t(L, [2, 82]), t(L, [2, 83]), { 3: 82, 4: wt, 5: Bt, 6: Rt, 7: Nt, 8: Wt, 9: Ut, 10: Qt, 11: Ot, 12: Ht, 13: Xt, 14: Mt, 15: Yt, 18: [1, 81] }, t(I, [2, 23]), t(I, [2, 1]), t(I, [2, 2]), t(I, [2, 3]), t(I, [2, 4]), t(I, [2, 5]), t(I, [2, 6]), t(I, [2, 7]), t(I, [2, 8]), t(I, [2, 9]), t(I, [2, 10]), t(I, [2, 11]), t(I, [2, 12]), t(c, [2, 52], { 58: 31, 43: 83, 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 55], { 58: 31, 43: 84, 4: m, 5: b, 10: y, 12: T, 13: q, 14: g, 60: W, 61: U, 63: k, 64: F, 65: P, 66: v, 67: C }), { 46: [1, 85] }, { 45: [1, 86] }, { 4: G, 5: K, 6: Z, 8: J, 11: $, 13: tt, 16: 89, 17: et, 18: it, 19: at, 20: nt, 22: 88, 23: 87 }, t(I, [2, 24]), t(c, [2, 51], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 54], { 59: 59, 58: 60, 4: m, 5: b, 8: O, 10: y, 12: T, 13: q, 14: g, 18: H, 63: k, 64: F, 65: P, 66: v, 67: C }), t(c, [2, 47], { 22: 88, 16: 89, 23: 100, 4: G, 5: K, 6: Z, 8: J, 11: $, 13: tt, 17: et, 18: it, 19: at, 20: nt }), { 46: [1, 101] }, t(c, [2, 29], { 10: St }), t(jt, [2, 27], { 16: 103, 4: G, 5: K, 6: Z, 8: J, 11: $, 13: tt, 17: et, 18: it, 19: at, 20: nt }), t(R, [2, 25]), t(R, [2, 13]), t(R, [2, 14]), t(R, [2, 15]), t(R, [2, 16]), t(R, [2, 17]), t(R, [2, 18]), t(R, [2, 19]), t(R, [2, 20]), t(R, [2, 21]), t(R, [2, 22]), t(c, [2, 49], { 10: St }), t(c, [2, 48], { 22: 88, 16: 89, 23: 104, 4: G, 5: K, 6: Z, 8: J, 11: $, 13: tt, 17: et, 18: it, 19: at, 20: nt }), { 4: G, 5: K, 6: Z, 8: J, 11: $, 13: tt, 16: 89, 17: et, 18: it, 19: at, 20: nt, 22: 105 }, t(R, [2, 26]), t(c, [2, 50], { 10: St }), t(jt, [2, 28], { 16: 103, 4: G, 5: K, 6: Z, 8: J, 11: $, 13: tt, 17: et, 18: it, 19: at, 20: nt })],
115
+ defaultActions: { 8: [2, 30], 9: [2, 31] },
116
+ parseError: /* @__PURE__ */ r(function(s, l) {
117
+ if (l.recoverable)
118
+ this.trace(s);
119
+ else {
120
+ var u = new Error(s);
121
+ throw u.hash = l, u;
122
+ }
123
+ }, "parseError"),
124
+ parse: /* @__PURE__ */ r(function(s) {
125
+ var l = this, u = [0], d = [], A = [null], e = [], ht = this.table, n = "", gt = 0, Gt = 0, ye = 2, Kt = 1, Te = e.slice.call(arguments, 1), E = Object.create(this.lexer), Y = { yy: {} };
126
+ for (var At in this.yy)
127
+ Object.prototype.hasOwnProperty.call(this.yy, At) && (Y.yy[At] = this.yy[At]);
128
+ E.setInput(s, Y.yy), Y.yy.lexer = E, Y.yy.parser = this, typeof E.yylloc > "u" && (E.yylloc = {});
129
+ var kt = E.yylloc;
130
+ e.push(kt);
131
+ var qe = E.options && E.options.ranges;
132
+ typeof Y.yy.parseError == "function" ? this.parseError = Y.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
133
+ function me(B) {
134
+ u.length = u.length - 2 * B, A.length = A.length - B, e.length = e.length - B;
135
+ }
136
+ r(me, "popStack");
137
+ function Zt() {
138
+ var B;
139
+ return B = d.pop() || E.lex() || Kt, typeof B != "number" && (B instanceof Array && (d = B, B = d.pop()), B = l.symbols_[B] || B), B;
140
+ }
141
+ r(Zt, "lex");
142
+ for (var w, j, N, Ft, st = {}, pt, X, Jt, yt; ; ) {
143
+ if (j = u[u.length - 1], this.defaultActions[j] ? N = this.defaultActions[j] : ((w === null || typeof w > "u") && (w = Zt()), N = ht[j] && ht[j][w]), typeof N > "u" || !N.length || !N[0]) {
144
+ var Pt = "";
145
+ yt = [];
146
+ for (pt in ht[j])
147
+ this.terminals_[pt] && pt > ye && yt.push("'" + this.terminals_[pt] + "'");
148
+ E.showPosition ? Pt = "Parse error on line " + (gt + 1) + `:
149
+ ` + E.showPosition() + `
150
+ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Pt = "Parse error on line " + (gt + 1) + ": Unexpected " + (w == Kt ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(Pt, {
151
+ text: E.match,
152
+ token: this.terminals_[w] || w,
153
+ line: E.yylineno,
154
+ loc: kt,
155
+ expected: yt
156
+ });
157
+ }
158
+ if (N[0] instanceof Array && N.length > 1)
159
+ throw new Error("Parse Error: multiple actions possible at state: " + j + ", token: " + w);
160
+ switch (N[0]) {
161
+ case 1:
162
+ u.push(w), A.push(E.yytext), e.push(E.yylloc), u.push(N[1]), w = null, Gt = E.yyleng, n = E.yytext, gt = E.yylineno, kt = E.yylloc;
163
+ break;
164
+ case 2:
165
+ if (X = this.productions_[N[1]][1], st.$ = A[A.length - X], st._$ = {
166
+ first_line: e[e.length - (X || 1)].first_line,
167
+ last_line: e[e.length - 1].last_line,
168
+ first_column: e[e.length - (X || 1)].first_column,
169
+ last_column: e[e.length - 1].last_column
170
+ }, qe && (st._$.range = [
171
+ e[e.length - (X || 1)].range[0],
172
+ e[e.length - 1].range[1]
173
+ ]), Ft = this.performAction.apply(st, [
174
+ n,
175
+ Gt,
176
+ gt,
177
+ Y.yy,
178
+ N[1],
179
+ A,
180
+ e
181
+ ].concat(Te)), typeof Ft < "u")
182
+ return Ft;
183
+ X && (u = u.slice(0, -1 * X * 2), A = A.slice(0, -1 * X), e = e.slice(0, -1 * X)), u.push(this.productions_[N[1]][0]), A.push(st.$), e.push(st._$), Jt = ht[u[u.length - 2]][u[u.length - 1]], u.push(Jt);
184
+ break;
185
+ case 3:
186
+ return true;
187
+ }
188
+ }
189
+ return true;
190
+ }, "parse")
191
+ }, pe = /* @__PURE__ */ function() {
192
+ var M = {
193
+ EOF: 1,
194
+ parseError: /* @__PURE__ */ r(function(l, u) {
195
+ if (this.yy.parser)
196
+ this.yy.parser.parseError(l, u);
197
+ else
198
+ throw new Error(l);
199
+ }, "parseError"),
200
+ // resets the lexer, sets new input
201
+ setInput: /* @__PURE__ */ r(function(s, l) {
202
+ return this.yy = l || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
203
+ first_line: 1,
204
+ first_column: 0,
205
+ last_line: 1,
206
+ last_column: 0
207
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
208
+ }, "setInput"),
209
+ // consumes and returns one char from the input
210
+ input: /* @__PURE__ */ r(function() {
211
+ var s = this._input[0];
212
+ this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
213
+ var l = s.match(/(?:\r\n?|\n).*/g);
214
+ 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), s;
215
+ }, "input"),
216
+ // unshifts one char (or a string) into the input
217
+ unput: /* @__PURE__ */ r(function(s) {
218
+ var l = s.length, u = s.split(/(?:\r\n?|\n)/g);
219
+ this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - l), this.offset -= l;
220
+ var d = this.match.split(/(?:\r\n?|\n)/g);
221
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), u.length - 1 && (this.yylineno -= u.length - 1);
222
+ var A = this.yylloc.range;
223
+ return this.yylloc = {
224
+ first_line: this.yylloc.first_line,
225
+ last_line: this.yylineno + 1,
226
+ first_column: this.yylloc.first_column,
227
+ last_column: u ? (u.length === d.length ? this.yylloc.first_column : 0) + d[d.length - u.length].length - u[0].length : this.yylloc.first_column - l
228
+ }, this.options.ranges && (this.yylloc.range = [A[0], A[0] + this.yyleng - l]), this.yyleng = this.yytext.length, this;
229
+ }, "unput"),
230
+ // When called from action, caches matched text and appends it on next action
231
+ more: /* @__PURE__ */ r(function() {
232
+ return this._more = true, this;
233
+ }, "more"),
234
+ // 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.
235
+ reject: /* @__PURE__ */ r(function() {
236
+ if (this.options.backtrack_lexer)
237
+ this._backtrack = true;
238
+ else
239
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
240
+ ` + this.showPosition(), {
241
+ text: "",
242
+ token: null,
243
+ line: this.yylineno
244
+ });
245
+ return this;
246
+ }, "reject"),
247
+ // retain first n characters of the match
248
+ less: /* @__PURE__ */ r(function(s) {
249
+ this.unput(this.match.slice(s));
250
+ }, "less"),
251
+ // displays already matched input, i.e. for error messages
252
+ pastInput: /* @__PURE__ */ r(function() {
253
+ var s = this.matched.substr(0, this.matched.length - this.match.length);
254
+ return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
255
+ }, "pastInput"),
256
+ // displays upcoming input, i.e. for error messages
257
+ upcomingInput: /* @__PURE__ */ r(function() {
258
+ var s = this.match;
259
+ return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
260
+ }, "upcomingInput"),
261
+ // displays the character position where the lexing error occurred, i.e. for error messages
262
+ showPosition: /* @__PURE__ */ r(function() {
263
+ var s = this.pastInput(), l = new Array(s.length + 1).join("-");
264
+ return s + this.upcomingInput() + `
265
+ ` + l + "^";
266
+ }, "showPosition"),
267
+ // test the lexed token: return FALSE when not a match, otherwise return token
268
+ test_match: /* @__PURE__ */ r(function(s, l) {
269
+ var u, d, A;
270
+ if (this.options.backtrack_lexer && (A = {
271
+ yylineno: this.yylineno,
272
+ yylloc: {
273
+ first_line: this.yylloc.first_line,
274
+ last_line: this.last_line,
275
+ first_column: this.yylloc.first_column,
276
+ last_column: this.yylloc.last_column
277
+ },
278
+ yytext: this.yytext,
279
+ match: this.match,
280
+ matches: this.matches,
281
+ matched: this.matched,
282
+ yyleng: this.yyleng,
283
+ offset: this.offset,
284
+ _more: this._more,
285
+ _input: this._input,
286
+ yy: this.yy,
287
+ conditionStack: this.conditionStack.slice(0),
288
+ done: this.done
289
+ }, this.options.ranges && (A.yylloc.range = this.yylloc.range.slice(0))), d = s[0].match(/(?:\r\n?|\n).*/g), d && (this.yylineno += d.length), this.yylloc = {
290
+ first_line: this.yylloc.last_line,
291
+ last_line: this.yylineno + 1,
292
+ first_column: this.yylloc.last_column,
293
+ last_column: d ? d[d.length - 1].length - d[d.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
294
+ }, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = false, this._backtrack = false, this._input = this._input.slice(s[0].length), this.matched += s[0], u = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), u)
295
+ return u;
296
+ if (this._backtrack) {
297
+ for (var e in A)
298
+ this[e] = A[e];
299
+ return false;
300
+ }
301
+ return false;
302
+ }, "test_match"),
303
+ // return next match in input
304
+ next: /* @__PURE__ */ r(function() {
305
+ if (this.done)
306
+ return this.EOF;
307
+ this._input || (this.done = true);
308
+ var s, l, u, d;
309
+ this._more || (this.yytext = "", this.match = "");
310
+ for (var A = this._currentRules(), e = 0; e < A.length; e++)
311
+ if (u = this._input.match(this.rules[A[e]]), u && (!l || u[0].length > l[0].length)) {
312
+ if (l = u, d = e, this.options.backtrack_lexer) {
313
+ if (s = this.test_match(u, A[e]), s !== false)
314
+ return s;
315
+ if (this._backtrack) {
316
+ l = false;
317
+ continue;
318
+ } else
319
+ return false;
320
+ } else if (!this.options.flex)
321
+ break;
322
+ }
323
+ return l ? (s = this.test_match(l, A[d]), s !== false ? s : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
324
+ ` + this.showPosition(), {
325
+ text: "",
326
+ token: null,
327
+ line: this.yylineno
328
+ });
329
+ }, "next"),
330
+ // return next match that has a token
331
+ lex: /* @__PURE__ */ r(function() {
332
+ var l = this.next();
333
+ return l || this.lex();
334
+ }, "lex"),
335
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
336
+ begin: /* @__PURE__ */ r(function(l) {
337
+ this.conditionStack.push(l);
338
+ }, "begin"),
339
+ // pop the previously active lexer condition state off the condition stack
340
+ popState: /* @__PURE__ */ r(function() {
341
+ var l = this.conditionStack.length - 1;
342
+ return l > 0 ? this.conditionStack.pop() : this.conditionStack[0];
343
+ }, "popState"),
344
+ // produce the lexer rule set which is active for the currently active lexer condition state
345
+ _currentRules: /* @__PURE__ */ r(function() {
346
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
347
+ }, "_currentRules"),
348
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
349
+ topState: /* @__PURE__ */ r(function(l) {
350
+ return l = this.conditionStack.length - 1 - Math.abs(l || 0), l >= 0 ? this.conditionStack[l] : "INITIAL";
351
+ }, "topState"),
352
+ // alias for begin(condition)
353
+ pushState: /* @__PURE__ */ r(function(l) {
354
+ this.begin(l);
355
+ }, "pushState"),
356
+ // return the number of states currently on the stack
357
+ stateStackSize: /* @__PURE__ */ r(function() {
358
+ return this.conditionStack.length;
359
+ }, "stateStackSize"),
360
+ options: { "case-insensitive": true },
361
+ performAction: /* @__PURE__ */ r(function(l, u, d, A) {
362
+ switch (d) {
363
+ case 0:
364
+ break;
365
+ case 1:
366
+ break;
367
+ case 2:
368
+ return 55;
369
+ case 3:
370
+ break;
371
+ case 4:
372
+ return this.begin("title"), 35;
373
+ case 5:
374
+ return this.popState(), "title_value";
375
+ case 6:
376
+ return this.begin("acc_title"), 37;
377
+ case 7:
378
+ return this.popState(), "acc_title_value";
379
+ case 8:
380
+ return this.begin("acc_descr"), 39;
381
+ case 9:
382
+ return this.popState(), "acc_descr_value";
383
+ case 10:
384
+ this.begin("acc_descr_multiline");
385
+ break;
386
+ case 11:
387
+ this.popState();
388
+ break;
389
+ case 12:
390
+ return "acc_descr_multiline_value";
391
+ case 13:
392
+ return 48;
393
+ case 14:
394
+ return 50;
395
+ case 15:
396
+ return 49;
397
+ case 16:
398
+ return 51;
399
+ case 17:
400
+ return 52;
401
+ case 18:
402
+ return 53;
403
+ case 19:
404
+ return 54;
405
+ case 20:
406
+ return 25;
407
+ case 21:
408
+ this.begin("md_string");
409
+ break;
410
+ case 22:
411
+ return "MD_STR";
412
+ case 23:
413
+ this.popState();
414
+ break;
415
+ case 24:
416
+ this.begin("string");
417
+ break;
418
+ case 25:
419
+ this.popState();
420
+ break;
421
+ case 26:
422
+ return "STR";
423
+ case 27:
424
+ this.begin("class_name");
425
+ break;
426
+ case 28:
427
+ return this.popState(), 47;
428
+ case 29:
429
+ return this.begin("point_start"), 44;
430
+ case 30:
431
+ return this.begin("point_x"), 45;
432
+ case 31:
433
+ this.popState();
434
+ break;
435
+ case 32:
436
+ this.popState(), this.begin("point_y");
437
+ break;
438
+ case 33:
439
+ return this.popState(), 46;
440
+ case 34:
441
+ return 28;
442
+ case 35:
443
+ return 4;
444
+ case 36:
445
+ return 11;
446
+ case 37:
447
+ return 64;
448
+ case 38:
449
+ return 10;
450
+ case 39:
451
+ return 65;
452
+ case 40:
453
+ return 65;
454
+ case 41:
455
+ return 14;
456
+ case 42:
457
+ return 13;
458
+ case 43:
459
+ return 67;
460
+ case 44:
461
+ return 66;
462
+ case 45:
463
+ return 12;
464
+ case 46:
465
+ return 8;
466
+ case 47:
467
+ return 5;
468
+ case 48:
469
+ return 18;
470
+ case 49:
471
+ return 56;
472
+ case 50:
473
+ return 63;
474
+ case 51:
475
+ return 57;
476
+ }
477
+ }, "anonymous"),
478
+ rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?: *x-axis *)/i, /^(?: *y-axis *)/i, /^(?: *--+> *)/i, /^(?: *quadrant-1 *)/i, /^(?: *quadrant-2 *)/i, /^(?: *quadrant-3 *)/i, /^(?: *quadrant-4 *)/i, /^(?:classDef\b)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?::::)/i, /^(?:^\w+)/i, /^(?:\s*:\s*\[\s*)/i, /^(?:(1)|(0(.\d+)?))/i, /^(?:\s*\] *)/i, /^(?:\s*,\s*)/i, /^(?:(1)|(0(.\d+)?))/i, /^(?: *quadrantChart *)/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s)/i, /^(?:;)/i, /^(?:[!"#$%&'*+,-.`?\\_/])/i, /^(?:$)/i],
479
+ conditions: { class_name: { rules: [28], inclusive: false }, point_y: { rules: [33], inclusive: false }, point_x: { rules: [32], inclusive: false }, point_start: { rules: [30, 31], inclusive: false }, acc_descr_multiline: { rules: [11, 12], inclusive: false }, acc_descr: { rules: [9], inclusive: false }, acc_title: { rules: [7], inclusive: false }, title: { rules: [5], inclusive: false }, md_string: { rules: [22, 23], inclusive: false }, string: { rules: [25, 26], inclusive: false }, INITIAL: { rules: [0, 1, 2, 3, 4, 6, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24, 27, 29, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51], inclusive: true } }
480
+ };
481
+ return M;
482
+ }();
483
+ _t.lexer = pe;
484
+ function ft() {
485
+ this.yy = {};
486
+ }
487
+ return r(ft, "Parser"), ft.prototype = _t, _t.Parser = ft, new ft();
488
+ }();
489
+ Ct.parser = Ct;
490
+ var Le = Ct, V = ve(), Ee = (_a = class {
491
+ constructor() {
492
+ this.classes = /* @__PURE__ */ new Map(), this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData();
493
+ }
494
+ getDefaultData() {
495
+ return {
496
+ titleText: "",
497
+ quadrant1Text: "",
498
+ quadrant2Text: "",
499
+ quadrant3Text: "",
500
+ quadrant4Text: "",
501
+ xAxisLeftText: "",
502
+ xAxisRightText: "",
503
+ yAxisBottomText: "",
504
+ yAxisTopText: "",
505
+ points: []
506
+ };
507
+ }
508
+ getDefaultConfig() {
509
+ var _a2, _b2, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
510
+ return {
511
+ showXAxis: true,
512
+ showYAxis: true,
513
+ showTitle: true,
514
+ chartHeight: ((_a2 = D.quadrantChart) == null ? void 0 : _a2.chartWidth) || 500,
515
+ chartWidth: ((_b2 = D.quadrantChart) == null ? void 0 : _b2.chartHeight) || 500,
516
+ titlePadding: ((_c = D.quadrantChart) == null ? void 0 : _c.titlePadding) || 10,
517
+ titleFontSize: ((_d = D.quadrantChart) == null ? void 0 : _d.titleFontSize) || 20,
518
+ quadrantPadding: ((_e2 = D.quadrantChart) == null ? void 0 : _e2.quadrantPadding) || 5,
519
+ xAxisLabelPadding: ((_f = D.quadrantChart) == null ? void 0 : _f.xAxisLabelPadding) || 5,
520
+ yAxisLabelPadding: ((_g = D.quadrantChart) == null ? void 0 : _g.yAxisLabelPadding) || 5,
521
+ xAxisLabelFontSize: ((_h = D.quadrantChart) == null ? void 0 : _h.xAxisLabelFontSize) || 16,
522
+ yAxisLabelFontSize: ((_i = D.quadrantChart) == null ? void 0 : _i.yAxisLabelFontSize) || 16,
523
+ quadrantLabelFontSize: ((_j = D.quadrantChart) == null ? void 0 : _j.quadrantLabelFontSize) || 16,
524
+ quadrantTextTopPadding: ((_k = D.quadrantChart) == null ? void 0 : _k.quadrantTextTopPadding) || 5,
525
+ pointTextPadding: ((_l = D.quadrantChart) == null ? void 0 : _l.pointTextPadding) || 5,
526
+ pointLabelFontSize: ((_m = D.quadrantChart) == null ? void 0 : _m.pointLabelFontSize) || 12,
527
+ pointRadius: ((_n = D.quadrantChart) == null ? void 0 : _n.pointRadius) || 5,
528
+ xAxisPosition: ((_o = D.quadrantChart) == null ? void 0 : _o.xAxisPosition) || "top",
529
+ yAxisPosition: ((_p = D.quadrantChart) == null ? void 0 : _p.yAxisPosition) || "left",
530
+ quadrantInternalBorderStrokeWidth: ((_q = D.quadrantChart) == null ? void 0 : _q.quadrantInternalBorderStrokeWidth) || 1,
531
+ quadrantExternalBorderStrokeWidth: ((_r = D.quadrantChart) == null ? void 0 : _r.quadrantExternalBorderStrokeWidth) || 2
532
+ };
533
+ }
534
+ getDefaultThemeConfig() {
535
+ return {
536
+ quadrant1Fill: V.quadrant1Fill,
537
+ quadrant2Fill: V.quadrant2Fill,
538
+ quadrant3Fill: V.quadrant3Fill,
539
+ quadrant4Fill: V.quadrant4Fill,
540
+ quadrant1TextFill: V.quadrant1TextFill,
541
+ quadrant2TextFill: V.quadrant2TextFill,
542
+ quadrant3TextFill: V.quadrant3TextFill,
543
+ quadrant4TextFill: V.quadrant4TextFill,
544
+ quadrantPointFill: V.quadrantPointFill,
545
+ quadrantPointTextFill: V.quadrantPointTextFill,
546
+ quadrantXAxisTextFill: V.quadrantXAxisTextFill,
547
+ quadrantYAxisTextFill: V.quadrantYAxisTextFill,
548
+ quadrantTitleFill: V.quadrantTitleFill,
549
+ quadrantInternalBorderStrokeFill: V.quadrantInternalBorderStrokeFill,
550
+ quadrantExternalBorderStrokeFill: V.quadrantExternalBorderStrokeFill
551
+ };
552
+ }
553
+ clear() {
554
+ this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData(), this.classes = /* @__PURE__ */ new Map(), qt.info("clear called");
555
+ }
556
+ setData(t) {
557
+ this.data = { ...this.data, ...t };
558
+ }
559
+ addPoints(t) {
560
+ this.data.points = [...t, ...this.data.points];
561
+ }
562
+ addClass(t, a) {
563
+ this.classes.set(t, a);
564
+ }
565
+ setConfig(t) {
566
+ qt.trace("setConfig called with: ", t), this.config = { ...this.config, ...t };
567
+ }
568
+ setThemeConfig(t) {
569
+ qt.trace("setThemeConfig called with: ", t), this.themeConfig = { ...this.themeConfig, ...t };
570
+ }
571
+ calculateSpace(t, a, p, f) {
572
+ const o = this.config.xAxisLabelPadding * 2 + this.config.xAxisLabelFontSize, x = {
573
+ top: t === "top" && a ? o : 0,
574
+ bottom: t === "bottom" && a ? o : 0
575
+ }, _ = this.config.yAxisLabelPadding * 2 + this.config.yAxisLabelFontSize, h = {
576
+ left: this.config.yAxisPosition === "left" && p ? _ : 0,
577
+ right: this.config.yAxisPosition === "right" && p ? _ : 0
578
+ }, c = this.config.titleFontSize + this.config.titlePadding * 2, S = {
579
+ top: f ? c : 0
580
+ }, m = this.config.quadrantPadding + h.left, b = this.config.quadrantPadding + x.top + S.top, y = this.config.chartWidth - this.config.quadrantPadding * 2 - h.left - h.right, T = this.config.chartHeight - this.config.quadrantPadding * 2 - x.top - x.bottom - S.top, q = y / 2, g = T / 2;
581
+ return {
582
+ xAxisSpace: x,
583
+ yAxisSpace: h,
584
+ titleSpace: S,
585
+ quadrantSpace: {
586
+ quadrantLeft: m,
587
+ quadrantTop: b,
588
+ quadrantWidth: y,
589
+ quadrantHalfWidth: q,
590
+ quadrantHeight: T,
591
+ quadrantHalfHeight: g
592
+ }
593
+ };
594
+ }
595
+ getAxisLabels(t, a, p, f) {
596
+ const { quadrantSpace: o, titleSpace: x } = f, {
597
+ quadrantHalfHeight: _,
598
+ quadrantHeight: h,
599
+ quadrantLeft: c,
600
+ quadrantHalfWidth: S,
601
+ quadrantTop: m,
602
+ quadrantWidth: b
603
+ } = o, y = !!this.data.xAxisRightText, T = !!this.data.yAxisTopText, q = [];
604
+ return this.data.xAxisLeftText && a && q.push({
605
+ text: this.data.xAxisLeftText,
606
+ fill: this.themeConfig.quadrantXAxisTextFill,
607
+ x: c + (y ? S / 2 : 0),
608
+ y: t === "top" ? this.config.xAxisLabelPadding + x.top : this.config.xAxisLabelPadding + m + h + this.config.quadrantPadding,
609
+ fontSize: this.config.xAxisLabelFontSize,
610
+ verticalPos: y ? "center" : "left",
611
+ horizontalPos: "top",
612
+ rotation: 0
613
+ }), this.data.xAxisRightText && a && q.push({
614
+ text: this.data.xAxisRightText,
615
+ fill: this.themeConfig.quadrantXAxisTextFill,
616
+ x: c + S + (y ? S / 2 : 0),
617
+ y: t === "top" ? this.config.xAxisLabelPadding + x.top : this.config.xAxisLabelPadding + m + h + this.config.quadrantPadding,
618
+ fontSize: this.config.xAxisLabelFontSize,
619
+ verticalPos: y ? "center" : "left",
620
+ horizontalPos: "top",
621
+ rotation: 0
622
+ }), this.data.yAxisBottomText && p && q.push({
623
+ text: this.data.yAxisBottomText,
624
+ fill: this.themeConfig.quadrantYAxisTextFill,
625
+ x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + c + b + this.config.quadrantPadding,
626
+ y: m + h - (T ? _ / 2 : 0),
627
+ fontSize: this.config.yAxisLabelFontSize,
628
+ verticalPos: T ? "center" : "left",
629
+ horizontalPos: "top",
630
+ rotation: -90
631
+ }), this.data.yAxisTopText && p && q.push({
632
+ text: this.data.yAxisTopText,
633
+ fill: this.themeConfig.quadrantYAxisTextFill,
634
+ x: this.config.yAxisPosition === "left" ? this.config.yAxisLabelPadding : this.config.yAxisLabelPadding + c + b + this.config.quadrantPadding,
635
+ y: m + _ - (T ? _ / 2 : 0),
636
+ fontSize: this.config.yAxisLabelFontSize,
637
+ verticalPos: T ? "center" : "left",
638
+ horizontalPos: "top",
639
+ rotation: -90
640
+ }), q;
641
+ }
642
+ getQuadrants(t) {
643
+ const { quadrantSpace: a } = t, { quadrantHalfHeight: p, quadrantLeft: f, quadrantHalfWidth: o, quadrantTop: x } = a, _ = [
644
+ {
645
+ text: {
646
+ text: this.data.quadrant1Text,
647
+ fill: this.themeConfig.quadrant1TextFill,
648
+ x: 0,
649
+ y: 0,
650
+ fontSize: this.config.quadrantLabelFontSize,
651
+ verticalPos: "center",
652
+ horizontalPos: "middle",
653
+ rotation: 0
654
+ },
655
+ x: f + o,
656
+ y: x,
657
+ width: o,
658
+ height: p,
659
+ fill: this.themeConfig.quadrant1Fill
660
+ },
661
+ {
662
+ text: {
663
+ text: this.data.quadrant2Text,
664
+ fill: this.themeConfig.quadrant2TextFill,
665
+ x: 0,
666
+ y: 0,
667
+ fontSize: this.config.quadrantLabelFontSize,
668
+ verticalPos: "center",
669
+ horizontalPos: "middle",
670
+ rotation: 0
671
+ },
672
+ x: f,
673
+ y: x,
674
+ width: o,
675
+ height: p,
676
+ fill: this.themeConfig.quadrant2Fill
677
+ },
678
+ {
679
+ text: {
680
+ text: this.data.quadrant3Text,
681
+ fill: this.themeConfig.quadrant3TextFill,
682
+ x: 0,
683
+ y: 0,
684
+ fontSize: this.config.quadrantLabelFontSize,
685
+ verticalPos: "center",
686
+ horizontalPos: "middle",
687
+ rotation: 0
688
+ },
689
+ x: f,
690
+ y: x + p,
691
+ width: o,
692
+ height: p,
693
+ fill: this.themeConfig.quadrant3Fill
694
+ },
695
+ {
696
+ text: {
697
+ text: this.data.quadrant4Text,
698
+ fill: this.themeConfig.quadrant4TextFill,
699
+ x: 0,
700
+ y: 0,
701
+ fontSize: this.config.quadrantLabelFontSize,
702
+ verticalPos: "center",
703
+ horizontalPos: "middle",
704
+ rotation: 0
705
+ },
706
+ x: f + o,
707
+ y: x + p,
708
+ width: o,
709
+ height: p,
710
+ fill: this.themeConfig.quadrant4Fill
711
+ }
712
+ ];
713
+ for (const h of _)
714
+ h.text.x = h.x + h.width / 2, this.data.points.length === 0 ? (h.text.y = h.y + h.height / 2, h.text.horizontalPos = "middle") : (h.text.y = h.y + this.config.quadrantTextTopPadding, h.text.horizontalPos = "top");
715
+ return _;
716
+ }
717
+ getQuadrantPoints(t) {
718
+ const { quadrantSpace: a } = t, { quadrantHeight: p, quadrantLeft: f, quadrantTop: o, quadrantWidth: x } = a, _ = $t().domain([0, 1]).range([f, x + f]), h = $t().domain([0, 1]).range([p + o, o]);
719
+ return this.data.points.map((S) => {
720
+ const m = this.classes.get(S.className);
721
+ return m && (S = { ...m, ...S }), {
722
+ x: _(S.x),
723
+ y: h(S.y),
724
+ fill: S.color ?? this.themeConfig.quadrantPointFill,
725
+ radius: S.radius ?? this.config.pointRadius,
726
+ text: {
727
+ text: S.text,
728
+ fill: this.themeConfig.quadrantPointTextFill,
729
+ x: _(S.x),
730
+ y: h(S.y) + this.config.pointTextPadding,
731
+ verticalPos: "center",
732
+ horizontalPos: "top",
733
+ fontSize: this.config.pointLabelFontSize,
734
+ rotation: 0
735
+ },
736
+ strokeColor: S.strokeColor ?? this.themeConfig.quadrantPointFill,
737
+ strokeWidth: S.strokeWidth ?? "0px"
738
+ };
739
+ });
740
+ }
741
+ getBorders(t) {
742
+ const a = this.config.quadrantExternalBorderStrokeWidth / 2, { quadrantSpace: p } = t, {
743
+ quadrantHalfHeight: f,
744
+ quadrantHeight: o,
745
+ quadrantLeft: x,
746
+ quadrantHalfWidth: _,
747
+ quadrantTop: h,
748
+ quadrantWidth: c
749
+ } = p;
750
+ return [
751
+ // top border
752
+ {
753
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
754
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
755
+ x1: x - a,
756
+ y1: h,
757
+ x2: x + c + a,
758
+ y2: h
759
+ },
760
+ // right border
761
+ {
762
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
763
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
764
+ x1: x + c,
765
+ y1: h + a,
766
+ x2: x + c,
767
+ y2: h + o - a
768
+ },
769
+ // bottom border
770
+ {
771
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
772
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
773
+ x1: x - a,
774
+ y1: h + o,
775
+ x2: x + c + a,
776
+ y2: h + o
777
+ },
778
+ // left border
779
+ {
780
+ strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
781
+ strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
782
+ x1: x,
783
+ y1: h + a,
784
+ x2: x,
785
+ y2: h + o - a
786
+ },
787
+ // vertical inner border
788
+ {
789
+ strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
790
+ strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
791
+ x1: x + _,
792
+ y1: h + a,
793
+ x2: x + _,
794
+ y2: h + o - a
795
+ },
796
+ // horizontal inner border
797
+ {
798
+ strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
799
+ strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
800
+ x1: x + a,
801
+ y1: h + f,
802
+ x2: x + c - a,
803
+ y2: h + f
804
+ }
805
+ ];
806
+ }
807
+ getTitle(t) {
808
+ if (t)
809
+ return {
810
+ text: this.data.titleText,
811
+ fill: this.themeConfig.quadrantTitleFill,
812
+ fontSize: this.config.titleFontSize,
813
+ horizontalPos: "top",
814
+ verticalPos: "center",
815
+ rotation: 0,
816
+ y: this.config.titlePadding,
817
+ x: this.config.chartWidth / 2
818
+ };
819
+ }
820
+ build() {
821
+ const t = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText), a = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText), p = this.config.showTitle && !!this.data.titleText, f = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition, o = this.calculateSpace(f, t, a, p);
822
+ return {
823
+ points: this.getQuadrantPoints(o),
824
+ quadrants: this.getQuadrants(o),
825
+ axisLabels: this.getAxisLabels(f, t, a, o),
826
+ borderLines: this.getBorders(o),
827
+ title: this.getTitle(p)
828
+ };
829
+ }
830
+ }, r(_a, "QuadrantBuilder"), _a), Tt = (_b = class extends Error {
831
+ constructor(t, a, p) {
832
+ super(`value for ${t} ${a} is invalid, please use a valid ${p}`), this.name = "InvalidStyleError";
833
+ }
834
+ }, r(_b, "InvalidStyleError"), _b);
835
+ function Lt(t) {
836
+ return !/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t);
837
+ }
838
+ r(Lt, "validateHexCode");
839
+ function ee(t) {
840
+ return !/^\d+$/.test(t);
841
+ }
842
+ r(ee, "validateNumber");
843
+ function ie(t) {
844
+ return !/^\d+px$/.test(t);
845
+ }
846
+ r(ie, "validateSizeInPixels");
847
+ var De = Et();
848
+ function Q(t) {
849
+ return Ce(t.trim(), De);
850
+ }
851
+ r(Q, "textSanitizer");
852
+ var z = new Ee();
853
+ function ae(t) {
854
+ z.setData({ quadrant1Text: Q(t.text) });
855
+ }
856
+ r(ae, "setQuadrant1Text");
857
+ function ne(t) {
858
+ z.setData({ quadrant2Text: Q(t.text) });
859
+ }
860
+ r(ne, "setQuadrant2Text");
861
+ function se(t) {
862
+ z.setData({ quadrant3Text: Q(t.text) });
863
+ }
864
+ r(se, "setQuadrant3Text");
865
+ function re(t) {
866
+ z.setData({ quadrant4Text: Q(t.text) });
867
+ }
868
+ r(re, "setQuadrant4Text");
869
+ function oe(t) {
870
+ z.setData({ xAxisLeftText: Q(t.text) });
871
+ }
872
+ r(oe, "setXAxisLeftText");
873
+ function le(t) {
874
+ z.setData({ xAxisRightText: Q(t.text) });
875
+ }
876
+ r(le, "setXAxisRightText");
877
+ function he(t) {
878
+ z.setData({ yAxisTopText: Q(t.text) });
879
+ }
880
+ r(he, "setYAxisTopText");
881
+ function ce(t) {
882
+ z.setData({ yAxisBottomText: Q(t.text) });
883
+ }
884
+ r(ce, "setYAxisBottomText");
885
+ function mt(t) {
886
+ const a = {};
887
+ for (const p of t) {
888
+ const [f, o] = p.trim().split(/\s*:\s*/);
889
+ if (f === "radius") {
890
+ if (ee(o))
891
+ throw new Tt(f, o, "number");
892
+ a.radius = parseInt(o);
893
+ } else if (f === "color") {
894
+ if (Lt(o))
895
+ throw new Tt(f, o, "hex code");
896
+ a.color = o;
897
+ } else if (f === "stroke-color") {
898
+ if (Lt(o))
899
+ throw new Tt(f, o, "hex code");
900
+ a.strokeColor = o;
901
+ } else if (f === "stroke-width") {
902
+ if (ie(o))
903
+ throw new Tt(f, o, "number of pixels (eg. 10px)");
904
+ a.strokeWidth = o;
905
+ } else
906
+ throw new Error(`style named ${f} is not supported.`);
907
+ }
908
+ return a;
909
+ }
910
+ r(mt, "parseStyles");
911
+ function de(t, a, p, f, o) {
912
+ const x = mt(o);
913
+ z.addPoints([
914
+ {
915
+ x: p,
916
+ y: f,
917
+ text: Q(t.text),
918
+ className: a,
919
+ ...x
920
+ }
921
+ ]);
922
+ }
923
+ r(de, "addPoint");
924
+ function ue(t, a) {
925
+ z.addClass(t, mt(a));
926
+ }
927
+ r(ue, "addClass");
928
+ function xe(t) {
929
+ z.setConfig({ chartWidth: t });
930
+ }
931
+ r(xe, "setWidth");
932
+ function fe(t) {
933
+ z.setConfig({ chartHeight: t });
934
+ }
935
+ r(fe, "setHeight");
936
+ function ge() {
937
+ const t = Et(), { themeVariables: a, quadrantChart: p } = t;
938
+ return p && z.setConfig(p), z.setThemeConfig({
939
+ quadrant1Fill: a.quadrant1Fill,
940
+ quadrant2Fill: a.quadrant2Fill,
941
+ quadrant3Fill: a.quadrant3Fill,
942
+ quadrant4Fill: a.quadrant4Fill,
943
+ quadrant1TextFill: a.quadrant1TextFill,
944
+ quadrant2TextFill: a.quadrant2TextFill,
945
+ quadrant3TextFill: a.quadrant3TextFill,
946
+ quadrant4TextFill: a.quadrant4TextFill,
947
+ quadrantPointFill: a.quadrantPointFill,
948
+ quadrantPointTextFill: a.quadrantPointTextFill,
949
+ quadrantXAxisTextFill: a.quadrantXAxisTextFill,
950
+ quadrantYAxisTextFill: a.quadrantYAxisTextFill,
951
+ quadrantExternalBorderStrokeFill: a.quadrantExternalBorderStrokeFill,
952
+ quadrantInternalBorderStrokeFill: a.quadrantInternalBorderStrokeFill,
953
+ quadrantTitleFill: a.quadrantTitleFill
954
+ }), z.setData({ titleText: te() }), z.build();
955
+ }
956
+ r(ge, "getQuadrantData");
957
+ var ze = /* @__PURE__ */ r(function() {
958
+ z.clear(), Pe();
959
+ }, "clear"), Ve = {
960
+ setWidth: xe,
961
+ setHeight: fe,
962
+ setQuadrant1Text: ae,
963
+ setQuadrant2Text: ne,
964
+ setQuadrant3Text: se,
965
+ setQuadrant4Text: re,
966
+ setXAxisLeftText: oe,
967
+ setXAxisRightText: le,
968
+ setYAxisTopText: he,
969
+ setYAxisBottomText: ce,
970
+ parseStyles: mt,
971
+ addPoint: de,
972
+ addClass: ue,
973
+ getQuadrantData: ge,
974
+ clear: ze,
975
+ setAccTitle: ke,
976
+ getAccTitle: Ae,
977
+ setDiagramTitle: _e,
978
+ getDiagramTitle: te,
979
+ getAccDescription: Se,
980
+ setAccDescription: be
981
+ }, Ie = /* @__PURE__ */ r((t, a, p, f) => {
982
+ var _a2, _b2, _c;
983
+ function o(i) {
984
+ return i === "top" ? "hanging" : "middle";
985
+ }
986
+ r(o, "getDominantBaseLine");
987
+ function x(i) {
988
+ return i === "left" ? "start" : "middle";
989
+ }
990
+ r(x, "getTextAnchor");
991
+ function _(i) {
992
+ return `translate(${i.x}, ${i.y}) rotate(${i.rotation || 0})`;
993
+ }
994
+ r(_, "getTransformation");
995
+ const h = Et();
996
+ qt.debug(`Rendering quadrant chart
997
+ ` + t);
998
+ const c = h.securityLevel;
999
+ let S;
1000
+ c === "sandbox" && (S = vt("#i" + a));
1001
+ const b = (c === "sandbox" ? vt(S.nodes()[0].contentDocument.body) : vt("body")).select(`[id="${a}"]`), y = b.append("g").attr("class", "main"), T = ((_a2 = h.quadrantChart) == null ? void 0 : _a2.chartWidth) ?? 500, q = ((_b2 = h.quadrantChart) == null ? void 0 : _b2.chartHeight) ?? 500;
1002
+ Fe(b, q, T, ((_c = h.quadrantChart) == null ? void 0 : _c.useMaxWidth) ?? true), b.attr("viewBox", "0 0 " + T + " " + q), f.db.setHeight(q), f.db.setWidth(T);
1003
+ const g = f.db.getQuadrantData(), rt = y.append("g").attr("class", "quadrants"), ct = y.append("g").attr("class", "border"), dt = y.append("g").attr("class", "data-points"), ut = y.append("g").attr("class", "labels"), xt = y.append("g").attr("class", "title");
1004
+ g.title && xt.append("text").attr("x", 0).attr("y", 0).attr("fill", g.title.fill).attr("font-size", g.title.fontSize).attr("dominant-baseline", o(g.title.horizontalPos)).attr("text-anchor", x(g.title.verticalPos)).attr("transform", _(g.title)).text(g.title.text), g.borderLines && ct.selectAll("line").data(g.borderLines).enter().append("line").attr("x1", (i) => i.x1).attr("y1", (i) => i.y1).attr("x2", (i) => i.x2).attr("y2", (i) => i.y2).style("stroke", (i) => i.strokeFill).style("stroke-width", (i) => i.strokeWidth);
1005
+ const ot = rt.selectAll("g.quadrant").data(g.quadrants).enter().append("g").attr("class", "quadrant");
1006
+ ot.append("rect").attr("x", (i) => i.x).attr("y", (i) => i.y).attr("width", (i) => i.width).attr("height", (i) => i.height).attr("fill", (i) => i.fill), ot.append("text").attr("x", 0).attr("y", 0).attr("fill", (i) => i.text.fill).attr("font-size", (i) => i.text.fontSize).attr(
1007
+ "dominant-baseline",
1008
+ (i) => o(i.text.horizontalPos)
1009
+ ).attr("text-anchor", (i) => x(i.text.verticalPos)).attr("transform", (i) => _(i.text)).text((i) => i.text.text), ut.selectAll("g.label").data(g.axisLabels).enter().append("g").attr("class", "label").append("text").attr("x", 0).attr("y", 0).text((i) => i.text).attr("fill", (i) => i.fill).attr("font-size", (i) => i.fontSize).attr("dominant-baseline", (i) => o(i.horizontalPos)).attr("text-anchor", (i) => x(i.verticalPos)).attr("transform", (i) => _(i));
1010
+ const lt = dt.selectAll("g.data-point").data(g.points).enter().append("g").attr("class", "data-point");
1011
+ lt.append("circle").attr("cx", (i) => i.x).attr("cy", (i) => i.y).attr("r", (i) => i.radius).attr("fill", (i) => i.fill).attr("stroke", (i) => i.strokeColor).attr("stroke-width", (i) => i.strokeWidth), lt.append("text").attr("x", 0).attr("y", 0).text((i) => i.text.text).attr("fill", (i) => i.text.fill).attr("font-size", (i) => i.text.fontSize).attr(
1012
+ "dominant-baseline",
1013
+ (i) => o(i.text.horizontalPos)
1014
+ ).attr("text-anchor", (i) => x(i.text.verticalPos)).attr("transform", (i) => _(i.text));
1015
+ }, "draw"), we = {
1016
+ draw: Ie
1017
+ }, Ne = {
1018
+ parser: Le,
1019
+ db: Ve,
1020
+ renderer: we,
1021
+ styles: /* @__PURE__ */ r(() => "", "styles")
1022
+ };
1023
+ export {
1024
+ Ne as diagram
1025
+ };