@dpuse/dpuse-tool-d3 0.0.9 → 0.0.10

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.
@@ -0,0 +1,813 @@
1
+ var e = {
2
+ svg: "http://www.w3.org/2000/svg",
3
+ xhtml: "http://www.w3.org/1999/xhtml",
4
+ xlink: "http://www.w3.org/1999/xlink",
5
+ xml: "http://www.w3.org/XML/1998/namespace",
6
+ xmlns: "http://www.w3.org/2000/xmlns/"
7
+ };
8
+ //#endregion
9
+ //#region node_modules/d3-selection/src/namespace.js
10
+ function t(t) {
11
+ var n = t += "", r = n.indexOf(":");
12
+ return r >= 0 && (n = t.slice(0, r)) !== "xmlns" && (t = t.slice(r + 1)), e.hasOwnProperty(n) ? {
13
+ space: e[n],
14
+ local: t
15
+ } : t;
16
+ }
17
+ //#endregion
18
+ //#region node_modules/d3-selection/src/creator.js
19
+ function n(e) {
20
+ return function() {
21
+ var t = this.ownerDocument, n = this.namespaceURI;
22
+ return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
23
+ };
24
+ }
25
+ function r(e) {
26
+ return function() {
27
+ return this.ownerDocument.createElementNS(e.space, e.local);
28
+ };
29
+ }
30
+ function i(e) {
31
+ var i = t(e);
32
+ return (i.local ? r : n)(i);
33
+ }
34
+ //#endregion
35
+ //#region node_modules/d3-selection/src/selector.js
36
+ function a() {}
37
+ function o(e) {
38
+ return e == null ? a : function() {
39
+ return this.querySelector(e);
40
+ };
41
+ }
42
+ //#endregion
43
+ //#region node_modules/d3-selection/src/selection/select.js
44
+ function s(e) {
45
+ typeof e != "function" && (e = o(e));
46
+ 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);
47
+ return new G(r, this._parents);
48
+ }
49
+ //#endregion
50
+ //#region node_modules/d3-selection/src/array.js
51
+ function c(e) {
52
+ return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
53
+ }
54
+ //#endregion
55
+ //#region node_modules/d3-selection/src/selectorAll.js
56
+ function l() {
57
+ return [];
58
+ }
59
+ function u(e) {
60
+ return e == null ? l : function() {
61
+ return this.querySelectorAll(e);
62
+ };
63
+ }
64
+ //#endregion
65
+ //#region node_modules/d3-selection/src/selection/selectAll.js
66
+ function d(e) {
67
+ return function() {
68
+ return c(e.apply(this, arguments));
69
+ };
70
+ }
71
+ function f(e) {
72
+ e = typeof e == "function" ? d(e) : u(e);
73
+ 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));
74
+ return new G(r, i);
75
+ }
76
+ //#endregion
77
+ //#region node_modules/d3-selection/src/matcher.js
78
+ function p(e) {
79
+ return function() {
80
+ return this.matches(e);
81
+ };
82
+ }
83
+ function m(e) {
84
+ return function(t) {
85
+ return t.matches(e);
86
+ };
87
+ }
88
+ //#endregion
89
+ //#region node_modules/d3-selection/src/selection/selectChild.js
90
+ var h = Array.prototype.find;
91
+ function g(e) {
92
+ return function() {
93
+ return h.call(this.children, e);
94
+ };
95
+ }
96
+ function _() {
97
+ return this.firstElementChild;
98
+ }
99
+ function v(e) {
100
+ return this.select(e == null ? _ : g(typeof e == "function" ? e : m(e)));
101
+ }
102
+ //#endregion
103
+ //#region node_modules/d3-selection/src/selection/selectChildren.js
104
+ var y = Array.prototype.filter;
105
+ function b() {
106
+ return Array.from(this.children);
107
+ }
108
+ function ee(e) {
109
+ return function() {
110
+ return y.call(this.children, e);
111
+ };
112
+ }
113
+ function te(e) {
114
+ return this.selectAll(e == null ? b : ee(typeof e == "function" ? e : m(e)));
115
+ }
116
+ //#endregion
117
+ //#region node_modules/d3-selection/src/selection/filter.js
118
+ function ne(e) {
119
+ typeof e != "function" && (e = p(e));
120
+ 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);
121
+ return new G(r, this._parents);
122
+ }
123
+ //#endregion
124
+ //#region node_modules/d3-selection/src/selection/sparse.js
125
+ function x(e) {
126
+ return Array(e.length);
127
+ }
128
+ //#endregion
129
+ //#region node_modules/d3-selection/src/selection/enter.js
130
+ function re() {
131
+ return new G(this._enter || this._groups.map(x), this._parents);
132
+ }
133
+ function S(e, t) {
134
+ this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
135
+ }
136
+ S.prototype = {
137
+ constructor: S,
138
+ appendChild: function(e) {
139
+ return this._parent.insertBefore(e, this._next);
140
+ },
141
+ insertBefore: function(e, t) {
142
+ return this._parent.insertBefore(e, t);
143
+ },
144
+ querySelector: function(e) {
145
+ return this._parent.querySelector(e);
146
+ },
147
+ querySelectorAll: function(e) {
148
+ return this._parent.querySelectorAll(e);
149
+ }
150
+ };
151
+ //#endregion
152
+ //#region node_modules/d3-selection/src/constant.js
153
+ function ie(e) {
154
+ return function() {
155
+ return e;
156
+ };
157
+ }
158
+ //#endregion
159
+ //#region node_modules/d3-selection/src/selection/data.js
160
+ function ae(e, t, n, r, i, a) {
161
+ 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]);
162
+ for (; o < c; ++o) (s = t[o]) && (i[o] = s);
163
+ }
164
+ function oe(e, t, n, r, i, a, o) {
165
+ var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
166
+ 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));
167
+ 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]);
168
+ for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
169
+ }
170
+ function se(e) {
171
+ return e.__data__;
172
+ }
173
+ function ce(e, t) {
174
+ if (!arguments.length) return Array.from(this, se);
175
+ var n = t ? oe : ae, r = this._parents, i = this._groups;
176
+ typeof e != "function" && (e = ie(e));
177
+ for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
178
+ var u = r[l], d = i[l], f = d.length, p = C(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
179
+ n(u, d, h, g, c[l] = Array(f), p, t);
180
+ for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
181
+ for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
182
+ y._next = b || null;
183
+ }
184
+ }
185
+ return o = new G(o, r), o._enter = s, o._exit = c, o;
186
+ }
187
+ function C(e) {
188
+ return typeof e == "object" && "length" in e ? e : Array.from(e);
189
+ }
190
+ //#endregion
191
+ //#region node_modules/d3-selection/src/selection/exit.js
192
+ function le() {
193
+ return new G(this._exit || this._groups.map(x), this._parents);
194
+ }
195
+ //#endregion
196
+ //#region node_modules/d3-selection/src/selection/join.js
197
+ function ue(e, t, n) {
198
+ var r = this.enter(), i = this, a = this.exit();
199
+ 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;
200
+ }
201
+ //#endregion
202
+ //#region node_modules/d3-selection/src/selection/merge.js
203
+ function de(e) {
204
+ 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);
205
+ for (; c < i; ++c) s[c] = n[c];
206
+ return new G(s, this._parents);
207
+ }
208
+ //#endregion
209
+ //#region node_modules/d3-selection/src/selection/order.js
210
+ function fe() {
211
+ 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);
212
+ return this;
213
+ }
214
+ //#endregion
215
+ //#region node_modules/d3-selection/src/selection/sort.js
216
+ function pe(e) {
217
+ e ||= me;
218
+ function t(t, n) {
219
+ return t && n ? e(t.__data__, n.__data__) : !t - !n;
220
+ }
221
+ for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) {
222
+ 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);
223
+ c.sort(t);
224
+ }
225
+ return new G(i, this._parents).order();
226
+ }
227
+ function me(e, t) {
228
+ return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
229
+ }
230
+ //#endregion
231
+ //#region node_modules/d3-selection/src/selection/call.js
232
+ function he() {
233
+ var e = arguments[0];
234
+ return arguments[0] = this, e.apply(null, arguments), this;
235
+ }
236
+ //#endregion
237
+ //#region node_modules/d3-selection/src/selection/nodes.js
238
+ function ge() {
239
+ return Array.from(this);
240
+ }
241
+ //#endregion
242
+ //#region node_modules/d3-selection/src/selection/node.js
243
+ function _e() {
244
+ 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) {
245
+ var o = r[i];
246
+ if (o) return o;
247
+ }
248
+ return null;
249
+ }
250
+ //#endregion
251
+ //#region node_modules/d3-selection/src/selection/size.js
252
+ function ve() {
253
+ let e = 0;
254
+ for (let t of this) ++e;
255
+ return e;
256
+ }
257
+ //#endregion
258
+ //#region node_modules/d3-selection/src/selection/empty.js
259
+ function w() {
260
+ return !this.node();
261
+ }
262
+ //#endregion
263
+ //#region node_modules/d3-selection/src/selection/each.js
264
+ function T(e) {
265
+ 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);
266
+ return this;
267
+ }
268
+ //#endregion
269
+ //#region node_modules/d3-selection/src/selection/attr.js
270
+ function E(e) {
271
+ return function() {
272
+ this.removeAttribute(e);
273
+ };
274
+ }
275
+ function D(e) {
276
+ return function() {
277
+ this.removeAttributeNS(e.space, e.local);
278
+ };
279
+ }
280
+ function O(e, t) {
281
+ return function() {
282
+ this.setAttribute(e, t);
283
+ };
284
+ }
285
+ function k(e, t) {
286
+ return function() {
287
+ this.setAttributeNS(e.space, e.local, t);
288
+ };
289
+ }
290
+ function A(e, t) {
291
+ return function() {
292
+ var n = t.apply(this, arguments);
293
+ n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
294
+ };
295
+ }
296
+ function j(e, t) {
297
+ return function() {
298
+ var n = t.apply(this, arguments);
299
+ n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
300
+ };
301
+ }
302
+ function M(e, n) {
303
+ var r = t(e);
304
+ if (arguments.length < 2) {
305
+ var i = this.node();
306
+ return r.local ? i.getAttributeNS(r.space, r.local) : i.getAttribute(r);
307
+ }
308
+ return this.each((n == null ? r.local ? D : E : typeof n == "function" ? r.local ? j : A : r.local ? k : O)(r, n));
309
+ }
310
+ //#endregion
311
+ //#region node_modules/d3-selection/src/window.js
312
+ function N(e) {
313
+ return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
314
+ }
315
+ //#endregion
316
+ //#region node_modules/d3-selection/src/selection/style.js
317
+ function P(e) {
318
+ return function() {
319
+ this.style.removeProperty(e);
320
+ };
321
+ }
322
+ function F(e, t, n) {
323
+ return function() {
324
+ this.style.setProperty(e, t, n);
325
+ };
326
+ }
327
+ function ye(e, t, n) {
328
+ return function() {
329
+ var r = t.apply(this, arguments);
330
+ r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
331
+ };
332
+ }
333
+ function be(e, t, n) {
334
+ return arguments.length > 1 ? this.each((t == null ? P : typeof t == "function" ? ye : F)(e, t, n ?? "")) : I(this.node(), e);
335
+ }
336
+ function I(e, t) {
337
+ return e.style.getPropertyValue(t) || N(e).getComputedStyle(e, null).getPropertyValue(t);
338
+ }
339
+ //#endregion
340
+ //#region node_modules/d3-selection/src/selection/property.js
341
+ function xe(e) {
342
+ return function() {
343
+ delete this[e];
344
+ };
345
+ }
346
+ function Se(e, t) {
347
+ return function() {
348
+ this[e] = t;
349
+ };
350
+ }
351
+ function Ce(e, t) {
352
+ return function() {
353
+ var n = t.apply(this, arguments);
354
+ n == null ? delete this[e] : this[e] = n;
355
+ };
356
+ }
357
+ function we(e, t) {
358
+ return arguments.length > 1 ? this.each((t == null ? xe : typeof t == "function" ? Ce : Se)(e, t)) : this.node()[e];
359
+ }
360
+ //#endregion
361
+ //#region node_modules/d3-selection/src/selection/classed.js
362
+ function L(e) {
363
+ return e.trim().split(/^|\s+/);
364
+ }
365
+ function R(e) {
366
+ return e.classList || new z(e);
367
+ }
368
+ function z(e) {
369
+ this._node = e, this._names = L(e.getAttribute("class") || "");
370
+ }
371
+ z.prototype = {
372
+ add: function(e) {
373
+ this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
374
+ },
375
+ remove: function(e) {
376
+ var t = this._names.indexOf(e);
377
+ t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
378
+ },
379
+ contains: function(e) {
380
+ return this._names.indexOf(e) >= 0;
381
+ }
382
+ };
383
+ function B(e, t) {
384
+ for (var n = R(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
385
+ }
386
+ function V(e, t) {
387
+ for (var n = R(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
388
+ }
389
+ function Te(e) {
390
+ return function() {
391
+ B(this, e);
392
+ };
393
+ }
394
+ function Ee(e) {
395
+ return function() {
396
+ V(this, e);
397
+ };
398
+ }
399
+ function De(e, t) {
400
+ return function() {
401
+ (t.apply(this, arguments) ? B : V)(this, e);
402
+ };
403
+ }
404
+ function Oe(e, t) {
405
+ var n = L(e + "");
406
+ if (arguments.length < 2) {
407
+ for (var r = R(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
408
+ return !0;
409
+ }
410
+ return this.each((typeof t == "function" ? De : t ? Te : Ee)(n, t));
411
+ }
412
+ //#endregion
413
+ //#region node_modules/d3-selection/src/selection/text.js
414
+ function ke() {
415
+ this.textContent = "";
416
+ }
417
+ function Ae(e) {
418
+ return function() {
419
+ this.textContent = e;
420
+ };
421
+ }
422
+ function je(e) {
423
+ return function() {
424
+ var t = e.apply(this, arguments);
425
+ this.textContent = t ?? "";
426
+ };
427
+ }
428
+ function Me(e) {
429
+ return arguments.length ? this.each(e == null ? ke : (typeof e == "function" ? je : Ae)(e)) : this.node().textContent;
430
+ }
431
+ //#endregion
432
+ //#region node_modules/d3-selection/src/selection/html.js
433
+ function Ne() {
434
+ this.innerHTML = "";
435
+ }
436
+ function Pe(e) {
437
+ return function() {
438
+ this.innerHTML = e;
439
+ };
440
+ }
441
+ function Fe(e) {
442
+ return function() {
443
+ var t = e.apply(this, arguments);
444
+ this.innerHTML = t ?? "";
445
+ };
446
+ }
447
+ function Ie(e) {
448
+ return arguments.length ? this.each(e == null ? Ne : (typeof e == "function" ? Fe : Pe)(e)) : this.node().innerHTML;
449
+ }
450
+ //#endregion
451
+ //#region node_modules/d3-selection/src/selection/raise.js
452
+ function Le() {
453
+ this.nextSibling && this.parentNode.appendChild(this);
454
+ }
455
+ function Re() {
456
+ return this.each(Le);
457
+ }
458
+ //#endregion
459
+ //#region node_modules/d3-selection/src/selection/lower.js
460
+ function ze() {
461
+ this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
462
+ }
463
+ function H() {
464
+ return this.each(ze);
465
+ }
466
+ //#endregion
467
+ //#region node_modules/d3-selection/src/selection/append.js
468
+ function Be(e) {
469
+ var t = typeof e == "function" ? e : i(e);
470
+ return this.select(function() {
471
+ return this.appendChild(t.apply(this, arguments));
472
+ });
473
+ }
474
+ //#endregion
475
+ //#region node_modules/d3-selection/src/selection/insert.js
476
+ function Ve() {
477
+ return null;
478
+ }
479
+ function He(e, t) {
480
+ var n = typeof e == "function" ? e : i(e), r = t == null ? Ve : typeof t == "function" ? t : o(t);
481
+ return this.select(function() {
482
+ return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
483
+ });
484
+ }
485
+ //#endregion
486
+ //#region node_modules/d3-selection/src/selection/remove.js
487
+ function Ue() {
488
+ var e = this.parentNode;
489
+ e && e.removeChild(this);
490
+ }
491
+ function We() {
492
+ return this.each(Ue);
493
+ }
494
+ //#endregion
495
+ //#region node_modules/d3-selection/src/selection/clone.js
496
+ function Ge() {
497
+ var e = this.cloneNode(!1), t = this.parentNode;
498
+ return t ? t.insertBefore(e, this.nextSibling) : e;
499
+ }
500
+ function Ke() {
501
+ var e = this.cloneNode(!0), t = this.parentNode;
502
+ return t ? t.insertBefore(e, this.nextSibling) : e;
503
+ }
504
+ function qe(e) {
505
+ return this.select(e ? Ke : Ge);
506
+ }
507
+ //#endregion
508
+ //#region node_modules/d3-selection/src/selection/datum.js
509
+ function Je(e) {
510
+ return arguments.length ? this.property("__data__", e) : this.node().__data__;
511
+ }
512
+ //#endregion
513
+ //#region node_modules/d3-selection/src/selection/on.js
514
+ function Ye(e) {
515
+ return function(t) {
516
+ e.call(this, t, this.__data__);
517
+ };
518
+ }
519
+ function Xe(e) {
520
+ return e.trim().split(/^|\s+/).map(function(e) {
521
+ var t = "", n = e.indexOf(".");
522
+ return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
523
+ type: e,
524
+ name: t
525
+ };
526
+ });
527
+ }
528
+ function Ze(e) {
529
+ return function() {
530
+ var t = this.__on;
531
+ if (t) {
532
+ for (var n = 0, r = -1, i = t.length, a; n < i; ++n) a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.options) : t[++r] = a;
533
+ ++r ? t.length = r : delete this.__on;
534
+ }
535
+ };
536
+ }
537
+ function Qe(e, t, n) {
538
+ return function() {
539
+ var r = this.__on, i, a = Ye(t);
540
+ if (r) {
541
+ for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
542
+ this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
543
+ return;
544
+ }
545
+ }
546
+ this.addEventListener(e.type, a, n), i = {
547
+ type: e.type,
548
+ name: e.name,
549
+ value: t,
550
+ listener: a,
551
+ options: n
552
+ }, r ? r.push(i) : this.__on = [i];
553
+ };
554
+ }
555
+ function $e(e, t, n) {
556
+ var r = Xe(e + ""), i, a = r.length, o;
557
+ if (arguments.length < 2) {
558
+ var s = this.node().__on;
559
+ if (s) {
560
+ 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;
561
+ }
562
+ return;
563
+ }
564
+ for (s = t ? Qe : Ze, i = 0; i < a; ++i) this.each(s(r[i], t, n));
565
+ return this;
566
+ }
567
+ //#endregion
568
+ //#region node_modules/d3-selection/src/selection/dispatch.js
569
+ function U(e, t, n) {
570
+ var r = N(e), i = r.CustomEvent;
571
+ 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);
572
+ }
573
+ function et(e, t) {
574
+ return function() {
575
+ return U(this, e, t);
576
+ };
577
+ }
578
+ function tt(e, t) {
579
+ return function() {
580
+ return U(this, e, t.apply(this, arguments));
581
+ };
582
+ }
583
+ function nt(e, t) {
584
+ return this.each((typeof t == "function" ? tt : et)(e, t));
585
+ }
586
+ //#endregion
587
+ //#region node_modules/d3-selection/src/selection/iterator.js
588
+ function* rt() {
589
+ 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);
590
+ }
591
+ //#endregion
592
+ //#region node_modules/d3-selection/src/selection/index.js
593
+ var W = [null];
594
+ function G(e, t) {
595
+ this._groups = e, this._parents = t;
596
+ }
597
+ function K() {
598
+ return new G([[document.documentElement]], W);
599
+ }
600
+ function it() {
601
+ return this;
602
+ }
603
+ G.prototype = K.prototype = {
604
+ constructor: G,
605
+ select: s,
606
+ selectAll: f,
607
+ selectChild: v,
608
+ selectChildren: te,
609
+ filter: ne,
610
+ data: ce,
611
+ enter: re,
612
+ exit: le,
613
+ join: ue,
614
+ merge: de,
615
+ selection: it,
616
+ order: fe,
617
+ sort: pe,
618
+ call: he,
619
+ nodes: ge,
620
+ node: _e,
621
+ size: ve,
622
+ empty: w,
623
+ each: T,
624
+ attr: M,
625
+ style: be,
626
+ property: we,
627
+ classed: Oe,
628
+ text: Me,
629
+ html: Ie,
630
+ raise: Re,
631
+ lower: H,
632
+ append: Be,
633
+ insert: He,
634
+ remove: We,
635
+ clone: qe,
636
+ datum: Je,
637
+ on: $e,
638
+ dispatch: nt,
639
+ [Symbol.iterator]: rt
640
+ };
641
+ //#endregion
642
+ //#region node_modules/d3-selection/src/select.js
643
+ function at(e) {
644
+ return typeof e == "string" ? new G([[document.querySelector(e)]], [document.documentElement]) : new G([[e]], W);
645
+ }
646
+ //#endregion
647
+ //#region node_modules/d3-shape/src/constant.js
648
+ function ot(e) {
649
+ return function() {
650
+ return e;
651
+ };
652
+ }
653
+ //#endregion
654
+ //#region node_modules/d3-path/src/path.js
655
+ var q = Math.PI, J = 2 * q, Y = 1e-6, st = J - Y;
656
+ function X(e) {
657
+ this._ += e[0];
658
+ for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
659
+ }
660
+ function ct(e) {
661
+ let t = Math.floor(e);
662
+ if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
663
+ if (t > 15) return X;
664
+ let n = 10 ** t;
665
+ return function(e) {
666
+ this._ += e[0];
667
+ for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
668
+ };
669
+ }
670
+ var Z = class {
671
+ constructor(e) {
672
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? X : ct(e);
673
+ }
674
+ moveTo(e, t) {
675
+ this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
676
+ }
677
+ closePath() {
678
+ this._x1 !== null && (this._x1 = this._x0, this._y1 = this._y0, this._append`Z`);
679
+ }
680
+ lineTo(e, t) {
681
+ this._append`L${this._x1 = +e},${this._y1 = +t}`;
682
+ }
683
+ quadraticCurveTo(e, t, n, r) {
684
+ this._append`Q${+e},${+t},${this._x1 = +n},${this._y1 = +r}`;
685
+ }
686
+ bezierCurveTo(e, t, n, r, i, a) {
687
+ this._append`C${+e},${+t},${+n},${+r},${this._x1 = +i},${this._y1 = +a}`;
688
+ }
689
+ arcTo(e, t, n, r, i) {
690
+ if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
691
+ let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
692
+ if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
693
+ else if (d > Y) if (!(Math.abs(u * s - c * l) > Y) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
694
+ else {
695
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((q - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
696
+ Math.abs(y - 1) > Y && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
697
+ }
698
+ }
699
+ arc(e, t, n, r, i, a) {
700
+ if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
701
+ let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
702
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > Y || Math.abs(this._y1 - l) > Y) && this._append`L${c},${l}`, n && (d < 0 && (d = d % J + J), d > st ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > Y && this._append`A${n},${n},0,${+(d >= q)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
703
+ }
704
+ rect(e, t, n, r) {
705
+ this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
706
+ }
707
+ toString() {
708
+ return this._;
709
+ }
710
+ };
711
+ Z.prototype;
712
+ function lt(e = 3) {
713
+ return new Z(+e);
714
+ }
715
+ //#endregion
716
+ //#region node_modules/d3-shape/src/path.js
717
+ function ut(e) {
718
+ let t = 3;
719
+ return e.digits = function(n) {
720
+ if (!arguments.length) return t;
721
+ if (n == null) t = null;
722
+ else {
723
+ let e = Math.floor(n);
724
+ if (!(e >= 0)) throw RangeError(`invalid digits: ${n}`);
725
+ t = e;
726
+ }
727
+ return e;
728
+ }, () => new Z(t);
729
+ }
730
+ //#endregion
731
+ //#region node_modules/d3-shape/src/array.js
732
+ var dt = Array.prototype.slice;
733
+ function ft(e) {
734
+ return typeof e == "object" && "length" in e ? e : Array.from(e);
735
+ }
736
+ //#endregion
737
+ //#region node_modules/d3-shape/src/curve/linear.js
738
+ function Q(e) {
739
+ this._context = e;
740
+ }
741
+ Q.prototype = {
742
+ areaStart: function() {
743
+ this._line = 0;
744
+ },
745
+ areaEnd: function() {
746
+ this._line = NaN;
747
+ },
748
+ lineStart: function() {
749
+ this._point = 0;
750
+ },
751
+ lineEnd: function() {
752
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
753
+ },
754
+ point: function(e, t) {
755
+ switch (e = +e, t = +t, this._point) {
756
+ case 0:
757
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
758
+ break;
759
+ case 1: this._point = 2;
760
+ default: this._context.lineTo(e, t);
761
+ }
762
+ }
763
+ };
764
+ function pt(e) {
765
+ return new Q(e);
766
+ }
767
+ //#endregion
768
+ //#region node_modules/d3-shape/src/point.js
769
+ function mt(e) {
770
+ return e[0];
771
+ }
772
+ function ht(e) {
773
+ return e[1];
774
+ }
775
+ //#endregion
776
+ //#region node_modules/d3-shape/src/curve/bump.js
777
+ var $ = class {
778
+ constructor(e, t) {
779
+ this._context = e, this._x = t;
780
+ }
781
+ areaStart() {
782
+ this._line = 0;
783
+ }
784
+ areaEnd() {
785
+ this._line = NaN;
786
+ }
787
+ lineStart() {
788
+ this._point = 0;
789
+ }
790
+ lineEnd() {
791
+ (this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
792
+ }
793
+ point(e, t) {
794
+ switch (e = +e, t = +t, this._point) {
795
+ case 0:
796
+ this._point = 1, this._line ? this._context.lineTo(e, t) : this._context.moveTo(e, t);
797
+ break;
798
+ case 1: this._point = 2;
799
+ default: 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);
800
+ }
801
+ this._x0 = e, this._y0 = t;
802
+ }
803
+ };
804
+ function gt(e) {
805
+ return new $(e, !0);
806
+ }
807
+ function _t(e) {
808
+ return new $(e, !1);
809
+ }
810
+ //#endregion
811
+ export { e as S, u as _, pt as a, i as b, ut as c, at as d, G as f, p as g, I as h, ht as i, lt as l, K as m, _t as n, ft as o, W as p, mt as r, dt as s, gt as t, ot as u, c as v, t as x, o as y };
812
+
813
+ //# sourceMappingURL=bump-S1d-3Q8P.js.map