@kong-ui-public/documentation 0.4.13 → 0.4.14

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 (56) hide show
  1. package/dist/arc-DI9wV-Mn-_GgJI37p.js +86 -0
  2. package/dist/{astro-D4FIwVxr-CovDYZfT.js → astro-U6b0KI4d-Bfq8RcMV.js} +1 -1
  3. package/dist/{blockDiagram-6b2b5046-BabM1eIl-BiFw3WJ6.js → blockDiagram-91b80b7a-D3OZBNEF-BXra-uP1.js} +24 -24
  4. package/dist/{c4Diagram-b947cdbb-BBGJ9ivn-BA4nSYfd.js → c4Diagram-b2a90758-wyqGQ69Q-3S5U0W2q.js} +133 -132
  5. package/dist/channel-Brhzsu_o-C42tcZPD.js +5 -0
  6. package/dist/{classDiagram-35230388-CRYNduH8-CLsxllrW.js → classDiagram-30eddba6-0OAjss5X-DDloSHap.js} +8 -7
  7. package/dist/{classDiagram-v2-412acd34-5HbyJrnL-DB1xO44x.js → classDiagram-v2-f2df5561-Dn89kA5N-W6p27IrP.js} +7 -7
  8. package/dist/{clone-BoeTe_OS-CQarmEZE.js → clone-Bsggwgls-BzwAVRKa.js} +1 -1
  9. package/dist/{createText-423428c9-Q0HfccbL-Bwaom8lh.js → createText-6b48ae7d-c5hzPIcj-DS42dDY6.js} +2 -1
  10. package/dist/documentation.es.js +5 -5
  11. package/dist/documentation.umd.js +991 -720
  12. package/dist/{edges-d417c7a0-DEJA2PwU-BX5bd8a1.js → edges-d32062c0-CGbRbizB-BNCq9bff.js} +28 -27
  13. package/dist/{erDiagram-0ea73325-C3DQ6B1e-GwhT3lGQ.js → erDiagram-47591fe2-CyCEEu9x-BoCVITkJ.js} +38 -38
  14. package/dist/{flowDb-d35e309a-RvFFqjek-t_Dexseh.js → flowDb-4b19a42f-wIq43fe7-D6eWU8wc.js} +45 -45
  15. package/dist/{flowDiagram-d949d7c1-Boa20b_n-CJ3aILFD.js → flowDiagram-5540d9b9-D8Ak_JQc-66jM_qDv.js} +317 -309
  16. package/dist/{flowDiagram-v2-49332944-BJtijxhz-Cgd4t08U.js → flowDiagram-v2-3b53844e-DxkVnD_T-DVByZPqp.js} +5 -5
  17. package/dist/{flowchart-elk-definition-27cc417a-BBD3LS9k-Bb9_HTfE.js → flowchart-elk-definition-5fe447d6-CUIdb-2U-rw1sP1Nb.js} +10626 -10624
  18. package/dist/{ganttDiagram-5c869e3b-CRDFjzTp-lNK9bq-O.js → ganttDiagram-9a3bba1f-U28Z8glu-okJ1HHdc.js} +488 -477
  19. package/dist/{git-rebase-sR-yVH_J-D5M2oE9O.js → git-rebase-B7sc3yJp-BPxHM_r2.js} +1 -1
  20. package/dist/gitGraphDiagram-96e6b4ee-DTO3lH8N-1qRg2G2i.js +1264 -0
  21. package/dist/{graph-BIq67vWs-Bc3nX8P0.js → graph-Bc1n6qSP-D5FVfre_.js} +64 -64
  22. package/dist/{haml-BT5dFrjs-CmYUmNQ_.js → haml-DsuMo-J7-DWhF2QrW.js} +1 -1
  23. package/dist/{http-DSIFYUfg-BZm1KGvb.js → http-ClrjZLFz-gNFfL9hE.js} +1 -1
  24. package/dist/{index-Bh6WVkCI.js → index-3vhKKQrV.js} +2775 -2693
  25. package/dist/{index-8fae9850-CaUboB89-B0nma_3r.js → index-fc10efb0-B2L-sBu4-xOwI5vt1.js} +11 -11
  26. package/dist/{infoDiagram-db7b18fc-DKsewKnu-CWVarnHo.js → infoDiagram-bcd20f53-DTO3TTbR-DxLIdeSc.js} +12 -12
  27. package/dist/{journeyDiagram-d5636530-ClddNDmR-ywsNZNTr.js → journeyDiagram-4fe6b3dc-qVhc1UAl-_d--6Ls9.js} +42 -42
  28. package/dist/katex-BQC_klMa-CaeA20wX.js +11636 -0
  29. package/dist/{latex-QX-FNvxY-DfqkUAVR.js → latex-9g43iAzl-B3VseW3K.js} +1 -1
  30. package/dist/{layout-Cz0dAJah-C3YaSszT.js → layout-DcWyZN_J-vui7Gviz.js} +132 -132
  31. package/dist/{line-BCVITS7s-Du1xeoK-.js → line-BeML9Stu-Dy9lL6FR.js} +1 -1
  32. package/dist/{linear-CLHAbj67-1tzRLAFO.js → linear-S-ccJMdE-6xfCU5AQ.js} +35 -35
  33. package/dist/{mindmap-definition-377f8f1f-BwEJ-DVg-DeBewnKQ.js → mindmap-definition-f354de21-DH1Q4t1U-DzFbmWqo.js} +6647 -6414
  34. package/dist/{pieDiagram-b0208e96-Cyz2Kcfu-B1Q8dscS.js → pieDiagram-79897490-BNP6ubu_-6WJB20-7.js} +68 -68
  35. package/dist/{quadrantDiagram-0332be45-CDMkEQj0-D0ioHd_P.js → quadrantDiagram-62f64e94-BwUp7akV-DvMoXd98.js} +2 -2
  36. package/dist/{requirementDiagram-bf7890df-Jk3SQ-Q1-BB9UHuUh.js → requirementDiagram-05bf5f74-N_qzJROT-CrkeOa_P.js} +30 -30
  37. package/dist/{rst-Bm1i8IkK-C9EaDq6g.js → rst-iTJmEY_6-AgWIzPqn.js} +2 -2
  38. package/dist/{ruby-CZZKXaz8-BxaDEkRP.js → ruby-3Bt2I2On--AixRnjJ.js} +1 -1
  39. package/dist/{sankeyDiagram-0acdec17-BJuIUJd_-Ce7q-NNk.js → sankeyDiagram-97764748-bwaduY7g-VneUYt0y.js} +22 -22
  40. package/dist/{sequenceDiagram-c18d009d-B4IxGCEM-DgvEmabG.js → sequenceDiagram-acc0e65c-Bk-fBLta-CsMH0Cqo.js} +917 -884
  41. package/dist/shellscript-DQ1J75ow-DQ1J75ow.js +7 -0
  42. package/dist/{shellsession-BIPXtZci-D6avbCwN.js → shellsession-btSM7PAE-lMmUmCMx.js} +1 -1
  43. package/dist/{stateDiagram-43596fc0-0xEMkbt_-jFUk_xdU.js → stateDiagram-0ff1cf1a-Bi3BTd4c-qFbxEDNM.js} +5 -5
  44. package/dist/{stateDiagram-v2-2ead4f9c-DS4afpcC-jDCqPtGk.js → stateDiagram-v2-9a9d610d-IejNE6-r-bIvS4iK_.js} +12 -12
  45. package/dist/{styles-7383a064-C7WyH3qz-B1ftH-y8.js → styles-3ed67cfa-BaFO0Ztt-yz8KrlaH.js} +140 -137
  46. package/dist/{styles-6860f46c-ZdhsT5S9-Du_QdneE.js → styles-991ebdfc-D4EpkGAf-B-Xwx8uG.js} +19 -19
  47. package/dist/{styles-b2c874b6-BFg-Nblp-B0z_umAE.js → styles-d20c7d72-DqCTX9VL-CceYqMjq.js} +24 -24
  48. package/dist/{svgDrawCommon-0ee1b4e9-CpOZq9bS-BwyJFwu6.js → svgDrawCommon-5ccd53ef-C-vBitUh-C3LZR4L9.js} +4 -4
  49. package/dist/{timeline-definition-d977decf-BqZwyTB6-qFhObMdA.js → timeline-definition-fea2a41d-Bd7A9rUe-DzZgbnY-.js} +2 -2
  50. package/dist/{twig-B_Gr-ODl-Cl9Q0GWo.js → twig-Dcp9VbaI-FN48_KCA.js} +1 -1
  51. package/dist/{xychartDiagram-e50adddc-C1fuuOEQ-DHvZ99O1.js → xychartDiagram-ab372869-3O-Pt-l7-P2dDKl4d.js} +30 -30
  52. package/package.json +2 -2
  53. package/dist/arc-C2t0ExPw-DLpexKUK.js +0 -86
  54. package/dist/channel-DXyvEer2-Do9TwFFf.js +0 -5
  55. package/dist/gitGraphDiagram-b9d81de9-D1rNIGL0-DDkwKLsk.js +0 -1262
  56. package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +0 -7
@@ -1,5 +1,5 @@
1
- import { av as Ne, aw as Ve, ax as Ge, ay as Ze, az as me, aA as R, aB as ye, c as wt, s as Cn, g as Dn, v as _n, x as Sn, b as Mn, a as $n, aC as An, z as Yn, m as Fn, l as Zt, h as Pt, i as Un, j as Ln, y as En, aD as Jt, aE as On } from "./index-Bh6WVkCI.js";
2
- import { Z as In, X as Hn, O as Wn, _ as zn, w as Me } from "./linear-CLHAbj67-1tzRLAFO.js";
1
+ import { aw as Ne, ax as Ve, ay as Ge, az as Ze, aA as me, aB as R, aC as ye, c as Ct, s as Cn, g as Dn, x as _n, y as Mn, b as Sn, a as $n, aD as Yn, A as An, m as Fn, l as Zt, h as Pt, i as Un, j as Ln, z as En, aE as Jt, aF as On } from "./index-3vhKKQrV.js";
2
+ import { Z as In, X as Hn, O as Wn, _ as zn, w as Se } from "./linear-S-ccJMdE-6xfCU5AQ.js";
3
3
  import { t as Pn } from "./init-DjUOC4st-C8Nwz6AJ.js";
4
4
  function Bn(t, e) {
5
5
  let n;
@@ -45,41 +45,41 @@ function Xn() {
45
45
  return !this.__axis;
46
46
  }
47
47
  function qe(t, e) {
48
- var n = [], r = null, i = null, s = 6, l = 6, g = 3, M = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, m = t === Nt || t === Bt ? -1 : 1, D = t === Bt || t === Rt ? "x" : "y", $ = t === Nt || t === le ? Gn : Zn;
49
- function w(v) {
50
- var V = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), h = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Vn), F = Math.max(s, 0) + g, W = e.range(), H = +W[0] + M, B = +W[W.length - 1] + M, N = (e.bandwidth ? jn : qn)(e.copy(), M), X = v.selection ? v.selection() : v, b = X.selectAll(".domain").data([null]), L = X.selectAll(".tick").data(V, e).order(), p = L.exit(), S = L.enter().append("g").attr("class", "tick"), _ = L.select("line"), k = L.select("text");
51
- b = b.merge(b.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), L = L.merge(S), _ = _.merge(S.append("line").attr("stroke", "currentColor").attr(D + "2", m * s)), k = k.merge(S.append("text").attr("fill", "currentColor").attr(D, m * F).attr("dy", t === Nt ? "0em" : t === le ? "0.71em" : "0.32em")), v !== X && (b = b.transition(v), L = L.transition(v), _ = _.transition(v), k = k.transition(v), p = p.transition(v).attr("opacity", $e).attr("transform", function(o) {
52
- return isFinite(o = N(o)) ? $(o + M) : this.getAttribute("transform");
53
- }), S.attr("opacity", $e).attr("transform", function(o) {
48
+ var n = [], r = null, i = null, s = 6, l = 6, m = 3, M = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, h = t === Nt || t === Bt ? -1 : 1, w = t === Bt || t === Rt ? "x" : "y", S = t === Nt || t === le ? Gn : Zn;
49
+ function v(b) {
50
+ var V = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), g = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Vn), F = Math.max(s, 0) + m, W = e.range(), H = +W[0] + M, B = +W[W.length - 1] + M, N = (e.bandwidth ? jn : qn)(e.copy(), M), X = b.selection ? b.selection() : b, x = X.selectAll(".domain").data([null]), L = X.selectAll(".tick").data(V, e).order(), k = L.exit(), $ = L.enter().append("g").attr("class", "tick"), _ = L.select("line"), p = L.select("text");
51
+ x = x.merge(x.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), L = L.merge($), _ = _.merge($.append("line").attr("stroke", "currentColor").attr(w + "2", h * s)), p = p.merge($.append("text").attr("fill", "currentColor").attr(w, h * F).attr("dy", t === Nt ? "0em" : t === le ? "0.71em" : "0.32em")), b !== X && (x = x.transition(b), L = L.transition(b), _ = _.transition(b), p = p.transition(b), k = k.transition(b).attr("opacity", $e).attr("transform", function(o) {
52
+ return isFinite(o = N(o)) ? S(o + M) : this.getAttribute("transform");
53
+ }), $.attr("opacity", $e).attr("transform", function(o) {
54
54
  var f = this.parentNode.__axis;
55
- return $((f && isFinite(f = f(o)) ? f : N(o)) + M);
56
- })), p.remove(), b.attr("d", t === Bt || t === Rt ? l ? "M" + m * l + "," + H + "H" + M + "V" + B + "H" + m * l : "M" + M + "," + H + "V" + B : l ? "M" + H + "," + m * l + "V" + M + "H" + B + "V" + m * l : "M" + H + "," + M + "H" + B), L.attr("opacity", 1).attr("transform", function(o) {
57
- return $(N(o) + M);
58
- }), _.attr(D + "2", m * s), k.attr(D, m * F).text(h), X.filter(Xn).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Rt ? "start" : t === Bt ? "end" : "middle"), X.each(function() {
55
+ return S((f && isFinite(f = f(o)) ? f : N(o)) + M);
56
+ })), k.remove(), x.attr("d", t === Bt || t === Rt ? l ? "M" + h * l + "," + H + "H" + M + "V" + B + "H" + h * l : "M" + M + "," + H + "V" + B : l ? "M" + H + "," + h * l + "V" + M + "H" + B + "V" + h * l : "M" + H + "," + M + "H" + B), L.attr("opacity", 1).attr("transform", function(o) {
57
+ return S(N(o) + M);
58
+ }), _.attr(w + "2", h * s), p.attr(w, h * F).text(g), X.filter(Xn).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Rt ? "start" : t === Bt ? "end" : "middle"), X.each(function() {
59
59
  this.__axis = N;
60
60
  });
61
61
  }
62
- return w.scale = function(v) {
63
- return arguments.length ? (e = v, w) : e;
64
- }, w.ticks = function() {
65
- return n = Array.from(arguments), w;
66
- }, w.tickArguments = function(v) {
67
- return arguments.length ? (n = v == null ? [] : Array.from(v), w) : n.slice();
68
- }, w.tickValues = function(v) {
69
- return arguments.length ? (r = v == null ? null : Array.from(v), w) : r && r.slice();
70
- }, w.tickFormat = function(v) {
71
- return arguments.length ? (i = v, w) : i;
72
- }, w.tickSize = function(v) {
73
- return arguments.length ? (s = l = +v, w) : s;
74
- }, w.tickSizeInner = function(v) {
75
- return arguments.length ? (s = +v, w) : s;
76
- }, w.tickSizeOuter = function(v) {
77
- return arguments.length ? (l = +v, w) : l;
78
- }, w.tickPadding = function(v) {
79
- return arguments.length ? (g = +v, w) : g;
80
- }, w.offset = function(v) {
81
- return arguments.length ? (M = +v, w) : M;
82
- }, w;
62
+ return v.scale = function(b) {
63
+ return arguments.length ? (e = b, v) : e;
64
+ }, v.ticks = function() {
65
+ return n = Array.from(arguments), v;
66
+ }, v.tickArguments = function(b) {
67
+ return arguments.length ? (n = b == null ? [] : Array.from(b), v) : n.slice();
68
+ }, v.tickValues = function(b) {
69
+ return arguments.length ? (r = b == null ? null : Array.from(b), v) : r && r.slice();
70
+ }, v.tickFormat = function(b) {
71
+ return arguments.length ? (i = b, v) : i;
72
+ }, v.tickSize = function(b) {
73
+ return arguments.length ? (s = l = +b, v) : s;
74
+ }, v.tickSizeInner = function(b) {
75
+ return arguments.length ? (s = +b, v) : s;
76
+ }, v.tickSizeOuter = function(b) {
77
+ return arguments.length ? (l = +b, v) : l;
78
+ }, v.tickPadding = function(b) {
79
+ return arguments.length ? (m = +b, v) : m;
80
+ }, v.offset = function(b) {
81
+ return arguments.length ? (M = +b, v) : M;
82
+ }, v;
83
83
  }
84
84
  function Qn(t) {
85
85
  return qe(Nt, t);
@@ -87,13 +87,13 @@ function Qn(t) {
87
87
  function Kn(t) {
88
88
  return qe(le, t);
89
89
  }
90
- const Jn = Math.PI / 180, Rn = 180 / Math.PI, qt = 18, je = 0.96422, Xe = 1, Qe = 0.82521, Ke = 4 / 29, Ct = 6 / 29, Je = 3 * Ct * Ct, tr = Ct * Ct * Ct;
90
+ const Jn = Math.PI / 180, Rn = 180 / Math.PI, qt = 18, je = 0.96422, Xe = 1, Qe = 0.82521, Ke = 4 / 29, Dt = 6 / 29, Je = 3 * Dt * Dt, tr = Dt * Dt * Dt;
91
91
  function Re(t) {
92
92
  if (t instanceof it)
93
93
  return new it(t.l, t.a, t.b, t.opacity);
94
94
  if (t instanceof ct)
95
95
  return tn(t);
96
- t instanceof Ge || (t = An(t));
96
+ t instanceof Ge || (t = Yn(t));
97
97
  var e = re(t.r), n = re(t.g), r = re(t.b), i = te((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / Xe), s, l;
98
98
  return e === n && n === r ? s = l = i : (s = te((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / je), l = te((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Qe)), new it(116 * i - 16, 500 * (s - i), 200 * (i - l), t.opacity);
99
99
  }
@@ -124,7 +124,7 @@ function te(t) {
124
124
  return t > tr ? Math.pow(t, 1 / 3) : t / Je + Ke;
125
125
  }
126
126
  function ee(t) {
127
- return t > Ct ? t * t * t : Je * (t - Ke);
127
+ return t > Dt ? t * t * t : Je * (t - Ke);
128
128
  }
129
129
  function ne(t) {
130
130
  return 255 * (t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055);
@@ -166,8 +166,8 @@ Ne(ct, ue, Ve(Ze, {
166
166
  function rr(t) {
167
167
  return function(e, n) {
168
168
  var r = t((e = ue(e)).h, (n = ue(n)).h), i = Jt(e.c, n.c), s = Jt(e.l, n.l), l = Jt(e.opacity, n.opacity);
169
- return function(g) {
170
- return e.h = r(g), e.c = i(g), e.l = s(g), e.opacity = l(g), e + "";
169
+ return function(m) {
170
+ return e.h = r(m), e.c = i(m), e.l = s(m), e.opacity = l(m), e + "";
171
171
  };
172
172
  };
173
173
  }
@@ -183,44 +183,44 @@ function K(t, e, n, r) {
183
183
  return t(s = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+s)), s;
184
184
  }
185
185
  return i.floor = (s) => (t(s = /* @__PURE__ */ new Date(+s)), s), i.ceil = (s) => (t(s = new Date(s - 1)), e(s, 1), t(s), s), i.round = (s) => {
186
- const l = i(s), g = i.ceil(s);
187
- return s - l < g - s ? l : g;
188
- }, i.offset = (s, l) => (e(s = /* @__PURE__ */ new Date(+s), l == null ? 1 : Math.floor(l)), s), i.range = (s, l, g) => {
186
+ const l = i(s), m = i.ceil(s);
187
+ return s - l < m - s ? l : m;
188
+ }, i.offset = (s, l) => (e(s = /* @__PURE__ */ new Date(+s), l == null ? 1 : Math.floor(l)), s), i.range = (s, l, m) => {
189
189
  const M = [];
190
- if (s = i.ceil(s), g = g == null ? 1 : Math.floor(g), !(s < l) || !(g > 0))
190
+ if (s = i.ceil(s), m = m == null ? 1 : Math.floor(m), !(s < l) || !(m > 0))
191
191
  return M;
192
- let m;
192
+ let h;
193
193
  do
194
- M.push(m = /* @__PURE__ */ new Date(+s)), e(s, g), t(s);
195
- while (m < s && s < l);
194
+ M.push(h = /* @__PURE__ */ new Date(+s)), e(s, m), t(s);
195
+ while (h < s && s < l);
196
196
  return M;
197
197
  }, i.filter = (s) => K((l) => {
198
198
  if (l >= l)
199
199
  for (; t(l), !s(l); )
200
200
  l.setTime(l - 1);
201
- }, (l, g) => {
201
+ }, (l, m) => {
202
202
  if (l >= l)
203
- if (g < 0)
204
- for (; ++g <= 0; )
203
+ if (m < 0)
204
+ for (; ++m <= 0; )
205
205
  for (; e(l, -1), !s(l); )
206
206
  ;
207
207
  else
208
- for (; --g >= 0; )
208
+ for (; --m >= 0; )
209
209
  for (; e(l, 1), !s(l); )
210
210
  ;
211
211
  }), n && (i.count = (s, l) => (ie.setTime(+s), se.setTime(+l), t(ie), t(se), Math.floor(n(ie, se))), i.every = (s) => (s = Math.floor(s), !isFinite(s) || !(s > 0) ? null : s > 1 ? i.filter(r ? (l) => r(l) % s === 0 : (l) => i.count(0, l) % s === 0) : i)), i;
212
212
  }
213
- const _t = K(() => {
213
+ const Mt = K(() => {
214
214
  }, (t, e) => {
215
215
  t.setTime(+t + e);
216
216
  }, (t, e) => e - t);
217
- _t.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? K((e) => {
217
+ Mt.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? K((e) => {
218
218
  e.setTime(Math.floor(e / t) * t);
219
219
  }, (e, n) => {
220
220
  e.setTime(+e + n * t);
221
- }, (e, n) => (n - e) / t) : _t);
222
- _t.range;
223
- const lt = 1e3, et = lt * 60, ut = et * 60, dt = ut * 24, pe = dt * 7, Ae = dt * 30, ae = dt * 365, gt = K((t) => {
221
+ }, (e, n) => (n - e) / t) : Mt);
222
+ Mt.range;
223
+ const lt = 1e3, et = lt * 60, ut = et * 60, dt = ut * 24, ke = dt * 7, Ye = dt * 30, ae = dt * 365, gt = K((t) => {
224
224
  t.setTime(t - t.getMilliseconds());
225
225
  }, (t, e) => {
226
226
  t.setTime(+t + e * lt);
@@ -250,19 +250,19 @@ const or = K((t) => {
250
250
  t.setTime(+t + e * ut);
251
251
  }, (t, e) => (e - t) / ut, (t) => t.getUTCHours());
252
252
  or.range;
253
- const pt = K(
253
+ const kt = K(
254
254
  (t) => t.setHours(0, 0, 0, 0),
255
255
  (t, e) => t.setDate(t.getDate() + e),
256
256
  (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * et) / dt,
257
257
  (t) => t.getDate() - 1
258
258
  );
259
- pt.range;
260
- const ke = K((t) => {
259
+ kt.range;
260
+ const pe = K((t) => {
261
261
  t.setUTCHours(0, 0, 0, 0);
262
262
  }, (t, e) => {
263
263
  t.setUTCDate(t.getUTCDate() + e);
264
264
  }, (t, e) => (e - t) / dt, (t) => t.getUTCDate() - 1);
265
- ke.range;
265
+ pe.range;
266
266
  const cr = K((t) => {
267
267
  t.setUTCHours(0, 0, 0, 0);
268
268
  }, (t, e) => {
@@ -274,14 +274,14 @@ function vt(t) {
274
274
  e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
275
275
  }, (e, n) => {
276
276
  e.setDate(e.getDate() + n * 7);
277
- }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * et) / pe);
277
+ }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * et) / ke);
278
278
  }
279
- const It = vt(0), Et = vt(1), en = vt(2), nn = vt(3), kt = vt(4), rn = vt(5), sn = vt(6);
279
+ const It = vt(0), Et = vt(1), en = vt(2), nn = vt(3), pt = vt(4), rn = vt(5), sn = vt(6);
280
280
  It.range;
281
281
  Et.range;
282
282
  en.range;
283
283
  nn.range;
284
- kt.range;
284
+ pt.range;
285
285
  rn.range;
286
286
  sn.range;
287
287
  function bt(t) {
@@ -289,7 +289,7 @@ function bt(t) {
289
289
  e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
290
290
  }, (e, n) => {
291
291
  e.setUTCDate(e.getUTCDate() + n * 7);
292
- }, (e, n) => (n - e) / pe);
292
+ }, (e, n) => (n - e) / ke);
293
293
  }
294
294
  const an = bt(0), jt = bt(1), lr = bt(2), ur = bt(3), St = bt(4), dr = bt(5), fr = bt(6);
295
295
  an.range;
@@ -349,29 +349,29 @@ function gr(t, e, n, r, i, s) {
349
349
  [i, 12, 12 * ut],
350
350
  [r, 1, dt],
351
351
  [r, 2, 2 * dt],
352
- [n, 1, pe],
353
- [e, 1, Ae],
354
- [e, 3, 3 * Ae],
352
+ [n, 1, ke],
353
+ [e, 1, Ye],
354
+ [e, 3, 3 * Ye],
355
355
  [t, 1, ae]
356
356
  ];
357
- function g(m, D, $) {
358
- const w = D < m;
359
- w && ([m, D] = [D, m]);
360
- const v = $ && typeof $.range == "function" ? $ : M(m, D, $), V = v ? v.range(m, +D + 1) : [];
361
- return w ? V.reverse() : V;
362
- }
363
- function M(m, D, $) {
364
- const w = Math.abs(D - m) / $, v = zn(([, , F]) => F).right(l, w);
365
- if (v === l.length)
366
- return t.every(Me(m / ae, D / ae, $));
367
- if (v === 0)
368
- return _t.every(Math.max(Me(m, D, $), 1));
369
- const [V, h] = l[w / l[v - 1][2] < l[v][2] / w ? v - 1 : v];
370
- return V.every(h);
371
- }
372
- return [g, M];
373
- }
374
- const [mr, yr] = gr(ft, Ot, It, pt, Lt, Ut);
357
+ function m(h, w, S) {
358
+ const v = w < h;
359
+ v && ([h, w] = [w, h]);
360
+ const b = S && typeof S.range == "function" ? S : M(h, w, S), V = b ? b.range(h, +w + 1) : [];
361
+ return v ? V.reverse() : V;
362
+ }
363
+ function M(h, w, S) {
364
+ const v = Math.abs(w - h) / S, b = zn(([, , F]) => F).right(l, v);
365
+ if (b === l.length)
366
+ return t.every(Se(h / ae, w / ae, S));
367
+ if (b === 0)
368
+ return Mt.every(Math.max(Se(h, w, S), 1));
369
+ const [V, g] = l[v / l[b - 1][2] < l[b][2] / v ? b - 1 : b];
370
+ return V.every(g);
371
+ }
372
+ return [m, M];
373
+ }
374
+ const [mr, yr] = gr(ft, Ot, It, kt, Lt, Ut);
375
375
  function oe(t) {
376
376
  if (0 <= t.y && t.y < 100) {
377
377
  var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
@@ -386,14 +386,14 @@ function ce(t) {
386
386
  }
387
387
  return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
388
388
  }
389
- function At(t, e, n) {
389
+ function Yt(t, e, n) {
390
390
  return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
391
391
  }
392
- function pr(t) {
393
- var e = t.dateTime, n = t.date, r = t.time, i = t.periods, s = t.days, l = t.shortDays, g = t.months, M = t.shortMonths, m = Yt(i), D = Ft(i), $ = Yt(s), w = Ft(s), v = Yt(l), V = Ft(l), h = Yt(g), F = Ft(g), W = Yt(M), H = Ft(M), B = {
392
+ function kr(t) {
393
+ var e = t.dateTime, n = t.date, r = t.time, i = t.periods, s = t.days, l = t.shortDays, m = t.months, M = t.shortMonths, h = At(i), w = Ft(i), S = At(s), v = Ft(s), b = At(l), V = Ft(l), g = At(m), F = Ft(m), W = At(M), H = Ft(M), B = {
394
394
  a: O,
395
395
  A: a,
396
- b: C,
396
+ b: D,
397
397
  B: E,
398
398
  c: null,
399
399
  d: Oe,
@@ -425,7 +425,7 @@ function pr(t) {
425
425
  "%": He
426
426
  }, N = {
427
427
  a: G,
428
- A: Y,
428
+ A,
429
429
  b: tt,
430
430
  B: st,
431
431
  c: null,
@@ -458,7 +458,7 @@ function pr(t) {
458
458
  "%": He
459
459
  }, X = {
460
460
  a: _,
461
- A: k,
461
+ A: p,
462
462
  b: o,
463
463
  B: f,
464
464
  c: u,
@@ -471,13 +471,13 @@ function pr(t) {
471
471
  I: Ee,
472
472
  j: $r,
473
473
  L: Fr,
474
- m: Mr,
475
- M: Ar,
476
- p: S,
477
- q: Sr,
474
+ m: Sr,
475
+ M: Yr,
476
+ p: $,
477
+ q: Mr,
478
478
  Q: Er,
479
479
  s: Or,
480
- S: Yr,
480
+ S: Ar,
481
481
  u: xr,
482
482
  U: wr,
483
483
  V: Cr,
@@ -490,73 +490,73 @@ function pr(t) {
490
490
  Z: _r,
491
491
  "%": Lr
492
492
  };
493
- B.x = b(n, B), B.X = b(r, B), B.c = b(e, B), N.x = b(n, N), N.X = b(r, N), N.c = b(e, N);
494
- function b(y, x) {
495
- return function(A) {
493
+ B.x = x(n, B), B.X = x(r, B), B.c = x(e, B), N.x = x(n, N), N.X = x(r, N), N.c = x(e, N);
494
+ function x(y, C) {
495
+ return function(Y) {
496
496
  var d = [], q = -1, I = 0, j = y.length, Z, nt, yt;
497
- for (A instanceof Date || (A = /* @__PURE__ */ new Date(+A)); ++q < j; )
498
- y.charCodeAt(q) === 37 && (d.push(y.slice(I, q)), (nt = Ye[Z = y.charAt(++q)]) != null ? Z = y.charAt(++q) : nt = Z === "e" ? " " : "0", (yt = x[Z]) && (Z = yt(A, nt)), d.push(Z), I = q + 1);
497
+ for (Y instanceof Date || (Y = /* @__PURE__ */ new Date(+Y)); ++q < j; )
498
+ y.charCodeAt(q) === 37 && (d.push(y.slice(I, q)), (nt = Ae[Z = y.charAt(++q)]) != null ? Z = y.charAt(++q) : nt = Z === "e" ? " " : "0", (yt = C[Z]) && (Z = yt(Y, nt)), d.push(Z), I = q + 1);
499
499
  return d.push(y.slice(I, q)), d.join("");
500
500
  };
501
501
  }
502
- function L(y, x) {
503
- return function(A) {
504
- var d = At(1900, void 0, 1), q = p(d, y, A += "", 0), I, j;
505
- if (q != A.length)
502
+ function L(y, C) {
503
+ return function(Y) {
504
+ var d = Yt(1900, void 0, 1), q = k(d, y, Y += "", 0), I, j;
505
+ if (q != Y.length)
506
506
  return null;
507
507
  if ("Q" in d)
508
508
  return new Date(d.Q);
509
509
  if ("s" in d)
510
510
  return new Date(d.s * 1e3 + ("L" in d ? d.L : 0));
511
- if (x && !("Z" in d) && (d.Z = 0), "p" in d && (d.H = d.H % 12 + d.p * 12), d.m === void 0 && (d.m = "q" in d ? d.q : 0), "V" in d) {
511
+ if (C && !("Z" in d) && (d.Z = 0), "p" in d && (d.H = d.H % 12 + d.p * 12), d.m === void 0 && (d.m = "q" in d ? d.q : 0), "V" in d) {
512
512
  if (d.V < 1 || d.V > 53)
513
513
  return null;
514
- "w" in d || (d.w = 1), "Z" in d ? (I = ce(At(d.y, 0, 1)), j = I.getUTCDay(), I = j > 4 || j === 0 ? jt.ceil(I) : jt(I), I = ke.offset(I, (d.V - 1) * 7), d.y = I.getUTCFullYear(), d.m = I.getUTCMonth(), d.d = I.getUTCDate() + (d.w + 6) % 7) : (I = oe(At(d.y, 0, 1)), j = I.getDay(), I = j > 4 || j === 0 ? Et.ceil(I) : Et(I), I = pt.offset(I, (d.V - 1) * 7), d.y = I.getFullYear(), d.m = I.getMonth(), d.d = I.getDate() + (d.w + 6) % 7);
514
+ "w" in d || (d.w = 1), "Z" in d ? (I = ce(Yt(d.y, 0, 1)), j = I.getUTCDay(), I = j > 4 || j === 0 ? jt.ceil(I) : jt(I), I = pe.offset(I, (d.V - 1) * 7), d.y = I.getUTCFullYear(), d.m = I.getUTCMonth(), d.d = I.getUTCDate() + (d.w + 6) % 7) : (I = oe(Yt(d.y, 0, 1)), j = I.getDay(), I = j > 4 || j === 0 ? Et.ceil(I) : Et(I), I = kt.offset(I, (d.V - 1) * 7), d.y = I.getFullYear(), d.m = I.getMonth(), d.d = I.getDate() + (d.w + 6) % 7);
515
515
  } else
516
- ("W" in d || "U" in d) && ("w" in d || (d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0), j = "Z" in d ? ce(At(d.y, 0, 1)).getUTCDay() : oe(At(d.y, 0, 1)).getDay(), d.m = 0, d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (j + 5) % 7 : d.w + d.U * 7 - (j + 6) % 7);
516
+ ("W" in d || "U" in d) && ("w" in d || (d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0), j = "Z" in d ? ce(Yt(d.y, 0, 1)).getUTCDay() : oe(Yt(d.y, 0, 1)).getDay(), d.m = 0, d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (j + 5) % 7 : d.w + d.U * 7 - (j + 6) % 7);
517
517
  return "Z" in d ? (d.H += d.Z / 100 | 0, d.M += d.Z % 100, ce(d)) : oe(d);
518
518
  };
519
519
  }
520
- function p(y, x, A, d) {
521
- for (var q = 0, I = x.length, j = A.length, Z, nt; q < I; ) {
520
+ function k(y, C, Y, d) {
521
+ for (var q = 0, I = C.length, j = Y.length, Z, nt; q < I; ) {
522
522
  if (d >= j)
523
523
  return -1;
524
- if (Z = x.charCodeAt(q++), Z === 37) {
525
- if (Z = x.charAt(q++), nt = X[Z in Ye ? x.charAt(q++) : Z], !nt || (d = nt(y, A, d)) < 0)
524
+ if (Z = C.charCodeAt(q++), Z === 37) {
525
+ if (Z = C.charAt(q++), nt = X[Z in Ae ? C.charAt(q++) : Z], !nt || (d = nt(y, Y, d)) < 0)
526
526
  return -1;
527
- } else if (Z != A.charCodeAt(d++))
527
+ } else if (Z != Y.charCodeAt(d++))
528
528
  return -1;
529
529
  }
530
530
  return d;
531
531
  }
532
- function S(y, x, A) {
533
- var d = m.exec(x.slice(A));
534
- return d ? (y.p = D.get(d[0].toLowerCase()), A + d[0].length) : -1;
532
+ function $(y, C, Y) {
533
+ var d = h.exec(C.slice(Y));
534
+ return d ? (y.p = w.get(d[0].toLowerCase()), Y + d[0].length) : -1;
535
535
  }
536
- function _(y, x, A) {
537
- var d = v.exec(x.slice(A));
538
- return d ? (y.w = V.get(d[0].toLowerCase()), A + d[0].length) : -1;
536
+ function _(y, C, Y) {
537
+ var d = b.exec(C.slice(Y));
538
+ return d ? (y.w = V.get(d[0].toLowerCase()), Y + d[0].length) : -1;
539
539
  }
540
- function k(y, x, A) {
541
- var d = $.exec(x.slice(A));
542
- return d ? (y.w = w.get(d[0].toLowerCase()), A + d[0].length) : -1;
540
+ function p(y, C, Y) {
541
+ var d = S.exec(C.slice(Y));
542
+ return d ? (y.w = v.get(d[0].toLowerCase()), Y + d[0].length) : -1;
543
543
  }
544
- function o(y, x, A) {
545
- var d = W.exec(x.slice(A));
546
- return d ? (y.m = H.get(d[0].toLowerCase()), A + d[0].length) : -1;
544
+ function o(y, C, Y) {
545
+ var d = W.exec(C.slice(Y));
546
+ return d ? (y.m = H.get(d[0].toLowerCase()), Y + d[0].length) : -1;
547
547
  }
548
- function f(y, x, A) {
549
- var d = h.exec(x.slice(A));
550
- return d ? (y.m = F.get(d[0].toLowerCase()), A + d[0].length) : -1;
548
+ function f(y, C, Y) {
549
+ var d = g.exec(C.slice(Y));
550
+ return d ? (y.m = F.get(d[0].toLowerCase()), Y + d[0].length) : -1;
551
551
  }
552
- function u(y, x, A) {
553
- return p(y, e, x, A);
552
+ function u(y, C, Y) {
553
+ return k(y, e, C, Y);
554
554
  }
555
- function T(y, x, A) {
556
- return p(y, n, x, A);
555
+ function T(y, C, Y) {
556
+ return k(y, n, C, Y);
557
557
  }
558
- function c(y, x, A) {
559
- return p(y, r, x, A);
558
+ function c(y, C, Y) {
559
+ return k(y, r, C, Y);
560
560
  }
561
561
  function O(y) {
562
562
  return l[y.getDay()];
@@ -564,11 +564,11 @@ function pr(t) {
564
564
  function a(y) {
565
565
  return s[y.getDay()];
566
566
  }
567
- function C(y) {
567
+ function D(y) {
568
568
  return M[y.getMonth()];
569
569
  }
570
570
  function E(y) {
571
- return g[y.getMonth()];
571
+ return m[y.getMonth()];
572
572
  }
573
573
  function P(y) {
574
574
  return i[+(y.getHours() >= 12)];
@@ -579,14 +579,14 @@ function pr(t) {
579
579
  function G(y) {
580
580
  return l[y.getUTCDay()];
581
581
  }
582
- function Y(y) {
582
+ function A(y) {
583
583
  return s[y.getUTCDay()];
584
584
  }
585
585
  function tt(y) {
586
586
  return M[y.getUTCMonth()];
587
587
  }
588
588
  function st(y) {
589
- return g[y.getUTCMonth()];
589
+ return m[y.getUTCMonth()];
590
590
  }
591
591
  function ht(y) {
592
592
  return i[+(y.getUTCHours() >= 12)];
@@ -596,32 +596,32 @@ function pr(t) {
596
596
  }
597
597
  return {
598
598
  format: function(y) {
599
- var x = b(y += "", B);
600
- return x.toString = function() {
599
+ var C = x(y += "", B);
600
+ return C.toString = function() {
601
601
  return y;
602
- }, x;
602
+ }, C;
603
603
  },
604
604
  parse: function(y) {
605
- var x = L(y += "", !1);
606
- return x.toString = function() {
605
+ var C = L(y += "", !1);
606
+ return C.toString = function() {
607
607
  return y;
608
- }, x;
608
+ }, C;
609
609
  },
610
610
  utcFormat: function(y) {
611
- var x = b(y += "", N);
612
- return x.toString = function() {
611
+ var C = x(y += "", N);
612
+ return C.toString = function() {
613
613
  return y;
614
- }, x;
614
+ }, C;
615
615
  },
616
616
  utcParse: function(y) {
617
- var x = L(y += "", !0);
618
- return x.toString = function() {
617
+ var C = L(y += "", !0);
618
+ return C.toString = function() {
619
619
  return y;
620
- }, x;
620
+ }, C;
621
621
  }
622
622
  };
623
623
  }
624
- var Ye = { "-": "", _: " ", 0: "0" }, J = /^\s*\d+/, kr = /^%/, Tr = /[\\^$*+?|[\]().{}]/g;
624
+ var Ae = { "-": "", _: " ", 0: "0" }, J = /^\s*\d+/, pr = /^%/, Tr = /[\\^$*+?|[\]().{}]/g;
625
625
  function z(t, e, n) {
626
626
  var r = t < 0 ? "-" : "", i = (r ? -t : t) + "", s = i.length;
627
627
  return r + (s < n ? new Array(n - s + 1).join(e) + i : i);
@@ -629,7 +629,7 @@ function z(t, e, n) {
629
629
  function vr(t) {
630
630
  return t.replace(Tr, "\\$&");
631
631
  }
632
- function Yt(t) {
632
+ function At(t) {
633
633
  return new RegExp("^(?:" + t.map(vr).join("|") + ")", "i");
634
634
  }
635
635
  function Ft(t) {
@@ -667,11 +667,11 @@ function _r(t, e, n) {
667
667
  var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n, n + 6));
668
668
  return r ? (t.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
669
669
  }
670
- function Sr(t, e, n) {
670
+ function Mr(t, e, n) {
671
671
  var r = J.exec(e.slice(n, n + 1));
672
672
  return r ? (t.q = r[0] * 3 - 3, n + r[0].length) : -1;
673
673
  }
674
- function Mr(t, e, n) {
674
+ function Sr(t, e, n) {
675
675
  var r = J.exec(e.slice(n, n + 2));
676
676
  return r ? (t.m = r[0] - 1, n + r[0].length) : -1;
677
677
  }
@@ -687,11 +687,11 @@ function Ee(t, e, n) {
687
687
  var r = J.exec(e.slice(n, n + 2));
688
688
  return r ? (t.H = +r[0], n + r[0].length) : -1;
689
689
  }
690
- function Ar(t, e, n) {
690
+ function Yr(t, e, n) {
691
691
  var r = J.exec(e.slice(n, n + 2));
692
692
  return r ? (t.M = +r[0], n + r[0].length) : -1;
693
693
  }
694
- function Yr(t, e, n) {
694
+ function Ar(t, e, n) {
695
695
  var r = J.exec(e.slice(n, n + 2));
696
696
  return r ? (t.S = +r[0], n + r[0].length) : -1;
697
697
  }
@@ -704,7 +704,7 @@ function Ur(t, e, n) {
704
704
  return r ? (t.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
705
705
  }
706
706
  function Lr(t, e, n) {
707
- var r = kr.exec(e.slice(n, n + 1));
707
+ var r = pr.exec(e.slice(n, n + 1));
708
708
  return r ? n + r[0].length : -1;
709
709
  }
710
710
  function Er(t, e, n) {
@@ -725,7 +725,7 @@ function Hr(t, e) {
725
725
  return z(t.getHours() % 12 || 12, e, 2);
726
726
  }
727
727
  function Wr(t, e) {
728
- return z(1 + pt.count(ft(t), t), e, 3);
728
+ return z(1 + kt.count(ft(t), t), e, 3);
729
729
  }
730
730
  function on(t, e) {
731
731
  return z(t.getMilliseconds(), e, 3);
@@ -751,10 +751,10 @@ function Gr(t, e) {
751
751
  }
752
752
  function cn(t) {
753
753
  var e = t.getDay();
754
- return e >= 4 || e === 0 ? kt(t) : kt.ceil(t);
754
+ return e >= 4 || e === 0 ? pt(t) : pt.ceil(t);
755
755
  }
756
756
  function Zr(t, e) {
757
- return t = cn(t), z(kt.count(ft(t), t) + (ft(t).getDay() === 4), e, 2);
757
+ return t = cn(t), z(pt.count(ft(t), t) + (ft(t).getDay() === 4), e, 2);
758
758
  }
759
759
  function qr(t) {
760
760
  return t.getDay();
@@ -773,7 +773,7 @@ function Kr(t, e) {
773
773
  }
774
774
  function Jr(t, e) {
775
775
  var n = t.getDay();
776
- return t = n >= 4 || n === 0 ? kt(t) : kt.ceil(t), z(t.getFullYear() % 1e4, e, 4);
776
+ return t = n >= 4 || n === 0 ? pt(t) : pt.ceil(t), z(t.getFullYear() % 1e4, e, 4);
777
777
  }
778
778
  function Rr(t) {
779
779
  var e = t.getTimezoneOffset();
@@ -789,7 +789,7 @@ function ei(t, e) {
789
789
  return z(t.getUTCHours() % 12 || 12, e, 2);
790
790
  }
791
791
  function ni(t, e) {
792
- return z(1 + ke.count(Tt(t), t), e, 3);
792
+ return z(1 + pe.count(Tt(t), t), e, 3);
793
793
  }
794
794
  function ln(t, e) {
795
795
  return z(t.getUTCMilliseconds(), e, 3);
@@ -851,8 +851,8 @@ function We(t) {
851
851
  function ze(t) {
852
852
  return Math.floor(+t / 1e3);
853
853
  }
854
- var xt, Xt;
855
- pi({
854
+ var wt, Xt;
855
+ ki({
856
856
  dateTime: "%x, %X",
857
857
  date: "%-m/%-d/%Y",
858
858
  time: "%-I:%M:%S %p",
@@ -862,38 +862,38 @@ pi({
862
862
  months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
863
863
  shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
864
864
  });
865
- function pi(t) {
866
- return xt = pr(t), Xt = xt.format, xt.parse, xt.utcFormat, xt.utcParse, xt;
867
- }
868
865
  function ki(t) {
866
+ return wt = kr(t), Xt = wt.format, wt.parse, wt.utcFormat, wt.utcParse, wt;
867
+ }
868
+ function pi(t) {
869
869
  return new Date(t);
870
870
  }
871
871
  function Ti(t) {
872
872
  return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
873
873
  }
874
- function dn(t, e, n, r, i, s, l, g, M, m) {
875
- var D = Hn(), $ = D.invert, w = D.domain, v = m(".%L"), V = m(":%S"), h = m("%I:%M"), F = m("%I %p"), W = m("%a %d"), H = m("%b %d"), B = m("%B"), N = m("%Y");
876
- function X(b) {
877
- return (M(b) < b ? v : g(b) < b ? V : l(b) < b ? h : s(b) < b ? F : r(b) < b ? i(b) < b ? W : H : n(b) < b ? B : N)(b);
878
- }
879
- return D.invert = function(b) {
880
- return new Date($(b));
881
- }, D.domain = function(b) {
882
- return arguments.length ? w(Array.from(b, Ti)) : w().map(ki);
883
- }, D.ticks = function(b) {
884
- var L = w();
885
- return t(L[0], L[L.length - 1], b ?? 10);
886
- }, D.tickFormat = function(b, L) {
887
- return L == null ? X : m(L);
888
- }, D.nice = function(b) {
889
- var L = w();
890
- return (!b || typeof b.range != "function") && (b = e(L[0], L[L.length - 1], b ?? 10)), b ? w(sr(L, b)) : D;
891
- }, D.copy = function() {
892
- return Wn(D, dn(t, e, n, r, i, s, l, g, M, m));
893
- }, D;
874
+ function dn(t, e, n, r, i, s, l, m, M, h) {
875
+ var w = Hn(), S = w.invert, v = w.domain, b = h(".%L"), V = h(":%S"), g = h("%I:%M"), F = h("%I %p"), W = h("%a %d"), H = h("%b %d"), B = h("%B"), N = h("%Y");
876
+ function X(x) {
877
+ return (M(x) < x ? b : m(x) < x ? V : l(x) < x ? g : s(x) < x ? F : r(x) < x ? i(x) < x ? W : H : n(x) < x ? B : N)(x);
878
+ }
879
+ return w.invert = function(x) {
880
+ return new Date(S(x));
881
+ }, w.domain = function(x) {
882
+ return arguments.length ? v(Array.from(x, Ti)) : v().map(pi);
883
+ }, w.ticks = function(x) {
884
+ var L = v();
885
+ return t(L[0], L[L.length - 1], x ?? 10);
886
+ }, w.tickFormat = function(x, L) {
887
+ return L == null ? X : h(L);
888
+ }, w.nice = function(x) {
889
+ var L = v();
890
+ return (!x || typeof x.range != "function") && (x = e(L[0], L[L.length - 1], x ?? 10)), x ? v(sr(L, x)) : w;
891
+ }, w.copy = function() {
892
+ return Wn(w, dn(t, e, n, r, i, s, l, m, M, h));
893
+ }, w;
894
894
  }
895
895
  function vi() {
896
- return Pn.apply(dn(mr, yr, ft, Ot, It, pt, Lt, Ut, gt, Xt).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
896
+ return Pn.apply(dn(mr, yr, ft, Ot, It, kt, Lt, Ut, gt, Xt).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
897
897
  }
898
898
  var fn = { exports: {} };
899
899
  (function(t, e) {
@@ -902,23 +902,23 @@ var fn = { exports: {} };
902
902
  })(me, function() {
903
903
  var n = "day";
904
904
  return function(r, i, s) {
905
- var l = function(m) {
906
- return m.add(4 - m.isoWeekday(), n);
907
- }, g = i.prototype;
908
- g.isoWeekYear = function() {
905
+ var l = function(h) {
906
+ return h.add(4 - h.isoWeekday(), n);
907
+ }, m = i.prototype;
908
+ m.isoWeekYear = function() {
909
909
  return l(this).year();
910
- }, g.isoWeek = function(m) {
911
- if (!this.$utils().u(m))
912
- return this.add(7 * (m - this.isoWeek()), n);
913
- var D, $, w, v, V = l(this), h = (D = this.isoWeekYear(), $ = this.$u, w = ($ ? s.utc : s)().year(D).startOf("year"), v = 4 - w.isoWeekday(), w.isoWeekday() > 4 && (v += 7), w.add(v, n));
914
- return V.diff(h, "week") + 1;
915
- }, g.isoWeekday = function(m) {
916
- return this.$utils().u(m) ? this.day() || 7 : this.day(this.day() % 7 ? m : m - 7);
910
+ }, m.isoWeek = function(h) {
911
+ if (!this.$utils().u(h))
912
+ return this.add(7 * (h - this.isoWeek()), n);
913
+ var w, S, v, b, V = l(this), g = (w = this.isoWeekYear(), S = this.$u, v = (S ? s.utc : s)().year(w).startOf("year"), b = 4 - v.isoWeekday(), v.isoWeekday() > 4 && (b += 7), v.add(b, n));
914
+ return V.diff(g, "week") + 1;
915
+ }, m.isoWeekday = function(h) {
916
+ return this.$utils().u(h) ? this.day() || 7 : this.day(this.day() % 7 ? h : h - 7);
917
917
  };
918
- var M = g.startOf;
919
- g.startOf = function(m, D) {
920
- var $ = this.$utils(), w = !!$.u(D) || D;
921
- return $.p(m) === "isoweek" ? w ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : M.bind(this)(m, D);
918
+ var M = m.startOf;
919
+ m.startOf = function(h, w) {
920
+ var S = this.$utils(), v = !!S.u(w) || w;
921
+ return S.p(h) === "isoweek" ? v ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : M.bind(this)(h, w);
922
922
  };
923
923
  };
924
924
  });
@@ -930,118 +930,118 @@ var hn = { exports: {} };
930
930
  (function(n, r) {
931
931
  t.exports = r();
932
932
  })(me, function() {
933
- 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" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d\d/, s = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, g = {}, M = function(h) {
934
- return (h = +h) + (h > 68 ? 1900 : 2e3);
935
- }, m = function(h) {
933
+ 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" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d\d/, s = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, m = {}, M = function(g) {
934
+ return (g = +g) + (g > 68 ? 1900 : 2e3);
935
+ }, h = function(g) {
936
936
  return function(F) {
937
- this[h] = +F;
937
+ this[g] = +F;
938
938
  };
939
- }, D = [/[+-]\d\d:?(\d\d)?|Z/, function(h) {
939
+ }, w = [/[+-]\d\d:?(\d\d)?|Z/, function(g) {
940
940
  (this.zone || (this.zone = {})).offset = function(F) {
941
941
  if (!F || F === "Z")
942
942
  return 0;
943
943
  var W = F.match(/([+-]|\d\d)/g), H = 60 * W[1] + (+W[2] || 0);
944
944
  return H === 0 ? 0 : W[0] === "+" ? -H : H;
945
- }(h);
946
- }], $ = function(h) {
947
- var F = g[h];
945
+ }(g);
946
+ }], S = function(g) {
947
+ var F = m[g];
948
948
  return F && (F.indexOf ? F : F.s.concat(F.f));
949
- }, w = function(h, F) {
950
- var W, H = g.meridiem;
949
+ }, v = function(g, F) {
950
+ var W, H = m.meridiem;
951
951
  if (H) {
952
952
  for (var B = 1; B <= 24; B += 1)
953
- if (h.indexOf(H(B, 0, F)) > -1) {
953
+ if (g.indexOf(H(B, 0, F)) > -1) {
954
954
  W = B > 12;
955
955
  break;
956
956
  }
957
957
  } else
958
- W = h === (F ? "pm" : "PM");
958
+ W = g === (F ? "pm" : "PM");
959
959
  return W;
960
- }, v = { A: [l, function(h) {
961
- this.afternoon = w(h, !1);
962
- }], a: [l, function(h) {
963
- this.afternoon = w(h, !0);
964
- }], S: [/\d/, function(h) {
965
- this.milliseconds = 100 * +h;
966
- }], SS: [i, function(h) {
967
- this.milliseconds = 10 * +h;
968
- }], SSS: [/\d{3}/, function(h) {
969
- this.milliseconds = +h;
970
- }], s: [s, m("seconds")], ss: [s, m("seconds")], m: [s, m("minutes")], mm: [s, m("minutes")], H: [s, m("hours")], h: [s, m("hours")], HH: [s, m("hours")], hh: [s, m("hours")], D: [s, m("day")], DD: [i, m("day")], Do: [l, function(h) {
971
- var F = g.ordinal, W = h.match(/\d+/);
960
+ }, b = { A: [l, function(g) {
961
+ this.afternoon = v(g, !1);
962
+ }], a: [l, function(g) {
963
+ this.afternoon = v(g, !0);
964
+ }], S: [/\d/, function(g) {
965
+ this.milliseconds = 100 * +g;
966
+ }], SS: [i, function(g) {
967
+ this.milliseconds = 10 * +g;
968
+ }], SSS: [/\d{3}/, function(g) {
969
+ this.milliseconds = +g;
970
+ }], s: [s, h("seconds")], ss: [s, h("seconds")], m: [s, h("minutes")], mm: [s, h("minutes")], H: [s, h("hours")], h: [s, h("hours")], HH: [s, h("hours")], hh: [s, h("hours")], D: [s, h("day")], DD: [i, h("day")], Do: [l, function(g) {
971
+ var F = m.ordinal, W = g.match(/\d+/);
972
972
  if (this.day = W[0], F)
973
973
  for (var H = 1; H <= 31; H += 1)
974
- F(H).replace(/\[|\]/g, "") === h && (this.day = H);
975
- }], M: [s, m("month")], MM: [i, m("month")], MMM: [l, function(h) {
976
- var F = $("months"), W = ($("monthsShort") || F.map(function(H) {
974
+ F(H).replace(/\[|\]/g, "") === g && (this.day = H);
975
+ }], M: [s, h("month")], MM: [i, h("month")], MMM: [l, function(g) {
976
+ var F = S("months"), W = (S("monthsShort") || F.map(function(H) {
977
977
  return H.slice(0, 3);
978
- })).indexOf(h) + 1;
978
+ })).indexOf(g) + 1;
979
979
  if (W < 1)
980
980
  throw new Error();
981
981
  this.month = W % 12 || W;
982
- }], MMMM: [l, function(h) {
983
- var F = $("months").indexOf(h) + 1;
982
+ }], MMMM: [l, function(g) {
983
+ var F = S("months").indexOf(g) + 1;
984
984
  if (F < 1)
985
985
  throw new Error();
986
986
  this.month = F % 12 || F;
987
- }], Y: [/[+-]?\d+/, m("year")], YY: [i, function(h) {
988
- this.year = M(h);
989
- }], YYYY: [/\d{4}/, m("year")], Z: D, ZZ: D };
990
- function V(h) {
987
+ }], Y: [/[+-]?\d+/, h("year")], YY: [i, function(g) {
988
+ this.year = M(g);
989
+ }], YYYY: [/\d{4}/, h("year")], Z: w, ZZ: w };
990
+ function V(g) {
991
991
  var F, W;
992
- F = h, W = g && g.formats;
993
- for (var H = (h = F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(S, _, k) {
994
- var o = k && k.toUpperCase();
995
- return _ || W[k] || n[k] || W[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(f, u, T) {
992
+ F = g, W = m && m.formats;
993
+ for (var H = (g = F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function($, _, p) {
994
+ var o = p && p.toUpperCase();
995
+ return _ || W[p] || n[p] || W[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(f, u, T) {
996
996
  return u || T.slice(1);
997
997
  });
998
998
  })).match(r), B = H.length, N = 0; N < B; N += 1) {
999
- var X = H[N], b = v[X], L = b && b[0], p = b && b[1];
1000
- H[N] = p ? { regex: L, parser: p } : X.replace(/^\[|\]$/g, "");
999
+ var X = H[N], x = b[X], L = x && x[0], k = x && x[1];
1000
+ H[N] = k ? { regex: L, parser: k } : X.replace(/^\[|\]$/g, "");
1001
1001
  }
1002
- return function(S) {
1003
- for (var _ = {}, k = 0, o = 0; k < B; k += 1) {
1004
- var f = H[k];
1002
+ return function($) {
1003
+ for (var _ = {}, p = 0, o = 0; p < B; p += 1) {
1004
+ var f = H[p];
1005
1005
  if (typeof f == "string")
1006
1006
  o += f.length;
1007
1007
  else {
1008
- var u = f.regex, T = f.parser, c = S.slice(o), O = u.exec(c)[0];
1009
- T.call(_, O), S = S.replace(O, "");
1008
+ var u = f.regex, T = f.parser, c = $.slice(o), O = u.exec(c)[0];
1009
+ T.call(_, O), $ = $.replace(O, "");
1010
1010
  }
1011
1011
  }
1012
1012
  return function(a) {
1013
- var C = a.afternoon;
1014
- if (C !== void 0) {
1013
+ var D = a.afternoon;
1014
+ if (D !== void 0) {
1015
1015
  var E = a.hours;
1016
- C ? E < 12 && (a.hours += 12) : E === 12 && (a.hours = 0), delete a.afternoon;
1016
+ D ? E < 12 && (a.hours += 12) : E === 12 && (a.hours = 0), delete a.afternoon;
1017
1017
  }
1018
1018
  }(_), _;
1019
1019
  };
1020
1020
  }
1021
- return function(h, F, W) {
1022
- W.p.customParseFormat = !0, h && h.parseTwoDigitYear && (M = h.parseTwoDigitYear);
1021
+ return function(g, F, W) {
1022
+ W.p.customParseFormat = !0, g && g.parseTwoDigitYear && (M = g.parseTwoDigitYear);
1023
1023
  var H = F.prototype, B = H.parse;
1024
1024
  H.parse = function(N) {
1025
- var X = N.date, b = N.utc, L = N.args;
1026
- this.$u = b;
1027
- var p = L[1];
1028
- if (typeof p == "string") {
1029
- var S = L[2] === !0, _ = L[3] === !0, k = S || _, o = L[2];
1030
- _ && (o = L[2]), g = this.$locale(), !S && o && (g = W.Ls[o]), this.$d = function(c, O, a) {
1025
+ var X = N.date, x = N.utc, L = N.args;
1026
+ this.$u = x;
1027
+ var k = L[1];
1028
+ if (typeof k == "string") {
1029
+ var $ = L[2] === !0, _ = L[3] === !0, p = $ || _, o = L[2];
1030
+ _ && (o = L[2]), m = this.$locale(), !$ && o && (m = W.Ls[o]), this.$d = function(c, O, a) {
1031
1031
  try {
1032
1032
  if (["x", "X"].indexOf(O) > -1)
1033
1033
  return new Date((O === "X" ? 1e3 : 1) * c);
1034
- var C = V(O)(c), E = C.year, P = C.month, U = C.day, G = C.hours, Y = C.minutes, tt = C.seconds, st = C.milliseconds, ht = C.zone, mt = /* @__PURE__ */ new Date(), y = U || (E || P ? 1 : mt.getDate()), x = E || mt.getFullYear(), A = 0;
1035
- E && !P || (A = P > 0 ? P - 1 : mt.getMonth());
1036
- var d = G || 0, q = Y || 0, I = tt || 0, j = st || 0;
1037
- return ht ? new Date(Date.UTC(x, A, y, d, q, I, j + 60 * ht.offset * 1e3)) : a ? new Date(Date.UTC(x, A, y, d, q, I, j)) : new Date(x, A, y, d, q, I, j);
1034
+ var D = V(O)(c), E = D.year, P = D.month, U = D.day, G = D.hours, A = D.minutes, tt = D.seconds, st = D.milliseconds, ht = D.zone, mt = /* @__PURE__ */ new Date(), y = U || (E || P ? 1 : mt.getDate()), C = E || mt.getFullYear(), Y = 0;
1035
+ E && !P || (Y = P > 0 ? P - 1 : mt.getMonth());
1036
+ var d = G || 0, q = A || 0, I = tt || 0, j = st || 0;
1037
+ return ht ? new Date(Date.UTC(C, Y, y, d, q, I, j + 60 * ht.offset * 1e3)) : a ? new Date(Date.UTC(C, Y, y, d, q, I, j)) : new Date(C, Y, y, d, q, I, j);
1038
1038
  } catch {
1039
1039
  return /* @__PURE__ */ new Date("");
1040
1040
  }
1041
- }(X, p, b), this.init(), o && o !== !0 && (this.$L = this.locale(o).$L), k && X != this.format(p) && (this.$d = /* @__PURE__ */ new Date("")), g = {};
1042
- } else if (p instanceof Array)
1043
- for (var f = p.length, u = 1; u <= f; u += 1) {
1044
- L[1] = p[u - 1];
1041
+ }(X, k, x), this.init(), o && o !== !0 && (this.$L = this.locale(o).$L), p && X != this.format(k) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
1042
+ } else if (k instanceof Array)
1043
+ for (var f = k.length, u = 1; u <= f; u += 1) {
1044
+ L[1] = k[u - 1];
1045
1045
  var T = W.apply(this, L);
1046
1046
  if (T.isValid()) {
1047
1047
  this.$d = T.$d, this.$L = T.$L, this.init();
@@ -1065,43 +1065,43 @@ var gn = { exports: {} };
1065
1065
  return function(n, r) {
1066
1066
  var i = r.prototype, s = i.format;
1067
1067
  i.format = function(l) {
1068
- var g = this, M = this.$locale();
1068
+ var m = this, M = this.$locale();
1069
1069
  if (!this.isValid())
1070
1070
  return s.bind(this)(l);
1071
- var m = this.$utils(), D = (l || "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($) {
1072
- switch ($) {
1071
+ var h = this.$utils(), w = (l || "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(S) {
1072
+ switch (S) {
1073
1073
  case "Q":
1074
- return Math.ceil((g.$M + 1) / 3);
1074
+ return Math.ceil((m.$M + 1) / 3);
1075
1075
  case "Do":
1076
- return M.ordinal(g.$D);
1076
+ return M.ordinal(m.$D);
1077
1077
  case "gggg":
1078
- return g.weekYear();
1078
+ return m.weekYear();
1079
1079
  case "GGGG":
1080
- return g.isoWeekYear();
1080
+ return m.isoWeekYear();
1081
1081
  case "wo":
1082
- return M.ordinal(g.week(), "W");
1082
+ return M.ordinal(m.week(), "W");
1083
1083
  case "w":
1084
1084
  case "ww":
1085
- return m.s(g.week(), $ === "w" ? 1 : 2, "0");
1085
+ return h.s(m.week(), S === "w" ? 1 : 2, "0");
1086
1086
  case "W":
1087
1087
  case "WW":
1088
- return m.s(g.isoWeek(), $ === "W" ? 1 : 2, "0");
1088
+ return h.s(m.isoWeek(), S === "W" ? 1 : 2, "0");
1089
1089
  case "k":
1090
1090
  case "kk":
1091
- return m.s(String(g.$H === 0 ? 24 : g.$H), $ === "k" ? 1 : 2, "0");
1091
+ return h.s(String(m.$H === 0 ? 24 : m.$H), S === "k" ? 1 : 2, "0");
1092
1092
  case "X":
1093
- return Math.floor(g.$d.getTime() / 1e3);
1093
+ return Math.floor(m.$d.getTime() / 1e3);
1094
1094
  case "x":
1095
- return g.$d.getTime();
1095
+ return m.$d.getTime();
1096
1096
  case "z":
1097
- return "[" + g.offsetName() + "]";
1097
+ return "[" + m.offsetName() + "]";
1098
1098
  case "zzz":
1099
- return "[" + g.offsetName("long") + "]";
1099
+ return "[" + m.offsetName("long") + "]";
1100
1100
  default:
1101
- return $;
1101
+ return S;
1102
1102
  }
1103
1103
  });
1104
- return s.bind(this)(D);
1104
+ return s.bind(this)(w);
1105
1105
  };
1106
1106
  };
1107
1107
  });
@@ -1109,18 +1109,18 @@ var gn = { exports: {} };
1109
1109
  var Di = gn.exports;
1110
1110
  const _i = /* @__PURE__ */ ye(Di);
1111
1111
  var de = function() {
1112
- var t = function(k, o, f, u) {
1113
- for (f = f || {}, u = k.length; u--; f[k[u]] = o)
1112
+ var t = function(p, o, f, u) {
1113
+ for (f = f || {}, u = p.length; u--; f[p[u]] = o)
1114
1114
  ;
1115
1115
  return f;
1116
- }, e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 33, 35, 37], n = [1, 25], r = [1, 26], i = [1, 27], s = [1, 28], l = [1, 29], g = [1, 30], M = [1, 31], m = [1, 9], D = [1, 10], $ = [1, 11], w = [1, 12], v = [1, 13], V = [1, 14], h = [1, 15], F = [1, 16], W = [1, 18], H = [1, 19], B = [1, 20], N = [1, 21], X = [1, 22], b = [1, 24], L = [1, 32], p = {
1116
+ }, e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 33, 35, 37], n = [1, 25], r = [1, 26], i = [1, 27], s = [1, 28], l = [1, 29], m = [1, 30], M = [1, 31], h = [1, 9], w = [1, 10], S = [1, 11], v = [1, 12], b = [1, 13], V = [1, 14], g = [1, 15], F = [1, 16], W = [1, 18], H = [1, 19], B = [1, 20], N = [1, 21], X = [1, 22], x = [1, 24], L = [1, 32], k = {
1117
1117
  trace: function() {
1118
1118
  },
1119
1119
  yy: {},
1120
1120
  symbols_: { error: 2, start: 3, gantt: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NL: 10, weekday: 11, weekday_monday: 12, weekday_tuesday: 13, weekday_wednesday: 14, weekday_thursday: 15, weekday_friday: 16, weekday_saturday: 17, weekday_sunday: 18, dateFormat: 19, inclusiveEndDates: 20, topAxis: 21, axisFormat: 22, tickInterval: 23, excludes: 24, includes: 25, todayMarker: 26, title: 27, acc_title: 28, acc_title_value: 29, acc_descr: 30, acc_descr_value: 31, acc_descr_multiline_value: 32, section: 33, clickStatement: 34, taskTxt: 35, taskData: 36, click: 37, callbackname: 38, callbackargs: 39, href: 40, clickStatementDebug: 41, $accept: 0, $end: 1 },
1121
1121
  terminals_: { 2: "error", 4: "gantt", 6: "EOF", 8: "SPACE", 10: "NL", 12: "weekday_monday", 13: "weekday_tuesday", 14: "weekday_wednesday", 15: "weekday_thursday", 16: "weekday_friday", 17: "weekday_saturday", 18: "weekday_sunday", 19: "dateFormat", 20: "inclusiveEndDates", 21: "topAxis", 22: "axisFormat", 23: "tickInterval", 24: "excludes", 25: "includes", 26: "todayMarker", 27: "title", 28: "acc_title", 29: "acc_title_value", 30: "acc_descr", 31: "acc_descr_value", 32: "acc_descr_multiline_value", 33: "section", 35: "taskTxt", 36: "taskData", 37: "click", 38: "callbackname", 39: "callbackargs", 40: "href" },
1122
1122
  productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 2], [34, 2], [34, 3], [34, 3], [34, 4], [34, 3], [34, 4], [34, 2], [41, 2], [41, 3], [41, 3], [41, 4], [41, 3], [41, 4], [41, 2]],
1123
- performAction: function(k, o, f, u, T, c, O) {
1123
+ performAction: function(p, o, f, u, T, c, O) {
1124
1124
  var a = c.length - 1;
1125
1125
  switch (T) {
1126
1126
  case 1:
@@ -1236,50 +1236,50 @@ var de = function() {
1236
1236
  break;
1237
1237
  }
1238
1238
  },
1239
- 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: r, 14: i, 15: s, 16: l, 17: g, 18: M, 19: m, 20: D, 21: $, 22: w, 23: v, 24: V, 25: h, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: b, 37: L }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 33, 11: 17, 12: n, 13: r, 14: i, 15: s, 16: l, 17: g, 18: M, 19: m, 20: D, 21: $, 22: w, 23: v, 24: V, 25: h, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: b, 37: L }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 15]), t(e, [2, 16]), 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]), { 29: [1, 34] }, { 31: [1, 35] }, t(e, [2, 27]), t(e, [2, 28]), t(e, [2, 29]), { 36: [1, 36] }, 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]), { 38: [1, 37], 40: [1, 38] }, t(e, [2, 4]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 30]), t(e, [2, 31], { 39: [1, 39], 40: [1, 40] }), t(e, [2, 37], { 38: [1, 41] }), t(e, [2, 32], { 40: [1, 42] }), t(e, [2, 33]), t(e, [2, 35], { 39: [1, 43] }), t(e, [2, 34]), t(e, [2, 36])],
1239
+ 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: r, 14: i, 15: s, 16: l, 17: m, 18: M, 19: h, 20: w, 21: S, 22: v, 23: b, 24: V, 25: g, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: x, 37: L }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 33, 11: 17, 12: n, 13: r, 14: i, 15: s, 16: l, 17: m, 18: M, 19: h, 20: w, 21: S, 22: v, 23: b, 24: V, 25: g, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: x, 37: L }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 15]), t(e, [2, 16]), 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]), { 29: [1, 34] }, { 31: [1, 35] }, t(e, [2, 27]), t(e, [2, 28]), t(e, [2, 29]), { 36: [1, 36] }, 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]), { 38: [1, 37], 40: [1, 38] }, t(e, [2, 4]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 30]), t(e, [2, 31], { 39: [1, 39], 40: [1, 40] }), t(e, [2, 37], { 38: [1, 41] }), t(e, [2, 32], { 40: [1, 42] }), t(e, [2, 33]), t(e, [2, 35], { 39: [1, 43] }), t(e, [2, 34]), t(e, [2, 36])],
1240
1240
  defaultActions: {},
1241
- parseError: function(k, o) {
1241
+ parseError: function(p, o) {
1242
1242
  if (o.recoverable)
1243
- this.trace(k);
1243
+ this.trace(p);
1244
1244
  else {
1245
- var f = new Error(k);
1245
+ var f = new Error(p);
1246
1246
  throw f.hash = o, f;
1247
1247
  }
1248
1248
  },
1249
- parse: function(k) {
1250
- var o = this, f = [0], u = [], T = [null], c = [], O = this.table, a = "", C = 0, E = 0, P = 2, U = 1, G = c.slice.call(arguments, 1), Y = Object.create(this.lexer), tt = { yy: {} };
1249
+ parse: function(p) {
1250
+ var o = this, f = [0], u = [], T = [null], c = [], O = this.table, a = "", D = 0, E = 0, P = 2, U = 1, G = c.slice.call(arguments, 1), A = Object.create(this.lexer), tt = { yy: {} };
1251
1251
  for (var st in this.yy)
1252
1252
  Object.prototype.hasOwnProperty.call(this.yy, st) && (tt.yy[st] = this.yy[st]);
1253
- Y.setInput(k, tt.yy), tt.yy.lexer = Y, tt.yy.parser = this, typeof Y.yylloc > "u" && (Y.yylloc = {});
1254
- var ht = Y.yylloc;
1253
+ A.setInput(p, tt.yy), tt.yy.lexer = A, tt.yy.parser = this, typeof A.yylloc > "u" && (A.yylloc = {});
1254
+ var ht = A.yylloc;
1255
1255
  c.push(ht);
1256
- var mt = Y.options && Y.options.ranges;
1256
+ var mt = A.options && A.options.ranges;
1257
1257
  typeof tt.yy.parseError == "function" ? this.parseError = tt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1258
1258
  function y() {
1259
1259
  var at;
1260
- return at = u.pop() || Y.lex() || U, typeof at != "number" && (at instanceof Array && (u = at, at = u.pop()), at = o.symbols_[at] || at), at;
1260
+ return at = u.pop() || A.lex() || U, typeof at != "number" && (at instanceof Array && (u = at, at = u.pop()), at = o.symbols_[at] || at), at;
1261
1261
  }
1262
- for (var x, A, d, q, I = {}, j, Z, nt, yt; ; ) {
1263
- if (A = f[f.length - 1], this.defaultActions[A] ? d = this.defaultActions[A] : ((x === null || typeof x > "u") && (x = y()), d = O[A] && O[A][x]), typeof d > "u" || !d.length || !d[0]) {
1262
+ for (var C, Y, d, q, I = {}, j, Z, nt, yt; ; ) {
1263
+ if (Y = f[f.length - 1], this.defaultActions[Y] ? d = this.defaultActions[Y] : ((C === null || typeof C > "u") && (C = y()), d = O[Y] && O[Y][C]), typeof d > "u" || !d.length || !d[0]) {
1264
1264
  var Kt = "";
1265
1265
  yt = [];
1266
- for (j in O[A])
1266
+ for (j in O[Y])
1267
1267
  this.terminals_[j] && j > P && yt.push("'" + this.terminals_[j] + "'");
1268
- Y.showPosition ? Kt = "Parse error on line " + (C + 1) + `:
1269
- ` + Y.showPosition() + `
1270
- Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt = "Parse error on line " + (C + 1) + ": Unexpected " + (x == U ? "end of input" : "'" + (this.terminals_[x] || x) + "'"), this.parseError(Kt, {
1271
- text: Y.match,
1272
- token: this.terminals_[x] || x,
1273
- line: Y.yylineno,
1268
+ A.showPosition ? Kt = "Parse error on line " + (D + 1) + `:
1269
+ ` + A.showPosition() + `
1270
+ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : Kt = "Parse error on line " + (D + 1) + ": Unexpected " + (C == U ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(Kt, {
1271
+ text: A.match,
1272
+ token: this.terminals_[C] || C,
1273
+ line: A.yylineno,
1274
1274
  loc: ht,
1275
1275
  expected: yt
1276
1276
  });
1277
1277
  }
1278
1278
  if (d[0] instanceof Array && d.length > 1)
1279
- throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + x);
1279
+ throw new Error("Parse Error: multiple actions possible at state: " + Y + ", token: " + C);
1280
1280
  switch (d[0]) {
1281
1281
  case 1:
1282
- f.push(x), T.push(Y.yytext), c.push(Y.yylloc), f.push(d[1]), x = null, E = Y.yyleng, a = Y.yytext, C = Y.yylineno, ht = Y.yylloc;
1282
+ f.push(C), T.push(A.yytext), c.push(A.yylloc), f.push(d[1]), C = null, E = A.yyleng, a = A.yytext, D = A.yylineno, ht = A.yylloc;
1283
1283
  break;
1284
1284
  case 2:
1285
1285
  if (Z = this.productions_[d[1]][1], I.$ = T[T.length - Z], I._$ = {
@@ -1293,7 +1293,7 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt =
1293
1293
  ]), q = this.performAction.apply(I, [
1294
1294
  a,
1295
1295
  E,
1296
- C,
1296
+ D,
1297
1297
  tt.yy,
1298
1298
  d[1],
1299
1299
  T,
@@ -1308,8 +1308,8 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt =
1308
1308
  }
1309
1309
  return !0;
1310
1310
  }
1311
- }, S = /* @__PURE__ */ function() {
1312
- var k = {
1311
+ }, $ = /* @__PURE__ */ function() {
1312
+ var p = {
1313
1313
  EOF: 1,
1314
1314
  parseError: function(o, f) {
1315
1315
  if (this.yy.parser)
@@ -1597,29 +1597,29 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt =
1597
1597
  rules: [/^(?:%%\{)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:%%(?!\{)*[^\n]*)/i, /^(?:[^\}]%%*[^\n]*)/i, /^(?:%%*[^\n]*[\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:%[^\n]*)/i, /^(?:href[\s]+["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:call[\s]+)/i, /^(?:\([\s]*\))/i, /^(?:\()/i, /^(?:[^(]*)/i, /^(?:\))/i, /^(?:[^)]*)/i, /^(?:click[\s]+)/i, /^(?:[\s\n])/i, /^(?:[^\s\n]*)/i, /^(?:gantt\b)/i, /^(?:dateFormat\s[^#\n;]+)/i, /^(?:inclusiveEndDates\b)/i, /^(?:topAxis\b)/i, /^(?:axisFormat\s[^#\n;]+)/i, /^(?:tickInterval\s[^#\n;]+)/i, /^(?:includes\s[^#\n;]+)/i, /^(?:excludes\s[^#\n;]+)/i, /^(?:todayMarker\s[^\n;]+)/i, /^(?:weekday\s+monday\b)/i, /^(?:weekday\s+tuesday\b)/i, /^(?:weekday\s+wednesday\b)/i, /^(?:weekday\s+thursday\b)/i, /^(?:weekday\s+friday\b)/i, /^(?:weekday\s+saturday\b)/i, /^(?:weekday\s+sunday\b)/i, /^(?:\d\d\d\d-\d\d-\d\d\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accDescription\s[^#\n;]+)/i, /^(?:section\s[^\n]+)/i, /^(?:[^:\n]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
1598
1598
  conditions: { acc_descr_multiline: { rules: [6, 7], inclusive: !1 }, acc_descr: { rules: [4], inclusive: !1 }, acc_title: { rules: [2], inclusive: !1 }, callbackargs: { rules: [21, 22], inclusive: !1 }, callbackname: { rules: [18, 19, 20], inclusive: !1 }, href: { rules: [15, 16], inclusive: !1 }, click: { rules: [24, 25], inclusive: !1 }, INITIAL: { rules: [0, 1, 3, 5, 8, 9, 10, 11, 12, 13, 14, 17, 23, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], inclusive: !0 } }
1599
1599
  };
1600
- return k;
1600
+ return p;
1601
1601
  }();
1602
- p.lexer = S;
1602
+ k.lexer = $;
1603
1603
  function _() {
1604
1604
  this.yy = {};
1605
1605
  }
1606
- return _.prototype = p, p.Parser = _, new _();
1606
+ return _.prototype = k, k.Parser = _, new _();
1607
1607
  }();
1608
1608
  de.parser = de;
1609
- const Si = de;
1609
+ const Mi = de;
1610
1610
  R.extend(xi);
1611
1611
  R.extend(Ci);
1612
1612
  R.extend(_i);
1613
- let rt = "", Te = "", ve, be = "", Ht = [], Wt = [], xe = {}, we = [], Qt = [], Mt = "", Ce = "";
1613
+ let rt = "", Te = "", ve, be = "", Ht = [], Wt = [], xe = {}, we = [], Qt = [], $t = "", Ce = "";
1614
1614
  const mn = ["active", "done", "crit", "milestone"];
1615
- let De = [], zt = !1, _e = !1, Se = "sunday", fe = 0;
1616
- const Mi = function() {
1617
- we = [], Qt = [], Mt = "", De = [], Vt = 0, ge = void 0, Gt = void 0, Q = [], rt = "", Te = "", Ce = "", ve = void 0, be = "", Ht = [], Wt = [], zt = !1, _e = !1, fe = 0, xe = {}, Yn(), Se = "sunday";
1615
+ let De = [], zt = !1, _e = !1, Me = "sunday", fe = 0;
1616
+ const Si = function() {
1617
+ we = [], Qt = [], $t = "", De = [], Vt = 0, ge = void 0, Gt = void 0, Q = [], rt = "", Te = "", Ce = "", ve = void 0, be = "", Ht = [], Wt = [], zt = !1, _e = !1, fe = 0, xe = {}, An(), Me = "sunday";
1618
1618
  }, $i = function(t) {
1619
1619
  Te = t;
1620
- }, Ai = function() {
1620
+ }, Yi = function() {
1621
1621
  return Te;
1622
- }, Yi = function(t) {
1622
+ }, Ai = function(t) {
1623
1623
  ve = t;
1624
1624
  }, Fi = function() {
1625
1625
  return ve;
@@ -1654,7 +1654,7 @@ const Mi = function() {
1654
1654
  }, qi = function() {
1655
1655
  return xe;
1656
1656
  }, ji = function(t) {
1657
- Mt = t, we.push(t);
1657
+ $t = t, we.push(t);
1658
1658
  }, Xi = function() {
1659
1659
  return we;
1660
1660
  }, Qi = function() {
@@ -1667,24 +1667,24 @@ const Mi = function() {
1667
1667
  }, yn = function(t, e, n, r) {
1668
1668
  return r.includes(t.format(e.trim())) ? !1 : t.isoWeekday() >= 6 && n.includes("weekends") || n.includes(t.format("dddd").toLowerCase()) ? !0 : n.includes(t.format(e.trim()));
1669
1669
  }, Ki = function(t) {
1670
- Se = t;
1670
+ Me = t;
1671
1671
  }, Ji = function() {
1672
- return Se;
1673
- }, pn = function(t, e, n, r) {
1672
+ return Me;
1673
+ }, kn = function(t, e, n, r) {
1674
1674
  if (!n.length || t.manualEndTime)
1675
1675
  return;
1676
1676
  let i;
1677
1677
  t.startTime instanceof Date ? i = R(t.startTime) : i = R(t.startTime, e, !0), i = i.add(1, "d");
1678
1678
  let s;
1679
1679
  t.endTime instanceof Date ? s = R(t.endTime) : s = R(t.endTime, e, !0);
1680
- const [l, g] = Ri(
1680
+ const [l, m] = Ri(
1681
1681
  i,
1682
1682
  s,
1683
1683
  e,
1684
1684
  n,
1685
1685
  r
1686
1686
  );
1687
- t.endTime = l.toDate(), t.renderEndTime = g;
1687
+ t.endTime = l.toDate(), t.renderEndTime = m;
1688
1688
  }, Ri = function(t, e, n, r, i) {
1689
1689
  let s = !1, l = null;
1690
1690
  for (; t <= e; )
@@ -1692,18 +1692,17 @@ const Mi = function() {
1692
1692
  return [e, l];
1693
1693
  }, he = function(t, e, n) {
1694
1694
  n = n.trim();
1695
- const r = /^after\s+([\d\w- ]+)/.exec(n.trim());
1695
+ const r = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1696
1696
  if (r !== null) {
1697
1697
  let s = null;
1698
- if (r[1].split(" ").forEach(function(l) {
1699
- let g = $t(l);
1700
- g !== void 0 && (s ? g.endTime > s.endTime && (s = g) : s = g);
1701
- }), s)
1702
- return s.endTime;
1703
- {
1704
- const l = /* @__PURE__ */ new Date();
1705
- return l.setHours(0, 0, 0, 0), l;
1698
+ for (const m of r.groups.ids.split(" ")) {
1699
+ let M = xt(m);
1700
+ M !== void 0 && (!s || M.endTime > s.endTime) && (s = M);
1706
1701
  }
1702
+ if (s)
1703
+ return s.endTime;
1704
+ const l = /* @__PURE__ */ new Date();
1705
+ return l.setHours(0, 0, 0, 0), l;
1707
1706
  }
1708
1707
  let i = R(n, e.trim(), !0);
1709
1708
  if (i.isValid())
@@ -1720,24 +1719,36 @@ const Mi = function() {
1720
1719
  throw new Error("Invalid date:" + n);
1721
1720
  return s;
1722
1721
  }
1723
- }, kn = function(t) {
1722
+ }, pn = function(t) {
1724
1723
  const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
1725
1724
  return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1726
1725
  }, Tn = function(t, e, n, r = !1) {
1727
1726
  n = n.trim();
1728
- let i = R(n, e.trim(), !0);
1729
- if (i.isValid())
1730
- return r && (i = i.add(1, "d")), i.toDate();
1731
- let s = R(t);
1732
- const [l, g] = kn(n);
1733
- if (!Number.isNaN(l)) {
1734
- const M = s.add(l, g);
1735
- M.isValid() && (s = M);
1736
- }
1737
- return s.toDate();
1727
+ const i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1728
+ if (i !== null) {
1729
+ let h = null;
1730
+ for (const S of i.groups.ids.split(" ")) {
1731
+ let v = xt(S);
1732
+ v !== void 0 && (!h || v.startTime < h.startTime) && (h = v);
1733
+ }
1734
+ if (h)
1735
+ return h.startTime;
1736
+ const w = /* @__PURE__ */ new Date();
1737
+ return w.setHours(0, 0, 0, 0), w;
1738
+ }
1739
+ let s = R(n, e.trim(), !0);
1740
+ if (s.isValid())
1741
+ return r && (s = s.add(1, "d")), s.toDate();
1742
+ let l = R(t);
1743
+ const [m, M] = pn(n);
1744
+ if (!Number.isNaN(m)) {
1745
+ const h = l.add(m, M);
1746
+ h.isValid() && (l = h);
1747
+ }
1748
+ return l.toDate();
1738
1749
  };
1739
1750
  let Vt = 0;
1740
- const Dt = function(t) {
1751
+ const _t = function(t) {
1741
1752
  return t === void 0 ? (Vt = Vt + 1, "task" + Vt) : t;
1742
1753
  }, ts = function(t, e) {
1743
1754
  let n;
@@ -1749,16 +1760,16 @@ const Dt = function(t) {
1749
1760
  let s = "";
1750
1761
  switch (r.length) {
1751
1762
  case 1:
1752
- i.id = Dt(), i.startTime = t.endTime, s = r[0];
1763
+ i.id = _t(), i.startTime = t.endTime, s = r[0];
1753
1764
  break;
1754
1765
  case 2:
1755
- i.id = Dt(), i.startTime = he(void 0, rt, r[0]), s = r[1];
1766
+ i.id = _t(), i.startTime = he(void 0, rt, r[0]), s = r[1];
1756
1767
  break;
1757
1768
  case 3:
1758
- i.id = Dt(r[0]), i.startTime = he(void 0, rt, r[1]), s = r[2];
1769
+ i.id = _t(r[0]), i.startTime = he(void 0, rt, r[1]), s = r[2];
1759
1770
  break;
1760
1771
  }
1761
- return s && (i.endTime = Tn(i.startTime, rt, s, zt), i.manualEndTime = R(s, "YYYY-MM-DD", !0).isValid(), pn(i, rt, Wt, Ht)), i;
1772
+ return s && (i.endTime = Tn(i.startTime, rt, s, zt), i.manualEndTime = R(s, "YYYY-MM-DD", !0).isValid(), kn(i, rt, Wt, Ht)), i;
1762
1773
  }, es = function(t, e) {
1763
1774
  let n;
1764
1775
  e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
@@ -1768,7 +1779,7 @@ const Dt = function(t) {
1768
1779
  r[s] = r[s].trim();
1769
1780
  switch (r.length) {
1770
1781
  case 1:
1771
- i.id = Dt(), i.startTime = {
1782
+ i.id = _t(), i.startTime = {
1772
1783
  type: "prevTaskEnd",
1773
1784
  id: t
1774
1785
  }, i.endTime = {
@@ -1776,7 +1787,7 @@ const Dt = function(t) {
1776
1787
  };
1777
1788
  break;
1778
1789
  case 2:
1779
- i.id = Dt(), i.startTime = {
1790
+ i.id = _t(), i.startTime = {
1780
1791
  type: "getStartDate",
1781
1792
  startData: r[0]
1782
1793
  }, i.endTime = {
@@ -1784,7 +1795,7 @@ const Dt = function(t) {
1784
1795
  };
1785
1796
  break;
1786
1797
  case 3:
1787
- i.id = Dt(r[0]), i.startTime = {
1798
+ i.id = _t(r[0]), i.startTime = {
1788
1799
  type: "getStartDate",
1789
1800
  startData: r[1]
1790
1801
  }, i.endTime = {
@@ -1797,8 +1808,8 @@ const Dt = function(t) {
1797
1808
  let ge, Gt, Q = [];
1798
1809
  const vn = {}, ns = function(t, e) {
1799
1810
  const n = {
1800
- section: Mt,
1801
- type: Mt,
1811
+ section: $t,
1812
+ type: $t,
1802
1813
  processed: !1,
1803
1814
  manualEndTime: !1,
1804
1815
  renderEndTime: null,
@@ -1809,13 +1820,13 @@ const vn = {}, ns = function(t, e) {
1809
1820
  n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = Gt, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.order = fe, fe++;
1810
1821
  const i = Q.push(n);
1811
1822
  Gt = n.id, vn[n.id] = i - 1;
1812
- }, $t = function(t) {
1823
+ }, xt = function(t) {
1813
1824
  const e = vn[t];
1814
1825
  return Q[e];
1815
1826
  }, rs = function(t, e) {
1816
1827
  const n = {
1817
- section: Mt,
1818
- type: Mt,
1828
+ section: $t,
1829
+ type: $t,
1819
1830
  description: t,
1820
1831
  task: t,
1821
1832
  classes: []
@@ -1827,7 +1838,7 @@ const vn = {}, ns = function(t, e) {
1827
1838
  let i = "";
1828
1839
  switch (Q[n].raw.startTime.type) {
1829
1840
  case "prevTaskEnd": {
1830
- const s = $t(r.prevTaskId);
1841
+ const s = xt(r.prevTaskId);
1831
1842
  r.startTime = s.endTime;
1832
1843
  break;
1833
1844
  }
@@ -1844,7 +1855,7 @@ const vn = {}, ns = function(t, e) {
1844
1855
  Q[n].raw.endTime.data,
1845
1856
  "YYYY-MM-DD",
1846
1857
  !0
1847
- ).isValid(), pn(Q[n], rt, Wt, Ht))), Q[n].processed;
1858
+ ).isValid(), kn(Q[n], rt, Wt, Ht))), Q[n].processed;
1848
1859
  };
1849
1860
  let e = !0;
1850
1861
  for (const [n, r] of Q.entries())
@@ -1852,18 +1863,18 @@ const vn = {}, ns = function(t, e) {
1852
1863
  return e;
1853
1864
  }, is = function(t, e) {
1854
1865
  let n = e;
1855
- wt().securityLevel !== "loose" && (n = Fn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
1856
- $t(r) !== void 0 && (xn(r, () => {
1866
+ Ct().securityLevel !== "loose" && (n = Fn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
1867
+ xt(r) !== void 0 && (xn(r, () => {
1857
1868
  window.open(n, "_self");
1858
1869
  }), xe[r] = n);
1859
1870
  }), bn(t, "clickable");
1860
1871
  }, bn = function(t, e) {
1861
1872
  t.split(",").forEach(function(n) {
1862
- let r = $t(n);
1873
+ let r = xt(n);
1863
1874
  r !== void 0 && r.classes.push(e);
1864
1875
  });
1865
1876
  }, ss = function(t, e, n) {
1866
- if (wt().securityLevel !== "loose" || e === void 0)
1877
+ if (Ct().securityLevel !== "loose" || e === void 0)
1867
1878
  return;
1868
1879
  let r = [];
1869
1880
  if (typeof n == "string") {
@@ -1873,7 +1884,7 @@ const vn = {}, ns = function(t, e) {
1873
1884
  s.charAt(0) === '"' && s.charAt(s.length - 1) === '"' && (s = s.substr(1, s.length - 2)), r[i] = s;
1874
1885
  }
1875
1886
  }
1876
- r.length === 0 && r.push(t), $t(t) !== void 0 && xn(t, () => {
1887
+ r.length === 0 && r.push(t), xt(t) !== void 0 && xn(t, () => {
1877
1888
  En.runFunc(e, ...r);
1878
1889
  });
1879
1890
  }, xn = function(t, e) {
@@ -1900,8 +1911,8 @@ const vn = {}, ns = function(t, e) {
1900
1911
  e(t);
1901
1912
  });
1902
1913
  }, cs = {
1903
- getConfig: () => wt().gantt,
1904
- clear: Mi,
1914
+ getConfig: () => Ct().gantt,
1915
+ clear: Si,
1905
1916
  setDateFormat: Ei,
1906
1917
  getDateFormat: Bi,
1907
1918
  enableInclusiveEndDates: Oi,
@@ -1909,24 +1920,24 @@ const vn = {}, ns = function(t, e) {
1909
1920
  enableTopAxis: Hi,
1910
1921
  topAxisEnabled: Wi,
1911
1922
  setAxisFormat: $i,
1912
- getAxisFormat: Ai,
1913
- setTickInterval: Yi,
1923
+ getAxisFormat: Yi,
1924
+ setTickInterval: Ai,
1914
1925
  getTickInterval: Fi,
1915
1926
  setTodayMarker: Ui,
1916
1927
  getTodayMarker: Li,
1917
1928
  setAccTitle: Cn,
1918
1929
  getAccTitle: Dn,
1919
1930
  setDiagramTitle: _n,
1920
- getDiagramTitle: Sn,
1931
+ getDiagramTitle: Mn,
1921
1932
  setDisplayMode: zi,
1922
1933
  getDisplayMode: Pi,
1923
- setAccDescription: Mn,
1934
+ setAccDescription: Sn,
1924
1935
  getAccDescription: $n,
1925
1936
  addSection: ji,
1926
1937
  getSections: Xi,
1927
1938
  getTasks: Qi,
1928
1939
  addTask: ns,
1929
- findTaskById: $t,
1940
+ findTaskById: xt,
1930
1941
  addTaskOrg: rs,
1931
1942
  setIncludes: Ni,
1932
1943
  getIncludes: Vi,
@@ -1936,7 +1947,7 @@ const vn = {}, ns = function(t, e) {
1936
1947
  setLink: is,
1937
1948
  getLinks: qi,
1938
1949
  bindFunctions: os,
1939
- parseDuration: kn,
1950
+ parseDuration: pn,
1940
1951
  isInvalidDate: yn,
1941
1952
  setWeekday: Ki,
1942
1953
  getWeekday: Ji
@@ -1955,7 +1966,7 @@ const ls = function() {
1955
1966
  monday: Et,
1956
1967
  tuesday: en,
1957
1968
  wednesday: nn,
1958
- thursday: kt,
1969
+ thursday: pt,
1959
1970
  friday: rn,
1960
1971
  saturday: sn,
1961
1972
  sunday: It
@@ -1971,130 +1982,130 @@ const ls = function() {
1971
1982
  };
1972
1983
  let ot;
1973
1984
  const ds = function(t, e, n, r) {
1974
- const i = wt().gantt, s = wt().securityLevel;
1985
+ const i = Ct().gantt, s = Ct().securityLevel;
1975
1986
  let l;
1976
1987
  s === "sandbox" && (l = Pt("#i" + e));
1977
- const g = s === "sandbox" ? Pt(l.nodes()[0].contentDocument.body) : Pt("body"), M = s === "sandbox" ? l.nodes()[0].contentDocument : document, m = M.getElementById(e);
1978
- ot = m.parentElement.offsetWidth, ot === void 0 && (ot = 1200), i.useWidth !== void 0 && (ot = i.useWidth);
1979
- const D = r.db.getTasks();
1980
- let $ = [];
1981
- for (const p of D)
1982
- $.push(p.type);
1983
- $ = L($);
1984
- const w = {};
1985
- let v = 2 * i.topPadding;
1988
+ const m = s === "sandbox" ? Pt(l.nodes()[0].contentDocument.body) : Pt("body"), M = s === "sandbox" ? l.nodes()[0].contentDocument : document, h = M.getElementById(e);
1989
+ ot = h.parentElement.offsetWidth, ot === void 0 && (ot = 1200), i.useWidth !== void 0 && (ot = i.useWidth);
1990
+ const w = r.db.getTasks();
1991
+ let S = [];
1992
+ for (const k of w)
1993
+ S.push(k.type);
1994
+ S = L(S);
1995
+ const v = {};
1996
+ let b = 2 * i.topPadding;
1986
1997
  if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
1987
- const p = {};
1988
- for (const _ of D)
1989
- p[_.section] === void 0 ? p[_.section] = [_] : p[_.section].push(_);
1990
- let S = 0;
1991
- for (const _ of Object.keys(p)) {
1992
- const k = us(p[_], S) + 1;
1993
- S += k, v += k * (i.barHeight + i.barGap), w[_] = k;
1998
+ const k = {};
1999
+ for (const _ of w)
2000
+ k[_.section] === void 0 ? k[_.section] = [_] : k[_.section].push(_);
2001
+ let $ = 0;
2002
+ for (const _ of Object.keys(k)) {
2003
+ const p = us(k[_], $) + 1;
2004
+ $ += p, b += p * (i.barHeight + i.barGap), v[_] = p;
1994
2005
  }
1995
2006
  } else {
1996
- v += D.length * (i.barHeight + i.barGap);
1997
- for (const p of $)
1998
- w[p] = D.filter((S) => S.type === p).length;
1999
- }
2000
- m.setAttribute("viewBox", "0 0 " + ot + " " + v);
2001
- const V = g.select(`[id="${e}"]`), h = vi().domain([
2002
- Nn(D, function(p) {
2003
- return p.startTime;
2007
+ b += w.length * (i.barHeight + i.barGap);
2008
+ for (const k of S)
2009
+ v[k] = w.filter(($) => $.type === k).length;
2010
+ }
2011
+ h.setAttribute("viewBox", "0 0 " + ot + " " + b);
2012
+ const V = m.select(`[id="${e}"]`), g = vi().domain([
2013
+ Nn(w, function(k) {
2014
+ return k.startTime;
2004
2015
  }),
2005
- Bn(D, function(p) {
2006
- return p.endTime;
2016
+ Bn(w, function(k) {
2017
+ return k.endTime;
2007
2018
  })
2008
2019
  ]).rangeRound([0, ot - i.leftPadding - i.rightPadding]);
2009
- function F(p, S) {
2010
- const _ = p.startTime, k = S.startTime;
2020
+ function F(k, $) {
2021
+ const _ = k.startTime, p = $.startTime;
2011
2022
  let o = 0;
2012
- return _ > k ? o = 1 : _ < k && (o = -1), o;
2023
+ return _ > p ? o = 1 : _ < p && (o = -1), o;
2013
2024
  }
2014
- D.sort(F), W(D, ot, v), Un(V, v, ot, i.useMaxWidth), V.append("text").text(r.db.getDiagramTitle()).attr("x", ot / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2015
- function W(p, S, _) {
2016
- const k = i.barHeight, o = k + i.barGap, f = i.topPadding, u = i.leftPadding, T = In().domain([0, $.length]).range(["#00B9FA", "#F95002"]).interpolate(ir);
2025
+ w.sort(F), W(w, ot, b), Un(V, b, ot, i.useMaxWidth), V.append("text").text(r.db.getDiagramTitle()).attr("x", ot / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2026
+ function W(k, $, _) {
2027
+ const p = i.barHeight, o = p + i.barGap, f = i.topPadding, u = i.leftPadding, T = In().domain([0, S.length]).range(["#00B9FA", "#F95002"]).interpolate(ir);
2017
2028
  B(
2018
2029
  o,
2019
2030
  f,
2020
2031
  u,
2021
- S,
2032
+ $,
2022
2033
  _,
2023
- p,
2034
+ k,
2024
2035
  r.db.getExcludes(),
2025
2036
  r.db.getIncludes()
2026
- ), N(u, f, S, _), H(p, o, f, u, k, T, S), X(o, f), b(u, f, S, _);
2037
+ ), N(u, f, $, _), H(k, o, f, u, p, T, $), X(o, f), x(u, f, $, _);
2027
2038
  }
2028
- function H(p, S, _, k, o, f, u) {
2029
- const T = [...new Set(p.map((a) => a.order))].map((a) => p.find((C) => C.order === a));
2030
- V.append("g").selectAll("rect").data(T).enter().append("rect").attr("x", 0).attr("y", function(a, C) {
2031
- return C = a.order, C * S + _ - 2;
2039
+ function H(k, $, _, p, o, f, u) {
2040
+ const T = [...new Set(k.map((a) => a.order))].map((a) => k.find((D) => D.order === a));
2041
+ V.append("g").selectAll("rect").data(T).enter().append("rect").attr("x", 0).attr("y", function(a, D) {
2042
+ return D = a.order, D * $ + _ - 2;
2032
2043
  }).attr("width", function() {
2033
2044
  return u - i.rightPadding / 2;
2034
- }).attr("height", S).attr("class", function(a) {
2035
- for (const [C, E] of $.entries())
2045
+ }).attr("height", $).attr("class", function(a) {
2046
+ for (const [D, E] of S.entries())
2036
2047
  if (a.type === E)
2037
- return "section section" + C % i.numberSectionStyles;
2048
+ return "section section" + D % i.numberSectionStyles;
2038
2049
  return "section section0";
2039
2050
  });
2040
- const c = V.append("g").selectAll("rect").data(p).enter(), O = r.db.getLinks();
2051
+ const c = V.append("g").selectAll("rect").data(k).enter(), O = r.db.getLinks();
2041
2052
  if (c.append("rect").attr("id", function(a) {
2042
2053
  return a.id;
2043
2054
  }).attr("rx", 3).attr("ry", 3).attr("x", function(a) {
2044
- return a.milestone ? h(a.startTime) + k + 0.5 * (h(a.endTime) - h(a.startTime)) - 0.5 * o : h(a.startTime) + k;
2045
- }).attr("y", function(a, C) {
2046
- return C = a.order, C * S + _;
2055
+ return a.milestone ? g(a.startTime) + p + 0.5 * (g(a.endTime) - g(a.startTime)) - 0.5 * o : g(a.startTime) + p;
2056
+ }).attr("y", function(a, D) {
2057
+ return D = a.order, D * $ + _;
2047
2058
  }).attr("width", function(a) {
2048
- return a.milestone ? o : h(a.renderEndTime || a.endTime) - h(a.startTime);
2049
- }).attr("height", o).attr("transform-origin", function(a, C) {
2050
- return C = a.order, (h(a.startTime) + k + 0.5 * (h(a.endTime) - h(a.startTime))).toString() + "px " + (C * S + _ + 0.5 * o).toString() + "px";
2059
+ return a.milestone ? o : g(a.renderEndTime || a.endTime) - g(a.startTime);
2060
+ }).attr("height", o).attr("transform-origin", function(a, D) {
2061
+ return D = a.order, (g(a.startTime) + p + 0.5 * (g(a.endTime) - g(a.startTime))).toString() + "px " + (D * $ + _ + 0.5 * o).toString() + "px";
2051
2062
  }).attr("class", function(a) {
2052
- const C = "task";
2063
+ const D = "task";
2053
2064
  let E = "";
2054
2065
  a.classes.length > 0 && (E = a.classes.join(" "));
2055
2066
  let P = 0;
2056
- for (const [G, Y] of $.entries())
2057
- a.type === Y && (P = G % i.numberSectionStyles);
2067
+ for (const [G, A] of S.entries())
2068
+ a.type === A && (P = G % i.numberSectionStyles);
2058
2069
  let U = "";
2059
- return a.active ? a.crit ? U += " activeCrit" : U = " active" : a.done ? a.crit ? U = " doneCrit" : U = " done" : a.crit && (U += " crit"), U.length === 0 && (U = " task"), a.milestone && (U = " milestone " + U), U += P, U += " " + E, C + U;
2070
+ return a.active ? a.crit ? U += " activeCrit" : U = " active" : a.done ? a.crit ? U = " doneCrit" : U = " done" : a.crit && (U += " crit"), U.length === 0 && (U = " task"), a.milestone && (U = " milestone " + U), U += P, U += " " + E, D + U;
2060
2071
  }), c.append("text").attr("id", function(a) {
2061
2072
  return a.id + "-text";
2062
2073
  }).text(function(a) {
2063
2074
  return a.task;
2064
2075
  }).attr("font-size", i.fontSize).attr("x", function(a) {
2065
- let C = h(a.startTime), E = h(a.renderEndTime || a.endTime);
2066
- a.milestone && (C += 0.5 * (h(a.endTime) - h(a.startTime)) - 0.5 * o), a.milestone && (E = C + o);
2076
+ let D = g(a.startTime), E = g(a.renderEndTime || a.endTime);
2077
+ a.milestone && (D += 0.5 * (g(a.endTime) - g(a.startTime)) - 0.5 * o), a.milestone && (E = D + o);
2067
2078
  const P = this.getBBox().width;
2068
- return P > E - C ? E + P + 1.5 * i.leftPadding > u ? C + k - 5 : E + k + 5 : (E - C) / 2 + C + k;
2069
- }).attr("y", function(a, C) {
2070
- return C = a.order, C * S + i.barHeight / 2 + (i.fontSize / 2 - 2) + _;
2079
+ return P > E - D ? E + P + 1.5 * i.leftPadding > u ? D + p - 5 : E + p + 5 : (E - D) / 2 + D + p;
2080
+ }).attr("y", function(a, D) {
2081
+ return D = a.order, D * $ + i.barHeight / 2 + (i.fontSize / 2 - 2) + _;
2071
2082
  }).attr("text-height", o).attr("class", function(a) {
2072
- const C = h(a.startTime);
2073
- let E = h(a.endTime);
2074
- a.milestone && (E = C + o);
2083
+ const D = g(a.startTime);
2084
+ let E = g(a.endTime);
2085
+ a.milestone && (E = D + o);
2075
2086
  const P = this.getBBox().width;
2076
2087
  let U = "";
2077
2088
  a.classes.length > 0 && (U = a.classes.join(" "));
2078
2089
  let G = 0;
2079
- for (const [tt, st] of $.entries())
2090
+ for (const [tt, st] of S.entries())
2080
2091
  a.type === st && (G = tt % i.numberSectionStyles);
2081
- let Y = "";
2082
- return a.active && (a.crit ? Y = "activeCritText" + G : Y = "activeText" + G), a.done ? a.crit ? Y = Y + " doneCritText" + G : Y = Y + " doneText" + G : a.crit && (Y = Y + " critText" + G), a.milestone && (Y += " milestoneText"), P > E - C ? E + P + 1.5 * i.leftPadding > u ? U + " taskTextOutsideLeft taskTextOutside" + G + " " + Y : U + " taskTextOutsideRight taskTextOutside" + G + " " + Y + " width-" + P : U + " taskText taskText" + G + " " + Y + " width-" + P;
2083
- }), wt().securityLevel === "sandbox") {
2092
+ let A = "";
2093
+ return a.active && (a.crit ? A = "activeCritText" + G : A = "activeText" + G), a.done ? a.crit ? A = A + " doneCritText" + G : A = A + " doneText" + G : a.crit && (A = A + " critText" + G), a.milestone && (A += " milestoneText"), P > E - D ? E + P + 1.5 * i.leftPadding > u ? U + " taskTextOutsideLeft taskTextOutside" + G + " " + A : U + " taskTextOutsideRight taskTextOutside" + G + " " + A + " width-" + P : U + " taskText taskText" + G + " " + A + " width-" + P;
2094
+ }), Ct().securityLevel === "sandbox") {
2084
2095
  let a;
2085
2096
  a = Pt("#i" + e);
2086
- const C = a.nodes()[0].contentDocument;
2097
+ const D = a.nodes()[0].contentDocument;
2087
2098
  c.filter(function(E) {
2088
2099
  return O[E.id] !== void 0;
2089
2100
  }).each(function(E) {
2090
- var P = C.querySelector("#" + E.id), U = C.querySelector("#" + E.id + "-text");
2101
+ var P = D.querySelector("#" + E.id), U = D.querySelector("#" + E.id + "-text");
2091
2102
  const G = P.parentNode;
2092
- var Y = C.createElement("a");
2093
- Y.setAttribute("xlink:href", O[E.id]), Y.setAttribute("target", "_top"), G.appendChild(Y), Y.appendChild(P), Y.appendChild(U);
2103
+ var A = D.createElement("a");
2104
+ A.setAttribute("xlink:href", O[E.id]), A.setAttribute("target", "_top"), G.appendChild(A), A.appendChild(P), A.appendChild(U);
2094
2105
  });
2095
2106
  }
2096
2107
  }
2097
- function B(p, S, _, k, o, f, u, T) {
2108
+ function B(k, $, _, p, o, f, u, T) {
2098
2109
  if (u.length === 0 && T.length === 0)
2099
2110
  return;
2100
2111
  let c, O;
@@ -2108,26 +2119,26 @@ const ds = function(t, e, n, r) {
2108
2119
  );
2109
2120
  return;
2110
2121
  }
2111
- const a = r.db.getDateFormat(), C = [];
2122
+ const a = r.db.getDateFormat(), D = [];
2112
2123
  let E = null, P = R(c);
2113
2124
  for (; P.valueOf() <= O; )
2114
2125
  r.db.isInvalidDate(P, a, u, T) ? E ? E.end = P : E = {
2115
2126
  start: P,
2116
2127
  end: P
2117
- } : E && (C.push(E), E = null), P = P.add(1, "d");
2118
- V.append("g").selectAll("rect").data(C).enter().append("rect").attr("id", function(U) {
2128
+ } : E && (D.push(E), E = null), P = P.add(1, "d");
2129
+ V.append("g").selectAll("rect").data(D).enter().append("rect").attr("id", function(U) {
2119
2130
  return "exclude-" + U.start.format("YYYY-MM-DD");
2120
2131
  }).attr("x", function(U) {
2121
- return h(U.start) + _;
2132
+ return g(U.start) + _;
2122
2133
  }).attr("y", i.gridLineStartPadding).attr("width", function(U) {
2123
2134
  const G = U.end.add(1, "day");
2124
- return h(G) - h(U.start);
2125
- }).attr("height", o - S - i.gridLineStartPadding).attr("transform-origin", function(U, G) {
2126
- return (h(U.start) + _ + 0.5 * (h(U.end) - h(U.start))).toString() + "px " + (G * p + 0.5 * o).toString() + "px";
2135
+ return g(G) - g(U.start);
2136
+ }).attr("height", o - $ - i.gridLineStartPadding).attr("transform-origin", function(U, G) {
2137
+ return (g(U.start) + _ + 0.5 * (g(U.end) - g(U.start))).toString() + "px " + (G * k + 0.5 * o).toString() + "px";
2127
2138
  }).attr("class", "exclude-range");
2128
2139
  }
2129
- function N(p, S, _, k) {
2130
- let o = Kn(h).tickSize(-k + S + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2140
+ function N(k, $, _, p) {
2141
+ let o = Kn(g).tickSize(-p + $ + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2131
2142
  const f = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
2132
2143
  r.db.getTickInterval() || i.tickInterval
2133
2144
  );
@@ -2135,7 +2146,7 @@ const ds = function(t, e, n, r) {
2135
2146
  const u = f[1], T = f[2], c = r.db.getWeekday() || i.weekday;
2136
2147
  switch (T) {
2137
2148
  case "millisecond":
2138
- o.ticks(_t.every(u));
2149
+ o.ticks(Mt.every(u));
2139
2150
  break;
2140
2151
  case "second":
2141
2152
  o.ticks(gt.every(u));
@@ -2147,7 +2158,7 @@ const ds = function(t, e, n, r) {
2147
2158
  o.ticks(Lt.every(u));
2148
2159
  break;
2149
2160
  case "day":
2150
- o.ticks(pt.every(u));
2161
+ o.ticks(kt.every(u));
2151
2162
  break;
2152
2163
  case "week":
2153
2164
  o.ticks(Be[c].every(u));
@@ -2157,13 +2168,13 @@ const ds = function(t, e, n, r) {
2157
2168
  break;
2158
2169
  }
2159
2170
  }
2160
- if (V.append("g").attr("class", "grid").attr("transform", "translate(" + p + ", " + (k - 50) + ")").call(o).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2161
- let u = Qn(h).tickSize(-k + S + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2171
+ if (V.append("g").attr("class", "grid").attr("transform", "translate(" + k + ", " + (p - 50) + ")").call(o).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2172
+ let u = Qn(g).tickSize(-p + $ + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2162
2173
  if (f !== null) {
2163
2174
  const T = f[1], c = f[2], O = r.db.getWeekday() || i.weekday;
2164
2175
  switch (c) {
2165
2176
  case "millisecond":
2166
- u.ticks(_t.every(T));
2177
+ u.ticks(Mt.every(T));
2167
2178
  break;
2168
2179
  case "second":
2169
2180
  u.ticks(gt.every(T));
@@ -2175,7 +2186,7 @@ const ds = function(t, e, n, r) {
2175
2186
  u.ticks(Lt.every(T));
2176
2187
  break;
2177
2188
  case "day":
2178
- u.ticks(pt.every(T));
2189
+ u.ticks(kt.every(T));
2179
2190
  break;
2180
2191
  case "week":
2181
2192
  u.ticks(Be[O].every(T));
@@ -2185,13 +2196,13 @@ const ds = function(t, e, n, r) {
2185
2196
  break;
2186
2197
  }
2187
2198
  }
2188
- V.append("g").attr("class", "grid").attr("transform", "translate(" + p + ", " + S + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2199
+ V.append("g").attr("class", "grid").attr("transform", "translate(" + k + ", " + $ + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2189
2200
  }
2190
2201
  }
2191
- function X(p, S) {
2202
+ function X(k, $) {
2192
2203
  let _ = 0;
2193
- const k = Object.keys(w).map((o) => [o, w[o]]);
2194
- V.append("g").selectAll("text").data(k).enter().append(function(o) {
2204
+ const p = Object.keys(v).map((o) => [o, v[o]]);
2205
+ V.append("g").selectAll("text").data(p).enter().append(function(o) {
2195
2206
  const f = o[0].split(Ln.lineBreakRegex), u = -(f.length - 1) / 2, T = M.createElementNS("http://www.w3.org/2000/svg", "text");
2196
2207
  T.setAttribute("dy", u + "em");
2197
2208
  for (const [c, O] of f.entries()) {
@@ -2202,27 +2213,27 @@ const ds = function(t, e, n, r) {
2202
2213
  }).attr("x", 10).attr("y", function(o, f) {
2203
2214
  if (f > 0)
2204
2215
  for (let u = 0; u < f; u++)
2205
- return _ += k[f - 1][1], o[1] * p / 2 + _ * p + S;
2216
+ return _ += p[f - 1][1], o[1] * k / 2 + _ * k + $;
2206
2217
  else
2207
- return o[1] * p / 2 + S;
2218
+ return o[1] * k / 2 + $;
2208
2219
  }).attr("font-size", i.sectionFontSize).attr("class", function(o) {
2209
- for (const [f, u] of $.entries())
2220
+ for (const [f, u] of S.entries())
2210
2221
  if (o[0] === u)
2211
2222
  return "sectionTitle sectionTitle" + f % i.numberSectionStyles;
2212
2223
  return "sectionTitle";
2213
2224
  });
2214
2225
  }
2215
- function b(p, S, _, k) {
2226
+ function x(k, $, _, p) {
2216
2227
  const o = r.db.getTodayMarker();
2217
2228
  if (o === "off")
2218
2229
  return;
2219
2230
  const f = V.append("g").attr("class", "today"), u = /* @__PURE__ */ new Date(), T = f.append("line");
2220
- T.attr("x1", h(u) + p).attr("x2", h(u) + p).attr("y1", i.titleTopMargin).attr("y2", k - i.titleTopMargin).attr("class", "today"), o !== "" && T.attr("style", o.replace(/,/g, ";"));
2231
+ T.attr("x1", g(u) + k).attr("x2", g(u) + k).attr("y1", i.titleTopMargin).attr("y2", p - i.titleTopMargin).attr("class", "today"), o !== "" && T.attr("style", o.replace(/,/g, ";"));
2221
2232
  }
2222
- function L(p) {
2223
- const S = {}, _ = [];
2224
- for (let k = 0, o = p.length; k < o; ++k)
2225
- Object.prototype.hasOwnProperty.call(S, p[k]) || (S[p[k]] = !0, _.push(p[k]));
2233
+ function L(k) {
2234
+ const $ = {}, _ = [];
2235
+ for (let p = 0, o = k.length; p < o; ++p)
2236
+ Object.prototype.hasOwnProperty.call($, k[p]) || ($[k[p]] = !0, _.push(k[p]));
2226
2237
  return _;
2227
2238
  }
2228
2239
  }, fs = {
@@ -2479,12 +2490,12 @@ const ds = function(t, e, n, r) {
2479
2490
  fill: ${t.titleColor || t.textColor};
2480
2491
  font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
2481
2492
  }
2482
- `, gs = hs, ks = {
2483
- parser: Si,
2493
+ `, gs = hs, ps = {
2494
+ parser: Mi,
2484
2495
  db: cs,
2485
2496
  renderer: fs,
2486
2497
  styles: gs
2487
2498
  };
2488
2499
  export {
2489
- ks as diagram
2500
+ ps as diagram
2490
2501
  };