@n8n-zengchao/chat 0.62.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 (151) hide show
  1. package/README.md +289 -0
  2. package/dist/App.vue.d.ts +2 -0
  3. package/dist/__stories__/App.stories.d.ts +18 -0
  4. package/dist/__tests__/Input.spec.d.ts +1 -0
  5. package/dist/__tests__/api/generic.spec.d.ts +1 -0
  6. package/dist/__tests__/api/message.spec.d.ts +1 -0
  7. package/dist/__tests__/index.spec.d.ts +1 -0
  8. package/dist/__tests__/plugins/chat.spec.d.ts +1 -0
  9. package/dist/__tests__/plugins/chat.test.d.ts +1 -0
  10. package/dist/__tests__/setup.d.ts +0 -0
  11. package/dist/__tests__/utils/create.d.ts +5 -0
  12. package/dist/__tests__/utils/fetch.d.ts +13 -0
  13. package/dist/__tests__/utils/index.d.ts +3 -0
  14. package/dist/__tests__/utils/selectors.d.ts +12 -0
  15. package/dist/__tests__/utils/streaming.spec.d.ts +1 -0
  16. package/dist/__tests__/utils/streamingHandlers.spec.d.ts +1 -0
  17. package/dist/_basePickBy-aQilsjEs.mjs +106 -0
  18. package/dist/_baseUniq-Agc10qFQ.mjs +232 -0
  19. package/dist/api/generic.d.ts +7 -0
  20. package/dist/api/index.d.ts +2 -0
  21. package/dist/api/message.d.ts +11 -0
  22. package/dist/arc-EhYU_DB1.mjs +79 -0
  23. package/dist/architecture-U656AL7Q-B1STlXpR.mjs +10 -0
  24. package/dist/architectureDiagram-VXUJARFQ-DOVAbXSw.mjs +4054 -0
  25. package/dist/array-B5w981Vk.mjs +5 -0
  26. package/dist/blockDiagram-VD42YOAC-BsX3Fkg3.mjs +3013 -0
  27. package/dist/c4Diagram-YG6GDRKO-B5JaLuX6.mjs +2957 -0
  28. package/dist/channel-CqrIo07y.mjs +4 -0
  29. package/dist/chat.bundle.es.js +37656 -0
  30. package/dist/chat.bundle.umd.js +2784 -0
  31. package/dist/chat.es.js +35738 -0
  32. package/dist/chat.umd.js +2776 -0
  33. package/dist/chunk-4BX2VUAB-dn0RXIrC.mjs +7 -0
  34. package/dist/chunk-55IACEB6-DrIttNoL.mjs +7 -0
  35. package/dist/chunk-76Q3JFCE-D7DMbWeQ.mjs +20 -0
  36. package/dist/chunk-ABZYJK2D-_NXv778f.mjs +2516 -0
  37. package/dist/chunk-ATLVNIR6-CBnG7Ev9.mjs +66 -0
  38. package/dist/chunk-B4BG7PRW-DElmmAse.mjs +3109 -0
  39. package/dist/chunk-CVBHYZKI-kPsSw5G9.mjs +11 -0
  40. package/dist/chunk-DI55MBZ5-Bw6uFFfD.mjs +1995 -0
  41. package/dist/chunk-DZXZ2BO8.mjs +19 -0
  42. package/dist/chunk-EXTU4WIE-DWzncOZf.mjs +8 -0
  43. package/dist/chunk-FMBD7UC4-CQf-nVrj.mjs +4 -0
  44. package/dist/chunk-FPAJGGOC-HRc6DGju.mjs +12254 -0
  45. package/dist/chunk-FWNWRKHM-CGiJVNMo.mjs +57 -0
  46. package/dist/chunk-HN2XXSSU-DMfVdeUE.mjs +75 -0
  47. package/dist/chunk-JA3XYJ7Z-b0Li4NN8.mjs +1834 -0
  48. package/dist/chunk-JZLCHNYA-C_4MLySW.mjs +4862 -0
  49. package/dist/chunk-KS23V3DP-BRKOfbU6.mjs +136 -0
  50. package/dist/chunk-LBM3YZW2-JIQK8wiH.mjs +20 -0
  51. package/dist/chunk-LHMN2FUI-PNCyIUgu.mjs +20 -0
  52. package/dist/chunk-MI3HLSF2-B9GTCmLp.mjs +1146 -0
  53. package/dist/chunk-N4CR4FBY-CjlmnCPD.mjs +40 -0
  54. package/dist/chunk-O7ZBX7Z2-DmJUfqJj.mjs +27 -0
  55. package/dist/chunk-QN33PNHL-nN1zLFSf.mjs +24 -0
  56. package/dist/chunk-QXUST7PY-CY78Btj9.mjs +487 -0
  57. package/dist/chunk-QZHKN3VN-BF5N1pfB.mjs +12 -0
  58. package/dist/chunk-S3R3BYOJ-BhFsv0Go.mjs +1076 -0
  59. package/dist/chunk-S6J4BHB3-BvrWTdbl.mjs +20 -0
  60. package/dist/chunk-T53DSG4Q-XzY06amw.mjs +25 -0
  61. package/dist/chunk-TZMSLE5B-DVmJQ8eg.mjs +57 -0
  62. package/dist/classDiagram-2ON5EDUG-CKxiEVX9.mjs +33 -0
  63. package/dist/classDiagram-v2-WZHVMYZB-sAa_2keq.mjs +33 -0
  64. package/dist/clone-nkGlb0Gn.mjs +8 -0
  65. package/dist/components/Button.vue.d.ts +17 -0
  66. package/dist/components/Chat.vue.d.ts +2 -0
  67. package/dist/components/ChatFile.vue.d.ts +11 -0
  68. package/dist/components/ChatWindow.vue.d.ts +2 -0
  69. package/dist/components/GetStarted.vue.d.ts +2 -0
  70. package/dist/components/GetStartedFooter.vue.d.ts +2 -0
  71. package/dist/components/Input.vue.d.ts +39 -0
  72. package/dist/components/Layout.vue.d.ts +23 -0
  73. package/dist/components/Message.vue.d.ts +39 -0
  74. package/dist/components/MessageTyping.vue.d.ts +76 -0
  75. package/dist/components/MessagesList.vue.d.ts +164 -0
  76. package/dist/components/PoweredBy.vue.d.ts +2 -0
  77. package/dist/components/index.d.ts +10 -0
  78. package/dist/composables/index.d.ts +3 -0
  79. package/dist/composables/useChat.d.ts +2 -0
  80. package/dist/composables/useI18n.d.ts +4 -0
  81. package/dist/composables/useOptions.d.ts +4 -0
  82. package/dist/constants/defaults.d.ts +3 -0
  83. package/dist/constants/index.d.ts +3 -0
  84. package/dist/constants/localStorage.d.ts +2 -0
  85. package/dist/constants/symbols.d.ts +4 -0
  86. package/dist/cose-bilkent-S5V4N54A-1lKG2PUg.mjs +2251 -0
  87. package/dist/cytoscape.esm-Dls1_mGy.mjs +18108 -0
  88. package/dist/dagre-6UL2VRFP-CbWFu9xQ.mjs +300 -0
  89. package/dist/dagre-DEdOheHq.mjs +1385 -0
  90. package/dist/defaultLocale-CyoQm63E.mjs +178 -0
  91. package/dist/diagram-PSM6KHXK-CJcHbrJH.mjs +499 -0
  92. package/dist/diagram-QEK2KX5R-XQ9XOVL4.mjs +228 -0
  93. package/dist/diagram-S2PKOQOG-CmRfaeSf.mjs +146 -0
  94. package/dist/dist-BT0fjU7K.mjs +50 -0
  95. package/dist/erDiagram-Q2GNP2WA-iuoUWHwm.mjs +1603 -0
  96. package/dist/event-buses/chatEventBus.d.ts +1 -0
  97. package/dist/event-buses/index.d.ts +1 -0
  98. package/dist/favicon.ico +0 -0
  99. package/dist/flowDiagram-NV44I4VS-D3GMS8-G.mjs +4132 -0
  100. package/dist/ganttDiagram-LVOFAZNH-DMTZVZDR.mjs +2832 -0
  101. package/dist/gitGraph-F6HP7TQM-CrdUzURw.mjs +10 -0
  102. package/dist/gitGraphDiagram-NY62KEGX-DipP5Fgt.mjs +636 -0
  103. package/dist/graphlib-D9eH5icd.mjs +224 -0
  104. package/dist/index.d.ts +2 -0
  105. package/dist/info-NVLQJR56-C-93Yf3U.mjs +10 -0
  106. package/dist/infoDiagram-F6ZHWCRC-jM50s26K.mjs +33 -0
  107. package/dist/init-CYeu4QfE.mjs +14 -0
  108. package/dist/isArrayLikeObject-BPcFdnyK.mjs +459 -0
  109. package/dist/isUndefined-BvarJ1wS.mjs +374 -0
  110. package/dist/journeyDiagram-XKPGCS4Q-BEEO_0Bh.mjs +885 -0
  111. package/dist/kanban-definition-3W4ZIXB7-B8u_HDmL.mjs +971 -0
  112. package/dist/katex-Dc1vXbUC.mjs +22094 -0
  113. package/dist/line-BJxACIPZ.mjs +31 -0
  114. package/dist/linear-DHHVI-cj.mjs +251 -0
  115. package/dist/math-Byg0NvhS.mjs +9 -0
  116. package/dist/mermaid-parser.core-YT4qvimq.mjs +49 -0
  117. package/dist/mindmap-definition-VGOIOE7T-ah41V88S.mjs +960 -0
  118. package/dist/now-DsJMgI1z.mjs +6 -0
  119. package/dist/ordinal-L0-EVPg8.mjs +62 -0
  120. package/dist/packet-BFZMPI3H-Cs4kRHct.mjs +10 -0
  121. package/dist/path-BcDHwjEr.mjs +80 -0
  122. package/dist/pie-7BOR55EZ-YZ5Xu4o6.mjs +10 -0
  123. package/dist/pieDiagram-ADFJNKIX-CqI33m1a.mjs +174 -0
  124. package/dist/plugins/chat.d.ts +3 -0
  125. package/dist/plugins/index.d.ts +1 -0
  126. package/dist/quadrantDiagram-AYHSOK5B-DDv2X9c1.mjs +1971 -0
  127. package/dist/radar-NHE76QYJ-TpirOFtv.mjs +10 -0
  128. package/dist/requirementDiagram-UZGBJVZJ-DXa77VzO.mjs +2194 -0
  129. package/dist/sankeyDiagram-TZEHDZUN--B9DInJC.mjs +885 -0
  130. package/dist/sequenceDiagram-WL72ISMW-Dqn9jJ3g.mjs +3562 -0
  131. package/dist/src-DdwtiGjk.mjs +1976 -0
  132. package/dist/stateDiagram-FKZM4ZOC-D3eEcVjS.mjs +226 -0
  133. package/dist/stateDiagram-v2-4FDKWEC3-dzwJ4caL.mjs +32 -0
  134. package/dist/style.css +3 -0
  135. package/dist/timeline-definition-IT6M3QCI-z93ry7RN.mjs +831 -0
  136. package/dist/toInteger-1S_4Byef.mjs +36 -0
  137. package/dist/treemap-KMMF4GRG-BlF0Ev1z.mjs +10 -0
  138. package/dist/types/chat.d.ts +13 -0
  139. package/dist/types/index.d.ts +5 -0
  140. package/dist/types/messages.d.ts +17 -0
  141. package/dist/types/options.d.ts +33 -0
  142. package/dist/types/streaming.d.ts +18 -0
  143. package/dist/types/webhook.d.ts +19 -0
  144. package/dist/utils/event-bus.d.ts +8 -0
  145. package/dist/utils/index.d.ts +3 -0
  146. package/dist/utils/mount.d.ts +1 -0
  147. package/dist/utils/streaming.d.ts +26 -0
  148. package/dist/utils/streamingHandlers.d.ts +6 -0
  149. package/dist/utils/utils.d.ts +1 -0
  150. package/dist/xychartDiagram-PRI3JC2R-C3aDcgBz.mjs +2022 -0
  151. package/package.json +78 -0
@@ -0,0 +1,3109 @@
1
+ /*! Package version @n8n/chat@0.62.0 */
2
+ import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-BhFsv0Go.mjs";
3
+ import { g as log, h as __name, p as select_default } from "./src-DdwtiGjk.mjs";
4
+ import { A as parseGenericTypes, B as setAccTitle, C as getDiagramTitle, I as sanitizeText, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-_NXv778f.mjs";
5
+ import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-CjlmnCPD.mjs";
6
+ import { t as getIconStyles } from "./chunk-FMBD7UC4-CQf-nVrj.mjs";
7
+ import { t as getDiagramElement } from "./chunk-55IACEB6-DrIttNoL.mjs";
8
+ import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-nN1zLFSf.mjs";
9
+ var parser = (function() {
10
+ var e = /* @__PURE__ */ __name(function(e, t, n, r) {
11
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
12
+ return n;
13
+ }, "o"), t = [1, 18], n = [1, 19], i = [1, 20], a = [1, 41], o = [1, 42], s = [1, 26], c = [1, 24], l = [1, 25], u = [1, 32], d = [1, 33], f = [1, 34], p = [1, 45], m = [1, 35], h = [1, 36], g = [1, 37], _ = [1, 38], v = [1, 27], y = [1, 28], b = [1, 29], x = [1, 30], S = [1, 31], C = [1, 44], w = [1, 46], T = [1, 43], E = [1, 47], D = [1, 9], O = [
14
+ 1,
15
+ 8,
16
+ 9
17
+ ], k = [1, 58], A = [1, 59], j = [1, 60], M = [1, 61], N = [1, 62], P = [1, 63], F = [1, 64], I = [
18
+ 1,
19
+ 8,
20
+ 9,
21
+ 41
22
+ ], ee = [1, 76], L = [
23
+ 1,
24
+ 8,
25
+ 9,
26
+ 12,
27
+ 13,
28
+ 22,
29
+ 39,
30
+ 41,
31
+ 44,
32
+ 68,
33
+ 69,
34
+ 70,
35
+ 71,
36
+ 72,
37
+ 73,
38
+ 74,
39
+ 79,
40
+ 81
41
+ ], R = [
42
+ 1,
43
+ 8,
44
+ 9,
45
+ 12,
46
+ 13,
47
+ 18,
48
+ 20,
49
+ 22,
50
+ 39,
51
+ 41,
52
+ 44,
53
+ 50,
54
+ 60,
55
+ 68,
56
+ 69,
57
+ 70,
58
+ 71,
59
+ 72,
60
+ 73,
61
+ 74,
62
+ 79,
63
+ 81,
64
+ 86,
65
+ 100,
66
+ 102,
67
+ 103
68
+ ], z = [
69
+ 13,
70
+ 60,
71
+ 86,
72
+ 100,
73
+ 102,
74
+ 103
75
+ ], B = [
76
+ 13,
77
+ 60,
78
+ 73,
79
+ 74,
80
+ 86,
81
+ 100,
82
+ 102,
83
+ 103
84
+ ], te = [
85
+ 13,
86
+ 60,
87
+ 68,
88
+ 69,
89
+ 70,
90
+ 71,
91
+ 72,
92
+ 86,
93
+ 100,
94
+ 102,
95
+ 103
96
+ ], ne = [1, 100], V = [1, 117], H = [1, 113], U = [1, 109], W = [1, 115], G = [1, 110], K = [1, 111], q = [1, 112], J = [1, 114], Y = [1, 116], re = [
97
+ 22,
98
+ 48,
99
+ 60,
100
+ 61,
101
+ 82,
102
+ 86,
103
+ 87,
104
+ 88,
105
+ 89,
106
+ 90
107
+ ], X = [
108
+ 1,
109
+ 8,
110
+ 9,
111
+ 39,
112
+ 41,
113
+ 44
114
+ ], Z = [
115
+ 1,
116
+ 8,
117
+ 9,
118
+ 22
119
+ ], ie = [1, 145], ae = [
120
+ 1,
121
+ 8,
122
+ 9,
123
+ 61
124
+ ], Q = [
125
+ 1,
126
+ 8,
127
+ 9,
128
+ 22,
129
+ 48,
130
+ 60,
131
+ 61,
132
+ 82,
133
+ 86,
134
+ 87,
135
+ 88,
136
+ 89,
137
+ 90
138
+ ], oe = {
139
+ trace: /* @__PURE__ */ __name(function() {}, "trace"),
140
+ yy: {},
141
+ symbols_: {
142
+ error: 2,
143
+ start: 3,
144
+ mermaidDoc: 4,
145
+ statements: 5,
146
+ graphConfig: 6,
147
+ CLASS_DIAGRAM: 7,
148
+ NEWLINE: 8,
149
+ EOF: 9,
150
+ statement: 10,
151
+ classLabel: 11,
152
+ SQS: 12,
153
+ STR: 13,
154
+ SQE: 14,
155
+ namespaceName: 15,
156
+ alphaNumToken: 16,
157
+ classLiteralName: 17,
158
+ DOT: 18,
159
+ className: 19,
160
+ GENERICTYPE: 20,
161
+ relationStatement: 21,
162
+ LABEL: 22,
163
+ namespaceStatement: 23,
164
+ classStatement: 24,
165
+ memberStatement: 25,
166
+ annotationStatement: 26,
167
+ clickStatement: 27,
168
+ styleStatement: 28,
169
+ cssClassStatement: 29,
170
+ noteStatement: 30,
171
+ classDefStatement: 31,
172
+ direction: 32,
173
+ acc_title: 33,
174
+ acc_title_value: 34,
175
+ acc_descr: 35,
176
+ acc_descr_value: 36,
177
+ acc_descr_multiline_value: 37,
178
+ namespaceIdentifier: 38,
179
+ STRUCT_START: 39,
180
+ classStatements: 40,
181
+ STRUCT_STOP: 41,
182
+ NAMESPACE: 42,
183
+ classIdentifier: 43,
184
+ STYLE_SEPARATOR: 44,
185
+ members: 45,
186
+ CLASS: 46,
187
+ emptyBody: 47,
188
+ SPACE: 48,
189
+ ANNOTATION_START: 49,
190
+ ANNOTATION_END: 50,
191
+ MEMBER: 51,
192
+ SEPARATOR: 52,
193
+ relation: 53,
194
+ NOTE_FOR: 54,
195
+ noteText: 55,
196
+ NOTE: 56,
197
+ CLASSDEF: 57,
198
+ classList: 58,
199
+ stylesOpt: 59,
200
+ ALPHA: 60,
201
+ COMMA: 61,
202
+ direction_tb: 62,
203
+ direction_bt: 63,
204
+ direction_rl: 64,
205
+ direction_lr: 65,
206
+ relationType: 66,
207
+ lineType: 67,
208
+ AGGREGATION: 68,
209
+ EXTENSION: 69,
210
+ COMPOSITION: 70,
211
+ DEPENDENCY: 71,
212
+ LOLLIPOP: 72,
213
+ LINE: 73,
214
+ DOTTED_LINE: 74,
215
+ CALLBACK: 75,
216
+ LINK: 76,
217
+ LINK_TARGET: 77,
218
+ CLICK: 78,
219
+ CALLBACK_NAME: 79,
220
+ CALLBACK_ARGS: 80,
221
+ HREF: 81,
222
+ STYLE: 82,
223
+ CSSCLASS: 83,
224
+ style: 84,
225
+ styleComponent: 85,
226
+ NUM: 86,
227
+ COLON: 87,
228
+ UNIT: 88,
229
+ BRKT: 89,
230
+ PCT: 90,
231
+ commentToken: 91,
232
+ textToken: 92,
233
+ graphCodeTokens: 93,
234
+ textNoTagsToken: 94,
235
+ TAGSTART: 95,
236
+ TAGEND: 96,
237
+ "==": 97,
238
+ "--": 98,
239
+ DEFAULT: 99,
240
+ MINUS: 100,
241
+ keywords: 101,
242
+ UNICODE_TEXT: 102,
243
+ BQUOTE_STR: 103,
244
+ $accept: 0,
245
+ $end: 1
246
+ },
247
+ terminals_: {
248
+ 2: "error",
249
+ 7: "CLASS_DIAGRAM",
250
+ 8: "NEWLINE",
251
+ 9: "EOF",
252
+ 12: "SQS",
253
+ 13: "STR",
254
+ 14: "SQE",
255
+ 18: "DOT",
256
+ 20: "GENERICTYPE",
257
+ 22: "LABEL",
258
+ 33: "acc_title",
259
+ 34: "acc_title_value",
260
+ 35: "acc_descr",
261
+ 36: "acc_descr_value",
262
+ 37: "acc_descr_multiline_value",
263
+ 39: "STRUCT_START",
264
+ 41: "STRUCT_STOP",
265
+ 42: "NAMESPACE",
266
+ 44: "STYLE_SEPARATOR",
267
+ 46: "CLASS",
268
+ 48: "SPACE",
269
+ 49: "ANNOTATION_START",
270
+ 50: "ANNOTATION_END",
271
+ 51: "MEMBER",
272
+ 52: "SEPARATOR",
273
+ 54: "NOTE_FOR",
274
+ 56: "NOTE",
275
+ 57: "CLASSDEF",
276
+ 60: "ALPHA",
277
+ 61: "COMMA",
278
+ 62: "direction_tb",
279
+ 63: "direction_bt",
280
+ 64: "direction_rl",
281
+ 65: "direction_lr",
282
+ 68: "AGGREGATION",
283
+ 69: "EXTENSION",
284
+ 70: "COMPOSITION",
285
+ 71: "DEPENDENCY",
286
+ 72: "LOLLIPOP",
287
+ 73: "LINE",
288
+ 74: "DOTTED_LINE",
289
+ 75: "CALLBACK",
290
+ 76: "LINK",
291
+ 77: "LINK_TARGET",
292
+ 78: "CLICK",
293
+ 79: "CALLBACK_NAME",
294
+ 80: "CALLBACK_ARGS",
295
+ 81: "HREF",
296
+ 82: "STYLE",
297
+ 83: "CSSCLASS",
298
+ 86: "NUM",
299
+ 87: "COLON",
300
+ 88: "UNIT",
301
+ 89: "BRKT",
302
+ 90: "PCT",
303
+ 93: "graphCodeTokens",
304
+ 95: "TAGSTART",
305
+ 96: "TAGEND",
306
+ 97: "==",
307
+ 98: "--",
308
+ 99: "DEFAULT",
309
+ 100: "MINUS",
310
+ 101: "keywords",
311
+ 102: "UNICODE_TEXT",
312
+ 103: "BQUOTE_STR"
313
+ },
314
+ productions_: [
315
+ 0,
316
+ [3, 1],
317
+ [3, 1],
318
+ [4, 1],
319
+ [6, 4],
320
+ [5, 1],
321
+ [5, 2],
322
+ [5, 3],
323
+ [11, 3],
324
+ [15, 1],
325
+ [15, 1],
326
+ [15, 3],
327
+ [15, 2],
328
+ [19, 1],
329
+ [19, 3],
330
+ [19, 1],
331
+ [19, 2],
332
+ [19, 2],
333
+ [19, 2],
334
+ [10, 1],
335
+ [10, 2],
336
+ [10, 1],
337
+ [10, 1],
338
+ [10, 1],
339
+ [10, 1],
340
+ [10, 1],
341
+ [10, 1],
342
+ [10, 1],
343
+ [10, 1],
344
+ [10, 1],
345
+ [10, 1],
346
+ [10, 2],
347
+ [10, 2],
348
+ [10, 1],
349
+ [23, 4],
350
+ [23, 5],
351
+ [38, 2],
352
+ [40, 1],
353
+ [40, 2],
354
+ [40, 3],
355
+ [24, 1],
356
+ [24, 3],
357
+ [24, 4],
358
+ [24, 3],
359
+ [24, 6],
360
+ [43, 2],
361
+ [43, 3],
362
+ [47, 0],
363
+ [47, 2],
364
+ [47, 2],
365
+ [26, 4],
366
+ [45, 1],
367
+ [45, 2],
368
+ [25, 1],
369
+ [25, 2],
370
+ [25, 1],
371
+ [25, 1],
372
+ [21, 3],
373
+ [21, 4],
374
+ [21, 4],
375
+ [21, 5],
376
+ [30, 3],
377
+ [30, 2],
378
+ [31, 3],
379
+ [58, 1],
380
+ [58, 3],
381
+ [32, 1],
382
+ [32, 1],
383
+ [32, 1],
384
+ [32, 1],
385
+ [53, 3],
386
+ [53, 2],
387
+ [53, 2],
388
+ [53, 1],
389
+ [66, 1],
390
+ [66, 1],
391
+ [66, 1],
392
+ [66, 1],
393
+ [66, 1],
394
+ [67, 1],
395
+ [67, 1],
396
+ [27, 3],
397
+ [27, 4],
398
+ [27, 3],
399
+ [27, 4],
400
+ [27, 4],
401
+ [27, 5],
402
+ [27, 3],
403
+ [27, 4],
404
+ [27, 4],
405
+ [27, 5],
406
+ [27, 4],
407
+ [27, 5],
408
+ [27, 5],
409
+ [27, 6],
410
+ [28, 3],
411
+ [29, 3],
412
+ [59, 1],
413
+ [59, 3],
414
+ [84, 1],
415
+ [84, 2],
416
+ [85, 1],
417
+ [85, 1],
418
+ [85, 1],
419
+ [85, 1],
420
+ [85, 1],
421
+ [85, 1],
422
+ [85, 1],
423
+ [85, 1],
424
+ [85, 1],
425
+ [91, 1],
426
+ [91, 1],
427
+ [92, 1],
428
+ [92, 1],
429
+ [92, 1],
430
+ [92, 1],
431
+ [92, 1],
432
+ [92, 1],
433
+ [92, 1],
434
+ [94, 1],
435
+ [94, 1],
436
+ [94, 1],
437
+ [94, 1],
438
+ [16, 1],
439
+ [16, 1],
440
+ [16, 1],
441
+ [16, 1],
442
+ [17, 1],
443
+ [55, 1]
444
+ ],
445
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r, i, a, o) {
446
+ var s = a.length - 1;
447
+ switch (i) {
448
+ case 8:
449
+ this.$ = a[s - 1];
450
+ break;
451
+ case 9:
452
+ case 10:
453
+ case 13:
454
+ case 15:
455
+ this.$ = a[s];
456
+ break;
457
+ case 11:
458
+ case 14:
459
+ this.$ = a[s - 2] + "." + a[s];
460
+ break;
461
+ case 12:
462
+ case 16:
463
+ this.$ = a[s - 1] + a[s];
464
+ break;
465
+ case 17:
466
+ case 18:
467
+ this.$ = a[s - 1] + "~" + a[s] + "~";
468
+ break;
469
+ case 19:
470
+ r.addRelation(a[s]);
471
+ break;
472
+ case 20:
473
+ a[s - 1].title = r.cleanupLabel(a[s]), r.addRelation(a[s - 1]);
474
+ break;
475
+ case 31:
476
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
477
+ break;
478
+ case 32:
479
+ case 33:
480
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
481
+ break;
482
+ case 34:
483
+ r.addClassesToNamespace(a[s - 3], a[s - 1]);
484
+ break;
485
+ case 35:
486
+ r.addClassesToNamespace(a[s - 4], a[s - 1]);
487
+ break;
488
+ case 36:
489
+ this.$ = a[s], r.addNamespace(a[s]);
490
+ break;
491
+ case 37:
492
+ this.$ = [a[s]];
493
+ break;
494
+ case 38:
495
+ this.$ = [a[s - 1]];
496
+ break;
497
+ case 39:
498
+ a[s].unshift(a[s - 2]), this.$ = a[s];
499
+ break;
500
+ case 41:
501
+ r.setCssClass(a[s - 2], a[s]);
502
+ break;
503
+ case 42:
504
+ r.addMembers(a[s - 3], a[s - 1]);
505
+ break;
506
+ case 44:
507
+ r.setCssClass(a[s - 5], a[s - 3]), r.addMembers(a[s - 5], a[s - 1]);
508
+ break;
509
+ case 45:
510
+ this.$ = a[s], r.addClass(a[s]);
511
+ break;
512
+ case 46:
513
+ this.$ = a[s - 1], r.addClass(a[s - 1]), r.setClassLabel(a[s - 1], a[s]);
514
+ break;
515
+ case 50:
516
+ r.addAnnotation(a[s], a[s - 2]);
517
+ break;
518
+ case 51:
519
+ case 64:
520
+ this.$ = [a[s]];
521
+ break;
522
+ case 52:
523
+ a[s].push(a[s - 1]), this.$ = a[s];
524
+ break;
525
+ case 53: break;
526
+ case 54:
527
+ r.addMember(a[s - 1], r.cleanupLabel(a[s]));
528
+ break;
529
+ case 55: break;
530
+ case 56: break;
531
+ case 57:
532
+ this.$ = {
533
+ id1: a[s - 2],
534
+ id2: a[s],
535
+ relation: a[s - 1],
536
+ relationTitle1: "none",
537
+ relationTitle2: "none"
538
+ };
539
+ break;
540
+ case 58:
541
+ this.$ = {
542
+ id1: a[s - 3],
543
+ id2: a[s],
544
+ relation: a[s - 1],
545
+ relationTitle1: a[s - 2],
546
+ relationTitle2: "none"
547
+ };
548
+ break;
549
+ case 59:
550
+ this.$ = {
551
+ id1: a[s - 3],
552
+ id2: a[s],
553
+ relation: a[s - 2],
554
+ relationTitle1: "none",
555
+ relationTitle2: a[s - 1]
556
+ };
557
+ break;
558
+ case 60:
559
+ this.$ = {
560
+ id1: a[s - 4],
561
+ id2: a[s],
562
+ relation: a[s - 2],
563
+ relationTitle1: a[s - 3],
564
+ relationTitle2: a[s - 1]
565
+ };
566
+ break;
567
+ case 61:
568
+ r.addNote(a[s], a[s - 1]);
569
+ break;
570
+ case 62:
571
+ r.addNote(a[s]);
572
+ break;
573
+ case 63:
574
+ this.$ = a[s - 2], r.defineClass(a[s - 1], a[s]);
575
+ break;
576
+ case 65:
577
+ this.$ = a[s - 2].concat([a[s]]);
578
+ break;
579
+ case 66:
580
+ r.setDirection("TB");
581
+ break;
582
+ case 67:
583
+ r.setDirection("BT");
584
+ break;
585
+ case 68:
586
+ r.setDirection("RL");
587
+ break;
588
+ case 69:
589
+ r.setDirection("LR");
590
+ break;
591
+ case 70:
592
+ this.$ = {
593
+ type1: a[s - 2],
594
+ type2: a[s],
595
+ lineType: a[s - 1]
596
+ };
597
+ break;
598
+ case 71:
599
+ this.$ = {
600
+ type1: "none",
601
+ type2: a[s],
602
+ lineType: a[s - 1]
603
+ };
604
+ break;
605
+ case 72:
606
+ this.$ = {
607
+ type1: a[s - 1],
608
+ type2: "none",
609
+ lineType: a[s]
610
+ };
611
+ break;
612
+ case 73:
613
+ this.$ = {
614
+ type1: "none",
615
+ type2: "none",
616
+ lineType: a[s]
617
+ };
618
+ break;
619
+ case 74:
620
+ this.$ = r.relationType.AGGREGATION;
621
+ break;
622
+ case 75:
623
+ this.$ = r.relationType.EXTENSION;
624
+ break;
625
+ case 76:
626
+ this.$ = r.relationType.COMPOSITION;
627
+ break;
628
+ case 77:
629
+ this.$ = r.relationType.DEPENDENCY;
630
+ break;
631
+ case 78:
632
+ this.$ = r.relationType.LOLLIPOP;
633
+ break;
634
+ case 79:
635
+ this.$ = r.lineType.LINE;
636
+ break;
637
+ case 80:
638
+ this.$ = r.lineType.DOTTED_LINE;
639
+ break;
640
+ case 81:
641
+ case 87:
642
+ this.$ = a[s - 2], r.setClickEvent(a[s - 1], a[s]);
643
+ break;
644
+ case 82:
645
+ case 88:
646
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
647
+ break;
648
+ case 83:
649
+ this.$ = a[s - 2], r.setLink(a[s - 1], a[s]);
650
+ break;
651
+ case 84:
652
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1], a[s]);
653
+ break;
654
+ case 85:
655
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s - 1]), r.setTooltip(a[s - 2], a[s]);
656
+ break;
657
+ case 86:
658
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 2], a[s]), r.setTooltip(a[s - 3], a[s - 1]);
659
+ break;
660
+ case 89:
661
+ this.$ = a[s - 3], r.setClickEvent(a[s - 2], a[s - 1], a[s]);
662
+ break;
663
+ case 90:
664
+ this.$ = a[s - 4], r.setClickEvent(a[s - 3], a[s - 2], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
665
+ break;
666
+ case 91:
667
+ this.$ = a[s - 3], r.setLink(a[s - 2], a[s]);
668
+ break;
669
+ case 92:
670
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1], a[s]);
671
+ break;
672
+ case 93:
673
+ this.$ = a[s - 4], r.setLink(a[s - 3], a[s - 1]), r.setTooltip(a[s - 3], a[s]);
674
+ break;
675
+ case 94:
676
+ this.$ = a[s - 5], r.setLink(a[s - 4], a[s - 2], a[s]), r.setTooltip(a[s - 4], a[s - 1]);
677
+ break;
678
+ case 95:
679
+ this.$ = a[s - 2], r.setCssStyle(a[s - 1], a[s]);
680
+ break;
681
+ case 96:
682
+ r.setCssClass(a[s - 1], a[s]);
683
+ break;
684
+ case 97:
685
+ this.$ = [a[s]];
686
+ break;
687
+ case 98:
688
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
689
+ break;
690
+ case 100:
691
+ this.$ = a[s - 1] + a[s];
692
+ break;
693
+ }
694
+ }, "anonymous"),
695
+ table: [
696
+ {
697
+ 3: 1,
698
+ 4: 2,
699
+ 5: 3,
700
+ 6: 4,
701
+ 7: [1, 6],
702
+ 10: 5,
703
+ 16: 39,
704
+ 17: 40,
705
+ 19: 21,
706
+ 21: 7,
707
+ 23: 8,
708
+ 24: 9,
709
+ 25: 10,
710
+ 26: 11,
711
+ 27: 12,
712
+ 28: 13,
713
+ 29: 14,
714
+ 30: 15,
715
+ 31: 16,
716
+ 32: 17,
717
+ 33: t,
718
+ 35: n,
719
+ 37: i,
720
+ 38: 22,
721
+ 42: a,
722
+ 43: 23,
723
+ 46: o,
724
+ 49: s,
725
+ 51: c,
726
+ 52: l,
727
+ 54: u,
728
+ 56: d,
729
+ 57: f,
730
+ 60: p,
731
+ 62: m,
732
+ 63: h,
733
+ 64: g,
734
+ 65: _,
735
+ 75: v,
736
+ 76: y,
737
+ 78: b,
738
+ 82: x,
739
+ 83: S,
740
+ 86: C,
741
+ 100: w,
742
+ 102: T,
743
+ 103: E
744
+ },
745
+ { 1: [3] },
746
+ { 1: [2, 1] },
747
+ { 1: [2, 2] },
748
+ { 1: [2, 3] },
749
+ e(D, [2, 5], { 8: [1, 48] }),
750
+ { 8: [1, 49] },
751
+ e(O, [2, 19], { 22: [1, 50] }),
752
+ e(O, [2, 21]),
753
+ e(O, [2, 22]),
754
+ e(O, [2, 23]),
755
+ e(O, [2, 24]),
756
+ e(O, [2, 25]),
757
+ e(O, [2, 26]),
758
+ e(O, [2, 27]),
759
+ e(O, [2, 28]),
760
+ e(O, [2, 29]),
761
+ e(O, [2, 30]),
762
+ { 34: [1, 51] },
763
+ { 36: [1, 52] },
764
+ e(O, [2, 33]),
765
+ e(O, [2, 53], {
766
+ 53: 53,
767
+ 66: 56,
768
+ 67: 57,
769
+ 13: [1, 54],
770
+ 22: [1, 55],
771
+ 68: k,
772
+ 69: A,
773
+ 70: j,
774
+ 71: M,
775
+ 72: N,
776
+ 73: P,
777
+ 74: F
778
+ }),
779
+ { 39: [1, 65] },
780
+ e(I, [2, 40], {
781
+ 39: [1, 67],
782
+ 44: [1, 66]
783
+ }),
784
+ e(O, [2, 55]),
785
+ e(O, [2, 56]),
786
+ {
787
+ 16: 68,
788
+ 60: p,
789
+ 86: C,
790
+ 100: w,
791
+ 102: T
792
+ },
793
+ {
794
+ 16: 39,
795
+ 17: 40,
796
+ 19: 69,
797
+ 60: p,
798
+ 86: C,
799
+ 100: w,
800
+ 102: T,
801
+ 103: E
802
+ },
803
+ {
804
+ 16: 39,
805
+ 17: 40,
806
+ 19: 70,
807
+ 60: p,
808
+ 86: C,
809
+ 100: w,
810
+ 102: T,
811
+ 103: E
812
+ },
813
+ {
814
+ 16: 39,
815
+ 17: 40,
816
+ 19: 71,
817
+ 60: p,
818
+ 86: C,
819
+ 100: w,
820
+ 102: T,
821
+ 103: E
822
+ },
823
+ { 60: [1, 72] },
824
+ { 13: [1, 73] },
825
+ {
826
+ 16: 39,
827
+ 17: 40,
828
+ 19: 74,
829
+ 60: p,
830
+ 86: C,
831
+ 100: w,
832
+ 102: T,
833
+ 103: E
834
+ },
835
+ {
836
+ 13: ee,
837
+ 55: 75
838
+ },
839
+ {
840
+ 58: 77,
841
+ 60: [1, 78]
842
+ },
843
+ e(O, [2, 66]),
844
+ e(O, [2, 67]),
845
+ e(O, [2, 68]),
846
+ e(O, [2, 69]),
847
+ e(L, [2, 13], {
848
+ 16: 39,
849
+ 17: 40,
850
+ 19: 80,
851
+ 18: [1, 79],
852
+ 20: [1, 81],
853
+ 60: p,
854
+ 86: C,
855
+ 100: w,
856
+ 102: T,
857
+ 103: E
858
+ }),
859
+ e(L, [2, 15], { 20: [1, 82] }),
860
+ {
861
+ 15: 83,
862
+ 16: 84,
863
+ 17: 85,
864
+ 60: p,
865
+ 86: C,
866
+ 100: w,
867
+ 102: T,
868
+ 103: E
869
+ },
870
+ {
871
+ 16: 39,
872
+ 17: 40,
873
+ 19: 86,
874
+ 60: p,
875
+ 86: C,
876
+ 100: w,
877
+ 102: T,
878
+ 103: E
879
+ },
880
+ e(R, [2, 123]),
881
+ e(R, [2, 124]),
882
+ e(R, [2, 125]),
883
+ e(R, [2, 126]),
884
+ e([
885
+ 1,
886
+ 8,
887
+ 9,
888
+ 12,
889
+ 13,
890
+ 20,
891
+ 22,
892
+ 39,
893
+ 41,
894
+ 44,
895
+ 68,
896
+ 69,
897
+ 70,
898
+ 71,
899
+ 72,
900
+ 73,
901
+ 74,
902
+ 79,
903
+ 81
904
+ ], [2, 127]),
905
+ e(D, [2, 6], {
906
+ 10: 5,
907
+ 21: 7,
908
+ 23: 8,
909
+ 24: 9,
910
+ 25: 10,
911
+ 26: 11,
912
+ 27: 12,
913
+ 28: 13,
914
+ 29: 14,
915
+ 30: 15,
916
+ 31: 16,
917
+ 32: 17,
918
+ 19: 21,
919
+ 38: 22,
920
+ 43: 23,
921
+ 16: 39,
922
+ 17: 40,
923
+ 5: 87,
924
+ 33: t,
925
+ 35: n,
926
+ 37: i,
927
+ 42: a,
928
+ 46: o,
929
+ 49: s,
930
+ 51: c,
931
+ 52: l,
932
+ 54: u,
933
+ 56: d,
934
+ 57: f,
935
+ 60: p,
936
+ 62: m,
937
+ 63: h,
938
+ 64: g,
939
+ 65: _,
940
+ 75: v,
941
+ 76: y,
942
+ 78: b,
943
+ 82: x,
944
+ 83: S,
945
+ 86: C,
946
+ 100: w,
947
+ 102: T,
948
+ 103: E
949
+ }),
950
+ {
951
+ 5: 88,
952
+ 10: 5,
953
+ 16: 39,
954
+ 17: 40,
955
+ 19: 21,
956
+ 21: 7,
957
+ 23: 8,
958
+ 24: 9,
959
+ 25: 10,
960
+ 26: 11,
961
+ 27: 12,
962
+ 28: 13,
963
+ 29: 14,
964
+ 30: 15,
965
+ 31: 16,
966
+ 32: 17,
967
+ 33: t,
968
+ 35: n,
969
+ 37: i,
970
+ 38: 22,
971
+ 42: a,
972
+ 43: 23,
973
+ 46: o,
974
+ 49: s,
975
+ 51: c,
976
+ 52: l,
977
+ 54: u,
978
+ 56: d,
979
+ 57: f,
980
+ 60: p,
981
+ 62: m,
982
+ 63: h,
983
+ 64: g,
984
+ 65: _,
985
+ 75: v,
986
+ 76: y,
987
+ 78: b,
988
+ 82: x,
989
+ 83: S,
990
+ 86: C,
991
+ 100: w,
992
+ 102: T,
993
+ 103: E
994
+ },
995
+ e(O, [2, 20]),
996
+ e(O, [2, 31]),
997
+ e(O, [2, 32]),
998
+ {
999
+ 13: [1, 90],
1000
+ 16: 39,
1001
+ 17: 40,
1002
+ 19: 89,
1003
+ 60: p,
1004
+ 86: C,
1005
+ 100: w,
1006
+ 102: T,
1007
+ 103: E
1008
+ },
1009
+ {
1010
+ 53: 91,
1011
+ 66: 56,
1012
+ 67: 57,
1013
+ 68: k,
1014
+ 69: A,
1015
+ 70: j,
1016
+ 71: M,
1017
+ 72: N,
1018
+ 73: P,
1019
+ 74: F
1020
+ },
1021
+ e(O, [2, 54]),
1022
+ {
1023
+ 67: 92,
1024
+ 73: P,
1025
+ 74: F
1026
+ },
1027
+ e(z, [2, 73], {
1028
+ 66: 93,
1029
+ 68: k,
1030
+ 69: A,
1031
+ 70: j,
1032
+ 71: M,
1033
+ 72: N
1034
+ }),
1035
+ e(B, [2, 74]),
1036
+ e(B, [2, 75]),
1037
+ e(B, [2, 76]),
1038
+ e(B, [2, 77]),
1039
+ e(B, [2, 78]),
1040
+ e(te, [2, 79]),
1041
+ e(te, [2, 80]),
1042
+ {
1043
+ 8: [1, 95],
1044
+ 24: 96,
1045
+ 40: 94,
1046
+ 43: 23,
1047
+ 46: o
1048
+ },
1049
+ {
1050
+ 16: 97,
1051
+ 60: p,
1052
+ 86: C,
1053
+ 100: w,
1054
+ 102: T
1055
+ },
1056
+ {
1057
+ 41: [1, 99],
1058
+ 45: 98,
1059
+ 51: ne
1060
+ },
1061
+ { 50: [1, 101] },
1062
+ { 13: [1, 102] },
1063
+ { 13: [1, 103] },
1064
+ {
1065
+ 79: [1, 104],
1066
+ 81: [1, 105]
1067
+ },
1068
+ {
1069
+ 22: V,
1070
+ 48: H,
1071
+ 59: 106,
1072
+ 60: U,
1073
+ 82: W,
1074
+ 84: 107,
1075
+ 85: 108,
1076
+ 86: G,
1077
+ 87: K,
1078
+ 88: q,
1079
+ 89: J,
1080
+ 90: Y
1081
+ },
1082
+ { 60: [1, 118] },
1083
+ {
1084
+ 13: ee,
1085
+ 55: 119
1086
+ },
1087
+ e(O, [2, 62]),
1088
+ e(O, [2, 128]),
1089
+ {
1090
+ 22: V,
1091
+ 48: H,
1092
+ 59: 120,
1093
+ 60: U,
1094
+ 61: [1, 121],
1095
+ 82: W,
1096
+ 84: 107,
1097
+ 85: 108,
1098
+ 86: G,
1099
+ 87: K,
1100
+ 88: q,
1101
+ 89: J,
1102
+ 90: Y
1103
+ },
1104
+ e(re, [2, 64]),
1105
+ {
1106
+ 16: 39,
1107
+ 17: 40,
1108
+ 19: 122,
1109
+ 60: p,
1110
+ 86: C,
1111
+ 100: w,
1112
+ 102: T,
1113
+ 103: E
1114
+ },
1115
+ e(L, [2, 16]),
1116
+ e(L, [2, 17]),
1117
+ e(L, [2, 18]),
1118
+ { 39: [2, 36] },
1119
+ {
1120
+ 15: 124,
1121
+ 16: 84,
1122
+ 17: 85,
1123
+ 18: [1, 123],
1124
+ 39: [2, 9],
1125
+ 60: p,
1126
+ 86: C,
1127
+ 100: w,
1128
+ 102: T,
1129
+ 103: E
1130
+ },
1131
+ { 39: [2, 10] },
1132
+ e(X, [2, 45], {
1133
+ 11: 125,
1134
+ 12: [1, 126]
1135
+ }),
1136
+ e(D, [2, 7]),
1137
+ { 9: [1, 127] },
1138
+ e(Z, [2, 57]),
1139
+ {
1140
+ 16: 39,
1141
+ 17: 40,
1142
+ 19: 128,
1143
+ 60: p,
1144
+ 86: C,
1145
+ 100: w,
1146
+ 102: T,
1147
+ 103: E
1148
+ },
1149
+ {
1150
+ 13: [1, 130],
1151
+ 16: 39,
1152
+ 17: 40,
1153
+ 19: 129,
1154
+ 60: p,
1155
+ 86: C,
1156
+ 100: w,
1157
+ 102: T,
1158
+ 103: E
1159
+ },
1160
+ e(z, [2, 72], {
1161
+ 66: 131,
1162
+ 68: k,
1163
+ 69: A,
1164
+ 70: j,
1165
+ 71: M,
1166
+ 72: N
1167
+ }),
1168
+ e(z, [2, 71]),
1169
+ { 41: [1, 132] },
1170
+ {
1171
+ 24: 96,
1172
+ 40: 133,
1173
+ 43: 23,
1174
+ 46: o
1175
+ },
1176
+ {
1177
+ 8: [1, 134],
1178
+ 41: [2, 37]
1179
+ },
1180
+ e(I, [2, 41], { 39: [1, 135] }),
1181
+ { 41: [1, 136] },
1182
+ e(I, [2, 43]),
1183
+ {
1184
+ 41: [2, 51],
1185
+ 45: 137,
1186
+ 51: ne
1187
+ },
1188
+ {
1189
+ 16: 39,
1190
+ 17: 40,
1191
+ 19: 138,
1192
+ 60: p,
1193
+ 86: C,
1194
+ 100: w,
1195
+ 102: T,
1196
+ 103: E
1197
+ },
1198
+ e(O, [2, 81], { 13: [1, 139] }),
1199
+ e(O, [2, 83], {
1200
+ 13: [1, 141],
1201
+ 77: [1, 140]
1202
+ }),
1203
+ e(O, [2, 87], {
1204
+ 13: [1, 142],
1205
+ 80: [1, 143]
1206
+ }),
1207
+ { 13: [1, 144] },
1208
+ e(O, [2, 95], { 61: ie }),
1209
+ e(ae, [2, 97], {
1210
+ 85: 146,
1211
+ 22: V,
1212
+ 48: H,
1213
+ 60: U,
1214
+ 82: W,
1215
+ 86: G,
1216
+ 87: K,
1217
+ 88: q,
1218
+ 89: J,
1219
+ 90: Y
1220
+ }),
1221
+ e(Q, [2, 99]),
1222
+ e(Q, [2, 101]),
1223
+ e(Q, [2, 102]),
1224
+ e(Q, [2, 103]),
1225
+ e(Q, [2, 104]),
1226
+ e(Q, [2, 105]),
1227
+ e(Q, [2, 106]),
1228
+ e(Q, [2, 107]),
1229
+ e(Q, [2, 108]),
1230
+ e(Q, [2, 109]),
1231
+ e(O, [2, 96]),
1232
+ e(O, [2, 61]),
1233
+ e(O, [2, 63], { 61: ie }),
1234
+ { 60: [1, 147] },
1235
+ e(L, [2, 14]),
1236
+ {
1237
+ 15: 148,
1238
+ 16: 84,
1239
+ 17: 85,
1240
+ 60: p,
1241
+ 86: C,
1242
+ 100: w,
1243
+ 102: T,
1244
+ 103: E
1245
+ },
1246
+ { 39: [2, 12] },
1247
+ e(X, [2, 46]),
1248
+ { 13: [1, 149] },
1249
+ { 1: [2, 4] },
1250
+ e(Z, [2, 59]),
1251
+ e(Z, [2, 58]),
1252
+ {
1253
+ 16: 39,
1254
+ 17: 40,
1255
+ 19: 150,
1256
+ 60: p,
1257
+ 86: C,
1258
+ 100: w,
1259
+ 102: T,
1260
+ 103: E
1261
+ },
1262
+ e(z, [2, 70]),
1263
+ e(O, [2, 34]),
1264
+ { 41: [1, 151] },
1265
+ {
1266
+ 24: 96,
1267
+ 40: 152,
1268
+ 41: [2, 38],
1269
+ 43: 23,
1270
+ 46: o
1271
+ },
1272
+ {
1273
+ 45: 153,
1274
+ 51: ne
1275
+ },
1276
+ e(I, [2, 42]),
1277
+ { 41: [2, 52] },
1278
+ e(O, [2, 50]),
1279
+ e(O, [2, 82]),
1280
+ e(O, [2, 84]),
1281
+ e(O, [2, 85], { 77: [1, 154] }),
1282
+ e(O, [2, 88]),
1283
+ e(O, [2, 89], { 13: [1, 155] }),
1284
+ e(O, [2, 91], {
1285
+ 13: [1, 157],
1286
+ 77: [1, 156]
1287
+ }),
1288
+ {
1289
+ 22: V,
1290
+ 48: H,
1291
+ 60: U,
1292
+ 82: W,
1293
+ 84: 158,
1294
+ 85: 108,
1295
+ 86: G,
1296
+ 87: K,
1297
+ 88: q,
1298
+ 89: J,
1299
+ 90: Y
1300
+ },
1301
+ e(Q, [2, 100]),
1302
+ e(re, [2, 65]),
1303
+ { 39: [2, 11] },
1304
+ { 14: [1, 159] },
1305
+ e(Z, [2, 60]),
1306
+ e(O, [2, 35]),
1307
+ { 41: [2, 39] },
1308
+ { 41: [1, 160] },
1309
+ e(O, [2, 86]),
1310
+ e(O, [2, 90]),
1311
+ e(O, [2, 92]),
1312
+ e(O, [2, 93], { 77: [1, 161] }),
1313
+ e(ae, [2, 98], {
1314
+ 85: 146,
1315
+ 22: V,
1316
+ 48: H,
1317
+ 60: U,
1318
+ 82: W,
1319
+ 86: G,
1320
+ 87: K,
1321
+ 88: q,
1322
+ 89: J,
1323
+ 90: Y
1324
+ }),
1325
+ e(X, [2, 8]),
1326
+ e(I, [2, 44]),
1327
+ e(O, [2, 94])
1328
+ ],
1329
+ defaultActions: {
1330
+ 2: [2, 1],
1331
+ 3: [2, 2],
1332
+ 4: [2, 3],
1333
+ 83: [2, 36],
1334
+ 85: [2, 10],
1335
+ 124: [2, 12],
1336
+ 127: [2, 4],
1337
+ 137: [2, 52],
1338
+ 148: [2, 11],
1339
+ 152: [2, 39]
1340
+ },
1341
+ parseError: /* @__PURE__ */ __name(function(e, t) {
1342
+ if (t.recoverable) this.trace(e);
1343
+ else {
1344
+ var n = Error(e);
1345
+ throw n.hash = t, n;
1346
+ }
1347
+ }, "parseError"),
1348
+ parse: /* @__PURE__ */ __name(function(e) {
1349
+ var t = this, n = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
1350
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
1351
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
1352
+ var v = h.yylloc;
1353
+ o.push(v);
1354
+ var y = h.options && h.options.ranges;
1355
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1356
+ function b(e) {
1357
+ n.length -= 2 * e, a.length -= e, o.length -= e;
1358
+ }
1359
+ __name(b, "popStack");
1360
+ function x() {
1361
+ var e = i.pop() || h.lex() || p;
1362
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
1363
+ }
1364
+ __name(x, "lex");
1365
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
1366
+ if (w = n[n.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
1367
+ var M = "";
1368
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
1369
+ M = h.showPosition ? "Parse error on line " + (l + 1) + ":\n" + h.showPosition() + "\nExpecting " + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : "Parse error on line " + (l + 1) + ": Unexpected " + (S == p ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(M, {
1370
+ text: h.match,
1371
+ token: this.terminals_[S] || S,
1372
+ line: h.yylineno,
1373
+ loc: v,
1374
+ expected: j
1375
+ });
1376
+ }
1377
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
1378
+ switch (T[0]) {
1379
+ case 1:
1380
+ n.push(S), a.push(h.yytext), o.push(h.yylloc), n.push(T[1]), S = null, C ? (S = C, C = null) : (u = h.yyleng, c = h.yytext, l = h.yylineno, v = h.yylloc, d > 0 && d--);
1381
+ break;
1382
+ case 2:
1383
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1384
+ first_line: o[o.length - (k || 1)].first_line,
1385
+ last_line: o[o.length - 1].last_line,
1386
+ first_column: o[o.length - (k || 1)].first_column,
1387
+ last_column: o[o.length - 1].last_column
1388
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1389
+ c,
1390
+ u,
1391
+ l,
1392
+ g.yy,
1393
+ T[1],
1394
+ a,
1395
+ o
1396
+ ].concat(m)), E !== void 0) return E;
1397
+ k && (n = n.slice(0, -1 * k * 2), a = a.slice(0, -1 * k), o = o.slice(0, -1 * k)), n.push(this.productions_[T[1]][0]), a.push(D.$), o.push(D._$), A = s[n[n.length - 2]][n[n.length - 1]], n.push(A);
1398
+ break;
1399
+ case 3: return !0;
1400
+ }
1401
+ }
1402
+ return !0;
1403
+ }, "parse")
1404
+ };
1405
+ oe.lexer = /* @__PURE__ */ (function() {
1406
+ return {
1407
+ EOF: 1,
1408
+ parseError: /* @__PURE__ */ __name(function(e, t) {
1409
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1410
+ else throw Error(e);
1411
+ }, "parseError"),
1412
+ setInput: /* @__PURE__ */ __name(function(e, t) {
1413
+ return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1414
+ first_line: 1,
1415
+ first_column: 0,
1416
+ last_line: 1,
1417
+ last_column: 0
1418
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1419
+ }, "setInput"),
1420
+ input: /* @__PURE__ */ __name(function() {
1421
+ var e = this._input[0];
1422
+ return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
1423
+ }, "input"),
1424
+ unput: /* @__PURE__ */ __name(function(e) {
1425
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1426
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1427
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1428
+ 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);
1429
+ var i = this.yylloc.range;
1430
+ return this.yylloc = {
1431
+ first_line: this.yylloc.first_line,
1432
+ last_line: this.yylineno + 1,
1433
+ first_column: this.yylloc.first_column,
1434
+ last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
1435
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1436
+ }, "unput"),
1437
+ more: /* @__PURE__ */ __name(function() {
1438
+ return this._more = !0, this;
1439
+ }, "more"),
1440
+ reject: /* @__PURE__ */ __name(function() {
1441
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1442
+ else 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(), {
1443
+ text: "",
1444
+ token: null,
1445
+ line: this.yylineno
1446
+ });
1447
+ return this;
1448
+ }, "reject"),
1449
+ less: /* @__PURE__ */ __name(function(e) {
1450
+ this.unput(this.match.slice(e));
1451
+ }, "less"),
1452
+ pastInput: /* @__PURE__ */ __name(function() {
1453
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1454
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1455
+ }, "pastInput"),
1456
+ upcomingInput: /* @__PURE__ */ __name(function() {
1457
+ var e = this.match;
1458
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1459
+ }, "upcomingInput"),
1460
+ showPosition: /* @__PURE__ */ __name(function() {
1461
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1462
+ return e + this.upcomingInput() + "\n" + t + "^";
1463
+ }, "showPosition"),
1464
+ test_match: /* @__PURE__ */ __name(function(e, t) {
1465
+ var n, r, i;
1466
+ if (this.options.backtrack_lexer && (i = {
1467
+ yylineno: this.yylineno,
1468
+ yylloc: {
1469
+ first_line: this.yylloc.first_line,
1470
+ last_line: this.last_line,
1471
+ first_column: this.yylloc.first_column,
1472
+ last_column: this.yylloc.last_column
1473
+ },
1474
+ yytext: this.yytext,
1475
+ match: this.match,
1476
+ matches: this.matches,
1477
+ matched: this.matched,
1478
+ yyleng: this.yyleng,
1479
+ offset: this.offset,
1480
+ _more: this._more,
1481
+ _input: this._input,
1482
+ yy: this.yy,
1483
+ conditionStack: this.conditionStack.slice(0),
1484
+ done: this.done
1485
+ }, this.options.ranges && (i.yylloc.range = this.yylloc.range.slice(0))), r = e[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
1486
+ first_line: this.yylloc.last_line,
1487
+ last_line: this.yylineno + 1,
1488
+ first_column: this.yylloc.last_column,
1489
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1490
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, 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(e[0].length), this.matched += e[0], n = this.performAction.call(this, this.yy, this, t, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), n) return n;
1491
+ if (this._backtrack) {
1492
+ for (var a in i) this[a] = i[a];
1493
+ return !1;
1494
+ }
1495
+ return !1;
1496
+ }, "test_match"),
1497
+ next: /* @__PURE__ */ __name(function() {
1498
+ if (this.done) return this.EOF;
1499
+ this._input || (this.done = !0);
1500
+ var e, t, n, r;
1501
+ this._more || (this.yytext = "", this.match = "");
1502
+ for (var i = this._currentRules(), a = 0; a < i.length; a++) if (n = this._input.match(this.rules[i[a]]), n && (!t || n[0].length > t[0].length)) {
1503
+ if (t = n, r = a, this.options.backtrack_lexer) {
1504
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1505
+ if (this._backtrack) {
1506
+ t = !1;
1507
+ continue;
1508
+ } else return !1;
1509
+ } else if (!this.options.flex) break;
1510
+ }
1511
+ return t ? (e = this.test_match(t, i[r]), e === !1 ? !1 : e) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1512
+ text: "",
1513
+ token: null,
1514
+ line: this.yylineno
1515
+ });
1516
+ }, "next"),
1517
+ lex: /* @__PURE__ */ __name(function() {
1518
+ return this.next() || this.lex();
1519
+ }, "lex"),
1520
+ begin: /* @__PURE__ */ __name(function(e) {
1521
+ this.conditionStack.push(e);
1522
+ }, "begin"),
1523
+ popState: /* @__PURE__ */ __name(function() {
1524
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1525
+ }, "popState"),
1526
+ _currentRules: /* @__PURE__ */ __name(function() {
1527
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1528
+ }, "_currentRules"),
1529
+ topState: /* @__PURE__ */ __name(function(e) {
1530
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1531
+ }, "topState"),
1532
+ pushState: /* @__PURE__ */ __name(function(e) {
1533
+ this.begin(e);
1534
+ }, "pushState"),
1535
+ stateStackSize: /* @__PURE__ */ __name(function() {
1536
+ return this.conditionStack.length;
1537
+ }, "stateStackSize"),
1538
+ options: {},
1539
+ performAction: /* @__PURE__ */ __name(function(e, t, n, r) {
1540
+ switch (n) {
1541
+ case 0: return 62;
1542
+ case 1: return 63;
1543
+ case 2: return 64;
1544
+ case 3: return 65;
1545
+ case 4: break;
1546
+ case 5: break;
1547
+ case 6: return this.begin("acc_title"), 33;
1548
+ case 7: return this.popState(), "acc_title_value";
1549
+ case 8: return this.begin("acc_descr"), 35;
1550
+ case 9: return this.popState(), "acc_descr_value";
1551
+ case 10:
1552
+ this.begin("acc_descr_multiline");
1553
+ break;
1554
+ case 11:
1555
+ this.popState();
1556
+ break;
1557
+ case 12: return "acc_descr_multiline_value";
1558
+ case 13: return 8;
1559
+ case 14: break;
1560
+ case 15: return 7;
1561
+ case 16: return 7;
1562
+ case 17: return "EDGE_STATE";
1563
+ case 18:
1564
+ this.begin("callback_name");
1565
+ break;
1566
+ case 19:
1567
+ this.popState();
1568
+ break;
1569
+ case 20:
1570
+ this.popState(), this.begin("callback_args");
1571
+ break;
1572
+ case 21: return 79;
1573
+ case 22:
1574
+ this.popState();
1575
+ break;
1576
+ case 23: return 80;
1577
+ case 24:
1578
+ this.popState();
1579
+ break;
1580
+ case 25: return "STR";
1581
+ case 26:
1582
+ this.begin("string");
1583
+ break;
1584
+ case 27: return 82;
1585
+ case 28: return 57;
1586
+ case 29: return this.begin("namespace"), 42;
1587
+ case 30: return this.popState(), 8;
1588
+ case 31: break;
1589
+ case 32: return this.begin("namespace-body"), 39;
1590
+ case 33: return this.popState(), 41;
1591
+ case 34: return "EOF_IN_STRUCT";
1592
+ case 35: return 8;
1593
+ case 36: break;
1594
+ case 37: return "EDGE_STATE";
1595
+ case 38: return this.begin("class"), 46;
1596
+ case 39: return this.popState(), 8;
1597
+ case 40: break;
1598
+ case 41: return this.popState(), this.popState(), 41;
1599
+ case 42: return this.begin("class-body"), 39;
1600
+ case 43: return this.popState(), 41;
1601
+ case 44: return "EOF_IN_STRUCT";
1602
+ case 45: return "EDGE_STATE";
1603
+ case 46: return "OPEN_IN_STRUCT";
1604
+ case 47: break;
1605
+ case 48: return "MEMBER";
1606
+ case 49: return 83;
1607
+ case 50: return 75;
1608
+ case 51: return 76;
1609
+ case 52: return 78;
1610
+ case 53: return 54;
1611
+ case 54: return 56;
1612
+ case 55: return 49;
1613
+ case 56: return 50;
1614
+ case 57: return 81;
1615
+ case 58:
1616
+ this.popState();
1617
+ break;
1618
+ case 59: return "GENERICTYPE";
1619
+ case 60:
1620
+ this.begin("generic");
1621
+ break;
1622
+ case 61:
1623
+ this.popState();
1624
+ break;
1625
+ case 62: return "BQUOTE_STR";
1626
+ case 63:
1627
+ this.begin("bqstring");
1628
+ break;
1629
+ case 64: return 77;
1630
+ case 65: return 77;
1631
+ case 66: return 77;
1632
+ case 67: return 77;
1633
+ case 68: return 69;
1634
+ case 69: return 69;
1635
+ case 70: return 71;
1636
+ case 71: return 71;
1637
+ case 72: return 70;
1638
+ case 73: return 68;
1639
+ case 74: return 72;
1640
+ case 75: return 73;
1641
+ case 76: return 74;
1642
+ case 77: return 22;
1643
+ case 78: return 44;
1644
+ case 79: return 100;
1645
+ case 80: return 18;
1646
+ case 81: return "PLUS";
1647
+ case 82: return 87;
1648
+ case 83: return 61;
1649
+ case 84: return 89;
1650
+ case 85: return 89;
1651
+ case 86: return 90;
1652
+ case 87: return "EQUALS";
1653
+ case 88: return "EQUALS";
1654
+ case 89: return 60;
1655
+ case 90: return 12;
1656
+ case 91: return 14;
1657
+ case 92: return "PUNCTUATION";
1658
+ case 93: return 86;
1659
+ case 94: return 102;
1660
+ case 95: return 48;
1661
+ case 96: return 48;
1662
+ case 97: return 9;
1663
+ }
1664
+ }, "anonymous"),
1665
+ rules: [
1666
+ /^(?:.*direction\s+TB[^\n]*)/,
1667
+ /^(?:.*direction\s+BT[^\n]*)/,
1668
+ /^(?:.*direction\s+RL[^\n]*)/,
1669
+ /^(?:.*direction\s+LR[^\n]*)/,
1670
+ /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
1671
+ /^(?:%%[^\n]*(\r?\n)*)/,
1672
+ /^(?:accTitle\s*:\s*)/,
1673
+ /^(?:(?!\n||)*[^\n]*)/,
1674
+ /^(?:accDescr\s*:\s*)/,
1675
+ /^(?:(?!\n||)*[^\n]*)/,
1676
+ /^(?:accDescr\s*\{\s*)/,
1677
+ /^(?:[\}])/,
1678
+ /^(?:[^\}]*)/,
1679
+ /^(?:\s*(\r?\n)+)/,
1680
+ /^(?:\s+)/,
1681
+ /^(?:classDiagram-v2\b)/,
1682
+ /^(?:classDiagram\b)/,
1683
+ /^(?:\[\*\])/,
1684
+ /^(?:call[\s]+)/,
1685
+ /^(?:\([\s]*\))/,
1686
+ /^(?:\()/,
1687
+ /^(?:[^(]*)/,
1688
+ /^(?:\))/,
1689
+ /^(?:[^)]*)/,
1690
+ /^(?:["])/,
1691
+ /^(?:[^"]*)/,
1692
+ /^(?:["])/,
1693
+ /^(?:style\b)/,
1694
+ /^(?:classDef\b)/,
1695
+ /^(?:namespace\b)/,
1696
+ /^(?:\s*(\r?\n)+)/,
1697
+ /^(?:\s+)/,
1698
+ /^(?:[{])/,
1699
+ /^(?:[}])/,
1700
+ /^(?:$)/,
1701
+ /^(?:\s*(\r?\n)+)/,
1702
+ /^(?:\s+)/,
1703
+ /^(?:\[\*\])/,
1704
+ /^(?:class\b)/,
1705
+ /^(?:\s*(\r?\n)+)/,
1706
+ /^(?:\s+)/,
1707
+ /^(?:[}])/,
1708
+ /^(?:[{])/,
1709
+ /^(?:[}])/,
1710
+ /^(?:$)/,
1711
+ /^(?:\[\*\])/,
1712
+ /^(?:[{])/,
1713
+ /^(?:[\n])/,
1714
+ /^(?:[^{}\n]*)/,
1715
+ /^(?:cssClass\b)/,
1716
+ /^(?:callback\b)/,
1717
+ /^(?:link\b)/,
1718
+ /^(?:click\b)/,
1719
+ /^(?:note for\b)/,
1720
+ /^(?:note\b)/,
1721
+ /^(?:<<)/,
1722
+ /^(?:>>)/,
1723
+ /^(?:href\b)/,
1724
+ /^(?:[~])/,
1725
+ /^(?:[^~]*)/,
1726
+ /^(?:~)/,
1727
+ /^(?:[`])/,
1728
+ /^(?:[^`]+)/,
1729
+ /^(?:[`])/,
1730
+ /^(?:_self\b)/,
1731
+ /^(?:_blank\b)/,
1732
+ /^(?:_parent\b)/,
1733
+ /^(?:_top\b)/,
1734
+ /^(?:\s*<\|)/,
1735
+ /^(?:\s*\|>)/,
1736
+ /^(?:\s*>)/,
1737
+ /^(?:\s*<)/,
1738
+ /^(?:\s*\*)/,
1739
+ /^(?:\s*o\b)/,
1740
+ /^(?:\s*\(\))/,
1741
+ /^(?:--)/,
1742
+ /^(?:\.\.)/,
1743
+ /^(?::{1}[^:\n;]+)/,
1744
+ /^(?::{3})/,
1745
+ /^(?:-)/,
1746
+ /^(?:\.)/,
1747
+ /^(?:\+)/,
1748
+ /^(?::)/,
1749
+ /^(?:,)/,
1750
+ /^(?:#)/,
1751
+ /^(?:#)/,
1752
+ /^(?:%)/,
1753
+ /^(?:=)/,
1754
+ /^(?:=)/,
1755
+ /^(?:\w+)/,
1756
+ /^(?:\[)/,
1757
+ /^(?:\])/,
1758
+ /^(?:[!"#$%&'*+,-.`?\\/])/,
1759
+ /^(?:[0-9]+)/,
1760
+ /^(?:[\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])/,
1761
+ /^(?:\s)/,
1762
+ /^(?:\s)/,
1763
+ /^(?:$)/
1764
+ ],
1765
+ conditions: {
1766
+ "namespace-body": {
1767
+ rules: [
1768
+ 26,
1769
+ 33,
1770
+ 34,
1771
+ 35,
1772
+ 36,
1773
+ 37,
1774
+ 38,
1775
+ 49,
1776
+ 50,
1777
+ 51,
1778
+ 52,
1779
+ 53,
1780
+ 54,
1781
+ 55,
1782
+ 56,
1783
+ 57,
1784
+ 60,
1785
+ 63,
1786
+ 64,
1787
+ 65,
1788
+ 66,
1789
+ 67,
1790
+ 68,
1791
+ 69,
1792
+ 70,
1793
+ 71,
1794
+ 72,
1795
+ 73,
1796
+ 74,
1797
+ 75,
1798
+ 76,
1799
+ 77,
1800
+ 78,
1801
+ 79,
1802
+ 80,
1803
+ 81,
1804
+ 86,
1805
+ 87,
1806
+ 88,
1807
+ 89,
1808
+ 90,
1809
+ 91,
1810
+ 92,
1811
+ 93,
1812
+ 94,
1813
+ 95,
1814
+ 97
1815
+ ],
1816
+ inclusive: !1
1817
+ },
1818
+ namespace: {
1819
+ rules: [
1820
+ 26,
1821
+ 29,
1822
+ 30,
1823
+ 31,
1824
+ 32,
1825
+ 49,
1826
+ 50,
1827
+ 51,
1828
+ 52,
1829
+ 53,
1830
+ 54,
1831
+ 55,
1832
+ 56,
1833
+ 57,
1834
+ 60,
1835
+ 63,
1836
+ 64,
1837
+ 65,
1838
+ 66,
1839
+ 67,
1840
+ 68,
1841
+ 69,
1842
+ 70,
1843
+ 71,
1844
+ 72,
1845
+ 73,
1846
+ 74,
1847
+ 75,
1848
+ 76,
1849
+ 77,
1850
+ 78,
1851
+ 79,
1852
+ 80,
1853
+ 81,
1854
+ 86,
1855
+ 87,
1856
+ 88,
1857
+ 89,
1858
+ 90,
1859
+ 91,
1860
+ 92,
1861
+ 93,
1862
+ 94,
1863
+ 95,
1864
+ 97
1865
+ ],
1866
+ inclusive: !1
1867
+ },
1868
+ "class-body": {
1869
+ rules: [
1870
+ 26,
1871
+ 43,
1872
+ 44,
1873
+ 45,
1874
+ 46,
1875
+ 47,
1876
+ 48,
1877
+ 49,
1878
+ 50,
1879
+ 51,
1880
+ 52,
1881
+ 53,
1882
+ 54,
1883
+ 55,
1884
+ 56,
1885
+ 57,
1886
+ 60,
1887
+ 63,
1888
+ 64,
1889
+ 65,
1890
+ 66,
1891
+ 67,
1892
+ 68,
1893
+ 69,
1894
+ 70,
1895
+ 71,
1896
+ 72,
1897
+ 73,
1898
+ 74,
1899
+ 75,
1900
+ 76,
1901
+ 77,
1902
+ 78,
1903
+ 79,
1904
+ 80,
1905
+ 81,
1906
+ 86,
1907
+ 87,
1908
+ 88,
1909
+ 89,
1910
+ 90,
1911
+ 91,
1912
+ 92,
1913
+ 93,
1914
+ 94,
1915
+ 95,
1916
+ 97
1917
+ ],
1918
+ inclusive: !1
1919
+ },
1920
+ class: {
1921
+ rules: [
1922
+ 26,
1923
+ 39,
1924
+ 40,
1925
+ 41,
1926
+ 42,
1927
+ 49,
1928
+ 50,
1929
+ 51,
1930
+ 52,
1931
+ 53,
1932
+ 54,
1933
+ 55,
1934
+ 56,
1935
+ 57,
1936
+ 60,
1937
+ 63,
1938
+ 64,
1939
+ 65,
1940
+ 66,
1941
+ 67,
1942
+ 68,
1943
+ 69,
1944
+ 70,
1945
+ 71,
1946
+ 72,
1947
+ 73,
1948
+ 74,
1949
+ 75,
1950
+ 76,
1951
+ 77,
1952
+ 78,
1953
+ 79,
1954
+ 80,
1955
+ 81,
1956
+ 86,
1957
+ 87,
1958
+ 88,
1959
+ 89,
1960
+ 90,
1961
+ 91,
1962
+ 92,
1963
+ 93,
1964
+ 94,
1965
+ 95,
1966
+ 97
1967
+ ],
1968
+ inclusive: !1
1969
+ },
1970
+ acc_descr_multiline: {
1971
+ rules: [
1972
+ 11,
1973
+ 12,
1974
+ 26,
1975
+ 49,
1976
+ 50,
1977
+ 51,
1978
+ 52,
1979
+ 53,
1980
+ 54,
1981
+ 55,
1982
+ 56,
1983
+ 57,
1984
+ 60,
1985
+ 63,
1986
+ 64,
1987
+ 65,
1988
+ 66,
1989
+ 67,
1990
+ 68,
1991
+ 69,
1992
+ 70,
1993
+ 71,
1994
+ 72,
1995
+ 73,
1996
+ 74,
1997
+ 75,
1998
+ 76,
1999
+ 77,
2000
+ 78,
2001
+ 79,
2002
+ 80,
2003
+ 81,
2004
+ 86,
2005
+ 87,
2006
+ 88,
2007
+ 89,
2008
+ 90,
2009
+ 91,
2010
+ 92,
2011
+ 93,
2012
+ 94,
2013
+ 95,
2014
+ 97
2015
+ ],
2016
+ inclusive: !1
2017
+ },
2018
+ acc_descr: {
2019
+ rules: [
2020
+ 9,
2021
+ 26,
2022
+ 49,
2023
+ 50,
2024
+ 51,
2025
+ 52,
2026
+ 53,
2027
+ 54,
2028
+ 55,
2029
+ 56,
2030
+ 57,
2031
+ 60,
2032
+ 63,
2033
+ 64,
2034
+ 65,
2035
+ 66,
2036
+ 67,
2037
+ 68,
2038
+ 69,
2039
+ 70,
2040
+ 71,
2041
+ 72,
2042
+ 73,
2043
+ 74,
2044
+ 75,
2045
+ 76,
2046
+ 77,
2047
+ 78,
2048
+ 79,
2049
+ 80,
2050
+ 81,
2051
+ 86,
2052
+ 87,
2053
+ 88,
2054
+ 89,
2055
+ 90,
2056
+ 91,
2057
+ 92,
2058
+ 93,
2059
+ 94,
2060
+ 95,
2061
+ 97
2062
+ ],
2063
+ inclusive: !1
2064
+ },
2065
+ acc_title: {
2066
+ rules: [
2067
+ 7,
2068
+ 26,
2069
+ 49,
2070
+ 50,
2071
+ 51,
2072
+ 52,
2073
+ 53,
2074
+ 54,
2075
+ 55,
2076
+ 56,
2077
+ 57,
2078
+ 60,
2079
+ 63,
2080
+ 64,
2081
+ 65,
2082
+ 66,
2083
+ 67,
2084
+ 68,
2085
+ 69,
2086
+ 70,
2087
+ 71,
2088
+ 72,
2089
+ 73,
2090
+ 74,
2091
+ 75,
2092
+ 76,
2093
+ 77,
2094
+ 78,
2095
+ 79,
2096
+ 80,
2097
+ 81,
2098
+ 86,
2099
+ 87,
2100
+ 88,
2101
+ 89,
2102
+ 90,
2103
+ 91,
2104
+ 92,
2105
+ 93,
2106
+ 94,
2107
+ 95,
2108
+ 97
2109
+ ],
2110
+ inclusive: !1
2111
+ },
2112
+ callback_args: {
2113
+ rules: [
2114
+ 22,
2115
+ 23,
2116
+ 26,
2117
+ 49,
2118
+ 50,
2119
+ 51,
2120
+ 52,
2121
+ 53,
2122
+ 54,
2123
+ 55,
2124
+ 56,
2125
+ 57,
2126
+ 60,
2127
+ 63,
2128
+ 64,
2129
+ 65,
2130
+ 66,
2131
+ 67,
2132
+ 68,
2133
+ 69,
2134
+ 70,
2135
+ 71,
2136
+ 72,
2137
+ 73,
2138
+ 74,
2139
+ 75,
2140
+ 76,
2141
+ 77,
2142
+ 78,
2143
+ 79,
2144
+ 80,
2145
+ 81,
2146
+ 86,
2147
+ 87,
2148
+ 88,
2149
+ 89,
2150
+ 90,
2151
+ 91,
2152
+ 92,
2153
+ 93,
2154
+ 94,
2155
+ 95,
2156
+ 97
2157
+ ],
2158
+ inclusive: !1
2159
+ },
2160
+ callback_name: {
2161
+ rules: [
2162
+ 19,
2163
+ 20,
2164
+ 21,
2165
+ 26,
2166
+ 49,
2167
+ 50,
2168
+ 51,
2169
+ 52,
2170
+ 53,
2171
+ 54,
2172
+ 55,
2173
+ 56,
2174
+ 57,
2175
+ 60,
2176
+ 63,
2177
+ 64,
2178
+ 65,
2179
+ 66,
2180
+ 67,
2181
+ 68,
2182
+ 69,
2183
+ 70,
2184
+ 71,
2185
+ 72,
2186
+ 73,
2187
+ 74,
2188
+ 75,
2189
+ 76,
2190
+ 77,
2191
+ 78,
2192
+ 79,
2193
+ 80,
2194
+ 81,
2195
+ 86,
2196
+ 87,
2197
+ 88,
2198
+ 89,
2199
+ 90,
2200
+ 91,
2201
+ 92,
2202
+ 93,
2203
+ 94,
2204
+ 95,
2205
+ 97
2206
+ ],
2207
+ inclusive: !1
2208
+ },
2209
+ href: {
2210
+ rules: [
2211
+ 26,
2212
+ 49,
2213
+ 50,
2214
+ 51,
2215
+ 52,
2216
+ 53,
2217
+ 54,
2218
+ 55,
2219
+ 56,
2220
+ 57,
2221
+ 60,
2222
+ 63,
2223
+ 64,
2224
+ 65,
2225
+ 66,
2226
+ 67,
2227
+ 68,
2228
+ 69,
2229
+ 70,
2230
+ 71,
2231
+ 72,
2232
+ 73,
2233
+ 74,
2234
+ 75,
2235
+ 76,
2236
+ 77,
2237
+ 78,
2238
+ 79,
2239
+ 80,
2240
+ 81,
2241
+ 86,
2242
+ 87,
2243
+ 88,
2244
+ 89,
2245
+ 90,
2246
+ 91,
2247
+ 92,
2248
+ 93,
2249
+ 94,
2250
+ 95,
2251
+ 97
2252
+ ],
2253
+ inclusive: !1
2254
+ },
2255
+ struct: {
2256
+ rules: [
2257
+ 26,
2258
+ 49,
2259
+ 50,
2260
+ 51,
2261
+ 52,
2262
+ 53,
2263
+ 54,
2264
+ 55,
2265
+ 56,
2266
+ 57,
2267
+ 60,
2268
+ 63,
2269
+ 64,
2270
+ 65,
2271
+ 66,
2272
+ 67,
2273
+ 68,
2274
+ 69,
2275
+ 70,
2276
+ 71,
2277
+ 72,
2278
+ 73,
2279
+ 74,
2280
+ 75,
2281
+ 76,
2282
+ 77,
2283
+ 78,
2284
+ 79,
2285
+ 80,
2286
+ 81,
2287
+ 86,
2288
+ 87,
2289
+ 88,
2290
+ 89,
2291
+ 90,
2292
+ 91,
2293
+ 92,
2294
+ 93,
2295
+ 94,
2296
+ 95,
2297
+ 97
2298
+ ],
2299
+ inclusive: !1
2300
+ },
2301
+ generic: {
2302
+ rules: [
2303
+ 26,
2304
+ 49,
2305
+ 50,
2306
+ 51,
2307
+ 52,
2308
+ 53,
2309
+ 54,
2310
+ 55,
2311
+ 56,
2312
+ 57,
2313
+ 58,
2314
+ 59,
2315
+ 60,
2316
+ 63,
2317
+ 64,
2318
+ 65,
2319
+ 66,
2320
+ 67,
2321
+ 68,
2322
+ 69,
2323
+ 70,
2324
+ 71,
2325
+ 72,
2326
+ 73,
2327
+ 74,
2328
+ 75,
2329
+ 76,
2330
+ 77,
2331
+ 78,
2332
+ 79,
2333
+ 80,
2334
+ 81,
2335
+ 86,
2336
+ 87,
2337
+ 88,
2338
+ 89,
2339
+ 90,
2340
+ 91,
2341
+ 92,
2342
+ 93,
2343
+ 94,
2344
+ 95,
2345
+ 97
2346
+ ],
2347
+ inclusive: !1
2348
+ },
2349
+ bqstring: {
2350
+ rules: [
2351
+ 26,
2352
+ 49,
2353
+ 50,
2354
+ 51,
2355
+ 52,
2356
+ 53,
2357
+ 54,
2358
+ 55,
2359
+ 56,
2360
+ 57,
2361
+ 60,
2362
+ 61,
2363
+ 62,
2364
+ 63,
2365
+ 64,
2366
+ 65,
2367
+ 66,
2368
+ 67,
2369
+ 68,
2370
+ 69,
2371
+ 70,
2372
+ 71,
2373
+ 72,
2374
+ 73,
2375
+ 74,
2376
+ 75,
2377
+ 76,
2378
+ 77,
2379
+ 78,
2380
+ 79,
2381
+ 80,
2382
+ 81,
2383
+ 86,
2384
+ 87,
2385
+ 88,
2386
+ 89,
2387
+ 90,
2388
+ 91,
2389
+ 92,
2390
+ 93,
2391
+ 94,
2392
+ 95,
2393
+ 97
2394
+ ],
2395
+ inclusive: !1
2396
+ },
2397
+ string: {
2398
+ rules: [
2399
+ 24,
2400
+ 25,
2401
+ 26,
2402
+ 49,
2403
+ 50,
2404
+ 51,
2405
+ 52,
2406
+ 53,
2407
+ 54,
2408
+ 55,
2409
+ 56,
2410
+ 57,
2411
+ 60,
2412
+ 63,
2413
+ 64,
2414
+ 65,
2415
+ 66,
2416
+ 67,
2417
+ 68,
2418
+ 69,
2419
+ 70,
2420
+ 71,
2421
+ 72,
2422
+ 73,
2423
+ 74,
2424
+ 75,
2425
+ 76,
2426
+ 77,
2427
+ 78,
2428
+ 79,
2429
+ 80,
2430
+ 81,
2431
+ 86,
2432
+ 87,
2433
+ 88,
2434
+ 89,
2435
+ 90,
2436
+ 91,
2437
+ 92,
2438
+ 93,
2439
+ 94,
2440
+ 95,
2441
+ 97
2442
+ ],
2443
+ inclusive: !1
2444
+ },
2445
+ INITIAL: {
2446
+ rules: [
2447
+ 0,
2448
+ 1,
2449
+ 2,
2450
+ 3,
2451
+ 4,
2452
+ 5,
2453
+ 6,
2454
+ 8,
2455
+ 10,
2456
+ 13,
2457
+ 14,
2458
+ 15,
2459
+ 16,
2460
+ 17,
2461
+ 18,
2462
+ 26,
2463
+ 27,
2464
+ 28,
2465
+ 29,
2466
+ 38,
2467
+ 49,
2468
+ 50,
2469
+ 51,
2470
+ 52,
2471
+ 53,
2472
+ 54,
2473
+ 55,
2474
+ 56,
2475
+ 57,
2476
+ 60,
2477
+ 63,
2478
+ 64,
2479
+ 65,
2480
+ 66,
2481
+ 67,
2482
+ 68,
2483
+ 69,
2484
+ 70,
2485
+ 71,
2486
+ 72,
2487
+ 73,
2488
+ 74,
2489
+ 75,
2490
+ 76,
2491
+ 77,
2492
+ 78,
2493
+ 79,
2494
+ 80,
2495
+ 81,
2496
+ 82,
2497
+ 83,
2498
+ 84,
2499
+ 85,
2500
+ 86,
2501
+ 87,
2502
+ 88,
2503
+ 89,
2504
+ 90,
2505
+ 91,
2506
+ 92,
2507
+ 93,
2508
+ 94,
2509
+ 95,
2510
+ 96,
2511
+ 97
2512
+ ],
2513
+ inclusive: !0
2514
+ }
2515
+ }
2516
+ };
2517
+ })();
2518
+ function $() {
2519
+ this.yy = {};
2520
+ }
2521
+ return __name($, "Parser"), $.prototype = oe, oe.Parser = $, new $();
2522
+ })();
2523
+ parser.parser = parser;
2524
+ var classDiagram_default = parser, visibilityValues = [
2525
+ "#",
2526
+ "+",
2527
+ "~",
2528
+ "-",
2529
+ ""
2530
+ ], ClassMember = class {
2531
+ static #_ = __name(this, "ClassMember");
2532
+ constructor(e, t) {
2533
+ this.memberType = t, this.visibility = "", this.classifier = "", this.text = "";
2534
+ let n = sanitizeText(e, getConfig2());
2535
+ this.parseMember(n);
2536
+ }
2537
+ getDisplayDetails() {
2538
+ let e = this.visibility + parseGenericTypes(this.id);
2539
+ this.memberType === "method" && (e += `(${parseGenericTypes(this.parameters.trim())})`, this.returnType && (e += " : " + parseGenericTypes(this.returnType))), e = e.trim();
2540
+ let t = this.parseClassifier();
2541
+ return {
2542
+ displayText: e,
2543
+ cssStyle: t
2544
+ };
2545
+ }
2546
+ parseMember(e) {
2547
+ let t = "";
2548
+ if (this.memberType === "method") {
2549
+ let n = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);
2550
+ if (n) {
2551
+ let e = n[1] ? n[1].trim() : "";
2552
+ if (visibilityValues.includes(e) && (this.visibility = e), this.id = n[2], this.parameters = n[3] ? n[3].trim() : "", t = n[4] ? n[4].trim() : "", this.returnType = n[5] ? n[5].trim() : "", t === "") {
2553
+ let e = this.returnType.substring(this.returnType.length - 1);
2554
+ /[$*]/.exec(e) && (t = e, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
2555
+ }
2556
+ }
2557
+ } else {
2558
+ let n = e.length, r = e.substring(0, 1), i = e.substring(n - 1);
2559
+ visibilityValues.includes(r) && (this.visibility = r), /[$*]/.exec(i) && (t = i), this.id = e.substring(this.visibility === "" ? 0 : 1, t === "" ? n : n - 1);
2560
+ }
2561
+ this.classifier = t, this.id = this.id.startsWith(" ") ? " " + this.id.trim() : this.id.trim(), this.text = `${this.visibility ? "\\" + this.visibility : ""}${parseGenericTypes(this.id)}${this.memberType === "method" ? `(${parseGenericTypes(this.parameters)})${this.returnType ? " : " + parseGenericTypes(this.returnType) : ""}` : ""}`.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), this.text.startsWith("\\&lt;") && (this.text = this.text.replace("\\&lt;", "~"));
2562
+ }
2563
+ parseClassifier() {
2564
+ switch (this.classifier) {
2565
+ case "*": return "font-style:italic;";
2566
+ case "$": return "text-decoration:underline;";
2567
+ default: return "";
2568
+ }
2569
+ }
2570
+ }, MERMAID_DOM_ID_PREFIX = "classId-", classCounter = 0, sanitizeText2 = /* @__PURE__ */ __name((e) => common_default.sanitizeText(e, getConfig2()), "sanitizeText"), ClassDB = class {
2571
+ constructor() {
2572
+ 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 = {
2573
+ LINE: 0,
2574
+ DOTTED_LINE: 1
2575
+ }, this.relationType = {
2576
+ AGGREGATION: 0,
2577
+ EXTENSION: 1,
2578
+ COMPOSITION: 2,
2579
+ DEPENDENCY: 3,
2580
+ LOLLIPOP: 4
2581
+ }, this.setupToolTips = /* @__PURE__ */ __name((e) => {
2582
+ let t = select_default(".mermaidTooltip");
2583
+ (t._groups || t)[0][0] === null && (t = select_default("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), select_default(e).select("svg").selectAll("g.node").on("mouseover", (e) => {
2584
+ let n = select_default(e.currentTarget);
2585
+ if (n.attr("title") === null) return;
2586
+ let r = this.getBoundingClientRect();
2587
+ t.transition().duration(200).style("opacity", ".9"), t.text(n.attr("title")).style("left", window.scrollX + r.left + (r.right - r.left) / 2 + "px").style("top", window.scrollY + r.top - 14 + document.body.scrollTop + "px"), t.html(t.html().replace(/&lt;br\/&gt;/g, "<br/>")), n.classed("hover", !0);
2588
+ }).on("mouseout", (e) => {
2589
+ t.transition().duration(500).style("opacity", 0), select_default(e.currentTarget).classed("hover", !1);
2590
+ });
2591
+ }, "setupToolTips"), this.direction = "TB", this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setAccDescription = setAccDescription, this.getAccDescription = getAccDescription, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getConfig = /* @__PURE__ */ __name(() => getConfig2().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);
2592
+ }
2593
+ static #_ = __name(this, "ClassDB");
2594
+ splitClassNameAndType(e) {
2595
+ let t = common_default.sanitizeText(e, getConfig2()), n = "", r = t;
2596
+ if (t.indexOf("~") > 0) {
2597
+ let e = t.split("~");
2598
+ r = sanitizeText2(e[0]), n = sanitizeText2(e[1]);
2599
+ }
2600
+ return {
2601
+ className: r,
2602
+ type: n
2603
+ };
2604
+ }
2605
+ setClassLabel(e, t) {
2606
+ let n = common_default.sanitizeText(e, getConfig2());
2607
+ t &&= sanitizeText2(t);
2608
+ let { className: r } = this.splitClassNameAndType(n);
2609
+ this.classes.get(r).label = t, this.classes.get(r).text = `${t}${this.classes.get(r).type ? `<${this.classes.get(r).type}>` : ""}`;
2610
+ }
2611
+ addClass(e) {
2612
+ let t = common_default.sanitizeText(e, getConfig2()), { className: n, type: r } = this.splitClassNameAndType(t);
2613
+ if (this.classes.has(n)) return;
2614
+ let i = common_default.sanitizeText(n, getConfig2());
2615
+ this.classes.set(i, {
2616
+ id: i,
2617
+ type: r,
2618
+ label: i,
2619
+ text: `${i}${r ? `&lt;${r}&gt;` : ""}`,
2620
+ shape: "classBox",
2621
+ cssClasses: "default",
2622
+ methods: [],
2623
+ members: [],
2624
+ annotations: [],
2625
+ styles: [],
2626
+ domId: MERMAID_DOM_ID_PREFIX + i + "-" + classCounter
2627
+ }), classCounter++;
2628
+ }
2629
+ addInterface(e, t) {
2630
+ let n = {
2631
+ id: `interface${this.interfaces.length}`,
2632
+ label: e,
2633
+ classId: t
2634
+ };
2635
+ this.interfaces.push(n);
2636
+ }
2637
+ lookUpDomId(e) {
2638
+ let t = common_default.sanitizeText(e, getConfig2());
2639
+ if (this.classes.has(t)) return this.classes.get(t).domId;
2640
+ throw Error("Class not found: " + t);
2641
+ }
2642
+ clear() {
2643
+ 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", clear();
2644
+ }
2645
+ getClass(e) {
2646
+ return this.classes.get(e);
2647
+ }
2648
+ getClasses() {
2649
+ return this.classes;
2650
+ }
2651
+ getRelations() {
2652
+ return this.relations;
2653
+ }
2654
+ getNotes() {
2655
+ return this.notes;
2656
+ }
2657
+ addRelation(e) {
2658
+ log.debug("Adding relation: " + JSON.stringify(e));
2659
+ let t = [
2660
+ this.relationType.LOLLIPOP,
2661
+ this.relationType.AGGREGATION,
2662
+ this.relationType.COMPOSITION,
2663
+ this.relationType.DEPENDENCY,
2664
+ this.relationType.EXTENSION
2665
+ ];
2666
+ e.relation.type1 === this.relationType.LOLLIPOP && !t.includes(e.relation.type2) ? (this.addClass(e.id2), this.addInterface(e.id1, e.id2), e.id1 = `interface${this.interfaces.length - 1}`) : e.relation.type2 === this.relationType.LOLLIPOP && !t.includes(e.relation.type1) ? (this.addClass(e.id1), this.addInterface(e.id2, e.id1), e.id2 = `interface${this.interfaces.length - 1}`) : (this.addClass(e.id1), this.addClass(e.id2)), e.id1 = this.splitClassNameAndType(e.id1).className, e.id2 = this.splitClassNameAndType(e.id2).className, e.relationTitle1 = common_default.sanitizeText(e.relationTitle1.trim(), getConfig2()), e.relationTitle2 = common_default.sanitizeText(e.relationTitle2.trim(), getConfig2()), this.relations.push(e);
2667
+ }
2668
+ addAnnotation(e, t) {
2669
+ let n = this.splitClassNameAndType(e).className;
2670
+ this.classes.get(n).annotations.push(t);
2671
+ }
2672
+ addMember(e, t) {
2673
+ this.addClass(e);
2674
+ let n = this.splitClassNameAndType(e).className, r = this.classes.get(n);
2675
+ if (typeof t == "string") {
2676
+ let e = t.trim();
2677
+ e.startsWith("<<") && e.endsWith(">>") ? r.annotations.push(sanitizeText2(e.substring(2, e.length - 2))) : e.indexOf(")") > 0 ? r.methods.push(new ClassMember(e, "method")) : e && r.members.push(new ClassMember(e, "attribute"));
2678
+ }
2679
+ }
2680
+ addMembers(e, t) {
2681
+ Array.isArray(t) && (t.reverse(), t.forEach((t) => this.addMember(e, t)));
2682
+ }
2683
+ addNote(e, t) {
2684
+ let n = {
2685
+ id: `note${this.notes.length}`,
2686
+ class: t,
2687
+ text: e
2688
+ };
2689
+ this.notes.push(n);
2690
+ }
2691
+ cleanupLabel(e) {
2692
+ return e.startsWith(":") && (e = e.substring(1)), sanitizeText2(e.trim());
2693
+ }
2694
+ setCssClass(e, t) {
2695
+ e.split(",").forEach((e) => {
2696
+ let n = e;
2697
+ /\d/.exec(e[0]) && (n = MERMAID_DOM_ID_PREFIX + n);
2698
+ let r = this.classes.get(n);
2699
+ r && (r.cssClasses += " " + t);
2700
+ });
2701
+ }
2702
+ defineClass(e, t) {
2703
+ for (let n of e) {
2704
+ let e = this.styleClasses.get(n);
2705
+ e === void 0 && (e = {
2706
+ id: n,
2707
+ styles: [],
2708
+ textStyles: []
2709
+ }, this.styleClasses.set(n, e)), t && t.forEach((t) => {
2710
+ if (/color/.exec(t)) {
2711
+ let n = t.replace("fill", "bgFill");
2712
+ e.textStyles.push(n);
2713
+ }
2714
+ e.styles.push(t);
2715
+ }), this.classes.forEach((e) => {
2716
+ e.cssClasses.includes(n) && e.styles.push(...t.flatMap((e) => e.split(",")));
2717
+ });
2718
+ }
2719
+ }
2720
+ setTooltip(e, t) {
2721
+ e.split(",").forEach((e) => {
2722
+ t !== void 0 && (this.classes.get(e).tooltip = sanitizeText2(t));
2723
+ });
2724
+ }
2725
+ getTooltip(e, t) {
2726
+ return t && this.namespaces.has(t) ? this.namespaces.get(t).classes.get(e).tooltip : this.classes.get(e).tooltip;
2727
+ }
2728
+ setLink(e, n, r) {
2729
+ let i = getConfig2();
2730
+ e.split(",").forEach((e) => {
2731
+ let a = e;
2732
+ /\d/.exec(e[0]) && (a = MERMAID_DOM_ID_PREFIX + a);
2733
+ let o = this.classes.get(a);
2734
+ o && (o.link = utils_default.formatUrl(n, i), i.securityLevel === "sandbox" ? o.linkTarget = "_top" : typeof r == "string" ? o.linkTarget = sanitizeText2(r) : o.linkTarget = "_blank");
2735
+ }), this.setCssClass(e, "clickable");
2736
+ }
2737
+ setClickEvent(e, t, n) {
2738
+ e.split(",").forEach((e) => {
2739
+ this.setClickFunc(e, t, n), this.classes.get(e).haveCallback = !0;
2740
+ }), this.setCssClass(e, "clickable");
2741
+ }
2742
+ setClickFunc(e, n, r) {
2743
+ let i = common_default.sanitizeText(e, getConfig2());
2744
+ if (getConfig2().securityLevel !== "loose" || n === void 0) return;
2745
+ let a = i;
2746
+ if (this.classes.has(a)) {
2747
+ let e = this.lookUpDomId(a), i = [];
2748
+ if (typeof r == "string") {
2749
+ i = r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2750
+ for (let e = 0; e < i.length; e++) {
2751
+ let t = i[e].trim();
2752
+ t.startsWith("\"") && t.endsWith("\"") && (t = t.substr(1, t.length - 2)), i[e] = t;
2753
+ }
2754
+ }
2755
+ i.length === 0 && i.push(e), this.functions.push(() => {
2756
+ let r = document.querySelector(`[id="${e}"]`);
2757
+ r !== null && r.addEventListener("click", () => {
2758
+ utils_default.runFunc(n, ...i);
2759
+ }, !1);
2760
+ });
2761
+ }
2762
+ }
2763
+ bindFunctions(e) {
2764
+ this.functions.forEach((t) => {
2765
+ t(e);
2766
+ });
2767
+ }
2768
+ getDirection() {
2769
+ return this.direction;
2770
+ }
2771
+ setDirection(e) {
2772
+ this.direction = e;
2773
+ }
2774
+ addNamespace(e) {
2775
+ this.namespaces.has(e) || (this.namespaces.set(e, {
2776
+ id: e,
2777
+ classes: /* @__PURE__ */ new Map(),
2778
+ children: {},
2779
+ domId: MERMAID_DOM_ID_PREFIX + e + "-" + this.namespaceCounter
2780
+ }), this.namespaceCounter++);
2781
+ }
2782
+ getNamespace(e) {
2783
+ return this.namespaces.get(e);
2784
+ }
2785
+ getNamespaces() {
2786
+ return this.namespaces;
2787
+ }
2788
+ addClassesToNamespace(e, t) {
2789
+ if (this.namespaces.has(e)) for (let n of t) {
2790
+ let { className: t } = this.splitClassNameAndType(n);
2791
+ this.classes.get(t).parent = e, this.namespaces.get(e).classes.set(t, this.classes.get(t));
2792
+ }
2793
+ }
2794
+ setCssStyle(e, t) {
2795
+ let n = this.classes.get(e);
2796
+ if (!(!t || !n)) for (let e of t) e.includes(",") ? n.styles.push(...e.split(",")) : n.styles.push(e);
2797
+ }
2798
+ getArrowMarker(e) {
2799
+ let t;
2800
+ switch (e) {
2801
+ case 0:
2802
+ t = "aggregation";
2803
+ break;
2804
+ case 1:
2805
+ t = "extension";
2806
+ break;
2807
+ case 2:
2808
+ t = "composition";
2809
+ break;
2810
+ case 3:
2811
+ t = "dependency";
2812
+ break;
2813
+ case 4:
2814
+ t = "lollipop";
2815
+ break;
2816
+ default: t = "none";
2817
+ }
2818
+ return t;
2819
+ }
2820
+ getData() {
2821
+ let t = [], n = [], r = getConfig2();
2822
+ for (let e of this.namespaces.keys()) {
2823
+ let n = this.namespaces.get(e);
2824
+ if (n) {
2825
+ let e = {
2826
+ id: n.id,
2827
+ label: n.id,
2828
+ isGroup: !0,
2829
+ padding: r.class.padding ?? 16,
2830
+ shape: "rect",
2831
+ cssStyles: ["fill: none", "stroke: black"],
2832
+ look: r.look
2833
+ };
2834
+ t.push(e);
2835
+ }
2836
+ }
2837
+ for (let e of this.classes.keys()) {
2838
+ let n = this.classes.get(e);
2839
+ if (n) {
2840
+ let e = n;
2841
+ e.parentId = n.parent, e.look = r.look, t.push(e);
2842
+ }
2843
+ }
2844
+ let i = 0;
2845
+ for (let e of this.notes) {
2846
+ i++;
2847
+ let a = {
2848
+ id: e.id,
2849
+ label: e.text,
2850
+ isGroup: !1,
2851
+ shape: "note",
2852
+ padding: r.class.padding ?? 6,
2853
+ cssStyles: [
2854
+ "text-align: left",
2855
+ "white-space: nowrap",
2856
+ `fill: ${r.themeVariables.noteBkgColor}`,
2857
+ `stroke: ${r.themeVariables.noteBorderColor}`
2858
+ ],
2859
+ look: r.look
2860
+ };
2861
+ t.push(a);
2862
+ let o = this.classes.get(e.class)?.id ?? "";
2863
+ if (o) {
2864
+ let t = {
2865
+ id: `edgeNote${i}`,
2866
+ start: e.id,
2867
+ end: o,
2868
+ type: "normal",
2869
+ thickness: "normal",
2870
+ classes: "relation",
2871
+ arrowTypeStart: "none",
2872
+ arrowTypeEnd: "none",
2873
+ arrowheadStyle: "",
2874
+ labelStyle: [""],
2875
+ style: ["fill: none"],
2876
+ pattern: "dotted",
2877
+ look: r.look
2878
+ };
2879
+ n.push(t);
2880
+ }
2881
+ }
2882
+ for (let e of this.interfaces) {
2883
+ let n = {
2884
+ id: e.id,
2885
+ label: e.label,
2886
+ isGroup: !1,
2887
+ shape: "rect",
2888
+ cssStyles: ["opacity: 0;"],
2889
+ look: r.look
2890
+ };
2891
+ t.push(n);
2892
+ }
2893
+ i = 0;
2894
+ for (let t of this.relations) {
2895
+ i++;
2896
+ let a = {
2897
+ id: getEdgeId(t.id1, t.id2, {
2898
+ prefix: "id",
2899
+ counter: i
2900
+ }),
2901
+ start: t.id1,
2902
+ end: t.id2,
2903
+ type: "normal",
2904
+ label: t.title,
2905
+ labelpos: "c",
2906
+ thickness: "normal",
2907
+ classes: "relation",
2908
+ arrowTypeStart: this.getArrowMarker(t.relation.type1),
2909
+ arrowTypeEnd: this.getArrowMarker(t.relation.type2),
2910
+ startLabelRight: t.relationTitle1 === "none" ? "" : t.relationTitle1,
2911
+ endLabelLeft: t.relationTitle2 === "none" ? "" : t.relationTitle2,
2912
+ arrowheadStyle: "",
2913
+ labelStyle: ["display: inline-block"],
2914
+ style: t.style || "",
2915
+ pattern: t.relation.lineType == 1 ? "dashed" : "solid",
2916
+ look: r.look
2917
+ };
2918
+ n.push(a);
2919
+ }
2920
+ return {
2921
+ nodes: t,
2922
+ edges: n,
2923
+ other: {},
2924
+ config: r,
2925
+ direction: this.getDirection()
2926
+ };
2927
+ }
2928
+ }, styles_default = /* @__PURE__ */ __name((e) => `g.classGroup text {
2929
+ fill: ${e.nodeBorder || e.classText};
2930
+ stroke: none;
2931
+ font-family: ${e.fontFamily};
2932
+ font-size: 10px;
2933
+
2934
+ .title {
2935
+ font-weight: bolder;
2936
+ }
2937
+
2938
+ }
2939
+
2940
+ .nodeLabel, .edgeLabel {
2941
+ color: ${e.classText};
2942
+ }
2943
+ .edgeLabel .label rect {
2944
+ fill: ${e.mainBkg};
2945
+ }
2946
+ .label text {
2947
+ fill: ${e.classText};
2948
+ }
2949
+
2950
+ .labelBkg {
2951
+ background: ${e.mainBkg};
2952
+ }
2953
+ .edgeLabel .label span {
2954
+ background: ${e.mainBkg};
2955
+ }
2956
+
2957
+ .classTitle {
2958
+ font-weight: bolder;
2959
+ }
2960
+ .node rect,
2961
+ .node circle,
2962
+ .node ellipse,
2963
+ .node polygon,
2964
+ .node path {
2965
+ fill: ${e.mainBkg};
2966
+ stroke: ${e.nodeBorder};
2967
+ stroke-width: 1px;
2968
+ }
2969
+
2970
+
2971
+ .divider {
2972
+ stroke: ${e.nodeBorder};
2973
+ stroke-width: 1;
2974
+ }
2975
+
2976
+ g.clickable {
2977
+ cursor: pointer;
2978
+ }
2979
+
2980
+ g.classGroup rect {
2981
+ fill: ${e.mainBkg};
2982
+ stroke: ${e.nodeBorder};
2983
+ }
2984
+
2985
+ g.classGroup line {
2986
+ stroke: ${e.nodeBorder};
2987
+ stroke-width: 1;
2988
+ }
2989
+
2990
+ .classLabel .box {
2991
+ stroke: none;
2992
+ stroke-width: 0;
2993
+ fill: ${e.mainBkg};
2994
+ opacity: 0.5;
2995
+ }
2996
+
2997
+ .classLabel .label {
2998
+ fill: ${e.nodeBorder};
2999
+ font-size: 10px;
3000
+ }
3001
+
3002
+ .relation {
3003
+ stroke: ${e.lineColor};
3004
+ stroke-width: 1;
3005
+ fill: none;
3006
+ }
3007
+
3008
+ .dashed-line{
3009
+ stroke-dasharray: 3;
3010
+ }
3011
+
3012
+ .dotted-line{
3013
+ stroke-dasharray: 1 2;
3014
+ }
3015
+
3016
+ #compositionStart, .composition {
3017
+ fill: ${e.lineColor} !important;
3018
+ stroke: ${e.lineColor} !important;
3019
+ stroke-width: 1;
3020
+ }
3021
+
3022
+ #compositionEnd, .composition {
3023
+ fill: ${e.lineColor} !important;
3024
+ stroke: ${e.lineColor} !important;
3025
+ stroke-width: 1;
3026
+ }
3027
+
3028
+ #dependencyStart, .dependency {
3029
+ fill: ${e.lineColor} !important;
3030
+ stroke: ${e.lineColor} !important;
3031
+ stroke-width: 1;
3032
+ }
3033
+
3034
+ #dependencyStart, .dependency {
3035
+ fill: ${e.lineColor} !important;
3036
+ stroke: ${e.lineColor} !important;
3037
+ stroke-width: 1;
3038
+ }
3039
+
3040
+ #extensionStart, .extension {
3041
+ fill: transparent !important;
3042
+ stroke: ${e.lineColor} !important;
3043
+ stroke-width: 1;
3044
+ }
3045
+
3046
+ #extensionEnd, .extension {
3047
+ fill: transparent !important;
3048
+ stroke: ${e.lineColor} !important;
3049
+ stroke-width: 1;
3050
+ }
3051
+
3052
+ #aggregationStart, .aggregation {
3053
+ fill: transparent !important;
3054
+ stroke: ${e.lineColor} !important;
3055
+ stroke-width: 1;
3056
+ }
3057
+
3058
+ #aggregationEnd, .aggregation {
3059
+ fill: transparent !important;
3060
+ stroke: ${e.lineColor} !important;
3061
+ stroke-width: 1;
3062
+ }
3063
+
3064
+ #lollipopStart, .lollipop {
3065
+ fill: ${e.mainBkg} !important;
3066
+ stroke: ${e.lineColor} !important;
3067
+ stroke-width: 1;
3068
+ }
3069
+
3070
+ #lollipopEnd, .lollipop {
3071
+ fill: ${e.mainBkg} !important;
3072
+ stroke: ${e.lineColor} !important;
3073
+ stroke-width: 1;
3074
+ }
3075
+
3076
+ .edgeTerminals {
3077
+ font-size: 11px;
3078
+ line-height: initial;
3079
+ }
3080
+
3081
+ .classTitleText {
3082
+ text-anchor: middle;
3083
+ font-size: 18px;
3084
+ fill: ${e.textColor};
3085
+ }
3086
+ ${getIconStyles()}
3087
+ `, "getStyles"), classRenderer_v3_unified_default = {
3088
+ getClasses: /* @__PURE__ */ __name(function(e, t) {
3089
+ return t.db.getClasses();
3090
+ }, "getClasses"),
3091
+ draw: /* @__PURE__ */ __name(async function(e, r, i, a) {
3092
+ log.info("REF0:"), log.info("Drawing class diagram (v3)", r);
3093
+ let { securityLevel: o, state: s, layout: c } = getConfig2(), l = a.db.getData(), u = getDiagramElement(r, o);
3094
+ l.type = a.type, l.layoutAlgorithm = getRegisteredLayoutAlgorithm(c), l.nodeSpacing = s?.nodeSpacing || 50, l.rankSpacing = s?.rankSpacing || 50, l.markers = [
3095
+ "aggregation",
3096
+ "extension",
3097
+ "composition",
3098
+ "dependency",
3099
+ "lollipop"
3100
+ ], l.diagramId = r, await render(l, u), utils_default.insertTitle(u, "classDiagramTitleText", s?.titleTopMargin ?? 25, a.db.getDiagramTitle()), setupViewPortForSVG(u, 8, "classDiagram", s?.useMaxWidth ?? !0);
3101
+ }, "draw"),
3102
+ getDir: /* @__PURE__ */ __name((e, t = "TB") => {
3103
+ if (!e.doc) return t;
3104
+ let n = t;
3105
+ for (let t of e.doc) t.stmt === "dir" && (n = t.value);
3106
+ return n;
3107
+ }, "getDir")
3108
+ };
3109
+ export { styles_default as i, classDiagram_default as n, classRenderer_v3_unified_default as r, ClassDB as t };