@marimo-team/islands 0.14.11-dev63 → 0.14.11-dev65

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-C5KXzekB.js → ConnectedDataExplorerComponent-W09p89XR.js} +2 -2
  2. package/dist/{ImageComparisonComponent-opSlVQ7b.js → ImageComparisonComponent-C8S7GJUu.js} +1 -1
  3. package/dist/{VegaLite-DjgDSHGn.js → VegaLite-CaN9C9lD.js} +866 -866
  4. package/dist/{_baseUniq-DM1HOUeh.js → _baseUniq-Cw0WkeM6.js} +38 -38
  5. package/dist/{any-language-editor-DVeSA09f.js → any-language-editor-C0dGwfTL.js} +1 -1
  6. package/dist/{architectureDiagram-NQ2NVSRB-fzxJ_Ls5.js → architectureDiagram-NQ2NVSRB-BTPC7rQF.js} +5 -5
  7. package/dist/{blockDiagram-PHRCVELO-C-ikVewb.js → blockDiagram-PHRCVELO-DEWonEyL.js} +5 -5
  8. package/dist/{c4Diagram-6F6E4RAY-B75dfgOZ.js → c4Diagram-6F6E4RAY-Cf9bKymC.js} +2 -2
  9. package/dist/{channel-CYyWdxNC.js → channel-XTYSQFru.js} +1 -1
  10. package/dist/{chunk-353BL4L5-Dpl6Lucn.js → chunk-353BL4L5-Ce5HqQRR.js} +1 -1
  11. package/dist/{chunk-67H74DCK-BAFgfPCU.js → chunk-67H74DCK-62eBh1Ha.js} +1 -1
  12. package/dist/{chunk-6OLS64BW-Bhmax_2Z.js → chunk-6OLS64BW-DwFEOlRr.js} +3 -3
  13. package/dist/{chunk-AACKK3MU-BwKUo607.js → chunk-AACKK3MU-VdmCVd80.js} +1 -1
  14. package/dist/{chunk-BFAMUDN2-hV-JWjbs.js → chunk-BFAMUDN2-CIhgu2ZR.js} +1 -1
  15. package/dist/{chunk-E2GYISFI-zlVKJ_5u.js → chunk-E2GYISFI-XiD25GkX.js} +1 -1
  16. package/dist/{chunk-QEP2MXWD-qOoQOyfZ.js → chunk-QEP2MXWD-oSwUf5FZ.js} +4 -4
  17. package/dist/{chunk-SKB7J2MH-BYsjMawa.js → chunk-SKB7J2MH-DxqQJIKo.js} +1 -1
  18. package/dist/{classDiagram-v2-O24JOBDK-D8aJ73J_.js → classDiagram-BGRH5UQR-CMZ6WVaK.js} +2 -2
  19. package/dist/{classDiagram-BGRH5UQR-D8aJ73J_.js → classDiagram-v2-O24JOBDK-CMZ6WVaK.js} +2 -2
  20. package/dist/{clone-BGPJ6ri_.js → clone-CBPUhxLZ.js} +1 -1
  21. package/dist/{dagre-FFZHY6LT-C97xkQ68.js → dagre-FFZHY6LT-BXhlYejL.js} +6 -6
  22. package/dist/data-grid-overlay-editor-C7aU0PQ0.js +105 -0
  23. package/dist/{diagram-3EMPZRKU-eyOiSgaH.js → diagram-3EMPZRKU-DsvXQDSB.js} +6 -6
  24. package/dist/{diagram-5UYTHUR4-BQsutv3j.js → diagram-5UYTHUR4-CRml3__A.js} +3 -3
  25. package/dist/{diagram-ZTM2IBQH-CkbA46mg.js → diagram-ZTM2IBQH-C816H7iV.js} +3 -3
  26. package/dist/{erDiagram-R3QVA2FD-CLeVRa-k.js → erDiagram-R3QVA2FD-C6cO8wrU.js} +4 -4
  27. package/dist/{flowDiagram-PKI6S5ZS-CAix6cxQ.js → flowDiagram-PKI6S5ZS-ydvr5i1B.js} +5 -5
  28. package/dist/{ganttDiagram-EK5VF46D-Dmo0vFfS.js → ganttDiagram-EK5VF46D-gDew8gJX.js} +113 -113
  29. package/dist/{gitGraphDiagram-GW3U2K7C-2ZLAOsyO.js → gitGraphDiagram-GW3U2K7C-CL27Xh3Y.js} +4 -4
  30. package/dist/glide-data-editor-CugqjnII.js +12893 -0
  31. package/dist/{graph-YPIPHzV1.js → graph-jHGbknNk.js} +3 -3
  32. package/dist/{index-DHqsiGiD.js → index-D3TprEtw.js} +1 -1
  33. package/dist/{index-pWBFtjUB.js → index-DV-C5yBR.js} +1 -1
  34. package/dist/{index-BF6Un3Yu.js → index-Wyf7SjhS.js} +3 -3
  35. package/dist/{index-CybEO-_-.js → index-o9Jwqm1Y.js} +1 -1
  36. package/dist/{infoDiagram-RLU2ROGC-19TK4I3H.js → infoDiagram-RLU2ROGC-DzYF5Iml.js} +2 -2
  37. package/dist/{journeyDiagram-EWQZEKCU-BV1Tzef5.js → journeyDiagram-EWQZEKCU-NOcVJSqZ.js} +3 -3
  38. package/dist/{kanban-definition-ILFWEQ3N-CGsh_ne9.js → kanban-definition-ILFWEQ3N-CPYyeFW9.js} +2 -2
  39. package/dist/{layout-Cd3_1FLE.js → layout-DpX8vwQa.js} +18 -18
  40. package/dist/{linear-DmqjM05p.js → linear-D0fwMESq.js} +25 -25
  41. package/dist/{main-CdYdgpIF.js → main-BN5AUoET.js} +42493 -42380
  42. package/dist/main.js +2 -2
  43. package/dist/{mermaid-CYYqQbcC.js → mermaid-BtXtrxmr.js} +29 -29
  44. package/dist/min-B9ZWZuoa.js +80 -0
  45. package/dist/{mindmap-definition-CZNETY7S-Cg3e2Y5C.js → mindmap-definition-CZNETY7S-B0QziHzp.js} +2 -2
  46. package/dist/number-overlay-editor-D5J2ru_d.js +599 -0
  47. package/dist/{pieDiagram-NIOCPIFQ-Hh86YZ1b.js → pieDiagram-NIOCPIFQ-BwyipqVj.js} +3 -3
  48. package/dist/{quadrantDiagram-2OG54O6I-BoIEq5Pw.js → quadrantDiagram-2OG54O6I-XvPMoisf.js} +2 -2
  49. package/dist/{react-plotly-BBOES-aq.js → react-plotly-DYl8fNBx.js} +1 -1
  50. package/dist/{requirementDiagram-SO3GGRV7-BjL82gef.js → requirementDiagram-SO3GGRV7-CTDBi1di.js} +3 -3
  51. package/dist/{sankeyDiagram-4UZDY2LN-CjskTDL9.js → sankeyDiagram-4UZDY2LN-BYug7Jne.js} +1 -1
  52. package/dist/{sequenceDiagram-ZIKVLSP4-K6sfLX-w.js → sequenceDiagram-ZIKVLSP4-D18MfB1k.js} +3 -3
  53. package/dist/{slides-component-BuFWrysn.js → slides-component-DpdlJJpo.js} +1 -1
  54. package/dist/{stateDiagram-XX37X6EN-7H-jtm1x.js → stateDiagram-XX37X6EN-DddwUZ9l.js} +4 -4
  55. package/dist/{stateDiagram-v2-GD6S3NHB-rwdUGZP7.js → stateDiagram-v2-GD6S3NHB-D6Uve4i7.js} +2 -2
  56. package/dist/style.css +1 -1
  57. package/dist/{time-Cxf2-LVz.js → time-BAs_2hsR.js} +2 -2
  58. package/dist/{timeline-definition-RI47OAVP-D-WV5wGI.js → timeline-definition-RI47OAVP-zmxKlliI.js} +1 -1
  59. package/dist/{treemap-FKARHQ26-Cfrh6e1a.js → treemap-FKARHQ26-DdAB1ue8.js} +5 -5
  60. package/dist/{vega-component-BFsZ556m.js → vega-component-Dj806I-5.js} +26 -26
  61. package/dist/{xychartDiagram-H2YORKM3-BoK1BLN6.js → xychartDiagram-H2YORKM3-CKgy5Itg.js} +2 -2
  62. package/package.json +2 -1
  63. package/dist/data-editor-BPUw_vbQ.js +0 -32945
  64. package/dist/min-D0mSOOfb.js +0 -80
@@ -1,7 +1,7 @@
1
- import { _ as l, g as ye, s as ge, t as pe, q as ve, a as xe, b as Te, c as ct, d as gt, e as be, aq as U, l as Dt, k as we, j as _e, z as De, u as Se } from "./mermaid-CYYqQbcC.js";
2
- import { T as Wt, au as jt, am as Ut, al as Ce, aF as Ee, aG as Me, aH as Ae, aI as Ie, aJ as Fe, aK as Le, ak as Zt, aj as $t, ai as Qt, a8 as Kt, ah as Jt } from "./main-CdYdgpIF.js";
3
- import { t as Ye, m as We, a as Ve, i as Pe } from "./time-Cxf2-LVz.js";
4
- import { l as ze } from "./linear-DmqjM05p.js";
1
+ import { _ as l, g as ye, s as ge, t as pe, q as ve, a as xe, b as Te, c as ct, d as gt, e as be, aq as U, l as Dt, k as we, j as _e, z as De, u as Ce } from "./mermaid-BtXtrxmr.js";
2
+ import { M as Wt, aq as jt, ai as Ut, ah as Se, aB as Ee, aC as Me, aD as Ae, aE as Ie, aF as Fe, aG as Le, ag as Zt, af as $t, ae as Qt, a4 as Kt, ad as Jt } from "./main-BN5AUoET.js";
3
+ import { t as Ye, m as We, a as Ve, i as Pe } from "./time-BAs_2hsR.js";
4
+ import { l as ze } from "./linear-D0fwMESq.js";
5
5
  function Oe(t) {
6
6
  return t;
7
7
  }
@@ -15,48 +15,48 @@ function Ne(t) {
15
15
  function Be(t) {
16
16
  return (e) => +t(e);
17
17
  }
18
- function He(t, e) {
18
+ function qe(t, e) {
19
19
  return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (n) => +t(n) + e;
20
20
  }
21
- function qe() {
21
+ function He() {
22
22
  return !this.__axis;
23
23
  }
24
24
  function oe(t, e) {
25
- var n = [], i = null, a = null, k = 6, d = 6, D = 3, E = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, C = t === vt || t === pt ? -1 : 1, g = t === pt || t === Mt ? "x" : "y", F = t === vt || t === At ? Re : Ne;
26
- function S(v) {
27
- var q = i ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), A = a ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Oe), x = Math.max(k, 0) + D, M = e.range(), L = +M[0] + E, Y = +M[M.length - 1] + E, N = (e.bandwidth ? He : Be)(e.copy(), E), R = v.selection ? v.selection() : v, G = R.selectAll(".domain").data([null]), z = R.selectAll(".tick").data(q, e).order(), y = z.exit(), b = z.enter().append("g").attr("class", "tick"), T = z.select("line"), p = z.select("text");
28
- G = G.merge(G.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), z = z.merge(b), T = T.merge(b.append("line").attr("stroke", "currentColor").attr(g + "2", C * k)), p = p.merge(b.append("text").attr("fill", "currentColor").attr(g, C * x).attr("dy", t === vt ? "0em" : t === At ? "0.71em" : "0.32em")), v !== R && (G = G.transition(v), z = z.transition(v), T = T.transition(v), p = p.transition(v), y = y.transition(v).attr("opacity", te).attr("transform", function(m) {
25
+ var n = [], i = null, a = null, k = 6, d = 6, D = 3, E = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, S = t === vt || t === pt ? -1 : 1, g = t === pt || t === Mt ? "x" : "y", F = t === vt || t === At ? Re : Ne;
26
+ function C(v) {
27
+ var H = i ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), A = a ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Oe), x = Math.max(k, 0) + D, M = e.range(), L = +M[0] + E, Y = +M[M.length - 1] + E, N = (e.bandwidth ? qe : Be)(e.copy(), E), R = v.selection ? v.selection() : v, G = R.selectAll(".domain").data([null]), z = R.selectAll(".tick").data(H, e).order(), y = z.exit(), b = z.enter().append("g").attr("class", "tick"), T = z.select("line"), p = z.select("text");
28
+ G = G.merge(G.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), z = z.merge(b), T = T.merge(b.append("line").attr("stroke", "currentColor").attr(g + "2", S * k)), p = p.merge(b.append("text").attr("fill", "currentColor").attr(g, S * x).attr("dy", t === vt ? "0em" : t === At ? "0.71em" : "0.32em")), v !== R && (G = G.transition(v), z = z.transition(v), T = T.transition(v), p = p.transition(v), y = y.transition(v).attr("opacity", te).attr("transform", function(m) {
29
29
  return isFinite(m = N(m)) ? F(m + E) : this.getAttribute("transform");
30
30
  }), b.attr("opacity", te).attr("transform", function(m) {
31
31
  var w = this.parentNode.__axis;
32
32
  return F((w && isFinite(w = w(m)) ? w : N(m)) + E);
33
- })), y.remove(), G.attr("d", t === pt || t === Mt ? d ? "M" + C * d + "," + L + "H" + E + "V" + Y + "H" + C * d : "M" + E + "," + L + "V" + Y : d ? "M" + L + "," + C * d + "V" + E + "H" + Y + "V" + C * d : "M" + L + "," + E + "H" + Y), z.attr("opacity", 1).attr("transform", function(m) {
33
+ })), y.remove(), G.attr("d", t === pt || t === Mt ? d ? "M" + S * d + "," + L + "H" + E + "V" + Y + "H" + S * d : "M" + E + "," + L + "V" + Y : d ? "M" + L + "," + S * d + "V" + E + "H" + Y + "V" + S * d : "M" + L + "," + E + "H" + Y), z.attr("opacity", 1).attr("transform", function(m) {
34
34
  return F(N(m) + E);
35
- }), T.attr(g + "2", C * k), p.attr(g, C * x).text(A), R.filter(qe).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Mt ? "start" : t === pt ? "end" : "middle"), R.each(function() {
35
+ }), T.attr(g + "2", S * k), p.attr(g, S * x).text(A), R.filter(He).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Mt ? "start" : t === pt ? "end" : "middle"), R.each(function() {
36
36
  this.__axis = N;
37
37
  });
38
38
  }
39
- return S.scale = function(v) {
40
- return arguments.length ? (e = v, S) : e;
41
- }, S.ticks = function() {
42
- return n = Array.from(arguments), S;
43
- }, S.tickArguments = function(v) {
44
- return arguments.length ? (n = v == null ? [] : Array.from(v), S) : n.slice();
45
- }, S.tickValues = function(v) {
46
- return arguments.length ? (i = v == null ? null : Array.from(v), S) : i && i.slice();
47
- }, S.tickFormat = function(v) {
48
- return arguments.length ? (a = v, S) : a;
49
- }, S.tickSize = function(v) {
50
- return arguments.length ? (k = d = +v, S) : k;
51
- }, S.tickSizeInner = function(v) {
52
- return arguments.length ? (k = +v, S) : k;
53
- }, S.tickSizeOuter = function(v) {
54
- return arguments.length ? (d = +v, S) : d;
55
- }, S.tickPadding = function(v) {
56
- return arguments.length ? (D = +v, S) : D;
57
- }, S.offset = function(v) {
58
- return arguments.length ? (E = +v, S) : E;
59
- }, S;
39
+ return C.scale = function(v) {
40
+ return arguments.length ? (e = v, C) : e;
41
+ }, C.ticks = function() {
42
+ return n = Array.from(arguments), C;
43
+ }, C.tickArguments = function(v) {
44
+ return arguments.length ? (n = v == null ? [] : Array.from(v), C) : n.slice();
45
+ }, C.tickValues = function(v) {
46
+ return arguments.length ? (i = v == null ? null : Array.from(v), C) : i && i.slice();
47
+ }, C.tickFormat = function(v) {
48
+ return arguments.length ? (a = v, C) : a;
49
+ }, C.tickSize = function(v) {
50
+ return arguments.length ? (k = d = +v, C) : k;
51
+ }, C.tickSizeInner = function(v) {
52
+ return arguments.length ? (k = +v, C) : k;
53
+ }, C.tickSizeOuter = function(v) {
54
+ return arguments.length ? (d = +v, C) : d;
55
+ }, C.tickPadding = function(v) {
56
+ return arguments.length ? (D = +v, C) : D;
57
+ }, C.offset = function(v) {
58
+ return arguments.length ? (E = +v, C) : E;
59
+ }, C;
60
60
  }
61
61
  function Ge(t) {
62
62
  return oe(vt, t);
@@ -72,22 +72,22 @@ function Ue() {
72
72
  })(je, function() {
73
73
  var n = "day";
74
74
  return function(i, a, k) {
75
- var d = function(C) {
76
- return C.add(4 - C.isoWeekday(), n);
75
+ var d = function(S) {
76
+ return S.add(4 - S.isoWeekday(), n);
77
77
  }, D = a.prototype;
78
78
  D.isoWeekYear = function() {
79
79
  return d(this).year();
80
- }, D.isoWeek = function(C) {
81
- if (!this.$utils().u(C)) return this.add(7 * (C - this.isoWeek()), n);
82
- var g, F, S, v, q = d(this), A = (g = this.isoWeekYear(), F = this.$u, S = (F ? k.utc : k)().year(g).startOf("year"), v = 4 - S.isoWeekday(), S.isoWeekday() > 4 && (v += 7), S.add(v, n));
83
- return q.diff(A, "week") + 1;
84
- }, D.isoWeekday = function(C) {
85
- return this.$utils().u(C) ? this.day() || 7 : this.day(this.day() % 7 ? C : C - 7);
80
+ }, D.isoWeek = function(S) {
81
+ if (!this.$utils().u(S)) return this.add(7 * (S - this.isoWeek()), n);
82
+ var g, F, C, v, H = d(this), A = (g = this.isoWeekYear(), F = this.$u, C = (F ? k.utc : k)().year(g).startOf("year"), v = 4 - C.isoWeekday(), C.isoWeekday() > 4 && (v += 7), C.add(v, n));
83
+ return H.diff(A, "week") + 1;
84
+ }, D.isoWeekday = function(S) {
85
+ return this.$utils().u(S) ? this.day() || 7 : this.day(this.day() % 7 ? S : S - 7);
86
86
  };
87
87
  var E = D.startOf;
88
- D.startOf = function(C, g) {
89
- var F = this.$utils(), S = !!F.u(g) || g;
90
- return F.p(C) === "isoweek" ? S ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : E.bind(this)(C, g);
88
+ D.startOf = function(S, g) {
89
+ var F = this.$utils(), C = !!F.u(g) || g;
90
+ return F.p(S) === "isoweek" ? C ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : E.bind(this)(S, g);
91
91
  };
92
92
  };
93
93
  });
@@ -101,7 +101,7 @@ function Ke() {
101
101
  (function(n, i) {
102
102
  t.exports = i();
103
103
  })(Qe, function() {
104
- var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d/, k = /\d\d/, d = /\d\d?/, D = /\d*[^-_:/,()\s\d]+/, E = {}, C = function(x) {
104
+ var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, a = /\d/, k = /\d\d/, d = /\d\d?/, D = /\d*[^-_:/,()\s\d]+/, E = {}, S = function(x) {
105
105
  return (x = +x) + (x > 68 ? 1900 : 2e3);
106
106
  }, g = function(x) {
107
107
  return function(M) {
@@ -113,7 +113,7 @@ function Ke() {
113
113
  var L = M.match(/([+-]|\d\d)/g), Y = 60 * L[1] + (+L[2] || 0);
114
114
  return Y === 0 ? 0 : L[0] === "+" ? -Y : Y;
115
115
  }(x);
116
- }], S = function(x) {
116
+ }], C = function(x) {
117
117
  var M = E[x];
118
118
  return M && (M.indexOf ? M : M.s.concat(M.f));
119
119
  }, v = function(x, M) {
@@ -125,7 +125,7 @@ function Ke() {
125
125
  }
126
126
  } else L = x === (M ? "pm" : "PM");
127
127
  return L;
128
- }, q = { A: [D, function(x) {
128
+ }, H = { A: [D, function(x) {
129
129
  this.afternoon = v(x, false);
130
130
  }], a: [D, function(x) {
131
131
  this.afternoon = v(x, true);
@@ -141,17 +141,17 @@ function Ke() {
141
141
  var M = E.ordinal, L = x.match(/\d+/);
142
142
  if (this.day = L[0], M) for (var Y = 1; Y <= 31; Y += 1) M(Y).replace(/\[|\]/g, "") === x && (this.day = Y);
143
143
  }], w: [d, g("week")], ww: [k, g("week")], M: [d, g("month")], MM: [k, g("month")], MMM: [D, function(x) {
144
- var M = S("months"), L = (S("monthsShort") || M.map(function(Y) {
144
+ var M = C("months"), L = (C("monthsShort") || M.map(function(Y) {
145
145
  return Y.slice(0, 3);
146
146
  })).indexOf(x) + 1;
147
147
  if (L < 1) throw new Error();
148
148
  this.month = L % 12 || L;
149
149
  }], MMMM: [D, function(x) {
150
- var M = S("months").indexOf(x) + 1;
150
+ var M = C("months").indexOf(x) + 1;
151
151
  if (M < 1) throw new Error();
152
152
  this.month = M % 12 || M;
153
153
  }], Y: [/[+-]?\d+/, g("year")], YY: [k, function(x) {
154
- this.year = C(x);
154
+ this.year = S(x);
155
155
  }], YYYY: [/\d{4}/, g("year")], Z: F, ZZ: F };
156
156
  function A(x) {
157
157
  var M, L;
@@ -162,7 +162,7 @@ function Ke() {
162
162
  return u || h.slice(1);
163
163
  });
164
164
  })).match(i), N = Y.length, R = 0; R < N; R += 1) {
165
- var G = Y[R], z = q[G], y = z && z[0], b = z && z[1];
165
+ var G = Y[R], z = H[G], y = z && z[0], b = z && z[1];
166
166
  Y[R] = b ? { regex: y, parser: b } : G.replace(/^\[|\]$/g, "");
167
167
  }
168
168
  return function(T) {
@@ -184,7 +184,7 @@ function Ke() {
184
184
  };
185
185
  }
186
186
  return function(x, M, L) {
187
- L.p.customParseFormat = true, x && x.parseTwoDigitYear && (C = x.parseTwoDigitYear);
187
+ L.p.customParseFormat = true, x && x.parseTwoDigitYear && (S = x.parseTwoDigitYear);
188
188
  var Y = M.prototype, N = Y.parse;
189
189
  Y.parse = function(R) {
190
190
  var G = R.date, z = R.utc, y = R.args;
@@ -231,7 +231,7 @@ function rr() {
231
231
  a.format = function(d) {
232
232
  var D = this, E = this.$locale();
233
233
  if (!this.isValid()) return k.bind(this)(d);
234
- var C = this.$utils(), g = (d || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(F) {
234
+ var S = this.$utils(), g = (d || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(F) {
235
235
  switch (F) {
236
236
  case "Q":
237
237
  return Math.ceil((D.$M + 1) / 3);
@@ -245,13 +245,13 @@ function rr() {
245
245
  return E.ordinal(D.week(), "W");
246
246
  case "w":
247
247
  case "ww":
248
- return C.s(D.week(), F === "w" ? 1 : 2, "0");
248
+ return S.s(D.week(), F === "w" ? 1 : 2, "0");
249
249
  case "W":
250
250
  case "WW":
251
- return C.s(D.isoWeek(), F === "W" ? 1 : 2, "0");
251
+ return S.s(D.isoWeek(), F === "W" ? 1 : 2, "0");
252
252
  case "k":
253
253
  case "kk":
254
- return C.s(String(D.$H === 0 ? 24 : D.$H), F === "k" ? 1 : 2, "0");
254
+ return S.s(String(D.$H === 0 ? 24 : D.$H), F === "k" ? 1 : 2, "0");
255
255
  case "X":
256
256
  return Math.floor(D.$d.getTime() / 1e3);
257
257
  case "x":
@@ -276,7 +276,7 @@ var It = function() {
276
276
  var t = /* @__PURE__ */ l(function(w, c, u, h) {
277
277
  for (u = u || {}, h = w.length; h--; u[w[h]] = c) ;
278
278
  return u;
279
- }, "o"), e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 35, 36, 38, 40], n = [1, 26], i = [1, 27], a = [1, 28], k = [1, 29], d = [1, 30], D = [1, 31], E = [1, 32], C = [1, 33], g = [1, 34], F = [1, 9], S = [1, 10], v = [1, 11], q = [1, 12], A = [1, 13], x = [1, 14], M = [1, 15], L = [1, 16], Y = [1, 19], N = [1, 20], R = [1, 21], G = [1, 22], z = [1, 23], y = [1, 25], b = [1, 35], T = {
279
+ }, "o"), e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 35, 36, 38, 40], n = [1, 26], i = [1, 27], a = [1, 28], k = [1, 29], d = [1, 30], D = [1, 31], E = [1, 32], S = [1, 33], g = [1, 34], F = [1, 9], C = [1, 10], v = [1, 11], H = [1, 12], A = [1, 13], x = [1, 14], M = [1, 15], L = [1, 16], Y = [1, 19], N = [1, 20], R = [1, 21], G = [1, 22], z = [1, 23], y = [1, 25], b = [1, 35], T = {
280
280
  trace: /* @__PURE__ */ l(function() {
281
281
  }, "trace"),
282
282
  yy: {},
@@ -405,7 +405,7 @@ var It = function() {
405
405
  break;
406
406
  }
407
407
  }, "anonymous"),
408
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 17, 12: n, 13: i, 14: a, 15: k, 16: d, 17: D, 18: E, 19: 18, 20: C, 21: g, 22: F, 23: S, 24: v, 25: q, 26: A, 27: x, 28: M, 29: L, 30: Y, 31: N, 33: R, 35: G, 36: z, 37: 24, 38: y, 40: b }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 36, 11: 17, 12: n, 13: i, 14: a, 15: k, 16: d, 17: D, 18: E, 19: 18, 20: C, 21: g, 22: F, 23: S, 24: v, 25: q, 26: A, 27: x, 28: M, 29: L, 30: Y, 31: N, 33: R, 35: G, 36: z, 37: 24, 38: y, 40: b }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 17]), t(e, [2, 18]), t(e, [2, 19]), t(e, [2, 20]), t(e, [2, 21]), t(e, [2, 22]), t(e, [2, 23]), t(e, [2, 24]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 27]), { 32: [1, 37] }, { 34: [1, 38] }, t(e, [2, 30]), t(e, [2, 31]), t(e, [2, 32]), { 39: [1, 39] }, t(e, [2, 8]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 11]), t(e, [2, 12]), t(e, [2, 13]), t(e, [2, 14]), t(e, [2, 15]), t(e, [2, 16]), { 41: [1, 40], 43: [1, 41] }, t(e, [2, 4]), t(e, [2, 28]), t(e, [2, 29]), t(e, [2, 33]), t(e, [2, 34], { 42: [1, 42], 43: [1, 43] }), t(e, [2, 40], { 41: [1, 44] }), t(e, [2, 35], { 43: [1, 45] }), t(e, [2, 36]), t(e, [2, 38], { 42: [1, 46] }), t(e, [2, 37]), t(e, [2, 39])],
408
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 17, 12: n, 13: i, 14: a, 15: k, 16: d, 17: D, 18: E, 19: 18, 20: S, 21: g, 22: F, 23: C, 24: v, 25: H, 26: A, 27: x, 28: M, 29: L, 30: Y, 31: N, 33: R, 35: G, 36: z, 37: 24, 38: y, 40: b }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 36, 11: 17, 12: n, 13: i, 14: a, 15: k, 16: d, 17: D, 18: E, 19: 18, 20: S, 21: g, 22: F, 23: C, 24: v, 25: H, 26: A, 27: x, 28: M, 29: L, 30: Y, 31: N, 33: R, 35: G, 36: z, 37: 24, 38: y, 40: b }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 17]), t(e, [2, 18]), t(e, [2, 19]), t(e, [2, 20]), t(e, [2, 21]), t(e, [2, 22]), t(e, [2, 23]), t(e, [2, 24]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 27]), { 32: [1, 37] }, { 34: [1, 38] }, t(e, [2, 30]), t(e, [2, 31]), t(e, [2, 32]), { 39: [1, 39] }, t(e, [2, 8]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 11]), t(e, [2, 12]), t(e, [2, 13]), t(e, [2, 14]), t(e, [2, 15]), t(e, [2, 16]), { 41: [1, 40], 43: [1, 41] }, t(e, [2, 4]), t(e, [2, 28]), t(e, [2, 29]), t(e, [2, 33]), t(e, [2, 34], { 42: [1, 42], 43: [1, 43] }), t(e, [2, 40], { 41: [1, 44] }), t(e, [2, 35], { 43: [1, 45] }), t(e, [2, 36]), t(e, [2, 38], { 42: [1, 46] }), t(e, [2, 37]), t(e, [2, 39])],
409
409
  defaultActions: {},
410
410
  parseError: /* @__PURE__ */ l(function(c, u) {
411
411
  if (u.recoverable)
@@ -788,8 +788,8 @@ var ar = It;
788
788
  U.extend($e);
789
789
  U.extend(tr);
790
790
  U.extend(ir);
791
- var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht = [], mt = [], Ot = /* @__PURE__ */ new Map(), Rt = [], St = [], ut = "", Nt = "", ce = ["active", "done", "crit", "milestone", "vert"], Bt = [], kt = false, Ht = false, qt = "sunday", Ct = "saturday", Ft = 0, sr = /* @__PURE__ */ l(function() {
792
- Rt = [], St = [], ut = "", Bt = [], wt = 0, Yt = void 0, _t = void 0, H = [], tt = "", Vt = "", Nt = "", Pt = void 0, zt = "", ht = [], mt = [], kt = false, Ht = false, Ft = 0, Ot = /* @__PURE__ */ new Map(), De(), qt = "sunday", Ct = "saturday";
791
+ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht = [], mt = [], Ot = /* @__PURE__ */ new Map(), Rt = [], Ct = [], ut = "", Nt = "", ce = ["active", "done", "crit", "milestone", "vert"], Bt = [], kt = false, qt = false, Ht = "sunday", St = "saturday", Ft = 0, sr = /* @__PURE__ */ l(function() {
792
+ Rt = [], Ct = [], ut = "", Bt = [], wt = 0, Yt = void 0, _t = void 0, q = [], tt = "", Vt = "", Nt = "", Pt = void 0, zt = "", ht = [], mt = [], kt = false, qt = false, Ft = 0, Ot = /* @__PURE__ */ new Map(), De(), Ht = "sunday", St = "saturday";
793
793
  }, "clear"), or = /* @__PURE__ */ l(function(t) {
794
794
  Vt = t;
795
795
  }, "setAxisFormat"), cr = /* @__PURE__ */ l(function() {
@@ -809,9 +809,9 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
809
809
  }, "enableInclusiveEndDates"), kr = /* @__PURE__ */ l(function() {
810
810
  return kt;
811
811
  }, "endDatesAreInclusive"), yr = /* @__PURE__ */ l(function() {
812
- Ht = true;
812
+ qt = true;
813
813
  }, "enableTopAxis"), gr = /* @__PURE__ */ l(function() {
814
- return Ht;
814
+ return qt;
815
815
  }, "topAxisEnabled"), pr = /* @__PURE__ */ l(function(t) {
816
816
  Nt = t;
817
817
  }, "setDisplayMode"), vr = /* @__PURE__ */ l(function() {
@@ -828,9 +828,9 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
828
828
  return mt;
829
829
  }, "getExcludes"), Dr = /* @__PURE__ */ l(function() {
830
830
  return Ot;
831
- }, "getLinks"), Sr = /* @__PURE__ */ l(function(t) {
831
+ }, "getLinks"), Cr = /* @__PURE__ */ l(function(t) {
832
832
  ut = t, Rt.push(t);
833
- }, "addSection"), Cr = /* @__PURE__ */ l(function() {
833
+ }, "addSection"), Sr = /* @__PURE__ */ l(function() {
834
834
  return Rt;
835
835
  }, "getSections"), Er = /* @__PURE__ */ l(function() {
836
836
  let t = ae();
@@ -838,15 +838,15 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
838
838
  let n = 0;
839
839
  for (; !t && n < e; )
840
840
  t = ae(), n++;
841
- return St = H, St;
841
+ return Ct = q, Ct;
842
842
  }, "getTasks"), le = /* @__PURE__ */ l(function(t, e, n, i) {
843
- return i.includes(t.format(e.trim())) ? false : n.includes("weekends") && (t.isoWeekday() === ie[Ct] || t.isoWeekday() === ie[Ct] + 1) || n.includes(t.format("dddd").toLowerCase()) ? true : n.includes(t.format(e.trim()));
843
+ return i.includes(t.format(e.trim())) ? false : n.includes("weekends") && (t.isoWeekday() === ie[St] || t.isoWeekday() === ie[St] + 1) || n.includes(t.format("dddd").toLowerCase()) ? true : n.includes(t.format(e.trim()));
844
844
  }, "isInvalidDate"), Mr = /* @__PURE__ */ l(function(t) {
845
- qt = t;
845
+ Ht = t;
846
846
  }, "setWeekday"), Ar = /* @__PURE__ */ l(function() {
847
- return qt;
847
+ return Ht;
848
848
  }, "getWeekday"), Ir = /* @__PURE__ */ l(function(t) {
849
- Ct = t;
849
+ St = t;
850
850
  }, "setWeekend"), ue = /* @__PURE__ */ l(function(t, e, n, i) {
851
851
  if (!n.length || t.manualEndTime)
852
852
  return;
@@ -873,8 +873,8 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
873
873
  if (a !== null) {
874
874
  let d = null;
875
875
  for (const E of a.groups.ids.split(" ")) {
876
- let C = it(E);
877
- C !== void 0 && (!d || C.endTime > d.endTime) && (d = C);
876
+ let S = it(E);
877
+ S !== void 0 && (!d || S.endTime > d.endTime) && (d = S);
878
878
  }
879
879
  if (d)
880
880
  return d.endTime;
@@ -904,8 +904,8 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
904
904
  const k = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
905
905
  if (k !== null) {
906
906
  let g = null;
907
- for (const S of k.groups.ids.split(" ")) {
908
- let v = it(S);
907
+ for (const C of k.groups.ids.split(" ")) {
908
+ let v = it(C);
909
909
  v !== void 0 && (!g || v.startTime < g.startTime) && (g = v);
910
910
  }
911
911
  if (g)
@@ -917,9 +917,9 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
917
917
  if (d.isValid())
918
918
  return i && (d = d.add(1, "d")), d.toDate();
919
919
  let D = U(t);
920
- const [E, C] = de(n);
920
+ const [E, S] = de(n);
921
921
  if (!Number.isNaN(E)) {
922
- const g = D.add(E, C);
922
+ const g = D.add(E, S);
923
923
  g.isValid() && (D = g);
924
924
  }
925
925
  return D.toDate();
@@ -979,7 +979,7 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
979
979
  break;
980
980
  }
981
981
  return a;
982
- }, "parseData"), Yt, _t, H = [], he = {}, Wr = /* @__PURE__ */ l(function(t, e) {
982
+ }, "parseData"), Yt, _t, q = [], he = {}, Wr = /* @__PURE__ */ l(function(t, e) {
983
983
  const n = {
984
984
  section: ut,
985
985
  type: ut,
@@ -991,11 +991,11 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
991
991
  classes: []
992
992
  }, i = Yr(_t, e);
993
993
  n.raw.startTime = i.startTime, n.raw.endTime = i.endTime, n.id = i.id, n.prevTaskId = _t, n.active = i.active, n.done = i.done, n.crit = i.crit, n.milestone = i.milestone, n.vert = i.vert, n.order = Ft, Ft++;
994
- const a = H.push(n);
994
+ const a = q.push(n);
995
995
  _t = n.id, he[n.id] = a - 1;
996
996
  }, "addTask"), it = /* @__PURE__ */ l(function(t) {
997
997
  const e = he[t];
998
- return H[e];
998
+ return q[e];
999
999
  }, "findTaskById"), Vr = /* @__PURE__ */ l(function(t, e) {
1000
1000
  const n = {
1001
1001
  section: ut,
@@ -1004,34 +1004,34 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
1004
1004
  task: t,
1005
1005
  classes: []
1006
1006
  }, i = Lr(Yt, e);
1007
- n.startTime = i.startTime, n.endTime = i.endTime, n.id = i.id, n.active = i.active, n.done = i.done, n.crit = i.crit, n.milestone = i.milestone, n.vert = i.vert, Yt = n, St.push(n);
1007
+ n.startTime = i.startTime, n.endTime = i.endTime, n.id = i.id, n.active = i.active, n.done = i.done, n.crit = i.crit, n.milestone = i.milestone, n.vert = i.vert, Yt = n, Ct.push(n);
1008
1008
  }, "addTaskOrg"), ae = /* @__PURE__ */ l(function() {
1009
1009
  const t = /* @__PURE__ */ l(function(n) {
1010
- const i = H[n];
1010
+ const i = q[n];
1011
1011
  let a = "";
1012
- switch (H[n].raw.startTime.type) {
1012
+ switch (q[n].raw.startTime.type) {
1013
1013
  case "prevTaskEnd": {
1014
1014
  const k = it(i.prevTaskId);
1015
1015
  i.startTime = k.endTime;
1016
1016
  break;
1017
1017
  }
1018
1018
  case "getStartDate":
1019
- a = Lt(void 0, tt, H[n].raw.startTime.startData), a && (H[n].startTime = a);
1019
+ a = Lt(void 0, tt, q[n].raw.startTime.startData), a && (q[n].startTime = a);
1020
1020
  break;
1021
1021
  }
1022
- return H[n].startTime && (H[n].endTime = fe(
1023
- H[n].startTime,
1022
+ return q[n].startTime && (q[n].endTime = fe(
1023
+ q[n].startTime,
1024
1024
  tt,
1025
- H[n].raw.endTime.data,
1025
+ q[n].raw.endTime.data,
1026
1026
  kt
1027
- ), H[n].endTime && (H[n].processed = true, H[n].manualEndTime = U(
1028
- H[n].raw.endTime.data,
1027
+ ), q[n].endTime && (q[n].processed = true, q[n].manualEndTime = U(
1028
+ q[n].raw.endTime.data,
1029
1029
  "YYYY-MM-DD",
1030
1030
  true
1031
- ).isValid(), ue(H[n], tt, mt, ht))), H[n].processed;
1031
+ ).isValid(), ue(q[n], tt, mt, ht))), q[n].processed;
1032
1032
  }, "compileTask");
1033
1033
  let e = true;
1034
- for (const [n, i] of H.entries())
1034
+ for (const [n, i] of q.entries())
1035
1035
  t(n), e = e && i.processed;
1036
1036
  return e;
1037
1037
  }, "compileTasks"), Pr = /* @__PURE__ */ l(function(t, e) {
@@ -1058,7 +1058,7 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
1058
1058
  }
1059
1059
  }
1060
1060
  i.length === 0 && i.push(t), it(t) !== void 0 && ke(t, () => {
1061
- Se.runFunc(e, ...i);
1061
+ Ce.runFunc(e, ...i);
1062
1062
  });
1063
1063
  }, "setClickFun"), ke = /* @__PURE__ */ l(function(t, e) {
1064
1064
  Bt.push(
@@ -1106,8 +1106,8 @@ var ie = { friday: 5, saturday: 6 }, tt = "", Vt = "", Pt = void 0, zt = "", ht
1106
1106
  getDisplayMode: vr,
1107
1107
  setAccDescription: ge,
1108
1108
  getAccDescription: ye,
1109
- addSection: Sr,
1110
- getSections: Cr,
1109
+ addSection: Cr,
1110
+ getSections: Sr,
1111
1111
  getTasks: Er,
1112
1112
  addTask: Wr,
1113
1113
  findTaskById: it,
@@ -1144,8 +1144,8 @@ var Br = /* @__PURE__ */ l(function() {
1144
1144
  thursday: Ae,
1145
1145
  friday: Me,
1146
1146
  saturday: Ee,
1147
- sunday: Ce
1148
- }, Hr = /* @__PURE__ */ l((t, e) => {
1147
+ sunday: Se
1148
+ }, qr = /* @__PURE__ */ l((t, e) => {
1149
1149
  let n = [...t].map(() => -1 / 0), i = [...t].sort((k, d) => k.startTime - d.startTime || k.order - d.order), a = 0;
1150
1150
  for (const k of i)
1151
1151
  for (let d = 0; d < n.length; d++)
@@ -1154,18 +1154,18 @@ var Br = /* @__PURE__ */ l(function() {
1154
1154
  break;
1155
1155
  }
1156
1156
  return a;
1157
- }, "getMaxIntersections"), et, qr = /* @__PURE__ */ l(function(t, e, n, i) {
1157
+ }, "getMaxIntersections"), et, Hr = /* @__PURE__ */ l(function(t, e, n, i) {
1158
1158
  const a = ct().gantt, k = ct().securityLevel;
1159
1159
  let d;
1160
1160
  k === "sandbox" && (d = gt("#i" + e));
1161
- const D = k === "sandbox" ? gt(d.nodes()[0].contentDocument.body) : gt("body"), E = k === "sandbox" ? d.nodes()[0].contentDocument : document, C = E.getElementById(e);
1162
- et = C.parentElement.offsetWidth, et === void 0 && (et = 1200), a.useWidth !== void 0 && (et = a.useWidth);
1161
+ const D = k === "sandbox" ? gt(d.nodes()[0].contentDocument.body) : gt("body"), E = k === "sandbox" ? d.nodes()[0].contentDocument : document, S = E.getElementById(e);
1162
+ et = S.parentElement.offsetWidth, et === void 0 && (et = 1200), a.useWidth !== void 0 && (et = a.useWidth);
1163
1163
  const g = i.db.getTasks();
1164
1164
  let F = [];
1165
1165
  for (const y of g)
1166
1166
  F.push(y.type);
1167
1167
  F = z(F);
1168
- const S = {};
1168
+ const C = {};
1169
1169
  let v = 2 * a.topPadding;
1170
1170
  if (i.db.getDisplayMode() === "compact" || a.displayMode === "compact") {
1171
1171
  const y = {};
@@ -1173,16 +1173,16 @@ var Br = /* @__PURE__ */ l(function() {
1173
1173
  y[T.section] === void 0 ? y[T.section] = [T] : y[T.section].push(T);
1174
1174
  let b = 0;
1175
1175
  for (const T of Object.keys(y)) {
1176
- const p = Hr(y[T], b) + 1;
1177
- b += p, v += p * (a.barHeight + a.barGap), S[T] = p;
1176
+ const p = qr(y[T], b) + 1;
1177
+ b += p, v += p * (a.barHeight + a.barGap), C[T] = p;
1178
1178
  }
1179
1179
  } else {
1180
1180
  v += g.length * (a.barHeight + a.barGap);
1181
1181
  for (const y of F)
1182
- S[y] = g.filter((b) => b.type === y).length;
1182
+ C[y] = g.filter((b) => b.type === y).length;
1183
1183
  }
1184
- C.setAttribute("viewBox", "0 0 " + et + " " + v);
1185
- const q = D.select(`[id="${e}"]`), A = Ye().domain([
1184
+ S.setAttribute("viewBox", "0 0 " + et + " " + v);
1185
+ const H = D.select(`[id="${e}"]`), A = Ye().domain([
1186
1186
  We(g, function(y) {
1187
1187
  return y.startTime;
1188
1188
  }),
@@ -1195,7 +1195,7 @@ var Br = /* @__PURE__ */ l(function() {
1195
1195
  let m = 0;
1196
1196
  return T > p ? m = 1 : T < p && (m = -1), m;
1197
1197
  }
1198
- l(x, "taskCompare"), g.sort(x), M(g, et, v), be(q, v, et, a.useMaxWidth), q.append("text").text(i.db.getDiagramTitle()).attr("x", et / 2).attr("y", a.titleTopMargin).attr("class", "titleText");
1198
+ l(x, "taskCompare"), g.sort(x), M(g, et, v), be(H, v, et, a.useMaxWidth), H.append("text").text(i.db.getDiagramTitle()).attr("x", et / 2).attr("y", a.titleTopMargin).attr("class", "titleText");
1199
1199
  function M(y, b, T) {
1200
1200
  const p = a.barHeight, m = p + a.barGap, w = a.topPadding, c = a.leftPadding, u = ze().domain([0, F.length]).range(["#00B9FA", "#F95002"]).interpolate(Pe);
1201
1201
  Y(
@@ -1213,7 +1213,7 @@ var Br = /* @__PURE__ */ l(function() {
1213
1213
  function L(y, b, T, p, m, w, c) {
1214
1214
  y.sort((o, r) => o.vert === r.vert ? 0 : o.vert ? 1 : -1);
1215
1215
  const h = [...new Set(y.map((o) => o.order))].map((o) => y.find((r) => r.order === o));
1216
- q.append("g").selectAll("rect").data(h).enter().append("rect").attr("x", 0).attr("y", function(o, r) {
1216
+ H.append("g").selectAll("rect").data(h).enter().append("rect").attr("x", 0).attr("y", function(o, r) {
1217
1217
  return r = o.order, r * b + T - 2;
1218
1218
  }).attr("width", function() {
1219
1219
  return c - a.rightPadding / 2;
@@ -1223,7 +1223,7 @@ var Br = /* @__PURE__ */ l(function() {
1223
1223
  return "section section" + r % a.numberSectionStyles;
1224
1224
  return "section section0";
1225
1225
  }).enter();
1226
- const f = q.append("g").selectAll("rect").data(y).enter(), _ = i.db.getLinks();
1226
+ const f = H.append("g").selectAll("rect").data(y).enter(), _ = i.db.getLinks();
1227
1227
  if (f.append("rect").attr("id", function(o) {
1228
1228
  return o.id;
1229
1229
  }).attr("rx", 3).attr("ry", 3).attr("x", function(o) {
@@ -1305,7 +1305,7 @@ var Br = /* @__PURE__ */ l(function() {
1305
1305
  start: r,
1306
1306
  end: r
1307
1307
  } : o && (s.push(o), o = null), r = r.add(1, "d");
1308
- q.append("g").selectAll("rect").data(s).enter().append("rect").attr("id", function(I) {
1308
+ H.append("g").selectAll("rect").data(s).enter().append("rect").attr("id", function(I) {
1309
1309
  return "exclude-" + I.start.format("YYYY-MM-DD");
1310
1310
  }).attr("x", function(I) {
1311
1311
  return A(I.start) + T;
@@ -1348,7 +1348,7 @@ var Br = /* @__PURE__ */ l(function() {
1348
1348
  break;
1349
1349
  }
1350
1350
  }
1351
- if (q.append("g").attr("class", "grid").attr("transform", "translate(" + y + ", " + (p - 50) + ")").call(m).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), i.db.topAxisEnabled() || a.topAxis) {
1351
+ if (H.append("g").attr("class", "grid").attr("transform", "translate(" + y + ", " + (p - 50) + ")").call(m).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), i.db.topAxisEnabled() || a.topAxis) {
1352
1352
  let u = Ge(A).tickSize(-p + b + a.gridLineStartPadding).tickFormat(jt(i.db.getAxisFormat() || a.axisFormat || "%Y-%m-%d"));
1353
1353
  if (c !== null) {
1354
1354
  const h = c[1], f = c[2], _ = i.db.getWeekday() || a.weekday;
@@ -1376,14 +1376,14 @@ var Br = /* @__PURE__ */ l(function() {
1376
1376
  break;
1377
1377
  }
1378
1378
  }
1379
- q.append("g").attr("class", "grid").attr("transform", "translate(" + y + ", " + b + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
1379
+ H.append("g").attr("class", "grid").attr("transform", "translate(" + y + ", " + b + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
1380
1380
  }
1381
1381
  }
1382
1382
  l(N, "makeGrid");
1383
1383
  function R(y, b) {
1384
1384
  let T = 0;
1385
- const p = Object.keys(S).map((m) => [m, S[m]]);
1386
- q.append("g").selectAll("text").data(p).enter().append(function(m) {
1385
+ const p = Object.keys(C).map((m) => [m, C[m]]);
1386
+ H.append("g").selectAll("text").data(p).enter().append(function(m) {
1387
1387
  const w = m[0].split(we.lineBreakRegex), c = -(w.length - 1) / 2, u = E.createElementNS("http://www.w3.org/2000/svg", "text");
1388
1388
  u.setAttribute("dy", c + "em");
1389
1389
  for (const [h, f] of w.entries()) {
@@ -1409,7 +1409,7 @@ var Br = /* @__PURE__ */ l(function() {
1409
1409
  const m = i.db.getTodayMarker();
1410
1410
  if (m === "off")
1411
1411
  return;
1412
- const w = q.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), u = w.append("line");
1412
+ const w = H.append("g").attr("class", "today"), c = /* @__PURE__ */ new Date(), u = w.append("line");
1413
1413
  u.attr("x1", A(c) + y).attr("x2", A(c) + y).attr("y1", a.titleTopMargin).attr("y2", p - a.titleTopMargin).attr("class", "today"), m !== "" && u.attr("style", m.replace(/,/g, ";"));
1414
1414
  }
1415
1415
  l(G, "drawToday");
@@ -1422,7 +1422,7 @@ var Br = /* @__PURE__ */ l(function() {
1422
1422
  l(z, "checkUnique");
1423
1423
  }, "draw"), Gr = {
1424
1424
  setConf: Br,
1425
- draw: qr
1425
+ draw: Hr
1426
1426
  }, Xr = /* @__PURE__ */ l((t) => `
1427
1427
  .mermaid-main-font {
1428
1428
  font-family: ${t.fontFamily};
@@ -1,7 +1,7 @@
1
- import { p as Y } from "./chunk-353BL4L5-Dpl6Lucn.js";
2
- import { I as K } from "./chunk-AACKK3MU-BwKUo607.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 m, 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-CYYqQbcC.js";
4
- import { p as dr } from "./treemap-FKARHQ26-Cfrh6e1a.js";
1
+ import { p as Y } from "./chunk-353BL4L5-Ce5HqQRR.js";
2
+ import { I as K } from "./chunk-AACKK3MU-VdmCVd80.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 m, 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-BtXtrxmr.js";
4
+ import { p as dr } from "./treemap-FKARHQ26-DdAB1ue8.js";
5
5
  var p = {
6
6
  NORMAL: 0,
7
7
  REVERSE: 1,