@dpuse/dpuse-tool-d3-visualiser 1.0.2 → 1.0.107

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 (79) hide show
  1. package/README.md +174 -277
  2. package/dist/chordDiagram-BG0jW2g9.js +3663 -0
  3. package/dist/chordDiagram-BG0jW2g9.js.map +1 -0
  4. package/dist/dpuse-tool-d3-visualiser.es.js +6 -35
  5. package/dist/dpuse-tool-d3-visualiser.es.js.map +1 -1
  6. package/dist/{erdDiagram-CtPeCq0f.js → erdDiagram-CHPY-zaP.js} +1 -1
  7. package/dist/{erdDiagram-CtPeCq0f.js.map → erdDiagram-CHPY-zaP.js.map} +1 -1
  8. package/dist/{linear-q6e-7JBm.js → linear-DytAYqu2.js} +152 -106
  9. package/dist/linear-DytAYqu2.js.map +1 -0
  10. package/dist/{link-DRDgTeij.js → link-BfoIl3p5.js} +1 -1
  11. package/dist/{link-DRDgTeij.js.map → link-BfoIl3p5.js.map} +1 -1
  12. package/dist/networkDiagram-XI0c9kJR.js +1029 -0
  13. package/dist/networkDiagram-XI0c9kJR.js.map +1 -0
  14. package/dist/{palette-BuTjISrV.js → palette-Ca7C6aNE.js} +17 -6
  15. package/dist/palette-Ca7C6aNE.js.map +1 -0
  16. package/dist/{path-BoJ8LMXE.js → point-DSPrfIZi.js} +23 -3
  17. package/dist/point-DSPrfIZi.js.map +1 -0
  18. package/dist/{sankeyDiagram-DOF6arSJ.js → sankeyDiagram-w2TGSqb7.js} +72 -52
  19. package/dist/sankeyDiagram-w2TGSqb7.js.map +1 -0
  20. package/dist/{select-BIuoFcZG.js → select-Bs4oiNEZ.js} +1 -1
  21. package/dist/{select-BIuoFcZG.js.map → select-Bs4oiNEZ.js.map} +1 -1
  22. package/dist/shipped-packages.json +1 -11
  23. package/dist/{src-kLpf-6r0.js → src-Bo8my4B8.js} +185 -188
  24. package/dist/{src-kLpf-6r0.js.map → src-Bo8my4B8.js.map} +1 -1
  25. package/dist/{string-BOhFwaZD.js → string-iJh48M7Y.js} +22 -48
  26. package/dist/string-iJh48M7Y.js.map +1 -0
  27. package/dist/{tanStackCharts-DuJwwUCO.js → tanStackCharts-LPqRQGD9.js} +1228 -1176
  28. package/dist/tanStackCharts-LPqRQGD9.js.map +1 -0
  29. package/dist/{treeDiagram-FUVkkblR.js → treeDiagram-C798R8hL.js} +2 -2
  30. package/dist/{treeDiagram-FUVkkblR.js.map → treeDiagram-C798R8hL.js.map} +1 -1
  31. package/dist/types/src/index.d.ts +2 -12
  32. package/dist/types/src/tanStackCharts.d.ts +8 -2
  33. package/package.json +9 -13
  34. package/dist/axis-EpX3kBPs.js +0 -67
  35. package/dist/axis-EpX3kBPs.js.map +0 -1
  36. package/dist/band-p1VbTxZM.js +0 -56
  37. package/dist/band-p1VbTxZM.js.map +0 -1
  38. package/dist/billboardJs-CIT1-a2_.js +0 -6996
  39. package/dist/billboardJs-CIT1-a2_.js.map +0 -1
  40. package/dist/chordDiagram-B1_nfC1m.js +0 -2925
  41. package/dist/chordDiagram-B1_nfC1m.js.map +0 -1
  42. package/dist/d3BarChart-BC05DvRv.js +0 -48
  43. package/dist/d3BarChart-BC05DvRv.js.map +0 -1
  44. package/dist/dpuse-tool-d3-visualiser.css +0 -11
  45. package/dist/drag-Ieen6R0z.js +0 -168
  46. package/dist/drag-Ieen6R0z.js.map +0 -1
  47. package/dist/linear-q6e-7JBm.js.map +0 -1
  48. package/dist/math-C5EhTgJw.js +0 -10
  49. package/dist/math-C5EhTgJw.js.map +0 -1
  50. package/dist/max-CPVNm4tn.js +0 -12
  51. package/dist/max-CPVNm4tn.js.map +0 -1
  52. package/dist/networkDiagram-DZwLfY_R.js +0 -493
  53. package/dist/networkDiagram-DZwLfY_R.js.map +0 -1
  54. package/dist/nodrag-Dq2tlBbe.js +0 -49
  55. package/dist/nodrag-Dq2tlBbe.js.map +0 -1
  56. package/dist/observablePlot-Bk7j7AUD.js +0 -6919
  57. package/dist/observablePlot-Bk7j7AUD.js.map +0 -1
  58. package/dist/ordinal-BtWaYSDN.js +0 -81
  59. package/dist/ordinal-BtWaYSDN.js.map +0 -1
  60. package/dist/palette-BuTjISrV.js.map +0 -1
  61. package/dist/path-BoJ8LMXE.js.map +0 -1
  62. package/dist/point-GXxVI808.js +0 -25
  63. package/dist/point-GXxVI808.js.map +0 -1
  64. package/dist/pow-Bp6eSqVs.js +0 -76
  65. package/dist/pow-Bp6eSqVs.js.map +0 -1
  66. package/dist/sankeyDiagram-DOF6arSJ.js.map +0 -1
  67. package/dist/src-Clugeype.js +0 -331
  68. package/dist/src-Clugeype.js.map +0 -1
  69. package/dist/step-C2rRFtYO.js +0 -670
  70. package/dist/step-C2rRFtYO.js.map +0 -1
  71. package/dist/string-BOhFwaZD.js.map +0 -1
  72. package/dist/sum-CNP0Xric.js +0 -23
  73. package/dist/sum-CNP0Xric.js.map +0 -1
  74. package/dist/tanStackCharts-DuJwwUCO.js.map +0 -1
  75. package/dist/types/src/billboardJs.d.ts +0 -15
  76. package/dist/types/src/d3BarChart.d.ts +0 -7
  77. package/dist/types/src/observablePlot.d.ts +0 -8
  78. package/dist/utcTime-DLfrQXna.js +0 -957
  79. package/dist/utcTime-DLfrQXna.js.map +0 -1
@@ -1,670 +0,0 @@
1
- import "./math-C5EhTgJw.js";
2
- //#region node_modules/d3-shape/src/curve/linear.js
3
- function e(e) {
4
- this._context = e;
5
- }
6
- e.prototype = {
7
- areaStart: function() {
8
- this._line = 0;
9
- },
10
- areaEnd: function() {
11
- this._line = NaN;
12
- },
13
- lineStart: function() {
14
- this._point = 0;
15
- },
16
- lineEnd: function() {
17
- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
18
- },
19
- point: function(e, t) {
20
- switch (e = +e, t = +t, this._point) {
21
- case 0:
22
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
23
- break;
24
- case 1: this._point = 2;
25
- default: this._context.lineTo(e, t);
26
- }
27
- }
28
- };
29
- function t(t) {
30
- return new e(t);
31
- }
32
- //#endregion
33
- //#region node_modules/d3-shape/src/noop.js
34
- function n() {}
35
- //#endregion
36
- //#region node_modules/d3-shape/src/curve/basis.js
37
- function r(e, t, n) {
38
- 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);
39
- }
40
- function i(e) {
41
- this._context = e;
42
- }
43
- i.prototype = {
44
- areaStart: function() {
45
- this._line = 0;
46
- },
47
- areaEnd: function() {
48
- this._line = NaN;
49
- },
50
- lineStart: function() {
51
- this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
52
- },
53
- lineEnd: function() {
54
- switch (this._point) {
55
- case 3: r(this, this._x1, this._y1);
56
- case 2: this._context.lineTo(this._x1, this._y1);
57
- }
58
- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
59
- },
60
- point: function(e, t) {
61
- switch (e = +e, t = +t, this._point) {
62
- case 0:
63
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
64
- break;
65
- case 1:
66
- this._point = 2;
67
- break;
68
- case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
69
- default: r(this, e, t);
70
- }
71
- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
72
- }
73
- };
74
- function a(e) {
75
- return new i(e);
76
- }
77
- //#endregion
78
- //#region node_modules/d3-shape/src/curve/basisClosed.js
79
- function o(e) {
80
- this._context = e;
81
- }
82
- o.prototype = {
83
- areaStart: n,
84
- areaEnd: n,
85
- lineStart: function() {
86
- this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
87
- },
88
- lineEnd: function() {
89
- switch (this._point) {
90
- case 1:
91
- this._context.moveTo(this._x2, this._y2), this._context.closePath();
92
- break;
93
- case 2:
94
- 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();
95
- break;
96
- case 3: this.point(this._x2, this._y2), this.point(this._x3, this._y3), this.point(this._x4, this._y4);
97
- }
98
- },
99
- point: function(e, t) {
100
- switch (e = +e, t = +t, this._point) {
101
- case 0:
102
- this._point = 1, this._x2 = e, this._y2 = t;
103
- break;
104
- case 1:
105
- this._point = 2, this._x3 = e, this._y3 = t;
106
- break;
107
- case 2:
108
- 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);
109
- break;
110
- default: r(this, e, t);
111
- }
112
- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
113
- }
114
- };
115
- function s(e) {
116
- return new o(e);
117
- }
118
- //#endregion
119
- //#region node_modules/d3-shape/src/curve/basisOpen.js
120
- function c(e) {
121
- this._context = e;
122
- }
123
- c.prototype = {
124
- areaStart: function() {
125
- this._line = 0;
126
- },
127
- areaEnd: function() {
128
- this._line = NaN;
129
- },
130
- lineStart: function() {
131
- this._x0 = this._x1 = this._y0 = this._y1 = NaN, this._point = 0;
132
- },
133
- lineEnd: function() {
134
- (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
135
- },
136
- point: function(e, t) {
137
- switch (e = +e, t = +t, this._point) {
138
- case 0:
139
- this._point = 1;
140
- break;
141
- case 1:
142
- this._point = 2;
143
- break;
144
- case 2:
145
- this._point = 3;
146
- var n = (this._x0 + 4 * this._x1 + e) / 6, i = (this._y0 + 4 * this._y1 + t) / 6;
147
- this._line ? this._context.lineTo(n, i) : this._context.moveTo(n, i);
148
- break;
149
- case 3: this._point = 4;
150
- default: r(this, e, t);
151
- }
152
- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
153
- }
154
- };
155
- function l(e) {
156
- return new c(e);
157
- }
158
- //#endregion
159
- //#region node_modules/d3-shape/src/curve/bundle.js
160
- function u(e, t) {
161
- this._basis = new i(e), this._beta = t;
162
- }
163
- u.prototype = {
164
- lineStart: function() {
165
- this._x = [], this._y = [], this._basis.lineStart();
166
- },
167
- lineEnd: function() {
168
- var e = this._x, t = this._y, n = e.length - 1;
169
- 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));
170
- this._x = this._y = null, this._basis.lineEnd();
171
- },
172
- point: function(e, t) {
173
- this._x.push(+e), this._y.push(+t);
174
- }
175
- };
176
- var d = (function e(t) {
177
- function n(e) {
178
- return t === 1 ? new i(e) : new u(e, t);
179
- }
180
- return n.beta = function(t) {
181
- return e(+t);
182
- }, n;
183
- })(.85);
184
- //#endregion
185
- //#region node_modules/d3-shape/src/curve/cardinal.js
186
- function f(e, t, n) {
187
- 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);
188
- }
189
- function p(e, t) {
190
- this._context = e, this._k = (1 - t) / 6;
191
- }
192
- p.prototype = {
193
- areaStart: function() {
194
- this._line = 0;
195
- },
196
- areaEnd: function() {
197
- this._line = NaN;
198
- },
199
- lineStart: function() {
200
- this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
201
- },
202
- lineEnd: function() {
203
- switch (this._point) {
204
- case 2:
205
- this._context.lineTo(this._x2, this._y2);
206
- break;
207
- case 3: f(this, this._x1, this._y1);
208
- }
209
- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
210
- },
211
- point: function(e, t) {
212
- switch (e = +e, t = +t, this._point) {
213
- case 0:
214
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
215
- break;
216
- case 1:
217
- this._point = 2, this._x1 = e, this._y1 = t;
218
- break;
219
- case 2: this._point = 3;
220
- default: f(this, e, t);
221
- }
222
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
223
- }
224
- };
225
- var m = (function e(t) {
226
- function n(e) {
227
- return new p(e, t);
228
- }
229
- return n.tension = function(t) {
230
- return e(+t);
231
- }, n;
232
- })(0);
233
- //#endregion
234
- //#region node_modules/d3-shape/src/curve/cardinalClosed.js
235
- function h(e, t) {
236
- this._context = e, this._k = (1 - t) / 6;
237
- }
238
- h.prototype = {
239
- areaStart: n,
240
- areaEnd: n,
241
- lineStart: function() {
242
- 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;
243
- },
244
- lineEnd: function() {
245
- switch (this._point) {
246
- case 1:
247
- this._context.moveTo(this._x3, this._y3), this._context.closePath();
248
- break;
249
- case 2:
250
- this._context.lineTo(this._x3, this._y3), this._context.closePath();
251
- break;
252
- case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
253
- }
254
- },
255
- point: function(e, t) {
256
- switch (e = +e, t = +t, this._point) {
257
- case 0:
258
- this._point = 1, this._x3 = e, this._y3 = t;
259
- break;
260
- case 1:
261
- this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
262
- break;
263
- case 2:
264
- this._point = 3, this._x5 = e, this._y5 = t;
265
- break;
266
- default: f(this, e, t);
267
- }
268
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
269
- }
270
- };
271
- var g = (function e(t) {
272
- function n(e) {
273
- return new h(e, t);
274
- }
275
- return n.tension = function(t) {
276
- return e(+t);
277
- }, n;
278
- })(0);
279
- //#endregion
280
- //#region node_modules/d3-shape/src/curve/cardinalOpen.js
281
- function _(e, t) {
282
- this._context = e, this._k = (1 - t) / 6;
283
- }
284
- _.prototype = {
285
- areaStart: function() {
286
- this._line = 0;
287
- },
288
- areaEnd: function() {
289
- this._line = NaN;
290
- },
291
- lineStart: function() {
292
- this._x0 = this._x1 = this._x2 = this._y0 = this._y1 = this._y2 = NaN, this._point = 0;
293
- },
294
- lineEnd: function() {
295
- (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
296
- },
297
- point: function(e, t) {
298
- switch (e = +e, t = +t, this._point) {
299
- case 0:
300
- this._point = 1;
301
- break;
302
- case 1:
303
- this._point = 2;
304
- break;
305
- case 2:
306
- this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
307
- break;
308
- case 3: this._point = 4;
309
- default: f(this, e, t);
310
- }
311
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = e, this._y0 = this._y1, this._y1 = this._y2, this._y2 = t;
312
- }
313
- };
314
- var v = (function e(t) {
315
- function n(e) {
316
- return new _(e, t);
317
- }
318
- return n.tension = function(t) {
319
- return e(+t);
320
- }, n;
321
- })(0);
322
- //#endregion
323
- //#region node_modules/d3-shape/src/curve/catmullRom.js
324
- function y(e, t, n) {
325
- var r = e._x1, i = e._y1, a = e._x2, o = e._y2;
326
- if (e._l01_a > 1e-12) {
327
- 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);
328
- 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;
329
- }
330
- if (e._l23_a > 1e-12) {
331
- 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);
332
- 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;
333
- }
334
- e._context.bezierCurveTo(r, i, a, o, e._x2, e._y2);
335
- }
336
- function b(e, t) {
337
- this._context = e, this._alpha = t;
338
- }
339
- b.prototype = {
340
- areaStart: function() {
341
- this._line = 0;
342
- },
343
- areaEnd: function() {
344
- this._line = NaN;
345
- },
346
- lineStart: function() {
347
- 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;
348
- },
349
- lineEnd: function() {
350
- switch (this._point) {
351
- case 2:
352
- this._context.lineTo(this._x2, this._y2);
353
- break;
354
- case 3: this.point(this._x2, this._y2);
355
- }
356
- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
357
- },
358
- point: function(e, t) {
359
- if (e = +e, t = +t, this._point) {
360
- var n = this._x2 - e, r = this._y2 - t;
361
- this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
362
- }
363
- switch (this._point) {
364
- case 0:
365
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
366
- break;
367
- case 1:
368
- this._point = 2;
369
- break;
370
- case 2: this._point = 3;
371
- default: y(this, e, t);
372
- }
373
- 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;
374
- }
375
- };
376
- var x = (function e(t) {
377
- function n(e) {
378
- return t ? new b(e, t) : new p(e, 0);
379
- }
380
- return n.alpha = function(t) {
381
- return e(+t);
382
- }, n;
383
- })(.5);
384
- //#endregion
385
- //#region node_modules/d3-shape/src/curve/catmullRomClosed.js
386
- function S(e, t) {
387
- this._context = e, this._alpha = t;
388
- }
389
- S.prototype = {
390
- areaStart: n,
391
- areaEnd: n,
392
- lineStart: function() {
393
- 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;
394
- },
395
- lineEnd: function() {
396
- switch (this._point) {
397
- case 1:
398
- this._context.moveTo(this._x3, this._y3), this._context.closePath();
399
- break;
400
- case 2:
401
- this._context.lineTo(this._x3, this._y3), this._context.closePath();
402
- break;
403
- case 3: this.point(this._x3, this._y3), this.point(this._x4, this._y4), this.point(this._x5, this._y5);
404
- }
405
- },
406
- point: function(e, t) {
407
- if (e = +e, t = +t, this._point) {
408
- var n = this._x2 - e, r = this._y2 - t;
409
- this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
410
- }
411
- switch (this._point) {
412
- case 0:
413
- this._point = 1, this._x3 = e, this._y3 = t;
414
- break;
415
- case 1:
416
- this._point = 2, this._context.moveTo(this._x4 = e, this._y4 = t);
417
- break;
418
- case 2:
419
- this._point = 3, this._x5 = e, this._y5 = t;
420
- break;
421
- default: y(this, e, t);
422
- }
423
- 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;
424
- }
425
- };
426
- var C = (function e(t) {
427
- function n(e) {
428
- return t ? new S(e, t) : new h(e, 0);
429
- }
430
- return n.alpha = function(t) {
431
- return e(+t);
432
- }, n;
433
- })(.5);
434
- //#endregion
435
- //#region node_modules/d3-shape/src/curve/catmullRomOpen.js
436
- function w(e, t) {
437
- this._context = e, this._alpha = t;
438
- }
439
- w.prototype = {
440
- areaStart: function() {
441
- this._line = 0;
442
- },
443
- areaEnd: function() {
444
- this._line = NaN;
445
- },
446
- lineStart: function() {
447
- 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;
448
- },
449
- lineEnd: function() {
450
- (this._line || this._line !== 0 && this._point === 3) && this._context.closePath(), this._line = 1 - this._line;
451
- },
452
- point: function(e, t) {
453
- if (e = +e, t = +t, this._point) {
454
- var n = this._x2 - e, r = this._y2 - t;
455
- this._l23_a = Math.sqrt(this._l23_2a = (n * n + r * r) ** +this._alpha);
456
- }
457
- switch (this._point) {
458
- case 0:
459
- this._point = 1;
460
- break;
461
- case 1:
462
- this._point = 2;
463
- break;
464
- case 2:
465
- this._point = 3, this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);
466
- break;
467
- case 3: this._point = 4;
468
- default: y(this, e, t);
469
- }
470
- 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;
471
- }
472
- };
473
- var T = (function e(t) {
474
- function n(e) {
475
- return t ? new w(e, t) : new _(e, 0);
476
- }
477
- return n.alpha = function(t) {
478
- return e(+t);
479
- }, n;
480
- })(.5);
481
- //#endregion
482
- //#region node_modules/d3-shape/src/curve/linearClosed.js
483
- function E(e) {
484
- this._context = e;
485
- }
486
- E.prototype = {
487
- areaStart: n,
488
- areaEnd: n,
489
- lineStart: function() {
490
- this._point = 0;
491
- },
492
- lineEnd: function() {
493
- this._point && this._context.closePath();
494
- },
495
- point: function(e, t) {
496
- e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
497
- }
498
- };
499
- function D(e) {
500
- return new E(e);
501
- }
502
- //#endregion
503
- //#region node_modules/d3-shape/src/curve/monotone.js
504
- function O(e) {
505
- return e < 0 ? -1 : 1;
506
- }
507
- function k(e, t, n) {
508
- 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);
509
- return (O(a) + O(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
510
- }
511
- function A(e, t) {
512
- var n = e._x1 - e._x0;
513
- return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
514
- }
515
- function j(e, t, n) {
516
- var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
517
- e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
518
- }
519
- function M(e) {
520
- this._context = e;
521
- }
522
- M.prototype = {
523
- areaStart: function() {
524
- this._line = 0;
525
- },
526
- areaEnd: function() {
527
- this._line = NaN;
528
- },
529
- lineStart: function() {
530
- this._x0 = this._x1 = this._y0 = this._y1 = this._t0 = NaN, this._point = 0;
531
- },
532
- lineEnd: function() {
533
- switch (this._point) {
534
- case 2:
535
- this._context.lineTo(this._x1, this._y1);
536
- break;
537
- case 3: j(this, this._t0, A(this, this._t0));
538
- }
539
- (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
540
- },
541
- point: function(e, t) {
542
- var n = NaN;
543
- if (e = +e, t = +t, e !== this._x1 || t !== this._y1) {
544
- switch (this._point) {
545
- case 0:
546
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
547
- break;
548
- case 1:
549
- this._point = 2;
550
- break;
551
- case 2:
552
- this._point = 3, j(this, A(this, n = k(this, e, t)), n);
553
- break;
554
- default: j(this, this._t0, n = k(this, e, t));
555
- }
556
- this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
557
- }
558
- }
559
- };
560
- function N(e) {
561
- this._context = new P(e);
562
- }
563
- (N.prototype = Object.create(M.prototype)).point = function(e, t) {
564
- M.prototype.point.call(this, t, e);
565
- };
566
- function P(e) {
567
- this._context = e;
568
- }
569
- P.prototype = {
570
- moveTo: function(e, t) {
571
- this._context.moveTo(t, e);
572
- },
573
- closePath: function() {
574
- this._context.closePath();
575
- },
576
- lineTo: function(e, t) {
577
- this._context.lineTo(t, e);
578
- },
579
- bezierCurveTo: function(e, t, n, r, i, a) {
580
- this._context.bezierCurveTo(t, e, r, n, a, i);
581
- }
582
- };
583
- function F(e) {
584
- return new M(e);
585
- }
586
- function I(e) {
587
- return new N(e);
588
- }
589
- //#endregion
590
- //#region node_modules/d3-shape/src/curve/natural.js
591
- function L(e) {
592
- this._context = e;
593
- }
594
- L.prototype = {
595
- areaStart: function() {
596
- this._line = 0;
597
- },
598
- areaEnd: function() {
599
- this._line = NaN;
600
- },
601
- lineStart: function() {
602
- this._x = [], this._y = [];
603
- },
604
- lineEnd: function() {
605
- var e = this._x, t = this._y, n = e.length;
606
- if (n) {
607
- 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]);
608
- else for (var r = R(e), i = R(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]);
609
- }
610
- (this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
611
- },
612
- point: function(e, t) {
613
- this._x.push(+e), this._y.push(+t);
614
- }
615
- };
616
- function R(e) {
617
- var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
618
- 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];
619
- 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];
620
- 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];
621
- 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];
622
- return [i, a];
623
- }
624
- function z(e) {
625
- return new L(e);
626
- }
627
- //#endregion
628
- //#region node_modules/d3-shape/src/curve/step.js
629
- function B(e, t) {
630
- this._context = e, this._t = t;
631
- }
632
- B.prototype = {
633
- areaStart: function() {
634
- this._line = 0;
635
- },
636
- areaEnd: function() {
637
- this._line = NaN;
638
- },
639
- lineStart: function() {
640
- this._x = this._y = NaN, this._point = 0;
641
- },
642
- lineEnd: function() {
643
- 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);
644
- },
645
- point: function(e, t) {
646
- switch (e = +e, t = +t, this._point) {
647
- case 0:
648
- this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
649
- break;
650
- case 1: this._point = 2;
651
- default: if (this._t <= 0) this._context.lineTo(this._x, t), this._context.lineTo(e, t);
652
- else {
653
- var n = this._x * (1 - this._t) + e * this._t;
654
- this._context.lineTo(n, this._y), this._context.lineTo(n, t);
655
- }
656
- }
657
- this._x = e, this._y = t;
658
- }
659
- };
660
- function V(e) {
661
- return new B(e, .5);
662
- }
663
- function H(e) {
664
- return new B(e, 0);
665
- }
666
- function U(e) {
667
- return new B(e, 1);
668
- }
669
- //#endregion
670
- export { a as _, F as a, T as c, v as d, g as f, s as g, l as h, z as i, C as l, d as m, H as n, I as o, m as p, V as r, D as s, U as t, x as u, t as v };