@schmitech/chatbot-widget 0.5.3 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/_basePickBy-C3-QE0dl-5eQ6L29l.js +152 -0
  2. package/dist/_baseUniq-CstiM9Lp-AFR_Ns0a.js +615 -0
  3. package/dist/arc-W3NKKXLI-DHbDwLx0.js +84 -0
  4. package/dist/architecture-U656AL7Q-fn9wJZsH-BLoGjtkP.js +6 -0
  5. package/dist/architectureDiagram-VXUJARFQ-zzJsgPC6-C4OfUE0m.js +4667 -0
  6. package/dist/blockDiagram-VD42YOAC-D-In4h7h-BYXdRmeG.js +2266 -0
  7. package/dist/c4Diagram-YG6GDRKO-DBs8r9gh-BdLuHgPT.js +1582 -0
  8. package/dist/channel-RBWQyMSg-Cx0HUumY.js +6 -0
  9. package/dist/chatbot-widget.bundle.js +4473 -1556
  10. package/dist/chatbot-widget.css +1 -1
  11. package/dist/chatbot-widget.es.js +12 -63659
  12. package/dist/chatbot-widget.umd.js +4472 -1555
  13. package/dist/chunk-4BX2VUAB-BqD7w0AR-CbA2613c.js +10 -0
  14. package/dist/chunk-55IACEB6-D8pvDVEJ-DrL4SJSR.js +9 -0
  15. package/dist/chunk-B4BG7PRW-Dwma1pSy-BWjG5dc6.js +1375 -0
  16. package/dist/chunk-DI55MBZ5-BY2XXvZz-DbAvz3Pq.js +1383 -0
  17. package/dist/chunk-FMBD7UC4-BeiLbQ8U-BNaZTCv4.js +20 -0
  18. package/dist/chunk-QN33PNHL-BkO3hOeq-DkU1EzGA.js +21 -0
  19. package/dist/chunk-QZHKN3VN-Cwlo2qTG-DMmeZmp5.js +16 -0
  20. package/dist/chunk-TZMSLE5B-BnXK-OiF-RfzVsOBe.js +65 -0
  21. package/dist/classDiagram-2ON5EDUG-Crd6O69V-kCZrFOLN.js +17 -0
  22. package/dist/classDiagram-v2-WZHVMYZB-Crd6O69V-kCZrFOLN.js +17 -0
  23. package/dist/clone-CfLgyC8S-DsDOh4B4.js +9 -0
  24. package/dist/config/index.d.ts +4 -2
  25. package/dist/cose-bilkent-S5V4N54A-DKeVcPDK-de_7nZTY.js +2609 -0
  26. package/dist/cytoscape.esm-CjI2IsL8-Be2K4mI6.js +18723 -0
  27. package/dist/dagre-6UL2VRFP-BPf604Df-BhZs6zCq.js +448 -0
  28. package/dist/diagram-PSM6KHXK-DeLcpEV3-qb4rujeN.js +532 -0
  29. package/dist/diagram-QEK2KX5R-C_5RR1NJ-C5kZWmRl.js +222 -0
  30. package/dist/diagram-S2PKOQOG-DVx43aon-4nlw6iDz.js +144 -0
  31. package/dist/erDiagram-Q2GNP2WA-DgUeO5_h-DHc9Yphl.js +841 -0
  32. package/dist/flowDiagram-NV44I4VS-C5HQUzU9-DHjbmAtJ.js +1628 -0
  33. package/dist/ganttDiagram-JELNMOA3-DgSZ1ixF-C3hJs_k9.js +1936 -0
  34. package/dist/gitGraph-F6HP7TQM-UL7-Bx1s-Cog5rj3j.js +6 -0
  35. package/dist/gitGraphDiagram-NY62KEGX-DY5loT9K-CEcKQNrM.js +713 -0
  36. package/dist/graph-BfwqPHx6-DErF9dBN.js +248 -0
  37. package/dist/index-B5s_uaP2.js +124168 -0
  38. package/dist/index-BAOVR-xx-thst7Pu6.js +13251 -0
  39. package/dist/info-NVLQJR56-BsqQ0RXQ-BcYgZCCY.js +6 -0
  40. package/dist/infoDiagram-WHAUD3N6-DIqQ6vCk-BuiAAMSH.js +25 -0
  41. package/dist/journeyDiagram-XKPGCS4Q-DXjg3S3r-Byi_TGXs.js +835 -0
  42. package/dist/kanban-definition-3W4ZIXB7-Uxt7Am6n-jy96nA-g.js +721 -0
  43. package/dist/layout-CSfkE668-BjigbqJL.js +1333 -0
  44. package/dist/mermaid-parser.core-LjuO4CL3-BLqmPe8-.js +12891 -0
  45. package/dist/mindmap-definition-VGOIOE7T-DXwVuAPE-SK4e1Sse.js +787 -0
  46. package/dist/packet-BFZMPI3H-DJWkrKrV-BamBev9S.js +6 -0
  47. package/dist/pie-7BOR55EZ-DC8hTFwn-D1bcIQbR.js +6 -0
  48. package/dist/pieDiagram-ADFJNKIX-Cj0EHHtj-Dbr09c-S.js +161 -0
  49. package/dist/quadrantDiagram-AYHSOK5B-CnLDz007-Ci0DQl2T.js +1024 -0
  50. package/dist/radar-NHE76QYJ-Bijk-Fk9-9nAmDCMr.js +6 -0
  51. package/dist/requirementDiagram-UZGBJVZJ-rDaI-8Be-CSEc4S33.js +851 -0
  52. package/dist/sankeyDiagram-TZEHDZUN-A0YO8ixs-Zj8Z0j0n.js +810 -0
  53. package/dist/sequenceDiagram-WL72ISMW-BFF7TtP7-Dcofckjv.js +2519 -0
  54. package/dist/shared/styles.d.ts +1 -1
  55. package/dist/stateDiagram-FKZM4ZOC-ofFsB7HJ-BJBX12rE.js +264 -0
  56. package/dist/stateDiagram-v2-4FDKWEC3-CEZFbksU-BywmU88h.js +17 -0
  57. package/dist/timeline-definition-IT6M3QCI-5W361ZNm-MP_ufVe7.js +800 -0
  58. package/dist/treemap-KMMF4GRG-pGRoYcSn-BeZ7sXgP.js +6 -0
  59. package/dist/ui/Message.d.ts +1 -5
  60. package/dist/ui/MessagesList.d.ts +1 -5
  61. package/dist/utils/contentFiltering.d.ts +12 -0
  62. package/dist/xychartDiagram-PRI3JC2R-CSr0GxaP-DBgCtplP.js +1297 -0
  63. package/package.json +3 -3
  64. package/dist/ui/TypingEffect.d.ts +0 -18
@@ -0,0 +1,1375 @@
1
+ import { l as Zt } from "./chunk-FMBD7UC4-BeiLbQ8U-BNaZTCv4.js";
2
+ import { d as te } from "./chunk-55IACEB6-D8pvDVEJ-DrL4SJSR.js";
3
+ import { d as ee } from "./chunk-QN33PNHL-BkO3hOeq-DkU1EzGA.js";
4
+ import { x as p, a as Ot, p as T, r as se, t as ie, v as It, f as H, u as ae, g as ne, h as re, B as ue, w as le, z as oe, n as $, L as ce, _ as he, y as pe, aB as R } from "./index-B5s_uaP2.js";
5
+ typeof window < "u" && (window.global = window);
6
+ var vt = function() {
7
+ var t = /* @__PURE__ */ p(function(N, r, h, n) {
8
+ for (h = h || {}, n = N.length; n--; h[N[n]] = r) ;
9
+ return h;
10
+ }, "o"), i = [1, 18], u = [1, 19], a = [1, 20], o = [1, 41], l = [1, 42], d = [1, 26], A = [1, 24], k = [1, 25], q = [1, 32], ct = [1, 33], ht = [1, 34], C = [1, 45], pt = [1, 35], dt = [1, 36], At = [1, 37], yt = [1, 38], Ct = [1, 27], mt = [1, 28], gt = [1, 29], bt = [1, 30], ft = [1, 31], m = [1, 44], g = [1, 46], b = [1, 43], f = [1, 47], Et = [1, 9], c = [1, 8, 9], J = [1, 58], V = [1, 59], Z = [1, 60], tt = [1, 61], et = [1, 62], kt = [1, 63], Tt = [1, 64], P = [1, 8, 9, 41], wt = [1, 76], v = [1, 8, 9, 12, 13, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], st = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 50, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], it = [13, 60, 86, 100, 102, 103], M = [13, 60, 73, 74, 86, 100, 102, 103], Rt = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], Dt = [1, 100], G = [1, 117], U = [1, 113], z = [1, 109], K = [1, 115], Y = [1, 110], W = [1, 111], j = [1, 112], X = [1, 114], Q = [1, 116], Pt = [22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Ft = [1, 8, 9, 39, 41, 44], at = [1, 8, 9, 22], Mt = [1, 145], Gt = [1, 8, 9, 61], S = [1, 8, 9, 22, 48, 60, 61, 82, 86, 87, 88, 89, 90], Bt = {
11
+ trace: /* @__PURE__ */ p(function() {
12
+ }, "trace"),
13
+ yy: {},
14
+ symbols_: { error: 2, start: 3, mermaidDoc: 4, statements: 5, graphConfig: 6, CLASS_DIAGRAM: 7, NEWLINE: 8, EOF: 9, statement: 10, classLabel: 11, SQS: 12, STR: 13, SQE: 14, namespaceName: 15, alphaNumToken: 16, classLiteralName: 17, DOT: 18, className: 19, GENERICTYPE: 20, relationStatement: 21, LABEL: 22, namespaceStatement: 23, classStatement: 24, memberStatement: 25, annotationStatement: 26, clickStatement: 27, styleStatement: 28, cssClassStatement: 29, noteStatement: 30, classDefStatement: 31, direction: 32, acc_title: 33, acc_title_value: 34, acc_descr: 35, acc_descr_value: 36, acc_descr_multiline_value: 37, namespaceIdentifier: 38, STRUCT_START: 39, classStatements: 40, STRUCT_STOP: 41, NAMESPACE: 42, classIdentifier: 43, STYLE_SEPARATOR: 44, members: 45, CLASS: 46, emptyBody: 47, SPACE: 48, ANNOTATION_START: 49, ANNOTATION_END: 50, MEMBER: 51, SEPARATOR: 52, relation: 53, NOTE_FOR: 54, noteText: 55, NOTE: 56, CLASSDEF: 57, classList: 58, stylesOpt: 59, ALPHA: 60, COMMA: 61, direction_tb: 62, direction_bt: 63, direction_rl: 64, direction_lr: 65, relationType: 66, lineType: 67, AGGREGATION: 68, EXTENSION: 69, COMPOSITION: 70, DEPENDENCY: 71, LOLLIPOP: 72, LINE: 73, DOTTED_LINE: 74, CALLBACK: 75, LINK: 76, LINK_TARGET: 77, CLICK: 78, CALLBACK_NAME: 79, CALLBACK_ARGS: 80, HREF: 81, STYLE: 82, CSSCLASS: 83, style: 84, styleComponent: 85, NUM: 86, COLON: 87, UNIT: 88, BRKT: 89, PCT: 90, commentToken: 91, textToken: 92, graphCodeTokens: 93, textNoTagsToken: 94, TAGSTART: 95, TAGEND: 96, "==": 97, "--": 98, DEFAULT: 99, MINUS: 100, keywords: 101, UNICODE_TEXT: 102, BQUOTE_STR: 103, $accept: 0, $end: 1 },
15
+ terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 18: "DOT", 20: "GENERICTYPE", 22: "LABEL", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 39: "STRUCT_START", 41: "STRUCT_STOP", 42: "NAMESPACE", 44: "STYLE_SEPARATOR", 46: "CLASS", 48: "SPACE", 49: "ANNOTATION_START", 50: "ANNOTATION_END", 51: "MEMBER", 52: "SEPARATOR", 54: "NOTE_FOR", 56: "NOTE", 57: "CLASSDEF", 60: "ALPHA", 61: "COMMA", 62: "direction_tb", 63: "direction_bt", 64: "direction_rl", 65: "direction_lr", 68: "AGGREGATION", 69: "EXTENSION", 70: "COMPOSITION", 71: "DEPENDENCY", 72: "LOLLIPOP", 73: "LINE", 74: "DOTTED_LINE", 75: "CALLBACK", 76: "LINK", 77: "LINK_TARGET", 78: "CLICK", 79: "CALLBACK_NAME", 80: "CALLBACK_ARGS", 81: "HREF", 82: "STYLE", 83: "CSSCLASS", 86: "NUM", 87: "COLON", 88: "UNIT", 89: "BRKT", 90: "PCT", 93: "graphCodeTokens", 95: "TAGSTART", 96: "TAGEND", 97: "==", 98: "--", 99: "DEFAULT", 100: "MINUS", 101: "keywords", 102: "UNICODE_TEXT", 103: "BQUOTE_STR" },
16
+ productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 1], [15, 3], [15, 2], [19, 1], [19, 3], [19, 1], [19, 2], [19, 2], [19, 2], [10, 1], [10, 2], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [10, 1], [23, 4], [23, 5], [38, 2], [40, 1], [40, 2], [40, 3], [24, 1], [24, 3], [24, 4], [24, 3], [24, 6], [43, 2], [43, 3], [47, 0], [47, 2], [47, 2], [26, 4], [45, 1], [45, 2], [25, 1], [25, 2], [25, 1], [25, 1], [21, 3], [21, 4], [21, 4], [21, 5], [30, 3], [30, 2], [31, 3], [58, 1], [58, 3], [32, 1], [32, 1], [32, 1], [32, 1], [53, 3], [53, 2], [53, 2], [53, 1], [66, 1], [66, 1], [66, 1], [66, 1], [66, 1], [67, 1], [67, 1], [27, 3], [27, 4], [27, 3], [27, 4], [27, 4], [27, 5], [27, 3], [27, 4], [27, 4], [27, 5], [27, 4], [27, 5], [27, 5], [27, 6], [28, 3], [29, 3], [59, 1], [59, 3], [84, 1], [84, 2], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [91, 1], [91, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [92, 1], [94, 1], [94, 1], [94, 1], [94, 1], [16, 1], [16, 1], [16, 1], [16, 1], [17, 1], [55, 1]],
17
+ performAction: /* @__PURE__ */ p(function(N, r, h, n, y, e, D) {
18
+ var s = e.length - 1;
19
+ switch (y) {
20
+ case 8:
21
+ this.$ = e[s - 1];
22
+ break;
23
+ case 9:
24
+ case 10:
25
+ case 13:
26
+ case 15:
27
+ this.$ = e[s];
28
+ break;
29
+ case 11:
30
+ case 14:
31
+ this.$ = e[s - 2] + "." + e[s];
32
+ break;
33
+ case 12:
34
+ case 16:
35
+ this.$ = e[s - 1] + e[s];
36
+ break;
37
+ case 17:
38
+ case 18:
39
+ this.$ = e[s - 1] + "~" + e[s] + "~";
40
+ break;
41
+ case 19:
42
+ n.addRelation(e[s]);
43
+ break;
44
+ case 20:
45
+ e[s - 1].title = n.cleanupLabel(e[s]), n.addRelation(e[s - 1]);
46
+ break;
47
+ case 31:
48
+ this.$ = e[s].trim(), n.setAccTitle(this.$);
49
+ break;
50
+ case 32:
51
+ case 33:
52
+ this.$ = e[s].trim(), n.setAccDescription(this.$);
53
+ break;
54
+ case 34:
55
+ n.addClassesToNamespace(e[s - 3], e[s - 1]);
56
+ break;
57
+ case 35:
58
+ n.addClassesToNamespace(e[s - 4], e[s - 1]);
59
+ break;
60
+ case 36:
61
+ this.$ = e[s], n.addNamespace(e[s]);
62
+ break;
63
+ case 37:
64
+ this.$ = [e[s]];
65
+ break;
66
+ case 38:
67
+ this.$ = [e[s - 1]];
68
+ break;
69
+ case 39:
70
+ e[s].unshift(e[s - 2]), this.$ = e[s];
71
+ break;
72
+ case 41:
73
+ n.setCssClass(e[s - 2], e[s]);
74
+ break;
75
+ case 42:
76
+ n.addMembers(e[s - 3], e[s - 1]);
77
+ break;
78
+ case 44:
79
+ n.setCssClass(e[s - 5], e[s - 3]), n.addMembers(e[s - 5], e[s - 1]);
80
+ break;
81
+ case 45:
82
+ this.$ = e[s], n.addClass(e[s]);
83
+ break;
84
+ case 46:
85
+ this.$ = e[s - 1], n.addClass(e[s - 1]), n.setClassLabel(e[s - 1], e[s]);
86
+ break;
87
+ case 50:
88
+ n.addAnnotation(e[s], e[s - 2]);
89
+ break;
90
+ case 51:
91
+ case 64:
92
+ this.$ = [e[s]];
93
+ break;
94
+ case 52:
95
+ e[s].push(e[s - 1]), this.$ = e[s];
96
+ break;
97
+ case 53:
98
+ break;
99
+ case 54:
100
+ n.addMember(e[s - 1], n.cleanupLabel(e[s]));
101
+ break;
102
+ case 55:
103
+ break;
104
+ case 56:
105
+ break;
106
+ case 57:
107
+ this.$ = { id1: e[s - 2], id2: e[s], relation: e[s - 1], relationTitle1: "none", relationTitle2: "none" };
108
+ break;
109
+ case 58:
110
+ this.$ = { id1: e[s - 3], id2: e[s], relation: e[s - 1], relationTitle1: e[s - 2], relationTitle2: "none" };
111
+ break;
112
+ case 59:
113
+ this.$ = { id1: e[s - 3], id2: e[s], relation: e[s - 2], relationTitle1: "none", relationTitle2: e[s - 1] };
114
+ break;
115
+ case 60:
116
+ this.$ = { id1: e[s - 4], id2: e[s], relation: e[s - 2], relationTitle1: e[s - 3], relationTitle2: e[s - 1] };
117
+ break;
118
+ case 61:
119
+ n.addNote(e[s], e[s - 1]);
120
+ break;
121
+ case 62:
122
+ n.addNote(e[s]);
123
+ break;
124
+ case 63:
125
+ this.$ = e[s - 2], n.defineClass(e[s - 1], e[s]);
126
+ break;
127
+ case 65:
128
+ this.$ = e[s - 2].concat([e[s]]);
129
+ break;
130
+ case 66:
131
+ n.setDirection("TB");
132
+ break;
133
+ case 67:
134
+ n.setDirection("BT");
135
+ break;
136
+ case 68:
137
+ n.setDirection("RL");
138
+ break;
139
+ case 69:
140
+ n.setDirection("LR");
141
+ break;
142
+ case 70:
143
+ this.$ = { type1: e[s - 2], type2: e[s], lineType: e[s - 1] };
144
+ break;
145
+ case 71:
146
+ this.$ = { type1: "none", type2: e[s], lineType: e[s - 1] };
147
+ break;
148
+ case 72:
149
+ this.$ = { type1: e[s - 1], type2: "none", lineType: e[s] };
150
+ break;
151
+ case 73:
152
+ this.$ = { type1: "none", type2: "none", lineType: e[s] };
153
+ break;
154
+ case 74:
155
+ this.$ = n.relationType.AGGREGATION;
156
+ break;
157
+ case 75:
158
+ this.$ = n.relationType.EXTENSION;
159
+ break;
160
+ case 76:
161
+ this.$ = n.relationType.COMPOSITION;
162
+ break;
163
+ case 77:
164
+ this.$ = n.relationType.DEPENDENCY;
165
+ break;
166
+ case 78:
167
+ this.$ = n.relationType.LOLLIPOP;
168
+ break;
169
+ case 79:
170
+ this.$ = n.lineType.LINE;
171
+ break;
172
+ case 80:
173
+ this.$ = n.lineType.DOTTED_LINE;
174
+ break;
175
+ case 81:
176
+ case 87:
177
+ this.$ = e[s - 2], n.setClickEvent(e[s - 1], e[s]);
178
+ break;
179
+ case 82:
180
+ case 88:
181
+ this.$ = e[s - 3], n.setClickEvent(e[s - 2], e[s - 1]), n.setTooltip(e[s - 2], e[s]);
182
+ break;
183
+ case 83:
184
+ this.$ = e[s - 2], n.setLink(e[s - 1], e[s]);
185
+ break;
186
+ case 84:
187
+ this.$ = e[s - 3], n.setLink(e[s - 2], e[s - 1], e[s]);
188
+ break;
189
+ case 85:
190
+ this.$ = e[s - 3], n.setLink(e[s - 2], e[s - 1]), n.setTooltip(e[s - 2], e[s]);
191
+ break;
192
+ case 86:
193
+ this.$ = e[s - 4], n.setLink(e[s - 3], e[s - 2], e[s]), n.setTooltip(e[s - 3], e[s - 1]);
194
+ break;
195
+ case 89:
196
+ this.$ = e[s - 3], n.setClickEvent(e[s - 2], e[s - 1], e[s]);
197
+ break;
198
+ case 90:
199
+ this.$ = e[s - 4], n.setClickEvent(e[s - 3], e[s - 2], e[s - 1]), n.setTooltip(e[s - 3], e[s]);
200
+ break;
201
+ case 91:
202
+ this.$ = e[s - 3], n.setLink(e[s - 2], e[s]);
203
+ break;
204
+ case 92:
205
+ this.$ = e[s - 4], n.setLink(e[s - 3], e[s - 1], e[s]);
206
+ break;
207
+ case 93:
208
+ this.$ = e[s - 4], n.setLink(e[s - 3], e[s - 1]), n.setTooltip(e[s - 3], e[s]);
209
+ break;
210
+ case 94:
211
+ this.$ = e[s - 5], n.setLink(e[s - 4], e[s - 2], e[s]), n.setTooltip(e[s - 4], e[s - 1]);
212
+ break;
213
+ case 95:
214
+ this.$ = e[s - 2], n.setCssStyle(e[s - 1], e[s]);
215
+ break;
216
+ case 96:
217
+ n.setCssClass(e[s - 1], e[s]);
218
+ break;
219
+ case 97:
220
+ this.$ = [e[s]];
221
+ break;
222
+ case 98:
223
+ e[s - 2].push(e[s]), this.$ = e[s - 2];
224
+ break;
225
+ case 100:
226
+ this.$ = e[s - 1] + e[s];
227
+ break;
228
+ }
229
+ }, "anonymous"),
230
+ table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: u, 37: a, 38: 22, 42: o, 43: 23, 46: l, 49: d, 51: A, 52: k, 54: q, 56: ct, 57: ht, 60: C, 62: pt, 63: dt, 64: At, 65: yt, 75: Ct, 76: mt, 78: gt, 82: bt, 83: ft, 86: m, 100: g, 102: b, 103: f }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, t(Et, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, t(c, [2, 19], { 22: [1, 50] }), t(c, [2, 21]), t(c, [2, 22]), t(c, [2, 23]), t(c, [2, 24]), t(c, [2, 25]), t(c, [2, 26]), t(c, [2, 27]), t(c, [2, 28]), t(c, [2, 29]), t(c, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, t(c, [2, 33]), t(c, [2, 53], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: J, 69: V, 70: Z, 71: tt, 72: et, 73: kt, 74: Tt }), { 39: [1, 65] }, t(P, [2, 40], { 39: [1, 67], 44: [1, 66] }), t(c, [2, 55]), t(c, [2, 56]), { 16: 68, 60: C, 86: m, 100: g, 102: b }, { 16: 39, 17: 40, 19: 69, 60: C, 86: m, 100: g, 102: b, 103: f }, { 16: 39, 17: 40, 19: 70, 60: C, 86: m, 100: g, 102: b, 103: f }, { 16: 39, 17: 40, 19: 71, 60: C, 86: m, 100: g, 102: b, 103: f }, { 60: [1, 72] }, { 13: [1, 73] }, { 16: 39, 17: 40, 19: 74, 60: C, 86: m, 100: g, 102: b, 103: f }, { 13: wt, 55: 75 }, { 58: 77, 60: [1, 78] }, t(c, [2, 66]), t(c, [2, 67]), t(c, [2, 68]), t(c, [2, 69]), t(v, [2, 13], { 16: 39, 17: 40, 19: 80, 18: [1, 79], 20: [1, 81], 60: C, 86: m, 100: g, 102: b, 103: f }), t(v, [2, 15], { 20: [1, 82] }), { 15: 83, 16: 84, 17: 85, 60: C, 86: m, 100: g, 102: b, 103: f }, { 16: 39, 17: 40, 19: 86, 60: C, 86: m, 100: g, 102: b, 103: f }, t(st, [2, 123]), t(st, [2, 124]), t(st, [2, 125]), t(st, [2, 126]), t([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 127]), t(Et, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 87, 33: i, 35: u, 37: a, 42: o, 46: l, 49: d, 51: A, 52: k, 54: q, 56: ct, 57: ht, 60: C, 62: pt, 63: dt, 64: At, 65: yt, 75: Ct, 76: mt, 78: gt, 82: bt, 83: ft, 86: m, 100: g, 102: b, 103: f }), { 5: 88, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: u, 37: a, 38: 22, 42: o, 43: 23, 46: l, 49: d, 51: A, 52: k, 54: q, 56: ct, 57: ht, 60: C, 62: pt, 63: dt, 64: At, 65: yt, 75: Ct, 76: mt, 78: gt, 82: bt, 83: ft, 86: m, 100: g, 102: b, 103: f }, t(c, [2, 20]), t(c, [2, 31]), t(c, [2, 32]), { 13: [1, 90], 16: 39, 17: 40, 19: 89, 60: C, 86: m, 100: g, 102: b, 103: f }, { 53: 91, 66: 56, 67: 57, 68: J, 69: V, 70: Z, 71: tt, 72: et, 73: kt, 74: Tt }, t(c, [2, 54]), { 67: 92, 73: kt, 74: Tt }, t(it, [2, 73], { 66: 93, 68: J, 69: V, 70: Z, 71: tt, 72: et }), t(M, [2, 74]), t(M, [2, 75]), t(M, [2, 76]), t(M, [2, 77]), t(M, [2, 78]), t(Rt, [2, 79]), t(Rt, [2, 80]), { 8: [1, 95], 24: 96, 40: 94, 43: 23, 46: l }, { 16: 97, 60: C, 86: m, 100: g, 102: b }, { 41: [1, 99], 45: 98, 51: Dt }, { 50: [1, 101] }, { 13: [1, 102] }, { 13: [1, 103] }, { 79: [1, 104], 81: [1, 105] }, { 22: G, 48: U, 59: 106, 60: z, 82: K, 84: 107, 85: 108, 86: Y, 87: W, 88: j, 89: X, 90: Q }, { 60: [1, 118] }, { 13: wt, 55: 119 }, t(c, [2, 62]), t(c, [2, 128]), { 22: G, 48: U, 59: 120, 60: z, 61: [1, 121], 82: K, 84: 107, 85: 108, 86: Y, 87: W, 88: j, 89: X, 90: Q }, t(Pt, [2, 64]), { 16: 39, 17: 40, 19: 122, 60: C, 86: m, 100: g, 102: b, 103: f }, t(v, [2, 16]), t(v, [2, 17]), t(v, [2, 18]), { 39: [2, 36] }, { 15: 124, 16: 84, 17: 85, 18: [1, 123], 39: [2, 9], 60: C, 86: m, 100: g, 102: b, 103: f }, { 39: [2, 10] }, t(Ft, [2, 45], { 11: 125, 12: [1, 126] }), t(Et, [2, 7]), { 9: [1, 127] }, t(at, [2, 57]), { 16: 39, 17: 40, 19: 128, 60: C, 86: m, 100: g, 102: b, 103: f }, { 13: [1, 130], 16: 39, 17: 40, 19: 129, 60: C, 86: m, 100: g, 102: b, 103: f }, t(it, [2, 72], { 66: 131, 68: J, 69: V, 70: Z, 71: tt, 72: et }), t(it, [2, 71]), { 41: [1, 132] }, { 24: 96, 40: 133, 43: 23, 46: l }, { 8: [1, 134], 41: [2, 37] }, t(P, [2, 41], { 39: [1, 135] }), { 41: [1, 136] }, t(P, [2, 43]), { 41: [2, 51], 45: 137, 51: Dt }, { 16: 39, 17: 40, 19: 138, 60: C, 86: m, 100: g, 102: b, 103: f }, t(c, [2, 81], { 13: [1, 139] }), t(c, [2, 83], { 13: [1, 141], 77: [1, 140] }), t(c, [2, 87], { 13: [1, 142], 80: [1, 143] }), { 13: [1, 144] }, t(c, [2, 95], { 61: Mt }), t(Gt, [2, 97], { 85: 146, 22: G, 48: U, 60: z, 82: K, 86: Y, 87: W, 88: j, 89: X, 90: Q }), t(S, [2, 99]), t(S, [2, 101]), t(S, [2, 102]), t(S, [2, 103]), t(S, [2, 104]), t(S, [2, 105]), t(S, [2, 106]), t(S, [2, 107]), t(S, [2, 108]), t(S, [2, 109]), t(c, [2, 96]), t(c, [2, 61]), t(c, [2, 63], { 61: Mt }), { 60: [1, 147] }, t(v, [2, 14]), { 15: 148, 16: 84, 17: 85, 60: C, 86: m, 100: g, 102: b, 103: f }, { 39: [2, 12] }, t(Ft, [2, 46]), { 13: [1, 149] }, { 1: [2, 4] }, t(at, [2, 59]), t(at, [2, 58]), { 16: 39, 17: 40, 19: 150, 60: C, 86: m, 100: g, 102: b, 103: f }, t(it, [2, 70]), t(c, [2, 34]), { 41: [1, 151] }, { 24: 96, 40: 152, 41: [2, 38], 43: 23, 46: l }, { 45: 153, 51: Dt }, t(P, [2, 42]), { 41: [2, 52] }, t(c, [2, 50]), t(c, [2, 82]), t(c, [2, 84]), t(c, [2, 85], { 77: [1, 154] }), t(c, [2, 88]), t(c, [2, 89], { 13: [1, 155] }), t(c, [2, 91], { 13: [1, 157], 77: [1, 156] }), { 22: G, 48: U, 60: z, 82: K, 84: 158, 85: 108, 86: Y, 87: W, 88: j, 89: X, 90: Q }, t(S, [2, 100]), t(Pt, [2, 65]), { 39: [2, 11] }, { 14: [1, 159] }, t(at, [2, 60]), t(c, [2, 35]), { 41: [2, 39] }, { 41: [1, 160] }, t(c, [2, 86]), t(c, [2, 90]), t(c, [2, 92]), t(c, [2, 93], { 77: [1, 161] }), t(Gt, [2, 98], { 85: 146, 22: G, 48: U, 60: z, 82: K, 86: Y, 87: W, 88: j, 89: X, 90: Q }), t(Ft, [2, 8]), t(P, [2, 44]), t(c, [2, 94])],
231
+ defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 83: [2, 36], 85: [2, 10], 124: [2, 12], 127: [2, 4], 137: [2, 52], 148: [2, 11], 152: [2, 39] },
232
+ parseError: /* @__PURE__ */ p(function(N, r) {
233
+ if (r.recoverable)
234
+ this.trace(N);
235
+ else {
236
+ var h = new Error(N);
237
+ throw h.hash = r, h;
238
+ }
239
+ }, "parseError"),
240
+ parse: /* @__PURE__ */ p(function(N) {
241
+ var r = this, h = [0], n = [], y = [null], e = [], D = this.table, s = "", rt = 0, Ut = 0, Ht = 2, zt = 1, qt = e.slice.call(arguments, 1), E = Object.create(this.lexer), x = { yy: {} };
242
+ for (var _t in this.yy)
243
+ Object.prototype.hasOwnProperty.call(this.yy, _t) && (x.yy[_t] = this.yy[_t]);
244
+ E.setInput(N, x.yy), x.yy.lexer = E, x.yy.parser = this, typeof E.yylloc > "u" && (E.yylloc = {});
245
+ var St = E.yylloc;
246
+ e.push(St);
247
+ var Jt = E.options && E.options.ranges;
248
+ typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
249
+ function Vt(B) {
250
+ h.length = h.length - 2 * B, y.length = y.length - B, e.length = e.length - B;
251
+ }
252
+ p(Vt, "popStack");
253
+ function Kt() {
254
+ var B;
255
+ return B = n.pop() || E.lex() || zt, typeof B != "number" && (B instanceof Array && (n = B, B = n.pop()), B = r.symbols_[B] || B), B;
256
+ }
257
+ p(Kt, "lex");
258
+ for (var F, O, _, Nt, w = {}, ut, L, Yt, lt; ; ) {
259
+ if (O = h[h.length - 1], this.defaultActions[O] ? _ = this.defaultActions[O] : ((F === null || typeof F > "u") && (F = Kt()), _ = D[O] && D[O][F]), typeof _ > "u" || !_.length || !_[0]) {
260
+ var Lt = "";
261
+ lt = [];
262
+ for (ut in D[O])
263
+ this.terminals_[ut] && ut > Ht && lt.push("'" + this.terminals_[ut] + "'");
264
+ E.showPosition ? Lt = "Parse error on line " + (rt + 1) + `:
265
+ ` + E.showPosition() + `
266
+ Expecting ` + lt.join(", ") + ", got '" + (this.terminals_[F] || F) + "'" : Lt = "Parse error on line " + (rt + 1) + ": Unexpected " + (F == zt ? "end of input" : "'" + (this.terminals_[F] || F) + "'"), this.parseError(Lt, {
267
+ text: E.match,
268
+ token: this.terminals_[F] || F,
269
+ line: E.yylineno,
270
+ loc: St,
271
+ expected: lt
272
+ });
273
+ }
274
+ if (_[0] instanceof Array && _.length > 1)
275
+ throw new Error("Parse Error: multiple actions possible at state: " + O + ", token: " + F);
276
+ switch (_[0]) {
277
+ case 1:
278
+ h.push(F), y.push(E.yytext), e.push(E.yylloc), h.push(_[1]), F = null, Ut = E.yyleng, s = E.yytext, rt = E.yylineno, St = E.yylloc;
279
+ break;
280
+ case 2:
281
+ if (L = this.productions_[_[1]][1], w.$ = y[y.length - L], w._$ = {
282
+ first_line: e[e.length - (L || 1)].first_line,
283
+ last_line: e[e.length - 1].last_line,
284
+ first_column: e[e.length - (L || 1)].first_column,
285
+ last_column: e[e.length - 1].last_column
286
+ }, Jt && (w._$.range = [
287
+ e[e.length - (L || 1)].range[0],
288
+ e[e.length - 1].range[1]
289
+ ]), Nt = this.performAction.apply(w, [
290
+ s,
291
+ Ut,
292
+ rt,
293
+ x.yy,
294
+ _[1],
295
+ y,
296
+ e
297
+ ].concat(qt)), typeof Nt < "u")
298
+ return Nt;
299
+ L && (h = h.slice(0, -1 * L * 2), y = y.slice(0, -1 * L), e = e.slice(0, -1 * L)), h.push(this.productions_[_[1]][0]), y.push(w.$), e.push(w._$), Yt = D[h[h.length - 2]][h[h.length - 1]], h.push(Yt);
300
+ break;
301
+ case 3:
302
+ return !0;
303
+ }
304
+ }
305
+ return !0;
306
+ }, "parse")
307
+ }, Qt = /* @__PURE__ */ function() {
308
+ var N = {
309
+ EOF: 1,
310
+ parseError: /* @__PURE__ */ p(function(r, h) {
311
+ if (this.yy.parser)
312
+ this.yy.parser.parseError(r, h);
313
+ else
314
+ throw new Error(r);
315
+ }, "parseError"),
316
+ // resets the lexer, sets new input
317
+ setInput: /* @__PURE__ */ p(function(r, h) {
318
+ return this.yy = h || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
319
+ first_line: 1,
320
+ first_column: 0,
321
+ last_line: 1,
322
+ last_column: 0
323
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
324
+ }, "setInput"),
325
+ // consumes and returns one char from the input
326
+ input: /* @__PURE__ */ p(function() {
327
+ var r = this._input[0];
328
+ this.yytext += r, this.yyleng++, this.offset++, this.match += r, this.matched += r;
329
+ var h = r.match(/(?:\r\n?|\n).*/g);
330
+ return h ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), r;
331
+ }, "input"),
332
+ // unshifts one char (or a string) into the input
333
+ unput: /* @__PURE__ */ p(function(r) {
334
+ var h = r.length, n = r.split(/(?:\r\n?|\n)/g);
335
+ this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - h), this.offset -= h;
336
+ var y = this.match.split(/(?:\r\n?|\n)/g);
337
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
338
+ var e = this.yylloc.range;
339
+ return this.yylloc = {
340
+ first_line: this.yylloc.first_line,
341
+ last_line: this.yylineno + 1,
342
+ first_column: this.yylloc.first_column,
343
+ last_column: n ? (n.length === y.length ? this.yylloc.first_column : 0) + y[y.length - n.length].length - n[0].length : this.yylloc.first_column - h
344
+ }, this.options.ranges && (this.yylloc.range = [e[0], e[0] + this.yyleng - h]), this.yyleng = this.yytext.length, this;
345
+ }, "unput"),
346
+ // When called from action, caches matched text and appends it on next action
347
+ more: /* @__PURE__ */ p(function() {
348
+ return this._more = !0, this;
349
+ }, "more"),
350
+ // 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.
351
+ reject: /* @__PURE__ */ p(function() {
352
+ if (this.options.backtrack_lexer)
353
+ this._backtrack = !0;
354
+ else
355
+ 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).
356
+ ` + this.showPosition(), {
357
+ text: "",
358
+ token: null,
359
+ line: this.yylineno
360
+ });
361
+ return this;
362
+ }, "reject"),
363
+ // retain first n characters of the match
364
+ less: /* @__PURE__ */ p(function(r) {
365
+ this.unput(this.match.slice(r));
366
+ }, "less"),
367
+ // displays already matched input, i.e. for error messages
368
+ pastInput: /* @__PURE__ */ p(function() {
369
+ var r = this.matched.substr(0, this.matched.length - this.match.length);
370
+ return (r.length > 20 ? "..." : "") + r.substr(-20).replace(/\n/g, "");
371
+ }, "pastInput"),
372
+ // displays upcoming input, i.e. for error messages
373
+ upcomingInput: /* @__PURE__ */ p(function() {
374
+ var r = this.match;
375
+ return r.length < 20 && (r += this._input.substr(0, 20 - r.length)), (r.substr(0, 20) + (r.length > 20 ? "..." : "")).replace(/\n/g, "");
376
+ }, "upcomingInput"),
377
+ // displays the character position where the lexing error occurred, i.e. for error messages
378
+ showPosition: /* @__PURE__ */ p(function() {
379
+ var r = this.pastInput(), h = new Array(r.length + 1).join("-");
380
+ return r + this.upcomingInput() + `
381
+ ` + h + "^";
382
+ }, "showPosition"),
383
+ // test the lexed token: return FALSE when not a match, otherwise return token
384
+ test_match: /* @__PURE__ */ p(function(r, h) {
385
+ var n, y, e;
386
+ if (this.options.backtrack_lexer && (e = {
387
+ yylineno: this.yylineno,
388
+ yylloc: {
389
+ first_line: this.yylloc.first_line,
390
+ last_line: this.last_line,
391
+ first_column: this.yylloc.first_column,
392
+ last_column: this.yylloc.last_column
393
+ },
394
+ yytext: this.yytext,
395
+ match: this.match,
396
+ matches: this.matches,
397
+ matched: this.matched,
398
+ yyleng: this.yyleng,
399
+ offset: this.offset,
400
+ _more: this._more,
401
+ _input: this._input,
402
+ yy: this.yy,
403
+ conditionStack: this.conditionStack.slice(0),
404
+ done: this.done
405
+ }, this.options.ranges && (e.yylloc.range = this.yylloc.range.slice(0))), y = r[0].match(/(?:\r\n?|\n).*/g), y && (this.yylineno += y.length), this.yylloc = {
406
+ first_line: this.yylloc.last_line,
407
+ last_line: this.yylineno + 1,
408
+ first_column: this.yylloc.last_column,
409
+ last_column: y ? y[y.length - 1].length - y[y.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
410
+ }, this.yytext += r[0], this.match += r[0], this.matches = r, 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(r[0].length), this.matched += r[0], n = this.performAction.call(this, this.yy, this, h, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n)
411
+ return n;
412
+ if (this._backtrack) {
413
+ for (var D in e)
414
+ this[D] = e[D];
415
+ return !1;
416
+ }
417
+ return !1;
418
+ }, "test_match"),
419
+ // return next match in input
420
+ next: /* @__PURE__ */ p(function() {
421
+ if (this.done)
422
+ return this.EOF;
423
+ this._input || (this.done = !0);
424
+ var r, h, n, y;
425
+ this._more || (this.yytext = "", this.match = "");
426
+ for (var e = this._currentRules(), D = 0; D < e.length; D++)
427
+ if (n = this._input.match(this.rules[e[D]]), n && (!h || n[0].length > h[0].length)) {
428
+ if (h = n, y = D, this.options.backtrack_lexer) {
429
+ if (r = this.test_match(n, e[D]), r !== !1)
430
+ return r;
431
+ if (this._backtrack) {
432
+ h = !1;
433
+ continue;
434
+ } else
435
+ return !1;
436
+ } else if (!this.options.flex)
437
+ break;
438
+ }
439
+ return h ? (r = this.test_match(h, e[y]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
440
+ ` + this.showPosition(), {
441
+ text: "",
442
+ token: null,
443
+ line: this.yylineno
444
+ });
445
+ }, "next"),
446
+ // return next match that has a token
447
+ lex: /* @__PURE__ */ p(function() {
448
+ var r = this.next();
449
+ return r || this.lex();
450
+ }, "lex"),
451
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
452
+ begin: /* @__PURE__ */ p(function(r) {
453
+ this.conditionStack.push(r);
454
+ }, "begin"),
455
+ // pop the previously active lexer condition state off the condition stack
456
+ popState: /* @__PURE__ */ p(function() {
457
+ var r = this.conditionStack.length - 1;
458
+ return r > 0 ? this.conditionStack.pop() : this.conditionStack[0];
459
+ }, "popState"),
460
+ // produce the lexer rule set which is active for the currently active lexer condition state
461
+ _currentRules: /* @__PURE__ */ p(function() {
462
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
463
+ }, "_currentRules"),
464
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
465
+ topState: /* @__PURE__ */ p(function(r) {
466
+ return r = this.conditionStack.length - 1 - Math.abs(r || 0), r >= 0 ? this.conditionStack[r] : "INITIAL";
467
+ }, "topState"),
468
+ // alias for begin(condition)
469
+ pushState: /* @__PURE__ */ p(function(r) {
470
+ this.begin(r);
471
+ }, "pushState"),
472
+ // return the number of states currently on the stack
473
+ stateStackSize: /* @__PURE__ */ p(function() {
474
+ return this.conditionStack.length;
475
+ }, "stateStackSize"),
476
+ options: {},
477
+ performAction: /* @__PURE__ */ p(function(r, h, n, y) {
478
+ switch (n) {
479
+ case 0:
480
+ return 62;
481
+ case 1:
482
+ return 63;
483
+ case 2:
484
+ return 64;
485
+ case 3:
486
+ return 65;
487
+ case 4:
488
+ break;
489
+ case 5:
490
+ break;
491
+ case 6:
492
+ return this.begin("acc_title"), 33;
493
+ case 7:
494
+ return this.popState(), "acc_title_value";
495
+ case 8:
496
+ return this.begin("acc_descr"), 35;
497
+ case 9:
498
+ return this.popState(), "acc_descr_value";
499
+ case 10:
500
+ this.begin("acc_descr_multiline");
501
+ break;
502
+ case 11:
503
+ this.popState();
504
+ break;
505
+ case 12:
506
+ return "acc_descr_multiline_value";
507
+ case 13:
508
+ return 8;
509
+ case 14:
510
+ break;
511
+ case 15:
512
+ return 7;
513
+ case 16:
514
+ return 7;
515
+ case 17:
516
+ return "EDGE_STATE";
517
+ case 18:
518
+ this.begin("callback_name");
519
+ break;
520
+ case 19:
521
+ this.popState();
522
+ break;
523
+ case 20:
524
+ this.popState(), this.begin("callback_args");
525
+ break;
526
+ case 21:
527
+ return 79;
528
+ case 22:
529
+ this.popState();
530
+ break;
531
+ case 23:
532
+ return 80;
533
+ case 24:
534
+ this.popState();
535
+ break;
536
+ case 25:
537
+ return "STR";
538
+ case 26:
539
+ this.begin("string");
540
+ break;
541
+ case 27:
542
+ return 82;
543
+ case 28:
544
+ return 57;
545
+ case 29:
546
+ return this.begin("namespace"), 42;
547
+ case 30:
548
+ return this.popState(), 8;
549
+ case 31:
550
+ break;
551
+ case 32:
552
+ return this.begin("namespace-body"), 39;
553
+ case 33:
554
+ return this.popState(), 41;
555
+ case 34:
556
+ return "EOF_IN_STRUCT";
557
+ case 35:
558
+ return 8;
559
+ case 36:
560
+ break;
561
+ case 37:
562
+ return "EDGE_STATE";
563
+ case 38:
564
+ return this.begin("class"), 46;
565
+ case 39:
566
+ return this.popState(), 8;
567
+ case 40:
568
+ break;
569
+ case 41:
570
+ return this.popState(), this.popState(), 41;
571
+ case 42:
572
+ return this.begin("class-body"), 39;
573
+ case 43:
574
+ return this.popState(), 41;
575
+ case 44:
576
+ return "EOF_IN_STRUCT";
577
+ case 45:
578
+ return "EDGE_STATE";
579
+ case 46:
580
+ return "OPEN_IN_STRUCT";
581
+ case 47:
582
+ break;
583
+ case 48:
584
+ return "MEMBER";
585
+ case 49:
586
+ return 83;
587
+ case 50:
588
+ return 75;
589
+ case 51:
590
+ return 76;
591
+ case 52:
592
+ return 78;
593
+ case 53:
594
+ return 54;
595
+ case 54:
596
+ return 56;
597
+ case 55:
598
+ return 49;
599
+ case 56:
600
+ return 50;
601
+ case 57:
602
+ return 81;
603
+ case 58:
604
+ this.popState();
605
+ break;
606
+ case 59:
607
+ return "GENERICTYPE";
608
+ case 60:
609
+ this.begin("generic");
610
+ break;
611
+ case 61:
612
+ this.popState();
613
+ break;
614
+ case 62:
615
+ return "BQUOTE_STR";
616
+ case 63:
617
+ this.begin("bqstring");
618
+ break;
619
+ case 64:
620
+ return 77;
621
+ case 65:
622
+ return 77;
623
+ case 66:
624
+ return 77;
625
+ case 67:
626
+ return 77;
627
+ case 68:
628
+ return 69;
629
+ case 69:
630
+ return 69;
631
+ case 70:
632
+ return 71;
633
+ case 71:
634
+ return 71;
635
+ case 72:
636
+ return 70;
637
+ case 73:
638
+ return 68;
639
+ case 74:
640
+ return 72;
641
+ case 75:
642
+ return 73;
643
+ case 76:
644
+ return 74;
645
+ case 77:
646
+ return 22;
647
+ case 78:
648
+ return 44;
649
+ case 79:
650
+ return 100;
651
+ case 80:
652
+ return 18;
653
+ case 81:
654
+ return "PLUS";
655
+ case 82:
656
+ return 87;
657
+ case 83:
658
+ return 61;
659
+ case 84:
660
+ return 89;
661
+ case 85:
662
+ return 89;
663
+ case 86:
664
+ return 90;
665
+ case 87:
666
+ return "EQUALS";
667
+ case 88:
668
+ return "EQUALS";
669
+ case 89:
670
+ return 60;
671
+ case 90:
672
+ return 12;
673
+ case 91:
674
+ return 14;
675
+ case 92:
676
+ return "PUNCTUATION";
677
+ case 93:
678
+ return 86;
679
+ case 94:
680
+ return 102;
681
+ case 95:
682
+ return 48;
683
+ case 96:
684
+ return 48;
685
+ case 97:
686
+ return 9;
687
+ }
688
+ }, "anonymous"),
689
+ rules: [/^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/, /^(?:%%[^\n]*(\r?\n)*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:classDiagram-v2\b)/, /^(?:classDiagram\b)/, /^(?:\[\*\])/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:["])/, /^(?:[^"]*)/, /^(?:["])/, /^(?:style\b)/, /^(?:classDef\b)/, /^(?:namespace\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:\[\*\])/, /^(?:class\b)/, /^(?:\s*(\r?\n)+)/, /^(?:\s+)/, /^(?:[}])/, /^(?:[{])/, /^(?:[}])/, /^(?:$)/, /^(?:\[\*\])/, /^(?:[{])/, /^(?:[\n])/, /^(?:[^{}\n]*)/, /^(?:cssClass\b)/, /^(?:callback\b)/, /^(?:link\b)/, /^(?:click\b)/, /^(?:note for\b)/, /^(?:note\b)/, /^(?:<<)/, /^(?:>>)/, /^(?:href\b)/, /^(?:[~])/, /^(?:[^~]*)/, /^(?:~)/, /^(?:[`])/, /^(?:[^`]+)/, /^(?:[`])/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:\s*<\|)/, /^(?:\s*\|>)/, /^(?:\s*>)/, /^(?:\s*<)/, /^(?:\s*\*)/, /^(?:\s*o\b)/, /^(?:\s*\(\))/, /^(?:--)/, /^(?:\.\.)/, /^(?::{1}[^:\n;]+)/, /^(?::{3})/, /^(?:-)/, /^(?:\.)/, /^(?:\+)/, /^(?::)/, /^(?:,)/, /^(?:#)/, /^(?:#)/, /^(?:%)/, /^(?:=)/, /^(?:=)/, /^(?:\w+)/, /^(?:\[)/, /^(?:\])/, /^(?:[!"#$%&'*+,-.`?\\/])/, /^(?:[0-9]+)/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\s)/, /^(?:\s)/, /^(?:$)/],
690
+ conditions: { "namespace-body": { rules: [26, 33, 34, 35, 36, 37, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, namespace: { rules: [26, 29, 30, 31, 32, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, "class-body": { rules: [26, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, class: { rules: [26, 39, 40, 41, 42, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_descr_multiline: { rules: [11, 12, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_descr: { rules: [9, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, acc_title: { rules: [7, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, callback_args: { rules: [22, 23, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, callback_name: { rules: [19, 20, 21, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, href: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, struct: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, generic: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, bqstring: { rules: [26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, string: { rules: [24, 25, 26, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 97], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 29, 38, 49, 50, 51, 52, 53, 54, 55, 56, 57, 60, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97], inclusive: !0 } }
691
+ };
692
+ return N;
693
+ }();
694
+ Bt.lexer = Qt;
695
+ function nt() {
696
+ this.yy = {};
697
+ }
698
+ return p(nt, "Parser"), nt.prototype = Bt, Bt.Parser = nt, new nt();
699
+ }();
700
+ vt.parser = vt;
701
+ var Ee = vt, Wt = ["#", "+", "~", "-", ""], $t, jt = ($t = class {
702
+ constructor(t, i) {
703
+ this.memberType = i, this.visibility = "", this.classifier = "", this.text = "";
704
+ const u = pe(t, T());
705
+ this.parseMember(u);
706
+ }
707
+ getDisplayDetails() {
708
+ let t = this.visibility + R(this.id);
709
+ this.memberType === "method" && (t += `(${R(this.parameters.trim())})`, this.returnType && (t += " : " + R(this.returnType))), t = t.trim();
710
+ const i = this.parseClassifier();
711
+ return {
712
+ displayText: t,
713
+ cssStyle: i
714
+ };
715
+ }
716
+ parseMember(t) {
717
+ let i = "";
718
+ if (this.memberType === "method") {
719
+ const a = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(t);
720
+ if (a) {
721
+ const o = a[1] ? a[1].trim() : "";
722
+ if (Wt.includes(o) && (this.visibility = o), this.id = a[2], this.parameters = a[3] ? a[3].trim() : "", i = a[4] ? a[4].trim() : "", this.returnType = a[5] ? a[5].trim() : "", i === "") {
723
+ const l = this.returnType.substring(this.returnType.length - 1);
724
+ /[$*]/.exec(l) && (i = l, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
725
+ }
726
+ }
727
+ } else {
728
+ const a = t.length, o = t.substring(0, 1), l = t.substring(a - 1);
729
+ Wt.includes(o) && (this.visibility = o), /[$*]/.exec(l) && (i = l), this.id = t.substring(
730
+ this.visibility === "" ? 0 : 1,
731
+ i === "" ? a : a - 1
732
+ );
733
+ }
734
+ this.classifier = i, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim();
735
+ const u = `${this.visibility ? "\\" + this.visibility : ""}${R(this.id)}${this.memberType === "method" ? `(${R(this.parameters)})${this.returnType ? " : " + R(this.returnType) : ""}` : ""}`;
736
+ this.text = u.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
737
+ }
738
+ parseClassifier() {
739
+ switch (this.classifier) {
740
+ case "*":
741
+ return "font-style:italic;";
742
+ case "$":
743
+ return "text-decoration:underline;";
744
+ default:
745
+ return "";
746
+ }
747
+ }
748
+ }, p($t, "ClassMember"), $t), ot = "classId-", Xt = 0, I = /* @__PURE__ */ p((t) => $.sanitizeText(t, T()), "sanitizeText"), xt, ke = (xt = class {
749
+ constructor() {
750
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.styleClasses = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.functions = [], this.lineType = {
751
+ LINE: 0,
752
+ DOTTED_LINE: 1
753
+ }, this.relationType = {
754
+ AGGREGATION: 0,
755
+ EXTENSION: 1,
756
+ COMPOSITION: 2,
757
+ DEPENDENCY: 3,
758
+ LOLLIPOP: 4
759
+ }, this.setupToolTips = /* @__PURE__ */ p((t) => {
760
+ let i = H(".mermaidTooltip");
761
+ (i._groups || i)[0][0] === null && (i = H("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), H(t).select("svg").selectAll("g.node").on("mouseover", (u) => {
762
+ const a = H(u.currentTarget);
763
+ if (a.attr("title") === null)
764
+ return;
765
+ const o = this.getBoundingClientRect();
766
+ i.transition().duration(200).style("opacity", ".9"), i.text(a.attr("title")).style("left", window.scrollX + o.left + (o.right - o.left) / 2 + "px").style("top", window.scrollY + o.top - 14 + document.body.scrollTop + "px"), i.html(i.html().replace(/&lt;br\/&gt;/g, "<br/>")), a.classed("hover", !0);
767
+ }).on("mouseout", (u) => {
768
+ i.transition().duration(500).style("opacity", 0), H(u.currentTarget).classed("hover", !1);
769
+ });
770
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = ae, this.getAccTitle = ne, this.setAccDescription = re, this.getAccDescription = ue, this.setDiagramTitle = le, this.getDiagramTitle = oe, this.getConfig = /* @__PURE__ */ p(() => T().class, "getConfig"), this.functions.push(this.setupToolTips.bind(this)), this.clear(), this.addRelation = this.addRelation.bind(this), this.addClassesToNamespace = this.addClassesToNamespace.bind(this), this.addNamespace = this.addNamespace.bind(this), this.setCssClass = this.setCssClass.bind(this), this.addMembers = this.addMembers.bind(this), this.addClass = this.addClass.bind(this), this.setClassLabel = this.setClassLabel.bind(this), this.addAnnotation = this.addAnnotation.bind(this), this.addMember = this.addMember.bind(this), this.cleanupLabel = this.cleanupLabel.bind(this), this.addNote = this.addNote.bind(this), this.defineClass = this.defineClass.bind(this), this.setDirection = this.setDirection.bind(this), this.setLink = this.setLink.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.clear = this.clear.bind(this), this.setTooltip = this.setTooltip.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setCssStyle = this.setCssStyle.bind(this);
771
+ }
772
+ splitClassNameAndType(t) {
773
+ const i = $.sanitizeText(t, T());
774
+ let u = "", a = i;
775
+ if (i.indexOf("~") > 0) {
776
+ const o = i.split("~");
777
+ a = I(o[0]), u = I(o[1]);
778
+ }
779
+ return { className: a, type: u };
780
+ }
781
+ setClassLabel(t, i) {
782
+ const u = $.sanitizeText(t, T());
783
+ i && (i = I(i));
784
+ const { className: a } = this.splitClassNameAndType(u);
785
+ this.classes.get(a).label = i, this.classes.get(a).text = `${i}${this.classes.get(a).type ? `<${this.classes.get(a).type}>` : ""}`;
786
+ }
787
+ /**
788
+ * Function called by parser when a node definition has been found.
789
+ *
790
+ * @param id - ID of the class to add
791
+ * @public
792
+ */
793
+ addClass(t) {
794
+ const i = $.sanitizeText(t, T()), { className: u, type: a } = this.splitClassNameAndType(i);
795
+ if (this.classes.has(u))
796
+ return;
797
+ const o = $.sanitizeText(u, T());
798
+ this.classes.set(o, {
799
+ id: o,
800
+ type: a,
801
+ label: o,
802
+ text: `${o}${a ? `&lt;${a}&gt;` : ""}`,
803
+ shape: "classBox",
804
+ cssClasses: "default",
805
+ methods: [],
806
+ members: [],
807
+ annotations: [],
808
+ styles: [],
809
+ domId: ot + o + "-" + Xt
810
+ }), Xt++;
811
+ }
812
+ addInterface(t, i) {
813
+ const u = {
814
+ id: `interface${this.interfaces.length}`,
815
+ label: t,
816
+ classId: i
817
+ };
818
+ this.interfaces.push(u);
819
+ }
820
+ /**
821
+ * Function to lookup domId from id in the graph definition.
822
+ *
823
+ * @param id - class ID to lookup
824
+ * @public
825
+ */
826
+ lookUpDomId(t) {
827
+ const i = $.sanitizeText(t, T());
828
+ if (this.classes.has(i))
829
+ return this.classes.get(i).domId;
830
+ throw new Error("Class not found: " + i);
831
+ }
832
+ clear() {
833
+ this.relations = [], this.classes = /* @__PURE__ */ new Map(), this.notes = [], this.interfaces = [], this.functions = [], this.functions.push(this.setupToolTips.bind(this)), this.namespaces = /* @__PURE__ */ new Map(), this.namespaceCounter = 0, this.direction = "TB", ce();
834
+ }
835
+ getClass(t) {
836
+ return this.classes.get(t);
837
+ }
838
+ getClasses() {
839
+ return this.classes;
840
+ }
841
+ getRelations() {
842
+ return this.relations;
843
+ }
844
+ getNotes() {
845
+ return this.notes;
846
+ }
847
+ addRelation(t) {
848
+ Ot.debug("Adding relation: " + JSON.stringify(t));
849
+ const i = [
850
+ this.relationType.LOLLIPOP,
851
+ this.relationType.AGGREGATION,
852
+ this.relationType.COMPOSITION,
853
+ this.relationType.DEPENDENCY,
854
+ this.relationType.EXTENSION
855
+ ];
856
+ t.relation.type1 === this.relationType.LOLLIPOP && !i.includes(t.relation.type2) ? (this.addClass(t.id2), this.addInterface(t.id1, t.id2), t.id1 = `interface${this.interfaces.length - 1}`) : t.relation.type2 === this.relationType.LOLLIPOP && !i.includes(t.relation.type1) ? (this.addClass(t.id1), this.addInterface(t.id2, t.id1), t.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(t.id1), this.addClass(t.id2)), t.id1 = this.splitClassNameAndType(t.id1).className, t.id2 = this.splitClassNameAndType(t.id2).className, t.relationTitle1 = $.sanitizeText(
857
+ t.relationTitle1.trim(),
858
+ T()
859
+ ), t.relationTitle2 = $.sanitizeText(
860
+ t.relationTitle2.trim(),
861
+ T()
862
+ ), this.relations.push(t);
863
+ }
864
+ /**
865
+ * Adds an annotation to the specified class Annotations mark special properties of the given type
866
+ * (like 'interface' or 'service')
867
+ *
868
+ * @param className - The class name
869
+ * @param annotation - The name of the annotation without any brackets
870
+ * @public
871
+ */
872
+ addAnnotation(t, i) {
873
+ const u = this.splitClassNameAndType(t).className;
874
+ this.classes.get(u).annotations.push(i);
875
+ }
876
+ /**
877
+ * Adds a member to the specified class
878
+ *
879
+ * @param className - The class name
880
+ * @param member - The full name of the member. If the member is enclosed in `<<brackets>>` it is
881
+ * treated as an annotation If the member is ending with a closing bracket ) it is treated as a
882
+ * method Otherwise the member will be treated as a normal property
883
+ * @public
884
+ */
885
+ addMember(t, i) {
886
+ this.addClass(t);
887
+ const u = this.splitClassNameAndType(t).className, a = this.classes.get(u);
888
+ if (typeof i == "string") {
889
+ const o = i.trim();
890
+ o.startsWith("<<") && o.endsWith(">>") ? a.annotations.push(I(o.substring(2, o.length - 2))) : o.indexOf(")") > 0 ? a.methods.push(new jt(o, "method")) : o && a.members.push(new jt(o, "attribute"));
891
+ }
892
+ }
893
+ addMembers(t, i) {
894
+ Array.isArray(i) && (i.reverse(), i.forEach((u) => this.addMember(t, u)));
895
+ }
896
+ addNote(t, i) {
897
+ const u = {
898
+ id: `note${this.notes.length}`,
899
+ class: i,
900
+ text: t
901
+ };
902
+ this.notes.push(u);
903
+ }
904
+ cleanupLabel(t) {
905
+ return t.startsWith(":") && (t = t.substring(1)), I(t.trim());
906
+ }
907
+ /**
908
+ * Called by parser when assigning cssClass to a class
909
+ *
910
+ * @param ids - Comma separated list of ids
911
+ * @param className - Class to add
912
+ */
913
+ setCssClass(t, i) {
914
+ t.split(",").forEach((u) => {
915
+ let a = u;
916
+ /\d/.exec(u[0]) && (a = ot + a);
917
+ const o = this.classes.get(a);
918
+ o && (o.cssClasses += " " + i);
919
+ });
920
+ }
921
+ defineClass(t, i) {
922
+ for (const u of t) {
923
+ let a = this.styleClasses.get(u);
924
+ a === void 0 && (a = { id: u, styles: [], textStyles: [] }, this.styleClasses.set(u, a)), i && i.forEach((o) => {
925
+ if (/color/.exec(o)) {
926
+ const l = o.replace("fill", "bgFill");
927
+ a.textStyles.push(l);
928
+ }
929
+ a.styles.push(o);
930
+ }), this.classes.forEach((o) => {
931
+ o.cssClasses.includes(u) && o.styles.push(...i.flatMap((l) => l.split(",")));
932
+ });
933
+ }
934
+ }
935
+ /**
936
+ * Called by parser when a tooltip is found, e.g. a clickable element.
937
+ *
938
+ * @param ids - Comma separated list of ids
939
+ * @param tooltip - Tooltip to add
940
+ */
941
+ setTooltip(t, i) {
942
+ t.split(",").forEach((u) => {
943
+ i !== void 0 && (this.classes.get(u).tooltip = I(i));
944
+ });
945
+ }
946
+ getTooltip(t, i) {
947
+ return i && this.namespaces.has(i) ? this.namespaces.get(i).classes.get(t).tooltip : this.classes.get(t).tooltip;
948
+ }
949
+ /**
950
+ * Called by parser when a link is found. Adds the URL to the vertex data.
951
+ *
952
+ * @param ids - Comma separated list of ids
953
+ * @param linkStr - URL to create a link for
954
+ * @param target - Target of the link, _blank by default as originally defined in the svgDraw.js file
955
+ */
956
+ setLink(t, i, u) {
957
+ const a = T();
958
+ t.split(",").forEach((o) => {
959
+ let l = o;
960
+ /\d/.exec(o[0]) && (l = ot + l);
961
+ const d = this.classes.get(l);
962
+ d && (d.link = It.formatUrl(i, a), a.securityLevel === "sandbox" ? d.linkTarget = "_top" : typeof u == "string" ? d.linkTarget = I(u) : d.linkTarget = "_blank");
963
+ }), this.setCssClass(t, "clickable");
964
+ }
965
+ /**
966
+ * Called by parser when a click definition is found. Registers an event handler.
967
+ *
968
+ * @param ids - Comma separated list of ids
969
+ * @param functionName - Function to be called on click
970
+ * @param functionArgs - Function args the function should be called with
971
+ */
972
+ setClickEvent(t, i, u) {
973
+ t.split(",").forEach((a) => {
974
+ this.setClickFunc(a, i, u), this.classes.get(a).haveCallback = !0;
975
+ }), this.setCssClass(t, "clickable");
976
+ }
977
+ setClickFunc(t, i, u) {
978
+ const a = $.sanitizeText(t, T());
979
+ if (T().securityLevel !== "loose" || i === void 0)
980
+ return;
981
+ const o = a;
982
+ if (this.classes.has(o)) {
983
+ const l = this.lookUpDomId(o);
984
+ let d = [];
985
+ if (typeof u == "string") {
986
+ d = u.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
987
+ for (let A = 0; A < d.length; A++) {
988
+ let k = d[A].trim();
989
+ k.startsWith('"') && k.endsWith('"') && (k = k.substr(1, k.length - 2)), d[A] = k;
990
+ }
991
+ }
992
+ d.length === 0 && d.push(l), this.functions.push(() => {
993
+ const A = document.querySelector(`[id="${l}"]`);
994
+ A !== null && A.addEventListener(
995
+ "click",
996
+ () => {
997
+ It.runFunc(i, ...d);
998
+ },
999
+ !1
1000
+ );
1001
+ });
1002
+ }
1003
+ }
1004
+ bindFunctions(t) {
1005
+ this.functions.forEach((i) => {
1006
+ i(t);
1007
+ });
1008
+ }
1009
+ getDirection() {
1010
+ return this.direction;
1011
+ }
1012
+ setDirection(t) {
1013
+ this.direction = t;
1014
+ }
1015
+ /**
1016
+ * Function called by parser when a namespace definition has been found.
1017
+ *
1018
+ * @param id - ID of the namespace to add
1019
+ * @public
1020
+ */
1021
+ addNamespace(t) {
1022
+ this.namespaces.has(t) || (this.namespaces.set(t, {
1023
+ id: t,
1024
+ classes: /* @__PURE__ */ new Map(),
1025
+ children: {},
1026
+ domId: ot + t + "-" + this.namespaceCounter
1027
+ }), this.namespaceCounter++);
1028
+ }
1029
+ getNamespace(t) {
1030
+ return this.namespaces.get(t);
1031
+ }
1032
+ getNamespaces() {
1033
+ return this.namespaces;
1034
+ }
1035
+ /**
1036
+ * Function called by parser when a namespace definition has been found.
1037
+ *
1038
+ * @param id - ID of the namespace to add
1039
+ * @param classNames - IDs of the class to add
1040
+ * @public
1041
+ */
1042
+ addClassesToNamespace(t, i) {
1043
+ if (this.namespaces.has(t))
1044
+ for (const u of i) {
1045
+ const { className: a } = this.splitClassNameAndType(u);
1046
+ this.classes.get(a).parent = t, this.namespaces.get(t).classes.set(a, this.classes.get(a));
1047
+ }
1048
+ }
1049
+ setCssStyle(t, i) {
1050
+ const u = this.classes.get(t);
1051
+ if (!(!i || !u))
1052
+ for (const a of i)
1053
+ a.includes(",") ? u.styles.push(...a.split(",")) : u.styles.push(a);
1054
+ }
1055
+ /**
1056
+ * Gets the arrow marker for a type index
1057
+ *
1058
+ * @param type - The type to look for
1059
+ * @returns The arrow marker
1060
+ */
1061
+ getArrowMarker(t) {
1062
+ let i;
1063
+ switch (t) {
1064
+ case 0:
1065
+ i = "aggregation";
1066
+ break;
1067
+ case 1:
1068
+ i = "extension";
1069
+ break;
1070
+ case 2:
1071
+ i = "composition";
1072
+ break;
1073
+ case 3:
1074
+ i = "dependency";
1075
+ break;
1076
+ case 4:
1077
+ i = "lollipop";
1078
+ break;
1079
+ default:
1080
+ i = "none";
1081
+ }
1082
+ return i;
1083
+ }
1084
+ getData() {
1085
+ var t;
1086
+ const i = [], u = [], a = T();
1087
+ for (const l of this.namespaces.keys()) {
1088
+ const d = this.namespaces.get(l);
1089
+ if (d) {
1090
+ const A = {
1091
+ id: d.id,
1092
+ label: d.id,
1093
+ isGroup: !0,
1094
+ padding: a.class.padding ?? 16,
1095
+ // parent node must be one of [rect, roundedWithTitle, noteGroup, divider]
1096
+ shape: "rect",
1097
+ cssStyles: ["fill: none", "stroke: black"],
1098
+ look: a.look
1099
+ };
1100
+ i.push(A);
1101
+ }
1102
+ }
1103
+ for (const l of this.classes.keys()) {
1104
+ const d = this.classes.get(l);
1105
+ if (d) {
1106
+ const A = d;
1107
+ A.parentId = d.parent, A.look = a.look, i.push(A);
1108
+ }
1109
+ }
1110
+ let o = 0;
1111
+ for (const l of this.notes) {
1112
+ o++;
1113
+ const d = {
1114
+ id: l.id,
1115
+ label: l.text,
1116
+ isGroup: !1,
1117
+ shape: "note",
1118
+ padding: a.class.padding ?? 6,
1119
+ cssStyles: [
1120
+ "text-align: left",
1121
+ "white-space: nowrap",
1122
+ `fill: ${a.themeVariables.noteBkgColor}`,
1123
+ `stroke: ${a.themeVariables.noteBorderColor}`
1124
+ ],
1125
+ look: a.look
1126
+ };
1127
+ i.push(d);
1128
+ const A = ((t = this.classes.get(l.class)) == null ? void 0 : t.id) ?? "";
1129
+ if (A) {
1130
+ const k = {
1131
+ id: `edgeNote${o}`,
1132
+ start: l.id,
1133
+ end: A,
1134
+ type: "normal",
1135
+ thickness: "normal",
1136
+ classes: "relation",
1137
+ arrowTypeStart: "none",
1138
+ arrowTypeEnd: "none",
1139
+ arrowheadStyle: "",
1140
+ labelStyle: [""],
1141
+ style: ["fill: none"],
1142
+ pattern: "dotted",
1143
+ look: a.look
1144
+ };
1145
+ u.push(k);
1146
+ }
1147
+ }
1148
+ for (const l of this.interfaces) {
1149
+ const d = {
1150
+ id: l.id,
1151
+ label: l.label,
1152
+ isGroup: !1,
1153
+ shape: "rect",
1154
+ cssStyles: ["opacity: 0;"],
1155
+ look: a.look
1156
+ };
1157
+ i.push(d);
1158
+ }
1159
+ o = 0;
1160
+ for (const l of this.relations) {
1161
+ o++;
1162
+ const d = {
1163
+ id: he(l.id1, l.id2, {
1164
+ prefix: "id",
1165
+ counter: o
1166
+ }),
1167
+ start: l.id1,
1168
+ end: l.id2,
1169
+ type: "normal",
1170
+ label: l.title,
1171
+ labelpos: "c",
1172
+ thickness: "normal",
1173
+ classes: "relation",
1174
+ arrowTypeStart: this.getArrowMarker(l.relation.type1),
1175
+ arrowTypeEnd: this.getArrowMarker(l.relation.type2),
1176
+ startLabelRight: l.relationTitle1 === "none" ? "" : l.relationTitle1,
1177
+ endLabelLeft: l.relationTitle2 === "none" ? "" : l.relationTitle2,
1178
+ arrowheadStyle: "",
1179
+ labelStyle: ["display: inline-block"],
1180
+ style: l.style || "",
1181
+ pattern: l.relation.lineType == 1 ? "dashed" : "solid",
1182
+ look: a.look
1183
+ };
1184
+ u.push(d);
1185
+ }
1186
+ return { nodes: i, edges: u, other: {}, config: a, direction: this.getDirection() };
1187
+ }
1188
+ }, p(xt, "ClassDB"), xt), de = /* @__PURE__ */ p((t) => `g.classGroup text {
1189
+ fill: ${t.nodeBorder || t.classText};
1190
+ stroke: none;
1191
+ font-family: ${t.fontFamily};
1192
+ font-size: 10px;
1193
+
1194
+ .title {
1195
+ font-weight: bolder;
1196
+ }
1197
+
1198
+ }
1199
+
1200
+ .nodeLabel, .edgeLabel {
1201
+ color: ${t.classText};
1202
+ }
1203
+ .edgeLabel .label rect {
1204
+ fill: ${t.mainBkg};
1205
+ }
1206
+ .label text {
1207
+ fill: ${t.classText};
1208
+ }
1209
+
1210
+ .labelBkg {
1211
+ background: ${t.mainBkg};
1212
+ }
1213
+ .edgeLabel .label span {
1214
+ background: ${t.mainBkg};
1215
+ }
1216
+
1217
+ .classTitle {
1218
+ font-weight: bolder;
1219
+ }
1220
+ .node rect,
1221
+ .node circle,
1222
+ .node ellipse,
1223
+ .node polygon,
1224
+ .node path {
1225
+ fill: ${t.mainBkg};
1226
+ stroke: ${t.nodeBorder};
1227
+ stroke-width: 1px;
1228
+ }
1229
+
1230
+
1231
+ .divider {
1232
+ stroke: ${t.nodeBorder};
1233
+ stroke-width: 1;
1234
+ }
1235
+
1236
+ g.clickable {
1237
+ cursor: pointer;
1238
+ }
1239
+
1240
+ g.classGroup rect {
1241
+ fill: ${t.mainBkg};
1242
+ stroke: ${t.nodeBorder};
1243
+ }
1244
+
1245
+ g.classGroup line {
1246
+ stroke: ${t.nodeBorder};
1247
+ stroke-width: 1;
1248
+ }
1249
+
1250
+ .classLabel .box {
1251
+ stroke: none;
1252
+ stroke-width: 0;
1253
+ fill: ${t.mainBkg};
1254
+ opacity: 0.5;
1255
+ }
1256
+
1257
+ .classLabel .label {
1258
+ fill: ${t.nodeBorder};
1259
+ font-size: 10px;
1260
+ }
1261
+
1262
+ .relation {
1263
+ stroke: ${t.lineColor};
1264
+ stroke-width: 1;
1265
+ fill: none;
1266
+ }
1267
+
1268
+ .dashed-line{
1269
+ stroke-dasharray: 3;
1270
+ }
1271
+
1272
+ .dotted-line{
1273
+ stroke-dasharray: 1 2;
1274
+ }
1275
+
1276
+ #compositionStart, .composition {
1277
+ fill: ${t.lineColor} !important;
1278
+ stroke: ${t.lineColor} !important;
1279
+ stroke-width: 1;
1280
+ }
1281
+
1282
+ #compositionEnd, .composition {
1283
+ fill: ${t.lineColor} !important;
1284
+ stroke: ${t.lineColor} !important;
1285
+ stroke-width: 1;
1286
+ }
1287
+
1288
+ #dependencyStart, .dependency {
1289
+ fill: ${t.lineColor} !important;
1290
+ stroke: ${t.lineColor} !important;
1291
+ stroke-width: 1;
1292
+ }
1293
+
1294
+ #dependencyStart, .dependency {
1295
+ fill: ${t.lineColor} !important;
1296
+ stroke: ${t.lineColor} !important;
1297
+ stroke-width: 1;
1298
+ }
1299
+
1300
+ #extensionStart, .extension {
1301
+ fill: transparent !important;
1302
+ stroke: ${t.lineColor} !important;
1303
+ stroke-width: 1;
1304
+ }
1305
+
1306
+ #extensionEnd, .extension {
1307
+ fill: transparent !important;
1308
+ stroke: ${t.lineColor} !important;
1309
+ stroke-width: 1;
1310
+ }
1311
+
1312
+ #aggregationStart, .aggregation {
1313
+ fill: transparent !important;
1314
+ stroke: ${t.lineColor} !important;
1315
+ stroke-width: 1;
1316
+ }
1317
+
1318
+ #aggregationEnd, .aggregation {
1319
+ fill: transparent !important;
1320
+ stroke: ${t.lineColor} !important;
1321
+ stroke-width: 1;
1322
+ }
1323
+
1324
+ #lollipopStart, .lollipop {
1325
+ fill: ${t.mainBkg} !important;
1326
+ stroke: ${t.lineColor} !important;
1327
+ stroke-width: 1;
1328
+ }
1329
+
1330
+ #lollipopEnd, .lollipop {
1331
+ fill: ${t.mainBkg} !important;
1332
+ stroke: ${t.lineColor} !important;
1333
+ stroke-width: 1;
1334
+ }
1335
+
1336
+ .edgeTerminals {
1337
+ font-size: 11px;
1338
+ line-height: initial;
1339
+ }
1340
+
1341
+ .classTitleText {
1342
+ text-anchor: middle;
1343
+ font-size: 18px;
1344
+ fill: ${t.textColor};
1345
+ }
1346
+ ${Zt()}
1347
+ `, "getStyles"), Te = de, Ae = /* @__PURE__ */ p((t, i = "TB") => {
1348
+ if (!t.doc)
1349
+ return i;
1350
+ let u = i;
1351
+ for (const a of t.doc)
1352
+ a.stmt === "dir" && (u = a.value);
1353
+ return u;
1354
+ }, "getDir"), ye = /* @__PURE__ */ p(function(t, i) {
1355
+ return i.db.getClasses();
1356
+ }, "getClasses"), Ce = /* @__PURE__ */ p(async function(t, i, u, a) {
1357
+ Ot.info("REF0:"), Ot.info("Drawing class diagram (v3)", i);
1358
+ const { securityLevel: o, state: l, layout: d } = T(), A = a.db.getData(), k = te(i, o);
1359
+ A.type = a.type, A.layoutAlgorithm = se(d), A.nodeSpacing = (l == null ? void 0 : l.nodeSpacing) || 50, A.rankSpacing = (l == null ? void 0 : l.rankSpacing) || 50, A.markers = ["aggregation", "extension", "composition", "dependency", "lollipop"], A.diagramId = i, await ie(A, k), It.insertTitle(
1360
+ k,
1361
+ "classDiagramTitleText",
1362
+ (l == null ? void 0 : l.titleTopMargin) ?? 25,
1363
+ a.db.getDiagramTitle()
1364
+ ), ee(k, 8, "classDiagram", (l == null ? void 0 : l.useMaxWidth) ?? !0);
1365
+ }, "draw"), De = {
1366
+ getClasses: ye,
1367
+ draw: Ce,
1368
+ getDir: Ae
1369
+ };
1370
+ export {
1371
+ Te as D,
1372
+ De as F,
1373
+ Ee as T,
1374
+ ke as k
1375
+ };