@bytechain.cn/colamd 2.7.7 → 2.7.8-rc.2

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 (88) hide show
  1. package/README.md +2 -2
  2. package/README_CN.md +2 -2
  3. package/dist/lib/colamd-renderer.js +76814 -0
  4. package/dist/lib/colamd.css +1 -0
  5. package/dist/main/chunks/docx-export.js +648 -116
  6. package/dist/main/chunks/math-export.js +161 -0
  7. package/dist/main/index.js +35 -1
  8. package/dist/preload/index.js +2 -0
  9. package/dist/renderer/assets/{2DXBBFLN-BmaQ8lqV.js → 2DXBBFLN-BQWZeEOZ.js} +4 -4
  10. package/dist/renderer/assets/{46IJ22JX-Caywmaj-.js → 46IJ22JX-CR0BA3Ks.js} +5 -5
  11. package/dist/renderer/assets/{4TTDE5I4-C82Tw8vO.js → 4TTDE5I4-BdBL5ywh.js} +3 -3
  12. package/dist/renderer/assets/{4UF3HTLV-BD8W-BSm.js → 4UF3HTLV-BYMrPeBv.js} +4 -4
  13. package/dist/renderer/assets/{AAXQQPKT-CCArPgA1.js → AAXQQPKT-CTS7qJK7.js} +8 -8
  14. package/dist/renderer/assets/{AKE5O7KZ-DOAgUvEX.js → AKE5O7KZ-pEeLbu6F.js} +5 -5
  15. package/dist/renderer/assets/{BNMLP6AG-igM96Ol7.js → BNMLP6AG-CbkwmI8G.js} +7 -7
  16. package/dist/renderer/assets/{DR6PKOQU-C-e6zzyf.js → DR6PKOQU-C6Iahoa3.js} +3 -3
  17. package/dist/renderer/assets/{E4RJ7UJB-BMF4zoOQ.js → E4RJ7UJB-D58gl0M0.js} +6 -6
  18. package/dist/renderer/assets/{ELSXBIJH-BI2ySIoX.js → ELSXBIJH-DpS4enQ6.js} +1 -1
  19. package/dist/renderer/assets/{ERTIBQVS-CnvF3w9r.js → ERTIBQVS-DD8jjKTj.js} +4 -4
  20. package/dist/renderer/assets/{F653G4FO-CgzvjfOe.js → F653G4FO-DoDhFXEy.js} +8 -8
  21. package/dist/renderer/assets/{FKCDD66M-BkVPFntx.js → FKCDD66M-B0wYO26L.js} +1 -1
  22. package/dist/renderer/assets/{FP7KDXVC-K0VCFuri.js → FP7KDXVC-B0LUknwq.js} +6 -6
  23. package/dist/renderer/assets/{FT5I3RHX-zgsvTvBh.js → FT5I3RHX-GdBjTcHf.js} +7 -7
  24. package/dist/renderer/assets/{GY35JXOZ-Lo9DxsPK.js → GY35JXOZ-Dg2P-i-d.js} +4 -4
  25. package/dist/renderer/assets/{H5EEJPP2-Bw2musel.js → H5EEJPP2-C3d8qkta.js} +9 -9
  26. package/dist/renderer/assets/{HWDLEDTA-CCOSSl9K.js → HWDLEDTA-Rm5NjB2N.js} +1 -1
  27. package/dist/renderer/assets/{JZWSX6AR-BBtw8K-1.js → JZWSX6AR-qgXs8q-t.js} +2 -2
  28. package/dist/renderer/assets/{KQOEJWJY-Brg31xSn.js → KQOEJWJY-mqwm7WG0.js} +1 -1
  29. package/dist/renderer/assets/{KS3BB3KE-2GQdjVNT.js → KS3BB3KE-ufj8X6Wa.js} +5 -5
  30. package/dist/renderer/assets/{KXJRRZHI-B0Oj-tMS.js → KXJRRZHI-C7vOZ5ie.js} +3 -3
  31. package/dist/renderer/assets/{MFVI5XKI-BpwEOECT.js → MFVI5XKI-DQ5z-nMh.js} +1 -1
  32. package/dist/renderer/assets/{MWY2J62P-CSmi7lMQ.js → MWY2J62P-DUIamY6F.js} +5 -5
  33. package/dist/renderer/assets/{MXGNCBL2-CSoCLfJw.js → MXGNCBL2-DqeFe7Wj.js} +5 -5
  34. package/dist/renderer/assets/{N6DAJLIZ-DB-xlSjM.js → N6DAJLIZ-CvgcQPUI.js} +2 -2
  35. package/dist/renderer/assets/{NU5M23IW-BhGgUeDk.js → NU5M23IW-DpTeCZq5.js} +5 -5
  36. package/dist/renderer/assets/{NV4XNBIS-DMg8ibKU.js → NV4XNBIS-wuvA_U-J.js} +7 -7
  37. package/dist/renderer/assets/{OGLU4SIR-DOU7cIL3.js → OGLU4SIR-CJL7p3WR.js} +5 -5
  38. package/dist/renderer/assets/{OUNS5N76-BO_k5M0O.js → OUNS5N76-CQVdszCS.js} +6 -6
  39. package/dist/renderer/assets/{PU4ISKXV-Cw53csyu.js → PU4ISKXV-Bcshpks1.js} +5 -5
  40. package/dist/renderer/assets/{PUZGS23X-_iUQg51-.js → PUZGS23X-B8gmR_q3.js} +1 -1
  41. package/dist/renderer/assets/{Q3IYVLG5-ZFBZi3vs.js → Q3IYVLG5-B-qlhAM-.js} +5 -5
  42. package/dist/renderer/assets/{QYHQDLKZ-BPb6lHi6.js → QYHQDLKZ-EFOsxom5.js} +9 -9
  43. package/dist/renderer/assets/{RZSVICHU-I7fvqLMQ.js → RZSVICHU-B4a4ijU5.js} +1 -1
  44. package/dist/renderer/assets/{UEXXS2NB-AVpw2xTC.js → UEXXS2NB-BYEZA17b.js} +1 -1
  45. package/dist/renderer/assets/{UHTQJXKL-6oSc4D2k.js → UHTQJXKL-Dr2lF0X7.js} +5 -5
  46. package/dist/renderer/assets/{URA2L2QI-DkFUeeK0.js → URA2L2QI-CpWV8ZqC.js} +1 -1
  47. package/dist/renderer/assets/{UXCHDUKG-B54p4156.js → UXCHDUKG-BhvBbCG9.js} +5 -5
  48. package/dist/renderer/assets/{VKNV3BUX-Cc_4x0WI.js → VKNV3BUX-BYO3cWfq.js} +6 -6
  49. package/dist/renderer/assets/{VMV7XPHP-BjfrE66I.js → VMV7XPHP-Cv3j51G-.js} +1 -1
  50. package/dist/renderer/assets/{WEVWDWVA-Ca8eMbXN.js → WEVWDWVA-Bk5T2zs5.js} +1 -1
  51. package/dist/renderer/assets/{XRRJ35LF-EWRU-xXu.js → XRRJ35LF-BmKX-UhN.js} +4 -4
  52. package/dist/renderer/assets/{YFKBLVVN-D2oaE2c2.js → YFKBLVVN-BsN6JCME.js} +4 -4
  53. package/dist/renderer/assets/{YHRE5QGZ-ucJgE2vP.js → YHRE5QGZ-BfqB5qTM.js} +7 -7
  54. package/dist/renderer/assets/{ZF3OVT4B-SN2E7Wbi.js → ZF3OVT4B-71e7gqxT.js} +3 -3
  55. package/dist/renderer/assets/{index-aUzhL6sM.js → index-2bn6g3NY.js} +1 -1
  56. package/dist/renderer/assets/{index-BWfIKsyn.js → index-7XM2a0Z_.js} +3 -3
  57. package/dist/renderer/assets/{index-B4keY9Xz.js → index-BZI3MrwX.js} +1 -1
  58. package/dist/renderer/assets/{index-B5Jih3QA.js → index-BfRf6YNA.js} +286 -61
  59. package/dist/renderer/assets/{index-Bu1PrnbA.js → index-BkXNa75_.js} +1 -1
  60. package/dist/renderer/assets/{index-BzHXcCGC.js → index-C-S_Yg_y.js} +1 -1
  61. package/dist/renderer/assets/{index-Dfyz4Aee.js → index-CMEBb_j9.js} +1 -1
  62. package/dist/renderer/assets/{index-DNL6Tijf.js → index-CcV4JcXV.js} +3 -3
  63. package/dist/renderer/assets/{index-B_BLxvag.js → index-CeRIIlMp.js} +1 -1
  64. package/dist/renderer/assets/{index-NsiBA9UX.js → index-Cz6s0BAO.js} +1 -1
  65. package/dist/renderer/assets/{index-MJfkvBRx.js → index-D3xwJ3eb.js} +1 -1
  66. package/dist/renderer/assets/{index-6G13Twgt.js → index-DNjOyVpF.js} +1 -1
  67. package/dist/renderer/assets/{index-CkLQq2g4.js → index-DXBizOwH.js} +1 -1
  68. package/dist/renderer/assets/{index-CXI9cRfo.js → index-DrX0ymyh.js} +1 -1
  69. package/dist/renderer/assets/{index-Ccsf_83j.js → index-DwT_NY9Q.js} +1 -1
  70. package/dist/renderer/assets/{index-DRZsGkXi.js → index-FbcCt5ge.js} +1 -1
  71. package/dist/renderer/assets/{index-B2_pQa3G.js → index-KXmfqOLZ.js} +1 -1
  72. package/dist/renderer/assets/{index-BnXxA35e.js → index-S_JLIQUn.js} +1 -1
  73. package/dist/renderer/assets/{index-k1ZFPJcr.js → index-VDcE-MZS.js} +3 -3
  74. package/dist/renderer/assets/{index-BvXJHaQ4.js → index-eE3MJT-Z.js} +1 -1
  75. package/dist/renderer/assets/{index-BH0PaTow.js → index-fPGCpVWp.js} +1 -1
  76. package/dist/renderer/assets/{index-HtqODURL.js → index-iM3KwPgz.js} +1 -1
  77. package/dist/renderer/assets/{lazy-BY7ljzvO.js → lazy-SjZiJQmj.js} +3 -3
  78. package/dist/renderer/assets/{web-C4yaM4Cl.js → web-BSnrlb26.js} +1 -1
  79. package/dist/renderer/assets/{web-DUy9unYf.js → web-GpaN5nX1.js} +1 -1
  80. package/dist/renderer/assets/{web-CF2Dtak3.js → web-raTBZuvw.js} +2 -2
  81. package/dist/renderer/index.html +1 -1
  82. package/package.json +21 -1
  83. package/scripts/offscreen-window.cjs +32 -0
  84. package/scripts/theme-verify-core.mjs +345 -0
  85. package/scripts/verify-themes-cli.mjs +95 -0
  86. package/themes/README.md +8 -1
  87. package/themes/contract.json +127 -0
  88. package/themes/template.css +5 -4
@@ -0,0 +1,161 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const require$$1 = require("electron");
4
+ const promises = require("fs/promises");
5
+ const require$$2 = require("os");
6
+ const require$$1$1 = require("path");
7
+ const CAPTURE_TIMEOUT_MS = 2e4;
8
+ const SETTLE_MS = 2e4;
9
+ function withTimeout(promise, ms, label) {
10
+ return new Promise((resolve, reject) => {
11
+ const timer = setTimeout(() => reject(new Error(`${label} 超过 ${ms}ms 没有返回`)), ms);
12
+ promise.then(
13
+ (value) => {
14
+ clearTimeout(timer);
15
+ resolve(value);
16
+ },
17
+ (error) => {
18
+ clearTimeout(timer);
19
+ reject(error);
20
+ }
21
+ );
22
+ });
23
+ }
24
+ function pageHTML(styles, color, background) {
25
+ return `<!doctype html>
26
+ <html lang="zh-CN">
27
+ <head>
28
+ <meta charset="UTF-8">
29
+ <meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'unsafe-inline'; font-src file: http: https: data:; img-src file: http: https: data:;">
30
+ <style>
31
+ ${styles}
32
+ html, body {
33
+ margin: 0 !important;
34
+ padding: 0 !important;
35
+ height: auto !important;
36
+ overflow: visible !important;
37
+ background: ${background} !important;
38
+ color: ${color} !important;
39
+ }
40
+ #stage {
41
+ display: inline-block;
42
+ padding: 3px;
43
+ color: ${color} !important;
44
+ background: ${background} !important;
45
+ }
46
+ #stage .katex-display { margin: 0 !important; }
47
+ #stage .colamd-document {
48
+ max-width: none !important;
49
+ width: 100% !important;
50
+ margin: 0 !important;
51
+ padding: 0 !important;
52
+ color: ${color} !important;
53
+ background: ${background} !important;
54
+ }
55
+ #stage .colamd-document > :first-child { margin-top: 0 !important; }
56
+ #stage .colamd-document > :last-child { margin-bottom: 0 !important; }
57
+ </style>
58
+ </head>
59
+ <body><div id="stage"></div></body>
60
+ </html>`;
61
+ }
62
+ async function renderShots(items, styles, color, background) {
63
+ if (items.length === 0) return [];
64
+ const win = new require$$1.BrowserWindow({
65
+ show: false,
66
+ width: 900,
67
+ height: 200,
68
+ backgroundColor: background,
69
+ webPreferences: {
70
+ sandbox: true,
71
+ contextIsolation: true,
72
+ nodeIntegration: false,
73
+ // 隐藏窗口也要出帧,否则 capturePage 等不到画面。
74
+ backgroundThrottling: false
75
+ }
76
+ });
77
+ let dir;
78
+ try {
79
+ dir = await promises.mkdtemp(require$$1$1.join(require$$2.tmpdir(), "colamd-math-shot-"));
80
+ const file = require$$1$1.join(dir, "shot.html");
81
+ await promises.writeFile(file, pageHTML(styles, color, background), "utf8");
82
+ await win.loadFile(file);
83
+ win.webContents.beginFrameSubscription(() => {
84
+ });
85
+ await withTimeout(
86
+ win.webContents.executeJavaScript("document.fonts.ready.then(() => true)"),
87
+ SETTLE_MS,
88
+ "fonts.ready"
89
+ );
90
+ const shots = [];
91
+ for (const item of items) {
92
+ try {
93
+ const fixedWidth = typeof item.width === "number" && item.width > 0 ? Math.round(item.width) : null;
94
+ const display = fixedWidth ? "block" : "inline-block";
95
+ const widthValue = fixedWidth ? `${fixedWidth}px` : "auto";
96
+ const measured = await withTimeout(
97
+ win.webContents.executeJavaScript(`(async () => {
98
+ const stage = document.getElementById('stage')
99
+ stage.style.display = ${JSON.stringify(display)}
100
+ stage.style.width = ${JSON.stringify(widthValue)}
101
+ stage.innerHTML = ${JSON.stringify(item.html)}
102
+ await document.fonts.ready
103
+ await Promise.all(Array.from(document.images).map((image) => image.complete ? undefined : new Promise((resolve) => {
104
+ image.addEventListener('load', resolve, { once: true })
105
+ image.addEventListener('error', resolve, { once: true })
106
+ })))
107
+ await new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve)))
108
+ const rect = stage.getBoundingClientRect()
109
+ return {
110
+ width: Math.ceil(rect.width),
111
+ height: Math.ceil(rect.height),
112
+ scrollWidth: stage.scrollWidth,
113
+ scrollHeight: stage.scrollHeight
114
+ }
115
+ })()`),
116
+ SETTLE_MS,
117
+ "measure shot"
118
+ );
119
+ const measuredWidth = fixedWidth ? Math.max(fixedWidth, Number(measured?.scrollWidth) || 0) : Math.max(Number(measured?.width) || 0, Number(measured?.scrollWidth) || 0);
120
+ const width = Math.max(1, measuredWidth);
121
+ const height = Math.max(1, Number(measured?.height) || 0, Number(measured?.scrollHeight) || 0);
122
+ win.setContentSize(width, height);
123
+ await win.webContents.executeJavaScript(
124
+ "new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve)))"
125
+ );
126
+ const image = await withTimeout(
127
+ win.webContents.capturePage({ x: 0, y: 0, width, height }),
128
+ CAPTURE_TIMEOUT_MS,
129
+ "capturePage"
130
+ );
131
+ if (image.isEmpty()) {
132
+ shots.push(null);
133
+ continue;
134
+ }
135
+ shots.push({ dataURL: image.toDataURL(), width, height });
136
+ } catch (error) {
137
+ console.error("Screenshot failed", error);
138
+ shots.push(null);
139
+ }
140
+ }
141
+ return shots;
142
+ } catch (error) {
143
+ console.error("Screenshot window failed", error);
144
+ return items.map(() => null);
145
+ } finally {
146
+ if (!win.isDestroyed()) {
147
+ win.webContents.endFrameSubscription();
148
+ win.destroy();
149
+ }
150
+ if (dir) await promises.rm(dir, { recursive: true, force: true });
151
+ }
152
+ }
153
+ async function renderMathImages(formulas, styles, color, background) {
154
+ return renderShots(formulas.map((formula) => ({ html: formula.html })), styles, color, background);
155
+ }
156
+ async function renderHtmlImages(items, styles, color, background) {
157
+ return renderShots(items.map((item) => ({ html: item.html, width: item.width })), styles, color, background);
158
+ }
159
+ exports.renderHtmlImages = renderHtmlImages;
160
+ exports.renderMathImages = renderMathImages;
161
+ exports.renderShots = renderShots;
@@ -16764,6 +16764,8 @@ require$$1$3.ipcMain.handle("export-docx", async (event, payload) => {
16764
16764
  const win = getWinFromEvent(event);
16765
16765
  const content = typeof payload === "object" && payload !== null ? payload.content : payload;
16766
16766
  const images = typeof payload === "object" && payload !== null ? payload.images : void 0;
16767
+ const style = typeof payload === "object" && payload !== null ? payload.style : void 0;
16768
+ const imageSizes = typeof payload === "object" && payload !== null ? payload.imageSizes : void 0;
16767
16769
  if (!win || typeof content !== "string") return false;
16768
16770
  win.show();
16769
16771
  win.focus();
@@ -16779,7 +16781,7 @@ require$$1$3.ipcMain.handle("export-docx", async (event, payload) => {
16779
16781
  if (result.canceled || !result.filePath) return false;
16780
16782
  try {
16781
16783
  const { markdownToDocx } = await Promise.resolve().then(() => require("./chunks/docx-export.js"));
16782
- await promises.writeFile(result.filePath, await markdownToDocx({ content, sourcePath: getState(win).filePath, images: diagramImages }));
16784
+ await promises.writeFile(result.filePath, await markdownToDocx({ content, sourcePath: getState(win).filePath, images: diagramImages, style, imageSizes }));
16783
16785
  require$$1$3.shell.showItemInFolder(result.filePath);
16784
16786
  return true;
16785
16787
  } catch (error2) {
@@ -16793,6 +16795,38 @@ require$$1$3.ipcMain.handle("export-docx", async (event, payload) => {
16793
16795
  return false;
16794
16796
  }
16795
16797
  });
16798
+ require$$1$3.ipcMain.handle("render-math-images", async (_event, payload) => {
16799
+ if (!payload || typeof payload !== "object") return [];
16800
+ const source = payload;
16801
+ if (!Array.isArray(source.formulas) || typeof source.styles !== "string") return [];
16802
+ const formulas = source.formulas.filter((item) => typeof item === "object" && item !== null && typeof item.html === "string" && typeof item.block === "boolean").map((item) => ({ html: item.html, block: item.block }));
16803
+ if (formulas.length === 0) return [];
16804
+ const color = typeof source.color === "string" ? source.color : "#24292f";
16805
+ const background = typeof source.background === "string" ? source.background : "#ffffff";
16806
+ try {
16807
+ const { renderMathImages } = await Promise.resolve().then(() => require("./chunks/math-export.js"));
16808
+ return await renderMathImages(formulas, source.styles, color, background);
16809
+ } catch (error2) {
16810
+ console.error("Math export failed", error2);
16811
+ return formulas.map(() => null);
16812
+ }
16813
+ });
16814
+ require$$1$3.ipcMain.handle("render-html-images", async (_event, payload) => {
16815
+ if (!payload || typeof payload !== "object") return [];
16816
+ const source = payload;
16817
+ if (!Array.isArray(source.items) || typeof source.styles !== "string") return [];
16818
+ const items = source.items.filter((item) => typeof item === "object" && item !== null && typeof item.html === "string" && typeof item.width === "number" && item.width > 0).map((item) => ({ html: item.html, width: Math.round(item.width) }));
16819
+ if (items.length === 0) return [];
16820
+ const color = typeof source.color === "string" ? source.color : "#24292f";
16821
+ const background = typeof source.background === "string" ? source.background : "#ffffff";
16822
+ try {
16823
+ const { renderHtmlImages } = await Promise.resolve().then(() => require("./chunks/math-export.js"));
16824
+ return await renderHtmlImages(items, source.styles, color, background);
16825
+ } catch (error2) {
16826
+ console.error("HTML export failed", error2);
16827
+ return items.map(() => null);
16828
+ }
16829
+ });
16796
16830
  require$$1$3.ipcMain.handle("export-image", async (event, snapshot, preset) => {
16797
16831
  const win = getWinFromEvent(event);
16798
16832
  if (!win || preset !== "desktop" && preset !== "mobile" || !snapshot || typeof snapshot !== "object") return false;
@@ -38,6 +38,8 @@ electron.contextBridge.exposeInMainWorld("electronAPI", {
38
38
  exportPDF: () => electron.ipcRenderer.invoke("export-pdf"),
39
39
  exportHTML: (snapshot) => electron.ipcRenderer.invoke("export-html", snapshot),
40
40
  exportDOCX: (payload) => electron.ipcRenderer.invoke("export-docx", payload),
41
+ renderMathImages: (payload) => electron.ipcRenderer.invoke("render-math-images", payload),
42
+ renderHtmlImages: (payload) => electron.ipcRenderer.invoke("render-html-images", payload),
41
43
  exportImage: (snapshot, preset) => electron.ipcRenderer.invoke("export-image", snapshot, preset),
42
44
  getLanguage: () => electron.ipcRenderer.invoke("get-language"),
43
45
  onLanguageChanged: (callback) => {
@@ -1,8 +1,8 @@
1
1
  import { p, h } from "./DKTLEL5E-Dj3316cp.js";
2
- import { x as x$1, D, Y as Y$1, z as z$1, U as U$1, H as H$1, G, O, P } from "./VMV7XPHP-BjfrE66I.js";
3
- import { a as _t, y, x as x$2, b, f as ft$1, $ as $t$1, p as pt$1, _ as _$1 } from "./RZSVICHU-I7fvqLMQ.js";
4
- import { x, H, $ } from "./lazy-BY7ljzvO.js";
5
- import "./index-B5Jih3QA.js";
2
+ import { x as x$1, D, Y as Y$1, z as z$1, U as U$1, H as H$1, G, O, P } from "./VMV7XPHP-Cv3j51G-.js";
3
+ import { a as _t, y, x as x$2, b, f as ft$1, $ as $t$1, p as pt$1, _ as _$1 } from "./RZSVICHU-B4a4ijU5.js";
4
+ import { x, H, $ } from "./lazy-SjZiJQmj.js";
5
+ import "./index-BfRf6YNA.js";
6
6
  function Pe(e) {
7
7
  return e === 32 || e >= 9 && e <= 13 || e > 127 && /\s/.test(String.fromCharCode(e));
8
8
  }
@@ -1,9 +1,9 @@
1
- import { E, P, V } from "./URA2L2QI-DkFUeeK0.js";
2
- import { x, L, e, i, H } from "./lazy-BY7ljzvO.js";
1
+ import { E, P, V } from "./URA2L2QI-CpWV8ZqC.js";
2
+ import { x, L, e, i, H } from "./lazy-SjZiJQmj.js";
3
3
  import { p, h } from "./DKTLEL5E-Dj3316cp.js";
4
- import { D as Dn, S as Sn, w as wn } from "./HWDLEDTA-CCOSSl9K.js";
5
- import { a as _t$1, h as ht$1, y, _, x as x$1, f as ft$1, $ as $t, g as gt$1 } from "./RZSVICHU-I7fvqLMQ.js";
6
- import "./index-B5Jih3QA.js";
4
+ import { D as Dn, S as Sn, w as wn } from "./HWDLEDTA-Rm5NjB2N.js";
5
+ import { a as _t$1, h as ht$1, y, _, x as x$1, f as ft$1, $ as $t, g as gt$1 } from "./RZSVICHU-B4a4ijU5.js";
6
+ import "./index-BfRf6YNA.js";
7
7
  var ze = 1e5;
8
8
  function it(e2) {
9
9
  switch (e2) {
@@ -1,8 +1,8 @@
1
1
  import { s } from "./RVARI57O-DMrXgtoB.js";
2
- import { x, H, t, u, e, L, i } from "./lazy-BY7ljzvO.js";
2
+ import { x, H, t, u, e, L, i } from "./lazy-SjZiJQmj.js";
3
3
  import { l } from "./DKTLEL5E-Dj3316cp.js";
4
- import { a as _t, x as x$1, m as mt, y, f as ft, $ as $t$1, b } from "./RZSVICHU-I7fvqLMQ.js";
5
- import "./index-B5Jih3QA.js";
4
+ import { a as _t, x as x$1, m as mt, y, f as ft, $ as $t$1, b } from "./RZSVICHU-B4a4ijU5.js";
5
+ import "./index-BfRf6YNA.js";
6
6
  var $t = class {
7
7
  type = "xychart";
8
8
  title;
@@ -1,7 +1,7 @@
1
- import { x, D, M, $, v, V, W, G, O, P, U, z as z$1, Y, H as H$1 } from "./VMV7XPHP-BjfrE66I.js";
2
- import { a as _t, f as ft, $ as $t } from "./RZSVICHU-I7fvqLMQ.js";
3
- import { H } from "./lazy-BY7ljzvO.js";
4
- import "./index-B5Jih3QA.js";
1
+ import { x, D, M, $, v, V, W, G, O, P, U, z as z$1, Y, H as H$1 } from "./VMV7XPHP-Cv3j51G-.js";
2
+ import { a as _t, f as ft, $ as $t } from "./RZSVICHU-B4a4ijU5.js";
3
+ import { H } from "./lazy-SjZiJQmj.js";
4
+ import "./index-BfRf6YNA.js";
5
5
  function A(t, e) {
6
6
  return { type: "info", title: t.title || e, accTitle: t.accTitle ? t.accTitle.replace(/^\s+/g, "") : void 0, accDescr: t.accDescr ? t.accDescr.replace(/\n\s+/g, `
7
7
  `) : void 0 };
@@ -1,12 +1,12 @@
1
- import { c as c$1 } from "./MFVI5XKI-BpwEOECT.js";
2
- import { b as be$1, d as de, m as me$1 } from "./FKCDD66M-BkVPFntx.js";
3
- import { N, A } from "./JZWSX6AR-BBtw8K-1.js";
4
- import { R } from "./URA2L2QI-DkFUeeK0.js";
5
- import { H, $, x as x$1, i, e, C, L } from "./lazy-BY7ljzvO.js";
1
+ import { c as c$1 } from "./MFVI5XKI-DQ5z-nMh.js";
2
+ import { b as be$1, d as de, m as me$1 } from "./FKCDD66M-B0wYO26L.js";
3
+ import { N, A } from "./JZWSX6AR-qgXs8q-t.js";
4
+ import { R } from "./URA2L2QI-CpWV8ZqC.js";
5
+ import { H, $, x as x$1, i, e, C, L } from "./lazy-SjZiJQmj.js";
6
6
  import { m, c } from "./DKTLEL5E-Dj3316cp.js";
7
- import { F as Fn, D as Dn, S as Sn, v as vn, w as wn } from "./HWDLEDTA-CCOSSl9K.js";
8
- import { a as _t, g as gt, x, f as ft, b, h as ht, y, $ as $t } from "./RZSVICHU-I7fvqLMQ.js";
9
- import "./index-B5Jih3QA.js";
7
+ import { F as Fn, D as Dn, S as Sn, v as vn, w as wn } from "./HWDLEDTA-Rm5NjB2N.js";
8
+ import { a as _t, g as gt, x, f as ft, b, h as ht, y, $ as $t } from "./RZSVICHU-B4a4ijU5.js";
9
+ import "./index-BfRf6YNA.js";
10
10
  function Re(i2) {
11
11
  let n = "TB";
12
12
  for (let c2 of i2) typeof c2 != "string" && c2.stmt === "dir" && (n = c2.value);
@@ -1,8 +1,8 @@
1
- import { x as x$1, D, M, $, v, w, V, W, G, O, P, j, Y, z, U, H as H$1 } from "./VMV7XPHP-BjfrE66I.js";
2
- import { D as Dn$1, w as wn$1 } from "./HWDLEDTA-CCOSSl9K.js";
3
- import { a as _t, x, m as mt, f as ft, $ as $t, _, y } from "./RZSVICHU-I7fvqLMQ.js";
4
- import { H } from "./lazy-BY7ljzvO.js";
5
- import "./index-B5Jih3QA.js";
1
+ import { x as x$1, D, M, $, v, w, V, W, G, O, P, j, Y, z, U, H as H$1 } from "./VMV7XPHP-Cv3j51G-.js";
2
+ import { D as Dn$1, w as wn$1 } from "./HWDLEDTA-Rm5NjB2N.js";
3
+ import { a as _t, x, m as mt, f as ft, $ as $t, _, y } from "./RZSVICHU-B4a4ijU5.js";
4
+ import { H } from "./lazy-SjZiJQmj.js";
5
+ import "./index-BfRf6YNA.js";
6
6
  var ke = class {
7
7
  domains = /* @__PURE__ */ new Map();
8
8
  transitions = [];
@@ -1,12 +1,12 @@
1
1
  import { c as c$1 } from "./G3MDBVQH-qZ3yfAIw.js";
2
- import { x, h } from "./ELSXBIJH-BI2ySIoX.js";
3
- import { b as be$1, d as de$1, m as me, p as pe$1 } from "./FKCDD66M-BkVPFntx.js";
4
- import { M, L, O } from "./JZWSX6AR-BBtw8K-1.js";
5
- import { H, $, e, L as L$1, i, t } from "./lazy-BY7ljzvO.js";
2
+ import { x, h } from "./ELSXBIJH-DpS4enQ6.js";
3
+ import { b as be$1, d as de$1, m as me, p as pe$1 } from "./FKCDD66M-B0wYO26L.js";
4
+ import { M, L, O } from "./JZWSX6AR-qgXs8q-t.js";
5
+ import { H, $, e, L as L$1, i, t } from "./lazy-SjZiJQmj.js";
6
6
  import { m, c } from "./DKTLEL5E-Dj3316cp.js";
7
- import { F as Fn, S as Sn } from "./HWDLEDTA-CCOSSl9K.js";
8
- import { a as _t$1, g as gt$1, h as ht$1, _, y, x as x$1, f as ft$1, b, $ as $t$1, Y, T, q } from "./RZSVICHU-I7fvqLMQ.js";
9
- import "./index-B5Jih3QA.js";
7
+ import { F as Fn, S as Sn } from "./HWDLEDTA-Rm5NjB2N.js";
8
+ import { a as _t$1, g as gt$1, h as ht$1, _, y, x as x$1, f as ft$1, b, $ as $t$1, Y, T, q } from "./RZSVICHU-B4a4ijU5.js";
9
+ import "./index-BfRf6YNA.js";
10
10
  function At(s) {
11
11
  return s === "markdown" || s === "string" || s === "text" ? s : "markdown";
12
12
  }
@@ -1,7 +1,7 @@
1
- import { L, i, H, x as x$1 } from "./lazy-BY7ljzvO.js";
1
+ import { L, i, H, x as x$1 } from "./lazy-SjZiJQmj.js";
2
2
  import { f, h } from "./DKTLEL5E-Dj3316cp.js";
3
- import { y, x, m as mt, b, a as _t, $ as $t, f as ft, g as gt } from "./RZSVICHU-I7fvqLMQ.js";
4
- import "./index-B5Jih3QA.js";
3
+ import { y, x, m as mt, b, a as _t, $ as $t, f as ft, g as gt } from "./RZSVICHU-B4a4ijU5.js";
4
+ import "./index-BfRf6YNA.js";
5
5
  var B = class {
6
6
  type = "sankey";
7
7
  nodes = [];
@@ -1,10 +1,10 @@
1
- import { i } from "./PUZGS23X-_iUQg51-.js";
1
+ import { i } from "./PUZGS23X-B8gmR_q3.js";
2
2
  import { f } from "./DKTLEL5E-Dj3316cp.js";
3
- import { x as x$1, D, G, $, v, w, V as V$1, W, O, P, j, Y as Y$1, z, U } from "./VMV7XPHP-BjfrE66I.js";
4
- import { w as wn, D as Dn } from "./HWDLEDTA-CCOSSl9K.js";
5
- import { f as ft$1, x as x$3, _, y, a as _t$1, $ as $t$1, Y as Y$2, T, b, q } from "./RZSVICHU-I7fvqLMQ.js";
6
- import { x as x$2, H } from "./lazy-BY7ljzvO.js";
7
- import "./index-B5Jih3QA.js";
3
+ import { x as x$1, D, G, $, v, w, V as V$1, W, O, P, j, Y as Y$1, z, U } from "./VMV7XPHP-Cv3j51G-.js";
4
+ import { w as wn, D as Dn } from "./HWDLEDTA-Rm5NjB2N.js";
5
+ import { f as ft$1, x as x$3, _, y, a as _t$1, $ as $t$1, Y as Y$2, T, b, q } from "./RZSVICHU-B4a4ijU5.js";
6
+ import { x as x$2, H } from "./lazy-SjZiJQmj.js";
7
+ import "./index-BfRf6YNA.js";
8
8
  var ae = class {
9
9
  nodes = /* @__PURE__ */ new Map();
10
10
  labels;
@@ -1,4 +1,4 @@
1
- import { f as ft, x as x$1 } from "./RZSVICHU-I7fvqLMQ.js";
1
+ import { f as ft, x as x$1 } from "./RZSVICHU-B4a4ijU5.js";
2
2
  function x(e, t) {
3
3
  for (let n = 0; n < t.length; n += 3) {
4
4
  let o = Math.round(t[n + 1]), s = e.get(o);
@@ -1,8 +1,8 @@
1
1
  import { f, h } from "./DKTLEL5E-Dj3316cp.js";
2
- import { x, M, $, v, w as w$1, V, W, G, O, P, Y, z as z$1, U, D, H as H$1, j } from "./VMV7XPHP-BjfrE66I.js";
3
- import { x as x$2, a as _t, y, f as ft, m as mt, $ as $t } from "./RZSVICHU-I7fvqLMQ.js";
4
- import { x as x$1, H as H$2 } from "./lazy-BY7ljzvO.js";
5
- import "./index-B5Jih3QA.js";
2
+ import { x, M, $, v, w as w$1, V, W, G, O, P, Y, z as z$1, U, D, H as H$1, j } from "./VMV7XPHP-Cv3j51G-.js";
3
+ import { x as x$2, a as _t, y, f as ft, m as mt, $ as $t } from "./RZSVICHU-B4a4ijU5.js";
4
+ import { x as x$1, H as H$2 } from "./lazy-SjZiJQmj.js";
5
+ import "./index-BfRf6YNA.js";
6
6
  var Ie = 32;
7
7
  function De(t) {
8
8
  return new x$1(t, "semantic", { type: "radar" });
@@ -1,14 +1,14 @@
1
1
  import { i as i$1, a } from "./FTXIJQGB-BX14b7pN.js";
2
- import { q, x, H, $, e, L as L$1, i as i$2 } from "./lazy-BY7ljzvO.js";
2
+ import { q, x, H, $, e, L as L$1, i as i$2 } from "./lazy-SjZiJQmj.js";
3
3
  import { h as h$1 } from "./7WLXJQOR-C8MM6Bra.js";
4
- import { x as x$1, h } from "./ELSXBIJH-BI2ySIoX.js";
5
- import { b as be, d as de, m as me$1, p as pe$1 } from "./FKCDD66M-BkVPFntx.js";
6
- import { A, M, L, O, N } from "./JZWSX6AR-BBtw8K-1.js";
7
- import { o, i, P, B, E } from "./URA2L2QI-DkFUeeK0.js";
4
+ import { x as x$1, h } from "./ELSXBIJH-DpS4enQ6.js";
5
+ import { b as be, d as de, m as me$1, p as pe$1 } from "./FKCDD66M-B0wYO26L.js";
6
+ import { A, M, L, O, N } from "./JZWSX6AR-qgXs8q-t.js";
7
+ import { o, i, P, B, E } from "./URA2L2QI-CpWV8ZqC.js";
8
8
  import { m, c } from "./DKTLEL5E-Dj3316cp.js";
9
- import { F as Fn, w as wn, L as Ln, D as Dn, S as Sn$1 } from "./HWDLEDTA-CCOSSl9K.js";
10
- import { g as gt, a as _t, h as ht, y, _, x as x$2, f as ft, m as mt, b, $ as $t$1 } from "./RZSVICHU-I7fvqLMQ.js";
11
- import "./index-B5Jih3QA.js";
9
+ import { F as Fn, w as wn, L as Ln, D as Dn, S as Sn$1 } from "./HWDLEDTA-Rm5NjB2N.js";
10
+ import { g as gt, a as _t, h as ht, y, _, x as x$2, f as ft, m as mt, b, $ as $t$1 } from "./RZSVICHU-B4a4ijU5.js";
11
+ import "./index-BfRf6YNA.js";
12
12
  var Vt = /* @__PURE__ */ new Map([["task", "roundedRect"], ["tool", "subroutine"], ["input", "lean-right"], ["decision", "diamond"], ["refdoc", "lin-doc"], ["action", "hexagon"], ["round", "rect"]]), Bt = /* @__PURE__ */ new Set(["doc", "stadium", "terminal", "circle", "trapezoid", "inv_trapezoid", "inv-trapezoid", "doublecircle", "double-circle", "typeDeclaration", "procs", "lean_left", "lean-left", "in-out", "cylinder", "ellipse", "odd", "tag-rect", "tagged-rectangle", "delay", "half-rounded-rectangle", "lin-rect", "lined-rectangle", "win-pane", "window-pane", "curv-trap", "curved-trapezoid"]), Yt = /* @__PURE__ */ new Set(["roundedRect", "subroutine", "subprocess", "subproc", "framed-rectangle", "lean-right", "diamond", "lin-doc", "lined-document", "hexagon", "hex", "connector", "collapsedGroup"]), ge = "roundedRect";
13
13
  function pe(n) {
14
14
  return n && (Vt.get(n) ?? n);
@@ -1,4 +1,4 @@
1
- import { o as on, s as sn, I as In, g as gn, E as En } from "./HWDLEDTA-CCOSSl9K.js";
1
+ import { o as on, s as sn, I as In, g as gn, E as En } from "./HWDLEDTA-Rm5NjB2N.js";
2
2
  function be(r) {
3
3
  return r === "BT" || r === "LR" || r === "RL" ? r : "TB";
4
4
  }
@@ -1,10 +1,10 @@
1
- import { g, s as s$1, a, A } from "./WEVWDWVA-Ca8eMbXN.js";
2
- import { s, T } from "./UEXXS2NB-AVpw2xTC.js";
3
- import { x, H, i, e, L } from "./lazy-BY7ljzvO.js";
1
+ import { g, s as s$1, a, A } from "./WEVWDWVA-Bk5T2zs5.js";
2
+ import { s, T } from "./UEXXS2NB-BYEZA17b.js";
3
+ import { x, H, i, e, L } from "./lazy-SjZiJQmj.js";
4
4
  import { c } from "./DKTLEL5E-Dj3316cp.js";
5
- import { D as Dn, a as St } from "./HWDLEDTA-CCOSSl9K.js";
6
- import { x as x$1, f as ft, $ as $t, y, m as mt, _ } from "./RZSVICHU-I7fvqLMQ.js";
7
- import "./index-B5Jih3QA.js";
5
+ import { D as Dn, a as St } from "./HWDLEDTA-Rm5NjB2N.js";
6
+ import { x as x$1, f as ft, $ as $t, y, m as mt, _ } from "./RZSVICHU-B4a4ijU5.js";
7
+ import "./index-BfRf6YNA.js";
8
8
  var Q = class {
9
9
  type = "timeline";
10
10
  title;
@@ -1,11 +1,11 @@
1
- import { i } from "./PUZGS23X-_iUQg51-.js";
2
- import { k, A, H as H$2 } from "./KQOEJWJY-Brg31xSn.js";
1
+ import { i } from "./PUZGS23X-B8gmR_q3.js";
2
+ import { k, A, H as H$2 } from "./KQOEJWJY-mqwm7WG0.js";
3
3
  import { c } from "./DKTLEL5E-Dj3316cp.js";
4
- import { U, z, Y, x as x$1, D, $, v, G, O, P, H } from "./VMV7XPHP-BjfrE66I.js";
5
- import { w as wn, D as Dn } from "./HWDLEDTA-CCOSSl9K.js";
6
- import { a as _t, _ as _$1, y, x as x$2, f as ft$1, m as mt$1, $ as $t, b, p as pt } from "./RZSVICHU-I7fvqLMQ.js";
7
- import { C, x, H as H$1, $ as $$1 } from "./lazy-BY7ljzvO.js";
8
- import "./index-B5Jih3QA.js";
4
+ import { U, z, Y, x as x$1, D, $, v, G, O, P, H } from "./VMV7XPHP-Cv3j51G-.js";
5
+ import { w as wn, D as Dn } from "./HWDLEDTA-Rm5NjB2N.js";
6
+ import { a as _t, _ as _$1, y, x as x$2, f as ft$1, m as mt$1, $ as $t, b, p as pt } from "./RZSVICHU-B4a4ijU5.js";
7
+ import { C, x, H as H$1, $ as $$1 } from "./lazy-SjZiJQmj.js";
8
+ import "./index-BfRf6YNA.js";
9
9
  var nt = /* @__PURE__ */ new Map([["ui", "ui"], ["pcr", "processor"], ["processor", "processor"], ["rmo", "readmodel"], ["readmodel", "readmodel"], ["cmd", "command"], ["command", "command"], ["evt", "event"], ["event", "event"]]), it = /* @__PURE__ */ new Map([["trigger", [0, "UI/Automation", "UI/A: "]], ["state", [100, "Command/Read Model", "C/RM: "]], ["stream", [200, "Events", "Stream: "]]]);
10
10
  function at(n) {
11
11
  return n === "ui" || n === "processor" ? "trigger" : n === "event" ? "stream" : "state";
@@ -1,9 +1,9 @@
1
1
  import { s } from "./5THPTBWS-2mBFupjU.js";
2
2
  import { l, h } from "./DKTLEL5E-Dj3316cp.js";
3
- import { x as x$1, D, M, $ as $$1, v, U, z, Y } from "./VMV7XPHP-BjfrE66I.js";
4
- import { a as _t, g as gt, m as mt, y, _, x, b, h as ht, f as ft, $ as $t } from "./RZSVICHU-I7fvqLMQ.js";
5
- import { H as H$1, $ } from "./lazy-BY7ljzvO.js";
6
- import "./index-B5Jih3QA.js";
3
+ import { x as x$1, D, M, $ as $$1, v, U, z, Y } from "./VMV7XPHP-Cv3j51G-.js";
4
+ import { a as _t, g as gt, m as mt, y, _, x, b, h as ht, f as ft, $ as $t } from "./RZSVICHU-B4a4ijU5.js";
5
+ import { H as H$1, $ } from "./lazy-SjZiJQmj.js";
6
+ import "./index-BfRf6YNA.js";
7
7
  function De(s2) {
8
8
  let t = [], n = [];
9
9
  for (let o of s2) {
@@ -1,14 +1,14 @@
1
- import { G as Gn, y as yt } from "./NV4XNBIS-DMg8ibKU.js";
2
- import { g as gn$1, E as En, o as on, s as sn } from "./HWDLEDTA-CCOSSl9K.js";
3
- import { f as ft, x } from "./RZSVICHU-I7fvqLMQ.js";
1
+ import { G as Gn, y as yt } from "./NV4XNBIS-wuvA_U-J.js";
2
+ import { g as gn$1, E as En, o as on, s as sn } from "./HWDLEDTA-Rm5NjB2N.js";
3
+ import { f as ft, x } from "./RZSVICHU-B4a4ijU5.js";
4
4
  import "./FTXIJQGB-BX14b7pN.js";
5
- import "./lazy-BY7ljzvO.js";
6
- import "./index-B5Jih3QA.js";
5
+ import "./lazy-SjZiJQmj.js";
6
+ import "./index-BfRf6YNA.js";
7
7
  import "./7WLXJQOR-C8MM6Bra.js";
8
- import "./ELSXBIJH-BI2ySIoX.js";
9
- import "./FKCDD66M-BkVPFntx.js";
10
- import "./JZWSX6AR-BBtw8K-1.js";
11
- import "./URA2L2QI-DkFUeeK0.js";
8
+ import "./ELSXBIJH-DpS4enQ6.js";
9
+ import "./FKCDD66M-B0wYO26L.js";
10
+ import "./JZWSX6AR-qgXs8q-t.js";
11
+ import "./URA2L2QI-CpWV8ZqC.js";
12
12
  import "./DKTLEL5E-Dj3316cp.js";
13
13
  var Fn = 34, Rn = 24, Un = 8, Nn = 2e4, mn = 1e4, zt = 2e6, dn = 4, Cn = 3, pn = 8, Vt = 20, yn = 20, wn = 14, Tn = 3;
14
14
  function gn(a, w, x2, W, X = Rn) {
@@ -1,4 +1,4 @@
1
- import { x, y, f as ft } from "./RZSVICHU-I7fvqLMQ.js";
1
+ import { x, y, f as ft } from "./RZSVICHU-B4a4ijU5.js";
2
2
  function gn(l, A, e = 0) {
3
3
  return { w: l, h: A, kind: e, pin: 0, span: 0, x: 0, y: 0, rank: 0 };
4
4
  }
@@ -1,5 +1,5 @@
1
- import { b } from "./RZSVICHU-I7fvqLMQ.js";
2
- import { $ } from "./lazy-BY7ljzvO.js";
1
+ import { b } from "./RZSVICHU-B4a4ijU5.js";
2
+ import { $ } from "./lazy-SjZiJQmj.js";
3
3
  var s = "about:blank", _ = /^([^\w]*)(javascript|data|vbscript)/im, m = /&#(\w+)(^\w|;)?/g, p = /&(newline|tab);/gi, d = /[\u0000-\u001F\u007F-\u009F -‍]/gim, C = /^.+(:|&colon;)/gim, g = /(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;
4
4
  function E(e) {
5
5
  try {
@@ -1,4 +1,4 @@
1
- import { Y, q, f as ft, T, b as b$1, x } from "./RZSVICHU-I7fvqLMQ.js";
1
+ import { Y, q, f as ft, T, b as b$1, x } from "./RZSVICHU-B4a4ijU5.js";
2
2
  var b = /\s/;
3
3
  function H(n, g, d, a, f = 0) {
4
4
  let l = [];
@@ -1,9 +1,9 @@
1
- import { W, Y, X } from "./N6DAJLIZ-DB-xlSjM.js";
2
- import { P, V, E } from "./URA2L2QI-DkFUeeK0.js";
1
+ import { W, Y, X } from "./N6DAJLIZ-CvgcQPUI.js";
2
+ import { P, V, E } from "./URA2L2QI-CpWV8ZqC.js";
3
3
  import { c, h } from "./DKTLEL5E-Dj3316cp.js";
4
- import { a as _t, m as mt$1, x as x$1, h as ht$1, y, f as ft, $ as $t } from "./RZSVICHU-I7fvqLMQ.js";
5
- import { x, H, W as W$1 } from "./lazy-BY7ljzvO.js";
6
- import "./index-B5Jih3QA.js";
4
+ import { a as _t, m as mt$1, x as x$1, h as ht$1, y, f as ft, $ as $t } from "./RZSVICHU-B4a4ijU5.js";
5
+ import { x, H, W as W$1 } from "./lazy-SjZiJQmj.js";
6
+ import "./index-BfRf6YNA.js";
7
7
  var Bt = 11, nt = class {
8
8
  type = "mindmap";
9
9
  title;
@@ -1,6 +1,6 @@
1
- import { H, x as x$1, L, i, e, t, a as x$2 } from "./lazy-BY7ljzvO.js";
2
- import { a as _t, m as mt$1, y, x, f as ft, $ as $t, g as gt$1 } from "./RZSVICHU-I7fvqLMQ.js";
3
- import "./index-B5Jih3QA.js";
1
+ import { H, x as x$1, L, i, e, t, a as x$2 } from "./lazy-SjZiJQmj.js";
2
+ import { a as _t, m as mt$1, y, x, f as ft, $ as $t, g as gt$1 } from "./RZSVICHU-B4a4ijU5.js";
3
+ import "./index-BfRf6YNA.js";
4
4
  function $(c) {
5
5
  let e2 = c.trim();
6
6
  return e2.length >= 2 && e2.startsWith('"') && e2.endsWith('"') ? e2.slice(1, -1) : e2;
@@ -1,4 +1,4 @@
1
- import { a as _t, f as ft, x } from "./RZSVICHU-I7fvqLMQ.js";
1
+ import { a as _t, f as ft, x } from "./RZSVICHU-B4a4ijU5.js";
2
2
  function c(u, s, f, i, e, l, o) {
3
3
  let t = _t(u, false, s, f, 4e3, 1);
4
4
  if (t.height === 0) return { width: e, height: l, content: o };
@@ -1,9 +1,9 @@
1
- import { q, x, L, e, i, t, H as H$1 } from "./lazy-BY7ljzvO.js";
2
- import { k } from "./KQOEJWJY-Brg31xSn.js";
1
+ import { q, x, L, e, i, t, H as H$1 } from "./lazy-SjZiJQmj.js";
2
+ import { k } from "./KQOEJWJY-mqwm7WG0.js";
3
3
  import { p, h } from "./DKTLEL5E-Dj3316cp.js";
4
- import { a as St$1, D as Dn$1 } from "./HWDLEDTA-CCOSSl9K.js";
5
- import { x as x$1, g as gt, _, y, f as ft, $ as $t, a as _t, h as ht, b } from "./RZSVICHU-I7fvqLMQ.js";
6
- import "./index-B5Jih3QA.js";
4
+ import { a as St$1, D as Dn$1 } from "./HWDLEDTA-Rm5NjB2N.js";
5
+ import { x as x$1, g as gt, _, y, f as ft, $ as $t, a as _t, h as ht, b } from "./RZSVICHU-B4a4ijU5.js";
6
+ import "./index-BfRf6YNA.js";
7
7
  var fn = "aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood cadetblue chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen fuchsia gainsboro ghostwhite gold goldenrod gray green greenyellow grey honeydew hotpink indianred indigo ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime limegreen linen magenta maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred midnightblue mintcream mistyrose moccasin navajowhite navy oldlace olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple rebeccapurple red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver skyblue slateblue slategray slategrey snow springgreen steelblue tan teal thistle tomato turquoise violet wheat white whitesmoke yellow yellowgreen transparent currentcolor inherit initial unset revert accentcolor accentcolortext activetext buttonborder buttonface buttontext canvas canvastext field fieldtext graytext highlight highlighttext linktext mark marktext selecteditem selecteditemtext visitedtext activeborder activecaption appworkspace background buttonhighlight buttonshadow captiontext inactiveborder inactivecaption inactivecaptiontext infobackground infotext menu menutext scrollbar threeddarkshadow threedface threedhighlight threedlightshadow threedshadow window windowframe windowtext", Vt, pn = /^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?(%|deg|grad|rad|turn)?$/i;
8
8
  function Kt(r) {
9
9
  if (r.toLowerCase() === "none") return 4;
@@ -1,9 +1,9 @@
1
- import { g, s, A } from "./WEVWDWVA-Ca8eMbXN.js";
2
- import { s as s$1, T } from "./UEXXS2NB-AVpw2xTC.js";
3
- import { i, e, L as L$1, H } from "./lazy-BY7ljzvO.js";
1
+ import { g, s, A } from "./WEVWDWVA-Bk5T2zs5.js";
2
+ import { s as s$1, T } from "./UEXXS2NB-BYEZA17b.js";
3
+ import { i, e, L as L$1, H } from "./lazy-SjZiJQmj.js";
4
4
  import { c } from "./DKTLEL5E-Dj3316cp.js";
5
- import { x, m as mt$1, y, _, f as ft, $ as $t } from "./RZSVICHU-I7fvqLMQ.js";
6
- import "./index-B5Jih3QA.js";
5
+ import { x, m as mt$1, y, _, f as ft, $ as $t } from "./RZSVICHU-B4a4ijU5.js";
6
+ import "./index-BfRf6YNA.js";
7
7
  function ot(e2) {
8
8
  let n = /* @__PURE__ */ new Set();
9
9
  for (let r of e2) for (let c2 of r.people) n.add(c2);
@@ -1,5 +1,5 @@
1
- import { i, L } from "./lazy-BY7ljzvO.js";
2
- import { y as y$1, x as x$1 } from "./RZSVICHU-I7fvqLMQ.js";
1
+ import { i, L } from "./lazy-SjZiJQmj.js";
2
+ import { y as y$1, x as x$1 } from "./RZSVICHU-B4a4ijU5.js";
3
3
  var x = ["1", "INVALID", "SPACELINE", "NL", "EOF", "", "SPACELIST", "ICON", "CLASS", "NODE_DSTART", "NODE_ID", "NODE_DESCR", "NODE_DEND", "SHAPE_DATA"];
4
4
  function P(E, D) {
5
5
  return E === 5 ? D ? "KANBAN" : "MINDMAP" : x[E];