mermaid 10.2.0 → 10.2.1

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 (106) hide show
  1. package/dist/{arc-b5db4c05.js → arc-3c160465.js} +18 -18
  2. package/dist/{arc-ec6eac64.js → arc-77fc2af4.js} +1 -1
  3. package/dist/{c4Diagram-1aeee79c.js → c4Diagram-254213a1.js} +2 -2
  4. package/dist/{c4Diagram-513b24e8.js → c4Diagram-8db19464.js} +2 -2
  5. package/dist/{c4Diagram-4a1de0c4.js → c4Diagram-e8ea7104.js} +2 -2
  6. package/dist/{classDiagram-62cfb02d.js → classDiagram-2b0c833c.js} +4 -4
  7. package/dist/{classDiagram-bbe85371.js → classDiagram-42b3c27c.js} +5 -5
  8. package/dist/{classDiagram-f485cf84.js → classDiagram-608608fe.js} +5 -5
  9. package/dist/{classDiagram-v2-227953d9.js → classDiagram-v2-306d6a80.js} +8 -8
  10. package/dist/{classDiagram-v2-1c2c680d.js → classDiagram-v2-74b55d00.js} +8 -8
  11. package/dist/{classDiagram-v2-c1dfb0e0.js → classDiagram-v2-9f746d53.js} +7 -7
  12. package/dist/{createText-2f679d62.js → createText-90502ed0.js} +1 -1
  13. package/dist/{createText-b06b2794.js → createText-bba40910.js} +1 -1
  14. package/dist/{createText-8ca1146d.js → createText-d9206b7e.js} +46 -46
  15. package/dist/diagrams/gantt/ganttDb.d.ts +1 -1
  16. package/dist/{edges-97052da4.js → edges-0961f13d.js} +3 -3
  17. package/dist/{edges-a0c69811.js → edges-100593e4.js} +4 -4
  18. package/dist/{edges-9aecf713.js → edges-9ef2b21b.js} +4 -4
  19. package/dist/{erDiagram-5e907343.js → erDiagram-ab11ddfc.js} +2 -2
  20. package/dist/{erDiagram-8104ad20.js → erDiagram-decfd4cd.js} +3 -3
  21. package/dist/{erDiagram-6e9c0e5f.js → erDiagram-e8df9b8a.js} +3 -3
  22. package/dist/{flowDb-a707052f.js → flowDb-21fdec25.js} +1 -1
  23. package/dist/{flowDb-ab4144b2.js → flowDb-3d0a1362.js} +1 -1
  24. package/dist/{flowDb-0019c359.js → flowDb-667e91e9.js} +1 -1
  25. package/dist/{flowDiagram-6109f557.js → flowDiagram-a63e5267.js} +10 -10
  26. package/dist/{flowDiagram-1d5ecf94.js → flowDiagram-c77506ee.js} +10 -10
  27. package/dist/{flowDiagram-702318ad.js → flowDiagram-d464bd42.js} +8 -8
  28. package/dist/{flowDiagram-v2-8e0e5a90.js → flowDiagram-v2-044bf32b.js} +10 -10
  29. package/dist/{flowDiagram-v2-8716a26e.js → flowDiagram-v2-1ce0105d.js} +8 -8
  30. package/dist/{flowDiagram-v2-a232e201.js → flowDiagram-v2-3d18812b.js} +10 -10
  31. package/dist/{flowchart-elk-definition-37ec854a.js → flowchart-elk-definition-94ab4000.js} +6 -7
  32. package/dist/{flowchart-elk-definition-de178c98.js → flowchart-elk-definition-aba443f1.js} +15 -16
  33. package/dist/{flowchart-elk-definition-206a7d68.js → flowchart-elk-definition-d58ce1bb.js} +6 -6
  34. package/dist/{ganttDiagram-528c8345.js → ganttDiagram-c18b0eb0.js} +260 -379
  35. package/dist/ganttDiagram-e6339652.js +2517 -0
  36. package/dist/{ganttDiagram-3bc7fa50.js → ganttDiagram-e88daf67.js} +5 -5
  37. package/dist/{gitGraphDiagram-70b91930.js → gitGraphDiagram-5c05bf95.js} +1 -1
  38. package/dist/{gitGraphDiagram-127727f3.js → gitGraphDiagram-b84abfd6.js} +2 -2
  39. package/dist/{gitGraphDiagram-55446347.js → gitGraphDiagram-bd3cf386.js} +1 -1
  40. package/dist/{index-f7dc402e.js → index-59513c53.js} +4 -4
  41. package/dist/{index-05087a90.js → index-5e805454.js} +3 -3
  42. package/dist/{index-b9fa59d5.js → index-9cfc71d9.js} +4 -4
  43. package/dist/{infoDiagram-4374b389.js → infoDiagram-0421e9c9.js} +2 -2
  44. package/dist/{infoDiagram-6c45e6e5.js → infoDiagram-43eb5d4d.js} +1 -1
  45. package/dist/{infoDiagram-a4952db5.js → infoDiagram-673229a6.js} +1 -1
  46. package/dist/{journeyDiagram-5faf9fb3.js → journeyDiagram-041ee509.js} +3 -3
  47. package/dist/{journeyDiagram-e9f7e166.js → journeyDiagram-2a24f107.js} +3 -3
  48. package/dist/{journeyDiagram-ccf0174b.js → journeyDiagram-92d61f4d.js} +2 -2
  49. package/dist/{layout-e57aec3f.js → layout-71dca320.js} +1 -1
  50. package/dist/{layout-816c0a3e.js → layout-bf6c9c10.js} +1 -1
  51. package/dist/{line-a77fdd5a.js → line-2acb2eac.js} +1 -1
  52. package/dist/{line-53c588d2.js → line-8c0d1ce4.js} +1 -1
  53. package/dist/{linear-e84f7512.js → linear-3a0b8760.js} +53 -53
  54. package/dist/{linear-02094aea.js → linear-74c1a623.js} +1 -1
  55. package/dist/{mermaid-9357f3d0.js → mermaid-1260cb94.js} +2681 -2741
  56. package/dist/{mermaid-a953d906.js → mermaid-c798b724.js} +21 -21
  57. package/dist/{mermaid-4b4b971d.js → mermaid-d088a70a.js} +309 -509
  58. package/dist/mermaid.core.mjs +2 -2
  59. package/dist/mermaid.esm.min.mjs +1 -1
  60. package/dist/mermaid.esm.mjs +2 -2
  61. package/dist/mermaid.js +1962 -2283
  62. package/dist/mermaid.min.js +169 -169
  63. package/dist/{mindmap-definition-72dfd2cf.js → mindmap-definition-35f87354.js} +2 -3
  64. package/dist/{mindmap-definition-74e4e806.js → mindmap-definition-392181bc.js} +3 -3
  65. package/dist/{mindmap-definition-f15622b9.js → mindmap-definition-978d0aa1.js} +8 -9
  66. package/dist/{pieDiagram-c6456618.js → pieDiagram-1492e6de.js} +20 -20
  67. package/dist/{pieDiagram-f5e05a25.js → pieDiagram-65c60a0f.js} +2 -2
  68. package/dist/{pieDiagram-b37f1ea3.js → pieDiagram-7831f37b.js} +2 -2
  69. package/dist/{quadrantDiagram-f1fd3d51.js → quadrantDiagram-47d99734.js} +2 -2
  70. package/dist/{quadrantDiagram-652558cb.js → quadrantDiagram-4b93bc7d.js} +2 -2
  71. package/dist/{quadrantDiagram-00f6f261.js → quadrantDiagram-99311d56.js} +2 -2
  72. package/dist/{requirementDiagram-730b4d6e.js → requirementDiagram-75661920.js} +2 -2
  73. package/dist/{requirementDiagram-128084d2.js → requirementDiagram-ca360737.js} +3 -3
  74. package/dist/{requirementDiagram-9d006eb9.js → requirementDiagram-fd8060bb.js} +3 -3
  75. package/dist/{selectAll-f3da6cb0.js → selectAll-a3888f04.js} +1 -1
  76. package/dist/{selectAll-9c9e0fdb.js → selectAll-e2aa769d.js} +1 -1
  77. package/dist/{sequenceDiagram-fd141e9d.js → sequenceDiagram-2c4b027b.js} +3 -3
  78. package/dist/{sequenceDiagram-0cbbfffa.js → sequenceDiagram-914a5886.js} +3 -3
  79. package/dist/{sequenceDiagram-edd7e28f.js → sequenceDiagram-997764bf.js} +2 -2
  80. package/dist/{stateDiagram-d766d74d.js → stateDiagram-6af74882.js} +3 -3
  81. package/dist/{stateDiagram-84937bea.js → stateDiagram-83676724.js} +4 -4
  82. package/dist/{stateDiagram-27a317c3.js → stateDiagram-8bf927d7.js} +4 -4
  83. package/dist/{stateDiagram-v2-f9cea4e2.js → stateDiagram-v2-3407a59e.js} +8 -8
  84. package/dist/{stateDiagram-v2-978d1189.js → stateDiagram-v2-38d85efb.js} +7 -7
  85. package/dist/{stateDiagram-v2-95cd6741.js → stateDiagram-v2-967b4cd7.js} +8 -8
  86. package/dist/{styles-8f10a3c1.js → styles-23e67235.js} +5 -5
  87. package/dist/{styles-6e15b198.js → styles-2b4296cf.js} +1 -1
  88. package/dist/{styles-2797ae0f.js → styles-70a7214f.js} +1 -1
  89. package/dist/{styles-9a36b1c0.js → styles-88253b19.js} +5 -5
  90. package/dist/{styles-40ddcbf3.js → styles-8989aec7.js} +3 -3
  91. package/dist/{styles-4ffad38c.js → styles-8e1df061.js} +1 -1
  92. package/dist/{styles-38a11c49.js → styles-9a239f33.js} +1 -1
  93. package/dist/{styles-237fcbdf.js → styles-c6d3e8ea.js} +1 -1
  94. package/dist/{styles-83c6d4e6.js → styles-f4b133de.js} +1 -1
  95. package/dist/{svgDraw-6750006d.js → svgDraw-b0bb1a79.js} +1 -1
  96. package/dist/{svgDraw-1b15aedc.js → svgDraw-d109f02c.js} +2 -2
  97. package/dist/{svgDraw-c2b80d25.js → svgDraw-f080acf7.js} +2 -2
  98. package/dist/{svgDrawCommon-7d467860.js → svgDrawCommon-2013f713.js} +1 -1
  99. package/dist/{svgDrawCommon-ca4e6afc.js → svgDrawCommon-caf4b820.js} +1 -1
  100. package/dist/{timeline-definition-d53f6d76.js → timeline-definition-4303c69e.js} +2 -2
  101. package/dist/{timeline-definition-a4c404a4.js → timeline-definition-4a21fd34.js} +2 -2
  102. package/dist/{timeline-definition-8c5f9700.js → timeline-definition-f35bc5a0.js} +2 -2
  103. package/package.json +2 -2
  104. package/dist/_commonjsHelpers-10dfc225.js +0 -8
  105. package/dist/_commonjsHelpers-7a77ea84.js +0 -8
  106. package/dist/ganttDiagram-de5cce7c.js +0 -2519
@@ -36,425 +36,227 @@ function dedent(templ) {
36
36
  });
37
37
  return string;
38
38
  }
39
- var SECONDS_A_MINUTE = 60;
40
- var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
41
- var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
42
- var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
43
- var MILLISECONDS_A_SECOND = 1e3;
44
- var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
45
- var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
46
- var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
47
- var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND;
48
- var MS = "millisecond";
49
- var S = "second";
50
- var MIN = "minute";
51
- var H = "hour";
52
- var D = "day";
53
- var W = "week";
54
- var M = "month";
55
- var Q = "quarter";
56
- var Y = "year";
57
- var DATE = "date";
58
- var FORMAT_DEFAULT = "YYYY-MM-DDTHH:mm:ssZ";
59
- var INVALID_DATE_STRING = "Invalid Date";
60
- var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
61
- var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
62
- const en = {
63
- name: "en",
64
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
65
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
66
- ordinal: function ordinal(n) {
67
- var s = ["th", "st", "nd", "rd"];
68
- var v = n % 100;
69
- return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
70
- }
71
- };
72
- var padStart$1 = function padStart(string, length2, pad) {
73
- var s = String(string);
74
- if (!s || s.length >= length2)
75
- return string;
76
- return "" + Array(length2 + 1 - s.length).join(pad) + string;
77
- };
78
- var padZoneStr = function padZoneStr2(instance) {
79
- var negMinutes = -instance.utcOffset();
80
- var minutes = Math.abs(negMinutes);
81
- var hourOffset = Math.floor(minutes / 60);
82
- var minuteOffset = minutes % 60;
83
- return (negMinutes <= 0 ? "+" : "-") + padStart$1(hourOffset, 2, "0") + ":" + padStart$1(minuteOffset, 2, "0");
84
- };
85
- var monthDiff = function monthDiff2(a, b) {
86
- if (a.date() < b.date())
87
- return -monthDiff2(b, a);
88
- var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
89
- var anchor = a.clone().add(wholeMonthDiff, M);
90
- var c = b - anchor < 0;
91
- var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
92
- return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
93
- };
94
- var absFloor = function absFloor2(n) {
95
- return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
96
- };
97
- var prettyUnit = function prettyUnit2(u) {
98
- var special = {
99
- M,
100
- y: Y,
101
- w: W,
102
- d: D,
103
- D: DATE,
104
- h: H,
105
- m: MIN,
106
- s: S,
107
- ms: MS,
108
- Q
109
- };
110
- return special[u] || String(u || "").toLowerCase().replace(/s$/, "");
111
- };
112
- var isUndefined = function isUndefined2(s) {
113
- return s === void 0;
114
- };
115
- const U = {
116
- s: padStart$1,
117
- z: padZoneStr,
118
- m: monthDiff,
119
- a: absFloor,
120
- p: prettyUnit,
121
- u: isUndefined
122
- };
123
- var L = "en";
124
- var Ls = {};
125
- Ls[L] = en;
126
- var isDayjs = function isDayjs2(d) {
127
- return d instanceof Dayjs;
128
- };
129
- var parseLocale = function parseLocale2(preset, object, isLocal) {
130
- var l;
131
- if (!preset)
132
- return L;
133
- if (typeof preset === "string") {
134
- var presetLower = preset.toLowerCase();
135
- if (Ls[presetLower]) {
136
- l = presetLower;
137
- }
138
- if (object) {
139
- Ls[presetLower] = object;
140
- l = presetLower;
141
- }
142
- var presetSplit = preset.split("-");
143
- if (!l && presetSplit.length > 1) {
144
- return parseLocale2(presetSplit[0]);
145
- }
146
- } else {
147
- var name = preset.name;
148
- Ls[name] = preset;
149
- l = name;
150
- }
151
- if (!isLocal && l)
152
- L = l;
153
- return l || !isLocal && L;
154
- };
155
- var dayjs = function dayjs2(date, c) {
156
- if (isDayjs(date)) {
157
- return date.clone();
158
- }
159
- var cfg = typeof c === "object" ? c : {};
160
- cfg.date = date;
161
- cfg.args = arguments;
162
- return new Dayjs(cfg);
163
- };
164
- var wrapper = function wrapper2(date, instance) {
165
- return dayjs(date, {
166
- locale: instance.$L,
167
- utc: instance.$u,
168
- x: instance.$x,
169
- $offset: instance.$offset
170
- // todo: refactor; do not use this.$offset in you code
171
- });
172
- };
173
- var Utils$1 = U;
174
- Utils$1.l = parseLocale;
175
- Utils$1.i = isDayjs;
176
- Utils$1.w = wrapper;
177
- var parseDate = function parseDate2(cfg) {
178
- var date = cfg.date, utc = cfg.utc;
179
- if (date === null)
180
- return /* @__PURE__ */ new Date(NaN);
181
- if (Utils$1.u(date))
182
- return /* @__PURE__ */ new Date();
183
- if (date instanceof Date)
184
- return new Date(date);
185
- if (typeof date === "string" && !/Z$/i.test(date)) {
186
- var d = date.match(REGEX_PARSE);
187
- if (d) {
188
- var m = d[2] - 1 || 0;
189
- var ms = (d[7] || "0").substring(0, 3);
190
- if (utc) {
191
- return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
192
- }
193
- return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
194
- }
195
- }
196
- return new Date(date);
197
- };
198
- var Dayjs = /* @__PURE__ */ function() {
199
- function Dayjs2(cfg) {
200
- this.$L = parseLocale(cfg.locale, null, true);
201
- this.parse(cfg);
202
- }
203
- var _proto = Dayjs2.prototype;
204
- _proto.parse = function parse2(cfg) {
205
- this.$d = parseDate(cfg);
206
- this.$x = cfg.x || {};
207
- this.init();
208
- };
209
- _proto.init = function init2() {
210
- var $d = this.$d;
211
- this.$y = $d.getFullYear();
212
- this.$M = $d.getMonth();
213
- this.$D = $d.getDate();
214
- this.$W = $d.getDay();
215
- this.$H = $d.getHours();
216
- this.$m = $d.getMinutes();
217
- this.$s = $d.getSeconds();
218
- this.$ms = $d.getMilliseconds();
219
- };
220
- _proto.$utils = function $utils() {
221
- return Utils$1;
222
- };
223
- _proto.isValid = function isValid() {
224
- return !(this.$d.toString() === INVALID_DATE_STRING);
225
- };
226
- _proto.isSame = function isSame(that, units) {
227
- var other = dayjs(that);
228
- return this.startOf(units) <= other && other <= this.endOf(units);
229
- };
230
- _proto.isAfter = function isAfter(that, units) {
231
- return dayjs(that) < this.startOf(units);
232
- };
233
- _proto.isBefore = function isBefore(that, units) {
234
- return this.endOf(units) < dayjs(that);
235
- };
236
- _proto.$g = function $g(input, get2, set2) {
237
- if (Utils$1.u(input))
238
- return this[get2];
239
- return this.set(set2, input);
240
- };
241
- _proto.unix = function unix() {
242
- return Math.floor(this.valueOf() / 1e3);
243
- };
244
- _proto.valueOf = function valueOf() {
245
- return this.$d.getTime();
246
- };
247
- _proto.startOf = function startOf(units, _startOf) {
248
- var _this = this;
249
- var isStartOf = !Utils$1.u(_startOf) ? _startOf : true;
250
- var unit2 = Utils$1.p(units);
251
- var instanceFactory = function instanceFactory2(d, m) {
252
- var ins = Utils$1.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
253
- return isStartOf ? ins : ins.endOf(D);
254
- };
255
- var instanceFactorySet = function instanceFactorySet2(method, slice2) {
256
- var argumentStart = [0, 0, 0, 0];
257
- var argumentEnd = [23, 59, 59, 999];
258
- return Utils$1.w(_this.toDate()[method].apply(
259
- // eslint-disable-line prefer-spread
260
- _this.toDate("s"),
261
- (isStartOf ? argumentStart : argumentEnd).slice(slice2)
262
- ), _this);
263
- };
264
- var $W = this.$W, $M = this.$M, $D = this.$D;
265
- var utcPad = "set" + (this.$u ? "UTC" : "");
266
- switch (unit2) {
267
- case Y:
268
- return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
269
- case M:
270
- return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
271
- case W: {
272
- var weekStart = this.$locale().weekStart || 0;
273
- var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
274
- return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
275
- }
276
- case D:
277
- case DATE:
278
- return instanceFactorySet(utcPad + "Hours", 0);
279
- case H:
280
- return instanceFactorySet(utcPad + "Minutes", 1);
281
- case MIN:
282
- return instanceFactorySet(utcPad + "Seconds", 2);
283
- case S:
284
- return instanceFactorySet(utcPad + "Milliseconds", 3);
285
- default:
286
- return this.clone();
287
- }
288
- };
289
- _proto.endOf = function endOf(arg) {
290
- return this.startOf(arg, false);
291
- };
292
- _proto.$set = function $set(units, _int) {
293
- var _C$D$C$DATE$C$M$C$Y$C;
294
- var unit2 = Utils$1.p(units);
295
- var utcPad = "set" + (this.$u ? "UTC" : "");
296
- var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit2];
297
- var arg = unit2 === D ? this.$D + (_int - this.$W) : _int;
298
- if (unit2 === M || unit2 === Y) {
299
- var date = this.clone().set(DATE, 1);
300
- date.$d[name](arg);
301
- date.init();
302
- this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
303
- } else if (name)
304
- this.$d[name](arg);
305
- this.init();
306
- return this;
307
- };
308
- _proto.set = function set2(string, _int2) {
309
- return this.clone().$set(string, _int2);
310
- };
311
- _proto.get = function get2(unit2) {
312
- return this[Utils$1.p(unit2)]();
313
- };
314
- _proto.add = function add(number, units) {
315
- var _this2 = this, _C$MIN$C$H$C$S$unit;
316
- number = Number(number);
317
- var unit2 = Utils$1.p(units);
318
- var instanceFactorySet = function instanceFactorySet2(n) {
319
- var d = dayjs(_this2);
320
- return Utils$1.w(d.date(d.date() + Math.round(n * number)), _this2);
321
- };
322
- if (unit2 === M) {
323
- return this.set(M, this.$M + number);
324
- }
325
- if (unit2 === Y) {
326
- return this.set(Y, this.$y + number);
327
- }
328
- if (unit2 === D) {
329
- return instanceFactorySet(1);
330
- }
331
- if (unit2 === W) {
332
- return instanceFactorySet(7);
333
- }
334
- var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit2] || 1;
335
- var nextTimeStamp = this.$d.getTime() + number * step;
336
- return Utils$1.w(nextTimeStamp, this);
337
- };
338
- _proto.subtract = function subtract(number, string) {
339
- return this.add(number * -1, string);
340
- };
341
- _proto.format = function format2(formatStr) {
342
- var _this3 = this;
343
- var locale = this.$locale();
344
- if (!this.isValid())
345
- return locale.invalidDate || INVALID_DATE_STRING;
346
- var str2 = formatStr || FORMAT_DEFAULT;
347
- var zoneStr = Utils$1.z(this);
348
- var $H = this.$H, $m = this.$m, $M = this.$M;
349
- var weekdays = locale.weekdays, months = locale.months, meridiem = locale.meridiem;
350
- var getShort = function getShort2(arr, index, full, length2) {
351
- return arr && (arr[index] || arr(_this3, str2)) || full[index].slice(0, length2);
352
- };
353
- var get$H = function get$H2(num) {
354
- return Utils$1.s($H % 12 || 12, num, "0");
355
- };
356
- var meridiemFunc = meridiem || function(hour, minute, isLowercase) {
357
- var m = hour < 12 ? "AM" : "PM";
358
- return isLowercase ? m.toLowerCase() : m;
359
- };
360
- var matches = {
361
- YY: String(this.$y).slice(-2),
362
- YYYY: this.$y,
363
- M: $M + 1,
364
- MM: Utils$1.s($M + 1, 2, "0"),
365
- MMM: getShort(locale.monthsShort, $M, months, 3),
366
- MMMM: getShort(months, $M),
367
- D: this.$D,
368
- DD: Utils$1.s(this.$D, 2, "0"),
369
- d: String(this.$W),
370
- dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
371
- ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
372
- dddd: weekdays[this.$W],
373
- H: String($H),
374
- HH: Utils$1.s($H, 2, "0"),
375
- h: get$H(1),
376
- hh: get$H(2),
377
- a: meridiemFunc($H, $m, true),
378
- A: meridiemFunc($H, $m, false),
379
- m: String($m),
380
- mm: Utils$1.s($m, 2, "0"),
381
- s: String(this.$s),
382
- ss: Utils$1.s(this.$s, 2, "0"),
383
- SSS: Utils$1.s(this.$ms, 3, "0"),
384
- Z: zoneStr
385
- // 'ZZ' logic below
39
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
40
+ function getDefaultExportFromCjs(x) {
41
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
42
+ }
43
+ var dayjs_minExports = {};
44
+ var dayjs_min = {
45
+ get exports() {
46
+ return dayjs_minExports;
47
+ },
48
+ set exports(v) {
49
+ dayjs_minExports = v;
50
+ }
51
+ };
52
+ (function(module2, exports2) {
53
+ !function(t, e) {
54
+ module2.exports = e();
55
+ }(commonjsGlobal, function() {
56
+ var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", f = "month", h = "quarter", c = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
57
+ var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
58
+ return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
59
+ } }, m = function(t2, e2, n2) {
60
+ var r2 = String(t2);
61
+ return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
62
+ }, v = { s: m, z: function(t2) {
63
+ var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
64
+ return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
65
+ }, m: function t2(e2, n2) {
66
+ if (e2.date() < n2.date())
67
+ return -t2(n2, e2);
68
+ var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, f), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), f);
69
+ return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
70
+ }, a: function(t2) {
71
+ return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
72
+ }, p: function(t2) {
73
+ return { M: f, y: c, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: h }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
74
+ }, u: function(t2) {
75
+ return void 0 === t2;
76
+ } }, g = "en", D = {};
77
+ D[g] = M;
78
+ var p = function(t2) {
79
+ return t2 instanceof _2;
80
+ }, S = function t2(e2, n2, r2) {
81
+ var i2;
82
+ if (!e2)
83
+ return g;
84
+ if ("string" == typeof e2) {
85
+ var s2 = e2.toLowerCase();
86
+ D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
87
+ var u2 = e2.split("-");
88
+ if (!i2 && u2.length > 1)
89
+ return t2(u2[0]);
90
+ } else {
91
+ var a2 = e2.name;
92
+ D[a2] = e2, i2 = a2;
93
+ }
94
+ return !r2 && i2 && (g = i2), i2 || !r2 && g;
95
+ }, w = function(t2, e2) {
96
+ if (p(t2))
97
+ return t2.clone();
98
+ var n2 = "object" == typeof e2 ? e2 : {};
99
+ return n2.date = t2, n2.args = arguments, new _2(n2);
100
+ }, O = v;
101
+ O.l = S, O.i = p, O.w = function(t2, e2) {
102
+ return w(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
386
103
  };
387
- return str2.replace(REGEX_FORMAT, function(match, $1) {
388
- return $1 || matches[match] || zoneStr.replace(":", "");
389
- });
390
- };
391
- _proto.utcOffset = function utcOffset() {
392
- return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
393
- };
394
- _proto.diff = function diff(input, units, _float) {
395
- var _C$Y$C$M$C$Q$C$W$C$D$;
396
- var unit2 = Utils$1.p(units);
397
- var that = dayjs(input);
398
- var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
399
- var diff2 = this - that;
400
- var result = Utils$1.m(this, that);
401
- result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff2 - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff2 - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff2 / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff2 / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff2 / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit2] || diff2;
402
- return _float ? result : Utils$1.a(result);
403
- };
404
- _proto.daysInMonth = function daysInMonth() {
405
- return this.endOf(M).$D;
406
- };
407
- _proto.$locale = function $locale() {
408
- return Ls[this.$L];
409
- };
410
- _proto.locale = function locale(preset, object) {
411
- if (!preset)
412
- return this.$L;
413
- var that = this.clone();
414
- var nextLocaleName = parseLocale(preset, object, true);
415
- if (nextLocaleName)
416
- that.$L = nextLocaleName;
417
- return that;
418
- };
419
- _proto.clone = function clone2() {
420
- return Utils$1.w(this.$d, this);
421
- };
422
- _proto.toDate = function toDate() {
423
- return new Date(this.valueOf());
424
- };
425
- _proto.toJSON = function toJSON() {
426
- return this.isValid() ? this.toISOString() : null;
427
- };
428
- _proto.toISOString = function toISOString() {
429
- return this.$d.toISOString();
430
- };
431
- _proto.toString = function toString2() {
432
- return this.$d.toUTCString();
433
- };
434
- return Dayjs2;
435
- }();
436
- var proto = Dayjs.prototype;
437
- dayjs.prototype = proto;
438
- [["$ms", MS], ["$s", S], ["$m", MIN], ["$H", H], ["$W", D], ["$M", M], ["$y", Y], ["$D", DATE]].forEach(function(g) {
439
- proto[g[1]] = function(input) {
440
- return this.$g(input, g[0], g[1]);
441
- };
442
- });
443
- dayjs.extend = function(plugin2, option) {
444
- if (!plugin2.$i) {
445
- plugin2(option, Dayjs, dayjs);
446
- plugin2.$i = true;
447
- }
448
- return dayjs;
449
- };
450
- dayjs.locale = parseLocale;
451
- dayjs.isDayjs = isDayjs;
452
- dayjs.unix = function(timestamp2) {
453
- return dayjs(timestamp2 * 1e3);
454
- };
455
- dayjs.en = Ls[L];
456
- dayjs.Ls = Ls;
457
- dayjs.p = {};
104
+ var _2 = function() {
105
+ function M2(t2) {
106
+ this.$L = S(t2.locale, null, true), this.parse(t2);
107
+ }
108
+ var m2 = M2.prototype;
109
+ return m2.parse = function(t2) {
110
+ this.$d = function(t3) {
111
+ var e2 = t3.date, n2 = t3.utc;
112
+ if (null === e2)
113
+ return /* @__PURE__ */ new Date(NaN);
114
+ if (O.u(e2))
115
+ return /* @__PURE__ */ new Date();
116
+ if (e2 instanceof Date)
117
+ return new Date(e2);
118
+ if ("string" == typeof e2 && !/Z$/i.test(e2)) {
119
+ var r2 = e2.match($);
120
+ if (r2) {
121
+ var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
122
+ return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
123
+ }
124
+ }
125
+ return new Date(e2);
126
+ }(t2), this.$x = t2.x || {}, this.init();
127
+ }, m2.init = function() {
128
+ var t2 = this.$d;
129
+ this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
130
+ }, m2.$utils = function() {
131
+ return O;
132
+ }, m2.isValid = function() {
133
+ return !(this.$d.toString() === l);
134
+ }, m2.isSame = function(t2, e2) {
135
+ var n2 = w(t2);
136
+ return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
137
+ }, m2.isAfter = function(t2, e2) {
138
+ return w(t2) < this.startOf(e2);
139
+ }, m2.isBefore = function(t2, e2) {
140
+ return this.endOf(e2) < w(t2);
141
+ }, m2.$g = function(t2, e2, n2) {
142
+ return O.u(t2) ? this[e2] : this.set(n2, t2);
143
+ }, m2.unix = function() {
144
+ return Math.floor(this.valueOf() / 1e3);
145
+ }, m2.valueOf = function() {
146
+ return this.$d.getTime();
147
+ }, m2.startOf = function(t2, e2) {
148
+ var n2 = this, r2 = !!O.u(e2) || e2, h2 = O.p(t2), l2 = function(t3, e3) {
149
+ var i2 = O.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
150
+ return r2 ? i2 : i2.endOf(a);
151
+ }, $2 = function(t3, e3) {
152
+ return O.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
153
+ }, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
154
+ switch (h2) {
155
+ case c:
156
+ return r2 ? l2(1, 0) : l2(31, 11);
157
+ case f:
158
+ return r2 ? l2(1, M3) : l2(0, M3 + 1);
159
+ case o:
160
+ var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
161
+ return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
162
+ case a:
163
+ case d:
164
+ return $2(v2 + "Hours", 0);
165
+ case u:
166
+ return $2(v2 + "Minutes", 1);
167
+ case s:
168
+ return $2(v2 + "Seconds", 2);
169
+ case i:
170
+ return $2(v2 + "Milliseconds", 3);
171
+ default:
172
+ return this.clone();
173
+ }
174
+ }, m2.endOf = function(t2) {
175
+ return this.startOf(t2, false);
176
+ }, m2.$set = function(t2, e2) {
177
+ var n2, o2 = O.p(t2), h2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = h2 + "Date", n2[d] = h2 + "Date", n2[f] = h2 + "Month", n2[c] = h2 + "FullYear", n2[u] = h2 + "Hours", n2[s] = h2 + "Minutes", n2[i] = h2 + "Seconds", n2[r] = h2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
178
+ if (o2 === f || o2 === c) {
179
+ var y2 = this.clone().set(d, 1);
180
+ y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
181
+ } else
182
+ l2 && this.$d[l2]($2);
183
+ return this.init(), this;
184
+ }, m2.set = function(t2, e2) {
185
+ return this.clone().$set(t2, e2);
186
+ }, m2.get = function(t2) {
187
+ return this[O.p(t2)]();
188
+ }, m2.add = function(r2, h2) {
189
+ var d2, l2 = this;
190
+ r2 = Number(r2);
191
+ var $2 = O.p(h2), y2 = function(t2) {
192
+ var e2 = w(l2);
193
+ return O.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
194
+ };
195
+ if ($2 === f)
196
+ return this.set(f, this.$M + r2);
197
+ if ($2 === c)
198
+ return this.set(c, this.$y + r2);
199
+ if ($2 === a)
200
+ return y2(1);
201
+ if ($2 === o)
202
+ return y2(7);
203
+ var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
204
+ return O.w(m3, this);
205
+ }, m2.subtract = function(t2, e2) {
206
+ return this.add(-1 * t2, e2);
207
+ }, m2.format = function(t2) {
208
+ var e2 = this, n2 = this.$locale();
209
+ if (!this.isValid())
210
+ return n2.invalidDate || l;
211
+ var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = O.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, f2 = n2.months, h2 = function(t3, n3, i3, s3) {
212
+ return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
213
+ }, c2 = function(t3) {
214
+ return O.s(s2 % 12 || 12, t3, "0");
215
+ }, d2 = n2.meridiem || function(t3, e3, n3) {
216
+ var r3 = t3 < 12 ? "AM" : "PM";
217
+ return n3 ? r3.toLowerCase() : r3;
218
+ }, $2 = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: a2 + 1, MM: O.s(a2 + 1, 2, "0"), MMM: h2(n2.monthsShort, a2, f2, 3), MMMM: h2(f2, a2), D: this.$D, DD: O.s(this.$D, 2, "0"), d: String(this.$W), dd: h2(n2.weekdaysMin, this.$W, o2, 2), ddd: h2(n2.weekdaysShort, this.$W, o2, 3), dddd: o2[this.$W], H: String(s2), HH: O.s(s2, 2, "0"), h: c2(1), hh: c2(2), a: d2(s2, u2, true), A: d2(s2, u2, false), m: String(u2), mm: O.s(u2, 2, "0"), s: String(this.$s), ss: O.s(this.$s, 2, "0"), SSS: O.s(this.$ms, 3, "0"), Z: i2 };
219
+ return r2.replace(y, function(t3, e3) {
220
+ return e3 || $2[t3] || i2.replace(":", "");
221
+ });
222
+ }, m2.utcOffset = function() {
223
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
224
+ }, m2.diff = function(r2, d2, l2) {
225
+ var $2, y2 = O.p(d2), M3 = w(r2), m3 = (M3.utcOffset() - this.utcOffset()) * e, v2 = this - M3, g2 = O.m(this, M3);
226
+ return g2 = ($2 = {}, $2[c] = g2 / 12, $2[f] = g2, $2[h] = g2 / 3, $2[o] = (v2 - m3) / 6048e5, $2[a] = (v2 - m3) / 864e5, $2[u] = v2 / n, $2[s] = v2 / e, $2[i] = v2 / t, $2)[y2] || v2, l2 ? g2 : O.a(g2);
227
+ }, m2.daysInMonth = function() {
228
+ return this.endOf(f).$D;
229
+ }, m2.$locale = function() {
230
+ return D[this.$L];
231
+ }, m2.locale = function(t2, e2) {
232
+ if (!t2)
233
+ return this.$L;
234
+ var n2 = this.clone(), r2 = S(t2, e2, true);
235
+ return r2 && (n2.$L = r2), n2;
236
+ }, m2.clone = function() {
237
+ return O.w(this.$d, this);
238
+ }, m2.toDate = function() {
239
+ return new Date(this.valueOf());
240
+ }, m2.toJSON = function() {
241
+ return this.isValid() ? this.toISOString() : null;
242
+ }, m2.toISOString = function() {
243
+ return this.$d.toISOString();
244
+ }, m2.toString = function() {
245
+ return this.$d.toUTCString();
246
+ }, M2;
247
+ }(), T = _2.prototype;
248
+ return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function(t2) {
249
+ T[t2[1]] = function(e2) {
250
+ return this.$g(e2, t2[0], t2[1]);
251
+ };
252
+ }), w.extend = function(t2, e2) {
253
+ return t2.$i || (t2(e2, _2, w), t2.$i = true), w;
254
+ }, w.locale = S, w.isDayjs = p, w.unix = function(t2) {
255
+ return w(1e3 * t2);
256
+ }, w.en = D[g], w.Ls = D, w.p = {}, w;
257
+ });
258
+ })(dayjs_min);
259
+ const dayjs = dayjs_minExports;
458
260
  const LEVELS = {
459
261
  trace: 0,
460
262
  debug: 1,
@@ -8912,7 +8714,7 @@ function getLine(buffer, lineStart, lineEnd, position2, maxLineLength) {
8912
8714
  // relative position
8913
8715
  };
8914
8716
  }
8915
- function padStart2(string, max2) {
8717
+ function padStart(string, max2) {
8916
8718
  return common.repeat(" ", max2 - string.length) + string;
8917
8719
  }
8918
8720
  function makeSnippet(mark, options) {
@@ -8954,10 +8756,10 @@ function makeSnippet(mark, options) {
8954
8756
  mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo - i]),
8955
8757
  maxLineLength
8956
8758
  );
8957
- result = common.repeat(" ", options.indent) + padStart2((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + "\n" + result;
8759
+ result = common.repeat(" ", options.indent) + padStart((mark.line - i + 1).toString(), lineNoLength) + " | " + line2.str + "\n" + result;
8958
8760
  }
8959
8761
  line2 = getLine(mark.buffer, lineStarts[foundLineNo], lineEnds[foundLineNo], mark.position, maxLineLength);
8960
- result += common.repeat(" ", options.indent) + padStart2((mark.line + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
8762
+ result += common.repeat(" ", options.indent) + padStart((mark.line + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
8961
8763
  result += common.repeat("-", options.indent + lineNoLength + 3 + line2.pos) + "^\n";
8962
8764
  for (i = 1; i <= options.linesAfter; i++) {
8963
8765
  if (foundLineNo + i >= lineEnds.length)
@@ -8969,7 +8771,7 @@ function makeSnippet(mark, options) {
8969
8771
  mark.position - (lineStarts[foundLineNo] - lineStarts[foundLineNo + i]),
8970
8772
  maxLineLength
8971
8773
  );
8972
- result += common.repeat(" ", options.indent) + padStart2((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
8774
+ result += common.repeat(" ", options.indent) + padStart((mark.line + i + 1).toString(), lineNoLength) + " | " + line2.str + "\n";
8973
8775
  }
8974
8776
  return result.replace(/\n$/, "");
8975
8777
  }
@@ -12482,13 +12284,13 @@ function stringify(element, index, children2, callback) {
12482
12284
  }
12483
12285
  return strlen(children2 = serialize(element.children, callback)) ? element.return = element.value + "{" + children2 + "}" : "";
12484
12286
  }
12485
- const version = "10.2.0";
12287
+ const version = "10.2.1";
12486
12288
  const id$i = "c4";
12487
12289
  const detector$i = (txt) => {
12488
12290
  return txt.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/) !== null;
12489
12291
  };
12490
12292
  const loader$i = async () => {
12491
- const { diagram: diagram2 } = await import("./c4Diagram-513b24e8.js");
12293
+ const { diagram: diagram2 } = await import("./c4Diagram-8db19464.js");
12492
12294
  return { id: id$i, diagram: diagram2 };
12493
12295
  };
12494
12296
  const plugin$i = {
@@ -12506,7 +12308,7 @@ const detector$h = (txt, config2) => {
12506
12308
  return txt.match(/^\s*graph/) !== null;
12507
12309
  };
12508
12310
  const loader$h = async () => {
12509
- const { diagram: diagram2 } = await import("./flowDiagram-6109f557.js");
12311
+ const { diagram: diagram2 } = await import("./flowDiagram-a63e5267.js");
12510
12312
  return { id: id$h, diagram: diagram2 };
12511
12313
  };
12512
12314
  const plugin$h = {
@@ -12527,7 +12329,7 @@ const detector$g = (txt, config2) => {
12527
12329
  return txt.match(/^\s*flowchart/) !== null;
12528
12330
  };
12529
12331
  const loader$g = async () => {
12530
- const { diagram: diagram2 } = await import("./flowDiagram-v2-8e0e5a90.js");
12332
+ const { diagram: diagram2 } = await import("./flowDiagram-v2-044bf32b.js");
12531
12333
  return { id: id$g, diagram: diagram2 };
12532
12334
  };
12533
12335
  const plugin$g = {
@@ -12541,7 +12343,7 @@ const detector$f = (txt) => {
12541
12343
  return txt.match(/^\s*erDiagram/) !== null;
12542
12344
  };
12543
12345
  const loader$f = async () => {
12544
- const { diagram: diagram2 } = await import("./erDiagram-8104ad20.js");
12346
+ const { diagram: diagram2 } = await import("./erDiagram-decfd4cd.js");
12545
12347
  return { id: id$f, diagram: diagram2 };
12546
12348
  };
12547
12349
  const plugin$f = {
@@ -12555,7 +12357,7 @@ const detector$e = (txt) => {
12555
12357
  return txt.match(/^\s*gitGraph/) !== null;
12556
12358
  };
12557
12359
  const loader$e = async () => {
12558
- const { diagram: diagram2 } = await import("./gitGraphDiagram-70b91930.js");
12360
+ const { diagram: diagram2 } = await import("./gitGraphDiagram-5c05bf95.js");
12559
12361
  return { id: id$e, diagram: diagram2 };
12560
12362
  };
12561
12363
  const plugin$e = {
@@ -12569,7 +12371,7 @@ const detector$d = (txt) => {
12569
12371
  return txt.match(/^\s*gantt/) !== null;
12570
12372
  };
12571
12373
  const loader$d = async () => {
12572
- const { diagram: diagram2 } = await import("./ganttDiagram-528c8345.js");
12374
+ const { diagram: diagram2 } = await import("./ganttDiagram-c18b0eb0.js");
12573
12375
  return { id: id$d, diagram: diagram2 };
12574
12376
  };
12575
12377
  const plugin$d = {
@@ -12583,7 +12385,7 @@ const detector$c = (txt) => {
12583
12385
  return txt.match(/^\s*info/) !== null;
12584
12386
  };
12585
12387
  const loader$c = async () => {
12586
- const { diagram: diagram2 } = await import("./infoDiagram-6c45e6e5.js");
12388
+ const { diagram: diagram2 } = await import("./infoDiagram-43eb5d4d.js");
12587
12389
  return { id: id$c, diagram: diagram2 };
12588
12390
  };
12589
12391
  const plugin$c = {
@@ -12597,7 +12399,7 @@ const detector$b = (txt) => {
12597
12399
  return txt.match(/^\s*pie/) !== null;
12598
12400
  };
12599
12401
  const loader$b = async () => {
12600
- const { diagram: diagram2 } = await import("./pieDiagram-b37f1ea3.js");
12402
+ const { diagram: diagram2 } = await import("./pieDiagram-7831f37b.js");
12601
12403
  return { id: id$b, diagram: diagram2 };
12602
12404
  };
12603
12405
  const plugin$b = {
@@ -12611,7 +12413,7 @@ const detector$a = (txt) => {
12611
12413
  return txt.match(/^\s*quadrantChart/) !== null;
12612
12414
  };
12613
12415
  const loader$a = async () => {
12614
- const { diagram: diagram2 } = await import("./quadrantDiagram-00f6f261.js");
12416
+ const { diagram: diagram2 } = await import("./quadrantDiagram-99311d56.js");
12615
12417
  return { id: id$a, diagram: diagram2 };
12616
12418
  };
12617
12419
  const plugin$a = {
@@ -12625,7 +12427,7 @@ const detector$9 = (txt) => {
12625
12427
  return txt.match(/^\s*requirement(Diagram)?/) !== null;
12626
12428
  };
12627
12429
  const loader$9 = async () => {
12628
- const { diagram: diagram2 } = await import("./requirementDiagram-9d006eb9.js");
12430
+ const { diagram: diagram2 } = await import("./requirementDiagram-fd8060bb.js");
12629
12431
  return { id: id$9, diagram: diagram2 };
12630
12432
  };
12631
12433
  const plugin$9 = {
@@ -12639,7 +12441,7 @@ const detector$8 = (txt) => {
12639
12441
  return txt.match(/^\s*sequenceDiagram/) !== null;
12640
12442
  };
12641
12443
  const loader$8 = async () => {
12642
- const { diagram: diagram2 } = await import("./sequenceDiagram-fd141e9d.js");
12444
+ const { diagram: diagram2 } = await import("./sequenceDiagram-2c4b027b.js");
12643
12445
  return { id: id$8, diagram: diagram2 };
12644
12446
  };
12645
12447
  const plugin$8 = {
@@ -12657,7 +12459,7 @@ const detector$7 = (txt, config2) => {
12657
12459
  return txt.match(/^\s*classDiagram/) !== null;
12658
12460
  };
12659
12461
  const loader$7 = async () => {
12660
- const { diagram: diagram2 } = await import("./classDiagram-f485cf84.js");
12462
+ const { diagram: diagram2 } = await import("./classDiagram-608608fe.js");
12661
12463
  return { id: id$7, diagram: diagram2 };
12662
12464
  };
12663
12465
  const plugin$7 = {
@@ -12675,7 +12477,7 @@ const detector$6 = (txt, config2) => {
12675
12477
  return txt.match(/^\s*classDiagram-v2/) !== null;
12676
12478
  };
12677
12479
  const loader$6 = async () => {
12678
- const { diagram: diagram2 } = await import("./classDiagram-v2-227953d9.js");
12480
+ const { diagram: diagram2 } = await import("./classDiagram-v2-306d6a80.js");
12679
12481
  return { id: id$6, diagram: diagram2 };
12680
12482
  };
12681
12483
  const plugin$6 = {
@@ -12693,7 +12495,7 @@ const detector$5 = (txt, config2) => {
12693
12495
  return txt.match(/^\s*stateDiagram/) !== null;
12694
12496
  };
12695
12497
  const loader$5 = async () => {
12696
- const { diagram: diagram2 } = await import("./stateDiagram-27a317c3.js");
12498
+ const { diagram: diagram2 } = await import("./stateDiagram-8bf927d7.js");
12697
12499
  return { id: id$5, diagram: diagram2 };
12698
12500
  };
12699
12501
  const plugin$5 = {
@@ -12717,7 +12519,7 @@ const detector$4 = (text2, config2) => {
12717
12519
  return false;
12718
12520
  };
12719
12521
  const loader$4 = async () => {
12720
- const { diagram: diagram2 } = await import("./stateDiagram-v2-f9cea4e2.js");
12522
+ const { diagram: diagram2 } = await import("./stateDiagram-v2-3407a59e.js");
12721
12523
  return { id: id$4, diagram: diagram2 };
12722
12524
  };
12723
12525
  const plugin$4 = {
@@ -12731,7 +12533,7 @@ const detector$3 = (txt) => {
12731
12533
  return txt.match(/^\s*journey/) !== null;
12732
12534
  };
12733
12535
  const loader$3 = async () => {
12734
- const { diagram: diagram2 } = await import("./journeyDiagram-5faf9fb3.js");
12536
+ const { diagram: diagram2 } = await import("./journeyDiagram-041ee509.js");
12735
12537
  return { id: id$3, diagram: diagram2 };
12736
12538
  };
12737
12539
  const plugin$3 = {
@@ -12816,7 +12618,7 @@ const detector$2 = (txt, config2) => {
12816
12618
  return false;
12817
12619
  };
12818
12620
  const loader$2 = async () => {
12819
- const { diagram: diagram2 } = await import("./flowchart-elk-definition-37ec854a.js");
12621
+ const { diagram: diagram2 } = await import("./flowchart-elk-definition-94ab4000.js");
12820
12622
  return { id: id$2, diagram: diagram2 };
12821
12623
  };
12822
12624
  const plugin$2 = {
@@ -12830,7 +12632,7 @@ const detector$1 = (txt) => {
12830
12632
  return txt.match(/^\s*timeline/) !== null;
12831
12633
  };
12832
12634
  const loader$1 = async () => {
12833
- const { diagram: diagram2 } = await import("./timeline-definition-8c5f9700.js");
12635
+ const { diagram: diagram2 } = await import("./timeline-definition-f35bc5a0.js");
12834
12636
  return { id: id$1, diagram: diagram2 };
12835
12637
  };
12836
12638
  const plugin$1 = {
@@ -12844,7 +12646,7 @@ const detector = (txt) => {
12844
12646
  return txt.match(/^\s*mindmap/) !== null;
12845
12647
  };
12846
12648
  const loader = async () => {
12847
- const { diagram: diagram2 } = await import("./mindmap-definition-72dfd2cf.js");
12649
+ const { diagram: diagram2 } = await import("./mindmap-definition-35f87354.js");
12848
12650
  return { id, diagram: diagram2 };
12849
12651
  };
12850
12652
  const plugin = {
@@ -12986,8 +12788,8 @@ const attachFunctions = () => {
12986
12788
  };
12987
12789
  var objectProto$3 = Object.prototype;
12988
12790
  function isPrototype(value) {
12989
- var Ctor = value && value.constructor, proto2 = typeof Ctor == "function" && Ctor.prototype || objectProto$3;
12990
- return value === proto2;
12791
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$3;
12792
+ return value === proto;
12991
12793
  }
12992
12794
  function overArg(func, transform) {
12993
12795
  return function(arg) {
@@ -13666,7 +13468,7 @@ const mermaid = {
13666
13468
  detectType
13667
13469
  };
13668
13470
  export {
13669
- color as $,
13471
+ addFunction as $,
13670
13472
  getDiagramTitle as A,
13671
13473
  clear as B,
13672
13474
  Color$1 as C,
@@ -13681,73 +13483,71 @@ export {
13681
13483
  rgbConvert as L,
13682
13484
  nogamma as M,
13683
13485
  hue as N,
13684
- D as O,
13685
- FORMAT_DEFAULT as P,
13686
- dayjs as Q,
13486
+ commonjsGlobal as O,
13487
+ dayjs as P,
13488
+ tau as Q,
13687
13489
  Rgb as R,
13688
- tau as S,
13689
- parseFontSize as T,
13690
- getThemeVariables$2 as U,
13691
- defaultConfig$1 as V,
13692
- W,
13693
- constant as X,
13694
- Y,
13695
- interpolateNumber as Z,
13490
+ parseFontSize as S,
13491
+ getThemeVariables$2 as T,
13492
+ defaultConfig$1 as U,
13493
+ constant as V,
13494
+ interpolateNumber as W,
13495
+ color as X,
13496
+ interpolateRgb as Y,
13497
+ interpolateString as Z,
13696
13498
  _,
13697
13499
  getAccDescription as a,
13698
- interpolateRgb as a0,
13699
- interpolateString as a1,
13700
- addFunction as a2,
13701
- Selection$1 as a3,
13702
- root$2 as a4,
13703
- array as a5,
13704
- generateId as a6,
13705
- isObjectLike as a7,
13706
- baseGetTag as a8,
13707
- Symbol$2 as a9,
13708
- isDark$1 as aA,
13709
- lighten$1 as aB,
13710
- darken$1 as aC,
13711
- halfPi as aD,
13712
- epsilon as aE,
13713
- cos as aF,
13714
- sin as aG,
13715
- sqrt as aH,
13716
- min as aI,
13717
- abs$1 as aJ,
13718
- pi as aK,
13719
- atan2 as aL,
13720
- asin as aM,
13721
- acos as aN,
13722
- max as aO,
13723
- dedent as aP,
13724
- mermaid as aQ,
13725
- isArray$1 as aa,
13726
- isObject as ab,
13727
- getNative as ac,
13728
- eq as ad,
13729
- isArrayLike as ae,
13730
- isArguments$1 as af,
13731
- isBuffer$1 as ag,
13732
- isTypedArray$1 as ah,
13733
- baseKeys as ai,
13734
- isPrototype as aj,
13735
- memoize as ak,
13736
- overArg as al,
13737
- ListCache as am,
13738
- Map$2 as an,
13739
- MapCache as ao,
13740
- root$1 as ap,
13741
- getTag$1 as aq,
13742
- nodeUtil$1 as ar,
13743
- baseUnary as as,
13744
- isLength as at,
13745
- Set$1 as au,
13746
- isEmpty as av,
13747
- defaultConfig as aw,
13748
- decodeEntities as ax,
13749
- commonDb$1 as ay,
13750
- parseDirective$1 as az,
13500
+ Selection$1 as a0,
13501
+ root$2 as a1,
13502
+ array as a2,
13503
+ generateId as a3,
13504
+ isObjectLike as a4,
13505
+ baseGetTag as a5,
13506
+ Symbol$2 as a6,
13507
+ isArray$1 as a7,
13508
+ isObject as a8,
13509
+ getNative as a9,
13510
+ darken$1 as aA,
13511
+ halfPi as aB,
13512
+ epsilon as aC,
13513
+ cos as aD,
13514
+ sin as aE,
13515
+ sqrt as aF,
13516
+ min as aG,
13517
+ abs$1 as aH,
13518
+ pi as aI,
13519
+ atan2 as aJ,
13520
+ asin as aK,
13521
+ acos as aL,
13522
+ max as aM,
13523
+ dedent as aN,
13524
+ mermaid as aO,
13525
+ eq as aa,
13526
+ isArrayLike as ab,
13527
+ isArguments$1 as ac,
13528
+ isBuffer$1 as ad,
13529
+ isTypedArray$1 as ae,
13530
+ baseKeys as af,
13531
+ isPrototype as ag,
13532
+ memoize as ah,
13533
+ overArg as ai,
13534
+ ListCache as aj,
13535
+ Map$2 as ak,
13536
+ MapCache as al,
13537
+ root$1 as am,
13538
+ getTag$1 as an,
13539
+ nodeUtil$1 as ao,
13540
+ baseUnary as ap,
13541
+ isLength as aq,
13542
+ Set$1 as ar,
13543
+ isEmpty as as,
13544
+ getDefaultExportFromCjs as at,
13545
+ defaultConfig as au,
13546
+ decodeEntities as av,
13547
+ commonDb$1 as aw,
13548
+ parseDirective$1 as ax,
13549
+ isDark$1 as ay,
13550
+ lighten$1 as az,
13751
13551
  setAccDescription as b,
13752
13552
  getConfig$1 as c,
13753
13553
  sanitizeText$2 as d,