@blueking/ai-blueking 2.1.4-beta.7 → 2.1.4-beta.8

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 (105) hide show
  1. package/dist/standalone/_baseFor-DZ1vnh4H.js +393 -0
  2. package/dist/standalone/arc-WNacHY26.js +80 -0
  3. package/dist/standalone/architecture-YZFGNWBL-pIa_tKdA.js +3 -0
  4. package/dist/standalone/architectureDiagram-Q4EWVU46-Bfam8Fg3.js +4057 -0
  5. package/dist/standalone/array-CWNufkl9.js +6 -0
  6. package/dist/standalone/blockDiagram-DXYQGD6D-vAb9uyF5.js +3033 -0
  7. package/dist/standalone/c4Diagram-AHTNJAMY-BWACU0ER.js +2961 -0
  8. package/dist/standalone/channel-Br5ChI8U.js +5 -0
  9. package/dist/standalone/chunk-2KRD3SAO-Deh6AASy.js +23 -0
  10. package/dist/standalone/chunk-336JU56O-CFKWNcxR.js +49 -0
  11. package/dist/standalone/chunk-426QAEUC-D_wKNd3w.js +9 -0
  12. package/dist/standalone/chunk-4BX2VUAB-DKC_OBWg.js +8 -0
  13. package/dist/standalone/chunk-4TB4RGXK-HiVG7T1A.js +3254 -0
  14. package/dist/standalone/chunk-55IACEB6-DBivnNb2.js +8 -0
  15. package/dist/standalone/chunk-5FUZZQ4R-tiEjqlP4.js +3638 -0
  16. package/dist/standalone/chunk-5PVQY5BW-BCjrVrWB.js +1299 -0
  17. package/dist/standalone/chunk-67CJDMHE-BX09W6oy.js +23 -0
  18. package/dist/standalone/chunk-7N4EOEYR-G144j5Vc.js +35 -0
  19. package/dist/standalone/chunk-AA7GKIK3-Dx9YCoJ-.js +30 -0
  20. package/dist/standalone/chunk-BSJP7CBP-DE8WR0MI.js +82 -0
  21. package/dist/standalone/chunk-CIAEETIT-Bv86XVLB.js +23 -0
  22. package/dist/standalone/chunk-EDXVE4YY-DE9KzYM-.js +25 -0
  23. package/dist/standalone/chunk-ENJZ2VHE-DlxIC-A3.js +560 -0
  24. package/dist/standalone/chunk-FMBD7UC4-DCkBrKFO.js +5 -0
  25. package/dist/standalone/chunk-FOC6F5B3-C7hwrEZJ.js +23 -0
  26. package/dist/standalone/chunk-ICPOFSXX-B9JXAgJU.js +2772 -0
  27. package/dist/standalone/chunk-K5T4RW27-T6hJxJM0.js +16070 -0
  28. package/dist/standalone/chunk-KGLVRYIC-C0JPhrjn.js +23 -0
  29. package/dist/standalone/chunk-LIHQZDEY-CiavnvWh.js +64 -0
  30. package/dist/standalone/chunk-ORNJ4GCN-BtJ79bik.js +31 -0
  31. package/dist/standalone/chunk-OYMX7WX6-D2UHnmfD.js +2014 -0
  32. package/dist/standalone/chunk-QZHKN3VN-DhzThSvb.js +15 -0
  33. package/dist/standalone/chunk-U2HBQHQK-75Isf1R4.js +1896 -0
  34. package/dist/standalone/chunk-WQLz0Won.js +20 -0
  35. package/dist/standalone/chunk-X2U36JSP-DSzducJI.js +67 -0
  36. package/dist/standalone/chunk-XPW4576I-BFhmu0d4.js +1146 -0
  37. package/dist/standalone/chunk-YZCP3GAM-90EaSO-2.js +60 -0
  38. package/dist/standalone/chunk-ZZ45TVLE-DUagTZ9d.js +32 -0
  39. package/dist/standalone/classDiagram-6PBFFD2Q-Bwt78q4N.js +29 -0
  40. package/dist/standalone/classDiagram-v2-HSJHXN6E-B2qI9-xf.js +29 -0
  41. package/dist/standalone/clone-CBw-BHXl.js +8 -0
  42. package/dist/standalone/cose-bilkent-S5V4N54A-DFJ1nlog.js +2250 -0
  43. package/dist/standalone/cytoscape.esm-DdhenceR.js +18103 -0
  44. package/dist/standalone/dagre-KV5264BT-CXTBtAae.js +293 -0
  45. package/dist/standalone/dagre-kfvGmNUa.js +1606 -0
  46. package/dist/standalone/defaultLocale-bckJcYh1.js +201 -0
  47. package/dist/standalone/diagram-5BDNPKRD--gLHDKg-.js +101 -0
  48. package/dist/standalone/diagram-G4DWMVQ6-BwLE9Hsf.js +524 -0
  49. package/dist/standalone/diagram-MMDJMWI5-CoilYxa0.js +213 -0
  50. package/dist/standalone/diagram-TYMM5635-BupwRdr6.js +133 -0
  51. package/dist/standalone/dist-Dlj1jr8W.js +59 -0
  52. package/dist/standalone/erDiagram-SMLLAGMA-tIdn6ZCM.js +1700 -0
  53. package/dist/standalone/flatten-CXxC4cn2.js +40 -0
  54. package/dist/standalone/flowDiagram-DWJPFMVM-C86bLTAY.js +4146 -0
  55. package/dist/standalone/ganttDiagram-T4ZO3ILL-BT23lv_X.js +3077 -0
  56. package/dist/standalone/gitGraph-7Q5UKJZL-C-7nG8PF.js +3 -0
  57. package/dist/standalone/gitGraphDiagram-UUTBAWPF-DT1BGQsP.js +728 -0
  58. package/dist/standalone/graphlib-DrXiQBFg.js +373 -0
  59. package/dist/standalone/index.es.min.js +59705 -0
  60. package/dist/standalone/index.iife.min.js +3502 -0
  61. package/dist/standalone/index.umd.min.js +3502 -0
  62. package/dist/standalone/info-OMHHGYJF-BOS7mrON.js +3 -0
  63. package/dist/standalone/infoDiagram-42DDH7IO-Dx7LFK0B.js +19 -0
  64. package/dist/standalone/init-B75p2clj.js +15 -0
  65. package/dist/standalone/isEmpty-CVG4Bj-P.js +35 -0
  66. package/dist/standalone/ishikawaDiagram-UXIWVN3A-CX4cX3qb.js +718 -0
  67. package/dist/standalone/journeyDiagram-VCZTEJTY-BCvxmmFn.js +883 -0
  68. package/dist/standalone/kanban-definition-6JOO6SKY-SVINWaiM.js +973 -0
  69. package/dist/standalone/katex-CKrw0rbA.js +22016 -0
  70. package/dist/standalone/line-BF1XS-Ng.js +34 -0
  71. package/dist/standalone/linear-DGQDIL28.js +289 -0
  72. package/dist/standalone/mermaid-parser.core-Blz-Qy2h.js +69 -0
  73. package/dist/standalone/mermaid.core-CHTh1JGx.js +944 -0
  74. package/dist/standalone/mindmap-definition-QFDTVHPH-1Trzro3y.js +1009 -0
  75. package/dist/standalone/ordinal-F3U6aXtP.js +65 -0
  76. package/dist/standalone/packet-4T2RLAQJ-ai5Omp1h.js +3 -0
  77. package/dist/standalone/path-Dm3C8WEs.js +85 -0
  78. package/dist/standalone/pie-ZZUOXDRM-Df1rG6QC.js +3 -0
  79. package/dist/standalone/pieDiagram-DEJITSTG-D5Omb898.js +165 -0
  80. package/dist/standalone/purify.es-CZ_RvYUu.js +549 -0
  81. package/dist/standalone/quadrantDiagram-34T5L4WZ-Ct4g9T4o.js +1974 -0
  82. package/dist/standalone/radar-PYXPWWZC-B2t6k6Fg.js +3 -0
  83. package/dist/standalone/reduce-DbMsJ4nx.js +532 -0
  84. package/dist/standalone/requirementDiagram-MS252O5E-CP0BUgnz.js +2221 -0
  85. package/dist/standalone/rough.esm-UCEI3PYn.js +1352 -0
  86. package/dist/standalone/sankeyDiagram-XADWPNL6-D6C7yZ3k.js +920 -0
  87. package/dist/standalone/sequenceDiagram-FGHM5R23-KeodespT.js +4157 -0
  88. package/dist/standalone/src-CFVe5TPD.js +2146 -0
  89. package/dist/standalone/stateDiagram-FHFEXIEX-DAupoS9U.js +217 -0
  90. package/dist/standalone/stateDiagram-v2-QKLJ7IA2-C1Lw_i_z.js +27 -0
  91. package/dist/standalone/style.css +1 -0
  92. package/dist/standalone/timeline-definition-GMOUNBTQ-Cwhj84lX.js +1068 -0
  93. package/dist/standalone/treeView-SZITEDCU-BnoMeJSb.js +3 -0
  94. package/dist/standalone/treemap-W4RFUUIX-B38XFBZF.js +3 -0
  95. package/dist/standalone/vennDiagram-DHZGUBPP-_1PHloeO.js +1858 -0
  96. package/dist/standalone/wardley-RL74JXVD-bB8BBy_Y.js +3 -0
  97. package/dist/standalone/wardleyDiagram-NUSXRM2D-DRLCx-qh.js +578 -0
  98. package/dist/standalone/xychartDiagram-5P7HB3ND-Bz2-4Ufi.js +2044 -0
  99. package/dist/standalone-mount-core.d.ts +34 -0
  100. package/dist/standalone-mount-core.d.ts.map +1 -0
  101. package/dist/standalone-mount.d.ts +14 -0
  102. package/dist/standalone-mount.d.ts.map +1 -0
  103. package/dist/standalone.d.ts +8 -0
  104. package/dist/standalone.d.ts.map +1 -0
  105. package/package.json +12 -3
@@ -0,0 +1,1299 @@
1
+ import { C as e, D as t, O as n, T as r, _ as i, a, c as o, f as s, g as c, h as l, i as u, m as ee, n as d, o as f, p as te, r as p, s as m, t as h, v as g, w as _, x as v } from "./_baseFor-DZ1vnh4H.js";
2
+ import { g as y, h as b, p as ne } from "./src-CFVe5TPD.js";
3
+ import { I as re, f as ie, m as x, r as ae, s as S } from "./chunk-ICPOFSXX-B9JXAgJU.js";
4
+ import { t as oe } from "./dist-Dlj1jr8W.js";
5
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linear.js
6
+ function C(e) {
7
+ this._context = e;
8
+ }
9
+ C.prototype = {
10
+ areaStart: function() {
11
+ this._line = 0;
12
+ },
13
+ areaEnd: function() {
14
+ this._line = NaN;
15
+ },
16
+ lineStart: function() {
17
+ this._point = 0;
18
+ },
19
+ lineEnd: function() {
20
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
21
+ },
22
+ point: function(e, t) {
23
+ switch (e = +e, t = +t, this._point) {
24
+ case 0:
25
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
26
+ break;
27
+ case 1: this._point = 2;
28
+ default:
29
+ this._context.lineTo(e, t);
30
+ break;
31
+ }
32
+ }
33
+ };
34
+ function se(e) {
35
+ return new C(e);
36
+ }
37
+ //#endregion
38
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bump.js
39
+ var ce = class {
40
+ constructor(e, t) {
41
+ this._context = e, this._x = t;
42
+ }
43
+ areaStart() {
44
+ this._line = 0;
45
+ }
46
+ areaEnd() {
47
+ this._line = NaN;
48
+ }
49
+ lineStart() {
50
+ this._point = 0;
51
+ }
52
+ lineEnd() {
53
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
54
+ }
55
+ point(e, t) {
56
+ switch (e = +e, t = +t, this._point) {
57
+ case 0:
58
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
59
+ break;
60
+ case 1: this._point = 2;
61
+ default:
62
+ this._x ? this._context.bezierCurveTo(this._x0 = (this._x0 + e) / 2, this._y0, this._x0, t, e, t) : this._context.bezierCurveTo(this._x0, this._y0 = (this._y0 + t) / 2, e, this._y0, e, t);
63
+ break;
64
+ }
65
+ this._x0 = e, this._y0 = t;
66
+ }
67
+ };
68
+ function le(e) {
69
+ return new ce(e, !0);
70
+ }
71
+ function ue(e) {
72
+ return new ce(e, !1);
73
+ }
74
+ //#endregion
75
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/noop.js
76
+ function w() {}
77
+ //#endregion
78
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.js
79
+ function T(e, t, n) {
80
+ e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
81
+ }
82
+ function E(e) {
83
+ this._context = e;
84
+ }
85
+ E.prototype = {
86
+ areaStart: function() {
87
+ this._line = 0;
88
+ },
89
+ areaEnd: function() {
90
+ this._line = NaN;
91
+ },
92
+ lineStart: function() {
93
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
94
+ },
95
+ lineEnd: function() {
96
+ switch (this._point) {
97
+ case 3: T(this, this._x1, this._y1);
98
+ case 2:
99
+ this._context.lineTo(this._x1, this._y1);
100
+ break;
101
+ }
102
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
103
+ },
104
+ point: function(e, t) {
105
+ switch (e = +e, t = +t, this._point) {
106
+ case 0:
107
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
108
+ break;
109
+ case 1:
110
+ this._point = 2;
111
+ break;
112
+ case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
113
+ default:
114
+ T(this, e, t);
115
+ break;
116
+ }
117
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
118
+ }
119
+ };
120
+ function de(e) {
121
+ return new E(e);
122
+ }
123
+ //#endregion
124
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisClosed.js
125
+ function fe(e) {
126
+ this._context = e;
127
+ }
128
+ fe.prototype = {
129
+ areaStart: w,
130
+ areaEnd: w,
131
+ lineStart: function() {
132
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
133
+ },
134
+ lineEnd: function() {
135
+ switch (this._point) {
136
+ case 1:
137
+ this._context.moveTo(this._x2, this._y2), this._context.closePath();
138
+ break;
139
+ case 2:
140
+ this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3), this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3), this._context.closePath();
141
+ break;
142
+ case 3:
143
+ this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
144
+ break;
145
+ }
146
+ },
147
+ point: function(e, t) {
148
+ switch (e = +e, t = +t, this._point) {
149
+ case 0:
150
+ this._point = 1, this._x2 = e, this._y2 = t;
151
+ break;
152
+ case 1:
153
+ this._point = 2, this._x3 = e, this._y3 = t;
154
+ break;
155
+ case 2:
156
+ this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
157
+ break;
158
+ default:
159
+ T(this, e, t);
160
+ break;
161
+ }
162
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
163
+ }
164
+ };
165
+ function pe(e) {
166
+ return new fe(e);
167
+ }
168
+ //#endregion
169
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/basisOpen.js
170
+ function me(e) {
171
+ this._context = e;
172
+ }
173
+ me.prototype = {
174
+ areaStart: function() {
175
+ this._line = 0;
176
+ },
177
+ areaEnd: function() {
178
+ this._line = NaN;
179
+ },
180
+ lineStart: function() {
181
+ this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
182
+ },
183
+ lineEnd: function() {
184
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
185
+ },
186
+ point: function(e, t) {
187
+ switch (e = +e, t = +t, this._point) {
188
+ case 0:
189
+ this._point = 1;
190
+ break;
191
+ case 1:
192
+ this._point = 2;
193
+ break;
194
+ case 2:
195
+ this._point = 3;
196
+ var n = (this._x0 + 4 * this._x1 + e) / 6, r = (this._y0 + 4 * this._y1 + t) / 6;
197
+ this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
198
+ break;
199
+ case 3: this._point = 4;
200
+ default:
201
+ T(this, e, t);
202
+ break;
203
+ }
204
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
205
+ }
206
+ };
207
+ function he(e) {
208
+ return new me(e);
209
+ }
210
+ //#endregion
211
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/bundle.js
212
+ function ge(e, t) {
213
+ this._basis = new E(e), this._beta = t;
214
+ }
215
+ ge.prototype = {
216
+ lineStart: function() {
217
+ this._x = [], this._y = [], this._basis.lineStart();
218
+ },
219
+ lineEnd: function() {
220
+ var e = this._x, t = this._y, n = e.length - 1;
221
+ if (n > 0) for (var r = e[0], i = t[0], a = e[n] - r, o = t[n] - i, s = -1, c; ++s <= n;) c = s / n, this._basis.point(this._beta * e[s] + (1 - this._beta) * (r + c * a), this._beta * t[s] + (1 - this._beta) * (i + c * o));
222
+ this._x = this._y = null, this._basis.lineEnd();
223
+ },
224
+ point: function(e, t) {
225
+ this._x.push(+e), this._y.push(+t);
226
+ }
227
+ };
228
+ var _e = (function e(t) {
229
+ function n(e) {
230
+ return t === 1 ? new E(e) : new ge(e, t);
231
+ }
232
+ return n.beta = function(t) {
233
+ return e(+t);
234
+ }, n;
235
+ })(.85);
236
+ //#endregion
237
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinal.js
238
+ function D(e, t, n) {
239
+ e._context.bezierCurveTo(e._x1 + e._k * (e._x2 - e._x0), e._y1 + e._k * (e._y2 - e._y0), e._x2 + e._k * (e._x1 - t), e._y2 + e._k * (e._y1 - n), e._x2, e._y2);
240
+ }
241
+ function O(e, t) {
242
+ this._context = e, this._k = (1 - t) / 6;
243
+ }
244
+ O.prototype = {
245
+ areaStart: function() {
246
+ this._line = 0;
247
+ },
248
+ areaEnd: function() {
249
+ this._line = NaN;
250
+ },
251
+ lineStart: function() {
252
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
253
+ },
254
+ lineEnd: function() {
255
+ switch (this._point) {
256
+ case 2:
257
+ this._context.lineTo(this._x2, this._y2);
258
+ break;
259
+ case 3:
260
+ D(this, this._x1, this._y1);
261
+ break;
262
+ }
263
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
264
+ },
265
+ point: function(e, t) {
266
+ switch (e = +e, t = +t, this._point) {
267
+ case 0:
268
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
269
+ break;
270
+ case 1:
271
+ this._point = 2, this._x1 = e, this._y1 = t;
272
+ break;
273
+ case 2: this._point = 3;
274
+ default:
275
+ D(this, e, t);
276
+ break;
277
+ }
278
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
279
+ }
280
+ };
281
+ var ve = (function e(t) {
282
+ function n(e) {
283
+ return new O(e, t);
284
+ }
285
+ return n.tension = function(t) {
286
+ return e(+t);
287
+ }, n;
288
+ })(0);
289
+ //#endregion
290
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalClosed.js
291
+ function k(e, t) {
292
+ this._context = e, this._k = (1 - t) / 6;
293
+ }
294
+ k.prototype = {
295
+ areaStart: w,
296
+ areaEnd: w,
297
+ lineStart: function() {
298
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._point = 0;
299
+ },
300
+ lineEnd: function() {
301
+ switch (this._point) {
302
+ case 1:
303
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
304
+ break;
305
+ case 2:
306
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
307
+ break;
308
+ case 3:
309
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
310
+ break;
311
+ }
312
+ },
313
+ point: function(e, t) {
314
+ switch (e = +e, t = +t, this._point) {
315
+ case 0:
316
+ this._point = 1, this._x3 = e, this._y3 = t;
317
+ break;
318
+ case 1:
319
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
320
+ break;
321
+ case 2:
322
+ this._point = 3, this._x5 = e, this._y5 = t;
323
+ break;
324
+ default:
325
+ D(this, e, t);
326
+ break;
327
+ }
328
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
329
+ }
330
+ };
331
+ var ye = (function e(t) {
332
+ function n(e) {
333
+ return new k(e, t);
334
+ }
335
+ return n.tension = function(t) {
336
+ return e(+t);
337
+ }, n;
338
+ })(0);
339
+ //#endregion
340
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/cardinalOpen.js
341
+ function A(e, t) {
342
+ this._context = e, this._k = (1 - t) / 6;
343
+ }
344
+ A.prototype = {
345
+ areaStart: function() {
346
+ this._line = 0;
347
+ },
348
+ areaEnd: function() {
349
+ this._line = NaN;
350
+ },
351
+ lineStart: function() {
352
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
353
+ },
354
+ lineEnd: function() {
355
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
356
+ },
357
+ point: function(e, t) {
358
+ switch (e = +e, t = +t, this._point) {
359
+ case 0:
360
+ this._point = 1;
361
+ break;
362
+ case 1:
363
+ this._point = 2;
364
+ break;
365
+ case 2:
366
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
367
+ break;
368
+ case 3: this._point = 4;
369
+ default:
370
+ D(this, e, t);
371
+ break;
372
+ }
373
+ this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
374
+ }
375
+ };
376
+ var be = (function e(t) {
377
+ function n(e) {
378
+ return new A(e, t);
379
+ }
380
+ return n.tension = function(t) {
381
+ return e(+t);
382
+ }, n;
383
+ })(0);
384
+ //#endregion
385
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRom.js
386
+ function j(e, t, n) {
387
+ var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
388
+ if (e._l01_a > 1e-12) {
389
+ var s = 2 * e._l01_2a + 3 * e._l01_a * e._l12_a + e._l12_2a, c = 3 * e._l01_a * (e._l01_a + e._l12_a);
390
+ r = (r * s - e._x0 * e._l12_2a + e._x2 * e._l01_2a) / c, i = (i * s - e._y0 * e._l12_2a + e._y2 * e._l01_2a) / c;
391
+ }
392
+ if (e._l23_a > 1e-12) {
393
+ var l = 2 * e._l23_2a + 3 * e._l23_a * e._l12_a + e._l12_2a, u = 3 * e._l23_a * (e._l23_a + e._l12_a);
394
+ a = (a * l + e._x1 * e._l23_2a - t * e._l12_2a) / u, o = (o * l + e._y1 * e._l23_2a - n * e._l12_2a) / u;
395
+ }
396
+ e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
397
+ }
398
+ function M(e, t) {
399
+ this._context = e, this._alpha = t;
400
+ }
401
+ M.prototype = {
402
+ areaStart: function() {
403
+ this._line = 0;
404
+ },
405
+ areaEnd: function() {
406
+ this._line = NaN;
407
+ },
408
+ lineStart: function() {
409
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
410
+ },
411
+ lineEnd: function() {
412
+ switch (this._point) {
413
+ case 2:
414
+ this._context.lineTo(this._x2, this._y2);
415
+ break;
416
+ case 3:
417
+ this.point(this._x2, this._y2);
418
+ break;
419
+ }
420
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
421
+ },
422
+ point: function(e, t) {
423
+ if (e = +e, t = +t, this._point) {
424
+ var n = this._x2 - e, r = this._y2 - t;
425
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
426
+ }
427
+ switch (this._point) {
428
+ case 0:
429
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
430
+ break;
431
+ case 1:
432
+ this._point = 2;
433
+ break;
434
+ case 2: this._point = 3;
435
+ default:
436
+ j(this, e, t);
437
+ break;
438
+ }
439
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
440
+ }
441
+ };
442
+ var N = (function e(t) {
443
+ function n(e) {
444
+ return t ? new M(e, t) : new O(e, 0);
445
+ }
446
+ return n.alpha = function(t) {
447
+ return e(+t);
448
+ }, n;
449
+ })(.5);
450
+ //#endregion
451
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomClosed.js
452
+ function xe(e, t) {
453
+ this._context = e, this._alpha = t;
454
+ }
455
+ xe.prototype = {
456
+ areaStart: w,
457
+ areaEnd: w,
458
+ lineStart: function() {
459
+ this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
460
+ },
461
+ lineEnd: function() {
462
+ switch (this._point) {
463
+ case 1:
464
+ this._context.moveTo(this._x3, this._y3), this._context.closePath();
465
+ break;
466
+ case 2:
467
+ this._context.lineTo(this._x3, this._y3), this._context.closePath();
468
+ break;
469
+ case 3:
470
+ this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
471
+ break;
472
+ }
473
+ },
474
+ point: function(e, t) {
475
+ if (e = +e, t = +t, this._point) {
476
+ var n = this._x2 - e, r = this._y2 - t;
477
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
478
+ }
479
+ switch (this._point) {
480
+ case 0:
481
+ this._point = 1, this._x3 = e, this._y3 = t;
482
+ break;
483
+ case 1:
484
+ this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
485
+ break;
486
+ case 2:
487
+ this._point = 3, this._x5 = e, this._y5 = t;
488
+ break;
489
+ default:
490
+ j(this, e, t);
491
+ break;
492
+ }
493
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
494
+ }
495
+ };
496
+ var Se = (function e(t) {
497
+ function n(e) {
498
+ return t ? new xe(e, t) : new k(e, 0);
499
+ }
500
+ return n.alpha = function(t) {
501
+ return e(+t);
502
+ }, n;
503
+ })(.5);
504
+ //#endregion
505
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/catmullRomOpen.js
506
+ function Ce(e, t) {
507
+ this._context = e, this._alpha = t;
508
+ }
509
+ Ce.prototype = {
510
+ areaStart: function() {
511
+ this._line = 0;
512
+ },
513
+ areaEnd: function() {
514
+ this._line = NaN;
515
+ },
516
+ lineStart: function() {
517
+ this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._l01_a = this._l12_a = this._l23_a = this._l01_2a = this._l12_2a = this._l23_2a = this._point = 0;
518
+ },
519
+ lineEnd: function() {
520
+ (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
521
+ },
522
+ point: function(e, t) {
523
+ if (e = +e, t = +t, this._point) {
524
+ var n = this._x2 - e, r = this._y2 - t;
525
+ this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
526
+ }
527
+ switch (this._point) {
528
+ case 0:
529
+ this._point = 1;
530
+ break;
531
+ case 1:
532
+ this._point = 2;
533
+ break;
534
+ case 2:
535
+ this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
536
+ break;
537
+ case 3: this._point = 4;
538
+ default:
539
+ j(this, e, t);
540
+ break;
541
+ }
542
+ this._l01_a = this._l12_a, this._l12_a = this._l23_a, this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a, this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
543
+ }
544
+ };
545
+ var we = (function e(t) {
546
+ function n(e) {
547
+ return t ? new Ce(e, t) : new A(e, 0);
548
+ }
549
+ return n.alpha = function(t) {
550
+ return e(+t);
551
+ }, n;
552
+ })(.5);
553
+ //#endregion
554
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/linearClosed.js
555
+ function Te(e) {
556
+ this._context = e;
557
+ }
558
+ Te.prototype = {
559
+ areaStart: w,
560
+ areaEnd: w,
561
+ lineStart: function() {
562
+ this._point = 0;
563
+ },
564
+ lineEnd: function() {
565
+ this._point && this._context.closePath();
566
+ },
567
+ point: function(e, t) {
568
+ e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
569
+ }
570
+ };
571
+ function Ee(e) {
572
+ return new Te(e);
573
+ }
574
+ //#endregion
575
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/monotone.js
576
+ function De(e) {
577
+ return e < 0 ? -1 : 1;
578
+ }
579
+ function Oe(e, t, n) {
580
+ var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
581
+ return (De(a) + De(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
582
+ }
583
+ function ke(e, t) {
584
+ var n = e._x1 - e._x0;
585
+ return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
586
+ }
587
+ function P(e, t, n) {
588
+ var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
589
+ e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
590
+ }
591
+ function F(e) {
592
+ this._context = e;
593
+ }
594
+ F.prototype = {
595
+ areaStart: function() {
596
+ this._line = 0;
597
+ },
598
+ areaEnd: function() {
599
+ this._line = NaN;
600
+ },
601
+ lineStart: function() {
602
+ this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
603
+ },
604
+ lineEnd: function() {
605
+ switch (this._point) {
606
+ case 2:
607
+ this._context.lineTo(this._x1, this._y1);
608
+ break;
609
+ case 3:
610
+ P(this, this._t0, ke(this, this._t0));
611
+ break;
612
+ }
613
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
614
+ },
615
+ point: function(e, t) {
616
+ var n = NaN;
617
+ if (e = +e, t = +t, !(e === this._x1 && t === this._y1)) {
618
+ switch (this._point) {
619
+ case 0:
620
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
621
+ break;
622
+ case 1:
623
+ this._point = 2;
624
+ break;
625
+ case 2:
626
+ this._point = 3, P(this, ke(this, n = Oe(this, e, t)), n);
627
+ break;
628
+ default:
629
+ P(this, this._t0, n = Oe(this, e, t));
630
+ break;
631
+ }
632
+ this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
633
+ }
634
+ }
635
+ };
636
+ function Ae(e) {
637
+ this._context = new je(e);
638
+ }
639
+ (Ae.prototype = Object.create(F.prototype)).point = function(e, t) {
640
+ F.prototype.point.call(this, t, e);
641
+ };
642
+ function je(e) {
643
+ this._context = e;
644
+ }
645
+ je.prototype = {
646
+ moveTo: function(e, t) {
647
+ this._context.moveTo(t, e);
648
+ },
649
+ closePath: function() {
650
+ this._context.closePath();
651
+ },
652
+ lineTo: function(e, t) {
653
+ this._context.lineTo(t, e);
654
+ },
655
+ bezierCurveTo: function(e, t, n, r, i, a) {
656
+ this._context.bezierCurveTo(t, e, r, n, a, i);
657
+ }
658
+ };
659
+ function Me(e) {
660
+ return new F(e);
661
+ }
662
+ function Ne(e) {
663
+ return new Ae(e);
664
+ }
665
+ //#endregion
666
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/natural.js
667
+ function Pe(e) {
668
+ this._context = e;
669
+ }
670
+ Pe.prototype = {
671
+ areaStart: function() {
672
+ this._line = 0;
673
+ },
674
+ areaEnd: function() {
675
+ this._line = NaN;
676
+ },
677
+ lineStart: function() {
678
+ this._x = [], this._y = [];
679
+ },
680
+ lineEnd: function() {
681
+ var e = this._x, t = this._y, n = e.length;
682
+ if (n) if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
683
+ else for (var r = Fe(e), i = Fe(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
684
+ (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
685
+ },
686
+ point: function(e, t) {
687
+ this._x.push(+e), this._y.push(+t);
688
+ }
689
+ };
690
+ function Fe(e) {
691
+ var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
692
+ for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
693
+ for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
694
+ for (i[n - 1] = o[n - 1] / a[n - 1], t = n - 2; t >= 0; --t) i[t] = (o[t] - i[t + 1]) / a[t];
695
+ for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
696
+ return [i, a];
697
+ }
698
+ function Ie(e) {
699
+ return new Pe(e);
700
+ }
701
+ //#endregion
702
+ //#region ../../node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape/src/curve/step.js
703
+ function I(e, t) {
704
+ this._context = e, this._t = t;
705
+ }
706
+ I.prototype = {
707
+ areaStart: function() {
708
+ this._line = 0;
709
+ },
710
+ areaEnd: function() {
711
+ this._line = NaN;
712
+ },
713
+ lineStart: function() {
714
+ this._x = this._y = NaN, this._point = 0;
715
+ },
716
+ lineEnd: function() {
717
+ 0 < this._t && this._t < 1 && this._point === 2 && this._context.lineTo(this._x, this._y), (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line >= 0 && (this._t = 1 - this._t, this._line = 1 - this._line);
718
+ },
719
+ point: function(e, t) {
720
+ switch (e = +e, t = +t, this._point) {
721
+ case 0:
722
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
723
+ break;
724
+ case 1: this._point = 2;
725
+ default:
726
+ if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
727
+ else {
728
+ var n = this._x * (1 - this._t) + e * this._t;
729
+ this._context.lineTo(n, this._y), this._context.lineTo(n, t);
730
+ }
731
+ break;
732
+ }
733
+ this._x = e, this._y = t;
734
+ }
735
+ };
736
+ function Le(e) {
737
+ return new I(e, .5);
738
+ }
739
+ function Re(e) {
740
+ return new I(e, 0);
741
+ }
742
+ function ze(e) {
743
+ return new I(e, 1);
744
+ }
745
+ //#endregion
746
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
747
+ var Be = oe(), L = function() {
748
+ try {
749
+ var e = v(Object, "defineProperty");
750
+ return e({}, "", {}), e;
751
+ } catch {}
752
+ }();
753
+ //#endregion
754
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
755
+ function R(e, t, n) {
756
+ t == "__proto__" && L ? L(e, t, {
757
+ configurable: !0,
758
+ enumerable: !0,
759
+ value: n,
760
+ writable: !0
761
+ }) : e[t] = n;
762
+ }
763
+ //#endregion
764
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js
765
+ function z(e, t, r) {
766
+ (r !== void 0 && !n(e[t], r) || r === void 0 && !(t in e)) && R(e, t, r);
767
+ }
768
+ //#endregion
769
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js
770
+ var Ve = typeof exports == "object" && exports && !exports.nodeType && exports, He = Ve && typeof module == "object" && module && !module.nodeType && module, Ue = He && He.exports === Ve ? t.Buffer : void 0, We = Ue ? Ue.allocUnsafe : void 0;
771
+ function Ge(e, t) {
772
+ if (t) return e.slice();
773
+ var n = e.length, r = We ? We(n) : new e.constructor(n);
774
+ return e.copy(r), r;
775
+ }
776
+ //#endregion
777
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js
778
+ function Ke(e) {
779
+ var t = new e.constructor(e.byteLength);
780
+ return new i(t).set(new i(e)), t;
781
+ }
782
+ //#endregion
783
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js
784
+ function qe(e, t) {
785
+ var n = t ? Ke(e.buffer) : e.buffer;
786
+ return new e.constructor(n, e.byteOffset, e.length);
787
+ }
788
+ //#endregion
789
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js
790
+ function B(e, t) {
791
+ var n = -1, r = e.length;
792
+ for (t ||= Array(r); ++n < r;) t[n] = e[n];
793
+ return t;
794
+ }
795
+ //#endregion
796
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js
797
+ var Je = Object.create, Ye = function() {
798
+ function e() {}
799
+ return function(t) {
800
+ if (!_(t)) return {};
801
+ if (Je) return Je(t);
802
+ e.prototype = t;
803
+ var n = new e();
804
+ return e.prototype = void 0, n;
805
+ };
806
+ }(), V = a(Object.getPrototypeOf, Object);
807
+ //#endregion
808
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js
809
+ function Xe(e) {
810
+ return typeof e.constructor == "function" && !f(e) ? Ye(V(e)) : {};
811
+ }
812
+ //#endregion
813
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
814
+ function Ze(e) {
815
+ return l(e) && u(e);
816
+ }
817
+ //#endregion
818
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js
819
+ var Qe = "[object Object]", $e = Function.prototype, et = Object.prototype, tt = $e.toString, nt = et.hasOwnProperty, rt = tt.call(Object);
820
+ function it(e) {
821
+ if (!l(e) || r(e) != Qe) return !1;
822
+ var t = V(e);
823
+ if (t === null) return !0;
824
+ var n = nt.call(t, "constructor") && t.constructor;
825
+ return typeof n == "function" && n instanceof n && tt.call(n) == rt;
826
+ }
827
+ //#endregion
828
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
829
+ function H(e, t) {
830
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
831
+ }
832
+ //#endregion
833
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
834
+ var at = Object.prototype.hasOwnProperty;
835
+ function ot(e, t, r) {
836
+ var i = e[t];
837
+ (!(at.call(e, t) && n(i, r)) || r === void 0 && !(t in e)) && R(e, t, r);
838
+ }
839
+ //#endregion
840
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js
841
+ function st(e, t, n, r) {
842
+ var i = !n;
843
+ n ||= {};
844
+ for (var a = -1, o = t.length; ++a < o;) {
845
+ var s = t[a], c = r ? r(n[s], e[s], s, n, e) : void 0;
846
+ c === void 0 && (c = e[s]), i ? R(n, s, c) : ot(n, s, c);
847
+ }
848
+ return n;
849
+ }
850
+ //#endregion
851
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
852
+ function ct(e) {
853
+ var t = [];
854
+ if (e != null) for (var n in Object(e)) t.push(n);
855
+ return t;
856
+ }
857
+ //#endregion
858
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js
859
+ var lt = Object.prototype.hasOwnProperty;
860
+ function ut(e) {
861
+ if (!_(e)) return ct(e);
862
+ var t = f(e), n = [];
863
+ for (var r in e) r == "constructor" && (t || !lt.call(e, r)) || n.push(r);
864
+ return n;
865
+ }
866
+ //#endregion
867
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
868
+ function U(e) {
869
+ return u(e) ? m(e, !0) : ut(e);
870
+ }
871
+ //#endregion
872
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
873
+ function dt(e) {
874
+ return st(e, U(e));
875
+ }
876
+ //#endregion
877
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
878
+ function ft(t, n, r, i, a, s, l) {
879
+ var u = H(t, r), d = H(n, r), f = l.get(d);
880
+ if (f) {
881
+ z(t, r, f);
882
+ return;
883
+ }
884
+ var p = s ? s(u, d, r + "", t, n, l) : void 0, m = p === void 0;
885
+ if (m) {
886
+ var h = c(d), g = !h && te(d), v = !h && !g && o(d);
887
+ p = d, h || g || v ? c(u) ? p = u : Ze(u) ? p = B(u) : g ? (m = !1, p = Ge(d, !0)) : v ? (m = !1, p = qe(d, !0)) : p = [] : it(d) || ee(d) ? (p = u, ee(u) ? p = dt(u) : (!_(u) || e(u)) && (p = Xe(d))) : m = !1;
888
+ }
889
+ m && (l.set(d, p), a(p, d, i, s, l), l.delete(d)), z(t, r, p);
890
+ }
891
+ //#endregion
892
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
893
+ function pt(e, t, n, r, i) {
894
+ e !== t && h(t, function(a, o) {
895
+ if (i ||= new g(), _(a)) ft(e, t, o, n, pt, r, i);
896
+ else {
897
+ var s = r ? r(H(e, o), a, o + "", e, t, i) : void 0;
898
+ s === void 0 && (s = a), z(e, o, s);
899
+ }
900
+ }, U);
901
+ }
902
+ //#endregion
903
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
904
+ function mt(e, t, n) {
905
+ switch (n.length) {
906
+ case 0: return e.call(t);
907
+ case 1: return e.call(t, n[0]);
908
+ case 2: return e.call(t, n[0], n[1]);
909
+ case 3: return e.call(t, n[0], n[1], n[2]);
910
+ }
911
+ return e.apply(t, n);
912
+ }
913
+ //#endregion
914
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
915
+ var ht = Math.max;
916
+ function gt(e, t, n) {
917
+ return t = ht(t === void 0 ? e.length - 1 : t, 0), function() {
918
+ for (var r = arguments, i = -1, a = ht(r.length - t, 0), o = Array(a); ++i < a;) o[i] = r[t + i];
919
+ i = -1;
920
+ for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
921
+ return s[t] = n(o), mt(e, this, s);
922
+ };
923
+ }
924
+ //#endregion
925
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
926
+ function _t(e) {
927
+ return function() {
928
+ return e;
929
+ };
930
+ }
931
+ //#endregion
932
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js
933
+ var vt = L ? function(e, t) {
934
+ return L(e, "toString", {
935
+ configurable: !0,
936
+ enumerable: !1,
937
+ value: _t(t),
938
+ writable: !0
939
+ });
940
+ } : d, yt = 800, bt = 16, xt = Date.now;
941
+ function St(e) {
942
+ var t = 0, n = 0;
943
+ return function() {
944
+ var r = xt(), i = bt - (r - n);
945
+ if (n = r, i > 0) {
946
+ if (++t >= yt) return arguments[0];
947
+ } else t = 0;
948
+ return e.apply(void 0, arguments);
949
+ };
950
+ }
951
+ //#endregion
952
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
953
+ var Ct = St(vt);
954
+ //#endregion
955
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
956
+ function wt(e, t) {
957
+ return Ct(gt(e, t, d), e + "");
958
+ }
959
+ //#endregion
960
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
961
+ function Tt(e, t, r) {
962
+ if (!_(r)) return !1;
963
+ var i = typeof t;
964
+ return (i == "number" ? u(r) && s(t, r.length) : i == "string" && t in r) ? n(r[t], e) : !1;
965
+ }
966
+ //#endregion
967
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js
968
+ function Et(e) {
969
+ return wt(function(t, n) {
970
+ var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
971
+ for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && Tt(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
972
+ var s = n[r];
973
+ s && e(t, s, r, a);
974
+ }
975
+ return t;
976
+ });
977
+ }
978
+ //#endregion
979
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/merge.js
980
+ var Dt = Et(function(e, t, n) {
981
+ pt(e, t, n);
982
+ }), Ot = {
983
+ curveBasis: de,
984
+ curveBasisClosed: pe,
985
+ curveBasisOpen: he,
986
+ curveBumpX: le,
987
+ curveBumpY: ue,
988
+ curveBundle: _e,
989
+ curveCardinalClosed: ye,
990
+ curveCardinalOpen: be,
991
+ curveCardinal: ve,
992
+ curveCatmullRomClosed: Se,
993
+ curveCatmullRomOpen: we,
994
+ curveCatmullRom: N,
995
+ curveLinear: se,
996
+ curveLinearClosed: Ee,
997
+ curveMonotoneX: Me,
998
+ curveMonotoneY: Ne,
999
+ curveNatural: Ie,
1000
+ curveStep: Le,
1001
+ curveStepAfter: ze,
1002
+ curveStepBefore: Re
1003
+ }, kt = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, At = /* @__PURE__ */ b(function(e, t) {
1004
+ let n = jt(e, /(?:init\b)|(?:initialize\b)/), r = {};
1005
+ if (Array.isArray(n)) {
1006
+ let e = n.map((e) => e.args);
1007
+ re(e), r = ae(r, [...e]);
1008
+ } else r = n.args;
1009
+ if (!r) return;
1010
+ let i = ie(e, t), a = "config";
1011
+ return r[a] !== void 0 && (i === "flowchart-v2" && (i = "flowchart"), r[i] = r[a], delete r[a]), r;
1012
+ }, "detectInit"), jt = /* @__PURE__ */ b(function(e, t = null) {
1013
+ try {
1014
+ let n = RegExp(`[%]{2}(?![{]${kt.source})(?=[}][%]{2}).*
1015
+ `, "ig");
1016
+ e = e.trim().replace(n, "").replace(/'/gm, "\""), y.debug(`Detecting diagram directive${t === null ? "" : " type:" + t} based on the text:${e}`);
1017
+ let r, i = [];
1018
+ for (; (r = x.exec(e)) !== null;) if (r.index === x.lastIndex && x.lastIndex++, r && !t || t && r[1]?.match(t) || t && r[2]?.match(t)) {
1019
+ let e = r[1] ? r[1] : r[2], t = r[3] ? r[3].trim() : r[4] ? JSON.parse(r[4].trim()) : null;
1020
+ i.push({
1021
+ type: e,
1022
+ args: t
1023
+ });
1024
+ }
1025
+ return i.length === 0 ? {
1026
+ type: e,
1027
+ args: null
1028
+ } : i.length === 1 ? i[0] : i;
1029
+ } catch (n) {
1030
+ return y.error(`ERROR: ${n.message} - Unable to parse directive type: '${t}' based on the text: '${e}'`), {
1031
+ type: void 0,
1032
+ args: null
1033
+ };
1034
+ }
1035
+ }, "detectDirective"), Mt = /* @__PURE__ */ b(function(e) {
1036
+ return e.replace(x, "");
1037
+ }, "removeDirectives"), Nt = /* @__PURE__ */ b(function(e, t) {
1038
+ for (let [n, r] of t.entries()) if (r.match(e)) return n;
1039
+ return -1;
1040
+ }, "isSubstringInArray");
1041
+ function W(e, t) {
1042
+ return e ? Ot[`curve${e.charAt(0).toUpperCase() + e.slice(1)}`] ?? t : t;
1043
+ }
1044
+ b(W, "interpolateToCurve");
1045
+ function Pt(e, t) {
1046
+ let n = e.trim();
1047
+ if (n) return t.securityLevel === "loose" ? n : (0, Be.sanitizeUrl)(n);
1048
+ }
1049
+ b(Pt, "formatUrl");
1050
+ var Ft = /* @__PURE__ */ b((e, ...t) => {
1051
+ let n = e.split("."), r = n.length - 1, i = n[r], a = window;
1052
+ for (let t = 0; t < r; t++) if (a = a[n[t]], !a) {
1053
+ y.error(`Function name: ${e} not found in window`);
1054
+ return;
1055
+ }
1056
+ a[i](...t);
1057
+ }, "runFunc");
1058
+ function G(e, t) {
1059
+ return !e || !t ? 0 : Math.sqrt((t.x - e.x) ** 2 + (t.y - e.y) ** 2);
1060
+ }
1061
+ b(G, "distance");
1062
+ function It(e) {
1063
+ let t, n = 0;
1064
+ return e.forEach((e) => {
1065
+ n += G(e, t), t = e;
1066
+ }), K(e, n / 2);
1067
+ }
1068
+ b(It, "traverseEdge");
1069
+ function Lt(e) {
1070
+ return e.length === 1 ? e[0] : It(e);
1071
+ }
1072
+ b(Lt, "calcLabelPosition");
1073
+ var Rt = /* @__PURE__ */ b((e, t = 2) => {
1074
+ let n = 10 ** t;
1075
+ return Math.round(e * n) / n;
1076
+ }, "roundNumber"), K = /* @__PURE__ */ b((e, t) => {
1077
+ let n, r = t;
1078
+ for (let t of e) {
1079
+ if (n) {
1080
+ let e = G(t, n);
1081
+ if (e === 0) return n;
1082
+ if (e < r) r -= e;
1083
+ else {
1084
+ let i = r / e;
1085
+ if (i <= 0) return n;
1086
+ if (i >= 1) return {
1087
+ x: t.x,
1088
+ y: t.y
1089
+ };
1090
+ if (i > 0 && i < 1) return {
1091
+ x: Rt((1 - i) * n.x + i * t.x, 5),
1092
+ y: Rt((1 - i) * n.y + i * t.y, 5)
1093
+ };
1094
+ }
1095
+ }
1096
+ n = t;
1097
+ }
1098
+ throw Error("Could not find a suitable point for the given distance");
1099
+ }, "calculatePoint"), zt = /* @__PURE__ */ b((e, t, n) => {
1100
+ y.info(`our points ${JSON.stringify(t)}`), t[0] !== n && (t = t.reverse());
1101
+ let r = K(t, 25), i = e ? 10 : 5, a = Math.atan2(t[0].y - r.y, t[0].x - r.x), o = {
1102
+ x: 0,
1103
+ y: 0
1104
+ };
1105
+ return o.x = Math.sin(a) * i + (t[0].x + r.x) / 2, o.y = -Math.cos(a) * i + (t[0].y + r.y) / 2, o;
1106
+ }, "calcCardinalityPosition");
1107
+ function Bt(e, t, n) {
1108
+ let r = structuredClone(n);
1109
+ y.info("our points", r), t !== "start_left" && t !== "start_right" && r.reverse();
1110
+ let i = K(r, 25 + e), a = 10 + e * .5, o = Math.atan2(r[0].y - i.y, r[0].x - i.x), s = {
1111
+ x: 0,
1112
+ y: 0
1113
+ };
1114
+ return t === "start_left" ? (s.x = Math.sin(o + Math.PI) * a + (r[0].x + i.x) / 2, s.y = -Math.cos(o + Math.PI) * a + (r[0].y + i.y) / 2) : t === "end_right" ? (s.x = Math.sin(o - Math.PI) * a + (r[0].x + i.x) / 2 - 5, s.y = -Math.cos(o - Math.PI) * a + (r[0].y + i.y) / 2 - 5) : t === "end_left" ? (s.x = Math.sin(o) * a + (r[0].x + i.x) / 2 - 5, s.y = -Math.cos(o) * a + (r[0].y + i.y) / 2 - 5) : (s.x = Math.sin(o) * a + (r[0].x + i.x) / 2, s.y = -Math.cos(o) * a + (r[0].y + i.y) / 2), s;
1115
+ }
1116
+ b(Bt, "calcTerminalLabelPosition");
1117
+ function q(e) {
1118
+ let t = "", n = "";
1119
+ for (let r of e) r !== void 0 && (r.startsWith("color:") || r.startsWith("text-align:") ? n = n + r + ";" : t = t + r + ";");
1120
+ return {
1121
+ style: t,
1122
+ labelStyle: n
1123
+ };
1124
+ }
1125
+ b(q, "getStylesFromArray");
1126
+ var Vt = 0, Ht = /* @__PURE__ */ b(() => (Vt++, "id-" + Math.random().toString(36).substr(2, 12) + "-" + Vt), "generateId");
1127
+ function Ut(e) {
1128
+ let t = "";
1129
+ for (let n = 0; n < e; n++) t += "0123456789abcdef".charAt(Math.floor(Math.random() * 16));
1130
+ return t;
1131
+ }
1132
+ b(Ut, "makeRandomHex");
1133
+ var Wt = /* @__PURE__ */ b((e) => Ut(e.length), "random"), Gt = /* @__PURE__ */ b(function() {
1134
+ return {
1135
+ x: 0,
1136
+ y: 0,
1137
+ fill: void 0,
1138
+ anchor: "start",
1139
+ style: "#666",
1140
+ width: 100,
1141
+ height: 100,
1142
+ textMargin: 0,
1143
+ rx: 0,
1144
+ ry: 0,
1145
+ valign: void 0,
1146
+ text: ""
1147
+ };
1148
+ }, "getTextObj"), Kt = /* @__PURE__ */ b(function(e, t) {
1149
+ let n = t.text.replace(S.lineBreakRegex, " "), [, r] = Q(t.fontSize), i = e.append("text");
1150
+ i.attr("x", t.x), i.attr("y", t.y), i.style("text-anchor", t.anchor), i.style("font-family", t.fontFamily), i.style("font-size", r), i.style("font-weight", t.fontWeight), i.attr("fill", t.fill), t.class !== void 0 && i.attr("class", t.class);
1151
+ let a = i.append("tspan");
1152
+ return a.attr("x", t.x + t.textMargin * 2), a.attr("fill", t.fill), a.text(n), i;
1153
+ }, "drawSimpleText"), qt = p((e, t, n) => {
1154
+ if (!e || (n = Object.assign({
1155
+ fontSize: 12,
1156
+ fontWeight: 400,
1157
+ fontFamily: "Arial",
1158
+ joinWith: "<br/>"
1159
+ }, n), S.lineBreakRegex.test(e))) return e;
1160
+ let r = e.split(" ").filter(Boolean), i = [], a = "";
1161
+ return r.forEach((e, o) => {
1162
+ let s = Y(`${e} `, n), c = Y(a, n);
1163
+ if (s > t) {
1164
+ let { hyphenatedStrings: r, remainingWord: o } = Jt(e, t, "-", n);
1165
+ i.push(a, ...r), a = o;
1166
+ } else c + s >= t ? (i.push(a), a = e) : a = [a, e].filter(Boolean).join(" ");
1167
+ o + 1 === r.length && i.push(a);
1168
+ }), i.filter((e) => e !== "").join(n.joinWith);
1169
+ }, (e, t, n) => `${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`), Jt = p((e, t, n = "-", r) => {
1170
+ r = Object.assign({
1171
+ fontSize: 12,
1172
+ fontWeight: 400,
1173
+ fontFamily: "Arial",
1174
+ margin: 0
1175
+ }, r);
1176
+ let i = [...e], a = [], o = "";
1177
+ return i.forEach((e, s) => {
1178
+ let c = `${o}${e}`;
1179
+ if (Y(c, r) >= t) {
1180
+ let e = s + 1, t = i.length === e, r = `${c}${n}`;
1181
+ a.push(t ? c : r), o = "";
1182
+ } else o = c;
1183
+ }), {
1184
+ hyphenatedStrings: a,
1185
+ remainingWord: o
1186
+ };
1187
+ }, (e, t, n = "-", r) => `${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);
1188
+ function J(e, t) {
1189
+ return X(e, t).height;
1190
+ }
1191
+ b(J, "calculateTextHeight");
1192
+ function Y(e, t) {
1193
+ return X(e, t).width;
1194
+ }
1195
+ b(Y, "calculateTextWidth");
1196
+ var X = p((e, t) => {
1197
+ let { fontSize: n = 12, fontFamily: r = "Arial", fontWeight: i = 400 } = t;
1198
+ if (!e) return {
1199
+ width: 0,
1200
+ height: 0
1201
+ };
1202
+ let [, a] = Q(n), o = ["sans-serif", r], s = e.split(S.lineBreakRegex), c = [], l = ne("body");
1203
+ if (!l.remove) return {
1204
+ width: 0,
1205
+ height: 0,
1206
+ lineHeight: 0
1207
+ };
1208
+ let u = l.append("svg");
1209
+ for (let e of o) {
1210
+ let t = 0, n = {
1211
+ width: 0,
1212
+ height: 0,
1213
+ lineHeight: 0
1214
+ };
1215
+ for (let r of s) {
1216
+ let o = Gt();
1217
+ o.text = r || "​";
1218
+ let s = Kt(u, o).style("font-size", a).style("font-weight", i).style("font-family", e), c = (s._groups || s)[0][0].getBBox();
1219
+ if (c.width === 0 && c.height === 0) throw Error("svg element not in render tree");
1220
+ n.width = Math.round(Math.max(n.width, c.width)), t = Math.round(c.height), n.height += t, n.lineHeight = Math.round(Math.max(n.lineHeight, t));
1221
+ }
1222
+ c.push(n);
1223
+ }
1224
+ return u.remove(), c[isNaN(c[1].height) || isNaN(c[1].width) || isNaN(c[1].lineHeight) || c[0].height > c[1].height && c[0].width > c[1].width && c[0].lineHeight > c[1].lineHeight ? 0 : 1];
1225
+ }, (e, t) => `${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`), Yt = class {
1226
+ constructor(e = !1, t) {
1227
+ this.count = 0, this.count = t ? t.length : 0, this.next = e ? () => this.count++ : () => Date.now();
1228
+ }
1229
+ static {
1230
+ b(this, "InitIDGenerator");
1231
+ }
1232
+ }, Z, Xt = /* @__PURE__ */ b(function(e) {
1233
+ return Z ||= document.createElement("div"), e = escape(e).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Z.innerHTML = e, unescape(Z.textContent);
1234
+ }, "entityDecode");
1235
+ function Zt(e) {
1236
+ return "str" in e;
1237
+ }
1238
+ b(Zt, "isDetailedError");
1239
+ var Qt = /* @__PURE__ */ b((e, t, n, r) => {
1240
+ if (!r) return;
1241
+ let i = e.node()?.getBBox();
1242
+ i && e.append("text").text(r).attr("text-anchor", "middle").attr("x", i.x + i.width / 2).attr("y", -n).attr("class", t);
1243
+ }, "insertTitle"), Q = /* @__PURE__ */ b((e) => {
1244
+ if (typeof e == "number") return [e, e + "px"];
1245
+ let t = parseInt(e ?? "", 10);
1246
+ return Number.isNaN(t) ? [void 0, void 0] : e === String(t) ? [t, e + "px"] : [t, e];
1247
+ }, "parseFontSize");
1248
+ function $(e, t) {
1249
+ return Dt({}, e, t);
1250
+ }
1251
+ b($, "cleanAndMerge");
1252
+ var $t = {
1253
+ assignWithDepth: ae,
1254
+ wrapLabel: qt,
1255
+ calculateTextHeight: J,
1256
+ calculateTextWidth: Y,
1257
+ calculateTextDimensions: X,
1258
+ cleanAndMerge: $,
1259
+ detectInit: At,
1260
+ detectDirective: jt,
1261
+ isSubstringInArray: Nt,
1262
+ interpolateToCurve: W,
1263
+ calcLabelPosition: Lt,
1264
+ calcCardinalityPosition: zt,
1265
+ calcTerminalLabelPosition: Bt,
1266
+ formatUrl: Pt,
1267
+ getStylesFromArray: q,
1268
+ generateId: Ht,
1269
+ random: Wt,
1270
+ runFunc: Ft,
1271
+ entityDecode: Xt,
1272
+ insertTitle: Qt,
1273
+ isLabelCoordinateInPath: an,
1274
+ parseFontSize: Q,
1275
+ InitIDGenerator: Yt
1276
+ }, en = /* @__PURE__ */ b(function(e) {
1277
+ let t = e;
1278
+ return t = t.replace(/style.*:\S*#.*;/g, function(e) {
1279
+ return e.substring(0, e.length - 1);
1280
+ }), t = t.replace(/classDef.*:\S*#.*;/g, function(e) {
1281
+ return e.substring(0, e.length - 1);
1282
+ }), t = t.replace(/#\w+;/g, function(e) {
1283
+ let t = e.substring(1, e.length - 1);
1284
+ return /^\+?\d+$/.test(t) ? "fl°°" + t + "¶ß" : "fl°" + t + "¶ß";
1285
+ }), t;
1286
+ }, "encodeEntities"), tn = /* @__PURE__ */ b(function(e) {
1287
+ return e.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
1288
+ }, "decodeEntities"), nn = /* @__PURE__ */ b((e, t, { counter: n = 0, prefix: r, suffix: i }, a) => a || `${r ? `${r}_` : ""}${e}_${t}_${n}${i ? `_${i}` : ""}`, "getEdgeId");
1289
+ function rn(e) {
1290
+ return e ?? null;
1291
+ }
1292
+ b(rn, "handleUndefinedAttr");
1293
+ function an(e, t) {
1294
+ let n = Math.round(e.x), r = Math.round(e.y), i = t.replace(/(\d+\.\d+)/g, (e) => Math.round(parseFloat(e)).toString());
1295
+ return i.includes(n.toString()) || i.includes(r.toString());
1296
+ }
1297
+ b(an, "isLabelCoordinateInPath");
1298
+ //#endregion
1299
+ export { qe as A, N as B, U as C, Xe as D, Ze as E, Re as F, se as G, de as H, Le as I, Ie as L, Ge as M, R as N, V as O, ze as P, Me as R, gt as S, ot as T, le as U, ve as V, ue as W, Dt as _, en as a, Ct as b, q as c, Zt as d, Q as f, qt as g, $t as h, tn as i, Ke as j, B as k, rn as l, Mt as m, Y as n, Ht as o, Wt as p, $ as r, nn as s, J as t, W as u, Tt as v, st as w, _t as x, wt as y, Ne as z };