react-docs-ui 0.6.17 → 0.6.19

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 (150) hide show
  1. package/dist/{AIChatDialog-W60DtiEW.js → AIChatDialog-BnAX3dRn.js} +2 -2
  2. package/dist/{AISelectionTrigger-MaBGhxTE.js → AISelectionTrigger-SLyb8Vep.js} +2 -2
  3. package/dist/{AISettingsPanel-aiMnncnQ.js → AISettingsPanel-Bsd_wLP4.js} +3 -3
  4. package/dist/{DocsApp-BN6Bo0YD.js → DocsApp-CybQmyB8.js} +3669 -3285
  5. package/dist/{GlobalContextMenu-DG6x5Y5w.js → GlobalContextMenu-BtVjQk0v.js} +1 -1
  6. package/dist/{MdxContent-CMB8ZbXo.js → MdxContent-CH9GcMIg.js} +310 -306
  7. package/dist/{MdxContent.lazy-C4rcCv4v.js → MdxContent.lazy-D7XJ-ZHl.js} +1 -1
  8. package/dist/{SearchDialog-tUSKKsxW.js → SearchDialog-DWVre6R9.js} +66 -56
  9. package/dist/{SearchRuntime-5fXpxDsi.js → SearchRuntime-D0rSMKV3.js} +6 -5
  10. package/dist/_basePickBy-D8oNWNf8.js +166 -0
  11. package/dist/_baseUniq-DHuXxixa.js +682 -0
  12. package/dist/arc-j69r3jDe.js +80 -0
  13. package/dist/architecture-PBZL5I3N-DvHexcWL.js +3 -0
  14. package/dist/architectureDiagram-2XIMDMQ5-DmhcSwl7.js +4045 -0
  15. package/dist/array-DHiPsILf.js +6 -0
  16. package/dist/blockDiagram-WCTKOSBZ-B6A-w3LB.js +3025 -0
  17. package/dist/c4Diagram-IC4MRINW-AmEpu2Zd.js +2964 -0
  18. package/dist/channel-CqxMgZ5t.js +5 -0
  19. package/dist/chunk-4BX2VUAB-D3p73nhw.js +8 -0
  20. package/dist/chunk-55IACEB6-CLgZJbYv.js +8 -0
  21. package/dist/chunk-7E7YKBS2-CKRA8Egz.js +23 -0
  22. package/dist/chunk-7R4GIKGN-C19ZEV_b.js +2596 -0
  23. package/dist/chunk-C72U2L5F-B6IP-vol.js +23 -0
  24. package/dist/chunk-EGIJ26TM-Cw4ft_Ra.js +23 -0
  25. package/dist/chunk-FMBD7UC4-D-Ronn4l.js +5 -0
  26. package/dist/chunk-GEFDOKGD-8e2771NL.js +1121 -0
  27. package/dist/chunk-GLR3WWYH-ShSppUzV.js +41 -0
  28. package/dist/chunk-HHEYEP7N-CU-ZzGab.js +9 -0
  29. package/dist/chunk-JSJVCQXG-D49UMhzO.js +60 -0
  30. package/dist/chunk-KX2RTZJC-BDcxmH0D.js +25 -0
  31. package/dist/chunk-KYZI473N-B9L8Kk83.js +3434 -0
  32. package/dist/chunk-L3YUKLVL-CEVeJJT9.js +23 -0
  33. package/dist/chunk-MX3YWQON-CVZUx3EI.js +80 -0
  34. package/dist/chunk-NBPlniwU.js +23 -0
  35. package/dist/chunk-NQ4KR5QH-BWRGvKed.js +2002 -0
  36. package/dist/chunk-O4XLMI2P-BlC0d_Zr.js +511 -0
  37. package/dist/chunk-OZEHJAEY-BuORg3qI.js +64 -0
  38. package/dist/chunk-PQ6SQG4A-BggLWIDB.js +67 -0
  39. package/dist/chunk-PU5JKC2W-CeOPBYeP.js +1885 -0
  40. package/dist/chunk-QZHKN3VN-3LiJhn2O.js +15 -0
  41. package/dist/chunk-R5LLSJPH-B8KdhC9h.js +35 -0
  42. package/dist/chunk-WL4C6EOR-DLbU3P3W.js +3194 -0
  43. package/dist/chunk-XIRO2GV7-Bv7JEVD4.js +30 -0
  44. package/dist/chunk-XPW4576I-Bu03pPNP.js +1146 -0
  45. package/dist/chunk-XZSTWKYB-CpQJcKKv.js +15797 -0
  46. package/dist/chunk-YBOYWFTD-BAPGCoDq.js +32 -0
  47. package/dist/classDiagram-VBA2DB6C-D4y64v83.js +29 -0
  48. package/dist/classDiagram-v2-RAHNMMFH-DXkt0Wd4.js +29 -0
  49. package/dist/clone-B2fVtDap.js +8 -0
  50. package/dist/cose-bilkent-S5V4N54A-BX63fiTJ.js +2250 -0
  51. package/dist/cytoscape.esm-D1tmL96B.js +18100 -0
  52. package/dist/dagre-BM10A37c.js +1483 -0
  53. package/dist/dagre-KLK3FWXG-BkGeaeJf.js +294 -0
  54. package/dist/defaultLocale-CS9riXxY.js +201 -0
  55. package/dist/diagram-E7M64L7V-BCpOexcP.js +527 -0
  56. package/dist/diagram-IFDJBPK2-lSNeST-Z.js +213 -0
  57. package/dist/diagram-P4PSJMXO-Dd8HMHpS.js +133 -0
  58. package/dist/dist-DeXxBykG.js +50 -0
  59. package/dist/docs-app.es.js +1 -1
  60. package/dist/erDiagram-INFDFZHY-DjNq2UqZ.js +1666 -0
  61. package/dist/flowDiagram-PKNHOUZH-AUeVhXRc.js +4161 -0
  62. package/dist/ganttDiagram-A5KZAMGK-DZIM1zx8.js +3072 -0
  63. package/dist/gitGraph-HDMCJU4V-BiirFMfI.js +3 -0
  64. package/dist/gitGraphDiagram-K3NZZRJ6-CpR0vINe.js +625 -0
  65. package/dist/graphlib-DOjl69i0.js +225 -0
  66. package/dist/info-3K5VOQVL-CfGgZztt.js +3 -0
  67. package/dist/infoDiagram-LFFYTUFH-DAJ9foHI.js +19 -0
  68. package/dist/init-B4NvJPDj.js +15 -0
  69. package/dist/isArrayLikeObject-DLIYDRni.js +578 -0
  70. package/dist/isEmpty-DhbfzuZy.js +35 -0
  71. package/dist/ishikawaDiagram-PHBUUO56-B7xss2de.js +717 -0
  72. package/dist/journeyDiagram-4ABVD52K-BbX80Gcw.js +883 -0
  73. package/dist/kanban-definition-K7BYSVSG-BQ87hifQ.js +971 -0
  74. package/dist/line-DfLnhEwA.js +34 -0
  75. package/dist/linear-CWB56ned.js +289 -0
  76. package/dist/math-DHDNczAo.js +10 -0
  77. package/dist/{shiki-highlighter-BmQSSJpS.js → mdx-components-m1cGPhc8.js} +1437 -1338
  78. package/dist/mermaid-parser.core-l4wHnGuN.js +59 -0
  79. package/dist/mermaid.core-CtkJeRVj.js +919 -0
  80. package/dist/mindmap-definition-YRQLILUH-Cnl-qPDR.js +964 -0
  81. package/dist/ordinal-CD64W6lf.js +65 -0
  82. package/dist/packet-RMMSAZCW-DfA9M99B.js +3 -0
  83. package/dist/path-BjiRrKY7.js +85 -0
  84. package/dist/pie-UPGHQEXC-Bujrkgkt.js +3 -0
  85. package/dist/pieDiagram-SKSYHLDU-xow4mVuZ.js +165 -0
  86. package/dist/quadrantDiagram-337W2JSQ-CV2tMWXO.js +1974 -0
  87. package/dist/radar-KQ55EAFF-DEzDT04F.js +3 -0
  88. package/dist/react-docs-ui.css +1 -1
  89. package/dist/react-docs-ui.es.js +19 -19
  90. package/dist/requirementDiagram-Z7DCOOCP-Bx6NAgqy.js +2201 -0
  91. package/dist/rough.esm-BOvWpVpy.js +1352 -0
  92. package/dist/sankeyDiagram-WA2Y5GQK-CvTU-CXN.js +920 -0
  93. package/dist/sequenceDiagram-2WXFIKYE-1wYHvZEI.js +4109 -0
  94. package/dist/src-DI0MZP4m.js +2146 -0
  95. package/dist/stateDiagram-RAJIS63D-DFmbSHPX.js +217 -0
  96. package/dist/stateDiagram-v2-FVOUBMTO-TjYtTjLB.js +27 -0
  97. package/dist/timeline-definition-YZTLITO2-BAK411Yg.js +830 -0
  98. package/dist/treemap-KZPCXAKY-DThdSsPR.js +3 -0
  99. package/dist/types/components/AnnouncementBar.d.ts +12 -0
  100. package/dist/types/components/AnnouncementBar.d.ts.map +1 -0
  101. package/dist/types/components/DocsLayout.d.ts +10 -2
  102. package/dist/types/components/DocsLayout.d.ts.map +1 -1
  103. package/dist/types/components/HeaderNav.d.ts +17 -1
  104. package/dist/types/components/HeaderNav.d.ts.map +1 -1
  105. package/dist/types/components/MdxContent.d.ts.map +1 -1
  106. package/dist/types/components/MobileSidebar.d.ts +2 -1
  107. package/dist/types/components/MobileSidebar.d.ts.map +1 -1
  108. package/dist/types/components/PageFeedback.d.ts +11 -0
  109. package/dist/types/components/PageFeedback.d.ts.map +1 -0
  110. package/dist/types/components/PageMetaActions.d.ts +15 -0
  111. package/dist/types/components/PageMetaActions.d.ts.map +1 -0
  112. package/dist/types/components/PageNavigation.d.ts +2 -1
  113. package/dist/types/components/PageNavigation.d.ts.map +1 -1
  114. package/dist/types/components/SearchLauncher.d.ts +2 -1
  115. package/dist/types/components/SearchLauncher.d.ts.map +1 -1
  116. package/dist/types/components/SidebarNav.d.ts +2 -1
  117. package/dist/types/components/SidebarNav.d.ts.map +1 -1
  118. package/dist/types/components/mdx-components/Mermaid.d.ts +6 -0
  119. package/dist/types/components/mdx-components/Mermaid.d.ts.map +1 -0
  120. package/dist/types/components/mdx-components/Tabs.d.ts +13 -0
  121. package/dist/types/components/mdx-components/Tabs.d.ts.map +1 -0
  122. package/dist/types/components/mdx-components/index.d.ts +2 -0
  123. package/dist/types/components/mdx-components/index.d.ts.map +1 -1
  124. package/dist/types/components/search/SearchProvider.d.ts +2 -1
  125. package/dist/types/components/search/SearchProvider.d.ts.map +1 -1
  126. package/dist/types/components/search/SearchRuntime.d.ts +2 -1
  127. package/dist/types/components/search/SearchRuntime.d.ts.map +1 -1
  128. package/dist/types/lib/component-scanner.d.ts.map +1 -1
  129. package/dist/types/lib/config.d.ts +52 -0
  130. package/dist/types/lib/config.d.ts.map +1 -1
  131. package/dist/types/lib/navigation.d.ts +1 -1
  132. package/dist/types/lib/navigation.d.ts.map +1 -1
  133. package/dist/types/lib/page-meta.d.ts +16 -0
  134. package/dist/types/lib/page-meta.d.ts.map +1 -0
  135. package/dist/types/lib/search/build/index-generator.d.ts.map +1 -1
  136. package/dist/types/lib/search/build/types.d.ts +1 -0
  137. package/dist/types/lib/search/build/types.d.ts.map +1 -1
  138. package/dist/types/lib/search/runtime/search-engine.d.ts.map +1 -1
  139. package/dist/types/lib/search/runtime/types.d.ts +1 -0
  140. package/dist/types/lib/search/runtime/types.d.ts.map +1 -1
  141. package/dist/types/lib/versioning.d.ts +6 -0
  142. package/dist/types/lib/versioning.d.ts.map +1 -0
  143. package/dist/vennDiagram-LZ73GAT5-B7dft0U9.js +1858 -0
  144. package/dist/xychartDiagram-JWTSCODW-CXtfEnJM.js +2041 -0
  145. package/package.json +6 -2
  146. /package/dist/{AIProvider-C1_b1iKH.js → AIProvider-niZNPSGi.js} +0 -0
  147. /package/dist/{context-menu-CB7erSoV.js → context-menu-BIQsQup7.js} +0 -0
  148. /package/dist/{dialog-DQ6nkP0y.js → dialog-D8otbqQL.js} +0 -0
  149. /package/dist/{mdx-components-Dxpipc50.js → mdx-components-TEc3uhbY.js} +0 -0
  150. /package/dist/{use-toast-d9VPBjMn.js → use-toast-DK69oadB.js} +0 -0
@@ -0,0 +1,1666 @@
1
+ import { h as e, s as t } from "./chunk-GEFDOKGD-8e2771NL.js";
2
+ import { g as n, h as r, m as i, p as a } from "./src-DI0MZP4m.js";
3
+ import { B as o, C as s, V as c, W as l, _ as u, a as d, b as f, nt as p, v as m } from "./chunk-7R4GIKGN-C19ZEV_b.js";
4
+ import { t as h } from "./channel-CqxMgZ5t.js";
5
+ import "./chunk-PU5JKC2W-CeOPBYeP.js";
6
+ import "./chunk-MX3YWQON-CVZUx3EI.js";
7
+ import "./chunk-YBOYWFTD-BAPGCoDq.js";
8
+ import { t as g } from "./chunk-55IACEB6-CLgZJbYv.js";
9
+ import { t as _ } from "./chunk-KX2RTZJC-BDcxmH0D.js";
10
+ import "./chunk-PQ6SQG4A-BggLWIDB.js";
11
+ import "./chunk-KYZI473N-B9L8Kk83.js";
12
+ import "./chunk-O4XLMI2P-BlC0d_Zr.js";
13
+ import { r as v, t as y } from "./chunk-GLR3WWYH-ShSppUzV.js";
14
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-INFDFZHY.mjs
15
+ var b = (function() {
16
+ var e = /* @__PURE__ */ r(function(e, t, n, r) {
17
+ for (n ||= {}, r = e.length; r--; n[e[r]] = t);
18
+ return n;
19
+ }, "o"), t = [
20
+ 6,
21
+ 8,
22
+ 10,
23
+ 22,
24
+ 24,
25
+ 26,
26
+ 28,
27
+ 33,
28
+ 34,
29
+ 35,
30
+ 36,
31
+ 37,
32
+ 40,
33
+ 43,
34
+ 44,
35
+ 48,
36
+ 50,
37
+ 51,
38
+ 52
39
+ ], n = [1, 10], i = [1, 11], a = [1, 12], o = [1, 13], s = [1, 23], c = [1, 24], l = [1, 25], u = [1, 26], d = [1, 27], f = [1, 19], p = [1, 28], m = [1, 29], h = [1, 20], g = [1, 18], _ = [1, 21], v = [1, 22], y = [1, 36], b = [1, 37], x = [1, 38], S = [1, 39], C = [1, 40], w = [
40
+ 6,
41
+ 8,
42
+ 10,
43
+ 13,
44
+ 15,
45
+ 17,
46
+ 20,
47
+ 21,
48
+ 22,
49
+ 24,
50
+ 26,
51
+ 28,
52
+ 33,
53
+ 34,
54
+ 35,
55
+ 36,
56
+ 37,
57
+ 40,
58
+ 43,
59
+ 44,
60
+ 48,
61
+ 50,
62
+ 51,
63
+ 52,
64
+ 65,
65
+ 66,
66
+ 67,
67
+ 68,
68
+ 69
69
+ ], T = [1, 45], E = [1, 46], D = [1, 55], O = [
70
+ 40,
71
+ 48,
72
+ 50,
73
+ 51,
74
+ 52,
75
+ 70,
76
+ 71
77
+ ], k = [1, 66], A = [1, 64], j = [1, 61], M = [1, 65], N = [1, 67], P = [
78
+ 6,
79
+ 8,
80
+ 10,
81
+ 13,
82
+ 17,
83
+ 22,
84
+ 24,
85
+ 26,
86
+ 28,
87
+ 33,
88
+ 34,
89
+ 35,
90
+ 36,
91
+ 37,
92
+ 40,
93
+ 41,
94
+ 42,
95
+ 43,
96
+ 44,
97
+ 48,
98
+ 49,
99
+ 50,
100
+ 51,
101
+ 52,
102
+ 65,
103
+ 66,
104
+ 67,
105
+ 68,
106
+ 69
107
+ ], F = [
108
+ 65,
109
+ 66,
110
+ 67,
111
+ 68,
112
+ 69
113
+ ], I = [1, 84], L = [1, 83], R = [1, 81], z = [1, 82], B = [
114
+ 6,
115
+ 10,
116
+ 42,
117
+ 47
118
+ ], V = [
119
+ 6,
120
+ 10,
121
+ 13,
122
+ 41,
123
+ 42,
124
+ 47,
125
+ 48,
126
+ 49
127
+ ], H = [1, 92], U = [1, 91], W = [1, 90], G = [19, 58], K = [1, 101], q = [1, 100], J = [
128
+ 19,
129
+ 58,
130
+ 60,
131
+ 62
132
+ ], Y = {
133
+ trace: /* @__PURE__ */ r(function() {}, "trace"),
134
+ yy: {},
135
+ symbols_: {
136
+ error: 2,
137
+ start: 3,
138
+ ER_DIAGRAM: 4,
139
+ document: 5,
140
+ EOF: 6,
141
+ line: 7,
142
+ SPACE: 8,
143
+ statement: 9,
144
+ NEWLINE: 10,
145
+ entityName: 11,
146
+ relSpec: 12,
147
+ COLON: 13,
148
+ role: 14,
149
+ STYLE_SEPARATOR: 15,
150
+ idList: 16,
151
+ BLOCK_START: 17,
152
+ attributes: 18,
153
+ BLOCK_STOP: 19,
154
+ SQS: 20,
155
+ SQE: 21,
156
+ title: 22,
157
+ title_value: 23,
158
+ acc_title: 24,
159
+ acc_title_value: 25,
160
+ acc_descr: 26,
161
+ acc_descr_value: 27,
162
+ acc_descr_multiline_value: 28,
163
+ direction: 29,
164
+ classDefStatement: 30,
165
+ classStatement: 31,
166
+ styleStatement: 32,
167
+ direction_tb: 33,
168
+ direction_bt: 34,
169
+ direction_rl: 35,
170
+ direction_lr: 36,
171
+ CLASSDEF: 37,
172
+ stylesOpt: 38,
173
+ separator: 39,
174
+ UNICODE_TEXT: 40,
175
+ STYLE_TEXT: 41,
176
+ COMMA: 42,
177
+ CLASS: 43,
178
+ STYLE: 44,
179
+ style: 45,
180
+ styleComponent: 46,
181
+ SEMI: 47,
182
+ NUM: 48,
183
+ BRKT: 49,
184
+ ENTITY_NAME: 50,
185
+ DECIMAL_NUM: 51,
186
+ ENTITY_ONE: 52,
187
+ attribute: 53,
188
+ attributeType: 54,
189
+ attributeName: 55,
190
+ attributeKeyTypeList: 56,
191
+ attributeComment: 57,
192
+ ATTRIBUTE_WORD: 58,
193
+ attributeKeyType: 59,
194
+ ",": 60,
195
+ ATTRIBUTE_KEY: 61,
196
+ COMMENT: 62,
197
+ cardinality: 63,
198
+ relType: 64,
199
+ ZERO_OR_ONE: 65,
200
+ ZERO_OR_MORE: 66,
201
+ ONE_OR_MORE: 67,
202
+ ONLY_ONE: 68,
203
+ MD_PARENT: 69,
204
+ NON_IDENTIFYING: 70,
205
+ IDENTIFYING: 71,
206
+ WORD: 72,
207
+ $accept: 0,
208
+ $end: 1
209
+ },
210
+ terminals_: {
211
+ 2: "error",
212
+ 4: "ER_DIAGRAM",
213
+ 6: "EOF",
214
+ 8: "SPACE",
215
+ 10: "NEWLINE",
216
+ 13: "COLON",
217
+ 15: "STYLE_SEPARATOR",
218
+ 17: "BLOCK_START",
219
+ 19: "BLOCK_STOP",
220
+ 20: "SQS",
221
+ 21: "SQE",
222
+ 22: "title",
223
+ 23: "title_value",
224
+ 24: "acc_title",
225
+ 25: "acc_title_value",
226
+ 26: "acc_descr",
227
+ 27: "acc_descr_value",
228
+ 28: "acc_descr_multiline_value",
229
+ 33: "direction_tb",
230
+ 34: "direction_bt",
231
+ 35: "direction_rl",
232
+ 36: "direction_lr",
233
+ 37: "CLASSDEF",
234
+ 40: "UNICODE_TEXT",
235
+ 41: "STYLE_TEXT",
236
+ 42: "COMMA",
237
+ 43: "CLASS",
238
+ 44: "STYLE",
239
+ 47: "SEMI",
240
+ 48: "NUM",
241
+ 49: "BRKT",
242
+ 50: "ENTITY_NAME",
243
+ 51: "DECIMAL_NUM",
244
+ 52: "ENTITY_ONE",
245
+ 58: "ATTRIBUTE_WORD",
246
+ 60: ",",
247
+ 61: "ATTRIBUTE_KEY",
248
+ 62: "COMMENT",
249
+ 65: "ZERO_OR_ONE",
250
+ 66: "ZERO_OR_MORE",
251
+ 67: "ONE_OR_MORE",
252
+ 68: "ONLY_ONE",
253
+ 69: "MD_PARENT",
254
+ 70: "NON_IDENTIFYING",
255
+ 71: "IDENTIFYING",
256
+ 72: "WORD"
257
+ },
258
+ productions_: [
259
+ 0,
260
+ [3, 3],
261
+ [5, 0],
262
+ [5, 2],
263
+ [7, 2],
264
+ [7, 1],
265
+ [7, 1],
266
+ [7, 1],
267
+ [9, 5],
268
+ [9, 9],
269
+ [9, 7],
270
+ [9, 7],
271
+ [9, 4],
272
+ [9, 6],
273
+ [9, 3],
274
+ [9, 5],
275
+ [9, 1],
276
+ [9, 3],
277
+ [9, 7],
278
+ [9, 9],
279
+ [9, 6],
280
+ [9, 8],
281
+ [9, 4],
282
+ [9, 6],
283
+ [9, 2],
284
+ [9, 2],
285
+ [9, 2],
286
+ [9, 1],
287
+ [9, 1],
288
+ [9, 1],
289
+ [9, 1],
290
+ [9, 1],
291
+ [29, 1],
292
+ [29, 1],
293
+ [29, 1],
294
+ [29, 1],
295
+ [30, 4],
296
+ [16, 1],
297
+ [16, 1],
298
+ [16, 3],
299
+ [16, 3],
300
+ [31, 3],
301
+ [32, 4],
302
+ [38, 1],
303
+ [38, 3],
304
+ [45, 1],
305
+ [45, 2],
306
+ [39, 1],
307
+ [39, 1],
308
+ [39, 1],
309
+ [46, 1],
310
+ [46, 1],
311
+ [46, 1],
312
+ [46, 1],
313
+ [11, 1],
314
+ [11, 1],
315
+ [11, 1],
316
+ [11, 1],
317
+ [11, 1],
318
+ [18, 1],
319
+ [18, 2],
320
+ [53, 2],
321
+ [53, 3],
322
+ [53, 3],
323
+ [53, 4],
324
+ [54, 1],
325
+ [55, 1],
326
+ [56, 1],
327
+ [56, 3],
328
+ [59, 1],
329
+ [57, 1],
330
+ [12, 3],
331
+ [63, 1],
332
+ [63, 1],
333
+ [63, 1],
334
+ [63, 1],
335
+ [63, 1],
336
+ [64, 1],
337
+ [64, 1],
338
+ [14, 1],
339
+ [14, 1],
340
+ [14, 1]
341
+ ],
342
+ performAction: /* @__PURE__ */ r(function(e, t, n, r, i, a, o) {
343
+ var s = a.length - 1;
344
+ switch (i) {
345
+ case 1: break;
346
+ case 2:
347
+ this.$ = [];
348
+ break;
349
+ case 3:
350
+ a[s - 1].push(a[s]), this.$ = a[s - 1];
351
+ break;
352
+ case 4:
353
+ case 5:
354
+ this.$ = a[s];
355
+ break;
356
+ case 6:
357
+ case 7:
358
+ this.$ = [];
359
+ break;
360
+ case 8:
361
+ r.addEntity(a[s - 4]), r.addEntity(a[s - 2]), r.addRelationship(a[s - 4], a[s], a[s - 2], a[s - 3]);
362
+ break;
363
+ case 9:
364
+ r.addEntity(a[s - 8]), r.addEntity(a[s - 4]), r.addRelationship(a[s - 8], a[s], a[s - 4], a[s - 5]), r.setClass([a[s - 8]], a[s - 6]), r.setClass([a[s - 4]], a[s - 2]);
365
+ break;
366
+ case 10:
367
+ r.addEntity(a[s - 6]), r.addEntity(a[s - 2]), r.addRelationship(a[s - 6], a[s], a[s - 2], a[s - 3]), r.setClass([a[s - 6]], a[s - 4]);
368
+ break;
369
+ case 11:
370
+ r.addEntity(a[s - 6]), r.addEntity(a[s - 4]), r.addRelationship(a[s - 6], a[s], a[s - 4], a[s - 5]), r.setClass([a[s - 4]], a[s - 2]);
371
+ break;
372
+ case 12:
373
+ r.addEntity(a[s - 3]), r.addAttributes(a[s - 3], a[s - 1]);
374
+ break;
375
+ case 13:
376
+ r.addEntity(a[s - 5]), r.addAttributes(a[s - 5], a[s - 1]), r.setClass([a[s - 5]], a[s - 3]);
377
+ break;
378
+ case 14:
379
+ r.addEntity(a[s - 2]);
380
+ break;
381
+ case 15:
382
+ r.addEntity(a[s - 4]), r.setClass([a[s - 4]], a[s - 2]);
383
+ break;
384
+ case 16:
385
+ r.addEntity(a[s]);
386
+ break;
387
+ case 17:
388
+ r.addEntity(a[s - 2]), r.setClass([a[s - 2]], a[s]);
389
+ break;
390
+ case 18:
391
+ r.addEntity(a[s - 6], a[s - 4]), r.addAttributes(a[s - 6], a[s - 1]);
392
+ break;
393
+ case 19:
394
+ r.addEntity(a[s - 8], a[s - 6]), r.addAttributes(a[s - 8], a[s - 1]), r.setClass([a[s - 8]], a[s - 3]);
395
+ break;
396
+ case 20:
397
+ r.addEntity(a[s - 5], a[s - 3]);
398
+ break;
399
+ case 21:
400
+ r.addEntity(a[s - 7], a[s - 5]), r.setClass([a[s - 7]], a[s - 2]);
401
+ break;
402
+ case 22:
403
+ r.addEntity(a[s - 3], a[s - 1]);
404
+ break;
405
+ case 23:
406
+ r.addEntity(a[s - 5], a[s - 3]), r.setClass([a[s - 5]], a[s]);
407
+ break;
408
+ case 24:
409
+ case 25:
410
+ this.$ = a[s].trim(), r.setAccTitle(this.$);
411
+ break;
412
+ case 26:
413
+ case 27:
414
+ this.$ = a[s].trim(), r.setAccDescription(this.$);
415
+ break;
416
+ case 32:
417
+ r.setDirection("TB");
418
+ break;
419
+ case 33:
420
+ r.setDirection("BT");
421
+ break;
422
+ case 34:
423
+ r.setDirection("RL");
424
+ break;
425
+ case 35:
426
+ r.setDirection("LR");
427
+ break;
428
+ case 36:
429
+ this.$ = a[s - 3], r.addClass(a[s - 2], a[s - 1]);
430
+ break;
431
+ case 37:
432
+ case 38:
433
+ case 59:
434
+ case 67:
435
+ this.$ = [a[s]];
436
+ break;
437
+ case 39:
438
+ case 40:
439
+ this.$ = a[s - 2].concat([a[s]]);
440
+ break;
441
+ case 41:
442
+ this.$ = a[s - 2], r.setClass(a[s - 1], a[s]);
443
+ break;
444
+ case 42:
445
+ this.$ = a[s - 3], r.addCssStyles(a[s - 2], a[s - 1]);
446
+ break;
447
+ case 43:
448
+ this.$ = [a[s]];
449
+ break;
450
+ case 44:
451
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
452
+ break;
453
+ case 46:
454
+ this.$ = a[s - 1] + a[s];
455
+ break;
456
+ case 54:
457
+ case 79:
458
+ case 80:
459
+ this.$ = a[s].replace(/"/g, "");
460
+ break;
461
+ case 55:
462
+ case 56:
463
+ case 57:
464
+ case 58:
465
+ case 81:
466
+ this.$ = a[s];
467
+ break;
468
+ case 60:
469
+ a[s].push(a[s - 1]), this.$ = a[s];
470
+ break;
471
+ case 61:
472
+ this.$ = {
473
+ type: a[s - 1],
474
+ name: a[s]
475
+ };
476
+ break;
477
+ case 62:
478
+ this.$ = {
479
+ type: a[s - 2],
480
+ name: a[s - 1],
481
+ keys: a[s]
482
+ };
483
+ break;
484
+ case 63:
485
+ this.$ = {
486
+ type: a[s - 2],
487
+ name: a[s - 1],
488
+ comment: a[s]
489
+ };
490
+ break;
491
+ case 64:
492
+ this.$ = {
493
+ type: a[s - 3],
494
+ name: a[s - 2],
495
+ keys: a[s - 1],
496
+ comment: a[s]
497
+ };
498
+ break;
499
+ case 65:
500
+ case 66:
501
+ case 69:
502
+ this.$ = a[s];
503
+ break;
504
+ case 68:
505
+ a[s - 2].push(a[s]), this.$ = a[s - 2];
506
+ break;
507
+ case 70:
508
+ this.$ = a[s].replace(/"/g, "");
509
+ break;
510
+ case 71:
511
+ this.$ = {
512
+ cardA: a[s],
513
+ relType: a[s - 1],
514
+ cardB: a[s - 2]
515
+ };
516
+ break;
517
+ case 72:
518
+ this.$ = r.Cardinality.ZERO_OR_ONE;
519
+ break;
520
+ case 73:
521
+ this.$ = r.Cardinality.ZERO_OR_MORE;
522
+ break;
523
+ case 74:
524
+ this.$ = r.Cardinality.ONE_OR_MORE;
525
+ break;
526
+ case 75:
527
+ this.$ = r.Cardinality.ONLY_ONE;
528
+ break;
529
+ case 76:
530
+ this.$ = r.Cardinality.MD_PARENT;
531
+ break;
532
+ case 77:
533
+ this.$ = r.Identification.NON_IDENTIFYING;
534
+ break;
535
+ case 78:
536
+ this.$ = r.Identification.IDENTIFYING;
537
+ break;
538
+ }
539
+ }, "anonymous"),
540
+ table: [
541
+ {
542
+ 3: 1,
543
+ 4: [1, 2]
544
+ },
545
+ { 1: [3] },
546
+ e(t, [2, 2], { 5: 3 }),
547
+ {
548
+ 6: [1, 4],
549
+ 7: 5,
550
+ 8: [1, 6],
551
+ 9: 7,
552
+ 10: [1, 8],
553
+ 11: 9,
554
+ 22: n,
555
+ 24: i,
556
+ 26: a,
557
+ 28: o,
558
+ 29: 14,
559
+ 30: 15,
560
+ 31: 16,
561
+ 32: 17,
562
+ 33: s,
563
+ 34: c,
564
+ 35: l,
565
+ 36: u,
566
+ 37: d,
567
+ 40: f,
568
+ 43: p,
569
+ 44: m,
570
+ 48: h,
571
+ 50: g,
572
+ 51: _,
573
+ 52: v
574
+ },
575
+ e(t, [2, 7], { 1: [2, 1] }),
576
+ e(t, [2, 3]),
577
+ {
578
+ 9: 30,
579
+ 11: 9,
580
+ 22: n,
581
+ 24: i,
582
+ 26: a,
583
+ 28: o,
584
+ 29: 14,
585
+ 30: 15,
586
+ 31: 16,
587
+ 32: 17,
588
+ 33: s,
589
+ 34: c,
590
+ 35: l,
591
+ 36: u,
592
+ 37: d,
593
+ 40: f,
594
+ 43: p,
595
+ 44: m,
596
+ 48: h,
597
+ 50: g,
598
+ 51: _,
599
+ 52: v
600
+ },
601
+ e(t, [2, 5]),
602
+ e(t, [2, 6]),
603
+ e(t, [2, 16], {
604
+ 12: 31,
605
+ 63: 35,
606
+ 15: [1, 32],
607
+ 17: [1, 33],
608
+ 20: [1, 34],
609
+ 65: y,
610
+ 66: b,
611
+ 67: x,
612
+ 68: S,
613
+ 69: C
614
+ }),
615
+ { 23: [1, 41] },
616
+ { 25: [1, 42] },
617
+ { 27: [1, 43] },
618
+ e(t, [2, 27]),
619
+ e(t, [2, 28]),
620
+ e(t, [2, 29]),
621
+ e(t, [2, 30]),
622
+ e(t, [2, 31]),
623
+ e(w, [2, 54]),
624
+ e(w, [2, 55]),
625
+ e(w, [2, 56]),
626
+ e(w, [2, 57]),
627
+ e(w, [2, 58]),
628
+ e(t, [2, 32]),
629
+ e(t, [2, 33]),
630
+ e(t, [2, 34]),
631
+ e(t, [2, 35]),
632
+ {
633
+ 16: 44,
634
+ 40: T,
635
+ 41: E
636
+ },
637
+ {
638
+ 16: 47,
639
+ 40: T,
640
+ 41: E
641
+ },
642
+ {
643
+ 16: 48,
644
+ 40: T,
645
+ 41: E
646
+ },
647
+ e(t, [2, 4]),
648
+ {
649
+ 11: 49,
650
+ 40: f,
651
+ 48: h,
652
+ 50: g,
653
+ 51: _,
654
+ 52: v
655
+ },
656
+ {
657
+ 16: 50,
658
+ 40: T,
659
+ 41: E
660
+ },
661
+ {
662
+ 18: 51,
663
+ 19: [1, 52],
664
+ 53: 53,
665
+ 54: 54,
666
+ 58: D
667
+ },
668
+ {
669
+ 11: 56,
670
+ 40: f,
671
+ 48: h,
672
+ 50: g,
673
+ 51: _,
674
+ 52: v
675
+ },
676
+ {
677
+ 64: 57,
678
+ 70: [1, 58],
679
+ 71: [1, 59]
680
+ },
681
+ e(O, [2, 72]),
682
+ e(O, [2, 73]),
683
+ e(O, [2, 74]),
684
+ e(O, [2, 75]),
685
+ e(O, [2, 76]),
686
+ e(t, [2, 24]),
687
+ e(t, [2, 25]),
688
+ e(t, [2, 26]),
689
+ {
690
+ 13: k,
691
+ 38: 60,
692
+ 41: A,
693
+ 42: j,
694
+ 45: 62,
695
+ 46: 63,
696
+ 48: M,
697
+ 49: N
698
+ },
699
+ e(P, [2, 37]),
700
+ e(P, [2, 38]),
701
+ {
702
+ 16: 68,
703
+ 40: T,
704
+ 41: E,
705
+ 42: j
706
+ },
707
+ {
708
+ 13: k,
709
+ 38: 69,
710
+ 41: A,
711
+ 42: j,
712
+ 45: 62,
713
+ 46: 63,
714
+ 48: M,
715
+ 49: N
716
+ },
717
+ {
718
+ 13: [1, 70],
719
+ 15: [1, 71]
720
+ },
721
+ e(t, [2, 17], {
722
+ 63: 35,
723
+ 12: 72,
724
+ 17: [1, 73],
725
+ 42: j,
726
+ 65: y,
727
+ 66: b,
728
+ 67: x,
729
+ 68: S,
730
+ 69: C
731
+ }),
732
+ { 19: [1, 74] },
733
+ e(t, [2, 14]),
734
+ {
735
+ 18: 75,
736
+ 19: [2, 59],
737
+ 53: 53,
738
+ 54: 54,
739
+ 58: D
740
+ },
741
+ {
742
+ 55: 76,
743
+ 58: [1, 77]
744
+ },
745
+ { 58: [2, 65] },
746
+ { 21: [1, 78] },
747
+ {
748
+ 63: 79,
749
+ 65: y,
750
+ 66: b,
751
+ 67: x,
752
+ 68: S,
753
+ 69: C
754
+ },
755
+ e(F, [2, 77]),
756
+ e(F, [2, 78]),
757
+ {
758
+ 6: I,
759
+ 10: L,
760
+ 39: 80,
761
+ 42: R,
762
+ 47: z
763
+ },
764
+ {
765
+ 40: [1, 85],
766
+ 41: [1, 86]
767
+ },
768
+ e(B, [2, 43], {
769
+ 46: 87,
770
+ 13: k,
771
+ 41: A,
772
+ 48: M,
773
+ 49: N
774
+ }),
775
+ e(V, [2, 45]),
776
+ e(V, [2, 50]),
777
+ e(V, [2, 51]),
778
+ e(V, [2, 52]),
779
+ e(V, [2, 53]),
780
+ e(t, [2, 41], { 42: j }),
781
+ {
782
+ 6: I,
783
+ 10: L,
784
+ 39: 88,
785
+ 42: R,
786
+ 47: z
787
+ },
788
+ {
789
+ 14: 89,
790
+ 40: H,
791
+ 50: U,
792
+ 72: W
793
+ },
794
+ {
795
+ 16: 93,
796
+ 40: T,
797
+ 41: E
798
+ },
799
+ {
800
+ 11: 94,
801
+ 40: f,
802
+ 48: h,
803
+ 50: g,
804
+ 51: _,
805
+ 52: v
806
+ },
807
+ {
808
+ 18: 95,
809
+ 19: [1, 96],
810
+ 53: 53,
811
+ 54: 54,
812
+ 58: D
813
+ },
814
+ e(t, [2, 12]),
815
+ { 19: [2, 60] },
816
+ e(G, [2, 61], {
817
+ 56: 97,
818
+ 57: 98,
819
+ 59: 99,
820
+ 61: K,
821
+ 62: q
822
+ }),
823
+ e([
824
+ 19,
825
+ 58,
826
+ 61,
827
+ 62
828
+ ], [2, 66]),
829
+ e(t, [2, 22], {
830
+ 15: [1, 103],
831
+ 17: [1, 102]
832
+ }),
833
+ e([
834
+ 40,
835
+ 48,
836
+ 50,
837
+ 51,
838
+ 52
839
+ ], [2, 71]),
840
+ e(t, [2, 36]),
841
+ {
842
+ 13: k,
843
+ 41: A,
844
+ 45: 104,
845
+ 46: 63,
846
+ 48: M,
847
+ 49: N
848
+ },
849
+ e(t, [2, 47]),
850
+ e(t, [2, 48]),
851
+ e(t, [2, 49]),
852
+ e(P, [2, 39]),
853
+ e(P, [2, 40]),
854
+ e(V, [2, 46]),
855
+ e(t, [2, 42]),
856
+ e(t, [2, 8]),
857
+ e(t, [2, 79]),
858
+ e(t, [2, 80]),
859
+ e(t, [2, 81]),
860
+ {
861
+ 13: [1, 105],
862
+ 42: j
863
+ },
864
+ {
865
+ 13: [1, 107],
866
+ 15: [1, 106]
867
+ },
868
+ { 19: [1, 108] },
869
+ e(t, [2, 15]),
870
+ e(G, [2, 62], {
871
+ 57: 109,
872
+ 60: [1, 110],
873
+ 62: q
874
+ }),
875
+ e(G, [2, 63]),
876
+ e(J, [2, 67]),
877
+ e(G, [2, 70]),
878
+ e(J, [2, 69]),
879
+ {
880
+ 18: 111,
881
+ 19: [1, 112],
882
+ 53: 53,
883
+ 54: 54,
884
+ 58: D
885
+ },
886
+ {
887
+ 16: 113,
888
+ 40: T,
889
+ 41: E
890
+ },
891
+ e(B, [2, 44], {
892
+ 46: 87,
893
+ 13: k,
894
+ 41: A,
895
+ 48: M,
896
+ 49: N
897
+ }),
898
+ {
899
+ 14: 114,
900
+ 40: H,
901
+ 50: U,
902
+ 72: W
903
+ },
904
+ {
905
+ 16: 115,
906
+ 40: T,
907
+ 41: E
908
+ },
909
+ {
910
+ 14: 116,
911
+ 40: H,
912
+ 50: U,
913
+ 72: W
914
+ },
915
+ e(t, [2, 13]),
916
+ e(G, [2, 64]),
917
+ {
918
+ 59: 117,
919
+ 61: K
920
+ },
921
+ { 19: [1, 118] },
922
+ e(t, [2, 20]),
923
+ e(t, [2, 23], {
924
+ 17: [1, 119],
925
+ 42: j
926
+ }),
927
+ e(t, [2, 11]),
928
+ {
929
+ 13: [1, 120],
930
+ 42: j
931
+ },
932
+ e(t, [2, 10]),
933
+ e(J, [2, 68]),
934
+ e(t, [2, 18]),
935
+ {
936
+ 18: 121,
937
+ 19: [1, 122],
938
+ 53: 53,
939
+ 54: 54,
940
+ 58: D
941
+ },
942
+ {
943
+ 14: 123,
944
+ 40: H,
945
+ 50: U,
946
+ 72: W
947
+ },
948
+ { 19: [1, 124] },
949
+ e(t, [2, 21]),
950
+ e(t, [2, 9]),
951
+ e(t, [2, 19])
952
+ ],
953
+ defaultActions: {
954
+ 55: [2, 65],
955
+ 75: [2, 60]
956
+ },
957
+ parseError: /* @__PURE__ */ r(function(e, t) {
958
+ if (t.recoverable) this.trace(e);
959
+ else {
960
+ var n = Error(e);
961
+ throw n.hash = t, n;
962
+ }
963
+ }, "parseError"),
964
+ parse: /* @__PURE__ */ r(function(e) {
965
+ 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: {} };
966
+ for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
967
+ h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
968
+ var v = h.yylloc;
969
+ o.push(v);
970
+ var y = h.options && h.options.ranges;
971
+ typeof g.yy.parseError == "function" ? this.parseError = g.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
972
+ function b(e) {
973
+ n.length -= 2 * e, a.length -= e, o.length -= e;
974
+ }
975
+ r(b, "popStack");
976
+ function x() {
977
+ var e = i.pop() || h.lex() || p;
978
+ return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
979
+ }
980
+ r(x, "lex");
981
+ for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
982
+ 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]) {
983
+ var M = "";
984
+ for (O in j = [], s[w]) this.terminals_[O] && O > f && j.push("'" + this.terminals_[O] + "'");
985
+ 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, {
986
+ text: h.match,
987
+ token: this.terminals_[S] || S,
988
+ line: h.yylineno,
989
+ loc: v,
990
+ expected: j
991
+ });
992
+ }
993
+ if (T[0] instanceof Array && T.length > 1) throw Error("Parse Error: multiple actions possible at state: " + w + ", token: " + S);
994
+ switch (T[0]) {
995
+ case 1:
996
+ 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--);
997
+ break;
998
+ case 2:
999
+ if (k = this.productions_[T[1]][1], D.$ = a[a.length - k], D._$ = {
1000
+ first_line: o[o.length - (k || 1)].first_line,
1001
+ last_line: o[o.length - 1].last_line,
1002
+ first_column: o[o.length - (k || 1)].first_column,
1003
+ last_column: o[o.length - 1].last_column
1004
+ }, y && (D._$.range = [o[o.length - (k || 1)].range[0], o[o.length - 1].range[1]]), E = this.performAction.apply(D, [
1005
+ c,
1006
+ u,
1007
+ l,
1008
+ g.yy,
1009
+ T[1],
1010
+ a,
1011
+ o
1012
+ ].concat(m)), E !== void 0) return E;
1013
+ 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);
1014
+ break;
1015
+ case 3: return !0;
1016
+ }
1017
+ }
1018
+ return !0;
1019
+ }, "parse")
1020
+ };
1021
+ Y.lexer = /* @__PURE__ */ (function() {
1022
+ return {
1023
+ EOF: 1,
1024
+ parseError: /* @__PURE__ */ r(function(e, t) {
1025
+ if (this.yy.parser) this.yy.parser.parseError(e, t);
1026
+ else throw Error(e);
1027
+ }, "parseError"),
1028
+ setInput: /* @__PURE__ */ r(function(e, t) {
1029
+ 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 = {
1030
+ first_line: 1,
1031
+ first_column: 0,
1032
+ last_line: 1,
1033
+ last_column: 0
1034
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1035
+ }, "setInput"),
1036
+ input: /* @__PURE__ */ r(function() {
1037
+ var e = this._input[0];
1038
+ 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;
1039
+ }, "input"),
1040
+ unput: /* @__PURE__ */ r(function(e) {
1041
+ var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
1042
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
1043
+ var r = this.match.split(/(?:\r\n?|\n)/g);
1044
+ 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);
1045
+ var i = this.yylloc.range;
1046
+ return this.yylloc = {
1047
+ first_line: this.yylloc.first_line,
1048
+ last_line: this.yylineno + 1,
1049
+ first_column: this.yylloc.first_column,
1050
+ 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
1051
+ }, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
1052
+ }, "unput"),
1053
+ more: /* @__PURE__ */ r(function() {
1054
+ return this._more = !0, this;
1055
+ }, "more"),
1056
+ reject: /* @__PURE__ */ r(function() {
1057
+ if (this.options.backtrack_lexer) this._backtrack = !0;
1058
+ 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(), {
1059
+ text: "",
1060
+ token: null,
1061
+ line: this.yylineno
1062
+ });
1063
+ return this;
1064
+ }, "reject"),
1065
+ less: /* @__PURE__ */ r(function(e) {
1066
+ this.unput(this.match.slice(e));
1067
+ }, "less"),
1068
+ pastInput: /* @__PURE__ */ r(function() {
1069
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
1070
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
1071
+ }, "pastInput"),
1072
+ upcomingInput: /* @__PURE__ */ r(function() {
1073
+ var e = this.match;
1074
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
1075
+ }, "upcomingInput"),
1076
+ showPosition: /* @__PURE__ */ r(function() {
1077
+ var e = this.pastInput(), t = Array(e.length + 1).join("-");
1078
+ return e + this.upcomingInput() + "\n" + t + "^";
1079
+ }, "showPosition"),
1080
+ test_match: /* @__PURE__ */ r(function(e, t) {
1081
+ var n, r, i;
1082
+ if (this.options.backtrack_lexer && (i = {
1083
+ yylineno: this.yylineno,
1084
+ yylloc: {
1085
+ first_line: this.yylloc.first_line,
1086
+ last_line: this.last_line,
1087
+ first_column: this.yylloc.first_column,
1088
+ last_column: this.yylloc.last_column
1089
+ },
1090
+ yytext: this.yytext,
1091
+ match: this.match,
1092
+ matches: this.matches,
1093
+ matched: this.matched,
1094
+ yyleng: this.yyleng,
1095
+ offset: this.offset,
1096
+ _more: this._more,
1097
+ _input: this._input,
1098
+ yy: this.yy,
1099
+ conditionStack: this.conditionStack.slice(0),
1100
+ done: this.done
1101
+ }, 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 = {
1102
+ first_line: this.yylloc.last_line,
1103
+ last_line: this.yylineno + 1,
1104
+ first_column: this.yylloc.last_column,
1105
+ last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
1106
+ }, 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;
1107
+ if (this._backtrack) {
1108
+ for (var a in i) this[a] = i[a];
1109
+ return !1;
1110
+ }
1111
+ return !1;
1112
+ }, "test_match"),
1113
+ next: /* @__PURE__ */ r(function() {
1114
+ if (this.done) return this.EOF;
1115
+ this._input || (this.done = !0);
1116
+ var e, t, n, r;
1117
+ this._more || (this.yytext = "", this.match = "");
1118
+ 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)) {
1119
+ if (t = n, r = a, this.options.backtrack_lexer) {
1120
+ if (e = this.test_match(n, i[a]), e !== !1) return e;
1121
+ if (this._backtrack) {
1122
+ t = !1;
1123
+ continue;
1124
+ } else return !1;
1125
+ } else if (!this.options.flex) break;
1126
+ }
1127
+ 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(), {
1128
+ text: "",
1129
+ token: null,
1130
+ line: this.yylineno
1131
+ });
1132
+ }, "next"),
1133
+ lex: /* @__PURE__ */ r(function() {
1134
+ return this.next() || this.lex();
1135
+ }, "lex"),
1136
+ begin: /* @__PURE__ */ r(function(e) {
1137
+ this.conditionStack.push(e);
1138
+ }, "begin"),
1139
+ popState: /* @__PURE__ */ r(function() {
1140
+ return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1141
+ }, "popState"),
1142
+ _currentRules: /* @__PURE__ */ r(function() {
1143
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1144
+ }, "_currentRules"),
1145
+ topState: /* @__PURE__ */ r(function(e) {
1146
+ return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
1147
+ }, "topState"),
1148
+ pushState: /* @__PURE__ */ r(function(e) {
1149
+ this.begin(e);
1150
+ }, "pushState"),
1151
+ stateStackSize: /* @__PURE__ */ r(function() {
1152
+ return this.conditionStack.length;
1153
+ }, "stateStackSize"),
1154
+ options: { "case-insensitive": !0 },
1155
+ performAction: /* @__PURE__ */ r(function(e, t, n, r) {
1156
+ switch (n) {
1157
+ case 0: return this.begin("acc_title"), 24;
1158
+ case 1: return this.popState(), "acc_title_value";
1159
+ case 2: return this.begin("acc_descr"), 26;
1160
+ case 3: return this.popState(), "acc_descr_value";
1161
+ case 4:
1162
+ this.begin("acc_descr_multiline");
1163
+ break;
1164
+ case 5:
1165
+ this.popState();
1166
+ break;
1167
+ case 6: return "acc_descr_multiline_value";
1168
+ case 7: return 33;
1169
+ case 8: return 34;
1170
+ case 9: return 35;
1171
+ case 10: return 36;
1172
+ case 11: return 10;
1173
+ case 12: break;
1174
+ case 13: return 8;
1175
+ case 14: return 50;
1176
+ case 15: return 72;
1177
+ case 16: return 4;
1178
+ case 17: return this.begin("block"), 17;
1179
+ case 18: return 49;
1180
+ case 19: return 49;
1181
+ case 20: return 42;
1182
+ case 21: return 15;
1183
+ case 22: return 13;
1184
+ case 23: break;
1185
+ case 24: return 61;
1186
+ case 25: return 58;
1187
+ case 26: return 58;
1188
+ case 27: return 62;
1189
+ case 28: break;
1190
+ case 29: return this.popState(), 19;
1191
+ case 30: return t.yytext[0];
1192
+ case 31: return 20;
1193
+ case 32: return 21;
1194
+ case 33: return this.begin("style"), 44;
1195
+ case 34: return this.popState(), 10;
1196
+ case 35: break;
1197
+ case 36: return 13;
1198
+ case 37: return 42;
1199
+ case 38: return 49;
1200
+ case 39: return this.begin("style"), 37;
1201
+ case 40: return 43;
1202
+ case 41: return 65;
1203
+ case 42: return 67;
1204
+ case 43: return 67;
1205
+ case 44: return 67;
1206
+ case 45: return 65;
1207
+ case 46: return 65;
1208
+ case 47: return 66;
1209
+ case 48: return 66;
1210
+ case 49: return 66;
1211
+ case 50: return 66;
1212
+ case 51: return 66;
1213
+ case 52: return 67;
1214
+ case 53: return 66;
1215
+ case 54: return 67;
1216
+ case 55: return 68;
1217
+ case 56: return 68;
1218
+ case 57: return 51;
1219
+ case 58: return 68;
1220
+ case 59: return 68;
1221
+ case 60: return 52;
1222
+ case 61: return 48;
1223
+ case 62: return 68;
1224
+ case 63: return 65;
1225
+ case 64: return 66;
1226
+ case 65: return 67;
1227
+ case 66: return 69;
1228
+ case 67: return 70;
1229
+ case 68: return 71;
1230
+ case 69: return 71;
1231
+ case 70: return 70;
1232
+ case 71: return 70;
1233
+ case 72: return 70;
1234
+ case 73: return 41;
1235
+ case 74: return 47;
1236
+ case 75: return 40;
1237
+ case 76: return t.yytext[0];
1238
+ case 77: return 6;
1239
+ }
1240
+ }, "anonymous"),
1241
+ rules: [
1242
+ /^(?:accTitle\s*:\s*)/i,
1243
+ /^(?:(?!\n||)*[^\n]*)/i,
1244
+ /^(?:accDescr\s*:\s*)/i,
1245
+ /^(?:(?!\n||)*[^\n]*)/i,
1246
+ /^(?:accDescr\s*\{\s*)/i,
1247
+ /^(?:[\}])/i,
1248
+ /^(?:[^\}]*)/i,
1249
+ /^(?:.*direction\s+TB[^\n]*)/i,
1250
+ /^(?:.*direction\s+BT[^\n]*)/i,
1251
+ /^(?:.*direction\s+RL[^\n]*)/i,
1252
+ /^(?:.*direction\s+LR[^\n]*)/i,
1253
+ /^(?:[\n]+)/i,
1254
+ /^(?:\s+)/i,
1255
+ /^(?:[\s]+)/i,
1256
+ /^(?:"[^"%\r\n\v\b\\]+")/i,
1257
+ /^(?:"[^"]*")/i,
1258
+ /^(?:erDiagram\b)/i,
1259
+ /^(?:\{)/i,
1260
+ /^(?:#)/i,
1261
+ /^(?:#)/i,
1262
+ /^(?:,)/i,
1263
+ /^(?::::)/i,
1264
+ /^(?::)/i,
1265
+ /^(?:\s+)/i,
1266
+ /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,
1267
+ /^(?:([^\s]*)[~].*[~]([^\s]*))/i,
1268
+ /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i,
1269
+ /^(?:"[^"]*")/i,
1270
+ /^(?:[\n]+)/i,
1271
+ /^(?:\})/i,
1272
+ /^(?:.)/i,
1273
+ /^(?:\[)/i,
1274
+ /^(?:\])/i,
1275
+ /^(?:style\b)/i,
1276
+ /^(?:[\n]+)/i,
1277
+ /^(?:\s+)/i,
1278
+ /^(?::)/i,
1279
+ /^(?:,)/i,
1280
+ /^(?:#)/i,
1281
+ /^(?:classDef\b)/i,
1282
+ /^(?:class\b)/i,
1283
+ /^(?:one or zero\b)/i,
1284
+ /^(?:one or more\b)/i,
1285
+ /^(?:one or many\b)/i,
1286
+ /^(?:1\+)/i,
1287
+ /^(?:\|o\b)/i,
1288
+ /^(?:zero or one\b)/i,
1289
+ /^(?:zero or more\b)/i,
1290
+ /^(?:zero or many\b)/i,
1291
+ /^(?:0\+)/i,
1292
+ /^(?:\}o\b)/i,
1293
+ /^(?:many\(0\))/i,
1294
+ /^(?:many\(1\))/i,
1295
+ /^(?:many\b)/i,
1296
+ /^(?:\}\|)/i,
1297
+ /^(?:one\b)/i,
1298
+ /^(?:only one\b)/i,
1299
+ /^(?:[0-9]+\.[0-9]+)/i,
1300
+ /^(?:1(?=\s+[A-Za-z_"']))/i,
1301
+ /^(?:1(?=(--|\.\.|\.-|-\.)))/i,
1302
+ /^(?:1\b)/i,
1303
+ /^(?:[0-9]+)/i,
1304
+ /^(?:\|\|)/i,
1305
+ /^(?:o\|)/i,
1306
+ /^(?:o\{)/i,
1307
+ /^(?:\|\{)/i,
1308
+ /^(?:u(?=[\.\-\|]))/i,
1309
+ /^(?:\.\.)/i,
1310
+ /^(?:--)/i,
1311
+ /^(?:to\b)/i,
1312
+ /^(?:optionally to\b)/i,
1313
+ /^(?:\.-)/i,
1314
+ /^(?:-\.)/i,
1315
+ /^(?:([^\x00-\x7F]|\w|-|\*)+)/i,
1316
+ /^(?:;)/i,
1317
+ /^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i,
1318
+ /^(?:.)/i,
1319
+ /^(?:$)/i
1320
+ ],
1321
+ conditions: {
1322
+ style: {
1323
+ rules: [
1324
+ 34,
1325
+ 35,
1326
+ 36,
1327
+ 37,
1328
+ 38,
1329
+ 73,
1330
+ 74
1331
+ ],
1332
+ inclusive: !1
1333
+ },
1334
+ acc_descr_multiline: {
1335
+ rules: [5, 6],
1336
+ inclusive: !1
1337
+ },
1338
+ acc_descr: {
1339
+ rules: [3],
1340
+ inclusive: !1
1341
+ },
1342
+ acc_title: {
1343
+ rules: [1],
1344
+ inclusive: !1
1345
+ },
1346
+ block: {
1347
+ rules: [
1348
+ 23,
1349
+ 24,
1350
+ 25,
1351
+ 26,
1352
+ 27,
1353
+ 28,
1354
+ 29,
1355
+ 30
1356
+ ],
1357
+ inclusive: !1
1358
+ },
1359
+ INITIAL: {
1360
+ rules: [
1361
+ 0,
1362
+ 2,
1363
+ 4,
1364
+ 7,
1365
+ 8,
1366
+ 9,
1367
+ 10,
1368
+ 11,
1369
+ 12,
1370
+ 13,
1371
+ 14,
1372
+ 15,
1373
+ 16,
1374
+ 17,
1375
+ 18,
1376
+ 19,
1377
+ 20,
1378
+ 21,
1379
+ 22,
1380
+ 31,
1381
+ 32,
1382
+ 33,
1383
+ 39,
1384
+ 40,
1385
+ 41,
1386
+ 42,
1387
+ 43,
1388
+ 44,
1389
+ 45,
1390
+ 46,
1391
+ 47,
1392
+ 48,
1393
+ 49,
1394
+ 50,
1395
+ 51,
1396
+ 52,
1397
+ 53,
1398
+ 54,
1399
+ 55,
1400
+ 56,
1401
+ 57,
1402
+ 58,
1403
+ 59,
1404
+ 60,
1405
+ 61,
1406
+ 62,
1407
+ 63,
1408
+ 64,
1409
+ 65,
1410
+ 66,
1411
+ 67,
1412
+ 68,
1413
+ 69,
1414
+ 70,
1415
+ 71,
1416
+ 72,
1417
+ 75,
1418
+ 76,
1419
+ 77
1420
+ ],
1421
+ inclusive: !0
1422
+ }
1423
+ }
1424
+ };
1425
+ })();
1426
+ function X() {
1427
+ this.yy = {};
1428
+ }
1429
+ return r(X, "Parser"), X.prototype = Y, Y.Parser = X, new X();
1430
+ })();
1431
+ b.parser = b;
1432
+ var x = b, S = class {
1433
+ constructor() {
1434
+ this.entities = /* @__PURE__ */ new Map(), this.relationships = [], this.classes = /* @__PURE__ */ new Map(), this.direction = "TB", this.Cardinality = {
1435
+ ZERO_OR_ONE: "ZERO_OR_ONE",
1436
+ ZERO_OR_MORE: "ZERO_OR_MORE",
1437
+ ONE_OR_MORE: "ONE_OR_MORE",
1438
+ ONLY_ONE: "ONLY_ONE",
1439
+ MD_PARENT: "MD_PARENT"
1440
+ }, this.Identification = {
1441
+ NON_IDENTIFYING: "NON_IDENTIFYING",
1442
+ IDENTIFYING: "IDENTIFYING"
1443
+ }, this.setAccTitle = c, this.getAccTitle = m, this.setAccDescription = o, this.getAccDescription = u, this.setDiagramTitle = l, this.getDiagramTitle = s, this.getConfig = /* @__PURE__ */ r(() => f().er, "getConfig"), this.clear(), this.addEntity = this.addEntity.bind(this), this.addAttributes = this.addAttributes.bind(this), this.addRelationship = this.addRelationship.bind(this), this.setDirection = this.setDirection.bind(this), this.addCssStyles = this.addCssStyles.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.setAccTitle = this.setAccTitle.bind(this), this.setAccDescription = this.setAccDescription.bind(this);
1444
+ }
1445
+ static {
1446
+ r(this, "ErDB");
1447
+ }
1448
+ addEntity(e, t = "") {
1449
+ return this.entities.has(e) ? !this.entities.get(e)?.alias && t && (this.entities.get(e).alias = t, n.info(`Add alias '${t}' to entity '${e}'`)) : (this.entities.set(e, {
1450
+ id: `entity-${e}-${this.entities.size}`,
1451
+ label: e,
1452
+ attributes: [],
1453
+ alias: t,
1454
+ shape: "erBox",
1455
+ look: f().look ?? "default",
1456
+ cssClasses: "default",
1457
+ cssStyles: [],
1458
+ labelType: "markdown"
1459
+ }), n.info("Added new entity :", e)), this.entities.get(e);
1460
+ }
1461
+ getEntity(e) {
1462
+ return this.entities.get(e);
1463
+ }
1464
+ getEntities() {
1465
+ return this.entities;
1466
+ }
1467
+ getClasses() {
1468
+ return this.classes;
1469
+ }
1470
+ addAttributes(e, t) {
1471
+ let r = this.addEntity(e), i;
1472
+ for (i = t.length - 1; i >= 0; i--) t[i].keys || (t[i].keys = []), t[i].comment || (t[i].comment = ""), r.attributes.push(t[i]), n.debug("Added attribute ", t[i].name);
1473
+ }
1474
+ addRelationship(e, t, r, i) {
1475
+ let a = this.entities.get(e), o = this.entities.get(r);
1476
+ if (!a || !o) return;
1477
+ let s = {
1478
+ entityA: a.id,
1479
+ roleA: t,
1480
+ entityB: o.id,
1481
+ relSpec: i
1482
+ };
1483
+ this.relationships.push(s), n.debug("Added new relationship :", s);
1484
+ }
1485
+ getRelationships() {
1486
+ return this.relationships;
1487
+ }
1488
+ getDirection() {
1489
+ return this.direction;
1490
+ }
1491
+ setDirection(e) {
1492
+ this.direction = e;
1493
+ }
1494
+ getCompiledStyles(e) {
1495
+ let t = [];
1496
+ for (let n of e) {
1497
+ let e = this.classes.get(n);
1498
+ e?.styles && (t = [...t, ...e.styles ?? []].map((e) => e.trim())), e?.textStyles && (t = [...t, ...e.textStyles ?? []].map((e) => e.trim()));
1499
+ }
1500
+ return t;
1501
+ }
1502
+ addCssStyles(e, t) {
1503
+ for (let n of e) {
1504
+ let e = this.entities.get(n);
1505
+ if (!t || !e) return;
1506
+ for (let n of t) e.cssStyles.push(n);
1507
+ }
1508
+ }
1509
+ addClass(e, t) {
1510
+ e.forEach((e) => {
1511
+ let n = this.classes.get(e);
1512
+ n === void 0 && (n = {
1513
+ id: e,
1514
+ styles: [],
1515
+ textStyles: []
1516
+ }, this.classes.set(e, n)), t && t.forEach(function(e) {
1517
+ if (/color/.exec(e)) {
1518
+ let t = e.replace("fill", "bgFill");
1519
+ n.textStyles.push(t);
1520
+ }
1521
+ n.styles.push(e);
1522
+ });
1523
+ });
1524
+ }
1525
+ setClass(e, t) {
1526
+ for (let n of e) {
1527
+ let e = this.entities.get(n);
1528
+ if (e) for (let n of t) e.cssClasses += " " + n;
1529
+ }
1530
+ }
1531
+ clear() {
1532
+ this.entities = /* @__PURE__ */ new Map(), this.classes = /* @__PURE__ */ new Map(), this.relationships = [], d();
1533
+ }
1534
+ getData() {
1535
+ let e = [], n = [], r = f();
1536
+ for (let t of this.entities.keys()) {
1537
+ let n = this.entities.get(t);
1538
+ n && (n.cssCompiledStyles = this.getCompiledStyles(n.cssClasses.split(" ")), e.push(n));
1539
+ }
1540
+ let i = 0;
1541
+ for (let e of this.relationships) {
1542
+ let a = {
1543
+ id: t(e.entityA, e.entityB, {
1544
+ prefix: "id",
1545
+ counter: i++
1546
+ }),
1547
+ type: "normal",
1548
+ curve: "basis",
1549
+ start: e.entityA,
1550
+ end: e.entityB,
1551
+ label: e.roleA,
1552
+ labelpos: "c",
1553
+ thickness: "normal",
1554
+ classes: "relationshipLine",
1555
+ arrowTypeStart: e.relSpec.cardB.toLowerCase(),
1556
+ arrowTypeEnd: e.relSpec.cardA.toLowerCase(),
1557
+ pattern: e.relSpec.relType == "IDENTIFYING" ? "solid" : "dashed",
1558
+ look: r.look,
1559
+ labelType: "markdown"
1560
+ };
1561
+ n.push(a);
1562
+ }
1563
+ return {
1564
+ nodes: e,
1565
+ edges: n,
1566
+ other: {},
1567
+ config: r,
1568
+ direction: "TB"
1569
+ };
1570
+ }
1571
+ }, C = {};
1572
+ i(C, { draw: () => w });
1573
+ var w = /* @__PURE__ */ r(async function(t, r, i, o) {
1574
+ n.info("REF0:"), n.info("Drawing er diagram (unified)", r);
1575
+ let { securityLevel: s, er: c, layout: l } = f(), u = o.db.getData(), d = g(r, s);
1576
+ u.type = o.type, u.layoutAlgorithm = y(l), u.config.flowchart.nodeSpacing = c?.nodeSpacing || 140, u.config.flowchart.rankSpacing = c?.rankSpacing || 80, u.direction = o.db.getDirection(), u.markers = [
1577
+ "only_one",
1578
+ "zero_or_one",
1579
+ "one_or_more",
1580
+ "zero_or_more"
1581
+ ], u.diagramId = r, await v(u, d), u.layoutAlgorithm === "elk" && d.select(".edges").lower();
1582
+ let p = d.selectAll("[id*=\"-background\"]");
1583
+ Array.from(p).length > 0 && p.each(function() {
1584
+ let e = a(this), t = e.attr("id").replace("-background", ""), n = d.select(`#${CSS.escape(t)}`);
1585
+ if (!n.empty()) {
1586
+ let t = n.attr("transform");
1587
+ e.attr("transform", t);
1588
+ }
1589
+ }), e.insertTitle(d, "erDiagramTitleText", c?.titleTopMargin ?? 25, o.db.getDiagramTitle()), _(d, 8, "erDiagram", c?.useMaxWidth ?? !0);
1590
+ }, "draw"), T = /* @__PURE__ */ r((e, t) => {
1591
+ let n = h;
1592
+ return p(n(e, "r"), n(e, "g"), n(e, "b"), t);
1593
+ }, "fade"), E = {
1594
+ parser: x,
1595
+ get db() {
1596
+ return new S();
1597
+ },
1598
+ renderer: C,
1599
+ styles: /* @__PURE__ */ r((e) => `
1600
+ .entityBox {
1601
+ fill: ${e.mainBkg};
1602
+ stroke: ${e.nodeBorder};
1603
+ }
1604
+
1605
+ .relationshipLabelBox {
1606
+ fill: ${e.tertiaryColor};
1607
+ opacity: 0.7;
1608
+ background-color: ${e.tertiaryColor};
1609
+ rect {
1610
+ opacity: 0.5;
1611
+ }
1612
+ }
1613
+
1614
+ .labelBkg {
1615
+ background-color: ${T(e.tertiaryColor, .5)};
1616
+ }
1617
+
1618
+ .edgeLabel .label {
1619
+ fill: ${e.nodeBorder};
1620
+ font-size: 14px;
1621
+ }
1622
+
1623
+ .label {
1624
+ font-family: ${e.fontFamily};
1625
+ color: ${e.nodeTextColor || e.textColor};
1626
+ }
1627
+
1628
+ .edge-pattern-dashed {
1629
+ stroke-dasharray: 8,8;
1630
+ }
1631
+
1632
+ .node rect,
1633
+ .node circle,
1634
+ .node ellipse,
1635
+ .node polygon
1636
+ {
1637
+ fill: ${e.mainBkg};
1638
+ stroke: ${e.nodeBorder};
1639
+ stroke-width: 1px;
1640
+ }
1641
+
1642
+ .relationshipLine {
1643
+ stroke: ${e.lineColor};
1644
+ stroke-width: 1;
1645
+ fill: none;
1646
+ }
1647
+
1648
+ .marker {
1649
+ fill: none !important;
1650
+ stroke: ${e.lineColor} !important;
1651
+ stroke-width: 1;
1652
+ }
1653
+
1654
+ .edgeLabel {
1655
+ background-color: ${e.edgeLabelBackground};
1656
+ }
1657
+ .edgeLabel .label rect {
1658
+ fill: ${e.edgeLabelBackground};
1659
+ }
1660
+ .edgeLabel .label text {
1661
+ fill: ${e.textColor};
1662
+ }
1663
+ `, "getStyles")
1664
+ };
1665
+ //#endregion
1666
+ export { E as diagram };