@dpuse/dpuse-tool-d3-visualiser 1.0.106 → 1.0.109

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 +97 -226
  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,5 +1,5 @@
1
- import { a as e, d as t, i as n, l as r, o as i, s as a } from "./select-BIuoFcZG.js";
2
- import { d as o, i as s, n as c, t as l } from "./string-BOhFwaZD.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a } from "./select-Bs4oiNEZ.js";
2
+ import { a as o, n as s, r as c, t as l } from "./string-iJh48M7Y.js";
3
3
  //#region node_modules/d3-dispatch/src/dispatch.js
4
4
  var u = { value: () => {} };
5
5
  function d() {
@@ -147,74 +147,74 @@ function F(e, t, n, r, i, a) {
147
147
  //#endregion
148
148
  //#region node_modules/d3-interpolate/src/transform/parse.js
149
149
  var I;
150
- function ie(e) {
150
+ function L(e) {
151
151
  let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
152
152
  return t.isIdentity ? P : F(t.a, t.b, t.c, t.d, t.e, t.f);
153
153
  }
154
- function L(e) {
154
+ function R(e) {
155
155
  return e == null || (I ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), I.setAttribute("transform", e), !(e = I.transform.baseVal.consolidate())) ? P : (e = e.matrix, F(e.a, e.b, e.c, e.d, e.e, e.f));
156
156
  }
157
157
  //#endregion
158
158
  //#region node_modules/d3-interpolate/src/transform/index.js
159
- function R(e, t, n, r) {
159
+ function z(e, t, n, r) {
160
160
  function i(e) {
161
161
  return e.length ? e.pop() + " " : "";
162
162
  }
163
- function a(e, r, i, a, o, s) {
163
+ function a(e, r, i, a, o, c) {
164
164
  if (e !== i || r !== a) {
165
165
  var l = o.push("translate(", null, t, null, n);
166
- s.push({
166
+ c.push({
167
167
  i: l - 4,
168
- x: c(e, i)
168
+ x: s(e, i)
169
169
  }, {
170
170
  i: l - 2,
171
- x: c(r, a)
171
+ x: s(r, a)
172
172
  });
173
173
  } else (i || a) && o.push("translate(" + i + t + a + n);
174
174
  }
175
175
  function o(e, t, n, a) {
176
176
  e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
177
177
  i: n.push(i(n) + "rotate(", null, r) - 2,
178
- x: c(e, t)
178
+ x: s(e, t)
179
179
  }));
180
180
  }
181
- function s(e, t, n, a) {
181
+ function c(e, t, n, a) {
182
182
  e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
183
183
  i: n.push(i(n) + "skewX(", null, r) - 2,
184
- x: c(e, t)
184
+ x: s(e, t)
185
185
  });
186
186
  }
187
187
  function l(e, t, n, r, a, o) {
188
188
  if (e !== n || t !== r) {
189
- var s = a.push(i(a) + "scale(", null, ",", null, ")");
189
+ var c = a.push(i(a) + "scale(", null, ",", null, ")");
190
190
  o.push({
191
- i: s - 4,
192
- x: c(e, n)
191
+ i: c - 4,
192
+ x: s(e, n)
193
193
  }, {
194
- i: s - 2,
195
- x: c(t, r)
194
+ i: c - 2,
195
+ x: s(t, r)
196
196
  });
197
197
  } else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
198
198
  }
199
199
  return function(t, n) {
200
200
  var r = [], i = [];
201
- return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), s(t.skewX, n.skewX, r, i), l(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
201
+ return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), c(t.skewX, n.skewX, r, i), l(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
202
202
  for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
203
203
  return r.join("");
204
204
  };
205
205
  };
206
206
  }
207
- var ae = R(ie, "px, ", "px)", "deg)"), oe = R(L, ", ", ")", ")"), se = d("start", "end", "cancel", "interrupt"), ce = [];
208
- function z(e, t, n, r, i, a) {
207
+ var ie = z(L, "px, ", "px)", "deg)"), ae = z(R, ", ", ")", ")"), oe = d("start", "end", "cancel", "interrupt"), se = [];
208
+ function B(e, t, n, r, i, a) {
209
209
  var o = e.__transition;
210
210
  if (!o) e.__transition = {};
211
211
  else if (n in o) return;
212
- U(e, n, {
212
+ W(e, n, {
213
213
  name: t,
214
214
  index: r,
215
215
  group: i,
216
- on: se,
217
- tween: ce,
216
+ on: oe,
217
+ tween: se,
218
218
  time: a.time,
219
219
  delay: a.delay,
220
220
  duration: a.duration,
@@ -223,22 +223,22 @@ function z(e, t, n, r, i, a) {
223
223
  state: 0
224
224
  });
225
225
  }
226
- function B(e, t) {
227
- var n = H(e, t);
226
+ function V(e, t) {
227
+ var n = U(e, t);
228
228
  if (n.state > 0) throw Error("too late; already scheduled");
229
229
  return n;
230
230
  }
231
- function V(e, t) {
232
- var n = H(e, t);
231
+ function H(e, t) {
232
+ var n = U(e, t);
233
233
  if (n.state > 3) throw Error("too late; already running");
234
234
  return n;
235
235
  }
236
- function H(e, t) {
236
+ function U(e, t) {
237
237
  var n = e.__transition;
238
238
  if (!n || !(n = n[t])) throw Error("transition not found");
239
239
  return n;
240
240
  }
241
- function U(e, t, n) {
241
+ function W(e, t, n) {
242
242
  var r = e.__transition, i;
243
243
  r[t] = n, n.timer = k(a, 0, n.time);
244
244
  function a(e) {
@@ -269,7 +269,7 @@ function U(e, t, n) {
269
269
  }
270
270
  //#endregion
271
271
  //#region node_modules/d3-transition/src/interrupt.js
272
- function W(e, t) {
272
+ function G(e, t) {
273
273
  var n = e.__transition, r, i, a = !0, o;
274
274
  if (n) {
275
275
  for (o in t = t == null ? null : t + "", n) {
@@ -284,17 +284,17 @@ function W(e, t) {
284
284
  }
285
285
  //#endregion
286
286
  //#region node_modules/d3-transition/src/selection/interrupt.js
287
- function G(e) {
287
+ function K(e) {
288
288
  return this.each(function() {
289
- W(this, e);
289
+ G(this, e);
290
290
  });
291
291
  }
292
292
  //#endregion
293
293
  //#region node_modules/d3-transition/src/transition/tween.js
294
- function le(e, t) {
294
+ function ce(e, t) {
295
295
  var n, r;
296
296
  return function() {
297
- var i = V(this, e), a = i.tween;
297
+ var i = H(this, e), a = i.tween;
298
298
  if (a !== n) {
299
299
  r = n = a;
300
300
  for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
@@ -305,11 +305,11 @@ function le(e, t) {
305
305
  i.tween = r;
306
306
  };
307
307
  }
308
- function ue(e, t, n) {
308
+ function le(e, t, n) {
309
309
  var r, i;
310
310
  if (typeof n != "function") throw Error();
311
311
  return function() {
312
- var a = V(this, e), o = a.tween;
312
+ var a = H(this, e), o = a.tween;
313
313
  if (o !== r) {
314
314
  i = (r = o).slice();
315
315
  for (var s = {
@@ -324,432 +324,429 @@ function ue(e, t, n) {
324
324
  a.tween = i;
325
325
  };
326
326
  }
327
- function de(e, t) {
327
+ function ue(e, t) {
328
328
  var n = this._id;
329
329
  if (e += "", arguments.length < 2) {
330
- for (var r = H(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
330
+ for (var r = U(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
331
331
  return null;
332
332
  }
333
- return this.each((t == null ? le : ue)(n, e, t));
333
+ return this.each((t == null ? ce : le)(n, e, t));
334
334
  }
335
- function K(e, t, n) {
335
+ function q(e, t, n) {
336
336
  var r = e._id;
337
337
  return e.each(function() {
338
- var e = V(this, r);
338
+ var e = H(this, r);
339
339
  (e.value ||= {})[t] = n.apply(this, arguments);
340
340
  }), function(e) {
341
- return H(e, r).value[t];
341
+ return U(e, r).value[t];
342
342
  };
343
343
  }
344
344
  //#endregion
345
345
  //#region node_modules/d3-transition/src/transition/interpolate.js
346
- function q(e, t) {
346
+ function J(e, t) {
347
347
  var n;
348
- return (typeof t == "number" ? c : t instanceof o ? s : (n = o(t)) ? (t = n, s) : l)(e, t);
348
+ return (typeof t == "number" ? s : t instanceof o ? c : (n = o(t)) ? (t = n, c) : l)(e, t);
349
349
  }
350
350
  //#endregion
351
351
  //#region node_modules/d3-transition/src/transition/attr.js
352
- function fe(e) {
352
+ function de(e) {
353
353
  return function() {
354
354
  this.removeAttribute(e);
355
355
  };
356
356
  }
357
- function pe(e) {
357
+ function fe(e) {
358
358
  return function() {
359
359
  this.removeAttributeNS(e.space, e.local);
360
360
  };
361
361
  }
362
- function me(e, t, n) {
362
+ function pe(e, t, n) {
363
363
  var r, i = n + "", a;
364
364
  return function() {
365
365
  var o = this.getAttribute(e);
366
366
  return o === i ? null : o === r ? a : a = t(r = o, n);
367
367
  };
368
368
  }
369
- function he(e, t, n) {
369
+ function me(e, t, n) {
370
370
  var r, i = n + "", a;
371
371
  return function() {
372
372
  var o = this.getAttributeNS(e.space, e.local);
373
373
  return o === i ? null : o === r ? a : a = t(r = o, n);
374
374
  };
375
375
  }
376
- function ge(e, t, n) {
376
+ function he(e, t, n) {
377
377
  var r, i, a;
378
378
  return function() {
379
379
  var o, s = n(this), c;
380
380
  return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
381
381
  };
382
382
  }
383
- function _e(e, t, n) {
383
+ function ge(e, t, n) {
384
384
  var r, i, a;
385
385
  return function() {
386
386
  var o, s = n(this), c;
387
387
  return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
388
388
  };
389
389
  }
390
- function ve(e, n) {
391
- var r = t(e), i = r === "transform" ? oe : q;
392
- return this.attrTween(e, typeof n == "function" ? (r.local ? _e : ge)(r, i, K(this, "attr." + e, n)) : n == null ? (r.local ? pe : fe)(r) : (r.local ? he : me)(r, i, n));
390
+ function _e(e, t) {
391
+ var n = a(e), r = n === "transform" ? ae : J;
392
+ return this.attrTween(e, typeof t == "function" ? (n.local ? ge : he)(n, r, q(this, "attr." + e, t)) : t == null ? (n.local ? fe : de)(n) : (n.local ? me : pe)(n, r, t));
393
393
  }
394
394
  //#endregion
395
395
  //#region node_modules/d3-transition/src/transition/attrTween.js
396
- function ye(e, t) {
396
+ function ve(e, t) {
397
397
  return function(n) {
398
398
  this.setAttribute(e, t.call(this, n));
399
399
  };
400
400
  }
401
- function be(e, t) {
401
+ function ye(e, t) {
402
402
  return function(n) {
403
403
  this.setAttributeNS(e.space, e.local, t.call(this, n));
404
404
  };
405
405
  }
406
- function xe(e, t) {
406
+ function be(e, t) {
407
407
  var n, r;
408
408
  function i() {
409
409
  var i = t.apply(this, arguments);
410
- return i !== r && (n = (r = i) && be(e, i)), n;
410
+ return i !== r && (n = (r = i) && ye(e, i)), n;
411
411
  }
412
412
  return i._value = t, i;
413
413
  }
414
- function Se(e, t) {
414
+ function xe(e, t) {
415
415
  var n, r;
416
416
  function i() {
417
417
  var i = t.apply(this, arguments);
418
- return i !== r && (n = (r = i) && ye(e, i)), n;
418
+ return i !== r && (n = (r = i) && ve(e, i)), n;
419
419
  }
420
420
  return i._value = t, i;
421
421
  }
422
- function Ce(e, n) {
423
- var r = "attr." + e;
424
- if (arguments.length < 2) return (r = this.tween(r)) && r._value;
425
- if (n == null) return this.tween(r, null);
426
- if (typeof n != "function") throw Error();
427
- var i = t(e);
428
- return this.tween(r, (i.local ? xe : Se)(i, n));
422
+ function Se(e, t) {
423
+ var n = "attr." + e;
424
+ if (arguments.length < 2) return (n = this.tween(n)) && n._value;
425
+ if (t == null) return this.tween(n, null);
426
+ if (typeof t != "function") throw Error();
427
+ var r = a(e);
428
+ return this.tween(n, (r.local ? be : xe)(r, t));
429
429
  }
430
430
  //#endregion
431
431
  //#region node_modules/d3-transition/src/transition/delay.js
432
- function we(e, t) {
432
+ function Ce(e, t) {
433
433
  return function() {
434
- B(this, e).delay = +t.apply(this, arguments);
434
+ V(this, e).delay = +t.apply(this, arguments);
435
435
  };
436
436
  }
437
- function Te(e, t) {
437
+ function we(e, t) {
438
438
  return t = +t, function() {
439
- B(this, e).delay = t;
439
+ V(this, e).delay = t;
440
440
  };
441
441
  }
442
- function Ee(e) {
442
+ function Te(e) {
443
443
  var t = this._id;
444
- return arguments.length ? this.each((typeof e == "function" ? we : Te)(t, e)) : H(this.node(), t).delay;
444
+ return arguments.length ? this.each((typeof e == "function" ? Ce : we)(t, e)) : U(this.node(), t).delay;
445
445
  }
446
446
  //#endregion
447
447
  //#region node_modules/d3-transition/src/transition/duration.js
448
- function De(e, t) {
448
+ function Ee(e, t) {
449
449
  return function() {
450
- V(this, e).duration = +t.apply(this, arguments);
450
+ H(this, e).duration = +t.apply(this, arguments);
451
451
  };
452
452
  }
453
- function Oe(e, t) {
453
+ function De(e, t) {
454
454
  return t = +t, function() {
455
- V(this, e).duration = t;
455
+ H(this, e).duration = t;
456
456
  };
457
457
  }
458
- function ke(e) {
458
+ function Oe(e) {
459
459
  var t = this._id;
460
- return arguments.length ? this.each((typeof e == "function" ? De : Oe)(t, e)) : H(this.node(), t).duration;
460
+ return arguments.length ? this.each((typeof e == "function" ? Ee : De)(t, e)) : U(this.node(), t).duration;
461
461
  }
462
462
  //#endregion
463
463
  //#region node_modules/d3-transition/src/transition/ease.js
464
- function Ae(e, t) {
464
+ function ke(e, t) {
465
465
  if (typeof t != "function") throw Error();
466
466
  return function() {
467
- V(this, e).ease = t;
467
+ H(this, e).ease = t;
468
468
  };
469
469
  }
470
- function je(e) {
470
+ function Ae(e) {
471
471
  var t = this._id;
472
- return arguments.length ? this.each(Ae(t, e)) : H(this.node(), t).ease;
472
+ return arguments.length ? this.each(ke(t, e)) : U(this.node(), t).ease;
473
473
  }
474
474
  //#endregion
475
475
  //#region node_modules/d3-transition/src/transition/easeVarying.js
476
- function Me(e, t) {
476
+ function je(e, t) {
477
477
  return function() {
478
478
  var n = t.apply(this, arguments);
479
479
  if (typeof n != "function") throw Error();
480
- V(this, e).ease = n;
480
+ H(this, e).ease = n;
481
481
  };
482
482
  }
483
- function Ne(e) {
483
+ function Me(e) {
484
484
  if (typeof e != "function") throw Error();
485
- return this.each(Me(this._id, e));
485
+ return this.each(je(this._id, e));
486
486
  }
487
487
  //#endregion
488
488
  //#region node_modules/d3-transition/src/transition/filter.js
489
- function Pe(e) {
490
- typeof e != "function" && (e = i(e));
491
- for (var t = this._groups, n = t.length, r = Array(n), a = 0; a < n; ++a) for (var o = t[a], s = o.length, c = r[a] = [], l, u = 0; u < s; ++u) (l = o[u]) && e.call(l, l.__data__, u, o) && c.push(l);
492
- return new X(r, this._parents, this._name, this._id);
489
+ function Ne(e) {
490
+ typeof e != "function" && (e = t(e));
491
+ for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) for (var o = n[a], s = o.length, c = i[a] = [], l, u = 0; u < s; ++u) (l = o[u]) && e.call(l, l.__data__, u, o) && c.push(l);
492
+ return new Z(i, this._parents, this._name, this._id);
493
493
  }
494
494
  //#endregion
495
495
  //#region node_modules/d3-transition/src/transition/merge.js
496
- function Fe(e) {
496
+ function Pe(e) {
497
497
  if (e._id !== this._id) throw Error();
498
498
  for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
499
499
  for (; s < r; ++s) o[s] = t[s];
500
- return new X(o, this._parents, this._name, this._id);
500
+ return new Z(o, this._parents, this._name, this._id);
501
501
  }
502
502
  //#endregion
503
503
  //#region node_modules/d3-transition/src/transition/on.js
504
- function Ie(e) {
504
+ function Fe(e) {
505
505
  return (e + "").trim().split(/^|\s+/).every(function(e) {
506
506
  var t = e.indexOf(".");
507
507
  return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
508
508
  });
509
509
  }
510
- function Le(e, t, n) {
511
- var r, i, a = Ie(t) ? B : V;
510
+ function Ie(e, t, n) {
511
+ var r, i, a = Fe(t) ? V : H;
512
512
  return function() {
513
513
  var o = a(this, e), s = o.on;
514
514
  s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
515
515
  };
516
516
  }
517
- function Re(e, t) {
517
+ function Le(e, t) {
518
518
  var n = this._id;
519
- return arguments.length < 2 ? H(this.node(), n).on.on(e) : this.each(Le(n, e, t));
519
+ return arguments.length < 2 ? U(this.node(), n).on.on(e) : this.each(Ie(n, e, t));
520
520
  }
521
521
  //#endregion
522
522
  //#region node_modules/d3-transition/src/transition/remove.js
523
- function ze(e) {
523
+ function Re(e) {
524
524
  return function() {
525
525
  var t = this.parentNode;
526
526
  for (var n in this.__transition) if (+n !== e) return;
527
527
  t && t.removeChild(this);
528
528
  };
529
529
  }
530
- function Be() {
531
- return this.on("end.remove", ze(this._id));
530
+ function ze() {
531
+ return this.on("end.remove", Re(this._id));
532
532
  }
533
533
  //#endregion
534
534
  //#region node_modules/d3-transition/src/transition/select.js
535
- function Ve(e) {
535
+ function Be(e) {
536
536
  var t = this._name, n = this._id;
537
537
  typeof e != "function" && (e = r(e));
538
- for (var i = this._groups, a = i.length, o = Array(a), s = 0; s < a; ++s) for (var c = i[s], l = c.length, u = o[s] = Array(l), d, f, p = 0; p < l; ++p) (d = c[p]) && (f = e.call(d, d.__data__, p, c)) && ("__data__" in d && (f.__data__ = d.__data__), u[p] = f, z(u[p], t, n, p, u, H(d, n)));
539
- return new X(o, this._parents, t, n);
538
+ for (var i = this._groups, a = i.length, o = Array(a), s = 0; s < a; ++s) for (var c = i[s], l = c.length, u = o[s] = Array(l), d, f, p = 0; p < l; ++p) (d = c[p]) && (f = e.call(d, d.__data__, p, c)) && ("__data__" in d && (f.__data__ = d.__data__), u[p] = f, B(u[p], t, n, p, u, U(d, n)));
539
+ return new Z(o, this._parents, t, n);
540
540
  }
541
541
  //#endregion
542
542
  //#region node_modules/d3-transition/src/transition/selectAll.js
543
- function He(e) {
544
- var t = this._name, n = this._id;
545
- typeof e != "function" && (e = a(e));
546
- for (var r = this._groups, i = r.length, o = [], s = [], c = 0; c < i; ++c) for (var l = r[c], u = l.length, d, f = 0; f < u; ++f) if (d = l[f]) {
547
- for (var p = e.call(d, d.__data__, f, l), m, h = H(d, n), g = 0, _ = p.length; g < _; ++g) (m = p[g]) && z(m, t, n, g, p, h);
543
+ function Ve(t) {
544
+ var n = this._name, r = this._id;
545
+ typeof t != "function" && (t = e(t));
546
+ for (var i = this._groups, a = i.length, o = [], s = [], c = 0; c < a; ++c) for (var l = i[c], u = l.length, d, f = 0; f < u; ++f) if (d = l[f]) {
547
+ for (var p = t.call(d, d.__data__, f, l), m, h = U(d, r), g = 0, _ = p.length; g < _; ++g) (m = p[g]) && B(m, n, r, g, p, h);
548
548
  o.push(p), s.push(d);
549
549
  }
550
- return new X(o, s, t, n);
550
+ return new Z(o, s, n, r);
551
551
  }
552
552
  //#endregion
553
553
  //#region node_modules/d3-transition/src/transition/selection.js
554
- var Ue = n.prototype.constructor;
555
- function We() {
556
- return new Ue(this._groups, this._parents);
554
+ var He = n.prototype.constructor;
555
+ function Ue() {
556
+ return new He(this._groups, this._parents);
557
557
  }
558
558
  //#endregion
559
559
  //#region node_modules/d3-transition/src/transition/style.js
560
- function Ge(t, n) {
561
- var r, i, a;
560
+ function We(e, t) {
561
+ var n, r, a;
562
562
  return function() {
563
- var o = e(this, t), s = (this.style.removeProperty(t), e(this, t));
564
- return o === s ? null : o === r && s === i ? a : a = n(r = o, i = s);
563
+ var o = i(this, e), s = (this.style.removeProperty(e), i(this, e));
564
+ return o === s ? null : o === n && s === r ? a : a = t(n = o, r = s);
565
565
  };
566
566
  }
567
- function J(e) {
567
+ function Y(e) {
568
568
  return function() {
569
569
  this.style.removeProperty(e);
570
570
  };
571
571
  }
572
- function Ke(t, n, r) {
573
- var i, a = r + "", o;
572
+ function Ge(e, t, n) {
573
+ var r, a = n + "", o;
574
574
  return function() {
575
- var s = e(this, t);
576
- return s === a ? null : s === i ? o : o = n(i = s, r);
575
+ var s = i(this, e);
576
+ return s === a ? null : s === r ? o : o = t(r = s, n);
577
577
  };
578
578
  }
579
- function qe(t, n, r) {
580
- var i, a, o;
579
+ function Ke(e, t, n) {
580
+ var r, a, o;
581
581
  return function() {
582
- var s = e(this, t), c = r(this), l = c + "";
583
- return c ?? (l = c = (this.style.removeProperty(t), e(this, t))), s === l ? null : s === i && l === a ? o : (a = l, o = n(i = s, c));
582
+ var s = i(this, e), c = n(this), l = c + "";
583
+ return c ?? (l = c = (this.style.removeProperty(e), i(this, e))), s === l ? null : s === r && l === a ? o : (a = l, o = t(r = s, c));
584
584
  };
585
585
  }
586
- function Je(e, t) {
586
+ function qe(e, t) {
587
587
  var n, r, i, a = "style." + t, o = "end." + a, s;
588
588
  return function() {
589
- var c = V(this, e), l = c.on, u = c.value[a] == null ? s ||= J(t) : void 0;
589
+ var c = H(this, e), l = c.on, u = c.value[a] == null ? s ||= Y(t) : void 0;
590
590
  (l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
591
591
  };
592
592
  }
593
- function Ye(e, t, n) {
594
- var r = (e += "") == "transform" ? ae : q;
595
- return t == null ? this.styleTween(e, Ge(e, r)).on("end.style." + e, J(e)) : typeof t == "function" ? this.styleTween(e, qe(e, r, K(this, "style." + e, t))).each(Je(this._id, e)) : this.styleTween(e, Ke(e, r, t), n).on("end.style." + e, null);
593
+ function Je(e, t, n) {
594
+ var r = (e += "") == "transform" ? ie : J;
595
+ return t == null ? this.styleTween(e, We(e, r)).on("end.style." + e, Y(e)) : typeof t == "function" ? this.styleTween(e, Ke(e, r, q(this, "style." + e, t))).each(qe(this._id, e)) : this.styleTween(e, Ge(e, r, t), n).on("end.style." + e, null);
596
596
  }
597
597
  //#endregion
598
598
  //#region node_modules/d3-transition/src/transition/styleTween.js
599
- function Xe(e, t, n) {
599
+ function Ye(e, t, n) {
600
600
  return function(r) {
601
601
  this.style.setProperty(e, t.call(this, r), n);
602
602
  };
603
603
  }
604
- function Ze(e, t, n) {
604
+ function Xe(e, t, n) {
605
605
  var r, i;
606
606
  function a() {
607
607
  var a = t.apply(this, arguments);
608
- return a !== i && (r = (i = a) && Xe(e, a, n)), r;
608
+ return a !== i && (r = (i = a) && Ye(e, a, n)), r;
609
609
  }
610
610
  return a._value = t, a;
611
611
  }
612
- function Qe(e, t, n) {
612
+ function Ze(e, t, n) {
613
613
  var r = "style." + (e += "");
614
614
  if (arguments.length < 2) return (r = this.tween(r)) && r._value;
615
615
  if (t == null) return this.tween(r, null);
616
616
  if (typeof t != "function") throw Error();
617
- return this.tween(r, Ze(e, t, n ?? ""));
617
+ return this.tween(r, Xe(e, t, n ?? ""));
618
618
  }
619
619
  //#endregion
620
620
  //#region node_modules/d3-transition/src/transition/text.js
621
- function Y(e) {
621
+ function X(e) {
622
622
  return function() {
623
623
  this.textContent = e;
624
624
  };
625
625
  }
626
- function $e(e) {
626
+ function Qe(e) {
627
627
  return function() {
628
628
  var t = e(this);
629
629
  this.textContent = t ?? "";
630
630
  };
631
631
  }
632
- function et(e) {
633
- return this.tween("text", typeof e == "function" ? $e(K(this, "text", e)) : Y(e == null ? "" : e + ""));
632
+ function $e(e) {
633
+ return this.tween("text", typeof e == "function" ? Qe(q(this, "text", e)) : X(e == null ? "" : e + ""));
634
634
  }
635
635
  //#endregion
636
636
  //#region node_modules/d3-transition/src/transition/textTween.js
637
- function tt(e) {
637
+ function et(e) {
638
638
  return function(t) {
639
639
  this.textContent = e.call(this, t);
640
640
  };
641
641
  }
642
- function nt(e) {
642
+ function tt(e) {
643
643
  var t, n;
644
644
  function r() {
645
645
  var r = e.apply(this, arguments);
646
- return r !== n && (t = (n = r) && tt(r)), t;
646
+ return r !== n && (t = (n = r) && et(r)), t;
647
647
  }
648
648
  return r._value = e, r;
649
649
  }
650
- function rt(e) {
650
+ function nt(e) {
651
651
  var t = "text";
652
652
  if (arguments.length < 1) return (t = this.tween(t)) && t._value;
653
653
  if (e == null) return this.tween(t, null);
654
654
  if (typeof e != "function") throw Error();
655
- return this.tween(t, nt(e));
655
+ return this.tween(t, tt(e));
656
656
  }
657
657
  //#endregion
658
658
  //#region node_modules/d3-transition/src/transition/transition.js
659
- function it() {
659
+ function rt() {
660
660
  for (var e = this._name, t = this._id, n = Q(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
661
- var u = H(c, t);
662
- z(c, e, n, l, o, {
661
+ var u = U(c, t);
662
+ B(c, e, n, l, o, {
663
663
  time: u.time + u.delay + u.duration,
664
664
  delay: 0,
665
665
  duration: u.duration,
666
666
  ease: u.ease
667
667
  });
668
668
  }
669
- return new X(r, this._parents, e, n);
669
+ return new Z(r, this._parents, e, n);
670
670
  }
671
671
  //#endregion
672
672
  //#region node_modules/d3-transition/src/transition/end.js
673
- function at() {
673
+ function it() {
674
674
  var e, t, n = this, r = n._id, i = n.size();
675
675
  return new Promise(function(a, o) {
676
676
  var s = { value: o }, c = { value: function() {
677
677
  --i === 0 && a();
678
678
  } };
679
679
  n.each(function() {
680
- var n = V(this, r), i = n.on;
680
+ var n = H(this, r), i = n.on;
681
681
  i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
682
682
  }), i === 0 && a();
683
683
  });
684
684
  }
685
685
  //#endregion
686
686
  //#region node_modules/d3-transition/src/transition/index.js
687
- var ot = 0;
688
- function X(e, t, n, r) {
687
+ var at = 0;
688
+ function Z(e, t, n, r) {
689
689
  this._groups = e, this._parents = t, this._name = n, this._id = r;
690
690
  }
691
- function Z(e) {
692
- return n().transition(e);
693
- }
694
691
  function Q() {
695
- return ++ot;
692
+ return ++at;
696
693
  }
697
694
  var $ = n.prototype;
698
- X.prototype = Z.prototype = {
699
- constructor: X,
700
- select: Ve,
701
- selectAll: He,
695
+ Z.prototype = {
696
+ constructor: Z,
697
+ select: Be,
698
+ selectAll: Ve,
702
699
  selectChild: $.selectChild,
703
700
  selectChildren: $.selectChildren,
704
- filter: Pe,
705
- merge: Fe,
706
- selection: We,
707
- transition: it,
701
+ filter: Ne,
702
+ merge: Pe,
703
+ selection: Ue,
704
+ transition: rt,
708
705
  call: $.call,
709
706
  nodes: $.nodes,
710
707
  node: $.node,
711
708
  size: $.size,
712
709
  empty: $.empty,
713
710
  each: $.each,
714
- on: Re,
715
- attr: ve,
716
- attrTween: Ce,
717
- style: Ye,
718
- styleTween: Qe,
719
- text: et,
720
- textTween: rt,
721
- remove: Be,
722
- tween: de,
723
- delay: Ee,
724
- duration: ke,
725
- ease: je,
726
- easeVarying: Ne,
727
- end: at,
711
+ on: Le,
712
+ attr: _e,
713
+ attrTween: Se,
714
+ style: Je,
715
+ styleTween: Ze,
716
+ text: $e,
717
+ textTween: nt,
718
+ remove: ze,
719
+ tween: ue,
720
+ delay: Te,
721
+ duration: Oe,
722
+ ease: Ae,
723
+ easeVarying: Me,
724
+ end: it,
728
725
  [Symbol.iterator]: $[Symbol.iterator]
729
726
  };
730
727
  //#endregion
731
728
  //#region node_modules/d3-ease/src/cubic.js
732
- function st(e) {
729
+ function ot(e) {
733
730
  return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
734
731
  }
735
732
  //#endregion
736
733
  //#region node_modules/d3-transition/src/selection/transition.js
737
- var ct = {
734
+ var st = {
738
735
  time: null,
739
736
  delay: 0,
740
737
  duration: 250,
741
- ease: st
738
+ ease: ot
742
739
  };
743
- function lt(e, t) {
740
+ function ct(e, t) {
744
741
  for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
745
742
  return n;
746
743
  }
747
- function ut(e) {
744
+ function lt(e) {
748
745
  var t, n;
749
- e instanceof X ? (t = e._id, e = e._name) : (t = Q(), (n = ct).time = D(), e = e == null ? null : e + "");
750
- for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && z(c, e, t, l, o, n || lt(c, t));
751
- return new X(r, this._parents, e, t);
746
+ e instanceof Z ? (t = e._id, e = e._name) : (t = Q(), (n = st).time = D(), e = e == null ? null : e + "");
747
+ for (var r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) (c = o[l]) && B(c, e, t, l, o, n || ct(c, t));
748
+ return new Z(r, this._parents, e, t);
752
749
  }
753
- n.prototype.interrupt = G, n.prototype.transition = ut;
750
+ n.prototype.interrupt = K, n.prototype.transition = lt;
754
751
  //#endregion
755
- export { d as i, W as n, k as r, Z as t };
752
+ export { k as n, d as r, G as t };