@marimo-team/islands 0.14.18-dev29 → 0.14.18-dev30
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/{ConnectedDataExplorerComponent-BdNI3U_Q.js → ConnectedDataExplorerComponent--CKIL-CI.js} +2 -2
- package/dist/{ImageComparisonComponent-BaXYQw1q.js → ImageComparisonComponent-D9H4Qy32.js} +1 -1
- package/dist/{_baseUniq-Dhn_Qa6Q.js → _baseUniq-bLCPH1Ep.js} +54 -54
- package/dist/{any-language-editor-B67r5EeA.js → any-language-editor-DjrwgW0G.js} +1 -1
- package/dist/{architectureDiagram-SUXI7LT5-BViDWSK_.js → architectureDiagram-SUXI7LT5-j0IHGKaY.js} +5 -5
- package/dist/{blockDiagram-6J76NXCF-qnZE6FFZ.js → blockDiagram-6J76NXCF-De8TWMDN.js} +5 -5
- package/dist/{c4Diagram-6F6E4RAY-DVDx6CRj.js → c4Diagram-6F6E4RAY-C_LDok9B.js} +2 -2
- package/dist/{channel-w0TvEgyJ.js → channel-BfUZ6-T3.js} +1 -1
- package/dist/{chunk-353BL4L5-BERPTU9j.js → chunk-353BL4L5-CCxt33Au.js} +1 -1
- package/dist/{chunk-67H74DCK-BKpGel6k.js → chunk-67H74DCK-DCXh45M8.js} +1 -1
- package/dist/{chunk-AACKK3MU-DKFmZAmW.js → chunk-AACKK3MU-C0xSOsSm.js} +1 -1
- package/dist/{chunk-BFAMUDN2-ByskscqU.js → chunk-BFAMUDN2-Behwqfnf.js} +1 -1
- package/dist/{chunk-E2GYISFI-CU8uK8B5.js → chunk-E2GYISFI-CoVfLOj4.js} +1 -1
- package/dist/{chunk-OW32GOEJ-D-oJnNc0.js → chunk-OW32GOEJ-BDKesCNY.js} +3 -3
- package/dist/{chunk-SKB7J2MH-D3VsLhj0.js → chunk-SKB7J2MH-Bp2xM-uy.js} +1 -1
- package/dist/{chunk-SZ463SBG-DdwzKdw7.js → chunk-SZ463SBG-DBpCja3U.js} +4 -4
- package/dist/{classDiagram-v2-YAWTLIQI-hCM6BJNe.js → classDiagram-M3E45YP4-BFubzwOG.js} +2 -2
- package/dist/{classDiagram-M3E45YP4-hCM6BJNe.js → classDiagram-v2-YAWTLIQI-BFubzwOG.js} +2 -2
- package/dist/{clone-C3HJdTTe.js → clone-BjtVIXpn.js} +1 -1
- package/dist/common-keywords-BefPf8TA.js +7 -0
- package/dist/{dagre-JOIXM2OF-Bf_l2feu.js → dagre-JOIXM2OF-BgBiPRFN.js} +6 -6
- package/dist/{data-grid-overlay-editor-DBR9So5Q.js → data-grid-overlay-editor-_eqSIABJ.js} +2 -2
- package/dist/{diagram-5UYTHUR4-CVGF9hQS.js → diagram-5UYTHUR4-CgaKbTts.js} +3 -3
- package/dist/{diagram-VMROVX33-DQSvGvP9.js → diagram-VMROVX33-CGtdOsg5.js} +5 -5
- package/dist/{diagram-ZTM2IBQH-Cm-4zYmZ.js → diagram-ZTM2IBQH-DYMYPpKk.js} +3 -3
- package/dist/duckdb-keywords-WTV2Iln-.js +7 -0
- package/dist/{erDiagram-3M52JZNH-CqiPyo9l.js → erDiagram-3M52JZNH-1_JRyfPJ.js} +4 -4
- package/dist/{flowDiagram-KYDEHFYC-BWI6woXk.js → flowDiagram-KYDEHFYC-DybJmH8v.js} +5 -5
- package/dist/{ganttDiagram-EK5VF46D-Cgt9l9Dv.js → ganttDiagram-EK5VF46D-DN7qANi_.js} +77 -77
- package/dist/{gitGraphDiagram-GW3U2K7C-CXdWbamN.js → gitGraphDiagram-GW3U2K7C-BRhg1GOx.js} +4 -4
- package/dist/{glide-data-editor-BTCvCt5l.js → glide-data-editor-C_I32XXb.js} +3 -3
- package/dist/{graph-CRdDo12s.js → graph-1MP_VZoE.js} +3 -3
- package/dist/index-BBUizbqs.js +40315 -0
- package/dist/{index-BcFK7BwI.js → index-BPI6wlBl.js} +1 -1
- package/dist/{index-BAdBIZkO.js → index-BdqZ5Kqx.js} +144 -144
- package/dist/{index-BvqeeOGw.js → index-DgGFt9bf.js} +1 -1
- package/dist/{index-C0U8Uslh.js → index-VJmVdxOS.js} +1 -1
- package/dist/{infoDiagram-LHK5PUON-_TLjv1_J.js → infoDiagram-LHK5PUON-DqHV7DDC.js} +2 -2
- package/dist/{journeyDiagram-EWQZEKCU-1myKuvuX.js → journeyDiagram-EWQZEKCU-Bk17Zc9K.js} +3 -3
- package/dist/{kanban-definition-ZSS6B67P-CpcP-3pZ.js → kanban-definition-ZSS6B67P-BYWk6TtR.js} +2 -2
- package/dist/{layout-3sC0Rvql.js → layout-Cb92NmMg.js} +35 -35
- package/dist/{linear-C3_iQNqd.js → linear-B-wqjC4d.js} +19 -19
- package/dist/{main-CL0h4e1V.js → main-CtTUMXKF.js} +34657 -33517
- package/dist/main.js +1 -1
- package/dist/{mermaid-BeozQMHc.js → mermaid-T2yOt-G1.js} +29 -29
- package/dist/{min-snIjkOQ_.js → min-DrG2wG1u.js} +14 -14
- package/dist/{mindmap-definition-6CBA2TL7-DtWdud8Y.js → mindmap-definition-6CBA2TL7-DjzwaZH0.js} +2 -2
- package/dist/{number-overlay-editor-BZsA8E_T.js → number-overlay-editor-xCynwKqy.js} +2 -2
- package/dist/{pieDiagram-NIOCPIFQ-BcUZAX6Z.js → pieDiagram-NIOCPIFQ-CJ6GpE3G.js} +3 -3
- package/dist/{quadrantDiagram-2OG54O6I-d14MOQ5D.js → quadrantDiagram-2OG54O6I-XdD8LFCS.js} +2 -2
- package/dist/{react-plotly-D-OJ0ixl.js → react-plotly-CU1xz0uB.js} +1 -1
- package/dist/{requirementDiagram-QOLK2EJ7-CIM03878.js → requirementDiagram-QOLK2EJ7-BfjB7dTg.js} +3 -3
- package/dist/{sankeyDiagram-4UZDY2LN-BdjxpeGf.js → sankeyDiagram-4UZDY2LN-B5iAGqA4.js} +1 -1
- package/dist/{sequenceDiagram-SKLFT4DO-DwTPOF0M.js → sequenceDiagram-SKLFT4DO-BfZhH-rO.js} +3 -3
- package/dist/{slides-component-CuHbdUWv.js → slides-component-QFXs_rBG.js} +26 -26
- package/dist/{stateDiagram-MI5ZYTHO-DbZ86f1c.js → stateDiagram-MI5ZYTHO-Dj139u4x.js} +4 -4
- package/dist/{stateDiagram-v2-5AN5P6BG-Ciragt5S.js → stateDiagram-v2-5AN5P6BG-Bu6lvica.js} +2 -2
- package/dist/{time-Drwe-h9P.js → time-BuU9s2Gm.js} +2 -2
- package/dist/{timeline-definition-MYPXXCX6-C4anfUWH.js → timeline-definition-MYPXXCX6-cuErhWL7.js} +1 -1
- package/dist/{treemap-75Q7IDZK-B00Ow4su.js → treemap-75Q7IDZK-4DitaMDv.js} +131 -131
- package/dist/{vega-component-C-6aZaJB.js → vega-component-BuOK3GIr.js} +2 -2
- package/dist/{xychartDiagram-H2YORKM3-DKqJQPV7.js → xychartDiagram-H2YORKM3-DfnjQqUF.js} +2 -2
- package/package.json +3 -2
- package/src/components/app-config/user-config-form.tsx +25 -0
- package/src/components/chat/markdown-renderer.tsx +1 -1
- package/src/components/editor/ai/add-cell-with-ai.tsx +1 -1
- package/src/components/editor/cell/CreateCellButton.tsx +1 -1
- package/src/components/editor/cell/code/language-toggle.tsx +1 -1
- package/src/components/editor/renderers/CellArray.tsx +1 -1
- package/src/core/codemirror/language/LanguageAdapters.ts +1 -1
- package/src/core/codemirror/language/__tests__/sql.test.ts +5 -5
- package/src/core/codemirror/language/extension.ts +1 -1
- package/src/core/codemirror/language/languages/sql/completion-sources.tsx +99 -0
- package/src/core/codemirror/language/languages/sql/completion-store.ts +191 -0
- package/src/core/codemirror/language/languages/{sql.ts → sql/sql.ts} +124 -248
- package/src/core/codemirror/language/languages/sql/utils.ts +42 -0
- package/src/core/codemirror/language/panel/panel.tsx +1 -1
- package/src/core/config/feature-flag.tsx +2 -0
- package/src/theme/useTheme.ts +1 -1
- package/src/core/codemirror/language/languages/sql-dialects/README.md +0 -5
- package/src/core/codemirror/language/languages/sql-dialects/duckdb.ts +0 -22
- package/src/core/codemirror/language/languages/sql-dialects/spec_duckdb.py +0 -257
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var _a2;
|
|
2
|
-
import {
|
|
3
|
-
import { m as A0, a as Gs, d as ZT, r as
|
|
4
|
-
import { n as
|
|
2
|
+
import { aJ as nl, cm as H, cn as S1, co as qC, cp as WC, cq as Gd, cr as pe, cs as Vt, ct as K, cu as Nn, cv as Q, cw as T, cx as P, cy as _l, cz as Ln, cA as Nr, cB as GC, cC as HC, cD as me, cE as C1, cF as Ye, cG as Wt, cH as zo, cI as kn, cJ as Mi, cK as Hd, cL as VC, cM as XC, cN as YC, cO as KC, cP as De, cQ as $1, cR as F1, a5 as JC, cS as mr, cT as QC, cU as Vd, cV as Uo, cW as k1, cX as D1, cY as _1, cZ as ZC, c_ as e$, aP as N2, aK as vT, f as bT, c$ as xT, a6 as ET, am as AT, an as wT, d0 as ST, ap as CT, aq as $T, ar as FT, d1 as Ti, d2 as Se, d3 as Y, d4 as X, d5 as t$, d6 as Rr, d7 as Ol, d8 as O1, d9 as kf, da as R1, db as M1, dc as G, ae as n$, dd as qs, de as Qa, df as i$, dg as r$, dh as s$, di as a$, dj as o$, dk as u$, dl as l$, dm as c$, dn as f$, dp as d$, dq as h$, dr as p$, ds as g$, dt as m$, du as y$, dv as v$, dw as b$, dx as x$, dy as E$, dz as A$, dA as w$, dB as S$, dC as T1, dD as fs, dE as C$, dF as $$, dG as jo, dH as ds, dI as kT, dJ as DT, dK as _T, dL as OT, dM as RT, dN as MT, dO as TT, dP as NT, dQ as LT, dR as PT, dS as IT, dT as BT, dU as zT, dV as F$, dW as UT, dX as jT, dY as qT, U as WT, dZ as GT, d_ as HT, d$ as VT, e0 as XT, e1 as YT, e2 as KT, e3 as JT, e4 as Xd, M as QT, J as Ws, e5 as L2 } from "./main-CtTUMXKF.js";
|
|
3
|
+
import { m as A0, a as Gs, d as ZT, r as e6, l as w0, i as t6, h as n6, n as i6, c as r6, u as s6, b as a6, t as o6, e as u6 } from "./time-BuU9s2Gm.js";
|
|
4
|
+
import { n as l6, b as c6, i as Rl, d as f6, e as d6, f as h6, o as p6, g as Yd, h as P2, j as qo, t as N1, a as L1, k as zr, m as ea, l as g6, p as m6, q as y6 } from "./linear-B-wqjC4d.js";
|
|
5
5
|
import { r as mn } from "./range-DdOGybNB.js";
|
|
6
|
-
import { w as k$, n as
|
|
6
|
+
import { w as k$, n as v6, P as D$, a as Ft, $ as b6, a0 as x6, l as _$, b as E6, t as A6, p as w6, R as O$, r as S6, o as C6, q as $6, a1 as I2, a2 as B2, C as F6, v as P1, a3 as S0, u as Dn, a4 as k6, a5 as D6, y as _6, z as O6, a6 as R6, a7 as M6, A as T6, G as N6, F as L6, a8 as I1, I as P6, J as I6, K as B6, L as z6, N as U6, M as j6, O as q6, S as W6, U as G6, Q as H6, X as V6, W as X6, V as Y6, Y as K6, Z as J6, _ as Q6, k as Z6, a9 as Df, T as eN, H as tN, D as nN, E as iN } from "./timer-BYwnU4DF.js";
|
|
7
7
|
import { i as Aa, a as hs } from "./init-DxzjmxYy.js";
|
|
8
|
-
import { I as _f, o as R$, i as
|
|
8
|
+
import { I as _f, o as R$, i as rN } from "./ordinal-CYN5qNoq.js";
|
|
9
9
|
import { c as zi } from "./colors-BD7LS4qt.js";
|
|
10
|
-
import { d as
|
|
11
|
-
import { o as nf, c as z2, a as
|
|
10
|
+
import { d as sN } from "./arc-BXrety1g.js";
|
|
11
|
+
import { o as nf, c as z2, a as aN, r as oN, b as Kd, N as M$, d as uN, e as B1, s as lN, p as cN, h as fN, t as dN, f as hN } from "./index-pBmAzQJl.js";
|
|
12
12
|
var qp, U2;
|
|
13
|
-
function
|
|
13
|
+
function pN() {
|
|
14
14
|
return U2 || (U2 = 1, qp = function e10(t, n) {
|
|
15
15
|
if (t === n) return true;
|
|
16
16
|
if (t && n && typeof t == "object" && typeof n == "object") {
|
|
@@ -37,7 +37,7 @@ function p6() {
|
|
|
37
37
|
return t !== t && n !== n;
|
|
38
38
|
}), qp;
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function gN(e10, t) {
|
|
41
41
|
let n = 0, i, r = 0, s = 0;
|
|
42
42
|
if (t === void 0)
|
|
43
43
|
for (let a of e10)
|
|
@@ -49,8 +49,8 @@ function g6(e10, t) {
|
|
|
49
49
|
}
|
|
50
50
|
if (n > 1) return s / (n - 1);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
const n =
|
|
52
|
+
function mN(e10, t) {
|
|
53
|
+
const n = gN(e10, t);
|
|
54
54
|
return n && Math.sqrt(n);
|
|
55
55
|
}
|
|
56
56
|
class Gt {
|
|
@@ -77,10 +77,10 @@ class Gt {
|
|
|
77
77
|
return a;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function yN(e10, t) {
|
|
81
81
|
return Array.from(t, (n) => e10[n]);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function vN(e10 = nl) {
|
|
84
84
|
if (e10 === nl) return T$;
|
|
85
85
|
if (typeof e10 != "function") throw new TypeError("compare is not a function");
|
|
86
86
|
return (t, n) => {
|
|
@@ -93,7 +93,7 @@ function T$(e10, t) {
|
|
|
93
93
|
}
|
|
94
94
|
function N$(e10, t, n = 0, i = 1 / 0, r) {
|
|
95
95
|
if (t = Math.floor(t), n = Math.floor(Math.max(0, n)), i = Math.floor(Math.min(e10.length - 1, i)), !(n <= t && t <= i)) return e10;
|
|
96
|
-
for (r = r === void 0 ? T$ :
|
|
96
|
+
for (r = r === void 0 ? T$ : vN(r); i > n; ) {
|
|
97
97
|
if (i - n > 600) {
|
|
98
98
|
const u = i - n + 1, l = t - n + 1, c = Math.log(u), f = 0.5 * Math.exp(2 * c / 3), d = 0.5 * Math.sqrt(c * f * (u - f) / u) * (l - u / 2 < 0 ? -1 : 1), h = Math.max(n, Math.floor(t - l * f / u + d)), p = Math.min(i, Math.floor(t + (u - l) * f / u + d));
|
|
99
99
|
N$(e10, t, h, p, r);
|
|
@@ -113,14 +113,14 @@ function au(e10, t, n) {
|
|
|
113
113
|
e10[t] = e10[n], e10[n] = i;
|
|
114
114
|
}
|
|
115
115
|
function C0(e10, t, n) {
|
|
116
|
-
if (e10 = Float64Array.from(
|
|
116
|
+
if (e10 = Float64Array.from(l6(e10, n)), !(!(i = e10.length) || isNaN(t = +t))) {
|
|
117
117
|
if (t <= 0 || i < 2) return A0(e10);
|
|
118
118
|
if (t >= 1) return Gs(e10);
|
|
119
119
|
var i, r = (i - 1) * t, s = Math.floor(r), a = Gs(N$(e10, s).subarray(0, s + 1)), o = A0(e10.subarray(s + 1));
|
|
120
120
|
return a + (o - a) * (r - s);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function L$(e10, t, n =
|
|
123
|
+
function L$(e10, t, n = c6) {
|
|
124
124
|
if (!(!(i = e10.length) || isNaN(t = +t))) {
|
|
125
125
|
if (t <= 0 || i < 2) return +n(e10[0], 0, e10);
|
|
126
126
|
if (t >= 1) return +n(e10[i - 1], i - 1, e10);
|
|
@@ -128,7 +128,7 @@ function L$(e10, t, n = cN) {
|
|
|
128
128
|
return a + (o - a) * (r - s);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function bN(e10, t) {
|
|
132
132
|
let n = 0, i = 0;
|
|
133
133
|
if (t === void 0)
|
|
134
134
|
for (let r of e10)
|
|
@@ -143,12 +143,12 @@ function b6(e10, t) {
|
|
|
143
143
|
function P$(e10, t) {
|
|
144
144
|
return C0(e10, 0.5, t);
|
|
145
145
|
}
|
|
146
|
-
function*
|
|
146
|
+
function* xN(e10) {
|
|
147
147
|
for (const t of e10)
|
|
148
148
|
yield* t;
|
|
149
149
|
}
|
|
150
150
|
function I$(e10) {
|
|
151
|
-
return Array.from(
|
|
151
|
+
return Array.from(xN(e10));
|
|
152
152
|
}
|
|
153
153
|
function B$(e10, t) {
|
|
154
154
|
let n = 0;
|
|
@@ -156,8 +156,8 @@ function B$(e10, t) {
|
|
|
156
156
|
(i = +i) && (n += i);
|
|
157
157
|
return n;
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
e10 = new _f(e10), t = t.map(
|
|
159
|
+
function EN(e10, ...t) {
|
|
160
|
+
e10 = new _f(e10), t = t.map(AN);
|
|
161
161
|
e: for (const n of e10)
|
|
162
162
|
for (const i of t)
|
|
163
163
|
if (!i.has(n)) {
|
|
@@ -166,10 +166,10 @@ function E6(e10, ...t) {
|
|
|
166
166
|
}
|
|
167
167
|
return e10;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function AN(e10) {
|
|
170
170
|
return e10 instanceof _f ? e10 : new _f(e10);
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function wN(...e10) {
|
|
173
173
|
const t = new _f();
|
|
174
174
|
for (const n of e10)
|
|
175
175
|
for (const i of n)
|
|
@@ -182,7 +182,7 @@ function $0(e10, t) {
|
|
|
182
182
|
const n = Object.keys(e10), i = Object.keys(t);
|
|
183
183
|
return e10 === t || n.length === i.length && n.every((r) => e10[r] === t[r]);
|
|
184
184
|
}
|
|
185
|
-
const
|
|
185
|
+
const SN = /("(?:[^\\"]|\\.)*")|[:,]/g;
|
|
186
186
|
function Wp(e10, t = {}) {
|
|
187
187
|
const n = JSON.stringify(
|
|
188
188
|
[1],
|
|
@@ -198,7 +198,7 @@ function Wp(e10, t = {}) {
|
|
|
198
198
|
const c = i - o.length - u;
|
|
199
199
|
if (l.length <= c) {
|
|
200
200
|
const f = l.replace(
|
|
201
|
-
|
|
201
|
+
SN,
|
|
202
202
|
(d, h) => h || `${d} `
|
|
203
203
|
);
|
|
204
204
|
if (f.length <= c)
|
|
@@ -259,7 +259,7 @@ async function rf(e10, t) {
|
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
const z$ = Symbol("vega_id");
|
|
262
|
-
let
|
|
262
|
+
let CN = 1;
|
|
263
263
|
function Qd(e10) {
|
|
264
264
|
return !!(e10 && ie(e10));
|
|
265
265
|
}
|
|
@@ -273,7 +273,7 @@ function we(e10) {
|
|
|
273
273
|
const t = e10 === Object(e10) ? e10 : {
|
|
274
274
|
data: e10
|
|
275
275
|
};
|
|
276
|
-
return ie(t) ? t : U$(t,
|
|
276
|
+
return ie(t) ? t : U$(t, CN++);
|
|
277
277
|
}
|
|
278
278
|
function z1(e10) {
|
|
279
279
|
return Zd(e10, we({}));
|
|
@@ -416,10 +416,10 @@ eh.prototype = {
|
|
|
416
416
|
return this[sf] = {}, this;
|
|
417
417
|
}
|
|
418
418
|
};
|
|
419
|
-
let $
|
|
420
|
-
const
|
|
419
|
+
let $N = 0;
|
|
420
|
+
const FN = "pulse", kN = new eh(), DN = 1, _N = 2;
|
|
421
421
|
function Ne(e10, t, n, i) {
|
|
422
|
-
this.id = ++$
|
|
422
|
+
this.id = ++$N, this.value = e10, this.stamp = -1, this.rank = -1, this.qrank = -1, this.flags = 0, t && (this._update = t), n && this.parameters(n, i);
|
|
423
423
|
}
|
|
424
424
|
function q2(e10) {
|
|
425
425
|
return function(t) {
|
|
@@ -451,7 +451,7 @@ Ne.prototype = {
|
|
|
451
451
|
* will not be invoked. The skip flag is reset after every pulse, so calling
|
|
452
452
|
* this method will affect processing of the next pulse only.
|
|
453
453
|
*/
|
|
454
|
-
skip: q2(
|
|
454
|
+
skip: q2(DN),
|
|
455
455
|
/**
|
|
456
456
|
* Indicates that this operator's value has been modified on its most recent
|
|
457
457
|
* pulse. Normally modification is checked via strict equality; however, in
|
|
@@ -460,7 +460,7 @@ Ne.prototype = {
|
|
|
460
460
|
* set, the modification flag persists across pulses until unset. The flag can
|
|
461
461
|
* be used with the last timestamp to test if a modification is recent.
|
|
462
462
|
*/
|
|
463
|
-
modified: q2(
|
|
463
|
+
modified: q2(_N),
|
|
464
464
|
/**
|
|
465
465
|
* Sets the parameters for this operator. The parameter values are analyzed for
|
|
466
466
|
* operator instances. If found, this operator will be added as a dependency
|
|
@@ -490,7 +490,7 @@ Ne.prototype = {
|
|
|
490
490
|
})) : i.set(f, d, h);
|
|
491
491
|
};
|
|
492
492
|
for (a in e10)
|
|
493
|
-
if (o = e10[a], a ===
|
|
493
|
+
if (o = e10[a], a === FN)
|
|
494
494
|
K(o).forEach((f) => {
|
|
495
495
|
f instanceof Ne ? f !== this && (f.targets().add(this), s.push(f)) : P("Pulse parameters must be operator instances.");
|
|
496
496
|
}), this.source = o;
|
|
@@ -506,7 +506,7 @@ Ne.prototype = {
|
|
|
506
506
|
* @return {Parameters} A Parameters object to pass to the update function.
|
|
507
507
|
*/
|
|
508
508
|
marshall(e10) {
|
|
509
|
-
const t = this._argval ||
|
|
509
|
+
const t = this._argval || kN, n = this._argops;
|
|
510
510
|
let i, r, s, a;
|
|
511
511
|
if (n) {
|
|
512
512
|
const o = n.length;
|
|
@@ -568,11 +568,11 @@ Ne.prototype = {
|
|
|
568
568
|
return this.skip() ? (this.skip(false), t = 0) : t = this.evaluate(e10), this.pulse = t || e10;
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
|
-
function
|
|
571
|
+
function ON(e10, t, n, i) {
|
|
572
572
|
let r = 1, s;
|
|
573
573
|
return e10 instanceof Ne ? s = e10 : e10 && e10.prototype instanceof Ne ? s = new e10() : pe(e10) ? s = new Ne(null, e10) : (r = 0, s = new Ne(e10, t)), this.rank(s), r && (i = n, n = t), n && this.connect(s, s.parameters(n, i)), this.touch(s), s;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function RN(e10, t) {
|
|
576
576
|
const n = e10.rank, i = t.length;
|
|
577
577
|
for (let r = 0; r < i; ++r)
|
|
578
578
|
if (n < t[r].rank) {
|
|
@@ -580,9 +580,9 @@ function R6(e10, t) {
|
|
|
580
580
|
return;
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
let
|
|
583
|
+
let MN = 0;
|
|
584
584
|
function th(e10, t, n) {
|
|
585
|
-
this.id = ++
|
|
585
|
+
this.id = ++MN, this.value = null, n && (this.receive = n), e10 && (this._filter = e10), t && (this._apply = t);
|
|
586
586
|
}
|
|
587
587
|
function Mr(e10, t, n) {
|
|
588
588
|
return new th(e10, t, n);
|
|
@@ -640,7 +640,7 @@ th.prototype = {
|
|
|
640
640
|
this._filter = Ln, this._targets = null;
|
|
641
641
|
}
|
|
642
642
|
};
|
|
643
|
-
function
|
|
643
|
+
function TN(e10, t, n, i) {
|
|
644
644
|
const r = this, s = Mr(n, i), a = function(l) {
|
|
645
645
|
l.dataflow = r;
|
|
646
646
|
try {
|
|
@@ -658,14 +658,14 @@ function T6(e10, t, n, i) {
|
|
|
658
658
|
o[l].addEventListener(t, a);
|
|
659
659
|
return s;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function NN(e10, t) {
|
|
662
662
|
const n = this.locale();
|
|
663
663
|
return HC(e10, t, n.timeParse, n.utcParse);
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function LN(e10, t, n) {
|
|
666
666
|
return t = this.parse(t, n), this.pulse(e10, this.changeset().insert(t));
|
|
667
667
|
}
|
|
668
|
-
async function
|
|
668
|
+
async function PN(e10, t) {
|
|
669
669
|
const n = this;
|
|
670
670
|
let i = 0, r;
|
|
671
671
|
try {
|
|
@@ -686,27 +686,27 @@ async function P6(e10, t) {
|
|
|
686
686
|
status: i
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
|
-
async function
|
|
690
|
-
const i = this, r = i._pending ||
|
|
689
|
+
async function IN(e10, t, n) {
|
|
690
|
+
const i = this, r = i._pending || BN(i);
|
|
691
691
|
r.requests += 1;
|
|
692
692
|
const s = await i.request(t, n);
|
|
693
693
|
return i.pulse(e10, i.changeset().remove(Ln).insert(s.data || [])), r.done(), s;
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function BN(e10) {
|
|
696
696
|
let t;
|
|
697
697
|
const n = new Promise((i) => t = i);
|
|
698
698
|
return n.requests = 0, n.done = () => {
|
|
699
699
|
--n.requests === 0 && (e10._pending = null, t(e10));
|
|
700
700
|
}, e10._pending = n;
|
|
701
701
|
}
|
|
702
|
-
const
|
|
702
|
+
const zN = {
|
|
703
703
|
skip: true
|
|
704
704
|
};
|
|
705
|
-
function
|
|
706
|
-
return (e10 instanceof Ne ?
|
|
705
|
+
function UN(e10, t, n, i, r) {
|
|
706
|
+
return (e10 instanceof Ne ? qN : jN)(this, e10, t, n, i, r), this;
|
|
707
707
|
}
|
|
708
|
-
function
|
|
709
|
-
const a = me({}, s,
|
|
708
|
+
function jN(e10, t, n, i, r, s) {
|
|
709
|
+
const a = me({}, s, zN);
|
|
710
710
|
let o, u;
|
|
711
711
|
pe(n) || (n = Vt(n)), i === void 0 ? o = (l) => e10.touch(n(l)) : pe(i) ? (u = new Ne(null, i, r, false), o = (l) => {
|
|
712
712
|
u.evaluate(l);
|
|
@@ -714,24 +714,24 @@ function j6(e10, t, n, i, r, s) {
|
|
|
714
714
|
q$(f) ? e10.pulse(c, f, s) : e10.update(c, f, a);
|
|
715
715
|
}) : o = (l) => e10.update(n(l), i, a), t.apply(o);
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function qN(e10, t, n, i, r, s) {
|
|
718
718
|
if (i === void 0)
|
|
719
719
|
t.targets().add(n);
|
|
720
720
|
else {
|
|
721
|
-
const a = s || {}, o = new Ne(null,
|
|
721
|
+
const a = s || {}, o = new Ne(null, WN(n, i), r, false);
|
|
722
722
|
o.modified(a.force), o.rank = t.rank, t.targets().add(o), n && (o.skip(true), o.value = n.value, o.targets().add(n), e10.connect(n, [o]));
|
|
723
723
|
}
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function WN(e10, t) {
|
|
726
726
|
return t = pe(t) ? t : Vt(t), e10 ? function(n, i) {
|
|
727
727
|
const r = t(n, i);
|
|
728
728
|
return e10.skip() || (e10.skip(r !== this.value).value = r), r;
|
|
729
729
|
} : t;
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function GN(e10) {
|
|
732
732
|
e10.rank = ++this._rank;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function HN(e10) {
|
|
735
735
|
const t = [e10];
|
|
736
736
|
let n, i, r;
|
|
737
737
|
for (; t.length; )
|
|
@@ -739,7 +739,7 @@ function H6(e10) {
|
|
|
739
739
|
for (r = i.length; --r >= 0; )
|
|
740
740
|
t.push(n = i[r]), n === e10 && P("Cycle detected in dataflow graph.");
|
|
741
741
|
}
|
|
742
|
-
const Of = {}, Ei = 1, Lr = 2, nr = 4,
|
|
742
|
+
const Of = {}, Ei = 1, Lr = 2, nr = 4, VN = Ei | Lr, W2 = Ei | nr, Ba = Ei | Lr | nr, G2 = 8, ou = 16, H2 = 32, V2 = 64;
|
|
743
743
|
function Kr(e10, t, n) {
|
|
744
744
|
this.dataflow = e10, this.stamp = t ?? -1, this.add = [], this.rem = [], this.mod = [], this.fields = null, this.encode = n || null;
|
|
745
745
|
}
|
|
@@ -776,7 +776,7 @@ Kr.prototype = {
|
|
|
776
776
|
/**
|
|
777
777
|
* Boolean flag indicating ADD (added) and REM (removed) tuples.
|
|
778
778
|
*/
|
|
779
|
-
ADD_REM:
|
|
779
|
+
ADD_REM: VN,
|
|
780
780
|
/**
|
|
781
781
|
* Boolean flag indicating ADD (added) and MOD (modified) tuples.
|
|
782
782
|
*/
|
|
@@ -1023,7 +1023,7 @@ H(U1, Kr, {
|
|
|
1023
1023
|
return n;
|
|
1024
1024
|
}
|
|
1025
1025
|
});
|
|
1026
|
-
async function
|
|
1026
|
+
async function XN(e10, t, n) {
|
|
1027
1027
|
const i = this, r = [];
|
|
1028
1028
|
if (i._pulse) return W$(i);
|
|
1029
1029
|
if (i._pending && await i._pending, t && await rf(i, t), !i._touched.length)
|
|
@@ -1058,15 +1058,15 @@ async function X6(e10, t, n) {
|
|
|
1058
1058
|
});
|
|
1059
1059
|
})), i;
|
|
1060
1060
|
}
|
|
1061
|
-
async function
|
|
1061
|
+
async function YN(e10, t, n) {
|
|
1062
1062
|
for (; this._running; ) await this._running;
|
|
1063
1063
|
const i = () => this._running = null;
|
|
1064
1064
|
return (this._running = this.evaluate(e10, t, n)).then(i, i), this._running;
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function KN(e10, t, n) {
|
|
1067
1067
|
return this._pulse ? W$(this) : (this.evaluate(e10, t, n), this);
|
|
1068
1068
|
}
|
|
1069
|
-
function
|
|
1069
|
+
function JN(e10, t, n) {
|
|
1070
1070
|
if (this._pulse || t)
|
|
1071
1071
|
this._postrun.push({
|
|
1072
1072
|
priority: n || 0,
|
|
@@ -1082,11 +1082,11 @@ function J6(e10, t, n) {
|
|
|
1082
1082
|
function W$(e10) {
|
|
1083
1083
|
return e10.error("Dataflow already running. Use runAsync() to chain invocations."), e10;
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function QN(e10, t) {
|
|
1086
1086
|
const n = e10.stamp < this._clock;
|
|
1087
1087
|
n && (e10.stamp = this._clock), (n || t) && (e10.qrank = e10.rank, this._heap.push(e10));
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function ZN(e10, t) {
|
|
1090
1090
|
const n = e10.source, i = this._clock;
|
|
1091
1091
|
return n && T(n) ? new U1(this, i, n.map((r) => r.pulse), t) : this._input[e10.id] || e8(this._pulse, n && n.pulse);
|
|
1092
1092
|
}
|
|
@@ -1243,30 +1243,30 @@ so.prototype = {
|
|
|
1243
1243
|
*/
|
|
1244
1244
|
cleanThreshold: 1e4,
|
|
1245
1245
|
// OPERATOR REGISTRATION
|
|
1246
|
-
add:
|
|
1247
|
-
connect:
|
|
1248
|
-
rank:
|
|
1249
|
-
rerank:
|
|
1246
|
+
add: ON,
|
|
1247
|
+
connect: RN,
|
|
1248
|
+
rank: GN,
|
|
1249
|
+
rerank: HN,
|
|
1250
1250
|
// OPERATOR UPDATES
|
|
1251
1251
|
pulse: i8,
|
|
1252
1252
|
touch: t8,
|
|
1253
1253
|
update: n8,
|
|
1254
1254
|
changeset: Sa,
|
|
1255
1255
|
// DATA LOADING
|
|
1256
|
-
ingest:
|
|
1257
|
-
parse:
|
|
1258
|
-
preload:
|
|
1259
|
-
request:
|
|
1256
|
+
ingest: LN,
|
|
1257
|
+
parse: NN,
|
|
1258
|
+
preload: IN,
|
|
1259
|
+
request: PN,
|
|
1260
1260
|
// EVENT HANDLING
|
|
1261
|
-
events:
|
|
1262
|
-
on:
|
|
1261
|
+
events: TN,
|
|
1262
|
+
on: UN,
|
|
1263
1263
|
// PULSE PROPAGATION
|
|
1264
|
-
evaluate:
|
|
1265
|
-
run:
|
|
1266
|
-
runAsync:
|
|
1267
|
-
runAfter:
|
|
1268
|
-
_enqueue:
|
|
1269
|
-
_getPulse:
|
|
1264
|
+
evaluate: XN,
|
|
1265
|
+
run: KN,
|
|
1266
|
+
runAsync: YN,
|
|
1267
|
+
runAfter: JN,
|
|
1268
|
+
_enqueue: QN,
|
|
1269
|
+
_getPulse: ZN
|
|
1270
1270
|
};
|
|
1271
1271
|
function O(e10, t) {
|
|
1272
1272
|
Ne.call(this, e10, null, t);
|
|
@@ -1333,7 +1333,7 @@ function W1(e10, t) {
|
|
|
1333
1333
|
return q1(e10, [0.25, 0.5, 0.75], t);
|
|
1334
1334
|
}
|
|
1335
1335
|
function G1(e10, t) {
|
|
1336
|
-
const n = e10.length, i =
|
|
1336
|
+
const n = e10.length, i = mN(e10, t), r = W1(e10, t), s = (r[2] - r[0]) / 1.34;
|
|
1337
1337
|
return 1.06 * (Math.min(i, s) || i || Math.abs(r[0]) || 1) * Math.pow(n, -0.2);
|
|
1338
1338
|
}
|
|
1339
1339
|
function Y$(e10) {
|
|
@@ -3061,7 +3061,7 @@ H(bF, O, {
|
|
|
3061
3061
|
const Sc = {
|
|
3062
3062
|
value: "value",
|
|
3063
3063
|
median: P$,
|
|
3064
|
-
mean:
|
|
3064
|
+
mean: bN,
|
|
3065
3065
|
min: A0,
|
|
3066
3066
|
max: Gs
|
|
3067
3067
|
}, B8 = [];
|
|
@@ -4055,9 +4055,9 @@ const s9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4055
4055
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4056
4056
|
function TF(e10, t, n) {
|
|
4057
4057
|
var i = null, r = Ft(true), s = null, a = D$, o = null, u = k$(l);
|
|
4058
|
-
e10 = typeof e10 == "function" ? e10 : e10 === void 0 ?
|
|
4058
|
+
e10 = typeof e10 == "function" ? e10 : e10 === void 0 ? b6 : Ft(+e10), t = typeof t == "function" ? t : t === void 0 ? Ft(0) : Ft(+t), n = typeof n == "function" ? n : n === void 0 ? x6 : Ft(+n);
|
|
4059
4059
|
function l(f) {
|
|
4060
|
-
var d, h, p, g = (f =
|
|
4060
|
+
var d, h, p, g = (f = v6(f)).length, m, y = false, v, b = new Array(g), x = new Array(g);
|
|
4061
4061
|
for (s == null && (o = a(v = u())), d = 0; d <= g; ++d) {
|
|
4062
4062
|
if (!(d < g && r(m = f[d], d, f)) === y)
|
|
4063
4063
|
if (y = !y)
|
|
@@ -4102,8 +4102,8 @@ function TF(e10, t, n) {
|
|
|
4102
4102
|
}
|
|
4103
4103
|
const a9 = {
|
|
4104
4104
|
draw(e10, t) {
|
|
4105
|
-
const n =
|
|
4106
|
-
e10.moveTo(n, 0), e10.arc(0, 0, n, 0,
|
|
4105
|
+
const n = E6(t / w6);
|
|
4106
|
+
e10.moveTo(n, 0), e10.arc(0, 0, n, 0, A6);
|
|
4107
4107
|
}
|
|
4108
4108
|
};
|
|
4109
4109
|
function o9(e10, t) {
|
|
@@ -4133,7 +4133,7 @@ const u9 = () => typeof Image < "u" ? Image : null;
|
|
|
4133
4133
|
var NF = -0.14861, Oy = 1.78277, Ry = -0.29227, uh = -0.90649, sl = 1.97294, Z2 = sl * uh, eE = sl * Oy, tE = Oy * Ry - uh * NF;
|
|
4134
4134
|
function l9(e10) {
|
|
4135
4135
|
if (e10 instanceof Hs) return new Hs(e10.h, e10.s, e10.l, e10.opacity);
|
|
4136
|
-
e10 instanceof O$ || (e10 =
|
|
4136
|
+
e10 instanceof O$ || (e10 = S6(e10));
|
|
4137
4137
|
var t = e10.r / 255, n = e10.g / 255, i = e10.b / 255, r = (tE * i + Z2 * t - eE * n) / (tE + Z2 - eE), s = i - r, a = (sl * (n - r) - Ry * s) / uh, o = Math.sqrt(a * a + s * s) / (sl * r * (1 - r)), u = o ? Math.atan2(a, s) * ZT - 120 : NaN;
|
|
4138
4138
|
return new Hs(u < 0 ? u + 360 : u, o, r, e10.opacity);
|
|
4139
4139
|
}
|
|
@@ -4143,7 +4143,7 @@ function k0(e10, t, n, i) {
|
|
|
4143
4143
|
function Hs(e10, t, n, i) {
|
|
4144
4144
|
this.h = +e10, this.s = +t, this.l = +n, this.opacity = +i;
|
|
4145
4145
|
}
|
|
4146
|
-
|
|
4146
|
+
C6(Hs, k0, $6(F6, {
|
|
4147
4147
|
brighter(e10) {
|
|
4148
4148
|
return e10 = e10 == null ? B2 : Math.pow(B2, e10), new Hs(this.h, this.s, this.l * e10, this.opacity);
|
|
4149
4149
|
},
|
|
@@ -4151,7 +4151,7 @@ CN(Hs, k0, $N(FN, {
|
|
|
4151
4151
|
return e10 = e10 == null ? I2 : Math.pow(I2, e10), new Hs(this.h, this.s, this.l * e10, this.opacity);
|
|
4152
4152
|
},
|
|
4153
4153
|
rgb() {
|
|
4154
|
-
var e10 = isNaN(this.h) ? 0 : (this.h + 120) *
|
|
4154
|
+
var e10 = isNaN(this.h) ? 0 : (this.h + 120) * e6, t = +this.l, n = isNaN(this.s) ? 0 : this.s * t * (1 - t), i = Math.cos(e10), r = Math.sin(e10);
|
|
4155
4155
|
return new O$(
|
|
4156
4156
|
255 * (t + n * (NF * i + Oy * r)),
|
|
4157
4157
|
255 * (t + n * (Ry * i + uh * r)),
|
|
@@ -4257,29 +4257,29 @@ function E9(e10, t) {
|
|
|
4257
4257
|
const A9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4258
4258
|
__proto__: null,
|
|
4259
4259
|
interpolate: Rl,
|
|
4260
|
-
interpolateArray:
|
|
4261
|
-
interpolateBasis:
|
|
4262
|
-
interpolateBasisClosed:
|
|
4260
|
+
interpolateArray: f6,
|
|
4261
|
+
interpolateBasis: k6,
|
|
4262
|
+
interpolateBasisClosed: D6,
|
|
4263
4263
|
interpolateCubehelix: b9,
|
|
4264
4264
|
interpolateCubehelixLong: x9,
|
|
4265
|
-
interpolateDate:
|
|
4265
|
+
interpolateDate: d6,
|
|
4266
4266
|
interpolateDiscrete: c9,
|
|
4267
|
-
interpolateHcl:
|
|
4268
|
-
interpolateHclLong:
|
|
4267
|
+
interpolateHcl: t6,
|
|
4268
|
+
interpolateHclLong: n6,
|
|
4269
4269
|
interpolateHsl: m9,
|
|
4270
4270
|
interpolateHslLong: y9,
|
|
4271
4271
|
interpolateHue: f9,
|
|
4272
4272
|
interpolateLab: v9,
|
|
4273
|
-
interpolateNumber:
|
|
4274
|
-
interpolateNumberArray:
|
|
4275
|
-
interpolateObject:
|
|
4276
|
-
interpolateRgb:
|
|
4277
|
-
interpolateRgbBasis:
|
|
4278
|
-
interpolateRgbBasisClosed:
|
|
4273
|
+
interpolateNumber: _6,
|
|
4274
|
+
interpolateNumberArray: h6,
|
|
4275
|
+
interpolateObject: p6,
|
|
4276
|
+
interpolateRgb: O6,
|
|
4277
|
+
interpolateRgbBasis: R6,
|
|
4278
|
+
interpolateRgbBasisClosed: M6,
|
|
4279
4279
|
interpolateRound: Yd,
|
|
4280
|
-
interpolateString:
|
|
4281
|
-
interpolateTransformCss:
|
|
4282
|
-
interpolateTransformSvg:
|
|
4280
|
+
interpolateString: T6,
|
|
4281
|
+
interpolateTransformCss: N6,
|
|
4282
|
+
interpolateTransformSvg: L6,
|
|
4283
4283
|
interpolateZoom: g9,
|
|
4284
4284
|
piecewise: My,
|
|
4285
4285
|
quantize: E9
|
|
@@ -4364,7 +4364,7 @@ function Ty(e10) {
|
|
|
4364
4364
|
let f = c / s(Math.round(r(c)));
|
|
4365
4365
|
return f * i < i - 0.5 && (f *= i), f <= l ? u(c) : "";
|
|
4366
4366
|
};
|
|
4367
|
-
}, t.nice = () => n(
|
|
4367
|
+
}, t.nice = () => n(i6(n(), {
|
|
4368
4368
|
floor: (o) => s(Math.floor(r(o))),
|
|
4369
4369
|
ceil: (o) => s(Math.ceil(r(o)))
|
|
4370
4370
|
})), t;
|
|
@@ -4499,7 +4499,7 @@ function qF() {
|
|
|
4499
4499
|
}, Aa.apply(r, arguments);
|
|
4500
4500
|
}
|
|
4501
4501
|
function O9() {
|
|
4502
|
-
return Aa.apply(
|
|
4502
|
+
return Aa.apply(r6(a6, s6, FT, $T, CT, ST, wT, AT, ET, xT).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
|
|
4503
4503
|
}
|
|
4504
4504
|
function lh() {
|
|
4505
4505
|
var e10 = 0, t = 1, n, i, r, s, a = zr, o = false, u;
|
|
@@ -4696,7 +4696,7 @@ function JF() {
|
|
|
4696
4696
|
}, n.range = function(i) {
|
|
4697
4697
|
return arguments.length ? (t = K9.call(i), n) : t.slice();
|
|
4698
4698
|
}, n.tickFormat = function(i, r) {
|
|
4699
|
-
return
|
|
4699
|
+
return m6(e10[0], De(e10), i ?? 10, r);
|
|
4700
4700
|
}, n.copy = function() {
|
|
4701
4701
|
return JF().domain(n.domain()).range(n.range());
|
|
4702
4702
|
}, n;
|
|
@@ -4719,12 +4719,12 @@ function Ae(e10, t, n) {
|
|
|
4719
4719
|
return arguments.length > 1 ? (Rf.set(e10, J9(e10, t, n)), this) : ek(e10) ? Rf.get(e10) : void 0;
|
|
4720
4720
|
}
|
|
4721
4721
|
Ae(W9, IF);
|
|
4722
|
-
Ae(go,
|
|
4722
|
+
Ae(go, g6, at);
|
|
4723
4723
|
Ae(yr, BF, [at, yr]);
|
|
4724
4724
|
Ae(Ll, Py, at);
|
|
4725
4725
|
Ae(Pl, _9, at);
|
|
4726
4726
|
Ae(fh, zF, at);
|
|
4727
|
-
Ae(ta,
|
|
4727
|
+
Ae(ta, o6, [at, Wy]);
|
|
4728
4728
|
Ae(na, O9, [at, Wy]);
|
|
4729
4729
|
Ae(Di, Iy, [at, Un]);
|
|
4730
4730
|
Ae(`${Di}-${go}`, Iy, [at, Un]);
|
|
@@ -5029,46 +5029,46 @@ function vk(e10, t) {
|
|
|
5029
5029
|
}
|
|
5030
5030
|
const hE = {
|
|
5031
5031
|
basis: {
|
|
5032
|
-
curve:
|
|
5032
|
+
curve: Z6
|
|
5033
5033
|
},
|
|
5034
5034
|
"basis-closed": {
|
|
5035
|
-
curve:
|
|
5035
|
+
curve: Q6
|
|
5036
5036
|
},
|
|
5037
5037
|
"basis-open": {
|
|
5038
|
-
curve:
|
|
5038
|
+
curve: J6
|
|
5039
5039
|
},
|
|
5040
5040
|
bundle: {
|
|
5041
|
-
curve:
|
|
5041
|
+
curve: K6,
|
|
5042
5042
|
tension: "beta",
|
|
5043
5043
|
value: 0.85
|
|
5044
5044
|
},
|
|
5045
5045
|
cardinal: {
|
|
5046
|
-
curve:
|
|
5046
|
+
curve: Y6,
|
|
5047
5047
|
tension: "tension",
|
|
5048
5048
|
value: 0
|
|
5049
5049
|
},
|
|
5050
5050
|
"cardinal-open": {
|
|
5051
|
-
curve:
|
|
5051
|
+
curve: X6,
|
|
5052
5052
|
tension: "tension",
|
|
5053
5053
|
value: 0
|
|
5054
5054
|
},
|
|
5055
5055
|
"cardinal-closed": {
|
|
5056
|
-
curve:
|
|
5056
|
+
curve: V6,
|
|
5057
5057
|
tension: "tension",
|
|
5058
5058
|
value: 0
|
|
5059
5059
|
},
|
|
5060
5060
|
"catmull-rom": {
|
|
5061
|
-
curve:
|
|
5061
|
+
curve: H6,
|
|
5062
5062
|
tension: "alpha",
|
|
5063
5063
|
value: 0.5
|
|
5064
5064
|
},
|
|
5065
5065
|
"catmull-rom-closed": {
|
|
5066
|
-
curve:
|
|
5066
|
+
curve: G6,
|
|
5067
5067
|
tension: "alpha",
|
|
5068
5068
|
value: 0.5
|
|
5069
5069
|
},
|
|
5070
5070
|
"catmull-rom-open": {
|
|
5071
|
-
curve:
|
|
5071
|
+
curve: W6,
|
|
5072
5072
|
tension: "alpha",
|
|
5073
5073
|
value: 0.5
|
|
5074
5074
|
},
|
|
@@ -5076,23 +5076,23 @@ const hE = {
|
|
|
5076
5076
|
curve: D$
|
|
5077
5077
|
},
|
|
5078
5078
|
"linear-closed": {
|
|
5079
|
-
curve:
|
|
5079
|
+
curve: q6
|
|
5080
5080
|
},
|
|
5081
5081
|
monotone: {
|
|
5082
|
-
horizontal:
|
|
5083
|
-
vertical:
|
|
5082
|
+
horizontal: j6,
|
|
5083
|
+
vertical: U6
|
|
5084
5084
|
},
|
|
5085
5085
|
natural: {
|
|
5086
|
-
curve:
|
|
5086
|
+
curve: z6
|
|
5087
5087
|
},
|
|
5088
5088
|
step: {
|
|
5089
|
-
curve:
|
|
5089
|
+
curve: B6
|
|
5090
5090
|
},
|
|
5091
5091
|
"step-after": {
|
|
5092
|
-
curve:
|
|
5092
|
+
curve: I6
|
|
5093
5093
|
},
|
|
5094
5094
|
"step-before": {
|
|
5095
|
-
curve:
|
|
5095
|
+
curve: P6
|
|
5096
5096
|
}
|
|
5097
5097
|
};
|
|
5098
5098
|
function Qy(e10, t, n) {
|
|
@@ -5462,7 +5462,7 @@ function Ak() {
|
|
|
5462
5462
|
function zl(e10, t) {
|
|
5463
5463
|
return e10 ?? t;
|
|
5464
5464
|
}
|
|
5465
|
-
const Ul = (e10) => e10.x || 0, jl = (e10) => e10.y || 0, M4 = (e10) => e10.width || 0, T4 = (e10) => e10.height || 0, N4 = (e10) => (e10.x || 0) + (e10.width || 0), L4 = (e10) => (e10.y || 0) + (e10.height || 0), P4 = (e10) => e10.startAngle || 0, I4 = (e10) => e10.endAngle || 0, B4 = (e10) => e10.padAngle || 0, z4 = (e10) => e10.innerRadius || 0, U4 = (e10) => e10.outerRadius || 0, j4 = (e10) => e10.cornerRadius || 0, q4 = (e10) => zl(e10.cornerRadiusTopLeft, e10.cornerRadius) || 0, W4 = (e10) => zl(e10.cornerRadiusTopRight, e10.cornerRadius) || 0, G4 = (e10) => zl(e10.cornerRadiusBottomRight, e10.cornerRadius) || 0, H4 = (e10) => zl(e10.cornerRadiusBottomLeft, e10.cornerRadius) || 0, V4 = (e10) => zl(e10.size, 64), X4 = (e10) => e10.size || 1, gh = (e10) => e10.defined !== false, Y4 = (e10) => xk(e10.shape || "circle"), K4 =
|
|
5465
|
+
const Ul = (e10) => e10.x || 0, jl = (e10) => e10.y || 0, M4 = (e10) => e10.width || 0, T4 = (e10) => e10.height || 0, N4 = (e10) => (e10.x || 0) + (e10.width || 0), L4 = (e10) => (e10.y || 0) + (e10.height || 0), P4 = (e10) => e10.startAngle || 0, I4 = (e10) => e10.endAngle || 0, B4 = (e10) => e10.padAngle || 0, z4 = (e10) => e10.innerRadius || 0, U4 = (e10) => e10.outerRadius || 0, j4 = (e10) => e10.cornerRadius || 0, q4 = (e10) => zl(e10.cornerRadiusTopLeft, e10.cornerRadius) || 0, W4 = (e10) => zl(e10.cornerRadiusTopRight, e10.cornerRadius) || 0, G4 = (e10) => zl(e10.cornerRadiusBottomRight, e10.cornerRadius) || 0, H4 = (e10) => zl(e10.cornerRadiusBottomLeft, e10.cornerRadius) || 0, V4 = (e10) => zl(e10.size, 64), X4 = (e10) => e10.size || 1, gh = (e10) => e10.defined !== false, Y4 = (e10) => xk(e10.shape || "circle"), K4 = sN().startAngle(P4).endAngle(I4).padAngle(B4).innerRadius(z4).outerRadius(U4).cornerRadius(j4), J4 = TF().x(Ul).y1(jl).y0(L4).defined(gh), Q4 = TF().y(jl).x1(Ul).x0(N4).defined(gh), Z4 = _$().x(Ul).y(jl).defined(gh), e7 = Ek().x(Ul).y(jl).width(M4).height(T4).cornerRadius(q4, W4, G4, H4), t7 = o9().type(Y4).size(V4), n7 = Ak().x(Ul).y(jl).defined(gh).size(X4);
|
|
5466
5466
|
function Zy(e10) {
|
|
5467
5467
|
return e10.cornerRadius || e10.cornerRadiusTopLeft || e10.cornerRadiusTopRight || e10.cornerRadiusBottomRight || e10.cornerRadiusBottomLeft;
|
|
5468
5468
|
}
|
|
@@ -8624,7 +8624,7 @@ function KP(e10, t, n) {
|
|
|
8624
8624
|
const l = u > r[o] ? o + 1 : u < r[0] ? 0 : o;
|
|
8625
8625
|
l !== o && n.warn("Scale domainMid exceeds domain min or max.", u), r.splice(l, 0, u);
|
|
8626
8626
|
}
|
|
8627
|
-
return WD(s) && t.padding && r[0] !== De(r) && (r = QP(s, r, t.range, t.padding, t.exponent, t.constant)), e10.domain(HD(s, r, n)), s === jy && e10.unknown(t.domainImplicit ?
|
|
8627
|
+
return WD(s) && t.padding && r[0] !== De(r) && (r = QP(s, r, t.range, t.padding, t.exponent, t.constant)), e10.domain(HD(s, r, n)), s === jy && e10.unknown(t.domainImplicit ? rN : void 0), t.nice && e10.nice && e10.nice(t.nice !== true && Yy(e10, t.nice) || null), r.length;
|
|
8628
8628
|
}
|
|
8629
8629
|
function JP(e10, t, n) {
|
|
8630
8630
|
return t ? (e10.domain(HD(e10.type, t, n)), t.length) : -1;
|
|
@@ -11373,9 +11373,9 @@ function pz(e10) {
|
|
|
11373
11373
|
}, d;
|
|
11374
11374
|
}
|
|
11375
11375
|
function gz(e10, t, n) {
|
|
11376
|
-
var i = new
|
|
11376
|
+
var i = new eN(), r = t;
|
|
11377
11377
|
return t == null ? (i.restart(e10, t, n), i) : (i._restart = i.restart, i.restart = function(s, a, o) {
|
|
11378
|
-
a = +a, o = o == null ?
|
|
11378
|
+
a = +a, o = o == null ? tN() : +o, i._restart(function u(l) {
|
|
11379
11379
|
l += r, i._restart(u, r += a, o), s(l);
|
|
11380
11380
|
}, a, o);
|
|
11381
11381
|
}, i.restart(e10, t, n), i);
|
|
@@ -11393,7 +11393,7 @@ function xz(e10) {
|
|
|
11393
11393
|
}
|
|
11394
11394
|
var Ez = 10, Az = Math.PI * (3 - Math.sqrt(5));
|
|
11395
11395
|
function wz(e10) {
|
|
11396
|
-
var t, n = 1, i = 1e-3, r = 1 - Math.pow(i, 1 / 300), s = 0, a = 0.6, o = /* @__PURE__ */ new Map(), u =
|
|
11396
|
+
var t, n = 1, i = 1e-3, r = 1 - Math.pow(i, 1 / 300), s = 0, a = 0.6, o = /* @__PURE__ */ new Map(), u = nN(f), l = iN("tick", "end"), c = vz();
|
|
11397
11397
|
e10 == null && (e10 = []);
|
|
11398
11398
|
function f() {
|
|
11399
11399
|
d(), l.call("tick", t), n < i && (u.stop(), l.call("end", t));
|
|
@@ -11957,7 +11957,7 @@ function Zz() {
|
|
|
11957
11957
|
}, r.size = function(s) {
|
|
11958
11958
|
return arguments.length ? (t = +s[0], n = +s[1], r) : [t, n];
|
|
11959
11959
|
}, r.padding = function(s) {
|
|
11960
|
-
return arguments.length ? (i = typeof s == "function" ? s :
|
|
11960
|
+
return arguments.length ? (i = typeof s == "function" ? s : aN(+s), r) : i;
|
|
11961
11961
|
}, r;
|
|
11962
11962
|
}
|
|
11963
11963
|
function RA(e10) {
|
|
@@ -11985,7 +11985,7 @@ function eU() {
|
|
|
11985
11985
|
var e10 = 1, t = 1, n = 0, i = false;
|
|
11986
11986
|
function r(a) {
|
|
11987
11987
|
var o = a.height + 1;
|
|
11988
|
-
return a.x0 = a.y0 = n, a.x1 = e10, a.y1 = t / o, a.eachBefore(s(t, o)), i && a.eachBefore(
|
|
11988
|
+
return a.x0 = a.y0 = n, a.x1 = e10, a.y1 = t / o, a.eachBefore(s(t, o)), i && a.eachBefore(oN), a;
|
|
11989
11989
|
}
|
|
11990
11990
|
function s(a, o) {
|
|
11991
11991
|
return function(u) {
|
|
@@ -12039,7 +12039,7 @@ function NA() {
|
|
|
12039
12039
|
}
|
|
12040
12040
|
if (f.parent = tU, f.eachBefore(function(y) {
|
|
12041
12041
|
y.depth = y.parent.depth + 1, --u;
|
|
12042
|
-
}).eachBefore(
|
|
12042
|
+
}).eachBefore(uN), f.parent = null, u > 0) throw new Error("cycle");
|
|
12043
12043
|
return f;
|
|
12044
12044
|
}
|
|
12045
12045
|
return i.id = function(r) {
|
|
@@ -12187,12 +12187,12 @@ const hU = function e2(t) {
|
|
|
12187
12187
|
l.dice ? Kd(l, r, s, a, g ? s += (o - s) * l.value / g : o) : B1(l, r, s, g ? r += (a - r) * l.value / g : a, o), g -= l.value;
|
|
12188
12188
|
}
|
|
12189
12189
|
else
|
|
12190
|
-
i._squarify = u =
|
|
12190
|
+
i._squarify = u = lN(t, i, r, s, a, o), u.ratio = t;
|
|
12191
12191
|
}
|
|
12192
12192
|
return n.ratio = function(i) {
|
|
12193
12193
|
return e2((i = +i) > 1 ? i : 1);
|
|
12194
12194
|
}, n;
|
|
12195
|
-
}(
|
|
12195
|
+
}(cN);
|
|
12196
12196
|
function ym(e10, t, n) {
|
|
12197
12197
|
const i = {};
|
|
12198
12198
|
return e10.each((r) => {
|
|
@@ -12225,7 +12225,7 @@ H(nb, O, {
|
|
|
12225
12225
|
var n = e10.generate, i = e10.modified(), r = t.clone(), s = this.value;
|
|
12226
12226
|
return (!s || i || t.changed()) && (s && s.each((a) => {
|
|
12227
12227
|
a.children && Qd(a.data) && r.rem.push(a.data);
|
|
12228
|
-
}), this.value = s =
|
|
12228
|
+
}), this.value = s = fN({
|
|
12229
12229
|
values: K(e10.keys).reduce((a, o) => (a.key(o), a), gU()).entries(r.source)
|
|
12230
12230
|
}, pU), n && s.each((a) => {
|
|
12231
12231
|
a.children && (a = we(a.data), r.add.push(a), r.source.push(a));
|
|
@@ -12486,7 +12486,7 @@ const IA = {
|
|
|
12486
12486
|
dice: Kd,
|
|
12487
12487
|
slice: B1,
|
|
12488
12488
|
slicedice: dU,
|
|
12489
|
-
squarify:
|
|
12489
|
+
squarify: hN,
|
|
12490
12490
|
resquarify: hU
|
|
12491
12491
|
}, Em = ["x0", "y0", "x1", "y1", "depth", "children"];
|
|
12492
12492
|
function ub(e10) {
|
|
@@ -12564,7 +12564,7 @@ H(ub, wr, {
|
|
|
12564
12564
|
* to configure the underlying tile method.
|
|
12565
12565
|
*/
|
|
12566
12566
|
layout() {
|
|
12567
|
-
const e10 =
|
|
12567
|
+
const e10 = dN();
|
|
12568
12568
|
return e10.ratio = (t) => {
|
|
12569
12569
|
const n = e10.tile();
|
|
12570
12570
|
n.ratio && e10.tile(n.ratio(t));
|
|
@@ -14176,7 +14176,7 @@ function HA() {
|
|
|
14176
14176
|
}
|
|
14177
14177
|
function a(o, u) {
|
|
14178
14178
|
let l;
|
|
14179
|
-
return u ? l = u.length : (u = t, l = n), [
|
|
14179
|
+
return u ? l = u.length : (u = t, l = n), [y6(u, o[0], 0, l), ea(u, o[1], 0, l)];
|
|
14180
14180
|
}
|
|
14181
14181
|
return {
|
|
14182
14182
|
insert: i,
|
|
@@ -14191,7 +14191,7 @@ function Fj(e10, t) {
|
|
|
14191
14191
|
return e10.sort.call(t, (n, i) => {
|
|
14192
14192
|
const r = e10[n], s = e10[i];
|
|
14193
14193
|
return r < s ? -1 : r > s ? 1 : 0;
|
|
14194
|
-
}),
|
|
14194
|
+
}), yN(e10, t);
|
|
14195
14195
|
}
|
|
14196
14196
|
function kj(e10, t, n, i, r, s, a, o, u) {
|
|
14197
14197
|
let l = 0, c = 0, f;
|
|
@@ -15313,8 +15313,8 @@ function nW(e10, t, n, i) {
|
|
|
15313
15313
|
return a;
|
|
15314
15314
|
}
|
|
15315
15315
|
var $g = {
|
|
15316
|
-
[`${wi}_union`]:
|
|
15317
|
-
[`${wi}_intersect`]:
|
|
15316
|
+
[`${wi}_union`]: wN,
|
|
15317
|
+
[`${wi}_intersect`]: EN,
|
|
15318
15318
|
E_union: function(e10, t) {
|
|
15319
15319
|
if (!e10.length) return t;
|
|
15320
15320
|
for (var n = 0, i = t.length; n < i; ++n) e10.includes(t[n]) || e10.push(t[n]);
|
|
@@ -15727,7 +15727,7 @@ const ml = {
|
|
|
15727
15727
|
truncate: b$,
|
|
15728
15728
|
rgb: Df,
|
|
15729
15729
|
lab: w0,
|
|
15730
|
-
hcl:
|
|
15730
|
+
hcl: u6,
|
|
15731
15731
|
hsl: S0,
|
|
15732
15732
|
luminance: km,
|
|
15733
15733
|
contrast: kW,
|
|
@@ -35605,7 +35605,7 @@ function x0(e10, t) {
|
|
|
35605
35605
|
}
|
|
35606
35606
|
}), n.length > 0;
|
|
35607
35607
|
}
|
|
35608
|
-
var Soe =
|
|
35608
|
+
var Soe = pN();
|
|
35609
35609
|
const Coe = /* @__PURE__ */ QT(Soe);
|
|
35610
35610
|
function $oe(e10, t) {
|
|
35611
35611
|
if (e10 === t) return false;
|