@readme/markdown 7.7.1 → 7.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/896.js DELETED
@@ -1,1613 +0,0 @@
1
- "use strict";
2
- (self["webpackChunk_readme_markdown"] = self["webpackChunk_readme_markdown"] || []).push([[896],{
3
-
4
- /***/ 4896:
5
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
-
7
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8
- /* harmony export */ _$: () => (/* binding */ classDiagram_default),
9
- /* harmony export */ tM: () => (/* binding */ styles_default),
10
- /* harmony export */ z2: () => (/* binding */ classDb_default)
11
- /* harmony export */ });
12
- /* harmony import */ var _chunk_TLUHKHBO_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2843);
13
- /* harmony import */ var _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6322);
14
- /* harmony import */ var d3__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8066);
15
-
16
-
17
-
18
- // src/diagrams/class/parser/classDiagram.jison
19
- var parser = function() {
20
- var o = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(k, v, o2, l) {
21
- for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
22
- return o2;
23
- }, "o"), $V0 = [1, 17], $V1 = [1, 18], $V2 = [1, 19], $V3 = [1, 39], $V4 = [1, 40], $V5 = [1, 25], $V6 = [1, 23], $V7 = [1, 24], $V8 = [1, 31], $V9 = [1, 32], $Va = [1, 33], $Vb = [1, 34], $Vc = [1, 35], $Vd = [1, 36], $Ve = [1, 26], $Vf = [1, 27], $Vg = [1, 28], $Vh = [1, 29], $Vi = [1, 43], $Vj = [1, 30], $Vk = [1, 42], $Vl = [1, 44], $Vm = [1, 41], $Vn = [1, 45], $Vo = [1, 9], $Vp = [1, 8, 9], $Vq = [1, 56], $Vr = [1, 57], $Vs = [1, 58], $Vt = [1, 59], $Vu = [1, 60], $Vv = [1, 61], $Vw = [1, 62], $Vx = [1, 8, 9, 40], $Vy = [1, 74], $Vz = [1, 8, 9, 12, 13, 22, 38, 40, 43, 60, 61, 62, 63, 64, 65, 66, 71, 73], $VA = [1, 8, 9, 12, 13, 17, 20, 22, 38, 40, 43, 47, 60, 61, 62, 63, 64, 65, 66, 71, 73, 75, 81, 96, 98, 99], $VB = [13, 75, 81, 96, 98, 99], $VC = [13, 65, 66, 75, 81, 96, 98, 99], $VD = [13, 60, 61, 62, 63, 64, 75, 81, 96, 98, 99], $VE = [1, 94], $VF = [1, 111], $VG = [1, 109], $VH = [1, 103], $VI = [1, 104], $VJ = [1, 105], $VK = [1, 106], $VL = [1, 107], $VM = [1, 108], $VN = [1, 110], $VO = [1, 8, 9, 38, 40, 43], $VP = [1, 8, 9, 22], $VQ = [1, 8, 9, 79], $VR = [1, 8, 9, 22, 74, 75, 79, 81, 82, 83, 84, 85, 86];
24
- var parser2 = {
25
- trace: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function trace() {
26
- }, "trace"),
27
- yy: {},
28
- 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, "DOT": 17, "className": 18, "classLiteralName": 19, "GENERICTYPE": 20, "relationStatement": 21, "LABEL": 22, "namespaceStatement": 23, "classStatement": 24, "memberStatement": 25, "annotationStatement": 26, "clickStatement": 27, "styleStatement": 28, "cssClassStatement": 29, "noteStatement": 30, "direction": 31, "acc_title": 32, "acc_title_value": 33, "acc_descr": 34, "acc_descr_value": 35, "acc_descr_multiline_value": 36, "namespaceIdentifier": 37, "STRUCT_START": 38, "classStatements": 39, "STRUCT_STOP": 40, "NAMESPACE": 41, "classIdentifier": 42, "STYLE_SEPARATOR": 43, "members": 44, "CLASS": 45, "ANNOTATION_START": 46, "ANNOTATION_END": 47, "MEMBER": 48, "SEPARATOR": 49, "relation": 50, "NOTE_FOR": 51, "noteText": 52, "NOTE": 53, "direction_tb": 54, "direction_bt": 55, "direction_rl": 56, "direction_lr": 57, "relationType": 58, "lineType": 59, "AGGREGATION": 60, "EXTENSION": 61, "COMPOSITION": 62, "DEPENDENCY": 63, "LOLLIPOP": 64, "LINE": 65, "DOTTED_LINE": 66, "CALLBACK": 67, "LINK": 68, "LINK_TARGET": 69, "CLICK": 70, "CALLBACK_NAME": 71, "CALLBACK_ARGS": 72, "HREF": 73, "STYLE": 74, "ALPHA": 75, "stylesOpt": 76, "CSSCLASS": 77, "style": 78, "COMMA": 79, "styleComponent": 80, "NUM": 81, "COLON": 82, "UNIT": 83, "SPACE": 84, "BRKT": 85, "PCT": 86, "commentToken": 87, "textToken": 88, "graphCodeTokens": 89, "textNoTagsToken": 90, "TAGSTART": 91, "TAGEND": 92, "==": 93, "--": 94, "DEFAULT": 95, "MINUS": 96, "keywords": 97, "UNICODE_TEXT": 98, "BQUOTE_STR": 99, "$accept": 0, "$end": 1 },
29
- terminals_: { 2: "error", 7: "CLASS_DIAGRAM", 8: "NEWLINE", 9: "EOF", 12: "SQS", 13: "STR", 14: "SQE", 17: "DOT", 20: "GENERICTYPE", 22: "LABEL", 32: "acc_title", 33: "acc_title_value", 34: "acc_descr", 35: "acc_descr_value", 36: "acc_descr_multiline_value", 38: "STRUCT_START", 40: "STRUCT_STOP", 41: "NAMESPACE", 43: "STYLE_SEPARATOR", 45: "CLASS", 46: "ANNOTATION_START", 47: "ANNOTATION_END", 48: "MEMBER", 49: "SEPARATOR", 51: "NOTE_FOR", 53: "NOTE", 54: "direction_tb", 55: "direction_bt", 56: "direction_rl", 57: "direction_lr", 60: "AGGREGATION", 61: "EXTENSION", 62: "COMPOSITION", 63: "DEPENDENCY", 64: "LOLLIPOP", 65: "LINE", 66: "DOTTED_LINE", 67: "CALLBACK", 68: "LINK", 69: "LINK_TARGET", 70: "CLICK", 71: "CALLBACK_NAME", 72: "CALLBACK_ARGS", 73: "HREF", 74: "STYLE", 75: "ALPHA", 77: "CSSCLASS", 79: "COMMA", 81: "NUM", 82: "COLON", 83: "UNIT", 84: "SPACE", 85: "BRKT", 86: "PCT", 89: "graphCodeTokens", 91: "TAGSTART", 92: "TAGEND", 93: "==", 94: "--", 95: "DEFAULT", 96: "MINUS", 97: "keywords", 98: "UNICODE_TEXT", 99: "BQUOTE_STR" },
30
- productions_: [0, [3, 1], [3, 1], [4, 1], [6, 4], [5, 1], [5, 2], [5, 3], [11, 3], [15, 1], [15, 3], [15, 2], [18, 1], [18, 3], [18, 1], [18, 2], [18, 2], [18, 2], [10, 1], [10, 2], [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], [37, 2], [39, 1], [39, 2], [39, 3], [24, 1], [24, 3], [24, 4], [24, 6], [42, 2], [42, 3], [26, 4], [44, 1], [44, 2], [25, 1], [25, 2], [25, 1], [25, 1], [21, 3], [21, 4], [21, 4], [21, 5], [30, 3], [30, 2], [31, 1], [31, 1], [31, 1], [31, 1], [50, 3], [50, 2], [50, 2], [50, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [59, 1], [59, 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], [76, 1], [76, 3], [78, 1], [78, 2], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [80, 1], [87, 1], [87, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [88, 1], [90, 1], [90, 1], [90, 1], [90, 1], [16, 1], [16, 1], [16, 1], [16, 1], [19, 1], [52, 1]],
31
- performAction: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
32
- var $0 = $$.length - 1;
33
- switch (yystate) {
34
- case 8:
35
- this.$ = $$[$0 - 1];
36
- break;
37
- case 9:
38
- case 12:
39
- case 14:
40
- this.$ = $$[$0];
41
- break;
42
- case 10:
43
- case 13:
44
- this.$ = $$[$0 - 2] + "." + $$[$0];
45
- break;
46
- case 11:
47
- case 15:
48
- this.$ = $$[$0 - 1] + $$[$0];
49
- break;
50
- case 16:
51
- case 17:
52
- this.$ = $$[$0 - 1] + "~" + $$[$0] + "~";
53
- break;
54
- case 18:
55
- yy.addRelation($$[$0]);
56
- break;
57
- case 19:
58
- $$[$0 - 1].title = yy.cleanupLabel($$[$0]);
59
- yy.addRelation($$[$0 - 1]);
60
- break;
61
- case 29:
62
- this.$ = $$[$0].trim();
63
- yy.setAccTitle(this.$);
64
- break;
65
- case 30:
66
- case 31:
67
- this.$ = $$[$0].trim();
68
- yy.setAccDescription(this.$);
69
- break;
70
- case 32:
71
- yy.addClassesToNamespace($$[$0 - 3], $$[$0 - 1]);
72
- break;
73
- case 33:
74
- yy.addClassesToNamespace($$[$0 - 4], $$[$0 - 1]);
75
- break;
76
- case 34:
77
- this.$ = $$[$0];
78
- yy.addNamespace($$[$0]);
79
- break;
80
- case 35:
81
- this.$ = [$$[$0]];
82
- break;
83
- case 36:
84
- this.$ = [$$[$0 - 1]];
85
- break;
86
- case 37:
87
- $$[$0].unshift($$[$0 - 2]);
88
- this.$ = $$[$0];
89
- break;
90
- case 39:
91
- yy.setCssClass($$[$0 - 2], $$[$0]);
92
- break;
93
- case 40:
94
- yy.addMembers($$[$0 - 3], $$[$0 - 1]);
95
- break;
96
- case 41:
97
- yy.setCssClass($$[$0 - 5], $$[$0 - 3]);
98
- yy.addMembers($$[$0 - 5], $$[$0 - 1]);
99
- break;
100
- case 42:
101
- this.$ = $$[$0];
102
- yy.addClass($$[$0]);
103
- break;
104
- case 43:
105
- this.$ = $$[$0 - 1];
106
- yy.addClass($$[$0 - 1]);
107
- yy.setClassLabel($$[$0 - 1], $$[$0]);
108
- break;
109
- case 44:
110
- yy.addAnnotation($$[$0], $$[$0 - 2]);
111
- break;
112
- case 45:
113
- this.$ = [$$[$0]];
114
- break;
115
- case 46:
116
- $$[$0].push($$[$0 - 1]);
117
- this.$ = $$[$0];
118
- break;
119
- case 47:
120
- break;
121
- case 48:
122
- yy.addMember($$[$0 - 1], yy.cleanupLabel($$[$0]));
123
- break;
124
- case 49:
125
- break;
126
- case 50:
127
- break;
128
- case 51:
129
- this.$ = { "id1": $$[$0 - 2], "id2": $$[$0], relation: $$[$0 - 1], relationTitle1: "none", relationTitle2: "none" };
130
- break;
131
- case 52:
132
- this.$ = { id1: $$[$0 - 3], id2: $$[$0], relation: $$[$0 - 1], relationTitle1: $$[$0 - 2], relationTitle2: "none" };
133
- break;
134
- case 53:
135
- this.$ = { id1: $$[$0 - 3], id2: $$[$0], relation: $$[$0 - 2], relationTitle1: "none", relationTitle2: $$[$0 - 1] };
136
- break;
137
- case 54:
138
- this.$ = { id1: $$[$0 - 4], id2: $$[$0], relation: $$[$0 - 2], relationTitle1: $$[$0 - 3], relationTitle2: $$[$0 - 1] };
139
- break;
140
- case 55:
141
- yy.addNote($$[$0], $$[$0 - 1]);
142
- break;
143
- case 56:
144
- yy.addNote($$[$0]);
145
- break;
146
- case 57:
147
- yy.setDirection("TB");
148
- break;
149
- case 58:
150
- yy.setDirection("BT");
151
- break;
152
- case 59:
153
- yy.setDirection("RL");
154
- break;
155
- case 60:
156
- yy.setDirection("LR");
157
- break;
158
- case 61:
159
- this.$ = { type1: $$[$0 - 2], type2: $$[$0], lineType: $$[$0 - 1] };
160
- break;
161
- case 62:
162
- this.$ = { type1: "none", type2: $$[$0], lineType: $$[$0 - 1] };
163
- break;
164
- case 63:
165
- this.$ = { type1: $$[$0 - 1], type2: "none", lineType: $$[$0] };
166
- break;
167
- case 64:
168
- this.$ = { type1: "none", type2: "none", lineType: $$[$0] };
169
- break;
170
- case 65:
171
- this.$ = yy.relationType.AGGREGATION;
172
- break;
173
- case 66:
174
- this.$ = yy.relationType.EXTENSION;
175
- break;
176
- case 67:
177
- this.$ = yy.relationType.COMPOSITION;
178
- break;
179
- case 68:
180
- this.$ = yy.relationType.DEPENDENCY;
181
- break;
182
- case 69:
183
- this.$ = yy.relationType.LOLLIPOP;
184
- break;
185
- case 70:
186
- this.$ = yy.lineType.LINE;
187
- break;
188
- case 71:
189
- this.$ = yy.lineType.DOTTED_LINE;
190
- break;
191
- case 72:
192
- case 78:
193
- this.$ = $$[$0 - 2];
194
- yy.setClickEvent($$[$0 - 1], $$[$0]);
195
- break;
196
- case 73:
197
- case 79:
198
- this.$ = $$[$0 - 3];
199
- yy.setClickEvent($$[$0 - 2], $$[$0 - 1]);
200
- yy.setTooltip($$[$0 - 2], $$[$0]);
201
- break;
202
- case 74:
203
- this.$ = $$[$0 - 2];
204
- yy.setLink($$[$0 - 1], $$[$0]);
205
- break;
206
- case 75:
207
- this.$ = $$[$0 - 3];
208
- yy.setLink($$[$0 - 2], $$[$0 - 1], $$[$0]);
209
- break;
210
- case 76:
211
- this.$ = $$[$0 - 3];
212
- yy.setLink($$[$0 - 2], $$[$0 - 1]);
213
- yy.setTooltip($$[$0 - 2], $$[$0]);
214
- break;
215
- case 77:
216
- this.$ = $$[$0 - 4];
217
- yy.setLink($$[$0 - 3], $$[$0 - 2], $$[$0]);
218
- yy.setTooltip($$[$0 - 3], $$[$0 - 1]);
219
- break;
220
- case 80:
221
- this.$ = $$[$0 - 3];
222
- yy.setClickEvent($$[$0 - 2], $$[$0 - 1], $$[$0]);
223
- break;
224
- case 81:
225
- this.$ = $$[$0 - 4];
226
- yy.setClickEvent($$[$0 - 3], $$[$0 - 2], $$[$0 - 1]);
227
- yy.setTooltip($$[$0 - 3], $$[$0]);
228
- break;
229
- case 82:
230
- this.$ = $$[$0 - 3];
231
- yy.setLink($$[$0 - 2], $$[$0]);
232
- break;
233
- case 83:
234
- this.$ = $$[$0 - 4];
235
- yy.setLink($$[$0 - 3], $$[$0 - 1], $$[$0]);
236
- break;
237
- case 84:
238
- this.$ = $$[$0 - 4];
239
- yy.setLink($$[$0 - 3], $$[$0 - 1]);
240
- yy.setTooltip($$[$0 - 3], $$[$0]);
241
- break;
242
- case 85:
243
- this.$ = $$[$0 - 5];
244
- yy.setLink($$[$0 - 4], $$[$0 - 2], $$[$0]);
245
- yy.setTooltip($$[$0 - 4], $$[$0 - 1]);
246
- break;
247
- case 86:
248
- this.$ = $$[$0 - 2];
249
- yy.setCssStyle($$[$0 - 1], $$[$0]);
250
- break;
251
- case 87:
252
- yy.setCssClass($$[$0 - 1], $$[$0]);
253
- break;
254
- case 88:
255
- this.$ = [$$[$0]];
256
- break;
257
- case 89:
258
- $$[$0 - 2].push($$[$0]);
259
- this.$ = $$[$0 - 2];
260
- break;
261
- case 91:
262
- this.$ = $$[$0 - 1] + $$[$0];
263
- break;
264
- }
265
- }, "anonymous"),
266
- table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 37, 18: 20, 19: 38, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: $V0, 34: $V1, 36: $V2, 37: 21, 41: $V3, 42: 22, 45: $V4, 46: $V5, 48: $V6, 49: $V7, 51: $V8, 53: $V9, 54: $Va, 55: $Vb, 56: $Vc, 57: $Vd, 67: $Ve, 68: $Vf, 70: $Vg, 74: $Vh, 75: $Vi, 77: $Vj, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, o($Vo, [2, 5], { 8: [1, 46] }), { 8: [1, 47] }, o($Vp, [2, 18], { 22: [1, 48] }), o($Vp, [2, 20]), o($Vp, [2, 21]), o($Vp, [2, 22]), o($Vp, [2, 23]), o($Vp, [2, 24]), o($Vp, [2, 25]), o($Vp, [2, 26]), o($Vp, [2, 27]), o($Vp, [2, 28]), { 33: [1, 49] }, { 35: [1, 50] }, o($Vp, [2, 31]), o($Vp, [2, 47], { 50: 51, 58: 54, 59: 55, 13: [1, 52], 22: [1, 53], 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu, 65: $Vv, 66: $Vw }), { 38: [1, 63] }, o($Vx, [2, 38], { 38: [1, 65], 43: [1, 64] }), o($Vp, [2, 49]), o($Vp, [2, 50]), { 16: 66, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 16: 37, 18: 67, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 16: 37, 18: 68, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 16: 37, 18: 69, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 75: [1, 70] }, { 13: [1, 71] }, { 16: 37, 18: 72, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 13: $Vy, 52: 73 }, o($Vp, [2, 57]), o($Vp, [2, 58]), o($Vp, [2, 59]), o($Vp, [2, 60]), o($Vz, [2, 12], { 16: 37, 19: 38, 18: 76, 17: [1, 75], 20: [1, 77], 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }), o($Vz, [2, 14], { 20: [1, 78] }), { 15: 79, 16: 80, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 16: 37, 18: 81, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($VA, [2, 114]), o($VA, [2, 115]), o($VA, [2, 116]), o($VA, [2, 117]), o([1, 8, 9, 12, 13, 20, 22, 38, 40, 43, 60, 61, 62, 63, 64, 65, 66, 71, 73], [2, 118]), o($Vo, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 18: 20, 37: 21, 42: 22, 16: 37, 19: 38, 5: 82, 32: $V0, 34: $V1, 36: $V2, 41: $V3, 45: $V4, 46: $V5, 48: $V6, 49: $V7, 51: $V8, 53: $V9, 54: $Va, 55: $Vb, 56: $Vc, 57: $Vd, 67: $Ve, 68: $Vf, 70: $Vg, 74: $Vh, 75: $Vi, 77: $Vj, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }), { 5: 83, 10: 5, 16: 37, 18: 20, 19: 38, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: $V0, 34: $V1, 36: $V2, 37: 21, 41: $V3, 42: 22, 45: $V4, 46: $V5, 48: $V6, 49: $V7, 51: $V8, 53: $V9, 54: $Va, 55: $Vb, 56: $Vc, 57: $Vd, 67: $Ve, 68: $Vf, 70: $Vg, 74: $Vh, 75: $Vi, 77: $Vj, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($Vp, [2, 19]), o($Vp, [2, 29]), o($Vp, [2, 30]), { 13: [1, 85], 16: 37, 18: 84, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 50: 86, 58: 54, 59: 55, 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu, 65: $Vv, 66: $Vw }, o($Vp, [2, 48]), { 59: 87, 65: $Vv, 66: $Vw }, o($VB, [2, 64], { 58: 88, 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu }), o($VC, [2, 65]), o($VC, [2, 66]), o($VC, [2, 67]), o($VC, [2, 68]), o($VC, [2, 69]), o($VD, [2, 70]), o($VD, [2, 71]), { 8: [1, 90], 24: 91, 39: 89, 42: 22, 45: $V4 }, { 16: 92, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 44: 93, 48: $VE }, { 47: [1, 95] }, { 13: [1, 96] }, { 13: [1, 97] }, { 71: [1, 98], 73: [1, 99] }, { 22: $VF, 74: $VG, 75: $VH, 76: 100, 78: 101, 80: 102, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }, { 75: [1, 112] }, { 13: $Vy, 52: 113 }, o($Vp, [2, 56]), o($Vp, [2, 119]), { 16: 37, 18: 114, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($Vz, [2, 15]), o($Vz, [2, 16]), o($Vz, [2, 17]), { 38: [2, 34] }, { 15: 116, 16: 80, 17: [1, 115], 38: [2, 9], 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, o($VO, [2, 42], { 11: 117, 12: [1, 118] }), o($Vo, [2, 7]), { 9: [1, 119] }, o($VP, [2, 51]), { 16: 37, 18: 120, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, { 13: [1, 122], 16: 37, 18: 121, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($VB, [2, 63], { 58: 123, 60: $Vq, 61: $Vr, 62: $Vs, 63: $Vt, 64: $Vu }), o($VB, [2, 62]), { 40: [1, 124] }, { 24: 91, 39: 125, 42: 22, 45: $V4 }, { 8: [1, 126], 40: [2, 35] }, o($Vx, [2, 39], { 38: [1, 127] }), { 40: [1, 128] }, { 40: [2, 45], 44: 129, 48: $VE }, { 16: 37, 18: 130, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($Vp, [2, 72], { 13: [1, 131] }), o($Vp, [2, 74], { 13: [1, 133], 69: [1, 132] }), o($Vp, [2, 78], { 13: [1, 134], 72: [1, 135] }), { 13: [1, 136] }, o($Vp, [2, 86], { 79: [1, 137] }), o($VQ, [2, 88], { 80: 138, 22: $VF, 74: $VG, 75: $VH, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }), o($VR, [2, 90]), o($VR, [2, 92]), o($VR, [2, 93]), o($VR, [2, 94]), o($VR, [2, 95]), o($VR, [2, 96]), o($VR, [2, 97]), o($VR, [2, 98]), o($VR, [2, 99]), o($VR, [2, 100]), o($Vp, [2, 87]), o($Vp, [2, 55]), o($Vz, [2, 13]), { 15: 139, 16: 80, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm }, { 38: [2, 11] }, o($VO, [2, 43]), { 13: [1, 140] }, { 1: [2, 4] }, o($VP, [2, 53]), o($VP, [2, 52]), { 16: 37, 18: 141, 19: 38, 75: $Vi, 81: $Vk, 96: $Vl, 98: $Vm, 99: $Vn }, o($VB, [2, 61]), o($Vp, [2, 32]), { 40: [1, 142] }, { 24: 91, 39: 143, 40: [2, 36], 42: 22, 45: $V4 }, { 44: 144, 48: $VE }, o($Vx, [2, 40]), { 40: [2, 46] }, o($Vp, [2, 44]), o($Vp, [2, 73]), o($Vp, [2, 75]), o($Vp, [2, 76], { 69: [1, 145] }), o($Vp, [2, 79]), o($Vp, [2, 80], { 13: [1, 146] }), o($Vp, [2, 82], { 13: [1, 148], 69: [1, 147] }), { 22: $VF, 74: $VG, 75: $VH, 78: 149, 80: 102, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }, o($VR, [2, 91]), { 38: [2, 10] }, { 14: [1, 150] }, o($VP, [2, 54]), o($Vp, [2, 33]), { 40: [2, 37] }, { 40: [1, 151] }, o($Vp, [2, 77]), o($Vp, [2, 81]), o($Vp, [2, 83]), o($Vp, [2, 84], { 69: [1, 152] }), o($VQ, [2, 89], { 80: 138, 22: $VF, 74: $VG, 75: $VH, 81: $VI, 82: $VJ, 83: $VK, 84: $VL, 85: $VM, 86: $VN }), o($VO, [2, 8]), o($Vx, [2, 41]), o($Vp, [2, 85])],
267
- defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 79: [2, 34], 116: [2, 11], 119: [2, 4], 129: [2, 46], 139: [2, 10], 143: [2, 37] },
268
- parseError: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parseError(str, hash) {
269
- if (hash.recoverable) {
270
- this.trace(str);
271
- } else {
272
- var error = new Error(str);
273
- error.hash = hash;
274
- throw error;
275
- }
276
- }, "parseError"),
277
- parse: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parse(input) {
278
- var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
279
- var args = lstack.slice.call(arguments, 1);
280
- var lexer2 = Object.create(this.lexer);
281
- var sharedState = { yy: {} };
282
- for (var k in this.yy) {
283
- if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
284
- sharedState.yy[k] = this.yy[k];
285
- }
286
- }
287
- lexer2.setInput(input, sharedState.yy);
288
- sharedState.yy.lexer = lexer2;
289
- sharedState.yy.parser = this;
290
- if (typeof lexer2.yylloc == "undefined") {
291
- lexer2.yylloc = {};
292
- }
293
- var yyloc = lexer2.yylloc;
294
- lstack.push(yyloc);
295
- var ranges = lexer2.options && lexer2.options.ranges;
296
- if (typeof sharedState.yy.parseError === "function") {
297
- this.parseError = sharedState.yy.parseError;
298
- } else {
299
- this.parseError = Object.getPrototypeOf(this).parseError;
300
- }
301
- function popStack(n) {
302
- stack.length = stack.length - 2 * n;
303
- vstack.length = vstack.length - n;
304
- lstack.length = lstack.length - n;
305
- }
306
- (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(popStack, "popStack");
307
- function lex() {
308
- var token;
309
- token = tstack.pop() || lexer2.lex() || EOF;
310
- if (typeof token !== "number") {
311
- if (token instanceof Array) {
312
- tstack = token;
313
- token = tstack.pop();
314
- }
315
- token = self.symbols_[token] || token;
316
- }
317
- return token;
318
- }
319
- (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(lex, "lex");
320
- var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
321
- while (true) {
322
- state = stack[stack.length - 1];
323
- if (this.defaultActions[state]) {
324
- action = this.defaultActions[state];
325
- } else {
326
- if (symbol === null || typeof symbol == "undefined") {
327
- symbol = lex();
328
- }
329
- action = table[state] && table[state][symbol];
330
- }
331
- if (typeof action === "undefined" || !action.length || !action[0]) {
332
- var errStr = "";
333
- expected = [];
334
- for (p in table[state]) {
335
- if (this.terminals_[p] && p > TERROR) {
336
- expected.push("'" + this.terminals_[p] + "'");
337
- }
338
- }
339
- if (lexer2.showPosition) {
340
- errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
341
- } else {
342
- errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
343
- }
344
- this.parseError(errStr, {
345
- text: lexer2.match,
346
- token: this.terminals_[symbol] || symbol,
347
- line: lexer2.yylineno,
348
- loc: yyloc,
349
- expected
350
- });
351
- }
352
- if (action[0] instanceof Array && action.length > 1) {
353
- throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
354
- }
355
- switch (action[0]) {
356
- case 1:
357
- stack.push(symbol);
358
- vstack.push(lexer2.yytext);
359
- lstack.push(lexer2.yylloc);
360
- stack.push(action[1]);
361
- symbol = null;
362
- if (!preErrorSymbol) {
363
- yyleng = lexer2.yyleng;
364
- yytext = lexer2.yytext;
365
- yylineno = lexer2.yylineno;
366
- yyloc = lexer2.yylloc;
367
- if (recovering > 0) {
368
- recovering--;
369
- }
370
- } else {
371
- symbol = preErrorSymbol;
372
- preErrorSymbol = null;
373
- }
374
- break;
375
- case 2:
376
- len = this.productions_[action[1]][1];
377
- yyval.$ = vstack[vstack.length - len];
378
- yyval._$ = {
379
- first_line: lstack[lstack.length - (len || 1)].first_line,
380
- last_line: lstack[lstack.length - 1].last_line,
381
- first_column: lstack[lstack.length - (len || 1)].first_column,
382
- last_column: lstack[lstack.length - 1].last_column
383
- };
384
- if (ranges) {
385
- yyval._$.range = [
386
- lstack[lstack.length - (len || 1)].range[0],
387
- lstack[lstack.length - 1].range[1]
388
- ];
389
- }
390
- r = this.performAction.apply(yyval, [
391
- yytext,
392
- yyleng,
393
- yylineno,
394
- sharedState.yy,
395
- action[1],
396
- vstack,
397
- lstack
398
- ].concat(args));
399
- if (typeof r !== "undefined") {
400
- return r;
401
- }
402
- if (len) {
403
- stack = stack.slice(0, -1 * len * 2);
404
- vstack = vstack.slice(0, -1 * len);
405
- lstack = lstack.slice(0, -1 * len);
406
- }
407
- stack.push(this.productions_[action[1]][0]);
408
- vstack.push(yyval.$);
409
- lstack.push(yyval._$);
410
- newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
411
- stack.push(newState);
412
- break;
413
- case 3:
414
- return true;
415
- }
416
- }
417
- return true;
418
- }, "parse")
419
- };
420
- var lexer = /* @__PURE__ */ function() {
421
- var lexer2 = {
422
- EOF: 1,
423
- parseError: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function parseError(str, hash) {
424
- if (this.yy.parser) {
425
- this.yy.parser.parseError(str, hash);
426
- } else {
427
- throw new Error(str);
428
- }
429
- }, "parseError"),
430
- // resets the lexer, sets new input
431
- setInput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(input, yy) {
432
- this.yy = yy || this.yy || {};
433
- this._input = input;
434
- this._more = this._backtrack = this.done = false;
435
- this.yylineno = this.yyleng = 0;
436
- this.yytext = this.matched = this.match = "";
437
- this.conditionStack = ["INITIAL"];
438
- this.yylloc = {
439
- first_line: 1,
440
- first_column: 0,
441
- last_line: 1,
442
- last_column: 0
443
- };
444
- if (this.options.ranges) {
445
- this.yylloc.range = [0, 0];
446
- }
447
- this.offset = 0;
448
- return this;
449
- }, "setInput"),
450
- // consumes and returns one char from the input
451
- input: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
452
- var ch = this._input[0];
453
- this.yytext += ch;
454
- this.yyleng++;
455
- this.offset++;
456
- this.match += ch;
457
- this.matched += ch;
458
- var lines = ch.match(/(?:\r\n?|\n).*/g);
459
- if (lines) {
460
- this.yylineno++;
461
- this.yylloc.last_line++;
462
- } else {
463
- this.yylloc.last_column++;
464
- }
465
- if (this.options.ranges) {
466
- this.yylloc.range[1]++;
467
- }
468
- this._input = this._input.slice(1);
469
- return ch;
470
- }, "input"),
471
- // unshifts one char (or a string) into the input
472
- unput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ch) {
473
- var len = ch.length;
474
- var lines = ch.split(/(?:\r\n?|\n)/g);
475
- this._input = ch + this._input;
476
- this.yytext = this.yytext.substr(0, this.yytext.length - len);
477
- this.offset -= len;
478
- var oldLines = this.match.split(/(?:\r\n?|\n)/g);
479
- this.match = this.match.substr(0, this.match.length - 1);
480
- this.matched = this.matched.substr(0, this.matched.length - 1);
481
- if (lines.length - 1) {
482
- this.yylineno -= lines.length - 1;
483
- }
484
- var r = this.yylloc.range;
485
- this.yylloc = {
486
- first_line: this.yylloc.first_line,
487
- last_line: this.yylineno + 1,
488
- first_column: this.yylloc.first_column,
489
- last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len
490
- };
491
- if (this.options.ranges) {
492
- this.yylloc.range = [r[0], r[0] + this.yyleng - len];
493
- }
494
- this.yyleng = this.yytext.length;
495
- return this;
496
- }, "unput"),
497
- // When called from action, caches matched text and appends it on next action
498
- more: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
499
- this._more = true;
500
- return this;
501
- }, "more"),
502
- // 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.
503
- reject: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
504
- if (this.options.backtrack_lexer) {
505
- this._backtrack = true;
506
- } else {
507
- 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).\n" + this.showPosition(), {
508
- text: "",
509
- token: null,
510
- line: this.yylineno
511
- });
512
- }
513
- return this;
514
- }, "reject"),
515
- // retain first n characters of the match
516
- less: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(n) {
517
- this.unput(this.match.slice(n));
518
- }, "less"),
519
- // displays already matched input, i.e. for error messages
520
- pastInput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
521
- var past = this.matched.substr(0, this.matched.length - this.match.length);
522
- return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
523
- }, "pastInput"),
524
- // displays upcoming input, i.e. for error messages
525
- upcomingInput: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
526
- var next = this.match;
527
- if (next.length < 20) {
528
- next += this._input.substr(0, 20 - next.length);
529
- }
530
- return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
531
- }, "upcomingInput"),
532
- // displays the character position where the lexing error occurred, i.e. for error messages
533
- showPosition: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
534
- var pre = this.pastInput();
535
- var c = new Array(pre.length + 1).join("-");
536
- return pre + this.upcomingInput() + "\n" + c + "^";
537
- }, "showPosition"),
538
- // test the lexed token: return FALSE when not a match, otherwise return token
539
- test_match: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(match, indexed_rule) {
540
- var token, lines, backup;
541
- if (this.options.backtrack_lexer) {
542
- backup = {
543
- yylineno: this.yylineno,
544
- yylloc: {
545
- first_line: this.yylloc.first_line,
546
- last_line: this.last_line,
547
- first_column: this.yylloc.first_column,
548
- last_column: this.yylloc.last_column
549
- },
550
- yytext: this.yytext,
551
- match: this.match,
552
- matches: this.matches,
553
- matched: this.matched,
554
- yyleng: this.yyleng,
555
- offset: this.offset,
556
- _more: this._more,
557
- _input: this._input,
558
- yy: this.yy,
559
- conditionStack: this.conditionStack.slice(0),
560
- done: this.done
561
- };
562
- if (this.options.ranges) {
563
- backup.yylloc.range = this.yylloc.range.slice(0);
564
- }
565
- }
566
- lines = match[0].match(/(?:\r\n?|\n).*/g);
567
- if (lines) {
568
- this.yylineno += lines.length;
569
- }
570
- this.yylloc = {
571
- first_line: this.yylloc.last_line,
572
- last_line: this.yylineno + 1,
573
- first_column: this.yylloc.last_column,
574
- last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
575
- };
576
- this.yytext += match[0];
577
- this.match += match[0];
578
- this.matches = match;
579
- this.yyleng = this.yytext.length;
580
- if (this.options.ranges) {
581
- this.yylloc.range = [this.offset, this.offset += this.yyleng];
582
- }
583
- this._more = false;
584
- this._backtrack = false;
585
- this._input = this._input.slice(match[0].length);
586
- this.matched += match[0];
587
- token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
588
- if (this.done && this._input) {
589
- this.done = false;
590
- }
591
- if (token) {
592
- return token;
593
- } else if (this._backtrack) {
594
- for (var k in backup) {
595
- this[k] = backup[k];
596
- }
597
- return false;
598
- }
599
- return false;
600
- }, "test_match"),
601
- // return next match in input
602
- next: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
603
- if (this.done) {
604
- return this.EOF;
605
- }
606
- if (!this._input) {
607
- this.done = true;
608
- }
609
- var token, match, tempMatch, index;
610
- if (!this._more) {
611
- this.yytext = "";
612
- this.match = "";
613
- }
614
- var rules = this._currentRules();
615
- for (var i = 0; i < rules.length; i++) {
616
- tempMatch = this._input.match(this.rules[rules[i]]);
617
- if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
618
- match = tempMatch;
619
- index = i;
620
- if (this.options.backtrack_lexer) {
621
- token = this.test_match(tempMatch, rules[i]);
622
- if (token !== false) {
623
- return token;
624
- } else if (this._backtrack) {
625
- match = false;
626
- continue;
627
- } else {
628
- return false;
629
- }
630
- } else if (!this.options.flex) {
631
- break;
632
- }
633
- }
634
- }
635
- if (match) {
636
- token = this.test_match(match, rules[index]);
637
- if (token !== false) {
638
- return token;
639
- }
640
- return false;
641
- }
642
- if (this._input === "") {
643
- return this.EOF;
644
- } else {
645
- return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
646
- text: "",
647
- token: null,
648
- line: this.yylineno
649
- });
650
- }
651
- }, "next"),
652
- // return next match that has a token
653
- lex: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function lex() {
654
- var r = this.next();
655
- if (r) {
656
- return r;
657
- } else {
658
- return this.lex();
659
- }
660
- }, "lex"),
661
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
662
- begin: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function begin(condition) {
663
- this.conditionStack.push(condition);
664
- }, "begin"),
665
- // pop the previously active lexer condition state off the condition stack
666
- popState: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function popState() {
667
- var n = this.conditionStack.length - 1;
668
- if (n > 0) {
669
- return this.conditionStack.pop();
670
- } else {
671
- return this.conditionStack[0];
672
- }
673
- }, "popState"),
674
- // produce the lexer rule set which is active for the currently active lexer condition state
675
- _currentRules: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function _currentRules() {
676
- if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
677
- return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
678
- } else {
679
- return this.conditions["INITIAL"].rules;
680
- }
681
- }, "_currentRules"),
682
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
683
- topState: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function topState(n) {
684
- n = this.conditionStack.length - 1 - Math.abs(n || 0);
685
- if (n >= 0) {
686
- return this.conditionStack[n];
687
- } else {
688
- return "INITIAL";
689
- }
690
- }, "topState"),
691
- // alias for begin(condition)
692
- pushState: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function pushState(condition) {
693
- this.begin(condition);
694
- }, "pushState"),
695
- // return the number of states currently on the stack
696
- stateStackSize: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function stateStackSize() {
697
- return this.conditionStack.length;
698
- }, "stateStackSize"),
699
- options: {},
700
- performAction: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
701
- var YYSTATE = YY_START;
702
- switch ($avoiding_name_collisions) {
703
- case 0:
704
- return 54;
705
- break;
706
- case 1:
707
- return 55;
708
- break;
709
- case 2:
710
- return 56;
711
- break;
712
- case 3:
713
- return 57;
714
- break;
715
- case 4:
716
- break;
717
- case 5:
718
- break;
719
- case 6:
720
- this.begin("acc_title");
721
- return 32;
722
- break;
723
- case 7:
724
- this.popState();
725
- return "acc_title_value";
726
- break;
727
- case 8:
728
- this.begin("acc_descr");
729
- return 34;
730
- break;
731
- case 9:
732
- this.popState();
733
- return "acc_descr_value";
734
- break;
735
- case 10:
736
- this.begin("acc_descr_multiline");
737
- break;
738
- case 11:
739
- this.popState();
740
- break;
741
- case 12:
742
- return "acc_descr_multiline_value";
743
- break;
744
- case 13:
745
- return 8;
746
- break;
747
- case 14:
748
- break;
749
- case 15:
750
- return 7;
751
- break;
752
- case 16:
753
- return 7;
754
- break;
755
- case 17:
756
- return "EDGE_STATE";
757
- break;
758
- case 18:
759
- this.begin("callback_name");
760
- break;
761
- case 19:
762
- this.popState();
763
- break;
764
- case 20:
765
- this.popState();
766
- this.begin("callback_args");
767
- break;
768
- case 21:
769
- return 71;
770
- break;
771
- case 22:
772
- this.popState();
773
- break;
774
- case 23:
775
- return 72;
776
- break;
777
- case 24:
778
- this.popState();
779
- break;
780
- case 25:
781
- return "STR";
782
- break;
783
- case 26:
784
- this.begin("string");
785
- break;
786
- case 27:
787
- return 74;
788
- break;
789
- case 28:
790
- this.begin("namespace");
791
- return 41;
792
- break;
793
- case 29:
794
- this.popState();
795
- return 8;
796
- break;
797
- case 30:
798
- break;
799
- case 31:
800
- this.begin("namespace-body");
801
- return 38;
802
- break;
803
- case 32:
804
- this.popState();
805
- return 40;
806
- break;
807
- case 33:
808
- return "EOF_IN_STRUCT";
809
- break;
810
- case 34:
811
- return 8;
812
- break;
813
- case 35:
814
- break;
815
- case 36:
816
- return "EDGE_STATE";
817
- break;
818
- case 37:
819
- this.begin("class");
820
- return 45;
821
- break;
822
- case 38:
823
- this.popState();
824
- return 8;
825
- break;
826
- case 39:
827
- break;
828
- case 40:
829
- this.popState();
830
- this.popState();
831
- return 40;
832
- break;
833
- case 41:
834
- this.begin("class-body");
835
- return 38;
836
- break;
837
- case 42:
838
- this.popState();
839
- return 40;
840
- break;
841
- case 43:
842
- return "EOF_IN_STRUCT";
843
- break;
844
- case 44:
845
- return "EDGE_STATE";
846
- break;
847
- case 45:
848
- return "OPEN_IN_STRUCT";
849
- break;
850
- case 46:
851
- break;
852
- case 47:
853
- return "MEMBER";
854
- break;
855
- case 48:
856
- return 77;
857
- break;
858
- case 49:
859
- return 67;
860
- break;
861
- case 50:
862
- return 68;
863
- break;
864
- case 51:
865
- return 70;
866
- break;
867
- case 52:
868
- return 51;
869
- break;
870
- case 53:
871
- return 53;
872
- break;
873
- case 54:
874
- return 46;
875
- break;
876
- case 55:
877
- return 47;
878
- break;
879
- case 56:
880
- return 73;
881
- break;
882
- case 57:
883
- this.popState();
884
- break;
885
- case 58:
886
- return "GENERICTYPE";
887
- break;
888
- case 59:
889
- this.begin("generic");
890
- break;
891
- case 60:
892
- this.popState();
893
- break;
894
- case 61:
895
- return "BQUOTE_STR";
896
- break;
897
- case 62:
898
- this.begin("bqstring");
899
- break;
900
- case 63:
901
- return 69;
902
- break;
903
- case 64:
904
- return 69;
905
- break;
906
- case 65:
907
- return 69;
908
- break;
909
- case 66:
910
- return 69;
911
- break;
912
- case 67:
913
- return 61;
914
- break;
915
- case 68:
916
- return 61;
917
- break;
918
- case 69:
919
- return 63;
920
- break;
921
- case 70:
922
- return 63;
923
- break;
924
- case 71:
925
- return 62;
926
- break;
927
- case 72:
928
- return 60;
929
- break;
930
- case 73:
931
- return 64;
932
- break;
933
- case 74:
934
- return 65;
935
- break;
936
- case 75:
937
- return 66;
938
- break;
939
- case 76:
940
- return 22;
941
- break;
942
- case 77:
943
- return 43;
944
- break;
945
- case 78:
946
- return 96;
947
- break;
948
- case 79:
949
- return 17;
950
- break;
951
- case 80:
952
- return "PLUS";
953
- break;
954
- case 81:
955
- return 82;
956
- break;
957
- case 82:
958
- return 79;
959
- break;
960
- case 83:
961
- return 85;
962
- break;
963
- case 84:
964
- return 85;
965
- break;
966
- case 85:
967
- return 86;
968
- break;
969
- case 86:
970
- return "EQUALS";
971
- break;
972
- case 87:
973
- return "EQUALS";
974
- break;
975
- case 88:
976
- return 75;
977
- break;
978
- case 89:
979
- return 12;
980
- break;
981
- case 90:
982
- return 14;
983
- break;
984
- case 91:
985
- return "PUNCTUATION";
986
- break;
987
- case 92:
988
- return 81;
989
- break;
990
- case 93:
991
- return 98;
992
- break;
993
- case 94:
994
- return 84;
995
- break;
996
- case 95:
997
- return 84;
998
- break;
999
- case 96:
1000
- return 9;
1001
- break;
1002
- }
1003
- }, "anonymous"),
1004
- 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)/, /^(?: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)/, /^(?:$)/],
1005
- conditions: { "namespace-body": { "rules": [26, 32, 33, 34, 35, 36, 37, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "namespace": { "rules": [26, 28, 29, 30, 31, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "class-body": { "rules": [26, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "class": { "rules": [26, 38, 39, 40, 41, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "acc_descr_multiline": { "rules": [11, 12, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "acc_descr": { "rules": [9, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "acc_title": { "rules": [7, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "callback_args": { "rules": [22, 23, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "callback_name": { "rules": [19, 20, 21, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "href": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "struct": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "generic": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "bqstring": { "rules": [26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "string": { "rules": [24, 25, 26, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 8, 10, 13, 14, 15, 16, 17, 18, 26, 27, 28, 37, 48, 49, 50, 51, 52, 53, 54, 55, 56, 59, 62, 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], "inclusive": true } }
1006
- };
1007
- return lexer2;
1008
- }();
1009
- parser2.lexer = lexer;
1010
- function Parser() {
1011
- this.yy = {};
1012
- }
1013
- (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(Parser, "Parser");
1014
- Parser.prototype = parser2;
1015
- parser2.Parser = Parser;
1016
- return new Parser();
1017
- }();
1018
- parser.parser = parser;
1019
- var classDiagram_default = parser;
1020
-
1021
- // src/diagrams/class/classDb.ts
1022
-
1023
-
1024
- // src/diagrams/class/classTypes.ts
1025
- var visibilityValues = ["#", "+", "~", "-", ""];
1026
- var ClassMember = class {
1027
- static {
1028
- (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(this, "ClassMember");
1029
- }
1030
- constructor(input, memberType) {
1031
- this.memberType = memberType;
1032
- this.visibility = "";
1033
- this.classifier = "";
1034
- const sanitizedInput = (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .sanitizeText */ .jZ)(input, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1035
- this.parseMember(sanitizedInput);
1036
- }
1037
- getDisplayDetails() {
1038
- let displayText = this.visibility + (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .parseGenericTypes */ .QO)(this.id);
1039
- if (this.memberType === "method") {
1040
- displayText += `(${(0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .parseGenericTypes */ .QO)(this.parameters.trim())})`;
1041
- if (this.returnType) {
1042
- displayText += " : " + (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .parseGenericTypes */ .QO)(this.returnType);
1043
- }
1044
- }
1045
- displayText = displayText.trim();
1046
- const cssStyle = this.parseClassifier();
1047
- return {
1048
- displayText,
1049
- cssStyle
1050
- };
1051
- }
1052
- parseMember(input) {
1053
- let potentialClassifier = "";
1054
- if (this.memberType === "method") {
1055
- const methodRegEx = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/;
1056
- const match = methodRegEx.exec(input);
1057
- if (match) {
1058
- const detectedVisibility = match[1] ? match[1].trim() : "";
1059
- if (visibilityValues.includes(detectedVisibility)) {
1060
- this.visibility = detectedVisibility;
1061
- }
1062
- this.id = match[2].trim();
1063
- this.parameters = match[3] ? match[3].trim() : "";
1064
- potentialClassifier = match[4] ? match[4].trim() : "";
1065
- this.returnType = match[5] ? match[5].trim() : "";
1066
- if (potentialClassifier === "") {
1067
- const lastChar = this.returnType.substring(this.returnType.length - 1);
1068
- if (/[$*]/.exec(lastChar)) {
1069
- potentialClassifier = lastChar;
1070
- this.returnType = this.returnType.substring(0, this.returnType.length - 1);
1071
- }
1072
- }
1073
- }
1074
- } else {
1075
- const length = input.length;
1076
- const firstChar = input.substring(0, 1);
1077
- const lastChar = input.substring(length - 1);
1078
- if (visibilityValues.includes(firstChar)) {
1079
- this.visibility = firstChar;
1080
- }
1081
- if (/[$*]/.exec(lastChar)) {
1082
- potentialClassifier = lastChar;
1083
- }
1084
- this.id = input.substring(
1085
- this.visibility === "" ? 0 : 1,
1086
- potentialClassifier === "" ? length : length - 1
1087
- );
1088
- }
1089
- this.classifier = potentialClassifier;
1090
- }
1091
- parseClassifier() {
1092
- switch (this.classifier) {
1093
- case "*":
1094
- return "font-style:italic;";
1095
- case "$":
1096
- return "text-decoration:underline;";
1097
- default:
1098
- return "";
1099
- }
1100
- }
1101
- };
1102
-
1103
- // src/diagrams/class/classDb.ts
1104
- var MERMAID_DOM_ID_PREFIX = "classId-";
1105
- var relations = [];
1106
- var classes = /* @__PURE__ */ new Map();
1107
- var notes = [];
1108
- var classCounter = 0;
1109
- var namespaces = /* @__PURE__ */ new Map();
1110
- var namespaceCounter = 0;
1111
- var functions = [];
1112
- var sanitizeText2 = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((txt) => _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(txt, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)()), "sanitizeText");
1113
- var splitClassNameAndType = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id) {
1114
- const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1115
- let genericType = "";
1116
- let className = id;
1117
- if (id.indexOf("~") > 0) {
1118
- const split = id.split("~");
1119
- className = sanitizeText2(split[0]);
1120
- genericType = sanitizeText2(split[1]);
1121
- }
1122
- return { className, type: genericType };
1123
- }, "splitClassNameAndType");
1124
- var setClassLabel = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id, label) {
1125
- const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1126
- if (label) {
1127
- label = sanitizeText2(label);
1128
- }
1129
- const { className } = splitClassNameAndType(id);
1130
- classes.get(className).label = label;
1131
- }, "setClassLabel");
1132
- var addClass = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id) {
1133
- const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1134
- const { className, type } = splitClassNameAndType(id);
1135
- if (classes.has(className)) {
1136
- return;
1137
- }
1138
- const name = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(className, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1139
- classes.set(name, {
1140
- id: name,
1141
- type,
1142
- label: name,
1143
- cssClasses: [],
1144
- methods: [],
1145
- members: [],
1146
- annotations: [],
1147
- styles: [],
1148
- domId: MERMAID_DOM_ID_PREFIX + name + "-" + classCounter
1149
- });
1150
- classCounter++;
1151
- }, "addClass");
1152
- var lookUpDomId = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_id) {
1153
- const id = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_id, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1154
- if (classes.has(id)) {
1155
- return classes.get(id).domId;
1156
- }
1157
- throw new Error("Class not found: " + id);
1158
- }, "lookUpDomId");
1159
- var clear2 = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1160
- relations = [];
1161
- classes = /* @__PURE__ */ new Map();
1162
- notes = [];
1163
- functions = [];
1164
- functions.push(setupToolTips);
1165
- namespaces = /* @__PURE__ */ new Map();
1166
- namespaceCounter = 0;
1167
- direction = "TB";
1168
- (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .clear */ .IU)();
1169
- }, "clear");
1170
- var getClass = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id) {
1171
- return classes.get(id);
1172
- }, "getClass");
1173
- var getClasses = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1174
- return classes;
1175
- }, "getClasses");
1176
- var getRelations = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1177
- return relations;
1178
- }, "getRelations");
1179
- var getNotes = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1180
- return notes;
1181
- }, "getNotes");
1182
- var addRelation = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(relation) {
1183
- _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .log */ .Rm.debug("Adding relation: " + JSON.stringify(relation));
1184
- addClass(relation.id1);
1185
- addClass(relation.id2);
1186
- relation.id1 = splitClassNameAndType(relation.id1).className;
1187
- relation.id2 = splitClassNameAndType(relation.id2).className;
1188
- relation.relationTitle1 = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(relation.relationTitle1.trim(), (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1189
- relation.relationTitle2 = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(relation.relationTitle2.trim(), (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1190
- relations.push(relation);
1191
- }, "addRelation");
1192
- var addAnnotation = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(className, annotation) {
1193
- const validatedClassName = splitClassNameAndType(className).className;
1194
- classes.get(validatedClassName).annotations.push(annotation);
1195
- }, "addAnnotation");
1196
- var addMember = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(className, member) {
1197
- addClass(className);
1198
- const validatedClassName = splitClassNameAndType(className).className;
1199
- const theClass = classes.get(validatedClassName);
1200
- if (typeof member === "string") {
1201
- const memberString = member.trim();
1202
- if (memberString.startsWith("<<") && memberString.endsWith(">>")) {
1203
- theClass.annotations.push(sanitizeText2(memberString.substring(2, memberString.length - 2)));
1204
- } else if (memberString.indexOf(")") > 0) {
1205
- theClass.methods.push(new ClassMember(memberString, "method"));
1206
- } else if (memberString) {
1207
- theClass.members.push(new ClassMember(memberString, "attribute"));
1208
- }
1209
- }
1210
- }, "addMember");
1211
- var addMembers = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(className, members) {
1212
- if (Array.isArray(members)) {
1213
- members.reverse();
1214
- members.forEach((member) => addMember(className, member));
1215
- }
1216
- }, "addMembers");
1217
- var addNote = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(text, className) {
1218
- const note = {
1219
- id: `note${notes.length}`,
1220
- class: className,
1221
- text
1222
- };
1223
- notes.push(note);
1224
- }, "addNote");
1225
- var cleanupLabel = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(label) {
1226
- if (label.startsWith(":")) {
1227
- label = label.substring(1);
1228
- }
1229
- return sanitizeText2(label.trim());
1230
- }, "cleanupLabel");
1231
- var setCssClass = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, className) {
1232
- ids.split(",").forEach(function(_id) {
1233
- let id = _id;
1234
- if (/\d/.exec(_id[0])) {
1235
- id = MERMAID_DOM_ID_PREFIX + id;
1236
- }
1237
- const classNode = classes.get(id);
1238
- if (classNode) {
1239
- classNode.cssClasses.push(className);
1240
- }
1241
- });
1242
- }, "setCssClass");
1243
- var setTooltip = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, tooltip) {
1244
- ids.split(",").forEach(function(id) {
1245
- if (tooltip !== void 0) {
1246
- classes.get(id).tooltip = sanitizeText2(tooltip);
1247
- }
1248
- });
1249
- }, "setTooltip");
1250
- var getTooltip = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id, namespace) {
1251
- if (namespace && namespaces.has(namespace)) {
1252
- return namespaces.get(namespace).classes.get(id).tooltip;
1253
- }
1254
- return classes.get(id).tooltip;
1255
- }, "getTooltip");
1256
- var setLink = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, linkStr, target) {
1257
- const config = (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)();
1258
- ids.split(",").forEach(function(_id) {
1259
- let id = _id;
1260
- if (/\d/.exec(_id[0])) {
1261
- id = MERMAID_DOM_ID_PREFIX + id;
1262
- }
1263
- const theClass = classes.get(id);
1264
- if (theClass) {
1265
- theClass.link = _chunk_TLUHKHBO_mjs__WEBPACK_IMPORTED_MODULE_0__/* .utils_default */ ._K.formatUrl(linkStr, config);
1266
- if (config.securityLevel === "sandbox") {
1267
- theClass.linkTarget = "_top";
1268
- } else if (typeof target === "string") {
1269
- theClass.linkTarget = sanitizeText2(target);
1270
- } else {
1271
- theClass.linkTarget = "_blank";
1272
- }
1273
- }
1274
- });
1275
- setCssClass(ids, "clickable");
1276
- }, "setLink");
1277
- var setClickEvent = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(ids, functionName, functionArgs) {
1278
- ids.split(",").forEach(function(id) {
1279
- setClickFunc(id, functionName, functionArgs);
1280
- classes.get(id).haveCallback = true;
1281
- });
1282
- setCssClass(ids, "clickable");
1283
- }, "setClickEvent");
1284
- var setClickFunc = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(_domId, functionName, functionArgs) {
1285
- const domId = _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .common_default */ .Y2.sanitizeText(_domId, (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)());
1286
- const config = (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)();
1287
- if (config.securityLevel !== "loose") {
1288
- return;
1289
- }
1290
- if (functionName === void 0) {
1291
- return;
1292
- }
1293
- const id = domId;
1294
- if (classes.has(id)) {
1295
- const elemId = lookUpDomId(id);
1296
- let argList = [];
1297
- if (typeof functionArgs === "string") {
1298
- argList = functionArgs.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
1299
- for (let i = 0; i < argList.length; i++) {
1300
- let item = argList[i].trim();
1301
- if (item.startsWith('"') && item.endsWith('"')) {
1302
- item = item.substr(1, item.length - 2);
1303
- }
1304
- argList[i] = item;
1305
- }
1306
- }
1307
- if (argList.length === 0) {
1308
- argList.push(elemId);
1309
- }
1310
- functions.push(function() {
1311
- const elem = document.querySelector(`[id="${elemId}"]`);
1312
- if (elem !== null) {
1313
- elem.addEventListener(
1314
- "click",
1315
- function() {
1316
- _chunk_TLUHKHBO_mjs__WEBPACK_IMPORTED_MODULE_0__/* .utils_default */ ._K.runFunc(functionName, ...argList);
1317
- },
1318
- false
1319
- );
1320
- }
1321
- });
1322
- }
1323
- }, "setClickFunc");
1324
- var bindFunctions = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(element) {
1325
- functions.forEach(function(fun) {
1326
- fun(element);
1327
- });
1328
- }, "bindFunctions");
1329
- var lineType = {
1330
- LINE: 0,
1331
- DOTTED_LINE: 1
1332
- };
1333
- var relationType = {
1334
- AGGREGATION: 0,
1335
- EXTENSION: 1,
1336
- COMPOSITION: 2,
1337
- DEPENDENCY: 3,
1338
- LOLLIPOP: 4
1339
- };
1340
- var setupToolTips = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(element) {
1341
- let tooltipElem = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(".mermaidTooltip");
1342
- if ((tooltipElem._groups || tooltipElem)[0][0] === null) {
1343
- tooltipElem = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0);
1344
- }
1345
- const svg = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(element).select("svg");
1346
- const nodes = svg.selectAll("g.node");
1347
- nodes.on("mouseover", function() {
1348
- const el = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(this);
1349
- const title = el.attr("title");
1350
- if (title === null) {
1351
- return;
1352
- }
1353
- const rect = this.getBoundingClientRect();
1354
- tooltipElem.transition().duration(200).style("opacity", ".9");
1355
- tooltipElem.text(el.attr("title")).style("left", window.scrollX + rect.left + (rect.right - rect.left) / 2 + "px").style("top", window.scrollY + rect.top - 14 + document.body.scrollTop + "px");
1356
- tooltipElem.html(tooltipElem.html().replace(/&lt;br\/&gt;/g, "<br/>"));
1357
- el.classed("hover", true);
1358
- }).on("mouseout", function() {
1359
- tooltipElem.transition().duration(500).style("opacity", 0);
1360
- const el = (0,d3__WEBPACK_IMPORTED_MODULE_2__/* .select */ .Ltv)(this);
1361
- el.classed("hover", false);
1362
- });
1363
- }, "setupToolTips");
1364
- functions.push(setupToolTips);
1365
- var direction = "TB";
1366
- var getDirection = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(() => direction, "getDirection");
1367
- var setDirection = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((dir) => {
1368
- direction = dir;
1369
- }, "setDirection");
1370
- var addNamespace = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id) {
1371
- if (namespaces.has(id)) {
1372
- return;
1373
- }
1374
- namespaces.set(id, {
1375
- id,
1376
- classes: /* @__PURE__ */ new Map(),
1377
- children: {},
1378
- domId: MERMAID_DOM_ID_PREFIX + id + "-" + namespaceCounter
1379
- });
1380
- namespaceCounter++;
1381
- }, "addNamespace");
1382
- var getNamespace = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(name) {
1383
- return namespaces.get(name);
1384
- }, "getNamespace");
1385
- var getNamespaces = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function() {
1386
- return namespaces;
1387
- }, "getNamespaces");
1388
- var addClassesToNamespace = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id, classNames) {
1389
- if (!namespaces.has(id)) {
1390
- return;
1391
- }
1392
- for (const name of classNames) {
1393
- const { className } = splitClassNameAndType(name);
1394
- classes.get(className).parent = id;
1395
- namespaces.get(id).classes.set(className, classes.get(className));
1396
- }
1397
- }, "addClassesToNamespace");
1398
- var setCssStyle = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(function(id, styles) {
1399
- const thisClass = classes.get(id);
1400
- if (!styles || !thisClass) {
1401
- return;
1402
- }
1403
- for (const s of styles) {
1404
- if (s.includes(",")) {
1405
- thisClass.styles.push(...s.split(","));
1406
- } else {
1407
- thisClass.styles.push(s);
1408
- }
1409
- }
1410
- }, "setCssStyle");
1411
- var classDb_default = {
1412
- setAccTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .setAccTitle */ .SV,
1413
- getAccTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getAccTitle */ .iN,
1414
- getAccDescription: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getAccDescription */ .m7,
1415
- setAccDescription: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .setAccDescription */ .EI,
1416
- getConfig: /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)(() => (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getConfig2 */ .D7)().class, "getConfig"),
1417
- addClass,
1418
- bindFunctions,
1419
- clear: clear2,
1420
- getClass,
1421
- getClasses,
1422
- getNotes,
1423
- addAnnotation,
1424
- addNote,
1425
- getRelations,
1426
- addRelation,
1427
- getDirection,
1428
- setDirection,
1429
- addMember,
1430
- addMembers,
1431
- cleanupLabel,
1432
- lineType,
1433
- relationType,
1434
- setClickEvent,
1435
- setCssClass,
1436
- setLink,
1437
- getTooltip,
1438
- setTooltip,
1439
- lookUpDomId,
1440
- setDiagramTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .setDiagramTitle */ .ke,
1441
- getDiagramTitle: _chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .getDiagramTitle */ .ab,
1442
- setClassLabel,
1443
- addNamespace,
1444
- addClassesToNamespace,
1445
- getNamespace,
1446
- getNamespaces,
1447
- setCssStyle
1448
- };
1449
-
1450
- // src/diagrams/class/styles.js
1451
- var getStyles = /* @__PURE__ */ (0,_chunk_S24QXQKS_mjs__WEBPACK_IMPORTED_MODULE_1__/* .__name */ .K2)((options) => `g.classGroup text {
1452
- fill: ${options.nodeBorder || options.classText};
1453
- stroke: none;
1454
- font-family: ${options.fontFamily};
1455
- font-size: 10px;
1456
-
1457
- .title {
1458
- font-weight: bolder;
1459
- }
1460
-
1461
- }
1462
-
1463
- .nodeLabel, .edgeLabel {
1464
- color: ${options.classText};
1465
- }
1466
- .edgeLabel .label rect {
1467
- fill: ${options.mainBkg};
1468
- }
1469
- .label text {
1470
- fill: ${options.classText};
1471
- }
1472
- .edgeLabel .label span {
1473
- background: ${options.mainBkg};
1474
- }
1475
-
1476
- .classTitle {
1477
- font-weight: bolder;
1478
- }
1479
- .node rect,
1480
- .node circle,
1481
- .node ellipse,
1482
- .node polygon,
1483
- .node path {
1484
- fill: ${options.mainBkg};
1485
- stroke: ${options.nodeBorder};
1486
- stroke-width: 1px;
1487
- }
1488
-
1489
-
1490
- .divider {
1491
- stroke: ${options.nodeBorder};
1492
- stroke-width: 1;
1493
- }
1494
-
1495
- g.clickable {
1496
- cursor: pointer;
1497
- }
1498
-
1499
- g.classGroup rect {
1500
- fill: ${options.mainBkg};
1501
- stroke: ${options.nodeBorder};
1502
- }
1503
-
1504
- g.classGroup line {
1505
- stroke: ${options.nodeBorder};
1506
- stroke-width: 1;
1507
- }
1508
-
1509
- .classLabel .box {
1510
- stroke: none;
1511
- stroke-width: 0;
1512
- fill: ${options.mainBkg};
1513
- opacity: 0.5;
1514
- }
1515
-
1516
- .classLabel .label {
1517
- fill: ${options.nodeBorder};
1518
- font-size: 10px;
1519
- }
1520
-
1521
- .relation {
1522
- stroke: ${options.lineColor};
1523
- stroke-width: 1;
1524
- fill: none;
1525
- }
1526
-
1527
- .dashed-line{
1528
- stroke-dasharray: 3;
1529
- }
1530
-
1531
- .dotted-line{
1532
- stroke-dasharray: 1 2;
1533
- }
1534
-
1535
- #compositionStart, .composition {
1536
- fill: ${options.lineColor} !important;
1537
- stroke: ${options.lineColor} !important;
1538
- stroke-width: 1;
1539
- }
1540
-
1541
- #compositionEnd, .composition {
1542
- fill: ${options.lineColor} !important;
1543
- stroke: ${options.lineColor} !important;
1544
- stroke-width: 1;
1545
- }
1546
-
1547
- #dependencyStart, .dependency {
1548
- fill: ${options.lineColor} !important;
1549
- stroke: ${options.lineColor} !important;
1550
- stroke-width: 1;
1551
- }
1552
-
1553
- #dependencyStart, .dependency {
1554
- fill: ${options.lineColor} !important;
1555
- stroke: ${options.lineColor} !important;
1556
- stroke-width: 1;
1557
- }
1558
-
1559
- #extensionStart, .extension {
1560
- fill: transparent !important;
1561
- stroke: ${options.lineColor} !important;
1562
- stroke-width: 1;
1563
- }
1564
-
1565
- #extensionEnd, .extension {
1566
- fill: transparent !important;
1567
- stroke: ${options.lineColor} !important;
1568
- stroke-width: 1;
1569
- }
1570
-
1571
- #aggregationStart, .aggregation {
1572
- fill: transparent !important;
1573
- stroke: ${options.lineColor} !important;
1574
- stroke-width: 1;
1575
- }
1576
-
1577
- #aggregationEnd, .aggregation {
1578
- fill: transparent !important;
1579
- stroke: ${options.lineColor} !important;
1580
- stroke-width: 1;
1581
- }
1582
-
1583
- #lollipopStart, .lollipop {
1584
- fill: ${options.mainBkg} !important;
1585
- stroke: ${options.lineColor} !important;
1586
- stroke-width: 1;
1587
- }
1588
-
1589
- #lollipopEnd, .lollipop {
1590
- fill: ${options.mainBkg} !important;
1591
- stroke: ${options.lineColor} !important;
1592
- stroke-width: 1;
1593
- }
1594
-
1595
- .edgeTerminals {
1596
- font-size: 11px;
1597
- line-height: initial;
1598
- }
1599
-
1600
- .classTitleText {
1601
- text-anchor: middle;
1602
- font-size: 18px;
1603
- fill: ${options.textColor};
1604
- }
1605
- `, "getStyles");
1606
- var styles_default = getStyles;
1607
-
1608
-
1609
-
1610
-
1611
- /***/ })
1612
-
1613
- }]);