@altimateai/ui-components 0.0.77-beta.3 → 0.0.77-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/Accordion.js +402 -0
  2. package/dist/CoachForm.css +1 -1
  3. package/dist/CoachForm.js +21630 -18090
  4. package/dist/Stack.js +2820 -2260
  5. package/dist/Switch.js +128 -87
  6. package/dist/ToggleGroup.js +5956 -4781
  7. package/dist/_basePickBy.js +25 -25
  8. package/dist/_baseUniq.js +122 -122
  9. package/dist/arc.js +36 -36
  10. package/dist/architectureDiagram-VXUJARFQ.js +1 -1
  11. package/dist/assets/icons/index.js +1 -1
  12. package/dist/blockDiagram-VD42YOAC.js +1 -1
  13. package/dist/c4Diagram-YG6GDRKO.js +22 -22
  14. package/dist/channel.js +2 -2
  15. package/dist/chatbotV2/index.d.ts +61 -10
  16. package/dist/chatbotV2/index.js +442 -56
  17. package/dist/chunk-4BX2VUAB.js +1 -1
  18. package/dist/chunk-55IACEB6.js +2 -2
  19. package/dist/chunk-B4BG7PRW.js +1 -1
  20. package/dist/chunk-DI55MBZ5.js +1 -1
  21. package/dist/chunk-FMBD7UC4.js +1 -1
  22. package/dist/chunk-QN33PNHL.js +5 -5
  23. package/dist/chunk-QZHKN3VN.js +1 -1
  24. package/dist/chunk-TZMSLE5B.js +1 -1
  25. package/dist/classDiagram-2ON5EDUG.js +1 -1
  26. package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
  27. package/dist/cose-bilkent-S5V4N54A.js +1 -1
  28. package/dist/dagre-6UL2VRFP.js +58 -58
  29. package/dist/dayjs.min.js +1 -1
  30. package/dist/diagram-PSM6KHXK.js +48 -48
  31. package/dist/diagram-QEK2KX5R.js +26 -26
  32. package/dist/diagram-S2PKOQOG.js +9 -9
  33. package/dist/erDiagram-Q2GNP2WA.js +12 -12
  34. package/dist/flowDiagram-NV44I4VS.js +6 -6
  35. package/dist/ganttDiagram-LVOFAZNH.js +322 -322
  36. package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
  37. package/dist/graph.js +5 -5
  38. package/dist/index.css +1 -1
  39. package/dist/index.d.ts +9 -1
  40. package/dist/index.js +24 -23
  41. package/dist/index2.css +1 -0
  42. package/dist/index2.js +22 -22
  43. package/dist/infoDiagram-F6ZHWCRC.js +14 -14
  44. package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
  45. package/dist/kanban-definition-3W4ZIXB7.js +54 -54
  46. package/dist/layout.js +52 -52
  47. package/dist/lineage/index.js +381 -381
  48. package/dist/main.js +6 -6
  49. package/dist/mermaid-parser.core.js +1 -1
  50. package/dist/mindmap-definition-VGOIOE7T.js +16 -16
  51. package/dist/pieDiagram-ADFJNKIX.js +25 -25
  52. package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
  53. package/dist/redux-toolkit.modern.js +7 -7
  54. package/dist/requirementDiagram-UZGBJVZJ.js +1 -1
  55. package/dist/sankeyDiagram-TZEHDZUN.js +16 -16
  56. package/dist/sequenceDiagram-WL72ISMW.js +28 -28
  57. package/dist/shadcn/index.d.ts +22 -35
  58. package/dist/shadcn/index.js +6232 -4805
  59. package/dist/stateDiagram-FKZM4ZOC.js +34 -34
  60. package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
  61. package/dist/storybook/Typography.stories.tsx +93 -120
  62. package/dist/timeline-definition-IT6M3QCI.js +54 -54
  63. package/dist/xychartDiagram-PRI3JC2R.js +32 -32
  64. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { d as dt, C as Yn } from "./dayjs.min.js";
2
- import { ce as un, cf as Wn, cg as Xn, ch as Kn, ci as Gn, cj as Zn, ck as rt, cl as Qn, cm as Jn } from "./CoachForm.js";
3
- import { g as yt, k as ln, A as ve, l as er, I as Ie, u as cn, m as tr } from "./redux-toolkit.modern.js";
4
- import { B as ye, a4 as $e, a5 as He, a6 as nr, X as oe, a7 as rr, T as or, a0 as ft, Y as ir } from "./Stack.js";
5
- import { j as h, A as dn, e as sr, f as ar, a as ur, d as lr, D as cr, E as dr, c as fr, b as pr } from "./index2.js";
2
+ import { aX as un, cj as Wn, ck as Xn, cl as Kn, cm as Gn, cn as Zn, co as rt, cp as Qn, cq as Jn } from "./CoachForm.js";
3
+ import { g as yt, k as ln, A as ve, l as er, m as Ie, u as cn, o as tr } from "./redux-toolkit.modern.js";
4
+ import { B as ye, a5 as $e, a6 as He, a7 as nr, S as oe, a8 as rr, i as or, j as ft, T as ir } from "./Stack.js";
5
+ import { j as h, A as dn, f as sr, g as ar, b as ur, e as lr, D as cr, E as dr, d as fr, C as pr } from "./index2.js";
6
6
  import * as te from "react";
7
7
  import Z, { createContext as _e, useReducer as fn, useCallback as we, useMemo as fe, useContext as be, useLayoutEffect as gr, useEffect as le, useRef as Se, useId as pn, useInsertionEffect as hr, Children as De, isValidElement as vr, useState as re, lazy as mr } from "react";
8
8
  import Er, { createPortal as bt } from "react-dom";
9
- import { u as yr, F as Mt, a as br, A as gn, N as Lt, B as Cr } from "./ToggleGroup.js";
9
+ import { a as yr, F as Mt, b as br, A as gn, N as Lt, B as Cr } from "./ToggleGroup.js";
10
10
  import { S as Sr } from "./Switch.js";
11
11
  import './main.css';var Ct = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(Ct || {});
12
12
  const _r = () => {
@@ -4496,7 +4496,7 @@ const Hi = {
4496
4496
  /* @__PURE__ */ h.jsx("img", { alt: "Teammate", src: e.avatar, className: "al-w-16 al-h-16 al-rounded" }),
4497
4497
  /* @__PURE__ */ h.jsxs("div", { className: "al-ml-2 al-mt-2", children: [
4498
4498
  /* @__PURE__ */ h.jsx(ft, { variant: "subheading", children: e.name }),
4499
- /* @__PURE__ */ h.jsx(ft, { children: e.description })
4499
+ /* @__PURE__ */ h.jsx(ft, { variant: "body", children: e.description })
4500
4500
  ] })
4501
4501
  ] }),
4502
4502
  /* @__PURE__ */ h.jsxs(oe, { justify: "between", align: "center", children: [
@@ -1,7 +1,7 @@
1
1
  var Ac = Object.defineProperty;
2
2
  var Ec = (n, e, t) => e in n ? Ac(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Ze = (n, e, t) => Ec(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { cw as $c, cx as kc, bF as Nl, b_ as xc, bJ as Sc, bG as ee, bq as Ic, br as Ea, bQ as Cc, bT as wl, bU as Ll, c3 as $a, bR as Nc, bt as vt, bu as D, bH as ka, bB as wc } from "./CoachForm.js";
4
+ import { cy as $c, cz as kc, bK as Nl, c3 as xc, bO as Sc, bL as ee, az as Ic, aA as Ea, bV as Cc, bY as wl, bZ as Ll, c8 as $a, bW as Nc, aC as vt, aD as D, bM as ka, bG as wc } from "./CoachForm.js";
5
5
  import { k as qt, j as Hs, g as nn, S as Lc, w as _c, x as bc, c as _l, v as z, y as bl, l as Oc, z as Pc, A as Mc, B as Dc, C as Fc, a as Ol, d as C, i as Ye, r as le, f as ke, D as Y } from "./_baseUniq.js";
6
6
  import { j as js, m as x, d as Gc, f as Ne, g as Yt, i as zs, h as N, l as Xt, e as Uc } from "./_basePickBy.js";
7
7
  import { c as ne } from "./clone.js";
@@ -1,6 +1,6 @@
1
1
  import { g as le } from "./chunk-55IACEB6.js";
2
2
  import { s as he } from "./chunk-QN33PNHL.js";
3
- import { a1 as l, ad as C, a7 as X, au as j, ac as F, bx as de, aq as ge, ar as ue, aP as pe, aQ as fe, aR as ye } from "./CoachForm.js";
3
+ import { _ as l, l as C, d as X, B as G, i as F, aG as de, x as ge, y as ue, W as pe, X as fe, Y as ye } from "./CoachForm.js";
4
4
  const E = [];
5
5
  for (let t = 0; t < 256; ++t)
6
6
  E.push((t + 256).toString(16).slice(1));
@@ -32,7 +32,7 @@ var q = function() {
32
32
  var t = /* @__PURE__ */ l(function(v, s, i, a) {
33
33
  for (i = i || {}, a = v.length; a--; i[v[a]] = s) ;
34
34
  return i;
35
- }, "o"), e = [1, 4], n = [1, 13], c = [1, 12], u = [1, 15], h = [1, 16], p = [1, 20], y = [1, 19], _ = [6, 7, 8], b = [1, 26], m = [1, 24], w = [1, 25], D = [6, 7, 11], Q = [1, 6, 13, 15, 16, 19, 22], J = [1, 33], K = [1, 34], A = [1, 6, 7, 11, 13, 15, 16, 19, 22], G = {
35
+ }, "o"), e = [1, 4], n = [1, 13], c = [1, 12], u = [1, 15], h = [1, 16], p = [1, 20], y = [1, 19], _ = [6, 7, 8], b = [1, 26], m = [1, 24], w = [1, 25], D = [6, 7, 11], J = [1, 6, 13, 15, 16, 19, 22], K = [1, 33], Q = [1, 34], A = [1, 6, 7, 11, 13, 15, 16, 19, 22], j = {
36
36
  trace: /* @__PURE__ */ l(function() {
37
37
  }, "trace"),
38
38
  yy: {},
@@ -87,7 +87,7 @@ var q = function() {
87
87
  break;
88
88
  }
89
89
  }, "anonymous"),
90
- table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: n, 7: [1, 10], 9: 9, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, t(_, [2, 3]), { 1: [2, 2] }, t(_, [2, 4]), t(_, [2, 5]), { 1: [2, 6], 6: n, 12: 21, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: n, 9: 22, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: b, 7: m, 10: 23, 11: w }, t(D, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: y }), t(D, [2, 18]), t(D, [2, 19]), t(D, [2, 20]), t(D, [2, 21]), t(D, [2, 23]), t(D, [2, 24]), t(D, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: b, 7: m, 10: 32, 11: w }, { 1: [2, 7], 6: n, 12: 21, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, t(Q, [2, 14], { 7: J, 11: K }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(D, [2, 15]), t(D, [2, 16]), t(D, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t(Q, [2, 13], { 7: J, 11: K }), t(A, [2, 11]), t(A, [2, 12]), { 21: [1, 37] }, t(D, [2, 25]), t(D, [2, 27])],
90
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: n, 7: [1, 10], 9: 9, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, t(_, [2, 3]), { 1: [2, 2] }, t(_, [2, 4]), t(_, [2, 5]), { 1: [2, 6], 6: n, 12: 21, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: n, 9: 22, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: b, 7: m, 10: 23, 11: w }, t(D, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: y }), t(D, [2, 18]), t(D, [2, 19]), t(D, [2, 20]), t(D, [2, 21]), t(D, [2, 23]), t(D, [2, 24]), t(D, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: b, 7: m, 10: 32, 11: w }, { 1: [2, 7], 6: n, 12: 21, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, t(J, [2, 14], { 7: K, 11: Q }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(D, [2, 15]), t(D, [2, 16]), t(D, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t(J, [2, 13], { 7: K, 11: Q }), t(A, [2, 11]), t(A, [2, 12]), { 21: [1, 37] }, t(D, [2, 25]), t(D, [2, 27])],
91
91
  defaultActions: { 2: [2, 1], 6: [2, 2] },
92
92
  parseError: /* @__PURE__ */ l(function(s, i) {
93
93
  if (i.recoverable)
@@ -115,15 +115,15 @@ var q = function() {
115
115
  return N = o.pop() || f.lex() || ee, typeof N != "number" && (N instanceof Array && (o = N, N = o.pop()), N = i.symbols_[N] || N), N;
116
116
  }
117
117
  l(te, "lex");
118
- for (var S, O, k, z, I = {}, V, L, ie, B; ; ) {
118
+ for (var S, O, k, W, I = {}, V, L, ie, B; ; ) {
119
119
  if (O = a[a.length - 1], this.defaultActions[O] ? k = this.defaultActions[O] : ((S === null || typeof S > "u") && (S = te()), k = U[O] && U[O][S]), typeof k > "u" || !k.length || !k[0]) {
120
- var W = "";
120
+ var z = "";
121
121
  B = [];
122
122
  for (V in U[O])
123
123
  this.terminals_[V] && V > re && B.push("'" + this.terminals_[V] + "'");
124
- f.showPosition ? W = "Parse error on line " + (M + 1) + `:
124
+ f.showPosition ? z = "Parse error on line " + (M + 1) + `:
125
125
  ` + f.showPosition() + `
126
- Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "Parse error on line " + (M + 1) + ": Unexpected " + (S == ee ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(W, {
126
+ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : z = "Parse error on line " + (M + 1) + ": Unexpected " + (S == ee ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(z, {
127
127
  text: f.match,
128
128
  token: this.terminals_[S] || S,
129
129
  line: f.yylineno,
@@ -146,7 +146,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
146
146
  }, oe && (I._$.range = [
147
147
  r[r.length - (L || 1)].range[0],
148
148
  r[r.length - 1].range[1]
149
- ]), z = this.performAction.apply(I, [
149
+ ]), W = this.performAction.apply(I, [
150
150
  d,
151
151
  Z,
152
152
  M,
@@ -154,8 +154,8 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
154
154
  k[1],
155
155
  g,
156
156
  r
157
- ].concat(ae)), typeof z < "u")
158
- return z;
157
+ ].concat(ae)), typeof W < "u")
158
+ return W;
159
159
  L && (a = a.slice(0, -1 * L * 2), g = g.slice(0, -1 * L), r = r.slice(0, -1 * L)), a.push(this.productions_[k[1]][0]), g.push(I.$), r.push(I._$), ie = U[a[a.length - 2]][a[a.length - 1]], a.push(ie);
160
160
  break;
161
161
  case 3:
@@ -425,11 +425,11 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
425
425
  };
426
426
  return v;
427
427
  }();
428
- G.lexer = se;
428
+ j.lexer = se;
429
429
  function P() {
430
430
  this.yy = {};
431
431
  }
432
- return l(P, "Parser"), P.prototype = G, G.Parser = P, new P();
432
+ return l(P, "Parser"), P.prototype = j, j.Parser = P, new P();
433
433
  }();
434
434
  q.parser = q;
435
435
  var De = q, x = {
@@ -463,7 +463,7 @@ var De = q, x = {
463
463
  let h = !1;
464
464
  this.nodes.length === 0 ? (this.baseLevel = e, e = 0, h = !0) : this.baseLevel !== void 0 && (e = e - this.baseLevel, h = !1);
465
465
  const p = X();
466
- let y = ((m = p.mindmap) == null ? void 0 : m.padding) ?? j.mindmap.padding;
466
+ let y = ((m = p.mindmap) == null ? void 0 : m.padding) ?? G.mindmap.padding;
467
467
  switch (u) {
468
468
  case this.nodeType.ROUNDED_RECT:
469
469
  case this.nodeType.RECT:
@@ -478,7 +478,7 @@ var De = q, x = {
478
478
  descr: F(c, p),
479
479
  type: u,
480
480
  children: [],
481
- width: ((w = p.mindmap) == null ? void 0 : w.maxNodeWidth) ?? j.mindmap.maxNodeWidth,
481
+ width: ((w = p.mindmap) == null ? void 0 : w.maxNodeWidth) ?? G.mindmap.maxNodeWidth,
482
482
  padding: y,
483
483
  isRoot: h
484
484
  }, b = this.getParent(e);
@@ -697,9 +697,9 @@ var De = q, x = {
697
697
  m.shape === "rounded" ? (m.radius = 15, m.taper = 15, m.stroke = "none", m.width = 0, m.padding = 15) : m.shape === "circle" ? m.padding = 10 : m.shape === "rect" && (m.width = 0, m.padding = 10);
698
698
  }), await ue(h, p), he(
699
699
  p,
700
- ((_ = h.config.mindmap) == null ? void 0 : _.padding) ?? j.mindmap.padding,
700
+ ((_ = h.config.mindmap) == null ? void 0 : _.padding) ?? G.mindmap.padding,
701
701
  "mindmapDiagram",
702
- ((b = h.config.mindmap) == null ? void 0 : b.useMaxWidth) ?? j.mindmap.useMaxWidth
702
+ ((b = h.config.mindmap) == null ? void 0 : b.useMaxWidth) ?? G.mindmap.useMaxWidth
703
703
  ));
704
704
  }, "draw"), Le = {
705
705
  draw: ke
@@ -1,4 +1,4 @@
1
- import { b1 as S, aV as z, bw as Z, au as q, ag as H, ah as J, a3 as K, a4 as Q, a6 as X, a5 as Y, a1 as g, ad as F, an as ee, a7 as te, av as ae, az as re, aG as ne, ae as ie } from "./CoachForm.js";
1
+ import { aa as S, a2 as F, aF as Z, B as q, m as H, n as J, s as K, g as Q, c as X, b as Y, _ as g, l as z, r as ee, d as te, C as ae, G as re, O as ne, j as ie } from "./CoachForm.js";
2
2
  import { p as se } from "./chunk-4BX2VUAB.js";
3
3
  import { p as le } from "./mermaid-parser.core.js";
4
4
  import "./redux-toolkit.modern.js";
@@ -11,15 +11,15 @@ function ue(e) {
11
11
  return e;
12
12
  }
13
13
  function pe() {
14
- var e = ue, a = ce, f = null, x = S(0), s = S(z), o = S(0);
14
+ var e = ue, a = ce, f = null, x = S(0), s = S(F), o = S(0);
15
15
  function l(t) {
16
- var n, c = (t = Z(t)).length, u, y, m = 0, p = new Array(c), i = new Array(c), v = +x.apply(this, arguments), w = Math.min(z, Math.max(-z, s.apply(this, arguments) - v)), h, C = Math.min(Math.abs(w) / c, o.apply(this, arguments)), $ = C * (w < 0 ? -1 : 1), d;
16
+ var n, c = (t = Z(t)).length, u, y, m = 0, p = new Array(c), i = new Array(c), v = +x.apply(this, arguments), w = Math.min(F, Math.max(-F, s.apply(this, arguments) - v)), h, D = Math.min(Math.abs(w) / c, o.apply(this, arguments)), $ = D * (w < 0 ? -1 : 1), d;
17
17
  for (n = 0; n < c; ++n)
18
18
  (d = i[p[n] = n] = +e(t[n], n, t)) > 0 && (m += d);
19
- for (a != null ? p.sort(function(A, D) {
20
- return a(i[A], i[D]);
21
- }) : f != null && p.sort(function(A, D) {
22
- return f(t[A], t[D]);
19
+ for (a != null ? p.sort(function(A, C) {
20
+ return a(i[A], i[C]);
21
+ }) : f != null && p.sort(function(A, C) {
22
+ return f(t[A], t[C]);
23
23
  }), n = 0, y = m ? (w - c * $) / m : 0; n < c; ++n, v = h)
24
24
  u = p[n], d = i[u], h = v + (d > 0 ? d * y : 0) + $, i[u] = {
25
25
  data: t[u],
@@ -27,7 +27,7 @@ function pe() {
27
27
  value: d,
28
28
  startAngle: v,
29
29
  endAngle: h,
30
- padAngle: C
30
+ padAngle: D
31
31
  };
32
32
  return i;
33
33
  }
@@ -56,7 +56,7 @@ var L = q.pie, G = {
56
56
  throw new Error(
57
57
  `"${e}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`
58
58
  );
59
- T.has(e) || (T.set(e, a), F.debug(`added new section: ${e}, with value: ${a}`));
59
+ T.has(e) || (T.set(e, a), z.debug(`added new section: ${e}, with value: ${a}`));
60
60
  }, "addSection"), me = /* @__PURE__ */ g(() => T, "getSections"), ve = /* @__PURE__ */ g((e) => {
61
61
  N = e;
62
62
  }, "setShowData"), Se = /* @__PURE__ */ g(() => N, "getShowData"), _ = {
@@ -77,7 +77,7 @@ var L = q.pie, G = {
77
77
  }, "populateDb"), ye = {
78
78
  parse: /* @__PURE__ */ g(async (e) => {
79
79
  const a = await le("pie", e);
80
- F.debug(a), xe(a, _);
80
+ z.debug(a), xe(a, _);
81
81
  }, "parse")
82
82
  }, we = /* @__PURE__ */ g((e) => `
83
83
  .pieCircle{
@@ -107,20 +107,20 @@ var L = q.pie, G = {
107
107
  font-family: ${e.fontFamily};
108
108
  font-size: ${e.pieLegendTextSize};
109
109
  }
110
- `, "getStyles"), Ae = we, De = /* @__PURE__ */ g((e) => {
110
+ `, "getStyles"), Ae = we, Ce = /* @__PURE__ */ g((e) => {
111
111
  const a = [...e.values()].reduce((s, o) => s + o, 0), f = [...e.entries()].map(([s, o]) => ({ label: s, value: o })).filter((s) => s.value / a * 100 >= 1).sort((s, o) => o.value - s.value);
112
112
  return pe().value((s) => s.value)(f);
113
- }, "createPieArcs"), Ce = /* @__PURE__ */ g((e, a, f, x) => {
114
- F.debug(`rendering pie chart
113
+ }, "createPieArcs"), De = /* @__PURE__ */ g((e, a, f, x) => {
114
+ z.debug(`rendering pie chart
115
115
  ` + e);
116
116
  const s = x.db, o = te(), l = ae(s.getConfig(), o.pie), t = 40, n = 18, c = 4, u = 450, y = u, m = re(a), p = m.append("g");
117
117
  p.attr("transform", "translate(" + y / 2 + "," + u / 2 + ")");
118
118
  const { themeVariables: i } = o;
119
119
  let [v] = ne(i.pieOuterStrokeWidth);
120
120
  v ?? (v = 2);
121
- const w = l.textPosition, h = Math.min(y, u) / 2 - t, C = I().innerRadius(0).outerRadius(h), $ = I().innerRadius(h * w).outerRadius(h * w);
121
+ const w = l.textPosition, h = Math.min(y, u) / 2 - t, D = I().innerRadius(0).outerRadius(h), $ = I().innerRadius(h * w).outerRadius(h * w);
122
122
  p.append("circle").attr("cx", 0).attr("cy", 0).attr("r", h + v / 2).attr("class", "pieOuterCircle");
123
- const d = s.getSections(), A = De(d), D = [
123
+ const d = s.getSections(), A = Ce(d), C = [
124
124
  i.pie1,
125
125
  i.pie2,
126
126
  i.pie3,
@@ -138,26 +138,26 @@ var L = q.pie, G = {
138
138
  d.forEach((r) => {
139
139
  b += r;
140
140
  });
141
- const W = A.filter((r) => (r.data.value / b * 100).toFixed(0) !== "0"), E = oe(D);
142
- p.selectAll("mySlices").data(W).enter().append("path").attr("d", C).attr("fill", (r) => E(r.data.label)).attr("class", "pieCircle"), p.selectAll("mySlices").data(W).enter().append("text").text((r) => (r.data.value / b * 100).toFixed(0) + "%").attr("transform", (r) => "translate(" + $.centroid(r) + ")").style("text-anchor", "middle").attr("class", "slice"), p.append("text").text(s.getDiagramTitle()).attr("x", 0).attr("y", -(u - 50) / 2).attr("class", "pieTitleText");
143
- const O = [...d.entries()].map(([r, M]) => ({
141
+ const O = A.filter((r) => (r.data.value / b * 100).toFixed(0) !== "0"), E = oe(C);
142
+ p.selectAll("mySlices").data(O).enter().append("path").attr("d", D).attr("fill", (r) => E(r.data.label)).attr("class", "pieCircle"), p.selectAll("mySlices").data(O).enter().append("text").text((r) => (r.data.value / b * 100).toFixed(0) + "%").attr("transform", (r) => "translate(" + $.centroid(r) + ")").style("text-anchor", "middle").attr("class", "slice"), p.append("text").text(s.getDiagramTitle()).attr("x", 0).attr("y", -(u - 50) / 2).attr("class", "pieTitleText");
143
+ const W = [...d.entries()].map(([r, M]) => ({
144
144
  label: r,
145
145
  value: M
146
- })), k = p.selectAll(".legend").data(O).enter().append("g").attr("class", "legend").attr("transform", (r, M) => {
147
- const R = n + c, B = R * O.length / 2, U = 12 * n, j = M * R - B;
148
- return "translate(" + U + "," + j + ")";
146
+ })), k = p.selectAll(".legend").data(W).enter().append("g").attr("class", "legend").attr("transform", (r, M) => {
147
+ const R = n + c, V = R * W.length / 2, j = 12 * n, U = M * R - V;
148
+ return "translate(" + j + "," + U + ")";
149
149
  });
150
150
  k.append("rect").attr("width", n).attr("height", n).style("fill", (r) => E(r.label)).style("stroke", (r) => E(r.label)), k.append("text").attr("x", n + c).attr("y", n - c).text((r) => s.getShowData() ? `${r.label} [${r.value}]` : r.label);
151
- const V = Math.max(
151
+ const B = Math.max(
152
152
  ...k.selectAll("text").nodes().map((r) => (r == null ? void 0 : r.getBoundingClientRect().width) ?? 0)
153
- ), P = y + t + n + c + V;
153
+ ), P = y + t + n + c + B;
154
154
  m.attr("viewBox", `0 0 ${P} ${u}`), ie(m, u, P, l.useMaxWidth);
155
- }, "draw"), $e = { draw: Ce }, Fe = {
155
+ }, "draw"), $e = { draw: De }, ze = {
156
156
  parser: ye,
157
157
  db: _,
158
158
  renderer: $e,
159
159
  styles: Ae
160
160
  };
161
161
  export {
162
- Fe as diagram
162
+ ze as diagram
163
163
  };
@@ -1,4 +1,4 @@
1
- import { a1 as o, aB as _e, au as D, ad as At, a7 as wt, ac as Ae, ah as ie, a3 as ke, a4 as Fe, ag as Pe, a5 as ve, a6 as Ce, an as Le, ae as Ee } from "./CoachForm.js";
1
+ import { _ as o, I as _e, B as D, l as At, d as wt, i as Ae, n as ie, s as ke, g as Fe, m as Pe, b as ve, c as Ce, r as Le, j as Ee } from "./CoachForm.js";
2
2
  import { s as zt } from "./redux-toolkit.modern.js";
3
3
  import { l as ee } from "./linear.js";
4
4
  var Vt = function() {
@@ -1,4 +1,4 @@
1
- import { c as bt, B as pt, a4 as mt, a7 as kt, X as yt, a5 as wt } from "./Stack.js";
1
+ import { c as bt, B as pt, a5 as mt, a8 as kt, S as yt, a6 as wt } from "./Stack.js";
2
2
  import { j as $ } from "./index2.js";
3
3
  import { Prism as vt } from "react-syntax-highlighter";
4
4
  import { useState as Q, useCallback as St, useEffect as xt } from "react";
@@ -12498,7 +12498,7 @@ function w(e) {
12498
12498
  export {
12499
12499
  ms as A,
12500
12500
  ue as C,
12501
- us as I,
12501
+ ss as I,
12502
12502
  x as R,
12503
12503
  K as T,
12504
12504
  Qo as a,
@@ -12513,13 +12513,13 @@ export {
12513
12513
  gs as j,
12514
12514
  ks as k,
12515
12515
  ds as l,
12516
- bs as m,
12516
+ us as m,
12517
12517
  Fr as n,
12518
- mr as o,
12519
- hs as p,
12520
- Cc as q,
12518
+ bs as o,
12519
+ mr as p,
12520
+ hs as q,
12521
12521
  sc as r,
12522
12522
  fs as s,
12523
- ss as t,
12523
+ Cc as t,
12524
12524
  ps as u
12525
12525
  };
@@ -1,6 +1,6 @@
1
1
  import { g as Ge } from "./chunk-55IACEB6.js";
2
2
  import { s as ze } from "./chunk-QN33PNHL.js";
3
- import { a1 as m, a3 as Xe, a4 as Je, a6 as Ze, a5 as et, ag as tt, ah as st, a7 as Ne, ad as qe, an as it, at as rt, aq as nt, ar as at, am as lt } from "./CoachForm.js";
3
+ import { _ as m, s as Xe, g as Je, c as Ze, b as et, m as tt, n as st, d as Ne, l as qe, r as it, A as rt, x as nt, y as at, u as lt } from "./CoachForm.js";
4
4
  var Ae = function() {
5
5
  var e = /* @__PURE__ */ m(function(P, i, r, l) {
6
6
  for (r = r || {}, l = P.length; l--; r[P[l]] = i) ;
@@ -1,4 +1,4 @@
1
- import { a1 as p, a7 as lt, a4 as _t, a3 as xt, a5 as vt, a6 as bt, ah as wt, ag as St, an as Lt, a9 as Et, ao as At, aO as Tt } from "./CoachForm.js";
1
+ import { _ as p, d as lt, g as _t, s as xt, b as vt, c as bt, n as wt, m as St, r as Lt, e as Et, t as At, V as Tt } from "./CoachForm.js";
2
2
  import { s as X } from "./redux-toolkit.modern.js";
3
3
  import { o as Mt } from "./ordinal.js";
4
4
  function Nt(t) {
@@ -210,13 +210,13 @@ function Bt() {
210
210
  for (let c = 1, r = n.length; c < r; ++c) {
211
211
  const k = n[c];
212
212
  for (const w of k) {
213
- let L = 0, F = 0;
213
+ let L = 0, V = 0;
214
214
  for (const { source: Y, value: et } of w.targetLinks) {
215
215
  let H = et * (w.layer - Y.layer);
216
- L += z(Y, w) * H, F += H;
216
+ L += z(Y, w) * H, V += H;
217
217
  }
218
- if (!(F > 0)) continue;
219
- let G = (L / F - w.y0) * f;
218
+ if (!(V > 0)) continue;
219
+ let G = (L / V - w.y0) * f;
220
220
  w.y0 += G, w.y1 += G, E(w);
221
221
  }
222
222
  o === void 0 && k.sort(Q), O(k, u);
@@ -226,13 +226,13 @@ function Bt() {
226
226
  for (let c = n.length, r = c - 2; r >= 0; --r) {
227
227
  const k = n[r];
228
228
  for (const w of k) {
229
- let L = 0, F = 0;
229
+ let L = 0, V = 0;
230
230
  for (const { target: Y, value: et } of w.sourceLinks) {
231
231
  let H = et * (Y.layer - w.layer);
232
- L += I(w, Y) * H, F += H;
232
+ L += I(w, Y) * H, V += H;
233
233
  }
234
- if (!(F > 0)) continue;
235
- let G = (L / F - w.y0) * f;
234
+ if (!(V > 0)) continue;
235
+ let G = (L / V - w.y0) * f;
236
236
  w.y0 += G, w.y1 += G, E(w);
237
237
  }
238
238
  o === void 0 && k.sort(Q), O(k, u);
@@ -293,7 +293,7 @@ function Bt() {
293
293
  }
294
294
  return b;
295
295
  }
296
- var st = Math.PI, rt = 2 * st, V = 1e-6, Rt = rt - V;
296
+ var st = Math.PI, rt = 2 * st, F = 1e-6, Rt = rt - F;
297
297
  function ot() {
298
298
  this._x0 = this._y0 = // start of current subpath
299
299
  this._x1 = this._y1 = null, this._ = "";
@@ -324,18 +324,18 @@ ot.prototype = kt.prototype = {
324
324
  if (h < 0) throw new Error("negative radius: " + h);
325
325
  if (this._x1 === null)
326
326
  this._ += "M" + (this._x1 = t) + "," + (this._y1 = e);
327
- else if (x > V) if (!(Math.abs(l * _ - s * o) > V) || !h)
327
+ else if (x > F) if (!(Math.abs(l * _ - s * o) > F) || !h)
328
328
  this._ += "L" + (this._x1 = t) + "," + (this._y1 = e);
329
329
  else {
330
330
  var v = i - d, y = a - m, b = _ * _ + s * s, M = v * v + y * y, T = Math.sqrt(b), N = Math.sqrt(x), C = h * Math.tan((st - Math.acos((b + x - M) / (2 * T * N))) / 2), $ = C / N, R = C / T;
331
- Math.abs($ - 1) > V && (this._ += "L" + (t + $ * o) + "," + (e + $ * l)), this._ += "A" + h + "," + h + ",0,0," + +(l * v > o * y) + "," + (this._x1 = t + R * _) + "," + (this._y1 = e + R * s);
331
+ Math.abs($ - 1) > F && (this._ += "L" + (t + $ * o) + "," + (e + $ * l)), this._ += "A" + h + "," + h + ",0,0," + +(l * v > o * y) + "," + (this._x1 = t + R * _) + "," + (this._y1 = e + R * s);
332
332
  }
333
333
  },
334
334
  arc: function(t, e, i, a, h, d) {
335
335
  t = +t, e = +e, i = +i, d = !!d;
336
336
  var m = i * Math.cos(a), _ = i * Math.sin(a), s = t + m, o = e + _, l = 1 ^ d, x = d ? a - h : h - a;
337
337
  if (i < 0) throw new Error("negative radius: " + i);
338
- this._x1 === null ? this._ += "M" + s + "," + o : (Math.abs(this._x1 - s) > V || Math.abs(this._y1 - o) > V) && (this._ += "L" + s + "," + o), i && (x < 0 && (x = x % rt + rt), x > Rt ? this._ += "A" + i + "," + i + ",0,1," + l + "," + (t - m) + "," + (e - _) + "A" + i + "," + i + ",0,1," + l + "," + (this._x1 = s) + "," + (this._y1 = o) : x > V && (this._ += "A" + i + "," + i + ",0," + +(x >= st) + "," + l + "," + (this._x1 = t + i * Math.cos(h)) + "," + (this._y1 = e + i * Math.sin(h))));
338
+ this._x1 === null ? this._ += "M" + s + "," + o : (Math.abs(this._x1 - s) > F || Math.abs(this._y1 - o) > F) && (this._ += "L" + s + "," + o), i && (x < 0 && (x = x % rt + rt), x > Rt ? this._ += "A" + i + "," + i + ",0,1," + l + "," + (t - m) + "," + (e - _) + "A" + i + "," + i + ",0,1," + l + "," + (this._x1 = s) + "," + (this._y1 = o) : x > F && (this._ += "A" + i + "," + i + ",0," + +(x >= st) + "," + l + "," + (this._x1 = t + i * Math.cos(h)) + "," + (this._y1 = e + i * Math.sin(h))));
339
339
  },
340
340
  rect: function(t, e, i, a) {
341
341
  this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +e) + "h" + +i + "v" + +a + "h" + -i + "Z";
@@ -349,10 +349,10 @@ function dt(t) {
349
349
  return t;
350
350
  };
351
351
  }
352
- function Ft(t) {
352
+ function Vt(t) {
353
353
  return t[0];
354
354
  }
355
- function Vt(t) {
355
+ function Ft(t) {
356
356
  return t[1];
357
357
  }
358
358
  var Wt = Array.prototype.slice;
@@ -363,7 +363,7 @@ function Gt(t) {
363
363
  return t.target;
364
364
  }
365
365
  function Yt(t) {
366
- var e = Ut, i = Gt, a = Ft, h = Vt, d = null;
366
+ var e = Ut, i = Gt, a = Vt, h = Ft, d = null;
367
367
  function m() {
368
368
  var _, s = Wt.call(arguments), o = e.apply(this, s), l = i.apply(this, s);
369
369
  if (d || (d = _ = kt()), t(d, +a.apply(this, (s[0] = o, s)), +h.apply(this, s), +a.apply(this, (s[0] = l, s)), +h.apply(this, s)), _) return d = null, _ + "" || null;
@@ -1,5 +1,5 @@
1
- import { g as ct, a as Xt, d as we, b as ve, c as Qt, e as Jt } from "./chunk-TZMSLE5B.js";
2
- import { a1 as f, a3 as se, a6 as Ie, ag as Le, a4 as Ae, a5 as _e, ah as ke, a7 as st, ai as Pe, aj as Ne, an as Se, ad as J, ac as St, ap as Me, a9 as I, aC as z, aD as At, am as F, a2 as Re, ae as De, af as re, aE as Ce, aF as ie, aw as Ht, aG as ne, aH as Oe } from "./CoachForm.js";
1
+ import { g as ct, a as Xt, d as we, b as ve, c as Jt, e as Qt } from "./chunk-TZMSLE5B.js";
2
+ import { _ as f, s as se, c as Ie, m as Le, g as Ae, b as _e, n as ke, d as st, o as Pe, J as Ne, r as Se, l as Q, i as St, v as Me, e as I, K as z, L as At, u as F, a as Re, j as De, k as re, M as Ce, N as ie, D as Ht, O as ne, Z as Oe } from "./CoachForm.js";
3
3
  import { I as Be } from "./chunk-QZHKN3VN.js";
4
4
  import { s as Mt } from "./redux-toolkit.modern.js";
5
5
  var Ut = function() {
@@ -249,27 +249,27 @@ var Ut = function() {
249
249
  return et = m.pop() || W.lex() || jt, typeof et != "number" && (et instanceof Array && (m = et, et = m.pop()), et = _.symbols_[et] || et), et;
250
250
  }
251
251
  f(te, "lex");
252
- for (var Q, yt, it, qt, bt = {}, Pt, ht, ee, Nt; ; ) {
253
- if (yt = L[L.length - 1], this.defaultActions[yt] ? it = this.defaultActions[yt] : ((Q === null || typeof Q > "u") && (Q = te()), it = It[yt] && It[yt][Q]), typeof it > "u" || !it.length || !it[0]) {
252
+ for (var J, yt, it, qt, bt = {}, Pt, ht, ee, Nt; ; ) {
253
+ if (yt = L[L.length - 1], this.defaultActions[yt] ? it = this.defaultActions[yt] : ((J === null || typeof J > "u") && (J = te()), it = It[yt] && It[yt][J]), typeof it > "u" || !it.length || !it[0]) {
254
254
  var zt = "";
255
255
  Nt = [];
256
256
  for (Pt in It[yt])
257
257
  this.terminals_[Pt] && Pt > Te && Nt.push("'" + this.terminals_[Pt] + "'");
258
258
  W.showPosition ? zt = "Parse error on line " + (kt + 1) + `:
259
259
  ` + W.showPosition() + `
260
- Expecting ` + Nt.join(", ") + ", got '" + (this.terminals_[Q] || Q) + "'" : zt = "Parse error on line " + (kt + 1) + ": Unexpected " + (Q == jt ? "end of input" : "'" + (this.terminals_[Q] || Q) + "'"), this.parseError(zt, {
260
+ Expecting ` + Nt.join(", ") + ", got '" + (this.terminals_[J] || J) + "'" : zt = "Parse error on line " + (kt + 1) + ": Unexpected " + (J == jt ? "end of input" : "'" + (this.terminals_[J] || J) + "'"), this.parseError(zt, {
261
261
  text: W.match,
262
- token: this.terminals_[Q] || Q,
262
+ token: this.terminals_[J] || J,
263
263
  line: W.yylineno,
264
264
  loc: Ft,
265
265
  expected: Nt
266
266
  });
267
267
  }
268
268
  if (it[0] instanceof Array && it.length > 1)
269
- throw new Error("Parse Error: multiple actions possible at state: " + yt + ", token: " + Q);
269
+ throw new Error("Parse Error: multiple actions possible at state: " + yt + ", token: " + J);
270
270
  switch (it[0]) {
271
271
  case 1:
272
- L.push(Q), B.push(W.yytext), d.push(W.yylloc), L.push(it[1]), Q = null, $t = W.yyleng, u = W.yytext, kt = W.yylineno, Ft = W.yylloc;
272
+ L.push(J), B.push(W.yytext), d.push(W.yylloc), L.push(it[1]), J = null, $t = W.yyleng, u = W.yytext, kt = W.yylineno, Ft = W.yylloc;
273
273
  break;
274
274
  case 2:
275
275
  if (ht = this.productions_[it[1]][1], bt.$ = B[B.length - ht], bt._$ = {
@@ -842,7 +842,7 @@ var Ve = Ut, Ye = {
842
842
  text: r,
843
843
  wrap: s
844
844
  };
845
- return J.debug(`parseMessage: ${JSON.stringify(i)}`), i;
845
+ return Q.debug(`parseMessage: ${JSON.stringify(i)}`), i;
846
846
  }
847
847
  // We expect the box statement to be color first then description
848
848
  // The color can be rgb,rgba,hsl,hsla, or css code names #hex codes are not supported for now because of the way the char # is handled
@@ -888,7 +888,7 @@ var Ve = Ut, Ye = {
888
888
  const i = JSON.parse(r);
889
889
  this.insertLinks(s, i);
890
890
  } catch (r) {
891
- J.error("error while parsing actor link text", r);
891
+ Q.error("error while parsing actor link text", r);
892
892
  }
893
893
  }
894
894
  addALink(t, n) {
@@ -901,7 +901,7 @@ var Ve = Ut, Ye = {
901
901
  const h = i.slice(0, c - 1).trim(), o = i.slice(c + 1).trim();
902
902
  r[h] = o, this.insertLinks(s, r);
903
903
  } catch (r) {
904
- J.error("error while parsing actor link text", r);
904
+ Q.error("error while parsing actor link text", r);
905
905
  }
906
906
  }
907
907
  insertLinks(t, n) {
@@ -917,7 +917,7 @@ var Ve = Ut, Ye = {
917
917
  const r = St(n.text, st()), i = JSON.parse(r);
918
918
  this.insertProperties(s, i);
919
919
  } catch (r) {
920
- J.error("error while parsing actor properties text", r);
920
+ Q.error("error while parsing actor properties text", r);
921
921
  }
922
922
  }
923
923
  insertProperties(t, n) {
@@ -936,7 +936,7 @@ var Ve = Ut, Ye = {
936
936
  const i = r.innerHTML, c = JSON.parse(i);
937
937
  c.properties && this.insertProperties(s, c.properties), c.links && this.insertLinks(s, c.links);
938
938
  } catch (i) {
939
- J.error("error while parsing actor details text", i);
939
+ Q.error("error while parsing actor details text", i);
940
940
  }
941
941
  }
942
942
  getActorProperty(t, n) {
@@ -1324,7 +1324,7 @@ var Ve = Ut, Ye = {
1324
1324
  const g = Lt(o, a);
1325
1325
  if (t.rectData = a, (b = t.properties) != null && b.icon) {
1326
1326
  const w = t.properties.icon.trim();
1327
- w.charAt(0) === "@" ? Qt(o, a.x + a.width - 20, a.y + 10, w.substr(1)) : Jt(o, a.x + a.width - 20, a.y + 10, w);
1327
+ w.charAt(0) === "@" ? Jt(o, a.x + a.width - 20, a.y + 10, w.substr(1)) : Qt(o, a.x + a.width - 20, a.y + 10, w);
1328
1328
  }
1329
1329
  dt(n, z(t.description))(
1330
1330
  t.description,
@@ -1358,7 +1358,7 @@ var Ve = Ut, Ye = {
1358
1358
  }, y = Lt(o, a);
1359
1359
  if (Lt(o, x), t.rectData = a, (k = t.properties) != null && k.icon) {
1360
1360
  const N = t.properties.icon.trim();
1361
- N.charAt(0) === "@" ? Qt(o, a.x + a.width - 20, a.y + 10, N.substr(1)) : Jt(o, a.x + a.width - 20, a.y + 10, N);
1361
+ N.charAt(0) === "@" ? Jt(o, a.x + a.width - 20, a.y + 10, N.substr(1)) : Qt(o, a.x + a.width - 20, a.y + 10, N);
1362
1362
  }
1363
1363
  dt(n, z(t.description))(
1364
1364
  t.description,
@@ -1399,7 +1399,7 @@ var Ve = Ut, Ye = {
1399
1399
  a ${x},${g} 0 0 0 0,${a.height}`
1400
1400
  ).attr("stroke", "#666").attr("stroke-width", "1px").attr("class", p), y.attr("transform", `translate(${x}, ${-(a.height / 2)})`), b.attr("transform", `translate(${a.width - x}, ${-a.height / 2})`), t.rectData = a, (S = t.properties) != null && S.icon) {
1401
1401
  const M = t.properties.icon.trim(), C = a.x + a.width - 20, Y = a.y + 10;
1402
- M.charAt(0) === "@" ? Qt(o, C, Y, M.substr(1)) : Jt(o, C, Y, M);
1402
+ M.charAt(0) === "@" ? Jt(o, C, Y, M.substr(1)) : Qt(o, C, Y, M);
1403
1403
  }
1404
1404
  dt(n, z(t.description))(
1405
1405
  t.description,
@@ -1418,7 +1418,7 @@ var Ve = Ut, Ye = {
1418
1418
  t.height = M.height, w = M.height;
1419
1419
  }
1420
1420
  return w;
1421
- }, "drawActorTypeQueue"), Qe = /* @__PURE__ */ f(function(e, t, n, s) {
1421
+ }, "drawActorTypeQueue"), Je = /* @__PURE__ */ f(function(e, t, n, s) {
1422
1422
  var w;
1423
1423
  const r = s ? t.stopy : t.starty, i = t.x + t.width / 2, c = r + 75, h = e.append("g").lower();
1424
1424
  s || (P++, h.append("line").attr("id", "actor" + P).attr("x1", i).attr("y1", c).attr("x2", i).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", t.name), t.actorCnt = P);
@@ -1440,7 +1440,7 @@ var Ve = Ut, Ye = {
1440
1440
  { class: `actor ${ut}` },
1441
1441
  n
1442
1442
  ), t.height;
1443
- }, "drawActorTypeControl"), Je = /* @__PURE__ */ f(function(e, t, n, s) {
1443
+ }, "drawActorTypeControl"), Qe = /* @__PURE__ */ f(function(e, t, n, s) {
1444
1444
  var w;
1445
1445
  const r = s ? t.stopy : t.starty, i = t.x + t.width / 2, c = r + 75, h = e.append("g").lower(), o = e.append("g");
1446
1446
  let a = ut;
@@ -1541,9 +1541,9 @@ var Ve = Ut, Ye = {
1541
1541
  case "boundary":
1542
1542
  return await $e(e, t, n, s);
1543
1543
  case "control":
1544
- return await Qe(e, t, n, s);
1545
- case "entity":
1546
1544
  return await Je(e, t, n, s);
1545
+ case "entity":
1546
+ return await Qe(e, t, n, s);
1547
1547
  case "database":
1548
1548
  return await Ze(e, t, n, s);
1549
1549
  case "collections":
@@ -1993,7 +1993,7 @@ function nt(e, t, n, s, r) {
1993
1993
  const c = e[t.id].width, h = Et(l);
1994
1994
  t.message = F.wrapLabel(`[${t.message}]`, c - 2 * l.wrapPadding, h), t.width = c, t.wrap = !0;
1995
1995
  const o = F.calculateTextDimensions(t.message, h), a = I.getMax(o.height, l.labelBoxHeight);
1996
- i = s + a, J.debug(`${a} - ${t.message}`);
1996
+ i = s + a, Q.debug(`${a} - ${t.message}`);
1997
1997
  }
1998
1998
  r(t), T.bumpVerticalPos(i);
1999
1999
  }
@@ -2059,7 +2059,7 @@ var ys = /* @__PURE__ */ f(async function(e, t, n, s) {
2059
2059
  let c;
2060
2060
  r === "sandbox" && (c = Mt("#i" + t));
2061
2061
  const h = r === "sandbox" ? Mt(c.nodes()[0].contentDocument.body) : Mt("body"), o = r === "sandbox" ? c.nodes()[0].contentDocument : document;
2062
- T.init(), J.debug(s.db);
2062
+ T.init(), Q.debug(s.db);
2063
2063
  const a = r === "sandbox" ? h.select(`[id="${t}"]`) : Mt(`[id="${t}"]`), p = s.db.getActors(), g = s.db.getCreatedActors(), x = s.db.getDestroyedActors(), y = s.db.getBoxes();
2064
2064
  let b = s.db.getActorKeys();
2065
2065
  const w = s.db.getMessages(), k = s.db.getDiagramTitle(), N = s.db.hasAtLeastOneBox(), S = s.db.hasAtLeastOneBoxWithTitle(), M = await xe(p, w, s);
@@ -2227,7 +2227,7 @@ var ys = /* @__PURE__ */ f(async function(e, t, n, s) {
2227
2227
  x
2228
2228
  ), at.push({ messageModel: tt, lineStartY: R }), T.models.addMessage(tt);
2229
2229
  } catch (R) {
2230
- J.error("error while drawing message", R);
2230
+ Q.error("error while drawing message", R);
2231
2231
  }
2232
2232
  }
2233
2233
  [
@@ -2243,7 +2243,7 @@ var ys = /* @__PURE__ */ f(async function(e, t, n, s) {
2243
2243
  s.db.LINETYPE.BIDIRECTIONAL_DOTTED
2244
2244
  ].includes(E.type) && (H = H + Z), G++;
2245
2245
  }
2246
- J.debug("createdActors", g), J.debug("destroyedActors", x), await Kt(a, p, b, !1);
2246
+ Q.debug("createdActors", g), Q.debug("destroyedActors", x), await Kt(a, p, b, !1);
2247
2247
  for (const E of at)
2248
2248
  await xs(a, E.messageModel, E.lineStartY, s);
2249
2249
  l.mirrorActors && await Kt(a, p, b, !0), U.forEach((E) => V.drawBackgroundRect(a, E)), ce(a, p, b, l);
@@ -2267,7 +2267,7 @@ var ys = /* @__PURE__ */ f(async function(e, t, n, s) {
2267
2267
  a.attr(
2268
2268
  "viewBox",
2269
2269
  O.startx - l.diagramMarginX + " -" + (l.diagramMarginY + D) + " " + rt + " " + (K + D)
2270
- ), J.debug("models:", T.models);
2270
+ ), Q.debug("models:", T.models);
2271
2271
  }, "draw");
2272
2272
  async function xe(e, t, n) {
2273
2273
  const s = {};
@@ -2303,7 +2303,7 @@ async function xe(e, t, n) {
2303
2303
  g / 2
2304
2304
  )));
2305
2305
  }
2306
- return J.debug("maxMessageWidthPerActor:", s), s;
2306
+ return Q.debug("maxMessageWidthPerActor:", s), s;
2307
2307
  }
2308
2308
  f(xe, "getMaxMessageWidthPerActor");
2309
2309
  var Ts = /* @__PURE__ */ f(function(e) {
@@ -2384,7 +2384,7 @@ var Es = /* @__PURE__ */ f(async function(e, t, n) {
2384
2384
  e.message,
2385
2385
  a.width - 2 * l.wrapPadding,
2386
2386
  mt(l)
2387
- )), J.debug(
2387
+ )), Q.debug(
2388
2388
  `NM:[${a.startx},${a.stopx},${a.starty},${a.stopy}:${a.width},${a.height}=${e.message}]`
2389
2389
  ), a;
2390
2390
  }, "buildNoteModel"), bs = /* @__PURE__ */ f(function(e, t, n) {
@@ -2500,7 +2500,7 @@ var Es = /* @__PURE__ */ f(async function(e, t, n) {
2500
2500
  c.from = I.getMin(o.startx, c.from), c.to = I.getMax(o.stopx, c.to), c.width = I.getMax(c.width, o.width) - l.labelBoxWidth;
2501
2501
  }));
2502
2502
  }
2503
- return T.activations = [], J.debug("Loop type widths:", r), r;
2503
+ return T.activations = [], Q.debug("Loop type widths:", r), r;
2504
2504
  }, "calculateLoopBounds"), ws = {
2505
2505
  bounds: T,
2506
2506
  drawActors: Kt,