@layers-app/editor 0.5.6-optimization → 0.5.6
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.
- package/README.md +0 -19
- package/dist/index.cjs +2 -2
- package/dist/index.js +10 -12
- package/dist/layers.52famHy6.js +1 -0
- package/dist/layers.59MV1gHs.js +41 -0
- package/dist/layers.6IaGqrl-.js +39 -0
- package/dist/layers.6lqPO-3Z.js +32 -0
- package/dist/layers.7JqFgE4-.js +15 -0
- package/dist/layers.8CsJHG7m.js +139 -0
- package/dist/layers.9pNaFvaX.js +1 -0
- package/dist/layers.AK6shBV6.js +42 -0
- package/dist/layers.AamAEMA7.js +160 -0
- package/dist/layers.B-WGMHL6.js +11 -0
- package/dist/layers.B19hGmey.js +1 -0
- package/dist/layers.B2wUdnez.js +437 -0
- package/dist/layers.B3D4g2HH.js +1 -0
- package/dist/layers.B6FBUZ1Z.js +9 -0
- package/dist/layers.B7-Kk2kp.js +11 -0
- package/dist/layers.B7K7JjK6.js +1510 -0
- package/dist/layers.B7USkgSi.js +6 -0
- package/dist/layers.B7hegMVr.js +1034 -0
- package/dist/layers.BAtv1CM7.js +1 -0
- package/dist/layers.BBSE_YmF.js +37 -0
- package/dist/layers.BCG8kdU-.js +32 -0
- package/dist/layers.BCUz59rh.js +39 -0
- package/dist/layers.BF8ID4w9.js +39 -0
- package/dist/layers.BIZaN3QR.js +7 -0
- package/dist/layers.BIeVwYKL.js +1 -0
- package/dist/layers.BJDrjORS.js +244 -0
- package/dist/layers.BK35bp4_.js +931 -0
- package/dist/layers.BKrHVgKG.js +11 -0
- package/dist/layers.BLd2spTm.js +1 -0
- package/dist/layers.BQj7sYv9.js +4 -0
- package/dist/layers.BSTBZrFn.js +1 -0
- package/dist/layers.BTnY40Hl.js +230 -0
- package/dist/layers.BW6eTqTQ.js +9 -0
- package/dist/layers.BX50pyFe.js +42 -0
- package/dist/layers.BXiMBNCf.js +7 -0
- package/dist/layers.BY0saexf.js +44 -0
- package/dist/layers.BYyHDhdF.js +40 -0
- package/dist/layers.B_SkKQaN.js +7 -0
- package/dist/layers.Bb45BkB7.js +35 -0
- package/dist/layers.BbCfEXyj.js +55 -0
- package/dist/layers.Bbx2DS9P.js +10 -0
- package/dist/layers.BeRqUeUL.js +1 -0
- package/dist/layers.BfBHY8YH.js +8 -0
- package/dist/layers.BfPqzMs9.js +1 -0
- package/dist/layers.Bfqazne8.js +70 -0
- package/dist/layers.BgzFjX4U.js +35 -0
- package/dist/layers.BhL3qtd0.js +1126 -0
- package/dist/layers.BitUjngp.js +11 -0
- package/dist/layers.BmR6H-fP.js +2966 -0
- package/dist/layers.Bn7g95cI.js +39 -0
- package/dist/layers.Bn7hw-zZ.js +13 -0
- package/dist/layers.BnYpz8RW.js +1359 -0
- package/dist/layers.BoIdFEtV.js +186 -0
- package/dist/layers.BorvTy9p.js +33 -0
- package/dist/layers.BpilXLfW.js +6 -0
- package/dist/layers.Bt8HOTA6.js +10 -0
- package/dist/layers.BvVfdnbz.js +41 -0
- package/dist/layers.BzUNMS1L.js +2 -0
- package/dist/layers.C-FZw43o.js +41 -0
- package/dist/layers.C0Lgw_Sx.js +11688 -0
- package/dist/layers.C4ToPutV.js +40 -0
- package/dist/layers.C4wkiWhv.js +8 -0
- package/dist/layers.C5ZDJAAD.js +220 -0
- package/dist/layers.C6P4YEcq.js +257 -0
- package/dist/layers.C7x1USYv.js +139 -0
- package/dist/layers.C8_lu5UH.js +23 -0
- package/dist/layers.C99jO8bw.js +1 -0
- package/dist/layers.C9KoadvU.js +122 -0
- package/dist/layers.C9PwfpMh.js +39 -0
- package/dist/layers.CA8KMZRI.js +1 -0
- package/dist/layers.CAGTppwS.js +4 -0
- package/dist/layers.CAgoPdOX.js +1088 -0
- package/dist/layers.CBb84SJY.js +10 -0
- package/dist/layers.CCaOiFeL.js +9 -0
- package/dist/layers.CChtus6s.js +9 -0
- package/dist/layers.CDpYDf4E.js +41 -0
- package/dist/layers.CElZbgj1.js +61 -0
- package/dist/layers.CFXi5TGg.js +5 -0
- package/dist/layers.CGvSf-pD.js +10 -0
- package/dist/layers.CH7Yhxyl.js +1 -0
- package/dist/layers.CHZsXQcr.js +1 -0
- package/dist/layers.CHbqHHw4.js +10 -0
- package/dist/layers.CIK15Iw8.js +1 -0
- package/dist/layers.CIpcY9uj.js +38 -0
- package/dist/layers.CK2ePV5l.js +1 -0
- package/dist/layers.CKOfAypO.js +1 -0
- package/dist/layers.CKuoZO2o.js +5 -0
- package/dist/layers.CLELtUjk.js +40 -0
- package/dist/layers.CNmEkwvP.js +84 -0
- package/dist/layers.CPJv1Tc9.js +46859 -0
- package/dist/layers.CPlQgHvJ.js +37 -0
- package/dist/layers.CR9KcJml.js +9 -0
- package/dist/layers.CRFf4NzO.js +10 -0
- package/dist/layers.CSI1-wyP.js +1 -0
- package/dist/layers.CTmWmJtN.js +32 -0
- package/dist/layers.CXqT56ec.js +304 -0
- package/dist/layers.CZ5YSh6D.js +8 -0
- package/dist/layers.C_2s_qym.js +3 -0
- package/dist/layers.C_IvrzZ3.js +7 -0
- package/dist/layers.C_fjSuvx.js +1 -0
- package/dist/layers.CaMAncU5.js +423 -0
- package/dist/layers.CcaiUz4r.js +1 -0
- package/dist/layers.Cd1zz9ej.js +39 -0
- package/dist/layers.CeafY0UM.js +37 -0
- package/dist/layers.CfcMk6Ta.js +1 -0
- package/dist/layers.Cfl_HoMI.js +769 -0
- package/dist/layers.CfpNlmP9.js +1 -0
- package/dist/layers.CiTTUiMF.js +8 -0
- package/dist/layers.Cj4cFFtZ.js +189 -0
- package/dist/layers.CmdoC_9-.js +7 -0
- package/dist/layers.CoGB8bed.js +8 -0
- package/dist/layers.Cpy28Z7d.js +35 -0
- package/dist/layers.CqVTtuYm.js +6 -0
- package/dist/layers.Cu93NN5Z.js +41 -0
- package/dist/layers.Cu9NodvY.js +1089 -0
- package/dist/layers.CvBE5BLz.js +118 -0
- package/dist/layers.Cx9zn9dM.js +41 -0
- package/dist/layers.CxJcDiDE.js +65 -0
- package/dist/layers.Cyzu9PKQ.js +1 -0
- package/dist/layers.CzAsjHtw.js +34 -0
- package/dist/layers.D0kgeXsw.js +1619 -0
- package/dist/layers.D0zn4_Mx.js +1 -0
- package/dist/layers.D1Vfjokq.js +32 -0
- package/dist/layers.D1rIvRN6.js +9 -0
- package/dist/layers.D22i1Ls7.js +6 -0
- package/dist/layers.D25D_N3C.js +7 -0
- package/dist/layers.D4T8fTcj.js +1223 -0
- package/dist/layers.D4fXRymr.js +40 -0
- package/dist/layers.D4gUAtLW.js +41 -0
- package/dist/layers.D59PMsKH.js +51 -0
- package/dist/layers.D5_C65FS.js +2479 -0
- package/dist/layers.D5j-6Vz3.js +36 -0
- package/dist/layers.D7ikYTua.js +2235 -0
- package/dist/layers.D7jGxypv.js +8 -0
- package/dist/layers.D7n2QyFM.js +48146 -0
- package/dist/layers.D8fdxG58.js +295 -0
- package/dist/layers.D9h1AMfz.js +8 -0
- package/dist/layers.DAsAtqWK.js +4 -0
- package/dist/layers.DBVrBhF0.js +1 -0
- package/dist/layers.DCWjWRvL.js +9 -0
- package/dist/layers.DD9dfhit.js +40 -0
- package/dist/layers.DHD10kvJ.js +1 -0
- package/dist/layers.DHZBzVaT.js +1283 -0
- package/dist/layers.DHfSJOOW.js +1 -0
- package/dist/layers.DKJQWPVn.js +32 -0
- package/dist/layers.DKUfWSX1.js +904 -0
- package/dist/layers.DLK-HpMV.js +1 -0
- package/dist/layers.DLjZPfF1.js +802 -0
- package/dist/layers.DLwuMfdd.js +84 -0
- package/dist/layers.DMIDFKxo.js +36 -0
- package/dist/layers.DMkBISW1.js +1 -0
- package/dist/layers.DN9HoVxI.js +18 -0
- package/dist/layers.DOrgOHBr.js +1 -0
- package/dist/layers.DRvKjryx.js +1265 -0
- package/dist/layers.DTMLuJKN.js +33 -0
- package/dist/layers.DUJa2ZOS.js +8 -0
- package/dist/layers.DVUWZ8Wt.js +37 -0
- package/dist/layers.DVrOJIL5.js +7 -0
- package/dist/layers.DY6GA9ww.js +9166 -0
- package/dist/layers.D_Imug13.js +8 -0
- package/dist/layers.D_KJI4uf.js +1 -0
- package/dist/layers.D_vzZUhY.js +1 -0
- package/dist/layers.DaCB9yHC.js +4 -0
- package/dist/layers.DbaKVP5e.js +1 -0
- package/dist/layers.DcjluSHw.js +84 -0
- package/dist/layers.De0fDaHO.js +40 -0
- package/dist/layers.DeEGG6FS.js +42 -0
- package/dist/layers.DfFJCPRD.js +373 -0
- package/dist/layers.DfLz3NUP.js +320 -0
- package/dist/layers.DhW2E_US.js +1580 -0
- package/dist/layers.DjUOC4st.js +16 -0
- package/dist/layers.DjbsplkN.js +32 -0
- package/dist/layers.DkaJchxc.js +6 -0
- package/dist/layers.DlGVcszu.js +1 -0
- package/dist/layers.DlfnKTKF.js +42 -0
- package/dist/layers.DnxO-9oO.js +1 -0
- package/dist/layers.DqSkTf9R.js +21763 -0
- package/dist/layers.Dr1JK1_Z.js +202 -0
- package/dist/layers.Dr8zNYOs.js +5 -0
- package/dist/layers.DsiNLArY.js +40 -0
- package/dist/layers.DtP3hMV0.js +10 -0
- package/dist/layers.Du1ZlY6H.js +40 -0
- package/dist/layers.Du8uQ4JH.js +1 -0
- package/dist/layers.DuQ8oZjN.js +1 -0
- package/dist/layers.DuwNlZRl.js +11 -0
- package/dist/layers.Dw7Dmv6Y.js +19 -0
- package/dist/layers.DxA6ocdw.js +70 -0
- package/dist/layers.Dy1naDTQ.js +14 -0
- package/dist/layers.E1TwhuY2.js +791 -0
- package/dist/layers.Eelq_G9Y.js +803 -0
- package/dist/layers.Eodu_OXz.js +2 -0
- package/dist/layers.H36OYk_h.js +5 -0
- package/dist/layers.HVpHwo9E.js +5 -0
- package/dist/layers.I-tmhwFG.js +39 -0
- package/dist/layers.Is4NOcYC.js +9 -0
- package/dist/layers.J20L8tWx.js +501 -0
- package/dist/layers.JWCLFILJ.js +1 -0
- package/dist/layers.Jm82B3Oj.js +116 -0
- package/dist/layers.L60GQ2sb.js +8 -0
- package/dist/layers.LJC22eKQ.js +7 -0
- package/dist/layers.MW6tobI-.js +6 -0
- package/dist/layers.MZ6d0DZp.js +10 -0
- package/dist/layers.M_62Sbj7.js +268 -0
- package/dist/layers.O8Nxijec.js +793 -0
- package/dist/layers.OLlYwVPc.js +14 -0
- package/dist/layers.Pw46DBip.js +59 -0
- package/dist/layers.U98UFPWm.js +207 -0
- package/dist/layers.VXlo2W40.js +36 -0
- package/dist/layers.VlKfhmpq.js +10 -0
- package/dist/layers.YOQy_t6q.js +40 -0
- package/dist/layers.ZoMyFX9M.js +2 -0
- package/dist/layers._1XiIhPh.js +7 -0
- package/dist/layers.ay_dYKjj.js +960 -0
- package/dist/layers.b0h5ZBmD.js +61 -0
- package/dist/layers.dDe6FHmh.js +36 -0
- package/dist/layers.dVkHa3a_.js +39 -0
- package/dist/layers.et7zjoY9.js +52 -0
- package/dist/layers.gryxZo3n.js +10 -0
- package/dist/layers.hPuFhhxl.js +41 -0
- package/dist/layers.hweLqW3I.js +261 -0
- package/dist/layers.kaOt41rd.js +9 -0
- package/dist/layers.lCpg7dOn.js +21 -0
- package/dist/layers.lLFiut9N.js +8 -0
- package/dist/layers.lNSz2AQQ.js +6 -0
- package/dist/layers.mV8zYAS9.js +39 -0
- package/dist/layers.oyyMMK1Q.js +21938 -0
- package/dist/layers.qFWUlMDP.js +282 -0
- package/dist/layers.t46sYkQh.js +96 -0
- package/dist/layers.tdFdnJVX.js +38 -0
- package/dist/layers.u4sk_7sk.js +6 -0
- package/dist/layers.uEa7jWOw.js +42 -0
- package/dist/layers.uKwUcHfW.js +9 -0
- package/dist/layers.v6694Ulr.js +425 -0
- package/dist/layers.xkw2pWfm.js +40 -0
- package/dist/layers.ytXaFkr-.js +1 -0
- package/dist/layers.z5ZNUv1T.js +38 -0
- package/package.json +18 -76
- package/dist/layers.7jmq6tBR.js +0 -2227
- package/dist/layers.B90YwJga.js +0 -4
- package/dist/layers.C03OvlLb.js +0 -6
- package/dist/layers.CJiIq6YQ.js +0 -1
- package/dist/layers.CXffIp2y.js +0 -864
- package/dist/layers.CZPeYQ9g.js +0 -3
- package/dist/layers.CZ_Lt7IL.js +0 -7
- package/dist/layers.Ci1-qkbn.js +0 -341
- package/dist/layers.Cnm-pECN.js +0 -2
- package/dist/layers.D6d62qQ_.js +0 -6774
- package/dist/layers.DNCgFYS7.js +0 -27
- package/dist/layers.Dev6Yrwi.js +0 -530
- package/dist/layers.Dgok89qX.js +0 -1
- package/dist/layers.Dq3o7sh3.js +0 -7723
- package/dist/layers.Duy8YzsH.js +0 -2511
- package/dist/layers.QjAkD17S.js +0 -3677
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { s as M, d as _, p as R } from "./layers.Cu9NodvY.js";
|
|
2
|
+
import { l as d, g as c, d as w, u as B, Y as G, j as D, _ as E, $ as C, a0 as $ } from "./layers.DY6GA9ww.js";
|
|
3
|
+
import { G as z } from "./layers.BJDrjORS.js";
|
|
4
|
+
import { r as P } from "./layers.DfFJCPRD.js";
|
|
5
|
+
import "./layers.DqSkTf9R.js";
|
|
6
|
+
import "lodash-es";
|
|
7
|
+
import "./layers.D4T8fTcj.js";
|
|
8
|
+
const S = (s) => D.sanitizeText(s, c());
|
|
9
|
+
let k = {
|
|
10
|
+
dividerMargin: 10,
|
|
11
|
+
padding: 5,
|
|
12
|
+
textHeight: 10,
|
|
13
|
+
curve: void 0
|
|
14
|
+
};
|
|
15
|
+
const q = function(s, t, y, a) {
|
|
16
|
+
const e = Object.keys(s);
|
|
17
|
+
d.info("keys:", e), d.info(s), e.forEach(function(i) {
|
|
18
|
+
var o, r;
|
|
19
|
+
const l = s[i], p = {
|
|
20
|
+
shape: "rect",
|
|
21
|
+
id: l.id,
|
|
22
|
+
domId: l.domId,
|
|
23
|
+
labelText: S(l.id),
|
|
24
|
+
labelStyle: "",
|
|
25
|
+
style: "fill: none; stroke: black",
|
|
26
|
+
// TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
|
|
27
|
+
padding: ((o = c().flowchart) == null ? void 0 : o.padding) ?? ((r = c().class) == null ? void 0 : r.padding)
|
|
28
|
+
};
|
|
29
|
+
t.setNode(l.id, p), A(l.classes, t, y, a, l.id), d.info("setNode", p);
|
|
30
|
+
});
|
|
31
|
+
}, A = function(s, t, y, a, e) {
|
|
32
|
+
const i = Object.keys(s);
|
|
33
|
+
d.info("keys:", i), d.info(s), i.filter((o) => s[o].parent == e).forEach(function(o) {
|
|
34
|
+
var r, l;
|
|
35
|
+
const n = s[o], p = n.cssClasses.join(" "), f = E(n.styles), h = n.label ?? n.id, u = 0, b = {
|
|
36
|
+
labelStyle: f.labelStyle,
|
|
37
|
+
shape: "class_box",
|
|
38
|
+
labelText: S(h),
|
|
39
|
+
classData: n,
|
|
40
|
+
rx: u,
|
|
41
|
+
ry: u,
|
|
42
|
+
class: p,
|
|
43
|
+
style: f.style,
|
|
44
|
+
id: n.id,
|
|
45
|
+
domId: n.domId,
|
|
46
|
+
tooltip: a.db.getTooltip(n.id, e) || "",
|
|
47
|
+
haveCallback: n.haveCallback,
|
|
48
|
+
link: n.link,
|
|
49
|
+
width: n.type === "group" ? 500 : void 0,
|
|
50
|
+
type: n.type,
|
|
51
|
+
// TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
|
|
52
|
+
padding: ((r = c().flowchart) == null ? void 0 : r.padding) ?? ((l = c().class) == null ? void 0 : l.padding)
|
|
53
|
+
};
|
|
54
|
+
t.setNode(n.id, b), e && t.setParent(n.id, e), d.info("setNode", b);
|
|
55
|
+
});
|
|
56
|
+
}, F = function(s, t, y, a) {
|
|
57
|
+
d.info(s), s.forEach(function(e, i) {
|
|
58
|
+
var o, r;
|
|
59
|
+
const l = e, n = "", p = { labelStyle: "", style: "" }, f = l.text, h = 0, v = {
|
|
60
|
+
labelStyle: p.labelStyle,
|
|
61
|
+
shape: "note",
|
|
62
|
+
labelText: S(f),
|
|
63
|
+
noteData: l,
|
|
64
|
+
rx: h,
|
|
65
|
+
ry: h,
|
|
66
|
+
class: n,
|
|
67
|
+
style: p.style,
|
|
68
|
+
id: l.id,
|
|
69
|
+
domId: l.id,
|
|
70
|
+
tooltip: "",
|
|
71
|
+
type: "note",
|
|
72
|
+
// TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
|
|
73
|
+
padding: ((o = c().flowchart) == null ? void 0 : o.padding) ?? ((r = c().class) == null ? void 0 : r.padding)
|
|
74
|
+
};
|
|
75
|
+
if (t.setNode(l.id, v), d.info("setNode", v), !l.class || !(l.class in a))
|
|
76
|
+
return;
|
|
77
|
+
const b = y + i, x = {
|
|
78
|
+
id: `edgeNote${b}`,
|
|
79
|
+
//Set relationship style and line type
|
|
80
|
+
classes: "relation",
|
|
81
|
+
pattern: "dotted",
|
|
82
|
+
// Set link type for rendering
|
|
83
|
+
arrowhead: "none",
|
|
84
|
+
//Set edge extra labels
|
|
85
|
+
startLabelRight: "",
|
|
86
|
+
endLabelLeft: "",
|
|
87
|
+
//Set relation arrow types
|
|
88
|
+
arrowTypeStart: "none",
|
|
89
|
+
arrowTypeEnd: "none",
|
|
90
|
+
style: "fill:none",
|
|
91
|
+
labelStyle: "",
|
|
92
|
+
curve: C(k.curve, $)
|
|
93
|
+
};
|
|
94
|
+
t.setEdge(l.id, l.class, x, b);
|
|
95
|
+
});
|
|
96
|
+
}, H = function(s, t) {
|
|
97
|
+
const y = c().flowchart;
|
|
98
|
+
let a = 0;
|
|
99
|
+
s.forEach(function(e) {
|
|
100
|
+
var i;
|
|
101
|
+
a++;
|
|
102
|
+
const o = {
|
|
103
|
+
//Set relationship style and line type
|
|
104
|
+
classes: "relation",
|
|
105
|
+
pattern: e.relation.lineType == 1 ? "dashed" : "solid",
|
|
106
|
+
id: `id_${e.id1}_${e.id2}_${a}`,
|
|
107
|
+
// Set link type for rendering
|
|
108
|
+
arrowhead: e.type === "arrow_open" ? "none" : "normal",
|
|
109
|
+
//Set edge extra labels
|
|
110
|
+
startLabelRight: e.relationTitle1 === "none" ? "" : e.relationTitle1,
|
|
111
|
+
endLabelLeft: e.relationTitle2 === "none" ? "" : e.relationTitle2,
|
|
112
|
+
//Set relation arrow types
|
|
113
|
+
arrowTypeStart: N(e.relation.type1),
|
|
114
|
+
arrowTypeEnd: N(e.relation.type2),
|
|
115
|
+
style: "fill:none",
|
|
116
|
+
labelStyle: "",
|
|
117
|
+
curve: C(y == null ? void 0 : y.curve, $)
|
|
118
|
+
};
|
|
119
|
+
if (d.info(o, e), e.style !== void 0) {
|
|
120
|
+
const r = E(e.style);
|
|
121
|
+
o.style = r.style, o.labelStyle = r.labelStyle;
|
|
122
|
+
}
|
|
123
|
+
e.text = e.title, e.text === void 0 ? e.style !== void 0 && (o.arrowheadStyle = "fill: #333") : (o.arrowheadStyle = "fill: #333", o.labelpos = "c", ((i = c().flowchart) == null ? void 0 : i.htmlLabels) ?? c().htmlLabels ? (o.labelType = "html", o.label = '<span class="edgeLabel">' + e.text + "</span>") : (o.labelType = "text", o.label = e.text.replace(D.lineBreakRegex, `
|
|
124
|
+
`), e.style === void 0 && (o.style = o.style || "stroke: #333; stroke-width: 1.5px;fill:none"), o.labelStyle = o.labelStyle.replace("color:", "fill:"))), t.setEdge(e.id1, e.id2, o, a);
|
|
125
|
+
});
|
|
126
|
+
}, V = function(s) {
|
|
127
|
+
k = {
|
|
128
|
+
...k,
|
|
129
|
+
...s
|
|
130
|
+
};
|
|
131
|
+
}, W = async function(s, t, y, a) {
|
|
132
|
+
d.info("Drawing class - ", t);
|
|
133
|
+
const e = c().flowchart ?? c().class, i = c().securityLevel;
|
|
134
|
+
d.info("config:", e);
|
|
135
|
+
const o = (e == null ? void 0 : e.nodeSpacing) ?? 50, r = (e == null ? void 0 : e.rankSpacing) ?? 50, l = new z({
|
|
136
|
+
multigraph: !0,
|
|
137
|
+
compound: !0
|
|
138
|
+
}).setGraph({
|
|
139
|
+
rankdir: a.db.getDirection(),
|
|
140
|
+
nodesep: o,
|
|
141
|
+
ranksep: r,
|
|
142
|
+
marginx: 8,
|
|
143
|
+
marginy: 8
|
|
144
|
+
}).setDefaultEdgeLabel(function() {
|
|
145
|
+
return {};
|
|
146
|
+
}), n = a.db.getNamespaces(), p = a.db.getClasses(), f = a.db.getRelations(), h = a.db.getNotes();
|
|
147
|
+
d.info(f), q(n, l, t, a), A(p, l, t, a), H(f, l), F(h, l, f.length + 1, p);
|
|
148
|
+
let u;
|
|
149
|
+
i === "sandbox" && (u = w("#i" + t));
|
|
150
|
+
const v = i === "sandbox" ? w(u.nodes()[0].contentDocument.body) : w("body"), b = v.select(`[id="${t}"]`), x = v.select("#" + t + " g");
|
|
151
|
+
if (await P(
|
|
152
|
+
x,
|
|
153
|
+
l,
|
|
154
|
+
["aggregation", "extension", "composition", "dependency", "lollipop"],
|
|
155
|
+
"classDiagram",
|
|
156
|
+
t
|
|
157
|
+
), B.insertTitle(b, "classTitleText", (e == null ? void 0 : e.titleTopMargin) ?? 5, a.db.getDiagramTitle()), G(l, b, e == null ? void 0 : e.diagramPadding, e == null ? void 0 : e.useMaxWidth), !(e != null && e.htmlLabels)) {
|
|
158
|
+
const T = i === "sandbox" ? u.nodes()[0].contentDocument : document, I = T.querySelectorAll('[id="' + t + '"] .edgeLabel .label');
|
|
159
|
+
for (const g of I) {
|
|
160
|
+
const L = g.getBBox(), m = T.createElementNS("http://www.w3.org/2000/svg", "rect");
|
|
161
|
+
m.setAttribute("rx", 0), m.setAttribute("ry", 0), m.setAttribute("width", L.width), m.setAttribute("height", L.height), g.insertBefore(m, g.firstChild);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
function N(s) {
|
|
166
|
+
let t;
|
|
167
|
+
switch (s) {
|
|
168
|
+
case 0:
|
|
169
|
+
t = "aggregation";
|
|
170
|
+
break;
|
|
171
|
+
case 1:
|
|
172
|
+
t = "extension";
|
|
173
|
+
break;
|
|
174
|
+
case 2:
|
|
175
|
+
t = "composition";
|
|
176
|
+
break;
|
|
177
|
+
case 3:
|
|
178
|
+
t = "dependency";
|
|
179
|
+
break;
|
|
180
|
+
case 4:
|
|
181
|
+
t = "lollipop";
|
|
182
|
+
break;
|
|
183
|
+
default:
|
|
184
|
+
t = "none";
|
|
185
|
+
}
|
|
186
|
+
return t;
|
|
187
|
+
}
|
|
188
|
+
const Y = {
|
|
189
|
+
setConf: V,
|
|
190
|
+
draw: W
|
|
191
|
+
}, O = {
|
|
192
|
+
parser: R,
|
|
193
|
+
db: _,
|
|
194
|
+
renderer: Y,
|
|
195
|
+
styles: M,
|
|
196
|
+
init: (s) => {
|
|
197
|
+
s.class || (s.class = {}), s.class.arrowMarkerAbsolute = s.arrowMarkerAbsolute, _.clear();
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
export {
|
|
201
|
+
O as diagram
|
|
202
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import "./layers.DqSkTf9R.js";
|
|
2
|
+
var u = { paste: "貼上", pasteAsPlaintext: "以純文字貼上", pasteCharts: "貼上圖表", selectAll: "全選", multiSelect: "將物件加入選取範圍", moveCanvas: "移動畫布", cut: "剪下", copy: "複製", copyAsPng: "以PNG格式儲存到剪貼板", copyAsSvg: "以SVG格式複製到剪貼板", copyText: "以文字格式複製至剪貼簿", copySource: "複製來源至剪貼簿", convertToCode: "轉換為程式碼", bringForward: "上移一層", sendToBack: "移到最底層", bringToFront: "置於最頂層", sendBackward: "往後移一層", delete: "刪除", copyStyles: "複製樣式", pasteStyles: "貼上樣式", stroke: "筆畫", background: "背景", fill: "填滿", strokeWidth: "筆跡寬度", strokeStyle: "筆畫樣式", strokeStyle_solid: "實線", strokeStyle_dashed: "虛線", strokeStyle_dotted: "點線", sloppiness: "線條風格", opacity: "透明度", textAlign: "文字對齊", edges: "邊緣", sharp: "尖銳", round: "平滑", arrowheads: "箭頭", arrowhead_none: "無", arrowhead_arrow: "箭頭", arrowhead_bar: "條狀箭頭", arrowhead_circle: "圓形", arrowhead_circle_outline: "圓形(外框)", arrowhead_triangle: "三角形", arrowhead_triangle_outline: "三角形(外框)", arrowhead_diamond: "菱形", arrowhead_diamond_outline: "菱形(外框)", fontSize: "字型大小", fontFamily: "字體集", addWatermark: '加上 "Made with Excalidraw" 浮水印', handDrawn: "手寫", normal: "一般", code: "代碼", small: "小", medium: "中", large: "大", veryLarge: "特大", solid: "實心", hachure: "斜線筆觸", zigzag: "Z字形", crossHatch: "交叉筆觸", thin: "細", bold: "粗", left: "左側", center: "置中", right: "右側", extraBold: "極粗", architect: "精確", artist: "藝術", cartoonist: "卡通", fileTitle: "檔案名稱", colorPicker: "色彩選擇工具", canvasColors: "使用於畫布", canvasBackground: "Canvas 背景", drawingCanvas: "繪圖 canvas", layers: "圖層", actions: "動作", language: "語言", liveCollaboration: "即時協作...", duplicateSelection: "複製", untitled: "無標題", name: "名稱", yourName: "你的名稱", madeWithExcalidraw: "以 Excalidraw 製作", group: "建立群組", ungroup: "取消群組", collaborators: "協作者", showGrid: "顯示格線", addToLibrary: "加入資料庫", removeFromLibrary: "從資料庫中移除", libraryLoadingMessage: "資料庫讀取中…", libraries: "瀏覽資料庫", loadingScene: "場景讀取中…", align: "對齊", alignTop: "對齊頂部", alignBottom: "對齊底部", alignLeft: "對齊左側", alignRight: "對齊右側", centerVertically: "垂直置中", centerHorizontally: "水平置中", distributeHorizontally: "水平分布", distributeVertically: "垂直分布", flipHorizontal: "水平翻轉", flipVertical: "垂直翻轉", viewMode: "檢視模式", share: "共享", showStroke: "顯示線條檢色器", showBackground: "顯示背景檢色器", toggleTheme: "切換主題", personalLib: "個人資料庫", excalidrawLib: "Excalidraw 資料庫", decreaseFontSize: "縮小文字", increaseFontSize: "放大文字", unbindText: "取消綁定文字", bindText: "結合文字至容器", createContainerFromText: "將文字包於容器中", link: { edit: "編輯連結", editEmbed: "編輯連結&嵌入", create: "建立連結", createEmbed: "建立連結&嵌入", label: "連結", labelEmbed: "連結&嵌入", empty: "未設定連結" }, lineEditor: { edit: "編輯線條", exit: "結束線條編輯" }, elementLock: { lock: "鎖定", unlock: "解鎖", lockAll: "全部鎖定", unlockAll: "全部解鎖" }, statusPublished: "已發布", sidebarLock: "側欄維持開啟", selectAllElementsInFrame: "選取框架內的所有元素", removeAllElementsFromFrame: "從框架內移除所有元素", eyeDropper: "從畫布中選取顏色", textToDiagram: "文字轉圖表", prompt: "提示詞" }, F = { noItems: "尚未加入任何物件...", hint_emptyLibrary: "選取畫布上的物件以加入,或從下方的公開 repository 中安裝資料庫", hint_emptyPrivateLibrary: "選擇畫布上的物件以在此加入" }, e = { clearReset: "重置 canvas", exportJSON: "匯出至檔案", exportImage: "匯出圖片", export: "儲存至...", copyToClipboard: "複製至剪貼簿", save: "儲存目前檔案", saveAs: "儲存為", load: "開啟", getShareableLink: "取得共享連結", close: "關閉", selectLanguage: "選擇語言", scrollBackToContent: "捲動回到內容", zoomIn: "放大", zoomOut: "縮小", resetZoom: "重設縮放", menu: "選單", done: "完成", edit: "編輯", undo: "復原", redo: "重做", resetLibrary: "重設資料庫", createNewRoom: "建立新協作會議室", fullScreen: "全螢幕", darkMode: "深色模式", lightMode: "淺色模式", zenMode: "專注模式", objectsSnapMode: "吸附至物件", exitZenMode: "離開專注模式", cancel: "取消", clear: "清除", remove: "刪除", embed: "切換嵌入", publishLibrary: "發布", submit: "送出", confirm: "確認", embeddableInteractionButton: "點擊以互動" }, E = { clearReset: "這將會清除整個 canvas。你確定嗎?", couldNotCreateShareableLink: "無法建立共享連結。", couldNotCreateShareableLinkTooBig: "無法建立共享連結:場景太大", couldNotLoadInvalidFile: "無法讀取失效的檔案。", importBackendFailed: "後端讀取失敗。", cannotExportEmptyCanvas: "無法輸出空白的 canvas。", couldNotCopyToClipboard: "無法複製到剪貼簿", decryptFailed: "無法解密資料。", uploadedSecurly: "上傳已通過 end-to-end 加密,Excalidraw 伺服器和第三方無法皆讀取其內容。", loadSceneOverridePrompt: "讀取外部圖樣將取代目前的內容。是否要繼續?", collabStopOverridePrompt: `停止連線將覆蓋您先前於本機儲存的繪圖進度,是否確認?
|
|
3
|
+
|
|
4
|
+
(如要保留原有的本機繪圖進度,直接關閉瀏覽器分頁即可。)`, errorAddingToLibrary: "無法於此資料庫加入項目", errorRemovingFromLibrary: "無法由此資料庫移除項目", confirmAddLibrary: "這將會將 {{numShapes}} 個圖形加入你的資料庫,你確定嗎?", imageDoesNotContainScene: "此圖檔中未包含場景資料。輸出檔案時是否有包含場景資料?", cannotRestoreFromImage: "無法由此檔案回復場景。", invalidSceneUrl: "無法由提供的 URL 匯入場景。可能是發生異常,或未包含有效的 Excalidraw JSON 資料。", resetLibrary: "這會清除您的資料庫,是否確定?", removeItemsFromsLibrary: "從資料庫刪除 {{count}} 項?", invalidEncryptionKey: "加密鍵必須為22字元。即時協作已停用。", collabOfflineWarning: `沒有可用的網路連線。
|
|
5
|
+
變更無法儲存!` }, C = { unsupportedFileType: "不支援的檔案類型。", imageInsertError: "無法插入圖片。請稍後再試…", fileTooBig: "檔案過大。可接受的最大尺寸為 {{maxSize}} 。", svgImageInsertError: "無法插入 SVG 圖片。此 SVG 檔案有問題。", failedToFetchImage: "無法獲取圖片。", invalidSVGString: "無效的 SVG。", cannotResolveCollabServer: "無法連結至 collab 伺服器。請重新整理後再試一次。", importLibraryError: "無法載入資料庫", collabSaveFailed: "無法儲存至後端資料庫。若此問題持續發生,請將檔案儲存於本機以確保資料不會遺失。", collabSaveFailed_sizeExceeded: "無法儲存至後端資料庫,可能的原因為畫布尺寸過大。請將檔案儲存於本機以確保資料不會遺失。", imageToolNotSupported: "圖片已停用", brave_measure_text_error: { line1: "看起來您開啟了 Brave 瀏覽器的 <bold>Aggressively Block Fingerprinting</bold> 設定。", line2: "這可能造成您畫布中 <bold>文字元素</bold> 的異常。", line3: "我們強烈建議您關閉此設定。您可以依照 <link>這些步驟</link> 來進行。", line4: "若關閉此設定並未修復文字元素的顯示問題,請回報於我們 GitHub 上的 <issueLink>issue</issueLink>,或在 <discordLink>Discord</discordLink> 上告訴我們。" }, libraryElementTypeError: { embeddable: "可嵌入元素無法加入資料庫", iframe: "IFrame 元素無法加入資料庫", image: "即將支援加入圖片至資料庫!" }, asyncPasteFailedOnRead: "無法貼上(無法由系統剪貼簿讀入)", asyncPasteFailedOnParse: "無法貼上", copyToSystemClipboardFailed: "無法複製至剪貼簿" }, A = { selection: "選取", image: "插入圖片", rectangle: "長方形", diamond: "菱形", ellipse: "橢圓", arrow: "箭頭", line: "線條", freedraw: "繪圖", text: "文字", library: "資料庫", lock: "可連續使用選取的工具", penMode: "筆模式 - 避免觸摸", link: "為所選的形狀增加\b/更新連結", eraser: "橡皮擦", frame: "框架工具", magicframe: "線框稿轉為程式碼", embeddable: "嵌入網站", laser: "雷射筆", hand: "手形(平移工具)", extraTools: "更多工具", mermaidToExcalidraw: "Mermaid 至 Excalidraw", magicSettings: "AI 設定" }, D = { canvasActions: "canvas 動作", selectedShapeActions: "選取圖形動作", shapes: "形狀" }, B = { canvasPanning: "若要移動畫布,請在拖曳時按住滑鼠滾輪或空白鍵,或使用手形工具", linearElement: "點擊以繪製多點曲線;或拖曳以繪製直線", freeDraw: "點擊並拖曳來繪圖,放開即結束", text: "提示:亦可使用選取工具在任何地方雙擊來加入文字", embeddable: "點擊並拖移以建立嵌入網站", text_selected: "雙擊滑鼠或按 Enter 以編輯文字", text_editing: "按跳脫鍵或 Ctrl 或 Cmd + Enter 以結束編輯", linearElementMulti: "按下 Escape 或 Enter 以結束繪製", lockAngle: "按住 SHIFT 可限制旋轉角度", resize: "縮放時按住 Shift 可保持原比例縮放;\\n按住 Alt 可由中心點進行縮放", resizeImage: "按住 SHIFT 可任意縮放,按住 ALT 可由中央縮放。", rotate: "旋轉時按住 Shift 可限制旋轉角度", lineEditor_info: "按住 Ctrl 或 Cmd 並雙擊或按住 Ctrl 或 Cmd + Enter 來編輯控制點", lineEditor_pointSelected: "按下 Delete 可移除錨點;Ctrl 或 Cmd + D 可複製;或可拖曳來移動", lineEditor_nothingSelected: `選擇要編輯的錨點(按住 SHIFT 可多選),
|
|
6
|
+
或按住 Alt 並點擊以增加新錨點。`, placeImage: "點擊以放置圖片,或點擊並拖曳以手動調整其尺寸。", publishLibrary: "發布個人資料庫", bindTextToElement: "按下 Enter 以加入文字。", deepBoxSelect: "按住 Ctrl 或 Cmd 以深度選取並避免拖曳", eraserRevert: "按住 Alt 以反選取已標記待刪除的元素", firefox_clipboard_write: `此功能有機會透過將 "dom.events.asyncClipboard.clipboardItem" 設定為 "true" 來開啟。
|
|
7
|
+
若要變更 Firefox 瀏覽器的此設定值,請至 "about:config" 頁面。`, disableSnapping: "按住 Ctrl 或 Cmd 以禁用吸附" }, a = { cannotShowPreview: "無法顯示預覽", canvasTooBig: "畫布可能過大", canvasTooBigTip: "提示:可嘗試將最遠的元素移動至較集中的位置" }, r = { headingMain: "發生錯誤,嘗試<button>重新載入頁面。</button>", clearCanvasMessage: "若重新載入仍無法解決問題,嘗試<button>清除 canvas。</button>", clearCanvasCaveat: "此動作將造成目前的作品被移除。", trackedToSentry: "此錯誤與其識別碼{{eventId}}將由系統記錄。", openIssueMessage: "我們將謹慎處理,你的作品內容不會被包含在錯誤報告中。若你的作品不需保持私密,請考慮使用我們的<button>bug tracker。</button>請將下列資訊複製貼上至 GitHub issue 中。", sceneContent: "作品內容:" }, t = { desc_intro: "你可以邀請其他人一起協作目前的作品。", desc_privacy: "連線使用 end-to-end 加密故無須擔心作品的安全性。即使是我們的伺服器也無法取得其內容。", button_startSession: "開始連線", button_stopSession: "停止連線", desc_inProgressIntro: "即時協作連線正在進行中。", desc_shareLink: "將此連結分享給欲協作的對象:", desc_exitSession: "停止連線將中斷你與協作會議室的連結,但你仍可於本機編輯此作品。意指停止連線後你的編輯不會被先前共同協作的人看見,且他們可繼續共同協作另一個版本。", shareTitle: "加入 Excalidraw 上的即時協作會議室" }, o = { title: "錯誤" }, i = { disk_title: "儲存至硬碟", disk_details: "將場景匯出為可供匯入之檔案", disk_button: "儲存至檔案", link_title: "可共享連結", link_details: "匯出為唯讀連結", link_button: "匯出為連結", excalidrawplus_description: "將此場景儲存至你的 Excalidraw+ 工作區", excalidrawplus_button: "輸出", excalidrawplus_exportError: "目前無法輸出至 Excalidraw+" }, l = { blog: "閱讀部落格", click: "點擊", deepSelect: "深度選取", deepBoxSelect: "在容器內深度選取並避免拖曳", curvedArrow: "曲箭頭", curvedLine: "曲線", documentation: "文件", doubleClick: "雙擊", drag: "拖曳", editor: "編輯器", editLineArrowPoints: "編輯線/箭頭控制點", editText: "編輯文字/增加標籤", github: "發現異常?回報問題", howto: "參照我們的說明", or: "或", preventBinding: "避免箭號連結", tools: "工具", shortcuts: "鍵盤快速鍵", textFinish: "完成編輯(文字編輯器)", textNewLine: "換行(文字編輯器)", title: "說明", view: "檢視", zoomToFit: "放大至填滿畫面", zoomToSelection: "縮放至選取區", toggleElementLock: "鎖定/解鎖已選的項目", movePageUpDown: "向上/下移動頁面", movePageLeftRight: "向左/右移動頁面" }, n = { title: "清除畫布" }, s = { title: "發布資料庫", itemName: "項目名稱", authorName: "作者名稱", githubUsername: "GitHub 帳號", twitterUsername: "Twitter 帳號", libraryName: "資料庫名稱", libraryDesc: "資料庫說明", website: "網站", placeholder: { authorName: "您的名稱或帳號", libraryName: "您的資料庫名稱", libraryDesc: "提供您的資料庫說明以利他人理解其用途", githubHandle: "Github handle(選填),填寫後您可編輯已送出待審查的資料庫", twitterHandle: "Twitter 帳號(選填),填寫後若我們在 Twitter 推廣時可提及您", website: "您個人網站或其他網站的連結(選填)" }, errors: { required: "必填", website: "請輸入有效的 URL" }, noteDescription: "送出您的資料庫後將被包含於<link>公開資料庫 repository</link>以利他人在其繪圖中使用。", noteGuidelines: "資料庫需先經人工審查。請閱讀<link>說明文件</link>再送出。若需溝通與修改時要透過 GitHub 帳號來進行,但並非強制需求。", noteLicense: "送出即代表您同意此資料庫將發布時使用 <link>MIT 授權,</link>簡單來說是指任何人都能不受限制的使用。", noteItems: "每個資料庫項目都有獨立的名稱故可篩選。會包含下列資料庫項目:", atleastOneLibItem: "請選擇至少一項資料庫項目", republishWarning: "注意:部分選取中的物件先前已發布/送出過。建議僅在要更新現存資料庫或已送出的物件時才重新送出這些物件。" }, d = { title: "資料庫已送出", content: "感謝 {{authorName}} 。您的資料庫已送出待審查。您可查看目前狀態<link>在此</link>" }, c = { resetLibrary: "重設資料庫", removeItemsFromLib: "從資料庫移除所選的項目" }, m = { header: "匯出圖片", label: { withBackground: "背景", onlySelected: "僅選取物件", darkMode: "深色模式", embedScene: "嵌入場景", scale: "縮放比例", padding: "內間距" }, tooltip: { embedScene: `用於回復場景的場景資料會被包含在輸出的 PNG/SVG 檔案中。
|
|
8
|
+
會增加輸出的檔案大小。` }, title: { exportToPng: "輸出成 PNG", exportToSvg: "輸出成 SVG", copyPngToClipboard: "複製 PNG 至剪貼簿" }, button: { exportToPng: "PNG", exportToSvg: "SVG", copyPngToClipboard: "複製至剪貼簿" } }, b = { tooltip: "你的作品已使用 end-to-end 方式加密,Excalidraw 的伺服器也無法取得其內容。", link: "Excalidraw 端到端加密的相關部落格文章" }, p = { angle: "角度", element: "元素", elements: "元素", height: "高度", scene: "場景", selected: "已選", storage: "儲存", title: "詳細統計", total: "合計", version: "版本", versionCopy: "點擊複製", versionNotAvailable: "無法取得版本", width: "寬度" }, g = { addedToLibrary: "加入資料庫", copyStyles: "已複製樣式", copyToClipboard: "複製至剪貼簿。", copyToClipboardAsPng: `以 PNG 格式將 {{exportSelection}} 複製至剪貼簿
|
|
9
|
+
({{exportColorScheme}})`, fileSaved: "已儲存檔案。", fileSavedToFilename: "儲存為 {filename}", canvas: "畫布", selection: "已選項目", pasteAsSingleElement: `使用 {{shortcut}} 以做為單一物件貼上,
|
|
10
|
+
或貼上至現有的文字編輯器`, unableToEmbed: "目前不允許嵌入此網址。您可至 GitHub 提出 issue 以要求將此網址加入合格名單。", unrecognizedLinkFormat: "您嵌入的連結格式不符。請嘗試貼入原網站所提供的「嵌入」字串。" }, h = { transparent: "透明", black: "黑", white: "白", red: "紅", pink: "粉紅", grape: "深紫", violet: "藍紫", gray: "灰", blue: "藍", cyan: "青", teal: "藍綠", green: "綠", yellow: "黃", orange: "橘", bronze: "銅" }, y = { app: { center_heading: "所有資料皆已在瀏覽器中儲存於本機", center_heading_plus: "您是否是要前往 Excalidraw+ ?", menuHint: "輸出、偏好設定、語言..." }, defaults: { menuHint: "輸出、偏好設定及其他...", center_heading: "圖表。製作。超簡單。", toolbarHint: "選個工具開始畫圖吧!", helpHint: "快速鍵與說明" } }, S = { mostUsedCustomColors: "最常使用的自訂顏色", colors: "顏色", shades: "漸變色", hexCode: "Hex 碼", noShades: "沒有此顏色的漸變色" }, v = { action: { exportToImage: { title: "匯出為圖片", button: "匯出為圖片", description: "將場景匯出為可供匯入的圖片檔案" }, saveToDisk: { title: "儲存至硬碟", button: "儲存至硬碟", description: "將場景匯出為可供匯入的檔案" }, excalidrawPlus: { title: "Excalidraw+", button: "匯出至 Excalidraw+", description: "將此場景儲存至您的 Excalidraw+ 工作區" } }, modal: { loadFromFile: { title: "從檔案載入", button: "從檔案載入", description: "從檔案載入將<bold>取代您目前的內容</bold>。<br></br>可先使用下方的選項備份您的繪圖。" }, shareableLink: { title: "從連結載入", button: "取代我的內容", description: "載入外部繪圖將<bold>取代您目前的內容</bold>。<br></br>可先使用下方的選項備份您的繪圖。" } } }, w = { title: "Mermaid 至 Excalidraw", button: "插入", description: "目前僅支援 <flowchartLink>Flowchart</flowchartLink> 、 <sequenceLink>Sequence</sequenceLink> 及 <classLink>Class </classLink> 圖表。其餘檔案類型在 Excalidraw 將會以圖像呈現。", syntax: "Mermaid 語法", preview: "預覽" }, x = { labels: u, library: F, buttons: e, alerts: E, errors: C, toolBar: A, headings: D, hints: B, canvasError: a, errorSplash: r, roomDialog: t, errorDialog: o, exportDialog: i, helpDialog: l, clearCanvasDialog: n, publishDialog: s, publishSuccessDialog: d, confirmDialog: c, imageExportDialog: m, encrypted: b, stats: p, toast: g, colors: h, welcomeScreen: y, colorPicker: S, overwriteConfirm: v, mermaid: w };
|
|
11
|
+
export {
|
|
12
|
+
E as alerts,
|
|
13
|
+
e as buttons,
|
|
14
|
+
a as canvasError,
|
|
15
|
+
n as clearCanvasDialog,
|
|
16
|
+
S as colorPicker,
|
|
17
|
+
h as colors,
|
|
18
|
+
c as confirmDialog,
|
|
19
|
+
x as default,
|
|
20
|
+
b as encrypted,
|
|
21
|
+
o as errorDialog,
|
|
22
|
+
r as errorSplash,
|
|
23
|
+
C as errors,
|
|
24
|
+
i as exportDialog,
|
|
25
|
+
D as headings,
|
|
26
|
+
l as helpDialog,
|
|
27
|
+
B as hints,
|
|
28
|
+
m as imageExportDialog,
|
|
29
|
+
u as labels,
|
|
30
|
+
F as library,
|
|
31
|
+
w as mermaid,
|
|
32
|
+
v as overwriteConfirm,
|
|
33
|
+
s as publishDialog,
|
|
34
|
+
d as publishSuccessDialog,
|
|
35
|
+
t as roomDialog,
|
|
36
|
+
p as stats,
|
|
37
|
+
g as toast,
|
|
38
|
+
A as toolBar,
|
|
39
|
+
y as welcomeScreen
|
|
40
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";const F=require("./layers.t46sYkQh.js");var ht=(function(){var e=function(p1,a,o,f){for(o=o||{},f=p1.length;f--;o[p1[f]]=a);return o},u=[1,4],i=[1,3],r=[1,5],c=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],l=[2,2],h=[1,13],G=[1,14],T=[1,15],O=[1,16],H=[1,23],l1=[1,25],A1=[1,26],d1=[1,27],_=[1,49],g=[1,48],h1=[1,29],U1=[1,30],G1=[1,31],M1=[1,32],K1=[1,33],B=[1,44],m=[1,46],y=[1,42],v=[1,47],V=[1,43],L=[1,50],I=[1,45],R=[1,51],N=[1,52],Y1=[1,34],j1=[1,35],z1=[1,36],X1=[1,37],R1=[1,57],k=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Q=[1,61],Z=[1,60],J=[1,62],H1=[8,9,11,73,75],k1=[1,88],b1=[1,93],D1=[1,92],F1=[1,89],T1=[1,85],C1=[1,91],S1=[1,87],_1=[1,94],x1=[1,90],B1=[1,95],m1=[1,86],q1=[8,9,10,11,73,75],w=[8,9,10,11,44,73,75],K=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],pt=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],N1=[42,58,86,99,102,103,106,108,111,112,113],At=[1,121],dt=[1,120],Et=[1,128],gt=[1,142],kt=[1,143],bt=[1,144],Dt=[1,145],Ft=[1,130],Tt=[1,132],Ct=[1,136],St=[1,137],_t=[1,138],xt=[1,139],Bt=[1,140],mt=[1,141],yt=[1,146],vt=[1,147],Vt=[1,126],Lt=[1,127],It=[1,134],Rt=[1,129],Nt=[1,133],wt=[1,131],it=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Ot=[1,149],C=[8,9,11],Y=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],p=[1,169],P=[1,165],U=[1,166],A=[1,170],d=[1,167],E=[1,168],y1=[75,113,116],b=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Pt=[10,103],f1=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],$=[1,235],t1=[1,233],e1=[1,237],s1=[1,231],u1=[1,232],i1=[1,234],n1=[1,236],r1=[1,238],v1=[1,255],Ut=[8,9,11,103],W=[8,9,10,11,58,81,102,103,106,107,108,109],nt={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(a,o,f,n,S,t,w1){var s=t.length-1;switch(S){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 176:this.$=t[s];break;case 11:n.setDirection("TB"),this.$="TB";break;case 12:n.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=n.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=n.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=n.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 43:n.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 44:n.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 45:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 46:this.$={stmt:t[s],nodes:t[s]};break;case 47:this.$=[t[s]];break;case 48:this.$=t[s-4].concat(t[s]);break;case 49:this.$=t[s];break;case 50:this.$=t[s-2],n.setClass(t[s-2],t[s]);break;case 51:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"square");break;case 52:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"doublecircle");break;case 53:this.$=t[s-5],n.addVertex(t[s-5],t[s-2],"circle");break;case 54:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"ellipse");break;case 55:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"stadium");break;case 56:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"subroutine");break;case 57:this.$=t[s-7],n.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 58:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"cylinder");break;case 59:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"round");break;case 60:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"diamond");break;case 61:this.$=t[s-5],n.addVertex(t[s-5],t[s-2],"hexagon");break;case 62:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"odd");break;case 63:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"trapezoid");break;case 64:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 65:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"lean_right");break;case 66:this.$=t[s-3],n.addVertex(t[s-3],t[s-1],"lean_left");break;case 67:this.$=t[s],n.addVertex(t[s]);break;case 68:t[s-1].text=t[s],this.$=t[s-1];break;case 69:case 70:t[s-2].text=t[s-1],this.$=t[s-2];break;case 71:this.$=t[s];break;case 72:var j=n.destructLink(t[s],t[s-2]);this.$={type:j.type,stroke:j.stroke,length:j.length,text:t[s-1]};break;case 73:this.$={text:t[s],type:"text"};break;case 74:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 75:this.$={text:t[s],type:"string"};break;case 76:this.$={text:t[s],type:"markdown"};break;case 77:var j=n.destructLink(t[s]);this.$={type:j.type,stroke:j.stroke,length:j.length};break;case 78:this.$=t[s-1];break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:case 97:this.$={text:t[s],type:"markdown"};break;case 94:this.$={text:t[s],type:"text"};break;case 95:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 96:this.$={text:t[s],type:"text"};break;case 98:this.$=t[s-4],n.addClass(t[s-2],t[s]);break;case 99:this.$=t[s-4],n.setClass(t[s-2],t[s]);break;case 100:case 108:this.$=t[s-1],n.setClickEvent(t[s-1],t[s]);break;case 101:case 109:this.$=t[s-3],n.setClickEvent(t[s-3],t[s-2]),n.setTooltip(t[s-3],t[s]);break;case 102:this.$=t[s-2],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 103:this.$=t[s-4],n.setClickEvent(t[s-4],t[s-3],t[s-2]),n.setTooltip(t[s-4],t[s]);break;case 104:this.$=t[s-2],n.setLink(t[s-2],t[s]);break;case 105:this.$=t[s-4],n.setLink(t[s-4],t[s-2]),n.setTooltip(t[s-4],t[s]);break;case 106:this.$=t[s-4],n.setLink(t[s-4],t[s-2],t[s]);break;case 107:this.$=t[s-6],n.setLink(t[s-6],t[s-4],t[s]),n.setTooltip(t[s-6],t[s-2]);break;case 110:this.$=t[s-1],n.setLink(t[s-1],t[s]);break;case 111:this.$=t[s-3],n.setLink(t[s-3],t[s-2]),n.setTooltip(t[s-3],t[s]);break;case 112:this.$=t[s-3],n.setLink(t[s-3],t[s-2],t[s]);break;case 113:this.$=t[s-5],n.setLink(t[s-5],t[s-4],t[s]),n.setTooltip(t[s-5],t[s-2]);break;case 114:this.$=t[s-4],n.addVertex(t[s-2],void 0,void 0,t[s]);break;case 115:this.$=t[s-4],n.updateLink([t[s-2]],t[s]);break;case 116:this.$=t[s-4],n.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-8],n.updateLinkInterpolate([t[s-6]],t[s-2]),n.updateLink([t[s-6]],t[s]);break;case 118:this.$=t[s-8],n.updateLinkInterpolate(t[s-6],t[s-2]),n.updateLink(t[s-6],t[s]);break;case 119:this.$=t[s-6],n.updateLinkInterpolate([t[s-4]],t[s]);break;case 120:this.$=t[s-6],n.updateLinkInterpolate(t[s-4],t[s]);break;case 121:case 123:this.$=[t[s]];break;case 122:case 124:t[s-2].push(t[s]),this.$=t[s-2];break;case 126:this.$=t[s-1]+t[s];break;case 174:this.$=t[s];break;case 175:this.$=t[s-1]+""+t[s];break;case 177:this.$=t[s-1]+""+t[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,9:u,10:i,12:r},{1:[3]},e(c,l,{5:6}),{4:7,9:u,10:i,12:r},{4:8,9:u,10:i,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,54],9:[1,55],10:R1,15:53,18:56},e(k,[2,3]),e(k,[2,4]),e(k,[2,5]),e(k,[2,6]),e(k,[2,7]),e(k,[2,8]),{8:Q,9:Z,11:J,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:Q,9:Z,11:J,21:66},{8:Q,9:Z,11:J,21:67},{8:Q,9:Z,11:J,21:68},{8:Q,9:Z,11:J,21:69},{8:Q,9:Z,11:J,21:70},{8:Q,9:Z,10:[1,71],11:J,21:72},e(k,[2,36]),{35:[1,73]},{37:[1,74]},e(k,[2,39]),e(H1,[2,46],{18:75,10:R1}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:k1,42:b1,58:D1,77:[1,83],86:F1,92:[1,80],94:[1,81],98:82,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1,117:84},e(k,[2,178]),e(k,[2,179]),e(k,[2,180]),e(k,[2,181]),e(q1,[2,47]),e(q1,[2,49],{44:[1,96]}),e(w,[2,67],{110:109,29:[1,97],42:_,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:g,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:B,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),e(K,[2,174]),e(K,[2,135]),e(K,[2,136]),e(K,[2,137]),e(K,[2,138]),e(K,[2,139]),e(K,[2,140]),e(K,[2,141]),e(K,[2,142]),e(K,[2,143]),e(K,[2,144]),e(K,[2,145]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,110]},e(pt,[2,26],{18:111,10:R1}),e(k,[2,27]),{40:112,41:38,42:_,43:39,45:40,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(k,[2,40]),e(k,[2,41]),e(k,[2,42]),e(N1,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:At,116:dt},e([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),e(k,[2,28]),e(k,[2,29]),e(k,[2,30]),e(k,[2,31]),e(k,[2,32]),{10:Et,12:gt,14:kt,27:bt,28:122,32:Dt,42:Ft,58:Tt,73:Ct,77:[1,124],78:[1,125],80:135,81:St,82:_t,83:xt,84:Bt,85:mt,86:yt,87:vt,88:123,102:Vt,106:Lt,108:It,111:Rt,112:Nt,113:wt},e(it,l,{5:148}),e(k,[2,37]),e(k,[2,38]),e(H1,[2,45],{42:Ot}),{42:_,45:150,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{99:[1,151],100:152,102:[1,153]},{42:_,45:154,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{42:_,45:155,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(C,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},e(C,[2,108],{117:160,10:[1,159],14:k1,42:b1,58:D1,86:F1,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1}),e(C,[2,110],{10:[1,161]}),e(Y,[2,176]),e(Y,[2,163]),e(Y,[2,164]),e(Y,[2,165]),e(Y,[2,166]),e(Y,[2,167]),e(Y,[2,168]),e(Y,[2,169]),e(Y,[2,170]),e(Y,[2,171]),e(Y,[2,172]),e(Y,[2,173]),{42:_,45:162,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{30:163,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:171,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:173,48:[1,172],65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:174,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:175,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:176,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{106:[1,177]},{30:178,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:179,63:[1,180],65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:181,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:182,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{30:183,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(K,[2,175]),e(c,[2,20]),e(pt,[2,25]),e(H1,[2,43],{18:184,10:R1}),e(N1,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{75:[1,188],76:189,113:At,116:dt},e(y1,[2,73]),e(y1,[2,75]),e(y1,[2,76]),e(y1,[2,161]),e(y1,[2,162]),{8:Q,9:Z,10:Et,11:J,12:gt,14:kt,21:191,27:bt,29:[1,190],32:Dt,42:Ft,58:Tt,73:Ct,80:135,81:St,82:_t,83:xt,84:Bt,85:mt,86:yt,87:vt,88:192,102:Vt,106:Lt,108:It,111:Rt,112:Nt,113:wt},e(b,[2,94]),e(b,[2,96]),e(b,[2,97]),e(b,[2,150]),e(b,[2,151]),e(b,[2,152]),e(b,[2,153]),e(b,[2,154]),e(b,[2,155]),e(b,[2,156]),e(b,[2,157]),e(b,[2,158]),e(b,[2,159]),e(b,[2,160]),e(b,[2,83]),e(b,[2,84]),e(b,[2,85]),e(b,[2,86]),e(b,[2,87]),e(b,[2,88]),e(b,[2,89]),e(b,[2,90]),e(b,[2,91]),e(b,[2,92]),e(b,[2,93]),{6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,193],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},{10:R1,18:194},{10:[1,195],42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{10:[1,196]},{10:[1,197],103:[1,198]},e(Pt,[2,121]),{10:[1,199],42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{10:[1,200],42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:109,111:I,112:R,113:N},{77:[1,201]},e(C,[2,102],{10:[1,202]}),e(C,[2,104],{10:[1,203]}),{77:[1,204]},e(Y,[2,177]),{77:[1,205],95:[1,206]},e(q1,[2,50],{110:109,42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),{31:[1,207],65:p,79:208,113:A,114:d,115:E},e(f1,[2,79]),e(f1,[2,81]),e(f1,[2,82]),e(f1,[2,146]),e(f1,[2,147]),e(f1,[2,148]),e(f1,[2,149]),{47:[1,209],65:p,79:208,113:A,114:d,115:E},{30:210,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{49:[1,211],65:p,79:208,113:A,114:d,115:E},{51:[1,212],65:p,79:208,113:A,114:d,115:E},{53:[1,213],65:p,79:208,113:A,114:d,115:E},{55:[1,214],65:p,79:208,113:A,114:d,115:E},{58:[1,215]},{62:[1,216],65:p,79:208,113:A,114:d,115:E},{64:[1,217],65:p,79:208,113:A,114:d,115:E},{30:218,65:p,77:P,78:U,79:164,113:A,114:d,115:E},{31:[1,219],65:p,79:208,113:A,114:d,115:E},{65:p,67:[1,220],69:[1,221],79:208,113:A,114:d,115:E},{65:p,67:[1,223],69:[1,222],79:208,113:A,114:d,115:E},e(H1,[2,44],{42:Ot}),e(N1,[2,70]),e(N1,[2,69]),{60:[1,224],65:p,79:208,113:A,114:d,115:E},e(N1,[2,72]),e(y1,[2,74]),{30:225,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(it,l,{5:226}),e(b,[2,95]),e(k,[2,35]),{41:227,42:_,43:39,45:40,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},{10:$,58:t1,81:e1,89:228,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{10:$,58:t1,81:e1,89:239,101:[1,240],102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{10:$,58:t1,81:e1,89:241,101:[1,242],102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{102:[1,243]},{10:$,58:t1,81:e1,89:244,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{42:_,45:245,58:g,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N},e(C,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},e(C,[2,109]),e(C,[2,111],{10:[1,249]}),e(C,[2,112]),e(w,[2,51]),e(f1,[2,80]),e(w,[2,52]),{49:[1,250],65:p,79:208,113:A,114:d,115:E},e(w,[2,59]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),{106:[1,251]},e(w,[2,58]),e(w,[2,60]),{64:[1,252],65:p,79:208,113:A,114:d,115:E},e(w,[2,62]),e(w,[2,63]),e(w,[2,65]),e(w,[2,64]),e(w,[2,66]),e([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,254],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},e(q1,[2,48]),e(C,[2,114],{103:v1}),e(Ut,[2,123],{105:256,10:$,58:t1,81:e1,102:s1,106:u1,107:i1,108:n1,109:r1}),e(W,[2,125]),e(W,[2,127]),e(W,[2,128]),e(W,[2,129]),e(W,[2,130]),e(W,[2,131]),e(W,[2,132]),e(W,[2,133]),e(W,[2,134]),e(C,[2,115],{103:v1}),{10:[1,257]},e(C,[2,116],{103:v1}),{10:[1,258]},e(Pt,[2,122]),e(C,[2,98],{103:v1}),e(C,[2,99],{110:109,42:_,58:g,86:B,99:m,102:y,103:v,106:V,108:L,111:I,112:R,113:N}),e(C,[2,103]),e(C,[2,105],{10:[1,259]}),e(C,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:Q,9:Z,11:J,21:264},e(k,[2,34]),{10:$,58:t1,81:e1,102:s1,104:265,105:230,106:u1,107:i1,108:n1,109:r1},e(W,[2,126]),{14:k1,42:b1,58:D1,86:F1,98:266,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1,117:84},{14:k1,42:b1,58:D1,86:F1,98:267,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1,117:84},{95:[1,268]},e(C,[2,113]),e(w,[2,53]),{30:269,65:p,77:P,78:U,79:164,113:A,114:d,115:E},e(w,[2,61]),e(it,l,{5:270}),e(Ut,[2,124],{105:256,10:$,58:t1,81:e1,102:s1,106:u1,107:i1,108:n1,109:r1}),e(C,[2,119],{117:160,10:[1,271],14:k1,42:b1,58:D1,86:F1,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1}),e(C,[2,120],{117:160,10:[1,272],14:k1,42:b1,58:D1,86:F1,102:T1,103:C1,106:S1,108:_1,111:x1,112:B1,113:m1}),e(C,[2,107]),{31:[1,273],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:G,10:T,11:O,20:17,22:18,23:19,24:20,25:21,26:22,27:H,32:[1,274],33:24,34:l1,36:A1,38:d1,40:28,41:38,42:_,43:39,45:40,58:g,81:h1,82:U1,83:G1,84:M1,85:K1,86:B,99:m,102:y,103:v,106:V,108:L,110:41,111:I,112:R,113:N,118:Y1,119:j1,120:z1,121:X1},{10:$,58:t1,81:e1,89:275,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},{10:$,58:t1,81:e1,89:276,102:s1,104:229,105:230,106:u1,107:i1,108:n1,109:r1},e(w,[2,57]),e(k,[2,33]),e(C,[2,117],{103:v1}),e(C,[2,118],{103:v1})],defaultActions:{},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var f=new Error(a);throw f.hash=o,f}},parse:function(a){var o=this,f=[0],n=[],S=[null],t=[],w1=this.table,s="",j=0,Gt=0,Te=2,Mt=1,Ce=t.slice.call(arguments,1),x=Object.create(this.lexer),E1={yy:{}};for(var at in this.yy)Object.prototype.hasOwnProperty.call(this.yy,at)&&(E1.yy[at]=this.yy[at]);x.setInput(a,E1.yy),E1.yy.lexer=x,E1.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var ct=x.yylloc;t.push(ct);var Se=x.options&&x.options.ranges;typeof E1.yy.parseError=="function"?this.parseError=E1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(){var c1;return c1=n.pop()||x.lex()||Mt,typeof c1!="number"&&(c1 instanceof Array&&(n=c1,c1=n.pop()),c1=o.symbols_[c1]||c1),c1}for(var M,g1,z,ot,V1={},W1,a1,Kt,Q1;;){if(g1=f[f.length-1],this.defaultActions[g1]?z=this.defaultActions[g1]:((M===null||typeof M>"u")&&(M=_e()),z=w1[g1]&&w1[g1][M]),typeof z>"u"||!z.length||!z[0]){var lt="";Q1=[];for(W1 in w1[g1])this.terminals_[W1]&&W1>Te&&Q1.push("'"+this.terminals_[W1]+"'");x.showPosition?lt="Parse error on line "+(j+1)+`:
|
|
2
|
+
`+x.showPosition()+`
|
|
3
|
+
Expecting `+Q1.join(", ")+", got '"+(this.terminals_[M]||M)+"'":lt="Parse error on line "+(j+1)+": Unexpected "+(M==Mt?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(lt,{text:x.match,token:this.terminals_[M]||M,line:x.yylineno,loc:ct,expected:Q1})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g1+", token: "+M);switch(z[0]){case 1:f.push(M),S.push(x.yytext),t.push(x.yylloc),f.push(z[1]),M=null,Gt=x.yyleng,s=x.yytext,j=x.yylineno,ct=x.yylloc;break;case 2:if(a1=this.productions_[z[1]][1],V1.$=S[S.length-a1],V1._$={first_line:t[t.length-(a1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(a1||1)].first_column,last_column:t[t.length-1].last_column},Se&&(V1._$.range=[t[t.length-(a1||1)].range[0],t[t.length-1].range[1]]),ot=this.performAction.apply(V1,[s,Gt,j,E1.yy,z[1],S,t].concat(Ce)),typeof ot<"u")return ot;a1&&(f=f.slice(0,-1*a1*2),S=S.slice(0,-1*a1),t=t.slice(0,-1*a1)),f.push(this.productions_[z[1]][0]),S.push(V1.$),t.push(V1._$),Kt=w1[f[f.length-2]][f[f.length-1]],f.push(Kt);break;case 3:return!0}}return!0}},Fe=(function(){var p1={EOF:1,parseError:function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,f=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===n.length?this.yylloc.first_column:0)+n[n.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
5
|
+
`+o+"^"},test_match:function(a,o){var f,n,S;if(this.options.backtrack_lexer&&(S={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(S.yylloc.range=this.yylloc.range.slice(0))),n=a[0].match(/(?:\r\n?|\n).*/g),n&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],f=this.performAction.call(this,this.yy,this,o,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),f)return f;if(this._backtrack){for(var t in S)this[t]=S[t];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,o,f,n;this._more||(this.yytext="",this.match="");for(var S=this._currentRules(),t=0;t<S.length;t++)if(f=this._input.match(this.rules[S[t]]),f&&(!o||f[0].length>o[0].length)){if(o=f,n=t,this.options.backtrack_lexer){if(a=this.test_match(f,S[t]),a!==!1)return a;if(this._backtrack){o=!1;continue}else return!1}else if(!this.options.flex)break}return o?(a=this.test_match(o,S[n]),a!==!1?a:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var o=this.next();return o||this.lex()},begin:function(o){this.conditionStack.push(o)},popState:function(){var o=this.conditionStack.length-1;return o>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(o){return o=this.conditionStack.length-1-Math.abs(o||0),o>=0?this.conditionStack[o]:"INITIAL"},pushState:function(o){this.begin(o)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(o,f,n,S){switch(n){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 11:this.popState();break;case 12:return 93;case 13:return"MD_STR";case 14:this.popState();break;case 15:this.begin("md_string");break;case 16:return"STR";case 17:this.popState();break;case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 27:this.popState();break;case 28:return 85;case 29:return o.lex.firstGraph()&&this.begin("dir"),12;case 30:return o.lex.firstGraph()&&this.begin("dir"),12;case 31:return o.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:return 95;case 35:return 95;case 36:return 95;case 37:return 95;case 38:return this.popState(),13;case 39:return this.popState(),14;case 40:return this.popState(),14;case 41:return this.popState(),14;case 42:return this.popState(),14;case 43:return this.popState(),14;case 44:return this.popState(),14;case 45:return this.popState(),14;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:return 108;case 55:return 44;case 56:return 58;case 57:return 42;case 58:return 8;case 59:return 103;case 60:return 112;case 61:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:return 116;case 64:return this.popState(),75;case 65:return this.pushState("thickEdgeText"),73;case 66:return 116;case 67:return this.popState(),75;case 68:return this.pushState("dottedEdgeText"),73;case 69:return 116;case 70:return 75;case 71:return this.popState(),51;case 72:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 94:return 112;case 95:return 108;case 96:return 42;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 108:return"TEXT";case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};return p1})();nt.lexer=Fe;function rt(){this.yy={}}return rt.prototype=nt,nt.Parser=rt,new rt})();ht.parser=ht;const xe=ht,Be="flowchart-";let Yt=0,I1=F.getConfig(),D={},q=[],L1={},o1=[],J1={},$1={},Z1=0,ft=!0,X,tt,et=[];const st=e=>F.common$1.sanitizeText(e,I1),P1=function(e){const u=Object.keys(D);for(const i of u)if(D[i].id===e)return D[i].domId;return e},jt=function(e,u,i,r,c,l,h={}){let G,T=e;T!==void 0&&T.trim().length!==0&&(D[T]===void 0&&(D[T]={id:T,labelType:"text",domId:Be+T+"-"+Yt,styles:[],classes:[]}),Yt++,u!==void 0?(I1=F.getConfig(),G=st(u.text.trim()),D[T].labelType=u.type,G[0]==='"'&&G[G.length-1]==='"'&&(G=G.substring(1,G.length-1)),D[T].text=G):D[T].text===void 0&&(D[T].text=e),i!==void 0&&(D[T].type=i),r!=null&&r.forEach(function(O){D[T].styles.push(O)}),c!=null&&c.forEach(function(O){D[T].classes.push(O)}),l!==void 0&&(D[T].dir=l),D[T].props===void 0?D[T].props=h:h!==void 0&&Object.assign(D[T].props,h))},zt=function(e,u,i){const l={start:e,end:u,type:void 0,text:"",labelType:"text"};F.log$1.info("abc78 Got edge...",l);const h=i.text;if(h!==void 0&&(l.text=st(h.text.trim()),l.text[0]==='"'&&l.text[l.text.length-1]==='"'&&(l.text=l.text.substring(1,l.text.length-1)),l.labelType=h.type),i!==void 0&&(l.type=i.type,l.stroke=i.stroke,l.length=i.length),(l==null?void 0:l.length)>10&&(l.length=10),q.length<(I1.maxEdges??500))F.log$1.info("abc78 pushing edge..."),q.push(l);else throw new Error(`Edge limit exceeded. ${q.length} edges found, but the limit is ${I1.maxEdges}.
|
|
7
|
+
|
|
8
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
9
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
10
|
+
You have to call mermaid.initialize.`)},Xt=function(e,u,i){F.log$1.info("addLink (abc78)",e,u,i);let r,c;for(r=0;r<e.length;r++)for(c=0;c<u.length;c++)zt(e[r],u[c],i)},Ht=function(e,u){e.forEach(function(i){i==="default"?q.defaultInterpolate=u:q[i].interpolate=u})},qt=function(e,u){e.forEach(function(i){if(i>=q.length)throw new Error(`The index ${i} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${q.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);i==="default"?q.defaultStyle=u:(F.utils.isSubstringInArray("fill",u)===-1&&u.push("fill:none"),q[i].style=u)})},Wt=function(e,u){e.split(",").forEach(function(i){L1[i]===void 0&&(L1[i]={id:i,styles:[],textStyles:[]}),u!=null&&u.forEach(function(r){if(r.match("color")){const c=r.replace("fill","bgFill").replace("color","fill");L1[i].textStyles.push(c)}L1[i].styles.push(r)})})},Qt=function(e){X=e,X.match(/.*</)&&(X="RL"),X.match(/.*\^/)&&(X="BT"),X.match(/.*>/)&&(X="LR"),X.match(/.*v/)&&(X="TB"),X==="TD"&&(X="TB")},ut=function(e,u){e.split(",").forEach(function(i){let r=i;D[r]!==void 0&&D[r].classes.push(u),J1[r]!==void 0&&J1[r].classes.push(u)})},me=function(e,u){e.split(",").forEach(function(i){u!==void 0&&($1[tt==="gen-1"?P1(i):i]=st(u))})},ye=function(e,u,i){let r=P1(e);if(F.getConfig().securityLevel!=="loose"||u===void 0)return;let c=[];if(typeof i=="string"){c=i.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let l=0;l<c.length;l++){let h=c[l].trim();h.charAt(0)==='"'&&h.charAt(h.length-1)==='"'&&(h=h.substr(1,h.length-2)),c[l]=h}}c.length===0&&c.push(e),D[e]!==void 0&&(D[e].haveCallback=!0,et.push(function(){const l=document.querySelector(`[id="${r}"]`);l!==null&&l.addEventListener("click",function(){F.utils.runFunc(u,...c)},!1)}))},Zt=function(e,u,i){e.split(",").forEach(function(r){D[r]!==void 0&&(D[r].link=F.utils.formatUrl(u,I1),D[r].linkTarget=i)}),ut(e,"clickable")},Jt=function(e){if($1.hasOwnProperty(e))return $1[e]},$t=function(e,u,i){e.split(",").forEach(function(r){ye(r,u,i)}),ut(e,"clickable")},te=function(e){et.forEach(function(u){u(e)})},ee=function(){return X.trim()},se=function(){return D},ue=function(){return q},ie=function(){return L1},ne=function(e){let u=F.select(".mermaidTooltip");(u._groups||u)[0][0]===null&&(u=F.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),F.select(e).select("svg").selectAll("g.node").on("mouseover",function(){const c=F.select(this);if(c.attr("title")===null)return;const h=this.getBoundingClientRect();u.transition().duration(200).style("opacity",".9"),u.text(c.attr("title")).style("left",window.scrollX+h.left+(h.right-h.left)/2+"px").style("top",window.scrollY+h.bottom+"px"),u.html(u.html().replace(/<br\/>/g,"<br/>")),c.classed("hover",!0)}).on("mouseout",function(){u.transition().duration(500).style("opacity",0),F.select(this).classed("hover",!1)})};et.push(ne);const re=function(e="gen-1"){D={},L1={},q=[],et=[ne],o1=[],J1={},Z1=0,$1={},ft=!0,tt=e,I1=F.getConfig(),F.clear()},ae=e=>{tt=e||"gen-2"},ce=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},oe=function(e,u,i){let r=e.text.trim(),c=i.text;e===i&&i.text.match(/\s/)&&(r=void 0);function l(H){const l1={boolean:{},number:{},string:{}},A1=[];let d1;return{nodeList:H.filter(function(g){const h1=typeof g;return g.stmt&&g.stmt==="dir"?(d1=g.value,!1):g.trim()===""?!1:h1 in l1?l1[h1].hasOwnProperty(g)?!1:l1[h1][g]=!0:A1.includes(g)?!1:A1.push(g)}),dir:d1}}let h=[];const{nodeList:G,dir:T}=l(h.concat.apply(h,u));if(h=G,tt==="gen-1")for(let H=0;H<h.length;H++)h[H]=P1(h[H]);r=r||"subGraph"+Z1,c=c||"",c=st(c),Z1=Z1+1;const O={id:r,nodes:h,title:c.trim(),classes:[],dir:T,labelType:i.type};return F.log$1.info("Adding",O.id,O.nodes,O.dir),O.nodes=ke(O,o1).nodes,o1.push(O),J1[r]=O,r},ve=function(e){for(const[u,i]of o1.entries())if(i.id===e)return u;return-1};let O1=-1;const le=[],he=function(e,u){const i=o1[u].nodes;if(O1=O1+1,O1>2e3)return;if(le[O1]=u,o1[u].id===e)return{result:!0,count:0};let r=0,c=1;for(;r<i.length;){const l=ve(i[r]);if(l>=0){const h=he(e,l);if(h.result)return{result:!0,count:c+h.count};c=c+h.count}r=r+1}return{result:!1,count:c}},fe=function(e){return le[e]},pe=function(){O1=-1,o1.length>0&&he("none",o1.length-1)},Ae=function(){return o1},de=()=>ft?(ft=!1,!0):!1,Ve=e=>{let u=e.trim(),i="arrow_open";switch(u[0]){case"<":i="arrow_point",u=u.slice(1);break;case"x":i="arrow_cross",u=u.slice(1);break;case"o":i="arrow_circle",u=u.slice(1);break}let r="normal";return u.includes("=")&&(r="thick"),u.includes(".")&&(r="dotted"),{type:i,stroke:r}},Le=(e,u)=>{const i=u.length;let r=0;for(let c=0;c<i;++c)u[c]===e&&++r;return r},Ie=e=>{const u=e.trim();let i=u.slice(0,-1),r="arrow_open";switch(u.slice(-1)){case"x":r="arrow_cross",u[0]==="x"&&(r="double_"+r,i=i.slice(1));break;case">":r="arrow_point",u[0]==="<"&&(r="double_"+r,i=i.slice(1));break;case"o":r="arrow_circle",u[0]==="o"&&(r="double_"+r,i=i.slice(1));break}let c="normal",l=i.length-1;i[0]==="="&&(c="thick"),i[0]==="~"&&(c="invisible");let h=Le(".",i);return h&&(c="dotted",l=h),{type:r,stroke:c,length:l}},Ee=(e,u)=>{const i=Ie(e);let r;if(u){if(r=Ve(u),r.stroke!==i.stroke)return{type:"INVALID",stroke:"INVALID"};if(r.type==="arrow_open")r.type=i.type;else{if(r.type!==i.type)return{type:"INVALID",stroke:"INVALID"};r.type="double_"+r.type}return r.type==="double_arrow"&&(r.type="double_arrow_point"),r.length=i.length,r}return i},ge=(e,u)=>{let i=!1;return e.forEach(r=>{r.nodes.indexOf(u)>=0&&(i=!0)}),i},ke=(e,u)=>{const i=[];return e.nodes.forEach((r,c)=>{ge(u,r)||i.push(e.nodes[c])}),{nodes:i}},be={firstGraph:de},De={defaultConfig:()=>F.defaultConfig.flowchart,setAccTitle:F.setAccTitle,getAccTitle:F.getAccTitle,getAccDescription:F.getAccDescription,setAccDescription:F.setAccDescription,addVertex:jt,lookUpDomId:P1,addLink:Xt,updateLinkInterpolate:Ht,updateLink:qt,addClass:Wt,setDirection:Qt,setClass:ut,setTooltip:me,getTooltip:Jt,setClickEvent:$t,setLink:Zt,bindFunctions:te,getDirection:ee,getVertices:se,getEdges:ue,getClasses:ie,clear:re,setGen:ae,defaultStyle:ce,addSubGraph:oe,getDepthFirstPos:fe,indexNodes:pe,getSubGraphs:Ae,destructLink:Ee,lex:be,exists:ge,makeUniq:ke,setDiagramTitle:F.setDiagramTitle,getDiagramTitle:F.getDiagramTitle},Re=Object.freeze(Object.defineProperty({__proto__:null,addClass:Wt,addLink:Xt,addSingleLink:zt,addSubGraph:oe,addVertex:jt,bindFunctions:te,clear:re,default:De,defaultStyle:ce,destructLink:Ee,firstGraph:de,getClasses:ie,getDepthFirstPos:fe,getDirection:ee,getEdges:ue,getSubGraphs:Ae,getTooltip:Jt,getVertices:se,indexNodes:pe,lex:be,lookUpDomId:P1,setClass:ut,setClickEvent:$t,setDirection:Qt,setGen:ae,setLink:Zt,updateLink:qt,updateLinkInterpolate:Ht},Symbol.toStringTag,{value:"Module"}));exports.db=Re;exports.flowDb=De;exports.parser$1=xe;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import "./layers.DqSkTf9R.js";
|
|
2
|
+
var e = { paste: "Colar", pasteAsPlaintext: "Colar como texto simples", pasteCharts: "Colar gráficos", selectAll: "Selecionar tudo", multiSelect: "Adicionar elemento à seleção", moveCanvas: "Mover tela", cut: "Cortar", copy: "Copiar", copyAsPng: "Copiar para a área de transferência como PNG", copyAsSvg: "Copiar para a área de transferência como SVG", copyText: "Copiar para Área de Transferência como texto", copySource: "", convertToCode: "", bringForward: "Trazer para o primeiro plano", sendToBack: "Enviar para o plano de fundo", bringToFront: "Trazer para o primeiro plano", sendBackward: "Enviar para trás", delete: "Apagar", copyStyles: "Copiar os estilos", pasteStyles: "Colar os estilos", stroke: "Contornos", background: "Fundo", fill: "Preenchimento", strokeWidth: "Espessura do traço", strokeStyle: "Estilo de traço", strokeStyle_solid: "Sólido", strokeStyle_dashed: "Tracejado", strokeStyle_dotted: "Pontilhado", sloppiness: "Desleixo", opacity: "Opacidade", textAlign: "Alinhamento do texto", edges: "Arestas", sharp: "Aguçado", round: "Redondo", arrowheads: "Pontas", arrowhead_none: "Nenhuma", arrowhead_arrow: "Seta", arrowhead_bar: "Barra", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Triângulo", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Tamanho da fonte", fontFamily: "Família da fontes", addWatermark: 'Adicionar "Feito com Excalidraw"', handDrawn: "Manuscrito", normal: "Normal", code: "Código", small: "Pequeno", medium: "Médio", large: "Grande", veryLarge: "Muito grande", solid: "Sólido", hachure: "Eclosão", zigzag: "ziguezague", crossHatch: "Sombreado", thin: "Fino", bold: "Espesso", left: "Esquerda", center: "Centralizar", right: "Direita", extraBold: "Muito espesso", architect: "Arquitecto", artist: "Artista", cartoonist: "Caricaturista", fileTitle: "Nome do ficheiro", colorPicker: "Seletor de cores", canvasColors: "Usado na tela", canvasBackground: "Fundo da área de desenho", drawingCanvas: "Área de desenho", layers: "Camadas", actions: "Ações", language: "Idioma", liveCollaboration: "Colaboração ao vivo...", duplicateSelection: "Duplicar", untitled: "Sem título", name: "Nome", yourName: "O seu nome", madeWithExcalidraw: "Feito com Excalidraw", group: "Agrupar seleção", ungroup: "Desagrupar seleção", collaborators: "Colaboradores", showGrid: "Mostrar grelha", addToLibrary: "Adicionar à biblioteca", removeFromLibrary: "Remover da biblioteca", libraryLoadingMessage: "A carregar a biblioteca…", libraries: "Procurar bibliotecas", loadingScene: "A carregar a cena…", align: "Alinhamento", alignTop: "Alinhar ao topo", alignBottom: "Alinhar ao fundo", alignLeft: "Alinhar à esquerda", alignRight: "Alinhar à direita", centerVertically: "Centrar verticalmente", centerHorizontally: "Centrar horizontalmente", distributeHorizontally: "Distribuir horizontalmente", distributeVertically: "Distribuir verticalmente", flipHorizontal: "Inverter horizontalmente", flipVertical: "Inverter verticalmente", viewMode: "Modo de visualização", share: "Partilhar", showStroke: "Mostrar seletor de cores do traço", showBackground: "Mostrar seletor de cores do fundo", toggleTheme: "Alternar tema", personalLib: "Biblioteca pessoal", excalidrawLib: "Biblioteca do Excalidraw", decreaseFontSize: "Reduzir o tamanho do tipo de letra", increaseFontSize: "Aumentar o tamanho do tipo de letra", unbindText: "Desvincular texto", bindText: "Ligar texto ao recipiente", createContainerFromText: "Envolver texto num recipiente", link: { edit: "Editar ligação", editEmbed: "", create: "Criar ligação", createEmbed: "", label: "Ligação", labelEmbed: "", empty: "" }, lineEditor: { edit: "Editar linha", exit: "Sair do editor de linha" }, elementLock: { lock: "Bloquear", unlock: "Desbloquear", lockAll: "Bloquear todos", unlockAll: "Desbloquear todos" }, statusPublished: "Publicado", sidebarLock: "Manter a barra lateral aberta", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, a = { noItems: "Ainda não foram adicionados nenhuns itens...", hint_emptyLibrary: "Seleccione um item na tela para adicioná-lo aqui, ou então instale uma biblioteca do repositório público abaixo.", hint_emptyPrivateLibrary: "Seleccione um item na tela para adicioná-lo aqui." }, o = { clearReset: "Limpar a área de desenho e redefinir a cor de fundo", exportJSON: "Exportar para ficheiro", exportImage: "Exportar imagem...", export: "Guardar para...", copyToClipboard: "Copiar para o clipboard", save: "Guardar no ficheiro atual", saveAs: "Guardar como", load: "Abrir", getShareableLink: "Obter um link de partilha", close: "Fechar", selectLanguage: "Selecionar idioma", scrollBackToContent: "Voltar ao conteúdo", zoomIn: "Aumentar zoom", zoomOut: "Diminuir zoom", resetZoom: "Redefinir zoom", menu: "Menu", done: "Concluído", edit: "Editar", undo: "Desfazer", redo: "Refazer", resetLibrary: "Repor a biblioteca", createNewRoom: "Criar nova sala", fullScreen: "Ecrã inteiro", darkMode: "Modo escuro", lightMode: "Modo claro", zenMode: "Modo zen", objectsSnapMode: "", exitZenMode: "Sair do modo zen", cancel: "Cancelar", clear: "Limpar", remove: "Remover", embed: "", publishLibrary: "Publicar", submit: "Enviar", confirm: "Confirmar", embeddableInteractionButton: "" }, r = { clearReset: "Isto irá limpar toda a área de desenho. Tem a certeza?", couldNotCreateShareableLink: "Não foi possível criar um link partilhável.", couldNotCreateShareableLinkTooBig: "Não foi possível criar um link partilhável: a cena é muito grande", couldNotLoadInvalidFile: "Não foi possível carregar o ficheiro inválido", importBackendFailed: "A importação do servidor falhou.", cannotExportEmptyCanvas: "Não é possível exportar uma área de desenho vazia.", couldNotCopyToClipboard: "Não foi possível copiar para a área de transferência.", decryptFailed: "Não foi possível desencriptar os dados.", uploadedSecurly: "O upload foi protegido com criptografia de ponta a ponta, o que significa que o servidor do Excalidraw e terceiros não podem ler o conteúdo.", loadSceneOverridePrompt: "Se carregar um desenho externo substituirá o conteúdo existente. Quer continuar?", collabStopOverridePrompt: `Ao interromper a sessão irá substituir o último desenho guardado. Tem a certeza?
|
|
3
|
+
|
|
4
|
+
(Caso queira manter o último desenho, simplesmente feche a janela do navegador.)`, errorAddingToLibrary: "Não foi possível adicionar o item à biblioteca", errorRemovingFromLibrary: "Não foi possível remover o item da biblioteca", confirmAddLibrary: "Isso adicionará {{numShapes}} forma(s) à sua biblioteca. Tem a certeza?", imageDoesNotContainScene: "Esta imagem parece não conter dados de cenas. Ativou a incorporação da cena durante a exportação?", cannotRestoreFromImage: "Não foi possível restaurar a cena deste ficheiro de imagem", invalidSceneUrl: "Não foi possível importar a cena a partir do URL fornecido. Ou está mal formado ou não contém dados JSON do Excalidraw válidos.", resetLibrary: "Isto irá limpar a sua biblioteca. Tem a certeza?", removeItemsFromsLibrary: "Apagar {{count}} item(ns) da biblioteca?", invalidEncryptionKey: "Chave de encriptação deve ter 22 caracteres. A colaboração ao vivo está desativada.", collabOfflineWarning: `Sem ligação à internet disponível.
|
|
5
|
+
As suas alterações não serão salvas!` }, i = { unsupportedFileType: "Tipo de ficheiro não suportado.", imageInsertError: "Não foi possível inserir a imagem, tente novamente mais tarde...", fileTooBig: "O ficheiro é muito grande. O tamanho máximo permitido é {{maxSize}}.", svgImageInsertError: "Não foi possível inserir a imagem SVG. A marcação SVG parece inválida.", failedToFetchImage: "", invalidSVGString: "SVG inválido.", cannotResolveCollabServer: "Não foi possível fazer a ligação ao servidor colaborativo. Por favor, volte a carregar a página e tente novamente.", importLibraryError: "Não foi possível carregar a biblioteca", collabSaveFailed: "Não foi possível guardar na base de dados de backend. Se os problemas persistirem, guarde o ficheiro localmente para garantir que não perde o seu trabalho.", collabSaveFailed_sizeExceeded: "Não foi possível guardar na base de dados de backend, o ecrã parece estar muito grande. Deve guardar o ficheiro localmente para garantir que não perde o seu trabalho.", imageToolNotSupported: "", brave_measure_text_error: { line1: "", line2: "", line3: "", line4: "" }, libraryElementTypeError: { embeddable: "", iframe: "", image: "" }, asyncPasteFailedOnRead: "", asyncPasteFailedOnParse: "", copyToSystemClipboardFailed: "" }, t = { selection: "Seleção", image: "Inserir imagem", rectangle: "Retângulo", diamond: "Losango", ellipse: "Elipse", arrow: "Flecha", line: "Linha", freedraw: "Desenhar", text: "Texto", library: "Biblioteca", lock: "Manter a ferramenta selecionada ativa após desenhar", penMode: "Modo caneta - impedir toque", link: "Acrescentar/ Adicionar ligação para uma forma seleccionada", eraser: "Borracha", frame: "", magicframe: "", embeddable: "", laser: "", hand: "Mão (ferramenta de movimento da tela)", extraTools: "", mermaidToExcalidraw: "", magicSettings: "" }, n = { canvasActions: "Ações da área de desenho", selectedShapeActions: "Ações das formas selecionadas", shapes: "Formas" }, s = { canvasPanning: "Para mover a tela, carregue na roda do rato ou na barra de espaço enquanto arrasta, ou use a ferramenta da mão", linearElement: "Clique para iniciar vários pontos, arraste para uma única linha", freeDraw: "Clique e arraste, large quando terminar", text: "Dica: também pode adicionar texto clicando duas vezes em qualquer lugar com a ferramenta de seleção", embeddable: "", text_selected: "Clique duas vezes ou pressione a tecla Enter para editar o texto", text_editing: "Pressione a tecla Escape ou CtrlOrCmd+ENTER para terminar a edição", linearElementMulti: "Clique no último ponto ou pressione Escape ou Enter para terminar", lockAngle: "Pode restringir o ângulo mantendo premida a tecla SHIFT", resize: `Pode restringir as proporções mantendo a tecla SHIFT premida enquanto redimensiona,
|
|
6
|
+
mantenha a tecla ALT premida para redimensionar a partir do centro`, resizeImage: `Pode redimensionar livremente mantendo pressionada a tecla SHIFT,
|
|
7
|
+
mantenha pressionada a tecla ALT para redimensionar do centro`, rotate: "Pode restringir os ângulos mantendo a tecla SHIFT premida enquanto roda", lineEditor_info: "Pressione CtrlOrCmd e faça um duplo-clique ou pressione CtrlOrCmd + Enter para editar pontos", lineEditor_pointSelected: "Carregue na tecla Delete para remover o(s) ponto(s), CtrlOuCmd+D para duplicar, ou arraste para mover", lineEditor_nothingSelected: `Seleccione um ponto para editar (carregue em SHIFT para seleccionar vários),
|
|
8
|
+
ou carregue em Alt e clique para acrescentar novos pontos`, placeImage: "Clique para colocar a imagem ou clique e arraste para definir o seu tamanho manualmente", publishLibrary: "Publique a sua própria biblioteca", bindTextToElement: "Carregue Enter para acrescentar texto", deepBoxSelect: "Mantenha a tecla CtrlOrCmd carregada para selecção profunda, impedindo o arrastamento", eraserRevert: "Carregue também em Alt para reverter os elementos marcados para serem apagados", firefox_clipboard_write: 'Esta função pode provavelmente ser ativada definindo a opção "dom.events.asyncClipboard.clipboardItem" como "true". Para alterar os sinalizadores do navegador no Firefox, visite a página "about:config".', disableSnapping: "" }, l = { cannotShowPreview: "Não é possível mostrar uma pré-visualização", canvasTooBig: "A área de desenho pode ser muito grande.", canvasTooBigTip: "Dica: tente aproximar um pouco os elementos mais distantes." }, d = { headingMain: "Foi encontrado um erro. Tente <button>recarregar a página.</button>", clearCanvasMessage: "Se a recarga não funcionar, tente <button>a limpar a área de desenho.</button>", clearCanvasCaveat: " Isso resultará em perda de trabalho ", trackedToSentry: "O erro com o identificador {{eventId}} foi rastreado no nosso sistema.", openIssueMessage: "Fomos muito cautelosos para não incluir suas informações de cena no erro. Se sua cena não for privada, por favor, considere seguir nosso <button>rastreador de bugs.</button> Por favor, inclua informações abaixo, copiando e colando no relatório de erros no GitHub.", sceneContent: "Conteúdo da cena:" }, c = { desc_intro: "Pode convidar pessoas para colaborarem na sua cena atual.", desc_privacy: "Não se preocupe, a sessão usa criptografia de ponta-a-ponta, por isso o que desenhar permanecerá privado. Nem mesmo o nosso servidor poderá ver o que cria.", button_startSession: "Iniciar sessão", button_stopSession: "Parar sessão", desc_inProgressIntro: "A sessão de colaboração ao vivo está agora em andamento.", desc_shareLink: "Partilhe este link com qualquer pessoa com quem queira colaborar:", desc_exitSession: "Interrompendo a sessão irá desconectar-se da sala, mas poderá continuar a trabalhar com a cena localmente. Note que isso não afetará outras pessoas e elas ainda poderão colaborar nas versões deles.", shareTitle: "Participe numa sessão de colaboração ao vivo no Excalidraw" }, m = { title: "Erro" }, p = { disk_title: "Guardar no disco", disk_details: "Exportar os dados da cena para um ficheiro do qual poderá importar mais tarde.", disk_button: "Guardar num ficheiro", link_title: "Link partilhável", link_details: "Exportar como um link de apenas leitura.", link_button: "Exportar para link", excalidrawplus_description: "Guardar a cena no seu espaço de trabalho Excalidraw+", excalidrawplus_button: "Exportar", excalidrawplus_exportError: "Não foi possível exportar para o Excalidraw+ neste momento..." }, x = { blog: "Leia o nosso blogue", click: "clicar", deepSelect: "Selecção profunda", deepBoxSelect: "Selecção profunda dentro da caixa, impedindo que seja arrastada", curvedArrow: "Seta curva", curvedLine: "Linha curva", documentation: "Documentação", doubleClick: "clique duplo", drag: "arrastar", editor: "Editor", editLineArrowPoints: "Editar pontos de linha/seta", editText: "Editar texto / adicionar etiqueta", github: "Encontrou algum problema? Informe-nos", howto: "Siga os nossos guias", or: "ou", preventBinding: "Prevenir fixação de seta", tools: "Ferramentas", shortcuts: "Atalhos de teclado", textFinish: "Finalizar edição (editor texto)", textNewLine: "Adicionar nova linha (editor de texto)", title: "Ajuda", view: "Visualizar", zoomToFit: "Ajustar para todos os elementos caberem", zoomToSelection: "Ampliar a seleção", toggleElementLock: "Trancar/destrancar selecção", movePageUpDown: "Mover página para cima / baixo", movePageLeftRight: "Mover página para esquerda / direita" }, u = { title: "Apagar tela" }, E = { title: "Publicar biblioteca", itemName: "Nome do item", authorName: "Nome do autor", githubUsername: "Nome de utilizador do GitHub", twitterUsername: "Nome de utilizador no Twitter", libraryName: "Nome da biblioteca", libraryDesc: "Descrição da biblioteca", website: "Página web", placeholder: { authorName: "Introduza o seu nome ou nome de utilizador", libraryName: "Nome da sua biblioteca", libraryDesc: "Descrição da sua biblioteca para ajudar as pessoas a entender a utilização dela", githubHandle: "Identificador do GitHub (opcional), para que possa editar a biblioteca depois desta ser enviada para revisão", twitterHandle: "Nome do Twitter (opcional), para que saibamos quem merece os créditos na promoção via Twitter", website: "Ligação para a sua página pessoal ou qualquer outra (opcional)" }, errors: { required: "Obrigatório", website: "Introduza um URL válido" }, noteDescription: "Envie a sua biblioteca para ser incluída no <link>repositório de bibliotecas públicas</link>para outras pessoas a poderem usar nos seus próprios desenhos.", noteGuidelines: "A biblioteca precisa ser aprovada manualmente primeiro. Por favor, leia <link>orientações</link> antes de enviar. Vai precisar de uma conta no GitHub para comunicar e fazer alterações se solicitado, mas não é estritamente necessária.", noteLicense: "Ao enviar, concorda que a biblioteca será publicada sob a <link>Licença MIT, </link>o que significa, de forma resumida, que qualquer pessoa pode utilizá-la sem restrições.", noteItems: "Cada item da biblioteca deve ter o seu próprio nome para que este seja pesquisável com filtros. Os seguintes itens da biblioteca serão incluídos:", atleastOneLibItem: "Por favor, seleccione pelo menos um item da biblioteca para começar", republishWarning: "Nota: alguns dos itens seleccionados estão marcados como já publicados/enviados. Só deve reenviar itens ao actualizar uma biblioteca existente ou submissão." }, b = { title: "Biblioteca enviada", content: "Obrigado {{authorName}}. A sua biblioteca foi enviada para análise. Pode acompanhar o status<link>aqui</link>" }, g = { resetLibrary: "Repor a biblioteca", removeItemsFromLib: "Remover os itens seleccionados da biblioteca" }, v = { header: "Exportar imagem", label: { withBackground: "", onlySelected: "", darkMode: "", embedScene: "Cena embutida", scale: "", padding: "Espaçamento" }, tooltip: { embedScene: "" }, title: { exportToPng: "Exportar em PNG", exportToSvg: "Exportar em SVG", copyPngToClipboard: "" }, button: { exportToPng: "PNG", exportToSvg: "SVG", copyPngToClipboard: "" } }, h = { tooltip: "Os seus desenhos são encriptados de ponta-a-ponta, por isso os servidores do Excalidraw nunca os verão.", link: "Publicação de blogue na encriptação ponta-a-ponta no Excalidraw" }, f = { angle: "Ângulo", element: "Elemento", elements: "Elementos", height: "Altura", scene: "Cena", selected: "Selecionado", storage: "Armazenamento", title: "Estatísticas para nerds", total: "Total", version: "Versão", versionCopy: "Clique para copiar", versionNotAvailable: "Versão não disponível", width: "Largura" }, S = { addedToLibrary: "Acrescentado à biblioteca", copyStyles: "Estilos copiados.", copyToClipboard: "Copiado para a área de transferência.", copyToClipboardAsPng: `{{exportSelection}} copiado para a área de transferência como PNG
|
|
9
|
+
({{exportColorScheme}})`, fileSaved: "Ficheiro guardado.", fileSavedToFilename: "Guardado como {filename}", canvas: "área de desenho", selection: "seleção", pasteAsSingleElement: `Usar {{shortcut}} para colar como um único elemento,
|
|
10
|
+
ou colar num editor de texto existente`, unableToEmbed: "", unrecognizedLinkFormat: "" }, A = { transparent: "Transparente", black: "Preto", white: "Branco", red: "Vermelho", pink: "Rosa", grape: "Uva", violet: "Violeta", gray: "Cinza", blue: "Azul", cyan: "", teal: "", green: "Verde", yellow: "Amarelo", orange: "Laranja", bronze: "Bronze" }, C = { app: { center_heading: "Todos os dados são guardados no seu navegador local.", center_heading_plus: "Queria antes ir para o Excalidraw+?", menuHint: "Exportar, preferências, idiomas..." }, defaults: { menuHint: "Exportar, preferências e outros...", center_heading: "Diagramas. Feito. Simples.", toolbarHint: "Escolha uma ferramenta e comece a desenhar!", helpHint: "Atalhos e ajuda" } }, F = { mostUsedCustomColors: "", colors: "Cores", shades: "Tons", hexCode: "", noShades: "" }, y = { action: { exportToImage: { title: "", button: "", description: "" }, saveToDisk: { title: "Guardar no disco", button: "Guardar no disco", description: "" }, excalidrawPlus: { title: "", button: "", description: "" } }, modal: { loadFromFile: { title: "Carregar a partir de ficheiro", button: "Carregar a partir de ficheiro", description: "" }, shareableLink: { title: "", button: "", description: "" } } }, T = { title: "", button: "", description: "", syntax: "", preview: "" }, k = { labels: e, library: a, buttons: o, alerts: r, errors: i, toolBar: t, headings: n, hints: s, canvasError: l, errorSplash: d, roomDialog: c, errorDialog: m, exportDialog: p, helpDialog: x, clearCanvasDialog: u, publishDialog: E, publishSuccessDialog: b, confirmDialog: g, imageExportDialog: v, encrypted: h, stats: f, toast: S, colors: A, welcomeScreen: C, colorPicker: F, overwriteConfirm: y, mermaid: T };
|
|
11
|
+
export {
|
|
12
|
+
r as alerts,
|
|
13
|
+
o as buttons,
|
|
14
|
+
l as canvasError,
|
|
15
|
+
u as clearCanvasDialog,
|
|
16
|
+
F as colorPicker,
|
|
17
|
+
A as colors,
|
|
18
|
+
g as confirmDialog,
|
|
19
|
+
k as default,
|
|
20
|
+
h as encrypted,
|
|
21
|
+
m as errorDialog,
|
|
22
|
+
d as errorSplash,
|
|
23
|
+
i as errors,
|
|
24
|
+
p as exportDialog,
|
|
25
|
+
n as headings,
|
|
26
|
+
x as helpDialog,
|
|
27
|
+
s as hints,
|
|
28
|
+
v as imageExportDialog,
|
|
29
|
+
e as labels,
|
|
30
|
+
a as library,
|
|
31
|
+
T as mermaid,
|
|
32
|
+
y as overwriteConfirm,
|
|
33
|
+
E as publishDialog,
|
|
34
|
+
b as publishSuccessDialog,
|
|
35
|
+
c as roomDialog,
|
|
36
|
+
f as stats,
|
|
37
|
+
S as toast,
|
|
38
|
+
t as toolBar,
|
|
39
|
+
C as welcomeScreen
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const n=require("./layers.t46sYkQh.js"),s=(e,r)=>n.Utils.lang.round(n.Color.parse(e)[r]);exports.channel=s;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const p=require("./layers.t46sYkQh.js"),cn=require("./layers.CHZsXQcr.js");function F(n,t){return n==null||t==null?NaN:n<t?-1:n>t?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:t<n?-1:t>n?1:t>=n?0:NaN}function C(n){let t,e,r;n.length!==2?(t=F,e=(a,c)=>F(n(a),c),r=(a,c)=>n(a)-c):(t=n===F||n===hn?n:ln,e=n,r=n);function i(a,c,o=0,s=a.length){if(o<s){if(t(c,c)!==0)return s;do{const h=o+s>>>1;e(a[h],c)<0?o=h+1:s=h}while(o<s)}return o}function f(a,c,o=0,s=a.length){if(o<s){if(t(c,c)!==0)return s;do{const h=o+s>>>1;e(a[h],c)<=0?o=h+1:s=h}while(o<s)}return o}function u(a,c,o=0,s=a.length){const h=i(a,c,o,s-1);return h>o&&r(a[h-1],c)>-r(a[h],c)?h-1:h}return{left:i,center:u,right:f}}function ln(){return 0}function mn(n){return n===null?NaN:+n}const sn=C(F),dn=sn.right;C(mn).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function E(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),u=f>=gn?10:f>=yn?5:f>=Mn?2:1;let a,c,o;return i<0?(o=Math.pow(10,-i)/u,a=Math.round(n*o),c=Math.round(t*o),a/o<n&&++a,c/o>t&&--c,o=-o):(o=Math.pow(10,i)*u,a=Math.round(n/o),c=Math.round(t/o),a*o<n&&++a,c*o>t&&--c),c<a&&.5<=e&&e<2?E(n,t,e*2):[a,c,o]}function pn(n,t,e){if(t=+t,n=+n,e=+e,!(e>0))return[];if(n===t)return[n];const r=t<n,[i,f,u]=r?E(t,n,e):E(n,t,e);if(!(f>=i))return[];const a=f-i+1,c=new Array(a);if(r)if(u<0)for(let o=0;o<a;++o)c[o]=(f-o)/-u;else for(let o=0;o<a;++o)c[o]=(f-o)*u;else if(u<0)for(let o=0;o<a;++o)c[o]=(i+o)/-u;else for(let o=0;o<a;++o)c[o]=(i+o)*u;return c}function I(n,t,e){return t=+t,n=+n,e=+e,E(n,t,e)[2]}function W(n,t,e){t=+t,n=+n,e=+e;const r=t<n,i=r?I(t,n,e):I(n,t,e);return(r?-1:1)*(i<0?1/-i:i)}function wn(n,t){t||(t=[]);var e=n?Math.min(t.length,n.length):0,r=t.slice(),i;return function(f){for(i=0;i<e;++i)r[i]=n[i]*(1-f)+t[i]*f;return r}}function Nn(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function kn(n,t){var e=t?t.length:0,r=n?Math.min(e,n.length):0,i=new Array(r),f=new Array(e),u;for(u=0;u<r;++u)i[u]=B(n[u],t[u]);for(;u<e;++u)f[u]=t[u];return function(a){for(u=0;u<r;++u)f[u]=i[u](a);return f}}function xn(n,t){var e=new Date;return n=+n,t=+t,function(r){return e.setTime(n*(1-r)+t*r),e}}function An(n,t){var e={},r={},i;(n===null||typeof n!="object")&&(n={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in n?e[i]=B(n[i],t[i]):r[i]=t[i];return function(f){for(i in e)r[i]=e[i](f);return r}}function B(n,t){var e=typeof t,r;return t==null||e==="boolean"?p.constant(t):(e==="number"?p.interpolateNumber:e==="string"?(r=p.color(t))?(t=r,p.interpolateRgb):p.interpolateString:t instanceof p.color?p.interpolateRgb:t instanceof Date?xn:Nn(t)?wn:Array.isArray(t)?kn:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?An:p.interpolateNumber)(n,t)}function vn(n,t){return n=+n,t=+t,function(e){return Math.round(n*(1-e)+t*e)}}function Sn(n){return Math.abs(n=Math.round(n))>=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function q(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function S(n){return n=q(Math.abs(n)),n?n[1]:NaN}function bn(n,t){return function(e,r){for(var i=e.length,f=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),f.push(e.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return f.reverse().join(t)}}function jn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var Pn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=Pn.exec(n)))throw new Error("invalid format: "+n);var t;return new G({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=G.prototype;function G(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}G.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function zn(n){n:for(var t=n.length,e=1,r=-1,i;e<t;++e)switch(n[e]){case".":r=i=e;break;case"0":r===0&&(r=e),i=e;break;default:if(!+n[e])break n;r>0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var _;function Rn(n,t){var e=q(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(_=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,u=r.length;return f===u?r:f>u?r+new Array(f-u+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+q(n,Math.max(0,t+f-1))[0]}function Y(n,t){var e=q(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Z={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:Sn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Y(n*100,t),r:Y,s:Rn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function H(n){return n}var J=Array.prototype.map,K=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function $n(n){var t=n.grouping===void 0||n.thousands===void 0?H:bn(J.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?H:jn(J.call(n.numerals,String)),u=n.percent===void 0?"%":n.percent+"",a=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var m=h.fill,w=h.align,y=h.sign,b=h.symbol,x=h.zero,j=h.width,T=h.comma,N=h.precision,O=h.trim,d=h.type;d==="n"?(T=!0,d="g"):Z[d]||(N===void 0&&(N=12),O=!0,d="g"),(x||m==="0"&&w==="=")&&(x=!0,m="0",w="=");var un=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",an=b==="$"?r:/[%p]/.test(d)?u:"",V=Z[d],fn=/[defgprs%]/.test(d);N=N===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,N)):Math.max(0,Math.min(20,N));function X(l){var k=un,g=an,A,U,P;if(d==="c")g=V(l)+g,l="";else{l=+l;var z=l<0||1/l<0;if(l=isNaN(l)?c:V(Math.abs(l),N),O&&(l=zn(l)),z&&+l==0&&y!=="+"&&(z=!1),k=(z?y==="("?y:a:y==="-"||y==="("?"":y)+k,g=(d==="s"?K[8+_/3]:"")+g+(z&&y==="("?")":""),fn){for(A=-1,U=l.length;++A<U;)if(P=l.charCodeAt(A),48>P||P>57){g=(P===46?i+l.slice(A+1):l.slice(A))+g,l=l.slice(0,A);break}}}T&&!x&&(l=t(l,1/0));var R=k.length+l.length+g.length,M=R<j?new Array(j-R+1).join(m):"";switch(T&&x&&(l=t(M+l,M.length?j-g.length:1/0),M=""),w){case"<":l=k+l+g+M;break;case"=":l=k+M+l+g;break;case"^":l=M.slice(0,R=M.length>>1)+k+l+g+M.slice(R);break;default:l=M+k+l+g;break}return f(l)}return X.toString=function(){return h+""},X}function s(h,m){var w=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(S(m)/3)))*3,b=Math.pow(10,-y),x=K[8+y/3];return function(j){return w(b*j)+x}}return{format:o,formatPrefix:s}}var $,nn,tn;Fn({thousands:",",grouping:[3],currency:["$",""]});function Fn(n){return $=$n(n),nn=$.format,tn=$.formatPrefix,$}function En(n){return Math.max(0,-S(Math.abs(n)))}function qn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(S(t)/3)))*3-S(Math.abs(n)))}function Dn(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,S(t)-S(n))+1}function Tn(n){return function(){return n}}function In(n){return+n}var Q=[0,1];function v(n){return n}function L(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Tn(isNaN(t)?NaN:.5)}function Ln(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Cn(n,t,e){var r=n[0],i=n[1],f=t[0],u=t[1];return i<r?(r=L(i,r),f=e(u,f)):(r=L(r,i),f=e(f,u)),function(a){return f(r(a))}}function Bn(n,t,e){var r=Math.min(n.length,t.length)-1,i=new Array(r),f=new Array(r),u=-1;for(n[r]<n[0]&&(n=n.slice().reverse(),t=t.slice().reverse());++u<r;)i[u]=L(n[u],n[u+1]),f[u]=e(t[u],t[u+1]);return function(a){var c=dn(n,a,1,r)-1;return f[c](i[c](a))}}function rn(n,t){return t.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function Gn(){var n=Q,t=Q,e=B,r,i,f,u=v,a,c,o;function s(){var m=Math.min(n.length,t.length);return u!==v&&(u=Ln(n[0],n[m-1])),a=m>2?Bn:Cn,c=o=null,h}function h(m){return m==null||isNaN(m=+m)?f:(c||(c=a(n.map(r),t,e)))(r(u(m)))}return h.invert=function(m){return u(i((o||(o=a(t,n.map(r),p.interpolateNumber)))(m)))},h.domain=function(m){return arguments.length?(n=Array.from(m,In),s()):n.slice()},h.range=function(m){return arguments.length?(t=Array.from(m),s()):t.slice()},h.rangeRound=function(m){return t=Array.from(m),e=vn,s()},h.clamp=function(m){return arguments.length?(u=m?!0:v,s()):u!==v},h.interpolate=function(m){return arguments.length?(e=m,s()):e},h.unknown=function(m){return arguments.length?(f=m,h):f},function(m,w){return r=m,i=w,s()}}function en(){return Gn()(v,v)}function On(n,t,e,r){var i=W(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var u=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=qn(i,u))&&(r.precision=f),tn(r,u)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=Dn(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=En(i))&&(r.precision=f-(r.type==="%")*2);break}}return nn(r)}function Vn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return On(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,u=r[i],a=r[f],c,o,s=10;for(a<u&&(o=u,u=a,a=o,o=i,i=f,f=o);s-- >0;){if(o=I(u,a,e),o===c)return r[i]=u,r[f]=a,t(r);if(o>0)u=Math.floor(u/o)*o,a=Math.ceil(a/o)*o;else if(o<0)u=Math.ceil(u*o)/o,a=Math.floor(a*o)/o;else break;c=o}return n},n}function on(){var n=en();return n.copy=function(){return rn(n,on())},cn.initRange.apply(n,arguments),Vn(n)}exports.bisector=C;exports.continuous=en;exports.copy=rn;exports.linear=on;exports.tickStep=W;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.BTnY40Hl.js");var a={paste:"Itsatsi",pasteAsPlaintext:"Itsatsi testu arrunt gisa",pasteCharts:"Itsatsi grafikoak",selectAll:"Hautatu dena",multiSelect:"Gehitu elementua hautapenera",moveCanvas:"Mugitu oihala",cut:"Ebaki",copy:"Kopiatu",copyAsPng:"Kopiatu arbelera PNG gisa",copyAsSvg:"Kopiatu arbelera SVG gisa",copyText:"Kopiatu arbelera testu gisa",copySource:"Kopiatu iturria arbelean",convertToCode:"Bihurtu kodea",bringForward:"Ekarri aurrerago",sendToBack:"Eraman atzera",bringToFront:"Ekarri aurrera",sendBackward:"Eraman atzerago",delete:"Ezabatu",copyStyles:"Kopiatu estiloak",pasteStyles:"Itsatsi estiloak",stroke:"Marra",background:"Atzeko planoa",fill:"Bete",strokeWidth:"Marraren zabalera",strokeStyle:"Marraren estiloa",strokeStyle_solid:"Solidoa",strokeStyle_dashed:"Marratua",strokeStyle_dotted:"Puntukatua",sloppiness:"Marraren trazoa",opacity:"Opakotasuna",textAlign:"Testuaren lerrokapena",edges:"Ertzak",sharp:"Ertz bizia",round:"Borobildua",arrowheads:"Gezi-puntak",arrowhead_none:"Bat ere ez",arrowhead_arrow:"Gezia",arrowhead_bar:"Barra",arrowhead_circle:"",arrowhead_circle_outline:"",arrowhead_triangle:"Hirukia",arrowhead_triangle_outline:"",arrowhead_diamond:"",arrowhead_diamond_outline:"",fontSize:"Letra-tamaina",fontFamily:"Letra-tipoa",addWatermark:'Gehitu "Excalidraw bidez egina"',handDrawn:"Eskuz marraztua",normal:"Normala",code:"Kodea",small:"Txikia",medium:"Ertaina",large:"Handia",veryLarge:"Oso handia",solid:"Solidoa",hachure:"Itzalduna",zigzag:"Sigi-saga",crossHatch:"Marraduna",thin:"Mehea",bold:"Lodia",left:"Ezkerrean",center:"Erdian",right:"Eskuinean",extraBold:"Oso lodia",architect:"Arkitektoa",artist:"Artista",cartoonist:"Marrazkilaria",fileTitle:"Fitxategi izena",colorPicker:"Kolore-hautatzailea",canvasColors:"Oihalean erabilita",canvasBackground:"Oihalaren atzeko planoa",drawingCanvas:"Marrazteko oihala",layers:"Geruzak",actions:"Ekintzak",language:"Hizkuntza",liveCollaboration:"Zuzeneko elkarlana...",duplicateSelection:"Bikoiztu",untitled:"Izengabea",name:"Izena",yourName:"Zure izena",madeWithExcalidraw:"Excalidraw bidez egina",group:"Hautapena taldea bihurtu",ungroup:"Desegin hautapenaren taldea",collaborators:"Kolaboratzaileak",showGrid:"Erakutsi sareta",addToLibrary:"Gehitu liburutegira",removeFromLibrary:"Kendu liburutegitik",libraryLoadingMessage:"Liburutegia kargatzen…",libraries:"Arakatu liburutegiak",loadingScene:"Eszena kargatzen…",align:"Lerrokatu",alignTop:"Lerrokatu goian",alignBottom:"Lerrokatu behean",alignLeft:"Lerrokatu ezkerrean",alignRight:"Lerrokatu eskuinean",centerVertically:"Erdiratu bertikalki",centerHorizontally:"Erdiratu horizontalki",distributeHorizontally:"Banandu horizontalki",distributeVertically:"Banandu bertikalki",flipHorizontal:"Irauli horizontalki",flipVertical:"Irauli bertikalki",viewMode:"Ikuspegia",share:"Partekatu",showStroke:"Erakutsi marraren kolore-hautatzailea",showBackground:"Erakutsi atzeko planoaren kolore-hautatzailea",toggleTheme:"Aldatu gaia",personalLib:"Liburutegi pertsonala",excalidrawLib:"Excalidraw liburutegia",decreaseFontSize:"Txikitu letra tamaina",increaseFontSize:"Handitu letra tamaina",unbindText:"Askatu testua",bindText:"Lotu testua edukiontziari",createContainerFromText:"Bilatu testua edukiontzi batean",link:{edit:"Editatu esteka",editEmbed:"Editatu esteka eta kapsulatu",create:"Sortu esteka",createEmbed:"Sortu esteka eta kapsulatu",label:"Esteka",labelEmbed:"Esteka eta kapsula",empty:"Ez da estekarik ezarri"},lineEditor:{edit:"Editatu lerroa",exit:"Irten lerro-editoretik"},elementLock:{lock:"Blokeatu",unlock:"Desblokeatu",lockAll:"Blokeatu guztiak",unlockAll:"Desblokeatu guztiak"},statusPublished:"Argitaratua",sidebarLock:"Mantendu alboko barra irekita",selectAllElementsInFrame:"Hautatu markoko elementu guztiak",removeAllElementsFromFrame:"Kendu markoko elementu guztiak",eyeDropper:"Aukeratu kolorea oihaletik",textToDiagram:"Testutik diagramara",prompt:""},e={noItems:"Oraindik ez da elementurik gehitu...",hint_emptyLibrary:"Hautatu oihaleko elementu bat hemen gehitzeko, edo instalatu liburutegi bat beheko biltegi publikotik.",hint_emptyPrivateLibrary:"Hautatu oihaleko elementu bat hemen gehitzeko."},t={clearReset:"Garbitu oihala",exportJSON:"Esportatu fitxategira",exportImage:"Esportatu irudia...",export:"Gorde hemen...",copyToClipboard:"Kopiatu arbelera",save:"Gorde uneko fitxategian",saveAs:"Gorde honela",load:"Ireki",getShareableLink:"Lortu partekatzeko esteka",close:"Itxi",selectLanguage:"Hautatu hizkuntza",scrollBackToContent:"Joan atzera edukira",zoomIn:"Handiagotu",zoomOut:"Txikiagotu",resetZoom:"Leheneratu zooma",menu:"Menua",done:"Egina",edit:"Editatu",undo:"Desegin",redo:"Berregin",resetLibrary:"Leheneratu liburutegia",createNewRoom:"Sortu gela berria",fullScreen:"Pantaila osoa",darkMode:"Modu iluna",lightMode:"Modu argia",zenMode:"Zen modua",objectsSnapMode:"Atxiki objektuei",exitZenMode:"Irten Zen modutik",cancel:"Utzi",clear:"Garbitu",remove:"Kendu",embed:"Aldatu kapsulatzea",publishLibrary:"Argitaratu",submit:"Bidali",confirm:"Bai",embeddableInteractionButton:"Egin klik elkar eragiteko"},i={clearReset:"Honek oihal osoa garbituko du. Ziur zaude?",couldNotCreateShareableLink:"Ezin izan da partekatzeko estekarik sortu.",couldNotCreateShareableLinkTooBig:"Ezin izan da partekatzeko estekarik sortu: eszena handiegia da",couldNotLoadInvalidFile:"Ezin izan da kargatu, fitxategiak ez du balio",importBackendFailed:"Inportazioak huts egin du.",cannotExportEmptyCanvas:"Ezin izan da oihal hutsa esportatu.",couldNotCopyToClipboard:"Ezin izan da arbelean kopiatu.",decryptFailed:"Ezin izan da deszifratu.",uploadedSecurly:"Kargatzea muturretik muturrerako zifratze bidez ziurtatu da, hau da, Excalidraw zerbitzariak eta hirugarrenek ezin dutela edukia irakurri.",loadSceneOverridePrompt:"Kanpoko marrazkia kargatzeak lehendik duzun edukia ordezkatuko du. Jarraitu nahi duzu?",collabStopOverridePrompt:`Saioa gelditzeak lokalean gordetako zure aurreko marrazkia gainidatziko du. Ziur zaude?
|
|
2
|
+
|
|
3
|
+
(Zure marrazki lokala mantendu nahi baduzu, itxi arakatzailearen fitxa.)`,errorAddingToLibrary:"Ezin izan da elementua liburutegian gehitu",errorRemovingFromLibrary:"Ezin izan da elementua liburutegitik kendu",confirmAddLibrary:"Honek {{numShapes}} forma gehituko ditu zure liburutegian. Ziur zaude?",imageDoesNotContainScene:"Irudi honek ez dirudi eszena daturik duenik. Eszena kapsulatzea gaitu al duzu esportazioan?",cannotRestoreFromImage:"Ezin izan da eszena leheneratu irudi fitxategi honetatik",invalidSceneUrl:"Ezin izan da eszena inportatu emandako URLtik. Gaizki eratuta dago edo ez du baliozko Excalidraw JSON daturik.",resetLibrary:"Honek zure liburutegia garbituko du. Ziur zaude?",removeItemsFromsLibrary:"Liburutegitik {{count}} elementu ezabatu?",invalidEncryptionKey:"Enkriptazio-gakoak 22 karaktere izan behar ditu. Zuzeneko lankidetza desgaituta dago.",collabOfflineWarning:`Ez dago Interneteko konexiorik.
|
|
4
|
+
Zure aldaketak ez dira gordeko!`},r={unsupportedFileType:"Onartu gabeko fitxategi mota.",imageInsertError:"Ezin izan da irudia txertatu. Saiatu berriro geroago...",fileTooBig:"Fitxategia handiegia da. Onartutako gehienezko tamaina {{maxSize}} da.",svgImageInsertError:"Ezin izan da SVG irudia txertatu. SVG markak baliogabea dirudi.",failedToFetchImage:"Ezin izan da irudia eskuratu.",invalidSVGString:"SVG baliogabea.",cannotResolveCollabServer:"Ezin izan da elkarlaneko zerbitzarira konektatu. Mesedez, berriro kargatu orria eta saiatu berriro.",importLibraryError:"Ezin izan da liburutegia kargatu",collabSaveFailed:"Ezin izan da backend datu-basean gorde. Arazoak jarraitzen badu, zure fitxategia lokalean gorde beharko zenuke zure lana ez duzula galtzen ziurtatzeko.",collabSaveFailed_sizeExceeded:"Ezin izan da backend datu-basean gorde, ohiala handiegia dela dirudi. Fitxategia lokalean gorde beharko zenuke zure lana galtzen ez duzula ziurtatzeko.",imageToolNotSupported:"Irudiak desgaituta daude.",brave_measure_text_error:{line1:"Brave arakatzailea erabiltzen ari zarela dirudi <bold>Blokeatu hatz-markak erasokorki</bold> ezarpena gaituta.",line2:"Honek zure marrazkietako <bold>Testu-elementuak</bold> hautsi ditzake.",line3:"Ezarpen hau desgaitzea gomendatzen dugu. <link>urrats hauek</link> jarrai ditzakezu hori nola egin jakiteko.",line4:"Ezarpen hau desgaituz gero, testu-elementuen bistaratzea konpontzen ez bada, ireki <issueLink>arazo</issueLink> gure GitHub-en edo idatzi iezaguzu <discordLink>Discord</discordLink> helbidera"},libraryElementTypeError:{embeddable:"Kapsulatutako elementuak ezin dira liburutegira gehitu.",iframe:"IFrame elementuak ezin dira liburutegira gehitu.",image:"Laster egongo da irudiak liburutegian gehitzeko laguntza!"},asyncPasteFailedOnRead:"Ezin izan da itsatsi (ezin izan da sistemaren arbeletik irakurri).",asyncPasteFailedOnParse:"Ezin izan da itsatsi.",copyToSystemClipboardFailed:"Ezin izan da arbelean kopiatu."},o={selection:"Hautapena",image:"Txertatu irudia",rectangle:"Laukizuzena",diamond:"Diamantea",ellipse:"Elipsea",arrow:"Gezia",line:"Lerroa",freedraw:"Marraztu",text:"Testua",library:"Liburutegia",lock:"Mantendu aktibo hautatutako tresna marraztu ondoren",penMode:"Luma modua - ukipena saihestu",link:"Gehitu / Eguneratu esteka hautatutako forma baterako",eraser:"Borragoma",frame:"Marko tresna",magicframe:"Wireframe kodetzeko",embeddable:"Web kapsulatzea",laser:"Laser punteroa",hand:"Eskua (panoratze tresna)",extraTools:"Tresna gehiago",mermaidToExcalidraw:"",magicSettings:"AI ezarpenak"},n={canvasActions:"Canvas ekintzak",selectedShapeActions:"Hautatutako formaren ekintzak",shapes:"Formak"},u={canvasPanning:"Oihala mugitzeko, eutsi saguaren gurpila edo zuriune-barra arrastatzean, edo erabili esku tresna",linearElement:"Egin klik hainbat puntu hasteko, arrastatu lerro bakarrerako",freeDraw:"Egin klik eta arrastatu, askatu amaitutakoan",text:"Aholkua: testua gehitu dezakezu edozein lekutan klik bikoitza eginez hautapen tresnarekin",embeddable:"Egin klik eta arrastatu webgunea kapsulatzeko",text_selected:"Egin klik bikoitza edo sakatu SARTU testua editatzeko",text_editing:"Sakatu Esc edo Ctrl+SARTU editatzen amaitzeko",linearElementMulti:"Egin klik azken puntuan edo sakatu Esc edo Sartu amaitzeko",lockAngle:"SHIFT sakatuta angelua mantendu dezakezu",resize:`Proportzioak mantendu ditzakezu SHIFT sakatuta tamaina aldatzen duzun bitartean.
|
|
5
|
+
sakatu ALT erditik tamaina aldatzeko`,resizeImage:`Tamaina libreki alda dezakezu SHIFT sakatuta,
|
|
6
|
+
sakatu ALT erditik tamaina aldatzeko`,rotate:"Angeluak mantendu ditzakezu SHIFT sakatuta biratzen duzun bitartean",lineEditor_info:"Eutsi sakatuta Ctrl edo Cmd eta egin klik bikoitza edo sakatu Ctrl edo Cmd + Sartu puntuak editatzeko",lineEditor_pointSelected:`Sakatu Ezabatu puntuak kentzeko,
|
|
7
|
+
Ktrl+D bikoizteko, edo arrastatu mugitzeko`,lineEditor_nothingSelected:`Hautatu editatzeko puntu bat (SHIFT sakatuta anitz hautatzeko),
|
|
8
|
+
edo eduki Alt sakatuta eta egin klik puntu berriak gehitzeko`,placeImage:"Egin klik irudia kokatzeko, edo egin klik eta arrastatu bere tamaina eskuz ezartzeko",publishLibrary:"Argitaratu zure liburutegia",bindTextToElement:"Sakatu Sartu testua gehitzeko",deepBoxSelect:"Eutsi Ctrl edo Cmd sakatuta aukeraketa sakona egiteko eta arrastatzea saihesteko",eraserRevert:"Eduki Alt sakatuta ezabatzeko markatutako elementuak leheneratzeko",firefox_clipboard_write:'Ezaugarri hau "dom.events.asyncClipboard.clipboardItem" marka "true" gisa ezarrita gaitu daiteke. Firefox-en arakatzailearen banderak aldatzeko, bisitatu "about:config" orrialdera.',disableSnapping:"Eduki sakatuta Ctrl edo Cmd tekla atxikipena desgaitzeko"},l={cannotShowPreview:"Ezin da oihala aurreikusi",canvasTooBig:"Agian oihala handiegia da.",canvasTooBigTip:"Aholkua: saiatu urrunen dauden elementuak pixka bat hurbiltzen."},k={headingMain:"Errore bat aurkitu da. Saiatu <button>orria birkargatzen.</button>",clearCanvasMessage:"Birkargatzea ez bada burutzen, saiatu <button>oihala garbitzen.</button>",clearCanvasCaveat:" Honen ondorioz lana galduko da ",trackedToSentry:"Identifikatzailearen errorea {{eventId}} gure sistemak behatu du.",openIssueMessage:"Oso kontuz ibili gara zure eszenaren informazioa errorean ez sartzeko. Zure eszena pribatua ez bada, kontuan hartu gure <button>erroreen jarraipena egitea.</button> Sartu beheko informazioa kopiatu eta itsatsi bidez GitHub issue-n.",sceneContent:"Eszenaren edukia:"},d={desc_intro:"Jendea zure uneko eszenara gonbida dezakezu zurekin elkarlanean aritzeko.",desc_privacy:"Ez kezkatu, saioak muturretik muturrerako enkriptatzea erabiltzen du, beraz, marrazten duzuna pribatua izango da. Gure zerbitzariak ere ezingo du ikusi zer egiten duzun.",button_startSession:"Hasi saioa",button_stopSession:"Itxi saioa",desc_inProgressIntro:"Zuzeneko lankidetza saioa abian da.",desc_shareLink:"Partekatu esteka hau elkarlanean aritu nahi duzun edonorekin:",desc_exitSession:"Saioa ixteak aretotik deskonektatuko zaitu, baina eszenarekin lanean jarraitu ahal izango duzu lokalean. Kontuan izan honek ez diela beste pertsonei eragingo, eta euren bertsioan elkarlanean aritu ahal izango dira.",shareTitle:"Sartu Excalidraw-en zuzeneko lankidetza-saio batean"},s={title:"Errorea"},z={disk_title:"Gorde diskoan",disk_details:"Esportatu eszenaren datuak geroago inportatu ahal izango duzun fitxategi batan.",disk_button:"Gorde fitxategian",link_title:"Partekatzeko esteka",link_details:"Esportatu irakurtzeko soilik moduko esteka.",link_button:"Esportatu esteka",excalidrawplus_description:"Gorde eszena zure Excalidraw+ laneko areara.",excalidrawplus_button:"Esportatu",excalidrawplus_exportError:"Une honetan ezin izan da esportatu Excalidraw+era..."},g={blog:"Irakurri gure bloga",click:"sakatu",deepSelect:"Hautapen sakona",deepBoxSelect:"Hautapen sakona egin laukizuzen bidez, eta saihestu arrastatzea",curvedArrow:"Gezi kurbatua",curvedLine:"Lerro kurbatua",documentation:"Dokumentazioa",doubleClick:"klik bikoitza",drag:"arrastatu",editor:"Editorea",editLineArrowPoints:"Editatu lerroak/gezi-puntuak",editText:"Editatu testua / gehitu etiketa",github:"Arazorik izan al duzu? Eman horren berri",howto:"Jarraitu gure gidak",or:"edo",preventBinding:"Saihestu gezien gainjartzea",tools:"Tresnak",shortcuts:"Laster-teklak",textFinish:"Bukatu edizioa (testu editorea)",textNewLine:"Gehitu lerro berri bat (testu editorea)",title:"Laguntza",view:"Bistaratu",zoomToFit:"Egin zoom elementu guztiak ikusteko",zoomToSelection:"Zooma hautapenera",toggleElementLock:"Blokeatu/desbloketatu hautapena",movePageUpDown:"Mugitu orria gora/behera",movePageLeftRight:"Mugitu orria ezker/eskuin"},b={title:"Garbitu oihala"},m={title:"Argitaratu liburutegia",itemName:"Elementuaren izena",authorName:"Egilearen izena",githubUsername:"GitHub-eko erabiltzaile-izena",twitterUsername:"Twitter-eko erabiltzaile-izena",libraryName:"Liburutegiaren izena",libraryDesc:"Liburutegiaren deskripzioa",website:"Webgunea",placeholder:{authorName:"Zure izena edo erabiltzaile-izena",libraryName:"Zure liburutegiaren izena",libraryDesc:"Zure liburutegiaren deskripzioa laguntzeko jendeari ulertzen haren erabilpena",githubHandle:"GitHub heldulekua (aukerakoa), liburutegia editatu ahal izateko berrikustera bidalitakoan",twitterHandle:"Twitter-eko erabiltzaile-izena (aukerakoa), badakigu nori kreditatu behar dugun Twitter bidez sustatzeko",website:"Estekatu zure webgunera edo nahi duzun tokira (aukerakoa)"},errors:{required:"Beharrezkoa",website:"Sartu baliozko URL bat"},noteDescription:"Bidali zure liburutegira sartu ahal izateko <link>zure liburutegiko biltegian</link>beste jendeak bere marrazkietan erabili ahal izateko.",noteGuidelines:"Liburutegia eskuz onartu behar da. Irakurri <link>gidalerroak</link> bidali aurretik. GitHub kontu bat edukitzea komeni da komunikatzeko eta aldaketak egin ahal izateko, baina ez da guztiz beharrezkoa.",noteLicense:"Bidaltzen baduzu, onartzen duzu liburutegia <link>MIT lizentziarekin argitaratuko dela, </link>zeinak, laburbilduz, esan nahi du edozeinek erabiltzen ahal duela murrizketarik gabe.",noteItems:"Liburutegiko elementu bakoitzak bere izena eduki behar du iragazi ahal izateko. Liburutegiko hurrengo elementuak barne daude:",atleastOneLibItem:"Hautatu gutxienez liburutegiko elementu bat gutxienez hasi ahal izateko",republishWarning:"Oharra: hautatutako elementu batzuk dagoeneko argitaratuta/bidalita bezala markatuta daude. Elementuak berriro bidali behar dituzu lehendik dagoen liburutegi edo bidalketa eguneratzen duzunean."},p={title:"Liburutegia bidali da",content:"Eskerrik asko {{authorName}}. Zure liburutegia bidali da berrikustera. Jarraitu dezakezu haren egoera<link>hemen</link>"},h={resetLibrary:"Leheneratu liburutegia",removeItemsFromLib:"Kendu hautatutako elementuak liburutegitik"},c={header:"Esportatu irudia",label:{withBackground:"Atzeko planoa",onlySelected:"Hautapena soilik",darkMode:"Modu iluna",embedScene:"Txertatu eszena",scale:"Eskala",padding:"Betegarria"},tooltip:{embedScene:`Eszenaren datuak esportatutako PNG/SVG fitxategian gordeko dira, eszena bertatik berrezartzeko.
|
|
9
|
+
Esportatutako fitxategien tamaina handituko da.`},title:{exportToPng:"Esportatu PNG gisa",exportToSvg:"Esportatu SVG gisa",copyPngToClipboard:"Kopiatu PNG arbelera"},button:{exportToPng:"PNG",exportToSvg:"SVG",copyPngToClipboard:"Kopiatu arbelean"}},E={tooltip:"Zure marrazkiak muturretik muturrera enkriptatu dira, beraz Excalidraw-ren zerbitzariek ezingo dituzte ikusi.",link:"Excalidraw-ren muturretik muturrerako enkriptatzearen gaineko mezua blogean"},x={angle:"Angelua",element:"Elementua",elements:"Elementuak",height:"Altuera",scene:"Eszena",selected:"Hautatua",storage:"Biltegia",title:"Datuak",total:"Guztira",version:"Bertsioa",versionCopy:"Klikatu kopiatzeko",versionNotAvailable:"Bertsio ez eskuragarria",width:"Zabalera"},S={addedToLibrary:"Liburutegira gehitu da",copyStyles:"Estiloak kopiatu dira.",copyToClipboard:"Arbelean kopiatu da.",copyToClipboardAsPng:`{{exportSelection}} kopiatu da arbelean PNG gisa
|
|
10
|
+
({{exportColorScheme}})`,fileSaved:"Fitxategia gorde da.",fileSavedToFilename:"{filename}-n gorde da",canvas:"oihala",selection:"hautapena",pasteAsSingleElement:`Erabili {{shortcut}} elementu bakar gisa itsasteko,
|
|
11
|
+
edo itsatsi lehendik dagoen testu-editore batean`,unableToEmbed:"Url hau txertatzea ez da une honetan onartzen. Sortu issue bat GitHub-en Urla zerrenda zurian sartzea eskatzeko",unrecognizedLinkFormat:"Kapsulatu duzun esteka ez dator bat espero den formatuarekin. Mesedez, saiatu iturburu-guneak emandako 'kapsulatu' katea itsasten"},y={transparent:"Gardena",black:"Beltza",white:"Zuria",red:"Gorria",pink:"Arrosa",grape:"Mahats kolorea",violet:"Bioleta",gray:"Grisa",blue:"Urdina",cyan:"Ziana",teal:"Berde urdinxka",green:"Berdea",yellow:"Horia",orange:"Laranja",bronze:"Brontzea"},L={app:{center_heading:"Zure datu guztiak lokalean gordetzen dira zure nabigatzailean.",center_heading_plus:"Horren ordez Excalidraw+-era joan nahi al zenuen?",menuHint:"Esportatu, hobespenak, hizkuntzak..."},defaults:{menuHint:"Esportatu, hobespenak eta gehiago...",center_heading:"Diagramak. Egina. Sinplea.",toolbarHint:"Aukeratu tresna bat eta hasi marrazten!",helpHint:"Lasterbideak eta laguntza"}},T={mostUsedCustomColors:"Gehien erabilitako kolore pertsonalizatuak",colors:"Koloreak",shades:"Ñabardurak",hexCode:"Hez kodea",noShades:"Kolore honetarako ez dago ñabardurarik eskuragarri"},v={action:{exportToImage:{title:"Esportatu irudi gisa",button:"Esportatu irudi gisa",description:"Esportatu eszenaren datuak geroago inportatu ahal izango duzun irudi gisa."},saveToDisk:{title:"Gorde diskoan",button:"Gorde diskoan",description:"Esportatu eszenaren datuak geroago inportatu ahal izango duzun fitxategi batan."},excalidrawPlus:{title:"Excalidraw+",button:"Esportatu Excalidraw+ra",description:"Gorde eszena zure Excalidraw+ laneko areara."}},modal:{loadFromFile:{title:"Fitxategitik kargatu",button:"Fitxategitik kargatu",description:"Fitxategi batetik kargatzeak <bold>lehendik duzun edukia ordezkatuko du</bold>.<br></br>Lehenengo marrazkiaren babeskopia egin dezakezu beheko aukeretako bat erabiliz."},shareableLink:{title:"Estekatik kargatu",button:"Ordeztu nire edukia",description:"Kanpoko irudi bat kargatzeak <bold>lehendik duzun edukia ordezkatuko du</bold>.<br></br>. Zure marrazkiaren babeskopia egin dezakezu lehenik beheko aukeretako bat erabiliz."}}},w={title:"",button:"Txertatu",description:"",syntax:"",preview:"Aurrebista"},f={labels:a,library:e,buttons:t,alerts:i,errors:r,toolBar:o,headings:n,hints:u,canvasError:l,errorSplash:k,roomDialog:d,errorDialog:s,exportDialog:z,helpDialog:g,clearCanvasDialog:b,publishDialog:m,publishSuccessDialog:p,confirmDialog:h,imageExportDialog:c,encrypted:E,stats:x,toast:S,colors:y,welcomeScreen:L,colorPicker:T,overwriteConfirm:v,mermaid:w};exports.alerts=i;exports.buttons=t;exports.canvasError=l;exports.clearCanvasDialog=b;exports.colorPicker=T;exports.colors=y;exports.confirmDialog=h;exports.default=f;exports.encrypted=E;exports.errorDialog=s;exports.errorSplash=k;exports.errors=r;exports.exportDialog=z;exports.headings=n;exports.helpDialog=g;exports.hints=u;exports.imageExportDialog=c;exports.labels=a;exports.library=e;exports.mermaid=w;exports.overwriteConfirm=v;exports.publishDialog=m;exports.publishSuccessDialog=p;exports.roomDialog=d;exports.stats=x;exports.toast=S;exports.toolBar=o;exports.welcomeScreen=L;
|