@dpuse/dpuse-tool-d3-visualiser 0.0.49 → 0.0.51
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/{axis-DjmZ9QYe.js → axis-EpX3kBPs.js} +2 -8
- package/dist/{axis-DjmZ9QYe.js.map → axis-EpX3kBPs.js.map} +1 -1
- package/dist/{band-BFcwtSdG.js → band-p1VbTxZM.js} +2 -2
- package/dist/{band-BFcwtSdG.js.map → band-p1VbTxZM.js.map} +1 -1
- package/dist/{billboardJs-oaee80Fh.js → billboardJs-PR7IsnhE.js} +1970 -1666
- package/dist/billboardJs-PR7IsnhE.js.map +1 -0
- package/dist/{chordDiagram-CTDXv74T.js → chordDiagram-B1_nfC1m.js} +1031 -1023
- package/dist/chordDiagram-B1_nfC1m.js.map +1 -0
- package/dist/{d3BarChart-BQCPo1ub.js → d3BarChart-BC05DvRv.js} +7 -7
- package/dist/{d3BarChart-BQCPo1ub.js.map → d3BarChart-BC05DvRv.js.map} +1 -1
- package/dist/dpuse-tool-d3-visualiser.css +1 -1
- package/dist/dpuse-tool-d3-visualiser.es.js +7 -7
- package/dist/{drag-DfL4uwqz.js → drag-Ieen6R0z.js} +4 -8
- package/dist/{drag-DfL4uwqz.js.map → drag-Ieen6R0z.js.map} +1 -1
- package/dist/{erdDiagram-C_Hobpls.js → erdDiagram-CtPeCq0f.js} +6 -12
- package/dist/{erdDiagram-C_Hobpls.js.map → erdDiagram-CtPeCq0f.js.map} +1 -1
- package/dist/{linear-C-jur735.js → linear-q6e-7JBm.js} +113 -167
- package/dist/linear-q6e-7JBm.js.map +1 -0
- package/dist/{networkDiagram-CcQxxJMB.js → networkDiagram-DZwLfY_R.js} +3 -3
- package/dist/{networkDiagram-CcQxxJMB.js.map → networkDiagram-DZwLfY_R.js.map} +1 -1
- package/dist/{observablePlot-BE2I-5e2.js → observablePlot-CGF3S2mL.js} +1270 -1270
- package/dist/{observablePlot-BE2I-5e2.js.map → observablePlot-CGF3S2mL.js.map} +1 -1
- package/dist/ordinal-BtWaYSDN.js +81 -0
- package/dist/ordinal-BtWaYSDN.js.map +1 -0
- package/dist/pow-Bp6eSqVs.js +76 -0
- package/dist/{pow-CxQV96gC.js.map → pow-Bp6eSqVs.js.map} +1 -1
- package/dist/{src-WDualLFV.js → src-Clugeype.js} +1 -1
- package/dist/{src-WDualLFV.js.map → src-Clugeype.js.map} +1 -1
- package/dist/{src-yL3ZdoR1.js → src-kLpf-6r0.js} +1 -1
- package/dist/{src-yL3ZdoR1.js.map → src-kLpf-6r0.js.map} +1 -1
- package/dist/{string-CnCj7THX.js → string-BOhFwaZD.js} +1 -2
- package/dist/{string-CnCj7THX.js.map → string-BOhFwaZD.js.map} +1 -1
- package/dist/tanStackCharts-D-ip-ZV-.js +4103 -0
- package/dist/tanStackCharts-D-ip-ZV-.js.map +1 -0
- package/dist/{src-Dl4_vNYa.js → utcTime-DLfrQXna.js} +432 -432
- package/dist/utcTime-DLfrQXna.js.map +1 -0
- package/package.json +15 -15
- package/dist/billboardJs-oaee80Fh.js.map +0 -1
- package/dist/chordDiagram-CTDXv74T.js.map +0 -1
- package/dist/linear-C-jur735.js.map +0 -1
- package/dist/ordinal-CDNZetSD.js +0 -28
- package/dist/ordinal-CDNZetSD.js.map +0 -1
- package/dist/pow-CxQV96gC.js +0 -84
- package/dist/src-Dl4_vNYa.js.map +0 -1
- package/dist/tanStackCharts-CqP0qIAr.js +0 -3492
- package/dist/tanStackCharts-CqP0qIAr.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e, i as t, n, s as r, t as i } from "./string-
|
|
1
|
+
import { d as e, i as t, n, s as r, t as i } from "./string-BOhFwaZD.js";
|
|
2
2
|
//#region node_modules/d3-array/src/ascending.js
|
|
3
3
|
function a(e, t) {
|
|
4
4
|
return e == null || t == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
|
|
@@ -63,73 +63,20 @@ function* u(e, t) {
|
|
|
63
63
|
var d = s(a), f = d.right;
|
|
64
64
|
d.left, s(l).center;
|
|
65
65
|
//#endregion
|
|
66
|
-
//#region node_modules/internmap/src/index.js
|
|
67
|
-
var p = class extends Map {
|
|
68
|
-
constructor(e, t = v) {
|
|
69
|
-
if (super(), Object.defineProperties(this, {
|
|
70
|
-
_intern: { value: /* @__PURE__ */ new Map() },
|
|
71
|
-
_key: { value: t }
|
|
72
|
-
}), e != null) for (let [t, n] of e) this.set(t, n);
|
|
73
|
-
}
|
|
74
|
-
get(e) {
|
|
75
|
-
return super.get(h(this, e));
|
|
76
|
-
}
|
|
77
|
-
has(e) {
|
|
78
|
-
return super.has(h(this, e));
|
|
79
|
-
}
|
|
80
|
-
set(e, t) {
|
|
81
|
-
return super.set(g(this, e), t);
|
|
82
|
-
}
|
|
83
|
-
delete(e) {
|
|
84
|
-
return super.delete(_(this, e));
|
|
85
|
-
}
|
|
86
|
-
}, m = class extends Set {
|
|
87
|
-
constructor(e, t = v) {
|
|
88
|
-
if (super(), Object.defineProperties(this, {
|
|
89
|
-
_intern: { value: /* @__PURE__ */ new Map() },
|
|
90
|
-
_key: { value: t }
|
|
91
|
-
}), e != null) for (let t of e) this.add(t);
|
|
92
|
-
}
|
|
93
|
-
has(e) {
|
|
94
|
-
return super.has(h(this, e));
|
|
95
|
-
}
|
|
96
|
-
add(e) {
|
|
97
|
-
return super.add(g(this, e));
|
|
98
|
-
}
|
|
99
|
-
delete(e) {
|
|
100
|
-
return super.delete(_(this, e));
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
function h({ _intern: e, _key: t }, n) {
|
|
104
|
-
let r = t(n);
|
|
105
|
-
return e.has(r) ? e.get(r) : n;
|
|
106
|
-
}
|
|
107
|
-
function g({ _intern: e, _key: t }, n) {
|
|
108
|
-
let r = t(n);
|
|
109
|
-
return e.has(r) ? e.get(r) : (e.set(r, n), n);
|
|
110
|
-
}
|
|
111
|
-
function _({ _intern: e, _key: t }, n) {
|
|
112
|
-
let r = t(n);
|
|
113
|
-
return e.has(r) && (n = e.get(r), e.delete(r)), n;
|
|
114
|
-
}
|
|
115
|
-
function v(e) {
|
|
116
|
-
return typeof e == "object" && e ? e.valueOf() : e;
|
|
117
|
-
}
|
|
118
|
-
//#endregion
|
|
119
66
|
//#region node_modules/d3-array/src/ticks.js
|
|
120
|
-
var
|
|
121
|
-
function
|
|
122
|
-
let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >=
|
|
123
|
-
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 ?
|
|
67
|
+
var p = Math.sqrt(50), m = Math.sqrt(10), h = Math.sqrt(2);
|
|
68
|
+
function g(e, t, n) {
|
|
69
|
+
let r = (t - e) / Math.max(0, n), i = Math.floor(Math.log10(r)), a = r / 10 ** i, o = a >= p ? 10 : a >= m ? 5 : a >= h ? 2 : 1, s, c, l;
|
|
70
|
+
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 ? g(e, t, n * 2) : [
|
|
124
71
|
s,
|
|
125
72
|
c,
|
|
126
73
|
l
|
|
127
74
|
];
|
|
128
75
|
}
|
|
129
|
-
function
|
|
76
|
+
function _(e, t, n) {
|
|
130
77
|
if (t = +t, e = +e, n = +n, !(n > 0)) return [];
|
|
131
78
|
if (e === t) return [e];
|
|
132
|
-
let r = t < e, [i, a, o] = r ?
|
|
79
|
+
let r = t < e, [i, a, o] = r ? g(t, e, n) : g(e, t, n);
|
|
133
80
|
if (!(a >= i)) return [];
|
|
134
81
|
let s = a - i + 1, c = Array(s);
|
|
135
82
|
if (r) {
|
|
@@ -139,39 +86,17 @@ function C(e, t, n) {
|
|
|
139
86
|
else for (let e = 0; e < s; ++e) c[e] = (i + e) * o;
|
|
140
87
|
return c;
|
|
141
88
|
}
|
|
142
|
-
function
|
|
143
|
-
return t = +t, e = +e, n = +n,
|
|
89
|
+
function v(e, t, n) {
|
|
90
|
+
return t = +t, e = +e, n = +n, g(e, t, n)[2];
|
|
144
91
|
}
|
|
145
|
-
function
|
|
92
|
+
function y(e, t, n) {
|
|
146
93
|
t = +t, e = +e, n = +n;
|
|
147
|
-
let r = t < e, i = r ?
|
|
94
|
+
let r = t < e, i = r ? v(t, e, n) : v(e, t, n);
|
|
148
95
|
return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
|
|
149
96
|
}
|
|
150
97
|
//#endregion
|
|
151
|
-
//#region node_modules/d3-scale/src/init.js
|
|
152
|
-
function E(e, t) {
|
|
153
|
-
switch (arguments.length) {
|
|
154
|
-
case 0: break;
|
|
155
|
-
case 1:
|
|
156
|
-
this.range(e);
|
|
157
|
-
break;
|
|
158
|
-
default: this.range(t).domain(e);
|
|
159
|
-
}
|
|
160
|
-
return this;
|
|
161
|
-
}
|
|
162
|
-
function ee(e, t) {
|
|
163
|
-
switch (arguments.length) {
|
|
164
|
-
case 0: break;
|
|
165
|
-
case 1:
|
|
166
|
-
typeof e == "function" ? this.interpolator(e) : this.range(e);
|
|
167
|
-
break;
|
|
168
|
-
default: this.domain(e), typeof t == "function" ? this.interpolator(t) : this.range(t);
|
|
169
|
-
}
|
|
170
|
-
return this;
|
|
171
|
-
}
|
|
172
|
-
//#endregion
|
|
173
98
|
//#region node_modules/d3-interpolate/src/numberArray.js
|
|
174
|
-
function
|
|
99
|
+
function b(e, t) {
|
|
175
100
|
t ||= [];
|
|
176
101
|
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
|
|
177
102
|
return function(a) {
|
|
@@ -179,14 +104,13 @@ function te(e, t) {
|
|
|
179
104
|
return r;
|
|
180
105
|
};
|
|
181
106
|
}
|
|
182
|
-
function
|
|
107
|
+
function x(e) {
|
|
183
108
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
184
109
|
}
|
|
185
110
|
//#endregion
|
|
186
111
|
//#region node_modules/d3-interpolate/src/array.js
|
|
187
|
-
function
|
|
188
|
-
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
|
|
189
|
-
for (o = 0; o < r; ++o) i[o] = k(e[o], t[o]);
|
|
112
|
+
function S(e, t) {
|
|
113
|
+
for (var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o = 0; o < r; ++o) i[o] = T(e[o], t[o]);
|
|
190
114
|
for (; o < n; ++o) a[o] = t[o];
|
|
191
115
|
return function(e) {
|
|
192
116
|
for (o = 0; o < r; ++o) a[o] = i[o](e);
|
|
@@ -195,7 +119,7 @@ function re(e, t) {
|
|
|
195
119
|
}
|
|
196
120
|
//#endregion
|
|
197
121
|
//#region node_modules/d3-interpolate/src/date.js
|
|
198
|
-
function
|
|
122
|
+
function C(e, t) {
|
|
199
123
|
var n = /* @__PURE__ */ new Date();
|
|
200
124
|
return e = +e, t = +t, function(r) {
|
|
201
125
|
return n.setTime(e * (1 - r) + t * r), n;
|
|
@@ -203,9 +127,9 @@ function D(e, t) {
|
|
|
203
127
|
}
|
|
204
128
|
//#endregion
|
|
205
129
|
//#region node_modules/d3-interpolate/src/object.js
|
|
206
|
-
function
|
|
130
|
+
function w(e, t) {
|
|
207
131
|
var n = {}, r = {}, i;
|
|
208
|
-
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] =
|
|
132
|
+
for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = T(e[i], t[i]) : r[i] = t[i];
|
|
209
133
|
return function(e) {
|
|
210
134
|
for (i in n) r[i] = n[i](e);
|
|
211
135
|
return r;
|
|
@@ -213,68 +137,90 @@ function O(e, t) {
|
|
|
213
137
|
}
|
|
214
138
|
//#endregion
|
|
215
139
|
//#region node_modules/d3-interpolate/src/value.js
|
|
216
|
-
function
|
|
140
|
+
function T(a, o) {
|
|
217
141
|
var s = typeof o, c;
|
|
218
|
-
return o == null || s === "boolean" ? r(o) : (s === "number" ? n : s === "string" ? (c = e(o)) ? (o = c, t) : i : o instanceof e ? t : o instanceof Date ?
|
|
142
|
+
return o == null || s === "boolean" ? r(o) : (s === "number" ? n : s === "string" ? (c = e(o)) ? (o = c, t) : i : o instanceof e ? t : o instanceof Date ? C : x(o) ? b : Array.isArray(o) ? S : typeof o.valueOf != "function" && typeof o.toString != "function" || isNaN(o) ? w : n)(a, o);
|
|
219
143
|
}
|
|
220
144
|
//#endregion
|
|
221
145
|
//#region node_modules/d3-interpolate/src/round.js
|
|
222
|
-
function
|
|
146
|
+
function E(e, t) {
|
|
223
147
|
return e = +e, t = +t, function(n) {
|
|
224
148
|
return Math.round(e * (1 - n) + t * n);
|
|
225
149
|
};
|
|
226
150
|
}
|
|
227
151
|
//#endregion
|
|
152
|
+
//#region node_modules/d3-scale/src/init.js
|
|
153
|
+
function D(e, t) {
|
|
154
|
+
switch (arguments.length) {
|
|
155
|
+
case 0: break;
|
|
156
|
+
case 1:
|
|
157
|
+
this.range(e);
|
|
158
|
+
break;
|
|
159
|
+
default: this.range(t).domain(e);
|
|
160
|
+
}
|
|
161
|
+
return this;
|
|
162
|
+
}
|
|
163
|
+
function ee(e, t) {
|
|
164
|
+
switch (arguments.length) {
|
|
165
|
+
case 0: break;
|
|
166
|
+
case 1:
|
|
167
|
+
typeof e == "function" ? this.interpolator(e) : this.range(e);
|
|
168
|
+
break;
|
|
169
|
+
default: this.domain(e), typeof t == "function" ? this.interpolator(t) : this.range(t);
|
|
170
|
+
}
|
|
171
|
+
return this;
|
|
172
|
+
}
|
|
173
|
+
//#endregion
|
|
228
174
|
//#region node_modules/d3-scale/src/constant.js
|
|
229
|
-
function
|
|
175
|
+
function te(e) {
|
|
230
176
|
return function() {
|
|
231
177
|
return e;
|
|
232
178
|
};
|
|
233
179
|
}
|
|
234
180
|
//#endregion
|
|
235
181
|
//#region node_modules/d3-scale/src/number.js
|
|
236
|
-
function
|
|
182
|
+
function O(e) {
|
|
237
183
|
return +e;
|
|
238
184
|
}
|
|
239
185
|
//#endregion
|
|
240
186
|
//#region node_modules/d3-scale/src/continuous.js
|
|
241
|
-
var
|
|
242
|
-
function
|
|
187
|
+
var k = [0, 1];
|
|
188
|
+
function A(e) {
|
|
243
189
|
return e;
|
|
244
190
|
}
|
|
245
|
-
function
|
|
191
|
+
function j(e, t) {
|
|
246
192
|
return (t -= e = +e) ? function(n) {
|
|
247
193
|
return (n - e) / t;
|
|
248
|
-
} :
|
|
194
|
+
} : te(isNaN(t) ? NaN : .5);
|
|
249
195
|
}
|
|
250
|
-
function
|
|
196
|
+
function ne(e, t) {
|
|
251
197
|
var n;
|
|
252
198
|
return e > t && (n = e, e = t, t = n), function(n) {
|
|
253
199
|
return Math.max(e, Math.min(t, n));
|
|
254
200
|
};
|
|
255
201
|
}
|
|
256
|
-
function
|
|
202
|
+
function M(e, t, n) {
|
|
257
203
|
var r = e[0], i = e[1], a = t[0], o = t[1];
|
|
258
|
-
return i < r ? (r =
|
|
204
|
+
return i < r ? (r = j(i, r), a = n(o, a)) : (r = j(r, i), a = n(a, o)), function(e) {
|
|
259
205
|
return a(r(e));
|
|
260
206
|
};
|
|
261
207
|
}
|
|
262
|
-
function
|
|
208
|
+
function re(e, t, n) {
|
|
263
209
|
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
|
|
264
|
-
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] =
|
|
210
|
+
for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = j(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
|
|
265
211
|
return function(t) {
|
|
266
212
|
var n = f(e, t, 1, r) - 1;
|
|
267
213
|
return a[n](i[n](t));
|
|
268
214
|
};
|
|
269
215
|
}
|
|
270
|
-
function
|
|
216
|
+
function N(e, t) {
|
|
271
217
|
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
|
|
272
218
|
}
|
|
273
|
-
function
|
|
274
|
-
var e =
|
|
219
|
+
function P() {
|
|
220
|
+
var e = k, t = k, r = T, i, a, o, s = A, c, l, u;
|
|
275
221
|
function d() {
|
|
276
222
|
var n = Math.min(e.length, t.length);
|
|
277
|
-
return s !==
|
|
223
|
+
return s !== A && (s = ne(e[0], e[n - 1])), c = n > 2 ? re : M, l = u = null, f;
|
|
278
224
|
}
|
|
279
225
|
function f(n) {
|
|
280
226
|
return n == null || isNaN(n = +n) ? o : (l ||= c(e.map(i), t, r))(i(s(n)));
|
|
@@ -282,13 +228,13 @@ function L() {
|
|
|
282
228
|
return f.invert = function(r) {
|
|
283
229
|
return s(a((u ||= c(t, e.map(i), n))(r)));
|
|
284
230
|
}, f.domain = function(t) {
|
|
285
|
-
return arguments.length ? (e = Array.from(t,
|
|
231
|
+
return arguments.length ? (e = Array.from(t, O), d()) : e.slice();
|
|
286
232
|
}, f.range = function(e) {
|
|
287
233
|
return arguments.length ? (t = Array.from(e), d()) : t.slice();
|
|
288
234
|
}, f.rangeRound = function(e) {
|
|
289
|
-
return t = Array.from(e), r =
|
|
235
|
+
return t = Array.from(e), r = E, d();
|
|
290
236
|
}, f.clamp = function(e) {
|
|
291
|
-
return arguments.length ? (s = e ? !0 :
|
|
237
|
+
return arguments.length ? (s = e ? !0 : A, d()) : s !== A;
|
|
292
238
|
}, f.interpolate = function(e) {
|
|
293
239
|
return arguments.length ? (r = e, d()) : r;
|
|
294
240
|
}, f.unknown = function(e) {
|
|
@@ -297,27 +243,27 @@ function L() {
|
|
|
297
243
|
return i = e, a = t, d();
|
|
298
244
|
};
|
|
299
245
|
}
|
|
300
|
-
function
|
|
301
|
-
return
|
|
246
|
+
function F() {
|
|
247
|
+
return P()(A, A);
|
|
302
248
|
}
|
|
303
249
|
//#endregion
|
|
304
250
|
//#region node_modules/d3-format/src/formatDecimal.js
|
|
305
|
-
function
|
|
251
|
+
function ie(e) {
|
|
306
252
|
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
|
|
307
253
|
}
|
|
308
|
-
function
|
|
254
|
+
function I(e, t) {
|
|
309
255
|
if (!isFinite(e) || e === 0) return null;
|
|
310
256
|
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
|
|
311
257
|
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
|
|
312
258
|
}
|
|
313
259
|
//#endregion
|
|
314
260
|
//#region node_modules/d3-format/src/exponent.js
|
|
315
|
-
function
|
|
316
|
-
return e =
|
|
261
|
+
function L(e) {
|
|
262
|
+
return e = I(Math.abs(e)), e ? e[1] : NaN;
|
|
317
263
|
}
|
|
318
264
|
//#endregion
|
|
319
265
|
//#region node_modules/d3-format/src/formatGroup.js
|
|
320
|
-
function
|
|
266
|
+
function R(e, t) {
|
|
321
267
|
return function(n, r) {
|
|
322
268
|
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];
|
|
323
269
|
return a.reverse().join(t);
|
|
@@ -325,7 +271,7 @@ function ce(e, t) {
|
|
|
325
271
|
}
|
|
326
272
|
//#endregion
|
|
327
273
|
//#region node_modules/d3-format/src/formatNumerals.js
|
|
328
|
-
function
|
|
274
|
+
function z(e) {
|
|
329
275
|
return function(t) {
|
|
330
276
|
return t.replace(/[0-9]/g, function(t) {
|
|
331
277
|
return e[+t];
|
|
@@ -334,11 +280,11 @@ function le(e) {
|
|
|
334
280
|
}
|
|
335
281
|
//#endregion
|
|
336
282
|
//#region node_modules/d3-format/src/formatSpecifier.js
|
|
337
|
-
var
|
|
338
|
-
function
|
|
339
|
-
if (!(t =
|
|
283
|
+
var ae = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
|
|
284
|
+
function B(e) {
|
|
285
|
+
if (!(t = ae.exec(e))) throw Error("invalid format: " + e);
|
|
340
286
|
var t;
|
|
341
|
-
return new
|
|
287
|
+
return new V({
|
|
342
288
|
fill: t[1],
|
|
343
289
|
align: t[2],
|
|
344
290
|
sign: t[3],
|
|
@@ -351,16 +297,16 @@ function V(e) {
|
|
|
351
297
|
type: t[10]
|
|
352
298
|
});
|
|
353
299
|
}
|
|
354
|
-
|
|
355
|
-
function
|
|
300
|
+
B.prototype = V.prototype;
|
|
301
|
+
function V(e) {
|
|
356
302
|
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 + "";
|
|
357
303
|
}
|
|
358
|
-
|
|
304
|
+
V.prototype.toString = function() {
|
|
359
305
|
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;
|
|
360
306
|
};
|
|
361
307
|
//#endregion
|
|
362
308
|
//#region node_modules/d3-format/src/formatTrim.js
|
|
363
|
-
function
|
|
309
|
+
function oe(e) {
|
|
364
310
|
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
|
|
365
311
|
case ".":
|
|
366
312
|
r = i = n;
|
|
@@ -376,17 +322,17 @@ function de(e) {
|
|
|
376
322
|
}
|
|
377
323
|
//#endregion
|
|
378
324
|
//#region node_modules/d3-format/src/formatPrefixAuto.js
|
|
379
|
-
var
|
|
380
|
-
function
|
|
381
|
-
var n =
|
|
382
|
-
if (!n) return
|
|
383
|
-
var r = n[0], i = n[1], a = i - (
|
|
384
|
-
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") +
|
|
325
|
+
var H;
|
|
326
|
+
function U(e, t) {
|
|
327
|
+
var n = I(e, t);
|
|
328
|
+
if (!n) return H = void 0, e.toPrecision(t);
|
|
329
|
+
var r = n[0], i = n[1], a = i - (H = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
|
|
330
|
+
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") + I(e, Math.max(0, t + a - 1))[0];
|
|
385
331
|
}
|
|
386
332
|
//#endregion
|
|
387
333
|
//#region node_modules/d3-format/src/formatRounded.js
|
|
388
334
|
function W(e, t) {
|
|
389
|
-
var n =
|
|
335
|
+
var n = I(e, t);
|
|
390
336
|
if (!n) return e + "";
|
|
391
337
|
var r = n[0], i = n[1];
|
|
392
338
|
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");
|
|
@@ -397,14 +343,14 @@ var G = {
|
|
|
397
343
|
"%": (e, t) => (e * 100).toFixed(t),
|
|
398
344
|
b: (e) => Math.round(e).toString(2),
|
|
399
345
|
c: (e) => e + "",
|
|
400
|
-
d:
|
|
346
|
+
d: ie,
|
|
401
347
|
e: (e, t) => e.toExponential(t),
|
|
402
348
|
f: (e, t) => e.toFixed(t),
|
|
403
349
|
g: (e, t) => e.toPrecision(t),
|
|
404
350
|
o: (e) => Math.round(e).toString(8),
|
|
405
351
|
p: (e, t) => W(e * 100, t),
|
|
406
352
|
r: W,
|
|
407
|
-
s:
|
|
353
|
+
s: U,
|
|
408
354
|
X: (e) => Math.round(e).toString(16).toUpperCase(),
|
|
409
355
|
x: (e) => Math.round(e).toString(16)
|
|
410
356
|
};
|
|
@@ -434,10 +380,10 @@ var q = Array.prototype.map, J = [
|
|
|
434
380
|
"Z",
|
|
435
381
|
"Y"
|
|
436
382
|
];
|
|
437
|
-
function
|
|
438
|
-
var t = e.grouping === void 0 || e.thousands === void 0 ? K :
|
|
383
|
+
function se(e) {
|
|
384
|
+
var t = e.grouping === void 0 || e.thousands === void 0 ? K : R(q.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 ? K : z(q.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 + "";
|
|
439
385
|
function l(e, l) {
|
|
440
|
-
e =
|
|
386
|
+
e = B(e);
|
|
441
387
|
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
|
|
442
388
|
y === "n" ? (g = !0, y = "g") : G[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
|
|
443
389
|
var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = G[y], C = /[defgprs%]/.test(y);
|
|
@@ -448,7 +394,7 @@ function pe(e) {
|
|
|
448
394
|
else {
|
|
449
395
|
e = +e;
|
|
450
396
|
var w = e < 0 || 1 / e < 0;
|
|
451
|
-
if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e =
|
|
397
|
+
if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = oe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && H !== void 0 ? J[8 + H / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
|
|
452
398
|
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
|
|
453
399
|
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
|
|
454
400
|
break;
|
|
@@ -476,7 +422,7 @@ function pe(e) {
|
|
|
476
422
|
}, w;
|
|
477
423
|
}
|
|
478
424
|
function u(e, t) {
|
|
479
|
-
var n = Math.max(-8, Math.min(8, Math.floor(
|
|
425
|
+
var n = Math.max(-8, Math.min(8, Math.floor(L(t) / 3))) * 3, r = 10 ** -n, i = l((e = B(e), e.type = "f", e), { suffix: J[8 + n / 3] });
|
|
480
426
|
return function(e) {
|
|
481
427
|
return i(r * e);
|
|
482
428
|
};
|
|
@@ -489,46 +435,46 @@ function pe(e) {
|
|
|
489
435
|
//#endregion
|
|
490
436
|
//#region node_modules/d3-format/src/defaultLocale.js
|
|
491
437
|
var Y, X, Z;
|
|
492
|
-
|
|
438
|
+
ce({
|
|
493
439
|
thousands: ",",
|
|
494
440
|
grouping: [3],
|
|
495
441
|
currency: ["$", ""]
|
|
496
442
|
});
|
|
497
|
-
function
|
|
498
|
-
return Y =
|
|
443
|
+
function ce(e) {
|
|
444
|
+
return Y = se(e), X = Y.format, Z = Y.formatPrefix, Y;
|
|
499
445
|
}
|
|
500
446
|
//#endregion
|
|
501
447
|
//#region node_modules/d3-format/src/precisionFixed.js
|
|
502
|
-
function
|
|
503
|
-
return Math.max(0, -
|
|
448
|
+
function le(e) {
|
|
449
|
+
return Math.max(0, -L(Math.abs(e)));
|
|
504
450
|
}
|
|
505
451
|
//#endregion
|
|
506
452
|
//#region node_modules/d3-format/src/precisionPrefix.js
|
|
507
|
-
function
|
|
508
|
-
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(
|
|
453
|
+
function ue(e, t) {
|
|
454
|
+
return Math.max(0, Math.max(-8, Math.min(8, Math.floor(L(t) / 3))) * 3 - L(Math.abs(e)));
|
|
509
455
|
}
|
|
510
456
|
//#endregion
|
|
511
457
|
//#region node_modules/d3-format/src/precisionRound.js
|
|
512
|
-
function
|
|
513
|
-
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0,
|
|
458
|
+
function de(e, t) {
|
|
459
|
+
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, L(t) - L(e)) + 1;
|
|
514
460
|
}
|
|
515
461
|
//#endregion
|
|
516
462
|
//#region node_modules/d3-scale/src/tickFormat.js
|
|
517
|
-
function
|
|
518
|
-
var i =
|
|
519
|
-
switch (r =
|
|
463
|
+
function fe(e, t, n, r) {
|
|
464
|
+
var i = y(e, t, n), a;
|
|
465
|
+
switch (r = B(r ?? ",f"), r.type) {
|
|
520
466
|
case "s":
|
|
521
467
|
var o = Math.max(Math.abs(e), Math.abs(t));
|
|
522
|
-
return r.precision == null && !isNaN(a =
|
|
468
|
+
return r.precision == null && !isNaN(a = ue(i, o)) && (r.precision = a), Z(r, o);
|
|
523
469
|
case "":
|
|
524
470
|
case "e":
|
|
525
471
|
case "g":
|
|
526
472
|
case "p":
|
|
527
473
|
case "r":
|
|
528
|
-
r.precision == null && !isNaN(a =
|
|
474
|
+
r.precision == null && !isNaN(a = de(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
|
|
529
475
|
break;
|
|
530
476
|
case "f":
|
|
531
|
-
case "%": r.precision == null && !isNaN(a =
|
|
477
|
+
case "%": r.precision == null && !isNaN(a = le(i)) && (r.precision = a - (r.type === "%") * 2);
|
|
532
478
|
}
|
|
533
479
|
return X(r);
|
|
534
480
|
}
|
|
@@ -538,15 +484,15 @@ function Q(e) {
|
|
|
538
484
|
var t = e.domain;
|
|
539
485
|
return e.ticks = function(e) {
|
|
540
486
|
var n = t();
|
|
541
|
-
return
|
|
487
|
+
return _(n[0], n[n.length - 1], e ?? 10);
|
|
542
488
|
}, e.tickFormat = function(e, n) {
|
|
543
489
|
var r = t();
|
|
544
|
-
return
|
|
490
|
+
return fe(r[0], r[r.length - 1], e ?? 10, n);
|
|
545
491
|
}, e.nice = function(n) {
|
|
546
492
|
n ??= 10;
|
|
547
493
|
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
|
|
548
494
|
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
|
|
549
|
-
if (l =
|
|
495
|
+
if (l = v(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
|
|
550
496
|
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
|
|
551
497
|
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
|
|
552
498
|
else break;
|
|
@@ -556,10 +502,10 @@ function Q(e) {
|
|
|
556
502
|
}, e;
|
|
557
503
|
}
|
|
558
504
|
function $() {
|
|
559
|
-
var e =
|
|
505
|
+
var e = F();
|
|
560
506
|
return e.copy = function() {
|
|
561
|
-
return
|
|
562
|
-
},
|
|
507
|
+
return N(e, $());
|
|
508
|
+
}, D.apply(e, arguments), Q(e);
|
|
563
509
|
}
|
|
564
510
|
//#endregion
|
|
565
|
-
export {
|
|
511
|
+
export { l as _, F as a, o as b, P as c, D as d, E as f, f as g, _ as h, B as i, O as l, y as m, Q as n, N as o, T as p, X as r, A as s, $ as t, ee as u, u as v, a as x, s as y };
|