@marimo-team/islands 0.14.11-dev7 → 0.14.11-dev72
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-VTfcqOZN.js → ConnectedDataExplorerComponent-CDia3Uq3.js} +4 -4
- package/dist/{ImageComparisonComponent-b5udtUaG.js → ImageComparisonComponent-D8GDn93y.js} +1 -1
- package/dist/{VegaLite-CZ2MktvJ.js → VegaLite-B0DAcE_0.js} +6799 -7018
- package/dist/{_baseUniq-Dxs4JH0Y.js → _baseUniq-C0VlTHW8.js} +48 -48
- package/dist/{any-language-editor-CPmAtELv.js → any-language-editor-DPcbYqjc.js} +1 -1
- package/dist/{architectureDiagram-IEHRJDOE-CP88TKjC.js → architectureDiagram-NQ2NVSRB-C2Ajtpmz.js} +897 -894
- package/dist/assets/{save-worker-BIDtxCd1.js → save-worker-fI5ofStJ.js} +1040 -1405
- package/dist/assets/worker-BLUAwPAO.js +3790 -0
- package/dist/assets/worker-BldghCZh.js +3752 -0
- package/dist/{blockDiagram-JOT3LUYC-C2rusulX.js → blockDiagram-PHRCVELO-xrhIbibO.js} +534 -522
- package/dist/{c4Diagram-VJAJSXHY-CE4R-Yj-.js → c4Diagram-6F6E4RAY-B9M8UZ5C.js} +4 -4
- package/dist/{channel-BTOPiHD4.js → channel-D3Z57-L0.js} +1 -1
- package/dist/{chunk-4BMEZGHF-BGr1mHPI.js → chunk-353BL4L5-B8RJflA2.js} +1 -1
- package/dist/{chunk-D6G4REZN-B3t5XG_V.js → chunk-67H74DCK-DjF3P_6n.js} +1 -1
- package/dist/chunk-6OLS64BW-DwBPGTBy.js +1383 -0
- package/dist/{chunk-XZIHB7SX-Bb6YfyvK.js → chunk-AACKK3MU-BNqFtiBq.js} +1 -1
- package/dist/chunk-BFAMUDN2-C7-45IWl.js +8 -0
- package/dist/chunk-E2GYISFI-D6ZMZ5f1.js +19 -0
- package/dist/{chunk-A2AXSNBT-BNYLnU9D.js → chunk-QEP2MXWD-ThQxWRcu.js} +30 -27
- package/dist/chunk-SKB7J2MH-DSRt4RR9.js +20 -0
- package/dist/{classDiagram-GIVACNV2-BGu4avYg.js → classDiagram-BGRH5UQR-Dhwtv8yj.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-BGu4avYg.js → classDiagram-v2-O24JOBDK-Dhwtv8yj.js} +2 -2
- package/dist/{clone-gdQZ-8A5.js → clone-CdbI6pj6.js} +1 -1
- package/dist/{dagre-OKDRZEBW-B4FgIhBO.js → dagre-FFZHY6LT-D2JmeFTB.js} +8 -8
- package/dist/data-grid-overlay-editor-CKgEMxxc.js +105 -0
- package/dist/diagram-3EMPZRKU-JHPbiJCi.js +313 -0
- package/dist/diagram-5UYTHUR4-eEJi5-6t.js +137 -0
- package/dist/{diagram-SSKATNLV-DYldQ1nJ.js → diagram-ZTM2IBQH-D88l5hnm.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-Bn1YCXnZ.js → erDiagram-R3QVA2FD-BGlTaWTV.js} +6 -5
- package/dist/{flowDiagram-4HSFHLVR-Cv6sE3SQ.js → flowDiagram-PKI6S5ZS-CQVcnZSd.js} +283 -278
- package/dist/{ganttDiagram-APWFNJXF-CCEsgCwo.js → ganttDiagram-EK5VF46D-CkFx0RaP.js} +459 -445
- package/dist/{gitGraphDiagram-7IBYFJ6S-CXgtNvZc.js → gitGraphDiagram-GW3U2K7C-D-gRVxCj.js} +35 -35
- package/dist/glide-data-editor-BLSOKrmw.js +12893 -0
- package/dist/{graph-N78OoukA.js → graph-Dz3qJaaG.js} +3 -3
- package/dist/{index-DLWDWxiI.js → index-Bxfs9Hk_.js} +6 -3
- package/dist/{index-s-KrzpFz.js → index-CDGjWl9n.js} +4 -4
- package/dist/{index-B6r1oHeS.js → index-CaY3iMRr.js} +1 -1
- package/dist/{index-BTWM953l.js → index-DwK5Y7p2.js} +3 -3
- package/dist/index-pBmAzQJl.js +235 -0
- package/dist/{infoDiagram-PH2N3AL5-DqyXVVcE.js → infoDiagram-RLU2ROGC-DtDTKm7d.js} +5 -3
- package/dist/journeyDiagram-EWQZEKCU-Bf6s-6jc.js +836 -0
- package/dist/{kanban-definition-NDS4AKOZ-CwEmTRTQ.js → kanban-definition-ILFWEQ3N-DAtyajgG.js} +41 -39
- package/dist/{layout-ClDNXAo5.js → layout-C2EoBYrV.js} +35 -35
- package/dist/{linear-lyO559qg.js → linear-D6CkH6Kj.js} +25 -25
- package/dist/{main-DGt3HrKs.js → main-ZWGPaFnn.js} +55759 -55421
- package/dist/main.js +2 -2
- package/dist/{mermaid-q6_P6X8T.js → mermaid-CzkcAUDB.js} +4925 -4853
- package/dist/{min-ByCW12IZ.js → min-Bo5Qh008.js} +24 -24
- package/dist/{mindmap-definition-ALO5MXBD-ixE8jD_p.js → mindmap-definition-CZNETY7S-CqwLUoQ1.js} +3 -3
- package/dist/number-overlay-editor-mhiEvTMk.js +599 -0
- package/dist/{pieDiagram-IB7DONF6-CmGcPA5S.js → pieDiagram-NIOCPIFQ-BVoanLni.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-BcuouniC.js → quadrantDiagram-2OG54O6I-C_U4EVXZ.js} +2 -2
- package/dist/{react-plotly-CKjey4TC.js → react-plotly-DY4XU5-Q.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-CpADntW_.js → requirementDiagram-SO3GGRV7-B_IuYu5S.js} +5 -4
- package/dist/{sankeyDiagram-QLVOVGJD-RiHM-gc1.js → sankeyDiagram-4UZDY2LN-DHDmWj2L.js} +11 -11
- package/dist/{sequenceDiagram-X6HHIX6F-zjDlErjG.js → sequenceDiagram-ZIKVLSP4-B0FsKMNg.js} +151 -149
- package/dist/{slides-component-D-T7V3Um.js → slides-component-CQ1m__jq.js} +969 -962
- package/dist/stateDiagram-XX37X6EN-CVOR_WQQ.js +264 -0
- package/dist/{stateDiagram-v2-YXO3MK2T-hmq0VkWg.js → stateDiagram-v2-GD6S3NHB-BDaP6oYI.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-CySBB51c.js → time-95e914-x.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-BFWD7bgu.js → timeline-definition-RI47OAVP-Bc7rrp3P.js} +99 -102
- package/dist/{radar-MK3ICKWK-DD-wL37j.js → treemap-FKARHQ26-DFP3Gxy8.js} +2469 -2330
- package/dist/{vega-component-D8e5IG1f.js → vega-component-C6HtQfwj.js} +19 -19
- package/dist/{xychartDiagram-VJFVF3MP-BO6y-mli.js → xychartDiagram-H2YORKM3-sWRpcEy4.js} +409 -375
- package/package.json +45 -44
- package/dist/assets/worker-BcyuOSTi.js +0 -4117
- package/dist/assets/worker-Dz6PPEGc.js +0 -4115
- package/dist/chunk-AEK57VVT-BjKsSzf4.js +0 -1416
- package/dist/chunk-RZ5BOZE2-BQRA6_lz.js +0 -24
- package/dist/data-editor-LPDyjTPa.js +0 -32933
- package/dist/diagram-VNBRO52H-BtnkOAZg.js +0 -126
- package/dist/journeyDiagram-U35MCT3I-7reCe8rl.js +0 -809
- package/dist/stateDiagram-DGXRK772-DwIrysh_.js +0 -271
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-
|
|
3
|
-
import {
|
|
1
|
+
import { y as N, z as j, A as v, B as f, D as b, F as _ } from "./main-ZWGPaFnn.js";
|
|
2
|
+
import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-C0VlTHW8.js";
|
|
3
|
+
import { ad as E } from "./mermaid-CzkcAUDB.js";
|
|
4
4
|
var w = N(function(o) {
|
|
5
5
|
return P(j(o, 1, v, true));
|
|
6
6
|
}), F = "\0", a = "\0", O = "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as me } from "./main-ZWGPaFnn.js";
|
|
2
2
|
const d = (s) => s.flatMap(Oe), Oe = (s) => G(fe(s)).map(Le), Le = (s) => s.replace(/ +/g, " ").trim(), fe = (s) => ({
|
|
3
3
|
type: "mandatory_block",
|
|
4
4
|
items: q(s, 0)[0]
|
|
@@ -737,7 +737,7 @@ const de = (s) => s === n.RESERVED_DATA_TYPE || s === n.RESERVED_KEYWORD || s ==
|
|
|
737
737
|
// Keywords that also need to be listed as functions
|
|
738
738
|
"CAST",
|
|
739
739
|
"COALESCE",
|
|
740
|
-
|
|
740
|
+
// 'NULL', we really prefer treating it as keyword
|
|
741
741
|
"RANK",
|
|
742
742
|
"ROW_NUMBER"
|
|
743
743
|
], $e = [
|
|
@@ -785,6 +785,7 @@ const de = (s) => s === n.RESERVED_DATA_TYPE || s === n.RESERVED_KEYWORD || s ==
|
|
|
785
785
|
"INITIALLY",
|
|
786
786
|
"INTERSECT",
|
|
787
787
|
"INTO",
|
|
788
|
+
"IS",
|
|
788
789
|
"LATERAL",
|
|
789
790
|
"LEADING",
|
|
790
791
|
"LIMIT",
|
|
@@ -1064,8 +1065,10 @@ const de = (s) => s === n.RESERVED_DATA_TYPE || s === n.RESERVED_KEYWORD || s ==
|
|
|
1064
1065
|
"::",
|
|
1065
1066
|
// Comparison:
|
|
1066
1067
|
"==",
|
|
1067
|
-
// Lambda:
|
|
1068
|
+
// Lambda & JSON:
|
|
1068
1069
|
"->",
|
|
1070
|
+
// JSON:
|
|
1071
|
+
"->>",
|
|
1069
1072
|
// key-value separator:
|
|
1070
1073
|
":",
|
|
1071
1074
|
// Named function params:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { d as C, e as i, s as
|
|
4
|
+
import { d as C, e as i, s as w, h as Z, t as P, i as _, m as L, p as B, q as M, u as v, w as E } from "./main-ZWGPaFnn.js";
|
|
5
5
|
const f = 63, q = 64, j = 1, A = 2, U = 3, H = 4, W = 5, N = 6, u = 7, y = 65, I = 66, F = 8, K = 9, J = 10, OO = 11, eO = 12, Y = 13, aO = 19, rO = 20, QO = 29, PO = 33, tO = 34, oO = 47, nO = 0, $ = 1, b = 2, d = 3, g = 4;
|
|
6
6
|
const _s = class _s {
|
|
7
7
|
constructor(e, a, r) {
|
|
@@ -28,7 +28,7 @@ function z(O) {
|
|
|
28
28
|
function l(O) {
|
|
29
29
|
return O < 0 || z(O);
|
|
30
30
|
}
|
|
31
|
-
const sO = new
|
|
31
|
+
const sO = new Z({
|
|
32
32
|
start: s.top,
|
|
33
33
|
reduce(O, e) {
|
|
34
34
|
return O.type == d && (e == rO || e == tO) ? O.parent : O;
|
|
@@ -235,7 +235,7 @@ const RO = new i((O, e) => {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
O.acceptTokenTo(Y, r);
|
|
238
|
-
}), iO =
|
|
238
|
+
}), iO = w({
|
|
239
239
|
DirectiveName: P.keyword,
|
|
240
240
|
DirectiveContent: P.attributeValue,
|
|
241
241
|
"DirectiveEnd DocEnd": P.meta,
|
|
@@ -271,7 +271,7 @@ const RO = new i((O, e) => {
|
|
|
271
271
|
tokenizers: [lO, fO, RO, SO, 0, 1],
|
|
272
272
|
topRules: { Stream: [0, 15] },
|
|
273
273
|
tokenPrec: 0
|
|
274
|
-
}), bO = /* @__PURE__ */
|
|
274
|
+
}), bO = /* @__PURE__ */ _.define({
|
|
275
275
|
name: "yaml",
|
|
276
276
|
parser: /* @__PURE__ */ kO.configure({
|
|
277
277
|
props: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as s, e as R,
|
|
1
|
+
import { d as s, e as R, g as Y, s as x, h as w, t as O, i as d, k as X, m as k, n as h, o as f, p as u, q as y, r as l, u as g, v as j, w as U, x as G, N as b, I as Z } from "./main-ZWGPaFnn.js";
|
|
2
2
|
const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
|
|
3
3
|
for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
|
|
4
4
|
a = Q.peek(++n);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { V as s } from "./VegaLite-
|
|
2
|
-
import { a as g } from "./VegaLite-
|
|
3
|
-
import { b as o } from "./main-
|
|
1
|
+
import { V as s } from "./VegaLite-B0DAcE_0.js";
|
|
2
|
+
import { a as g } from "./VegaLite-B0DAcE_0.js";
|
|
3
|
+
import { b as o } from "./main-ZWGPaFnn.js";
|
|
4
4
|
function a() {
|
|
5
5
|
return a = Object.assign || function(e) {
|
|
6
6
|
for (var r = 1; r < arguments.length; r++) {
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
function x(n2) {
|
|
2
|
+
var e = 0, i = n2.children, r = i && i.length;
|
|
3
|
+
if (!r) e = 1;
|
|
4
|
+
else for (; --r >= 0; ) e += i[r].value;
|
|
5
|
+
n2.value = e;
|
|
6
|
+
}
|
|
7
|
+
function I() {
|
|
8
|
+
return this.eachAfter(x);
|
|
9
|
+
}
|
|
10
|
+
function S(n2, e) {
|
|
11
|
+
let i = -1;
|
|
12
|
+
for (const r of this)
|
|
13
|
+
n2.call(e, r, ++i, this);
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
function T(n2, e) {
|
|
17
|
+
for (var i = this, r = [i], a, o, u = -1; i = r.pop(); )
|
|
18
|
+
if (n2.call(e, i, ++u, this), a = i.children)
|
|
19
|
+
for (o = a.length - 1; o >= 0; --o)
|
|
20
|
+
r.push(a[o]);
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
function V(n2, e) {
|
|
24
|
+
for (var i = this, r = [i], a = [], o, u, c, s = -1; i = r.pop(); )
|
|
25
|
+
if (a.push(i), o = i.children)
|
|
26
|
+
for (u = 0, c = o.length; u < c; ++u)
|
|
27
|
+
r.push(o[u]);
|
|
28
|
+
for (; i = a.pop(); )
|
|
29
|
+
n2.call(e, i, ++s, this);
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
function C(n2, e) {
|
|
33
|
+
let i = -1;
|
|
34
|
+
for (const r of this)
|
|
35
|
+
if (n2.call(e, r, ++i, this))
|
|
36
|
+
return r;
|
|
37
|
+
}
|
|
38
|
+
function L(n2) {
|
|
39
|
+
return this.eachAfter(function(e) {
|
|
40
|
+
for (var i = +n2(e.data) || 0, r = e.children, a = r && r.length; --a >= 0; ) i += r[a].value;
|
|
41
|
+
e.value = i;
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function b(n2) {
|
|
45
|
+
return this.eachBefore(function(e) {
|
|
46
|
+
e.children && e.children.sort(n2);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function D(n2) {
|
|
50
|
+
for (var e = this, i = O(e, n2), r = [e]; e !== i; )
|
|
51
|
+
e = e.parent, r.push(e);
|
|
52
|
+
for (var a = r.length; n2 !== i; )
|
|
53
|
+
r.splice(a, 0, n2), n2 = n2.parent;
|
|
54
|
+
return r;
|
|
55
|
+
}
|
|
56
|
+
function O(n2, e) {
|
|
57
|
+
if (n2 === e) return n2;
|
|
58
|
+
var i = n2.ancestors(), r = e.ancestors(), a = null;
|
|
59
|
+
for (n2 = i.pop(), e = r.pop(); n2 === e; )
|
|
60
|
+
a = n2, n2 = i.pop(), e = r.pop();
|
|
61
|
+
return a;
|
|
62
|
+
}
|
|
63
|
+
function j() {
|
|
64
|
+
for (var n2 = this, e = [n2]; n2 = n2.parent; )
|
|
65
|
+
e.push(n2);
|
|
66
|
+
return e;
|
|
67
|
+
}
|
|
68
|
+
function z() {
|
|
69
|
+
return Array.from(this);
|
|
70
|
+
}
|
|
71
|
+
function E() {
|
|
72
|
+
var n2 = [];
|
|
73
|
+
return this.eachBefore(function(e) {
|
|
74
|
+
e.children || n2.push(e);
|
|
75
|
+
}), n2;
|
|
76
|
+
}
|
|
77
|
+
function H() {
|
|
78
|
+
var n2 = this, e = [];
|
|
79
|
+
return n2.each(function(i) {
|
|
80
|
+
i !== n2 && e.push({ source: i.parent, target: i });
|
|
81
|
+
}), e;
|
|
82
|
+
}
|
|
83
|
+
function* Z() {
|
|
84
|
+
var n2 = this, e, i = [n2], r, a, o;
|
|
85
|
+
do
|
|
86
|
+
for (e = i.reverse(), i = []; n2 = e.pop(); )
|
|
87
|
+
if (yield n2, r = n2.children)
|
|
88
|
+
for (a = 0, o = r.length; a < o; ++a)
|
|
89
|
+
i.push(r[a]);
|
|
90
|
+
while (i.length);
|
|
91
|
+
}
|
|
92
|
+
function R(n2, e) {
|
|
93
|
+
n2 instanceof Map ? (n2 = [void 0, n2], e === void 0 && (e = J)) : e === void 0 && (e = G);
|
|
94
|
+
for (var i = new A(n2), r, a = [i], o, u, c, s; r = a.pop(); )
|
|
95
|
+
if ((u = e(r.data)) && (s = (u = Array.from(u)).length))
|
|
96
|
+
for (r.children = u, c = s - 1; c >= 0; --c)
|
|
97
|
+
a.push(o = u[c] = new A(u[c])), o.parent = r, o.depth = r.depth + 1;
|
|
98
|
+
return i.eachBefore(P);
|
|
99
|
+
}
|
|
100
|
+
function F() {
|
|
101
|
+
return R(this).eachBefore(K);
|
|
102
|
+
}
|
|
103
|
+
function G(n2) {
|
|
104
|
+
return n2.children;
|
|
105
|
+
}
|
|
106
|
+
function J(n2) {
|
|
107
|
+
return Array.isArray(n2) ? n2[1] : null;
|
|
108
|
+
}
|
|
109
|
+
function K(n2) {
|
|
110
|
+
n2.data.value !== void 0 && (n2.value = n2.data.value), n2.data = n2.data.data;
|
|
111
|
+
}
|
|
112
|
+
function P(n2) {
|
|
113
|
+
var e = 0;
|
|
114
|
+
do
|
|
115
|
+
n2.height = e;
|
|
116
|
+
while ((n2 = n2.parent) && n2.height < ++e);
|
|
117
|
+
}
|
|
118
|
+
function A(n2) {
|
|
119
|
+
this.data = n2, this.depth = this.height = 0, this.parent = null;
|
|
120
|
+
}
|
|
121
|
+
A.prototype = R.prototype = {
|
|
122
|
+
constructor: A,
|
|
123
|
+
count: I,
|
|
124
|
+
each: S,
|
|
125
|
+
eachAfter: V,
|
|
126
|
+
eachBefore: T,
|
|
127
|
+
find: C,
|
|
128
|
+
sum: L,
|
|
129
|
+
sort: b,
|
|
130
|
+
path: D,
|
|
131
|
+
ancestors: j,
|
|
132
|
+
descendants: z,
|
|
133
|
+
leaves: E,
|
|
134
|
+
links: H,
|
|
135
|
+
copy: F,
|
|
136
|
+
[Symbol.iterator]: Z
|
|
137
|
+
};
|
|
138
|
+
function nn(n2) {
|
|
139
|
+
return n2 == null ? null : q(n2);
|
|
140
|
+
}
|
|
141
|
+
function q(n2) {
|
|
142
|
+
if (typeof n2 != "function") throw new Error();
|
|
143
|
+
return n2;
|
|
144
|
+
}
|
|
145
|
+
function _() {
|
|
146
|
+
return 0;
|
|
147
|
+
}
|
|
148
|
+
function B(n2) {
|
|
149
|
+
return function() {
|
|
150
|
+
return n2;
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function Q(n2) {
|
|
154
|
+
n2.x0 = Math.round(n2.x0), n2.y0 = Math.round(n2.y0), n2.x1 = Math.round(n2.x1), n2.y1 = Math.round(n2.y1);
|
|
155
|
+
}
|
|
156
|
+
function U(n2, e, i, r, a) {
|
|
157
|
+
for (var o = n2.children, u, c = -1, s = o.length, v = n2.value && (r - e) / n2.value; ++c < s; )
|
|
158
|
+
u = o[c], u.y0 = i, u.y1 = a, u.x0 = e, u.x1 = e += u.value * v;
|
|
159
|
+
}
|
|
160
|
+
function W(n2, e, i, r, a) {
|
|
161
|
+
for (var o = n2.children, u, c = -1, s = o.length, v = n2.value && (a - i) / n2.value; ++c < s; )
|
|
162
|
+
u = o[c], u.x0 = e, u.x1 = r, u.y0 = i, u.y1 = i += u.value * v;
|
|
163
|
+
}
|
|
164
|
+
var X = (1 + Math.sqrt(5)) / 2;
|
|
165
|
+
function Y(n2, e, i, r, a, o) {
|
|
166
|
+
for (var u = [], c = e.children, s, v, h = 0, m = 0, t = c.length, d, p, l = e.value, f, g, w, M, k, N, y; h < t; ) {
|
|
167
|
+
d = a - i, p = o - r;
|
|
168
|
+
do
|
|
169
|
+
f = c[m++].value;
|
|
170
|
+
while (!f && m < t);
|
|
171
|
+
for (g = w = f, N = Math.max(p / d, d / p) / (l * n2), y = f * f * N, k = Math.max(w / y, y / g); m < t; ++m) {
|
|
172
|
+
if (f += v = c[m].value, v < g && (g = v), v > w && (w = v), y = f * f * N, M = Math.max(w / y, y / g), M > k) {
|
|
173
|
+
f -= v;
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
k = M;
|
|
177
|
+
}
|
|
178
|
+
u.push(s = { value: f, dice: d < p, children: c.slice(h, m) }), s.dice ? U(s, i, r, a, l ? r += p * f / l : o) : W(s, i, r, l ? i += d * f / l : a, o), l -= f, h = m;
|
|
179
|
+
}
|
|
180
|
+
return u;
|
|
181
|
+
}
|
|
182
|
+
const $ = function n(e) {
|
|
183
|
+
function i(r, a, o, u, c) {
|
|
184
|
+
Y(e, r, a, o, u, c);
|
|
185
|
+
}
|
|
186
|
+
return i.ratio = function(r) {
|
|
187
|
+
return n((r = +r) > 1 ? r : 1);
|
|
188
|
+
}, i;
|
|
189
|
+
}(X);
|
|
190
|
+
function en() {
|
|
191
|
+
var n2 = $, e = false, i = 1, r = 1, a = [0], o = _, u = _, c = _, s = _, v = _;
|
|
192
|
+
function h(t) {
|
|
193
|
+
return t.x0 = t.y0 = 0, t.x1 = i, t.y1 = r, t.eachBefore(m), a = [0], e && t.eachBefore(Q), t;
|
|
194
|
+
}
|
|
195
|
+
function m(t) {
|
|
196
|
+
var d = a[t.depth], p = t.x0 + d, l = t.y0 + d, f = t.x1 - d, g = t.y1 - d;
|
|
197
|
+
f < p && (p = f = (p + f) / 2), g < l && (l = g = (l + g) / 2), t.x0 = p, t.y0 = l, t.x1 = f, t.y1 = g, t.children && (d = a[t.depth + 1] = o(t) / 2, p += v(t) - d, l += u(t) - d, f -= c(t) - d, g -= s(t) - d, f < p && (p = f = (p + f) / 2), g < l && (l = g = (l + g) / 2), n2(t, p, l, f, g));
|
|
198
|
+
}
|
|
199
|
+
return h.round = function(t) {
|
|
200
|
+
return arguments.length ? (e = !!t, h) : e;
|
|
201
|
+
}, h.size = function(t) {
|
|
202
|
+
return arguments.length ? (i = +t[0], r = +t[1], h) : [i, r];
|
|
203
|
+
}, h.tile = function(t) {
|
|
204
|
+
return arguments.length ? (n2 = q(t), h) : n2;
|
|
205
|
+
}, h.padding = function(t) {
|
|
206
|
+
return arguments.length ? h.paddingInner(t).paddingOuter(t) : h.paddingInner();
|
|
207
|
+
}, h.paddingInner = function(t) {
|
|
208
|
+
return arguments.length ? (o = typeof t == "function" ? t : B(+t), h) : o;
|
|
209
|
+
}, h.paddingOuter = function(t) {
|
|
210
|
+
return arguments.length ? h.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t) : h.paddingTop();
|
|
211
|
+
}, h.paddingTop = function(t) {
|
|
212
|
+
return arguments.length ? (u = typeof t == "function" ? t : B(+t), h) : u;
|
|
213
|
+
}, h.paddingRight = function(t) {
|
|
214
|
+
return arguments.length ? (c = typeof t == "function" ? t : B(+t), h) : c;
|
|
215
|
+
}, h.paddingBottom = function(t) {
|
|
216
|
+
return arguments.length ? (s = typeof t == "function" ? t : B(+t), h) : s;
|
|
217
|
+
}, h.paddingLeft = function(t) {
|
|
218
|
+
return arguments.length ? (v = typeof t == "function" ? t : B(+t), h) : v;
|
|
219
|
+
}, h;
|
|
220
|
+
}
|
|
221
|
+
export {
|
|
222
|
+
A as N,
|
|
223
|
+
B as a,
|
|
224
|
+
U as b,
|
|
225
|
+
_ as c,
|
|
226
|
+
P as d,
|
|
227
|
+
W as e,
|
|
228
|
+
$ as f,
|
|
229
|
+
R as h,
|
|
230
|
+
nn as o,
|
|
231
|
+
X as p,
|
|
232
|
+
Q as r,
|
|
233
|
+
Y as s,
|
|
234
|
+
en as t
|
|
235
|
+
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-
|
|
2
|
-
import { p } from "./
|
|
1
|
+
import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-CzkcAUDB.js";
|
|
2
|
+
import { p } from "./treemap-FKARHQ26-DFP3Gxy8.js";
|
|
3
3
|
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
5
|
const a = await p("info", r);
|
|
6
6
|
s.debug(a);
|
|
7
7
|
}, "parse")
|
|
8
|
-
}, d = {
|
|
8
|
+
}, d = {
|
|
9
|
+
version: g.version + ""
|
|
10
|
+
}, c = /* @__PURE__ */ e(() => d.version, "getVersion"), m = {
|
|
9
11
|
getVersion: c
|
|
10
12
|
}, l = /* @__PURE__ */ e((r, a, n) => {
|
|
11
13
|
s.debug(`rendering info diagram
|