@peasant-labs/fairtrade 0.0.51 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/lib/base.css +1 -1
  2. package/dist/lib/commons.js +544 -522
  3. package/dist/lib/components.css +1 -1
  4. package/dist/lib/share.js +2 -2
  5. package/dist/lib/tokens.css +2 -2
  6. package/dist/lib/tokens.json +2 -2
  7. package/dist/lib/types/AppSidebar.d.ts +9 -11
  8. package/dist/lib/types/Avatar.d.ts +2 -2
  9. package/dist/lib/types/Breadcrumb.d.ts +12 -5
  10. package/dist/lib/types/Dialog.d.ts +1 -1
  11. package/dist/lib/types/Input.d.ts +3 -3
  12. package/dist/lib/types/OverflowList.d.ts +1 -1
  13. package/dist/lib/types/RepoPicker.d.ts +3 -1
  14. package/dist/lib/types/Switch.d.ts +3 -3
  15. package/dist/lib/types/commons/Explore.d.ts +1 -1
  16. package/dist/lib/types/commons/types.d.ts +12 -0
  17. package/dist/lib/{ui-Do7A_I-0.js → ui-suNzomre.js} +1682 -1623
  18. package/dist/lib/ui.js +1 -1
  19. package/package.json +1 -1
  20. package/dist/lib/abnfDiagram-WEYOIA3C-D4LMNFIJ.js +0 -89
  21. package/dist/lib/arc-1xTxsoRi.js +0 -80
  22. package/dist/lib/architecture-WOLXFQ4H-c6RsZuzu.js +0 -3
  23. package/dist/lib/architectureDiagram-ZHVYKT53-DTINqD5R.js +0 -4145
  24. package/dist/lib/array-CApNbSU9.js +0 -6
  25. package/dist/lib/blockDiagram-RJAE7QA3-CUYHoR3g.js +0 -1946
  26. package/dist/lib/c4Diagram-XDPPPE54-Cdx6_DsI.js +0 -2990
  27. package/dist/lib/channel-DagAO2vE.js +0 -5
  28. package/dist/lib/chunk-2E7WHVMD-BzhgXW3b.js +0 -490
  29. package/dist/lib/chunk-2Q5K7J3B-DWNwIK5Y.js +0 -15
  30. package/dist/lib/chunk-4EMNKR2T-DhFrQz9k.js +0 -236
  31. package/dist/lib/chunk-55XCU76K-CI0GXDkJ.js +0 -61
  32. package/dist/lib/chunk-5VM5RSS4-BAQ-46g4.js +0 -5
  33. package/dist/lib/chunk-7S6XSTFO-CMt_p-O6.js +0 -1373
  34. package/dist/lib/chunk-AQDTSKZB-DrZccIQa.js +0 -1847
  35. package/dist/lib/chunk-DSNLSHJZ-CpA9d2CJ.js +0 -4044
  36. package/dist/lib/chunk-DUW6YSOI-C-tN4Kiv.js +0 -10
  37. package/dist/lib/chunk-EJLWFMJV-B30MNYvY.js +0 -75
  38. package/dist/lib/chunk-HAGFOTED-DMU2JNZM.js +0 -4487
  39. package/dist/lib/chunk-HNE4Q36P-BIA0n2gA.js +0 -363
  40. package/dist/lib/chunk-J5ZVWO5B-CA_-jk8G.js +0 -12
  41. package/dist/lib/chunk-JWPE2WC7-KRpHbrIX.js +0 -8
  42. package/dist/lib/chunk-LNGE3PJU-CMGaAEAh.js +0 -1513
  43. package/dist/lib/chunk-NGNAAXSQ-D7Dvct7J.js +0 -19774
  44. package/dist/lib/chunk-NQOKRVIF-MK9F46y3.js +0 -4258
  45. package/dist/lib/chunk-OYAV6JZA-B1yICcbU.js +0 -10
  46. package/dist/lib/chunk-UHW7PFBP-CLrOaA0y.js +0 -67
  47. package/dist/lib/chunk-VQ5W62QI-_ZR3gKe4.js +0 -26
  48. package/dist/lib/chunk-WQQL4CDK-DFtyhYZq.js +0 -693
  49. package/dist/lib/chunk-XXDRQBXY-uzyNBbgx.js +0 -9
  50. package/dist/lib/chunk-Y2CYZVJY-BYzrzvCI.js +0 -12
  51. package/dist/lib/chunk-YZO67HFG-D1jKt78p.js +0 -275
  52. package/dist/lib/chunk-ZAUX2LTX-7XO0Yj1z.js +0 -37
  53. package/dist/lib/chunk-ZCHMQSOR-CxoKltfF.js +0 -349
  54. package/dist/lib/classDiagram-v2-4MYWR3UA-BPvwhZqw.js +0 -3397
  55. package/dist/lib/cose-bilkent-JH36ORCC-Oj79uOIQ.js +0 -2250
  56. package/dist/lib/cynefin-EF2NZ3EQ-COX3NRum.js +0 -3
  57. package/dist/lib/cynefinDiagram-WF24UDRP-UzTptNAX.js +0 -349
  58. package/dist/lib/cytoscape.esm-0ojxgO9x.js +0 -18161
  59. package/dist/lib/dagre-NK4GIZVX-DWZr-NGm.js +0 -2356
  60. package/dist/lib/defaultLocale-BbgDuMnp.js +0 -201
  61. package/dist/lib/diagram-CBK3MWTC-CsyKuv-w.js +0 -525
  62. package/dist/lib/diagram-I5XIIV2D-DWY2JSPC.js +0 -134
  63. package/dist/lib/diagram-ODIL2UCW-DUptj0JZ.js +0 -301
  64. package/dist/lib/diagram-PFBEJUXE-N5XnIBqM.js +0 -447
  65. package/dist/lib/diagram-RJA3I4VV-B9XgohYo.js +0 -214
  66. package/dist/lib/diagram-TYUNFSNR-XnsJIeAd.js +0 -5084
  67. package/dist/lib/dist-AMlsjiDX.js +0 -59
  68. package/dist/lib/ebnfDiagram-V4P3TTPT-BssHqFox.js +0 -100
  69. package/dist/lib/elk-QONTBCTQ-DwmwqYgP.js +0 -47944
  70. package/dist/lib/erDiagram-KYQIGQAA-BQiXw1Tw.js +0 -1970
  71. package/dist/lib/eventmodeling-K75KTNOO-DDb--yMc.js +0 -3
  72. package/dist/lib/flowDiagram-IUGLLWBU-BEqqF1y2.js +0 -17
  73. package/dist/lib/ganttDiagram-R7GPNTJY-BWtGXxEF.js +0 -3094
  74. package/dist/lib/gitGraph-VSP46ZUC-BSwOaak_.js +0 -3
  75. package/dist/lib/gitGraphDiagram-PDYL7XHY-CHGNuGbk.js +0 -729
  76. package/dist/lib/graphlib-Dndp26xU.js +0 -1267
  77. package/dist/lib/info-OHQRW6UA-Dk06sZRe.js +0 -3
  78. package/dist/lib/infoDiagram-MVDRKAX5-Cdhxnjmi.js +0 -20
  79. package/dist/lib/init-Bwwdo3M6.js +0 -15
  80. package/dist/lib/ishikawaDiagram-HPEHV2GE-Dzhti-GJ.js +0 -719
  81. package/dist/lib/journeyDiagram-BOSHW7O7-C3_vsSjw.js +0 -884
  82. package/dist/lib/kanban-definition-FNSA4HC5-XsfCEsjn.js +0 -976
  83. package/dist/lib/katex-Dw0PnoPU.js +0 -21850
  84. package/dist/lib/line-C9krU3Sv.js +0 -34
  85. package/dist/lib/linear-Cvilv3OA.js +0 -289
  86. package/dist/lib/mermaid-parser.core-I7qQ_fxz.js +0 -638
  87. package/dist/lib/mermaid.core-UNHMAbBP.js +0 -1126
  88. package/dist/lib/mindmap-definition-6OY57UG3-CAua-JvB.js +0 -1011
  89. package/dist/lib/ordinal-C55HfHHp.js +0 -65
  90. package/dist/lib/packet-JDAUHWVQ-DZ-MKx4I.js +0 -3
  91. package/dist/lib/path-DNvJyUE8.js +0 -85
  92. package/dist/lib/pegDiagram-ECIUJNBX-BCxa_IO0.js +0 -94
  93. package/dist/lib/pie-XZMESJXO-DpCa-Nnq.js +0 -3
  94. package/dist/lib/pieDiagram-GNMPY74T-CE_C3dCB.js +0 -205
  95. package/dist/lib/quadrantDiagram-D57K4MC3-CDgzdMoL.js +0 -2001
  96. package/dist/lib/radar-ABXABTNO-BOVK7L9p.js +0 -3
  97. package/dist/lib/railroad-I3PHUGI6-B6spKM0Z.js +0 -3
  98. package/dist/lib/railroad-abnf-LNEFI6M7-DEWqfByZ.js +0 -3
  99. package/dist/lib/railroad-ebnf-DWYD2UWJ-CWRLtxHB.js +0 -3
  100. package/dist/lib/railroad-peg-JR7BVNR7-C-3NHSsk.js +0 -3
  101. package/dist/lib/railroadDiagram-Y72NRBL7-a8YVk8LT.js +0 -76
  102. package/dist/lib/requirementDiagram-EQYSW5RA-B9HolqxU.js +0 -2228
  103. package/dist/lib/rough.esm-a8mysczE.js +0 -1352
  104. package/dist/lib/sankeyDiagram-SY24JHO5-CLFMtMJG.js +0 -970
  105. package/dist/lib/sequenceDiagram-BLEHNHQU-B5wfSV85.js +0 -4253
  106. package/dist/lib/sizeCapture-INFHLROL-BWGCc9aa.js +0 -46
  107. package/dist/lib/src-Dcy0zUZH.js +0 -2153
  108. package/dist/lib/stateDiagram-v2-A6IESKWZ-C92vye4N.js +0 -2143
  109. package/dist/lib/swimlanes-B3ENRKFQ-B6-i-tPc.js +0 -4764
  110. package/dist/lib/swimlanesDiagram-AYQRV4AK-CbkBeql-.js +0 -28
  111. package/dist/lib/timeline-definition-JXYKGLGB-D2Ip4r72.js +0 -1073
  112. package/dist/lib/treeView-D4JQ5SDB-CFaKQ_2T.js +0 -3
  113. package/dist/lib/treemap-SAJKECNS-BQ6z7Z3g.js +0 -3
  114. package/dist/lib/usecaseDiagram-WPOLBNNX-BK1Anch1.js +0 -7190
  115. package/dist/lib/vennDiagram-Q3Y3IDCW-B6YTBqTS.js +0 -1880
  116. package/dist/lib/wardley-7MLQ67FV-DChYwu4i.js +0 -3
  117. package/dist/lib/wardleyDiagram-IVAIDKWA-D5I1qLUK.js +0 -645
  118. package/dist/lib/xychartDiagram-4URNHDU4-B6RXyhTO.js +0 -2218
@@ -1,2153 +0,0 @@
1
- import { n as e } from "./chunk-Y2CYZVJY-BYzrzvCI.js";
2
- //#region \0rolldown/runtime.js
3
- var t = Object.create, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = Object.getOwnPropertyNames, a = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, t, a, s) => {
4
- if (t && typeof t == "object" || typeof t == "function") for (var c = i(t), l = 0, u = c.length, d; l < u; l++) d = c[l], !o.call(e, d) && d !== a && n(e, d, {
5
- get: ((e) => t[e]).bind(null, d),
6
- enumerable: !(s = r(t, d)) || s.enumerable
7
- });
8
- return e;
9
- }, l = (e, r, i) => (i = e == null ? {} : t(a(e)), c(r || !e || !e.__esModule ? n(i, "default", {
10
- value: e,
11
- enumerable: !0
12
- }) : i, e)), u = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
13
- if (typeof require < "u") return require.apply(this, arguments);
14
- throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
15
- }), d = /* @__PURE__ */ s(((e, t) => {
16
- (function(n, r) {
17
- typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
18
- })(e, (function() {
19
- var e = 1e3, t = 6e4, n = 36e5, r = "millisecond", i = "second", a = "minute", o = "hour", s = "day", c = "week", l = "month", u = "quarter", d = "year", f = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = {
20
- name: "en",
21
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
22
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
23
- ordinal: function(e) {
24
- var t = [
25
- "th",
26
- "st",
27
- "nd",
28
- "rd"
29
- ], n = e % 100;
30
- return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
31
- }
32
- }, _ = function(e, t, n) {
33
- var r = String(e);
34
- return !r || r.length >= t ? e : "" + Array(t + 1 - r.length).join(n) + e;
35
- }, v = {
36
- s: _,
37
- z: function(e) {
38
- var t = -e.utcOffset(), n = Math.abs(t), r = Math.floor(n / 60), i = n % 60;
39
- return (t <= 0 ? "+" : "-") + _(r, 2, "0") + ":" + _(i, 2, "0");
40
- },
41
- m: function e(t, n) {
42
- if (t.date() < n.date()) return -e(n, t);
43
- var r = 12 * (n.year() - t.year()) + (n.month() - t.month()), i = t.clone().add(r, l), a = n - i < 0, o = t.clone().add(r + (a ? -1 : 1), l);
44
- return +(-(r + (n - i) / (a ? i - o : o - i)) || 0);
45
- },
46
- a: function(e) {
47
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
48
- },
49
- p: function(e) {
50
- return {
51
- M: l,
52
- y: d,
53
- w: c,
54
- d: s,
55
- D: f,
56
- h: o,
57
- m: a,
58
- s: i,
59
- ms: r,
60
- Q: u
61
- }[e] || String(e || "").toLowerCase().replace(/s$/, "");
62
- },
63
- u: function(e) {
64
- return e === void 0;
65
- }
66
- }, y = "en", b = {};
67
- b[y] = g;
68
- var ee = "$isDayjsObject", x = function(e) {
69
- return e instanceof T || !(!e || !e[ee]);
70
- }, S = function e(t, n, r) {
71
- var i;
72
- if (!t) return y;
73
- if (typeof t == "string") {
74
- var a = t.toLowerCase();
75
- b[a] && (i = a), n && (b[a] = n, i = a);
76
- var o = t.split("-");
77
- if (!i && o.length > 1) return e(o[0]);
78
- } else {
79
- var s = t.name;
80
- b[s] = t, i = s;
81
- }
82
- return !r && i && (y = i), i || !r && y;
83
- }, C = function(e, t) {
84
- if (x(e)) return e.clone();
85
- var n = typeof t == "object" ? t : {};
86
- return n.date = e, n.args = arguments, new T(n);
87
- }, w = v;
88
- w.l = S, w.i = x, w.w = function(e, t) {
89
- return C(e, {
90
- locale: t.$L,
91
- utc: t.$u,
92
- x: t.$x,
93
- $offset: t.$offset
94
- });
95
- };
96
- var T = function() {
97
- function g(e) {
98
- this.$L = S(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[ee] = !0;
99
- }
100
- var _ = g.prototype;
101
- return _.parse = function(e) {
102
- this.$d = function(e) {
103
- var t = e.date, n = e.utc;
104
- if (t === null) return /* @__PURE__ */ new Date(NaN);
105
- if (w.u(t)) return /* @__PURE__ */ new Date();
106
- if (t instanceof Date) return new Date(t);
107
- if (typeof t == "string" && !/Z$/i.test(t)) {
108
- var r = t.match(m);
109
- if (r) {
110
- var i = r[2] - 1 || 0, a = (r[7] || "0").substring(0, 3);
111
- return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a);
112
- }
113
- }
114
- return new Date(t);
115
- }(e), this.init();
116
- }, _.init = function() {
117
- var e = this.$d;
118
- this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
119
- }, _.$utils = function() {
120
- return w;
121
- }, _.isValid = function() {
122
- return this.$d.toString() !== p;
123
- }, _.isSame = function(e, t) {
124
- var n = C(e);
125
- return this.startOf(t) <= n && n <= this.endOf(t);
126
- }, _.isAfter = function(e, t) {
127
- return C(e) < this.startOf(t);
128
- }, _.isBefore = function(e, t) {
129
- return this.endOf(t) < C(e);
130
- }, _.$g = function(e, t, n) {
131
- return w.u(e) ? this[t] : this.set(n, e);
132
- }, _.unix = function() {
133
- return Math.floor(this.valueOf() / 1e3);
134
- }, _.valueOf = function() {
135
- return this.$d.getTime();
136
- }, _.startOf = function(e, t) {
137
- var n = this, r = !!w.u(t) || t, u = w.p(e), p = function(e, t) {
138
- var i = w.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n);
139
- return r ? i : i.endOf(s);
140
- }, m = function(e, t) {
141
- return w.w(n.toDate()[e].apply(n.toDate("s"), (r ? [
142
- 0,
143
- 0,
144
- 0,
145
- 0
146
- ] : [
147
- 23,
148
- 59,
149
- 59,
150
- 999
151
- ]).slice(t)), n);
152
- }, h = this.$W, g = this.$M, _ = this.$D, v = "set" + (this.$u ? "UTC" : "");
153
- switch (u) {
154
- case d: return r ? p(1, 0) : p(31, 11);
155
- case l: return r ? p(1, g) : p(0, g + 1);
156
- case c:
157
- var y = this.$locale().weekStart || 0, b = (h < y ? h + 7 : h) - y;
158
- return p(r ? _ - b : _ + (6 - b), g);
159
- case s:
160
- case f: return m(v + "Hours", 0);
161
- case o: return m(v + "Minutes", 1);
162
- case a: return m(v + "Seconds", 2);
163
- case i: return m(v + "Milliseconds", 3);
164
- default: return this.clone();
165
- }
166
- }, _.endOf = function(e) {
167
- return this.startOf(e, !1);
168
- }, _.$set = function(e, t) {
169
- var n, c = w.p(e), u = "set" + (this.$u ? "UTC" : ""), p = (n = {}, n[s] = u + "Date", n[f] = u + "Date", n[l] = u + "Month", n[d] = u + "FullYear", n[o] = u + "Hours", n[a] = u + "Minutes", n[i] = u + "Seconds", n[r] = u + "Milliseconds", n)[c], m = c === s ? this.$D + (t - this.$W) : t;
170
- if (c === l || c === d) {
171
- var h = this.clone().set(f, 1);
172
- h.$d[p](m), h.init(), this.$d = h.set(f, Math.min(this.$D, h.daysInMonth())).$d;
173
- } else p && this.$d[p](m);
174
- return this.init(), this;
175
- }, _.set = function(e, t) {
176
- return this.clone().$set(e, t);
177
- }, _.get = function(e) {
178
- return this[w.p(e)]();
179
- }, _.add = function(r, u) {
180
- var f, p = this;
181
- r = Number(r);
182
- var m = w.p(u), h = function(e) {
183
- var t = C(p);
184
- return w.w(t.date(t.date() + Math.round(e * r)), p);
185
- };
186
- if (m === l) return this.set(l, this.$M + r);
187
- if (m === d) return this.set(d, this.$y + r);
188
- if (m === s) return h(1);
189
- if (m === c) return h(7);
190
- var g = (f = {}, f[a] = t, f[o] = n, f[i] = e, f)[m] || 1, _ = this.$d.getTime() + r * g;
191
- return w.w(_, this);
192
- }, _.subtract = function(e, t) {
193
- return this.add(-1 * e, t);
194
- }, _.format = function(e) {
195
- var t = this, n = this.$locale();
196
- if (!this.isValid()) return n.invalidDate || p;
197
- var r = e || "YYYY-MM-DDTHH:mm:ssZ", i = w.z(this), a = this.$H, o = this.$m, s = this.$M, c = n.weekdays, l = n.months, u = n.meridiem, d = function(e, n, i, a) {
198
- return e && (e[n] || e(t, r)) || i[n].slice(0, a);
199
- }, f = function(e) {
200
- return w.s(a % 12 || 12, e, "0");
201
- }, m = u || function(e, t, n) {
202
- var r = e < 12 ? "AM" : "PM";
203
- return n ? r.toLowerCase() : r;
204
- };
205
- return r.replace(h, (function(e, r) {
206
- return r || function(e) {
207
- switch (e) {
208
- case "YY": return String(t.$y).slice(-2);
209
- case "YYYY": return w.s(t.$y, 4, "0");
210
- case "M": return s + 1;
211
- case "MM": return w.s(s + 1, 2, "0");
212
- case "MMM": return d(n.monthsShort, s, l, 3);
213
- case "MMMM": return d(l, s);
214
- case "D": return t.$D;
215
- case "DD": return w.s(t.$D, 2, "0");
216
- case "d": return String(t.$W);
217
- case "dd": return d(n.weekdaysMin, t.$W, c, 2);
218
- case "ddd": return d(n.weekdaysShort, t.$W, c, 3);
219
- case "dddd": return c[t.$W];
220
- case "H": return String(a);
221
- case "HH": return w.s(a, 2, "0");
222
- case "h": return f(1);
223
- case "hh": return f(2);
224
- case "a": return m(a, o, !0);
225
- case "A": return m(a, o, !1);
226
- case "m": return String(o);
227
- case "mm": return w.s(o, 2, "0");
228
- case "s": return String(t.$s);
229
- case "ss": return w.s(t.$s, 2, "0");
230
- case "SSS": return w.s(t.$ms, 3, "0");
231
- case "Z": return i;
232
- }
233
- return null;
234
- }(e) || i.replace(":", "");
235
- }));
236
- }, _.utcOffset = function() {
237
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
238
- }, _.diff = function(r, f, p) {
239
- var m, h = this, g = w.p(f), _ = C(r), v = (_.utcOffset() - this.utcOffset()) * t, y = this - _, b = function() {
240
- return w.m(h, _);
241
- };
242
- switch (g) {
243
- case d:
244
- m = b() / 12;
245
- break;
246
- case l:
247
- m = b();
248
- break;
249
- case u:
250
- m = b() / 3;
251
- break;
252
- case c:
253
- m = (y - v) / 6048e5;
254
- break;
255
- case s:
256
- m = (y - v) / 864e5;
257
- break;
258
- case o:
259
- m = y / n;
260
- break;
261
- case a:
262
- m = y / t;
263
- break;
264
- case i:
265
- m = y / e;
266
- break;
267
- default: m = y;
268
- }
269
- return p ? m : w.a(m);
270
- }, _.daysInMonth = function() {
271
- return this.endOf(l).$D;
272
- }, _.$locale = function() {
273
- return b[this.$L];
274
- }, _.locale = function(e, t) {
275
- if (!e) return this.$L;
276
- var n = this.clone(), r = S(e, t, !0);
277
- return r && (n.$L = r), n;
278
- }, _.clone = function() {
279
- return w.w(this.$d, this);
280
- }, _.toDate = function() {
281
- return new Date(this.valueOf());
282
- }, _.toJSON = function() {
283
- return this.isValid() ? this.toISOString() : null;
284
- }, _.toISOString = function() {
285
- return this.$d.toISOString();
286
- }, _.toString = function() {
287
- return this.$d.toUTCString();
288
- }, g;
289
- }(), te = T.prototype;
290
- return C.prototype = te, [
291
- ["$ms", r],
292
- ["$s", i],
293
- ["$m", a],
294
- ["$H", o],
295
- ["$W", s],
296
- ["$M", l],
297
- ["$y", d],
298
- ["$D", f]
299
- ].forEach((function(e) {
300
- te[e[1]] = function(t) {
301
- return this.$g(t, e[0], e[1]);
302
- };
303
- })), C.extend = function(e, t) {
304
- return e.$i ||= (e(t, T, C), !0), C;
305
- }, C.locale = S, C.isDayjs = x, C.unix = function(e) {
306
- return C(1e3 * e);
307
- }, C.en = b[y], C.Ls = b, C.p = {}, C;
308
- }));
309
- })), f = /* @__PURE__ */ l(d(), 1), p = {
310
- trace: 0,
311
- debug: 1,
312
- info: 2,
313
- warn: 3,
314
- error: 4,
315
- fatal: 5
316
- }, m = {
317
- trace: /* @__PURE__ */ e((...e) => {}, "trace"),
318
- debug: /* @__PURE__ */ e((...e) => {}, "debug"),
319
- info: /* @__PURE__ */ e((...e) => {}, "info"),
320
- warn: /* @__PURE__ */ e((...e) => {}, "warn"),
321
- error: /* @__PURE__ */ e((...e) => {}, "error"),
322
- fatal: /* @__PURE__ */ e((...e) => {}, "fatal")
323
- }, h = /* @__PURE__ */ e(function(e = "fatal") {
324
- let t = p.fatal;
325
- typeof e == "string" ? e.toLowerCase() in p && (t = p[e]) : typeof e == "number" && (t = e), m.trace = () => {}, m.debug = () => {}, m.info = () => {}, m.warn = () => {}, m.error = () => {}, m.fatal = () => {}, t <= p.fatal && (m.fatal = console.error ? console.error.bind(console, g("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", g("FATAL"))), t <= p.error && (m.error = console.error ? console.error.bind(console, g("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", g("ERROR"))), t <= p.warn && (m.warn = console.warn ? console.warn.bind(console, g("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", g("WARN"))), t <= p.info && (m.info = console.info ? console.info.bind(console, g("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", g("INFO"))), t <= p.debug && (m.debug = console.debug ? console.debug.bind(console, g("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", g("DEBUG"))), t <= p.trace && (m.trace = console.debug ? console.debug.bind(console, g("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", g("TRACE")));
326
- }, "setLogLevel"), g = /* @__PURE__ */ e((e) => `%c${(0, f.default)().format("ss.SSS")} : ${e} : `, "format"), _ = { value: () => {} };
327
- function v() {
328
- for (var e = 0, t = arguments.length, n = {}, r; e < t; ++e) {
329
- if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw Error("illegal type: " + r);
330
- n[r] = [];
331
- }
332
- return new y(n);
333
- }
334
- function y(e) {
335
- this._ = e;
336
- }
337
- function b(e, t) {
338
- return e.trim().split(/^|\s+/).map(function(e) {
339
- var n = "", r = e.indexOf(".");
340
- if (r >= 0 && (n = e.slice(r + 1), e = e.slice(0, r)), e && !t.hasOwnProperty(e)) throw Error("unknown type: " + e);
341
- return {
342
- type: e,
343
- name: n
344
- };
345
- });
346
- }
347
- y.prototype = v.prototype = {
348
- constructor: y,
349
- on: function(e, t) {
350
- var n = this._, r = b(e + "", n), i, a = -1, o = r.length;
351
- if (arguments.length < 2) {
352
- for (; ++a < o;) if ((i = (e = r[a]).type) && (i = ee(n[i], e.name))) return i;
353
- return;
354
- }
355
- if (t != null && typeof t != "function") throw Error("invalid callback: " + t);
356
- for (; ++a < o;) if (i = (e = r[a]).type) n[i] = x(n[i], e.name, t);
357
- else if (t == null) for (i in n) n[i] = x(n[i], e.name, null);
358
- return this;
359
- },
360
- copy: function() {
361
- var e = {}, t = this._;
362
- for (var n in t) e[n] = t[n].slice();
363
- return new y(e);
364
- },
365
- call: function(e, t) {
366
- if ((i = arguments.length - 2) > 0) for (var n = Array(i), r = 0, i, a; r < i; ++r) n[r] = arguments[r + 2];
367
- if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
368
- for (a = this._[e], r = 0, i = a.length; r < i; ++r) a[r].value.apply(t, n);
369
- },
370
- apply: function(e, t, n) {
371
- if (!this._.hasOwnProperty(e)) throw Error("unknown type: " + e);
372
- for (var r = this._[e], i = 0, a = r.length; i < a; ++i) r[i].value.apply(t, n);
373
- }
374
- };
375
- function ee(e, t) {
376
- for (var n = 0, r = e.length, i; n < r; ++n) if ((i = e[n]).name === t) return i.value;
377
- }
378
- function x(e, t, n) {
379
- for (var r = 0, i = e.length; r < i; ++r) if (e[r].name === t) {
380
- e[r] = _, e = e.slice(0, r).concat(e.slice(r + 1));
381
- break;
382
- }
383
- return n != null && e.push({
384
- name: t,
385
- value: n
386
- }), e;
387
- }
388
- var S = {
389
- svg: "http://www.w3.org/2000/svg",
390
- xhtml: "http://www.w3.org/1999/xhtml",
391
- xlink: "http://www.w3.org/1999/xlink",
392
- xml: "http://www.w3.org/XML/1998/namespace",
393
- xmlns: "http://www.w3.org/2000/xmlns/"
394
- };
395
- //#endregion
396
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js
397
- function C(e) {
398
- var t = e += "", n = t.indexOf(":");
399
- return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), S.hasOwnProperty(t) ? {
400
- space: S[t],
401
- local: e
402
- } : e;
403
- }
404
- //#endregion
405
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js
406
- function w(e) {
407
- return function() {
408
- var t = this.ownerDocument, n = this.namespaceURI;
409
- return n === "http://www.w3.org/1999/xhtml" && t.documentElement.namespaceURI === "http://www.w3.org/1999/xhtml" ? t.createElement(e) : t.createElementNS(n, e);
410
- };
411
- }
412
- function T(e) {
413
- return function() {
414
- return this.ownerDocument.createElementNS(e.space, e.local);
415
- };
416
- }
417
- function te(e) {
418
- var t = C(e);
419
- return (t.local ? T : w)(t);
420
- }
421
- //#endregion
422
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js
423
- function ne() {}
424
- function re(e) {
425
- return e == null ? ne : function() {
426
- return this.querySelector(e);
427
- };
428
- }
429
- //#endregion
430
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js
431
- function ie(e) {
432
- typeof e != "function" && (e = re(e));
433
- 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);
434
- return new O(r, this._parents);
435
- }
436
- //#endregion
437
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js
438
- function ae(e) {
439
- return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
440
- }
441
- //#endregion
442
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js
443
- function oe() {
444
- return [];
445
- }
446
- function se(e) {
447
- return e == null ? oe : function() {
448
- return this.querySelectorAll(e);
449
- };
450
- }
451
- //#endregion
452
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js
453
- function ce(e) {
454
- return function() {
455
- return ae(e.apply(this, arguments));
456
- };
457
- }
458
- function le(e) {
459
- e = typeof e == "function" ? ce(e) : se(e);
460
- 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));
461
- return new O(r, i);
462
- }
463
- //#endregion
464
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js
465
- function ue(e) {
466
- return function() {
467
- return this.matches(e);
468
- };
469
- }
470
- function de(e) {
471
- return function(t) {
472
- return t.matches(e);
473
- };
474
- }
475
- //#endregion
476
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js
477
- var fe = Array.prototype.find;
478
- function pe(e) {
479
- return function() {
480
- return fe.call(this.children, e);
481
- };
482
- }
483
- function me() {
484
- return this.firstElementChild;
485
- }
486
- function he(e) {
487
- return this.select(e == null ? me : pe(typeof e == "function" ? e : de(e)));
488
- }
489
- //#endregion
490
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js
491
- var ge = Array.prototype.filter;
492
- function _e() {
493
- return Array.from(this.children);
494
- }
495
- function ve(e) {
496
- return function() {
497
- return ge.call(this.children, e);
498
- };
499
- }
500
- function ye(e) {
501
- return this.selectAll(e == null ? _e : ve(typeof e == "function" ? e : de(e)));
502
- }
503
- //#endregion
504
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js
505
- function be(e) {
506
- typeof e != "function" && (e = ue(e));
507
- 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);
508
- return new O(r, this._parents);
509
- }
510
- //#endregion
511
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js
512
- function xe(e) {
513
- return Array(e.length);
514
- }
515
- //#endregion
516
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js
517
- function Se() {
518
- return new O(this._enter || this._groups.map(xe), this._parents);
519
- }
520
- function E(e, t) {
521
- this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
522
- }
523
- E.prototype = {
524
- constructor: E,
525
- appendChild: function(e) {
526
- return this._parent.insertBefore(e, this._next);
527
- },
528
- insertBefore: function(e, t) {
529
- return this._parent.insertBefore(e, t);
530
- },
531
- querySelector: function(e) {
532
- return this._parent.querySelector(e);
533
- },
534
- querySelectorAll: function(e) {
535
- return this._parent.querySelectorAll(e);
536
- }
537
- };
538
- //#endregion
539
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js
540
- function Ce(e) {
541
- return function() {
542
- return e;
543
- };
544
- }
545
- //#endregion
546
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js
547
- function we(e, t, n, r, i, a) {
548
- 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 E(e, a[o]);
549
- for (; o < c; ++o) (s = t[o]) && (i[o] = s);
550
- }
551
- function Te(e, t, n, r, i, a, o) {
552
- var s, c, l = /* @__PURE__ */ new Map(), u = t.length, d = a.length, f = Array(u), p;
553
- 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));
554
- 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 E(e, a[s]);
555
- for (s = 0; s < u; ++s) (c = t[s]) && l.get(f[s]) === c && (i[s] = c);
556
- }
557
- function Ee(e) {
558
- return e.__data__;
559
- }
560
- function De(e, t) {
561
- if (!arguments.length) return Array.from(this, Ee);
562
- var n = t ? Te : we, r = this._parents, i = this._groups;
563
- typeof e != "function" && (e = Ce(e));
564
- for (var a = i.length, o = Array(a), s = Array(a), c = Array(a), l = 0; l < a; ++l) {
565
- var u = r[l], d = i[l], f = d.length, p = Oe(e.call(u, u && u.__data__, l, r)), m = p.length, h = s[l] = Array(m), g = o[l] = Array(m);
566
- n(u, d, h, g, c[l] = Array(f), p, t);
567
- for (var _ = 0, v = 0, y, b; _ < m; ++_) if (y = h[_]) {
568
- for (_ >= v && (v = _ + 1); !(b = g[v]) && ++v < m;);
569
- y._next = b || null;
570
- }
571
- }
572
- return o = new O(o, r), o._enter = s, o._exit = c, o;
573
- }
574
- function Oe(e) {
575
- return typeof e == "object" && "length" in e ? e : Array.from(e);
576
- }
577
- //#endregion
578
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js
579
- function ke() {
580
- return new O(this._exit || this._groups.map(xe), this._parents);
581
- }
582
- //#endregion
583
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js
584
- function Ae(e, t, n) {
585
- var r = this.enter(), i = this, a = this.exit();
586
- 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;
587
- }
588
- //#endregion
589
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js
590
- function je(e) {
591
- 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);
592
- for (; c < i; ++c) s[c] = n[c];
593
- return new O(s, this._parents);
594
- }
595
- //#endregion
596
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js
597
- function Me() {
598
- 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);
599
- return this;
600
- }
601
- //#endregion
602
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js
603
- function Ne(e) {
604
- e ||= Pe;
605
- function t(t, n) {
606
- return t && n ? e(t.__data__, n.__data__) : !t - !n;
607
- }
608
- for (var n = this._groups, r = n.length, i = Array(r), a = 0; a < r; ++a) {
609
- 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);
610
- c.sort(t);
611
- }
612
- return new O(i, this._parents).order();
613
- }
614
- function Pe(e, t) {
615
- return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
616
- }
617
- //#endregion
618
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js
619
- function Fe() {
620
- var e = arguments[0];
621
- return arguments[0] = this, e.apply(null, arguments), this;
622
- }
623
- //#endregion
624
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js
625
- function Ie() {
626
- return Array.from(this);
627
- }
628
- //#endregion
629
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js
630
- function Le() {
631
- 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) {
632
- var o = r[i];
633
- if (o) return o;
634
- }
635
- return null;
636
- }
637
- //#endregion
638
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js
639
- function Re() {
640
- let e = 0;
641
- for (let t of this) ++e;
642
- return e;
643
- }
644
- //#endregion
645
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js
646
- function ze() {
647
- return !this.node();
648
- }
649
- //#endregion
650
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js
651
- function Be(e) {
652
- 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);
653
- return this;
654
- }
655
- //#endregion
656
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js
657
- function Ve(e) {
658
- return function() {
659
- this.removeAttribute(e);
660
- };
661
- }
662
- function He(e) {
663
- return function() {
664
- this.removeAttributeNS(e.space, e.local);
665
- };
666
- }
667
- function Ue(e, t) {
668
- return function() {
669
- this.setAttribute(e, t);
670
- };
671
- }
672
- function We(e, t) {
673
- return function() {
674
- this.setAttributeNS(e.space, e.local, t);
675
- };
676
- }
677
- function Ge(e, t) {
678
- return function() {
679
- var n = t.apply(this, arguments);
680
- n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
681
- };
682
- }
683
- function Ke(e, t) {
684
- return function() {
685
- var n = t.apply(this, arguments);
686
- n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
687
- };
688
- }
689
- function qe(e, t) {
690
- var n = C(e);
691
- if (arguments.length < 2) {
692
- var r = this.node();
693
- return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
694
- }
695
- return this.each((t == null ? n.local ? He : Ve : typeof t == "function" ? n.local ? Ke : Ge : n.local ? We : Ue)(n, t));
696
- }
697
- //#endregion
698
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js
699
- function Je(e) {
700
- return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
701
- }
702
- //#endregion
703
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js
704
- function Ye(e) {
705
- return function() {
706
- this.style.removeProperty(e);
707
- };
708
- }
709
- function Xe(e, t, n) {
710
- return function() {
711
- this.style.setProperty(e, t, n);
712
- };
713
- }
714
- function Ze(e, t, n) {
715
- return function() {
716
- var r = t.apply(this, arguments);
717
- r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
718
- };
719
- }
720
- function Qe(e, t, n) {
721
- return arguments.length > 1 ? this.each((t == null ? Ye : typeof t == "function" ? Ze : Xe)(e, t, n ?? "")) : D(this.node(), e);
722
- }
723
- function D(e, t) {
724
- return e.style.getPropertyValue(t) || Je(e).getComputedStyle(e, null).getPropertyValue(t);
725
- }
726
- //#endregion
727
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js
728
- function $e(e) {
729
- return function() {
730
- delete this[e];
731
- };
732
- }
733
- function et(e, t) {
734
- return function() {
735
- this[e] = t;
736
- };
737
- }
738
- function tt(e, t) {
739
- return function() {
740
- var n = t.apply(this, arguments);
741
- n == null ? delete this[e] : this[e] = n;
742
- };
743
- }
744
- function nt(e, t) {
745
- return arguments.length > 1 ? this.each((t == null ? $e : typeof t == "function" ? tt : et)(e, t)) : this.node()[e];
746
- }
747
- //#endregion
748
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js
749
- function rt(e) {
750
- return e.trim().split(/^|\s+/);
751
- }
752
- function it(e) {
753
- return e.classList || new at(e);
754
- }
755
- function at(e) {
756
- this._node = e, this._names = rt(e.getAttribute("class") || "");
757
- }
758
- at.prototype = {
759
- add: function(e) {
760
- this._names.indexOf(e) < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
761
- },
762
- remove: function(e) {
763
- var t = this._names.indexOf(e);
764
- t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
765
- },
766
- contains: function(e) {
767
- return this._names.indexOf(e) >= 0;
768
- }
769
- };
770
- function ot(e, t) {
771
- for (var n = it(e), r = -1, i = t.length; ++r < i;) n.add(t[r]);
772
- }
773
- function st(e, t) {
774
- for (var n = it(e), r = -1, i = t.length; ++r < i;) n.remove(t[r]);
775
- }
776
- function ct(e) {
777
- return function() {
778
- ot(this, e);
779
- };
780
- }
781
- function lt(e) {
782
- return function() {
783
- st(this, e);
784
- };
785
- }
786
- function ut(e, t) {
787
- return function() {
788
- (t.apply(this, arguments) ? ot : st)(this, e);
789
- };
790
- }
791
- function dt(e, t) {
792
- var n = rt(e + "");
793
- if (arguments.length < 2) {
794
- for (var r = it(this.node()), i = -1, a = n.length; ++i < a;) if (!r.contains(n[i])) return !1;
795
- return !0;
796
- }
797
- return this.each((typeof t == "function" ? ut : t ? ct : lt)(n, t));
798
- }
799
- //#endregion
800
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js
801
- function ft() {
802
- this.textContent = "";
803
- }
804
- function pt(e) {
805
- return function() {
806
- this.textContent = e;
807
- };
808
- }
809
- function mt(e) {
810
- return function() {
811
- var t = e.apply(this, arguments);
812
- this.textContent = t ?? "";
813
- };
814
- }
815
- function ht(e) {
816
- return arguments.length ? this.each(e == null ? ft : (typeof e == "function" ? mt : pt)(e)) : this.node().textContent;
817
- }
818
- //#endregion
819
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js
820
- function gt() {
821
- this.innerHTML = "";
822
- }
823
- function _t(e) {
824
- return function() {
825
- this.innerHTML = e;
826
- };
827
- }
828
- function vt(e) {
829
- return function() {
830
- var t = e.apply(this, arguments);
831
- this.innerHTML = t ?? "";
832
- };
833
- }
834
- function yt(e) {
835
- return arguments.length ? this.each(e == null ? gt : (typeof e == "function" ? vt : _t)(e)) : this.node().innerHTML;
836
- }
837
- //#endregion
838
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js
839
- function bt() {
840
- this.nextSibling && this.parentNode.appendChild(this);
841
- }
842
- function xt() {
843
- return this.each(bt);
844
- }
845
- //#endregion
846
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js
847
- function St() {
848
- this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
849
- }
850
- function Ct() {
851
- return this.each(St);
852
- }
853
- //#endregion
854
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js
855
- function wt(e) {
856
- var t = typeof e == "function" ? e : te(e);
857
- return this.select(function() {
858
- return this.appendChild(t.apply(this, arguments));
859
- });
860
- }
861
- //#endregion
862
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js
863
- function Tt() {
864
- return null;
865
- }
866
- function Et(e, t) {
867
- var n = typeof e == "function" ? e : te(e), r = t == null ? Tt : typeof t == "function" ? t : re(t);
868
- return this.select(function() {
869
- return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
870
- });
871
- }
872
- //#endregion
873
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js
874
- function Dt() {
875
- var e = this.parentNode;
876
- e && e.removeChild(this);
877
- }
878
- function Ot() {
879
- return this.each(Dt);
880
- }
881
- //#endregion
882
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js
883
- function kt() {
884
- var e = this.cloneNode(!1), t = this.parentNode;
885
- return t ? t.insertBefore(e, this.nextSibling) : e;
886
- }
887
- function At() {
888
- var e = this.cloneNode(!0), t = this.parentNode;
889
- return t ? t.insertBefore(e, this.nextSibling) : e;
890
- }
891
- function jt(e) {
892
- return this.select(e ? At : kt);
893
- }
894
- //#endregion
895
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js
896
- function Mt(e) {
897
- return arguments.length ? this.property("__data__", e) : this.node().__data__;
898
- }
899
- //#endregion
900
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js
901
- function Nt(e) {
902
- return function(t) {
903
- e.call(this, t, this.__data__);
904
- };
905
- }
906
- function Pt(e) {
907
- return e.trim().split(/^|\s+/).map(function(e) {
908
- var t = "", n = e.indexOf(".");
909
- return n >= 0 && (t = e.slice(n + 1), e = e.slice(0, n)), {
910
- type: e,
911
- name: t
912
- };
913
- });
914
- }
915
- function Ft(e) {
916
- return function() {
917
- var t = this.__on;
918
- if (t) {
919
- for (var n = 0, r = -1, i = t.length, a; n < i; ++n) a = t[n], (!e.type || a.type === e.type) && a.name === e.name ? this.removeEventListener(a.type, a.listener, a.options) : t[++r] = a;
920
- ++r ? t.length = r : delete this.__on;
921
- }
922
- };
923
- }
924
- function It(e, t, n) {
925
- return function() {
926
- var r = this.__on, i, a = Nt(t);
927
- if (r) {
928
- for (var o = 0, s = r.length; o < s; ++o) if ((i = r[o]).type === e.type && i.name === e.name) {
929
- this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = a, i.options = n), i.value = t;
930
- return;
931
- }
932
- }
933
- this.addEventListener(e.type, a, n), i = {
934
- type: e.type,
935
- name: e.name,
936
- value: t,
937
- listener: a,
938
- options: n
939
- }, r ? r.push(i) : this.__on = [i];
940
- };
941
- }
942
- function Lt(e, t, n) {
943
- var r = Pt(e + ""), i, a = r.length, o;
944
- if (arguments.length < 2) {
945
- var s = this.node().__on;
946
- if (s) {
947
- for (var c = 0, l = s.length, u; c < l; ++c) for (i = 0, u = s[c]; i < a; ++i) if ((o = r[i]).type === u.type && o.name === u.name) return u.value;
948
- }
949
- return;
950
- }
951
- for (s = t ? It : Ft, i = 0; i < a; ++i) this.each(s(r[i], t, n));
952
- return this;
953
- }
954
- //#endregion
955
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js
956
- function Rt(e, t, n) {
957
- var r = Je(e), i = r.CustomEvent;
958
- 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);
959
- }
960
- function zt(e, t) {
961
- return function() {
962
- return Rt(this, e, t);
963
- };
964
- }
965
- function Bt(e, t) {
966
- return function() {
967
- return Rt(this, e, t.apply(this, arguments));
968
- };
969
- }
970
- function Vt(e, t) {
971
- return this.each((typeof t == "function" ? Bt : zt)(e, t));
972
- }
973
- //#endregion
974
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js
975
- function* Ht() {
976
- 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);
977
- }
978
- //#endregion
979
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js
980
- var Ut = [null];
981
- function O(e, t) {
982
- this._groups = e, this._parents = t;
983
- }
984
- function k() {
985
- return new O([[document.documentElement]], Ut);
986
- }
987
- function Wt() {
988
- return this;
989
- }
990
- O.prototype = k.prototype = {
991
- constructor: O,
992
- select: ie,
993
- selectAll: le,
994
- selectChild: he,
995
- selectChildren: ye,
996
- filter: be,
997
- data: De,
998
- enter: Se,
999
- exit: ke,
1000
- join: Ae,
1001
- merge: je,
1002
- selection: Wt,
1003
- order: Me,
1004
- sort: Ne,
1005
- call: Fe,
1006
- nodes: Ie,
1007
- node: Le,
1008
- size: Re,
1009
- empty: ze,
1010
- each: Be,
1011
- attr: qe,
1012
- style: Qe,
1013
- property: nt,
1014
- classed: dt,
1015
- text: ht,
1016
- html: yt,
1017
- raise: xt,
1018
- lower: Ct,
1019
- append: wt,
1020
- insert: Et,
1021
- remove: Ot,
1022
- clone: jt,
1023
- datum: Mt,
1024
- on: Lt,
1025
- dispatch: Vt,
1026
- [Symbol.iterator]: Ht
1027
- };
1028
- //#endregion
1029
- //#region node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js
1030
- function Gt(e) {
1031
- return typeof e == "string" ? new O([[document.querySelector(e)]], [document.documentElement]) : new O([[e]], Ut);
1032
- }
1033
- //#endregion
1034
- //#region node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js
1035
- function Kt(e, t, n) {
1036
- e.prototype = t.prototype = n, n.constructor = e;
1037
- }
1038
- function qt(e, t) {
1039
- var n = Object.create(e.prototype);
1040
- for (var r in t) n[r] = t[r];
1041
- return n;
1042
- }
1043
- //#endregion
1044
- //#region node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js
1045
- function A() {}
1046
- var j = .7, Jt = 1 / j, M = "\\s*([+-]?\\d+)\\s*", N = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", P = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Yt = /^#([0-9a-f]{3,8})$/, Xt = RegExp(`^rgb\\(${M},${M},${M}\\)$`), Zt = RegExp(`^rgb\\(${P},${P},${P}\\)$`), Qt = RegExp(`^rgba\\(${M},${M},${M},${N}\\)$`), $t = RegExp(`^rgba\\(${P},${P},${P},${N}\\)$`), en = RegExp(`^hsl\\(${N},${P},${P}\\)$`), tn = RegExp(`^hsla\\(${N},${P},${P},${N}\\)$`), nn = {
1047
- aliceblue: 15792383,
1048
- antiquewhite: 16444375,
1049
- aqua: 65535,
1050
- aquamarine: 8388564,
1051
- azure: 15794175,
1052
- beige: 16119260,
1053
- bisque: 16770244,
1054
- black: 0,
1055
- blanchedalmond: 16772045,
1056
- blue: 255,
1057
- blueviolet: 9055202,
1058
- brown: 10824234,
1059
- burlywood: 14596231,
1060
- cadetblue: 6266528,
1061
- chartreuse: 8388352,
1062
- chocolate: 13789470,
1063
- coral: 16744272,
1064
- cornflowerblue: 6591981,
1065
- cornsilk: 16775388,
1066
- crimson: 14423100,
1067
- cyan: 65535,
1068
- darkblue: 139,
1069
- darkcyan: 35723,
1070
- darkgoldenrod: 12092939,
1071
- darkgray: 11119017,
1072
- darkgreen: 25600,
1073
- darkgrey: 11119017,
1074
- darkkhaki: 12433259,
1075
- darkmagenta: 9109643,
1076
- darkolivegreen: 5597999,
1077
- darkorange: 16747520,
1078
- darkorchid: 10040012,
1079
- darkred: 9109504,
1080
- darksalmon: 15308410,
1081
- darkseagreen: 9419919,
1082
- darkslateblue: 4734347,
1083
- darkslategray: 3100495,
1084
- darkslategrey: 3100495,
1085
- darkturquoise: 52945,
1086
- darkviolet: 9699539,
1087
- deeppink: 16716947,
1088
- deepskyblue: 49151,
1089
- dimgray: 6908265,
1090
- dimgrey: 6908265,
1091
- dodgerblue: 2003199,
1092
- firebrick: 11674146,
1093
- floralwhite: 16775920,
1094
- forestgreen: 2263842,
1095
- fuchsia: 16711935,
1096
- gainsboro: 14474460,
1097
- ghostwhite: 16316671,
1098
- gold: 16766720,
1099
- goldenrod: 14329120,
1100
- gray: 8421504,
1101
- green: 32768,
1102
- greenyellow: 11403055,
1103
- grey: 8421504,
1104
- honeydew: 15794160,
1105
- hotpink: 16738740,
1106
- indianred: 13458524,
1107
- indigo: 4915330,
1108
- ivory: 16777200,
1109
- khaki: 15787660,
1110
- lavender: 15132410,
1111
- lavenderblush: 16773365,
1112
- lawngreen: 8190976,
1113
- lemonchiffon: 16775885,
1114
- lightblue: 11393254,
1115
- lightcoral: 15761536,
1116
- lightcyan: 14745599,
1117
- lightgoldenrodyellow: 16448210,
1118
- lightgray: 13882323,
1119
- lightgreen: 9498256,
1120
- lightgrey: 13882323,
1121
- lightpink: 16758465,
1122
- lightsalmon: 16752762,
1123
- lightseagreen: 2142890,
1124
- lightskyblue: 8900346,
1125
- lightslategray: 7833753,
1126
- lightslategrey: 7833753,
1127
- lightsteelblue: 11584734,
1128
- lightyellow: 16777184,
1129
- lime: 65280,
1130
- limegreen: 3329330,
1131
- linen: 16445670,
1132
- magenta: 16711935,
1133
- maroon: 8388608,
1134
- mediumaquamarine: 6737322,
1135
- mediumblue: 205,
1136
- mediumorchid: 12211667,
1137
- mediumpurple: 9662683,
1138
- mediumseagreen: 3978097,
1139
- mediumslateblue: 8087790,
1140
- mediumspringgreen: 64154,
1141
- mediumturquoise: 4772300,
1142
- mediumvioletred: 13047173,
1143
- midnightblue: 1644912,
1144
- mintcream: 16121850,
1145
- mistyrose: 16770273,
1146
- moccasin: 16770229,
1147
- navajowhite: 16768685,
1148
- navy: 128,
1149
- oldlace: 16643558,
1150
- olive: 8421376,
1151
- olivedrab: 7048739,
1152
- orange: 16753920,
1153
- orangered: 16729344,
1154
- orchid: 14315734,
1155
- palegoldenrod: 15657130,
1156
- palegreen: 10025880,
1157
- paleturquoise: 11529966,
1158
- palevioletred: 14381203,
1159
- papayawhip: 16773077,
1160
- peachpuff: 16767673,
1161
- peru: 13468991,
1162
- pink: 16761035,
1163
- plum: 14524637,
1164
- powderblue: 11591910,
1165
- purple: 8388736,
1166
- rebeccapurple: 6697881,
1167
- red: 16711680,
1168
- rosybrown: 12357519,
1169
- royalblue: 4286945,
1170
- saddlebrown: 9127187,
1171
- salmon: 16416882,
1172
- sandybrown: 16032864,
1173
- seagreen: 3050327,
1174
- seashell: 16774638,
1175
- sienna: 10506797,
1176
- silver: 12632256,
1177
- skyblue: 8900331,
1178
- slateblue: 6970061,
1179
- slategray: 7372944,
1180
- slategrey: 7372944,
1181
- snow: 16775930,
1182
- springgreen: 65407,
1183
- steelblue: 4620980,
1184
- tan: 13808780,
1185
- teal: 32896,
1186
- thistle: 14204888,
1187
- tomato: 16737095,
1188
- turquoise: 4251856,
1189
- violet: 15631086,
1190
- wheat: 16113331,
1191
- white: 16777215,
1192
- whitesmoke: 16119285,
1193
- yellow: 16776960,
1194
- yellowgreen: 10145074
1195
- };
1196
- Kt(A, F, {
1197
- copy(e) {
1198
- return Object.assign(new this.constructor(), this, e);
1199
- },
1200
- displayable() {
1201
- return this.rgb().displayable();
1202
- },
1203
- hex: rn,
1204
- formatHex: rn,
1205
- formatHex8: an,
1206
- formatHsl: on,
1207
- formatRgb: sn,
1208
- toString: sn
1209
- });
1210
- function rn() {
1211
- return this.rgb().formatHex();
1212
- }
1213
- function an() {
1214
- return this.rgb().formatHex8();
1215
- }
1216
- function on() {
1217
- return hn(this).formatHsl();
1218
- }
1219
- function sn() {
1220
- return this.rgb().formatRgb();
1221
- }
1222
- function F(e) {
1223
- var t, n;
1224
- return e = (e + "").trim().toLowerCase(), (t = Yt.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? cn(t) : n === 3 ? new L(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? I(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? I(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 = Xt.exec(e)) ? new L(t[1], t[2], t[3], 1) : (t = Zt.exec(e)) ? new L(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Qt.exec(e)) ? I(t[1], t[2], t[3], t[4]) : (t = $t.exec(e)) ? I(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = en.exec(e)) ? mn(t[1], t[2] / 100, t[3] / 100, 1) : (t = tn.exec(e)) ? mn(t[1], t[2] / 100, t[3] / 100, t[4]) : nn.hasOwnProperty(e) ? cn(nn[e]) : e === "transparent" ? new L(NaN, NaN, NaN, 0) : null;
1225
- }
1226
- function cn(e) {
1227
- return new L(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
1228
- }
1229
- function I(e, t, n, r) {
1230
- return r <= 0 && (e = t = n = NaN), new L(e, t, n, r);
1231
- }
1232
- function ln(e) {
1233
- return e instanceof A || (e = F(e)), e ? (e = e.rgb(), new L(e.r, e.g, e.b, e.opacity)) : new L();
1234
- }
1235
- function un(e, t, n, r) {
1236
- return arguments.length === 1 ? ln(e) : new L(e, t, n, r ?? 1);
1237
- }
1238
- function L(e, t, n, r) {
1239
- this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
1240
- }
1241
- Kt(L, un, qt(A, {
1242
- brighter(e) {
1243
- return e = e == null ? Jt : Jt ** +e, new L(this.r * e, this.g * e, this.b * e, this.opacity);
1244
- },
1245
- darker(e) {
1246
- return e = e == null ? j : j ** +e, new L(this.r * e, this.g * e, this.b * e, this.opacity);
1247
- },
1248
- rgb() {
1249
- return this;
1250
- },
1251
- clamp() {
1252
- return new L(z(this.r), z(this.g), z(this.b), R(this.opacity));
1253
- },
1254
- displayable() {
1255
- 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;
1256
- },
1257
- hex: dn,
1258
- formatHex: dn,
1259
- formatHex8: fn,
1260
- formatRgb: pn,
1261
- toString: pn
1262
- }));
1263
- function dn() {
1264
- return `#${B(this.r)}${B(this.g)}${B(this.b)}`;
1265
- }
1266
- function fn() {
1267
- return `#${B(this.r)}${B(this.g)}${B(this.b)}${B((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
1268
- }
1269
- function pn() {
1270
- let e = R(this.opacity);
1271
- return `${e === 1 ? "rgb(" : "rgba("}${z(this.r)}, ${z(this.g)}, ${z(this.b)}${e === 1 ? ")" : `, ${e})`}`;
1272
- }
1273
- function R(e) {
1274
- return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
1275
- }
1276
- function z(e) {
1277
- return Math.max(0, Math.min(255, Math.round(e) || 0));
1278
- }
1279
- function B(e) {
1280
- return e = z(e), (e < 16 ? "0" : "") + e.toString(16);
1281
- }
1282
- function mn(e, t, n, r) {
1283
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new V(e, t, n, r);
1284
- }
1285
- function hn(e) {
1286
- if (e instanceof V) return new V(e.h, e.s, e.l, e.opacity);
1287
- if (e instanceof A || (e = F(e)), !e) return new V();
1288
- if (e instanceof V) return e;
1289
- e = e.rgb();
1290
- 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;
1291
- 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 V(o, s, c, e.opacity);
1292
- }
1293
- function gn(e, t, n, r) {
1294
- return arguments.length === 1 ? hn(e) : new V(e, t, n, r ?? 1);
1295
- }
1296
- function V(e, t, n, r) {
1297
- this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
1298
- }
1299
- Kt(V, gn, qt(A, {
1300
- brighter(e) {
1301
- return e = e == null ? Jt : Jt ** +e, new V(this.h, this.s, this.l * e, this.opacity);
1302
- },
1303
- darker(e) {
1304
- return e = e == null ? j : j ** +e, new V(this.h, this.s, this.l * e, this.opacity);
1305
- },
1306
- rgb() {
1307
- 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;
1308
- return new L(vn(e >= 240 ? e - 240 : e + 120, i, r), vn(e, i, r), vn(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
1309
- },
1310
- clamp() {
1311
- return new V(_n(this.h), H(this.s), H(this.l), R(this.opacity));
1312
- },
1313
- displayable() {
1314
- return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
1315
- },
1316
- formatHsl() {
1317
- let e = R(this.opacity);
1318
- return `${e === 1 ? "hsl(" : "hsla("}${_n(this.h)}, ${H(this.s) * 100}%, ${H(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
1319
- }
1320
- }));
1321
- function _n(e) {
1322
- return e = (e || 0) % 360, e < 0 ? e + 360 : e;
1323
- }
1324
- function H(e) {
1325
- return Math.max(0, Math.min(1, e || 0));
1326
- }
1327
- function vn(e, t, n) {
1328
- return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
1329
- }
1330
- //#endregion
1331
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js
1332
- var yn = (e) => () => e;
1333
- //#endregion
1334
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js
1335
- function bn(e, t) {
1336
- return function(n) {
1337
- return e + n * t;
1338
- };
1339
- }
1340
- function xn(e, t, n) {
1341
- return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
1342
- return (e + r * t) ** +n;
1343
- };
1344
- }
1345
- function Sn(e, t) {
1346
- var n = t - e;
1347
- return n ? bn(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : yn(isNaN(e) ? t : e);
1348
- }
1349
- function Cn(e) {
1350
- return (e = +e) == 1 ? wn : function(t, n) {
1351
- return n - t ? xn(t, n, e) : yn(isNaN(t) ? n : t);
1352
- };
1353
- }
1354
- function wn(e, t) {
1355
- var n = t - e;
1356
- return n ? bn(e, n) : yn(isNaN(e) ? t : e);
1357
- }
1358
- //#endregion
1359
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js
1360
- var Tn = (function e(t) {
1361
- var n = Cn(t);
1362
- function r(e, t) {
1363
- var r = n((e = un(e)).r, (t = un(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = wn(e.opacity, t.opacity);
1364
- return function(t) {
1365
- return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
1366
- };
1367
- }
1368
- return r.gamma = e, r;
1369
- })(1);
1370
- //#endregion
1371
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js
1372
- function U(e, t) {
1373
- return e = +e, t = +t, function(n) {
1374
- return e * (1 - n) + t * n;
1375
- };
1376
- }
1377
- //#endregion
1378
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js
1379
- var En = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Dn = new RegExp(En.source, "g");
1380
- function On(e) {
1381
- return function() {
1382
- return e;
1383
- };
1384
- }
1385
- function kn(e) {
1386
- return function(t) {
1387
- return e(t) + "";
1388
- };
1389
- }
1390
- function An(e, t) {
1391
- var n = En.lastIndex = Dn.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
1392
- for (e += "", t += ""; (r = En.exec(e)) && (i = Dn.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({
1393
- i: o,
1394
- x: U(r, i)
1395
- })), n = Dn.lastIndex;
1396
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? kn(c[0].x) : On(t) : (t = c.length, function(e) {
1397
- for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
1398
- return s.join("");
1399
- });
1400
- }
1401
- //#endregion
1402
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/decompose.js
1403
- var jn = 180 / Math.PI, Mn = {
1404
- translateX: 0,
1405
- translateY: 0,
1406
- rotate: 0,
1407
- skewX: 0,
1408
- scaleX: 1,
1409
- scaleY: 1
1410
- };
1411
- function Nn(e, t, n, r, i, a) {
1412
- var o, s, c;
1413
- 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), {
1414
- translateX: i,
1415
- translateY: a,
1416
- rotate: Math.atan2(t, e) * jn,
1417
- skewX: Math.atan(c) * jn,
1418
- scaleX: o,
1419
- scaleY: s
1420
- };
1421
- }
1422
- //#endregion
1423
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/parse.js
1424
- var Pn;
1425
- function Fn(e) {
1426
- let t = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
1427
- return t.isIdentity ? Mn : Nn(t.a, t.b, t.c, t.d, t.e, t.f);
1428
- }
1429
- function In(e) {
1430
- return e == null || (Pn ||= document.createElementNS("http://www.w3.org/2000/svg", "g"), Pn.setAttribute("transform", e), !(e = Pn.transform.baseVal.consolidate())) ? Mn : (e = e.matrix, Nn(e.a, e.b, e.c, e.d, e.e, e.f));
1431
- }
1432
- //#endregion
1433
- //#region node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.js
1434
- function Ln(e, t, n, r) {
1435
- function i(e) {
1436
- return e.length ? e.pop() + " " : "";
1437
- }
1438
- function a(e, r, i, a, o, s) {
1439
- if (e !== i || r !== a) {
1440
- var c = o.push("translate(", null, t, null, n);
1441
- s.push({
1442
- i: c - 4,
1443
- x: U(e, i)
1444
- }, {
1445
- i: c - 2,
1446
- x: U(r, a)
1447
- });
1448
- } else (i || a) && o.push("translate(" + i + t + a + n);
1449
- }
1450
- function o(e, t, n, a) {
1451
- e === t ? t && n.push(i(n) + "rotate(" + t + r) : (e - t > 180 ? t += 360 : t - e > 180 && (e += 360), a.push({
1452
- i: n.push(i(n) + "rotate(", null, r) - 2,
1453
- x: U(e, t)
1454
- }));
1455
- }
1456
- function s(e, t, n, a) {
1457
- e === t ? t && n.push(i(n) + "skewX(" + t + r) : a.push({
1458
- i: n.push(i(n) + "skewX(", null, r) - 2,
1459
- x: U(e, t)
1460
- });
1461
- }
1462
- function c(e, t, n, r, a, o) {
1463
- if (e !== n || t !== r) {
1464
- var s = a.push(i(a) + "scale(", null, ",", null, ")");
1465
- o.push({
1466
- i: s - 4,
1467
- x: U(e, n)
1468
- }, {
1469
- i: s - 2,
1470
- x: U(t, r)
1471
- });
1472
- } else (n !== 1 || r !== 1) && a.push(i(a) + "scale(" + n + "," + r + ")");
1473
- }
1474
- return function(t, n) {
1475
- var r = [], i = [];
1476
- return t = e(t), n = e(n), a(t.translateX, t.translateY, n.translateX, n.translateY, r, i), o(t.rotate, n.rotate, r, i), s(t.skewX, n.skewX, r, i), c(t.scaleX, t.scaleY, n.scaleX, n.scaleY, r, i), t = n = null, function(e) {
1477
- for (var t = -1, n = i.length, a; ++t < n;) r[(a = i[t]).i] = a.x(e);
1478
- return r.join("");
1479
- };
1480
- };
1481
- }
1482
- var Rn = Ln(Fn, "px, ", "px)", "deg)"), zn = Ln(In, ", ", ")", ")"), W = 0, Bn = 0, Vn = 0, Hn = 1e3, Un, G, Wn = 0, K = 0, Gn = 0, q = typeof performance == "object" && performance.now ? performance : Date, Kn = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
1483
- setTimeout(e, 17);
1484
- };
1485
- function qn() {
1486
- return K ||= (Kn(Jn), q.now() + Gn);
1487
- }
1488
- function Jn() {
1489
- K = 0;
1490
- }
1491
- function Yn() {
1492
- this._call = this._time = this._next = null;
1493
- }
1494
- Yn.prototype = Xn.prototype = {
1495
- constructor: Yn,
1496
- restart: function(e, t, n) {
1497
- if (typeof e != "function") throw TypeError("callback is not a function");
1498
- n = (n == null ? qn() : +n) + (t == null ? 0 : +t), !this._next && G !== this && (G ? G._next = this : Un = this, G = this), this._call = e, this._time = n, tr();
1499
- },
1500
- stop: function() {
1501
- this._call && (this._call = null, this._time = Infinity, tr());
1502
- }
1503
- };
1504
- function Xn(e, t, n) {
1505
- var r = new Yn();
1506
- return r.restart(e, t, n), r;
1507
- }
1508
- function Zn() {
1509
- qn(), ++W;
1510
- for (var e = Un, t; e;) (t = K - e._time) >= 0 && e._call.call(void 0, t), e = e._next;
1511
- --W;
1512
- }
1513
- function Qn() {
1514
- K = (Wn = q.now()) + Gn, W = Bn = 0;
1515
- try {
1516
- Zn();
1517
- } finally {
1518
- W = 0, er(), K = 0;
1519
- }
1520
- }
1521
- function $n() {
1522
- var e = q.now(), t = e - Wn;
1523
- t > Hn && (Gn -= t, Wn = e);
1524
- }
1525
- function er() {
1526
- for (var e, t = Un, 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 : Un = n);
1527
- G = e, tr(r);
1528
- }
1529
- function tr(e) {
1530
- W || (Bn &&= clearTimeout(Bn), e - K > 24 ? (e < Infinity && (Bn = setTimeout(Qn, e - q.now() - Gn)), Vn &&= clearInterval(Vn)) : (Vn ||= (Wn = q.now(), setInterval($n, Hn)), W = 1, Kn(Qn)));
1531
- }
1532
- //#endregion
1533
- //#region node_modules/.pnpm/d3-timer@3.0.1/node_modules/d3-timer/src/timeout.js
1534
- function nr(e, t, n) {
1535
- var r = new Yn();
1536
- return t = t == null ? 0 : +t, r.restart((n) => {
1537
- r.stop(), e(n + t);
1538
- }, t, n), r;
1539
- }
1540
- //#endregion
1541
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.js
1542
- var rr = v("start", "end", "cancel", "interrupt"), ir = [];
1543
- function J(e, t, n, r, i, a) {
1544
- var o = e.__transition;
1545
- if (!o) e.__transition = {};
1546
- else if (n in o) return;
1547
- or(e, n, {
1548
- name: t,
1549
- index: r,
1550
- group: i,
1551
- on: rr,
1552
- tween: ir,
1553
- time: a.time,
1554
- delay: a.delay,
1555
- duration: a.duration,
1556
- ease: a.ease,
1557
- timer: null,
1558
- state: 0
1559
- });
1560
- }
1561
- function ar(e, t) {
1562
- var n = X(e, t);
1563
- if (n.state > 0) throw Error("too late; already scheduled");
1564
- return n;
1565
- }
1566
- function Y(e, t) {
1567
- var n = X(e, t);
1568
- if (n.state > 3) throw Error("too late; already running");
1569
- return n;
1570
- }
1571
- function X(e, t) {
1572
- var n = e.__transition;
1573
- if (!n || !(n = n[t])) throw Error("transition not found");
1574
- return n;
1575
- }
1576
- function or(e, t, n) {
1577
- var r = e.__transition, i;
1578
- r[t] = n, n.timer = Xn(a, 0, n.time);
1579
- function a(e) {
1580
- n.state = 1, n.timer.restart(o, n.delay, n.time), n.delay <= e && o(e - n.delay);
1581
- }
1582
- function o(a) {
1583
- var l, u, d, f;
1584
- if (n.state !== 1) return c();
1585
- for (l in r) if (f = r[l], f.name === n.name) {
1586
- if (f.state === 3) return nr(o);
1587
- 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]);
1588
- }
1589
- if (nr(function() {
1590
- n.state === 3 && (n.state = 4, n.timer.restart(s, n.delay, n.time), s(a));
1591
- }), n.state = 2, n.on.call("start", e, e.__data__, n.index, n.group), n.state === 2) {
1592
- 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);
1593
- i.length = u + 1;
1594
- }
1595
- }
1596
- function s(t) {
1597
- for (var r = t < n.duration ? n.ease.call(null, t / n.duration) : (n.timer.restart(c), n.state = 5, 1), a = -1, o = i.length; ++a < o;) i[a].call(e, r);
1598
- n.state === 5 && (n.on.call("end", e, e.__data__, n.index, n.group), c());
1599
- }
1600
- function c() {
1601
- for (var i in n.state = 6, n.timer.stop(), delete r[t], r) return;
1602
- delete e.__transition;
1603
- }
1604
- }
1605
- //#endregion
1606
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/interrupt.js
1607
- function sr(e, t) {
1608
- var n = e.__transition, r, i, a = !0, o;
1609
- if (n) {
1610
- for (o in t = t == null ? null : t + "", n) {
1611
- if ((r = n[o]).name !== t) {
1612
- a = !1;
1613
- continue;
1614
- }
1615
- i = r.state > 2 && r.state < 5, r.state = 6, r.timer.stop(), r.on.call(i ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[o];
1616
- }
1617
- a && delete e.__transition;
1618
- }
1619
- }
1620
- //#endregion
1621
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/interrupt.js
1622
- function cr(e) {
1623
- return this.each(function() {
1624
- sr(this, e);
1625
- });
1626
- }
1627
- //#endregion
1628
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/tween.js
1629
- function lr(e, t) {
1630
- var n, r;
1631
- return function() {
1632
- var i = Y(this, e), a = i.tween;
1633
- if (a !== n) {
1634
- r = n = a;
1635
- for (var o = 0, s = r.length; o < s; ++o) if (r[o].name === t) {
1636
- r = r.slice(), r.splice(o, 1);
1637
- break;
1638
- }
1639
- }
1640
- i.tween = r;
1641
- };
1642
- }
1643
- function ur(e, t, n) {
1644
- var r, i;
1645
- if (typeof n != "function") throw Error();
1646
- return function() {
1647
- var a = Y(this, e), o = a.tween;
1648
- if (o !== r) {
1649
- i = (r = o).slice();
1650
- for (var s = {
1651
- name: t,
1652
- value: n
1653
- }, c = 0, l = i.length; c < l; ++c) if (i[c].name === t) {
1654
- i[c] = s;
1655
- break;
1656
- }
1657
- c === l && i.push(s);
1658
- }
1659
- a.tween = i;
1660
- };
1661
- }
1662
- function dr(e, t) {
1663
- var n = this._id;
1664
- if (e += "", arguments.length < 2) {
1665
- for (var r = X(this.node(), n).tween, i = 0, a = r.length, o; i < a; ++i) if ((o = r[i]).name === e) return o.value;
1666
- return null;
1667
- }
1668
- return this.each((t == null ? lr : ur)(n, e, t));
1669
- }
1670
- function fr(e, t, n) {
1671
- var r = e._id;
1672
- return e.each(function() {
1673
- var e = Y(this, r);
1674
- (e.value ||= {})[t] = n.apply(this, arguments);
1675
- }), function(e) {
1676
- return X(e, r).value[t];
1677
- };
1678
- }
1679
- //#endregion
1680
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/interpolate.js
1681
- function pr(e, t) {
1682
- var n;
1683
- return (typeof t == "number" ? U : t instanceof F ? Tn : (n = F(t)) ? (t = n, Tn) : An)(e, t);
1684
- }
1685
- //#endregion
1686
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attr.js
1687
- function mr(e) {
1688
- return function() {
1689
- this.removeAttribute(e);
1690
- };
1691
- }
1692
- function hr(e) {
1693
- return function() {
1694
- this.removeAttributeNS(e.space, e.local);
1695
- };
1696
- }
1697
- function gr(e, t, n) {
1698
- var r, i = n + "", a;
1699
- return function() {
1700
- var o = this.getAttribute(e);
1701
- return o === i ? null : o === r ? a : a = t(r = o, n);
1702
- };
1703
- }
1704
- function _r(e, t, n) {
1705
- var r, i = n + "", a;
1706
- return function() {
1707
- var o = this.getAttributeNS(e.space, e.local);
1708
- return o === i ? null : o === r ? a : a = t(r = o, n);
1709
- };
1710
- }
1711
- function vr(e, t, n) {
1712
- var r, i, a;
1713
- return function() {
1714
- var o, s = n(this), c;
1715
- 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)));
1716
- };
1717
- }
1718
- function yr(e, t, n) {
1719
- var r, i, a;
1720
- return function() {
1721
- var o, s = n(this), c;
1722
- 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)));
1723
- };
1724
- }
1725
- function br(e, t) {
1726
- var n = C(e), r = n === "transform" ? zn : pr;
1727
- return this.attrTween(e, typeof t == "function" ? (n.local ? yr : vr)(n, r, fr(this, "attr." + e, t)) : t == null ? (n.local ? hr : mr)(n) : (n.local ? _r : gr)(n, r, t));
1728
- }
1729
- //#endregion
1730
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.js
1731
- function xr(e, t) {
1732
- return function(n) {
1733
- this.setAttribute(e, t.call(this, n));
1734
- };
1735
- }
1736
- function Sr(e, t) {
1737
- return function(n) {
1738
- this.setAttributeNS(e.space, e.local, t.call(this, n));
1739
- };
1740
- }
1741
- function Cr(e, t) {
1742
- var n, r;
1743
- function i() {
1744
- var i = t.apply(this, arguments);
1745
- return i !== r && (n = (r = i) && Sr(e, i)), n;
1746
- }
1747
- return i._value = t, i;
1748
- }
1749
- function wr(e, t) {
1750
- var n, r;
1751
- function i() {
1752
- var i = t.apply(this, arguments);
1753
- return i !== r && (n = (r = i) && xr(e, i)), n;
1754
- }
1755
- return i._value = t, i;
1756
- }
1757
- function Tr(e, t) {
1758
- var n = "attr." + e;
1759
- if (arguments.length < 2) return (n = this.tween(n)) && n._value;
1760
- if (t == null) return this.tween(n, null);
1761
- if (typeof t != "function") throw Error();
1762
- var r = C(e);
1763
- return this.tween(n, (r.local ? Cr : wr)(r, t));
1764
- }
1765
- //#endregion
1766
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/delay.js
1767
- function Er(e, t) {
1768
- return function() {
1769
- ar(this, e).delay = +t.apply(this, arguments);
1770
- };
1771
- }
1772
- function Dr(e, t) {
1773
- return t = +t, function() {
1774
- ar(this, e).delay = t;
1775
- };
1776
- }
1777
- function Or(e) {
1778
- var t = this._id;
1779
- return arguments.length ? this.each((typeof e == "function" ? Er : Dr)(t, e)) : X(this.node(), t).delay;
1780
- }
1781
- //#endregion
1782
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/duration.js
1783
- function kr(e, t) {
1784
- return function() {
1785
- Y(this, e).duration = +t.apply(this, arguments);
1786
- };
1787
- }
1788
- function Ar(e, t) {
1789
- return t = +t, function() {
1790
- Y(this, e).duration = t;
1791
- };
1792
- }
1793
- function jr(e) {
1794
- var t = this._id;
1795
- return arguments.length ? this.each((typeof e == "function" ? kr : Ar)(t, e)) : X(this.node(), t).duration;
1796
- }
1797
- //#endregion
1798
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/ease.js
1799
- function Mr(e, t) {
1800
- if (typeof t != "function") throw Error();
1801
- return function() {
1802
- Y(this, e).ease = t;
1803
- };
1804
- }
1805
- function Nr(e) {
1806
- var t = this._id;
1807
- return arguments.length ? this.each(Mr(t, e)) : X(this.node(), t).ease;
1808
- }
1809
- //#endregion
1810
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/easeVarying.js
1811
- function Pr(e, t) {
1812
- return function() {
1813
- var n = t.apply(this, arguments);
1814
- if (typeof n != "function") throw Error();
1815
- Y(this, e).ease = n;
1816
- };
1817
- }
1818
- function Fr(e) {
1819
- if (typeof e != "function") throw Error();
1820
- return this.each(Pr(this._id, e));
1821
- }
1822
- //#endregion
1823
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/filter.js
1824
- function Ir(e) {
1825
- typeof e != "function" && (e = ue(e));
1826
- 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);
1827
- return new Z(r, this._parents, this._name, this._id);
1828
- }
1829
- //#endregion
1830
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/merge.js
1831
- function Lr(e) {
1832
- if (e._id !== this._id) throw Error();
1833
- 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);
1834
- for (; s < r; ++s) o[s] = t[s];
1835
- return new Z(o, this._parents, this._name, this._id);
1836
- }
1837
- //#endregion
1838
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/on.js
1839
- function Rr(e) {
1840
- return (e + "").trim().split(/^|\s+/).every(function(e) {
1841
- var t = e.indexOf(".");
1842
- return t >= 0 && (e = e.slice(0, t)), !e || e === "start";
1843
- });
1844
- }
1845
- function zr(e, t, n) {
1846
- var r, i, a = Rr(t) ? ar : Y;
1847
- return function() {
1848
- var o = a(this, e), s = o.on;
1849
- s !== r && (i = (r = s).copy()).on(t, n), o.on = i;
1850
- };
1851
- }
1852
- function Br(e, t) {
1853
- var n = this._id;
1854
- return arguments.length < 2 ? X(this.node(), n).on.on(e) : this.each(zr(n, e, t));
1855
- }
1856
- //#endregion
1857
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/remove.js
1858
- function Vr(e) {
1859
- return function() {
1860
- var t = this.parentNode;
1861
- for (var n in this.__transition) if (+n !== e) return;
1862
- t && t.removeChild(this);
1863
- };
1864
- }
1865
- function Hr() {
1866
- return this.on("end.remove", Vr(this._id));
1867
- }
1868
- //#endregion
1869
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.js
1870
- function Ur(e) {
1871
- var t = this._name, n = this._id;
1872
- typeof e != "function" && (e = re(e));
1873
- 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, J(l[f], t, n, f, l, X(u, n)));
1874
- return new Z(a, this._parents, t, n);
1875
- }
1876
- //#endregion
1877
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selectAll.js
1878
- function Wr(e) {
1879
- var t = this._name, n = this._id;
1880
- typeof e != "function" && (e = se(e));
1881
- 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]) {
1882
- for (var f = e.call(u, u.__data__, d, c), p, m = X(u, n), h = 0, g = f.length; h < g; ++h) (p = f[h]) && J(p, t, n, h, f, m);
1883
- a.push(f), o.push(u);
1884
- }
1885
- return new Z(a, o, t, n);
1886
- }
1887
- //#endregion
1888
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.js
1889
- var Gr = k.prototype.constructor;
1890
- function Kr() {
1891
- return new Gr(this._groups, this._parents);
1892
- }
1893
- //#endregion
1894
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/style.js
1895
- function qr(e, t) {
1896
- var n, r, i;
1897
- return function() {
1898
- var a = D(this, e), o = (this.style.removeProperty(e), D(this, e));
1899
- return a === o ? null : a === n && o === r ? i : i = t(n = a, r = o);
1900
- };
1901
- }
1902
- function Jr(e) {
1903
- return function() {
1904
- this.style.removeProperty(e);
1905
- };
1906
- }
1907
- function Yr(e, t, n) {
1908
- var r, i = n + "", a;
1909
- return function() {
1910
- var o = D(this, e);
1911
- return o === i ? null : o === r ? a : a = t(r = o, n);
1912
- };
1913
- }
1914
- function Xr(e, t, n) {
1915
- var r, i, a;
1916
- return function() {
1917
- var o = D(this, e), s = n(this), c = s + "";
1918
- return s ?? (c = s = (this.style.removeProperty(e), D(this, e))), o === c ? null : o === r && c === i ? a : (i = c, a = t(r = o, s));
1919
- };
1920
- }
1921
- function Zr(e, t) {
1922
- var n, r, i, a = "style." + t, o = "end." + a, s;
1923
- return function() {
1924
- var c = Y(this, e), l = c.on, u = c.value[a] == null ? s ||= Jr(t) : void 0;
1925
- (l !== n || i !== u) && (r = (n = l).copy()).on(o, i = u), c.on = r;
1926
- };
1927
- }
1928
- function Qr(e, t, n) {
1929
- var r = (e += "") == "transform" ? Rn : pr;
1930
- return t == null ? this.styleTween(e, qr(e, r)).on("end.style." + e, Jr(e)) : typeof t == "function" ? this.styleTween(e, Xr(e, r, fr(this, "style." + e, t))).each(Zr(this._id, e)) : this.styleTween(e, Yr(e, r, t), n).on("end.style." + e, null);
1931
- }
1932
- //#endregion
1933
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/styleTween.js
1934
- function $r(e, t, n) {
1935
- return function(r) {
1936
- this.style.setProperty(e, t.call(this, r), n);
1937
- };
1938
- }
1939
- function ei(e, t, n) {
1940
- var r, i;
1941
- function a() {
1942
- var a = t.apply(this, arguments);
1943
- return a !== i && (r = (i = a) && $r(e, a, n)), r;
1944
- }
1945
- return a._value = t, a;
1946
- }
1947
- function ti(e, t, n) {
1948
- var r = "style." + (e += "");
1949
- if (arguments.length < 2) return (r = this.tween(r)) && r._value;
1950
- if (t == null) return this.tween(r, null);
1951
- if (typeof t != "function") throw Error();
1952
- return this.tween(r, ei(e, t, n ?? ""));
1953
- }
1954
- //#endregion
1955
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/text.js
1956
- function ni(e) {
1957
- return function() {
1958
- this.textContent = e;
1959
- };
1960
- }
1961
- function ri(e) {
1962
- return function() {
1963
- var t = e(this);
1964
- this.textContent = t ?? "";
1965
- };
1966
- }
1967
- function ii(e) {
1968
- return this.tween("text", typeof e == "function" ? ri(fr(this, "text", e)) : ni(e == null ? "" : e + ""));
1969
- }
1970
- //#endregion
1971
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/textTween.js
1972
- function ai(e) {
1973
- return function(t) {
1974
- this.textContent = e.call(this, t);
1975
- };
1976
- }
1977
- function oi(e) {
1978
- var t, n;
1979
- function r() {
1980
- var r = e.apply(this, arguments);
1981
- return r !== n && (t = (n = r) && ai(r)), t;
1982
- }
1983
- return r._value = e, r;
1984
- }
1985
- function si(e) {
1986
- var t = "text";
1987
- if (arguments.length < 1) return (t = this.tween(t)) && t._value;
1988
- if (e == null) return this.tween(t, null);
1989
- if (typeof e != "function") throw Error();
1990
- return this.tween(t, oi(e));
1991
- }
1992
- //#endregion
1993
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/transition.js
1994
- function ci() {
1995
- for (var e = this._name, t = this._id, n = fi(), 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]) {
1996
- var u = X(c, t);
1997
- J(c, e, n, l, o, {
1998
- time: u.time + u.delay + u.duration,
1999
- delay: 0,
2000
- duration: u.duration,
2001
- ease: u.ease
2002
- });
2003
- }
2004
- return new Z(r, this._parents, e, n);
2005
- }
2006
- //#endregion
2007
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/end.js
2008
- function li() {
2009
- var e, t, n = this, r = n._id, i = n.size();
2010
- return new Promise(function(a, o) {
2011
- var s = { value: o }, c = { value: function() {
2012
- --i === 0 && a();
2013
- } };
2014
- n.each(function() {
2015
- var n = Y(this, r), i = n.on;
2016
- i !== e && (t = (e = i).copy(), t._.cancel.push(s), t._.interrupt.push(s), t._.end.push(c)), n.on = t;
2017
- }), i === 0 && a();
2018
- });
2019
- }
2020
- //#endregion
2021
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/index.js
2022
- var ui = 0;
2023
- function Z(e, t, n, r) {
2024
- this._groups = e, this._parents = t, this._name = n, this._id = r;
2025
- }
2026
- function di(e) {
2027
- return k().transition(e);
2028
- }
2029
- function fi() {
2030
- return ++ui;
2031
- }
2032
- var Q = k.prototype;
2033
- Z.prototype = di.prototype = {
2034
- constructor: Z,
2035
- select: Ur,
2036
- selectAll: Wr,
2037
- selectChild: Q.selectChild,
2038
- selectChildren: Q.selectChildren,
2039
- filter: Ir,
2040
- merge: Lr,
2041
- selection: Kr,
2042
- transition: ci,
2043
- call: Q.call,
2044
- nodes: Q.nodes,
2045
- node: Q.node,
2046
- size: Q.size,
2047
- empty: Q.empty,
2048
- each: Q.each,
2049
- on: Br,
2050
- attr: br,
2051
- attrTween: Tr,
2052
- style: Qr,
2053
- styleTween: ti,
2054
- text: ii,
2055
- textTween: si,
2056
- remove: Hr,
2057
- tween: dr,
2058
- delay: Or,
2059
- duration: jr,
2060
- ease: Nr,
2061
- easeVarying: Fr,
2062
- end: li,
2063
- [Symbol.iterator]: Q[Symbol.iterator]
2064
- };
2065
- //#endregion
2066
- //#region node_modules/.pnpm/d3-ease@3.0.1/node_modules/d3-ease/src/cubic.js
2067
- function pi(e) {
2068
- return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
2069
- }
2070
- //#endregion
2071
- //#region node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.js
2072
- var mi = {
2073
- time: null,
2074
- delay: 0,
2075
- duration: 250,
2076
- ease: pi
2077
- };
2078
- function hi(e, t) {
2079
- for (var n; !(n = e.__transition) || !(n = n[t]);) if (!(e = e.parentNode)) throw Error(`transition ${t} not found`);
2080
- return n;
2081
- }
2082
- function gi(e) {
2083
- var t, n;
2084
- e instanceof Z ? (t = e._id, e = e._name) : (t = fi(), (n = mi).time = qn(), e = e == null ? null : e + "");
2085
- 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]) && J(c, e, t, l, o, n || hi(c, t));
2086
- return new Z(r, this._parents, e, t);
2087
- }
2088
- k.prototype.interrupt = cr, k.prototype.transition = gi;
2089
- //#endregion
2090
- //#region node_modules/.pnpm/d3-brush@3.0.0/node_modules/d3-brush/src/brush.js
2091
- var { abs: _i, max: vi, min: yi } = Math;
2092
- ["w", "e"].map(bi), ["n", "s"].map(bi), [
2093
- "n",
2094
- "w",
2095
- "e",
2096
- "s",
2097
- "nw",
2098
- "ne",
2099
- "sw",
2100
- "se"
2101
- ].map(bi);
2102
- function bi(e) {
2103
- return { type: e };
2104
- }
2105
- //#endregion
2106
- //#region node_modules/.pnpm/d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js
2107
- function $(e, t, n) {
2108
- this.k = e, this.x = t, this.y = n;
2109
- }
2110
- $.prototype = {
2111
- constructor: $,
2112
- scale: function(e) {
2113
- return e === 1 ? this : new $(this.k * e, this.x, this.y);
2114
- },
2115
- translate: function(e, t) {
2116
- return e === 0 & t === 0 ? this : new $(this.k, this.x + this.k * e, this.y + this.k * t);
2117
- },
2118
- apply: function(e) {
2119
- return [e[0] * this.k + this.x, e[1] * this.k + this.y];
2120
- },
2121
- applyX: function(e) {
2122
- return e * this.k + this.x;
2123
- },
2124
- applyY: function(e) {
2125
- return e * this.k + this.y;
2126
- },
2127
- invert: function(e) {
2128
- return [(e[0] - this.x) / this.k, (e[1] - this.y) / this.k];
2129
- },
2130
- invertX: function(e) {
2131
- return (e - this.x) / this.k;
2132
- },
2133
- invertY: function(e) {
2134
- return (e - this.y) / this.k;
2135
- },
2136
- rescaleX: function(e) {
2137
- return e.copy().domain(e.range().map(this.invertX, this).map(e.invert, e));
2138
- },
2139
- rescaleY: function(e) {
2140
- return e.copy().domain(e.range().map(this.invertY, this).map(e.invert, e));
2141
- },
2142
- toString: function() {
2143
- return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
2144
- }
2145
- };
2146
- var xi = new $(1, 0, 0);
2147
- Si.prototype = $.prototype;
2148
- function Si(e) {
2149
- for (; !e.__zoom;) if (!(e = e.parentNode)) return xi;
2150
- return e.__zoom;
2151
- }
2152
- //#endregion
2153
- export { s as _, wn as a, L as c, Kt as d, qt as f, d as g, h, Sn as i, F as l, m, U as n, yn as o, Gt as p, Tn as r, A as s, An as t, ln as u, u as v, l as y };