@layers-app/editor 2.1.3 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/layers.-4_9j6T3.js +1 -0
- package/dist/{layers.B3MLCCBO.js → layers.-VJa563m.js} +1 -1
- package/dist/{layers.DTe1_eZ_.js → layers.6GYUNj0h.js} +1 -1
- package/dist/{layers.qgLxrPvn.js → layers.7q4JqQm5.js} +1 -1
- package/dist/{layers.Dc3Z7JRe.js → layers.9Yq4mEkc.js} +1 -1
- package/dist/{layers.C0GkbOj_.js → layers.9bbvW7Qm.js} +1 -1
- package/dist/{layers.BqWOx62b.js → layers.B1Us4lp2.js} +4 -4
- package/dist/{layers.uiQlFJkj.js → layers.B1hHaGnV.js} +1 -1
- package/dist/{layers.D1aDf1Yb.js → layers.B1rzR8iM.js} +21387 -20104
- package/dist/{layers.CO8o93N3.js → layers.B3XkXMY5.js} +4 -4
- package/dist/{layers.uN-NSHnL.js → layers.B3mlmnC8.js} +2 -2
- package/dist/{layers.Bu4rqJ0u.js → layers.B5P1pZm_.js} +1 -1
- package/dist/{layers.CtoullEV.js → layers.B6tZ4G7Y.js} +1 -1
- package/dist/{layers.C3rv5vzA.js → layers.B78Y0QUz.js} +1 -1
- package/dist/{layers.CZjmldFP.js → layers.B7wVGPTD.js} +1 -1
- package/dist/{layers.D8lMBZIP.js → layers.B9VEE7yq.js} +1 -1
- package/dist/{layers.CP5z29hi.js → layers.B9WuyR_q.js} +4 -4
- package/dist/{layers.B9zCJgSo.js → layers.BAEsW4Fk.js} +1 -1
- package/dist/{layers.B6Y7HNq_.js → layers.BAhcb9z3.js} +1 -1
- package/dist/{layers.YBMSKMjf.js → layers.BDJA6xA3.js} +1 -1
- package/dist/{layers.DHKg3z7U.js → layers.BEUB7pia.js} +1 -1
- package/dist/{layers.DS1ihg-b.js → layers.BElYiGVa.js} +1 -1
- package/dist/{layers.alvTM0TL.js → layers.BFEgDDF8.js} +1 -1
- package/dist/{layers.BGX87mbU.js → layers.BGM7JN9d.js} +1 -1
- package/dist/{layers.C9JUHKbR.js → layers.BH2pzDCd.js} +1 -1
- package/dist/{layers.U3pyk9E4.js → layers.BHpUsVBr.js} +3 -3
- package/dist/{layers.DDjsU6PA.js → layers.BJwPx-xt.js} +1 -1
- package/dist/layers.BKFXSOMi.js +1125 -0
- package/dist/{layers.DUTnaonw.js → layers.BKOmhpj_.js} +3 -3
- package/dist/{layers.ledjdm_3.js → layers.BLpAkLEf.js} +4 -4
- package/dist/{layers.Cdz7glSp.js → layers.BOM99GXG.js} +1 -1
- package/dist/{layers.C4GWEIGW.js → layers.BOgA28rT.js} +1 -1
- package/dist/{layers.BAZ1DUN1.js → layers.BQdpX2YL.js} +3 -3
- package/dist/{layers.Bk7fHXBF.js → layers.BRyBQXZ5.js} +25 -25
- package/dist/{layers.Co38nQAK.js → layers.BUJKIPtJ.js} +3 -3
- package/dist/{layers.DLXMCC05.js → layers.BVIhrdLj.js} +1 -1
- package/dist/{layers.C0iocMI4.js → layers.BVYwrZF0.js} +1 -1
- package/dist/{layers.Dim_7gFL.js → layers.BYbPSwnY.js} +1 -1
- package/dist/{layers.jvvStAM5.js → layers.BYyPdkZm.js} +1 -1
- package/dist/{layers.BvUXffrC.js → layers.BZtg0iL-.js} +1 -1
- package/dist/{layers.C-6BQ0ed.js → layers.Ba3PdZtd.js} +1 -1
- package/dist/{layers.B9ikDxXH.js → layers.BcXndSgO.js} +1 -1
- package/dist/{layers.DLTRux2c.js → layers.BdCiG87u.js} +1 -1
- package/dist/{layers.BbdIXklW.js → layers.Beomb7ZC.js} +1 -1
- package/dist/{layers.CmEUPhTK.js → layers.BiC0eUf3.js} +1 -1
- package/dist/{layers.BzhfSX7U.js → layers.BiMVrlM8.js} +1 -1
- package/dist/layers.BiRuFZj8.js +8 -0
- package/dist/{layers.C1M8YTuB.js → layers.BidP2y6d.js} +2 -2
- package/dist/{layers.D5wxkRZg.js → layers.BjNSoD0e.js} +1 -1
- package/dist/{layers.BgeBrYsf.js → layers.BlViLGBz.js} +1 -1
- package/dist/{layers.B_2SJBOJ.js → layers.Bm9_STHa.js} +1 -1
- package/dist/{layers.C09PqTjf.js → layers.BmIMEjgU.js} +1 -1
- package/dist/{layers.DieyF7Mb.js → layers.Bnl2_d2i.js} +1 -1
- package/dist/{layers.BDH0DZrJ.js → layers.BnzV9opy.js} +1 -1
- package/dist/{layers.CnV12zWd.js → layers.Bo2eK3gp.js} +3 -3
- package/dist/{layers.39HkzoqA.js → layers.BpV3oYO0.js} +1 -1
- package/dist/{layers.B5wt10W4.js → layers.Bs9Z9EFw.js} +7 -7
- package/dist/{layers.DX-_rZZm.js → layers.BsNKR8M7.js} +1 -1
- package/dist/{layers.BvHY5cSa.js → layers.BsOmzQaW.js} +1 -1
- package/dist/{layers.DeYnYW8x.js → layers.Bu0Ijk35.js} +1 -1
- package/dist/{layers.CWxZ9ZNK.js → layers.Bu8CV-42.js} +1 -1
- package/dist/{layers.poa6s6JS.js → layers.BvSfXDtc.js} +1 -1
- package/dist/{layers.CxGUE3xh.js → layers.BwfWL-fI.js} +1 -1
- package/dist/{layers.BrUcySmW.js → layers.ByEjazjC.js} +4 -4
- package/dist/{layers.DreE0CD1.js → layers.ByNH9d_q.js} +1 -1
- package/dist/{layers.CdAwudMB.js → layers.C-az3lNH.js} +1 -1
- package/dist/{layers.CXltHKhe.js → layers.C01cpYpe.js} +1 -1
- package/dist/{layers.BCuRJDW5.js → layers.C0IaUay0.js} +1 -1
- package/dist/{layers.CCY4ZK_S.js → layers.C0PRhnOH.js} +1 -1
- package/dist/{layers.vUzfU7Qx.js → layers.C5-y7AfX.js} +1 -1
- package/dist/{layers.x1UA-FR6.js → layers.C6KwsBjH.js} +1 -1
- package/dist/{layers.DhyRu56O.js → layers.C7w_ydZJ.js} +4 -4
- package/dist/{layers.BFkL1V3s.js → layers.C8LYIUA1.js} +1 -1
- package/dist/{layers.EvdeRXLR.js → layers.CAGvevc9.js} +1 -1
- package/dist/{layers.ByfKFC3Z.js → layers.CBrhZPn3.js} +1 -1
- package/dist/{layers.HnMwvcl0.js → layers.CDr3fhub.js} +4 -4
- package/dist/{layers.Cjza4_aa.js → layers.CEzMwF2O.js} +1 -1
- package/dist/{layers.CZhaqvvz.js → layers.CFLY_S0a.js} +1 -1
- package/dist/{layers.BJ3RiwpG.js → layers.CG5x1h3y.js} +1 -1
- package/dist/{layers.Cs4SYdW6.js → layers.CGnDPO1t.js} +1 -1
- package/dist/{layers.CMzwbIKN.js → layers.CHaMultW.js} +1 -1
- package/dist/{layers.B-mKB0m2.js → layers.CHjLfxQw.js} +1 -1
- package/dist/{layers.DJCo0IEz.js → layers.CL-2rYUv.js} +1 -1
- package/dist/{layers.DJztvzRz.js → layers.CLA4gwZB.js} +1 -1
- package/dist/{layers.Uumr6LwD.js → layers.CLyygPcd.js} +1 -1
- package/dist/{layers.CmcgmbI6.js → layers.CMzoij6V.js} +1 -1
- package/dist/{layers.yL1_Ryr2.js → layers.COheYIGb.js} +1 -1
- package/dist/{layers.tPe3TnkZ.js → layers.CRhLbHJB.js} +1 -1
- package/dist/{layers.lsxcliue.js → layers.CRrD4lC-.js} +1 -1
- package/dist/{layers.ByNtZ8_k.js → layers.CRt4iUNO.js} +1 -1
- package/dist/{layers.DEJicTxy.js → layers.CSkcM9hN.js} +4 -4
- package/dist/{layers.BIqMbEwm.js → layers.CUIMlDmw.js} +1 -1
- package/dist/{layers.DVyNZViM.js → layers.CVQQU87h.js} +1 -1
- package/dist/{layers.B4bXPWTJ.js → layers.CWMeShYf.js} +1 -1
- package/dist/{layers.IQQ5OQKd.js → layers.CWQQ2jvS.js} +1 -1
- package/dist/{layers.BYWknS6A.js → layers.CX2qU65I.js} +1 -1
- package/dist/{layers.Dgytap9-.js → layers.CZDgJHt7.js} +1 -1
- package/dist/{layers.BsTZb675.js → layers.CZb-SeWz.js} +1 -1
- package/dist/{layers.Bir0mrHH.js → layers.C_DYhb8T.js} +1 -1
- package/dist/{layers.BigEQUZC.js → layers.Ca1fqZUr.js} +4 -4
- package/dist/{layers.Do8FTjWl.js → layers.CcdJL88D.js} +1 -1
- package/dist/{layers.SqDtpNGf.js → layers.Ccxir_N2.js} +1 -1
- package/dist/{layers.ChLuj-rc.js → layers.Cdk7-Nks.js} +1 -1
- package/dist/{layers.Di3QwSwF.js → layers.CeJfHrIi.js} +1 -1
- package/dist/{layers.CndTZ31m.js → layers.CfBAQy8k.js} +1 -1
- package/dist/{layers.8PuRDqXn.js → layers.CfiisuVU.js} +1 -1
- package/dist/{layers.Ctsic0Sj.js → layers.CgFGMNxA.js} +1 -1
- package/dist/{layers.BQMyaIEA.js → layers.CgqNy4zP.js} +1 -1
- package/dist/{layers.i6wYk0yO.js → layers.ChmyTDpm.js} +1 -1
- package/dist/{layers.DUk4LtkB.js → layers.CiD301W0.js} +1 -1
- package/dist/{layers.DTkJIWfY.js → layers.Cii_jWL3.js} +1 -1
- package/dist/{layers.B0jPbl9x.js → layers.ClE5KEuk.js} +2 -2
- package/dist/{layers.DGrPEBsm.js → layers.Coxl919h.js} +1 -1
- package/dist/{layers.CcpsPvcD.js → layers.Coz9HBUE.js} +1 -1
- package/dist/{layers.HuJ3UCd4.js → layers.CpQ4gLu1.js} +1 -1
- package/dist/{layers.B9Vrfx-R.js → layers.CqBfqNmM.js} +1 -1
- package/dist/{layers.CHOpUlDI.js → layers.CrwS3LRr.js} +4 -4
- package/dist/{layers.8uM7Y9ah.js → layers.Cu2TAAlT.js} +1 -1
- package/dist/{layers.DFEHAT5_.js → layers.CxiI7x68.js} +1 -1
- package/dist/{layers.Cg1Bmo8X.js → layers.Cz_0PNU0.js} +1 -1
- package/dist/{layers.fRxn-M0Z.js → layers.D0y8dCDY.js} +1 -1
- package/dist/{layers.B1ADXzhH.js → layers.D1nE9s_g.js} +1 -1
- package/dist/{layers.BZd_TgyY.js → layers.D1vx5ZKF.js} +1 -1
- package/dist/{layers.Da9pKTtE.js → layers.D3KAyJsA.js} +1 -1
- package/dist/{layers.B3i_eLBh.js → layers.D3SwhrDu.js} +1 -1
- package/dist/{layers.DvdnuVJv.js → layers.D55pXkMf.js} +1 -1
- package/dist/{layers.reRErKmI.js → layers.D6GwA1q1.js} +1 -1
- package/dist/{layers.DOhVvlX1.js → layers.D6rR8eTu.js} +5 -5
- package/dist/{layers.CpBxhH-Y.js → layers.D7MSCThU.js} +1 -1
- package/dist/{layers.Cn1PUZc8.js → layers.DCnedJ-y.js} +1 -1
- package/dist/layers.DCyFNqAr.js +6 -0
- package/dist/{layers.CEafpqZr.js → layers.DDN8QOl7.js} +1 -1
- package/dist/{layers.V4TTwzir.js → layers.DDuIzssE.js} +1 -1
- package/dist/{layers.CrAgQyZG.js → layers.DFcuPGzk.js} +1 -1
- package/dist/{layers.BJTo52lj.js → layers.DGU_l9g2.js} +1 -1
- package/dist/{layers.BZmwJLv4.js → layers.DGazp_fG.js} +1 -1
- package/dist/{layers.DA4D7KGs.js → layers.DI7yLZ3l.js} +1 -1
- package/dist/{layers.Dobt6mRr.js → layers.DIE3KsNQ.js} +1 -1
- package/dist/{layers.CunjJ3Ls.js → layers.DIpcaT33.js} +1 -1
- package/dist/{layers.BQFohWAn.js → layers.DM54hDWf.js} +1 -1
- package/dist/{layers.BAlXkjeR.js → layers.DMtAnSic.js} +1 -1
- package/dist/{layers.-SHGCzPp.js → layers.DNBgeiUW.js} +1 -1
- package/dist/{layers.wWToVlI_.js → layers.DOApEJ-8.js} +1 -1
- package/dist/{layers.DGUyOV8w.js → layers.DQJQU3Ci.js} +3 -3
- package/dist/{layers.BMkjWhgS.js → layers.DRjWS931.js} +1 -1
- package/dist/{layers.BmcekZoW.js → layers.DRs_AE2J.js} +1 -1
- package/dist/{layers.BlGJJ8wn.js → layers.DSEi1NJj.js} +1 -1
- package/dist/{layers.Cr1uunhl.js → layers.DSjKo8Da.js} +1 -1
- package/dist/{layers.DyYTK0So.js → layers.DTbyNB5x.js} +1 -1
- package/dist/{layers.BNVRX3OW.js → layers.DUFWy5hd.js} +3 -3
- package/dist/{layers.DJKXtJ1z.js → layers.DVbgjUNo.js} +1 -1
- package/dist/{layers.BG1OUlr4.js → layers.DYR1gZNx.js} +1 -1
- package/dist/{layers.CC9kTgrU.js → layers.DZvHff4B.js} +1 -1
- package/dist/{layers.BfdaSVSD.js → layers.DbVUcuKT.js} +1 -1
- package/dist/{layers.BqFP-iF0.js → layers.DbmWOYgg.js} +1 -1
- package/dist/{layers.Cw3AOXly.js → layers.Den-ZzaR.js} +1 -1
- package/dist/{layers.CyKPMpjA.js → layers.DeweqNQa.js} +1 -1
- package/dist/{layers.DgLw6auX.js → layers.DgeHfWB3.js} +6 -6
- package/dist/{layers.CQdpxGHV.js → layers.DlLeZsOc.js} +1 -1
- package/dist/{layers.DhsShj7e.js → layers.DlsvvQxa.js} +1 -1
- package/dist/{layers.D8M84_MA.js → layers.DnJCBHYn.js} +8 -8
- package/dist/{layers._la4D_iD.js → layers.DpXrwMuo.js} +1 -1
- package/dist/{layers.DZSIKNGr.js → layers.Dr7Pq7kV.js} +4 -4
- package/dist/{layers.0H31be7Z.js → layers.DsFWbt9R.js} +1 -1
- package/dist/{layers.XWIlJ9bP.js → layers.DuHpBXvz.js} +5 -5
- package/dist/{layers.VYVXLvN_.js → layers.DvYgaLEM.js} +1 -1
- package/dist/{layers.Cx8Gg-Tr.js → layers.DybqAnHw.js} +1 -1
- package/dist/{layers.CE5HZB82.js → layers.DzHbjYNP.js} +1 -1
- package/dist/{layers.BOy49arY.js → layers.FFNNEBWV.js} +3 -3
- package/dist/{layers.D0NmOwXy.js → layers.GA7-IklJ.js} +2 -2
- package/dist/{layers.DUjzahzs.js → layers.GXlTgb0M.js} +1 -1
- package/dist/{layers.CLx3cm8b.js → layers.GtpWb4p4.js} +1 -1
- package/dist/{layers.CwqcpqGe.js → layers.H82l5SIc.js} +1 -1
- package/dist/{layers.Bs8vo5u4.js → layers.HR462Pc5.js} +1 -1
- package/dist/{layers.DBV0J_HI.js → layers.Hc4vQCsj.js} +1 -1
- package/dist/layers.IfukLNpU.js +1 -0
- package/dist/{layers.DBc_UPGb.js → layers.JgtgGSVp.js} +2 -2
- package/dist/{layers.DBPkwAPI.js → layers.KYYTd__Y.js} +1 -1
- package/dist/{layers.hUSjkj2F.js → layers.Q3c6Mf6s.js} +1 -1
- package/dist/{layers.B4Zz3nF-.js → layers.Sz6CLv0j.js} +1 -1
- package/dist/{layers.CEGYRyJy.js → layers.UNHGWenS.js} +1 -1
- package/dist/{layers.DvQ2dh6I.js → layers.Ut2v3AtH.js} +1 -1
- package/dist/{layers.B4lKB7Sv.js → layers.VqEf0fy3.js} +1 -1
- package/dist/{layers.BUtsOTZt.js → layers.Z2IJRa80.js} +1 -1
- package/dist/{layers.B38rBl_s.js → layers.Zql4uEqS.js} +1 -1
- package/dist/{layers.DFDWnDfo.js → layers.ayD0eOD4.js} +1 -1
- package/dist/{layers.C07EaGvY.js → layers.cv9uQp9-.js} +1 -1
- package/dist/{layers.B8j24PJy.js → layers.fbNCUFxk.js} +1 -1
- package/dist/{layers.C1IKX49f.js → layers.jnppH0DO.js} +1 -1
- package/dist/{layers.BexCT5yz.js → layers.ndujgSYU.js} +1 -1
- package/dist/{layers.EN7PEmQX.js → layers.nmWGGzFV.js} +1 -1
- package/dist/{layers.CHpwZYWl.js → layers.oUHGgat8.js} +1 -1
- package/dist/{layers.DjEJT7he.js → layers.oa7FMDIh.js} +2 -2
- package/dist/{layers.BOI5vWv3.js → layers.pCO3R-Ek.js} +1 -1
- package/dist/{layers.XK2sddFl.js → layers.tWo_tCh6.js} +3 -3
- package/dist/{layers.DwY8-5Ho.js → layers.tfl3LqfO.js} +1 -1
- package/dist/{layers.DUPMP2d6.js → layers.veZWW988.js} +1 -1
- package/dist/{layers.CdVdZpZW.js → layers.wb72MCqo.js} +3 -3
- package/dist/{layers.BQYg3K4C.js → layers.xOmXyFkw.js} +1 -1
- package/dist/{layers.BNHGep2P.js → layers.yX1wSigM.js} +1 -1
- package/package.json +1 -1
- package/dist/layers.CByVI5gD.js +0 -1
- package/dist/layers.CmXKfYby.js +0 -1
- package/dist/layers.CpRBywkv.js +0 -845
- package/dist/layers.P_aOF19W.js +0 -8
- package/dist/layers.fe6ZrL2s.js +0 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const F=require("./layers.DZSIKNGr.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)+`:
|
|
1
|
+
"use strict";const F=require("./layers.Dr7Pq7kV.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
2
|
`+x.showPosition()+`
|
|
3
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
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()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.DnJCBHYn.js";
|
|
2
2
|
var e = { paste: "Vložiť", pasteAsPlaintext: "Vložiť ako obyčajný text", pasteCharts: "Vložiť grafy", selectAll: "Vybrať všetko", multiSelect: "Pridať prvok do výberu", moveCanvas: "Pohyb plátna", cut: "Vystrihnúť", copy: "Kopírovať", copyAsPng: "Kopírovať do schránky ako PNG", copyAsSvg: "Kopírovať do schránky ako SVG", copyText: "Kopírovať do schránky ako text", copySource: "Kopírovať kód do schránky", convertToCode: "Konvertovať na kód", bringForward: "Presunúť o úroveň dopredu", sendToBack: "Presunúť dozadu", bringToFront: "Presunúť dopredu", sendBackward: "Presunúť o úroveň dozadu", delete: "Vymazať", copyStyles: "Kopírovať štýly", pasteStyles: "Vložiť štýly", stroke: "Obrys", background: "Pozadie", fill: "Výplň", strokeWidth: "Hrúbka obrysu", strokeStyle: "Štýl obrysu", strokeStyle_solid: "Plný", strokeStyle_dashed: "Čiarkovaný", strokeStyle_dotted: "Bodkovaný", sloppiness: "Štylizácia", opacity: "Priehľadnosť", textAlign: "Zarovnanie textu", edges: "Okraje", sharp: "Ostré", round: "Zaokrúhlené", arrowheads: "Zakončenie šípky", arrowhead_none: "Žiadne", arrowhead_arrow: "Šípka", arrowhead_bar: "Čiara", arrowhead_circle: "Kruh", arrowhead_circle_outline: "Kruh (obrys)", arrowhead_triangle: "Trojuholník", arrowhead_triangle_outline: "Trojuholník (obrys)", arrowhead_diamond: "Diamant", arrowhead_diamond_outline: "Diamant (obrys)", fontSize: "Veľkosť písma", fontFamily: "Písmo", addWatermark: 'Pridať "Vytvorené s Excalidraw"', handDrawn: "Ručne písané", normal: "Normálne", code: "Kód", small: "Malé", medium: "Stredné", large: "Veľké", veryLarge: "Veľmi veľké", solid: "Plná", hachure: "Šrafovaná", zigzag: "Cik-cak", crossHatch: "Mriežkovaná", thin: "Tenká", bold: "Hrubá", left: "Doľava", center: "Na stred", right: "Doprava", extraBold: "Veľmi hrubá", architect: "Architekt", artist: "Umelec", cartoonist: "Ilustrátor", fileTitle: "Názov súboru", colorPicker: "Výber farby", canvasColors: "Použité na plátne", canvasBackground: "Pozadie plátna", drawingCanvas: "Kresliace plátno", layers: "Vrstvy", actions: "Akcie", language: "Jazyk", liveCollaboration: "Živá spolupráca...", duplicateSelection: "Duplikovať", untitled: "Bez názvu", name: "Meno", yourName: "Vaše meno", madeWithExcalidraw: "Vytvorené s Excalidraw", group: "Zoskupiť", ungroup: "Zrušiť zoskupenie", collaborators: "Spolupracovníci", showGrid: "Zobraziť mriežku", addToLibrary: "Pridať do knižnice", removeFromLibrary: "Odstrániť z knižnice", libraryLoadingMessage: "Načítavanie knižnice…", libraries: "Prehliadať knižnice", loadingScene: "Načítavanie scény…", align: "Zarovnanie", alignTop: "Zarovnať nahor", alignBottom: "Zarovnať nadol", alignLeft: "Zarovnať doľava", alignRight: "Zarovnať doprava", centerVertically: "Zarovnať zvislo na stred", centerHorizontally: "Zarovnať vodorovne na stred", distributeHorizontally: "Rozmiestniť vodorovne", distributeVertically: "Rozmiestniť zvisle", flipHorizontal: "Prevrátiť vodorovne", flipVertical: "Prevrátiť zvislo", viewMode: "Režim zobrazenia", share: "Zdieľať", showStroke: "Zobraziť výber farby pre obrys", showBackground: "Zobraziť výber farby pre pozadie", toggleTheme: "Prepnúť tému", personalLib: "Moja knižnica", excalidrawLib: "Excalidraw knižnica", decreaseFontSize: "Zmenšiť veľkosť písma", increaseFontSize: "Zväčšiť veľkosť písma", unbindText: "Zrušiť previazanie textu", bindText: "Previazať text s kontajnerom", createContainerFromText: "Zabaliť text do kontajneru", link: { edit: "Upraviť odkaz", editEmbed: "Editovať a zapustiť odkaz", create: "Vytvoriť odkaz", createEmbed: "Vytvoriť a zapustiť odkaz", label: "Odkaz", labelEmbed: "Zapustiť odkaz", empty: "Nie je nastavený žiaden odkaz" }, lineEditor: { edit: "Upraviť čiaru", exit: "Ukončiť editovanie čiary" }, elementLock: { lock: "Zamknúť", unlock: "Odomknúť", lockAll: "Zamknúť všetko", unlockAll: "Odomknúť všetko" }, statusPublished: "Zverejnené", sidebarLock: "Nechať bočný panel otvorený", selectAllElementsInFrame: "Vybrať všetky prvky v ráme", removeAllElementsFromFrame: "Odstrániť všetky prvky z rámu", eyeDropper: "Vybrať farbu z plátna", textToDiagram: "Text na diagram", prompt: "Inštrukcia" }, o = { noItems: "Zatiaľ neboli pridané žiadne položky...", hint_emptyLibrary: "Vyberte položku z plátna pre jej pridanie do knižnice alebo použite knižnicu z verejného zoznamu knižníc nižšie.", hint_emptyPrivateLibrary: "Vyberte položku z plátna pre jej pridanie do knižnice." }, a = { clearReset: "Obnoviť plátno", exportJSON: "Exportovať do súboru", exportImage: "Exportovať obrázok...", export: "Uložiť do...", copyToClipboard: "Kopírovať do schránky", save: "Uložiť do aktuálneho súboru", saveAs: "Uložiť ako", load: "Otvoriť", getShareableLink: "Získať odkaz na zdieľanie", close: "Zavrieť", selectLanguage: "Zvoliť jazyk", scrollBackToContent: "Vrátiť sa späť na obsah", zoomIn: "Priblížiť", zoomOut: "Oddialiť", resetZoom: "Obnoviť priblíženie", menu: "Ponuka", done: "Hotovo", edit: "Upraviť", undo: "Späť", redo: "Znova", resetLibrary: "Obnoviť knižnicu", createNewRoom: "Vytvoriť novú miestnosť", fullScreen: "Celá obrazovka", darkMode: "Tmavý režim", lightMode: "Svetlý režim", zenMode: "Režim zen", objectsSnapMode: "Prichytiť k objektom", exitZenMode: "Zrušiť režim zen", cancel: "Zrušiť", clear: "Vymazať", remove: "Odstrániť", embed: "Prepnúť zapustenie", publishLibrary: "Uverejniť", submit: "Potvrdiť", confirm: "Potvrdiť", embeddableInteractionButton: "Kliknite pre interakciu" }, n = { clearReset: "Týmto sa vyčistí celé plátno. Ste si istí?", couldNotCreateShareableLink: "Nepodarilo sa vytvoriť odkaz na zdieľanie.", couldNotCreateShareableLinkTooBig: "Nepodarilo sa vytvoriť odkaz na zdieľanie: scéna je príliš veľká", couldNotLoadInvalidFile: "Nepodarilo sa načítať nevalidný súbor", importBackendFailed: "Nepdarilo sa importovanie zo serveru.", cannotExportEmptyCanvas: "Nie je možné exportovať prázdne plátno.", couldNotCopyToClipboard: "Kopírovanie do schránky sa nepodarilo.", decryptFailed: "Nepodarilo sa rozšifrovať údaje.", uploadedSecurly: "Nahratie je zabezpečené end-to-end šifrovaním, takže Excalidraw server a tretie strany nedokážu prečítať jeho obsah.", loadSceneOverridePrompt: "Nahratie externej kresby nahradí existujúci obsah. Prajete si pokračovať?", collabStopOverridePrompt: `Ukončenie schôdze nahradí vašu predchádzajúcu lokálne uloženú scénu. Ste si istý?
|
|
3
3
|
|
|
4
4
|
(Ak si chcete ponechať lokálnu scénu, jednoducho iba zavrite kartu prehliadača.)`, errorAddingToLibrary: "Nepodarilo sa pridať položku do knižnice", errorRemovingFromLibrary: "Nepodarilo sa odstrániť položku z knižnice", confirmAddLibrary: "Týmto sa pridá {{numShapes}} tvar(ov) do vašej knižnice. Ste si istí?", imageDoesNotContainScene: "Tento obrázok neobsahuje žiadne údaje scény. Zvolili ste možnosť zahrnúť scénu počas exportu?", cannotRestoreFromImage: "Nepodarilo sa obnoviť scénu z tohto obrázkového súboru", invalidSceneUrl: "Nepodarilo sa načítať scénu z poskytnutej URL. Je nevalidná alebo neobsahuje žiadne validné Excalidraw JSON dáta.", resetLibrary: "Týmto vyprázdnite vašu knižnicu. Ste si istý?", removeItemsFromsLibrary: "Odstrániť {{count}} položiek z knižnice?", invalidEncryptionKey: "Šifrovací kľúč musí mať 22 znakov. Živá spolupráca je vypnutá.", collabOfflineWarning: `Internetové pripojenie nie je dostupné.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react"),J=require("@lexical/react/LexicalComposerContext"),K=require("@lexical/react/useLexicalEditable"),P=require("@lexical/react/useLexicalNodeSelection"),Q=require("@lexical/utils"),p=require("lexical"),t=require("./layers.CpRBywkv.js"),G=require("react-i18next"),w=require("@mantine/core"),Z=require("@mantine/hooks");require("@lexical/mark");require("@lexical/code");const ee=require("@layers-app/shared"),te=({isCloseModal:i,setCloseModalOpen:a,confirmClose:b})=>{const{t:v}=G.useTranslation();return o.jsx(w.Modal,{opened:i,onClose:()=>{a(!1)},centered:!0,title:v("editor.unsavedChanges.title"),closeOnClickOutside:!0,closeOnEscape:!0,size:"500",zIndex:999,children:o.jsxs("div",{children:[o.jsx(w.Text,{mb:"md",children:v("editor.unsavedChanges.message")}),o.jsxs(w.Flex,{justify:"flex-end",gap:"sm",children:[o.jsx(w.Button,{variant:"default",onClick:()=>{a(!1)},fullWidth:!0,children:v("editor.unsavedChanges.cancel")}),o.jsx(w.Button,{color:"red",onClick:b,fullWidth:!0,children:v("editor.unsavedChanges.closeWithoutSaving")})]})]})})};function oe({imageContainerRef:i,editor:a,rootClassName:b=null,width:v="inherit",height:g="inherit",nodeKey:u,alignment:W,setModalOpen:R,previewSVG:l,isModalOpen:x}){const{disable:h,imperativeHandleRef:k}=r.useContext(t.Context),F=r.useMemo(()=>l??"",[l]),[O,C]=r.useState(!1),[z,{open:T,close:S}]=Z.useDisclosure(!1),{t:y}=G.useTranslation();r.useEffect(()=>{x&&C(!1)},[x]);const N=(e,E)=>{a.update(()=>{p.$setSelection(null);const c=p.$getNodeByKey(u);return t.$isExcalidrawNode(c)&&c.setWidthAndHeight(e,E),!0})},j=()=>{t.deleteNode(a,u)},I=()=>{S(),R(!0)},_=()=>{S(),t.deleteNode(a,u)};return o.jsxs(t.ResizableContainer,{editor:a,isIcon:!1,isEmbed:!0,width:t.parseContainerSize(v),height:t.parseContainerSize(g),onResizeEnd:N,alignment:W,disable:h,onRegisterDecoratorEnter:e=>{k!=null&&k.current&&(k.current.decoratorEnterAction=e)},onActivate:()=>a.dispatchCommand(t.ON_CHANGE_COMMAND,"show_menu"),children:[o.jsxs(w.Box,{className:"media-wrapper excaildraw",children:[o.jsx("div",{className:`media-actions${t.IS_TOUCH_DEVICE||!t.IS_HOVER_CAPABLE?" visible":""}`,children:t.IS_TOUCH_DEVICE?o.jsx(t.ActionIcon,{"aria-label":y("editor.toolbar.more"),label:y("editor.toolbar.more"),flexBorder:!0,onClick:T,icon:t.K1,iconColor:"var(--mantine-color-gray-text)"}):o.jsxs(o.Fragment,{children:[o.jsx(t.ActionIcon,{"aria-label":"Settings",label:y("editor.link.edit"),flexBorder:!0,onClick:()=>{R(!0)},icon:t.tf,iconColor:"var(--mantine-color-gray-text)"}),o.jsx(t.NodeAlignmentMenu,{opened:O,setOpened:C,t:y,editor:a,nodeKey:u,flexBorder:!0}),o.jsx(t.ActionIcon,{"aria-label":"Delete",label:y("editor.actions.delete"),flexBorder:!0,onClick:j,icon:t.lg,iconColor:"var(--mantine-color-red-outline)"})]})}),o.jsx(w.Box,{w:"100%",ref:e=>{e&&i&&(i.current=e)},className:b??"",dangerouslySetInnerHTML:{__html:F}})]}),t.IS_TOUCH_DEVICE&&o.jsx(t.MobileDrawer,{opened:z,onClose:S,title:y("editor.image.mobileActions"),children:o.jsxs(w.Stack,{gap:4,p:0,children:[o.jsx(w.Button,{type:"button",variant:"subtle",color:"gray",fullWidth:!0,justify:"flex-start",bg:"light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",onClick:I,leftSection:o.jsx(t.HugeiconsIcon,{icon:t.tf,size:16,color:"var(--mantine-color-dimmed)"}),children:y("editor.link.edit")}),o.jsx(w.Button,{type:"button",variant:"subtle",color:"red",fullWidth:!0,justify:"flex-start",bg:"light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",onClick:_,leftSection:o.jsx(t.HugeiconsIcon,{icon:t.lg,size:16,color:"var(--mantine-color-red-6)"}),children:y("editor.actions.delete")})]})})]})}let $=null;const ne=r.lazy(async()=>{var a;const i=await Promise.resolve().then(()=>require("./layers.B5wt10W4.js")).then(b=>b.index);return!$&&i&&($=i.exportToSvg||((a=i.default)==null?void 0:a.exportToSvg)||i.default),{default:i.Excalidraw}}),re=()=>{const[i,a]=r.useState(null),b=r.useCallback(v=>a(v),[]);return[i,b]};function se({onSave:i,initialElements:a,initialAppState:b,initialFiles:v,isShown:g=!1,onDelete:u,onClose:W,isEdited:R}){const[l,x]=re(),{i18n:h,t:k}=G.useTranslation(),{colorScheme:F}=w.useMantineColorScheme(),O=r.useRef(!1),[C,z]=r.useState(a),[T,S]=r.useState(v),[y,N]=r.useState(g);r.useEffect(()=>{g&&N(!0)},[g]),r.useEffect(()=>{!g||O.current||(O.current=!0,Promise.resolve().then(()=>require("./layers.Dyvby5gX.js")))},[g]),r.useEffect(()=>{g&&setTimeout(()=>{var e,E;(e=l==null?void 0:l.refresh)==null||e.call(l),(E=l==null?void 0:l.scrollToContent)==null||E.call(l)},500)},[g,l]),r.useEffect(()=>{if(!g)return;const e=(s,d)=>{const n=k(s);return n.startsWith("editor.menu")?d:n},E=e("editor.menu.excalidraw.tools.frameTool",h.language==="ru"?"Инструмент рамки":h.language==="es"?"Herramienta de marco":"Frame tool"),c=e("editor.menu.excalidraw.tools.webEmbed",h.language==="ru"?"Веб-встраивание":h.language==="es"?"Incrustación web":"Web Embed"),f=e("editor.menu.excalidraw.tools.generate",h.language==="ru"?"Генерировать":h.language==="es"?"Generar":"Generate"),L={"Frame tool":E,"Web Embed":c,"Web embeded":c,Generate:f},q=()=>{const s=document.querySelector(".App-toolbar__extra-tools-dropdown");if(!s)return;const d=document.createTreeWalker(s,NodeFilter.SHOW_TEXT,null);let n;for(;n=d.nextNode();)if(n.nodeType===Node.TEXT_NODE&&n.textContent){const m=n.textContent.trim();for(const[D,A]of Object.entries(L))if(m===D&&A&&!m.includes(A)){n.textContent=n.textContent.replace(D,A);break}}},B=()=>{setTimeout(()=>{q()},0)},M=setTimeout(()=>{const s=document.querySelector(".excalidraw-container");if(s){const d=s.querySelector(".App-toolbar__extra-tools-trigger");d&&d.addEventListener("click",B)}},300);return()=>{clearTimeout(M);const s=document.querySelector(".excalidraw-container");if(s){const d=s.querySelector(".App-toolbar__extra-tools-trigger");d&&d.removeEventListener("click",B)}}},[g,h.language,k]);const j=r.useCallback(async()=>{var q,B,M;let e=$;if(!e||typeof e!="function"){const s=await Promise.resolve().then(()=>require("./layers.B5wt10W4.js")).then(d=>d.index);e=s.exportToSvg||((q=s.default)==null?void 0:q.exportToSvg)||s.default,e&&typeof e=="function"&&($=e)}if(!e||typeof e!="function"){const s=await Promise.resolve().then(()=>require("./layers.B5wt10W4.js")).then(n=>n.index),d=s?Object.keys(s):[];throw console.error("Excalidraw module structure:",{keys:d,hasExportToSvg:s&&"exportToSvg"in s,hasDefault:s&&"default"in s,moduleType:typeof s,module:s}),new Error(`exportToSvg is not available from @excalidraw/excalidraw. Module keys: ${d.join(", ")}. Please ensure @excalidraw/excalidraw is properly installed.`)}const E=((B=l==null?void 0:l.getAppState)==null?void 0:B.call(l))??b,c=await e({appState:E,elements:C,files:T}),f=(M=c==null?void 0:c.firstElementChild)==null?void 0:M.firstElementChild,L=c.getAttribute("viewBox");if(L!=null){const s=L.split(" ");c.setAttribute("width",s[2]),c.setAttribute("height",s[3])}return f&&f.tagName==="style"&&f.remove(),c.setAttribute("width","100%"),c.setAttribute("height","100%"),c.setAttribute("display","block"),c.classList.add("excalidraw-svg"),c.outerHTML},[C,T,l,b]),I=()=>{if(C&&C.filter(e=>!e.isDeleted).length>0){const e=l==null?void 0:l.getAppState(),E={exportBackground:e==null?void 0:e.exportBackground,exportScale:e==null?void 0:e.exportScale,exportWithDarkMode:(e==null?void 0:e.theme)==="dark",isBindingEnabled:e==null?void 0:e.isBindingEnabled,isLoading:e==null?void 0:e.isLoading,name:e==null?void 0:e.name,theme:e==null?void 0:e.theme,viewBackgroundColor:e==null?void 0:e.viewBackgroundColor,viewModeEnabled:e==null?void 0:e.viewModeEnabled,zenModeEnabled:e==null?void 0:e.zenModeEnabled,zoom:e==null?void 0:e.zoom};(async()=>{const c=await j();i(C,E,T,c)})()}else u()},_=(e,E,c)=>{(e==null?void 0:e.length)!==(a==null?void 0:a.length)&&(R.current=!0),z(e),S(c)};return o.jsx(ee.BottomDrawerWithoutHeader,{opened:g,onClose:W,onSave:I,className:"excaildraw-modal",closeOnEscape:!1,children:y&&o.jsx(r.Suspense,{fallback:o.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",minHeight:"400px"},children:o.jsx(w.Loader,{size:"sm"})}),children:o.jsx(ne,{langCode:t.languageToLocaleMap[h.language],theme:F,onChange:_,excalidrawAPI:x,initialData:{appState:{...b||{isLoading:!1}},elements:a,files:v,scrollToContent:!0}})})})}function le({nodeKey:i,data:a,width:b,height:v,alignment:g}){var d;const[u]=J.useLexicalComposerContext(),{fetchUploadMedia:W,fetchDeleteMedia:R}=r.useContext(t.Context),l=K.useLexicalEditable(),x=r.useMemo(()=>t.parseExcalidrawData(a),[a]),h=r.useRef(t.extractAttachmentIdsFromFiles(x.files??{})),k=r.useRef(Object.keys(x.files??{}));r.useEffect(()=>{const n=t.extractAttachmentIdsFromFiles(x.files??{});for(const m of Object.keys(n))h.current[m]=n[m]},[x.files]);const F=((d=x==null?void 0:x.elements)==null?void 0:d.length)===0&&!x.previewSVG,[O,C]=r.useState(F&&u.isEditable()),[z,T]=r.useState(!1),S=r.useRef(null),y=r.useRef(null),N=r.useRef(null),[j,I,_]=P.useLexicalNodeSelection(i),e=r.useCallback(n=>(j&&(n.preventDefault(),u.update(()=>{const m=p.$getNodeByKey(i);m&&m.remove()})),!1),[u,j,i]);r.useEffect(()=>{if(!l){j&&_();return}return Q.mergeRegister(u.registerCommand(p.CLICK_COMMAND,n=>{const m=y.current,D=n.target;return m!==null&&m.contains(D)?(n.shiftKey||_(),I(!j),n.detail>1&&C(!0),!0):!1},p.COMMAND_PRIORITY_LOW),u.registerCommand(p.KEY_DELETE_COMMAND,e,p.COMMAND_PRIORITY_LOW),u.registerCommand(p.KEY_BACKSPACE_COMMAND,e,p.COMMAND_PRIORITY_LOW))},[_,u,j,e,I,l]);const E=r.useCallback(()=>(C(!1),u.update(()=>{const n=p.$getNodeByKey(i);n&&n.remove()})),[u,i]),c=async(n,m,D,A)=>{const{files:H,urlByDataUrl:U,attachmentIdByFileId:Y}=await t.uploadInlineFiles(D,W,h.current);h.current=t.deleteRemovedAttachments(k.current,H,Y,R),k.current=Object.keys(H);const X=t.rewriteSvgDataUrls(A,U);u.update(()=>{const V=p.$getNodeByKey(i);t.$isExcalidrawNode(V)&&(n&&n.length>0||Object.keys(H).length>0?V.setData(JSON.stringify({appState:m,elements:n,files:H,previewSVG:X})):V.remove())})},{elements:f=[],files:L={},appState:q={},previewSVG:B}=x,M=r.useCallback(()=>{C(!1),T(!1),N.current=!1,(f==null?void 0:f.length)===0&&u.update(()=>{const n=p.$getNodeByKey(i);n&&n.remove()})},[u,i,f==null?void 0:f.length]),s=r.useCallback(()=>{N.current?T(!0):M()},[M]);return o.jsxs(o.Fragment,{children:[o.jsx(te,{isCloseModal:z,confirmClose:M,setCloseModalOpen:T}),o.jsx(se,{initialElements:f,isEdited:N,initialFiles:L,initialAppState:q,isShown:O,onDelete:E,onClose:s,onSave:async(n,m,D,A)=>{await c(n,m,D,A),C(!1)},closeOnClickOutside:!1}),(f==null?void 0:f.length)&&o.jsx("div",{style:{display:"flex",justifyContent:g},children:o.jsx(oe,{imageContainerRef:S,className:"image",width:b,height:v,editor:u,nodeKey:i,alignment:g,setModalOpen:C,previewSVG:B,isModalOpen:O})})]})}exports.default=le;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),r=require("react"),J=require("@lexical/react/LexicalComposerContext"),K=require("@lexical/react/useLexicalEditable"),P=require("@lexical/react/useLexicalNodeSelection"),Q=require("@lexical/utils"),p=require("lexical"),t=require("./layers.BKFXSOMi.js"),G=require("react-i18next"),w=require("@mantine/core"),Z=require("@mantine/hooks");require("@lexical/mark");require("@lexical/code");const ee=require("@layers-app/shared"),te=({isCloseModal:i,setCloseModalOpen:a,confirmClose:b})=>{const{t:v}=G.useTranslation();return o.jsx(w.Modal,{opened:i,onClose:()=>{a(!1)},centered:!0,title:v("editor.unsavedChanges.title"),closeOnClickOutside:!0,closeOnEscape:!0,size:"500",zIndex:999,children:o.jsxs("div",{children:[o.jsx(w.Text,{mb:"md",children:v("editor.unsavedChanges.message")}),o.jsxs(w.Flex,{justify:"flex-end",gap:"sm",children:[o.jsx(w.Button,{variant:"default",onClick:()=>{a(!1)},fullWidth:!0,children:v("editor.unsavedChanges.cancel")}),o.jsx(w.Button,{color:"red",onClick:b,fullWidth:!0,children:v("editor.unsavedChanges.closeWithoutSaving")})]})]})})};function oe({imageContainerRef:i,editor:a,rootClassName:b=null,width:v="inherit",height:g="inherit",nodeKey:u,alignment:W,setModalOpen:R,previewSVG:l,isModalOpen:x}){const{disable:h,imperativeHandleRef:k}=r.useContext(t.Context),F=r.useMemo(()=>l??"",[l]),[O,C]=r.useState(!1),[z,{open:T,close:S}]=Z.useDisclosure(!1),{t:y}=G.useTranslation();r.useEffect(()=>{x&&C(!1)},[x]);const N=(e,E)=>{a.update(()=>{p.$setSelection(null);const c=p.$getNodeByKey(u);return t.$isExcalidrawNode(c)&&c.setWidthAndHeight(e,E),!0})},j=()=>{t.deleteNode(a,u)},I=()=>{S(),R(!0)},_=()=>{S(),t.deleteNode(a,u)};return o.jsxs(t.ResizableContainer,{editor:a,isIcon:!1,isEmbed:!0,width:t.parseContainerSize(v),height:t.parseContainerSize(g),onResizeEnd:N,alignment:W,disable:h,onRegisterDecoratorEnter:e=>{k!=null&&k.current&&(k.current.decoratorEnterAction=e)},onActivate:()=>a.dispatchCommand(t.ON_CHANGE_COMMAND,"show_menu"),children:[o.jsxs(w.Box,{className:"media-wrapper excaildraw",children:[o.jsx("div",{className:`media-actions${t.IS_TOUCH_DEVICE||!t.IS_HOVER_CAPABLE?" visible":""}`,children:t.IS_TOUCH_DEVICE?o.jsx(t.ActionIcon,{"aria-label":y("editor.toolbar.more"),label:y("editor.toolbar.more"),flexBorder:!0,onClick:T,icon:t.K1,iconColor:"var(--mantine-color-gray-text)"}):o.jsxs(o.Fragment,{children:[o.jsx(t.ActionIcon,{"aria-label":"Settings",label:y("editor.link.edit"),flexBorder:!0,onClick:()=>{R(!0)},icon:t.tf,iconColor:"var(--mantine-color-gray-text)"}),o.jsx(t.NodeAlignmentMenu,{opened:O,setOpened:C,t:y,editor:a,nodeKey:u,flexBorder:!0}),o.jsx(t.ActionIcon,{"aria-label":"Delete",label:y("editor.actions.delete"),flexBorder:!0,onClick:j,icon:t.lg,iconColor:"var(--mantine-color-red-outline)"})]})}),o.jsx(w.Box,{w:"100%",ref:e=>{e&&i&&(i.current=e)},className:b??"",dangerouslySetInnerHTML:{__html:F}})]}),t.IS_TOUCH_DEVICE&&o.jsx(t.MobileDrawer,{opened:z,onClose:S,title:y("editor.image.mobileActions"),children:o.jsxs(w.Stack,{gap:4,p:0,children:[o.jsx(w.Button,{type:"button",variant:"subtle",color:"gray",fullWidth:!0,justify:"flex-start",bg:"light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",onClick:I,leftSection:o.jsx(t.HugeiconsIcon,{icon:t.tf,size:16,color:"var(--mantine-color-dimmed)"}),children:y("editor.link.edit")}),o.jsx(w.Button,{type:"button",variant:"subtle",color:"red",fullWidth:!0,justify:"flex-start",bg:"light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",onClick:_,leftSection:o.jsx(t.HugeiconsIcon,{icon:t.lg,size:16,color:"var(--mantine-color-red-6)"}),children:y("editor.actions.delete")})]})})]})}let $=null;const ne=r.lazy(async()=>{var a;const i=await Promise.resolve().then(()=>require("./layers.Bs9Z9EFw.js")).then(b=>b.index);return!$&&i&&($=i.exportToSvg||((a=i.default)==null?void 0:a.exportToSvg)||i.default),{default:i.Excalidraw}}),re=()=>{const[i,a]=r.useState(null),b=r.useCallback(v=>a(v),[]);return[i,b]};function se({onSave:i,initialElements:a,initialAppState:b,initialFiles:v,isShown:g=!1,onDelete:u,onClose:W,isEdited:R}){const[l,x]=re(),{i18n:h,t:k}=G.useTranslation(),{colorScheme:F}=w.useMantineColorScheme(),O=r.useRef(!1),[C,z]=r.useState(a),[T,S]=r.useState(v),[y,N]=r.useState(g);r.useEffect(()=>{g&&N(!0)},[g]),r.useEffect(()=>{!g||O.current||(O.current=!0,Promise.resolve().then(()=>require("./layers.Dyvby5gX.js")))},[g]),r.useEffect(()=>{g&&setTimeout(()=>{var e,E;(e=l==null?void 0:l.refresh)==null||e.call(l),(E=l==null?void 0:l.scrollToContent)==null||E.call(l)},500)},[g,l]),r.useEffect(()=>{if(!g)return;const e=(s,d)=>{const n=k(s);return n.startsWith("editor.menu")?d:n},E=e("editor.menu.excalidraw.tools.frameTool",h.language==="ru"?"Инструмент рамки":h.language==="es"?"Herramienta de marco":"Frame tool"),c=e("editor.menu.excalidraw.tools.webEmbed",h.language==="ru"?"Веб-встраивание":h.language==="es"?"Incrustación web":"Web Embed"),f=e("editor.menu.excalidraw.tools.generate",h.language==="ru"?"Генерировать":h.language==="es"?"Generar":"Generate"),L={"Frame tool":E,"Web Embed":c,"Web embeded":c,Generate:f},q=()=>{const s=document.querySelector(".App-toolbar__extra-tools-dropdown");if(!s)return;const d=document.createTreeWalker(s,NodeFilter.SHOW_TEXT,null);let n;for(;n=d.nextNode();)if(n.nodeType===Node.TEXT_NODE&&n.textContent){const m=n.textContent.trim();for(const[D,A]of Object.entries(L))if(m===D&&A&&!m.includes(A)){n.textContent=n.textContent.replace(D,A);break}}},B=()=>{setTimeout(()=>{q()},0)},M=setTimeout(()=>{const s=document.querySelector(".excalidraw-container");if(s){const d=s.querySelector(".App-toolbar__extra-tools-trigger");d&&d.addEventListener("click",B)}},300);return()=>{clearTimeout(M);const s=document.querySelector(".excalidraw-container");if(s){const d=s.querySelector(".App-toolbar__extra-tools-trigger");d&&d.removeEventListener("click",B)}}},[g,h.language,k]);const j=r.useCallback(async()=>{var q,B,M;let e=$;if(!e||typeof e!="function"){const s=await Promise.resolve().then(()=>require("./layers.Bs9Z9EFw.js")).then(d=>d.index);e=s.exportToSvg||((q=s.default)==null?void 0:q.exportToSvg)||s.default,e&&typeof e=="function"&&($=e)}if(!e||typeof e!="function"){const s=await Promise.resolve().then(()=>require("./layers.Bs9Z9EFw.js")).then(n=>n.index),d=s?Object.keys(s):[];throw console.error("Excalidraw module structure:",{keys:d,hasExportToSvg:s&&"exportToSvg"in s,hasDefault:s&&"default"in s,moduleType:typeof s,module:s}),new Error(`exportToSvg is not available from @excalidraw/excalidraw. Module keys: ${d.join(", ")}. Please ensure @excalidraw/excalidraw is properly installed.`)}const E=((B=l==null?void 0:l.getAppState)==null?void 0:B.call(l))??b,c=await e({appState:E,elements:C,files:T}),f=(M=c==null?void 0:c.firstElementChild)==null?void 0:M.firstElementChild,L=c.getAttribute("viewBox");if(L!=null){const s=L.split(" ");c.setAttribute("width",s[2]),c.setAttribute("height",s[3])}return f&&f.tagName==="style"&&f.remove(),c.setAttribute("width","100%"),c.setAttribute("height","100%"),c.setAttribute("display","block"),c.classList.add("excalidraw-svg"),c.outerHTML},[C,T,l,b]),I=()=>{if(C&&C.filter(e=>!e.isDeleted).length>0){const e=l==null?void 0:l.getAppState(),E={exportBackground:e==null?void 0:e.exportBackground,exportScale:e==null?void 0:e.exportScale,exportWithDarkMode:(e==null?void 0:e.theme)==="dark",isBindingEnabled:e==null?void 0:e.isBindingEnabled,isLoading:e==null?void 0:e.isLoading,name:e==null?void 0:e.name,theme:e==null?void 0:e.theme,viewBackgroundColor:e==null?void 0:e.viewBackgroundColor,viewModeEnabled:e==null?void 0:e.viewModeEnabled,zenModeEnabled:e==null?void 0:e.zenModeEnabled,zoom:e==null?void 0:e.zoom};(async()=>{const c=await j();i(C,E,T,c)})()}else u()},_=(e,E,c)=>{(e==null?void 0:e.length)!==(a==null?void 0:a.length)&&(R.current=!0),z(e),S(c)};return o.jsx(ee.BottomDrawerWithoutHeader,{opened:g,onClose:W,onSave:I,className:"excaildraw-modal",closeOnEscape:!1,children:y&&o.jsx(r.Suspense,{fallback:o.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",minHeight:"400px"},children:o.jsx(w.Loader,{size:"sm"})}),children:o.jsx(ne,{langCode:t.languageToLocaleMap[h.language],theme:F,onChange:_,excalidrawAPI:x,initialData:{appState:{...b||{isLoading:!1}},elements:a,files:v,scrollToContent:!0}})})})}function le({nodeKey:i,data:a,width:b,height:v,alignment:g}){var d;const[u]=J.useLexicalComposerContext(),{fetchUploadMedia:W,fetchDeleteMedia:R}=r.useContext(t.Context),l=K.useLexicalEditable(),x=r.useMemo(()=>t.parseExcalidrawData(a),[a]),h=r.useRef(t.extractAttachmentIdsFromFiles(x.files??{})),k=r.useRef(Object.keys(x.files??{}));r.useEffect(()=>{const n=t.extractAttachmentIdsFromFiles(x.files??{});for(const m of Object.keys(n))h.current[m]=n[m]},[x.files]);const F=((d=x==null?void 0:x.elements)==null?void 0:d.length)===0&&!x.previewSVG,[O,C]=r.useState(F&&u.isEditable()),[z,T]=r.useState(!1),S=r.useRef(null),y=r.useRef(null),N=r.useRef(null),[j,I,_]=P.useLexicalNodeSelection(i),e=r.useCallback(n=>(j&&(n.preventDefault(),u.update(()=>{const m=p.$getNodeByKey(i);m&&m.remove()})),!1),[u,j,i]);r.useEffect(()=>{if(!l){j&&_();return}return Q.mergeRegister(u.registerCommand(p.CLICK_COMMAND,n=>{const m=y.current,D=n.target;return m!==null&&m.contains(D)?(n.shiftKey||_(),I(!j),n.detail>1&&C(!0),!0):!1},p.COMMAND_PRIORITY_LOW),u.registerCommand(p.KEY_DELETE_COMMAND,e,p.COMMAND_PRIORITY_LOW),u.registerCommand(p.KEY_BACKSPACE_COMMAND,e,p.COMMAND_PRIORITY_LOW))},[_,u,j,e,I,l]);const E=r.useCallback(()=>(C(!1),u.update(()=>{const n=p.$getNodeByKey(i);n&&n.remove()})),[u,i]),c=async(n,m,D,A)=>{const{files:H,urlByDataUrl:U,attachmentIdByFileId:Y}=await t.uploadInlineFiles(D,W,h.current);h.current=t.deleteRemovedAttachments(k.current,H,Y,R),k.current=Object.keys(H);const X=t.rewriteSvgDataUrls(A,U);u.update(()=>{const V=p.$getNodeByKey(i);t.$isExcalidrawNode(V)&&(n&&n.length>0||Object.keys(H).length>0?V.setData(JSON.stringify({appState:m,elements:n,files:H,previewSVG:X})):V.remove())})},{elements:f=[],files:L={},appState:q={},previewSVG:B}=x,M=r.useCallback(()=>{C(!1),T(!1),N.current=!1,(f==null?void 0:f.length)===0&&u.update(()=>{const n=p.$getNodeByKey(i);n&&n.remove()})},[u,i,f==null?void 0:f.length]),s=r.useCallback(()=>{N.current?T(!0):M()},[M]);return o.jsxs(o.Fragment,{children:[o.jsx(te,{isCloseModal:z,confirmClose:M,setCloseModalOpen:T}),o.jsx(se,{initialElements:f,isEdited:N,initialFiles:L,initialAppState:q,isShown:O,onDelete:E,onClose:s,onSave:async(n,m,D,A)=>{await c(n,m,D,A),C(!1)},closeOnClickOutside:!1}),(f==null?void 0:f.length)&&o.jsx("div",{style:{display:"flex",justifyContent:g},children:o.jsx(oe,{imageContainerRef:S,className:"image",width:b,height:v,editor:u,nodeKey:i,alignment:g,setModalOpen:C,previewSVG:B,isModalOpen:O})})]})}exports.default=le;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { s as zt, a as Ft, n as wt, o as Nt, b as Xt, c as Yt, l as St, A as Ht, e as $t, q as Ut, W as ot, a7 as Ct, P as qt, Q as jt, i as Gt } from "./layers.
|
|
2
|
-
import { a as Qt } from "./layers.
|
|
3
|
-
import "./layers.
|
|
1
|
+
import { s as zt, a as Ft, n as wt, o as Nt, b as Xt, c as Yt, l as St, A as Ht, e as $t, q as Ut, W as ot, a7 as Ct, P as qt, Q as jt, i as Gt } from "./layers.BRyBQXZ5.js";
|
|
2
|
+
import { a as Qt } from "./layers.D1vx5ZKF.js";
|
|
3
|
+
import "./layers.DnJCBHYn.js";
|
|
4
4
|
import "lodash-es/memoize.js";
|
|
5
5
|
import "lodash-es/merge.js";
|
|
6
6
|
import "lodash-es/isEmpty.js";
|
|
7
7
|
import { i as Kt } from "./layers.DjUOC4st.js";
|
|
8
8
|
import { o as Zt } from "./layers.b0h5ZBmD.js";
|
|
9
|
-
import { l as ft } from "./layers.
|
|
10
|
-
import { l as pt } from "./layers.
|
|
9
|
+
import { l as ft } from "./layers.DsFWbt9R.js";
|
|
10
|
+
import { l as pt } from "./layers.BAhcb9z3.js";
|
|
11
11
|
function Jt(e, t, i) {
|
|
12
12
|
e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
|
|
13
13
|
for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
|