@dpuse/dpuse-tool-d3-visualiser 1.0.118 → 1.0.121

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 (38) hide show
  1. package/README.md +205 -243
  2. package/dist/chordDiagram-Cm91Tmgo.js +1729 -0
  3. package/dist/d3-hierarchy-Dtx4jD78.js +269 -0
  4. package/dist/{linear-CNetDix0.js → d3-scale-BYykLEPO.js} +238 -177
  5. package/dist/{select-SZKizDc7.js → d3-selection-CL8c_tE2.js} +230 -232
  6. package/dist/d3-shape-gf8U18pS.js +1133 -0
  7. package/dist/dpuse-tool-d3-visualiser.es.js +6 -6
  8. package/dist/{erdDiagram-DKsqCN08.js → erdDiagram-DmYSx8Dh.js} +1 -1
  9. package/dist/{networkDiagram-BiCPMNf8.js → networkDiagram-p5z5B_vZ.js} +378 -368
  10. package/dist/{sankeyDiagram-DcI-D1uh.js → sankeyDiagram-Dbl1-v5p.js} +31 -31
  11. package/dist/shipped-packages.json +11 -20
  12. package/dist/{src-DAMkWOaT.js → src-YHHReglY.js} +32 -32
  13. package/dist/{tanStackCharts-5HHGfe6p.js → tanStackCharts-DEINbmRi.js} +1041 -1096
  14. package/dist/treeDiagram-t0oFwi1c.js +49 -0
  15. package/dist/types/src/networkDiagram.d.ts +4 -0
  16. package/package.json +25 -23
  17. package/dist/array-CpxKKsZm.js +0 -12
  18. package/dist/array-CpxKKsZm.js.map +0 -1
  19. package/dist/chordDiagram-Dbu2uT_s.js +0 -3588
  20. package/dist/chordDiagram-Dbu2uT_s.js.map +0 -1
  21. package/dist/dpuse-tool-d3-visualiser.es.js.map +0 -1
  22. package/dist/erdDiagram-DKsqCN08.js.map +0 -1
  23. package/dist/hierarchy-DU9LihDu.js +0 -135
  24. package/dist/hierarchy-DU9LihDu.js.map +0 -1
  25. package/dist/linear-CNetDix0.js.map +0 -1
  26. package/dist/link-CAkrxHYd.js +0 -62
  27. package/dist/link-CAkrxHYd.js.map +0 -1
  28. package/dist/networkDiagram-BiCPMNf8.js.map +0 -1
  29. package/dist/palette-D5DTPmuA.js.map +0 -1
  30. package/dist/point-_U9MxSuk.js +0 -85
  31. package/dist/point-_U9MxSuk.js.map +0 -1
  32. package/dist/sankeyDiagram-DcI-D1uh.js.map +0 -1
  33. package/dist/select-SZKizDc7.js.map +0 -1
  34. package/dist/src-DAMkWOaT.js.map +0 -1
  35. package/dist/string-BzfQLSds.js.map +0 -1
  36. package/dist/tanStackCharts-5HHGfe6p.js.map +0 -1
  37. package/dist/treeDiagram-fmrYqvXl.js +0 -126
  38. package/dist/treeDiagram-fmrYqvXl.js.map +0 -1
@@ -1,127 +1,115 @@
1
- var e = {
1
+ // node_modules/d3-selection/dist/d3-selection.mjs
2
+ var e = "http://www.w3.org/1999/xhtml", t = {
2
3
  svg: "http://www.w3.org/2000/svg",
3
- xhtml: "http://www.w3.org/1999/xhtml",
4
+ xhtml: e,
4
5
  xlink: "http://www.w3.org/1999/xlink",
5
6
  xml: "http://www.w3.org/XML/1998/namespace",
6
7
  xmlns: "http://www.w3.org/2000/xmlns/"
7
8
  };
8
- // node_modules/d3-selection/src/namespace.js
9
- function t(t) {
10
- var n = t += "", r = n.indexOf(":");
11
- return r >= 0 && (n = t.slice(0, r)) !== "xmlns" && (t = t.slice(r + 1)), e.hasOwnProperty(n) ? {
12
- space: e[n],
13
- local: t
14
- } : t;
15
- }
16
- // node_modules/d3-selection/src/creator.js
17
9
  function n(e) {
10
+ var n = e += "", r = n.indexOf(":");
11
+ return r >= 0 && (n = e.slice(0, r)) !== "xmlns" && (e = e.slice(r + 1)), t.hasOwnProperty(n) ? {
12
+ space: t[n],
13
+ local: e
14
+ } : e;
15
+ }
16
+ function r(t) {
18
17
  return function() {
19
- var t = this.ownerDocument, n = this.namespaceURI;
20
- return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
18
+ var n = this.ownerDocument, r = this.namespaceURI;
19
+ return r === e && n.documentElement.namespaceURI === e ? n.createElement(t) : n.createElementNS(r, t);
21
20
  };
22
21
  }
23
- function r(e) {
22
+ function i(e) {
24
23
  return function() {
25
24
  return this.ownerDocument.createElementNS(e.space, e.local);
26
25
  };
27
26
  }
28
- function i(e) {
29
- var i = t(e);
30
- return (i.local ? r : n)(i);
27
+ function a(e) {
28
+ var t = n(e);
29
+ return (t.local ? i : r)(t);
31
30
  }
32
- // node_modules/d3-selection/src/selector.js
33
- function a() {}
34
- function o(e) {
35
- return e == null ? a : function() {
31
+ function o() {}
32
+ function s(e) {
33
+ return e == null ? o : function() {
36
34
  return this.querySelector(e);
37
35
  };
38
36
  }
39
- // node_modules/d3-selection/src/selection/select.js
40
- function s(e) {
41
- typeof e != "function" && (e = o(e));
42
- for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], s = a.length, c = r[i] = Array(s), l, u, d = 0; d < s; ++d) (l = a[d]) && (u = e.call(l, l.__data__, d, a)) && ("__data__" in l && (u.__data__ = l.__data__), c[d] = u);
43
- return new Q(r, this._parents);
44
- }
45
- // node_modules/d3-selection/src/array.js
46
37
  function c(e) {
38
+ typeof e != "function" && (e = s(e));
39
+ for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, c = r[i] = Array(o), l, u, d = 0; d < o; ++d) (l = a[d]) && (u = e.call(l, l.__data__, d, a)) && ("__data__" in l && (u.__data__ = l.__data__), c[d] = u);
40
+ return new Z(r, this._parents);
41
+ }
42
+ function l(e) {
47
43
  return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
48
44
  }
49
- // node_modules/d3-selection/src/selectorAll.js
50
- function l() {
45
+ function u() {
51
46
  return [];
52
47
  }
53
- function u(e) {
54
- return e == null ? l : function() {
48
+ function d(e) {
49
+ return e == null ? u : function() {
55
50
  return this.querySelectorAll(e);
56
51
  };
57
52
  }
58
- // node_modules/d3-selection/src/selection/selectAll.js
59
- function d(e) {
53
+ function f(e) {
60
54
  return function() {
61
- return c(e.apply(this, arguments));
55
+ return l(e.apply(this, arguments));
62
56
  };
63
57
  }
64
- function f(e) {
65
- e = typeof e == "function" ? d(e) : u(e);
58
+ function p(e) {
59
+ e = typeof e == "function" ? f(e) : d(e);
66
60
  for (var t = this._groups, n = t.length, r = [], i = [], a = 0; a < n; ++a) for (var o = t[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && (r.push(e.call(c, c.__data__, l, o)), i.push(c));
67
- return new Q(r, i);
61
+ return new Z(r, i);
68
62
  }
69
- // node_modules/d3-selection/src/matcher.js
70
- function p(e) {
63
+ function m(e) {
71
64
  return function() {
72
65
  return this.matches(e);
73
66
  };
74
67
  }
75
- function m(e) {
68
+ function h(e) {
76
69
  return function(t) {
77
70
  return t.matches(e);
78
71
  };
79
72
  }
80
- // node_modules/d3-selection/src/selection/selectChild.js
81
- var h = Array.prototype.find;
82
- function g(e) {
73
+ var g = Array.prototype.find;
74
+ function _(e) {
83
75
  return function() {
84
- return h.call(this.children, e);
76
+ return g.call(this.children, e);
85
77
  };
86
78
  }
87
- function _() {
79
+ function v() {
88
80
  return this.firstElementChild;
89
81
  }
90
- function v(e) {
91
- return this.select(e == null ? _ : g(typeof e == "function" ? e : m(e)));
82
+ function y(e) {
83
+ return this.select(e == null ? v : _(typeof e == "function" ? e : h(e)));
92
84
  }
93
- // node_modules/d3-selection/src/selection/selectChildren.js
94
- var y = Array.prototype.filter;
95
- function b() {
85
+ var b = Array.prototype.filter;
86
+ function ee() {
96
87
  return Array.from(this.children);
97
88
  }
98
- function ee(e) {
89
+ function te(e) {
99
90
  return function() {
100
- return y.call(this.children, e);
91
+ return b.call(this.children, e);
101
92
  };
102
93
  }
103
- function te(e) {
104
- return this.selectAll(e == null ? b : ee(typeof e == "function" ? e : m(e)));
94
+ function ne(e) {
95
+ return this.selectAll(e == null ? ee : te(typeof e == "function" ? e : h(e)));
105
96
  }
106
- // node_modules/d3-selection/src/selection/filter.js
107
- function x(e) {
108
- typeof e != "function" && (e = p(e));
97
+ function re(e) {
98
+ typeof e != "function" && (e = m(e));
109
99
  for (var t = this._groups, n = t.length, r = Array(n), i = 0; i < n; ++i) for (var a = t[i], o = a.length, s = r[i] = [], c, l = 0; l < o; ++l) (c = a[l]) && e.call(c, c.__data__, l, a) && s.push(c);
110
- return new Q(r, this._parents);
100
+ return new Z(r, this._parents);
111
101
  }
112
- // node_modules/d3-selection/src/selection/sparse.js
113
- function S(e) {
102
+ function x(e) {
114
103
  return Array(e.length);
115
104
  }
116
- // node_modules/d3-selection/src/selection/enter.js
117
- function ne() {
118
- return new Q(this._enter || this._groups.map(S), this._parents);
105
+ function ie() {
106
+ return new Z(this._enter || this._groups.map(x), this._parents);
119
107
  }
120
- function C(e, t) {
108
+ function S(e, t) {
121
109
  this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
122
110
  }
123
- C.prototype = {
124
- constructor: C,
111
+ S.prototype = {
112
+ constructor: S,
125
113
  appendChild: function(e) {
126
114
  return this._parent.insertBefore(e, this._next);
127
115
  },
@@ -135,64 +123,57 @@ C.prototype = {
135
123
  return this._parent.querySelectorAll(e);
136
124
  }
137
125
  };
138
- // node_modules/d3-selection/src/constant.js
139
- function re(e) {
126
+ function C(e) {
140
127
  return function() {
141
128
  return e;
142
129
  };
143
130
  }
144
- // node_modules/d3-selection/src/selection/data.js
145
- function ie(e, t, n, r, i, a) {
146
- for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new C(e, a[o]);
131
+ function ae(e, t, n, r, i, a) {
132
+ for (var o = 0, s, c = t.length, l = a.length; o < l; ++o) (s = t[o]) ? (s.__data__ = a[o], r[o] = s) : n[o] = new S(e, a[o]);
147
133
  for (; o < c; ++o) (s = t[o]) && (i[o] = s);
148
134
  }
149
- function ae(e, t, n, r, i, a, o) {
135
+ function oe(e, t, n, r, i, a, o) {
150
136
  var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
151
137
  for (s = 0; s < u; ++s) (c = t[s]) && (f[s] = p = o.call(c, c.__data__, s, t) + "", l.has(p) ? i[s] = c : l.set(p, c));
152
- for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new C(e, a[s]);
138
+ for (s = 0; s < d; ++s) p = o.call(e, a[s], s, a) + "", (c = l.get(p)) ? (r[s] = c, c.__data__ = a[s], l.delete(p)) : n[s] = new S(e, a[s]);
153
139
  for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
154
140
  }
155
- function oe(e) {
141
+ function se(e) {
156
142
  return e.__data__;
157
143
  }
158
- function se(e, t) {
159
- if (!arguments.length) return Array.from(this, oe);
160
- var n = t ? ae : ie, r = this._parents, i = this._groups;
161
- typeof e != "function" && (e = re(e));
144
+ function ce(e, t) {
145
+ if (!arguments.length) return Array.from(this, se);
146
+ var n = t ? oe : ae, r = this._parents, i = this._groups;
147
+ typeof e != "function" && (e = C(e));
162
148
  for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
163
- var u = r[l], d = i[l], f = d.length, p = ce(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
149
+ var u = r[l], d = i[l], f = d.length, p = le(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
164
150
  n(u, d, h, g, c[l] = Array(f), p, t);
165
151
  for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
166
152
  for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
167
153
  y._next = b || null;
168
154
  }
169
155
  }
170
- return o = new Q(o, r), o._enter = s, o._exit = c, o;
156
+ return o = new Z(o, r), o._enter = s, o._exit = c, o;
171
157
  }
172
- function ce(e) {
158
+ function le(e) {
173
159
  return typeof e == "object" && "length" in e ? e : Array.from(e);
174
160
  }
175
- // node_modules/d3-selection/src/selection/exit.js
176
- function le() {
177
- return new Q(this._exit || this._groups.map(S), this._parents);
161
+ function ue() {
162
+ return new Z(this._exit || this._groups.map(x), this._parents);
178
163
  }
179
- // node_modules/d3-selection/src/selection/join.js
180
- function ue(e, t, n) {
164
+ function de(e, t, n) {
181
165
  var r = this.enter(), i = this, a = this.exit();
182
166
  return typeof e == "function" ? (r = e(r), r &&= r.selection()) : r = r.append(e + ""), t != null && (i = t(i), i &&= i.selection()), n == null ? a.remove() : n(a), r && i ? r.merge(i).order() : i;
183
167
  }
184
- // node_modules/d3-selection/src/selection/merge.js
185
- function de(e) {
168
+ function fe(e) {
186
169
  for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, a = r.length, o = Math.min(i, a), s = Array(i), c = 0; c < o; ++c) for (var l = n[c], u = r[c], d = l.length, f = s[c] = Array(d), p, m = 0; m < d; ++m) (p = l[m] || u[m]) && (f[m] = p);
187
170
  for (; c < i; ++c) s[c] = n[c];
188
- return new Q(s, this._parents);
171
+ return new Z(s, this._parents);
189
172
  }
190
- // node_modules/d3-selection/src/selection/order.js
191
173
  function w() {
192
174
  for (var e = this._groups, t = -1, n = e.length; ++t < n;) for (var r = e[t], i = r.length - 1, a = r[i], o; --i >= 0;) (o = r[i]) && (a && o.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(o, a), a = o);
193
175
  return this;
194
176
  }
195
- // node_modules/d3-selection/src/selection/sort.js
196
177
  function T(e) {
197
178
  e ||= E;
198
179
  function t(t, n) {
@@ -202,21 +183,18 @@ function T(e) {
202
183
  for (var o = n[a], s = o.length, c = i[a] = Array(s), l, u = 0; u < s; ++u) (l = o[u]) && (c[u] = l);
203
184
  c.sort(t);
204
185
  }
205
- return new Q(i, this._parents).order();
186
+ return new Z(i, this._parents).order();
206
187
  }
207
188
  function E(e, t) {
208
189
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
209
190
  }
210
- // node_modules/d3-selection/src/selection/call.js
211
191
  function D() {
212
192
  var e = arguments[0];
213
193
  return arguments[0] = this, e.apply(null, arguments), this;
214
194
  }
215
- // node_modules/d3-selection/src/selection/nodes.js
216
195
  function O() {
217
196
  return Array.from(this);
218
197
  }
219
- // node_modules/d3-selection/src/selection/node.js
220
198
  function k() {
221
199
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length; i < a; ++i) {
222
200
  var o = r[i];
@@ -224,22 +202,18 @@ function k() {
224
202
  }
225
203
  return null;
226
204
  }
227
- // node_modules/d3-selection/src/selection/size.js
228
205
  function A() {
229
206
  let e = 0;
230
207
  for (let t of this) ++e;
231
208
  return e;
232
209
  }
233
- // node_modules/d3-selection/src/selection/empty.js
234
210
  function j() {
235
211
  return !this.node();
236
212
  }
237
- // node_modules/d3-selection/src/selection/each.js
238
213
  function M(e) {
239
214
  for (var t = this._groups, n = 0, r = t.length; n < r; ++n) for (var i = t[n], a = 0, o = i.length, s; a < o; ++a) (s = i[a]) && e.call(s, s.__data__, a, i);
240
215
  return this;
241
216
  }
242
- // node_modules/d3-selection/src/selection/attr.js
243
217
  function N(e) {
244
218
  return function() {
245
219
  this.removeAttribute(e);
@@ -272,72 +246,68 @@ function R(e, t) {
272
246
  n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
273
247
  };
274
248
  }
275
- function z(e, n) {
276
- var r = t(e);
249
+ function z(e, t) {
250
+ var r = n(e);
277
251
  if (arguments.length < 2) {
278
252
  var i = this.node();
279
253
  return r.local ? i.getAttributeNS(r.space, r.local) : i.getAttribute(r);
280
254
  }
281
- return this.each((n == null ? r.local ? P : N : typeof n == "function" ? r.local ? R : L : r.local ? I : F)(r, n));
255
+ return this.each((t == null ? r.local ? P : N : typeof t == "function" ? r.local ? R : L : r.local ? I : F)(r, t));
282
256
  }
283
- // node_modules/d3-selection/src/window.js
284
257
  function B(e) {
285
258
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
286
259
  }
287
- // node_modules/d3-selection/src/selection/style.js
288
260
  function V(e) {
289
261
  return function() {
290
262
  this.style.removeProperty(e);
291
263
  };
292
264
  }
293
- function H(e, t, n) {
265
+ function pe(e, t, n) {
294
266
  return function() {
295
267
  this.style.setProperty(e, t, n);
296
268
  };
297
269
  }
298
- function fe(e, t, n) {
270
+ function me(e, t, n) {
299
271
  return function() {
300
272
  var r = t.apply(this, arguments);
301
273
  r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
302
274
  };
303
275
  }
304
- function pe(e, t, n) {
305
- return arguments.length > 1 ? this.each((t == null ? V : typeof t == "function" ? fe : H)(e, t, n ?? "")) : U(this.node(), e);
276
+ function he(e, t, n) {
277
+ return arguments.length > 1 ? this.each((t == null ? V : typeof t == "function" ? me : pe)(e, t, n ?? "")) : H(this.node(), e);
306
278
  }
307
- function U(e, t) {
279
+ function H(e, t) {
308
280
  return e.style.getPropertyValue(t) || B(e).getComputedStyle(e, null).getPropertyValue(t);
309
281
  }
310
- // node_modules/d3-selection/src/selection/property.js
311
- function me(e) {
282
+ function ge(e) {
312
283
  return function() {
313
284
  delete this[e];
314
285
  };
315
286
  }
316
- function he(e, t) {
287
+ function _e(e, t) {
317
288
  return function() {
318
289
  this[e] = t;
319
290
  };
320
291
  }
321
- function ge(e, t) {
292
+ function ve(e, t) {
322
293
  return function() {
323
294
  var n = t.apply(this, arguments);
324
295
  n == null ? delete this[e] : this[e] = n;
325
296
  };
326
297
  }
327
- function _e(e, t) {
328
- return arguments.length > 1 ? this.each((t == null ? me : typeof t == "function" ? ge : he)(e, t)) : this.node()[e];
298
+ function ye(e, t) {
299
+ return arguments.length > 1 ? this.each((t == null ? ge : typeof t == "function" ? ve : _e)(e, t)) : this.node()[e];
329
300
  }
330
- // node_modules/d3-selection/src/selection/classed.js
331
- function W(e) {
301
+ function U(e) {
332
302
  return e.trim().split(/^|\s+/);
333
303
  }
334
- function G(e) {
335
- return e.classList || new K(e);
304
+ function W(e) {
305
+ return e.classList || new G(e);
336
306
  }
337
- function K(e) {
338
- this._node = e, this._names = W(e.getAttribute("class") || "");
307
+ function G(e) {
308
+ this._node = e, this._names = U(e.getAttribute("class") || "");
339
309
  }
340
- K.prototype = {
310
+ G.prototype = {
341
311
  add: function(e) {
342
312
  this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
343
313
  },
@@ -349,133 +319,123 @@ K.prototype = {
349
319
  return this._names.indexOf(e) >= 0;
350
320
  }
351
321
  };
352
- function q(e, t) {
353
- for (var n = G(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
322
+ function K(e, t) {
323
+ for (var n = W(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
354
324
  }
355
- function J(e, t) {
356
- for (var n = G(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
325
+ function q(e, t) {
326
+ for (var n = W(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
357
327
  }
358
- function ve(e) {
328
+ function be(e) {
359
329
  return function() {
360
- q(this, e);
330
+ K(this, e);
361
331
  };
362
332
  }
363
- function ye(e) {
333
+ function xe(e) {
364
334
  return function() {
365
- J(this, e);
335
+ q(this, e);
366
336
  };
367
337
  }
368
- function be(e, t) {
338
+ function Se(e, t) {
369
339
  return function() {
370
- (t.apply(this, arguments) ? q : J)(this, e);
340
+ (t.apply(this, arguments) ? K : q)(this, e);
371
341
  };
372
342
  }
373
- function xe(e, t) {
374
- var n = W(e + "");
343
+ function Ce(e, t) {
344
+ var n = U(e + "");
375
345
  if (arguments.length < 2) {
376
- for (var r = G(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
346
+ for (var r = W(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
377
347
  return !0;
378
348
  }
379
- return this.each((typeof t == "function" ? be : t ? ve : ye)(n, t));
349
+ return this.each((typeof t == "function" ? Se : t ? be : xe)(n, t));
380
350
  }
381
- // node_modules/d3-selection/src/selection/text.js
382
- function Se() {
351
+ function we() {
383
352
  this.textContent = "";
384
353
  }
385
- function Ce(e) {
354
+ function J(e) {
386
355
  return function() {
387
356
  this.textContent = e;
388
357
  };
389
358
  }
390
- function we(e) {
359
+ function Te(e) {
391
360
  return function() {
392
361
  var t = e.apply(this, arguments);
393
362
  this.textContent = t ?? "";
394
363
  };
395
364
  }
396
- function Te(e) {
397
- return arguments.length ? this.each(e == null ? Se : (typeof e == "function" ? we : Ce)(e)) : this.node().textContent;
365
+ function Ee(e) {
366
+ return arguments.length ? this.each(e == null ? we : (typeof e == "function" ? Te : J)(e)) : this.node().textContent;
398
367
  }
399
- // node_modules/d3-selection/src/selection/html.js
400
- function Ee() {
368
+ function De() {
401
369
  this.innerHTML = "";
402
370
  }
403
- function De(e) {
371
+ function Oe(e) {
404
372
  return function() {
405
373
  this.innerHTML = e;
406
374
  };
407
375
  }
408
- function Oe(e) {
376
+ function ke(e) {
409
377
  return function() {
410
378
  var t = e.apply(this, arguments);
411
379
  this.innerHTML = t ?? "";
412
380
  };
413
381
  }
414
- function ke(e) {
415
- return arguments.length ? this.each(e == null ? Ee : (typeof e == "function" ? Oe : De)(e)) : this.node().innerHTML;
416
- }
417
- // node_modules/d3-selection/src/selection/raise.js
418
- function Ae() {
419
- this.nextSibling && this.parentNode.appendChild(this);
382
+ function Ae(e) {
383
+ return arguments.length ? this.each(e == null ? De : (typeof e == "function" ? ke : Oe)(e)) : this.node().innerHTML;
420
384
  }
421
385
  function je() {
422
- return this.each(Ae);
386
+ this.nextSibling && this.parentNode.appendChild(this);
423
387
  }
424
- // node_modules/d3-selection/src/selection/lower.js
425
388
  function Me() {
426
- this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
389
+ return this.each(je);
427
390
  }
428
391
  function Ne() {
429
- return this.each(Me);
392
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
393
+ }
394
+ function Pe() {
395
+ return this.each(Ne);
430
396
  }
431
- // node_modules/d3-selection/src/selection/append.js
432
- function Pe(e) {
433
- var t = typeof e == "function" ? e : i(e);
397
+ function Fe(e) {
398
+ var t = typeof e == "function" ? e : a(e);
434
399
  return this.select(function() {
435
400
  return this.appendChild(t.apply(this, arguments));
436
401
  });
437
402
  }
438
- // node_modules/d3-selection/src/selection/insert.js
439
- function Fe() {
403
+ function Ie() {
440
404
  return null;
441
405
  }
442
- function Ie(e, t) {
443
- var n = typeof e == "function" ? e : i(e), r = t == null ? Fe : typeof t == "function" ? t : o(t);
406
+ function Le(e, t) {
407
+ var n = typeof e == "function" ? e : a(e), r = t == null ? Ie : typeof t == "function" ? t : s(t);
444
408
  return this.select(function() {
445
409
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
446
410
  });
447
411
  }
448
- // node_modules/d3-selection/src/selection/remove.js
449
- function Le() {
412
+ function Re() {
450
413
  var e = this.parentNode;
451
414
  e && e.removeChild(this);
452
415
  }
453
- function Re() {
454
- return this.each(Le);
455
- }
456
- // node_modules/d3-selection/src/selection/clone.js
457
416
  function ze() {
417
+ return this.each(Re);
418
+ }
419
+ function Be() {
458
420
  var e = this.cloneNode(!1), t = this.parentNode;
459
421
  return t ? t.insertBefore(e, this.nextSibling) : e;
460
422
  }
461
- function Be() {
423
+ function Ve() {
462
424
  var e = this.cloneNode(!0), t = this.parentNode;
463
425
  return t ? t.insertBefore(e, this.nextSibling) : e;
464
426
  }
465
- function Ve(e) {
466
- return this.select(e ? Be : ze);
467
- }
468
- // node_modules/d3-selection/src/selection/datum.js
469
427
  function He(e) {
470
- return arguments.length ? this.property("__data__", e) : this.node().__data__;
428
+ return this.select(e ? Ve : Be);
471
429
  }
472
- // node_modules/d3-selection/src/selection/on.js
473
430
  function Ue(e) {
431
+ return arguments.length ? this.property("__data__", e) : this.node().__data__;
432
+ }
433
+ function We(e) {
474
434
  return function(t) {
475
435
  e.call(this, t, this.__data__);
476
436
  };
477
437
  }
478
- function We(e) {
438
+ function Ge(e) {
479
439
  return e.trim().split(/^|\s+/).map(function(e) {
480
440
  var t = "", n = e.indexOf(".");
481
441
  return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
@@ -484,7 +444,7 @@ function We(e) {
484
444
  };
485
445
  });
486
446
  }
487
- function Ge(e) {
447
+ function Ke(e) {
488
448
  return function() {
489
449
  var t = this.__on;
490
450
  if (t) {
@@ -493,9 +453,9 @@ function Ge(e) {
493
453
  }
494
454
  };
495
455
  }
496
- function Y(e, t, n) {
456
+ function qe(e, t, n) {
497
457
  return function() {
498
- var r = this.__on, i, a = Ue(t);
458
+ var r = this.__on, i, a = We(t);
499
459
  if (r) {
500
460
  for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
501
461
  this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
@@ -511,64 +471,61 @@ function Y(e, t, n) {
511
471
  }, r ? r.push(i) : this.__on = [i];
512
472
  };
513
473
  }
514
- function Ke(e, t, n) {
515
- var r = We(e + ""), i, a = r.length, o;
474
+ function Je(e, t, n) {
475
+ var r = Ge(e + ""), i, a = r.length, o;
516
476
  if (arguments.length < 2) {
517
477
  var s = this.node().__on;
518
478
  if (s) {
519
479
  for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
520
480
  }
521
481
  } else {
522
- for (s = t ? Y : Ge, i = 0; i < a; ++i) this.each(s(r[i], t, n));
482
+ for (s = t ? qe : Ke, i = 0; i < a; ++i) this.each(s(r[i], t, n));
523
483
  return this;
524
484
  }
525
485
  }
526
- // node_modules/d3-selection/src/selection/dispatch.js
527
- function X(e, t, n) {
486
+ function Y(e, t, n) {
528
487
  var r = B(e), i = r.CustomEvent;
529
488
  typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
530
489
  }
531
- function qe(e, t) {
490
+ function Ye(e, t) {
532
491
  return function() {
533
- return X(this, e, t);
492
+ return Y(this, e, t);
534
493
  };
535
494
  }
536
- function Je(e, t) {
495
+ function Xe(e, t) {
537
496
  return function() {
538
- return X(this, e, t.apply(this, arguments));
497
+ return Y(this, e, t.apply(this, arguments));
539
498
  };
540
499
  }
541
- function Ye(e, t) {
542
- return this.each((typeof t == "function" ? Je : qe)(e, t));
500
+ function Ze(e, t) {
501
+ return this.each((typeof t == "function" ? Xe : Ye)(e, t));
543
502
  }
544
- // node_modules/d3-selection/src/selection/iterator.js
545
- function* Xe() {
503
+ function* Qe() {
546
504
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t) for (var r = e[t], i = 0, a = r.length, o; i < a; ++i) (o = r[i]) && (yield o);
547
505
  }
548
- // node_modules/d3-selection/src/selection/index.js
549
- var Z = [null];
550
- function Q(e, t) {
506
+ var X = [null];
507
+ function Z(e, t) {
551
508
  this._groups = e, this._parents = t;
552
509
  }
553
- function $() {
554
- return new Q([[document.documentElement]], Z);
510
+ function Q() {
511
+ return new Z([[document.documentElement]], X);
555
512
  }
556
- function Ze() {
513
+ function $e() {
557
514
  return this;
558
515
  }
559
- Q.prototype = $.prototype = {
560
- constructor: Q,
561
- select: s,
562
- selectAll: f,
563
- selectChild: v,
564
- selectChildren: te,
565
- filter: x,
566
- data: se,
567
- enter: ne,
568
- exit: le,
569
- join: ue,
570
- merge: de,
571
- selection: Ze,
516
+ Z.prototype = Q.prototype = {
517
+ constructor: Z,
518
+ select: c,
519
+ selectAll: p,
520
+ selectChild: y,
521
+ selectChildren: ne,
522
+ filter: re,
523
+ data: ce,
524
+ enter: ie,
525
+ exit: ue,
526
+ join: de,
527
+ merge: fe,
528
+ selection: $e,
572
529
  order: w,
573
530
  sort: T,
574
531
  call: D,
@@ -578,24 +535,65 @@ Q.prototype = $.prototype = {
578
535
  empty: j,
579
536
  each: M,
580
537
  attr: z,
581
- style: pe,
582
- property: _e,
583
- classed: xe,
584
- text: Te,
585
- html: ke,
586
- raise: je,
587
- lower: Ne,
588
- append: Pe,
589
- insert: Ie,
590
- remove: Re,
591
- clone: Ve,
592
- datum: He,
593
- on: Ke,
594
- dispatch: Ye,
595
- [Symbol.iterator]: Xe
538
+ style: he,
539
+ property: ye,
540
+ classed: Ce,
541
+ text: Ee,
542
+ html: Ae,
543
+ raise: Me,
544
+ lower: Pe,
545
+ append: Fe,
546
+ insert: Le,
547
+ remove: ze,
548
+ clone: He,
549
+ datum: Ue,
550
+ on: Je,
551
+ dispatch: Ze,
552
+ [Symbol.iterator]: Qe
596
553
  };
597
- // node_modules/d3-selection/src/select.js
598
- function Qe(e) {
599
- return typeof e == "string" ? new Q([[document.querySelector(e)]], [document.documentElement]) : new Q([[e]], Z);
554
+ function et(e) {
555
+ return typeof e == "string" ? new Z([[document.querySelector(e)]], [document.documentElement]) : new Z([[e]], X);
556
+ }
557
+ var tt = 0;
558
+ function nt() {
559
+ return new $();
560
+ }
561
+ function $() {
562
+ this._ = "@" + (++tt).toString(36);
563
+ }
564
+ $.prototype = nt.prototype = {
565
+ constructor: $,
566
+ get: function(e) {
567
+ for (var t = this._; !(t in e);) if (!(e = e.parentNode)) return;
568
+ return e[t];
569
+ },
570
+ set: function(e, t) {
571
+ return e[this._] = t;
572
+ },
573
+ remove: function(e) {
574
+ return this._ in e && delete e[this._];
575
+ },
576
+ toString: function() {
577
+ return this._;
578
+ }
579
+ };
580
+ function rt(e) {
581
+ let t;
582
+ for (; t = e.sourceEvent;) e = t;
583
+ return e;
584
+ }
585
+ function it(e, t) {
586
+ if (e = rt(e), t === void 0 && (t = e.currentTarget), t) {
587
+ var n = t.ownerSVGElement || t;
588
+ if (n.createSVGPoint) {
589
+ var r = n.createSVGPoint();
590
+ return r.x = e.clientX, r.y = e.clientY, r = r.matrixTransform(t.getScreenCTM().inverse()), [r.x, r.y];
591
+ }
592
+ if (t.getBoundingClientRect) {
593
+ var i = t.getBoundingClientRect();
594
+ return [e.clientX - i.left - t.clientLeft, e.clientY - i.top - t.clientTop];
595
+ }
596
+ }
597
+ return [e.pageX, e.pageY];
600
598
  }
601
- export { u as a, p as i, $ as n, o, U as r, t as s, Qe as t };
599
+ export { Q as a, H as c, et as i, n, s as o, it as r, d as s, m as t };