@navaramap/core 0.0.1 → 0.0.2
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.
- package/dist/index.js +455 -454
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/event/EventManager.ts +3 -3
- package/src/event/mock.ts +1 -3
- package/src/types/utils.ts +3 -3
package/dist/index.js
CHANGED
|
@@ -385,7 +385,7 @@ var p = class {
|
|
|
385
385
|
transferHolesTotalSizes() {
|
|
386
386
|
throw Error();
|
|
387
387
|
}
|
|
388
|
-
},
|
|
388
|
+
}, ne = class {
|
|
389
389
|
clampToGround;
|
|
390
390
|
tiled;
|
|
391
391
|
castShadow;
|
|
@@ -402,7 +402,7 @@ var p = class {
|
|
|
402
402
|
this.clampToGround = e.clampToGround, this.tiled = e.tiled, this.receiveShadow = e.receiveShadow, this.castShadow = e.castShadow, this.color = e.color, this.extrudedHeight = e.extrudedHeight, this.height = e.height, this.show = e.show, this.perPositionHeight = e.perPositionHeight, this.wireframe = e.wireframe, this.outline = e.outline;
|
|
403
403
|
}
|
|
404
404
|
free() {}
|
|
405
|
-
},
|
|
405
|
+
}, x = class {
|
|
406
406
|
east;
|
|
407
407
|
north;
|
|
408
408
|
south;
|
|
@@ -410,7 +410,7 @@ var p = class {
|
|
|
410
410
|
constructor(e) {
|
|
411
411
|
this.east = e.east, this.north = e.north, this.south = e.south, this.west = e.west;
|
|
412
412
|
}
|
|
413
|
-
},
|
|
413
|
+
}, S = class {
|
|
414
414
|
extent;
|
|
415
415
|
position_3d_high;
|
|
416
416
|
position_3d_high_size;
|
|
@@ -437,11 +437,11 @@ var p = class {
|
|
|
437
437
|
outline_batch_index_size;
|
|
438
438
|
constructor(e) {
|
|
439
439
|
let t = e.extent;
|
|
440
|
-
this.extent = t ? new
|
|
440
|
+
this.extent = t ? new x(t) : void 0, this.position_3d_high = e.position_3d_high()?.slice(), this.position_3d_high_size = e.position_3d_high_size(), this.position_3d_low = e.position_3d_low()?.slice(), this.position_3d_low_size = e.position_3d_low_size(), this.position = e.position()?.slice(), this.position_size = e.position_size(), this.normal = e.normal()?.slice(), this.normal_size = e.normal_size(), this.scale_normal_and_cap = e.scale_normal_and_cap()?.slice(), this.scale_normal_and_cap_size = e.scale_normal_and_cap_size(), this.batch_id = e.batch_id()?.slice(), this.batch_id_size = e.batch_id_size(), this.batch_index = e.batch_index()?.slice(), this.batch_index_size = e.batch_index_size(), this.indices = e.indices().slice(), this.rtc_translation = e.rtc_translation ? new b(e.rtc_translation) : void 0;
|
|
441
441
|
let n = e.outline();
|
|
442
442
|
n && (this.outline_position = n.position()?.slice(), this.outline_position_size = n.position_size(), this.outline_scale_normal_and_cap = n.scale_normal_and_cap()?.slice(), this.outline_scale_normal_and_cap_size = n.scale_normal_and_cap_size(), this.outline_skip_indices = n.skip_indices()?.slice(), this.outline_batch_index = n.batch_index()?.slice(), this.outline_batch_index_size = n.batch_index_size(), n.free());
|
|
443
443
|
}
|
|
444
|
-
},
|
|
444
|
+
}, C = class {
|
|
445
445
|
points;
|
|
446
446
|
points_sizes;
|
|
447
447
|
batch_ids;
|
|
@@ -467,7 +467,7 @@ var p = class {
|
|
|
467
467
|
transferBatchIndices() {
|
|
468
468
|
throw Error();
|
|
469
469
|
}
|
|
470
|
-
},
|
|
470
|
+
}, re = class {
|
|
471
471
|
clampToGround;
|
|
472
472
|
tiled;
|
|
473
473
|
castShadow;
|
|
@@ -482,7 +482,7 @@ var p = class {
|
|
|
482
482
|
this.clampToGround = e.clampToGround, this.tiled = e.tiled, this.receiveShadow = e.receiveShadow, this.castShadow = e.castShadow, this.color = e.color, this.width = e.width, this.maxWidth = e.maxWidth, this.height = e.height, this.show = e.show;
|
|
483
483
|
}
|
|
484
484
|
free() {}
|
|
485
|
-
},
|
|
485
|
+
}, ie = class {
|
|
486
486
|
extent;
|
|
487
487
|
position;
|
|
488
488
|
position_size;
|
|
@@ -515,9 +515,9 @@ var p = class {
|
|
|
515
515
|
indices;
|
|
516
516
|
constructor(e) {
|
|
517
517
|
let t = e.extent;
|
|
518
|
-
this.extent = t ? new
|
|
518
|
+
this.extent = t ? new x(t) : void 0, this.position = e.position().slice(), this.position_size = e.position_size(), this.position_high = e.position_high()?.slice(), this.position_high_size = e.position_high_size(), this.position_low = e.position_low()?.slice(), this.position_low_size = e.position_low_size(), this.start = e.start()?.slice(), this.start_size = e.start_size(), this.start_high = e.start_high()?.slice(), this.start_high_size = e.start_high_size(), this.start_low = e.start_low()?.slice(), this.start_low_size = e.start_low_size(), this.forward_offset = e.forward_offset()?.slice(), this.forward_offset_size = e.forward_offset_size(), this.end_high = e.end_high()?.slice(), this.end_high_size = e.end_high_size(), this.end_low = e.end_low()?.slice(), this.end_low_size = e.end_low_size(), this.start_normals = e.start_normals()?.slice(), this.start_normals_size = e.start_normals_size(), this.end_normal_and_texture_coordinate_normalization_x = e.end_normal_and_texture_coordinate_normalization_x()?.slice(), this.end_normal_and_texture_coordinate_normalization_x_size = e.end_normal_and_texture_coordinate_normalization_x_size(), this.right_normal_and_texture_coordinate_normalization_y = e.right_normal_and_texture_coordinate_normalization_y().slice(), this.right_normal_and_texture_coordinate_normalization_y_size = e.right_normal_and_texture_coordinate_normalization_y_size(), this.batch_id = e.batch_id()?.slice(), this.batch_id_size = e.batch_id_size(), this.batch_index = e.batch_index()?.slice(), this.batch_index_size = e.batch_index_size(), this.indices = e.indices().slice();
|
|
519
519
|
}
|
|
520
|
-
},
|
|
520
|
+
}, ae = ["png", "webp"], oe = class {
|
|
521
521
|
events = {};
|
|
522
522
|
onceEvents = {};
|
|
523
523
|
on(e, t) {
|
|
@@ -538,18 +538,18 @@ var p = class {
|
|
|
538
538
|
emit(e, ...t) {
|
|
539
539
|
this.events[e]?.forEach((e) => e(...t)), this.onceEvents[e]?.size && (this.onceEvents[e]?.forEach((e) => e(...t)), this.onceEvents[e]?.clear());
|
|
540
540
|
}
|
|
541
|
-
},
|
|
541
|
+
}, se = (e, t, n) => {
|
|
542
542
|
let r = t.length;
|
|
543
543
|
for (let i = 0; i < r; i++) n[i] = e[t[i]];
|
|
544
|
-
},
|
|
544
|
+
}, ce = class extends Error {
|
|
545
545
|
constructor(e) {
|
|
546
546
|
super(e ?? "Unimplemented");
|
|
547
547
|
}
|
|
548
|
-
},
|
|
548
|
+
}, le = class extends Error {
|
|
549
549
|
constructor(e) {
|
|
550
550
|
super(e ?? "Unreachable");
|
|
551
551
|
}
|
|
552
|
-
},
|
|
552
|
+
}, ue = class {
|
|
553
553
|
list = [];
|
|
554
554
|
indexMap = {};
|
|
555
555
|
add(e) {
|
|
@@ -579,7 +579,7 @@ var p = class {
|
|
|
579
579
|
assertUnique(e) {
|
|
580
580
|
if (this.indexMap[e] !== void 0) throw Error(`duplicate name: ${e}`);
|
|
581
581
|
}
|
|
582
|
-
},
|
|
582
|
+
}, de = class extends oe {
|
|
583
583
|
_value;
|
|
584
584
|
constructor(e) {
|
|
585
585
|
super(), this._value = e;
|
|
@@ -596,7 +596,7 @@ var p = class {
|
|
|
596
596
|
};
|
|
597
597
|
this.on("changed", t);
|
|
598
598
|
}
|
|
599
|
-
},
|
|
599
|
+
}, fe = class {
|
|
600
600
|
value;
|
|
601
601
|
constructor(t, n, r) {
|
|
602
602
|
this.value = new e(t, n, r);
|
|
@@ -607,19 +607,19 @@ var p = class {
|
|
|
607
607
|
};
|
|
608
608
|
//#endregion
|
|
609
609
|
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.js
|
|
610
|
-
function
|
|
610
|
+
function pe(e, t) {
|
|
611
611
|
return e == null || t == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
612
612
|
}
|
|
613
613
|
//#endregion
|
|
614
614
|
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js
|
|
615
|
-
function
|
|
615
|
+
function me(e, t) {
|
|
616
616
|
return e == null || t == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
|
|
617
617
|
}
|
|
618
618
|
//#endregion
|
|
619
619
|
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js
|
|
620
|
-
function
|
|
620
|
+
function he(e) {
|
|
621
621
|
let t, n, r;
|
|
622
|
-
e.length === 2 ? (t = e ===
|
|
622
|
+
e.length === 2 ? (t = e === pe || e === me ? e : ge, n = e, r = e) : (t = pe, n = (t, n) => pe(e(t), n), r = (t, n) => e(t) - n);
|
|
623
623
|
function i(e, r, i = 0, a = e.length) {
|
|
624
624
|
if (i < a) {
|
|
625
625
|
if (t(r, r) !== 0) return a;
|
|
@@ -650,33 +650,33 @@ function me(e) {
|
|
|
650
650
|
right: a
|
|
651
651
|
};
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function ge() {
|
|
654
654
|
return 0;
|
|
655
655
|
}
|
|
656
656
|
//#endregion
|
|
657
657
|
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js
|
|
658
|
-
function
|
|
658
|
+
function _e(e) {
|
|
659
659
|
return e === null ? NaN : +e;
|
|
660
660
|
}
|
|
661
661
|
//#endregion
|
|
662
662
|
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js
|
|
663
|
-
var
|
|
664
|
-
|
|
663
|
+
var ve = he(pe), ye = ve.right;
|
|
664
|
+
ve.left, he(_e).center;
|
|
665
665
|
//#endregion
|
|
666
666
|
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js
|
|
667
|
-
var
|
|
668
|
-
function
|
|
669
|
-
let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >=
|
|
670
|
-
return i < 0 ? (l = 10 ** -i / o, s = Math.round(e * l), c = Math.round(t * l), s / l < e && ++s, c / l > t && --c, l = -l) : (l = 10 ** i * o, s = Math.round(e / l), c = Math.round(t / l), s * l < e && ++s, c * l > t && --c), c < s && .5 <= n && n < 2 ?
|
|
667
|
+
var be = Math.sqrt(50), xe = Math.sqrt(10), Se = Math.sqrt(2);
|
|
668
|
+
function Ce(e, t, n) {
|
|
669
|
+
let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >= be ? 10 : a >= xe ? 5 : a >= Se ? 2 : 1, s, c, l;
|
|
670
|
+
return i < 0 ? (l = 10 ** -i / o, s = Math.round(e * l), c = Math.round(t * l), s / l < e && ++s, c / l > t && --c, l = -l) : (l = 10 ** i * o, s = Math.round(e / l), c = Math.round(t / l), s * l < e && ++s, c * l > t && --c), c < s && .5 <= n && n < 2 ? Ce(e, t, n * 2) : [
|
|
671
671
|
s,
|
|
672
672
|
c,
|
|
673
673
|
l
|
|
674
674
|
];
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function we(e, t, n) {
|
|
677
677
|
if (t = +t, e = +e, n = +n, !(n > 0)) return [];
|
|
678
678
|
if (e === t) return [e];
|
|
679
|
-
let r = t < e, [i, a, o] = r ?
|
|
679
|
+
let r = t < e, [i, a, o] = r ? Ce(t, e, n) : Ce(e, t, n);
|
|
680
680
|
if (!(a >= i)) return [];
|
|
681
681
|
let s = a - i + 1, c = Array(s);
|
|
682
682
|
if (r) if (o < 0) for (let e = 0; e < s; ++e) c[e] = (a - e) / -o;
|
|
@@ -685,28 +685,28 @@ function Se(e, t, n) {
|
|
|
685
685
|
else for (let e = 0; e < s; ++e) c[e] = (i + e) * o;
|
|
686
686
|
return c;
|
|
687
687
|
}
|
|
688
|
-
function
|
|
689
|
-
return t = +t, e = +e, n = +n,
|
|
688
|
+
function Te(e, t, n) {
|
|
689
|
+
return t = +t, e = +e, n = +n, Ce(e, t, n)[2];
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function Ee(e, t, n) {
|
|
692
692
|
t = +t, e = +e, n = +n;
|
|
693
|
-
let r = t < e, i = r ?
|
|
693
|
+
let r = t < e, i = r ? Te(t, e, n) : Te(e, t, n);
|
|
694
694
|
return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
|
|
695
695
|
}
|
|
696
696
|
//#endregion
|
|
697
697
|
//#region ../../node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.js
|
|
698
|
-
var
|
|
699
|
-
function
|
|
698
|
+
var De = { value: () => {} };
|
|
699
|
+
function Oe() {
|
|
700
700
|
for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
|
|
701
701
|
if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
|
|
702
702
|
n[r] = [];
|
|
703
703
|
}
|
|
704
|
-
return new
|
|
704
|
+
return new ke(n);
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function ke(e) {
|
|
707
707
|
this._ = e;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Ae(e, t) {
|
|
710
710
|
return e.trim().split(/^|\s+/).map(function(e) {
|
|
711
711
|
var n = "", r = e.indexOf(".");
|
|
712
712
|
if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
|
|
@@ -716,23 +716,23 @@ function Oe(e, t) {
|
|
|
716
716
|
};
|
|
717
717
|
});
|
|
718
718
|
}
|
|
719
|
-
|
|
720
|
-
constructor:
|
|
719
|
+
ke.prototype = Oe.prototype = {
|
|
720
|
+
constructor: ke,
|
|
721
721
|
on: function(e, t) {
|
|
722
|
-
var n = this._, r =
|
|
722
|
+
var n = this._, r = Ae(e + "", n), i, a = -1, o = r.length;
|
|
723
723
|
if (arguments.length < 2) {
|
|
724
|
-
for (; ++a < o;) if ((i = (e = r[a]).type) && (i =
|
|
724
|
+
for (; ++a < o;) if ((i = (e = r[a]).type) && (i = je(n[i], e.name))) return i;
|
|
725
725
|
return;
|
|
726
726
|
}
|
|
727
727
|
if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
|
|
728
|
-
for (; ++a < o;) if (i = (e = r[a]).type) n[i] =
|
|
729
|
-
else if (t == null) for (i in n) n[i] =
|
|
728
|
+
for (; ++a < o;) if (i = (e = r[a]).type) n[i] = Me(n[i], e.name, t);
|
|
729
|
+
else if (t == null) for (i in n) n[i] = Me(n[i], e.name, null);
|
|
730
730
|
return this;
|
|
731
731
|
},
|
|
732
732
|
copy: function() {
|
|
733
733
|
var e = {}, t = this._;
|
|
734
734
|
for (var n in t) e[n] = t[n].slice();
|
|
735
|
-
return new
|
|
735
|
+
return new ke(e);
|
|
736
736
|
},
|
|
737
737
|
call: function(e, t) {
|
|
738
738
|
if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
|
|
@@ -744,12 +744,12 @@ De.prototype = Ee.prototype = {
|
|
|
744
744
|
for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
|
|
745
745
|
}
|
|
746
746
|
};
|
|
747
|
-
function
|
|
747
|
+
function je(e, t) {
|
|
748
748
|
for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Me(e, t, n) {
|
|
751
751
|
for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
|
|
752
|
-
e[r] =
|
|
752
|
+
e[r] = De, e = e.slice(0, r).concat(e.slice(r + 1));
|
|
753
753
|
break;
|
|
754
754
|
}
|
|
755
755
|
return n != null && e.push({
|
|
@@ -757,7 +757,7 @@ function Ae(e, t, n) {
|
|
|
757
757
|
value: n
|
|
758
758
|
}), e;
|
|
759
759
|
}
|
|
760
|
-
var
|
|
760
|
+
var Ne = {
|
|
761
761
|
svg: "http://www.w3.org/2000/svg",
|
|
762
762
|
xhtml: "http://www.w3.org/1999/xhtml",
|
|
763
763
|
xlink: "http://www.w3.org/1999/xlink",
|
|
@@ -766,134 +766,134 @@ var je = {
|
|
|
766
766
|
};
|
|
767
767
|
//#endregion
|
|
768
768
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js
|
|
769
|
-
function
|
|
769
|
+
function w(e) {
|
|
770
770
|
var t = e += "", n = t.indexOf(":");
|
|
771
|
-
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)),
|
|
772
|
-
space:
|
|
771
|
+
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Ne.hasOwnProperty(t) ? {
|
|
772
|
+
space: Ne[t],
|
|
773
773
|
local: e
|
|
774
774
|
} : e;
|
|
775
775
|
}
|
|
776
776
|
//#endregion
|
|
777
777
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js
|
|
778
|
-
function
|
|
778
|
+
function Pe(e) {
|
|
779
779
|
return function() {
|
|
780
780
|
var t = this.ownerDocument, n = this.namespaceURI;
|
|
781
781
|
return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
|
|
782
782
|
};
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Fe(e) {
|
|
785
785
|
return function() {
|
|
786
786
|
return this.ownerDocument.createElementNS(e.space, e.local);
|
|
787
787
|
};
|
|
788
788
|
}
|
|
789
|
-
function
|
|
790
|
-
var t =
|
|
791
|
-
return (t.local ?
|
|
789
|
+
function Ie(e) {
|
|
790
|
+
var t = w(e);
|
|
791
|
+
return (t.local ? Fe : Pe)(t);
|
|
792
792
|
}
|
|
793
793
|
//#endregion
|
|
794
794
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js
|
|
795
|
-
function
|
|
796
|
-
function
|
|
797
|
-
return e == null ?
|
|
795
|
+
function Le() {}
|
|
796
|
+
function Re(e) {
|
|
797
|
+
return e == null ? Le : function() {
|
|
798
798
|
return this.querySelector(e);
|
|
799
799
|
};
|
|
800
800
|
}
|
|
801
801
|
//#endregion
|
|
802
802
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js
|
|
803
|
-
function
|
|
804
|
-
typeof e != "function" && (e =
|
|
803
|
+
function ze(e) {
|
|
804
|
+
typeof e != "function" && (e = Re(e));
|
|
805
805
|
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] = Array(o), c, l, u = 0; u < o; ++u) (c = a[u]) && (l = e.call(c, c.__data__, u, a)) && ("__data__" in c && (l.__data__ = c.__data__), s[u] = l);
|
|
806
|
-
return new
|
|
806
|
+
return new E(r, this._parents);
|
|
807
807
|
}
|
|
808
808
|
//#endregion
|
|
809
809
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js
|
|
810
|
-
function
|
|
810
|
+
function Be(e) {
|
|
811
811
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
812
812
|
}
|
|
813
813
|
//#endregion
|
|
814
814
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js
|
|
815
|
-
function
|
|
815
|
+
function Ve() {
|
|
816
816
|
return [];
|
|
817
817
|
}
|
|
818
|
-
function
|
|
819
|
-
return e == null ?
|
|
818
|
+
function He(e) {
|
|
819
|
+
return e == null ? Ve : function() {
|
|
820
820
|
return this.querySelectorAll(e);
|
|
821
821
|
};
|
|
822
822
|
}
|
|
823
823
|
//#endregion
|
|
824
824
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js
|
|
825
|
-
function
|
|
825
|
+
function Ue(e) {
|
|
826
826
|
return function() {
|
|
827
|
-
return
|
|
827
|
+
return Be(e.apply(this, arguments));
|
|
828
828
|
};
|
|
829
829
|
}
|
|
830
|
-
function
|
|
831
|
-
e = typeof e == "function" ?
|
|
830
|
+
function We(e) {
|
|
831
|
+
e = typeof e == "function" ? Ue(e) : He(e);
|
|
832
832
|
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));
|
|
833
|
-
return new
|
|
833
|
+
return new E(r, i);
|
|
834
834
|
}
|
|
835
835
|
//#endregion
|
|
836
836
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js
|
|
837
|
-
function
|
|
837
|
+
function Ge(e) {
|
|
838
838
|
return function() {
|
|
839
839
|
return this.matches(e);
|
|
840
840
|
};
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function Ke(e) {
|
|
843
843
|
return function(t) {
|
|
844
844
|
return t.matches(e);
|
|
845
845
|
};
|
|
846
846
|
}
|
|
847
847
|
//#endregion
|
|
848
848
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js
|
|
849
|
-
var
|
|
850
|
-
function
|
|
849
|
+
var qe = Array.prototype.find;
|
|
850
|
+
function Je(e) {
|
|
851
851
|
return function() {
|
|
852
|
-
return
|
|
852
|
+
return qe.call(this.children, e);
|
|
853
853
|
};
|
|
854
854
|
}
|
|
855
|
-
function
|
|
855
|
+
function Ye() {
|
|
856
856
|
return this.firstElementChild;
|
|
857
857
|
}
|
|
858
|
-
function
|
|
859
|
-
return this.select(e == null ?
|
|
858
|
+
function Xe(e) {
|
|
859
|
+
return this.select(e == null ? Ye : Je(typeof e == "function" ? e : Ke(e)));
|
|
860
860
|
}
|
|
861
861
|
//#endregion
|
|
862
862
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js
|
|
863
|
-
var
|
|
864
|
-
function
|
|
863
|
+
var Ze = Array.prototype.filter;
|
|
864
|
+
function Qe() {
|
|
865
865
|
return Array.from(this.children);
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function $e(e) {
|
|
868
868
|
return function() {
|
|
869
|
-
return
|
|
869
|
+
return Ze.call(this.children, e);
|
|
870
870
|
};
|
|
871
871
|
}
|
|
872
|
-
function
|
|
873
|
-
return this.selectAll(e == null ?
|
|
872
|
+
function et(e) {
|
|
873
|
+
return this.selectAll(e == null ? Qe : $e(typeof e == "function" ? e : Ke(e)));
|
|
874
874
|
}
|
|
875
875
|
//#endregion
|
|
876
876
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js
|
|
877
|
-
function
|
|
878
|
-
typeof e != "function" && (e =
|
|
877
|
+
function tt(e) {
|
|
878
|
+
typeof e != "function" && (e = Ge(e));
|
|
879
879
|
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);
|
|
880
|
-
return new
|
|
880
|
+
return new E(r, this._parents);
|
|
881
881
|
}
|
|
882
882
|
//#endregion
|
|
883
883
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js
|
|
884
|
-
function
|
|
884
|
+
function nt(e) {
|
|
885
885
|
return Array(e.length);
|
|
886
886
|
}
|
|
887
887
|
//#endregion
|
|
888
888
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js
|
|
889
|
-
function
|
|
890
|
-
return new
|
|
889
|
+
function rt() {
|
|
890
|
+
return new E(this._enter || this._groups.map(nt), this._parents);
|
|
891
891
|
}
|
|
892
|
-
function
|
|
892
|
+
function it(e, t) {
|
|
893
893
|
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
894
894
|
}
|
|
895
|
-
|
|
896
|
-
constructor:
|
|
895
|
+
it.prototype = {
|
|
896
|
+
constructor: it,
|
|
897
897
|
appendChild: function(e) {
|
|
898
898
|
return this._parent.insertBefore(e, this._next);
|
|
899
899
|
},
|
|
@@ -909,71 +909,71 @@ rt.prototype = {
|
|
|
909
909
|
};
|
|
910
910
|
//#endregion
|
|
911
911
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js
|
|
912
|
-
function
|
|
912
|
+
function at(e) {
|
|
913
913
|
return function() {
|
|
914
914
|
return e;
|
|
915
915
|
};
|
|
916
916
|
}
|
|
917
917
|
//#endregion
|
|
918
918
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js
|
|
919
|
-
function
|
|
920
|
-
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
|
|
919
|
+
function ot(e, t, n, r, i, a) {
|
|
920
|
+
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 it(e, a[o]);
|
|
921
921
|
for (; o < c; ++o) (s = t[o]) && (i[o] = s);
|
|
922
922
|
}
|
|
923
|
-
function
|
|
923
|
+
function st(e, t, n, r, i, a, o) {
|
|
924
924
|
var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
|
|
925
925
|
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));
|
|
926
|
-
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
|
|
926
|
+
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 it(e, a[s]);
|
|
927
927
|
for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function ct(e) {
|
|
930
930
|
return e.__data__;
|
|
931
931
|
}
|
|
932
|
-
function
|
|
933
|
-
if (!arguments.length) return Array.from(this,
|
|
934
|
-
var n = t ?
|
|
935
|
-
typeof e != "function" && (e =
|
|
932
|
+
function lt(e, t) {
|
|
933
|
+
if (!arguments.length) return Array.from(this, ct);
|
|
934
|
+
var n = t ? st : ot, r = this._parents, i = this._groups;
|
|
935
|
+
typeof e != "function" && (e = at(e));
|
|
936
936
|
for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
|
|
937
|
-
var u = r[l], d = i[l], f = d.length, p =
|
|
937
|
+
var u = r[l], d = i[l], f = d.length, p = ut(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
|
|
938
938
|
n(u, d, h, g, c[l] = Array(f), p, t);
|
|
939
939
|
for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
|
|
940
940
|
for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
|
|
941
941
|
y._next = b || null;
|
|
942
942
|
}
|
|
943
943
|
}
|
|
944
|
-
return o = new
|
|
944
|
+
return o = new E(o, r), o._enter = s, o._exit = c, o;
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function ut(e) {
|
|
947
947
|
return typeof e == "object" && "length" in e ? e : Array.from(e);
|
|
948
948
|
}
|
|
949
949
|
//#endregion
|
|
950
950
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js
|
|
951
|
-
function
|
|
952
|
-
return new
|
|
951
|
+
function dt() {
|
|
952
|
+
return new E(this._exit || this._groups.map(nt), this._parents);
|
|
953
953
|
}
|
|
954
954
|
//#endregion
|
|
955
955
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js
|
|
956
|
-
function
|
|
956
|
+
function ft(e, t, n) {
|
|
957
957
|
var r = this.enter(), i = this, a = this.exit();
|
|
958
958
|
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;
|
|
959
959
|
}
|
|
960
960
|
//#endregion
|
|
961
961
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js
|
|
962
|
-
function
|
|
962
|
+
function pt(e) {
|
|
963
963
|
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);
|
|
964
964
|
for (; c < i; ++c) s[c] = n[c];
|
|
965
|
-
return new
|
|
965
|
+
return new E(s, this._parents);
|
|
966
966
|
}
|
|
967
967
|
//#endregion
|
|
968
968
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js
|
|
969
|
-
function
|
|
969
|
+
function mt() {
|
|
970
970
|
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);
|
|
971
971
|
return this;
|
|
972
972
|
}
|
|
973
973
|
//#endregion
|
|
974
974
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js
|
|
975
|
-
function
|
|
976
|
-
e ||=
|
|
975
|
+
function ht(e) {
|
|
976
|
+
e ||= gt;
|
|
977
977
|
function t(t, n) {
|
|
978
978
|
return t && n ? e(t.__data__, n.__data__) : !t - !n;
|
|
979
979
|
}
|
|
@@ -981,25 +981,25 @@ function mt(e) {
|
|
|
981
981
|
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);
|
|
982
982
|
c.sort(t);
|
|
983
983
|
}
|
|
984
|
-
return new
|
|
984
|
+
return new E(i, this._parents).order();
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function gt(e, t) {
|
|
987
987
|
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
988
988
|
}
|
|
989
989
|
//#endregion
|
|
990
990
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js
|
|
991
|
-
function
|
|
991
|
+
function _t() {
|
|
992
992
|
var e = arguments[0];
|
|
993
993
|
return arguments[0] = this, e.apply(null, arguments), this;
|
|
994
994
|
}
|
|
995
995
|
//#endregion
|
|
996
996
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js
|
|
997
|
-
function
|
|
997
|
+
function vt() {
|
|
998
998
|
return Array.from(this);
|
|
999
999
|
}
|
|
1000
1000
|
//#endregion
|
|
1001
1001
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js
|
|
1002
|
-
function
|
|
1002
|
+
function yt() {
|
|
1003
1003
|
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) {
|
|
1004
1004
|
var o = r[i];
|
|
1005
1005
|
if (o) return o;
|
|
@@ -1008,126 +1008,126 @@ function vt() {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
//#endregion
|
|
1010
1010
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js
|
|
1011
|
-
function
|
|
1011
|
+
function bt() {
|
|
1012
1012
|
let e = 0;
|
|
1013
1013
|
for (let t of this) ++e;
|
|
1014
1014
|
return e;
|
|
1015
1015
|
}
|
|
1016
1016
|
//#endregion
|
|
1017
1017
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js
|
|
1018
|
-
function
|
|
1018
|
+
function xt() {
|
|
1019
1019
|
return !this.node();
|
|
1020
1020
|
}
|
|
1021
1021
|
//#endregion
|
|
1022
1022
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js
|
|
1023
|
-
function
|
|
1023
|
+
function St(e) {
|
|
1024
1024
|
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);
|
|
1025
1025
|
return this;
|
|
1026
1026
|
}
|
|
1027
1027
|
//#endregion
|
|
1028
1028
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js
|
|
1029
|
-
function
|
|
1029
|
+
function Ct(e) {
|
|
1030
1030
|
return function() {
|
|
1031
1031
|
this.removeAttribute(e);
|
|
1032
1032
|
};
|
|
1033
1033
|
}
|
|
1034
|
-
function
|
|
1034
|
+
function wt(e) {
|
|
1035
1035
|
return function() {
|
|
1036
1036
|
this.removeAttributeNS(e.space, e.local);
|
|
1037
1037
|
};
|
|
1038
1038
|
}
|
|
1039
|
-
function
|
|
1039
|
+
function Tt(e, t) {
|
|
1040
1040
|
return function() {
|
|
1041
1041
|
this.setAttribute(e, t);
|
|
1042
1042
|
};
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function Et(e, t) {
|
|
1045
1045
|
return function() {
|
|
1046
1046
|
this.setAttributeNS(e.space, e.local, t);
|
|
1047
1047
|
};
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function Dt(e, t) {
|
|
1050
1050
|
return function() {
|
|
1051
1051
|
var n = t.apply(this, arguments);
|
|
1052
1052
|
n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
|
|
1053
1053
|
};
|
|
1054
1054
|
}
|
|
1055
|
-
function
|
|
1055
|
+
function Ot(e, t) {
|
|
1056
1056
|
return function() {
|
|
1057
1057
|
var n = t.apply(this, arguments);
|
|
1058
1058
|
n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
|
|
1059
1059
|
};
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1062
|
-
var n =
|
|
1061
|
+
function kt(e, t) {
|
|
1062
|
+
var n = w(e);
|
|
1063
1063
|
if (arguments.length < 2) {
|
|
1064
1064
|
var r = this.node();
|
|
1065
1065
|
return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
|
|
1066
1066
|
}
|
|
1067
|
-
return this.each((t == null ? n.local ?
|
|
1067
|
+
return this.each((t == null ? n.local ? wt : Ct : typeof t == "function" ? n.local ? Ot : Dt : n.local ? Et : Tt)(n, t));
|
|
1068
1068
|
}
|
|
1069
1069
|
//#endregion
|
|
1070
1070
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js
|
|
1071
|
-
function
|
|
1071
|
+
function At(e) {
|
|
1072
1072
|
return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
|
|
1073
1073
|
}
|
|
1074
1074
|
//#endregion
|
|
1075
1075
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js
|
|
1076
|
-
function
|
|
1076
|
+
function jt(e) {
|
|
1077
1077
|
return function() {
|
|
1078
1078
|
this.style.removeProperty(e);
|
|
1079
1079
|
};
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function Mt(e, t, n) {
|
|
1082
1082
|
return function() {
|
|
1083
1083
|
this.style.setProperty(e, t, n);
|
|
1084
1084
|
};
|
|
1085
1085
|
}
|
|
1086
|
-
function
|
|
1086
|
+
function Nt(e, t, n) {
|
|
1087
1087
|
return function() {
|
|
1088
1088
|
var r = t.apply(this, arguments);
|
|
1089
1089
|
r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
|
|
1090
1090
|
};
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return arguments.length > 1 ? this.each((t == null ?
|
|
1092
|
+
function Pt(e, t, n) {
|
|
1093
|
+
return arguments.length > 1 ? this.each((t == null ? jt : typeof t == "function" ? Nt : Mt)(e, t, n ?? "")) : T(this.node(), e);
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return e.style.getPropertyValue(t) ||
|
|
1095
|
+
function T(e, t) {
|
|
1096
|
+
return e.style.getPropertyValue(t) || At(e).getComputedStyle(e, null).getPropertyValue(t);
|
|
1097
1097
|
}
|
|
1098
1098
|
//#endregion
|
|
1099
1099
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js
|
|
1100
|
-
function
|
|
1100
|
+
function Ft(e) {
|
|
1101
1101
|
return function() {
|
|
1102
1102
|
delete this[e];
|
|
1103
1103
|
};
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function It(e, t) {
|
|
1106
1106
|
return function() {
|
|
1107
1107
|
this[e] = t;
|
|
1108
1108
|
};
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function Lt(e, t) {
|
|
1111
1111
|
return function() {
|
|
1112
1112
|
var n = t.apply(this, arguments);
|
|
1113
1113
|
n == null ? delete this[e] : this[e] = n;
|
|
1114
1114
|
};
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1117
|
-
return arguments.length > 1 ? this.each((t == null ?
|
|
1116
|
+
function Rt(e, t) {
|
|
1117
|
+
return arguments.length > 1 ? this.each((t == null ? Ft : typeof t == "function" ? Lt : It)(e, t)) : this.node()[e];
|
|
1118
1118
|
}
|
|
1119
1119
|
//#endregion
|
|
1120
1120
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js
|
|
1121
|
-
function Rt(e) {
|
|
1122
|
-
return e.trim().split(/^|\s+/);
|
|
1123
|
-
}
|
|
1124
1121
|
function zt(e) {
|
|
1125
|
-
return e.
|
|
1122
|
+
return e.trim().split(/^|\s+/);
|
|
1126
1123
|
}
|
|
1127
1124
|
function Bt(e) {
|
|
1128
|
-
|
|
1125
|
+
return e.classList || new Vt(e);
|
|
1126
|
+
}
|
|
1127
|
+
function Vt(e) {
|
|
1128
|
+
this._node = e, this._names = zt(e.getAttribute("class") || "");
|
|
1129
1129
|
}
|
|
1130
|
-
|
|
1130
|
+
Vt.prototype = {
|
|
1131
1131
|
add: function(e) {
|
|
1132
1132
|
this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
1133
1133
|
},
|
|
@@ -1139,141 +1139,143 @@ Bt.prototype = {
|
|
|
1139
1139
|
return this._names.indexOf(e) >= 0;
|
|
1140
1140
|
}
|
|
1141
1141
|
};
|
|
1142
|
-
function Vt(e, t) {
|
|
1143
|
-
for (var n = zt(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
|
|
1144
|
-
}
|
|
1145
1142
|
function Ht(e, t) {
|
|
1146
|
-
for (var n =
|
|
1143
|
+
for (var n = Bt(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
|
|
1147
1144
|
}
|
|
1148
|
-
function Ut(e) {
|
|
1149
|
-
|
|
1150
|
-
Vt(this, e);
|
|
1151
|
-
};
|
|
1145
|
+
function Ut(e, t) {
|
|
1146
|
+
for (var n = Bt(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
|
|
1152
1147
|
}
|
|
1153
1148
|
function Wt(e) {
|
|
1154
1149
|
return function() {
|
|
1155
1150
|
Ht(this, e);
|
|
1156
1151
|
};
|
|
1157
1152
|
}
|
|
1158
|
-
function Gt(e
|
|
1153
|
+
function Gt(e) {
|
|
1159
1154
|
return function() {
|
|
1160
|
-
(
|
|
1155
|
+
Ut(this, e);
|
|
1161
1156
|
};
|
|
1162
1157
|
}
|
|
1163
1158
|
function Kt(e, t) {
|
|
1164
|
-
|
|
1159
|
+
return function() {
|
|
1160
|
+
(t.apply(this, arguments) ? Ht : Ut)(this, e);
|
|
1161
|
+
};
|
|
1162
|
+
}
|
|
1163
|
+
function qt(e, t) {
|
|
1164
|
+
var n = zt(e + "");
|
|
1165
1165
|
if (arguments.length < 2) {
|
|
1166
|
-
for (var r =
|
|
1166
|
+
for (var r = Bt(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
|
|
1167
1167
|
return !0;
|
|
1168
1168
|
}
|
|
1169
|
-
return this.each((typeof t == "function" ?
|
|
1169
|
+
return this.each((typeof t == "function" ? Kt : t ? Wt : Gt)(n, t));
|
|
1170
1170
|
}
|
|
1171
1171
|
//#endregion
|
|
1172
1172
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js
|
|
1173
|
-
function
|
|
1173
|
+
function Jt() {
|
|
1174
1174
|
this.textContent = "";
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1176
|
+
function Yt(e) {
|
|
1177
1177
|
return function() {
|
|
1178
1178
|
this.textContent = e;
|
|
1179
1179
|
};
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1181
|
+
function Xt(e) {
|
|
1182
1182
|
return function() {
|
|
1183
|
-
|
|
1183
|
+
var t = e.apply(this, arguments);
|
|
1184
|
+
this.textContent = t ?? "";
|
|
1184
1185
|
};
|
|
1185
1186
|
}
|
|
1186
|
-
function
|
|
1187
|
-
return arguments.length ? this.each(e == null ?
|
|
1187
|
+
function Zt(e) {
|
|
1188
|
+
return arguments.length ? this.each(e == null ? Jt : (typeof e == "function" ? Xt : Yt)(e)) : this.node().textContent;
|
|
1188
1189
|
}
|
|
1189
1190
|
//#endregion
|
|
1190
1191
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js
|
|
1191
|
-
function
|
|
1192
|
+
function Qt() {
|
|
1192
1193
|
this.innerHTML = "";
|
|
1193
1194
|
}
|
|
1194
|
-
function
|
|
1195
|
+
function $t(e) {
|
|
1195
1196
|
return function() {
|
|
1196
1197
|
this.innerHTML = e;
|
|
1197
1198
|
};
|
|
1198
1199
|
}
|
|
1199
|
-
function
|
|
1200
|
+
function en(e) {
|
|
1200
1201
|
return function() {
|
|
1201
|
-
|
|
1202
|
+
var t = e.apply(this, arguments);
|
|
1203
|
+
this.innerHTML = t ?? "";
|
|
1202
1204
|
};
|
|
1203
1205
|
}
|
|
1204
|
-
function
|
|
1205
|
-
return arguments.length ? this.each(e == null ?
|
|
1206
|
+
function tn(e) {
|
|
1207
|
+
return arguments.length ? this.each(e == null ? Qt : (typeof e == "function" ? en : $t)(e)) : this.node().innerHTML;
|
|
1206
1208
|
}
|
|
1207
1209
|
//#endregion
|
|
1208
1210
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js
|
|
1209
|
-
function
|
|
1211
|
+
function nn() {
|
|
1210
1212
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
1211
1213
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return this.each(
|
|
1214
|
+
function rn() {
|
|
1215
|
+
return this.each(nn);
|
|
1214
1216
|
}
|
|
1215
1217
|
//#endregion
|
|
1216
1218
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js
|
|
1217
|
-
function
|
|
1219
|
+
function an() {
|
|
1218
1220
|
this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
1219
1221
|
}
|
|
1220
|
-
function
|
|
1221
|
-
return this.each(
|
|
1222
|
+
function on() {
|
|
1223
|
+
return this.each(an);
|
|
1222
1224
|
}
|
|
1223
1225
|
//#endregion
|
|
1224
1226
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js
|
|
1225
|
-
function
|
|
1226
|
-
var t = typeof e == "function" ? e :
|
|
1227
|
+
function sn(e) {
|
|
1228
|
+
var t = typeof e == "function" ? e : Ie(e);
|
|
1227
1229
|
return this.select(function() {
|
|
1228
1230
|
return this.appendChild(t.apply(this, arguments));
|
|
1229
1231
|
});
|
|
1230
1232
|
}
|
|
1231
1233
|
//#endregion
|
|
1232
1234
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js
|
|
1233
|
-
function
|
|
1235
|
+
function cn() {
|
|
1234
1236
|
return null;
|
|
1235
1237
|
}
|
|
1236
|
-
function
|
|
1237
|
-
var n = typeof e == "function" ? e :
|
|
1238
|
+
function ln(e, t) {
|
|
1239
|
+
var n = typeof e == "function" ? e : Ie(e), r = t == null ? cn : typeof t == "function" ? t : Re(t);
|
|
1238
1240
|
return this.select(function() {
|
|
1239
1241
|
return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
|
|
1240
1242
|
});
|
|
1241
1243
|
}
|
|
1242
1244
|
//#endregion
|
|
1243
1245
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js
|
|
1244
|
-
function
|
|
1246
|
+
function un() {
|
|
1245
1247
|
var e = this.parentNode;
|
|
1246
1248
|
e && e.removeChild(this);
|
|
1247
1249
|
}
|
|
1248
|
-
function
|
|
1249
|
-
return this.each(
|
|
1250
|
+
function dn() {
|
|
1251
|
+
return this.each(un);
|
|
1250
1252
|
}
|
|
1251
1253
|
//#endregion
|
|
1252
1254
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js
|
|
1253
|
-
function
|
|
1255
|
+
function fn() {
|
|
1254
1256
|
var e = this.cloneNode(!1), t = this.parentNode;
|
|
1255
1257
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
1256
1258
|
}
|
|
1257
|
-
function
|
|
1259
|
+
function pn() {
|
|
1258
1260
|
var e = this.cloneNode(!0), t = this.parentNode;
|
|
1259
1261
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
1260
1262
|
}
|
|
1261
|
-
function
|
|
1262
|
-
return this.select(e ?
|
|
1263
|
+
function mn(e) {
|
|
1264
|
+
return this.select(e ? pn : fn);
|
|
1263
1265
|
}
|
|
1264
1266
|
//#endregion
|
|
1265
1267
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js
|
|
1266
|
-
function
|
|
1268
|
+
function hn(e) {
|
|
1267
1269
|
return arguments.length ? this.property("__data__", e) : this.node().__data__;
|
|
1268
1270
|
}
|
|
1269
1271
|
//#endregion
|
|
1270
1272
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js
|
|
1271
|
-
function
|
|
1273
|
+
function gn(e) {
|
|
1272
1274
|
return function(t) {
|
|
1273
1275
|
e.call(this, t, this.__data__);
|
|
1274
1276
|
};
|
|
1275
1277
|
}
|
|
1276
|
-
function
|
|
1278
|
+
function _n(e) {
|
|
1277
1279
|
return e.trim().split(/^|\s+/).map(function(e) {
|
|
1278
1280
|
var t = "", n = e.indexOf(".");
|
|
1279
1281
|
return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
|
|
@@ -1282,7 +1284,7 @@ function gn(e) {
|
|
|
1282
1284
|
};
|
|
1283
1285
|
});
|
|
1284
1286
|
}
|
|
1285
|
-
function
|
|
1287
|
+
function vn(e) {
|
|
1286
1288
|
return function() {
|
|
1287
1289
|
var t = this.__on;
|
|
1288
1290
|
if (t) {
|
|
@@ -1291,9 +1293,9 @@ function _n(e) {
|
|
|
1291
1293
|
}
|
|
1292
1294
|
};
|
|
1293
1295
|
}
|
|
1294
|
-
function
|
|
1296
|
+
function yn(e, t, n) {
|
|
1295
1297
|
return function() {
|
|
1296
|
-
var r = this.__on, i, a =
|
|
1298
|
+
var r = this.__on, i, a = gn(t);
|
|
1297
1299
|
if (r) {
|
|
1298
1300
|
for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
|
|
1299
1301
|
this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
|
|
@@ -1309,8 +1311,8 @@ function vn(e, t, n) {
|
|
|
1309
1311
|
}, r ? r.push(i) : this.__on = [i];
|
|
1310
1312
|
};
|
|
1311
1313
|
}
|
|
1312
|
-
function
|
|
1313
|
-
var r =
|
|
1314
|
+
function bn(e, t, n) {
|
|
1315
|
+
var r = _n(e + ""), i, a = r.length, o;
|
|
1314
1316
|
if (arguments.length < 2) {
|
|
1315
1317
|
var s = this.node().__on;
|
|
1316
1318
|
if (s) {
|
|
@@ -1318,97 +1320,97 @@ function yn(e, t, n) {
|
|
|
1318
1320
|
}
|
|
1319
1321
|
return;
|
|
1320
1322
|
}
|
|
1321
|
-
for (s = t ?
|
|
1323
|
+
for (s = t ? yn : vn, i = 0; i < a; ++i) this.each(s(r[i], t, n));
|
|
1322
1324
|
return this;
|
|
1323
1325
|
}
|
|
1324
1326
|
//#endregion
|
|
1325
1327
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js
|
|
1326
|
-
function
|
|
1327
|
-
var r =
|
|
1328
|
+
function xn(e, t, n) {
|
|
1329
|
+
var r = At(e), i = r.CustomEvent;
|
|
1328
1330
|
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);
|
|
1329
1331
|
}
|
|
1330
|
-
function
|
|
1332
|
+
function Sn(e, t) {
|
|
1331
1333
|
return function() {
|
|
1332
|
-
return
|
|
1334
|
+
return xn(this, e, t);
|
|
1333
1335
|
};
|
|
1334
1336
|
}
|
|
1335
|
-
function
|
|
1337
|
+
function Cn(e, t) {
|
|
1336
1338
|
return function() {
|
|
1337
|
-
return
|
|
1339
|
+
return xn(this, e, t.apply(this, arguments));
|
|
1338
1340
|
};
|
|
1339
1341
|
}
|
|
1340
|
-
function
|
|
1341
|
-
return this.each((typeof t == "function" ?
|
|
1342
|
+
function wn(e, t) {
|
|
1343
|
+
return this.each((typeof t == "function" ? Cn : Sn)(e, t));
|
|
1342
1344
|
}
|
|
1343
1345
|
//#endregion
|
|
1344
1346
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js
|
|
1345
|
-
function*
|
|
1347
|
+
function* Tn() {
|
|
1346
1348
|
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);
|
|
1347
1349
|
}
|
|
1348
1350
|
//#endregion
|
|
1349
1351
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js
|
|
1350
|
-
var
|
|
1351
|
-
function
|
|
1352
|
+
var En = [null];
|
|
1353
|
+
function E(e, t) {
|
|
1352
1354
|
this._groups = e, this._parents = t;
|
|
1353
1355
|
}
|
|
1354
|
-
function
|
|
1355
|
-
return new
|
|
1356
|
+
function D() {
|
|
1357
|
+
return new E([[document.documentElement]], En);
|
|
1356
1358
|
}
|
|
1357
|
-
function
|
|
1359
|
+
function Dn() {
|
|
1358
1360
|
return this;
|
|
1359
1361
|
}
|
|
1360
|
-
|
|
1361
|
-
constructor:
|
|
1362
|
-
select:
|
|
1363
|
-
selectAll:
|
|
1364
|
-
selectChild:
|
|
1365
|
-
selectChildren:
|
|
1366
|
-
filter:
|
|
1367
|
-
data:
|
|
1368
|
-
enter:
|
|
1369
|
-
exit:
|
|
1370
|
-
join:
|
|
1371
|
-
merge:
|
|
1372
|
-
selection:
|
|
1373
|
-
order:
|
|
1374
|
-
sort:
|
|
1375
|
-
call:
|
|
1376
|
-
nodes:
|
|
1377
|
-
node:
|
|
1378
|
-
size:
|
|
1379
|
-
empty:
|
|
1380
|
-
each:
|
|
1381
|
-
attr:
|
|
1382
|
-
style:
|
|
1383
|
-
property:
|
|
1384
|
-
classed:
|
|
1385
|
-
text:
|
|
1386
|
-
html:
|
|
1387
|
-
raise:
|
|
1388
|
-
lower:
|
|
1389
|
-
append:
|
|
1390
|
-
insert:
|
|
1391
|
-
remove:
|
|
1392
|
-
clone:
|
|
1393
|
-
datum:
|
|
1394
|
-
on:
|
|
1395
|
-
dispatch:
|
|
1396
|
-
[Symbol.iterator]:
|
|
1362
|
+
E.prototype = D.prototype = {
|
|
1363
|
+
constructor: E,
|
|
1364
|
+
select: ze,
|
|
1365
|
+
selectAll: We,
|
|
1366
|
+
selectChild: Xe,
|
|
1367
|
+
selectChildren: et,
|
|
1368
|
+
filter: tt,
|
|
1369
|
+
data: lt,
|
|
1370
|
+
enter: rt,
|
|
1371
|
+
exit: dt,
|
|
1372
|
+
join: ft,
|
|
1373
|
+
merge: pt,
|
|
1374
|
+
selection: Dn,
|
|
1375
|
+
order: mt,
|
|
1376
|
+
sort: ht,
|
|
1377
|
+
call: _t,
|
|
1378
|
+
nodes: vt,
|
|
1379
|
+
node: yt,
|
|
1380
|
+
size: bt,
|
|
1381
|
+
empty: xt,
|
|
1382
|
+
each: St,
|
|
1383
|
+
attr: kt,
|
|
1384
|
+
style: Pt,
|
|
1385
|
+
property: Rt,
|
|
1386
|
+
classed: qt,
|
|
1387
|
+
text: Zt,
|
|
1388
|
+
html: tn,
|
|
1389
|
+
raise: rn,
|
|
1390
|
+
lower: on,
|
|
1391
|
+
append: sn,
|
|
1392
|
+
insert: ln,
|
|
1393
|
+
remove: dn,
|
|
1394
|
+
clone: mn,
|
|
1395
|
+
datum: hn,
|
|
1396
|
+
on: bn,
|
|
1397
|
+
dispatch: wn,
|
|
1398
|
+
[Symbol.iterator]: Tn
|
|
1397
1399
|
};
|
|
1398
1400
|
//#endregion
|
|
1399
1401
|
//#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js
|
|
1400
|
-
function
|
|
1402
|
+
function On(e, t, n) {
|
|
1401
1403
|
e.prototype = t.prototype = n, n.constructor = e;
|
|
1402
1404
|
}
|
|
1403
|
-
function
|
|
1405
|
+
function kn(e, t) {
|
|
1404
1406
|
var n = Object.create(e.prototype);
|
|
1405
1407
|
for (var r in t) n[r] = t[r];
|
|
1406
1408
|
return n;
|
|
1407
1409
|
}
|
|
1408
1410
|
//#endregion
|
|
1409
1411
|
//#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js
|
|
1410
|
-
function
|
|
1411
|
-
var
|
|
1412
|
+
function O() {}
|
|
1413
|
+
var k = .7, An = 1 / k, A = "\\s*([+-]?\\d+)\\s*", j = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", M = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", jn = /^#([0-9a-f]{3,8})$/, Mn = RegExp(`^rgb\\(${A},${A},${A}\\)$`), Nn = RegExp(`^rgb\\(${M},${M},${M}\\)$`), Pn = RegExp(`^rgba\\(${A},${A},${A},${j}\\)$`), Fn = RegExp(`^rgba\\(${M},${M},${M},${j}\\)$`), In = RegExp(`^hsl\\(${j},${M},${M}\\)$`), Ln = RegExp(`^hsla\\(${j},${M},${M},${j}\\)$`), Rn = {
|
|
1412
1414
|
aliceblue: 15792383,
|
|
1413
1415
|
antiquewhite: 16444375,
|
|
1414
1416
|
aqua: 65535,
|
|
@@ -1558,170 +1560,170 @@ var A = .7, kn = 1 / A, j = "\\s*([+-]?\\d+)\\s*", M = "\\s*([+-]?(?:\\d*\\.)?\\
|
|
|
1558
1560
|
yellow: 16776960,
|
|
1559
1561
|
yellowgreen: 10145074
|
|
1560
1562
|
};
|
|
1561
|
-
|
|
1563
|
+
On(O, N, {
|
|
1562
1564
|
copy(e) {
|
|
1563
1565
|
return Object.assign(new this.constructor(), this, e);
|
|
1564
1566
|
},
|
|
1565
1567
|
displayable() {
|
|
1566
1568
|
return this.rgb().displayable();
|
|
1567
1569
|
},
|
|
1568
|
-
hex:
|
|
1569
|
-
formatHex:
|
|
1570
|
-
formatHex8:
|
|
1571
|
-
formatHsl:
|
|
1572
|
-
formatRgb:
|
|
1573
|
-
toString:
|
|
1570
|
+
hex: zn,
|
|
1571
|
+
formatHex: zn,
|
|
1572
|
+
formatHex8: Bn,
|
|
1573
|
+
formatHsl: Vn,
|
|
1574
|
+
formatRgb: Hn,
|
|
1575
|
+
toString: Hn
|
|
1574
1576
|
});
|
|
1575
|
-
function Rn() {
|
|
1576
|
-
return this.rgb().formatHex();
|
|
1577
|
-
}
|
|
1578
1577
|
function zn() {
|
|
1579
|
-
return this.rgb().
|
|
1578
|
+
return this.rgb().formatHex();
|
|
1580
1579
|
}
|
|
1581
1580
|
function Bn() {
|
|
1582
|
-
return
|
|
1581
|
+
return this.rgb().formatHex8();
|
|
1583
1582
|
}
|
|
1584
1583
|
function Vn() {
|
|
1584
|
+
return Qn(this).formatHsl();
|
|
1585
|
+
}
|
|
1586
|
+
function Hn() {
|
|
1585
1587
|
return this.rgb().formatRgb();
|
|
1586
1588
|
}
|
|
1587
|
-
function
|
|
1589
|
+
function N(e) {
|
|
1588
1590
|
var t, n;
|
|
1589
|
-
return e = (e + "").trim().toLowerCase(), (t =
|
|
1591
|
+
return e = (e + "").trim().toLowerCase(), (t = jn.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Un(t) : n === 3 ? new P(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Wn(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Wn(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Mn.exec(e)) ? new P(t[1], t[2], t[3], 1) : (t = Nn.exec(e)) ? new P(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Pn.exec(e)) ? Wn(t[1], t[2], t[3], t[4]) : (t = Fn.exec(e)) ? Wn(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = In.exec(e)) ? Zn(t[1], t[2] / 100, t[3] / 100, 1) : (t = Ln.exec(e)) ? Zn(t[1], t[2] / 100, t[3] / 100, t[4]) : Rn.hasOwnProperty(e) ? Un(Rn[e]) : e === "transparent" ? new P(NaN, NaN, NaN, 0) : null;
|
|
1590
1592
|
}
|
|
1591
|
-
function
|
|
1592
|
-
return new
|
|
1593
|
+
function Un(e) {
|
|
1594
|
+
return new P(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
1593
1595
|
}
|
|
1594
|
-
function
|
|
1595
|
-
return r <= 0 && (e = t = n = NaN), new
|
|
1596
|
+
function Wn(e, t, n, r) {
|
|
1597
|
+
return r <= 0 && (e = t = n = NaN), new P(e, t, n, r);
|
|
1596
1598
|
}
|
|
1597
|
-
function
|
|
1598
|
-
return e instanceof
|
|
1599
|
+
function Gn(e) {
|
|
1600
|
+
return e instanceof O || (e = N(e)), e ? (e = e.rgb(), new P(e.r, e.g, e.b, e.opacity)) : new P();
|
|
1599
1601
|
}
|
|
1600
|
-
function
|
|
1601
|
-
return arguments.length === 1 ?
|
|
1602
|
+
function Kn(e, t, n, r) {
|
|
1603
|
+
return arguments.length === 1 ? Gn(e) : new P(e, t, n, r ?? 1);
|
|
1602
1604
|
}
|
|
1603
|
-
function
|
|
1605
|
+
function P(e, t, n, r) {
|
|
1604
1606
|
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
1605
1607
|
}
|
|
1606
|
-
|
|
1608
|
+
On(P, Kn, kn(O, {
|
|
1607
1609
|
brighter(e) {
|
|
1608
|
-
return e = e == null ?
|
|
1610
|
+
return e = e == null ? An : An ** +e, new P(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
1609
1611
|
},
|
|
1610
1612
|
darker(e) {
|
|
1611
|
-
return e = e == null ?
|
|
1613
|
+
return e = e == null ? k : k ** +e, new P(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
1612
1614
|
},
|
|
1613
1615
|
rgb() {
|
|
1614
1616
|
return this;
|
|
1615
1617
|
},
|
|
1616
1618
|
clamp() {
|
|
1617
|
-
return new F(
|
|
1619
|
+
return new P(F(this.r), F(this.g), F(this.b), Xn(this.opacity));
|
|
1618
1620
|
},
|
|
1619
1621
|
displayable() {
|
|
1620
1622
|
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
1621
1623
|
},
|
|
1622
|
-
hex:
|
|
1623
|
-
formatHex:
|
|
1624
|
-
formatHex8:
|
|
1625
|
-
formatRgb:
|
|
1626
|
-
toString:
|
|
1624
|
+
hex: qn,
|
|
1625
|
+
formatHex: qn,
|
|
1626
|
+
formatHex8: Jn,
|
|
1627
|
+
formatRgb: Yn,
|
|
1628
|
+
toString: Yn
|
|
1627
1629
|
}));
|
|
1628
|
-
function Kn() {
|
|
1629
|
-
return `#${L(this.r)}${L(this.g)}${L(this.b)}`;
|
|
1630
|
-
}
|
|
1631
1630
|
function qn() {
|
|
1632
|
-
return `#${
|
|
1631
|
+
return `#${I(this.r)}${I(this.g)}${I(this.b)}`;
|
|
1633
1632
|
}
|
|
1634
1633
|
function Jn() {
|
|
1635
|
-
|
|
1636
|
-
|
|
1634
|
+
return `#${I(this.r)}${I(this.g)}${I(this.b)}${I((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
1635
|
+
}
|
|
1636
|
+
function Yn() {
|
|
1637
|
+
let e = Xn(this.opacity);
|
|
1638
|
+
return `${e === 1 ? "rgb(" : "rgba("}${F(this.r)}, ${F(this.g)}, ${F(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
1637
1639
|
}
|
|
1638
|
-
function
|
|
1640
|
+
function Xn(e) {
|
|
1639
1641
|
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
|
|
1640
1642
|
}
|
|
1641
|
-
function
|
|
1643
|
+
function F(e) {
|
|
1642
1644
|
return Math.max(0, Math.min(255, Math.round(e) || 0));
|
|
1643
1645
|
}
|
|
1644
|
-
function
|
|
1645
|
-
return e =
|
|
1646
|
+
function I(e) {
|
|
1647
|
+
return e = F(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
1646
1648
|
}
|
|
1647
|
-
function
|
|
1648
|
-
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new
|
|
1649
|
+
function Zn(e, t, n, r) {
|
|
1650
|
+
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new L(e, t, n, r);
|
|
1649
1651
|
}
|
|
1650
|
-
function
|
|
1651
|
-
if (e instanceof
|
|
1652
|
-
if (e instanceof
|
|
1653
|
-
if (e instanceof
|
|
1652
|
+
function Qn(e) {
|
|
1653
|
+
if (e instanceof L) return new L(e.h, e.s, e.l, e.opacity);
|
|
1654
|
+
if (e instanceof O || (e = N(e)), !e) return new L();
|
|
1655
|
+
if (e instanceof L) return e;
|
|
1654
1656
|
e = e.rgb();
|
|
1655
1657
|
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
|
|
1656
|
-
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new
|
|
1658
|
+
return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new L(o, s, c, e.opacity);
|
|
1657
1659
|
}
|
|
1658
|
-
function
|
|
1659
|
-
return arguments.length === 1 ?
|
|
1660
|
+
function $n(e, t, n, r) {
|
|
1661
|
+
return arguments.length === 1 ? Qn(e) : new L(e, t, n, r ?? 1);
|
|
1660
1662
|
}
|
|
1661
|
-
function
|
|
1663
|
+
function L(e, t, n, r) {
|
|
1662
1664
|
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
1663
1665
|
}
|
|
1664
|
-
|
|
1666
|
+
On(L, $n, kn(O, {
|
|
1665
1667
|
brighter(e) {
|
|
1666
|
-
return e = e == null ?
|
|
1668
|
+
return e = e == null ? An : An ** +e, new L(this.h, this.s, this.l * e, this.opacity);
|
|
1667
1669
|
},
|
|
1668
1670
|
darker(e) {
|
|
1669
|
-
return e = e == null ?
|
|
1671
|
+
return e = e == null ? k : k ** +e, new L(this.h, this.s, this.l * e, this.opacity);
|
|
1670
1672
|
},
|
|
1671
1673
|
rgb() {
|
|
1672
1674
|
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
|
|
1673
|
-
return new
|
|
1675
|
+
return new P(tr(e >= 240 ? e - 240 : e + 120, i, r), tr(e, i, r), tr(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
|
|
1674
1676
|
},
|
|
1675
1677
|
clamp() {
|
|
1676
|
-
return new
|
|
1678
|
+
return new L(er(this.h), R(this.s), R(this.l), Xn(this.opacity));
|
|
1677
1679
|
},
|
|
1678
1680
|
displayable() {
|
|
1679
1681
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
1680
1682
|
},
|
|
1681
1683
|
formatHsl() {
|
|
1682
|
-
let e =
|
|
1683
|
-
return `${e === 1 ? "hsl(" : "hsla("}${
|
|
1684
|
+
let e = Xn(this.opacity);
|
|
1685
|
+
return `${e === 1 ? "hsl(" : "hsla("}${er(this.h)}, ${R(this.s) * 100}%, ${R(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
|
|
1684
1686
|
}
|
|
1685
1687
|
}));
|
|
1686
|
-
function
|
|
1688
|
+
function er(e) {
|
|
1687
1689
|
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
|
|
1688
1690
|
}
|
|
1689
|
-
function
|
|
1691
|
+
function R(e) {
|
|
1690
1692
|
return Math.max(0, Math.min(1, e || 0));
|
|
1691
1693
|
}
|
|
1692
|
-
function
|
|
1694
|
+
function tr(e, t, n) {
|
|
1693
1695
|
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
|
|
1694
1696
|
}
|
|
1695
1697
|
//#endregion
|
|
1696
1698
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js
|
|
1697
|
-
var
|
|
1699
|
+
var nr = (e) => () => e;
|
|
1698
1700
|
//#endregion
|
|
1699
1701
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js
|
|
1700
|
-
function
|
|
1702
|
+
function rr(e, t) {
|
|
1701
1703
|
return function(n) {
|
|
1702
1704
|
return e + n * t;
|
|
1703
1705
|
};
|
|
1704
1706
|
}
|
|
1705
|
-
function
|
|
1707
|
+
function ir(e, t, n) {
|
|
1706
1708
|
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
|
|
1707
1709
|
return (e + r * t) ** +n;
|
|
1708
1710
|
};
|
|
1709
1711
|
}
|
|
1710
|
-
function
|
|
1711
|
-
return (e = +e) == 1 ?
|
|
1712
|
-
return n - t ?
|
|
1712
|
+
function ar(e) {
|
|
1713
|
+
return (e = +e) == 1 ? or : function(t, n) {
|
|
1714
|
+
return n - t ? ir(t, n, e) : nr(isNaN(t) ? n : t);
|
|
1713
1715
|
};
|
|
1714
1716
|
}
|
|
1715
|
-
function
|
|
1717
|
+
function or(e, t) {
|
|
1716
1718
|
var n = t - e;
|
|
1717
|
-
return n ?
|
|
1719
|
+
return n ? rr(e, n) : nr(isNaN(e) ? t : e);
|
|
1718
1720
|
}
|
|
1719
1721
|
//#endregion
|
|
1720
1722
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js
|
|
1721
|
-
var
|
|
1722
|
-
var n =
|
|
1723
|
+
var z = (function e(t) {
|
|
1724
|
+
var n = ar(t);
|
|
1723
1725
|
function r(e, t) {
|
|
1724
|
-
var r = n((e =
|
|
1726
|
+
var r = n((e = Kn(e)).r, (t = Kn(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = or(e.opacity, t.opacity);
|
|
1725
1727
|
return function(t) {
|
|
1726
1728
|
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
|
|
1727
1729
|
};
|
|
@@ -1730,7 +1732,7 @@ var B = (function e(t) {
|
|
|
1730
1732
|
})(1);
|
|
1731
1733
|
//#endregion
|
|
1732
1734
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.js
|
|
1733
|
-
function
|
|
1735
|
+
function sr(e, t) {
|
|
1734
1736
|
t ||= [];
|
|
1735
1737
|
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
|
|
1736
1738
|
return function(a) {
|
|
@@ -1738,14 +1740,14 @@ function or(e, t) {
|
|
|
1738
1740
|
return r;
|
|
1739
1741
|
};
|
|
1740
1742
|
}
|
|
1741
|
-
function
|
|
1743
|
+
function cr(e) {
|
|
1742
1744
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
1743
1745
|
}
|
|
1744
1746
|
//#endregion
|
|
1745
1747
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js
|
|
1746
|
-
function
|
|
1748
|
+
function lr(e, t) {
|
|
1747
1749
|
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
|
|
1748
|
-
for (o = 0; o < r; ++o) i[o] =
|
|
1750
|
+
for (o = 0; o < r; ++o) i[o] = _r(e[o], t[o]);
|
|
1749
1751
|
for (; o < n; ++o) a[o] = t[o];
|
|
1750
1752
|
return function(e) {
|
|
1751
1753
|
for (o = 0; o < r; ++o) a[o] = i[o](e);
|
|
@@ -1754,7 +1756,7 @@ function cr(e, t) {
|
|
|
1754
1756
|
}
|
|
1755
1757
|
//#endregion
|
|
1756
1758
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.js
|
|
1757
|
-
function
|
|
1759
|
+
function ur(e, t) {
|
|
1758
1760
|
var n = /* @__PURE__ */ new Date();
|
|
1759
1761
|
return e = +e, t = +t, function(r) {
|
|
1760
1762
|
return n.setTime(e * (1 - r) + t * r), n;
|
|
@@ -1762,16 +1764,16 @@ function lr(e, t) {
|
|
|
1762
1764
|
}
|
|
1763
1765
|
//#endregion
|
|
1764
1766
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js
|
|
1765
|
-
function
|
|
1767
|
+
function B(e, t) {
|
|
1766
1768
|
return e = +e, t = +t, function(n) {
|
|
1767
1769
|
return e * (1 - n) + t * n;
|
|
1768
1770
|
};
|
|
1769
1771
|
}
|
|
1770
1772
|
//#endregion
|
|
1771
1773
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js
|
|
1772
|
-
function
|
|
1774
|
+
function dr(e, t) {
|
|
1773
1775
|
var n = {}, r = {}, i;
|
|
1774
|
-
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] =
|
|
1776
|
+
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = _r(e[i], t[i]) : r[i] = t[i];
|
|
1775
1777
|
return function(e) {
|
|
1776
1778
|
for (i in n) r[i] = n[i](e);
|
|
1777
1779
|
return r;
|
|
@@ -1779,44 +1781,44 @@ function ur(e, t) {
|
|
|
1779
1781
|
}
|
|
1780
1782
|
//#endregion
|
|
1781
1783
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js
|
|
1782
|
-
var
|
|
1783
|
-
function
|
|
1784
|
+
var fr = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, pr = new RegExp(fr.source, "g");
|
|
1785
|
+
function mr(e) {
|
|
1784
1786
|
return function() {
|
|
1785
1787
|
return e;
|
|
1786
1788
|
};
|
|
1787
1789
|
}
|
|
1788
|
-
function
|
|
1790
|
+
function hr(e) {
|
|
1789
1791
|
return function(t) {
|
|
1790
1792
|
return e(t) + "";
|
|
1791
1793
|
};
|
|
1792
1794
|
}
|
|
1793
|
-
function
|
|
1794
|
-
var n =
|
|
1795
|
-
for (e += "", t += ""; (r =
|
|
1795
|
+
function gr(e, t) {
|
|
1796
|
+
var n = fr.lastIndex = pr.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
|
|
1797
|
+
for (e += "", t += ""; (r = fr.exec(e)) && (i = pr.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
|
|
1796
1798
|
i: o,
|
|
1797
|
-
x:
|
|
1798
|
-
})), n =
|
|
1799
|
-
return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ?
|
|
1799
|
+
x: B(r, i)
|
|
1800
|
+
})), n = pr.lastIndex;
|
|
1801
|
+
return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? hr(c[0].x) : mr(t) : (t = c.length, function(e) {
|
|
1800
1802
|
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
|
|
1801
1803
|
return s.join("");
|
|
1802
1804
|
});
|
|
1803
1805
|
}
|
|
1804
1806
|
//#endregion
|
|
1805
1807
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js
|
|
1806
|
-
function
|
|
1808
|
+
function _r(e, t) {
|
|
1807
1809
|
var n = typeof t, r;
|
|
1808
|
-
return t == null || n === "boolean" ?
|
|
1810
|
+
return t == null || n === "boolean" ? nr(t) : (n === "number" ? B : n === "string" ? (r = N(t)) ? (t = r, z) : gr : t instanceof N ? z : t instanceof Date ? ur : cr(t) ? sr : Array.isArray(t) ? lr : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? dr : B)(e, t);
|
|
1809
1811
|
}
|
|
1810
1812
|
//#endregion
|
|
1811
1813
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js
|
|
1812
|
-
function
|
|
1814
|
+
function vr(e, t) {
|
|
1813
1815
|
return e = +e, t = +t, function(n) {
|
|
1814
1816
|
return Math.round(e * (1 - n) + t * n);
|
|
1815
1817
|
};
|
|
1816
1818
|
}
|
|
1817
1819
|
//#endregion
|
|
1818
1820
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.js
|
|
1819
|
-
var
|
|
1821
|
+
var yr = 180 / Math.PI, br = {
|
|
1820
1822
|
translateX: 0,
|
|
1821
1823
|
translateY: 0,
|
|
1822
1824
|
rotate: 0,
|
|
@@ -1824,30 +1826,30 @@ var vr = 180 / Math.PI, yr = {
|
|
|
1824
1826
|
scaleX: 1,
|
|
1825
1827
|
scaleY: 1
|
|
1826
1828
|
};
|
|
1827
|
-
function
|
|
1829
|
+
function xr(e, t, n, r, i, a) {
|
|
1828
1830
|
var o, s, c;
|
|
1829
1831
|
return (o = Math.sqrt(e * e + t * t)) && (e /= o, t /= o), (c = e * n + t * r) && (n -= e * c, r -= t * c), (s = Math.sqrt(n * n + r * r)) && (n /= s, r /= s, c /= s), e * r < t * n && (e = -e, t = -t, c = -c, o = -o), {
|
|
1830
1832
|
translateX: i,
|
|
1831
1833
|
translateY: a,
|
|
1832
|
-
rotate: Math.atan2(t, e) *
|
|
1833
|
-
skewX: Math.atan(c) *
|
|
1834
|
+
rotate: Math.atan2(t, e) * yr,
|
|
1835
|
+
skewX: Math.atan(c) * yr,
|
|
1834
1836
|
scaleX: o,
|
|
1835
1837
|
scaleY: s
|
|
1836
1838
|
};
|
|
1837
1839
|
}
|
|
1838
1840
|
//#endregion
|
|
1839
1841
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.js
|
|
1840
|
-
var
|
|
1841
|
-
function
|
|
1842
|
+
var Sr;
|
|
1843
|
+
function Cr(e) {
|
|
1842
1844
|
let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
|
|
1843
|
-
return t.isIdentity ?
|
|
1845
|
+
return t.isIdentity ? br : xr(t.a, t.b, t.c, t.d, t.e, t.f);
|
|
1844
1846
|
}
|
|
1845
|
-
function
|
|
1846
|
-
return e == null || (
|
|
1847
|
+
function wr(e) {
|
|
1848
|
+
return e == null || (Sr ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), Sr.setAttribute("transform", e), !(e = Sr.transform.baseVal.consolidate())) ? br : (e = e.matrix, xr(e.a, e.b, e.c, e.d, e.e, e.f));
|
|
1847
1849
|
}
|
|
1848
1850
|
//#endregion
|
|
1849
1851
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.js
|
|
1850
|
-
function
|
|
1852
|
+
function Tr(e, t, n, r) {
|
|
1851
1853
|
function i(e) {
|
|
1852
1854
|
return e.length ? e.pop() + " " : "";
|
|
1853
1855
|
}
|
|
@@ -1856,23 +1858,23 @@ function wr(e, t, n, r) {
|
|
|
1856
1858
|
var c = o.push("translate(", null, t, null, n);
|
|
1857
1859
|
s.push({
|
|
1858
1860
|
i: c - 4,
|
|
1859
|
-
x:
|
|
1861
|
+
x: B(e, i)
|
|
1860
1862
|
}, {
|
|
1861
1863
|
i: c - 2,
|
|
1862
|
-
x:
|
|
1864
|
+
x: B(r, a)
|
|
1863
1865
|
});
|
|
1864
1866
|
} else (i || a) && o.push("translate(" + i + t + a + n);
|
|
1865
1867
|
}
|
|
1866
1868
|
function o(e, t, n, a) {
|
|
1867
1869
|
e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
|
|
1868
1870
|
i: n.push(i(n) + "rotate(", null, r) - 2,
|
|
1869
|
-
x:
|
|
1871
|
+
x: B(e, t)
|
|
1870
1872
|
}));
|
|
1871
1873
|
}
|
|
1872
1874
|
function s(e, t, n, a) {
|
|
1873
1875
|
e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
|
|
1874
1876
|
i: n.push(i(n) + "skewX(", null, r) - 2,
|
|
1875
|
-
x:
|
|
1877
|
+
x: B(e, t)
|
|
1876
1878
|
});
|
|
1877
1879
|
}
|
|
1878
1880
|
function c(e, t, n, r, a, o) {
|
|
@@ -1880,10 +1882,10 @@ function wr(e, t, n, r) {
|
|
|
1880
1882
|
var s = a.push(i(a) + "scale(", null, ",", null, ")");
|
|
1881
1883
|
o.push({
|
|
1882
1884
|
i: s - 4,
|
|
1883
|
-
x:
|
|
1885
|
+
x: B(e, n)
|
|
1884
1886
|
}, {
|
|
1885
1887
|
i: s - 2,
|
|
1886
|
-
x:
|
|
1888
|
+
x: B(t, r)
|
|
1887
1889
|
});
|
|
1888
1890
|
} else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
|
|
1889
1891
|
}
|
|
@@ -1895,16 +1897,16 @@ function wr(e, t, n, r) {
|
|
|
1895
1897
|
};
|
|
1896
1898
|
};
|
|
1897
1899
|
}
|
|
1898
|
-
var
|
|
1900
|
+
var Er = Tr(Cr, "px, ", "px)", "deg)"), Dr = Tr(wr, ", ", ")", ")");
|
|
1899
1901
|
//#endregion
|
|
1900
1902
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/quantize.js
|
|
1901
|
-
function
|
|
1903
|
+
function Or(e, t) {
|
|
1902
1904
|
for (var n = Array(t), r = 0; r < t; ++r) n[r] = e(r / (t - 1));
|
|
1903
1905
|
return n;
|
|
1904
1906
|
}
|
|
1905
1907
|
//#endregion
|
|
1906
1908
|
//#region ../../node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.js
|
|
1907
|
-
var
|
|
1909
|
+
var V = 0, kr = 0, Ar = 0, jr = 1e3, H, U, Mr = 0, W = 0, Nr = 0, G = typeof performance == "object" && performance.now ? performance : Date, Pr = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
|
|
1908
1910
|
setTimeout(e, 17);
|
|
1909
1911
|
};
|
|
1910
1912
|
function Fr() {
|
|
@@ -1920,7 +1922,7 @@ Lr.prototype = Rr.prototype = {
|
|
|
1920
1922
|
constructor: Lr,
|
|
1921
1923
|
restart: function(e, t, n) {
|
|
1922
1924
|
if (typeof e != "function") throw TypeError("callback is not a function");
|
|
1923
|
-
n = (n == null ? Fr() : +n) + (t == null ? 0 : +t), !this._next && U !== this && (U ? U._next = this :
|
|
1925
|
+
n = (n == null ? Fr() : +n) + (t == null ? 0 : +t), !this._next && U !== this && (U ? U._next = this : H = this, U = this), this._call = e, this._time = n, Ur();
|
|
1924
1926
|
},
|
|
1925
1927
|
stop: function() {
|
|
1926
1928
|
this._call && (this._call = null, this._time = Infinity, Ur());
|
|
@@ -1931,28 +1933,28 @@ function Rr(e, t, n) {
|
|
|
1931
1933
|
return r.restart(e, t, n), r;
|
|
1932
1934
|
}
|
|
1933
1935
|
function zr() {
|
|
1934
|
-
Fr(), ++
|
|
1935
|
-
for (var e =
|
|
1936
|
-
--
|
|
1936
|
+
Fr(), ++V;
|
|
1937
|
+
for (var e = H, t; e;) (t = W - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
1938
|
+
--V;
|
|
1937
1939
|
}
|
|
1938
1940
|
function Br() {
|
|
1939
|
-
W = (Mr = G.now()) + Nr,
|
|
1941
|
+
W = (Mr = G.now()) + Nr, V = kr = 0;
|
|
1940
1942
|
try {
|
|
1941
1943
|
zr();
|
|
1942
1944
|
} finally {
|
|
1943
|
-
|
|
1945
|
+
V = 0, Hr(), W = 0;
|
|
1944
1946
|
}
|
|
1945
1947
|
}
|
|
1946
1948
|
function Vr() {
|
|
1947
1949
|
var e = G.now(), t = e - Mr;
|
|
1948
|
-
t >
|
|
1950
|
+
t > jr && (Nr -= t, Mr = e);
|
|
1949
1951
|
}
|
|
1950
1952
|
function Hr() {
|
|
1951
|
-
for (var e, t =
|
|
1953
|
+
for (var e, t = H, n, r = Infinity; t;) t._call ? (r > t._time && (r = t._time), e = t, t = t._next) : (n = t._next, t._next = null, t = e ? e._next = n : H = n);
|
|
1952
1954
|
U = e, Ur(r);
|
|
1953
1955
|
}
|
|
1954
1956
|
function Ur(e) {
|
|
1955
|
-
|
|
1957
|
+
V || (kr &&= clearTimeout(kr), e - W > 24 ? (e < Infinity && (kr = setTimeout(Br, e - G.now() - Nr)), Ar &&= clearInterval(Ar)) : (Ar ||= (Mr = G.now(), setInterval(Vr, jr)), V = 1, Pr(Br)));
|
|
1956
1958
|
}
|
|
1957
1959
|
//#endregion
|
|
1958
1960
|
//#region ../../node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.js
|
|
@@ -1964,7 +1966,7 @@ function Wr(e, t, n) {
|
|
|
1964
1966
|
}
|
|
1965
1967
|
//#endregion
|
|
1966
1968
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.js
|
|
1967
|
-
var Gr =
|
|
1969
|
+
var Gr = Oe("start", "end", "cancel", "interrupt"), Kr = [];
|
|
1968
1970
|
function qr(e, t, n, r, i, a) {
|
|
1969
1971
|
var o = e.__transition;
|
|
1970
1972
|
if (!o) e.__transition = {};
|
|
@@ -2105,7 +2107,7 @@ function ti(e, t, n) {
|
|
|
2105
2107
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.js
|
|
2106
2108
|
function ni(e, t) {
|
|
2107
2109
|
var n;
|
|
2108
|
-
return (typeof t == "number" ?
|
|
2110
|
+
return (typeof t == "number" ? B : t instanceof N ? z : (n = N(t)) ? (t = n, z) : gr)(e, t);
|
|
2109
2111
|
}
|
|
2110
2112
|
//#endregion
|
|
2111
2113
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.js
|
|
@@ -2148,7 +2150,7 @@ function ci(e, t, n) {
|
|
|
2148
2150
|
};
|
|
2149
2151
|
}
|
|
2150
2152
|
function li(e, t) {
|
|
2151
|
-
var n =
|
|
2153
|
+
var n = w(e), r = n === "transform" ? Dr : ni;
|
|
2152
2154
|
return this.attrTween(e, typeof t == "function" ? (n.local ? ci : si)(n, r, ti(this, "attr." + e, t)) : t == null ? (n.local ? ii : ri)(n) : (n.local ? oi : ai)(n, r, t));
|
|
2153
2155
|
}
|
|
2154
2156
|
//#endregion
|
|
@@ -2184,7 +2186,7 @@ function mi(e, t) {
|
|
|
2184
2186
|
if (arguments.length < 2) return (n = this.tween(n)) && n._value;
|
|
2185
2187
|
if (t == null) return this.tween(n, null);
|
|
2186
2188
|
if (typeof t != "function") throw Error();
|
|
2187
|
-
var r =
|
|
2189
|
+
var r = w(e);
|
|
2188
2190
|
return this.tween(n, (r.local ? fi : pi)(r, t));
|
|
2189
2191
|
}
|
|
2190
2192
|
//#endregion
|
|
@@ -2247,7 +2249,7 @@ function wi(e) {
|
|
|
2247
2249
|
//#endregion
|
|
2248
2250
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.js
|
|
2249
2251
|
function Ti(e) {
|
|
2250
|
-
typeof e != "function" && (e =
|
|
2252
|
+
typeof e != "function" && (e = Ge(e));
|
|
2251
2253
|
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);
|
|
2252
2254
|
return new J(r, this._parents, this._name, this._id);
|
|
2253
2255
|
}
|
|
@@ -2294,7 +2296,7 @@ function ji() {
|
|
|
2294
2296
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.js
|
|
2295
2297
|
function Mi(e) {
|
|
2296
2298
|
var t = this._name, n = this._id;
|
|
2297
|
-
typeof e != "function" && (e =
|
|
2299
|
+
typeof e != "function" && (e = Re(e));
|
|
2298
2300
|
for (var r = this._groups, i = r.length, a = Array(i), o = 0; o < i; ++o) for (var s = r[o], c = s.length, l = a[o] = Array(c), u, d, f = 0; f < c; ++f) (u = s[f]) && (d = e.call(u, u.__data__, f, s)) && ("__data__" in u && (d.__data__ = u.__data__), l[f] = d, qr(l[f], t, n, f, l, q(u, n)));
|
|
2299
2301
|
return new J(a, this._parents, t, n);
|
|
2300
2302
|
}
|
|
@@ -2302,7 +2304,7 @@ function Mi(e) {
|
|
|
2302
2304
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.js
|
|
2303
2305
|
function Ni(e) {
|
|
2304
2306
|
var t = this._name, n = this._id;
|
|
2305
|
-
typeof e != "function" && (e =
|
|
2307
|
+
typeof e != "function" && (e = He(e));
|
|
2306
2308
|
for (var r = this._groups, i = r.length, a = [], o = [], s = 0; s < i; ++s) for (var c = r[s], l = c.length, u, d = 0; d < l; ++d) if (u = c[d]) {
|
|
2307
2309
|
for (var f = e.call(u, u.__data__, d, c), p, m = q(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && qr(p, t, n, h, f, m);
|
|
2308
2310
|
a.push(f), o.push(u);
|
|
@@ -2311,7 +2313,7 @@ function Ni(e) {
|
|
|
2311
2313
|
}
|
|
2312
2314
|
//#endregion
|
|
2313
2315
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.js
|
|
2314
|
-
var Pi =
|
|
2316
|
+
var Pi = D.prototype.constructor;
|
|
2315
2317
|
function Fi() {
|
|
2316
2318
|
return new Pi(this._groups, this._parents);
|
|
2317
2319
|
}
|
|
@@ -2320,7 +2322,7 @@ function Fi() {
|
|
|
2320
2322
|
function Ii(e, t) {
|
|
2321
2323
|
var n, r, i;
|
|
2322
2324
|
return function() {
|
|
2323
|
-
var a =
|
|
2325
|
+
var a = T(this, e), o = (this.style.removeProperty(e), T(this, e));
|
|
2324
2326
|
return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
|
|
2325
2327
|
};
|
|
2326
2328
|
}
|
|
@@ -2332,15 +2334,15 @@ function Li(e) {
|
|
|
2332
2334
|
function Ri(e, t, n) {
|
|
2333
2335
|
var r, i = n + "", a;
|
|
2334
2336
|
return function() {
|
|
2335
|
-
var o =
|
|
2337
|
+
var o = T(this, e);
|
|
2336
2338
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
2337
2339
|
};
|
|
2338
2340
|
}
|
|
2339
2341
|
function zi(e, t, n) {
|
|
2340
2342
|
var r, i, a;
|
|
2341
2343
|
return function() {
|
|
2342
|
-
var o =
|
|
2343
|
-
return s ?? (c = s = (this.style.removeProperty(e),
|
|
2344
|
+
var o = T(this, e), s = n(this), c = s + "";
|
|
2345
|
+
return s ?? (c = s = (this.style.removeProperty(e), T(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
|
|
2344
2346
|
};
|
|
2345
2347
|
}
|
|
2346
2348
|
function Bi(e, t) {
|
|
@@ -2351,7 +2353,7 @@ function Bi(e, t) {
|
|
|
2351
2353
|
};
|
|
2352
2354
|
}
|
|
2353
2355
|
function Vi(e, t, n) {
|
|
2354
|
-
var r = (e += "") == "transform" ?
|
|
2356
|
+
var r = (e += "") == "transform" ? Er : ni;
|
|
2355
2357
|
return t == null ? this.styleTween(e, Ii(e, r)).on("end.style." + e, Li(e)) : typeof t == "function" ? this.styleTween(e, zi(e, r, ti(this, "style." + e, t))).each(Bi(this._id, e)) : this.styleTween(e, Ri(e, r, t), n).on("end.style." + e, null);
|
|
2356
2358
|
}
|
|
2357
2359
|
//#endregion
|
|
@@ -2385,7 +2387,8 @@ function Gi(e) {
|
|
|
2385
2387
|
}
|
|
2386
2388
|
function Ki(e) {
|
|
2387
2389
|
return function() {
|
|
2388
|
-
|
|
2390
|
+
var t = e(this);
|
|
2391
|
+
this.textContent = t ?? "";
|
|
2389
2392
|
};
|
|
2390
2393
|
}
|
|
2391
2394
|
function qi(e) {
|
|
@@ -2448,12 +2451,12 @@ function J(e, t, n, r) {
|
|
|
2448
2451
|
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
2449
2452
|
}
|
|
2450
2453
|
function ea(e) {
|
|
2451
|
-
return
|
|
2454
|
+
return D().transition(e);
|
|
2452
2455
|
}
|
|
2453
2456
|
function ta() {
|
|
2454
2457
|
return ++$i;
|
|
2455
2458
|
}
|
|
2456
|
-
var Y =
|
|
2459
|
+
var Y = D.prototype;
|
|
2457
2460
|
J.prototype = ea.prototype = {
|
|
2458
2461
|
constructor: J,
|
|
2459
2462
|
select: Mi,
|
|
@@ -2509,7 +2512,7 @@ function aa(e) {
|
|
|
2509
2512
|
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]) && qr(c, e, t, l, o, n || ia(c, t));
|
|
2510
2513
|
return new J(r, this._parents, e, t);
|
|
2511
2514
|
}
|
|
2512
|
-
|
|
2515
|
+
D.prototype.interrupt = Zr, D.prototype.transition = aa;
|
|
2513
2516
|
//#endregion
|
|
2514
2517
|
//#region ../../node_modules/.pnpm/d3-brush@3.0.0/node_modules/d3-brush/src/brush.js
|
|
2515
2518
|
var { abs: oa, max: sa, min: ca } = Math;
|
|
@@ -2527,22 +2530,22 @@ function la(e) {
|
|
|
2527
2530
|
return { type: e };
|
|
2528
2531
|
}
|
|
2529
2532
|
//#endregion
|
|
2530
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2533
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatDecimal.js
|
|
2531
2534
|
function ua(e) {
|
|
2532
2535
|
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
2533
2536
|
}
|
|
2534
2537
|
function da(e, t) {
|
|
2535
|
-
if ((
|
|
2536
|
-
var n, r = e.slice(0, n);
|
|
2538
|
+
if (!isFinite(e) || e === 0) return null;
|
|
2539
|
+
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
|
|
2537
2540
|
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
|
|
2538
2541
|
}
|
|
2539
2542
|
//#endregion
|
|
2540
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2543
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/exponent.js
|
|
2541
2544
|
function X(e) {
|
|
2542
2545
|
return e = da(Math.abs(e)), e ? e[1] : NaN;
|
|
2543
2546
|
}
|
|
2544
2547
|
//#endregion
|
|
2545
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2548
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatGroup.js
|
|
2546
2549
|
function fa(e, t) {
|
|
2547
2550
|
return function(n, r) {
|
|
2548
2551
|
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
|
|
@@ -2550,7 +2553,7 @@ function fa(e, t) {
|
|
|
2550
2553
|
};
|
|
2551
2554
|
}
|
|
2552
2555
|
//#endregion
|
|
2553
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2556
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatNumerals.js
|
|
2554
2557
|
function pa(e) {
|
|
2555
2558
|
return function(t) {
|
|
2556
2559
|
return t.replace(/[0-9]/g, function(t) {
|
|
@@ -2559,7 +2562,7 @@ function pa(e) {
|
|
|
2559
2562
|
};
|
|
2560
2563
|
}
|
|
2561
2564
|
//#endregion
|
|
2562
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2565
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatSpecifier.js
|
|
2563
2566
|
var ma = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
2564
2567
|
function ha(e) {
|
|
2565
2568
|
if (!(t = ma.exec(e))) throw Error("invalid format: " + e);
|
|
@@ -2585,7 +2588,7 @@ ga.prototype.toString = function() {
|
|
|
2585
2588
|
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
|
|
2586
2589
|
};
|
|
2587
2590
|
//#endregion
|
|
2588
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2591
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatTrim.js
|
|
2589
2592
|
function _a(e) {
|
|
2590
2593
|
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
|
|
2591
2594
|
case ".":
|
|
@@ -2602,16 +2605,16 @@ function _a(e) {
|
|
|
2602
2605
|
return r > 0 ? e.slice(0, r) + e.slice(i + 1) : e;
|
|
2603
2606
|
}
|
|
2604
2607
|
//#endregion
|
|
2605
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2608
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatPrefixAuto.js
|
|
2606
2609
|
var va;
|
|
2607
2610
|
function ya(e, t) {
|
|
2608
2611
|
var n = da(e, t);
|
|
2609
|
-
if (!n) return
|
|
2612
|
+
if (!n) return va = void 0, e.toPrecision(t);
|
|
2610
2613
|
var r = n[0], i = n[1], a = i - (va = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
|
|
2611
2614
|
return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + da(e, Math.max(0, t + a - 1))[0];
|
|
2612
2615
|
}
|
|
2613
2616
|
//#endregion
|
|
2614
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2617
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatRounded.js
|
|
2615
2618
|
function ba(e, t) {
|
|
2616
2619
|
var n = da(e, t);
|
|
2617
2620
|
if (!n) return e + "";
|
|
@@ -2619,7 +2622,7 @@ function ba(e, t) {
|
|
|
2619
2622
|
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
|
|
2620
2623
|
}
|
|
2621
2624
|
//#endregion
|
|
2622
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2625
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/formatTypes.js
|
|
2623
2626
|
var xa = {
|
|
2624
2627
|
"%": (e, t) => (e * 100).toFixed(t),
|
|
2625
2628
|
b: (e) => Math.round(e).toString(2),
|
|
@@ -2636,12 +2639,12 @@ var xa = {
|
|
|
2636
2639
|
x: (e) => Math.round(e).toString(16)
|
|
2637
2640
|
};
|
|
2638
2641
|
//#endregion
|
|
2639
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2642
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/identity.js
|
|
2640
2643
|
function Sa(e) {
|
|
2641
2644
|
return e;
|
|
2642
2645
|
}
|
|
2643
2646
|
//#endregion
|
|
2644
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2647
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/locale.js
|
|
2645
2648
|
var Ca = Array.prototype.map, wa = [
|
|
2646
2649
|
"y",
|
|
2647
2650
|
"z",
|
|
@@ -2663,39 +2666,39 @@ var Ca = Array.prototype.map, wa = [
|
|
|
2663
2666
|
];
|
|
2664
2667
|
function Ta(e) {
|
|
2665
2668
|
var t = e.grouping === void 0 || e.thousands === void 0 ? Sa : fa(Ca.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? Sa : pa(Ca.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
|
|
2666
|
-
function l(e) {
|
|
2669
|
+
function l(e, l) {
|
|
2667
2670
|
e = ha(e);
|
|
2668
|
-
var
|
|
2669
|
-
|
|
2670
|
-
var
|
|
2671
|
-
|
|
2671
|
+
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
|
|
2672
|
+
y === "n" ? (g = !0, y = "g") : xa[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
|
|
2673
|
+
var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), ee = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), te = xa[y], ne = /[defgprs%]/.test(y);
|
|
2674
|
+
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
|
|
2672
2675
|
function x(e) {
|
|
2673
|
-
var n =
|
|
2674
|
-
if (
|
|
2676
|
+
var n = b, r = ee, o, l, p;
|
|
2677
|
+
if (y === "c") r = te(e) + r, e = "";
|
|
2675
2678
|
else {
|
|
2676
2679
|
e = +e;
|
|
2677
|
-
var
|
|
2678
|
-
if (e = isNaN(e) ? c :
|
|
2679
|
-
for (o = -1,
|
|
2680
|
-
r = (
|
|
2680
|
+
var x = e < 0 || 1 / e < 0;
|
|
2681
|
+
if (e = isNaN(e) ? c : te(Math.abs(e), _), v && (e = _a(e)), x && +e == 0 && f !== "+" && (x = !1), n = (x ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && va !== void 0 ? wa[8 + va / 3] : "") + r + (x && f === "(" ? ")" : ""), ne) {
|
|
2682
|
+
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
|
|
2683
|
+
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
|
|
2681
2684
|
break;
|
|
2682
2685
|
}
|
|
2683
2686
|
}
|
|
2684
2687
|
}
|
|
2685
|
-
|
|
2686
|
-
var
|
|
2687
|
-
switch (
|
|
2688
|
+
g && !m && (e = t(e, Infinity));
|
|
2689
|
+
var S = n.length + e.length + r.length, C = S < h ? Array(h - S + 1).join(u) : "";
|
|
2690
|
+
switch (g && m && (e = t(C + e, C.length ? h - r.length : Infinity), C = ""), d) {
|
|
2688
2691
|
case "<":
|
|
2689
|
-
e = n + e + r +
|
|
2692
|
+
e = n + e + r + C;
|
|
2690
2693
|
break;
|
|
2691
2694
|
case "=":
|
|
2692
|
-
e = n +
|
|
2695
|
+
e = n + C + e + r;
|
|
2693
2696
|
break;
|
|
2694
2697
|
case "^":
|
|
2695
|
-
e =
|
|
2698
|
+
e = C.slice(0, S = C.length >> 1) + n + e + r + C.slice(S);
|
|
2696
2699
|
break;
|
|
2697
2700
|
default:
|
|
2698
|
-
e =
|
|
2701
|
+
e = C + n + e + r;
|
|
2699
2702
|
break;
|
|
2700
2703
|
}
|
|
2701
2704
|
return a(e);
|
|
@@ -2705,9 +2708,9 @@ function Ta(e) {
|
|
|
2705
2708
|
}, x;
|
|
2706
2709
|
}
|
|
2707
2710
|
function u(e, t) {
|
|
2708
|
-
var n =
|
|
2711
|
+
var n = Math.max(-8, Math.min(8, Math.floor(X(t) / 3))) * 3, r = 10 ** -n, i = l((e = ha(e), e.type = "f", e), { suffix: wa[8 + n / 3] });
|
|
2709
2712
|
return function(e) {
|
|
2710
|
-
return
|
|
2713
|
+
return i(r * e);
|
|
2711
2714
|
};
|
|
2712
2715
|
}
|
|
2713
2716
|
return {
|
|
@@ -2716,7 +2719,7 @@ function Ta(e) {
|
|
|
2716
2719
|
};
|
|
2717
2720
|
}
|
|
2718
2721
|
//#endregion
|
|
2719
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2722
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/defaultLocale.js
|
|
2720
2723
|
var Ea, Da, Oa;
|
|
2721
2724
|
ka({
|
|
2722
2725
|
thousands: ",",
|
|
@@ -2727,17 +2730,17 @@ function ka(e) {
|
|
|
2727
2730
|
return Ea = Ta(e), Da = Ea.format, Oa = Ea.formatPrefix, Ea;
|
|
2728
2731
|
}
|
|
2729
2732
|
//#endregion
|
|
2730
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2733
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/precisionFixed.js
|
|
2731
2734
|
function Aa(e) {
|
|
2732
2735
|
return Math.max(0, -X(Math.abs(e)));
|
|
2733
2736
|
}
|
|
2734
2737
|
//#endregion
|
|
2735
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2738
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/precisionPrefix.js
|
|
2736
2739
|
function ja(e, t) {
|
|
2737
2740
|
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(X(t) / 3))) * 3 - X(Math.abs(e)));
|
|
2738
2741
|
}
|
|
2739
2742
|
//#endregion
|
|
2740
|
-
//#region ../../node_modules/.pnpm/d3-format@3.1.
|
|
2743
|
+
//#region ../../node_modules/.pnpm/d3-format@3.1.2/node_modules/d3-format/src/precisionRound.js
|
|
2741
2744
|
function Ma(e, t) {
|
|
2742
2745
|
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, X(t) - X(e)) + 1;
|
|
2743
2746
|
}
|
|
@@ -2794,7 +2797,7 @@ function Ba(e, t, n) {
|
|
|
2794
2797
|
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
|
|
2795
2798
|
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = La(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
|
|
2796
2799
|
return function(t) {
|
|
2797
|
-
var n =
|
|
2800
|
+
var n = ye(e, t, 1, r) - 1;
|
|
2798
2801
|
return a[n](i[n](t));
|
|
2799
2802
|
};
|
|
2800
2803
|
}
|
|
@@ -2802,7 +2805,7 @@ function Va(e, t) {
|
|
|
2802
2805
|
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
|
|
2803
2806
|
}
|
|
2804
2807
|
function Ha() {
|
|
2805
|
-
var e = Ia, t = Ia, n =
|
|
2808
|
+
var e = Ia, t = Ia, n = _r, r, i, a, o = Z, s, c, l;
|
|
2806
2809
|
function u() {
|
|
2807
2810
|
var n = Math.min(e.length, t.length);
|
|
2808
2811
|
return o !== Z && (o = Ra(e[0], e[n - 1])), s = n > 2 ? Ba : za, c = l = null, d;
|
|
@@ -2811,13 +2814,13 @@ function Ha() {
|
|
|
2811
2814
|
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
|
|
2812
2815
|
}
|
|
2813
2816
|
return d.invert = function(n) {
|
|
2814
|
-
return o(i((l ||= s(t, e.map(r),
|
|
2817
|
+
return o(i((l ||= s(t, e.map(r), B))(n)));
|
|
2815
2818
|
}, d.domain = function(t) {
|
|
2816
2819
|
return arguments.length ? (e = Array.from(t, Fa), u()) : e.slice();
|
|
2817
2820
|
}, d.range = function(e) {
|
|
2818
2821
|
return arguments.length ? (t = Array.from(e), u()) : t.slice();
|
|
2819
2822
|
}, d.rangeRound = function(e) {
|
|
2820
|
-
return t = Array.from(e), n =
|
|
2823
|
+
return t = Array.from(e), n = vr, u();
|
|
2821
2824
|
}, d.clamp = function(e) {
|
|
2822
2825
|
return arguments.length ? (o = e ? !0 : Z, u()) : o !== Z;
|
|
2823
2826
|
}, d.interpolate = function(e) {
|
|
@@ -2834,7 +2837,7 @@ function Ua() {
|
|
|
2834
2837
|
//#endregion
|
|
2835
2838
|
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js
|
|
2836
2839
|
function Wa(e, t, n, r) {
|
|
2837
|
-
var i =
|
|
2840
|
+
var i = Ee(e, t, n), a;
|
|
2838
2841
|
switch (r = ha(r ?? ",f"), r.type) {
|
|
2839
2842
|
case "s":
|
|
2840
2843
|
var o = Math.max(Math.abs(e), Math.abs(t));
|
|
@@ -2859,7 +2862,7 @@ function Ga(e) {
|
|
|
2859
2862
|
var t = e.domain;
|
|
2860
2863
|
return e.ticks = function(e) {
|
|
2861
2864
|
var n = t();
|
|
2862
|
-
return
|
|
2865
|
+
return we(n[0], n[n.length - 1], e ?? 10);
|
|
2863
2866
|
}, e.tickFormat = function(e, n) {
|
|
2864
2867
|
var r = t();
|
|
2865
2868
|
return Wa(r[0], r[r.length - 1], e ?? 10, n);
|
|
@@ -2867,7 +2870,7 @@ function Ga(e) {
|
|
|
2867
2870
|
n ??= 10;
|
|
2868
2871
|
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
|
|
2869
2872
|
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
|
|
2870
|
-
if (l =
|
|
2873
|
+
if (l = Te(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
|
|
2871
2874
|
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
|
|
2872
2875
|
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
|
|
2873
2876
|
else break;
|
|
@@ -2931,17 +2934,15 @@ function Ja(e) {
|
|
|
2931
2934
|
}
|
|
2932
2935
|
//#endregion
|
|
2933
2936
|
//#region ../../node_modules/.pnpm/tiny-invariant@1.3.3/node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
2934
|
-
var Ya =
|
|
2937
|
+
var Ya = "Invariant failed";
|
|
2935
2938
|
function $(e, t) {
|
|
2936
|
-
if (!e)
|
|
2937
|
-
if (Ya) throw Error(Xa);
|
|
2938
|
-
var n = typeof t == "function" ? t() : t, r = n ? `${Xa}: ${n}` : Xa;
|
|
2939
|
-
throw Error(r);
|
|
2940
|
-
}
|
|
2939
|
+
if (!e) throw Error(Ya);
|
|
2941
2940
|
}
|
|
2942
2941
|
//#endregion
|
|
2943
2942
|
//#region src/color/ColorMap.ts
|
|
2944
|
-
var
|
|
2943
|
+
var Xa = class {
|
|
2944
|
+
type;
|
|
2945
|
+
name;
|
|
2945
2946
|
lut;
|
|
2946
2947
|
constructor(e, t, n) {
|
|
2947
2948
|
this.type = e, this.name = t, $(n.length > 1), this.lut = n.map((e) => Array.isArray(e) ? e : e.srgb().toArray());
|
|
@@ -2953,7 +2954,7 @@ var Za = class {
|
|
|
2953
2954
|
return $(t != null), t;
|
|
2954
2955
|
}
|
|
2955
2956
|
buildLinear() {
|
|
2956
|
-
this.#e ??= Ka().domain(
|
|
2957
|
+
this.#e ??= Ka().domain(Or(_r(0, 1), this.lut.length)).range(this.lut).clamp(!0);
|
|
2957
2958
|
}
|
|
2958
2959
|
get count() {
|
|
2959
2960
|
return this.lut.length;
|
|
@@ -2969,7 +2970,7 @@ var Za = class {
|
|
|
2969
2970
|
e.width = this.lut.length, e.height = 1;
|
|
2970
2971
|
let t = e.getContext("2d");
|
|
2971
2972
|
return $(t != null), this.lut.forEach(([e, n, r], i) => {
|
|
2972
|
-
t.fillStyle =
|
|
2973
|
+
t.fillStyle = Kn(e * 255, n * 255, r * 255).toString(), t.fillRect(i, 0, 1, 1);
|
|
2973
2974
|
}), e;
|
|
2974
2975
|
}
|
|
2975
2976
|
flatten() {
|
|
@@ -2977,7 +2978,7 @@ var Za = class {
|
|
|
2977
2978
|
for (let t = 0; t < this.lut.length; t++) e[t * 3] = this.lut[t][0], e[t * 3 + 1] = this.lut[t][1], e[t * 3 + 2] = this.lut[t][2];
|
|
2978
2979
|
return e;
|
|
2979
2980
|
}
|
|
2980
|
-
},
|
|
2981
|
+
}, Za = class {}, Qa = class {
|
|
2981
2982
|
handler;
|
|
2982
2983
|
_elevationColormap;
|
|
2983
2984
|
constructor(e, t) {
|
|
@@ -3040,6 +3041,6 @@ var Za = class {
|
|
|
3040
3041
|
set elevationColormap(e) {
|
|
3041
3042
|
this._elevationColormap = e, this.handler.setElevationColormap(e);
|
|
3042
3043
|
}
|
|
3043
|
-
},
|
|
3044
|
+
}, $a = class {};
|
|
3044
3045
|
//#endregion
|
|
3045
|
-
export {
|
|
3046
|
+
export { fe as BaseAbstractedVec3, h as CachedMeshHandleLike, Za as Color, Xa as ColorMap, S as ConstructedPolygonGeometryLike, ie as ConstructedPolylineGeometryLike, y as ElevationDecoderLike, oe as EventHandler, c as EventManager, x as ExtentRadianF32Like, Qa as Globe, ae as IMAGE_EXTENSIONS, ue as NamedIndexMap, de as Observed, $a as Plugin, ne as PolygonMaterialLike, re as PolylineMaterialLike, ee as ReturnedConstructedTerrainMeshLike, m as TileXYZLike, a as Transaction, i as TransactionManager, g as TransferableMartiniLike, te as TransferablePolygonBatchedFeatureLike, C as TransferablePolylineBatchedFeatureLike, v as TransferableRasterDEMDataLike, p as TransferableTileLike, ce as Unimplemented, le as Unreachable, _ as UpsamplableTerrainGeometryLike, b as Vec3Like, l as assertType, t as generate_id_from_entity, n as generate_id_from_ind_gen, r as isEntityEvent, f as isNotFalse, u as isNotNullish, d as isNotUndefined, se as setBatchedValuesToBatchedAttribute };
|