@altimateai/ui-components 0.0.77-beta.7 → 0.0.77

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 (405) hide show
  1. package/dist/CoachForm.css +1 -1
  2. package/dist/CoachForm.js +24114 -67797
  3. package/dist/DbtDocsRenderer.js +1 -1
  4. package/dist/Stack.js +2274 -2824
  5. package/dist/Switch.js +87 -128
  6. package/dist/ToggleGroup.js +4788 -5963
  7. package/dist/_basePickBy.js +60 -60
  8. package/dist/_baseUniq.js +152 -152
  9. package/dist/arc.js +53 -53
  10. package/dist/architectureDiagram-VXUJARFQ.js +4315 -480
  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 +19 -57
  16. package/dist/chatbotV2/index.js +56 -91
  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 +14 -14
  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 +2535 -160
  28. package/dist/dagre-6UL2VRFP.js +101 -101
  29. package/dist/dayjs.min.js +2 -2
  30. package/dist/defaultLocale.js +3 -3
  31. package/dist/diagram-PSM6KHXK.js +414 -198
  32. package/dist/diagram-QEK2KX5R.js +26 -26
  33. package/dist/diagram-S2PKOQOG.js +12 -12
  34. package/dist/erDiagram-Q2GNP2WA.js +1 -1
  35. package/dist/flowDiagram-NV44I4VS.js +6 -6
  36. package/dist/ganttDiagram-LVOFAZNH.js +1718 -843
  37. package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
  38. package/dist/graph.js +18 -17
  39. package/dist/index.d.ts +6 -101
  40. package/dist/index.js +37 -37
  41. package/dist/index2.js +684 -216
  42. package/dist/infoDiagram-F6ZHWCRC.js +14 -14
  43. package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
  44. package/dist/kanban-definition-3W4ZIXB7.js +42 -42
  45. package/dist/layout.js +678 -567
  46. package/dist/lineage/index.js +1315 -1308
  47. package/dist/linear.js +1 -1
  48. package/dist/main.css +1 -1
  49. package/dist/main.js +151 -151
  50. package/dist/mermaid-parser.core.js +155 -155
  51. package/dist/mindmap-definition-VGOIOE7T.js +28 -28
  52. package/dist/pieDiagram-ADFJNKIX.js +108 -68
  53. package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
  54. package/dist/redux-toolkit.modern.js +555 -563
  55. package/dist/requirementDiagram-UZGBJVZJ.js +14 -14
  56. package/dist/sankeyDiagram-TZEHDZUN.js +622 -229
  57. package/dist/sequenceDiagram-WL72ISMW.js +1 -1
  58. package/dist/shadcn/index.d.ts +40 -24
  59. package/dist/shadcn/index.js +4733 -6547
  60. package/dist/stateDiagram-FKZM4ZOC.js +33 -33
  61. package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
  62. package/dist/storybook/Typography.stories.tsx +120 -93
  63. package/dist/timeline-definition-IT6M3QCI.js +63 -63
  64. package/dist/{types-UHJCpYj0.d.ts → types-ByRPUpXR.d.ts} +116 -25
  65. package/dist/xychartDiagram-PRI3JC2R.js +491 -449
  66. package/package.json +1 -1
  67. package/dist/abap.js +0 -6
  68. package/dist/actionscript-3.js +0 -6
  69. package/dist/ada.js +0 -6
  70. package/dist/andromeeda.js +0 -4
  71. package/dist/angular-html.js +0 -32
  72. package/dist/angular-ts.js +0 -21
  73. package/dist/apache.js +0 -6
  74. package/dist/apex.js +0 -6
  75. package/dist/apl.js +0 -16
  76. package/dist/applescript.js +0 -6
  77. package/dist/ara.js +0 -6
  78. package/dist/architectureDiagram-VXUJARFQ2.js +0 -831
  79. package/dist/asciidoc.js +0 -6
  80. package/dist/asm.js +0 -6
  81. package/dist/astro.js +0 -18
  82. package/dist/aurora-x.js +0 -4
  83. package/dist/awk.js +0 -6
  84. package/dist/ayu-dark.js +0 -4
  85. package/dist/ballerina.js +0 -6
  86. package/dist/band.js +0 -46
  87. package/dist/bat.js +0 -6
  88. package/dist/beancount.js +0 -6
  89. package/dist/berry.js +0 -6
  90. package/dist/bibtex.js +0 -6
  91. package/dist/bicep.js +0 -6
  92. package/dist/blade.js +0 -20
  93. package/dist/blockDiagram-VD42YOAC2.js +0 -2266
  94. package/dist/bsl.js +0 -8
  95. package/dist/c.js +0 -6
  96. package/dist/c3.js +0 -6
  97. package/dist/c4Diagram-YG6GDRKO2.js +0 -1582
  98. package/dist/cadence.js +0 -6
  99. package/dist/cairo.js +0 -8
  100. package/dist/catppuccin-frappe.js +0 -4
  101. package/dist/catppuccin-latte.js +0 -4
  102. package/dist/catppuccin-macchiato.js +0 -4
  103. package/dist/catppuccin-mocha.js +0 -4
  104. package/dist/chunk-4BX2VUAB2.js +0 -9
  105. package/dist/chunk-55IACEB62.js +0 -9
  106. package/dist/chunk-B4BG7PRW2.js +0 -1377
  107. package/dist/chunk-DI55MBZ52.js +0 -1382
  108. package/dist/chunk-FMBD7UC42.js +0 -19
  109. package/dist/chunk-QN33PNHL2.js +0 -20
  110. package/dist/chunk-QZHKN3VN2.js +0 -15
  111. package/dist/chunk-TZMSLE5B2.js +0 -64
  112. package/dist/clarity.js +0 -6
  113. package/dist/classDiagram-2ON5EDUG2.js +0 -17
  114. package/dist/classDiagram-v2-WZHVMYZB2.js +0 -17
  115. package/dist/clojure.js +0 -6
  116. package/dist/cmake.js +0 -6
  117. package/dist/cobol.js +0 -10
  118. package/dist/code-block-37QAKDTI.js +0 -27
  119. package/dist/codeowners.js +0 -6
  120. package/dist/codeql.js +0 -6
  121. package/dist/coffee.js +0 -8
  122. package/dist/common-lisp.js +0 -6
  123. package/dist/coq.js +0 -6
  124. package/dist/cose-bilkent-S5V4N54A2.js +0 -231
  125. package/dist/cpp.js +0 -18
  126. package/dist/crystal.js +0 -18
  127. package/dist/csharp.js +0 -6
  128. package/dist/css.js +0 -6
  129. package/dist/csv.js +0 -6
  130. package/dist/cue.js +0 -6
  131. package/dist/cypher.js +0 -6
  132. package/dist/cytoscape-cose-bilkent.js +0 -2380
  133. package/dist/cytoscape-fcose.js +0 -3840
  134. package/dist/d.js +0 -6
  135. package/dist/dagre-6UL2VRFP2.js +0 -447
  136. package/dist/dark-plus.js +0 -4
  137. package/dist/dart.js +0 -6
  138. package/dist/dax.js +0 -6
  139. package/dist/desktop.js +0 -6
  140. package/dist/diagram-PSM6KHXK2.js +0 -319
  141. package/dist/diagram-QEK2KX5R2.js +0 -221
  142. package/dist/diagram-S2PKOQOG2.js +0 -143
  143. package/dist/diff.js +0 -6
  144. package/dist/docker.js +0 -6
  145. package/dist/dotenv.js +0 -6
  146. package/dist/dracula-soft.js +0 -4
  147. package/dist/dracula.js +0 -4
  148. package/dist/dream-maker.js +0 -6
  149. package/dist/edge.js +0 -12
  150. package/dist/elixir.js +0 -8
  151. package/dist/elm.js +0 -8
  152. package/dist/emacs-lisp.js +0 -6
  153. package/dist/erDiagram-Q2GNP2WA2.js +0 -843
  154. package/dist/erb.js +0 -10
  155. package/dist/erlang.js +0 -8
  156. package/dist/everforest-dark.js +0 -4
  157. package/dist/everforest-light.js +0 -4
  158. package/dist/fennel.js +0 -6
  159. package/dist/fish.js +0 -6
  160. package/dist/flowDiagram-NV44I4VS2.js +0 -1628
  161. package/dist/fluent.js +0 -6
  162. package/dist/fortran-fixed-form.js +0 -8
  163. package/dist/fortran-free-form.js +0 -6
  164. package/dist/fsharp.js +0 -8
  165. package/dist/ganttDiagram-JELNMOA3.js +0 -1788
  166. package/dist/gdresource.js +0 -10
  167. package/dist/gdscript.js +0 -6
  168. package/dist/gdshader.js +0 -6
  169. package/dist/genie.js +0 -6
  170. package/dist/gherkin.js +0 -6
  171. package/dist/git-commit.js +0 -8
  172. package/dist/git-rebase.js +0 -8
  173. package/dist/gitGraphDiagram-NY62KEGX2.js +0 -713
  174. package/dist/github-dark-default.js +0 -4
  175. package/dist/github-dark-dimmed.js +0 -4
  176. package/dist/github-dark-high-contrast.js +0 -4
  177. package/dist/github-dark.js +0 -4
  178. package/dist/github-light-default.js +0 -4
  179. package/dist/github-light-high-contrast.js +0 -4
  180. package/dist/github-light.js +0 -4
  181. package/dist/gleam.js +0 -6
  182. package/dist/glimmer-js.js +0 -14
  183. package/dist/glimmer-ts.js +0 -14
  184. package/dist/glsl.js +0 -8
  185. package/dist/gn.js +0 -6
  186. package/dist/gnuplot.js +0 -6
  187. package/dist/go.js +0 -6
  188. package/dist/graph2.js +0 -246
  189. package/dist/graphql.js +0 -14
  190. package/dist/groovy.js +0 -6
  191. package/dist/gruvbox-dark-hard.js +0 -4
  192. package/dist/gruvbox-dark-medium.js +0 -4
  193. package/dist/gruvbox-dark-soft.js +0 -4
  194. package/dist/gruvbox-light-hard.js +0 -4
  195. package/dist/gruvbox-light-medium.js +0 -4
  196. package/dist/gruvbox-light-soft.js +0 -4
  197. package/dist/hack.js +0 -10
  198. package/dist/haml.js +0 -10
  199. package/dist/handlebars.js +0 -14
  200. package/dist/haskell.js +0 -6
  201. package/dist/haxe.js +0 -6
  202. package/dist/hcl.js +0 -6
  203. package/dist/hjson.js +0 -6
  204. package/dist/hlsl.js +0 -6
  205. package/dist/houston.js +0 -4
  206. package/dist/html-derivative.js +0 -8
  207. package/dist/html.js +0 -10
  208. package/dist/http.js +0 -14
  209. package/dist/hurl.js +0 -12
  210. package/dist/hxml.js +0 -8
  211. package/dist/hy.js +0 -6
  212. package/dist/imba.js +0 -6
  213. package/dist/index3.js +0 -689
  214. package/dist/infoDiagram-WHAUD3N6.js +0 -24
  215. package/dist/ini.js +0 -6
  216. package/dist/java.js +0 -6
  217. package/dist/javascript.js +0 -6
  218. package/dist/jinja.js +0 -11
  219. package/dist/jison.js +0 -8
  220. package/dist/journeyDiagram-XKPGCS4Q2.js +0 -837
  221. package/dist/json.js +0 -6
  222. package/dist/json5.js +0 -6
  223. package/dist/jsonc.js +0 -6
  224. package/dist/jsonl.js +0 -6
  225. package/dist/jsonnet.js +0 -6
  226. package/dist/jssm.js +0 -6
  227. package/dist/jsx.js +0 -6
  228. package/dist/julia.js +0 -16
  229. package/dist/kanagawa-dragon.js +0 -4
  230. package/dist/kanagawa-lotus.js +0 -4
  231. package/dist/kanagawa-wave.js +0 -4
  232. package/dist/kanban-definition-3W4ZIXB72.js +0 -720
  233. package/dist/katex2.js +0 -11691
  234. package/dist/kdl.js +0 -6
  235. package/dist/kotlin.js +0 -6
  236. package/dist/kusto.js +0 -6
  237. package/dist/laserwave.js +0 -4
  238. package/dist/latex.js +0 -8
  239. package/dist/layout2.js +0 -1224
  240. package/dist/lean.js +0 -6
  241. package/dist/less.js +0 -6
  242. package/dist/light-plus.js +0 -4
  243. package/dist/liquid.js +0 -14
  244. package/dist/llvm.js +0 -6
  245. package/dist/log.js +0 -6
  246. package/dist/logo.js +0 -6
  247. package/dist/lua.js +0 -8
  248. package/dist/luau.js +0 -6
  249. package/dist/make.js +0 -6
  250. package/dist/markdown.js +0 -6
  251. package/dist/marko.js +0 -14
  252. package/dist/material-theme-darker.js +0 -4
  253. package/dist/material-theme-lighter.js +0 -4
  254. package/dist/material-theme-ocean.js +0 -4
  255. package/dist/material-theme-palenight.js +0 -4
  256. package/dist/material-theme.js +0 -4
  257. package/dist/matlab.js +0 -6
  258. package/dist/mdc.js +0 -12
  259. package/dist/mdx.js +0 -6
  260. package/dist/mermaid-4DMBBIKO.js +0 -4
  261. package/dist/mermaid.js +0 -6
  262. package/dist/min-dark.js +0 -4
  263. package/dist/min-light.js +0 -4
  264. package/dist/mindmap-definition-VGOIOE7T2.js +0 -786
  265. package/dist/mipsasm.js +0 -6
  266. package/dist/mojo.js +0 -6
  267. package/dist/monokai.js +0 -4
  268. package/dist/moonbit.js +0 -6
  269. package/dist/move.js +0 -6
  270. package/dist/narrat.js +0 -6
  271. package/dist/nextflow.js +0 -6
  272. package/dist/nginx.js +0 -8
  273. package/dist/night-owl.js +0 -4
  274. package/dist/nim.js +0 -20
  275. package/dist/nix.js +0 -9
  276. package/dist/nord.js +0 -4
  277. package/dist/nushell.js +0 -6
  278. package/dist/objective-c.js +0 -6
  279. package/dist/objective-cpp.js +0 -6
  280. package/dist/ocaml.js +0 -6
  281. package/dist/one-dark-pro.js +0 -4
  282. package/dist/one-light.js +0 -4
  283. package/dist/openscad.js +0 -6
  284. package/dist/pascal.js +0 -6
  285. package/dist/perl.js +0 -16
  286. package/dist/php.js +0 -18
  287. package/dist/pie.js +0 -45
  288. package/dist/pieDiagram-ADFJNKIX2.js +0 -123
  289. package/dist/pkl.js +0 -6
  290. package/dist/plastic.js +0 -4
  291. package/dist/plsql.js +0 -6
  292. package/dist/po.js +0 -6
  293. package/dist/poimandres.js +0 -4
  294. package/dist/polar.js +0 -6
  295. package/dist/postcss.js +0 -6
  296. package/dist/powerquery.js +0 -6
  297. package/dist/powershell.js +0 -6
  298. package/dist/prisma.js +0 -6
  299. package/dist/prolog.js +0 -6
  300. package/dist/proto.js +0 -6
  301. package/dist/pug.js +0 -12
  302. package/dist/puppet.js +0 -6
  303. package/dist/purescript.js +0 -6
  304. package/dist/python.js +0 -6
  305. package/dist/qml.js +0 -8
  306. package/dist/qmldir.js +0 -6
  307. package/dist/qss.js +0 -6
  308. package/dist/quadrantDiagram-AYHSOK5B2.js +0 -1025
  309. package/dist/r.js +0 -6
  310. package/dist/racket.js +0 -6
  311. package/dist/raku.js +0 -6
  312. package/dist/razor.js +0 -10
  313. package/dist/red.js +0 -4
  314. package/dist/reg.js +0 -6
  315. package/dist/regexp.js +0 -6
  316. package/dist/rel.js +0 -6
  317. package/dist/requirementDiagram-UZGBJVZJ2.js +0 -852
  318. package/dist/riscv.js +0 -6
  319. package/dist/rose-pine-dawn.js +0 -4
  320. package/dist/rose-pine-moon.js +0 -4
  321. package/dist/rose-pine.js +0 -4
  322. package/dist/rosmsg.js +0 -6
  323. package/dist/rst.js +0 -22
  324. package/dist/ruby.js +0 -30
  325. package/dist/rust.js +0 -6
  326. package/dist/sankeyDiagram-TZEHDZUN2.js +0 -418
  327. package/dist/sankeyLinkHorizontal.js +0 -403
  328. package/dist/sas.js +0 -8
  329. package/dist/sass.js +0 -6
  330. package/dist/scala.js +0 -6
  331. package/dist/scheme.js +0 -6
  332. package/dist/scss.js +0 -8
  333. package/dist/sdbl.js +0 -6
  334. package/dist/sequenceDiagram-WL72ISMW2.js +0 -2523
  335. package/dist/shaderlab.js +0 -8
  336. package/dist/shellscript.js +0 -6
  337. package/dist/shellsession.js +0 -8
  338. package/dist/slack-dark.js +0 -4
  339. package/dist/slack-ochin.js +0 -4
  340. package/dist/smalltalk.js +0 -6
  341. package/dist/snazzy-light.js +0 -4
  342. package/dist/solarized-dark.js +0 -4
  343. package/dist/solarized-light.js +0 -4
  344. package/dist/solidity.js +0 -6
  345. package/dist/soy.js +0 -8
  346. package/dist/sparql.js +0 -8
  347. package/dist/splunk.js +0 -6
  348. package/dist/sql.js +0 -6
  349. package/dist/ssh-config.js +0 -6
  350. package/dist/stata.js +0 -8
  351. package/dist/stateDiagram-FKZM4ZOC2.js +0 -264
  352. package/dist/stateDiagram-v2-4FDKWEC32.js +0 -17
  353. package/dist/stylus.js +0 -6
  354. package/dist/svelte.js +0 -14
  355. package/dist/swift.js +0 -6
  356. package/dist/synthwave-84.js +0 -4
  357. package/dist/system-verilog.js +0 -6
  358. package/dist/systemd.js +0 -6
  359. package/dist/talonscript.js +0 -6
  360. package/dist/tasl.js +0 -6
  361. package/dist/tcl.js +0 -6
  362. package/dist/templ.js +0 -12
  363. package/dist/terraform.js +0 -6
  364. package/dist/tex.js +0 -8
  365. package/dist/time.js +0 -900
  366. package/dist/timeline-definition-IT6M3QCI2.js +0 -802
  367. package/dist/tokyo-night.js +0 -4
  368. package/dist/toml.js +0 -6
  369. package/dist/ts-tags.js +0 -41
  370. package/dist/tsv.js +0 -6
  371. package/dist/tsx.js +0 -6
  372. package/dist/turtle.js +0 -6
  373. package/dist/twig.js +0 -18
  374. package/dist/typescript.js +0 -6
  375. package/dist/typespec.js +0 -6
  376. package/dist/typst.js +0 -6
  377. package/dist/union.js +0 -8
  378. package/dist/v.js +0 -6
  379. package/dist/vala.js +0 -6
  380. package/dist/vb.js +0 -6
  381. package/dist/verilog.js +0 -6
  382. package/dist/vesper.js +0 -4
  383. package/dist/vhdl.js +0 -6
  384. package/dist/viml.js +0 -6
  385. package/dist/vitesse-black.js +0 -4
  386. package/dist/vitesse-dark.js +0 -4
  387. package/dist/vitesse-light.js +0 -4
  388. package/dist/vue-html.js +0 -8
  389. package/dist/vue-vine.js +0 -18
  390. package/dist/vue.js +0 -31
  391. package/dist/vyper.js +0 -6
  392. package/dist/wasm.js +0 -7
  393. package/dist/wasm2.js +0 -6
  394. package/dist/wenyan.js +0 -6
  395. package/dist/wgsl.js +0 -6
  396. package/dist/wikitext.js +0 -6
  397. package/dist/wit.js +0 -6
  398. package/dist/wolfram.js +0 -6
  399. package/dist/xml.js +0 -8
  400. package/dist/xsl.js +0 -8
  401. package/dist/xychartDiagram-PRI3JC2R2.js +0 -1299
  402. package/dist/yaml.js +0 -6
  403. package/dist/zenscript.js +0 -6
  404. package/dist/zig.js +0 -6
  405. package/dist/zipObject.js +0 -128
@@ -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 { _ as l, l as I, d as X, C as j, i as F, cN as de, y as ge, z as ue, Y as pe, $ as fe, a0 as ye } from "./CoachForm.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";
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], N = [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], 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], 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 = {
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(N, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: y }), t(N, [2, 18]), t(N, [2, 19]), t(N, [2, 20]), t(N, [2, 21]), t(N, [2, 23]), t(N, [2, 24]), t(N, [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(N, [2, 15]), t(N, [2, 16]), t(N, [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(N, [2, 25]), t(N, [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(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])],
91
91
  defaultActions: { 2: [2, 1], 6: [2, 2] },
92
92
  parseError: /* @__PURE__ */ l(function(s, i) {
93
93
  if (i.recoverable)
@@ -99,23 +99,23 @@ var q = function() {
99
99
  }, "parseError"),
100
100
  parse: /* @__PURE__ */ l(function(s) {
101
101
  var i = this, a = [0], o = [], g = [null], r = [], U = this.table, d = "", M = 0, Z = 0, re = 2, ee = 1, ae = r.slice.call(arguments, 1), f = Object.create(this.lexer), T = { yy: {} };
102
- for (var $ in this.yy)
103
- Object.prototype.hasOwnProperty.call(this.yy, $) && (T.yy[$] = this.yy[$]);
102
+ for (var H in this.yy)
103
+ Object.prototype.hasOwnProperty.call(this.yy, H) && (T.yy[H] = this.yy[H]);
104
104
  f.setInput(s, T.yy), T.yy.lexer = f, T.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
105
- var H = f.yylloc;
106
- r.push(H);
105
+ var $ = f.yylloc;
106
+ r.push($);
107
107
  var oe = f.options && f.options.ranges;
108
108
  typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
109
- function ce(D) {
110
- a.length = a.length - 2 * D, g.length = g.length - D, r.length = r.length - D;
109
+ function ce(N) {
110
+ a.length = a.length - 2 * N, g.length = g.length - N, r.length = r.length - N;
111
111
  }
112
112
  l(ce, "popStack");
113
113
  function te() {
114
- var D;
115
- return D = o.pop() || f.lex() || ee, typeof D != "number" && (D instanceof Array && (o = D, D = o.pop()), D = i.symbols_[D] || D), D;
114
+ var N;
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, C = {}, V, L, ie, B; ; ) {
118
+ for (var S, O, k, z, 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
120
  var W = "";
121
121
  B = [];
@@ -127,7 +127,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
127
127
  text: f.match,
128
128
  token: this.terminals_[S] || S,
129
129
  line: f.yylineno,
130
- loc: H,
130
+ loc: $,
131
131
  expected: B
132
132
  });
133
133
  }
@@ -135,18 +135,18 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
135
135
  throw new Error("Parse Error: multiple actions possible at state: " + O + ", token: " + S);
136
136
  switch (k[0]) {
137
137
  case 1:
138
- a.push(S), g.push(f.yytext), r.push(f.yylloc), a.push(k[1]), S = null, Z = f.yyleng, d = f.yytext, M = f.yylineno, H = f.yylloc;
138
+ a.push(S), g.push(f.yytext), r.push(f.yylloc), a.push(k[1]), S = null, Z = f.yyleng, d = f.yytext, M = f.yylineno, $ = f.yylloc;
139
139
  break;
140
140
  case 2:
141
- if (L = this.productions_[k[1]][1], C.$ = g[g.length - L], C._$ = {
141
+ if (L = this.productions_[k[1]][1], I.$ = g[g.length - L], I._$ = {
142
142
  first_line: r[r.length - (L || 1)].first_line,
143
143
  last_line: r[r.length - 1].last_line,
144
144
  first_column: r[r.length - (L || 1)].first_column,
145
145
  last_column: r[r.length - 1].last_column
146
- }, oe && (C._$.range = [
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(C, [
149
+ ]), z = this.performAction.apply(I, [
150
150
  d,
151
151
  Z,
152
152
  M,
@@ -156,7 +156,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
156
156
  r
157
157
  ].concat(ae)), typeof z < "u")
158
158
  return z;
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(C.$), r.push(C._$), ie = U[a[a.length - 2]][a[a.length - 1]], a.push(ie);
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:
162
162
  return !0;
@@ -432,7 +432,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
432
432
  return l(P, "Parser"), P.prototype = G, G.Parser = P, new P();
433
433
  }();
434
434
  q.parser = q;
435
- var Ne = q, x = {
435
+ var De = q, x = {
436
436
  DEFAULT: 0,
437
437
  NO_BORDER: 0,
438
438
  ROUNDED_RECT: 1,
@@ -441,7 +441,7 @@ var Ne = q, x = {
441
441
  CLOUD: 4,
442
442
  BANG: 5,
443
443
  HEXAGON: 6
444
- }, R, De = (R = class {
444
+ }, R, Ne = (R = class {
445
445
  constructor() {
446
446
  this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = x, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
447
447
  }
@@ -459,7 +459,7 @@ var Ne = q, x = {
459
459
  }
460
460
  addNode(e, n, c, u) {
461
461
  var m, w;
462
- I.info("addNode", e, n, c, u);
462
+ C.info("addNode", e, n, c, u);
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();
@@ -492,7 +492,7 @@ var Ne = q, x = {
492
492
  );
493
493
  }
494
494
  getType(e, n) {
495
- switch (I.debug("In get type", e, n), e) {
495
+ switch (C.debug("In get type", e, n), e) {
496
496
  case "[":
497
497
  return this.nodeType.RECT;
498
498
  case "(":
@@ -647,9 +647,9 @@ var Ne = q, x = {
647
647
  edges: [],
648
648
  config: h
649
649
  };
650
- I.debug("getData: mindmapRoot", e, n), this.assignSections(e);
650
+ C.debug("getData: mindmapRoot", e, n), this.assignSections(e);
651
651
  const p = [], y = [];
652
- this.flattenNodes(e, p), this.generateEdges(e, y), I.debug(
652
+ this.flattenNodes(e, p), this.generateEdges(e, y), C.debug(
653
653
  `getData: processed ${p.length} nodes and ${y.length} edges`
654
654
  );
655
655
  const _ = /* @__PURE__ */ new Map();
@@ -684,11 +684,11 @@ var Ne = q, x = {
684
684
  }
685
685
  // Expose logger to grammar
686
686
  getLogger() {
687
- return I;
687
+ return C;
688
688
  }
689
689
  }, l(R, "MindmapDB"), R), ke = /* @__PURE__ */ l(async (t, e, n, c) => {
690
690
  var _, b;
691
- I.debug(`Rendering mindmap diagram
691
+ C.debug(`Rendering mindmap diagram
692
692
  ` + t);
693
693
  const u = c.db, h = u.getData(), p = le(e, h.config.securityLevel);
694
694
  h.type = c.type, h.layoutAlgorithm = ge(h.config.layout, {
@@ -775,10 +775,10 @@ var Ne = q, x = {
775
775
  }
776
776
  `, "getStyles"), Te = ve, Re = {
777
777
  get db() {
778
- return new De();
778
+ return new Ne();
779
779
  },
780
780
  renderer: Le,
781
- parser: Ne,
781
+ parser: De,
782
782
  styles: Te
783
783
  };
784
784
  export {
@@ -1,45 +1,85 @@
1
- import { C as j, m as H, n as K, s as V, g as Z, c as q, b as J, _ as s, l as w, r as Q, d as X, D as Y, H as ee, K as te, j as ae } from "./CoachForm.js";
2
- import { p as re } from "./chunk-4BX2VUAB.js";
3
- import { p as ie } from "./mermaid-parser.core.js";
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";
2
+ import { p as se } from "./chunk-4BX2VUAB.js";
3
+ import { p as le } from "./mermaid-parser.core.js";
4
4
  import "./redux-toolkit.modern.js";
5
- import { d as G } from "./arc.js";
6
- import { o as se } from "./ordinal.js";
7
- import { d as le } from "./pie.js";
8
- var W = j.pie, D = {
5
+ import { d as I } from "./arc.js";
6
+ import { o as oe } from "./ordinal.js";
7
+ function ce(e, a) {
8
+ return a < e ? -1 : a > e ? 1 : a >= e ? 0 : NaN;
9
+ }
10
+ function ue(e) {
11
+ return e;
12
+ }
13
+ function pe() {
14
+ var e = ue, a = ce, f = null, x = S(0), s = S(z), o = S(0);
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;
17
+ for (n = 0; n < c; ++n)
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]);
23
+ }), n = 0, y = m ? (w - c * $) / m : 0; n < c; ++n, v = h)
24
+ u = p[n], d = i[u], h = v + (d > 0 ? d * y : 0) + $, i[u] = {
25
+ data: t[u],
26
+ index: n,
27
+ value: d,
28
+ startAngle: v,
29
+ endAngle: h,
30
+ padAngle: C
31
+ };
32
+ return i;
33
+ }
34
+ return l.value = function(t) {
35
+ return arguments.length ? (e = typeof t == "function" ? t : S(+t), l) : e;
36
+ }, l.sortValues = function(t) {
37
+ return arguments.length ? (a = t, f = null, l) : a;
38
+ }, l.sort = function(t) {
39
+ return arguments.length ? (f = t, a = null, l) : f;
40
+ }, l.startAngle = function(t) {
41
+ return arguments.length ? (x = typeof t == "function" ? t : S(+t), l) : x;
42
+ }, l.endAngle = function(t) {
43
+ return arguments.length ? (s = typeof t == "function" ? t : S(+t), l) : s;
44
+ }, l.padAngle = function(t) {
45
+ return arguments.length ? (o = typeof t == "function" ? t : S(+t), l) : o;
46
+ }, l;
47
+ }
48
+ var L = q.pie, G = {
9
49
  sections: /* @__PURE__ */ new Map(),
10
50
  showData: !1,
11
- config: W
12
- }, g = D.sections, C = D.showData, oe = structuredClone(W), ne = /* @__PURE__ */ s(() => structuredClone(oe), "getConfig"), ce = /* @__PURE__ */ s(() => {
13
- g = /* @__PURE__ */ new Map(), C = D.showData, Q();
14
- }, "clear"), pe = /* @__PURE__ */ s(({ label: e, value: a }) => {
51
+ config: L
52
+ }, T = G.sections, N = G.showData, ge = structuredClone(L), de = /* @__PURE__ */ g(() => structuredClone(ge), "getConfig"), fe = /* @__PURE__ */ g(() => {
53
+ T = /* @__PURE__ */ new Map(), N = G.showData, ee();
54
+ }, "clear"), he = /* @__PURE__ */ g(({ label: e, value: a }) => {
15
55
  if (a < 0)
16
56
  throw new Error(
17
57
  `"${e}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`
18
58
  );
19
- g.has(e) || (g.set(e, a), w.debug(`added new section: ${e}, with value: ${a}`));
20
- }, "addSection"), de = /* @__PURE__ */ s(() => g, "getSections"), ge = /* @__PURE__ */ s((e) => {
21
- C = e;
22
- }, "setShowData"), fe = /* @__PURE__ */ s(() => C, "getShowData"), M = {
23
- getConfig: ne,
24
- clear: ce,
59
+ T.has(e) || (T.set(e, a), F.debug(`added new section: ${e}, with value: ${a}`));
60
+ }, "addSection"), me = /* @__PURE__ */ g(() => T, "getSections"), ve = /* @__PURE__ */ g((e) => {
61
+ N = e;
62
+ }, "setShowData"), Se = /* @__PURE__ */ g(() => N, "getShowData"), _ = {
63
+ getConfig: de,
64
+ clear: fe,
25
65
  setDiagramTitle: H,
26
- getDiagramTitle: K,
27
- setAccTitle: V,
28
- getAccTitle: Z,
29
- setAccDescription: q,
30
- getAccDescription: J,
31
- addSection: pe,
32
- getSections: de,
33
- setShowData: ge,
34
- getShowData: fe
35
- }, ue = /* @__PURE__ */ s((e, a) => {
36
- re(e, a), a.setShowData(e.showData), e.sections.map(a.addSection);
37
- }, "populateDb"), me = {
38
- parse: /* @__PURE__ */ s(async (e) => {
39
- const a = await ie("pie", e);
40
- w.debug(a), ue(a, M);
66
+ getDiagramTitle: J,
67
+ setAccTitle: K,
68
+ getAccTitle: Q,
69
+ setAccDescription: X,
70
+ getAccDescription: Y,
71
+ addSection: he,
72
+ getSections: me,
73
+ setShowData: ve,
74
+ getShowData: Se
75
+ }, xe = /* @__PURE__ */ g((e, a) => {
76
+ se(e, a), a.setShowData(e.showData), e.sections.map(a.addSection);
77
+ }, "populateDb"), ye = {
78
+ parse: /* @__PURE__ */ g(async (e) => {
79
+ const a = await le("pie", e);
80
+ F.debug(a), xe(a, _);
41
81
  }, "parse")
42
- }, he = /* @__PURE__ */ s((e) => `
82
+ }, we = /* @__PURE__ */ g((e) => `
43
83
  .pieCircle{
44
84
  stroke: ${e.pieStrokeColor};
45
85
  stroke-width : ${e.pieStrokeWidth};
@@ -67,20 +107,20 @@ var W = j.pie, D = {
67
107
  font-family: ${e.fontFamily};
68
108
  font-size: ${e.pieLegendTextSize};
69
109
  }
70
- `, "getStyles"), ve = he, Se = /* @__PURE__ */ s((e) => {
71
- const a = [...e.values()].reduce((r, l) => r + l, 0), $ = [...e.entries()].map(([r, l]) => ({ label: r, value: l })).filter((r) => r.value / a * 100 >= 1).sort((r, l) => l.value - r.value);
72
- return le().value((r) => r.value)($);
73
- }, "createPieArcs"), xe = /* @__PURE__ */ s((e, a, $, y) => {
74
- w.debug(`rendering pie chart
110
+ `, "getStyles"), Ae = we, De = /* @__PURE__ */ g((e) => {
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
+ return pe().value((s) => s.value)(f);
113
+ }, "createPieArcs"), Ce = /* @__PURE__ */ g((e, a, f, x) => {
114
+ F.debug(`rendering pie chart
75
115
  ` + e);
76
- const r = y.db, l = X(), T = Y(r.getConfig(), l.pie), A = 40, o = 18, p = 4, n = 450, f = n, u = ee(a), c = u.append("g");
77
- c.attr("transform", "translate(" + f / 2 + "," + n / 2 + ")");
78
- const { themeVariables: i } = l;
79
- let [b] = te(i.pieOuterStrokeWidth);
80
- b ?? (b = 2);
81
- const _ = T.textPosition, d = Math.min(f, n) / 2 - A, O = G().innerRadius(0).outerRadius(d), P = G().innerRadius(d * _).outerRadius(d * _);
82
- c.append("circle").attr("cx", 0).attr("cy", 0).attr("r", d + b / 2).attr("class", "pieOuterCircle");
83
- const m = r.getSections(), R = Se(m), I = [
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
+ p.attr("transform", "translate(" + y / 2 + "," + u / 2 + ")");
118
+ const { themeVariables: i } = o;
119
+ let [v] = ne(i.pieOuterStrokeWidth);
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);
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 = [
84
124
  i.pie1,
85
125
  i.pie2,
86
126
  i.pie3,
@@ -94,30 +134,30 @@ var W = j.pie, D = {
94
134
  i.pie11,
95
135
  i.pie12
96
136
  ];
97
- let h = 0;
98
- m.forEach((t) => {
99
- h += t;
137
+ let b = 0;
138
+ d.forEach((r) => {
139
+ b += r;
100
140
  });
101
- const E = R.filter((t) => (t.data.value / h * 100).toFixed(0) !== "0"), v = se(I);
102
- c.selectAll("mySlices").data(E).enter().append("path").attr("d", O).attr("fill", (t) => v(t.data.label)).attr("class", "pieCircle"), c.selectAll("mySlices").data(E).enter().append("text").text((t) => (t.data.value / h * 100).toFixed(0) + "%").attr("transform", (t) => "translate(" + P.centroid(t) + ")").style("text-anchor", "middle").attr("class", "slice"), c.append("text").text(r.getDiagramTitle()).attr("x", 0).attr("y", -(n - 50) / 2).attr("class", "pieTitleText");
103
- const k = [...m.entries()].map(([t, x]) => ({
104
- label: t,
105
- value: x
106
- })), S = c.selectAll(".legend").data(k).enter().append("g").attr("class", "legend").attr("transform", (t, x) => {
107
- const F = o + p, N = F * k.length / 2, B = 12 * o, U = x * F - N;
108
- return "translate(" + B + "," + U + ")";
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]) => ({
144
+ label: r,
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 + ")";
109
149
  });
110
- S.append("rect").attr("width", o).attr("height", o).style("fill", (t) => v(t.label)).style("stroke", (t) => v(t.label)), S.append("text").attr("x", o + p).attr("y", o - p).text((t) => r.getShowData() ? `${t.label} [${t.value}]` : t.label);
111
- const L = Math.max(
112
- ...S.selectAll("text").nodes().map((t) => (t == null ? void 0 : t.getBoundingClientRect().width) ?? 0)
113
- ), z = f + A + o + p + L;
114
- u.attr("viewBox", `0 0 ${z} ${n}`), ae(u, n, z, T.useMaxWidth);
115
- }, "draw"), we = { draw: xe }, _e = {
116
- parser: me,
117
- db: M,
118
- renderer: we,
119
- styles: ve
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(
152
+ ...k.selectAll("text").nodes().map((r) => (r == null ? void 0 : r.getBoundingClientRect().width) ?? 0)
153
+ ), P = y + t + n + c + V;
154
+ m.attr("viewBox", `0 0 ${P} ${u}`), ie(m, u, P, l.useMaxWidth);
155
+ }, "draw"), $e = { draw: Ce }, Fe = {
156
+ parser: ye,
157
+ db: _,
158
+ renderer: $e,
159
+ styles: Ae
120
160
  };
121
161
  export {
122
- _e as diagram
162
+ Fe as diagram
123
163
  };
@@ -1,4 +1,4 @@
1
- import { _ as o, L as _e, C 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";
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";
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() {