@webskill/sdk 0.21.0 → 0.23.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 (135) hide show
  1. package/dist/abnfDiagram-O67JEVCF-DtYFjfqO.js +109 -0
  2. package/dist/agent.d.ts +3 -3
  3. package/dist/agent.js +1174 -169
  4. package/dist/{approval-DwN2o2QG.js → approval-7CuZS3Z4.js} +104 -18
  5. package/dist/arc-8U_6NQWm.js +130 -0
  6. package/dist/architecture-7GRP2DOG-RTw1wpAq.js +4 -0
  7. package/dist/architectureDiagram-NJMV4G6O-XmmXrJAK.js +7473 -0
  8. package/dist/array-DQfpQNY8.js +8 -0
  9. package/dist/blockDiagram-BEXU5L5S-D4yjnCD1.js +2582 -0
  10. package/dist/browser.d.ts +455 -49
  11. package/dist/browser.js +2134 -138
  12. package/dist/c4Diagram-YGBWAQC7-BLmA_JSd.js +3668 -0
  13. package/dist/channel-CZxxLrG7.js +9 -0
  14. package/dist/chunk-2Q5K7J3B-Ck03gkFR.js +21 -0
  15. package/dist/chunk-3FUC2YCW-tr6jmbQf.js +530 -0
  16. package/dist/chunk-5DYCD2WN-Bt97YGTd.js +58 -0
  17. package/dist/chunk-5VM5RSS4-BBxa48HL.js +21 -0
  18. package/dist/chunk-6AEJRKK7-JXK89I-O.js +14 -0
  19. package/dist/chunk-742MDFTN-CPmgCGwC.js +466 -0
  20. package/dist/chunk-7INBJB4K-C9jq9o66.js +6552 -0
  21. package/dist/chunk-7M6MHVWA-BrKCWcR1.js +4894 -0
  22. package/dist/chunk-7PRAP22T-BHED6GVs.js +95 -0
  23. package/dist/chunk-DUW6YSOI-DoZj78PO.js +19 -0
  24. package/dist/chunk-FOHPRMQF-Dkbp819z.js +27189 -0
  25. package/dist/chunk-GNY47TPC-Bpvq1T49.js +87 -0
  26. package/dist/chunk-GTNCS2PH-CLmh4I2c.js +686 -0
  27. package/dist/chunk-GWA4HPMP-B6vN3fkL.js +95 -0
  28. package/dist/chunk-J5ZVWO5B-Bi_Pcobw.js +26 -0
  29. package/dist/chunk-JWPE2WC7-D1rC79GS.js +12 -0
  30. package/dist/chunk-LNGE3PJU-D5OIoe3Z.js +2582 -0
  31. package/dist/chunk-MBY4JIJT-C34L7a4f.js +2276 -0
  32. package/dist/chunk-NETBCI7D-Cg84k8N8.js +321 -0
  33. package/dist/chunk-O7XYJQB3-B6K0KOSL.js +8846 -0
  34. package/dist/chunk-UA2S7LBM-DxHM29_K.js +612 -0
  35. package/dist/chunk-WEXAMYUT-Ba6jFWhB.js +33 -0
  36. package/dist/chunk-XXDRQBXY-DPbSy4kg.js +12 -0
  37. package/dist/chunk-Y2CYZVJY-U3QOMqrW.js +15 -0
  38. package/dist/chunk-Z7XXMR3K-oLg1h8F3.js +1038 -0
  39. package/dist/chunk-ZIGJFQKS-DqEFBuHR.js +2215 -0
  40. package/dist/classDiagram-v2-NBCMYWYE-BqnOWIUt.js +3845 -0
  41. package/dist/cose-bilkent-JH36ORCC-C0dTAHVK.js +4270 -0
  42. package/dist/cynefin-OW5HDTMX-B2QvgEQj.js +4 -0
  43. package/dist/cynefinDiagram-VND7K2PF-yAWc6Z3W.js +479 -0
  44. package/dist/cytoscape.esm-C64mRh9B.js +28325 -0
  45. package/dist/dagre-6A5THRUB-D0w2W27v.js +4816 -0
  46. package/dist/defaultLocale-B_EoOkSF.js +249 -0
  47. package/dist/diagram-22UHCM2B-DvgzhUzP.js +6115 -0
  48. package/dist/diagram-3UASUU5V-DWgUB-ef.js +795 -0
  49. package/dist/diagram-ATOU4E4O-P1olqwIs.js +553 -0
  50. package/dist/diagram-CDSNMT55-BUlZuLUe.js +402 -0
  51. package/dist/diagram-MLGK6HIB-6w5qmkGt.js +186 -0
  52. package/dist/diagram-MPIPVDR6-DEFiSo8o.js +289 -0
  53. package/dist/dist-UajCDt3n.js +92 -0
  54. package/dist/ebnfDiagram-ZINNZB2B-CI8liCfR.js +123 -0
  55. package/dist/elk-276RUBZZ-3SvW6OAK.js +90034 -0
  56. package/dist/erDiagram-OPXOYQCR-CPTbKhwP.js +2301 -0
  57. package/dist/eventmodeling-NTZA5JFV-BlyuqGp0.js +4 -0
  58. package/dist/flowDiagram-KWPJA3E3-CcUJ6HbV.js +18 -0
  59. package/dist/ganttDiagram-FUAMR5RP-31UjY0KK.js +3939 -0
  60. package/dist/{toolSource-C9oNuKmr.js → geometry-CRhuySKV.js} +169 -12
  61. package/dist/gitGraph-4MIJSDKK-ChdVlrk7.js +4 -0
  62. package/dist/gitGraphDiagram-X574FWY7-DKuxJymB.js +1153 -0
  63. package/dist/governance.d.ts +22 -4
  64. package/dist/governance.js +100 -10
  65. package/dist/graphlib-tk9gQYuN.js +4194 -0
  66. package/dist/{index-DHopiH_m.d.ts → index-7No55dRb.d.ts} +161 -11
  67. package/dist/{index-B8Tgmpwh.d.ts → index-ShvCB5I9.d.ts} +2 -2
  68. package/dist/{index-CYLt5u4L.d.ts → index-V76_OFj2.d.ts} +789 -21
  69. package/dist/index.d.ts +4 -4
  70. package/dist/index.js +11 -9
  71. package/dist/info-A6RAGUB7-CxRAt9S9.js +4 -0
  72. package/dist/infoDiagram-VRGFBTTK-pRspGfjZ.js +25 -0
  73. package/dist/init-CMOIWdg-.js +16 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-DKerAPAg.js +975 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-C4MK-YO5.js +1227 -0
  76. package/dist/kanban-definition-PNTS6WVX-BqsZpMXx.js +1244 -0
  77. package/dist/katex-BcRRvyh_.js +26465 -0
  78. package/dist/{kind-DaKqLX2F.js → kind-Dc8x0HWz.js} +54 -7
  79. package/dist/line-LgV8iVMV.js +48 -0
  80. package/dist/linear-BWKR0Tqd.js +393 -0
  81. package/dist/linkedDocument-CZZOl9cO.js +456 -0
  82. package/dist/mcp.d.ts +2 -2
  83. package/dist/{memoryArtifactStore-D6dLeY55.js → memoryArtifactStore-Bs7glPqm.js} +14 -0
  84. package/dist/mermaid-parser.core-pYR5siSx.js +754 -0
  85. package/dist/mermaid.core-DMtwGCHy.js +1756 -0
  86. package/dist/mindmap-definition-NLK3R4M7-CXbD-myG.js +1312 -0
  87. package/dist/node.d.ts +3 -3
  88. package/dist/node.js +12 -5
  89. package/dist/{openUiLibrary-b0i7F_oZ.js → openUiLibrary-B7j3rLrm.js} +1 -1
  90. package/dist/{openUiSpecLang-CLXJEeRU.js → openUiSpecLang-BSYYnjay.js} +1 -1
  91. package/dist/ordinal-CxA6GHQS.js +84 -0
  92. package/dist/packet-AYTQ26CC-BOm08cxl.js +4 -0
  93. package/dist/path-C27Z2Bjv.js +106 -0
  94. package/dist/{pathSecurity-B1owvJAF.js → pathSecurity-CirkQwWP.js} +12 -1
  95. package/dist/pegDiagram-GJSIUBJH-BLGJOewQ.js +115 -0
  96. package/dist/pie-WAS4IAKB-Dvg7glpk.js +4 -0
  97. package/dist/pieDiagram-5QR66LMP-laoaV_PB.js +298 -0
  98. package/dist/quadrantDiagram-O4NWA36T-Db_wFBkT.js +2236 -0
  99. package/dist/radar-RG4KPBEZ-BZDaTu06.js +4 -0
  100. package/dist/railroad-74A4TZTK-C-UhjkOy.js +4 -0
  101. package/dist/railroad-abnf-HS5TGJTU-dUKVA4OS.js +4 -0
  102. package/dist/railroad-ebnf-LZEXJU2U-DzQumk18.js +4 -0
  103. package/dist/railroad-peg-WCYAUIDC-B3vvTWed.js +4 -0
  104. package/dist/railroadDiagram-XR7U4H2S-BY0sTM4X.js +89 -0
  105. package/dist/requirementDiagram-PLB6GJNP-3rkQfEhs.js +2474 -0
  106. package/dist/rough.cjs-AmDd_NQk.js +1395 -0
  107. package/dist/sankeyDiagram-IPEJSGJF-CGAJhyG2.js +3578 -0
  108. package/dist/sequenceDiagram-PO4LG4MO-9FJjFX06.js +5522 -0
  109. package/dist/sizeCapture-INFHLROL-D8PWxdOn.js +56 -0
  110. package/dist/{skill-CAJMsLod.js → skill-WSUDp6A1.js} +1 -1
  111. package/dist/{skillVersionStore-B24Jjjry-BkOk9wI_.d.ts → skillVersionStore-S4_HJ_Fl-Cvy9LqVu.d.ts} +35 -4
  112. package/dist/src-NkhI3UMl.js +2653 -0
  113. package/dist/stateDiagram-v2-GCMORJYK-B0O3wc1-.js +2715 -0
  114. package/dist/swimlanes-2SLR337P-D4EOnrpu.js +6637 -0
  115. package/dist/swimlanesDiagram-TC7HE7FX-BUx29EJ9.js +30 -0
  116. package/dist/testing.d.ts +2 -1
  117. package/dist/testing.js +1 -1
  118. package/dist/timeline-definition-EJHVYXUP-CrgiiB4C.js +1513 -0
  119. package/dist/treeView-Q6P3EWNA-C1by-Gzc.js +4 -0
  120. package/dist/treemap-WGGIJYW6-mC2NZ6ad.js +4 -0
  121. package/dist/{types-BvTV_05--BW8zDuEk.d.ts → types-CpDRZ0rA-BiZBXGm4.d.ts} +66 -8
  122. package/dist/ui-react.d.ts +3 -3
  123. package/dist/ui-react.js +3746 -96
  124. package/dist/ui-vue.d.ts +1 -1
  125. package/dist/ui.d.ts +3 -3
  126. package/dist/ui.js +2 -2
  127. package/dist/usecaseDiagram-POWQR4AR-BUt_TQOY.js +14397 -0
  128. package/dist/vennDiagram-UO4OBE2U-CwXr0wjA.js +2808 -0
  129. package/dist/wardley-WFR3VGLG-CVSYjq_S.js +4 -0
  130. package/dist/wardleyDiagram-VNRHLVJA-Cpfd47dQ.js +874 -0
  131. package/dist/{webSkillApi-Cib6G-94.js → webSkillApi-D5VMUnrv.js} +2 -2
  132. package/dist/{webskillLitCatalog-W06npwej.js → webskillLitCatalog-D5BCiMCU.js} +1 -1
  133. package/dist/xychartDiagram-PMCCYNJV-e1TeVoc6.js +2704 -0
  134. package/package.json +1 -1
  135. package/dist/linkedDocument-C0gj1sMq.js +0 -245
@@ -0,0 +1,2301 @@
1
+ import { n as __name, t as __export } from "./chunk-Y2CYZVJY-U3QOMqrW.js";
2
+ import { m as log, p as select_default } from "./src-NkhI3UMl.js";
3
+ import { H as setAccDescription, U as setAccTitle, a as clear, at as rgba, q as setDiagramTitle, s as common_default, v as getAccDescription, w as getDiagramTitle, x as getConfig2, y as getAccTitle } from "./chunk-O7XYJQB3-B6K0KOSL.js";
4
+ import { t as channel } from "./channel-CZxxLrG7.js";
5
+ import { c as getEdgeId, g as utils_default } from "./chunk-ZIGJFQKS-DqEFBuHR.js";
6
+ import "./chunk-742MDFTN-CPmgCGwC.js";
7
+ import "./chunk-MBY4JIJT-C34L7a4f.js";
8
+ import "./chunk-7PRAP22T-BHED6GVs.js";
9
+ import { a as paletteSlotCount, i as isColorTheme, o as safeLook, r as hasPalette, t as COLOR_THEMES } from "./chunk-J5ZVWO5B-Bi_Pcobw.js";
10
+ import "./chunk-7INBJB4K-C9jq9o66.js";
11
+ import "./chunk-5DYCD2WN-Bt97YGTd.js";
12
+ import "./chunk-Z7XXMR3K-oLg1h8F3.js";
13
+ import { t as getDiagramElement } from "./chunk-XXDRQBXY-DPbSy4kg.js";
14
+ import { t as setupViewPortForSVG } from "./chunk-WEXAMYUT-Ba6jFWhB.js";
15
+ import "./chunk-UA2S7LBM-DxHM29_K.js";
16
+ import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-GNY47TPC-Bpvq1T49.js";
17
+
18
+ //#region ../../node_modules/.pnpm/mermaid@12.0.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-OPXOYQCR.mjs
19
+ var parser = (function() {
20
+ var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
21
+ for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v);
22
+ return o2;
23
+ }, "o"), $V0 = [
24
+ 6,
25
+ 9,
26
+ 21,
27
+ 23,
28
+ 25,
29
+ 27,
30
+ 34,
31
+ 37,
32
+ 38,
33
+ 39,
34
+ 40,
35
+ 41,
36
+ 43,
37
+ 46,
38
+ 47,
39
+ 51,
40
+ 53,
41
+ 54,
42
+ 55
43
+ ], $V1 = [2, 2], $V2 = [1, 7], $V3 = [1, 9], $V4 = [1, 10], $V5 = [1, 11], $V6 = [1, 12], $V7 = [1, 30], $V8 = [1, 23], $V9 = [1, 24], $Va = [1, 25], $Vb = [1, 26], $Vc = [1, 27], $Vd = [1, 19], $Ve = [1, 28], $Vf = [1, 29], $Vg = [1, 20], $Vh = [1, 18], $Vi = [1, 21], $Vj = [1, 22], $Vk = [2, 6], $Vl = [
44
+ 6,
45
+ 9,
46
+ 21,
47
+ 23,
48
+ 25,
49
+ 27,
50
+ 33,
51
+ 34,
52
+ 37,
53
+ 38,
54
+ 39,
55
+ 40,
56
+ 41,
57
+ 43,
58
+ 46,
59
+ 47,
60
+ 51,
61
+ 53,
62
+ 54,
63
+ 55
64
+ ], $Vm = [1, 36], $Vn = [1, 37], $Vo = [1, 38], $Vp = [1, 39], $Vq = [1, 40], $Vr = [
65
+ 6,
66
+ 9,
67
+ 12,
68
+ 14,
69
+ 16,
70
+ 19,
71
+ 20,
72
+ 21,
73
+ 23,
74
+ 25,
75
+ 27,
76
+ 33,
77
+ 34,
78
+ 37,
79
+ 38,
80
+ 39,
81
+ 40,
82
+ 41,
83
+ 43,
84
+ 46,
85
+ 47,
86
+ 50,
87
+ 51,
88
+ 53,
89
+ 54,
90
+ 55,
91
+ 69,
92
+ 70,
93
+ 71,
94
+ 72,
95
+ 73
96
+ ], $Vs = [1, 46], $Vt = [1, 47], $Vu = [1, 57], $Vv = [
97
+ 43,
98
+ 51,
99
+ 53,
100
+ 54,
101
+ 55,
102
+ 74,
103
+ 75
104
+ ], $Vw = [1, 70], $Vx = [1, 68], $Vy = [1, 65], $Vz = [1, 69], $VA = [1, 71], $VB = [
105
+ 6,
106
+ 9,
107
+ 12,
108
+ 16,
109
+ 21,
110
+ 23,
111
+ 25,
112
+ 27,
113
+ 33,
114
+ 34,
115
+ 37,
116
+ 38,
117
+ 39,
118
+ 40,
119
+ 41,
120
+ 43,
121
+ 44,
122
+ 45,
123
+ 46,
124
+ 47,
125
+ 51,
126
+ 52,
127
+ 53,
128
+ 54,
129
+ 55,
130
+ 69,
131
+ 70,
132
+ 71,
133
+ 72,
134
+ 73
135
+ ], $VC = [1, 78], $VD = [1, 77], $VE = [1, 76], $VF = [
136
+ 69,
137
+ 70,
138
+ 71,
139
+ 72,
140
+ 73
141
+ ], $VG = [1, 91], $VH = [
142
+ 6,
143
+ 9,
144
+ 45,
145
+ 50
146
+ ], $VI = [
147
+ 6,
148
+ 9,
149
+ 12,
150
+ 44,
151
+ 45,
152
+ 50,
153
+ 51,
154
+ 52
155
+ ], $VJ = [1, 101], $VK = [1, 100], $VL = [1, 99], $VM = [18, 61], $VN = [1, 110], $VO = [1, 109], $VP = [
156
+ 20,
157
+ 43,
158
+ 51,
159
+ 53,
160
+ 54,
161
+ 55
162
+ ], $VQ = [
163
+ 18,
164
+ 61,
165
+ 64,
166
+ 66
167
+ ];
168
+ var parser2 = {
169
+ trace: /* @__PURE__ */ __name(function trace() {}, "trace"),
170
+ yy: {},
171
+ symbols_: {
172
+ "error": 2,
173
+ "start": 3,
174
+ "ER_DIAGRAM": 4,
175
+ "document": 5,
176
+ "EOF": 6,
177
+ "line": 7,
178
+ "statement": 8,
179
+ "NEWLINE": 9,
180
+ "entityName": 10,
181
+ "relSpec": 11,
182
+ "COLON": 12,
183
+ "role": 13,
184
+ "STYLE_SEPARATOR": 14,
185
+ "idList": 15,
186
+ "BLOCK_START": 16,
187
+ "attributes": 17,
188
+ "BLOCK_STOP": 18,
189
+ "SQS": 19,
190
+ "SQE": 20,
191
+ "title": 21,
192
+ "title_value": 22,
193
+ "acc_title": 23,
194
+ "acc_title_value": 24,
195
+ "acc_descr": 25,
196
+ "acc_descr_value": 26,
197
+ "acc_descr_multiline_value": 27,
198
+ "direction": 28,
199
+ "classDefStatement": 29,
200
+ "classStatement": 30,
201
+ "styleStatement": 31,
202
+ "subgraphHeader": 32,
203
+ "END": 33,
204
+ "SUBGRAPH": 34,
205
+ "separator": 35,
206
+ "subgraphTitle": 36,
207
+ "direction_tb": 37,
208
+ "direction_bt": 38,
209
+ "direction_rl": 39,
210
+ "direction_lr": 40,
211
+ "CLASSDEF": 41,
212
+ "stylesOpt": 42,
213
+ "UNICODE_TEXT": 43,
214
+ "STYLE_TEXT": 44,
215
+ "COMMA": 45,
216
+ "CLASS": 46,
217
+ "STYLE": 47,
218
+ "style": 48,
219
+ "styleComponent": 49,
220
+ "SEMI": 50,
221
+ "NUM": 51,
222
+ "BRKT": 52,
223
+ "ENTITY_NAME": 53,
224
+ "DECIMAL_NUM": 54,
225
+ "ENTITY_ONE": 55,
226
+ "attribute": 56,
227
+ "attributeType": 57,
228
+ "attributeName": 58,
229
+ "attributeKeyTypeList": 59,
230
+ "attributeComment": 60,
231
+ "ATTRIBUTE_WORD": 61,
232
+ "?": 62,
233
+ "attributeKeyType": 63,
234
+ ",": 64,
235
+ "ATTRIBUTE_KEY": 65,
236
+ "COMMENT": 66,
237
+ "cardinality": 67,
238
+ "relType": 68,
239
+ "ZERO_OR_ONE": 69,
240
+ "ZERO_OR_MORE": 70,
241
+ "ONE_OR_MORE": 71,
242
+ "ONLY_ONE": 72,
243
+ "MD_PARENT": 73,
244
+ "NON_IDENTIFYING": 74,
245
+ "IDENTIFYING": 75,
246
+ "WORD": 76,
247
+ "$accept": 0,
248
+ "$end": 1
249
+ },
250
+ terminals_: {
251
+ 2: "error",
252
+ 4: "ER_DIAGRAM",
253
+ 6: "EOF",
254
+ 9: "NEWLINE",
255
+ 12: "COLON",
256
+ 14: "STYLE_SEPARATOR",
257
+ 16: "BLOCK_START",
258
+ 18: "BLOCK_STOP",
259
+ 19: "SQS",
260
+ 20: "SQE",
261
+ 21: "title",
262
+ 22: "title_value",
263
+ 23: "acc_title",
264
+ 24: "acc_title_value",
265
+ 25: "acc_descr",
266
+ 26: "acc_descr_value",
267
+ 27: "acc_descr_multiline_value",
268
+ 33: "END",
269
+ 34: "SUBGRAPH",
270
+ 37: "direction_tb",
271
+ 38: "direction_bt",
272
+ 39: "direction_rl",
273
+ 40: "direction_lr",
274
+ 41: "CLASSDEF",
275
+ 43: "UNICODE_TEXT",
276
+ 44: "STYLE_TEXT",
277
+ 45: "COMMA",
278
+ 46: "CLASS",
279
+ 47: "STYLE",
280
+ 50: "SEMI",
281
+ 51: "NUM",
282
+ 52: "BRKT",
283
+ 53: "ENTITY_NAME",
284
+ 54: "DECIMAL_NUM",
285
+ 55: "ENTITY_ONE",
286
+ 61: "ATTRIBUTE_WORD",
287
+ 62: "?",
288
+ 64: ",",
289
+ 65: "ATTRIBUTE_KEY",
290
+ 66: "COMMENT",
291
+ 69: "ZERO_OR_ONE",
292
+ 70: "ZERO_OR_MORE",
293
+ 71: "ONE_OR_MORE",
294
+ 72: "ONLY_ONE",
295
+ 73: "MD_PARENT",
296
+ 74: "NON_IDENTIFYING",
297
+ 75: "IDENTIFYING",
298
+ 76: "WORD"
299
+ },
300
+ productions_: [
301
+ 0,
302
+ [3, 3],
303
+ [5, 0],
304
+ [5, 2],
305
+ [7, 1],
306
+ [7, 1],
307
+ [7, 1],
308
+ [8, 5],
309
+ [8, 9],
310
+ [8, 7],
311
+ [8, 7],
312
+ [8, 4],
313
+ [8, 6],
314
+ [8, 3],
315
+ [8, 5],
316
+ [8, 1],
317
+ [8, 3],
318
+ [8, 7],
319
+ [8, 9],
320
+ [8, 6],
321
+ [8, 8],
322
+ [8, 4],
323
+ [8, 6],
324
+ [8, 2],
325
+ [8, 2],
326
+ [8, 2],
327
+ [8, 1],
328
+ [8, 1],
329
+ [8, 1],
330
+ [8, 1],
331
+ [8, 1],
332
+ [8, 3],
333
+ [32, 3],
334
+ [32, 6],
335
+ [36, 1],
336
+ [36, 2],
337
+ [28, 1],
338
+ [28, 1],
339
+ [28, 1],
340
+ [28, 1],
341
+ [29, 4],
342
+ [15, 1],
343
+ [15, 1],
344
+ [15, 3],
345
+ [15, 3],
346
+ [30, 3],
347
+ [31, 4],
348
+ [42, 1],
349
+ [42, 3],
350
+ [48, 1],
351
+ [48, 2],
352
+ [35, 1],
353
+ [35, 1],
354
+ [35, 1],
355
+ [49, 1],
356
+ [49, 1],
357
+ [49, 1],
358
+ [49, 1],
359
+ [10, 1],
360
+ [10, 1],
361
+ [10, 1],
362
+ [10, 1],
363
+ [10, 1],
364
+ [17, 1],
365
+ [17, 2],
366
+ [56, 2],
367
+ [56, 3],
368
+ [56, 3],
369
+ [56, 4],
370
+ [57, 1],
371
+ [57, 2],
372
+ [58, 1],
373
+ [59, 1],
374
+ [59, 3],
375
+ [63, 1],
376
+ [60, 1],
377
+ [11, 3],
378
+ [67, 1],
379
+ [67, 1],
380
+ [67, 1],
381
+ [67, 1],
382
+ [67, 1],
383
+ [68, 1],
384
+ [68, 1],
385
+ [13, 1],
386
+ [13, 1],
387
+ [13, 1]
388
+ ],
389
+ performAction: /* @__PURE__ */ __name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
390
+ var $0 = $$.length - 1;
391
+ switch (yystate) {
392
+ case 1: break;
393
+ case 2:
394
+ this.$ = [];
395
+ break;
396
+ case 3:
397
+ this.$ = $$[$0 - 1].concat($$[$0]);
398
+ break;
399
+ case 4:
400
+ this.$ = $$[$0];
401
+ break;
402
+ case 5:
403
+ case 6:
404
+ this.$ = [];
405
+ break;
406
+ case 7:
407
+ yy.addEntity($$[$0 - 4]);
408
+ yy.addEntity($$[$0 - 2]);
409
+ yy.addRelationship($$[$0 - 4], $$[$0], $$[$0 - 2], $$[$0 - 3]);
410
+ this.$ = [$$[$0 - 4], $$[$0 - 2]];
411
+ break;
412
+ case 8:
413
+ yy.addEntity($$[$0 - 8]);
414
+ yy.addEntity($$[$0 - 4]);
415
+ yy.addRelationship($$[$0 - 8], $$[$0], $$[$0 - 4], $$[$0 - 5]);
416
+ yy.setClass([$$[$0 - 8]], $$[$0 - 6]);
417
+ yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
418
+ this.$ = [$$[$0 - 8], $$[$0 - 4]];
419
+ break;
420
+ case 9:
421
+ yy.addEntity($$[$0 - 6]);
422
+ yy.addEntity($$[$0 - 2]);
423
+ yy.addRelationship($$[$0 - 6], $$[$0], $$[$0 - 2], $$[$0 - 3]);
424
+ yy.setClass([$$[$0 - 6]], $$[$0 - 4]);
425
+ this.$ = [$$[$0 - 6], $$[$0 - 2]];
426
+ break;
427
+ case 10:
428
+ yy.addEntity($$[$0 - 6]);
429
+ yy.addEntity($$[$0 - 4]);
430
+ yy.addRelationship($$[$0 - 6], $$[$0], $$[$0 - 4], $$[$0 - 5]);
431
+ yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
432
+ this.$ = [$$[$0 - 6], $$[$0 - 4]];
433
+ break;
434
+ case 11:
435
+ yy.addEntity($$[$0 - 3]);
436
+ yy.addAttributes($$[$0 - 3], $$[$0 - 1]);
437
+ this.$ = [$$[$0 - 3]];
438
+ break;
439
+ case 12:
440
+ yy.addEntity($$[$0 - 5]);
441
+ yy.addAttributes($$[$0 - 5], $$[$0 - 1]);
442
+ yy.setClass([$$[$0 - 5]], $$[$0 - 3]);
443
+ this.$ = [$$[$0 - 5]];
444
+ break;
445
+ case 13:
446
+ yy.addEntity($$[$0 - 2]);
447
+ this.$ = [$$[$0 - 2]];
448
+ break;
449
+ case 14:
450
+ yy.addEntity($$[$0 - 4]);
451
+ yy.setClass([$$[$0 - 4]], $$[$0 - 2]);
452
+ this.$ = [$$[$0 - 4]];
453
+ break;
454
+ case 15:
455
+ yy.addEntity($$[$0]);
456
+ this.$ = [$$[$0]];
457
+ break;
458
+ case 16:
459
+ yy.addEntity($$[$0 - 2]);
460
+ yy.setClass([$$[$0 - 2]], $$[$0]);
461
+ this.$ = [$$[$0 - 2]];
462
+ break;
463
+ case 17:
464
+ yy.addEntity($$[$0 - 6], $$[$0 - 4]);
465
+ yy.addAttributes($$[$0 - 6], $$[$0 - 1]);
466
+ this.$ = [$$[$0 - 6]];
467
+ break;
468
+ case 18:
469
+ yy.addEntity($$[$0 - 8], $$[$0 - 6]);
470
+ yy.addAttributes($$[$0 - 8], $$[$0 - 1]);
471
+ yy.setClass([$$[$0 - 8]], $$[$0 - 3]);
472
+ this.$ = [$$[$0 - 8]];
473
+ break;
474
+ case 19:
475
+ yy.addEntity($$[$0 - 5], $$[$0 - 3]);
476
+ this.$ = [$$[$0 - 5]];
477
+ break;
478
+ case 20:
479
+ yy.addEntity($$[$0 - 7], $$[$0 - 5]);
480
+ yy.setClass([$$[$0 - 7]], $$[$0 - 2]);
481
+ this.$ = [$$[$0 - 7]];
482
+ break;
483
+ case 21:
484
+ yy.addEntity($$[$0 - 3], $$[$0 - 1]);
485
+ break;
486
+ case 22:
487
+ yy.addEntity($$[$0 - 5], $$[$0 - 3]);
488
+ yy.setClass([$$[$0 - 5]], $$[$0]);
489
+ break;
490
+ case 23:
491
+ case 24:
492
+ this.$ = $$[$0].trim();
493
+ yy.setAccTitle(this.$);
494
+ break;
495
+ case 25:
496
+ case 26:
497
+ this.$ = $$[$0].trim();
498
+ yy.setAccDescription(this.$);
499
+ break;
500
+ case 27:
501
+ if (!yy.subgraphDepth) {
502
+ yy.setDirection($$[$0].value);
503
+ this.$ = [];
504
+ } else this.$ = $$[$0];
505
+ break;
506
+ case 31:
507
+ yy.subgraphDepth = (yy.subgraphDepth || 1) - 1;
508
+ this.$ = yy.addSubGraph({ text: $$[$0 - 2].id }, $$[$0 - 1], { text: $$[$0 - 2].text });
509
+ break;
510
+ case 32:
511
+ yy.subgraphDepth = (yy.subgraphDepth || 0) + 1;
512
+ this.$ = {
513
+ id: $$[$0 - 1],
514
+ text: $$[$0 - 1]
515
+ };
516
+ break;
517
+ case 33:
518
+ yy.subgraphDepth = (yy.subgraphDepth || 0) + 1;
519
+ this.$ = {
520
+ id: $$[$0 - 4],
521
+ text: $$[$0 - 2]
522
+ };
523
+ break;
524
+ case 34:
525
+ case 59:
526
+ case 60:
527
+ case 61:
528
+ case 62:
529
+ case 86:
530
+ this.$ = $$[$0];
531
+ break;
532
+ case 35:
533
+ this.$ = $$[$0 - 1] + " " + $$[$0];
534
+ break;
535
+ case 36:
536
+ this.$ = {
537
+ stmt: "dir",
538
+ value: "TB"
539
+ };
540
+ break;
541
+ case 37:
542
+ this.$ = {
543
+ stmt: "dir",
544
+ value: "BT"
545
+ };
546
+ break;
547
+ case 38:
548
+ this.$ = {
549
+ stmt: "dir",
550
+ value: "RL"
551
+ };
552
+ break;
553
+ case 39:
554
+ this.$ = {
555
+ stmt: "dir",
556
+ value: "LR"
557
+ };
558
+ break;
559
+ case 40:
560
+ this.$ = $$[$0 - 3];
561
+ yy.addClass($$[$0 - 2], $$[$0 - 1]);
562
+ break;
563
+ case 41:
564
+ case 42:
565
+ case 63:
566
+ case 72:
567
+ this.$ = [$$[$0]];
568
+ break;
569
+ case 43:
570
+ case 44:
571
+ this.$ = $$[$0 - 2].concat([$$[$0]]);
572
+ break;
573
+ case 45:
574
+ this.$ = $$[$0 - 2];
575
+ yy.setClass($$[$0 - 1], $$[$0]);
576
+ break;
577
+ case 46:
578
+ this.$ = $$[$0 - 3];
579
+ yy.addCssStyles($$[$0 - 2], $$[$0 - 1]);
580
+ break;
581
+ case 47:
582
+ this.$ = [$$[$0]];
583
+ break;
584
+ case 48:
585
+ $$[$0 - 2].push($$[$0]);
586
+ this.$ = $$[$0 - 2];
587
+ break;
588
+ case 50:
589
+ this.$ = $$[$0 - 1] + $$[$0];
590
+ break;
591
+ case 58:
592
+ case 84:
593
+ case 85:
594
+ this.$ = $$[$0].replace(/"/g, "");
595
+ break;
596
+ case 64:
597
+ $$[$0].push($$[$0 - 1]);
598
+ this.$ = $$[$0];
599
+ break;
600
+ case 65:
601
+ this.$ = {
602
+ type: $$[$0 - 1],
603
+ name: $$[$0]
604
+ };
605
+ break;
606
+ case 66:
607
+ this.$ = {
608
+ type: $$[$0 - 2],
609
+ name: $$[$0 - 1],
610
+ keys: $$[$0]
611
+ };
612
+ break;
613
+ case 67:
614
+ this.$ = {
615
+ type: $$[$0 - 2],
616
+ name: $$[$0 - 1],
617
+ comment: $$[$0]
618
+ };
619
+ break;
620
+ case 68:
621
+ this.$ = {
622
+ type: $$[$0 - 3],
623
+ name: $$[$0 - 2],
624
+ keys: $$[$0 - 1],
625
+ comment: $$[$0]
626
+ };
627
+ break;
628
+ case 69:
629
+ case 71:
630
+ case 74:
631
+ this.$ = $$[$0];
632
+ break;
633
+ case 70:
634
+ this.$ = $$[$0 - 1] + $$[$0];
635
+ break;
636
+ case 73:
637
+ $$[$0 - 2].push($$[$0]);
638
+ this.$ = $$[$0 - 2];
639
+ break;
640
+ case 75:
641
+ this.$ = $$[$0].replace(/"/g, "");
642
+ break;
643
+ case 76:
644
+ this.$ = {
645
+ cardA: $$[$0],
646
+ relType: $$[$0 - 1],
647
+ cardB: $$[$0 - 2]
648
+ };
649
+ break;
650
+ case 77:
651
+ this.$ = yy.Cardinality.ZERO_OR_ONE;
652
+ break;
653
+ case 78:
654
+ this.$ = yy.Cardinality.ZERO_OR_MORE;
655
+ break;
656
+ case 79:
657
+ this.$ = yy.Cardinality.ONE_OR_MORE;
658
+ break;
659
+ case 80:
660
+ this.$ = yy.Cardinality.ONLY_ONE;
661
+ break;
662
+ case 81:
663
+ this.$ = yy.Cardinality.MD_PARENT;
664
+ break;
665
+ case 82:
666
+ this.$ = yy.Identification.NON_IDENTIFYING;
667
+ break;
668
+ case 83:
669
+ this.$ = yy.Identification.IDENTIFYING;
670
+ break;
671
+ }
672
+ }, "anonymous"),
673
+ table: [
674
+ {
675
+ 3: 1,
676
+ 4: [1, 2]
677
+ },
678
+ { 1: [3] },
679
+ o($V0, $V1, { 5: 3 }),
680
+ {
681
+ 6: [1, 4],
682
+ 7: 5,
683
+ 8: 6,
684
+ 9: $V2,
685
+ 10: 8,
686
+ 21: $V3,
687
+ 23: $V4,
688
+ 25: $V5,
689
+ 27: $V6,
690
+ 28: 13,
691
+ 29: 14,
692
+ 30: 15,
693
+ 31: 16,
694
+ 32: 17,
695
+ 34: $V7,
696
+ 37: $V8,
697
+ 38: $V9,
698
+ 39: $Va,
699
+ 40: $Vb,
700
+ 41: $Vc,
701
+ 43: $Vd,
702
+ 46: $Ve,
703
+ 47: $Vf,
704
+ 51: $Vg,
705
+ 53: $Vh,
706
+ 54: $Vi,
707
+ 55: $Vj
708
+ },
709
+ o($V0, $Vk, { 1: [2, 1] }),
710
+ o($Vl, [2, 3]),
711
+ o($Vl, [2, 4]),
712
+ o($Vl, [2, 5]),
713
+ o($Vl, [2, 15], {
714
+ 11: 31,
715
+ 67: 35,
716
+ 14: [1, 32],
717
+ 16: [1, 33],
718
+ 19: [1, 34],
719
+ 69: $Vm,
720
+ 70: $Vn,
721
+ 71: $Vo,
722
+ 72: $Vp,
723
+ 73: $Vq
724
+ }),
725
+ { 22: [1, 41] },
726
+ { 24: [1, 42] },
727
+ { 26: [1, 43] },
728
+ o($Vl, [2, 26]),
729
+ o($Vl, [2, 27]),
730
+ o($Vl, [2, 28]),
731
+ o($Vl, [2, 29]),
732
+ o($Vl, [2, 30]),
733
+ o($Vl, $V1, { 5: 44 }),
734
+ o($Vr, [2, 58]),
735
+ o($Vr, [2, 59]),
736
+ o($Vr, [2, 60]),
737
+ o($Vr, [2, 61]),
738
+ o($Vr, [2, 62]),
739
+ o($Vl, [2, 36]),
740
+ o($Vl, [2, 37]),
741
+ o($Vl, [2, 38]),
742
+ o($Vl, [2, 39]),
743
+ {
744
+ 15: 45,
745
+ 43: $Vs,
746
+ 44: $Vt
747
+ },
748
+ {
749
+ 15: 48,
750
+ 43: $Vs,
751
+ 44: $Vt
752
+ },
753
+ {
754
+ 15: 49,
755
+ 43: $Vs,
756
+ 44: $Vt
757
+ },
758
+ {
759
+ 10: 50,
760
+ 43: $Vd,
761
+ 51: $Vg,
762
+ 53: $Vh,
763
+ 54: $Vi,
764
+ 55: $Vj
765
+ },
766
+ {
767
+ 10: 51,
768
+ 43: $Vd,
769
+ 51: $Vg,
770
+ 53: $Vh,
771
+ 54: $Vi,
772
+ 55: $Vj
773
+ },
774
+ {
775
+ 15: 52,
776
+ 43: $Vs,
777
+ 44: $Vt
778
+ },
779
+ {
780
+ 17: 53,
781
+ 18: [1, 54],
782
+ 56: 55,
783
+ 57: 56,
784
+ 61: $Vu
785
+ },
786
+ {
787
+ 10: 58,
788
+ 43: $Vd,
789
+ 51: $Vg,
790
+ 53: $Vh,
791
+ 54: $Vi,
792
+ 55: $Vj
793
+ },
794
+ {
795
+ 68: 59,
796
+ 74: [1, 60],
797
+ 75: [1, 61]
798
+ },
799
+ o($Vv, [2, 77]),
800
+ o($Vv, [2, 78]),
801
+ o($Vv, [2, 79]),
802
+ o($Vv, [2, 80]),
803
+ o($Vv, [2, 81]),
804
+ o($Vl, [2, 23]),
805
+ o($Vl, [2, 24]),
806
+ o($Vl, [2, 25]),
807
+ {
808
+ 6: [1, 63],
809
+ 7: 5,
810
+ 8: 6,
811
+ 9: $V2,
812
+ 10: 8,
813
+ 21: $V3,
814
+ 23: $V4,
815
+ 25: $V5,
816
+ 27: $V6,
817
+ 28: 13,
818
+ 29: 14,
819
+ 30: 15,
820
+ 31: 16,
821
+ 32: 17,
822
+ 33: [1, 62],
823
+ 34: $V7,
824
+ 37: $V8,
825
+ 38: $V9,
826
+ 39: $Va,
827
+ 40: $Vb,
828
+ 41: $Vc,
829
+ 43: $Vd,
830
+ 46: $Ve,
831
+ 47: $Vf,
832
+ 51: $Vg,
833
+ 53: $Vh,
834
+ 54: $Vi,
835
+ 55: $Vj
836
+ },
837
+ {
838
+ 12: $Vw,
839
+ 42: 64,
840
+ 44: $Vx,
841
+ 45: $Vy,
842
+ 48: 66,
843
+ 49: 67,
844
+ 51: $Vz,
845
+ 52: $VA
846
+ },
847
+ o($VB, [2, 41]),
848
+ o($VB, [2, 42]),
849
+ {
850
+ 15: 72,
851
+ 43: $Vs,
852
+ 44: $Vt,
853
+ 45: $Vy
854
+ },
855
+ {
856
+ 12: $Vw,
857
+ 42: 73,
858
+ 44: $Vx,
859
+ 45: $Vy,
860
+ 48: 66,
861
+ 49: 67,
862
+ 51: $Vz,
863
+ 52: $VA
864
+ },
865
+ {
866
+ 6: $VC,
867
+ 9: $VD,
868
+ 19: [1, 75],
869
+ 35: 74,
870
+ 50: $VE
871
+ },
872
+ {
873
+ 12: [1, 79],
874
+ 14: [1, 80]
875
+ },
876
+ o($Vl, [2, 16], {
877
+ 67: 35,
878
+ 11: 81,
879
+ 16: [1, 82],
880
+ 45: $Vy,
881
+ 69: $Vm,
882
+ 70: $Vn,
883
+ 71: $Vo,
884
+ 72: $Vp,
885
+ 73: $Vq
886
+ }),
887
+ { 18: [1, 83] },
888
+ o($Vl, [2, 13]),
889
+ {
890
+ 17: 84,
891
+ 18: [2, 63],
892
+ 56: 55,
893
+ 57: 56,
894
+ 61: $Vu
895
+ },
896
+ {
897
+ 58: 85,
898
+ 61: [1, 86]
899
+ },
900
+ {
901
+ 61: [2, 69],
902
+ 62: [1, 87]
903
+ },
904
+ { 20: [1, 88] },
905
+ {
906
+ 67: 89,
907
+ 69: $Vm,
908
+ 70: $Vn,
909
+ 71: $Vo,
910
+ 72: $Vp,
911
+ 73: $Vq
912
+ },
913
+ o($VF, [2, 82]),
914
+ o($VF, [2, 83]),
915
+ o($Vl, [2, 31]),
916
+ o($Vl, $Vk),
917
+ {
918
+ 6: $VC,
919
+ 9: $VD,
920
+ 35: 90,
921
+ 45: $VG,
922
+ 50: $VE
923
+ },
924
+ {
925
+ 43: [1, 92],
926
+ 44: [1, 93]
927
+ },
928
+ o($VH, [2, 47], {
929
+ 49: 94,
930
+ 12: $Vw,
931
+ 44: $Vx,
932
+ 51: $Vz,
933
+ 52: $VA
934
+ }),
935
+ o($VI, [2, 49]),
936
+ o($VI, [2, 54]),
937
+ o($VI, [2, 55]),
938
+ o($VI, [2, 56]),
939
+ o($VI, [2, 57]),
940
+ o($Vl, [2, 45], { 45: $Vy }),
941
+ {
942
+ 6: $VC,
943
+ 9: $VD,
944
+ 35: 95,
945
+ 45: $VG,
946
+ 50: $VE
947
+ },
948
+ o($Vl, [2, 32]),
949
+ {
950
+ 10: 97,
951
+ 36: 96,
952
+ 43: $Vd,
953
+ 51: $Vg,
954
+ 53: $Vh,
955
+ 54: $Vi,
956
+ 55: $Vj
957
+ },
958
+ o($Vl, [2, 51]),
959
+ o($Vl, [2, 52]),
960
+ o($Vl, [2, 53]),
961
+ {
962
+ 13: 98,
963
+ 43: $VJ,
964
+ 53: $VK,
965
+ 76: $VL
966
+ },
967
+ {
968
+ 15: 102,
969
+ 43: $Vs,
970
+ 44: $Vt
971
+ },
972
+ {
973
+ 10: 103,
974
+ 43: $Vd,
975
+ 51: $Vg,
976
+ 53: $Vh,
977
+ 54: $Vi,
978
+ 55: $Vj
979
+ },
980
+ {
981
+ 17: 104,
982
+ 18: [1, 105],
983
+ 56: 55,
984
+ 57: 56,
985
+ 61: $Vu
986
+ },
987
+ o($Vl, [2, 11]),
988
+ { 18: [2, 64] },
989
+ o($VM, [2, 65], {
990
+ 59: 106,
991
+ 60: 107,
992
+ 63: 108,
993
+ 65: $VN,
994
+ 66: $VO
995
+ }),
996
+ o([
997
+ 18,
998
+ 61,
999
+ 65,
1000
+ 66
1001
+ ], [2, 71]),
1002
+ { 61: [2, 70] },
1003
+ o($Vl, [2, 21], {
1004
+ 14: [1, 112],
1005
+ 16: [1, 111]
1006
+ }),
1007
+ o([
1008
+ 43,
1009
+ 51,
1010
+ 53,
1011
+ 54,
1012
+ 55
1013
+ ], [2, 76]),
1014
+ o($Vl, [2, 40]),
1015
+ {
1016
+ 12: $Vw,
1017
+ 44: $Vx,
1018
+ 48: 113,
1019
+ 49: 67,
1020
+ 51: $Vz,
1021
+ 52: $VA
1022
+ },
1023
+ o($VB, [2, 43]),
1024
+ o($VB, [2, 44]),
1025
+ o($VI, [2, 50]),
1026
+ o($Vl, [2, 46]),
1027
+ {
1028
+ 10: 115,
1029
+ 20: [1, 114],
1030
+ 43: $Vd,
1031
+ 51: $Vg,
1032
+ 53: $Vh,
1033
+ 54: $Vi,
1034
+ 55: $Vj
1035
+ },
1036
+ o($VP, [2, 34]),
1037
+ o($Vl, [2, 7]),
1038
+ o($Vl, [2, 84]),
1039
+ o($Vl, [2, 85]),
1040
+ o($Vl, [2, 86]),
1041
+ {
1042
+ 12: [1, 116],
1043
+ 45: $Vy
1044
+ },
1045
+ {
1046
+ 12: [1, 118],
1047
+ 14: [1, 117]
1048
+ },
1049
+ { 18: [1, 119] },
1050
+ o($Vl, [2, 14]),
1051
+ o($VM, [2, 66], {
1052
+ 60: 120,
1053
+ 64: [1, 121],
1054
+ 66: $VO
1055
+ }),
1056
+ o($VM, [2, 67]),
1057
+ o($VQ, [2, 72]),
1058
+ o($VM, [2, 75]),
1059
+ o($VQ, [2, 74]),
1060
+ {
1061
+ 17: 122,
1062
+ 18: [1, 123],
1063
+ 56: 55,
1064
+ 57: 56,
1065
+ 61: $Vu
1066
+ },
1067
+ {
1068
+ 15: 124,
1069
+ 43: $Vs,
1070
+ 44: $Vt
1071
+ },
1072
+ o($VH, [2, 48], {
1073
+ 49: 94,
1074
+ 12: $Vw,
1075
+ 44: $Vx,
1076
+ 51: $Vz,
1077
+ 52: $VA
1078
+ }),
1079
+ {
1080
+ 6: $VC,
1081
+ 9: $VD,
1082
+ 35: 125,
1083
+ 50: $VE
1084
+ },
1085
+ o($VP, [2, 35]),
1086
+ {
1087
+ 13: 126,
1088
+ 43: $VJ,
1089
+ 53: $VK,
1090
+ 76: $VL
1091
+ },
1092
+ {
1093
+ 15: 127,
1094
+ 43: $Vs,
1095
+ 44: $Vt
1096
+ },
1097
+ {
1098
+ 13: 128,
1099
+ 43: $VJ,
1100
+ 53: $VK,
1101
+ 76: $VL
1102
+ },
1103
+ o($Vl, [2, 12]),
1104
+ o($VM, [2, 68]),
1105
+ {
1106
+ 63: 129,
1107
+ 65: $VN
1108
+ },
1109
+ { 18: [1, 130] },
1110
+ o($Vl, [2, 19]),
1111
+ o($Vl, [2, 22], {
1112
+ 16: [1, 131],
1113
+ 45: $Vy
1114
+ }),
1115
+ o($Vl, [2, 33]),
1116
+ o($Vl, [2, 10]),
1117
+ {
1118
+ 12: [1, 132],
1119
+ 45: $Vy
1120
+ },
1121
+ o($Vl, [2, 9]),
1122
+ o($VQ, [2, 73]),
1123
+ o($Vl, [2, 17]),
1124
+ {
1125
+ 17: 133,
1126
+ 18: [1, 134],
1127
+ 56: 55,
1128
+ 57: 56,
1129
+ 61: $Vu
1130
+ },
1131
+ {
1132
+ 13: 135,
1133
+ 43: $VJ,
1134
+ 53: $VK,
1135
+ 76: $VL
1136
+ },
1137
+ { 18: [1, 136] },
1138
+ o($Vl, [2, 20]),
1139
+ o($Vl, [2, 8]),
1140
+ o($Vl, [2, 18])
1141
+ ],
1142
+ defaultActions: {
1143
+ 84: [2, 64],
1144
+ 87: [2, 70]
1145
+ },
1146
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1147
+ if (hash.recoverable) this.trace(str);
1148
+ else {
1149
+ var error = new Error(str);
1150
+ error.hash = hash;
1151
+ throw error;
1152
+ }
1153
+ }, "parseError"),
1154
+ parse: /* @__PURE__ */ __name(function parse(input) {
1155
+ var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
1156
+ var args = lstack.slice.call(arguments, 1);
1157
+ var lexer2 = Object.create(this.lexer);
1158
+ var sharedState = { yy: {} };
1159
+ for (var k in this.yy) if (Object.prototype.hasOwnProperty.call(this.yy, k)) sharedState.yy[k] = this.yy[k];
1160
+ lexer2.setInput(input, sharedState.yy);
1161
+ sharedState.yy.lexer = lexer2;
1162
+ sharedState.yy.parser = this;
1163
+ if (typeof lexer2.yylloc == "undefined") lexer2.yylloc = {};
1164
+ var yyloc = lexer2.yylloc;
1165
+ lstack.push(yyloc);
1166
+ var ranges = lexer2.options && lexer2.options.ranges;
1167
+ if (typeof sharedState.yy.parseError === "function") this.parseError = sharedState.yy.parseError;
1168
+ else this.parseError = Object.getPrototypeOf(this).parseError;
1169
+ function popStack(n) {
1170
+ stack.length = stack.length - 2 * n;
1171
+ vstack.length = vstack.length - n;
1172
+ lstack.length = lstack.length - n;
1173
+ }
1174
+ __name(popStack, "popStack");
1175
+ function lex() {
1176
+ var token = tstack.pop() || lexer2.lex() || EOF;
1177
+ if (typeof token !== "number") {
1178
+ if (token instanceof Array) {
1179
+ tstack = token;
1180
+ token = tstack.pop();
1181
+ }
1182
+ token = self.symbols_[token] || token;
1183
+ }
1184
+ return token;
1185
+ }
1186
+ __name(lex, "lex");
1187
+ var symbol, preErrorSymbol, state, action, r, yyval = {}, p, len, newState, expected;
1188
+ while (true) {
1189
+ state = stack[stack.length - 1];
1190
+ if (this.defaultActions[state]) action = this.defaultActions[state];
1191
+ else {
1192
+ if (symbol === null || typeof symbol == "undefined") symbol = lex();
1193
+ action = table[state] && table[state][symbol];
1194
+ }
1195
+ if (typeof action === "undefined" || !action.length || !action[0]) {
1196
+ var errStr = "";
1197
+ expected = [];
1198
+ for (p in table[state]) if (this.terminals_[p] && p > TERROR) expected.push("'" + this.terminals_[p] + "'");
1199
+ if (lexer2.showPosition) errStr = "Parse error on line " + (yylineno + 1) + ":\n" + lexer2.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";
1200
+ else errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == EOF ? "end of input" : "'" + (this.terminals_[symbol] || symbol) + "'");
1201
+ this.parseError(errStr, {
1202
+ text: lexer2.match,
1203
+ token: this.terminals_[symbol] || symbol,
1204
+ line: lexer2.yylineno,
1205
+ loc: yyloc,
1206
+ expected
1207
+ });
1208
+ }
1209
+ if (action[0] instanceof Array && action.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);
1210
+ switch (action[0]) {
1211
+ case 1:
1212
+ stack.push(symbol);
1213
+ vstack.push(lexer2.yytext);
1214
+ lstack.push(lexer2.yylloc);
1215
+ stack.push(action[1]);
1216
+ symbol = null;
1217
+ if (!preErrorSymbol) {
1218
+ yyleng = lexer2.yyleng;
1219
+ yytext = lexer2.yytext;
1220
+ yylineno = lexer2.yylineno;
1221
+ yyloc = lexer2.yylloc;
1222
+ if (recovering > 0) recovering--;
1223
+ } else {
1224
+ symbol = preErrorSymbol;
1225
+ preErrorSymbol = null;
1226
+ }
1227
+ break;
1228
+ case 2:
1229
+ len = this.productions_[action[1]][1];
1230
+ yyval.$ = vstack[vstack.length - len];
1231
+ yyval._$ = {
1232
+ first_line: lstack[lstack.length - (len || 1)].first_line,
1233
+ last_line: lstack[lstack.length - 1].last_line,
1234
+ first_column: lstack[lstack.length - (len || 1)].first_column,
1235
+ last_column: lstack[lstack.length - 1].last_column
1236
+ };
1237
+ if (ranges) yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];
1238
+ r = this.performAction.apply(yyval, [
1239
+ yytext,
1240
+ yyleng,
1241
+ yylineno,
1242
+ sharedState.yy,
1243
+ action[1],
1244
+ vstack,
1245
+ lstack
1246
+ ].concat(args));
1247
+ if (typeof r !== "undefined") return r;
1248
+ if (len) {
1249
+ stack = stack.slice(0, -1 * len * 2);
1250
+ vstack = vstack.slice(0, -1 * len);
1251
+ lstack = lstack.slice(0, -1 * len);
1252
+ }
1253
+ stack.push(this.productions_[action[1]][0]);
1254
+ vstack.push(yyval.$);
1255
+ lstack.push(yyval._$);
1256
+ newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
1257
+ stack.push(newState);
1258
+ break;
1259
+ case 3: return true;
1260
+ }
1261
+ }
1262
+ return true;
1263
+ }, "parse")
1264
+ };
1265
+ parser2.lexer = /* @__PURE__ */ (function() {
1266
+ return {
1267
+ EOF: 1,
1268
+ parseError: /* @__PURE__ */ __name(function parseError(str, hash) {
1269
+ if (this.yy.parser) this.yy.parser.parseError(str, hash);
1270
+ else throw new Error(str);
1271
+ }, "parseError"),
1272
+ setInput: /* @__PURE__ */ __name(function(input, yy) {
1273
+ this.yy = yy || this.yy || {};
1274
+ this._input = input;
1275
+ this._more = this._backtrack = this.done = false;
1276
+ this.yylineno = this.yyleng = 0;
1277
+ this.yytext = this.matched = this.match = "";
1278
+ this.conditionStack = ["INITIAL"];
1279
+ this.yylloc = {
1280
+ first_line: 1,
1281
+ first_column: 0,
1282
+ last_line: 1,
1283
+ last_column: 0
1284
+ };
1285
+ if (this.options.ranges) this.yylloc.range = [0, 0];
1286
+ this.offset = 0;
1287
+ return this;
1288
+ }, "setInput"),
1289
+ input: /* @__PURE__ */ __name(function() {
1290
+ var ch = this._input[0];
1291
+ this.yytext += ch;
1292
+ this.yyleng++;
1293
+ this.offset++;
1294
+ this.match += ch;
1295
+ this.matched += ch;
1296
+ if (ch.match(/(?:\r\n?|\n).*/g)) {
1297
+ this.yylineno++;
1298
+ this.yylloc.last_line++;
1299
+ } else this.yylloc.last_column++;
1300
+ if (this.options.ranges) this.yylloc.range[1]++;
1301
+ this._input = this._input.slice(1);
1302
+ return ch;
1303
+ }, "input"),
1304
+ unput: /* @__PURE__ */ __name(function(ch) {
1305
+ var len = ch.length;
1306
+ var lines = ch.split(/(?:\r\n?|\n)/g);
1307
+ this._input = ch + this._input;
1308
+ this.yytext = this.yytext.substr(0, this.yytext.length - len);
1309
+ this.offset -= len;
1310
+ var oldLines = this.match.split(/(?:\r\n?|\n)/g);
1311
+ this.match = this.match.substr(0, this.match.length - 1);
1312
+ this.matched = this.matched.substr(0, this.matched.length - 1);
1313
+ if (lines.length - 1) this.yylineno -= lines.length - 1;
1314
+ var r = this.yylloc.range;
1315
+ this.yylloc = {
1316
+ first_line: this.yylloc.first_line,
1317
+ last_line: this.yylineno + 1,
1318
+ first_column: this.yylloc.first_column,
1319
+ 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
1320
+ };
1321
+ if (this.options.ranges) this.yylloc.range = [r[0], r[0] + this.yyleng - len];
1322
+ this.yyleng = this.yytext.length;
1323
+ return this;
1324
+ }, "unput"),
1325
+ more: /* @__PURE__ */ __name(function() {
1326
+ this._more = true;
1327
+ return this;
1328
+ }, "more"),
1329
+ reject: /* @__PURE__ */ __name(function() {
1330
+ if (this.options.backtrack_lexer) this._backtrack = true;
1331
+ 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(), {
1332
+ text: "",
1333
+ token: null,
1334
+ line: this.yylineno
1335
+ });
1336
+ return this;
1337
+ }, "reject"),
1338
+ less: /* @__PURE__ */ __name(function(n) {
1339
+ this.unput(this.match.slice(n));
1340
+ }, "less"),
1341
+ pastInput: /* @__PURE__ */ __name(function() {
1342
+ var past = this.matched.substr(0, this.matched.length - this.match.length);
1343
+ return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
1344
+ }, "pastInput"),
1345
+ upcomingInput: /* @__PURE__ */ __name(function() {
1346
+ var next = this.match;
1347
+ if (next.length < 20) next += this._input.substr(0, 20 - next.length);
1348
+ return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
1349
+ }, "upcomingInput"),
1350
+ showPosition: /* @__PURE__ */ __name(function() {
1351
+ var pre = this.pastInput();
1352
+ var c = new Array(pre.length + 1).join("-");
1353
+ return pre + this.upcomingInput() + "\n" + c + "^";
1354
+ }, "showPosition"),
1355
+ test_match: /* @__PURE__ */ __name(function(match, indexed_rule) {
1356
+ var token, lines, backup;
1357
+ if (this.options.backtrack_lexer) {
1358
+ backup = {
1359
+ yylineno: this.yylineno,
1360
+ yylloc: {
1361
+ first_line: this.yylloc.first_line,
1362
+ last_line: this.last_line,
1363
+ first_column: this.yylloc.first_column,
1364
+ last_column: this.yylloc.last_column
1365
+ },
1366
+ yytext: this.yytext,
1367
+ match: this.match,
1368
+ matches: this.matches,
1369
+ matched: this.matched,
1370
+ yyleng: this.yyleng,
1371
+ offset: this.offset,
1372
+ _more: this._more,
1373
+ _input: this._input,
1374
+ yy: this.yy,
1375
+ conditionStack: this.conditionStack.slice(0),
1376
+ done: this.done
1377
+ };
1378
+ if (this.options.ranges) backup.yylloc.range = this.yylloc.range.slice(0);
1379
+ }
1380
+ lines = match[0].match(/(?:\r\n?|\n).*/g);
1381
+ if (lines) this.yylineno += lines.length;
1382
+ this.yylloc = {
1383
+ first_line: this.yylloc.last_line,
1384
+ last_line: this.yylineno + 1,
1385
+ first_column: this.yylloc.last_column,
1386
+ last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length
1387
+ };
1388
+ this.yytext += match[0];
1389
+ this.match += match[0];
1390
+ this.matches = match;
1391
+ this.yyleng = this.yytext.length;
1392
+ if (this.options.ranges) this.yylloc.range = [this.offset, this.offset += this.yyleng];
1393
+ this._more = false;
1394
+ this._backtrack = false;
1395
+ this._input = this._input.slice(match[0].length);
1396
+ this.matched += match[0];
1397
+ token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
1398
+ if (this.done && this._input) this.done = false;
1399
+ if (token) return token;
1400
+ else if (this._backtrack) {
1401
+ for (var k in backup) this[k] = backup[k];
1402
+ return false;
1403
+ }
1404
+ return false;
1405
+ }, "test_match"),
1406
+ next: /* @__PURE__ */ __name(function() {
1407
+ if (this.done) return this.EOF;
1408
+ if (!this._input) this.done = true;
1409
+ var token, match, tempMatch, index;
1410
+ if (!this._more) {
1411
+ this.yytext = "";
1412
+ this.match = "";
1413
+ }
1414
+ var rules = this._currentRules();
1415
+ for (var i = 0; i < rules.length; i++) {
1416
+ tempMatch = this._input.match(this.rules[rules[i]]);
1417
+ if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
1418
+ match = tempMatch;
1419
+ index = i;
1420
+ if (this.options.backtrack_lexer) {
1421
+ token = this.test_match(tempMatch, rules[i]);
1422
+ if (token !== false) return token;
1423
+ else if (this._backtrack) {
1424
+ match = false;
1425
+ continue;
1426
+ } else return false;
1427
+ } else if (!this.options.flex) break;
1428
+ }
1429
+ }
1430
+ if (match) {
1431
+ token = this.test_match(match, rules[index]);
1432
+ if (token !== false) return token;
1433
+ return false;
1434
+ }
1435
+ if (this._input === "") return this.EOF;
1436
+ else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1437
+ text: "",
1438
+ token: null,
1439
+ line: this.yylineno
1440
+ });
1441
+ }, "next"),
1442
+ lex: /* @__PURE__ */ __name(function lex() {
1443
+ var r = this.next();
1444
+ if (r) return r;
1445
+ else return this.lex();
1446
+ }, "lex"),
1447
+ begin: /* @__PURE__ */ __name(function begin(condition) {
1448
+ this.conditionStack.push(condition);
1449
+ }, "begin"),
1450
+ popState: /* @__PURE__ */ __name(function popState() {
1451
+ if (this.conditionStack.length - 1 > 0) return this.conditionStack.pop();
1452
+ else return this.conditionStack[0];
1453
+ }, "popState"),
1454
+ _currentRules: /* @__PURE__ */ __name(function _currentRules() {
1455
+ if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
1456
+ else return this.conditions["INITIAL"].rules;
1457
+ }, "_currentRules"),
1458
+ topState: /* @__PURE__ */ __name(function topState(n) {
1459
+ n = this.conditionStack.length - 1 - Math.abs(n || 0);
1460
+ if (n >= 0) return this.conditionStack[n];
1461
+ else return "INITIAL";
1462
+ }, "topState"),
1463
+ pushState: /* @__PURE__ */ __name(function pushState(condition) {
1464
+ this.begin(condition);
1465
+ }, "pushState"),
1466
+ stateStackSize: /* @__PURE__ */ __name(function stateStackSize() {
1467
+ return this.conditionStack.length;
1468
+ }, "stateStackSize"),
1469
+ options: { "case-insensitive": true },
1470
+ performAction: /* @__PURE__ */ __name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
1471
+ switch ($avoiding_name_collisions) {
1472
+ case 0:
1473
+ this.begin("acc_title");
1474
+ return 23;
1475
+ case 1:
1476
+ this.popState();
1477
+ return "acc_title_value";
1478
+ case 2:
1479
+ this.begin("acc_descr");
1480
+ return 25;
1481
+ case 3:
1482
+ this.popState();
1483
+ return "acc_descr_value";
1484
+ case 4:
1485
+ this.begin("acc_descr_multiline");
1486
+ break;
1487
+ case 5:
1488
+ this.popState();
1489
+ break;
1490
+ case 6: return "acc_descr_multiline_value";
1491
+ case 7: return 37;
1492
+ case 8: return 38;
1493
+ case 9: return 39;
1494
+ case 10: return 40;
1495
+ case 11: break;
1496
+ case 12: return 9;
1497
+ case 13: return 53;
1498
+ case 14: return 76;
1499
+ case 15: return 4;
1500
+ case 16:
1501
+ this.begin("block");
1502
+ return 16;
1503
+ case 17: return 52;
1504
+ case 18: return 52;
1505
+ case 19: return 45;
1506
+ case 20: return 14;
1507
+ case 21: return 12;
1508
+ case 22: break;
1509
+ case 23: return 65;
1510
+ case 24: return 61;
1511
+ case 25: return 61;
1512
+ case 26:
1513
+ this.begin("block_bq");
1514
+ break;
1515
+ case 27: return 61;
1516
+ case 28:
1517
+ this.popState();
1518
+ break;
1519
+ case 29: return 66;
1520
+ case 30: break;
1521
+ case 31:
1522
+ this.popState();
1523
+ return 18;
1524
+ case 32: return yy_.yytext[0];
1525
+ case 33: return 19;
1526
+ case 34: return 20;
1527
+ case 35:
1528
+ this.begin("style");
1529
+ return 47;
1530
+ case 36:
1531
+ this.popState();
1532
+ return 9;
1533
+ case 37: break;
1534
+ case 38: return 12;
1535
+ case 39: return 45;
1536
+ case 40: return 52;
1537
+ case 41:
1538
+ this.begin("style");
1539
+ return 41;
1540
+ case 42: return 46;
1541
+ case 43: return 34;
1542
+ case 44: return 33;
1543
+ case 45: return 69;
1544
+ case 46: return 71;
1545
+ case 47: return 71;
1546
+ case 48: return 71;
1547
+ case 49: return 69;
1548
+ case 50: return 69;
1549
+ case 51: return 70;
1550
+ case 52: return 70;
1551
+ case 53: return 70;
1552
+ case 54: return 70;
1553
+ case 55: return 70;
1554
+ case 56: return 71;
1555
+ case 57: return 70;
1556
+ case 58: return 71;
1557
+ case 59: return 72;
1558
+ case 60: return 72;
1559
+ case 61: return 54;
1560
+ case 62: return 72;
1561
+ case 63: return 72;
1562
+ case 64: return 72;
1563
+ case 65: return 55;
1564
+ case 66: return 51;
1565
+ case 67: return 72;
1566
+ case 68: return 69;
1567
+ case 69: return 70;
1568
+ case 70: return 71;
1569
+ case 71: return 73;
1570
+ case 72: return 74;
1571
+ case 73: return 75;
1572
+ case 74: return 75;
1573
+ case 75: return 74;
1574
+ case 76: return 74;
1575
+ case 77: return 74;
1576
+ case 78: return 44;
1577
+ case 79: return 50;
1578
+ case 80: return 43;
1579
+ case 81: return yy_.yytext[0];
1580
+ case 82: return 6;
1581
+ }
1582
+ }, "anonymous"),
1583
+ rules: [
1584
+ /^(?:accTitle\s*:\s*)/i,
1585
+ /^(?:(?!\n||)*[^\n]*)/i,
1586
+ /^(?:accDescr\s*:\s*)/i,
1587
+ /^(?:(?!\n||)*[^\n]*)/i,
1588
+ /^(?:accDescr\s*\{\s*)/i,
1589
+ /^(?:[\}])/i,
1590
+ /^(?:[^\}]*)/i,
1591
+ /^(?:.*direction\s+TB[^\n]*)/i,
1592
+ /^(?:.*direction\s+BT[^\n]*)/i,
1593
+ /^(?:.*direction\s+RL[^\n]*)/i,
1594
+ /^(?:.*direction\s+LR[^\n]*)/i,
1595
+ /^(?:[ \t\r]+)/i,
1596
+ /^(?:[\n]+)/i,
1597
+ /^(?:"[^"%\r\n\v\b\\]+")/i,
1598
+ /^(?:"[^"]*")/i,
1599
+ /^(?:erDiagram\b)/i,
1600
+ /^(?:\{)/i,
1601
+ /^(?:#)/i,
1602
+ /^(?:#)/i,
1603
+ /^(?:,)/i,
1604
+ /^(?::::)/i,
1605
+ /^(?::)/i,
1606
+ /^(?:\s+)/i,
1607
+ /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,
1608
+ /^(?:([^\s]*)[~].*[~]([^\s]*))/i,
1609
+ /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i,
1610
+ /^(?:[`])/i,
1611
+ /^(?:[^`]+)/i,
1612
+ /^(?:[`])/i,
1613
+ /^(?:"[^"]*")/i,
1614
+ /^(?:[\n]+)/i,
1615
+ /^(?:\})/i,
1616
+ /^(?:.)/i,
1617
+ /^(?:\[)/i,
1618
+ /^(?:\])/i,
1619
+ /^(?:style\b)/i,
1620
+ /^(?:[\n]+)/i,
1621
+ /^(?:\s+)/i,
1622
+ /^(?::)/i,
1623
+ /^(?:,)/i,
1624
+ /^(?:#)/i,
1625
+ /^(?:classDef\b)/i,
1626
+ /^(?:class\b)/i,
1627
+ /^(?:subgraph\b)/i,
1628
+ /^(?:end\b\s*)/i,
1629
+ /^(?:one or zero\b)/i,
1630
+ /^(?:one or more\b)/i,
1631
+ /^(?:one or many\b)/i,
1632
+ /^(?:1\+)/i,
1633
+ /^(?:\|o\b)/i,
1634
+ /^(?:zero or one\b)/i,
1635
+ /^(?:zero or more\b)/i,
1636
+ /^(?:zero or many\b)/i,
1637
+ /^(?:0\+)/i,
1638
+ /^(?:\}o\b)/i,
1639
+ /^(?:many\(0\))/i,
1640
+ /^(?:many\(1\))/i,
1641
+ /^(?:many\b)/i,
1642
+ /^(?:\}\|)/i,
1643
+ /^(?:one\b)/i,
1644
+ /^(?:only one\b)/i,
1645
+ /^(?:[0-9]+\.[0-9]+)/i,
1646
+ /^(?:1(?=\s+[A-Za-z_"']))/i,
1647
+ /^(?:1(?=\s+[0-9]))/i,
1648
+ /^(?:1(?=(--|\.\.|\.-|-\.)))/i,
1649
+ /^(?:1\b)/i,
1650
+ /^(?:[0-9]+)/i,
1651
+ /^(?:\|\|)/i,
1652
+ /^(?:o\|)/i,
1653
+ /^(?:o\{)/i,
1654
+ /^(?:\|\{)/i,
1655
+ /^(?:u(?=[\.\-\|]))/i,
1656
+ /^(?:\.\.)/i,
1657
+ /^(?:--)/i,
1658
+ /^(?:to\b)/i,
1659
+ /^(?:optionally to\b)/i,
1660
+ /^(?:\.-)/i,
1661
+ /^(?:-\.)/i,
1662
+ /^(?:([^\x00-\x7F]|\w|-|\*)+)/i,
1663
+ /^(?:;)/i,
1664
+ /^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,
1665
+ /^(?:.)/i,
1666
+ /^(?:$)/i
1667
+ ],
1668
+ conditions: {
1669
+ "style": {
1670
+ "rules": [
1671
+ 36,
1672
+ 37,
1673
+ 38,
1674
+ 39,
1675
+ 40,
1676
+ 78,
1677
+ 79
1678
+ ],
1679
+ "inclusive": false
1680
+ },
1681
+ "acc_descr_multiline": {
1682
+ "rules": [5, 6],
1683
+ "inclusive": false
1684
+ },
1685
+ "acc_descr": {
1686
+ "rules": [3],
1687
+ "inclusive": false
1688
+ },
1689
+ "acc_title": {
1690
+ "rules": [1],
1691
+ "inclusive": false
1692
+ },
1693
+ "block_bq": {
1694
+ "rules": [27, 28],
1695
+ "inclusive": false
1696
+ },
1697
+ "block": {
1698
+ "rules": [
1699
+ 22,
1700
+ 23,
1701
+ 24,
1702
+ 25,
1703
+ 26,
1704
+ 29,
1705
+ 30,
1706
+ 31,
1707
+ 32
1708
+ ],
1709
+ "inclusive": false
1710
+ },
1711
+ "INITIAL": {
1712
+ "rules": [
1713
+ 0,
1714
+ 2,
1715
+ 4,
1716
+ 7,
1717
+ 8,
1718
+ 9,
1719
+ 10,
1720
+ 11,
1721
+ 12,
1722
+ 13,
1723
+ 14,
1724
+ 15,
1725
+ 16,
1726
+ 17,
1727
+ 18,
1728
+ 19,
1729
+ 20,
1730
+ 21,
1731
+ 33,
1732
+ 34,
1733
+ 35,
1734
+ 41,
1735
+ 42,
1736
+ 43,
1737
+ 44,
1738
+ 45,
1739
+ 46,
1740
+ 47,
1741
+ 48,
1742
+ 49,
1743
+ 50,
1744
+ 51,
1745
+ 52,
1746
+ 53,
1747
+ 54,
1748
+ 55,
1749
+ 56,
1750
+ 57,
1751
+ 58,
1752
+ 59,
1753
+ 60,
1754
+ 61,
1755
+ 62,
1756
+ 63,
1757
+ 64,
1758
+ 65,
1759
+ 66,
1760
+ 67,
1761
+ 68,
1762
+ 69,
1763
+ 70,
1764
+ 71,
1765
+ 72,
1766
+ 73,
1767
+ 74,
1768
+ 75,
1769
+ 76,
1770
+ 77,
1771
+ 80,
1772
+ 81,
1773
+ 82
1774
+ ],
1775
+ "inclusive": true
1776
+ }
1777
+ }
1778
+ };
1779
+ })();
1780
+ function Parser() {
1781
+ this.yy = {};
1782
+ }
1783
+ __name(Parser, "Parser");
1784
+ Parser.prototype = parser2;
1785
+ parser2.Parser = Parser;
1786
+ return new Parser();
1787
+ })();
1788
+ parser.parser = parser;
1789
+ var erDiagram_default = parser;
1790
+ var ErDB = class {
1791
+ constructor() {
1792
+ this.entities = /* @__PURE__ */ new Map();
1793
+ this.relationships = [];
1794
+ this.classes = /* @__PURE__ */ new Map();
1795
+ this.subgraphDepth = 0;
1796
+ this.subGraphs = [];
1797
+ this.subGraphLookup = /* @__PURE__ */ new Map();
1798
+ this.subCount = 0;
1799
+ this.direction = "TB";
1800
+ this.Cardinality = {
1801
+ ZERO_OR_ONE: "ZERO_OR_ONE",
1802
+ ZERO_OR_MORE: "ZERO_OR_MORE",
1803
+ ONE_OR_MORE: "ONE_OR_MORE",
1804
+ ONLY_ONE: "ONLY_ONE",
1805
+ MD_PARENT: "MD_PARENT"
1806
+ };
1807
+ this.Identification = {
1808
+ NON_IDENTIFYING: "NON_IDENTIFYING",
1809
+ IDENTIFYING: "IDENTIFYING"
1810
+ };
1811
+ this.setAccTitle = setAccTitle;
1812
+ this.getAccTitle = getAccTitle;
1813
+ this.setAccDescription = setAccDescription;
1814
+ this.getAccDescription = getAccDescription;
1815
+ this.setDiagramTitle = setDiagramTitle;
1816
+ this.getDiagramTitle = getDiagramTitle;
1817
+ this.getConfig = /* @__PURE__ */ __name(() => getConfig2().er, "getConfig");
1818
+ this.clear();
1819
+ this.addEntity = this.addEntity.bind(this);
1820
+ this.addAttributes = this.addAttributes.bind(this);
1821
+ this.addRelationship = this.addRelationship.bind(this);
1822
+ this.setDirection = this.setDirection.bind(this);
1823
+ this.addCssStyles = this.addCssStyles.bind(this);
1824
+ this.addClass = this.addClass.bind(this);
1825
+ this.setClass = this.setClass.bind(this);
1826
+ this.setAccTitle = this.setAccTitle.bind(this);
1827
+ this.setAccDescription = this.setAccDescription.bind(this);
1828
+ this.addSubGraph = this.addSubGraph.bind(this);
1829
+ }
1830
+ static {
1831
+ __name(this, "ErDB");
1832
+ }
1833
+ /**
1834
+ * Add entity
1835
+ * @param name - The name of the entity
1836
+ * @param alias - The alias of the entity
1837
+ */
1838
+ addEntity(name, alias = "") {
1839
+ if (!this.entities.has(name)) {
1840
+ this.entities.set(name, {
1841
+ id: `entity-${name}-${this.entities.size}`,
1842
+ label: name,
1843
+ attributes: [],
1844
+ alias,
1845
+ shape: "erBox",
1846
+ look: getConfig2().look ?? "default",
1847
+ cssClasses: "default",
1848
+ cssStyles: [],
1849
+ labelType: "markdown"
1850
+ });
1851
+ log.info("Added new entity :", name);
1852
+ } else if (!this.entities.get(name)?.alias && alias) {
1853
+ this.entities.get(name).alias = alias;
1854
+ log.info(`Add alias '${alias}' to entity '${name}'`);
1855
+ }
1856
+ return this.entities.get(name);
1857
+ }
1858
+ getEntity(name) {
1859
+ return this.entities.get(name);
1860
+ }
1861
+ getEntities() {
1862
+ return this.entities;
1863
+ }
1864
+ getClasses() {
1865
+ return this.classes;
1866
+ }
1867
+ addAttributes(entityName, attribs) {
1868
+ const entity = this.addEntity(entityName);
1869
+ let i;
1870
+ for (i = attribs.length - 1; i >= 0; i--) {
1871
+ if (!attribs[i].keys) attribs[i].keys = [];
1872
+ if (!attribs[i].comment) attribs[i].comment = "";
1873
+ entity.attributes.push(attribs[i]);
1874
+ log.debug("Added attribute ", attribs[i].name);
1875
+ }
1876
+ }
1877
+ /**
1878
+ * Add a relationship
1879
+ *
1880
+ * @param entA - The first entity in the relationship
1881
+ * @param rolA - The role played by the first entity in relation to the second
1882
+ * @param entB - The second entity in the relationship
1883
+ * @param rSpec - The details of the relationship between the two entities
1884
+ */
1885
+ addRelationship(entA, rolA, entB, rSpec) {
1886
+ let entityAId;
1887
+ if (this.subGraphLookup.has(entA)) entityAId = entA;
1888
+ else {
1889
+ const entityA = this.addEntity(entA);
1890
+ if (!entityA) return;
1891
+ entityAId = entityA.id;
1892
+ }
1893
+ let entityBId;
1894
+ if (this.subGraphLookup.has(entB)) entityBId = entB;
1895
+ else {
1896
+ const entityB = this.addEntity(entB);
1897
+ if (!entityB) return;
1898
+ entityBId = entityB.id;
1899
+ }
1900
+ const rel = {
1901
+ entityA: entityAId,
1902
+ roleA: rolA,
1903
+ entityB: entityBId,
1904
+ relSpec: rSpec
1905
+ };
1906
+ this.relationships.push(rel);
1907
+ log.debug("Added new relationship :", rel);
1908
+ }
1909
+ getRelationships() {
1910
+ return this.relationships;
1911
+ }
1912
+ getDirection() {
1913
+ return this.direction;
1914
+ }
1915
+ setDirection(dir) {
1916
+ this.direction = dir;
1917
+ }
1918
+ getCompiledStyles(classDefs) {
1919
+ let compiledStyles = [];
1920
+ for (const customClass of classDefs) {
1921
+ const cssClass = this.classes.get(customClass);
1922
+ if (cssClass?.styles) compiledStyles = [...compiledStyles, ...cssClass.styles ?? []].map((s) => s.trim());
1923
+ if (cssClass?.textStyles) compiledStyles = [...compiledStyles, ...cssClass.textStyles ?? []].map((s) => s.trim());
1924
+ }
1925
+ return compiledStyles;
1926
+ }
1927
+ addCssStyles(ids, styles) {
1928
+ for (const id of ids) {
1929
+ const entity = this.entities.get(id);
1930
+ const subGraph = this.subGraphLookup.get(id);
1931
+ if (!styles) continue;
1932
+ if (entity) for (const style of styles) entity.cssStyles.push(style);
1933
+ if (subGraph) {
1934
+ if (!subGraph.cssStyles) subGraph.cssStyles = [];
1935
+ for (const style of styles) subGraph.cssStyles.push(style);
1936
+ }
1937
+ }
1938
+ }
1939
+ addClass(ids, style) {
1940
+ ids.forEach((id) => {
1941
+ let classNode = this.classes.get(id);
1942
+ if (classNode === void 0) {
1943
+ classNode = {
1944
+ id,
1945
+ styles: [],
1946
+ textStyles: []
1947
+ };
1948
+ this.classes.set(id, classNode);
1949
+ }
1950
+ if (style) style.forEach(function(s) {
1951
+ if (/color/.exec(s)) {
1952
+ const newStyle = s.replace("fill", "bgFill");
1953
+ classNode.textStyles.push(newStyle);
1954
+ }
1955
+ classNode.styles.push(s);
1956
+ });
1957
+ });
1958
+ }
1959
+ addSubGraph(_id, list, _title) {
1960
+ let id = _id.text.trim();
1961
+ let title = _title.text;
1962
+ const result = (/* @__PURE__ */ __name((a) => {
1963
+ const seen = /* @__PURE__ */ new Set();
1964
+ let dir2;
1965
+ return {
1966
+ nodeList: a.filter((item) => {
1967
+ if (item?.stmt) {
1968
+ if (item.stmt === "dir") dir2 = item.value;
1969
+ return false;
1970
+ }
1971
+ if (typeof item !== "string") return false;
1972
+ const trimmed = item.trim();
1973
+ if (!trimmed) return false;
1974
+ if (seen.has(trimmed)) return false;
1975
+ seen.add(trimmed);
1976
+ return true;
1977
+ }),
1978
+ dir: dir2
1979
+ };
1980
+ }, "uniq"))(list.flat());
1981
+ const nodeList = result.nodeList;
1982
+ const dir = result.dir;
1983
+ id = id ?? "subGraph" + this.subCount;
1984
+ title = title || "";
1985
+ title = this.sanitizeText(title);
1986
+ this.subCount = this.subCount + 1;
1987
+ const subGraph = {
1988
+ id,
1989
+ nodes: nodeList,
1990
+ title: title.trim(),
1991
+ classes: [],
1992
+ cssStyles: [],
1993
+ dir,
1994
+ labelType: this.sanitizeNodeLabelType(_title?.type)
1995
+ };
1996
+ log.info("Adding", subGraph.id, subGraph.nodes, subGraph.dir);
1997
+ subGraph.nodes = this.makeUniq(subGraph, this.subGraphs).nodes;
1998
+ this.subGraphs.push(subGraph);
1999
+ this.subGraphLookup.set(id, subGraph);
2000
+ return id;
2001
+ }
2002
+ getSubGraphs() {
2003
+ return this.subGraphs;
2004
+ }
2005
+ setClass(ids, classNames) {
2006
+ for (const id of ids) {
2007
+ const entity = this.entities.get(id);
2008
+ if (entity) for (const className of classNames) entity.cssClasses += " " + className;
2009
+ const subGraph = this.subGraphLookup.get(id);
2010
+ if (subGraph) for (const className of classNames) subGraph.classes.push(className);
2011
+ }
2012
+ }
2013
+ /**
2014
+ * Build a quick lookup for all node IDs already assigned to existing subgraphs.
2015
+ */
2016
+ subgraphNodeCache(allSubgraphs) {
2017
+ const nodeCache = /* @__PURE__ */ new Set();
2018
+ for (const subGraph of allSubgraphs) for (const id of subGraph.nodes) nodeCache.add(id);
2019
+ return nodeCache;
2020
+ }
2021
+ /**
2022
+ * Filter out nodes that are already part of another subgraph,
2023
+ * keeping subgraph membership unique.
2024
+ */
2025
+ makeUniq(subGraph, allSubgraphs) {
2026
+ const existingNodes = this.subgraphNodeCache(allSubgraphs);
2027
+ const res = [];
2028
+ subGraph.nodes.forEach((_id, pos) => {
2029
+ if (existingNodes.has(_id)) log.warn(`Entity '${_id}' already belongs to another subgraph and will be ignored`);
2030
+ else res.push(subGraph.nodes[pos]);
2031
+ });
2032
+ return { nodes: res };
2033
+ }
2034
+ sanitizeText(txt) {
2035
+ return common_default.sanitizeText(txt, getConfig2());
2036
+ }
2037
+ sanitizeNodeLabelType(labelType) {
2038
+ switch (labelType) {
2039
+ case "markdown":
2040
+ case "string":
2041
+ case "text": return labelType;
2042
+ default: return "markdown";
2043
+ }
2044
+ }
2045
+ clear() {
2046
+ this.entities = /* @__PURE__ */ new Map();
2047
+ this.classes = /* @__PURE__ */ new Map();
2048
+ this.relationships = [];
2049
+ this.subGraphs = [];
2050
+ this.subGraphLookup = /* @__PURE__ */ new Map();
2051
+ this.subCount = 0;
2052
+ this.subgraphDepth = 0;
2053
+ clear();
2054
+ }
2055
+ getData() {
2056
+ const nodes = [];
2057
+ const edges = [];
2058
+ const config = getConfig2();
2059
+ const subGraphs = this.getSubGraphs();
2060
+ const parentDB = /* @__PURE__ */ new Map();
2061
+ const subGraphDB = /* @__PURE__ */ new Map();
2062
+ for (let i = subGraphs.length - 1; i >= 0; i--) {
2063
+ const subGraph = subGraphs[i];
2064
+ if (subGraph.nodes.length > 0) subGraphDB.set(subGraph.id, true);
2065
+ for (const id of subGraph.nodes) parentDB.set(id, subGraph.id);
2066
+ }
2067
+ for (let i = subGraphs.length - 1; i >= 0; i--) {
2068
+ const subGraph = subGraphs[i];
2069
+ nodes.push({
2070
+ id: subGraph.id,
2071
+ label: subGraph.title,
2072
+ labelStyle: "",
2073
+ labelType: subGraph.labelType,
2074
+ parentId: parentDB.get(subGraph.id),
2075
+ padding: 8,
2076
+ cssCompiledStyles: this.getCompiledStyles(subGraph.classes),
2077
+ cssStyles: subGraph.cssStyles,
2078
+ cssClasses: subGraph.classes.join(" "),
2079
+ shape: "rect",
2080
+ dir: subGraph.dir,
2081
+ isGroup: true,
2082
+ look: config.look
2083
+ });
2084
+ }
2085
+ const subGraphIds = new Set(subGraphs.map((sg) => sg.id));
2086
+ let colorIndex = 0;
2087
+ for (const entityKey of this.entities.keys()) {
2088
+ if (subGraphIds.has(entityKey)) continue;
2089
+ const entityNode = this.entities.get(entityKey);
2090
+ if (entityNode) {
2091
+ entityNode.cssCompiledStyles = this.getCompiledStyles(entityNode.cssClasses.split(" "));
2092
+ entityNode.colorIndex = colorIndex++;
2093
+ nodes.push({
2094
+ ...entityNode,
2095
+ parentId: parentDB.get(entityKey),
2096
+ isGroup: false
2097
+ });
2098
+ }
2099
+ }
2100
+ let count = 0;
2101
+ for (const relationship of this.relationships) {
2102
+ const edge = {
2103
+ id: getEdgeId(relationship.entityA, relationship.entityB, {
2104
+ prefix: "id",
2105
+ counter: count++
2106
+ }),
2107
+ type: "normal",
2108
+ curve: "basis",
2109
+ start: relationship.entityA,
2110
+ end: relationship.entityB,
2111
+ label: relationship.roleA,
2112
+ labelpos: "c",
2113
+ thickness: "normal",
2114
+ classes: "relationshipLine",
2115
+ arrowTypeStart: relationship.relSpec.cardB.toLowerCase(),
2116
+ arrowTypeEnd: relationship.relSpec.cardA.toLowerCase(),
2117
+ pattern: relationship.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
2118
+ look: config.look,
2119
+ labelType: "markdown"
2120
+ };
2121
+ edges.push(edge);
2122
+ }
2123
+ return {
2124
+ nodes,
2125
+ edges,
2126
+ other: {},
2127
+ config,
2128
+ direction: this.direction
2129
+ };
2130
+ }
2131
+ };
2132
+ var erRenderer_unified_exports = {};
2133
+ __export(erRenderer_unified_exports, { draw: () => draw });
2134
+ var draw = /* @__PURE__ */ __name(async function(text, id, _version, diag) {
2135
+ log.info("REF0:");
2136
+ log.info("Drawing er diagram (unified)", id);
2137
+ const { securityLevel, er: conf, layout } = getConfig2();
2138
+ const data4Layout = diag.db.getData();
2139
+ const svg = getDiagramElement(id, securityLevel);
2140
+ data4Layout.type = diag.type;
2141
+ data4Layout.layoutAlgorithm = getRegisteredLayoutAlgorithm(layout);
2142
+ data4Layout.config.flowchart.nodeSpacing = conf?.nodeSpacing || 140;
2143
+ data4Layout.config.flowchart.rankSpacing = conf?.rankSpacing || 80;
2144
+ data4Layout.direction = diag.db.getDirection();
2145
+ const { config } = data4Layout;
2146
+ const { look } = config;
2147
+ if (look === "neo") data4Layout.markers = [
2148
+ "only_one_neo",
2149
+ "zero_or_one_neo",
2150
+ "one_or_more_neo",
2151
+ "zero_or_more_neo"
2152
+ ];
2153
+ else data4Layout.markers = [
2154
+ "only_one",
2155
+ "zero_or_one",
2156
+ "one_or_more",
2157
+ "zero_or_more"
2158
+ ];
2159
+ data4Layout.diagramId = id;
2160
+ await render(data4Layout, svg);
2161
+ const backgroundNodes = svg.selectAll("[id*=\"-background\"]");
2162
+ if (Array.from(backgroundNodes).length > 0) backgroundNodes.each(function() {
2163
+ const backgroundNode = select_default(this);
2164
+ const nonBackgroundId = backgroundNode.attr("id").replace("-background", "");
2165
+ const nonBackgroundNode = svg.select(`#${CSS.escape(nonBackgroundId)}`);
2166
+ if (!nonBackgroundNode.empty()) {
2167
+ const transform = nonBackgroundNode.attr("transform");
2168
+ backgroundNode.attr("transform", transform);
2169
+ }
2170
+ });
2171
+ const padding = 8;
2172
+ utils_default.insertTitle(svg, "erDiagramTitleText", conf?.titleTopMargin ?? 25, diag.db.getDiagramTitle());
2173
+ setupViewPortForSVG(svg, padding, "erDiagram", conf?.useMaxWidth ?? true);
2174
+ }, "draw");
2175
+ var fade = /* @__PURE__ */ __name((color, opacity) => {
2176
+ const channel2 = channel;
2177
+ const r = channel2(color, "r");
2178
+ const g = channel2(color, "g");
2179
+ const b = channel2(color, "b");
2180
+ return rgba(r, g, b, opacity);
2181
+ }, "fade");
2182
+ var genColor = /* @__PURE__ */ __name((options) => {
2183
+ const { theme, bkgColorArray, borderColorArray } = options;
2184
+ if (!isColorTheme(theme, borderColorArray)) return "";
2185
+ const look = safeLook(options.look);
2186
+ const hasBkgColors = hasPalette(bkgColorArray);
2187
+ let sections = "";
2188
+ for (let i = 0; i < paletteSlotCount(borderColorArray); i++) {
2189
+ const borderColor = borderColorArray[i];
2190
+ const fill = hasBkgColors ? `fill: ${bkgColorArray[i % bkgColorArray.length]};` : "";
2191
+ sections += `
2192
+
2193
+ [data-look="${look}"][data-color-id="color-${i}"].node path {
2194
+ stroke: ${borderColor};
2195
+ ${fill}
2196
+ }
2197
+
2198
+ [data-look="${look}"][data-color-id="color-${i}"].node rect {
2199
+ stroke: ${borderColor};
2200
+ ${fill}
2201
+ }
2202
+ `;
2203
+ }
2204
+ return sections;
2205
+ }, "genColor");
2206
+ var diagram = {
2207
+ parser: erDiagram_default,
2208
+ get db() {
2209
+ return new ErDB();
2210
+ },
2211
+ renderer: erRenderer_unified_exports,
2212
+ styles: /* @__PURE__ */ __name((options) => {
2213
+ const { look, theme, erEdgeLabelBackground, strokeWidth } = options;
2214
+ return `
2215
+ ${genColor(options)}
2216
+ .entityBox {
2217
+ fill: ${options.mainBkg};
2218
+ stroke: ${options.nodeBorder};
2219
+ }
2220
+
2221
+ .relationshipLabelBox {
2222
+ fill: ${options.tertiaryColor};
2223
+ opacity: 0.7;
2224
+ background-color: ${options.tertiaryColor};
2225
+ rect {
2226
+ opacity: 0.5;
2227
+ }
2228
+ }
2229
+
2230
+ .labelBkg {
2231
+ background-color: ${COLOR_THEMES.has(theme) && erEdgeLabelBackground ? erEdgeLabelBackground : fade(options.tertiaryColor, .5)};
2232
+ }
2233
+
2234
+ .edgeLabel {
2235
+ background-color: ${COLOR_THEMES.has(theme) && erEdgeLabelBackground ? erEdgeLabelBackground : options.edgeLabelBackground};
2236
+ }
2237
+ .edgeLabel .label rect {
2238
+ fill: ${COLOR_THEMES.has(theme) && erEdgeLabelBackground ? erEdgeLabelBackground : options.edgeLabelBackground};
2239
+ }
2240
+ .edgeLabel .label text {
2241
+ fill: ${options.textColor};
2242
+ }
2243
+
2244
+ .edgeLabel .label {
2245
+ fill: ${options.nodeBorder};
2246
+ font-size: 14px;
2247
+ }
2248
+
2249
+ .label {
2250
+ font-family: ${options.fontFamily};
2251
+ color: ${options.nodeTextColor || options.textColor};
2252
+ }
2253
+
2254
+ .edge-pattern-dashed {
2255
+ stroke-dasharray: 8,8;
2256
+ }
2257
+
2258
+ .node rect,
2259
+ .node circle,
2260
+ .node ellipse,
2261
+ .node polygon
2262
+ {
2263
+ fill: ${options.mainBkg};
2264
+ stroke: ${options.nodeBorder};
2265
+ stroke-width: ${look === "neo" ? strokeWidth : "1px"};
2266
+ }
2267
+
2268
+ .relationshipLine {
2269
+ stroke: ${options.lineColor};
2270
+ stroke-width: ${look === "neo" ? strokeWidth : "1px"};
2271
+ fill: none;
2272
+ }
2273
+
2274
+ .marker {
2275
+ fill: none !important;
2276
+ stroke: ${options.lineColor} !important;
2277
+ stroke-width: 1;
2278
+ }
2279
+ [data-look=neo].labelBkg {
2280
+ background-color: ${fade(options.tertiaryColor, .5)};
2281
+ }
2282
+
2283
+ .cluster rect {
2284
+ fill: ${options.clusterBkg ?? options.mainBkg};
2285
+ stroke: ${options.clusterBorder ?? options.nodeBorder};
2286
+ stroke-width: 1px;
2287
+ }
2288
+
2289
+ .cluster text {
2290
+ fill: ${options.titleColor ?? options.textColor};
2291
+ }
2292
+
2293
+ .cluster-label text {
2294
+ fill: ${options.titleColor ?? options.textColor};
2295
+ }
2296
+ `;
2297
+ }, "getStyles")
2298
+ };
2299
+
2300
+ //#endregion
2301
+ export { diagram };