@layers-app/editor 0.6.30 → 0.6.31
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{layers.CFEiIu4L.js → layers.0KXKRnGs.js} +1 -1
- package/dist/{layers.CdVDtTKI.js → layers.0_MnU0F0.js} +1 -1
- package/dist/{layers.1qQVBpYW.js → layers.2b0ymVZh.js} +2 -2
- package/dist/{layers.4gbCdoJ3.js → layers.2hlkYM4p.js} +1 -1
- package/dist/{layers.C91mhcZz.js → layers.2qWCEJFx.js} +1 -1
- package/dist/{layers.yfNLEuK_.js → layers.4gSE2s3w.js} +1 -1
- package/dist/{layers.CHpiL3H1.js → layers.5aaUAuCS.js} +1 -1
- package/dist/{layers.CeK4rBrx.js → layers.6jg48Nzy.js} +1 -1
- package/dist/{layers.BzpJkSCy.js → layers.6tIv-PUe.js} +1 -1
- package/dist/{layers.GrSbxt-3.js → layers.9yKbFSuf.js} +3 -3
- package/dist/{layers.D3xYlMtS.js → layers.AJFtQ9M4.js} +2 -2
- package/dist/{layers.CXUTme83.js → layers.AWrI6Zp_.js} +1 -1
- package/dist/{layers.CiBtPFyP.js → layers.B-rFYqsm.js} +1 -1
- package/dist/{layers.Cl6UvKla.js → layers.B0vW9wNZ.js} +1 -1
- package/dist/{layers.DTmJp6bf.js → layers.B56Hv1eZ.js} +1 -1
- package/dist/{layers.BPQ3Rnsc.js → layers.B5vzc1cr.js} +1 -1
- package/dist/{layers.CnZ1CGqM.js → layers.B7S-456z.js} +3 -3
- package/dist/{layers.DU_QtJ_L.js → layers.B7TiubGs.js} +1 -1
- package/dist/{layers.DNsiU5LJ.js → layers.BALMBy2d.js} +1 -1
- package/dist/{layers.CZF8XtsO.js → layers.BBf_jlMM.js} +1 -1
- package/dist/{layers.Mer36_xb.js → layers.BCOD6mzx.js} +1 -1
- package/dist/{layers.DQ-Mabxz.js → layers.BD-sCx7I.js} +1 -1
- package/dist/{layers.Bp7fl_H6.js → layers.BD6pMiYy.js} +1 -1
- package/dist/{layers.BWSMplkQ.js → layers.BDd_7YCs.js} +1 -1
- package/dist/{layers.CmP59vRA.js → layers.BF_59Nul.js} +1 -1
- package/dist/{layers.drbaAKDM.js → layers.BH0fD64F.js} +1 -1
- package/dist/{layers.pXLK7oDT.js → layers.BIHSNelA.js} +1 -1
- package/dist/{layers.BHcEhl-s.js → layers.BIjY-g8X.js} +1 -1
- package/dist/{layers.D0YVJoQd.js → layers.BKeHcGgy.js} +1 -1
- package/dist/{layers.K2v4EVMl.js → layers.BLEpL2D6.js} +4 -4
- package/dist/{layers.nMjtkHUB.js → layers.BMEM-KPX.js} +1 -1
- package/dist/{layers.CTaih8tZ.js → layers.BMYVA1Gf.js} +1 -1
- package/dist/{layers.CTXkF03M.js → layers.BNUugL-I.js} +1 -1
- package/dist/{layers.rOhiwm8y.js → layers.BO3bNVr7.js} +1 -1
- package/dist/layers.BQBE6hMq.js +8 -0
- package/dist/{layers.Drv1BrJG.js → layers.BQsWJDdf.js} +1 -1
- package/dist/{layers.DkpIhHxQ.js → layers.BSV3xjRm.js} +1 -1
- package/dist/{layers.Dm04inGr.js → layers.BT93LIeI.js} +4 -4
- package/dist/{layers.C0ippq2C.js → layers.BUCTJpNq.js} +1 -1
- package/dist/{layers.DMgJ6Kej.js → layers.BXfNvU01.js} +1 -1
- package/dist/{layers.C022ohYU.js → layers.BZIMnZSM.js} +1 -1
- package/dist/{layers.B-tgtSRx.js → layers.B_ug0-9G.js} +1 -1
- package/dist/{layers.BcXhnGN8.js → layers.B_um1b6U.js} +1 -1
- package/dist/{layers.Dda8gWqG.js → layers.Ba7YZc9_.js} +1 -1
- package/dist/{layers.CYzeUD1I.js → layers.Baw4Kxl9.js} +5 -5
- package/dist/{layers.BnWtFuyf.js → layers.Bdc2fXzm.js} +1 -1
- package/dist/{layers.Dkw6sEkm.js → layers.BhMpI-QZ.js} +1 -1
- package/dist/{layers.CbWAB4h5.js → layers.Bir8zI7-.js} +1 -1
- package/dist/{layers.k8Yoh94p.js → layers.Bold25VY.js} +1 -1
- package/dist/{layers.BFpRT8KK.js → layers.Bq5jO0iA.js} +1 -1
- package/dist/{layers.CJiEzqKL.js → layers.BqtMDhrD.js} +1 -1
- package/dist/{layers.2SLVTQmq.js → layers.BrDCVLYb.js} +1 -1
- package/dist/{layers.DBjJU8a3.js → layers.BsY06Rze.js} +1 -1
- package/dist/{layers.Bv6SoaSO.js → layers.BtPsW5Yu.js} +1 -1
- package/dist/layers.BtiHs2pz.js +1 -0
- package/dist/{layers.CU9pykrK.js → layers.Bx-QPmCa.js} +1 -1
- package/dist/{layers.k0yhhYKm.js → layers.Bydf_-9W.js} +1 -1
- package/dist/{layers.BRsdmZn1.js → layers.BzTzoikM.js} +1 -1
- package/dist/{layers.Ch7K_OSv.js → layers.C1Eyqh7Z.js} +1 -1
- package/dist/{layers.C-eHKLkZ.js → layers.C1of3CZq.js} +1 -1
- package/dist/{layers.CwyKeHeu.js → layers.C2iuCc1t.js} +1 -1
- package/dist/{layers.Dcz1ER1a.js → layers.C3cIVYP-.js} +1 -1
- package/dist/{layers.CwhvRD6L.js → layers.C3s3TVvS.js} +1 -1
- package/dist/{layers.CHWY0-gx.js → layers.C4FCP9lM.js} +1 -1
- package/dist/{layers.Dg46rfpr.js → layers.C5hWpwgA.js} +3 -3
- package/dist/{layers.nQNliwHU.js → layers.C5kxX-S9.js} +1 -1
- package/dist/{layers.CxP2MkE0.js → layers.C8_fQn9B.js} +1 -1
- package/dist/{layers.DVTpPgz7.js → layers.CAVEbogD.js} +1 -1
- package/dist/{layers.UhPxyWIi.js → layers.CAiWg-fN.js} +1 -1
- package/dist/{layers.CsXTZ2dt.js → layers.CBKyYidT.js} +1 -1
- package/dist/{layers.Bi12kRBG.js → layers.CBsbLyV-.js} +1 -1
- package/dist/{layers.U8nZjVuX.js → layers.CC8UAgLn.js} +1 -1
- package/dist/{layers.CDvEr4oq.js → layers.CDKNU_e4.js} +1 -1
- package/dist/{layers.BXS4GbpH.js → layers.CDpy7pcj.js} +1 -1
- package/dist/{layers.BSLKJPVB.js → layers.CEjHpF-w.js} +1 -1
- package/dist/{layers.DoRdGx_s.js → layers.CF1KO-Is.js} +1 -1
- package/dist/{layers.7i1byABF.js → layers.CGd-a2SC.js} +2 -2
- package/dist/{layers.Bm8G1SUI.js → layers.CGwsWdEu.js} +1 -1
- package/dist/{layers.Cp-QrrDN.js → layers.CI48Yc1J.js} +5 -5
- package/dist/{layers.BDAzgj4q.js → layers.CJNceMwj.js} +1 -1
- package/dist/{layers.LxoiyH_6.js → layers.CKcgMxJz.js} +2 -2
- package/dist/{layers.D0Pm_YlG.js → layers.CLKMvJZw.js} +1 -1
- package/dist/{layers.Bk53WnjY.js → layers.CNNNNzF0.js} +1 -1
- package/dist/{layers.B_iVm-hN.js → layers.CNnTGaCC.js} +1 -1
- package/dist/{layers.BPWztNW3.js → layers.CP4y36Mh.js} +1 -1
- package/dist/{layers.H2LedcqZ.js → layers.CQ-3rXUA.js} +1 -1
- package/dist/{layers.CelRMKof.js → layers.CRDefiL5.js} +1 -1
- package/dist/{layers.C6ZNbQaW.js → layers.CSJEPeO9.js} +4 -4
- package/dist/{layers.Dprt2lNI.js → layers.CUrS8ket.js} +25 -19
- package/dist/{layers.BjRYZheq.js → layers.CUsVi_gl.js} +1 -1
- package/dist/{layers.DrUJld9J.js → layers.CVIPtkg8.js} +1 -1
- package/dist/{layers.ClPVJ2zg.js → layers.CXMxfJdm.js} +1 -1
- package/dist/{layers.CczY5GFP.js → layers.CXbmOLoJ.js} +1 -1
- package/dist/{layers.B5oLZ3sz.js → layers.CY7TwR__.js} +4 -4
- package/dist/{layers.BRnvwRYi.js → layers.C_51fLZI.js} +1 -1
- package/dist/{layers.B1Aqc3Y_.js → layers.CaytUOjb.js} +1 -1
- package/dist/{layers.DYMvJUUa.js → layers.CcxjWnyh.js} +1 -1
- package/dist/{layers.HTsBDtUk.js → layers.CdUbOdrO.js} +1 -1
- package/dist/{layers.CF-3iPUn.js → layers.Cdo6cgBB.js} +1 -1
- package/dist/{layers.DYGj_Amk.js → layers.CiMVHtHX.js} +1 -1
- package/dist/{layers.BzemjWo_.js → layers.CigtSha4.js} +1 -1
- package/dist/{layers.DAxqqThA.js → layers.Cj610uAi.js} +1 -1
- package/dist/{layers.DREHvE7K.js → layers.CjLWafUJ.js} +1 -1
- package/dist/{layers.BmKimLtG.js → layers.CjWWX2wL.js} +1 -1
- package/dist/{layers.BRzsABdj.js → layers.Ckahftf1.js} +1 -1
- package/dist/{layers.D_kUfJTf.js → layers.CkdrI-rE.js} +1 -1
- package/dist/{layers.CggnPivo.js → layers.CmoPtLn5.js} +1 -1
- package/dist/{layers.CWngSb9z.js → layers.Cn7TvTqx.js} +4 -4
- package/dist/{layers.DbzYysAl.js → layers.CnAl0j5i.js} +1 -1
- package/dist/{layers.Dns48PUf.js → layers.CnZFICLq.js} +3 -3
- package/dist/{layers.Drap30Xb.js → layers.Cnrw2x44.js} +1 -1
- package/dist/{layers.5-_S-DtW.js → layers.CorUkgft.js} +1 -1
- package/dist/{layers.CkqWFXaC.js → layers.CpIINTZM.js} +3 -3
- package/dist/layers.CpZoxI4v.js +1 -0
- package/dist/{layers.qx9JWfUE.js → layers.CpwDMzEW.js} +1 -1
- package/dist/{layers.G56uLRIV.js → layers.CqTuWDdi.js} +1 -1
- package/dist/{layers.BF2CD9Qy.js → layers.Ct2-k3xO.js} +1 -1
- package/dist/{layers.Bvm7kPoT.js → layers.CtJdPfOD.js} +3 -3
- package/dist/{layers.BYpRyTuL.js → layers.CuCdWvhL.js} +1 -1
- package/dist/{layers.DA7ln5ed.js → layers.CudvY6Yl.js} +1 -1
- package/dist/{layers.BTCBpYRd.js → layers.CueZgcbV.js} +1 -1
- package/dist/{layers.oOeH9puR.js → layers.Cw1gO4qJ.js} +1 -1
- package/dist/{layers.DsTyDwDL.js → layers.CwgnbMsS.js} +1 -1
- package/dist/{layers.CI9lDLfq.js → layers.Cx7kRVE7.js} +1 -1
- package/dist/{layers.DByV_tpU.js → layers.CzKuIt0s.js} +1 -1
- package/dist/{layers.DiSMPqDc.js → layers.CzU7WCr0.js} +2 -2
- package/dist/{layers.Bnh9TQ_F.js → layers.Cz_kOAQP.js} +1 -1
- package/dist/{layers.B70WahHs.js → layers.D3qHgc3L.js} +3 -3
- package/dist/{layers.BSCeO71w.js → layers.D44DeRfz.js} +1 -1
- package/dist/{layers.C18E-mJu.js → layers.D4pbVzzM.js} +1 -1
- package/dist/{layers.C5AANKiL.js → layers.D6Bhi28E.js} +6 -6
- package/dist/{layers.DhUN01RV.js → layers.D7YT4jOe.js} +1 -1
- package/dist/{layers.SfpG_T-5.js → layers.DASwRYVj.js} +1 -1
- package/dist/{layers.BOdQBt0D.js → layers.DBGXVlH-.js} +8 -8
- package/dist/{layers.-Bi59Aa1.js → layers.DF0BRZAB.js} +24 -24
- package/dist/{layers.dlwYGgzY.js → layers.DG3qAGgs.js} +1 -1
- package/dist/{layers.Cp6g9fHb.js → layers.DGZSbumT.js} +1 -1
- package/dist/{layers.qKP0mvqS.js → layers.DG_Dvare.js} +1 -1
- package/dist/{layers._o6tY2St.js → layers.DHYNQ09j.js} +1 -1
- package/dist/{layers.DOf_T9kD.js → layers.DNwqwlRE.js} +1 -1
- package/dist/{layers.Bv0ZOdlM.js → layers.DOr8pXtd.js} +1 -1
- package/dist/{layers.DwPDmXY6.js → layers.DPJK2k8a.js} +7 -7
- package/dist/{layers.B2WUqBk_.js → layers.DXDR6vTl.js} +3 -3
- package/dist/{layers.BHm6OAcr.js → layers.DZ_QdMF-.js} +1 -1
- package/dist/{layers.ait2lptX.js → layers.DZdX2Rbc.js} +1 -1
- package/dist/{layers.DaDJu61v.js → layers.D_UbHUqx.js} +1 -1
- package/dist/{layers.0p5uuBPF.js → layers.Da3ZL9xG.js} +4 -4
- package/dist/{layers.CELZvg7d.js → layers.DaPTmylF.js} +1 -1
- package/dist/{layers.D3V-AlGE.js → layers.DbefhGje.js} +1 -1
- package/dist/{layers.B2s6exLq.js → layers.DeREYkv5.js} +1 -1
- package/dist/{layers.C1Np7ODI.js → layers.DetXEs5d.js} +2 -2
- package/dist/{layers.CSQhxz32.js → layers.DgTUEmlF.js} +1 -1
- package/dist/{layers.9bPL8DU9.js → layers.DigbzCMW.js} +3 -3
- package/dist/{layers.DlcIy-ga.js → layers.Djb6g_fP.js} +1 -1
- package/dist/{layers.CFzy4JVO.js → layers.Dk72XHBe.js} +1 -1
- package/dist/{layers.Bv8-7-hA.js → layers.DmMBlZnG.js} +1 -1
- package/dist/{layers.CqiY5MRj.js → layers.DnMzPZE8.js} +1 -1
- package/dist/{layers.BdIwG4II.js → layers.DnQJ9TUj.js} +4 -4
- package/dist/{layers.Rz8uzJlg.js → layers.DqToZC-_.js} +1 -1
- package/dist/{layers.5vdRt3_4.js → layers.DqVQRdZG.js} +1 -1
- package/dist/{layers.RmdxOgZo.js → layers.Drouqu2B.js} +5 -5
- package/dist/{layers.BGcq04JM.js → layers.DstC5zHE.js} +1 -1
- package/dist/{layers.C15qzVb6.js → layers.DtsUvfOE.js} +1 -1
- package/dist/{layers.BeH6dKYB.js → layers.DuCtuRps.js} +1 -1
- package/dist/{layers.Cj1C_CyF.js → layers.DuPrSPS1.js} +1 -1
- package/dist/{layers.CVZHTPIU.js → layers.Dv0FFqM9.js} +2 -2
- package/dist/{layers.aislW0tw.js → layers.DvbyXqWK.js} +1 -1
- package/dist/{layers.B_k4DU3-.js → layers.DwNKLLo0.js} +4 -4
- package/dist/{layers.S1Z79iET.js → layers.Dxku5HV8.js} +1 -1
- package/dist/{layers.mYIBY3j6.js → layers.DzzMxqzA.js} +1 -1
- package/dist/{layers.ZTp4foX7.js → layers.EyvWfm0M.js} +1 -1
- package/dist/{layers.BxJjVlHj.js → layers.FWjZfO-u.js} +1 -1
- package/dist/{layers.C8l23ndg.js → layers.GBiZ3JWH.js} +1 -1
- package/dist/{layers.D_UYi9ez.js → layers.HGvx3pfo.js} +1 -1
- package/dist/layers.IJBQnKaE.js +6 -0
- package/dist/{layers.BYkYjYHc.js → layers.Nr8OFQ9Q.js} +1 -1
- package/dist/{layers.DOQnNw4P.js → layers.PXIBdI6f.js} +4 -4
- package/dist/{layers.CfjeaqxD.js → layers.Sje02tPF.js} +1 -1
- package/dist/{layers.DnT6uYTX.js → layers.TaMF8RRC.js} +3 -3
- package/dist/{layers.DCrrI7gD.js → layers.U4Fy2bzf.js} +1 -1
- package/dist/{layers.uet-tlcS.js → layers.Um4Nj6x3.js} +1 -1
- package/dist/{layers.reitJiob.js → layers.Weiv2BFe.js} +1 -1
- package/dist/{layers.BVGuxfHO.js → layers.Wh_V2wny.js} +1 -1
- package/dist/{layers.DSXrBu8P.js → layers.Z1RG_vn4.js} +1 -1
- package/dist/{layers.BleIddgC.js → layers._0vhJqn4.js} +1 -1
- package/dist/{layers.ChBoQvD-.js → layers._ybvc8MU.js} +1 -1
- package/dist/{layers.BHCXrTM5.js → layers.aYXrOmhL.js} +1 -1
- package/dist/{layers.Bui5SimU.js → layers.ayO9_Hh2.js} +1 -1
- package/dist/{layers.B5hCT3uh.js → layers.ddcAsdV3.js} +1 -1
- package/dist/{layers.CD4NSEkn.js → layers.e5M94SjB.js} +1 -1
- package/dist/{layers.C_ecnxMx.js → layers.fcJx8OOc.js} +1 -1
- package/dist/{layers.BRLE0Ao_.js → layers.frjmjmZl.js} +1 -1
- package/dist/{layers.S_Vwc3m-.js → layers.gHnho4am.js} +1 -1
- package/dist/{layers.CaAhMzwM.js → layers.hoxTvORW.js} +3 -3
- package/dist/{layers.MRYdIw9V.js → layers.ip9u5SUt.js} +3 -3
- package/dist/{layers.zWCZC9IV.js → layers.jjDSzScB.js} +1 -1
- package/dist/{layers.CYWSt0lD.js → layers.jtAyTyff.js} +1 -1
- package/dist/{layers._foC66m-.js → layers.lvfduckv.js} +1 -1
- package/dist/{layers.BuELnDr9.js → layers.m55x1Mey.js} +1 -1
- package/dist/{layers.991iLM9I.js → layers.mvia0NWR.js} +1 -1
- package/dist/{layers.CVbv_Frf.js → layers.od5kaz6u.js} +1 -1
- package/dist/{layers.Ckh-roID.js → layers.tuQ2Krdp.js} +1 -1
- package/dist/{layers.Bakw__Tk.js → layers.viY_MZCg.js} +1 -1
- package/dist/{layers.DhHnJ_rM.js → layers.xNcU4BHp.js} +1 -1
- package/package.json +1 -1
- package/dist/layers.CHQ0OaXS.js +0 -1
- package/dist/layers.CTH3rPUI.js +0 -8
- package/dist/layers.DyQqkFOF.js +0 -1
- package/dist/layers.o8BmU6vA.js +0 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as g, r as lt, g as b, t as H, d as E, u as j, i as Q, v as V } from "./layers
|
|
2
|
-
import { c as st } from "./layers.
|
|
3
|
-
import { l as ct } from "./layers.
|
|
1
|
+
import { l as g, r as lt, g as b, t as H, d as E, u as j, i as Q, v as V } from "./layers.DF0BRZAB.js";
|
|
2
|
+
import { c as st } from "./layers.CBsbLyV-.js";
|
|
3
|
+
import { l as ct } from "./layers.DZ_QdMF-.js";
|
|
4
4
|
const ht = (a, t, e, i) => {
|
|
5
5
|
t.forEach((l) => {
|
|
6
6
|
wt[l](a, e, i);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const P=require("lodash-es"),J=require("./layers.Cyzu9PKQ.js"),k=require("./layers.BLd2spTm.js"),u=require("./layers.oOeH9puR.js"),i=require("./layers.9bPL8DU9.js"),j=require("./layers.drbaAKDM.js");function G(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const m=G(P);function x(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:M(e),edges:F(e)};return m.isUndefined(e.graph())||(t.value=m.clone(e.graph())),t}function M(e){return m.map(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),s={v:t};return m.isUndefined(n)||(s.value=n),m.isUndefined(r)||(s.parent=r),s})}function F(e){return m.map(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return m.isUndefined(t.name)||(r.name=t.name),m.isUndefined(n)||(r.value=n),r})}let a={},w={},p={};const q=()=>{w={},p={},a={}},X=(e,t)=>(i.log$1.trace("In isDescendant",t," ",e," = ",w[t].includes(e)),!!w[t].includes(e)),_=(e,t)=>(i.log$1.info("Descendants of ",t," is ",w[t]),i.log$1.info("Edge is ",e),e.v===t||e.w===t?!1:w[t]?w[t].includes(e.v)||X(e.v,t)||X(e.w,t)||w[t].includes(e.w):(i.log$1.debug("Tilt, ",t,",not in descendants"),!1)),B=(e,t,n,r)=>{i.log$1.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const s=t.children(e)||[];e!==r&&s.push(e),i.log$1.warn("Copying (nodes) clusterId",e,"nodes",s),s.forEach(o=>{if(t.children(o).length>0)B(o,t,n,r);else{const f=t.node(o);i.log$1.info("cp ",o," to ",r," with parent ",e),n.setNode(o,f),r!==t.parent(o)&&(i.log$1.warn("Setting parent",o,t.parent(o)),n.setParent(o,t.parent(o))),e!==r&&o!==e?(i.log$1.debug("Setting parent",o,e),n.setParent(o,e)):(i.log$1.info("In copy ",e,"root",r,"data",t.node(e),r),i.log$1.debug("Not Setting parent for node=",o,"cluster!==rootId",e!==r,"node!==clusterId",o!==e));const g=t.edges(o);i.log$1.debug("Copying Edges",g),g.forEach(d=>{i.log$1.info("Edge",d);const h=t.edge(d.v,d.w,d.name);i.log$1.info("Edge data",h,r);try{_(d,r)?(i.log$1.info("Copying as ",d.v,d.w,h,d.name),n.setEdge(d.v,d.w,h,d.name),i.log$1.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.log$1.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",r," clusterId:",e)}catch($){i.log$1.error($)}})}i.log$1.debug("Removing node",o),t.removeNode(o)})},D=(e,t)=>{const n=t.children(e);let r=[...n];for(const s of n)p[s]=e,r=[...r,...D(s,t)];return r},C=(e,t)=>{i.log$1.trace("Searching",e);const n=t.children(e);if(i.log$1.trace("Searching children of id ",e,n),n.length<1)return i.log$1.trace("This is a valid node",e),e;for(const r of n){const s=C(r,t);if(s)return i.log$1.trace("Found replacement for",e," => ",s),s}},S=e=>!a[e]||!a[e].externalConnections?e:a[e]?a[e].id:e,U=(e,t)=>{if(!e||t>10){i.log$1.debug("Opting out, no graph ");return}else i.log$1.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.log$1.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),w[n]=D(n,e),a[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),s=e.edges();r.length>0?(i.log$1.debug("Cluster identified",n,w),s.forEach(o=>{if(o.v!==n&&o.w!==n){const f=X(o.v,n),g=X(o.w,n);f^g&&(i.log$1.warn("Edge: ",o," leaves cluster ",n),i.log$1.warn("Descendants of XXX ",n,": ",w[n]),a[n].externalConnections=!0)}})):i.log$1.debug("Not a cluster ",n,w)});for(let n of Object.keys(a)){const r=a[n].id,s=e.parent(r);s!==n&&a[s]&&!a[s].externalConnections&&(a[n].id=s)}e.edges().forEach(function(n){const r=e.edge(n);i.log$1.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.log$1.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let s=n.v,o=n.w;if(i.log$1.warn("Fix XXX",a,"ids:",n.v,n.w,"Translating: ",a[n.v]," --- ",a[n.w]),a[n.v]&&a[n.w]&&a[n.v]===a[n.w]){i.log$1.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),i.log$1.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=S(n.v),o=S(n.w),e.removeEdge(n.v,n.w,n.name);const f=n.w+"---"+n.v;e.setNode(f,{domId:f,id:f,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const g=structuredClone(r),d=structuredClone(r);g.label="",g.arrowTypeEnd="none",d.label="",g.fromCluster=n.v,d.toCluster=n.v,e.setEdge(s,f,g,n.name+"-cyclic-special"),e.setEdge(f,o,d,n.name+"-cyclic-special")}else if(a[n.v]||a[n.w]){if(i.log$1.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=S(n.v),o=S(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v){const f=e.parent(s);a[f].externalConnections=!0,r.fromCluster=n.v}if(o!==n.w){const f=e.parent(o);a[f].externalConnections=!0,r.toCluster=n.w}i.log$1.warn("Fix Replacing with XXX",s,o,n.name),e.setEdge(s,o,r,n.name)}}),i.log$1.warn("Adjusted Graph",x(e)),T(e,0),i.log$1.trace(a)},T=(e,t)=>{if(i.log$1.warn("extractor - ",t,x(e),e.children("D")),t>10){i.log$1.error("Bailing out");return}let n=e.nodes(),r=!1;for(const s of n){const o=e.children(s);r=r||o.length>0}if(!r){i.log$1.debug("Done, no node has children",e.nodes());return}i.log$1.debug("Nodes = ",n,t);for(const s of n)if(i.log$1.debug("Extracting node",s,a,a[s]&&!a[s].externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!a[s])i.log$1.debug("Not a cluster",s,t);else if(!a[s].externalConnections&&e.children(s)&&e.children(s).length>0){i.log$1.warn("Cluster without external connections, without a parent and with children",s,t);let f=e.graph().rankdir==="TB"?"LR":"TB";a[s]&&a[s].clusterData&&a[s].clusterData.dir&&(f=a[s].clusterData.dir,i.log$1.warn("Fixing dir",a[s].clusterData.dir,f));const g=new k.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.log$1.warn("Old graph before copy",x(e)),B(s,e,g,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:a[s].clusterData,labelText:a[s].labelText,graph:g}),i.log$1.warn("New graph after copy node: (",s,")",x(g)),i.log$1.debug("Old graph after copy",x(e))}else i.log$1.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!a[s].externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),i.log$1.debug(a);n=e.nodes(),i.log$1.warn("New list of nodes",n);for(const s of n){const o=e.node(s);i.log$1.warn(" Now next level",s,o),o.clusterNode&&T(o.graph,t+1)}},O=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const s=e.children(r),o=O(e,s);n=[...n,...o]}),n},A=e=>O(e,e.children()),H=(e,t)=>{i.log$1.info("Creating subgraph rect for ",t.id,t);const n=i.getConfig(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),s=r.insert("rect",":first-child"),o=i.evaluate(n.flowchart.htmlLabels),f=r.insert("g").attr("class","cluster-label"),g=t.labelType==="markdown"?j.createText(f,t.labelText,{style:t.labelStyle,useHtmlLabels:o}):f.node().appendChild(u.createLabel$1(t.labelText,t.labelStyle,void 0,!0));let d=g.getBBox();if(i.evaluate(n.flowchart.htmlLabels)){const l=g.children[0],c=i.select(g);d=l.getBoundingClientRect(),c.attr("width",d.width),c.attr("height",d.height)}const h=0*t.padding,$=h/2,y=t.width<=d.width+h?d.width+h:t.width;t.width<=d.width+h?t.diff=(d.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,i.log$1.trace("Data ",t,JSON.stringify(t)),s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-y/2).attr("y",t.y-t.height/2-$).attr("width",y).attr("height",t.height+h);const{subGraphTitleTopMargin:N}=u.getSubGraphTitleMargins(n);o?f.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2+N})`):f.attr("transform",`translate(${t.x}, ${t.y-t.height/2+N})`);const b=s.node().getBBox();return t.width=b.width,t.height=b.height,t.intersect=function(l){return u.intersectRect$1(t,l)},r},V=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,o=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-o).attr("y",t.y-t.height/2-o).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.intersect=function(g){return u.intersectRect$1(t,g)},n},z=(e,t)=>{const n=i.getConfig(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),s=r.insert("rect",":first-child"),o=r.insert("g").attr("class","cluster-label"),f=r.append("rect"),g=o.node().appendChild(u.createLabel$1(t.labelText,t.labelStyle,void 0,!0));let d=g.getBBox();if(i.evaluate(n.flowchart.htmlLabels)){const l=g.children[0],c=i.select(g);d=l.getBoundingClientRect(),c.attr("width",d.width),c.attr("height",d.height)}d=g.getBBox();const h=0*t.padding,$=h/2,y=t.width<=d.width+t.padding?d.width+t.padding:t.width;t.width<=d.width+t.padding?t.diff=(d.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,s.attr("class","outer").attr("x",t.x-y/2-$).attr("y",t.y-t.height/2-$).attr("width",y+h).attr("height",t.height+h),f.attr("class","inner").attr("x",t.x-y/2-$).attr("y",t.y-t.height/2-$+d.height-1).attr("width",y+h).attr("height",t.height+h-d.height-3);const{subGraphTitleTopMargin:N}=u.getSubGraphTitleMargins(n);o.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2-t.padding/3+(i.evaluate(n.flowchart.htmlLabels)?5:3)+N})`);const b=s.node().getBBox();return t.height=b.height,t.intersect=function(l){return u.intersectRect$1(t,l)},r},W=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,o=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-o).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.diff=-t.padding/2,t.intersect=function(g){return u.intersectRect$1(t,g)},n},K={rect:H,roundedWithTitle:z,noteGroup:V,divider:W};let R={};const Q=(e,t)=>{i.log$1.trace("Inserting cluster");const n=t.shape||"rect";R[t.id]=K[n](e,t)},Y=()=>{R={}},L=async(e,t,n,r,s,o)=>{i.log$1.info("Graph in recursive render: XXX",x(t),s);const f=t.graph().rankdir;i.log$1.trace("Dir in recursive render - dir:",f);const g=e.insert("g").attr("class","root");t.nodes()?i.log$1.info("Recursive render XXX",t.nodes()):i.log$1.info("No nodes found for",t),t.edges().length>0&&i.log$1.trace("Recursive edges",t.edge(t.edges()[0]));const d=g.insert("g").attr("class","clusters"),h=g.insert("g").attr("class","edgePaths"),$=g.insert("g").attr("class","edgeLabels"),y=g.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(l){const c=t.node(l);if(s!==void 0){const v=JSON.parse(JSON.stringify(s.clusterData));i.log$1.info("Setting data for cluster XXX (",l,") ",v,s),t.setNode(s.id,v),t.parent(l)||(i.log$1.trace("Setting parent",l,s.id),t.setParent(l,s.id,v))}if(i.log$1.info("(Insert) Node XXX"+l+": "+JSON.stringify(t.node(l))),c&&c.clusterNode){i.log$1.info("Cluster identified",l,c.width,t.node(l));const v=await L(y,c.graph,n,r,t.node(l),o),E=v.elem;u.updateNodeBounds(c,E),c.diff=v.diff||0,i.log$1.info("Node bounds (abc123)",l,c,c.width,c.x,c.y),u.setNodeElem(E,c),i.log$1.warn("Recursive render complete ",E,c)}else t.children(l).length>0?(i.log$1.info("Cluster - the non recursive path XXX",l,c.id,c,t),i.log$1.info(C(c.id,t)),a[c.id]={id:C(c.id,t),node:c}):(i.log$1.info("Node - the non recursive path",l,c.id,c),await u.insertNode(y,t.node(l),f))})),t.edges().forEach(function(l){const c=t.edge(l.v,l.w,l.name);i.log$1.info("Edge "+l.v+" -> "+l.w+": "+JSON.stringify(l)),i.log$1.info("Edge "+l.v+" -> "+l.w+": ",l," ",JSON.stringify(t.edge(l))),i.log$1.info("Fix",a,"ids:",l.v,l.w,"Translating: ",a[l.v],a[l.w]),u.insertEdgeLabel($,c)}),t.edges().forEach(function(l){i.log$1.info("Edge "+l.v+" -> "+l.w+": "+JSON.stringify(l))}),i.log$1.info("#############################################"),i.log$1.info("### Layout ###"),i.log$1.info("#############################################"),i.log$1.info(t),J.layout(t),i.log$1.info("Graph after layout:",x(t));let N=0;const{subGraphTitleTotalMargin:b}=u.getSubGraphTitleMargins(o);return A(t).forEach(function(l){const c=t.node(l);i.log$1.info("Position "+l+": "+JSON.stringify(t.node(l))),i.log$1.info("Position "+l+": ("+c.x,","+c.y,") width: ",c.width," height: ",c.height),c&&c.clusterNode?(c.y+=b,u.positionNode(c)):t.children(l).length>0?(c.height+=b,Q(d,c),a[c.id].node=c):(c.y+=b/2,u.positionNode(c))}),t.edges().forEach(function(l){const c=t.edge(l);i.log$1.info("Edge "+l.v+" -> "+l.w+": "+JSON.stringify(c),c),c.points.forEach(E=>E.y+=b/2);const v=u.insertEdge(h,l,c,a,n,t,r);u.positionEdgeLabel(c,v)}),t.nodes().forEach(function(l){const c=t.node(l);i.log$1.info(l,c.type,c.diff),c.type==="group"&&(N=c.diff)}),{elem:g,diff:N}},Z=async(e,t,n,r,s)=>{u.insertMarkers$1(e,n,r,s),u.clear$1(),u.clear(),Y(),q(),i.log$1.warn("Graph at first:",JSON.stringify(x(t))),U(t),i.log$1.warn("Graph after:",JSON.stringify(x(t)));const o=i.getConfig();await L(e,t,r,s,void 0,o)};exports.render=Z;
|
|
1
|
+
"use strict";const P=require("lodash-es"),J=require("./layers.Cyzu9PKQ.js"),k=require("./layers.BLd2spTm.js"),u=require("./layers.Cw1gO4qJ.js"),i=require("./layers.DigbzCMW.js"),j=require("./layers.BH0fD64F.js");function G(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const m=G(P);function x(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:M(e),edges:F(e)};return m.isUndefined(e.graph())||(t.value=m.clone(e.graph())),t}function M(e){return m.map(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),s={v:t};return m.isUndefined(n)||(s.value=n),m.isUndefined(r)||(s.parent=r),s})}function F(e){return m.map(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return m.isUndefined(t.name)||(r.name=t.name),m.isUndefined(n)||(r.value=n),r})}let a={},w={},p={};const q=()=>{w={},p={},a={}},X=(e,t)=>(i.log$1.trace("In isDescendant",t," ",e," = ",w[t].includes(e)),!!w[t].includes(e)),_=(e,t)=>(i.log$1.info("Descendants of ",t," is ",w[t]),i.log$1.info("Edge is ",e),e.v===t||e.w===t?!1:w[t]?w[t].includes(e.v)||X(e.v,t)||X(e.w,t)||w[t].includes(e.w):(i.log$1.debug("Tilt, ",t,",not in descendants"),!1)),B=(e,t,n,r)=>{i.log$1.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const s=t.children(e)||[];e!==r&&s.push(e),i.log$1.warn("Copying (nodes) clusterId",e,"nodes",s),s.forEach(o=>{if(t.children(o).length>0)B(o,t,n,r);else{const f=t.node(o);i.log$1.info("cp ",o," to ",r," with parent ",e),n.setNode(o,f),r!==t.parent(o)&&(i.log$1.warn("Setting parent",o,t.parent(o)),n.setParent(o,t.parent(o))),e!==r&&o!==e?(i.log$1.debug("Setting parent",o,e),n.setParent(o,e)):(i.log$1.info("In copy ",e,"root",r,"data",t.node(e),r),i.log$1.debug("Not Setting parent for node=",o,"cluster!==rootId",e!==r,"node!==clusterId",o!==e));const g=t.edges(o);i.log$1.debug("Copying Edges",g),g.forEach(d=>{i.log$1.info("Edge",d);const h=t.edge(d.v,d.w,d.name);i.log$1.info("Edge data",h,r);try{_(d,r)?(i.log$1.info("Copying as ",d.v,d.w,h,d.name),n.setEdge(d.v,d.w,h,d.name),i.log$1.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.log$1.info("Skipping copy of edge ",d.v,"-->",d.w," rootId: ",r," clusterId:",e)}catch($){i.log$1.error($)}})}i.log$1.debug("Removing node",o),t.removeNode(o)})},D=(e,t)=>{const n=t.children(e);let r=[...n];for(const s of n)p[s]=e,r=[...r,...D(s,t)];return r},C=(e,t)=>{i.log$1.trace("Searching",e);const n=t.children(e);if(i.log$1.trace("Searching children of id ",e,n),n.length<1)return i.log$1.trace("This is a valid node",e),e;for(const r of n){const s=C(r,t);if(s)return i.log$1.trace("Found replacement for",e," => ",s),s}},S=e=>!a[e]||!a[e].externalConnections?e:a[e]?a[e].id:e,U=(e,t)=>{if(!e||t>10){i.log$1.debug("Opting out, no graph ");return}else i.log$1.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.log$1.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),w[n]=D(n,e),a[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),s=e.edges();r.length>0?(i.log$1.debug("Cluster identified",n,w),s.forEach(o=>{if(o.v!==n&&o.w!==n){const f=X(o.v,n),g=X(o.w,n);f^g&&(i.log$1.warn("Edge: ",o," leaves cluster ",n),i.log$1.warn("Descendants of XXX ",n,": ",w[n]),a[n].externalConnections=!0)}})):i.log$1.debug("Not a cluster ",n,w)});for(let n of Object.keys(a)){const r=a[n].id,s=e.parent(r);s!==n&&a[s]&&!a[s].externalConnections&&(a[n].id=s)}e.edges().forEach(function(n){const r=e.edge(n);i.log$1.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.log$1.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let s=n.v,o=n.w;if(i.log$1.warn("Fix XXX",a,"ids:",n.v,n.w,"Translating: ",a[n.v]," --- ",a[n.w]),a[n.v]&&a[n.w]&&a[n.v]===a[n.w]){i.log$1.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),i.log$1.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=S(n.v),o=S(n.w),e.removeEdge(n.v,n.w,n.name);const f=n.w+"---"+n.v;e.setNode(f,{domId:f,id:f,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const g=structuredClone(r),d=structuredClone(r);g.label="",g.arrowTypeEnd="none",d.label="",g.fromCluster=n.v,d.toCluster=n.v,e.setEdge(s,f,g,n.name+"-cyclic-special"),e.setEdge(f,o,d,n.name+"-cyclic-special")}else if(a[n.v]||a[n.w]){if(i.log$1.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),s=S(n.v),o=S(n.w),e.removeEdge(n.v,n.w,n.name),s!==n.v){const f=e.parent(s);a[f].externalConnections=!0,r.fromCluster=n.v}if(o!==n.w){const f=e.parent(o);a[f].externalConnections=!0,r.toCluster=n.w}i.log$1.warn("Fix Replacing with XXX",s,o,n.name),e.setEdge(s,o,r,n.name)}}),i.log$1.warn("Adjusted Graph",x(e)),T(e,0),i.log$1.trace(a)},T=(e,t)=>{if(i.log$1.warn("extractor - ",t,x(e),e.children("D")),t>10){i.log$1.error("Bailing out");return}let n=e.nodes(),r=!1;for(const s of n){const o=e.children(s);r=r||o.length>0}if(!r){i.log$1.debug("Done, no node has children",e.nodes());return}i.log$1.debug("Nodes = ",n,t);for(const s of n)if(i.log$1.debug("Extracting node",s,a,a[s]&&!a[s].externalConnections,!e.parent(s),e.node(s),e.children("D")," Depth ",t),!a[s])i.log$1.debug("Not a cluster",s,t);else if(!a[s].externalConnections&&e.children(s)&&e.children(s).length>0){i.log$1.warn("Cluster without external connections, without a parent and with children",s,t);let f=e.graph().rankdir==="TB"?"LR":"TB";a[s]&&a[s].clusterData&&a[s].clusterData.dir&&(f=a[s].clusterData.dir,i.log$1.warn("Fixing dir",a[s].clusterData.dir,f));const g=new k.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:f,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.log$1.warn("Old graph before copy",x(e)),B(s,e,g,s),e.setNode(s,{clusterNode:!0,id:s,clusterData:a[s].clusterData,labelText:a[s].labelText,graph:g}),i.log$1.warn("New graph after copy node: (",s,")",x(g)),i.log$1.debug("Old graph after copy",x(e))}else i.log$1.warn("Cluster ** ",s," **not meeting the criteria !externalConnections:",!a[s].externalConnections," no parent: ",!e.parent(s)," children ",e.children(s)&&e.children(s).length>0,e.children("D"),t),i.log$1.debug(a);n=e.nodes(),i.log$1.warn("New list of nodes",n);for(const s of n){const o=e.node(s);i.log$1.warn(" Now next level",s,o),o.clusterNode&&T(o.graph,t+1)}},O=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const s=e.children(r),o=O(e,s);n=[...n,...o]}),n},A=e=>O(e,e.children()),H=(e,t)=>{i.log$1.info("Creating subgraph rect for ",t.id,t);const n=i.getConfig(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),s=r.insert("rect",":first-child"),o=i.evaluate(n.flowchart.htmlLabels),f=r.insert("g").attr("class","cluster-label"),g=t.labelType==="markdown"?j.createText(f,t.labelText,{style:t.labelStyle,useHtmlLabels:o}):f.node().appendChild(u.createLabel$1(t.labelText,t.labelStyle,void 0,!0));let d=g.getBBox();if(i.evaluate(n.flowchart.htmlLabels)){const l=g.children[0],c=i.select(g);d=l.getBoundingClientRect(),c.attr("width",d.width),c.attr("height",d.height)}const h=0*t.padding,$=h/2,y=t.width<=d.width+h?d.width+h:t.width;t.width<=d.width+h?t.diff=(d.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,i.log$1.trace("Data ",t,JSON.stringify(t)),s.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-y/2).attr("y",t.y-t.height/2-$).attr("width",y).attr("height",t.height+h);const{subGraphTitleTopMargin:N}=u.getSubGraphTitleMargins(n);o?f.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2+N})`):f.attr("transform",`translate(${t.x}, ${t.y-t.height/2+N})`);const b=s.node().getBBox();return t.width=b.width,t.height=b.height,t.intersect=function(l){return u.intersectRect$1(t,l)},r},V=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,o=s/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-o).attr("y",t.y-t.height/2-o).attr("width",t.width+s).attr("height",t.height+s).attr("fill","none");const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.intersect=function(g){return u.intersectRect$1(t,g)},n},z=(e,t)=>{const n=i.getConfig(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),s=r.insert("rect",":first-child"),o=r.insert("g").attr("class","cluster-label"),f=r.append("rect"),g=o.node().appendChild(u.createLabel$1(t.labelText,t.labelStyle,void 0,!0));let d=g.getBBox();if(i.evaluate(n.flowchart.htmlLabels)){const l=g.children[0],c=i.select(g);d=l.getBoundingClientRect(),c.attr("width",d.width),c.attr("height",d.height)}d=g.getBBox();const h=0*t.padding,$=h/2,y=t.width<=d.width+t.padding?d.width+t.padding:t.width;t.width<=d.width+t.padding?t.diff=(d.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,s.attr("class","outer").attr("x",t.x-y/2-$).attr("y",t.y-t.height/2-$).attr("width",y+h).attr("height",t.height+h),f.attr("class","inner").attr("x",t.x-y/2-$).attr("y",t.y-t.height/2-$+d.height-1).attr("width",y+h).attr("height",t.height+h-d.height-3);const{subGraphTitleTopMargin:N}=u.getSubGraphTitleMargins(n);o.attr("transform",`translate(${t.x-d.width/2}, ${t.y-t.height/2-t.padding/3+(i.evaluate(n.flowchart.htmlLabels)?5:3)+N})`);const b=s.node().getBBox();return t.height=b.height,t.intersect=function(l){return u.intersectRect$1(t,l)},r},W=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),s=0*t.padding,o=s/2;r.attr("class","divider").attr("x",t.x-t.width/2-o).attr("y",t.y-t.height/2).attr("width",t.width+s).attr("height",t.height+s);const f=r.node().getBBox();return t.width=f.width,t.height=f.height,t.diff=-t.padding/2,t.intersect=function(g){return u.intersectRect$1(t,g)},n},K={rect:H,roundedWithTitle:z,noteGroup:V,divider:W};let R={};const Q=(e,t)=>{i.log$1.trace("Inserting cluster");const n=t.shape||"rect";R[t.id]=K[n](e,t)},Y=()=>{R={}},L=async(e,t,n,r,s,o)=>{i.log$1.info("Graph in recursive render: XXX",x(t),s);const f=t.graph().rankdir;i.log$1.trace("Dir in recursive render - dir:",f);const g=e.insert("g").attr("class","root");t.nodes()?i.log$1.info("Recursive render XXX",t.nodes()):i.log$1.info("No nodes found for",t),t.edges().length>0&&i.log$1.trace("Recursive edges",t.edge(t.edges()[0]));const d=g.insert("g").attr("class","clusters"),h=g.insert("g").attr("class","edgePaths"),$=g.insert("g").attr("class","edgeLabels"),y=g.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(l){const c=t.node(l);if(s!==void 0){const v=JSON.parse(JSON.stringify(s.clusterData));i.log$1.info("Setting data for cluster XXX (",l,") ",v,s),t.setNode(s.id,v),t.parent(l)||(i.log$1.trace("Setting parent",l,s.id),t.setParent(l,s.id,v))}if(i.log$1.info("(Insert) Node XXX"+l+": "+JSON.stringify(t.node(l))),c&&c.clusterNode){i.log$1.info("Cluster identified",l,c.width,t.node(l));const v=await L(y,c.graph,n,r,t.node(l),o),E=v.elem;u.updateNodeBounds(c,E),c.diff=v.diff||0,i.log$1.info("Node bounds (abc123)",l,c,c.width,c.x,c.y),u.setNodeElem(E,c),i.log$1.warn("Recursive render complete ",E,c)}else t.children(l).length>0?(i.log$1.info("Cluster - the non recursive path XXX",l,c.id,c,t),i.log$1.info(C(c.id,t)),a[c.id]={id:C(c.id,t),node:c}):(i.log$1.info("Node - the non recursive path",l,c.id,c),await u.insertNode(y,t.node(l),f))})),t.edges().forEach(function(l){const c=t.edge(l.v,l.w,l.name);i.log$1.info("Edge "+l.v+" -> "+l.w+": "+JSON.stringify(l)),i.log$1.info("Edge "+l.v+" -> "+l.w+": ",l," ",JSON.stringify(t.edge(l))),i.log$1.info("Fix",a,"ids:",l.v,l.w,"Translating: ",a[l.v],a[l.w]),u.insertEdgeLabel($,c)}),t.edges().forEach(function(l){i.log$1.info("Edge "+l.v+" -> "+l.w+": "+JSON.stringify(l))}),i.log$1.info("#############################################"),i.log$1.info("### Layout ###"),i.log$1.info("#############################################"),i.log$1.info(t),J.layout(t),i.log$1.info("Graph after layout:",x(t));let N=0;const{subGraphTitleTotalMargin:b}=u.getSubGraphTitleMargins(o);return A(t).forEach(function(l){const c=t.node(l);i.log$1.info("Position "+l+": "+JSON.stringify(t.node(l))),i.log$1.info("Position "+l+": ("+c.x,","+c.y,") width: ",c.width," height: ",c.height),c&&c.clusterNode?(c.y+=b,u.positionNode(c)):t.children(l).length>0?(c.height+=b,Q(d,c),a[c.id].node=c):(c.y+=b/2,u.positionNode(c))}),t.edges().forEach(function(l){const c=t.edge(l);i.log$1.info("Edge "+l.v+" -> "+l.w+": "+JSON.stringify(c),c),c.points.forEach(E=>E.y+=b/2);const v=u.insertEdge(h,l,c,a,n,t,r);u.positionEdgeLabel(c,v)}),t.nodes().forEach(function(l){const c=t.node(l);i.log$1.info(l,c.type,c.diff),c.type==="group"&&(N=c.diff)}),{elem:g,diff:N}},Z=async(e,t,n,r,s)=>{u.insertMarkers$1(e,n,r,s),u.clear$1(),u.clear(),Y(),q(),i.log$1.warn("Graph at first:",JSON.stringify(x(t))),U(t),i.log$1.warn("Graph after:",JSON.stringify(x(t)));const o=i.getConfig();await L(e,t,r,s,void 0,o)};exports.render=Z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./layers.DPJK2k8a.js");exports.decodePngMetadata=e.iC;exports.encodePngMetadata=e._p;exports.getTEXtChunk=e.X9;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { J as Sn } from "./layers.
|
|
2
|
-
import { au as Qe, av as _n, aw as je, ax as $e, ay as Je, az as ne, aA as Yn, a as Un, s as Fn, n as An, o as En, b as Ln, c as Wn, g as Dt, d as Rt, e as In, aB as nt, l as $t, j as On, q as Hn, u as Nn } from "./layers
|
|
3
|
-
import { n as Te } from "./layers.
|
|
4
|
-
import { b as Vn, t as Fe, c as Pn, a as zn, l as Rn } from "./layers.
|
|
1
|
+
import { J as Sn } from "./layers.DBGXVlH-.js";
|
|
2
|
+
import { au as Qe, av as _n, aw as je, ax as $e, ay as Je, az as ne, aA as Yn, a as Un, s as Fn, n as An, o as En, b as Ln, c as Wn, g as Dt, d as Rt, e as In, aB as nt, l as $t, j as On, q as Hn, u as Nn } from "./layers.DF0BRZAB.js";
|
|
3
|
+
import { n as Te } from "./layers.CUrS8ket.js";
|
|
4
|
+
import { b as Vn, t as Fe, c as Pn, a as zn, l as Rn } from "./layers.B7TiubGs.js";
|
|
5
5
|
import { i as Bn } from "./layers.DjUOC4st.js";
|
|
6
6
|
function qn(t, e) {
|
|
7
7
|
let n;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.DBGXVlH-.js";
|
|
2
2
|
var e = { paste: "Pegar", pasteAsPlaintext: "Pegar coma texto sen formato", pasteCharts: "Pegar gráficos", selectAll: "Seleccionar todo", multiSelect: "Engadir elemento á selección", moveCanvas: "Mover o lenzo", cut: "Cortar", copy: "Copiar", copyAsPng: "Copiar no portapapeis como PNG", copyAsSvg: "Copiar no portapapeis como SVG", copyText: "Copia no portapapeis como texto", copySource: "", convertToCode: "", bringForward: "Traer cara adiante", sendToBack: "Enviar cara atrás", bringToFront: "Traer á fronte", sendBackward: "Enviar ao fondo", delete: "Borrar", copyStyles: "Copiar estilo", pasteStyles: "Pegar estilo", stroke: "Trazo", background: "Fondo", fill: "Recheo", strokeWidth: "Largo do trazo", strokeStyle: "Estilo do trazo", strokeStyle_solid: "Sólido", strokeStyle_dashed: "Liña de trazos", strokeStyle_dotted: "Liña de puntos", sloppiness: "Estilo de trazo", opacity: "Opacidade", textAlign: "Aliñar texto", edges: "Bordos", sharp: "Agudo", round: "Redondo", arrowheads: "Puntas de frecha", arrowhead_none: "Ningunha", arrowhead_arrow: "Frecha", arrowhead_bar: "Barra", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Triángulo", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Tamaño da fonte", fontFamily: "Tipo de fonte", addWatermark: 'Engadir "Feito con Excalidraw"', handDrawn: "Debuxado a man", normal: "Normal", code: "Código", small: "Pequeno", medium: "Mediano", large: "Grande", veryLarge: "Moi grande", solid: "Sólido", hachure: "Folleto", zigzag: "Zigzag", crossHatch: "Raiado transversal", thin: "Estreito", bold: "Groso", left: "Esquerda", center: "Centrado", right: "Dereita", extraBold: "Moi groso", architect: "Arquitecto", artist: "Artista", cartoonist: "Caricatura", fileTitle: "Nome do arquivo", colorPicker: "Selector de cor", canvasColors: "Usado en lenzo", canvasBackground: "Fondo do lenzo", drawingCanvas: "Lenzo de debuxo", layers: "Capas", actions: "Accións", language: "Idioma", liveCollaboration: "Colaboración en directo...", duplicateSelection: "Duplicar", untitled: "Sen título", name: "Nome", yourName: "O teu nome", madeWithExcalidraw: "Feito con Excalidraw", group: "Agrupar selección", ungroup: "Desagrupar selección", collaborators: "Colaboradores", showGrid: "Mostrar cuadrícula", addToLibrary: "Engadir á biblioteca", removeFromLibrary: "Eliminar da biblioteca", libraryLoadingMessage: "Cargando biblioteca…", libraries: "Explorar bibliotecas", loadingScene: "Cargando escena…", align: "Aliñamento", alignTop: "Aliñamento superior", alignBottom: "Aliñamento inferior", alignLeft: "Aliñar a esquerda", alignRight: "Aliñar a dereita", centerVertically: "Centrar verticalmente", centerHorizontally: "Centrar horizontalmente", distributeHorizontally: "Distribuír horizontalmente", distributeVertically: "Distribuír verticalmente", flipHorizontal: "Virar horizontalmente", flipVertical: "Virar verticalmente", viewMode: "Modo de visualización", share: "Compartir", showStroke: "Mostrar selector de cores do trazo", showBackground: "Mostrar selector de cores do fondo", toggleTheme: "Alternar tema", personalLib: "Biblioteca Persoal", excalidrawLib: "Biblioteca Excalidraw", decreaseFontSize: "Diminuír tamaño da fonte", increaseFontSize: "Aumentar o tamaño da fonte", unbindText: "Desvincular texto", bindText: "Ligar o texto ao contedor", createContainerFromText: "Envolver o texto nun contedor", link: { edit: "Editar ligazón", editEmbed: "", create: "Crear ligazón", createEmbed: "", label: "Ligazón", labelEmbed: "", empty: "" }, lineEditor: { edit: "Editar liña", exit: "Saír do editor de liñas" }, elementLock: { lock: "Bloquear", unlock: "Desbloquear", lockAll: "Bloquear todo", unlockAll: "Desbloquear todo" }, statusPublished: "Publicado", sidebarLock: "Manter a barra lateral aberta", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, a = { noItems: "Aínda non hai elementos engadidos...", hint_emptyLibrary: "Seleccione un elemento no lenzo para engadilo aquí, ou instale unha biblioteca dende o repositorio público, como se detalla a continuación.", hint_emptyPrivateLibrary: "Seleccione un elemento do lenzo para engadilo aquí." }, o = { clearReset: "Limpar o lenzo", exportJSON: "Exportar a arquivo", exportImage: "Exportar imaxe...", export: "Gardar en...", copyToClipboard: "Copiar ao portapapeis", save: "Gardar no ficheiro actual", saveAs: "Gardar como", load: "Abrir", getShareableLink: "Obter unha ligazón que se poida compartir", close: "Pechar", selectLanguage: "Seleccionar idioma", scrollBackToContent: "Volver ao contido", zoomIn: "Ampliar", zoomOut: "Reducir", resetZoom: "Reiniciar zoom", menu: "Menú", done: "Feito", edit: "Editar", undo: "Desfacer", redo: "Refacer", resetLibrary: "Reiniciar biblioteca", createNewRoom: "Crear nova sala", fullScreen: "Pantalla completa", darkMode: "Modo escuro", lightMode: "Modo claro", zenMode: "Modo zen", objectsSnapMode: "", exitZenMode: "Saír do modo zen", cancel: "Cancelar", clear: "Limpar", remove: "Eliminar", embed: "", publishLibrary: "Publicar", submit: "Enviar", confirm: "Confirmar", embeddableInteractionButton: "Faga clic para interactuar" }, r = { clearReset: "Isto limpará todo o lenzo. Estás seguro?", couldNotCreateShareableLink: "Non se puido crear unha ligazón para compartir.", couldNotCreateShareableLinkTooBig: "Non se puido crear a ligazón para compartir: a escena é demasiado grande", couldNotLoadInvalidFile: "Non se puido cargar o ficheiro non válido", importBackendFailed: "A importación dende o backend fallou.", cannotExportEmptyCanvas: "Non se pode exportar un lenzo baleiro.", couldNotCopyToClipboard: "Non se puido copiar ao portapapeis.", decryptFailed: "Non se poideron descifrar os datos.", uploadedSecurly: "A carga foi asegurada con cifrado de extremo a extremo, o que significa que o servidor de Excalidraw e terceiros non poden ler o contido.", loadSceneOverridePrompt: "A carga dun debuxo externo substituirá o contido existente. Desexa continuar?", collabStopOverridePrompt: `Deter a sesión, sobrescribirá o seu debuxo local previamente almacenado. Está seguro?
|
|
3
3
|
|
|
4
4
|
(Se quere manter o seu debuxo local, simplemente peche a lapela do navegador.)`, errorAddingToLibrary: "Non se puido engadir o elemento á biblioteca", errorRemovingFromLibrary: "Non se puido eliminar o elemento da biblioteca", confirmAddLibrary: "Isto engadirá {{numShapes}} forma(s) a túa biblioteca. Estás seguro?", imageDoesNotContainScene: "Esta imaxe non parece conter ningún dato da escena. Activou a inserción de escenas durante a exportación?", cannotRestoreFromImage: "Non se puido restaurar a escena dende este arquivo de imaxe", invalidSceneUrl: "Non se puido importar a escena dende a URL proporcionada. Ou ben está malformada ou non contén un JSON con información válida para Excalidraw.", resetLibrary: "Isto limpará a súa biblioteca. Está seguro?", removeItemsFromsLibrary: "Eliminar {{count}} elemento(s) da biblioteca?", invalidEncryptionKey: "A clave de cifrado debe ter 22 caracteres. A colaboración en directo está desactivada.", collabOfflineWarning: `Non hai conexión a Internet dispoñible.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.DBGXVlH-.js";
|
|
2
2
|
var e = { paste: "Senṭeḍ", pasteAsPlaintext: "", pasteCharts: "Senṭeḍ udlifen", selectAll: "Fren akk", multiSelect: "Rnu aferdis ɣer tefrayt", moveCanvas: "Smutti taɣzut n usuneɣ", cut: "Gzem", copy: "Nɣel", copyAsPng: "Nɣel ɣer tecfawit am PNG", copyAsSvg: "Nɣel ɣer tecfawit am SVG", copyText: "Nɣel ɣer tecfawit am uḍris", copySource: "", convertToCode: "", bringForward: "Awi ɣer sdat", sendToBack: "Awi s agilal", bringToFront: "Err ɣer deffir", sendBackward: "Awi ɣer deffir", delete: "Kkes", copyStyles: "Nɣel iɣunab", pasteStyles: "Senṭeḍ iɣunab", stroke: "Azizdew", background: "Agilal", fill: "Taččart", strokeWidth: "Tehri n yizirig", strokeStyle: "Aɣanib n tizirig", strokeStyle_solid: "Aččuran", strokeStyle_dashed: "S tjerriḍin", strokeStyle_dotted: "S tenqiḍin", sloppiness: "Astehzi", opacity: "Tiḍullest", textAlign: "Areyyec n uḍris", edges: "Leryuf", sharp: "Yemsed", round: "Imdewer", arrowheads: "Ixfawen n tenccabt", arrowhead_none: "Ulac", arrowhead_arrow: "Taneccabt", arrowhead_bar: "Afeggag", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Akerdis", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Tiddi n tsefsit", fontFamily: "Tawacult n tsefsiyin", addWatermark: 'Seddu "Yettwaxdem s Excalidraw"', handDrawn: "Asuneɣ s ufus", normal: "Amagnu", code: "Tangalt", small: "Meẓẓi", medium: "Alemmas", large: "Ameqran", veryLarge: "Meqqer aṭas", solid: "Aččuran", hachure: "Azerreg", zigzag: "", crossHatch: "Azerreg anmidag", thin: "Arqaq", bold: "Azuran", left: "Azelmaḍ", center: "Talemmast", right: "Ayfus", extraBold: "Azuran aṭas", architect: "Amasdag", artist: "Anaẓur", cartoonist: "Amefɣul", fileTitle: "Isem n ufaylu", colorPicker: "Amafran n yini", canvasColors: "Yettwaseqdec di teɣzut n usuneɣ", canvasBackground: "Agilal n teɣzut n usuneɣ", drawingCanvas: "Taɣzut n usuneɣ", layers: "Tissiyin", actions: "Tigawin", language: "Tutlayt", liveCollaboration: "Amɛiwen s srid...", duplicateSelection: "Sisleg", untitled: "War azwel", name: "Isem", yourName: "Isem-ik (im)", madeWithExcalidraw: "Yettwaxdem s Excalidraw", group: "Segrew tafrayt", ungroup: "Kkess asegrew i tefrayt", collaborators: "Imɛiwnen", showGrid: "Beqqeḍ aferrug", addToLibrary: "Rnu ɣer temkarḍit", removeFromLibrary: "Kkes si temkarḍit", libraryLoadingMessage: "Asali n temkarḍit…", libraries: "Snirem timkarḍiyin", loadingScene: "Asali n usayes…", align: "Reyyec", alignTop: "Areyyec uksawen", alignBottom: "Areyyec ukessar", alignLeft: "Reyyec s azelmaḍ", alignRight: "Areyyec s ayfus", centerVertically: "Di tlemmast s ibeddi", centerHorizontally: "Di tlemmast s uglawi", distributeHorizontally: "Freq s uglawi", distributeVertically: "Freq s yibeddi", flipHorizontal: "Tuttya taglawant", flipVertical: "Tuttya tubdidt", viewMode: "Askar n tmuɣli", share: "Bḍu", showStroke: "Beqqeḍ amelqaḍ n yini n yizirig", showBackground: "Beqqeḍ amelqaḍ n yini n ugilal", toggleTheme: "Snifel asentel", personalLib: "Tamkarḍit tudmawant", excalidrawLib: "Tamkarḍit n Excalidraw", decreaseFontSize: "Senqes tiddi n tsefsit", increaseFontSize: "Sali tiddi n tsefsit", unbindText: "Serreḥ iweḍris", bindText: "Arez aḍris s anagbar", createContainerFromText: "", link: { edit: "Ẓreg aseɣwen", editEmbed: "", create: "Snulfu-d aseɣwen", createEmbed: "", label: "Aseɣwen", labelEmbed: "", empty: "" }, lineEditor: { edit: "Ẓreg izirig", exit: "Ffeɣ seg umaẓrag n yizirig" }, elementLock: { lock: "Sekkeṛ", unlock: "Serreḥ", lockAll: "Sekkeṛ akk", unlockAll: "Serreḥ akk" }, statusPublished: "Yeffeɣ-d", sidebarLock: "Eǧǧ afeggag n yidis yeldi", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, a = { noItems: "Ulac iferdisen yettwarnan yakan...", hint_emptyLibrary: "Fren aferdis di teɣzut nusuneɣ akken at-ternuḍ dagi, neɣ sbedd tamkarḍit seg usarsay azayez, ukessar-agi.", hint_emptyPrivateLibrary: "Fren aferdis di teɣzut nusuneɣ akken at-ternuḍ dagi." }, u = { clearReset: "Ales awennez n teɣzut n usuneɣ", exportJSON: "Sifeḍ afaylu", exportImage: "Sifeḍ tugna...", export: "Sekles di...", copyToClipboard: "Nɣel ɣer tecfawit", save: "Sekles deg ufaylu amiran", saveAs: "Sekles am", load: "Ldi", getShareableLink: "Awi-d aseɣwen n beṭṭu", close: "Mdel", selectLanguage: "Fren tutlayt", scrollBackToContent: "Uɣal s agbur", zoomIn: "Simɣur", zoomOut: "Simẓi", resetZoom: "Ales awennez n usemɣer", menu: "Umuɣ", done: "Ifukk", edit: "Ẓreg", undo: "Sefsex", redo: "Err-d", resetLibrary: "Ales awennez n temkarḍit", createNewRoom: "Snulfu-d taxxamt tamaynutt", fullScreen: "Agdil aččuran", darkMode: "Askar imsulles", lightMode: "Askar afaw", zenMode: "Askar Zen", objectsSnapMode: "", exitZenMode: "Ffeɣ seg uskar Zen", cancel: "Sefsex", clear: "Sfeḍ", remove: "Kkes", embed: "", publishLibrary: "Ẓreg", submit: "Azen", confirm: "Sentem", embeddableInteractionButton: "" }, t = { clearReset: "Ayagi ad isfeḍ akk taɣzut n usuneɣ. Tetḥeqqeḍ?", couldNotCreateShareableLink: "D awezɣi asnulfu n useɣwen n beṭṭu.", couldNotCreateShareableLinkTooBig: "D awezɣi asnulfu n useɣwen n beṭṭu. Asayes ɣezzif aṭas", couldNotLoadInvalidFile: "D awezɣi asali n ufaylu armeɣtu", importBackendFailed: "Takterḍ seg uɣawas n deffir ur teddi ara.", cannotExportEmptyCanvas: "D awezɣi asifeḍ n teɣzut n usuneɣ tilemt.", couldNotCopyToClipboard: "Ulamek anɣal ɣer tecfawit.", decryptFailed: "D awezɣi tukksa n uwgelhen i yisefka.", uploadedSecurly: "Asili yettwasɣelles s uwgelhen ixef s ixef, ayagi yebɣa ad d-yini belli aqeddac n Excalidraw akked medden ur zmiren ara ad ɣren agbur.", loadSceneOverridePrompt: "Asali n wunuɣ uffiɣ ad isemselsi agbur-inek (m) yellan. Tebɣiḍ ad tkemmeleḍ?", collabStopOverridePrompt: `Aḥbas n tɣimit ad yesefsex unuɣ-inek (m) yettwaḥerzen yakan s wudem adigan. Tetḥeqqeḍ?
|
|
3
3
|
(Ma tebɣiḍ ad teǧǧeḍ unuɣ-inek (m) adigan, mdel iccer n yiminig, deg umḍiq.)`, errorAddingToLibrary: "Ulamek ara yettwarnu uferdis ɣer temkarḍit", errorRemovingFromLibrary: "Ulamek ara yettwakkes uferdis si temkarḍit", confirmAddLibrary: "Ayagi adirnu talɣa (win) {{numShapes}} ɣer temkarḍit-inek (m). Tetḥeqqeḍ?", imageDoesNotContainScene: "Tugna-agi tettban-d ur tesɛi ara isefka n usayes. Tesremdeḍ aseddu n usayes deg usifeḍ?", cannotRestoreFromImage: "Asayes ulamek ara d-yettwarr seg ufaylu-agi n tugna", invalidSceneUrl: "Ulamek taktert n usayes seg URL i d-ittunefken. Ahat mačči d tameɣtut neɣ ur tegbir ara isefka JSON n Excalidraw.", resetLibrary: "Ayagi ad isfeḍ tamkarḍit-inek•m. Tetḥeqqeḍ?", removeItemsFromsLibrary: "Ad tekkseḍ {{count}} n uferdis (en) si temkarḍit?", invalidEncryptionKey: "Tasarut n uwgelhen isefk ad tesɛu 22 n yiekkilen. Amɛiwen srid yensa.", collabOfflineWarning: `Ulac tuqqna n internet.
|
|
4
4
|
Ibedilen-ik ur ttwaklasen ara!` }, i = { unsupportedFileType: "Anaw n ufaylu ur yettwasefrak ara.", imageInsertError: "D awezɣi tugra n tugna. Eɛreḍ tikkelt-nniḍen ardeqqal...", fileTooBig: "Afaylu meqqer aṭas. Tiddi tafellayt yurgen d {{maxSize}}.", svgImageInsertError: "D awezɣi tugra n tugna SVG. Acraḍ SVG yettban-d d armeɣtu.", failedToFetchImage: "", invalidSVGString: "SVG armeɣtu.", cannotResolveCollabServer: "Ulamek tuqqna s aqeddac n umyalel. Ma ulac uɣilif ales asali n usebter sakin eɛreḍ tikkelt-nniḍen.", importLibraryError: "Ur d-ssalay ara tamkarḍit", collabSaveFailed: "Ulamek asekles deg uzadur n yisefka deg ugilal. Ma ikemmel wugur, isefk ad teskelseḍ afaylu s wudem adigan akken ad tetḥeqqeḍ ur tesruḥuyeḍ ara amahil-inek•inem.", collabSaveFailed_sizeExceeded: "Ulamek asekles deg uzadur n yisefka deg ugilal, taɣzut n usuneɣ tettban-d temqer aṭas. Isefk ad teskelseḍ afaylu s wudem adigan akken ad tetḥeqqeḍ ur tesruḥuyeḍ ara amahil-inek•inem.", imageToolNotSupported: "", brave_measure_text_error: { line1: "", line2: "Ayagi yezmer ad d-iglu s truẓi n<bold>Iferdisen n uḍris</bold>deg wunuɣen-inek.", line3: "Ad k-nsemter ad tsexsiḍ aɣewwar-agi. Tzemreḍ ad tḍefreḍ<link>isurifen-agi</link> ɣef wamek ara txedmeḍ.", line4: "" }, libraryElementTypeError: { embeddable: "", iframe: "", image: "" }, asyncPasteFailedOnRead: "", asyncPasteFailedOnParse: "", copyToSystemClipboardFailed: "" }, n = { selection: "Tafrayt", image: "Ger tugna", rectangle: "Asrem", diamond: "Ameɣṛun", ellipse: "Taglayt", arrow: "Taneccabt", line: "Izirig", freedraw: "Suneɣ", text: "Aḍris", library: "Tamkarḍit", lock: "Eǧǧ afecku n tefrayt yermed mbaɛd asuneɣ", penMode: "Askar n yimru - gdel tanalit", link: "Rnu/leqqem aseɣwen i talɣa yettwafernen", eraser: "Sfeḍ", frame: "", magicframe: "", embeddable: "", laser: "", hand: "Afus (afecku n usmutti n tmuɣli)", extraTools: "", mermaidToExcalidraw: "", magicSettings: "" }, r = { canvasActions: "Tigawin n teɣzut n usuneɣ", selectedShapeActions: "Tigawin n talɣa yettwafernen", shapes: "Talɣiwin" }, s = { canvasPanning: "Akken ad tesmuttiḍ taɣzut n usuneɣ, ṭṭef ṛṛuda n umumed, neɣ seqdec afecku Afus", linearElement: "Ssit akken ad tebduḍ aṭas n tenqiḍin, zuɣer i yiwen n yizirig", freeDraw: "Ssit yerna zuɣer, serreḥ ticki tfukeḍ", text: "Tixidest: tzemreḍ daɣen ad ternuḍ aḍris s usiti snat n tikkal anida tebɣiḍ s ufecku n tefrayt", embeddable: "", text_selected: "Ssit snat n tikkal neɣ ssed taqeffalt Kcem akken ad tẓergeḍ aḍris", text_editing: "Ssit Escape neɣ CtrlOrCmd+ENTER akken ad tfakkeḍ asiẓreg", linearElementMulti: "Ssit ɣef tenqiḍt taneggarut neɣ ssed taqeffalt Escape neɣ taqeffalt Kcem akken ad tfakkeḍ", lockAngle: "Tzemreḍ ad tḥettmeḍ tiɣmert s tuṭṭfa n tqeffalt SHIFT", resize: `Tzemreḍ ad tḥettemeḍ assaɣ s tuṭṭfa n tqeffalt SHIFT mi ara tettbeddileḍ tiddi,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./layers.DigbzCMW.js"),R=require("./layers.FWjZfO-u.js");require("./layers.DPJK2k8a.js");const Q=require("./layers.Ct2-k3xO.js");var X=(function(){var t=function(p,n,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=n);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],l=[1,10],s=[1,11],h=[1,12],c=[1,13],f=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(n,r,a,u,d,o,T){var _=o.length-1;switch(d){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:u.addTask(o[_-1],o[_]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:l,14:s,16:h,17:c,18:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:l,14:s,16:h,17:c,18:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var a=new Error(n);throw a.hash=r,a}},parse:function(n){var r=this,a=[0],u=[],d=[null],o=[],T=this.table,_="",N=0,Z=0,ot=2,J=1,lt=o.slice.call(arguments,1),x=Object.create(this.lexer),C={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(C.yy[z]=this.yy[z]);x.setInput(n,C.yy),C.yy.lexer=x,C.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var O=x.yylloc;o.push(O);var ct=x.options&&x.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ht(){var M;return M=u.pop()||x.lex()||J,typeof M!="number"&&(M instanceof Array&&(u=M,M=u.pop()),M=r.symbols_[M]||M),M}for(var b,E,v,Y,P={},B,$,K,j;;){if(E=a[a.length-1],this.defaultActions[E]?v=this.defaultActions[E]:((b===null||typeof b>"u")&&(b=ht()),v=T[E]&&T[E][b]),typeof v>"u"||!v.length||!v[0]){var H="";j=[];for(B in T[E])this.terminals_[B]&&B>ot&&j.push("'"+this.terminals_[B]+"'");x.showPosition?H="Parse error on line "+(N+1)+`:
|
|
2
2
|
`+x.showPosition()+`
|
|
3
3
|
Expecting `+j.join(", ")+", got '"+(this.terminals_[b]||b)+"'":H="Parse error on line "+(N+1)+": Unexpected "+(b==J?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(H,{text:x.match,token:this.terminals_[b]||b,line:x.yylineno,loc:O,expected:j})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+b);switch(v[0]){case 1:a.push(b),d.push(x.yytext),o.push(x.yylloc),a.push(v[1]),b=null,Z=x.yyleng,_=x.yytext,N=x.yylineno,O=x.yylloc;break;case 2:if($=this.productions_[v[1]][1],P.$=d[d.length-$],P._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},ct&&(P._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),Y=this.performAction.apply(P,[_,Z,N,C.yy,v[1],d,o].concat(lt)),typeof Y<"u")return Y;$&&(a=a.slice(0,-1*$*2),d=d.slice(0,-1*$),o=o.slice(0,-1*$)),a.push(this.productions_[v[1]][0]),d.push(P.$),o.push(P._$),K=T[a[a.length-2]][a[a.length-1]],a.push(K);break;case 3:return!0}}return!0}},m=(function(){var p={EOF:1,parseError:function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var r=n.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var r=n.length,a=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var u=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),a.length-1&&(this.yylineno-=a.length-1);var d=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:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-r]),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
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as i } from "./layers.
|
|
2
|
-
import { m as o } from "./layers
|
|
1
|
+
import { J as i } from "./layers.DBGXVlH-.js";
|
|
2
|
+
import { m as o } from "./layers.DF0BRZAB.js";
|
|
3
3
|
const l = (s, t) => {
|
|
4
4
|
const r = s.append("rect");
|
|
5
5
|
if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.name && r.attr("name", t.name), t.rx !== void 0 && r.attr("rx", t.rx), t.ry !== void 0 && r.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.DPJK2k8a.js");var e={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:"",handDrawn:"",normal:"",code:"",small:"",medium:"",large:"",veryLarge:"ඉතා විශාල",solid:"විශාල",hachure:"මධ්යම",zigzag:"",crossHatch:"",thin:"කෙට්ටු",bold:"තද",left:"වම",center:"මැද",right:"දකුණ",extraBold:"ඉතා තද",architect:"වාස්තුවේදීයා",artist:"කලාකරු",cartoonist:"සැකිලිරූකරු",fileTitle:"ගොනු නාමය",colorPicker:"පාට තෝරකය",canvasColors:"",canvasBackground:"කැන්වස පසුබිම",drawingCanvas:"චිත්රක කැන්වසය",layers:"ලේයර",actions:"ක්රියාකාරකම",language:"භාෂාව ",liveCollaboration:"",duplicateSelection:"",untitled:"",name:"නම",yourName:"",madeWithExcalidraw:"",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:"",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:""},o={noItems:"",hint_emptyLibrary:"",hint_emptyPrivateLibrary:""},r={clearReset:"",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:""},t={clearReset:"",couldNotCreateShareableLink:"",couldNotCreateShareableLinkTooBig:"",couldNotLoadInvalidFile:"",importBackendFailed:"",cannotExportEmptyCanvas:"",couldNotCopyToClipboard:"",decryptFailed:"",uploadedSecurly:"",loadSceneOverridePrompt:"",collabStopOverridePrompt:"",errorAddingToLibrary:"",errorRemovingFromLibrary:"",confirmAddLibrary:"",imageDoesNotContainScene:"",cannotRestoreFromImage:"",invalidSceneUrl:"",resetLibrary:"",removeItemsFromsLibrary:"",invalidEncryptionKey:"",collabOfflineWarning:""},a={unsupportedFileType:"",imageInsertError:"",fileTooBig:"",svgImageInsertError:"",failedToFetchImage:"",invalidSVGString:"",cannotResolveCollabServer:"",importLibraryError:"",collabSaveFailed:"",collabSaveFailed_sizeExceeded:"",imageToolNotSupported:"",brave_measure_text_error:{line1:"",line2:"",line3:"",line4:""},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"",copyToSystemClipboardFailed:""},D={selection:"",image:"",rectangle:"",diamond:"",ellipse:"",arrow:"",line:"",freedraw:"",text:"",library:"",lock:"",penMode:"",link:"",eraser:"",frame:"",magicframe:"",embeddable:"",laser:"",hand:"",extraTools:"",mermaidToExcalidraw:"",magicSettings:""},u={canvasActions:"",selectedShapeActions:"",shapes:""},i={canvasPanning:"",linearElement:"",freeDraw:"",text:"",embeddable:"",text_selected:"",text_editing:"",linearElementMulti:"",lockAngle:"",resize:"",resizeImage:"",rotate:"",lineEditor_info:"",lineEditor_pointSelected:"",lineEditor_nothingSelected:"",placeImage:"",publishLibrary:"",bindTextToElement:"",deepBoxSelect:"",eraserRevert:"",firefox_clipboard_write:"",disableSnapping:""},l={cannotShowPreview:"",canvasTooBig:"",canvasTooBigTip:""},n={headingMain:"",clearCanvasMessage:"",clearCanvasCaveat:"",trackedToSentry:"",openIssueMessage:"",sceneContent:""},s={desc_intro:"",desc_privacy:"",button_startSession:"",button_stopSession:"",desc_inProgressIntro:"",desc_shareLink:"",desc_exitSession:"",shareTitle:""},d={title:""},c={disk_title:"",disk_details:"",disk_button:"",link_title:"",link_details:"",link_button:"",excalidrawplus_description:"",excalidrawplus_button:"",excalidrawplus_exportError:""},B={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:""},m={title:""},p={title:"",itemName:"",authorName:"",githubUsername:"",twitterUsername:"",libraryName:"",libraryDesc:"",website:"",placeholder:{authorName:"",libraryName:"",libraryDesc:"",githubHandle:"",twitterHandle:"",website:""},errors:{required:"",website:""},noteDescription:"",noteGuidelines:"",noteLicense:"",noteItems:"",atleastOneLibItem:"",republishWarning:""},g={title:"",content:""},b={resetLibrary:"",removeItemsFromLib:""},A={header:"",label:{withBackground:"",onlySelected:"",darkMode:"",embedScene:"",scale:"",padding:""},tooltip:{embedScene:""},title:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""},button:{exportToPng:"",exportToSvg:"",copyPngToClipboard:""}},C={tooltip:"",link:""},h={angle:"",element:"",elements:"",height:"",scene:"",selected:"",storage:"",title:"",total:"",version:"",versionCopy:"",versionNotAvailable:"",width:""},y={addedToLibrary:"",copyStyles:"",copyToClipboard:"",copyToClipboardAsPng:"",fileSaved:"",fileSavedToFilename:"",canvas:"",selection:"",pasteAsSingleElement:"",unableToEmbed:"",unrecognizedLinkFormat:""},v={transparent:"",black:"",white:"",red:"",pink:"",grape:"",violet:"",gray:"",blue:"",cyan:"",teal:"",green:"",yellow:"",orange:"",bronze:""},S={app:{center_heading:"",center_heading_plus:"",menuHint:""},defaults:{menuHint:"",center_heading:"",toolbarHint:"",helpHint:""}},w={mostUsedCustomColors:"",colors:"",shades:"",hexCode:"",noShades:""},F={action:{exportToImage:{title:"",button:"",description:""},saveToDisk:{title:"",button:"",description:""},excalidrawPlus:{title:"",button:"",description:""}},modal:{loadFromFile:{title:"",button:"",description:""},shareableLink:{title:"",button:"",description:""}}},k={title:"",button:"",description:"",syntax:"",preview:""},T={labels:e,library:o,buttons:r,alerts:t,errors:a,toolBar:D,headings:u,hints:i,canvasError:l,errorSplash:n,roomDialog:s,errorDialog:d,exportDialog:c,helpDialog:B,clearCanvasDialog:m,publishDialog:p,publishSuccessDialog:g,confirmDialog:b,imageExportDialog:A,encrypted:C,stats:h,toast:y,colors:v,welcomeScreen:S,colorPicker:w,overwriteConfirm:F,mermaid:k};exports.alerts=t;exports.buttons=r;exports.canvasError=l;exports.clearCanvasDialog=m;exports.colorPicker=w;exports.colors=v;exports.confirmDialog=b;exports.default=T;exports.encrypted=C;exports.errorDialog=d;exports.errorSplash=n;exports.errors=a;exports.exportDialog=c;exports.headings=u;exports.helpDialog=B;exports.hints=i;exports.imageExportDialog=A;exports.labels=e;exports.library=o;exports.mermaid=k;exports.overwriteConfirm=F;exports.publishDialog=p;exports.publishSuccessDialog=g;exports.roomDialog=s;exports.stats=h;exports.toast=y;exports.toolBar=D;exports.welcomeScreen=S;
|