@marimo-team/islands 0.14.8-dev19 → 0.14.8-dev21

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 (64) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C7ZUNt37.js → ConnectedDataExplorerComponent-CIKVFyEK.js} +2 -2
  2. package/dist/{ImageComparisonComponent-DZDRcHFY.js → ImageComparisonComponent-2_mvNMDj.js} +1 -1
  3. package/dist/VegaLite-4HveKhfS.js +36029 -0
  4. package/dist/{_baseUniq-BzHghS1u.js → _baseUniq-DK93QInS.js} +70 -70
  5. package/dist/{any-language-editor-BCb2v34j.js → any-language-editor-Dqs3hkh-.js} +1 -1
  6. package/dist/arc-BXrety1g.js +83 -0
  7. package/dist/{architectureDiagram-IEHRJDOE-B7iONzmg.js → architectureDiagram-IEHRJDOE-BKlxF7se.js} +5 -5
  8. package/dist/{blockDiagram-JOT3LUYC-CZ7B1WVe.js → blockDiagram-JOT3LUYC-C1Xm0XTZ.js} +5 -5
  9. package/dist/{c4Diagram-VJAJSXHY-Dcnvc4YK.js → c4Diagram-VJAJSXHY-C7rT425g.js} +2 -2
  10. package/dist/{channel-hDZ13A2O.js → channel-xZj6E-mJ.js} +1 -1
  11. package/dist/{chunk-4BMEZGHF-DqVUMgdD.js → chunk-4BMEZGHF-BXotumNq.js} +1 -1
  12. package/dist/{chunk-A2AXSNBT-8e3qBHUm.js → chunk-A2AXSNBT-DHeCLbwY.js} +2 -2
  13. package/dist/{chunk-AEK57VVT-Crc-zWQj.js → chunk-AEK57VVT-BKc7NKa0.js} +2 -2
  14. package/dist/{chunk-D6G4REZN-nd5ZGVJg.js → chunk-D6G4REZN-DdhdhP6J.js} +1 -1
  15. package/dist/{chunk-RZ5BOZE2-WfwR1UIX.js → chunk-RZ5BOZE2-BFvMQe-j.js} +1 -1
  16. package/dist/{chunk-XZIHB7SX-eczcJ1vJ.js → chunk-XZIHB7SX-CJ4xl08D.js} +1 -1
  17. package/dist/{classDiagram-GIVACNV2-NZfO5AVp.js → classDiagram-GIVACNV2-DwYfS79-.js} +2 -2
  18. package/dist/{classDiagram-v2-COTLJTTW-NZfO5AVp.js → classDiagram-v2-COTLJTTW-DwYfS79-.js} +2 -2
  19. package/dist/{clone-D3FLvY4q.js → clone-rjjo36_T.js} +1 -1
  20. package/dist/colors-BD7LS4qt.js +7 -0
  21. package/dist/{dagre-OKDRZEBW-DZLSEN8N.js → dagre-OKDRZEBW-B3ZUT07z.js} +6 -6
  22. package/dist/{data-editor-eH0Vx_Ij.js → data-editor-BV13-AvQ.js} +1 -1
  23. package/dist/{diagram-SSKATNLV-C2wtcOHI.js → diagram-SSKATNLV-BSDYZP_p.js} +3 -3
  24. package/dist/{diagram-VNBRO52H-buF5kva-.js → diagram-VNBRO52H-Fnp_GpYO.js} +3 -3
  25. package/dist/{erDiagram-Q7BY3M3F-BRfCI-Mj.js → erDiagram-Q7BY3M3F-BbpOxb-V.js} +3 -3
  26. package/dist/{flowDiagram-4HSFHLVR-wBdCcAka.js → flowDiagram-4HSFHLVR-BU2iqB5k.js} +3 -3
  27. package/dist/{ganttDiagram-APWFNJXF-B01k-9UE.js → ganttDiagram-APWFNJXF-CRs9upQ5.js} +282 -280
  28. package/dist/{gitGraphDiagram-7IBYFJ6S-Cj25wny2.js → gitGraphDiagram-7IBYFJ6S-DwwA4JtF.js} +4 -4
  29. package/dist/{graph-BFouWpLE.js → graph-CqWR-IH1.js} +3 -3
  30. package/dist/{index-LMqdruQ-.js → index-C3RZrcIM.js} +1 -1
  31. package/dist/{index-D-9U5sYa.js → index-D1HY5xjT.js} +3 -3
  32. package/dist/{index-Bg3QUPmP.js → index-DdVF89d9.js} +1 -1
  33. package/dist/{index-BO3kh0BM.js → index-DdraxiEu.js} +1 -1
  34. package/dist/{infoDiagram-PH2N3AL5-DtEg1dRg.js → infoDiagram-PH2N3AL5-1k7uGX46.js} +2 -2
  35. package/dist/init-DxzjmxYy.js +32 -0
  36. package/dist/{journeyDiagram-U35MCT3I-Ksshlivy.js → journeyDiagram-U35MCT3I-Dpi1JSq2.js} +3 -3
  37. package/dist/{kanban-definition-NDS4AKOZ-BpT4kyEe.js → kanban-definition-NDS4AKOZ-CKvzoLX4.js} +1 -1
  38. package/dist/{layout-CQ3anPtU.js → layout-BldMzBeT.js} +55 -55
  39. package/dist/linear-D8457tpx.js +211 -0
  40. package/dist/{main-BlJnYpay.js → main-AdvRoC03.js} +51942 -74124
  41. package/dist/main.js +1 -1
  42. package/dist/{mermaid-Ddvgb_0_.js → mermaid-dgQIP0_c.js} +339 -338
  43. package/dist/min-ICV4hAE9.js +80 -0
  44. package/dist/{mindmap-definition-ALO5MXBD-CCJPWvq8.js → mindmap-definition-ALO5MXBD-CEOv2JKB.js} +2 -2
  45. package/dist/ordinal-CYN5qNoq.js +77 -0
  46. package/dist/{pieDiagram-IB7DONF6-B_Pa8tIn.js → pieDiagram-IB7DONF6-DPhqJqsw.js} +17 -15
  47. package/dist/{quadrantDiagram-7GDLP6J5-C-Q7o9Yw.js → quadrantDiagram-7GDLP6J5-Cq1lOq3h.js} +2 -2
  48. package/dist/{radar-MK3ICKWK-fBfcDmYz.js → radar-MK3ICKWK-DzKpgYou.js} +5 -5
  49. package/dist/range-DdOGybNB.js +9 -0
  50. package/dist/{react-plotly-nXJ3VUWg.js → react-plotly-96P-Y7f_.js} +1 -1
  51. package/dist/{requirementDiagram-KVF5MWMF-X3AwYzVz.js → requirementDiagram-KVF5MWMF-B1wGIWzW.js} +2 -2
  52. package/dist/{sankeyDiagram-QLVOVGJD-mb0Waj5Y.js → sankeyDiagram-QLVOVGJD-KKLYWNHG.js} +69 -68
  53. package/dist/{sequenceDiagram-X6HHIX6F-Benwk5SQ.js → sequenceDiagram-X6HHIX6F-BsMGq6wR.js} +3 -3
  54. package/dist/{slides-component-C2zZpZew.js → slides-component-CdQpRlk4.js} +1 -1
  55. package/dist/{stateDiagram-DGXRK772-Bj82jp3H.js → stateDiagram-DGXRK772-CH6ODo83.js} +5 -5
  56. package/dist/{stateDiagram-v2-YXO3MK2T-BEVOGugG.js → stateDiagram-v2-YXO3MK2T-B2ncmTl5.js} +2 -2
  57. package/dist/time-LXtJoASL.js +195 -0
  58. package/dist/{timeline-definition-BDJGKUSR-B2bH-gHg.js → timeline-definition-BDJGKUSR-DwRQvUFh.js} +2 -2
  59. package/dist/timer-BYwnU4DF.js +1475 -0
  60. package/dist/{vega-component-Di0LS9eg.js → vega-component-DZHc38nn.js} +75 -75
  61. package/dist/{xychartDiagram-VJFVF3MP-D4X1H71-.js → xychartDiagram-VJFVF3MP-BQnQ1xbv.js} +10 -6
  62. package/package.json +1 -1
  63. package/dist/VegaLite-ChsFHneq.js +0 -16431
  64. package/dist/min-CD1Cy68N.js +0 -80
@@ -1,7 +1,7 @@
1
- import { p as Y } from "./chunk-4BMEZGHF-DqVUMgdD.js";
2
- import { I as K } from "./chunk-XZIHB7SX-eczcJ1vJ.js";
3
- import { _ as l, t as U, q as V, s as X, g as J, a as Q, b as Z, l as b, c as rr, d as er, u as tr, E as ar, z as sr, k as C, F as nr, G as or, H as cr, I as ir } from "./mermaid-Ddvgb_0_.js";
4
- import { p as dr } from "./radar-MK3ICKWK-fBfcDmYz.js";
1
+ import { p as Y } from "./chunk-4BMEZGHF-BXotumNq.js";
2
+ import { I as K } from "./chunk-XZIHB7SX-CJ4xl08D.js";
3
+ import { _ as l, t as U, q as V, s as X, g as J, a as Q, b as Z, l as b, c as rr, d as er, u as tr, E as ar, z as sr, k as C, F as nr, G as or, H as cr, I as ir } from "./mermaid-dgQIP0_c.js";
4
+ import { p as dr } from "./radar-MK3ICKWK-DzKpgYou.js";
5
5
  var p = {
6
6
  NORMAL: 0,
7
7
  REVERSE: 1,
@@ -1,6 +1,6 @@
1
- import { G as N, H as j, J as v, K as f, M as b, O as _ } from "./main-BlJnYpay.js";
2
- import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-BzHghS1u.js";
3
- import { aa as E } from "./mermaid-Ddvgb_0_.js";
1
+ import { x as N, y as j, z as v, A as f, B as b, D as _ } from "./main-AdvRoC03.js";
2
+ import { a as P, f as g, c as d, i as l, v as p, r as D } from "./_baseUniq-DK93QInS.js";
3
+ import { aa as E } from "./mermaid-dgQIP0_c.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,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 { h as C, i, s as Z, m as _, t as P, n as w, p as L, u as B, v as M, x as v, z as E } from "./main-BlJnYpay.js";
4
+ import { d as C, e as i, s as Z, g as _, t as P, h as w, k as L, o as B, p as M, r as v, v as E } from "./main-AdvRoC03.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) {
@@ -1,6 +1,6 @@
1
- import { V as s } from "./VegaLite-ChsFHneq.js";
2
- import { a as g } from "./VegaLite-ChsFHneq.js";
3
- import { b as o } from "./main-BlJnYpay.js";
1
+ import { V as s } from "./VegaLite-4HveKhfS.js";
2
+ import { a as g } from "./VegaLite-4HveKhfS.js";
3
+ import { b as o } from "./main-AdvRoC03.js";
4
4
  function a() {
5
5
  return a = Object.assign || function(e) {
6
6
  for (var r = 1; r < arguments.length; r++) {
@@ -1,4 +1,4 @@
1
- import { a0 as me } from "./main-BlJnYpay.js";
1
+ import { S as me } from "./main-AdvRoC03.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]
@@ -1,4 +1,4 @@
1
- import { h as s, i as R, k as Y, s as x, m as w, t as O, n as d, o as X, p as k, q as h, r as f, u, v as y, w as l, x as g, y as j, z as U, A as G, N as b, I as Z } from "./main-BlJnYpay.js";
1
+ import { d as s, e as R, f as Y, s as x, g as w, t as O, h as d, i as X, k, m as h, n as f, o as u, p as y, q as l, r as g, u as j, v as U, w as G, N as b, I as Z } from "./main-AdvRoC03.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,5 +1,5 @@
1
- import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-Ddvgb_0_.js";
2
- import { p } from "./radar-MK3ICKWK-fBfcDmYz.js";
1
+ import { _ as e, l as s, K as o, e as i, L as g } from "./mermaid-dgQIP0_c.js";
2
+ import { p } from "./radar-MK3ICKWK-DzKpgYou.js";
3
3
  var v = {
4
4
  parse: /* @__PURE__ */ e(async (r) => {
5
5
  const a = await p("info", r);
@@ -0,0 +1,32 @@
1
+ function a(e, t) {
2
+ switch (arguments.length) {
3
+ case 0:
4
+ break;
5
+ case 1:
6
+ this.range(e);
7
+ break;
8
+ default:
9
+ this.range(t).domain(e);
10
+ break;
11
+ }
12
+ return this;
13
+ }
14
+ function s(e, t) {
15
+ switch (arguments.length) {
16
+ case 0:
17
+ break;
18
+ case 1: {
19
+ typeof e == "function" ? this.interpolator(e) : this.range(e);
20
+ break;
21
+ }
22
+ default: {
23
+ this.domain(e), typeof t == "function" ? this.interpolator(t) : this.range(t);
24
+ break;
25
+ }
26
+ }
27
+ return this;
28
+ }
29
+ export {
30
+ s as a,
31
+ a as i
32
+ };
@@ -1,6 +1,6 @@
1
- import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-nd5ZGVJg.js";
2
- import { _ as i, g as xt, s as kt, a as _t, b as vt, t as bt, q as wt, c as A, d as W, e as Tt, z as St } from "./mermaid-Ddvgb_0_.js";
3
- import { g as tt } from "./main-BlJnYpay.js";
1
+ import { a as ft, g as at, f as gt, d as mt } from "./chunk-D6G4REZN-DdhdhP6J.js";
2
+ import { _ as i, g as xt, s as kt, a as _t, b as vt, t as bt, q as wt, c as A, d as W, e as Tt, z as St } from "./mermaid-dgQIP0_c.js";
3
+ import { d as tt } from "./arc-BXrety1g.js";
4
4
  var H = function() {
5
5
  var t = /* @__PURE__ */ i(function(g, r, a, l) {
6
6
  for (a = a || {}, l = g.length; l--; a[g[l]] = r) ;
@@ -1,4 +1,4 @@
1
- import { _ as o, l as te, c as U, K as fe, $ as ye, a0 as be, a1 as me, T as _e, H as K, i as F, v as Ee, J as ke, V as Se, W as ce, X as le } from "./mermaid-Ddvgb_0_.js";
1
+ import { _ as o, l as te, c as U, K as fe, $ as ye, a0 as be, a1 as me, T as _e, H as K, i as F, v as Ee, J as ke, V as Se, W as ce, X as le } from "./mermaid-dgQIP0_c.js";
2
2
  var $ = function() {
3
3
  var e = /* @__PURE__ */ o(function(O, i, n, r) {
4
4
  for (n = n || {}, r = O.length; r--; n[O[r]] = i) ;
@@ -1,10 +1,10 @@
1
- import { G as g } from "./graph-BFouWpLE.js";
2
- import { b as Re, h as fe, j as ce, d as q, c as f, i as m, f as C, v as x, r as M } from "./_baseUniq-BzHghS1u.js";
3
- import { b as le, a as Te, c as Ie, m as w, d as N, h as he, f as W, l as T, e as Me } from "./min-CD1Cy68N.js";
4
- import { aK as Se, ah as je, aL as Fe, ap as ve, ao as Q, al as F, am as pe, aM as Ve, aN as Ae, G as Be, ag as Z, H as Ge, aO as Ye, aP as De, aQ as _, aR as E, K as $e, aS as I, aT as D } from "./main-BlJnYpay.js";
5
- var qe = 1, We = 4;
1
+ import { G as g } from "./graph-CqWR-IH1.js";
2
+ import { b as Re, h as fe, j as ce, d as W, c as f, i as m, f as P, v as x, r as M } from "./_baseUniq-DK93QInS.js";
3
+ import { b as le, a as Te, c as Ie, m as w, d as N, h as he, f as q, l as T, e as Me } from "./min-ICV4hAE9.js";
4
+ import { aU as Se, av as je, aV as Fe, aD as ve, aC as K, az as F, aA as pe, aW as Ve, aX as Ae, x as Be, au as Q, y as Ge, aY as Ye, aZ as De, a_ as _, a$ as E, A as $e, b0 as I, b1 as D } from "./main-AdvRoC03.js";
5
+ var We = 1, qe = 4;
6
6
  function ze(e) {
7
- return Re(e, qe | We);
7
+ return Re(e, We | qe);
8
8
  }
9
9
  function Xe(e, n) {
10
10
  return e == null ? e : Se(e, fe(n), je);
@@ -17,7 +17,7 @@ function He(e, n) {
17
17
  }
18
18
  function S(e, n) {
19
19
  var r = {};
20
- return n = q(n), ce(e, function(t, a, i) {
20
+ return n = W(n), ce(e, function(t, a, i) {
21
21
  Fe(r, a, n(t, a, i));
22
22
  }), r;
23
23
  }
@@ -25,9 +25,9 @@ function y(e) {
25
25
  return e && e.length ? le(e, ve, He) : void 0;
26
26
  }
27
27
  function z(e, n) {
28
- return e && e.length ? le(e, q(n), Te) : void 0;
28
+ return e && e.length ? le(e, W(n), Te) : void 0;
29
29
  }
30
- function Ke(e, n) {
30
+ function Ze(e, n) {
31
31
  var r = e.length;
32
32
  for (e.sort(n); r--; )
33
33
  e[r] = e[r].value;
@@ -35,7 +35,7 @@ function Ke(e, n) {
35
35
  }
36
36
  function Je(e, n) {
37
37
  if (e !== n) {
38
- var r = e !== void 0, t = e === null, a = e === e, i = Q(e), o = n !== void 0, u = n === null, d = n === n, s = Q(n);
38
+ var r = e !== void 0, t = e === null, a = e === e, i = K(e), o = n !== void 0, u = n === null, d = n === n, s = K(n);
39
39
  if (!u && !s && !i && e > n || i && o && d && !u && !s || t && o && d || !r && d || !a)
40
40
  return 1;
41
41
  if (!t && !i && !s && e < n || s && r && a && !t && !i || u && r && a || !o && a || !d)
@@ -43,7 +43,7 @@ function Je(e, n) {
43
43
  }
44
44
  return 0;
45
45
  }
46
- function Qe(e, n, r) {
46
+ function Ke(e, n, r) {
47
47
  for (var t = -1, a = e.criteria, i = n.criteria, o = a.length, u = r.length; ++t < o; ) {
48
48
  var d = Je(a[t], i[t]);
49
49
  if (d) {
@@ -55,29 +55,29 @@ function Qe(e, n, r) {
55
55
  }
56
56
  return e.index - n.index;
57
57
  }
58
- function Ze(e, n, r) {
58
+ function Qe(e, n, r) {
59
59
  n.length ? n = F(n, function(i) {
60
60
  return pe(i) ? function(o) {
61
61
  return Ve(o, i.length === 1 ? i[0] : i);
62
62
  } : i;
63
63
  }) : n = [ve];
64
64
  var t = -1;
65
- n = F(n, Ae(q));
65
+ n = F(n, Ae(W));
66
66
  var a = Ie(e, function(i, o, u) {
67
67
  var d = F(n, function(s) {
68
68
  return s(i);
69
69
  });
70
70
  return { criteria: d, index: ++t, value: i };
71
71
  });
72
- return Ke(a, function(i, o) {
73
- return Qe(i, o, r);
72
+ return Ze(a, function(i, o) {
73
+ return Ke(i, o, r);
74
74
  });
75
75
  }
76
76
  var R = Be(function(e, n) {
77
77
  if (e == null)
78
78
  return [];
79
79
  var r = n.length;
80
- return r > 1 && Z(e, n[0], n[1]) ? n = [] : r > 2 && Z(n[0], n[1], n[2]) && (n = [n[0]]), Ze(e, Ge(n), []);
80
+ return r > 1 && Q(e, n[0], n[1]) ? n = [] : r > 2 && Q(n[0], n[1], n[2]) && (n = [n[0]]), Qe(e, Ge(n), []);
81
81
  }), en = 0;
82
82
  function X(e) {
83
83
  var n = ++en;
@@ -405,32 +405,32 @@ function U(e) {
405
405
  }
406
406
  f(e.sources(), r);
407
407
  }
408
- function P(e, n) {
408
+ function C(e, n) {
409
409
  return e.node(n.w).rank - e.node(n.v).rank - e.edge(n).minlen;
410
410
  }
411
411
  function ge(e) {
412
412
  var n = new g({ directed: false }), r = e.nodes()[0], t = e.nodeCount();
413
413
  n.setNode(r, {});
414
414
  for (var a, i; Nn(n, e) < t; )
415
- a = Pn(n, e), i = n.hasNode(a.v) ? P(e, a) : -P(e, a), Cn(n, e, i);
415
+ a = Cn(n, e), i = n.hasNode(a.v) ? C(e, a) : -C(e, a), Pn(n, e, i);
416
416
  return n;
417
417
  }
418
418
  function Nn(e, n) {
419
419
  function r(t) {
420
420
  f(n.nodeEdges(t), function(a) {
421
421
  var i = a.v, o = t === i ? a.w : i;
422
- !e.hasNode(o) && !P(n, a) && (e.setNode(o, {}), e.setEdge(t, o, {}), r(o));
422
+ !e.hasNode(o) && !C(n, a) && (e.setNode(o, {}), e.setEdge(t, o, {}), r(o));
423
423
  });
424
424
  }
425
425
  return f(e.nodes(), r), e.nodeCount();
426
426
  }
427
- function Pn(e, n) {
427
+ function Cn(e, n) {
428
428
  return z(n.edges(), function(r) {
429
429
  if (e.hasNode(r.v) !== e.hasNode(r.w))
430
- return P(n, r);
430
+ return C(n, r);
431
431
  });
432
432
  }
433
- function Cn(e, n, r) {
433
+ function Pn(e, n, r) {
434
434
  f(e.nodes(), function(t) {
435
435
  n.node(t).rank += r;
436
436
  });
@@ -458,7 +458,7 @@ function Rn(e, n) {
458
458
  function Tn(e, n) {
459
459
  return ye(e, n, "pre");
460
460
  }
461
- k.initLowLimValues = K;
461
+ k.initLowLimValues = Z;
462
462
  k.initCutValues = H;
463
463
  k.calcCutValue = xe;
464
464
  k.leaveEdge = Oe;
@@ -467,7 +467,7 @@ k.exchangeEdges = Ne;
467
467
  function k(e) {
468
468
  e = hn(e), U(e);
469
469
  var n = ge(e);
470
- K(n), H(n, e);
470
+ Z(n), H(n, e);
471
471
  for (var r, t; r = Oe(n); )
472
472
  t = Le(n, e, r), Ne(n, e, r, t);
473
473
  }
@@ -494,7 +494,7 @@ function xe(e, n, r) {
494
494
  }
495
495
  }), u;
496
496
  }
497
- function K(e, n) {
497
+ function Z(e, n) {
498
498
  arguments.length < 2 && (n = e.nodes()[0]), Ee(e, {}, 1, n);
499
499
  }
500
500
  function Ee(e, n, r, t, a) {
@@ -504,7 +504,7 @@ function Ee(e, n, r, t, a) {
504
504
  }), o.low = i, o.lim = r++, a ? o.parent = a : delete o.parent, r;
505
505
  }
506
506
  function Oe(e) {
507
- return W(e.edges(), function(n) {
507
+ return q(e.edges(), function(n) {
508
508
  return e.edge(n).cutvalue < 0;
509
509
  });
510
510
  }
@@ -513,19 +513,19 @@ function Le(e, n, r) {
513
513
  n.hasEdge(t, a) || (t = r.w, a = r.v);
514
514
  var i = e.node(t), o = e.node(a), u = i, d = false;
515
515
  i.lim > o.lim && (u = o, d = true);
516
- var s = C(n.edges(), function(c) {
516
+ var s = P(n.edges(), function(c) {
517
517
  return d === ie(e, e.node(c.v), u) && d !== ie(e, e.node(c.w), u);
518
518
  });
519
519
  return z(s, function(c) {
520
- return P(n, c);
520
+ return C(n, c);
521
521
  });
522
522
  }
523
523
  function Ne(e, n, r, t) {
524
524
  var a = r.v, i = r.w;
525
- e.removeEdge(a, i), e.setEdge(t.v, t.w, {}), K(e), H(e, n), Mn(e, n);
525
+ e.removeEdge(a, i), e.setEdge(t.v, t.w, {}), Z(e), H(e, n), Mn(e, n);
526
526
  }
527
527
  function Mn(e, n) {
528
- var r = W(e.nodes(), function(a) {
528
+ var r = q(e.nodes(), function(a) {
529
529
  return !n.node(a).parent;
530
530
  }), t = Tn(e, r);
531
531
  t = t.slice(1), f(t, function(a) {
@@ -568,10 +568,10 @@ function An(e) {
568
568
  });
569
569
  var i = Gn(e) + 1;
570
570
  f(e.children(), function(o) {
571
- Pe(e, n, a, i, t, r, o);
571
+ Ce(e, n, a, i, t, r, o);
572
572
  }), e.graph().nodeRankFactor = a;
573
573
  }
574
- function Pe(e, n, r, t, a, i, o) {
574
+ function Ce(e, n, r, t, a, i, o) {
575
575
  var u = e.children(o);
576
576
  if (!u.length) {
577
577
  o !== n && e.setEdge(n, o, { weight: 0, minlen: r });
@@ -579,7 +579,7 @@ function Pe(e, n, r, t, a, i, o) {
579
579
  }
580
580
  var d = re(e, "_bt"), s = re(e, "_bb"), c = e.node(o);
581
581
  e.setParent(d, o), c.borderTop = d, e.setParent(s, o), c.borderBottom = s, f(u, function(l) {
582
- Pe(e, n, r, t, a, i, l);
582
+ Ce(e, n, r, t, a, i, l);
583
583
  var h = e.node(l), v = h.borderTop ? h.borderTop : l, p = h.borderBottom ? h.borderBottom : l, b = h.borderTop ? t : 2 * t, L = v !== p ? 1 : a - i[o] + 1;
584
584
  e.setEdge(d, v, {
585
585
  weight: b,
@@ -633,7 +633,7 @@ function Dn(e, n, r) {
633
633
  });
634
634
  }
635
635
  function $n(e, n, r) {
636
- var t = qn(e), a = new g({ compound: true }).setGraph({ root: t }).setDefaultNodeLabel(function(i) {
636
+ var t = Wn(e), a = new g({ compound: true }).setGraph({ root: t }).setDefaultNodeLabel(function(i) {
637
637
  return e.node(i);
638
638
  });
639
639
  return f(e.nodes(), function(i) {
@@ -647,11 +647,11 @@ function $n(e, n, r) {
647
647
  }));
648
648
  }), a;
649
649
  }
650
- function qn(e) {
650
+ function Wn(e) {
651
651
  for (var n; e.hasNode(n = X("_root")); ) ;
652
652
  return n;
653
653
  }
654
- function Wn(e, n) {
654
+ function qn(e, n) {
655
655
  for (var r = 0, t = 1; t < n.length; ++t)
656
656
  r += zn(e, n[t - 1], n[t]);
657
657
  return r;
@@ -689,7 +689,7 @@ function zn(e, n, r) {
689
689
  ), d;
690
690
  }
691
691
  function Xn(e) {
692
- var n = {}, r = C(e.nodes(), function(u) {
692
+ var n = {}, r = P(e.nodes(), function(u) {
693
693
  return !e.children(u).length;
694
694
  }), t = y(
695
695
  w(r, function(u) {
@@ -749,12 +749,12 @@ function Hn(e, n) {
749
749
  var i = r[a.v], o = r[a.w];
750
750
  !m(i) && !m(o) && (o.indegree++, i.out.push(r[a.w]));
751
751
  });
752
- var t = C(r, function(a) {
752
+ var t = P(r, function(a) {
753
753
  return !a.indegree;
754
754
  });
755
- return Kn(t);
755
+ return Zn(t);
756
756
  }
757
- function Kn(e) {
757
+ function Zn(e) {
758
758
  var n = [];
759
759
  function r(i) {
760
760
  return function(o) {
@@ -771,7 +771,7 @@ function Kn(e) {
771
771
  n.push(a), f(a.in.reverse(), r(a)), f(a.out, t(a));
772
772
  }
773
773
  return w(
774
- C(n, function(i) {
774
+ P(n, function(i) {
775
775
  return !i.merged;
776
776
  }),
777
777
  function(i) {
@@ -783,13 +783,13 @@ function Jn(e, n) {
783
783
  var r = 0, t = 0;
784
784
  e.weight && (r += e.barycenter * e.weight, t += e.weight), n.weight && (r += n.barycenter * n.weight, t += n.weight), e.vs = n.vs.concat(e.vs), e.barycenter = r / t, e.weight = t, e.i = Math.min(n.i, e.i), n.merged = true;
785
785
  }
786
- function Qn(e, n) {
786
+ function Kn(e, n) {
787
787
  var r = wn(e, function(c) {
788
788
  return Object.prototype.hasOwnProperty.call(c, "barycenter");
789
789
  }), t = r.lhs, a = R(r.rhs, function(c) {
790
790
  return -c.i;
791
791
  }), i = [], o = 0, u = 0, d = 0;
792
- t.sort(Zn(!!n)), d = ue(i, a, d), f(t, function(c) {
792
+ t.sort(Qn(!!n)), d = ue(i, a, d), f(t, function(c) {
793
793
  d += c.vs.length, i.push(c.vs), o += c.barycenter * c.weight, u += c.weight, d = ue(i, a, d);
794
794
  });
795
795
  var s = { vs: _(i) };
@@ -800,26 +800,26 @@ function ue(e, n, r) {
800
800
  n.pop(), e.push(t.vs), r++;
801
801
  return r;
802
802
  }
803
- function Zn(e) {
803
+ function Qn(e) {
804
804
  return function(n, r) {
805
805
  return n.barycenter < r.barycenter ? -1 : n.barycenter > r.barycenter ? 1 : e ? r.i - n.i : n.i - r.i;
806
806
  };
807
807
  }
808
- function Ce(e, n, r, t) {
808
+ function Pe(e, n, r, t) {
809
809
  var a = e.children(n), i = e.node(n), o = i ? i.borderLeft : void 0, u = i ? i.borderRight : void 0, d = {};
810
- o && (a = C(a, function(p) {
810
+ o && (a = P(a, function(p) {
811
811
  return p !== o && p !== u;
812
812
  }));
813
813
  var s = Un(e, a);
814
814
  f(s, function(p) {
815
815
  if (e.children(p.v).length) {
816
- var b = Ce(e, p.v, r, t);
816
+ var b = Pe(e, p.v, r, t);
817
817
  d[p.v] = b, Object.prototype.hasOwnProperty.call(b, "barycenter") && nr(p, b);
818
818
  }
819
819
  });
820
820
  var c = Hn(s, r);
821
821
  er(c, d);
822
- var l = Qn(c, t);
822
+ var l = Kn(c, t);
823
823
  if (o && (l.vs = _([o, l.vs, u]), e.predecessors(o).length)) {
824
824
  var h = e.node(e.predecessors(o)[0]), v = e.node(e.predecessors(u)[0]);
825
825
  Object.prototype.hasOwnProperty.call(l, "barycenter") || (l.barycenter = 0, l.weight = 0), l.barycenter = (l.barycenter * l.weight + h.order + v.order) / (l.weight + 2), l.weight += 2;
@@ -843,7 +843,7 @@ function rr(e) {
843
843
  se(e, a);
844
844
  for (var i = Number.POSITIVE_INFINITY, o, u = 0, d = 0; d < 4; ++u, ++d) {
845
845
  tr(u % 2 ? r : t, u % 4 >= 2), a = j(e);
846
- var s = Wn(e, a);
846
+ var s = qn(e, a);
847
847
  s < i && (d = 0, o = ze(a), i = s);
848
848
  }
849
849
  se(e, o);
@@ -856,7 +856,7 @@ function de(e, n, r) {
856
856
  function tr(e, n) {
857
857
  var r = new g();
858
858
  f(e, function(t) {
859
- var a = t.graph().root, i = Ce(t, a, r, n);
859
+ var a = t.graph().root, i = Pe(t, a, r, n);
860
860
  f(i.vs, function(o, u) {
861
861
  t.node(o).order = u;
862
862
  }), Dn(t, r, i.vs);
@@ -946,7 +946,7 @@ function dr(e, n) {
946
946
  }
947
947
  function sr(e, n) {
948
948
  if (e.node(n).dummy)
949
- return W(e.predecessors(n), function(r) {
949
+ return q(e.predecessors(n), function(r) {
950
950
  return e.node(r).dummy;
951
951
  });
952
952
  }
@@ -1122,7 +1122,7 @@ function Hr(e, n) {
1122
1122
  });
1123
1123
  }
1124
1124
  function xr(e, n) {
1125
- n(" makeSpaceForEdgeLabels", () => Mr(e)), n(" removeSelfEdges", () => Dr(e)), n(" acyclic", () => fn(e)), n(" nestingGraph.run", () => An(e)), n(" rank", () => jn(we(e))), n(" injectEdgeLabelProxies", () => Sr(e)), n(" removeEmptyRanks", () => pn(e)), n(" nestingGraph.cleanup", () => Yn(e)), n(" normalizeRanks", () => vn(e)), n(" assignRankMinMax", () => jr(e)), n(" removeEdgeLabelProxies", () => Fr(e)), n(" normalize.run", () => En(e)), n(" parentDummyChains", () => ar(e)), n(" addBorderSegments", () => mn(e)), n(" order", () => rr(e)), n(" insertSelfEdges", () => $r(e)), n(" adjustCoordinateSystem", () => gn(e)), n(" position", () => yr(e)), n(" positionSelfEdges", () => qr(e)), n(" removeBorderNodes", () => Yr(e)), n(" normalize.undo", () => Ln(e)), n(" fixupEdgeLabelCoords", () => Br(e)), n(" undoCoordinateSystem", () => yn(e)), n(" translateGraph", () => Vr(e)), n(" assignNodeIntersects", () => Ar(e)), n(" reversePoints", () => Gr(e)), n(" acyclic.undo", () => ln(e));
1125
+ n(" makeSpaceForEdgeLabels", () => Mr(e)), n(" removeSelfEdges", () => Dr(e)), n(" acyclic", () => fn(e)), n(" nestingGraph.run", () => An(e)), n(" rank", () => jn(we(e))), n(" injectEdgeLabelProxies", () => Sr(e)), n(" removeEmptyRanks", () => pn(e)), n(" nestingGraph.cleanup", () => Yn(e)), n(" normalizeRanks", () => vn(e)), n(" assignRankMinMax", () => jr(e)), n(" removeEdgeLabelProxies", () => Fr(e)), n(" normalize.run", () => En(e)), n(" parentDummyChains", () => ar(e)), n(" addBorderSegments", () => mn(e)), n(" order", () => rr(e)), n(" insertSelfEdges", () => $r(e)), n(" adjustCoordinateSystem", () => gn(e)), n(" position", () => yr(e)), n(" positionSelfEdges", () => Wr(e)), n(" removeBorderNodes", () => Yr(e)), n(" normalize.undo", () => Ln(e)), n(" fixupEdgeLabelCoords", () => Br(e)), n(" undoCoordinateSystem", () => yn(e)), n(" translateGraph", () => Vr(e)), n(" assignNodeIntersects", () => Ar(e)), n(" reversePoints", () => Gr(e)), n(" acyclic.undo", () => ln(e));
1126
1126
  }
1127
1127
  function Er(e, n) {
1128
1128
  f(e.nodes(), function(r) {
@@ -1133,7 +1133,7 @@ function Er(e, n) {
1133
1133
  t.points = a.points, Object.prototype.hasOwnProperty.call(a, "x") && (t.x = a.x, t.y = a.y);
1134
1134
  }), e.graph().width = n.graph().width, e.graph().height = n.graph().height;
1135
1135
  }
1136
- var Or = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], Lr = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" }, Nr = ["acyclicer", "ranker", "rankdir", "align"], Pr = ["width", "height"], Cr = { width: 0, height: 0 }, _r = ["minlen", "weight", "width", "height", "labeloffset"], Rr = {
1136
+ var Or = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], Lr = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" }, Nr = ["acyclicer", "ranker", "rankdir", "align"], Cr = ["width", "height"], Pr = { width: 0, height: 0 }, _r = ["minlen", "weight", "width", "height", "labeloffset"], Rr = {
1137
1137
  minlen: 1,
1138
1138
  weight: 1,
1139
1139
  width: 0,
@@ -1147,7 +1147,7 @@ function Ir(e) {
1147
1147
  D({}, Lr, G(r, Or), I(r, Nr))
1148
1148
  ), f(e.nodes(), function(t) {
1149
1149
  var a = Y(e.node(t));
1150
- n.setNode(t, Me(G(a, Pr), Cr)), n.setParent(t, e.parent(t));
1150
+ n.setNode(t, Me(G(a, Cr), Pr)), n.setParent(t, e.parent(t));
1151
1151
  }), f(e.edges(), function(t) {
1152
1152
  var a = Y(e.edge(t));
1153
1153
  n.setEdge(
@@ -1274,7 +1274,7 @@ function $r(e) {
1274
1274
  });
1275
1275
  });
1276
1276
  }
1277
- function qr(e) {
1277
+ function Wr(e) {
1278
1278
  f(e.nodes(), function(n) {
1279
1279
  var r = e.node(n);
1280
1280
  if (r.dummy === "selfedge") {