@navaramap/core 0.0.0 → 0.0.1
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.d.ts +7 -2
- package/dist/index.js +654 -651
- package/dist/index.umd.cjs +1 -1
- package/package.json +2 -2
- package/src/globe/Globe.ts +12 -2
- package/src/id.ts +8 -1
package/dist/index.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { Vec3 as e } from "@navaramap/engine";
|
|
2
2
|
//#region src/id.ts
|
|
3
3
|
function t(e) {
|
|
4
|
-
return
|
|
4
|
+
return n(e.ind, e.gen);
|
|
5
5
|
}
|
|
6
|
-
function n(e) {
|
|
6
|
+
function n(e, t) {
|
|
7
|
+
return `${e}_${t}`;
|
|
8
|
+
}
|
|
9
|
+
function r(e) {
|
|
7
10
|
return !!e && typeof e == "object" && "ind" in e && "gen" in e;
|
|
8
11
|
}
|
|
9
12
|
//#endregion
|
|
10
13
|
//#region src/event/TransactionManager.ts
|
|
11
|
-
var
|
|
14
|
+
var i = class {
|
|
12
15
|
record = {};
|
|
13
16
|
getOrInsert(e) {
|
|
14
|
-
return this.record[e] || (this.record[e] = new
|
|
17
|
+
return this.record[e] || (this.record[e] = new a(e)), this.record[e];
|
|
15
18
|
}
|
|
16
|
-
},
|
|
19
|
+
}, a = class e {
|
|
17
20
|
id;
|
|
18
21
|
continuable;
|
|
19
22
|
currentPending;
|
|
@@ -48,12 +51,12 @@ var r = class {
|
|
|
48
51
|
for (this.continuable = !1; e.parent;) e = e.parent;
|
|
49
52
|
e.continuable = !0;
|
|
50
53
|
}
|
|
51
|
-
}, a = (e) => {
|
|
52
|
-
e && "free" in e && e.free instanceof Function && e.free();
|
|
53
54
|
}, o = (e) => {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
55
|
+
e && "free" in e && e.free instanceof Function && e.free();
|
|
56
|
+
}, s = (e) => {
|
|
57
|
+
let { event: n } = e;
|
|
58
|
+
if (r(n)) return t(n);
|
|
59
|
+
}, c = class {
|
|
57
60
|
stacks = {
|
|
58
61
|
camera_transform_updated: [],
|
|
59
62
|
camera_frustum_updated: [],
|
|
@@ -75,7 +78,7 @@ var r = class {
|
|
|
75
78
|
hillshade_canceled: []
|
|
76
79
|
};
|
|
77
80
|
addedEventIds = /* @__PURE__ */ new Map();
|
|
78
|
-
transactionManager = new
|
|
81
|
+
transactionManager = new i();
|
|
79
82
|
needsUpdate() {
|
|
80
83
|
return Object.values(this.stacks).some((e) => !!e.length);
|
|
81
84
|
}
|
|
@@ -89,20 +92,20 @@ var r = class {
|
|
|
89
92
|
let r = 0;
|
|
90
93
|
for (let i of this.stacks[e]) {
|
|
91
94
|
if (r === n) break;
|
|
92
|
-
t(i),
|
|
95
|
+
t(i), o(i), r++;
|
|
93
96
|
}
|
|
94
97
|
this.stacks[e].splice(0, r);
|
|
95
98
|
}
|
|
96
99
|
async forEachStackAsync(e, t, n = 100, r) {
|
|
97
|
-
let i = [],
|
|
98
|
-
for (let
|
|
99
|
-
if (
|
|
100
|
-
let e =
|
|
100
|
+
let i = [], a = 0, s = [];
|
|
101
|
+
for (let o of this.stacks[e]) {
|
|
102
|
+
if (a === n) break;
|
|
103
|
+
let e = o;
|
|
101
104
|
if (r && !r(e)) {
|
|
102
|
-
|
|
105
|
+
a++;
|
|
103
106
|
continue;
|
|
104
107
|
}
|
|
105
|
-
i.push(t(e)), s.push(
|
|
108
|
+
i.push(t(e)), s.push(a), a++;
|
|
106
109
|
}
|
|
107
110
|
let c = [], l = 0;
|
|
108
111
|
for (let t of s) {
|
|
@@ -111,25 +114,25 @@ var r = class {
|
|
|
111
114
|
}
|
|
112
115
|
let u = await Promise.allSettled(i);
|
|
113
116
|
for (let t of u) t.status === "rejected" && console.error(`Event handler for "${e}" failed:`, t.reason);
|
|
114
|
-
for (let e of c)
|
|
117
|
+
for (let e of c) o(e);
|
|
115
118
|
}
|
|
116
119
|
removeDuplicatedTransactionEvents(e) {
|
|
117
|
-
let
|
|
120
|
+
let n = /* @__PURE__ */ new Map(), i = e.change ? /* @__PURE__ */ new Map() : null;
|
|
118
121
|
this.stacks[e.add.key].forEach((e, i) => {
|
|
119
|
-
if (
|
|
120
|
-
let
|
|
121
|
-
|
|
122
|
+
if (r(e)) {
|
|
123
|
+
let r = t(e);
|
|
124
|
+
n.set(r, i);
|
|
122
125
|
}
|
|
123
|
-
}), i && e.change && this.stacks[e.change.key].forEach((e,
|
|
124
|
-
if (
|
|
125
|
-
let
|
|
126
|
-
i.set(
|
|
126
|
+
}), i && e.change && this.stacks[e.change.key].forEach((e, n) => {
|
|
127
|
+
if (r(e)) {
|
|
128
|
+
let r = t(e);
|
|
129
|
+
i.set(r, n);
|
|
127
130
|
}
|
|
128
131
|
});
|
|
129
132
|
let a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
130
133
|
this.stacks[e.remove.key].forEach((c, l) => {
|
|
131
|
-
if (!
|
|
132
|
-
let u = t(c), d =
|
|
134
|
+
if (!r(c)) return;
|
|
135
|
+
let u = t(c), d = n.get(u), f = !1;
|
|
133
136
|
if (d !== void 0 && (a.add(d), f = !0), i && e.change) {
|
|
134
137
|
let e = i.get(u);
|
|
135
138
|
e !== void 0 && o.add(e);
|
|
@@ -139,14 +142,14 @@ var r = class {
|
|
|
139
142
|
}
|
|
140
143
|
removeStacksByIndices(e, t) {
|
|
141
144
|
let n = [...t].sort((e, t) => t - e);
|
|
142
|
-
for (let t of n)
|
|
145
|
+
for (let t of n) o(this.stacks[e][t]), this.stacks[e].splice(t, 1);
|
|
143
146
|
}
|
|
144
147
|
processTransactionEvents(e, t, n, r) {
|
|
145
|
-
let { shouldProcess: i, generateEventId: a =
|
|
148
|
+
let { shouldProcess: i, generateEventId: a = s, onAbort: o } = r ?? {};
|
|
146
149
|
this.removeDuplicatedTransactionEvents(t);
|
|
147
150
|
let c = this.addedEventIds.get(e) ?? /* @__PURE__ */ new Set();
|
|
148
151
|
this.addedEventIds.set(e, c);
|
|
149
|
-
let l = this.transactionManager.getOrInsert(e).then(() => this.forEachStackAsync(t.add.key, (e) => (
|
|
152
|
+
let l = this.transactionManager.getOrInsert(e).then(() => this.forEachStackAsync(t.add.key, (e) => (o && c.add(a({
|
|
150
153
|
type: "add",
|
|
151
154
|
event: e
|
|
152
155
|
})), n({
|
|
@@ -155,14 +158,14 @@ var r = class {
|
|
|
155
158
|
})), t.add.max, i ? (e) => i({
|
|
156
159
|
type: "add",
|
|
157
160
|
event: e
|
|
158
|
-
}) : void 0)).then(() => (
|
|
161
|
+
}) : void 0)).then(() => (o && c.clear(), this.forEachStackAsync(t.remove.key, (e) => n({
|
|
159
162
|
type: "remove",
|
|
160
163
|
event: e
|
|
161
164
|
}), t.remove.max, i ? (e) => i({
|
|
162
165
|
type: "remove",
|
|
163
166
|
event: e
|
|
164
167
|
}) : void 0)));
|
|
165
|
-
if (
|
|
168
|
+
if (o && c.size) for (let n of this.stacks[t.remove.key]) {
|
|
166
169
|
if (!n) continue;
|
|
167
170
|
let t = n, r = a({
|
|
168
171
|
type: "remove",
|
|
@@ -170,7 +173,7 @@ var r = class {
|
|
|
170
173
|
});
|
|
171
174
|
if (r && c.has(r)) {
|
|
172
175
|
try {
|
|
173
|
-
Promise.resolve(
|
|
176
|
+
Promise.resolve(o(t)).catch((t) => {
|
|
174
177
|
console.error(`onAbort handler for "${e}" failed:`, t);
|
|
175
178
|
});
|
|
176
179
|
} catch (t) {
|
|
@@ -193,35 +196,35 @@ var r = class {
|
|
|
193
196
|
};
|
|
194
197
|
//#endregion
|
|
195
198
|
//#region src/assertions.ts
|
|
196
|
-
function
|
|
197
|
-
function
|
|
199
|
+
function l(e) {}
|
|
200
|
+
function u(e) {
|
|
198
201
|
return e != null;
|
|
199
202
|
}
|
|
200
|
-
function
|
|
203
|
+
function d(e) {
|
|
201
204
|
return e !== void 0;
|
|
202
205
|
}
|
|
203
|
-
function
|
|
206
|
+
function f(e) {
|
|
204
207
|
return e !== !1;
|
|
205
208
|
}
|
|
206
209
|
//#endregion
|
|
207
210
|
//#region src/utils/TransferableTileLike.ts
|
|
208
|
-
var
|
|
211
|
+
var p = class {
|
|
209
212
|
cached_mesh_handle;
|
|
210
213
|
coords;
|
|
211
214
|
max_height;
|
|
212
215
|
min_height;
|
|
213
216
|
constructor(e) {
|
|
214
|
-
this.cached_mesh_handle = e.cached_mesh_handle ? new
|
|
217
|
+
this.cached_mesh_handle = e.cached_mesh_handle ? new h(e.cached_mesh_handle) : void 0, this.coords = new m(e.coords), this.max_height = e.max_height, this.min_height = e.min_height;
|
|
215
218
|
}
|
|
216
219
|
free() {}
|
|
217
|
-
},
|
|
220
|
+
}, m = class {
|
|
218
221
|
x;
|
|
219
222
|
y;
|
|
220
223
|
z;
|
|
221
224
|
constructor(e) {
|
|
222
225
|
this.x = e.x, this.y = e.y, this.z = e.z;
|
|
223
226
|
}
|
|
224
|
-
},
|
|
227
|
+
}, h = class {
|
|
225
228
|
vertices;
|
|
226
229
|
uvs;
|
|
227
230
|
indices;
|
|
@@ -230,7 +233,7 @@ var f = class {
|
|
|
230
233
|
this.vertices = e.vertices, this.uvs = e.uvs, this.indices = e.indices, this.heights = e.heights;
|
|
231
234
|
}
|
|
232
235
|
free() {}
|
|
233
|
-
},
|
|
236
|
+
}, g = class e {
|
|
234
237
|
coords;
|
|
235
238
|
size;
|
|
236
239
|
constructor(e, t) {
|
|
@@ -242,7 +245,7 @@ var f = class {
|
|
|
242
245
|
clone() {
|
|
243
246
|
return new e(this.coords.slice(), this.size);
|
|
244
247
|
}
|
|
245
|
-
},
|
|
248
|
+
}, _ = class {
|
|
246
249
|
uvs;
|
|
247
250
|
indices;
|
|
248
251
|
heights;
|
|
@@ -251,12 +254,12 @@ var f = class {
|
|
|
251
254
|
constructor(e, t, n, r, i) {
|
|
252
255
|
this.uvs = e, this.indices = t, this.heights = n, this.normals = r, this.watermask = i;
|
|
253
256
|
}
|
|
254
|
-
},
|
|
257
|
+
}, v = class {
|
|
255
258
|
decoder;
|
|
256
259
|
constructor(e) {
|
|
257
|
-
this.decoder = new
|
|
260
|
+
this.decoder = new y(e);
|
|
258
261
|
}
|
|
259
|
-
},
|
|
262
|
+
}, y = class {
|
|
260
263
|
b_scaler;
|
|
261
264
|
boundary;
|
|
262
265
|
epsilon;
|
|
@@ -268,7 +271,7 @@ var f = class {
|
|
|
268
271
|
constructor(e) {
|
|
269
272
|
this.b_scaler = e.b_scaler, this.boundary = e.boundary, this.epsilon = e.epsilon, this.g_scaler = e.g_scaler, this.max_offset = e.max_offset, this.min_offset = e.min_offset, this.offset = e.offset, this.r_scaler = e.r_scaler;
|
|
270
273
|
}
|
|
271
|
-
},
|
|
274
|
+
}, b = class {
|
|
272
275
|
x;
|
|
273
276
|
y;
|
|
274
277
|
z;
|
|
@@ -290,7 +293,7 @@ var f = class {
|
|
|
290
293
|
skirt_normals;
|
|
291
294
|
watermask;
|
|
292
295
|
constructor(e) {
|
|
293
|
-
this.vertices = e.transferVertices(), this.uvs = e.transferUvs(), this.indices = e.transferIndices(), this.heights = e.transferHeights(), this.max_height = e.max_height, this.min_height = e.min_height, this.rtc_translation = e.rtc_translation ? new
|
|
296
|
+
this.vertices = e.transferVertices(), this.uvs = e.transferUvs(), this.indices = e.transferIndices(), this.heights = e.transferHeights(), this.max_height = e.max_height, this.min_height = e.min_height, this.rtc_translation = e.rtc_translation ? new b(e.rtc_translation) : void 0, e.hasNormals() && (this.normals = e.transferNormals()), e.hasSkirt() && (this.skirt_vertices = e.transferSkirtVertices(), this.skirt_uvs = e.transferSkirtUvs(), this.skirt_indices = e.transferSkirtIndices(), this.skirt_normals = e.transferSkirtNormals()), e.hasWatermask() && (this.watermask = e.transferWatermask());
|
|
294
297
|
}
|
|
295
298
|
transferVertices() {
|
|
296
299
|
throw Error();
|
|
@@ -382,7 +385,7 @@ var f = class {
|
|
|
382
385
|
transferHolesTotalSizes() {
|
|
383
386
|
throw Error();
|
|
384
387
|
}
|
|
385
|
-
},
|
|
388
|
+
}, x = class {
|
|
386
389
|
clampToGround;
|
|
387
390
|
tiled;
|
|
388
391
|
castShadow;
|
|
@@ -399,7 +402,7 @@ var f = class {
|
|
|
399
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;
|
|
400
403
|
}
|
|
401
404
|
free() {}
|
|
402
|
-
},
|
|
405
|
+
}, S = class {
|
|
403
406
|
east;
|
|
404
407
|
north;
|
|
405
408
|
south;
|
|
@@ -407,7 +410,7 @@ var f = class {
|
|
|
407
410
|
constructor(e) {
|
|
408
411
|
this.east = e.east, this.north = e.north, this.south = e.south, this.west = e.west;
|
|
409
412
|
}
|
|
410
|
-
},
|
|
413
|
+
}, C = class {
|
|
411
414
|
extent;
|
|
412
415
|
position_3d_high;
|
|
413
416
|
position_3d_high_size;
|
|
@@ -434,11 +437,11 @@ var f = class {
|
|
|
434
437
|
outline_batch_index_size;
|
|
435
438
|
constructor(e) {
|
|
436
439
|
let t = e.extent;
|
|
437
|
-
this.extent = t ? new
|
|
440
|
+
this.extent = t ? new S(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;
|
|
438
441
|
let n = e.outline();
|
|
439
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());
|
|
440
443
|
}
|
|
441
|
-
},
|
|
444
|
+
}, w = class {
|
|
442
445
|
points;
|
|
443
446
|
points_sizes;
|
|
444
447
|
batch_ids;
|
|
@@ -464,7 +467,7 @@ var f = class {
|
|
|
464
467
|
transferBatchIndices() {
|
|
465
468
|
throw Error();
|
|
466
469
|
}
|
|
467
|
-
},
|
|
470
|
+
}, ne = class {
|
|
468
471
|
clampToGround;
|
|
469
472
|
tiled;
|
|
470
473
|
castShadow;
|
|
@@ -512,7 +515,7 @@ var f = class {
|
|
|
512
515
|
indices;
|
|
513
516
|
constructor(e) {
|
|
514
517
|
let t = e.extent;
|
|
515
|
-
this.extent = t ? new
|
|
518
|
+
this.extent = t ? new S(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();
|
|
516
519
|
}
|
|
517
520
|
}, ie = ["png", "webp"], ae = class {
|
|
518
521
|
events = {};
|
|
@@ -662,18 +665,18 @@ _e.left, me(ge).center;
|
|
|
662
665
|
//#endregion
|
|
663
666
|
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js
|
|
664
667
|
var ye = Math.sqrt(50), be = Math.sqrt(10), xe = Math.sqrt(2);
|
|
665
|
-
function
|
|
668
|
+
function T(e, t, n) {
|
|
666
669
|
let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >= ye ? 10 : a >= be ? 5 : a >= xe ? 2 : 1, s, c, l;
|
|
667
|
-
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 ?
|
|
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 ? T(e, t, n * 2) : [
|
|
668
671
|
s,
|
|
669
672
|
c,
|
|
670
673
|
l
|
|
671
674
|
];
|
|
672
675
|
}
|
|
673
|
-
function
|
|
676
|
+
function Se(e, t, n) {
|
|
674
677
|
if (t = +t, e = +e, n = +n, !(n > 0)) return [];
|
|
675
678
|
if (e === t) return [e];
|
|
676
|
-
let r = t < e, [i, a, o] = r ?
|
|
679
|
+
let r = t < e, [i, a, o] = r ? T(t, e, n) : T(e, t, n);
|
|
677
680
|
if (!(a >= i)) return [];
|
|
678
681
|
let s = a - i + 1, c = Array(s);
|
|
679
682
|
if (r) if (o < 0) for (let e = 0; e < s; ++e) c[e] = (a - e) / -o;
|
|
@@ -682,28 +685,28 @@ function Ce(e, t, n) {
|
|
|
682
685
|
else for (let e = 0; e < s; ++e) c[e] = (i + e) * o;
|
|
683
686
|
return c;
|
|
684
687
|
}
|
|
685
|
-
function
|
|
686
|
-
return t = +t, e = +e, n = +n,
|
|
688
|
+
function Ce(e, t, n) {
|
|
689
|
+
return t = +t, e = +e, n = +n, T(e, t, n)[2];
|
|
687
690
|
}
|
|
688
|
-
function
|
|
691
|
+
function we(e, t, n) {
|
|
689
692
|
t = +t, e = +e, n = +n;
|
|
690
|
-
let r = t < e, i = r ?
|
|
693
|
+
let r = t < e, i = r ? Ce(t, e, n) : Ce(e, t, n);
|
|
691
694
|
return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
|
|
692
695
|
}
|
|
693
696
|
//#endregion
|
|
694
697
|
//#region ../../node_modules/.pnpm/d3-dispatch@3.0.1/node_modules/d3-dispatch/src/dispatch.js
|
|
695
|
-
var
|
|
696
|
-
function
|
|
698
|
+
var Te = { value: () => {} };
|
|
699
|
+
function Ee() {
|
|
697
700
|
for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
|
|
698
701
|
if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
|
|
699
702
|
n[r] = [];
|
|
700
703
|
}
|
|
701
|
-
return new
|
|
704
|
+
return new De(n);
|
|
702
705
|
}
|
|
703
|
-
function
|
|
706
|
+
function De(e) {
|
|
704
707
|
this._ = e;
|
|
705
708
|
}
|
|
706
|
-
function
|
|
709
|
+
function Oe(e, t) {
|
|
707
710
|
return e.trim().split(/^|\s+/).map(function(e) {
|
|
708
711
|
var n = "", r = e.indexOf(".");
|
|
709
712
|
if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
|
|
@@ -713,23 +716,23 @@ function ke(e, t) {
|
|
|
713
716
|
};
|
|
714
717
|
});
|
|
715
718
|
}
|
|
716
|
-
|
|
717
|
-
constructor:
|
|
719
|
+
De.prototype = Ee.prototype = {
|
|
720
|
+
constructor: De,
|
|
718
721
|
on: function(e, t) {
|
|
719
|
-
var n = this._, r =
|
|
722
|
+
var n = this._, r = Oe(e + "", n), i, a = -1, o = r.length;
|
|
720
723
|
if (arguments.length < 2) {
|
|
721
|
-
for (; ++a < o;) if ((i = (e = r[a]).type) && (i =
|
|
724
|
+
for (; ++a < o;) if ((i = (e = r[a]).type) && (i = ke(n[i], e.name))) return i;
|
|
722
725
|
return;
|
|
723
726
|
}
|
|
724
727
|
if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
|
|
725
|
-
for (; ++a < o;) if (i = (e = r[a]).type) n[i] =
|
|
726
|
-
else if (t == null) for (i in n) n[i] =
|
|
728
|
+
for (; ++a < o;) if (i = (e = r[a]).type) n[i] = Ae(n[i], e.name, t);
|
|
729
|
+
else if (t == null) for (i in n) n[i] = Ae(n[i], e.name, null);
|
|
727
730
|
return this;
|
|
728
731
|
},
|
|
729
732
|
copy: function() {
|
|
730
733
|
var e = {}, t = this._;
|
|
731
734
|
for (var n in t) e[n] = t[n].slice();
|
|
732
|
-
return new
|
|
735
|
+
return new De(e);
|
|
733
736
|
},
|
|
734
737
|
call: function(e, t) {
|
|
735
738
|
if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
|
|
@@ -741,12 +744,12 @@ Oe.prototype = De.prototype = {
|
|
|
741
744
|
for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
|
|
742
745
|
}
|
|
743
746
|
};
|
|
744
|
-
function
|
|
747
|
+
function ke(e, t) {
|
|
745
748
|
for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
|
|
746
749
|
}
|
|
747
|
-
function
|
|
750
|
+
function Ae(e, t, n) {
|
|
748
751
|
for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
|
|
749
|
-
e[r] =
|
|
752
|
+
e[r] = Te, e = e.slice(0, r).concat(e.slice(r + 1));
|
|
750
753
|
break;
|
|
751
754
|
}
|
|
752
755
|
return n != null && e.push({
|
|
@@ -754,7 +757,7 @@ function je(e, t, n) {
|
|
|
754
757
|
value: n
|
|
755
758
|
}), e;
|
|
756
759
|
}
|
|
757
|
-
var
|
|
760
|
+
var je = {
|
|
758
761
|
svg: "http://www.w3.org/2000/svg",
|
|
759
762
|
xhtml: "http://www.w3.org/1999/xhtml",
|
|
760
763
|
xlink: "http://www.w3.org/1999/xlink",
|
|
@@ -763,134 +766,134 @@ var Me = {
|
|
|
763
766
|
};
|
|
764
767
|
//#endregion
|
|
765
768
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js
|
|
766
|
-
function
|
|
769
|
+
function Me(e) {
|
|
767
770
|
var t = e += "", n = t.indexOf(":");
|
|
768
|
-
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)),
|
|
769
|
-
space:
|
|
771
|
+
return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), je.hasOwnProperty(t) ? {
|
|
772
|
+
space: je[t],
|
|
770
773
|
local: e
|
|
771
774
|
} : e;
|
|
772
775
|
}
|
|
773
776
|
//#endregion
|
|
774
777
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js
|
|
775
|
-
function
|
|
778
|
+
function Ne(e) {
|
|
776
779
|
return function() {
|
|
777
780
|
var t = this.ownerDocument, n = this.namespaceURI;
|
|
778
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);
|
|
779
782
|
};
|
|
780
783
|
}
|
|
781
|
-
function
|
|
784
|
+
function Pe(e) {
|
|
782
785
|
return function() {
|
|
783
786
|
return this.ownerDocument.createElementNS(e.space, e.local);
|
|
784
787
|
};
|
|
785
788
|
}
|
|
786
|
-
function
|
|
787
|
-
var t =
|
|
788
|
-
return (t.local ?
|
|
789
|
+
function Fe(e) {
|
|
790
|
+
var t = Me(e);
|
|
791
|
+
return (t.local ? Pe : Ne)(t);
|
|
789
792
|
}
|
|
790
793
|
//#endregion
|
|
791
794
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js
|
|
792
|
-
function
|
|
793
|
-
function
|
|
794
|
-
return e == null ?
|
|
795
|
+
function Ie() {}
|
|
796
|
+
function Le(e) {
|
|
797
|
+
return e == null ? Ie : function() {
|
|
795
798
|
return this.querySelector(e);
|
|
796
799
|
};
|
|
797
800
|
}
|
|
798
801
|
//#endregion
|
|
799
802
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js
|
|
800
|
-
function
|
|
801
|
-
typeof e != "function" && (e =
|
|
803
|
+
function Re(e) {
|
|
804
|
+
typeof e != "function" && (e = Le(e));
|
|
802
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);
|
|
803
|
-
return new
|
|
806
|
+
return new D(r, this._parents);
|
|
804
807
|
}
|
|
805
808
|
//#endregion
|
|
806
809
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js
|
|
807
|
-
function
|
|
810
|
+
function ze(e) {
|
|
808
811
|
return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
|
|
809
812
|
}
|
|
810
813
|
//#endregion
|
|
811
814
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js
|
|
812
|
-
function
|
|
815
|
+
function Be() {
|
|
813
816
|
return [];
|
|
814
817
|
}
|
|
815
|
-
function
|
|
816
|
-
return e == null ?
|
|
818
|
+
function Ve(e) {
|
|
819
|
+
return e == null ? Be : function() {
|
|
817
820
|
return this.querySelectorAll(e);
|
|
818
821
|
};
|
|
819
822
|
}
|
|
820
823
|
//#endregion
|
|
821
824
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js
|
|
822
|
-
function
|
|
825
|
+
function He(e) {
|
|
823
826
|
return function() {
|
|
824
|
-
return
|
|
827
|
+
return ze(e.apply(this, arguments));
|
|
825
828
|
};
|
|
826
829
|
}
|
|
827
|
-
function
|
|
828
|
-
e = typeof e == "function" ?
|
|
830
|
+
function Ue(e) {
|
|
831
|
+
e = typeof e == "function" ? He(e) : Ve(e);
|
|
829
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));
|
|
830
|
-
return new
|
|
833
|
+
return new D(r, i);
|
|
831
834
|
}
|
|
832
835
|
//#endregion
|
|
833
836
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js
|
|
834
|
-
function
|
|
837
|
+
function We(e) {
|
|
835
838
|
return function() {
|
|
836
839
|
return this.matches(e);
|
|
837
840
|
};
|
|
838
841
|
}
|
|
839
|
-
function
|
|
842
|
+
function Ge(e) {
|
|
840
843
|
return function(t) {
|
|
841
844
|
return t.matches(e);
|
|
842
845
|
};
|
|
843
846
|
}
|
|
844
847
|
//#endregion
|
|
845
848
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js
|
|
846
|
-
var
|
|
847
|
-
function
|
|
849
|
+
var Ke = Array.prototype.find;
|
|
850
|
+
function qe(e) {
|
|
848
851
|
return function() {
|
|
849
|
-
return
|
|
852
|
+
return Ke.call(this.children, e);
|
|
850
853
|
};
|
|
851
854
|
}
|
|
852
|
-
function
|
|
855
|
+
function Je() {
|
|
853
856
|
return this.firstElementChild;
|
|
854
857
|
}
|
|
855
|
-
function
|
|
856
|
-
return this.select(e == null ?
|
|
858
|
+
function Ye(e) {
|
|
859
|
+
return this.select(e == null ? Je : qe(typeof e == "function" ? e : Ge(e)));
|
|
857
860
|
}
|
|
858
861
|
//#endregion
|
|
859
862
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js
|
|
860
|
-
var
|
|
861
|
-
function
|
|
863
|
+
var Xe = Array.prototype.filter;
|
|
864
|
+
function Ze() {
|
|
862
865
|
return Array.from(this.children);
|
|
863
866
|
}
|
|
864
|
-
function
|
|
867
|
+
function Qe(e) {
|
|
865
868
|
return function() {
|
|
866
|
-
return
|
|
869
|
+
return Xe.call(this.children, e);
|
|
867
870
|
};
|
|
868
871
|
}
|
|
869
|
-
function
|
|
870
|
-
return this.selectAll(e == null ?
|
|
872
|
+
function $e(e) {
|
|
873
|
+
return this.selectAll(e == null ? Ze : Qe(typeof e == "function" ? e : Ge(e)));
|
|
871
874
|
}
|
|
872
875
|
//#endregion
|
|
873
876
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js
|
|
874
|
-
function
|
|
875
|
-
typeof e != "function" && (e =
|
|
877
|
+
function et(e) {
|
|
878
|
+
typeof e != "function" && (e = We(e));
|
|
876
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);
|
|
877
|
-
return new
|
|
880
|
+
return new D(r, this._parents);
|
|
878
881
|
}
|
|
879
882
|
//#endregion
|
|
880
883
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js
|
|
881
|
-
function
|
|
884
|
+
function tt(e) {
|
|
882
885
|
return Array(e.length);
|
|
883
886
|
}
|
|
884
887
|
//#endregion
|
|
885
888
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js
|
|
886
|
-
function
|
|
887
|
-
return new
|
|
889
|
+
function nt() {
|
|
890
|
+
return new D(this._enter || this._groups.map(tt), this._parents);
|
|
888
891
|
}
|
|
889
|
-
function
|
|
892
|
+
function rt(e, t) {
|
|
890
893
|
this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
|
|
891
894
|
}
|
|
892
|
-
|
|
893
|
-
constructor:
|
|
895
|
+
rt.prototype = {
|
|
896
|
+
constructor: rt,
|
|
894
897
|
appendChild: function(e) {
|
|
895
898
|
return this._parent.insertBefore(e, this._next);
|
|
896
899
|
},
|
|
@@ -906,71 +909,71 @@ it.prototype = {
|
|
|
906
909
|
};
|
|
907
910
|
//#endregion
|
|
908
911
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js
|
|
909
|
-
function
|
|
912
|
+
function it(e) {
|
|
910
913
|
return function() {
|
|
911
914
|
return e;
|
|
912
915
|
};
|
|
913
916
|
}
|
|
914
917
|
//#endregion
|
|
915
918
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js
|
|
916
|
-
function
|
|
917
|
-
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 at(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 rt(e, a[o]);
|
|
918
921
|
for (; o < c; ++o) (s = t[o]) && (i[o] = s);
|
|
919
922
|
}
|
|
920
|
-
function
|
|
923
|
+
function ot(e, t, n, r, i, a, o) {
|
|
921
924
|
var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
|
|
922
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));
|
|
923
|
-
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 rt(e, a[s]);
|
|
924
927
|
for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
|
|
925
928
|
}
|
|
926
|
-
function
|
|
929
|
+
function st(e) {
|
|
927
930
|
return e.__data__;
|
|
928
931
|
}
|
|
929
|
-
function
|
|
930
|
-
if (!arguments.length) return Array.from(this,
|
|
931
|
-
var n = t ?
|
|
932
|
-
typeof e != "function" && (e =
|
|
932
|
+
function ct(e, t) {
|
|
933
|
+
if (!arguments.length) return Array.from(this, st);
|
|
934
|
+
var n = t ? ot : at, r = this._parents, i = this._groups;
|
|
935
|
+
typeof e != "function" && (e = it(e));
|
|
933
936
|
for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
|
|
934
|
-
var u = r[l], d = i[l], f = d.length, p =
|
|
937
|
+
var u = r[l], d = i[l], f = d.length, p = lt(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
|
|
935
938
|
n(u, d, h, g, c[l] = Array(f), p, t);
|
|
936
|
-
for (var _ = 0, v = 0, y,
|
|
937
|
-
for (_ >= v && (v = _ + 1); !(
|
|
938
|
-
y._next =
|
|
939
|
+
for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
|
|
940
|
+
for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
|
|
941
|
+
y._next = b || null;
|
|
939
942
|
}
|
|
940
943
|
}
|
|
941
|
-
return o = new
|
|
944
|
+
return o = new D(o, r), o._enter = s, o._exit = c, o;
|
|
942
945
|
}
|
|
943
|
-
function
|
|
946
|
+
function lt(e) {
|
|
944
947
|
return typeof e == "object" && "length" in e ? e : Array.from(e);
|
|
945
948
|
}
|
|
946
949
|
//#endregion
|
|
947
950
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js
|
|
948
|
-
function
|
|
949
|
-
return new
|
|
951
|
+
function ut() {
|
|
952
|
+
return new D(this._exit || this._groups.map(tt), this._parents);
|
|
950
953
|
}
|
|
951
954
|
//#endregion
|
|
952
955
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js
|
|
953
|
-
function
|
|
956
|
+
function dt(e, t, n) {
|
|
954
957
|
var r = this.enter(), i = this, a = this.exit();
|
|
955
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;
|
|
956
959
|
}
|
|
957
960
|
//#endregion
|
|
958
961
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js
|
|
959
|
-
function
|
|
962
|
+
function ft(e) {
|
|
960
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);
|
|
961
964
|
for (; c < i; ++c) s[c] = n[c];
|
|
962
|
-
return new
|
|
965
|
+
return new D(s, this._parents);
|
|
963
966
|
}
|
|
964
967
|
//#endregion
|
|
965
968
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js
|
|
966
|
-
function
|
|
969
|
+
function pt() {
|
|
967
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);
|
|
968
971
|
return this;
|
|
969
972
|
}
|
|
970
973
|
//#endregion
|
|
971
974
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js
|
|
972
|
-
function
|
|
973
|
-
e ||=
|
|
975
|
+
function mt(e) {
|
|
976
|
+
e ||= ht;
|
|
974
977
|
function t(t, n) {
|
|
975
978
|
return t && n ? e(t.__data__, n.__data__) : !t - !n;
|
|
976
979
|
}
|
|
@@ -978,25 +981,25 @@ function ht(e) {
|
|
|
978
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);
|
|
979
982
|
c.sort(t);
|
|
980
983
|
}
|
|
981
|
-
return new
|
|
984
|
+
return new D(i, this._parents).order();
|
|
982
985
|
}
|
|
983
|
-
function
|
|
986
|
+
function ht(e, t) {
|
|
984
987
|
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
985
988
|
}
|
|
986
989
|
//#endregion
|
|
987
990
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js
|
|
988
|
-
function
|
|
991
|
+
function gt() {
|
|
989
992
|
var e = arguments[0];
|
|
990
993
|
return arguments[0] = this, e.apply(null, arguments), this;
|
|
991
994
|
}
|
|
992
995
|
//#endregion
|
|
993
996
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js
|
|
994
|
-
function
|
|
997
|
+
function _t() {
|
|
995
998
|
return Array.from(this);
|
|
996
999
|
}
|
|
997
1000
|
//#endregion
|
|
998
1001
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js
|
|
999
|
-
function
|
|
1002
|
+
function vt() {
|
|
1000
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) {
|
|
1001
1004
|
var o = r[i];
|
|
1002
1005
|
if (o) return o;
|
|
@@ -1005,126 +1008,126 @@ function yt() {
|
|
|
1005
1008
|
}
|
|
1006
1009
|
//#endregion
|
|
1007
1010
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js
|
|
1008
|
-
function
|
|
1011
|
+
function yt() {
|
|
1009
1012
|
let e = 0;
|
|
1010
1013
|
for (let t of this) ++e;
|
|
1011
1014
|
return e;
|
|
1012
1015
|
}
|
|
1013
1016
|
//#endregion
|
|
1014
1017
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js
|
|
1015
|
-
function
|
|
1018
|
+
function bt() {
|
|
1016
1019
|
return !this.node();
|
|
1017
1020
|
}
|
|
1018
1021
|
//#endregion
|
|
1019
1022
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js
|
|
1020
|
-
function
|
|
1023
|
+
function xt(e) {
|
|
1021
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);
|
|
1022
1025
|
return this;
|
|
1023
1026
|
}
|
|
1024
1027
|
//#endregion
|
|
1025
1028
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js
|
|
1026
|
-
function
|
|
1029
|
+
function St(e) {
|
|
1027
1030
|
return function() {
|
|
1028
1031
|
this.removeAttribute(e);
|
|
1029
1032
|
};
|
|
1030
1033
|
}
|
|
1031
|
-
function
|
|
1034
|
+
function Ct(e) {
|
|
1032
1035
|
return function() {
|
|
1033
1036
|
this.removeAttributeNS(e.space, e.local);
|
|
1034
1037
|
};
|
|
1035
1038
|
}
|
|
1036
|
-
function
|
|
1039
|
+
function wt(e, t) {
|
|
1037
1040
|
return function() {
|
|
1038
1041
|
this.setAttribute(e, t);
|
|
1039
1042
|
};
|
|
1040
1043
|
}
|
|
1041
|
-
function
|
|
1044
|
+
function Tt(e, t) {
|
|
1042
1045
|
return function() {
|
|
1043
1046
|
this.setAttributeNS(e.space, e.local, t);
|
|
1044
1047
|
};
|
|
1045
1048
|
}
|
|
1046
|
-
function
|
|
1049
|
+
function Et(e, t) {
|
|
1047
1050
|
return function() {
|
|
1048
1051
|
var n = t.apply(this, arguments);
|
|
1049
1052
|
n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
|
|
1050
1053
|
};
|
|
1051
1054
|
}
|
|
1052
|
-
function
|
|
1055
|
+
function Dt(e, t) {
|
|
1053
1056
|
return function() {
|
|
1054
1057
|
var n = t.apply(this, arguments);
|
|
1055
1058
|
n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
|
|
1056
1059
|
};
|
|
1057
1060
|
}
|
|
1058
|
-
function
|
|
1059
|
-
var n =
|
|
1061
|
+
function Ot(e, t) {
|
|
1062
|
+
var n = Me(e);
|
|
1060
1063
|
if (arguments.length < 2) {
|
|
1061
1064
|
var r = this.node();
|
|
1062
1065
|
return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
|
|
1063
1066
|
}
|
|
1064
|
-
return this.each((t == null ? n.local ?
|
|
1067
|
+
return this.each((t == null ? n.local ? Ct : St : typeof t == "function" ? n.local ? Dt : Et : n.local ? Tt : wt)(n, t));
|
|
1065
1068
|
}
|
|
1066
1069
|
//#endregion
|
|
1067
1070
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js
|
|
1068
|
-
function
|
|
1071
|
+
function kt(e) {
|
|
1069
1072
|
return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
|
|
1070
1073
|
}
|
|
1071
1074
|
//#endregion
|
|
1072
1075
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js
|
|
1073
|
-
function
|
|
1076
|
+
function At(e) {
|
|
1074
1077
|
return function() {
|
|
1075
1078
|
this.style.removeProperty(e);
|
|
1076
1079
|
};
|
|
1077
1080
|
}
|
|
1078
|
-
function
|
|
1081
|
+
function jt(e, t, n) {
|
|
1079
1082
|
return function() {
|
|
1080
1083
|
this.style.setProperty(e, t, n);
|
|
1081
1084
|
};
|
|
1082
1085
|
}
|
|
1083
|
-
function
|
|
1086
|
+
function Mt(e, t, n) {
|
|
1084
1087
|
return function() {
|
|
1085
1088
|
var r = t.apply(this, arguments);
|
|
1086
1089
|
r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
|
|
1087
1090
|
};
|
|
1088
1091
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return arguments.length > 1 ? this.each((t == null ?
|
|
1092
|
+
function Nt(e, t, n) {
|
|
1093
|
+
return arguments.length > 1 ? this.each((t == null ? At : typeof t == "function" ? Mt : jt)(e, t, n ?? "")) : E(this.node(), e);
|
|
1091
1094
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return e.style.getPropertyValue(t) ||
|
|
1095
|
+
function E(e, t) {
|
|
1096
|
+
return e.style.getPropertyValue(t) || kt(e).getComputedStyle(e, null).getPropertyValue(t);
|
|
1094
1097
|
}
|
|
1095
1098
|
//#endregion
|
|
1096
1099
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js
|
|
1097
|
-
function
|
|
1100
|
+
function Pt(e) {
|
|
1098
1101
|
return function() {
|
|
1099
1102
|
delete this[e];
|
|
1100
1103
|
};
|
|
1101
1104
|
}
|
|
1102
|
-
function
|
|
1105
|
+
function Ft(e, t) {
|
|
1103
1106
|
return function() {
|
|
1104
1107
|
this[e] = t;
|
|
1105
1108
|
};
|
|
1106
1109
|
}
|
|
1107
|
-
function
|
|
1110
|
+
function It(e, t) {
|
|
1108
1111
|
return function() {
|
|
1109
1112
|
var n = t.apply(this, arguments);
|
|
1110
1113
|
n == null ? delete this[e] : this[e] = n;
|
|
1111
1114
|
};
|
|
1112
1115
|
}
|
|
1113
|
-
function
|
|
1114
|
-
return arguments.length > 1 ? this.each((t == null ?
|
|
1116
|
+
function Lt(e, t) {
|
|
1117
|
+
return arguments.length > 1 ? this.each((t == null ? Pt : typeof t == "function" ? It : Ft)(e, t)) : this.node()[e];
|
|
1115
1118
|
}
|
|
1116
1119
|
//#endregion
|
|
1117
1120
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js
|
|
1118
|
-
function
|
|
1121
|
+
function Rt(e) {
|
|
1119
1122
|
return e.trim().split(/^|\s+/);
|
|
1120
1123
|
}
|
|
1121
|
-
function
|
|
1122
|
-
return e.classList || new
|
|
1124
|
+
function zt(e) {
|
|
1125
|
+
return e.classList || new Bt(e);
|
|
1123
1126
|
}
|
|
1124
|
-
function
|
|
1125
|
-
this._node = e, this._names =
|
|
1127
|
+
function Bt(e) {
|
|
1128
|
+
this._node = e, this._names = Rt(e.getAttribute("class") || "");
|
|
1126
1129
|
}
|
|
1127
|
-
|
|
1130
|
+
Bt.prototype = {
|
|
1128
1131
|
add: function(e) {
|
|
1129
1132
|
this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
|
|
1130
1133
|
},
|
|
@@ -1136,141 +1139,141 @@ Vt.prototype = {
|
|
|
1136
1139
|
return this._names.indexOf(e) >= 0;
|
|
1137
1140
|
}
|
|
1138
1141
|
};
|
|
1142
|
+
function Vt(e, t) {
|
|
1143
|
+
for (var n = zt(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
|
|
1144
|
+
}
|
|
1139
1145
|
function Ht(e, t) {
|
|
1140
|
-
for (var n =
|
|
1146
|
+
for (var n = zt(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
|
|
1141
1147
|
}
|
|
1142
|
-
function Ut(e
|
|
1143
|
-
|
|
1148
|
+
function Ut(e) {
|
|
1149
|
+
return function() {
|
|
1150
|
+
Vt(this, e);
|
|
1151
|
+
};
|
|
1144
1152
|
}
|
|
1145
1153
|
function Wt(e) {
|
|
1146
1154
|
return function() {
|
|
1147
1155
|
Ht(this, e);
|
|
1148
1156
|
};
|
|
1149
1157
|
}
|
|
1150
|
-
function Gt(e) {
|
|
1158
|
+
function Gt(e, t) {
|
|
1151
1159
|
return function() {
|
|
1152
|
-
|
|
1160
|
+
(t.apply(this, arguments) ? Vt : Ht)(this, e);
|
|
1153
1161
|
};
|
|
1154
1162
|
}
|
|
1155
1163
|
function Kt(e, t) {
|
|
1156
|
-
|
|
1157
|
-
(t.apply(this, arguments) ? Ht : Ut)(this, e);
|
|
1158
|
-
};
|
|
1159
|
-
}
|
|
1160
|
-
function qt(e, t) {
|
|
1161
|
-
var n = zt(e + "");
|
|
1164
|
+
var n = Rt(e + "");
|
|
1162
1165
|
if (arguments.length < 2) {
|
|
1163
|
-
for (var r =
|
|
1166
|
+
for (var r = zt(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
|
|
1164
1167
|
return !0;
|
|
1165
1168
|
}
|
|
1166
|
-
return this.each((typeof t == "function" ?
|
|
1169
|
+
return this.each((typeof t == "function" ? Gt : t ? Ut : Wt)(n, t));
|
|
1167
1170
|
}
|
|
1168
1171
|
//#endregion
|
|
1169
1172
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js
|
|
1170
|
-
function
|
|
1173
|
+
function qt() {
|
|
1171
1174
|
this.textContent = "";
|
|
1172
1175
|
}
|
|
1173
|
-
function
|
|
1176
|
+
function Jt(e) {
|
|
1174
1177
|
return function() {
|
|
1175
1178
|
this.textContent = e;
|
|
1176
1179
|
};
|
|
1177
1180
|
}
|
|
1178
|
-
function
|
|
1181
|
+
function Yt(e) {
|
|
1179
1182
|
return function() {
|
|
1180
1183
|
this.textContent = e.apply(this, arguments) ?? "";
|
|
1181
1184
|
};
|
|
1182
1185
|
}
|
|
1183
|
-
function
|
|
1184
|
-
return arguments.length ? this.each(e == null ?
|
|
1186
|
+
function Xt(e) {
|
|
1187
|
+
return arguments.length ? this.each(e == null ? qt : (typeof e == "function" ? Yt : Jt)(e)) : this.node().textContent;
|
|
1185
1188
|
}
|
|
1186
1189
|
//#endregion
|
|
1187
1190
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js
|
|
1188
|
-
function
|
|
1191
|
+
function Zt() {
|
|
1189
1192
|
this.innerHTML = "";
|
|
1190
1193
|
}
|
|
1191
|
-
function
|
|
1194
|
+
function Qt(e) {
|
|
1192
1195
|
return function() {
|
|
1193
1196
|
this.innerHTML = e;
|
|
1194
1197
|
};
|
|
1195
1198
|
}
|
|
1196
|
-
function
|
|
1199
|
+
function $t(e) {
|
|
1197
1200
|
return function() {
|
|
1198
1201
|
this.innerHTML = e.apply(this, arguments) ?? "";
|
|
1199
1202
|
};
|
|
1200
1203
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return arguments.length ? this.each(e == null ?
|
|
1204
|
+
function en(e) {
|
|
1205
|
+
return arguments.length ? this.each(e == null ? Zt : (typeof e == "function" ? $t : Qt)(e)) : this.node().innerHTML;
|
|
1203
1206
|
}
|
|
1204
1207
|
//#endregion
|
|
1205
1208
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js
|
|
1206
|
-
function
|
|
1209
|
+
function tn() {
|
|
1207
1210
|
this.nextSibling && this.parentNode.appendChild(this);
|
|
1208
1211
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return this.each(
|
|
1212
|
+
function nn() {
|
|
1213
|
+
return this.each(tn);
|
|
1211
1214
|
}
|
|
1212
1215
|
//#endregion
|
|
1213
1216
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js
|
|
1214
|
-
function
|
|
1217
|
+
function rn() {
|
|
1215
1218
|
this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
|
|
1216
1219
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return this.each(
|
|
1220
|
+
function an() {
|
|
1221
|
+
return this.each(rn);
|
|
1219
1222
|
}
|
|
1220
1223
|
//#endregion
|
|
1221
1224
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js
|
|
1222
|
-
function
|
|
1223
|
-
var t = typeof e == "function" ? e :
|
|
1225
|
+
function on(e) {
|
|
1226
|
+
var t = typeof e == "function" ? e : Fe(e);
|
|
1224
1227
|
return this.select(function() {
|
|
1225
1228
|
return this.appendChild(t.apply(this, arguments));
|
|
1226
1229
|
});
|
|
1227
1230
|
}
|
|
1228
1231
|
//#endregion
|
|
1229
1232
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js
|
|
1230
|
-
function
|
|
1233
|
+
function sn() {
|
|
1231
1234
|
return null;
|
|
1232
1235
|
}
|
|
1233
|
-
function
|
|
1234
|
-
var n = typeof e == "function" ? e :
|
|
1236
|
+
function cn(e, t) {
|
|
1237
|
+
var n = typeof e == "function" ? e : Fe(e), r = t == null ? sn : typeof t == "function" ? t : Le(t);
|
|
1235
1238
|
return this.select(function() {
|
|
1236
1239
|
return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
|
|
1237
1240
|
});
|
|
1238
1241
|
}
|
|
1239
1242
|
//#endregion
|
|
1240
1243
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js
|
|
1241
|
-
function
|
|
1244
|
+
function ln() {
|
|
1242
1245
|
var e = this.parentNode;
|
|
1243
1246
|
e && e.removeChild(this);
|
|
1244
1247
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return this.each(
|
|
1248
|
+
function un() {
|
|
1249
|
+
return this.each(ln);
|
|
1247
1250
|
}
|
|
1248
1251
|
//#endregion
|
|
1249
1252
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js
|
|
1250
|
-
function
|
|
1253
|
+
function dn() {
|
|
1251
1254
|
var e = this.cloneNode(!1), t = this.parentNode;
|
|
1252
1255
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
1253
1256
|
}
|
|
1254
|
-
function
|
|
1257
|
+
function fn() {
|
|
1255
1258
|
var e = this.cloneNode(!0), t = this.parentNode;
|
|
1256
1259
|
return t ? t.insertBefore(e, this.nextSibling) : e;
|
|
1257
1260
|
}
|
|
1258
|
-
function
|
|
1259
|
-
return this.select(e ?
|
|
1261
|
+
function pn(e) {
|
|
1262
|
+
return this.select(e ? fn : dn);
|
|
1260
1263
|
}
|
|
1261
1264
|
//#endregion
|
|
1262
1265
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js
|
|
1263
|
-
function
|
|
1266
|
+
function mn(e) {
|
|
1264
1267
|
return arguments.length ? this.property("__data__", e) : this.node().__data__;
|
|
1265
1268
|
}
|
|
1266
1269
|
//#endregion
|
|
1267
1270
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js
|
|
1268
|
-
function
|
|
1271
|
+
function hn(e) {
|
|
1269
1272
|
return function(t) {
|
|
1270
1273
|
e.call(this, t, this.__data__);
|
|
1271
1274
|
};
|
|
1272
1275
|
}
|
|
1273
|
-
function
|
|
1276
|
+
function gn(e) {
|
|
1274
1277
|
return e.trim().split(/^|\s+/).map(function(e) {
|
|
1275
1278
|
var t = "", n = e.indexOf(".");
|
|
1276
1279
|
return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
|
|
@@ -1279,7 +1282,7 @@ function _n(e) {
|
|
|
1279
1282
|
};
|
|
1280
1283
|
});
|
|
1281
1284
|
}
|
|
1282
|
-
function
|
|
1285
|
+
function _n(e) {
|
|
1283
1286
|
return function() {
|
|
1284
1287
|
var t = this.__on;
|
|
1285
1288
|
if (t) {
|
|
@@ -1288,9 +1291,9 @@ function vn(e) {
|
|
|
1288
1291
|
}
|
|
1289
1292
|
};
|
|
1290
1293
|
}
|
|
1291
|
-
function
|
|
1294
|
+
function vn(e, t, n) {
|
|
1292
1295
|
return function() {
|
|
1293
|
-
var r = this.__on, i, a =
|
|
1296
|
+
var r = this.__on, i, a = hn(t);
|
|
1294
1297
|
if (r) {
|
|
1295
1298
|
for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
|
|
1296
1299
|
this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
|
|
@@ -1306,8 +1309,8 @@ function yn(e, t, n) {
|
|
|
1306
1309
|
}, r ? r.push(i) : this.__on = [i];
|
|
1307
1310
|
};
|
|
1308
1311
|
}
|
|
1309
|
-
function
|
|
1310
|
-
var r =
|
|
1312
|
+
function yn(e, t, n) {
|
|
1313
|
+
var r = gn(e + ""), i, a = r.length, o;
|
|
1311
1314
|
if (arguments.length < 2) {
|
|
1312
1315
|
var s = this.node().__on;
|
|
1313
1316
|
if (s) {
|
|
@@ -1315,97 +1318,97 @@ function bn(e, t, n) {
|
|
|
1315
1318
|
}
|
|
1316
1319
|
return;
|
|
1317
1320
|
}
|
|
1318
|
-
for (s = t ?
|
|
1321
|
+
for (s = t ? vn : _n, i = 0; i < a; ++i) this.each(s(r[i], t, n));
|
|
1319
1322
|
return this;
|
|
1320
1323
|
}
|
|
1321
1324
|
//#endregion
|
|
1322
1325
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js
|
|
1323
|
-
function
|
|
1324
|
-
var r =
|
|
1326
|
+
function bn(e, t, n) {
|
|
1327
|
+
var r = kt(e), i = r.CustomEvent;
|
|
1325
1328
|
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);
|
|
1326
1329
|
}
|
|
1327
|
-
function
|
|
1330
|
+
function xn(e, t) {
|
|
1328
1331
|
return function() {
|
|
1329
|
-
return
|
|
1332
|
+
return bn(this, e, t);
|
|
1330
1333
|
};
|
|
1331
1334
|
}
|
|
1332
|
-
function
|
|
1335
|
+
function Sn(e, t) {
|
|
1333
1336
|
return function() {
|
|
1334
|
-
return
|
|
1337
|
+
return bn(this, e, t.apply(this, arguments));
|
|
1335
1338
|
};
|
|
1336
1339
|
}
|
|
1337
|
-
function
|
|
1338
|
-
return this.each((typeof t == "function" ?
|
|
1340
|
+
function Cn(e, t) {
|
|
1341
|
+
return this.each((typeof t == "function" ? Sn : xn)(e, t));
|
|
1339
1342
|
}
|
|
1340
1343
|
//#endregion
|
|
1341
1344
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js
|
|
1342
|
-
function*
|
|
1345
|
+
function* wn() {
|
|
1343
1346
|
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);
|
|
1344
1347
|
}
|
|
1345
1348
|
//#endregion
|
|
1346
1349
|
//#region ../../node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js
|
|
1347
|
-
var
|
|
1348
|
-
function
|
|
1350
|
+
var Tn = [null];
|
|
1351
|
+
function D(e, t) {
|
|
1349
1352
|
this._groups = e, this._parents = t;
|
|
1350
1353
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return new
|
|
1354
|
+
function O() {
|
|
1355
|
+
return new D([[document.documentElement]], Tn);
|
|
1353
1356
|
}
|
|
1354
|
-
function
|
|
1357
|
+
function En() {
|
|
1355
1358
|
return this;
|
|
1356
1359
|
}
|
|
1357
|
-
|
|
1358
|
-
constructor:
|
|
1359
|
-
select:
|
|
1360
|
-
selectAll:
|
|
1361
|
-
selectChild:
|
|
1362
|
-
selectChildren:
|
|
1363
|
-
filter:
|
|
1364
|
-
data:
|
|
1365
|
-
enter:
|
|
1366
|
-
exit:
|
|
1367
|
-
join:
|
|
1368
|
-
merge:
|
|
1369
|
-
selection:
|
|
1370
|
-
order:
|
|
1371
|
-
sort:
|
|
1372
|
-
call:
|
|
1373
|
-
nodes:
|
|
1374
|
-
node:
|
|
1375
|
-
size:
|
|
1376
|
-
empty:
|
|
1377
|
-
each:
|
|
1378
|
-
attr:
|
|
1379
|
-
style:
|
|
1380
|
-
property:
|
|
1381
|
-
classed:
|
|
1382
|
-
text:
|
|
1383
|
-
html:
|
|
1384
|
-
raise:
|
|
1385
|
-
lower:
|
|
1386
|
-
append:
|
|
1387
|
-
insert:
|
|
1388
|
-
remove:
|
|
1389
|
-
clone:
|
|
1390
|
-
datum:
|
|
1391
|
-
on:
|
|
1392
|
-
dispatch:
|
|
1393
|
-
[Symbol.iterator]:
|
|
1360
|
+
D.prototype = O.prototype = {
|
|
1361
|
+
constructor: D,
|
|
1362
|
+
select: Re,
|
|
1363
|
+
selectAll: Ue,
|
|
1364
|
+
selectChild: Ye,
|
|
1365
|
+
selectChildren: $e,
|
|
1366
|
+
filter: et,
|
|
1367
|
+
data: ct,
|
|
1368
|
+
enter: nt,
|
|
1369
|
+
exit: ut,
|
|
1370
|
+
join: dt,
|
|
1371
|
+
merge: ft,
|
|
1372
|
+
selection: En,
|
|
1373
|
+
order: pt,
|
|
1374
|
+
sort: mt,
|
|
1375
|
+
call: gt,
|
|
1376
|
+
nodes: _t,
|
|
1377
|
+
node: vt,
|
|
1378
|
+
size: yt,
|
|
1379
|
+
empty: bt,
|
|
1380
|
+
each: xt,
|
|
1381
|
+
attr: Ot,
|
|
1382
|
+
style: Nt,
|
|
1383
|
+
property: Lt,
|
|
1384
|
+
classed: Kt,
|
|
1385
|
+
text: Xt,
|
|
1386
|
+
html: en,
|
|
1387
|
+
raise: nn,
|
|
1388
|
+
lower: an,
|
|
1389
|
+
append: on,
|
|
1390
|
+
insert: cn,
|
|
1391
|
+
remove: un,
|
|
1392
|
+
clone: pn,
|
|
1393
|
+
datum: mn,
|
|
1394
|
+
on: yn,
|
|
1395
|
+
dispatch: Cn,
|
|
1396
|
+
[Symbol.iterator]: wn
|
|
1394
1397
|
};
|
|
1395
1398
|
//#endregion
|
|
1396
1399
|
//#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js
|
|
1397
|
-
function
|
|
1400
|
+
function Dn(e, t, n) {
|
|
1398
1401
|
e.prototype = t.prototype = n, n.constructor = e;
|
|
1399
1402
|
}
|
|
1400
|
-
function
|
|
1403
|
+
function On(e, t) {
|
|
1401
1404
|
var n = Object.create(e.prototype);
|
|
1402
1405
|
for (var r in t) n[r] = t[r];
|
|
1403
1406
|
return n;
|
|
1404
1407
|
}
|
|
1405
1408
|
//#endregion
|
|
1406
1409
|
//#region ../../node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js
|
|
1407
|
-
function
|
|
1408
|
-
var
|
|
1410
|
+
function k() {}
|
|
1411
|
+
var A = .7, kn = 1 / A, j = "\\s*([+-]?\\d+)\\s*", M = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", N = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", An = /^#([0-9a-f]{3,8})$/, jn = RegExp(`^rgb\\(${j},${j},${j}\\)$`), Mn = RegExp(`^rgb\\(${N},${N},${N}\\)$`), Nn = RegExp(`^rgba\\(${j},${j},${j},${M}\\)$`), Pn = RegExp(`^rgba\\(${N},${N},${N},${M}\\)$`), Fn = RegExp(`^hsl\\(${M},${N},${N}\\)$`), In = RegExp(`^hsla\\(${M},${N},${N},${M}\\)$`), Ln = {
|
|
1409
1412
|
aliceblue: 15792383,
|
|
1410
1413
|
antiquewhite: 16444375,
|
|
1411
1414
|
aqua: 65535,
|
|
@@ -1555,135 +1558,135 @@ var O = .7, An = 1 / O, k = "\\s*([+-]?\\d+)\\s*", A = "\\s*([+-]?(?:\\d*\\.)?\\
|
|
|
1555
1558
|
yellow: 16776960,
|
|
1556
1559
|
yellowgreen: 10145074
|
|
1557
1560
|
};
|
|
1558
|
-
|
|
1561
|
+
Dn(k, P, {
|
|
1559
1562
|
copy(e) {
|
|
1560
1563
|
return Object.assign(new this.constructor(), this, e);
|
|
1561
1564
|
},
|
|
1562
1565
|
displayable() {
|
|
1563
1566
|
return this.rgb().displayable();
|
|
1564
1567
|
},
|
|
1565
|
-
hex:
|
|
1566
|
-
formatHex:
|
|
1567
|
-
formatHex8:
|
|
1568
|
-
formatHsl:
|
|
1569
|
-
formatRgb:
|
|
1570
|
-
toString:
|
|
1568
|
+
hex: Rn,
|
|
1569
|
+
formatHex: Rn,
|
|
1570
|
+
formatHex8: zn,
|
|
1571
|
+
formatHsl: Bn,
|
|
1572
|
+
formatRgb: Vn,
|
|
1573
|
+
toString: Vn
|
|
1571
1574
|
});
|
|
1572
|
-
function
|
|
1575
|
+
function Rn() {
|
|
1573
1576
|
return this.rgb().formatHex();
|
|
1574
1577
|
}
|
|
1575
|
-
function
|
|
1578
|
+
function zn() {
|
|
1576
1579
|
return this.rgb().formatHex8();
|
|
1577
1580
|
}
|
|
1578
|
-
function
|
|
1581
|
+
function Bn() {
|
|
1579
1582
|
return Zn(this).formatHsl();
|
|
1580
1583
|
}
|
|
1581
|
-
function
|
|
1584
|
+
function Vn() {
|
|
1582
1585
|
return this.rgb().formatRgb();
|
|
1583
1586
|
}
|
|
1584
|
-
function
|
|
1587
|
+
function P(e) {
|
|
1585
1588
|
var t, n;
|
|
1586
|
-
return e = (e + "").trim().toLowerCase(), (t =
|
|
1589
|
+
return e = (e + "").trim().toLowerCase(), (t = An.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Hn(t) : n === 3 ? new F(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Un(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Un(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 = jn.exec(e)) ? new F(t[1], t[2], t[3], 1) : (t = Mn.exec(e)) ? new F(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Nn.exec(e)) ? Un(t[1], t[2], t[3], t[4]) : (t = Pn.exec(e)) ? Un(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Fn.exec(e)) ? Xn(t[1], t[2] / 100, t[3] / 100, 1) : (t = In.exec(e)) ? Xn(t[1], t[2] / 100, t[3] / 100, t[4]) : Ln.hasOwnProperty(e) ? Hn(Ln[e]) : e === "transparent" ? new F(NaN, NaN, NaN, 0) : null;
|
|
1587
1590
|
}
|
|
1588
|
-
function
|
|
1589
|
-
return new
|
|
1591
|
+
function Hn(e) {
|
|
1592
|
+
return new F(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
1590
1593
|
}
|
|
1591
|
-
function
|
|
1592
|
-
return r <= 0 && (e = t = n = NaN), new
|
|
1594
|
+
function Un(e, t, n, r) {
|
|
1595
|
+
return r <= 0 && (e = t = n = NaN), new F(e, t, n, r);
|
|
1593
1596
|
}
|
|
1594
|
-
function
|
|
1595
|
-
return e instanceof
|
|
1597
|
+
function Wn(e) {
|
|
1598
|
+
return e instanceof k || (e = P(e)), e ? (e = e.rgb(), new F(e.r, e.g, e.b, e.opacity)) : new F();
|
|
1596
1599
|
}
|
|
1597
|
-
function
|
|
1598
|
-
return arguments.length === 1 ?
|
|
1600
|
+
function Gn(e, t, n, r) {
|
|
1601
|
+
return arguments.length === 1 ? Wn(e) : new F(e, t, n, r ?? 1);
|
|
1599
1602
|
}
|
|
1600
|
-
function
|
|
1603
|
+
function F(e, t, n, r) {
|
|
1601
1604
|
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
1602
1605
|
}
|
|
1603
|
-
|
|
1606
|
+
Dn(F, Gn, On(k, {
|
|
1604
1607
|
brighter(e) {
|
|
1605
|
-
return e = e == null ?
|
|
1608
|
+
return e = e == null ? kn : kn ** +e, new F(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
1606
1609
|
},
|
|
1607
1610
|
darker(e) {
|
|
1608
|
-
return e = e == null ?
|
|
1611
|
+
return e = e == null ? A : A ** +e, new F(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
1609
1612
|
},
|
|
1610
1613
|
rgb() {
|
|
1611
1614
|
return this;
|
|
1612
1615
|
},
|
|
1613
1616
|
clamp() {
|
|
1614
|
-
return new
|
|
1617
|
+
return new F(I(this.r), I(this.g), I(this.b), Yn(this.opacity));
|
|
1615
1618
|
},
|
|
1616
1619
|
displayable() {
|
|
1617
1620
|
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;
|
|
1618
1621
|
},
|
|
1619
|
-
hex:
|
|
1620
|
-
formatHex:
|
|
1621
|
-
formatHex8:
|
|
1622
|
-
formatRgb:
|
|
1623
|
-
toString:
|
|
1622
|
+
hex: Kn,
|
|
1623
|
+
formatHex: Kn,
|
|
1624
|
+
formatHex8: qn,
|
|
1625
|
+
formatRgb: Jn,
|
|
1626
|
+
toString: Jn
|
|
1624
1627
|
}));
|
|
1628
|
+
function Kn() {
|
|
1629
|
+
return `#${L(this.r)}${L(this.g)}${L(this.b)}`;
|
|
1630
|
+
}
|
|
1625
1631
|
function qn() {
|
|
1626
|
-
return `#${
|
|
1632
|
+
return `#${L(this.r)}${L(this.g)}${L(this.b)}${L((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
|
|
1627
1633
|
}
|
|
1628
1634
|
function Jn() {
|
|
1629
|
-
|
|
1635
|
+
let e = Yn(this.opacity);
|
|
1636
|
+
return `${e === 1 ? "rgb(" : "rgba("}${I(this.r)}, ${I(this.g)}, ${I(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
1630
1637
|
}
|
|
1631
|
-
function Yn() {
|
|
1632
|
-
let e = P(this.opacity);
|
|
1633
|
-
return `${e === 1 ? "rgb(" : "rgba("}${F(this.r)}, ${F(this.g)}, ${F(this.b)}${e === 1 ? ")" : `, ${e})`}`;
|
|
1634
|
-
}
|
|
1635
|
-
function P(e) {
|
|
1638
|
+
function Yn(e) {
|
|
1636
1639
|
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
|
|
1637
1640
|
}
|
|
1638
|
-
function
|
|
1641
|
+
function I(e) {
|
|
1639
1642
|
return Math.max(0, Math.min(255, Math.round(e) || 0));
|
|
1640
1643
|
}
|
|
1641
|
-
function
|
|
1642
|
-
return e =
|
|
1644
|
+
function L(e) {
|
|
1645
|
+
return e = I(e), (e < 16 ? "0" : "") + e.toString(16);
|
|
1643
1646
|
}
|
|
1644
1647
|
function Xn(e, t, n, r) {
|
|
1645
|
-
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new
|
|
1648
|
+
return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new R(e, t, n, r);
|
|
1646
1649
|
}
|
|
1647
1650
|
function Zn(e) {
|
|
1648
|
-
if (e instanceof
|
|
1649
|
-
if (e instanceof
|
|
1650
|
-
if (e instanceof
|
|
1651
|
+
if (e instanceof R) return new R(e.h, e.s, e.l, e.opacity);
|
|
1652
|
+
if (e instanceof k || (e = P(e)), !e) return new R();
|
|
1653
|
+
if (e instanceof R) return e;
|
|
1651
1654
|
e = e.rgb();
|
|
1652
1655
|
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;
|
|
1653
|
-
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
|
|
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 R(o, s, c, e.opacity);
|
|
1654
1657
|
}
|
|
1655
1658
|
function Qn(e, t, n, r) {
|
|
1656
|
-
return arguments.length === 1 ? Zn(e) : new
|
|
1659
|
+
return arguments.length === 1 ? Zn(e) : new R(e, t, n, r ?? 1);
|
|
1657
1660
|
}
|
|
1658
|
-
function
|
|
1661
|
+
function R(e, t, n, r) {
|
|
1659
1662
|
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
|
|
1660
1663
|
}
|
|
1661
|
-
|
|
1664
|
+
Dn(R, Qn, On(k, {
|
|
1662
1665
|
brighter(e) {
|
|
1663
|
-
return e = e == null ?
|
|
1666
|
+
return e = e == null ? kn : kn ** +e, new R(this.h, this.s, this.l * e, this.opacity);
|
|
1664
1667
|
},
|
|
1665
1668
|
darker(e) {
|
|
1666
|
-
return e = e == null ?
|
|
1669
|
+
return e = e == null ? A : A ** +e, new R(this.h, this.s, this.l * e, this.opacity);
|
|
1667
1670
|
},
|
|
1668
1671
|
rgb() {
|
|
1669
1672
|
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;
|
|
1670
|
-
return new
|
|
1673
|
+
return new F(er(e >= 240 ? e - 240 : e + 120, i, r), er(e, i, r), er(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
|
|
1671
1674
|
},
|
|
1672
1675
|
clamp() {
|
|
1673
|
-
return new
|
|
1676
|
+
return new R($n(this.h), z(this.s), z(this.l), Yn(this.opacity));
|
|
1674
1677
|
},
|
|
1675
1678
|
displayable() {
|
|
1676
1679
|
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
|
|
1677
1680
|
},
|
|
1678
1681
|
formatHsl() {
|
|
1679
|
-
let e =
|
|
1680
|
-
return `${e === 1 ? "hsl(" : "hsla("}${$n(this.h)}, ${
|
|
1682
|
+
let e = Yn(this.opacity);
|
|
1683
|
+
return `${e === 1 ? "hsl(" : "hsla("}${$n(this.h)}, ${z(this.s) * 100}%, ${z(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
|
|
1681
1684
|
}
|
|
1682
1685
|
}));
|
|
1683
1686
|
function $n(e) {
|
|
1684
1687
|
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
|
|
1685
1688
|
}
|
|
1686
|
-
function
|
|
1689
|
+
function z(e) {
|
|
1687
1690
|
return Math.max(0, Math.min(1, e || 0));
|
|
1688
1691
|
}
|
|
1689
1692
|
function er(e, t, n) {
|
|
@@ -1715,10 +1718,10 @@ function ar(e, t) {
|
|
|
1715
1718
|
}
|
|
1716
1719
|
//#endregion
|
|
1717
1720
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js
|
|
1718
|
-
var
|
|
1721
|
+
var B = (function e(t) {
|
|
1719
1722
|
var n = ir(t);
|
|
1720
1723
|
function r(e, t) {
|
|
1721
|
-
var r = n((e =
|
|
1724
|
+
var r = n((e = Gn(e)).r, (t = Gn(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = ar(e.opacity, t.opacity);
|
|
1722
1725
|
return function(t) {
|
|
1723
1726
|
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
|
|
1724
1727
|
};
|
|
@@ -1742,7 +1745,7 @@ function sr(e) {
|
|
|
1742
1745
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js
|
|
1743
1746
|
function cr(e, t) {
|
|
1744
1747
|
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
|
|
1745
|
-
for (o = 0; o < r; ++o) i[o] =
|
|
1748
|
+
for (o = 0; o < r; ++o) i[o] = gr(e[o], t[o]);
|
|
1746
1749
|
for (; o < n; ++o) a[o] = t[o];
|
|
1747
1750
|
return function(e) {
|
|
1748
1751
|
for (o = 0; o < r; ++o) a[o] = i[o](e);
|
|
@@ -1759,7 +1762,7 @@ function lr(e, t) {
|
|
|
1759
1762
|
}
|
|
1760
1763
|
//#endregion
|
|
1761
1764
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js
|
|
1762
|
-
function
|
|
1765
|
+
function V(e, t) {
|
|
1763
1766
|
return e = +e, t = +t, function(n) {
|
|
1764
1767
|
return e * (1 - n) + t * n;
|
|
1765
1768
|
};
|
|
@@ -1768,7 +1771,7 @@ function B(e, t) {
|
|
|
1768
1771
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js
|
|
1769
1772
|
function ur(e, t) {
|
|
1770
1773
|
var n = {}, r = {}, i;
|
|
1771
|
-
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] =
|
|
1774
|
+
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = gr(e[i], t[i]) : r[i] = t[i];
|
|
1772
1775
|
return function(e) {
|
|
1773
1776
|
for (i in n) r[i] = n[i](e);
|
|
1774
1777
|
return r;
|
|
@@ -1791,7 +1794,7 @@ function hr(e, t) {
|
|
|
1791
1794
|
var n = dr.lastIndex = fr.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
|
|
1792
1795
|
for (e += "", t += ""; (r = dr.exec(e)) && (i = fr.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({
|
|
1793
1796
|
i: o,
|
|
1794
|
-
x:
|
|
1797
|
+
x: V(r, i)
|
|
1795
1798
|
})), n = fr.lastIndex;
|
|
1796
1799
|
return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? mr(c[0].x) : pr(t) : (t = c.length, function(e) {
|
|
1797
1800
|
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
|
|
@@ -1800,20 +1803,20 @@ function hr(e, t) {
|
|
|
1800
1803
|
}
|
|
1801
1804
|
//#endregion
|
|
1802
1805
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js
|
|
1803
|
-
function
|
|
1806
|
+
function gr(e, t) {
|
|
1804
1807
|
var n = typeof t, r;
|
|
1805
|
-
return t == null || n === "boolean" ? tr(t) : (n === "number" ?
|
|
1808
|
+
return t == null || n === "boolean" ? tr(t) : (n === "number" ? V : n === "string" ? (r = P(t)) ? (t = r, B) : hr : t instanceof P ? B : t instanceof Date ? lr : sr(t) ? or : Array.isArray(t) ? cr : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? ur : V)(e, t);
|
|
1806
1809
|
}
|
|
1807
1810
|
//#endregion
|
|
1808
1811
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js
|
|
1809
|
-
function
|
|
1812
|
+
function _r(e, t) {
|
|
1810
1813
|
return e = +e, t = +t, function(n) {
|
|
1811
1814
|
return Math.round(e * (1 - n) + t * n);
|
|
1812
1815
|
};
|
|
1813
1816
|
}
|
|
1814
1817
|
//#endregion
|
|
1815
1818
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.js
|
|
1816
|
-
var
|
|
1819
|
+
var vr = 180 / Math.PI, yr = {
|
|
1817
1820
|
translateX: 0,
|
|
1818
1821
|
translateY: 0,
|
|
1819
1822
|
rotate: 0,
|
|
@@ -1821,30 +1824,30 @@ var _r = 180 / Math.PI, vr = {
|
|
|
1821
1824
|
scaleX: 1,
|
|
1822
1825
|
scaleY: 1
|
|
1823
1826
|
};
|
|
1824
|
-
function
|
|
1827
|
+
function br(e, t, n, r, i, a) {
|
|
1825
1828
|
var o, s, c;
|
|
1826
1829
|
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), {
|
|
1827
1830
|
translateX: i,
|
|
1828
1831
|
translateY: a,
|
|
1829
|
-
rotate: Math.atan2(t, e) *
|
|
1830
|
-
skewX: Math.atan(c) *
|
|
1832
|
+
rotate: Math.atan2(t, e) * vr,
|
|
1833
|
+
skewX: Math.atan(c) * vr,
|
|
1831
1834
|
scaleX: o,
|
|
1832
1835
|
scaleY: s
|
|
1833
1836
|
};
|
|
1834
1837
|
}
|
|
1835
1838
|
//#endregion
|
|
1836
1839
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.js
|
|
1837
|
-
var
|
|
1838
|
-
function
|
|
1840
|
+
var xr;
|
|
1841
|
+
function Sr(e) {
|
|
1839
1842
|
let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
|
|
1840
|
-
return t.isIdentity ?
|
|
1843
|
+
return t.isIdentity ? yr : br(t.a, t.b, t.c, t.d, t.e, t.f);
|
|
1841
1844
|
}
|
|
1842
|
-
function
|
|
1843
|
-
return e == null || (
|
|
1845
|
+
function Cr(e) {
|
|
1846
|
+
return e == null || (xr ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), xr.setAttribute("transform", e), !(e = xr.transform.baseVal.consolidate())) ? yr : (e = e.matrix, br(e.a, e.b, e.c, e.d, e.e, e.f));
|
|
1844
1847
|
}
|
|
1845
1848
|
//#endregion
|
|
1846
1849
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.js
|
|
1847
|
-
function
|
|
1850
|
+
function wr(e, t, n, r) {
|
|
1848
1851
|
function i(e) {
|
|
1849
1852
|
return e.length ? e.pop() + " " : "";
|
|
1850
1853
|
}
|
|
@@ -1853,23 +1856,23 @@ function Cr(e, t, n, r) {
|
|
|
1853
1856
|
var c = o.push("translate(", null, t, null, n);
|
|
1854
1857
|
s.push({
|
|
1855
1858
|
i: c - 4,
|
|
1856
|
-
x:
|
|
1859
|
+
x: V(e, i)
|
|
1857
1860
|
}, {
|
|
1858
1861
|
i: c - 2,
|
|
1859
|
-
x:
|
|
1862
|
+
x: V(r, a)
|
|
1860
1863
|
});
|
|
1861
1864
|
} else (i || a) && o.push("translate(" + i + t + a + n);
|
|
1862
1865
|
}
|
|
1863
1866
|
function o(e, t, n, a) {
|
|
1864
1867
|
e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
|
|
1865
1868
|
i: n.push(i(n) + "rotate(", null, r) - 2,
|
|
1866
|
-
x:
|
|
1869
|
+
x: V(e, t)
|
|
1867
1870
|
}));
|
|
1868
1871
|
}
|
|
1869
1872
|
function s(e, t, n, a) {
|
|
1870
1873
|
e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
|
|
1871
1874
|
i: n.push(i(n) + "skewX(", null, r) - 2,
|
|
1872
|
-
x:
|
|
1875
|
+
x: V(e, t)
|
|
1873
1876
|
});
|
|
1874
1877
|
}
|
|
1875
1878
|
function c(e, t, n, r, a, o) {
|
|
@@ -1877,10 +1880,10 @@ function Cr(e, t, n, r) {
|
|
|
1877
1880
|
var s = a.push(i(a) + "scale(", null, ",", null, ")");
|
|
1878
1881
|
o.push({
|
|
1879
1882
|
i: s - 4,
|
|
1880
|
-
x:
|
|
1883
|
+
x: V(e, n)
|
|
1881
1884
|
}, {
|
|
1882
1885
|
i: s - 2,
|
|
1883
|
-
x:
|
|
1886
|
+
x: V(t, r)
|
|
1884
1887
|
});
|
|
1885
1888
|
} else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
|
|
1886
1889
|
}
|
|
@@ -1892,86 +1895,86 @@ function Cr(e, t, n, r) {
|
|
|
1892
1895
|
};
|
|
1893
1896
|
};
|
|
1894
1897
|
}
|
|
1895
|
-
var
|
|
1898
|
+
var Tr = wr(Sr, "px, ", "px)", "deg)"), Er = wr(Cr, ", ", ")", ")");
|
|
1896
1899
|
//#endregion
|
|
1897
1900
|
//#region ../../node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/quantize.js
|
|
1898
|
-
function
|
|
1901
|
+
function Dr(e, t) {
|
|
1899
1902
|
for (var n = Array(t), r = 0; r < t; ++r) n[r] = e(r / (t - 1));
|
|
1900
1903
|
return n;
|
|
1901
1904
|
}
|
|
1902
1905
|
//#endregion
|
|
1903
1906
|
//#region ../../node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timer.js
|
|
1904
|
-
var H = 0,
|
|
1907
|
+
var H = 0, Or = 0, kr = 0, Ar = 1e3, jr, 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) {
|
|
1905
1908
|
setTimeout(e, 17);
|
|
1906
1909
|
};
|
|
1907
|
-
function Pr() {
|
|
1908
|
-
return W ||= (Nr(Fr), G.now() + Mr);
|
|
1909
|
-
}
|
|
1910
1910
|
function Fr() {
|
|
1911
|
-
W
|
|
1911
|
+
return W ||= (Pr(Ir), G.now() + Nr);
|
|
1912
1912
|
}
|
|
1913
1913
|
function Ir() {
|
|
1914
|
+
W = 0;
|
|
1915
|
+
}
|
|
1916
|
+
function Lr() {
|
|
1914
1917
|
this._call = this._time = this._next = null;
|
|
1915
1918
|
}
|
|
1916
|
-
|
|
1917
|
-
constructor:
|
|
1919
|
+
Lr.prototype = Rr.prototype = {
|
|
1920
|
+
constructor: Lr,
|
|
1918
1921
|
restart: function(e, t, n) {
|
|
1919
1922
|
if (typeof e != "function") throw TypeError("callback is not a function");
|
|
1920
|
-
n = (n == null ?
|
|
1923
|
+
n = (n == null ? Fr() : +n) + (t == null ? 0 : +t), !this._next && U !== this && (U ? U._next = this : jr = this, U = this), this._call = e, this._time = n, Ur();
|
|
1921
1924
|
},
|
|
1922
1925
|
stop: function() {
|
|
1923
|
-
this._call && (this._call = null, this._time = Infinity,
|
|
1926
|
+
this._call && (this._call = null, this._time = Infinity, Ur());
|
|
1924
1927
|
}
|
|
1925
1928
|
};
|
|
1926
|
-
function
|
|
1927
|
-
var r = new
|
|
1929
|
+
function Rr(e, t, n) {
|
|
1930
|
+
var r = new Lr();
|
|
1928
1931
|
return r.restart(e, t, n), r;
|
|
1929
1932
|
}
|
|
1930
|
-
function
|
|
1931
|
-
|
|
1932
|
-
for (var e =
|
|
1933
|
+
function zr() {
|
|
1934
|
+
Fr(), ++H;
|
|
1935
|
+
for (var e = jr, t; e;) (t = W - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
|
|
1933
1936
|
--H;
|
|
1934
1937
|
}
|
|
1935
|
-
function
|
|
1936
|
-
W = (
|
|
1938
|
+
function Br() {
|
|
1939
|
+
W = (Mr = G.now()) + Nr, H = Or = 0;
|
|
1937
1940
|
try {
|
|
1938
|
-
|
|
1941
|
+
zr();
|
|
1939
1942
|
} finally {
|
|
1940
|
-
H = 0,
|
|
1943
|
+
H = 0, Hr(), W = 0;
|
|
1941
1944
|
}
|
|
1942
1945
|
}
|
|
1943
|
-
function Br() {
|
|
1944
|
-
var e = G.now(), t = e - jr;
|
|
1945
|
-
t > kr && (Mr -= t, jr = e);
|
|
1946
|
-
}
|
|
1947
1946
|
function Vr() {
|
|
1948
|
-
|
|
1949
|
-
|
|
1947
|
+
var e = G.now(), t = e - Mr;
|
|
1948
|
+
t > Ar && (Nr -= t, Mr = e);
|
|
1950
1949
|
}
|
|
1951
|
-
function Hr(
|
|
1952
|
-
|
|
1950
|
+
function Hr() {
|
|
1951
|
+
for (var e, t = jr, 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 : jr = n);
|
|
1952
|
+
U = e, Ur(r);
|
|
1953
|
+
}
|
|
1954
|
+
function Ur(e) {
|
|
1955
|
+
H || (Or &&= clearTimeout(Or), e - W > 24 ? (e < Infinity && (Or = setTimeout(Br, e - G.now() - Nr)), kr &&= clearInterval(kr)) : (kr ||= (Mr = G.now(), setInterval(Vr, Ar)), H = 1, Pr(Br)));
|
|
1953
1956
|
}
|
|
1954
1957
|
//#endregion
|
|
1955
1958
|
//#region ../../node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.js
|
|
1956
|
-
function
|
|
1957
|
-
var r = new
|
|
1959
|
+
function Wr(e, t, n) {
|
|
1960
|
+
var r = new Lr();
|
|
1958
1961
|
return t = t == null ? 0 : +t, r.restart((n) => {
|
|
1959
1962
|
r.stop(), e(n + t);
|
|
1960
1963
|
}, t, n), r;
|
|
1961
1964
|
}
|
|
1962
1965
|
//#endregion
|
|
1963
1966
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.js
|
|
1964
|
-
var
|
|
1965
|
-
function
|
|
1967
|
+
var Gr = Ee("start", "end", "cancel", "interrupt"), Kr = [];
|
|
1968
|
+
function qr(e, t, n, r, i, a) {
|
|
1966
1969
|
var o = e.__transition;
|
|
1967
1970
|
if (!o) e.__transition = {};
|
|
1968
1971
|
else if (n in o) return;
|
|
1969
|
-
|
|
1972
|
+
Yr(e, n, {
|
|
1970
1973
|
name: t,
|
|
1971
1974
|
index: r,
|
|
1972
1975
|
group: i,
|
|
1973
|
-
on:
|
|
1974
|
-
tween:
|
|
1976
|
+
on: Gr,
|
|
1977
|
+
tween: Kr,
|
|
1975
1978
|
time: a.time,
|
|
1976
1979
|
delay: a.delay,
|
|
1977
1980
|
duration: a.duration,
|
|
@@ -1980,7 +1983,7 @@ function Kr(e, t, n, r, i, a) {
|
|
|
1980
1983
|
state: 0
|
|
1981
1984
|
});
|
|
1982
1985
|
}
|
|
1983
|
-
function
|
|
1986
|
+
function Jr(e, t) {
|
|
1984
1987
|
var n = q(e, t);
|
|
1985
1988
|
if (n.state > 0) throw Error("too late; already scheduled");
|
|
1986
1989
|
return n;
|
|
@@ -1995,9 +1998,9 @@ function q(e, t) {
|
|
|
1995
1998
|
if (!n || !(n = n[t])) throw Error("transition not found");
|
|
1996
1999
|
return n;
|
|
1997
2000
|
}
|
|
1998
|
-
function
|
|
2001
|
+
function Yr(e, t, n) {
|
|
1999
2002
|
var r = e.__transition, i;
|
|
2000
|
-
r[t] = n, n.timer =
|
|
2003
|
+
r[t] = n, n.timer = Rr(a, 0, n.time);
|
|
2001
2004
|
function a(e) {
|
|
2002
2005
|
n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
|
|
2003
2006
|
}
|
|
@@ -2005,10 +2008,10 @@ function Jr(e, t, n) {
|
|
|
2005
2008
|
var l, u, d, f;
|
|
2006
2009
|
if (n.state !== 1) return c();
|
|
2007
2010
|
for (l in r) if (f = r[l], f.name === n.name) {
|
|
2008
|
-
if (f.state === 3) return
|
|
2011
|
+
if (f.state === 3) return Wr(o);
|
|
2009
2012
|
f.state === 4 ? (f.state = 6, f.timer.stop(), f.on.call("interrupt", e, e.__data__, f.index, f.group), delete r[l]) : +l < t && (f.state = 6, f.timer.stop(), f.on.call("cancel", e, e.__data__, f.index, f.group), delete r[l]);
|
|
2010
2013
|
}
|
|
2011
|
-
if (
|
|
2014
|
+
if (Wr(function() {
|
|
2012
2015
|
n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
|
|
2013
2016
|
}), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
|
|
2014
2017
|
for (n.state = 3, i = Array(d = n.tween.length), l = 0, u = -1; l < d; ++l) (f = n.tween[l].value.call(e, e.__data__, n.index, n.group)) && (i[++u] = f);
|
|
@@ -2026,7 +2029,7 @@ function Jr(e, t, n) {
|
|
|
2026
2029
|
}
|
|
2027
2030
|
//#endregion
|
|
2028
2031
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.js
|
|
2029
|
-
function
|
|
2032
|
+
function Xr(e, t) {
|
|
2030
2033
|
var n = e.__transition, r, i, a = !0, o;
|
|
2031
2034
|
if (n) {
|
|
2032
2035
|
for (o in t = t == null ? null : t + "", n) {
|
|
@@ -2041,14 +2044,14 @@ function Yr(e, t) {
|
|
|
2041
2044
|
}
|
|
2042
2045
|
//#endregion
|
|
2043
2046
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.js
|
|
2044
|
-
function
|
|
2047
|
+
function Zr(e) {
|
|
2045
2048
|
return this.each(function() {
|
|
2046
|
-
|
|
2049
|
+
Xr(this, e);
|
|
2047
2050
|
});
|
|
2048
2051
|
}
|
|
2049
2052
|
//#endregion
|
|
2050
2053
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.js
|
|
2051
|
-
function
|
|
2054
|
+
function Qr(e, t) {
|
|
2052
2055
|
var n, r;
|
|
2053
2056
|
return function() {
|
|
2054
2057
|
var i = K(this, e), a = i.tween;
|
|
@@ -2062,7 +2065,7 @@ function Zr(e, t) {
|
|
|
2062
2065
|
i.tween = r;
|
|
2063
2066
|
};
|
|
2064
2067
|
}
|
|
2065
|
-
function
|
|
2068
|
+
function $r(e, t, n) {
|
|
2066
2069
|
var r, i;
|
|
2067
2070
|
if (typeof n != "function") throw Error();
|
|
2068
2071
|
return function() {
|
|
@@ -2081,15 +2084,15 @@ function Qr(e, t, n) {
|
|
|
2081
2084
|
a.tween = i;
|
|
2082
2085
|
};
|
|
2083
2086
|
}
|
|
2084
|
-
function
|
|
2087
|
+
function ei(e, t) {
|
|
2085
2088
|
var n = this._id;
|
|
2086
2089
|
if (e += "", arguments.length < 2) {
|
|
2087
2090
|
for (var r = q(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
|
|
2088
2091
|
return null;
|
|
2089
2092
|
}
|
|
2090
|
-
return this.each((t == null ?
|
|
2093
|
+
return this.each((t == null ? Qr : $r)(n, e, t));
|
|
2091
2094
|
}
|
|
2092
|
-
function
|
|
2095
|
+
function ti(e, t, n) {
|
|
2093
2096
|
var r = e._id;
|
|
2094
2097
|
return e.each(function() {
|
|
2095
2098
|
var e = K(this, r);
|
|
@@ -2100,157 +2103,157 @@ function ei(e, t, n) {
|
|
|
2100
2103
|
}
|
|
2101
2104
|
//#endregion
|
|
2102
2105
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.js
|
|
2103
|
-
function
|
|
2106
|
+
function ni(e, t) {
|
|
2104
2107
|
var n;
|
|
2105
|
-
return (typeof t == "number" ?
|
|
2108
|
+
return (typeof t == "number" ? V : t instanceof P ? B : (n = P(t)) ? (t = n, B) : hr)(e, t);
|
|
2106
2109
|
}
|
|
2107
2110
|
//#endregion
|
|
2108
2111
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.js
|
|
2109
|
-
function
|
|
2112
|
+
function ri(e) {
|
|
2110
2113
|
return function() {
|
|
2111
2114
|
this.removeAttribute(e);
|
|
2112
2115
|
};
|
|
2113
2116
|
}
|
|
2114
|
-
function
|
|
2117
|
+
function ii(e) {
|
|
2115
2118
|
return function() {
|
|
2116
2119
|
this.removeAttributeNS(e.space, e.local);
|
|
2117
2120
|
};
|
|
2118
2121
|
}
|
|
2119
|
-
function
|
|
2122
|
+
function ai(e, t, n) {
|
|
2120
2123
|
var r, i = n + "", a;
|
|
2121
2124
|
return function() {
|
|
2122
2125
|
var o = this.getAttribute(e);
|
|
2123
2126
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
2124
2127
|
};
|
|
2125
2128
|
}
|
|
2126
|
-
function
|
|
2129
|
+
function oi(e, t, n) {
|
|
2127
2130
|
var r, i = n + "", a;
|
|
2128
2131
|
return function() {
|
|
2129
2132
|
var o = this.getAttributeNS(e.space, e.local);
|
|
2130
2133
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
2131
2134
|
};
|
|
2132
2135
|
}
|
|
2133
|
-
function
|
|
2136
|
+
function si(e, t, n) {
|
|
2134
2137
|
var r, i, a;
|
|
2135
2138
|
return function() {
|
|
2136
2139
|
var o, s = n(this), c;
|
|
2137
2140
|
return s == null ? void this.removeAttribute(e) : (o = this.getAttribute(e), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
2138
2141
|
};
|
|
2139
2142
|
}
|
|
2140
|
-
function
|
|
2143
|
+
function ci(e, t, n) {
|
|
2141
2144
|
var r, i, a;
|
|
2142
2145
|
return function() {
|
|
2143
2146
|
var o, s = n(this), c;
|
|
2144
2147
|
return s == null ? void this.removeAttributeNS(e.space, e.local) : (o = this.getAttributeNS(e.space, e.local), c = s + "", o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s)));
|
|
2145
2148
|
};
|
|
2146
2149
|
}
|
|
2147
|
-
function
|
|
2148
|
-
var n =
|
|
2149
|
-
return this.attrTween(e, typeof t == "function" ? (n.local ?
|
|
2150
|
+
function li(e, t) {
|
|
2151
|
+
var n = Me(e), r = n === "transform" ? Er : ni;
|
|
2152
|
+
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));
|
|
2150
2153
|
}
|
|
2151
2154
|
//#endregion
|
|
2152
2155
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.js
|
|
2153
|
-
function
|
|
2156
|
+
function ui(e, t) {
|
|
2154
2157
|
return function(n) {
|
|
2155
2158
|
this.setAttribute(e, t.call(this, n));
|
|
2156
2159
|
};
|
|
2157
2160
|
}
|
|
2158
|
-
function
|
|
2161
|
+
function di(e, t) {
|
|
2159
2162
|
return function(n) {
|
|
2160
2163
|
this.setAttributeNS(e.space, e.local, t.call(this, n));
|
|
2161
2164
|
};
|
|
2162
2165
|
}
|
|
2163
|
-
function
|
|
2166
|
+
function fi(e, t) {
|
|
2164
2167
|
var n, r;
|
|
2165
2168
|
function i() {
|
|
2166
2169
|
var i = t.apply(this, arguments);
|
|
2167
|
-
return i !== r && (n = (r = i) &&
|
|
2170
|
+
return i !== r && (n = (r = i) && di(e, i)), n;
|
|
2168
2171
|
}
|
|
2169
2172
|
return i._value = t, i;
|
|
2170
2173
|
}
|
|
2171
|
-
function
|
|
2174
|
+
function pi(e, t) {
|
|
2172
2175
|
var n, r;
|
|
2173
2176
|
function i() {
|
|
2174
2177
|
var i = t.apply(this, arguments);
|
|
2175
|
-
return i !== r && (n = (r = i) &&
|
|
2178
|
+
return i !== r && (n = (r = i) && ui(e, i)), n;
|
|
2176
2179
|
}
|
|
2177
2180
|
return i._value = t, i;
|
|
2178
2181
|
}
|
|
2179
|
-
function
|
|
2182
|
+
function mi(e, t) {
|
|
2180
2183
|
var n = "attr." + e;
|
|
2181
2184
|
if (arguments.length < 2) return (n = this.tween(n)) && n._value;
|
|
2182
2185
|
if (t == null) return this.tween(n, null);
|
|
2183
2186
|
if (typeof t != "function") throw Error();
|
|
2184
|
-
var r =
|
|
2185
|
-
return this.tween(n, (r.local ?
|
|
2187
|
+
var r = Me(e);
|
|
2188
|
+
return this.tween(n, (r.local ? fi : pi)(r, t));
|
|
2186
2189
|
}
|
|
2187
2190
|
//#endregion
|
|
2188
2191
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.js
|
|
2189
|
-
function
|
|
2192
|
+
function hi(e, t) {
|
|
2190
2193
|
return function() {
|
|
2191
|
-
|
|
2194
|
+
Jr(this, e).delay = +t.apply(this, arguments);
|
|
2192
2195
|
};
|
|
2193
2196
|
}
|
|
2194
|
-
function
|
|
2197
|
+
function gi(e, t) {
|
|
2195
2198
|
return t = +t, function() {
|
|
2196
|
-
|
|
2199
|
+
Jr(this, e).delay = t;
|
|
2197
2200
|
};
|
|
2198
2201
|
}
|
|
2199
|
-
function
|
|
2202
|
+
function _i(e) {
|
|
2200
2203
|
var t = this._id;
|
|
2201
|
-
return arguments.length ? this.each((typeof e == "function" ?
|
|
2204
|
+
return arguments.length ? this.each((typeof e == "function" ? hi : gi)(t, e)) : q(this.node(), t).delay;
|
|
2202
2205
|
}
|
|
2203
2206
|
//#endregion
|
|
2204
2207
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.js
|
|
2205
|
-
function
|
|
2208
|
+
function vi(e, t) {
|
|
2206
2209
|
return function() {
|
|
2207
2210
|
K(this, e).duration = +t.apply(this, arguments);
|
|
2208
2211
|
};
|
|
2209
2212
|
}
|
|
2210
|
-
function
|
|
2213
|
+
function yi(e, t) {
|
|
2211
2214
|
return t = +t, function() {
|
|
2212
2215
|
K(this, e).duration = t;
|
|
2213
2216
|
};
|
|
2214
2217
|
}
|
|
2215
|
-
function
|
|
2218
|
+
function bi(e) {
|
|
2216
2219
|
var t = this._id;
|
|
2217
|
-
return arguments.length ? this.each((typeof e == "function" ?
|
|
2220
|
+
return arguments.length ? this.each((typeof e == "function" ? vi : yi)(t, e)) : q(this.node(), t).duration;
|
|
2218
2221
|
}
|
|
2219
2222
|
//#endregion
|
|
2220
2223
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.js
|
|
2221
|
-
function
|
|
2224
|
+
function xi(e, t) {
|
|
2222
2225
|
if (typeof t != "function") throw Error();
|
|
2223
2226
|
return function() {
|
|
2224
2227
|
K(this, e).ease = t;
|
|
2225
2228
|
};
|
|
2226
2229
|
}
|
|
2227
|
-
function
|
|
2230
|
+
function Si(e) {
|
|
2228
2231
|
var t = this._id;
|
|
2229
|
-
return arguments.length ? this.each(
|
|
2232
|
+
return arguments.length ? this.each(xi(t, e)) : q(this.node(), t).ease;
|
|
2230
2233
|
}
|
|
2231
2234
|
//#endregion
|
|
2232
2235
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.js
|
|
2233
|
-
function
|
|
2236
|
+
function Ci(e, t) {
|
|
2234
2237
|
return function() {
|
|
2235
2238
|
var n = t.apply(this, arguments);
|
|
2236
2239
|
if (typeof n != "function") throw Error();
|
|
2237
2240
|
K(this, e).ease = n;
|
|
2238
2241
|
};
|
|
2239
2242
|
}
|
|
2240
|
-
function
|
|
2243
|
+
function wi(e) {
|
|
2241
2244
|
if (typeof e != "function") throw Error();
|
|
2242
|
-
return this.each(
|
|
2245
|
+
return this.each(Ci(this._id, e));
|
|
2243
2246
|
}
|
|
2244
2247
|
//#endregion
|
|
2245
2248
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.js
|
|
2246
|
-
function
|
|
2247
|
-
typeof e != "function" && (e =
|
|
2249
|
+
function Ti(e) {
|
|
2250
|
+
typeof e != "function" && (e = We(e));
|
|
2248
2251
|
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);
|
|
2249
2252
|
return new J(r, this._parents, this._name, this._id);
|
|
2250
2253
|
}
|
|
2251
2254
|
//#endregion
|
|
2252
2255
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.js
|
|
2253
|
-
function
|
|
2256
|
+
function Ei(e) {
|
|
2254
2257
|
if (e._id !== this._id) throw Error();
|
|
2255
2258
|
for (var t = this._groups, n = e._groups, r = t.length, i = n.length, a = Math.min(r, i), o = Array(r), s = 0; s < a; ++s) for (var c = t[s], l = n[s], u = c.length, d = o[s] = Array(u), f, p = 0; p < u; ++p) (f = c[p] || l[p]) && (d[p] = f);
|
|
2256
2259
|
for (; s < r; ++s) o[s] = t[s];
|
|
@@ -2258,164 +2261,164 @@ function Ti(e) {
|
|
|
2258
2261
|
}
|
|
2259
2262
|
//#endregion
|
|
2260
2263
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.js
|
|
2261
|
-
function
|
|
2264
|
+
function Di(e) {
|
|
2262
2265
|
return (e + "").trim().split(/^|\s+/).every(function(e) {
|
|
2263
2266
|
var t = e.indexOf(".");
|
|
2264
2267
|
return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
|
|
2265
2268
|
});
|
|
2266
2269
|
}
|
|
2267
|
-
function
|
|
2268
|
-
var r, i, a =
|
|
2270
|
+
function Oi(e, t, n) {
|
|
2271
|
+
var r, i, a = Di(t) ? Jr : K;
|
|
2269
2272
|
return function() {
|
|
2270
2273
|
var o = a(this, e), s = o.on;
|
|
2271
2274
|
s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
|
|
2272
2275
|
};
|
|
2273
2276
|
}
|
|
2274
|
-
function
|
|
2277
|
+
function ki(e, t) {
|
|
2275
2278
|
var n = this._id;
|
|
2276
|
-
return arguments.length < 2 ? q(this.node(), n).on.on(e) : this.each(
|
|
2279
|
+
return arguments.length < 2 ? q(this.node(), n).on.on(e) : this.each(Oi(n, e, t));
|
|
2277
2280
|
}
|
|
2278
2281
|
//#endregion
|
|
2279
2282
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.js
|
|
2280
|
-
function
|
|
2283
|
+
function Ai(e) {
|
|
2281
2284
|
return function() {
|
|
2282
2285
|
var t = this.parentNode;
|
|
2283
2286
|
for (var n in this.__transition) if (+n !== e) return;
|
|
2284
2287
|
t && t.removeChild(this);
|
|
2285
2288
|
};
|
|
2286
2289
|
}
|
|
2287
|
-
function
|
|
2288
|
-
return this.on("end.remove",
|
|
2290
|
+
function ji() {
|
|
2291
|
+
return this.on("end.remove", Ai(this._id));
|
|
2289
2292
|
}
|
|
2290
2293
|
//#endregion
|
|
2291
2294
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.js
|
|
2292
|
-
function
|
|
2295
|
+
function Mi(e) {
|
|
2293
2296
|
var t = this._name, n = this._id;
|
|
2294
|
-
typeof e != "function" && (e =
|
|
2295
|
-
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,
|
|
2297
|
+
typeof e != "function" && (e = Le(e));
|
|
2298
|
+
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)));
|
|
2296
2299
|
return new J(a, this._parents, t, n);
|
|
2297
2300
|
}
|
|
2298
2301
|
//#endregion
|
|
2299
2302
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.js
|
|
2300
|
-
function
|
|
2303
|
+
function Ni(e) {
|
|
2301
2304
|
var t = this._name, n = this._id;
|
|
2302
|
-
typeof e != "function" && (e =
|
|
2305
|
+
typeof e != "function" && (e = Ve(e));
|
|
2303
2306
|
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]) {
|
|
2304
|
-
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]) &&
|
|
2307
|
+
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);
|
|
2305
2308
|
a.push(f), o.push(u);
|
|
2306
2309
|
}
|
|
2307
2310
|
return new J(a, o, t, n);
|
|
2308
2311
|
}
|
|
2309
2312
|
//#endregion
|
|
2310
2313
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.js
|
|
2311
|
-
var
|
|
2312
|
-
function
|
|
2313
|
-
return new
|
|
2314
|
+
var Pi = O.prototype.constructor;
|
|
2315
|
+
function Fi() {
|
|
2316
|
+
return new Pi(this._groups, this._parents);
|
|
2314
2317
|
}
|
|
2315
2318
|
//#endregion
|
|
2316
2319
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.js
|
|
2317
|
-
function
|
|
2320
|
+
function Ii(e, t) {
|
|
2318
2321
|
var n, r, i;
|
|
2319
2322
|
return function() {
|
|
2320
|
-
var a =
|
|
2323
|
+
var a = E(this, e), o = (this.style.removeProperty(e), E(this, e));
|
|
2321
2324
|
return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
|
|
2322
2325
|
};
|
|
2323
2326
|
}
|
|
2324
|
-
function
|
|
2327
|
+
function Li(e) {
|
|
2325
2328
|
return function() {
|
|
2326
2329
|
this.style.removeProperty(e);
|
|
2327
2330
|
};
|
|
2328
2331
|
}
|
|
2329
|
-
function
|
|
2332
|
+
function Ri(e, t, n) {
|
|
2330
2333
|
var r, i = n + "", a;
|
|
2331
2334
|
return function() {
|
|
2332
|
-
var o =
|
|
2335
|
+
var o = E(this, e);
|
|
2333
2336
|
return o === i ? null : o === r ? a : a = t(r = o, n);
|
|
2334
2337
|
};
|
|
2335
2338
|
}
|
|
2336
|
-
function
|
|
2339
|
+
function zi(e, t, n) {
|
|
2337
2340
|
var r, i, a;
|
|
2338
2341
|
return function() {
|
|
2339
|
-
var o =
|
|
2340
|
-
return s ?? (c = s = (this.style.removeProperty(e),
|
|
2342
|
+
var o = E(this, e), s = n(this), c = s + "";
|
|
2343
|
+
return s ?? (c = s = (this.style.removeProperty(e), E(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
|
|
2341
2344
|
};
|
|
2342
2345
|
}
|
|
2343
|
-
function
|
|
2346
|
+
function Bi(e, t) {
|
|
2344
2347
|
var n, r, i, a = "style." + t, o = "end." + a, s;
|
|
2345
2348
|
return function() {
|
|
2346
|
-
var c = K(this, e), l = c.on, u = c.value[a] == null ? s ||=
|
|
2349
|
+
var c = K(this, e), l = c.on, u = c.value[a] == null ? s ||= Li(t) : void 0;
|
|
2347
2350
|
(l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
|
|
2348
2351
|
};
|
|
2349
2352
|
}
|
|
2350
|
-
function
|
|
2351
|
-
var r = (e += "") == "transform" ?
|
|
2352
|
-
return t == null ? this.styleTween(e,
|
|
2353
|
+
function Vi(e, t, n) {
|
|
2354
|
+
var r = (e += "") == "transform" ? Tr : ni;
|
|
2355
|
+
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);
|
|
2353
2356
|
}
|
|
2354
2357
|
//#endregion
|
|
2355
2358
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.js
|
|
2356
|
-
function
|
|
2359
|
+
function Hi(e, t, n) {
|
|
2357
2360
|
return function(r) {
|
|
2358
2361
|
this.style.setProperty(e, t.call(this, r), n);
|
|
2359
2362
|
};
|
|
2360
2363
|
}
|
|
2361
|
-
function
|
|
2364
|
+
function Ui(e, t, n) {
|
|
2362
2365
|
var r, i;
|
|
2363
2366
|
function a() {
|
|
2364
2367
|
var a = t.apply(this, arguments);
|
|
2365
|
-
return a !== i && (r = (i = a) &&
|
|
2368
|
+
return a !== i && (r = (i = a) && Hi(e, a, n)), r;
|
|
2366
2369
|
}
|
|
2367
2370
|
return a._value = t, a;
|
|
2368
2371
|
}
|
|
2369
|
-
function
|
|
2372
|
+
function Wi(e, t, n) {
|
|
2370
2373
|
var r = "style." + (e += "");
|
|
2371
2374
|
if (arguments.length < 2) return (r = this.tween(r)) && r._value;
|
|
2372
2375
|
if (t == null) return this.tween(r, null);
|
|
2373
2376
|
if (typeof t != "function") throw Error();
|
|
2374
|
-
return this.tween(r,
|
|
2377
|
+
return this.tween(r, Ui(e, t, n ?? ""));
|
|
2375
2378
|
}
|
|
2376
2379
|
//#endregion
|
|
2377
2380
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.js
|
|
2378
|
-
function
|
|
2381
|
+
function Gi(e) {
|
|
2379
2382
|
return function() {
|
|
2380
2383
|
this.textContent = e;
|
|
2381
2384
|
};
|
|
2382
2385
|
}
|
|
2383
|
-
function
|
|
2386
|
+
function Ki(e) {
|
|
2384
2387
|
return function() {
|
|
2385
2388
|
this.textContent = e(this) ?? "";
|
|
2386
2389
|
};
|
|
2387
2390
|
}
|
|
2388
|
-
function
|
|
2389
|
-
return this.tween("text", typeof e == "function" ?
|
|
2391
|
+
function qi(e) {
|
|
2392
|
+
return this.tween("text", typeof e == "function" ? Ki(ti(this, "text", e)) : Gi(e == null ? "" : e + ""));
|
|
2390
2393
|
}
|
|
2391
2394
|
//#endregion
|
|
2392
2395
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.js
|
|
2393
|
-
function
|
|
2396
|
+
function Ji(e) {
|
|
2394
2397
|
return function(t) {
|
|
2395
2398
|
this.textContent = e.call(this, t);
|
|
2396
2399
|
};
|
|
2397
2400
|
}
|
|
2398
|
-
function
|
|
2401
|
+
function Yi(e) {
|
|
2399
2402
|
var t, n;
|
|
2400
2403
|
function r() {
|
|
2401
2404
|
var r = e.apply(this, arguments);
|
|
2402
|
-
return r !== n && (t = (n = r) &&
|
|
2405
|
+
return r !== n && (t = (n = r) && Ji(r)), t;
|
|
2403
2406
|
}
|
|
2404
2407
|
return r._value = e, r;
|
|
2405
2408
|
}
|
|
2406
|
-
function
|
|
2409
|
+
function Xi(e) {
|
|
2407
2410
|
var t = "text";
|
|
2408
2411
|
if (arguments.length < 1) return (t = this.tween(t)) && t._value;
|
|
2409
2412
|
if (e == null) return this.tween(t, null);
|
|
2410
2413
|
if (typeof e != "function") throw Error();
|
|
2411
|
-
return this.tween(t,
|
|
2414
|
+
return this.tween(t, Yi(e));
|
|
2412
2415
|
}
|
|
2413
2416
|
//#endregion
|
|
2414
2417
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.js
|
|
2415
|
-
function
|
|
2416
|
-
for (var e = this._name, t = this._id, n =
|
|
2418
|
+
function Zi() {
|
|
2419
|
+
for (var e = this._name, t = this._id, n = ta(), r = this._groups, i = r.length, a = 0; a < i; ++a) for (var o = r[a], s = o.length, c, l = 0; l < s; ++l) if (c = o[l]) {
|
|
2417
2420
|
var u = q(c, t);
|
|
2418
|
-
|
|
2421
|
+
qr(c, e, n, l, o, {
|
|
2419
2422
|
time: u.time + u.delay + u.duration,
|
|
2420
2423
|
delay: 0,
|
|
2421
2424
|
duration: u.duration,
|
|
@@ -2426,7 +2429,7 @@ function Xi() {
|
|
|
2426
2429
|
}
|
|
2427
2430
|
//#endregion
|
|
2428
2431
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.js
|
|
2429
|
-
function
|
|
2432
|
+
function Qi() {
|
|
2430
2433
|
var e, t, n = this, r = n._id, i = n.size();
|
|
2431
2434
|
return new Promise(function(a, o) {
|
|
2432
2435
|
var s = { value: o }, c = { value: function() {
|
|
@@ -2440,77 +2443,77 @@ function Zi() {
|
|
|
2440
2443
|
}
|
|
2441
2444
|
//#endregion
|
|
2442
2445
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.js
|
|
2443
|
-
var
|
|
2446
|
+
var $i = 0;
|
|
2444
2447
|
function J(e, t, n, r) {
|
|
2445
2448
|
this._groups = e, this._parents = t, this._name = n, this._id = r;
|
|
2446
2449
|
}
|
|
2447
|
-
function
|
|
2448
|
-
return
|
|
2450
|
+
function ea(e) {
|
|
2451
|
+
return O().transition(e);
|
|
2449
2452
|
}
|
|
2450
|
-
function
|
|
2451
|
-
return
|
|
2453
|
+
function ta() {
|
|
2454
|
+
return ++$i;
|
|
2452
2455
|
}
|
|
2453
|
-
var Y =
|
|
2454
|
-
J.prototype =
|
|
2456
|
+
var Y = O.prototype;
|
|
2457
|
+
J.prototype = ea.prototype = {
|
|
2455
2458
|
constructor: J,
|
|
2456
|
-
select:
|
|
2457
|
-
selectAll:
|
|
2459
|
+
select: Mi,
|
|
2460
|
+
selectAll: Ni,
|
|
2458
2461
|
selectChild: Y.selectChild,
|
|
2459
2462
|
selectChildren: Y.selectChildren,
|
|
2460
|
-
filter:
|
|
2461
|
-
merge:
|
|
2462
|
-
selection:
|
|
2463
|
-
transition:
|
|
2463
|
+
filter: Ti,
|
|
2464
|
+
merge: Ei,
|
|
2465
|
+
selection: Fi,
|
|
2466
|
+
transition: Zi,
|
|
2464
2467
|
call: Y.call,
|
|
2465
2468
|
nodes: Y.nodes,
|
|
2466
2469
|
node: Y.node,
|
|
2467
2470
|
size: Y.size,
|
|
2468
2471
|
empty: Y.empty,
|
|
2469
2472
|
each: Y.each,
|
|
2470
|
-
on:
|
|
2471
|
-
attr:
|
|
2472
|
-
attrTween:
|
|
2473
|
-
style:
|
|
2474
|
-
styleTween:
|
|
2475
|
-
text:
|
|
2476
|
-
textTween:
|
|
2477
|
-
remove:
|
|
2478
|
-
tween:
|
|
2479
|
-
delay:
|
|
2480
|
-
duration:
|
|
2481
|
-
ease:
|
|
2482
|
-
easeVarying:
|
|
2483
|
-
end:
|
|
2473
|
+
on: ki,
|
|
2474
|
+
attr: li,
|
|
2475
|
+
attrTween: mi,
|
|
2476
|
+
style: Vi,
|
|
2477
|
+
styleTween: Wi,
|
|
2478
|
+
text: qi,
|
|
2479
|
+
textTween: Xi,
|
|
2480
|
+
remove: ji,
|
|
2481
|
+
tween: ei,
|
|
2482
|
+
delay: _i,
|
|
2483
|
+
duration: bi,
|
|
2484
|
+
ease: Si,
|
|
2485
|
+
easeVarying: wi,
|
|
2486
|
+
end: Qi,
|
|
2484
2487
|
[Symbol.iterator]: Y[Symbol.iterator]
|
|
2485
2488
|
};
|
|
2486
2489
|
//#endregion
|
|
2487
2490
|
//#region ../../node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.js
|
|
2488
|
-
function
|
|
2491
|
+
function na(e) {
|
|
2489
2492
|
return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
|
|
2490
2493
|
}
|
|
2491
2494
|
//#endregion
|
|
2492
2495
|
//#region ../../node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.js
|
|
2493
|
-
var
|
|
2496
|
+
var ra = {
|
|
2494
2497
|
time: null,
|
|
2495
2498
|
delay: 0,
|
|
2496
2499
|
duration: 250,
|
|
2497
|
-
ease:
|
|
2500
|
+
ease: na
|
|
2498
2501
|
};
|
|
2499
|
-
function
|
|
2502
|
+
function ia(e, t) {
|
|
2500
2503
|
for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
|
|
2501
2504
|
return n;
|
|
2502
2505
|
}
|
|
2503
|
-
function
|
|
2506
|
+
function aa(e) {
|
|
2504
2507
|
var t, n;
|
|
2505
|
-
e instanceof J ? (t = e._id, e = e._name) : (t =
|
|
2506
|
-
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]) &&
|
|
2508
|
+
e instanceof J ? (t = e._id, e = e._name) : (t = ta(), (n = ra).time = Fr(), e = e == null ? null : e + "");
|
|
2509
|
+
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));
|
|
2507
2510
|
return new J(r, this._parents, e, t);
|
|
2508
2511
|
}
|
|
2509
|
-
|
|
2512
|
+
O.prototype.interrupt = Zr, O.prototype.transition = aa;
|
|
2510
2513
|
//#endregion
|
|
2511
2514
|
//#region ../../node_modules/.pnpm/d3-brush@3.0.0/node_modules/d3-brush/src/brush.js
|
|
2512
|
-
var { abs:
|
|
2513
|
-
["w", "e"].map(
|
|
2515
|
+
var { abs: oa, max: sa, min: ca } = Math;
|
|
2516
|
+
["w", "e"].map(la), ["n", "s"].map(la), [
|
|
2514
2517
|
"n",
|
|
2515
2518
|
"w",
|
|
2516
2519
|
"e",
|
|
@@ -2519,16 +2522,16 @@ var { abs: aa, max: oa, min: sa } = Math;
|
|
|
2519
2522
|
"ne",
|
|
2520
2523
|
"sw",
|
|
2521
2524
|
"se"
|
|
2522
|
-
].map(
|
|
2523
|
-
function
|
|
2525
|
+
].map(la);
|
|
2526
|
+
function la(e) {
|
|
2524
2527
|
return { type: e };
|
|
2525
2528
|
}
|
|
2526
2529
|
//#endregion
|
|
2527
2530
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.js
|
|
2528
|
-
function
|
|
2531
|
+
function ua(e) {
|
|
2529
2532
|
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
2530
2533
|
}
|
|
2531
|
-
function
|
|
2534
|
+
function da(e, t) {
|
|
2532
2535
|
if ((n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e")) < 0) return null;
|
|
2533
2536
|
var n, r = e.slice(0, n);
|
|
2534
2537
|
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
|
|
@@ -2536,11 +2539,11 @@ function ua(e, t) {
|
|
|
2536
2539
|
//#endregion
|
|
2537
2540
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.js
|
|
2538
2541
|
function X(e) {
|
|
2539
|
-
return e =
|
|
2542
|
+
return e = da(Math.abs(e)), e ? e[1] : NaN;
|
|
2540
2543
|
}
|
|
2541
2544
|
//#endregion
|
|
2542
2545
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.js
|
|
2543
|
-
function
|
|
2546
|
+
function fa(e, t) {
|
|
2544
2547
|
return function(n, r) {
|
|
2545
2548
|
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];
|
|
2546
2549
|
return a.reverse().join(t);
|
|
@@ -2548,7 +2551,7 @@ function da(e, t) {
|
|
|
2548
2551
|
}
|
|
2549
2552
|
//#endregion
|
|
2550
2553
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.js
|
|
2551
|
-
function
|
|
2554
|
+
function pa(e) {
|
|
2552
2555
|
return function(t) {
|
|
2553
2556
|
return t.replace(/[0-9]/g, function(t) {
|
|
2554
2557
|
return e[+t];
|
|
@@ -2557,11 +2560,11 @@ function fa(e) {
|
|
|
2557
2560
|
}
|
|
2558
2561
|
//#endregion
|
|
2559
2562
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.js
|
|
2560
|
-
var
|
|
2561
|
-
function
|
|
2562
|
-
if (!(t =
|
|
2563
|
+
var ma = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
2564
|
+
function ha(e) {
|
|
2565
|
+
if (!(t = ma.exec(e))) throw Error("invalid format: " + e);
|
|
2563
2566
|
var t;
|
|
2564
|
-
return new
|
|
2567
|
+
return new ga({
|
|
2565
2568
|
fill: t[1],
|
|
2566
2569
|
align: t[2],
|
|
2567
2570
|
sign: t[3],
|
|
@@ -2574,16 +2577,16 @@ function ma(e) {
|
|
|
2574
2577
|
type: t[10]
|
|
2575
2578
|
});
|
|
2576
2579
|
}
|
|
2577
|
-
|
|
2578
|
-
function
|
|
2580
|
+
ha.prototype = ga.prototype;
|
|
2581
|
+
function ga(e) {
|
|
2579
2582
|
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
|
|
2580
2583
|
}
|
|
2581
|
-
|
|
2584
|
+
ga.prototype.toString = function() {
|
|
2582
2585
|
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;
|
|
2583
2586
|
};
|
|
2584
2587
|
//#endregion
|
|
2585
2588
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.js
|
|
2586
|
-
function
|
|
2589
|
+
function _a(e) {
|
|
2587
2590
|
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
|
|
2588
2591
|
case ".":
|
|
2589
2592
|
r = i = n;
|
|
@@ -2600,46 +2603,46 @@ function ga(e) {
|
|
|
2600
2603
|
}
|
|
2601
2604
|
//#endregion
|
|
2602
2605
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.js
|
|
2603
|
-
var
|
|
2604
|
-
function
|
|
2605
|
-
var n =
|
|
2606
|
+
var va;
|
|
2607
|
+
function ya(e, t) {
|
|
2608
|
+
var n = da(e, t);
|
|
2606
2609
|
if (!n) return e + "";
|
|
2607
|
-
var r = n[0], i = n[1], a = i - (
|
|
2608
|
-
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") +
|
|
2610
|
+
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
|
+
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];
|
|
2609
2612
|
}
|
|
2610
2613
|
//#endregion
|
|
2611
2614
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.js
|
|
2612
|
-
function
|
|
2613
|
-
var n =
|
|
2615
|
+
function ba(e, t) {
|
|
2616
|
+
var n = da(e, t);
|
|
2614
2617
|
if (!n) return e + "";
|
|
2615
2618
|
var r = n[0], i = n[1];
|
|
2616
2619
|
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");
|
|
2617
2620
|
}
|
|
2618
2621
|
//#endregion
|
|
2619
2622
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js
|
|
2620
|
-
var
|
|
2623
|
+
var xa = {
|
|
2621
2624
|
"%": (e, t) => (e * 100).toFixed(t),
|
|
2622
2625
|
b: (e) => Math.round(e).toString(2),
|
|
2623
2626
|
c: (e) => e + "",
|
|
2624
|
-
d:
|
|
2627
|
+
d: ua,
|
|
2625
2628
|
e: (e, t) => e.toExponential(t),
|
|
2626
2629
|
f: (e, t) => e.toFixed(t),
|
|
2627
2630
|
g: (e, t) => e.toPrecision(t),
|
|
2628
2631
|
o: (e) => Math.round(e).toString(8),
|
|
2629
|
-
p: (e, t) =>
|
|
2630
|
-
r:
|
|
2631
|
-
s:
|
|
2632
|
+
p: (e, t) => ba(e * 100, t),
|
|
2633
|
+
r: ba,
|
|
2634
|
+
s: ya,
|
|
2632
2635
|
X: (e) => Math.round(e).toString(16).toUpperCase(),
|
|
2633
2636
|
x: (e) => Math.round(e).toString(16)
|
|
2634
2637
|
};
|
|
2635
2638
|
//#endregion
|
|
2636
2639
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.js
|
|
2637
|
-
function
|
|
2640
|
+
function Sa(e) {
|
|
2638
2641
|
return e;
|
|
2639
2642
|
}
|
|
2640
2643
|
//#endregion
|
|
2641
2644
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.js
|
|
2642
|
-
var
|
|
2645
|
+
var Ca = Array.prototype.map, wa = [
|
|
2643
2646
|
"y",
|
|
2644
2647
|
"z",
|
|
2645
2648
|
"a",
|
|
@@ -2658,51 +2661,51 @@ var Sa = Array.prototype.map, Ca = [
|
|
|
2658
2661
|
"Z",
|
|
2659
2662
|
"Y"
|
|
2660
2663
|
];
|
|
2661
|
-
function
|
|
2662
|
-
var t = e.grouping === void 0 || e.thousands === void 0 ?
|
|
2664
|
+
function Ta(e) {
|
|
2665
|
+
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 + "";
|
|
2663
2666
|
function l(e) {
|
|
2664
|
-
e =
|
|
2667
|
+
e = ha(e);
|
|
2665
2668
|
var l = e.fill, u = e.align, d = e.sign, f = e.symbol, p = e.zero, m = e.width, h = e.comma, g = e.precision, _ = e.trim, v = e.type;
|
|
2666
|
-
v === "n" ? (h = !0, v = "g") :
|
|
2667
|
-
var y = f === "$" ? n : f === "#" && /[boxX]/.test(v) ? "0" + v.toLowerCase() : "",
|
|
2669
|
+
v === "n" ? (h = !0, v = "g") : xa[v] || (g === void 0 && (g = 12), _ = !0, v = "g"), (p || l === "0" && u === "=") && (p = !0, l = "0", u = "=");
|
|
2670
|
+
var y = f === "$" ? n : f === "#" && /[boxX]/.test(v) ? "0" + v.toLowerCase() : "", b = f === "$" ? r : /[%p]/.test(v) ? o : "", ee = xa[v], te = /[defgprs%]/.test(v);
|
|
2668
2671
|
g = g === void 0 ? 6 : /[gprs]/.test(v) ? Math.max(1, Math.min(21, g)) : Math.max(0, Math.min(20, g));
|
|
2669
|
-
function
|
|
2670
|
-
var n = y, r =
|
|
2671
|
-
if (v === "c") r =
|
|
2672
|
+
function x(e) {
|
|
2673
|
+
var n = y, r = b, o, f, x;
|
|
2674
|
+
if (v === "c") r = ee(e) + r, e = "";
|
|
2672
2675
|
else {
|
|
2673
2676
|
e = +e;
|
|
2674
|
-
var
|
|
2675
|
-
if (e = isNaN(e) ? c :
|
|
2676
|
-
for (o = -1, f = e.length; ++o < f;) if (
|
|
2677
|
-
r = (
|
|
2677
|
+
var S = e < 0 || 1 / e < 0;
|
|
2678
|
+
if (e = isNaN(e) ? c : ee(Math.abs(e), g), _ && (e = _a(e)), S && +e == 0 && d !== "+" && (S = !1), n = (S ? d === "(" ? d : s : d === "-" || d === "(" ? "" : d) + n, r = (v === "s" ? wa[8 + va / 3] : "") + r + (S && d === "(" ? ")" : ""), te) {
|
|
2679
|
+
for (o = -1, f = e.length; ++o < f;) if (x = e.charCodeAt(o), 48 > x || x > 57) {
|
|
2680
|
+
r = (x === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
|
|
2678
2681
|
break;
|
|
2679
2682
|
}
|
|
2680
2683
|
}
|
|
2681
2684
|
}
|
|
2682
2685
|
h && !p && (e = t(e, Infinity));
|
|
2683
|
-
var
|
|
2684
|
-
switch (h && p && (e = t(
|
|
2686
|
+
var C = n.length + e.length + r.length, w = C < m ? Array(m - C + 1).join(l) : "";
|
|
2687
|
+
switch (h && p && (e = t(w + e, w.length ? m - r.length : Infinity), w = ""), u) {
|
|
2685
2688
|
case "<":
|
|
2686
|
-
e = n + e + r +
|
|
2689
|
+
e = n + e + r + w;
|
|
2687
2690
|
break;
|
|
2688
2691
|
case "=":
|
|
2689
|
-
e = n +
|
|
2692
|
+
e = n + w + e + r;
|
|
2690
2693
|
break;
|
|
2691
2694
|
case "^":
|
|
2692
|
-
e =
|
|
2695
|
+
e = w.slice(0, C = w.length >> 1) + n + e + r + w.slice(C);
|
|
2693
2696
|
break;
|
|
2694
2697
|
default:
|
|
2695
|
-
e =
|
|
2698
|
+
e = w + n + e + r;
|
|
2696
2699
|
break;
|
|
2697
2700
|
}
|
|
2698
2701
|
return a(e);
|
|
2699
2702
|
}
|
|
2700
|
-
return
|
|
2703
|
+
return x.toString = function() {
|
|
2701
2704
|
return e + "";
|
|
2702
|
-
},
|
|
2705
|
+
}, x;
|
|
2703
2706
|
}
|
|
2704
2707
|
function u(e, t) {
|
|
2705
|
-
var n = l((e =
|
|
2708
|
+
var n = l((e = ha(e), e.type = "f", e)), r = Math.max(-8, Math.min(8, Math.floor(X(t) / 3))) * 3, i = 10 ** -r, a = wa[8 + r / 3];
|
|
2706
2709
|
return function(e) {
|
|
2707
2710
|
return n(i * e) + a;
|
|
2708
2711
|
};
|
|
@@ -2714,33 +2717,33 @@ function wa(e) {
|
|
|
2714
2717
|
}
|
|
2715
2718
|
//#endregion
|
|
2716
2719
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.js
|
|
2717
|
-
var
|
|
2718
|
-
|
|
2720
|
+
var Ea, Da, Oa;
|
|
2721
|
+
ka({
|
|
2719
2722
|
thousands: ",",
|
|
2720
2723
|
grouping: [3],
|
|
2721
2724
|
currency: ["$", ""]
|
|
2722
2725
|
});
|
|
2723
|
-
function
|
|
2724
|
-
return
|
|
2726
|
+
function ka(e) {
|
|
2727
|
+
return Ea = Ta(e), Da = Ea.format, Oa = Ea.formatPrefix, Ea;
|
|
2725
2728
|
}
|
|
2726
2729
|
//#endregion
|
|
2727
2730
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.js
|
|
2728
|
-
function
|
|
2731
|
+
function Aa(e) {
|
|
2729
2732
|
return Math.max(0, -X(Math.abs(e)));
|
|
2730
2733
|
}
|
|
2731
2734
|
//#endregion
|
|
2732
2735
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.js
|
|
2733
|
-
function
|
|
2736
|
+
function ja(e, t) {
|
|
2734
2737
|
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(X(t) / 3))) * 3 - X(Math.abs(e)));
|
|
2735
2738
|
}
|
|
2736
2739
|
//#endregion
|
|
2737
2740
|
//#region ../../node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.js
|
|
2738
|
-
function
|
|
2741
|
+
function Ma(e, t) {
|
|
2739
2742
|
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, X(t) - X(e)) + 1;
|
|
2740
2743
|
}
|
|
2741
2744
|
//#endregion
|
|
2742
2745
|
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js
|
|
2743
|
-
function
|
|
2746
|
+
function Na(e, t) {
|
|
2744
2747
|
switch (arguments.length) {
|
|
2745
2748
|
case 0: break;
|
|
2746
2749
|
case 1:
|
|
@@ -2754,67 +2757,67 @@ function Ma(e, t) {
|
|
|
2754
2757
|
}
|
|
2755
2758
|
//#endregion
|
|
2756
2759
|
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js
|
|
2757
|
-
function
|
|
2760
|
+
function Pa(e) {
|
|
2758
2761
|
return function() {
|
|
2759
2762
|
return e;
|
|
2760
2763
|
};
|
|
2761
2764
|
}
|
|
2762
2765
|
//#endregion
|
|
2763
2766
|
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.js
|
|
2764
|
-
function
|
|
2767
|
+
function Fa(e) {
|
|
2765
2768
|
return +e;
|
|
2766
2769
|
}
|
|
2767
2770
|
//#endregion
|
|
2768
2771
|
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js
|
|
2769
|
-
var
|
|
2772
|
+
var Ia = [0, 1];
|
|
2770
2773
|
function Z(e) {
|
|
2771
2774
|
return e;
|
|
2772
2775
|
}
|
|
2773
|
-
function
|
|
2776
|
+
function La(e, t) {
|
|
2774
2777
|
return (t -= e = +e) ? function(n) {
|
|
2775
2778
|
return (n - e) / t;
|
|
2776
|
-
} :
|
|
2779
|
+
} : Pa(isNaN(t) ? NaN : .5);
|
|
2777
2780
|
}
|
|
2778
|
-
function
|
|
2781
|
+
function Ra(e, t) {
|
|
2779
2782
|
var n;
|
|
2780
2783
|
return e > t && (n = e, e = t, t = n), function(n) {
|
|
2781
2784
|
return Math.max(e, Math.min(t, n));
|
|
2782
2785
|
};
|
|
2783
2786
|
}
|
|
2784
|
-
function
|
|
2787
|
+
function za(e, t, n) {
|
|
2785
2788
|
var r = e[0], i = e[1], a = t[0], o = t[1];
|
|
2786
|
-
return i < r ? (r =
|
|
2789
|
+
return i < r ? (r = La(i, r), a = n(o, a)) : (r = La(r, i), a = n(a, o)), function(e) {
|
|
2787
2790
|
return a(r(e));
|
|
2788
2791
|
};
|
|
2789
2792
|
}
|
|
2790
|
-
function
|
|
2793
|
+
function Ba(e, t, n) {
|
|
2791
2794
|
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
|
|
2792
|
-
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] =
|
|
2795
|
+
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]);
|
|
2793
2796
|
return function(t) {
|
|
2794
2797
|
var n = ve(e, t, 1, r) - 1;
|
|
2795
2798
|
return a[n](i[n](t));
|
|
2796
2799
|
};
|
|
2797
2800
|
}
|
|
2798
|
-
function
|
|
2801
|
+
function Va(e, t) {
|
|
2799
2802
|
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
|
|
2800
2803
|
}
|
|
2801
|
-
function
|
|
2802
|
-
var e =
|
|
2804
|
+
function Ha() {
|
|
2805
|
+
var e = Ia, t = Ia, n = gr, r, i, a, o = Z, s, c, l;
|
|
2803
2806
|
function u() {
|
|
2804
2807
|
var n = Math.min(e.length, t.length);
|
|
2805
|
-
return o !== Z && (o =
|
|
2808
|
+
return o !== Z && (o = Ra(e[0], e[n - 1])), s = n > 2 ? Ba : za, c = l = null, d;
|
|
2806
2809
|
}
|
|
2807
2810
|
function d(i) {
|
|
2808
2811
|
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
|
|
2809
2812
|
}
|
|
2810
2813
|
return d.invert = function(n) {
|
|
2811
|
-
return o(i((l ||= s(t, e.map(r),
|
|
2814
|
+
return o(i((l ||= s(t, e.map(r), V))(n)));
|
|
2812
2815
|
}, d.domain = function(t) {
|
|
2813
|
-
return arguments.length ? (e = Array.from(t,
|
|
2816
|
+
return arguments.length ? (e = Array.from(t, Fa), u()) : e.slice();
|
|
2814
2817
|
}, d.range = function(e) {
|
|
2815
2818
|
return arguments.length ? (t = Array.from(e), u()) : t.slice();
|
|
2816
2819
|
}, d.rangeRound = function(e) {
|
|
2817
|
-
return t = Array.from(e), n =
|
|
2820
|
+
return t = Array.from(e), n = _r, u();
|
|
2818
2821
|
}, d.clamp = function(e) {
|
|
2819
2822
|
return arguments.length ? (o = e ? !0 : Z, u()) : o !== Z;
|
|
2820
2823
|
}, d.interpolate = function(e) {
|
|
@@ -2825,46 +2828,46 @@ function Va() {
|
|
|
2825
2828
|
return r = e, i = t, u();
|
|
2826
2829
|
};
|
|
2827
2830
|
}
|
|
2828
|
-
function
|
|
2829
|
-
return
|
|
2831
|
+
function Ua() {
|
|
2832
|
+
return Ha()(Z, Z);
|
|
2830
2833
|
}
|
|
2831
2834
|
//#endregion
|
|
2832
2835
|
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js
|
|
2833
|
-
function
|
|
2834
|
-
var i =
|
|
2835
|
-
switch (r =
|
|
2836
|
+
function Wa(e, t, n, r) {
|
|
2837
|
+
var i = we(e, t, n), a;
|
|
2838
|
+
switch (r = ha(r ?? ",f"), r.type) {
|
|
2836
2839
|
case "s":
|
|
2837
2840
|
var o = Math.max(Math.abs(e), Math.abs(t));
|
|
2838
|
-
return r.precision == null && !isNaN(a =
|
|
2841
|
+
return r.precision == null && !isNaN(a = ja(i, o)) && (r.precision = a), Oa(r, o);
|
|
2839
2842
|
case "":
|
|
2840
2843
|
case "e":
|
|
2841
2844
|
case "g":
|
|
2842
2845
|
case "p":
|
|
2843
2846
|
case "r":
|
|
2844
|
-
r.precision == null && !isNaN(a =
|
|
2847
|
+
r.precision == null && !isNaN(a = Ma(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
|
|
2845
2848
|
break;
|
|
2846
2849
|
case "f":
|
|
2847
2850
|
case "%":
|
|
2848
|
-
r.precision == null && !isNaN(a =
|
|
2851
|
+
r.precision == null && !isNaN(a = Aa(i)) && (r.precision = a - (r.type === "%") * 2);
|
|
2849
2852
|
break;
|
|
2850
2853
|
}
|
|
2851
|
-
return
|
|
2854
|
+
return Da(r);
|
|
2852
2855
|
}
|
|
2853
2856
|
//#endregion
|
|
2854
2857
|
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.js
|
|
2855
|
-
function
|
|
2858
|
+
function Ga(e) {
|
|
2856
2859
|
var t = e.domain;
|
|
2857
2860
|
return e.ticks = function(e) {
|
|
2858
2861
|
var n = t();
|
|
2859
|
-
return
|
|
2862
|
+
return Se(n[0], n[n.length - 1], e ?? 10);
|
|
2860
2863
|
}, e.tickFormat = function(e, n) {
|
|
2861
2864
|
var r = t();
|
|
2862
|
-
return
|
|
2865
|
+
return Wa(r[0], r[r.length - 1], e ?? 10, n);
|
|
2863
2866
|
}, e.nice = function(n) {
|
|
2864
2867
|
n ??= 10;
|
|
2865
2868
|
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
|
|
2866
2869
|
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
|
|
2867
|
-
if (l =
|
|
2870
|
+
if (l = Ce(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
|
|
2868
2871
|
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
|
|
2869
2872
|
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
|
|
2870
2873
|
else break;
|
|
@@ -2873,11 +2876,11 @@ function Wa(e) {
|
|
|
2873
2876
|
return e;
|
|
2874
2877
|
}, e;
|
|
2875
2878
|
}
|
|
2876
|
-
function
|
|
2877
|
-
var e =
|
|
2879
|
+
function Ka() {
|
|
2880
|
+
var e = Ua();
|
|
2878
2881
|
return e.copy = function() {
|
|
2879
|
-
return
|
|
2880
|
-
},
|
|
2882
|
+
return Va(e, Ka());
|
|
2883
|
+
}, Na.apply(e, arguments), Ga(e);
|
|
2881
2884
|
}
|
|
2882
2885
|
//#endregion
|
|
2883
2886
|
//#region ../../node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js
|
|
@@ -2920,25 +2923,25 @@ Q.prototype = {
|
|
|
2920
2923
|
return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
|
|
2921
2924
|
}
|
|
2922
2925
|
};
|
|
2923
|
-
var
|
|
2924
|
-
|
|
2925
|
-
function
|
|
2926
|
-
for (; !e.__zoom;) if (!(e = e.parentNode)) return
|
|
2926
|
+
var qa = new Q(1, 0, 0);
|
|
2927
|
+
Ja.prototype = Q.prototype;
|
|
2928
|
+
function Ja(e) {
|
|
2929
|
+
for (; !e.__zoom;) if (!(e = e.parentNode)) return qa;
|
|
2927
2930
|
return e.__zoom;
|
|
2928
2931
|
}
|
|
2929
2932
|
//#endregion
|
|
2930
2933
|
//#region ../../node_modules/.pnpm/tiny-invariant@1.3.3/node_modules/tiny-invariant/dist/esm/tiny-invariant.js
|
|
2931
|
-
var
|
|
2934
|
+
var Ya = !0, Xa = "Invariant failed";
|
|
2932
2935
|
function $(e, t) {
|
|
2933
2936
|
if (!e) {
|
|
2934
|
-
if (
|
|
2935
|
-
var n = typeof t == "function" ? t() : t, r = n ? `${
|
|
2937
|
+
if (Ya) throw Error(Xa);
|
|
2938
|
+
var n = typeof t == "function" ? t() : t, r = n ? `${Xa}: ${n}` : Xa;
|
|
2936
2939
|
throw Error(r);
|
|
2937
2940
|
}
|
|
2938
2941
|
}
|
|
2939
2942
|
//#endregion
|
|
2940
2943
|
//#region src/color/ColorMap.ts
|
|
2941
|
-
var
|
|
2944
|
+
var Za = class {
|
|
2942
2945
|
lut;
|
|
2943
2946
|
constructor(e, t, n) {
|
|
2944
2947
|
this.type = e, this.name = t, $(n.length > 1), this.lut = n.map((e) => Array.isArray(e) ? e : e.srgb().toArray());
|
|
@@ -2950,13 +2953,13 @@ var Xa = class {
|
|
|
2950
2953
|
return $(t != null), t;
|
|
2951
2954
|
}
|
|
2952
2955
|
buildLinear() {
|
|
2953
|
-
this.#e ??=
|
|
2956
|
+
this.#e ??= Ka().domain(Dr(gr(0, 1), this.lut.length)).range(this.lut).clamp(!0);
|
|
2954
2957
|
}
|
|
2955
2958
|
get count() {
|
|
2956
2959
|
return this.lut.length;
|
|
2957
2960
|
}
|
|
2958
2961
|
ticks(e, t) {
|
|
2959
|
-
return
|
|
2962
|
+
return Ka().domain(e).ticks(t);
|
|
2960
2963
|
}
|
|
2961
2964
|
quantize(e) {
|
|
2962
2965
|
return $(e > 1), [...Array(e)].map((t, n) => this.linear(n / (e - 1)));
|
|
@@ -2966,7 +2969,7 @@ var Xa = class {
|
|
|
2966
2969
|
e.width = this.lut.length, e.height = 1;
|
|
2967
2970
|
let t = e.getContext("2d");
|
|
2968
2971
|
return $(t != null), this.lut.forEach(([e, n, r], i) => {
|
|
2969
|
-
t.fillStyle =
|
|
2972
|
+
t.fillStyle = Gn(e * 255, n * 255, r * 255).toString(), t.fillRect(i, 0, 1, 1);
|
|
2970
2973
|
}), e;
|
|
2971
2974
|
}
|
|
2972
2975
|
flatten() {
|
|
@@ -2974,7 +2977,7 @@ var Xa = class {
|
|
|
2974
2977
|
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];
|
|
2975
2978
|
return e;
|
|
2976
2979
|
}
|
|
2977
|
-
},
|
|
2980
|
+
}, Qa = class {}, $a = class {
|
|
2978
2981
|
handler;
|
|
2979
2982
|
_elevationColormap;
|
|
2980
2983
|
constructor(e, t) {
|
|
@@ -3037,6 +3040,6 @@ var Xa = class {
|
|
|
3037
3040
|
set elevationColormap(e) {
|
|
3038
3041
|
this._elevationColormap = e, this.handler.setElevationColormap(e);
|
|
3039
3042
|
}
|
|
3040
|
-
},
|
|
3043
|
+
}, eo = class {};
|
|
3041
3044
|
//#endregion
|
|
3042
|
-
export { de as BaseAbstractedVec3,
|
|
3045
|
+
export { de as BaseAbstractedVec3, h as CachedMeshHandleLike, Qa as Color, Za as ColorMap, C as ConstructedPolygonGeometryLike, re as ConstructedPolylineGeometryLike, y as ElevationDecoderLike, ae as EventHandler, c as EventManager, S as ExtentRadianF32Like, $a as Globe, ie as IMAGE_EXTENSIONS, le as NamedIndexMap, ue as Observed, eo as Plugin, x as PolygonMaterialLike, ne as PolylineMaterialLike, ee as ReturnedConstructedTerrainMeshLike, m as TileXYZLike, a as Transaction, i as TransactionManager, g as TransferableMartiniLike, te as TransferablePolygonBatchedFeatureLike, w as TransferablePolylineBatchedFeatureLike, v as TransferableRasterDEMDataLike, p as TransferableTileLike, se as Unimplemented, ce 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, oe as setBatchedValuesToBatchedAttribute };
|