@layers-app/editor 0.1.12 → 0.1.13
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.js +2 -2
- package/dist/{layers.kn67NfTr.js → layers.-8ozJFby.js} +1 -1
- package/dist/layers.0a8C9Zft.js +122 -0
- package/dist/{layers.Du654JPO.js → layers.19mmJqf_.js} +1 -1
- package/dist/{layers.JQi2e0Sn.js → layers.1JGGzMhf.js} +4 -4
- package/dist/{layers.EZ7vo-Fr.js → layers.2EYvILXt.js} +1 -1
- package/dist/{layers.B4CnR_QW.js → layers.3-u8XGDF.js} +1 -1
- package/dist/{layers.CvesdHOP.js → layers.6aHDNB7c.js} +3 -3
- package/dist/{layers.D3Pz_A_F.js → layers.7dxWyzAI.js} +1 -1
- package/dist/{layers.vl392NTk.js → layers.9qzXGVGI.js} +1 -1
- package/dist/{layers.CYO9fhOp.js → layers.A6CwFqax.js} +1 -1
- package/dist/{layers._OiP7IIU.js → layers.AiZCmV1t.js} +17 -19
- package/dist/{layers.LeuVgTD-.js → layers.B3-SuxGb.js} +1 -1
- package/dist/{layers.Dz3J5hzF.js → layers.B4-oO3lA.js} +1 -1
- package/dist/{layers.aNnytiDp.js → layers.B4Zi6bAp.js} +1 -1
- package/dist/{layers.pRnEgMyY.js → layers.B652NYpW.js} +1 -1
- package/dist/{layers.C7NWP0wD.js → layers.B8HLz9Gw.js} +1 -1
- package/dist/{layers.DqM2yzg7.js → layers.BAnqoHSH.js} +3 -3
- package/dist/{layers.hzw8K75g.js → layers.BBJgBv_q.js} +1 -1
- package/dist/{layers.KwUaUMcI.js → layers.BBPtcI0m.js} +1 -1
- package/dist/{layers.DUXwwMq0.js → layers.BCQ7o7Ii.js} +1 -1
- package/dist/{layers.sLeVri9t.js → layers.BCYP5AmP.js} +2 -2
- package/dist/{layers.DD04d8I3.js → layers.BDgZBQ-4.js} +1 -1
- package/dist/{layers.eU7STAP5.js → layers.BGY9VSLU.js} +1 -1
- package/dist/{layers.Bf4saA_r.js → layers.BHvavGY0.js} +1 -1
- package/dist/{layers.DJG_ZlHx.js → layers.BIiThTlS.js} +1 -1
- package/dist/{layers.Dz3LeR0p.js → layers.BJtdxspq.js} +1 -1
- package/dist/{layers.cPmNsT8F.js → layers.BM0tE40L.js} +1 -1
- package/dist/{layers.Iae6Qz-B.js → layers.BMeMRR_7.js} +1 -1
- package/dist/{layers.7bCZ86wN.js → layers.BNkn5eTg.js} +3 -3
- package/dist/{layers.BYzN4Zxz.js → layers.BODaZCcU.js} +1 -1
- package/dist/{layers.BNaOwJsO.js → layers.BPlAQzIG.js} +1 -1
- package/dist/{layers.DAnJoJqF.js → layers.BTBcJpds.js} +1 -1
- package/dist/{layers.DdlWqFWF.js → layers.BTCkEPVx.js} +3 -3
- package/dist/{layers.C9-kVrih.js → layers.BTZQp9oo.js} +1 -1
- package/dist/{layers.C5c_91gJ.js → layers.BU6JCK-A.js} +1 -1
- package/dist/{layers.DoBG7rdV.js → layers.BWGAXC9K.js} +2 -2
- package/dist/{layers.Da9w6_yz.js → layers.BXhHLv0m.js} +1 -1
- package/dist/{layers.Db6HDv4n.js → layers.BXxAZ6eZ.js} +5 -5
- package/dist/{layers.TT-kIfaa.js → layers.BY9STrtF.js} +43 -75
- package/dist/{layers.BzRwdPvh.js → layers.BYQv4PoF.js} +1 -1
- package/dist/{layers.DUbZmysc.js → layers.B_YjqyZM.js} +1 -1
- package/dist/{layers.CAZ7UyvV.js → layers.BbvUwQN-.js} +1 -1
- package/dist/{layers.Dgqz1o4e.js → layers.BcXRskzs.js} +1 -1
- package/dist/{layers.WrPlqard.js → layers.Bckxq5G5.js} +1 -1
- package/dist/{layers.IcgJ0zx2.js → layers.BdN3kctN.js} +2 -2
- package/dist/{layers.B1XGjt8P.js → layers.Bda5e9AQ.js} +1 -1
- package/dist/{layers.Cp7O-u4F.js → layers.Be2Ck524.js} +1 -1
- package/dist/{layers.9wTErTeV.js → layers.Bee-635c.js} +1 -1
- package/dist/{layers.DOPvMlyj.js → layers.Bg6r8fzJ.js} +7771 -7675
- package/dist/{layers.B7awqf1H.js → layers.Bg7nx_wm.js} +1 -1
- package/dist/{layers.CDfW27iI.js → layers.BgDUUozo.js} +1 -1
- package/dist/{layers.BKB3rTgB.js → layers.BgjIbjvn.js} +1 -1
- package/dist/{layers.DGzJNKo0.js → layers.BhnKRl71.js} +1 -1
- package/dist/{layers.NGecVmKn.js → layers.Birn4U_E.js} +2 -2
- package/dist/{layers.bdWGFjU0.js → layers.BnkLNnRS.js} +1 -1
- package/dist/{layers.Br5m0AIW.js → layers.BohLNJyh.js} +1 -1
- package/dist/{layers.tk4U7Wl-.js → layers.Boz0_eCV.js} +4 -4
- package/dist/{layers.DJ_jaz9t.js → layers.BqRC9FDT.js} +1 -1
- package/dist/{layers.CaDRKpkb.js → layers.BtJNMgdw.js} +1 -1
- package/dist/{layers.C4cjD21n.js → layers.BtzjCPBp.js} +1 -1
- package/dist/{layers.Dic9pGPA.js → layers.Bwnuq7nQ.js} +1 -1
- package/dist/{layers.DFDP3mZl.js → layers.BxaaoprN.js} +6 -6
- package/dist/{layers.Cp3XM5-U.js → layers.C-zpSFVR.js} +2681 -2668
- package/dist/{layers.C21uwaco.js → layers.C0ZNvKnw.js} +3 -3
- package/dist/{layers.FNpY0F1T.js → layers.C0z5XTe3.js} +2 -2
- package/dist/{layers.DyeRF_42.js → layers.C3Rw22vq.js} +1 -1
- package/dist/{layers.B2iryXmh.js → layers.C8aU0fuX.js} +5 -5
- package/dist/{layers.f8EALD8R.js → layers.C96P7ByS.js} +1 -1
- package/dist/{layers.Du3ZioZb.js → layers.CAlaIK4g.js} +5159 -4864
- package/dist/{layers.BbjW_pSS.js → layers.CBMxeBAj.js} +1 -1
- package/dist/{layers.Zh8r_asA.js → layers.CBsMBmYD.js} +1 -1
- package/dist/{layers.Dqt-xiXH.js → layers.CDMIJNp0.js} +4 -4
- package/dist/{layers.dxnA0WtS.js → layers.CDMuBa-_.js} +1 -1
- package/dist/{layers.C-S4ZGYk.js → layers.CE7BbMqo.js} +1 -1
- package/dist/{layers.CMQhgKMd.js → layers.CF8NS6oi.js} +1 -1
- package/dist/{layers.DwtJ4y_y.js → layers.CGJ5782E.js} +1 -1
- package/dist/{layers.DvJUcJIt.js → layers.CGt6y9i1.js} +1 -1
- package/dist/{layers.BgZMu6hT.js → layers.CIW-XUuZ.js} +1 -1
- package/dist/{layers.U2Iq8bQF.js → layers.CIa29KT0.js} +3 -3
- package/dist/{layers.DKYaXFCL.js → layers.CIjHEYBA.js} +1 -1
- package/dist/{layers.eInYScnA.js → layers.CJzMrG8C.js} +1 -1
- package/dist/{layers.BnhdX_Gr.js → layers.CN7IbcHS.js} +1 -1
- package/dist/{layers.CEXMiim9.js → layers.CND5HRfD.js} +1 -1
- package/dist/layers.CPCPMf-n.js +425 -0
- package/dist/{layers.BKFCt7JF.js → layers.CPPldYyg.js} +1 -1
- package/dist/{layers.B7ojLq6X.js → layers.CPpPlhrv.js} +1 -1
- package/dist/{layers.CK9jvvfs.js → layers.CR9P_Wab.js} +1 -1
- package/dist/{layers.BIoW2iNY.js → layers.C_esePfU.js} +1 -1
- package/dist/{layers.ih094nJV.js → layers.CbRH8a1j.js} +1 -1
- package/dist/{layers.CKXKiM4J.js → layers.Cc9_uswB.js} +1 -1
- package/dist/{layers.BNESMj3W.js → layers.CcbXL-g0.js} +1 -1
- package/dist/{layers.oN-8PMDY.js → layers.CeLePfgw.js} +1 -1
- package/dist/{layers.BTN9bj5-.js → layers.CeTac4CM.js} +1 -1
- package/dist/{layers.BPsBf3N1.js → layers.CfftxiYQ.js} +1 -1
- package/dist/{layers.RG5YAHea.js → layers.CghqCGMj.js} +3 -3
- package/dist/{layers._sCiRod3.js → layers.CnxecNk3.js} +1 -1
- package/dist/{layers.CApH31I7.js → layers.CoLyX3cX.js} +1 -1
- package/dist/{layers.i5MIbxTw.js → layers.CosyX26h.js} +4 -4
- package/dist/{layers.xbDJKMJa.js → layers.CqBNKg1S.js} +1 -1
- package/dist/{layers.BXj3OW-q.js → layers.CtL-9vEe.js} +2 -2
- package/dist/{layers.Cs7P01Uj.js → layers.CuRCmFlG.js} +1 -1
- package/dist/{layers.Dh80T4O1.js → layers.Cutc8HGZ.js} +1 -1
- package/dist/{layers.CYKhk0AF.js → layers.CvYZ3Ml3.js} +1 -1
- package/dist/{layers.BPVpukLj.js → layers.CwiZjTm-.js} +1 -1
- package/dist/{layers.BCZ_N83J.js → layers.CxEwXVOv.js} +2 -2
- package/dist/{layers.DA7paZC8.js → layers.CxnZi5RE.js} +1 -1
- package/dist/{layers.CgenFPuB.js → layers.CxtZWeuV.js} +1 -1
- package/dist/{layers.QeSB1vA6.js → layers.D0Rf3aJ-.js} +1 -1
- package/dist/{layers.BMRrvrE1.js → layers.D2Uo-C7N.js} +1 -1
- package/dist/{layers.BKlYBG9o.js → layers.D2zV6Hs3.js} +4 -4
- package/dist/{layers.C1aDn32T.js → layers.D3DLBgXE.js} +1 -1
- package/dist/{layers.CK3zI5wN.js → layers.D4-DXCNF.js} +1 -1
- package/dist/{layers.D3Ye17O-.js → layers.D4V3f7yA.js} +1 -1
- package/dist/{layers.BCnB6Y3Z.js → layers.DC6HU378.js} +1 -1
- package/dist/{layers.BgH4LCNP.js → layers.DCPUlpdn.js} +1 -1
- package/dist/{layers.CpFmgr19.js → layers.DD2krz5y.js} +1 -1
- package/dist/{layers.DWqEU9Pw.js → layers.DEKPybEs.js} +1 -1
- package/dist/{layers.DRLbLTQa.js → layers.DEj29MTi.js} +1 -1
- package/dist/{layers.C264v0LV.js → layers.DGdBr7uj.js} +1 -1
- package/dist/layers.DGuY7xbb.js +1 -0
- package/dist/{layers.DtlgBoJC.js → layers.DI1lAVVv.js} +1 -1
- package/dist/{layers.197alAI6.js → layers.DIe4Alc_.js} +1 -1
- package/dist/{layers.DE6MeapO.js → layers.DIo0xwQy.js} +1 -1
- package/dist/{layers.xJRhEJ9l.js → layers.DK6yd1-9.js} +1 -1
- package/dist/{layers.DWsBJ8ZT.js → layers.DKdWbzyN.js} +1 -1
- package/dist/{layers.e4fN_CoR.js → layers.DN5Stdkb.js} +1 -1
- package/dist/{layers.C6XwSpkg.js → layers.DNMLA5Sx.js} +1 -1
- package/dist/{layers.COoXvS-3.js → layers.DOjjOYR5.js} +1 -1
- package/dist/{layers.DrxiMlj-.js → layers.DOzqMf1G.js} +1 -1
- package/dist/{layers.DlanFkrr.js → layers.DPMYxiqL.js} +1 -1
- package/dist/{layers.B6IQvTW_.js → layers.DPuJvUib.js} +1 -1
- package/dist/layers.DQVuWa5Q.js +6 -0
- package/dist/{layers.C2MtkXTH.js → layers.DQnqyzR9.js} +1 -1
- package/dist/{layers.DkXgdSMl.js → layers.DTllXvuC.js} +1 -1
- package/dist/{layers.bfOfAYS4.js → layers.DTmYwjyy.js} +1 -1
- package/dist/{layers.CN_kKE5z.js → layers.DY_wJQVR.js} +1 -1
- package/dist/{layers.C2P8nxlh.js → layers.DZ4WCe8O.js} +3 -3
- package/dist/{layers.CLmgC3Un.js → layers.DZfI1rN4.js} +1 -1
- package/dist/layers.Da3yMH0i.js +8 -0
- package/dist/{layers.VA3vMgv8.js → layers.DaVXXzoo.js} +4 -4
- package/dist/{layers.BhRwOaKW.js → layers.DbaavSRn.js} +1 -1
- package/dist/{layers.ZRbLAD0j.js → layers.DgU9MEqO.js} +1 -1
- package/dist/layers.DgzTNF3O.js +1 -0
- package/dist/{layers.CCE6Ftvg.js → layers.Dhvfy7v8.js} +1 -1
- package/dist/{layers.CsIirSC8.js → layers.DiROAWaO.js} +1 -1
- package/dist/{layers.BNEQdrCL.js → layers.DlBMaMjv.js} +1 -1
- package/dist/{layers.ysBdu4Ft.js → layers.DlChl8Ap.js} +1 -1
- package/dist/{layers.BkigPg6q.js → layers.DmT8LYxt.js} +1 -1
- package/dist/{layers.C_koAla7.js → layers.DmWyJHQy.js} +1 -1
- package/dist/{layers.CZeXtbW9.js → layers.Dn0fqOqc.js} +10783 -10883
- package/dist/{layers.CRBfcMKc.js → layers.Dn8vNFNI.js} +1 -1
- package/dist/{layers.BZXVPEaN.js → layers.DqRbwQzq.js} +2 -2
- package/dist/{layers.3zVZltRF.js → layers.DqyNPRwZ.js} +1 -1
- package/dist/{layers.DtJQ9d7w.js → layers.DsFiy5Mq.js} +1 -1
- package/dist/{layers.BqPmDFz9.js → layers.Dskk8uhq.js} +1 -1
- package/dist/{layers.BiOkAykf.js → layers.DtSu_PeO.js} +1 -1
- package/dist/{layers.el0isiBs.js → layers.DuYmhH5M.js} +1 -1
- package/dist/{layers.CVt5xL4L.js → layers.Dv2kCAsV.js} +1 -1
- package/dist/{layers.X555Jd8l.js → layers.DvJhatBC.js} +1 -1
- package/dist/{layers.C_j9xfJx.js → layers.Dwyl9amn.js} +1 -1
- package/dist/{layers.BVNH9djK.js → layers.DxemEukt.js} +1 -1
- package/dist/{layers.OoBTPry5.js → layers.Dy8J3Ujf.js} +21 -23
- package/dist/{layers.x6Ic89sI.js → layers.Dz-m64Mp.js} +1 -1
- package/dist/{layers.DB2TqdoC.js → layers.DzE7WF3u.js} +1 -1
- package/dist/{layers.DOJ-bBTv.js → layers.GEGEzqF_.js} +1 -1
- package/dist/{layers.CGibuOu1.js → layers.Hfqhe0bh.js} +1 -1
- package/dist/{layers.D4HJ2im1.js → layers.In6Zis7V.js} +1 -1
- package/dist/{layers.cx9rUeHi.js → layers.InXGwJxF.js} +1 -1
- package/dist/{layers.BhZFBNiX.js → layers.LhUrSJE-.js} +1 -1
- package/dist/{layers.CXXeyS7B.js → layers.Lpr7GhOx.js} +1 -1
- package/dist/{layers.wf4VU0f0.js → layers.M1sws39F.js} +1 -1
- package/dist/{layers.De88sXC7.js → layers.OkwrDQA6.js} +2 -2
- package/dist/{layers.BIDnkNut.js → layers.OwyTRmnO.js} +1 -1
- package/dist/{layers.ClTg0VrU.js → layers.SIchF2O9.js} +1 -1
- package/dist/layers.V0hm-Byb.js +96 -0
- package/dist/{layers.4nvYTrtC.js → layers.V4CP7lwj.js} +1 -1
- package/dist/{layers.JrJLU8St.js → layers.VHlimcDq.js} +1 -1
- package/dist/{layers.BcfuznMe.js → layers.WQyoC9Vd.js} +1 -1
- package/dist/{layers.DGwJBWTE.js → layers.WvG1ZdSk.js} +1 -1
- package/dist/{layers.CZlsuoCH.js → layers.XTFl94zy.js} +1 -1
- package/dist/{layers.D3rTSZfp.js → layers.ZDUujT6N.js} +1 -1
- package/dist/{layers.DphdL73z.js → layers._f7UqGgM.js} +1 -1
- package/dist/{layers.DkxZkeYT.js → layers.a-bPoAhB.js} +4 -4
- package/dist/{layers.CLmN3_ZX.js → layers.aJXStXGb.js} +4 -4
- package/dist/{layers.DjliO2u2.js → layers.aScqxyRN.js} +1 -1
- package/dist/{layers.BWf8rUtM.js → layers.biHTnLuV.js} +1 -1
- package/dist/{layers.Sayl3Apc.js → layers.bpk5iC3D.js} +1 -1
- package/dist/{layers.3p_um1MY.js → layers.dhoRXoOW.js} +1 -1
- package/dist/{layers.6VVx8sHs.js → layers.dsTwBrI5.js} +4 -4
- package/dist/{layers.BTN9QAq_.js → layers.fO-Q1dHY.js} +1 -1
- package/dist/{layers.DGtA69cS.js → layers.gdQbR2q3.js} +1 -1
- package/dist/{layers.kRZbLakW.js → layers.hFNRNmpd.js} +1 -1
- package/dist/{layers.BXE4wxph.js → layers.i_Y8A9zA.js} +1 -1
- package/dist/{layers.D6lgbf5a.js → layers.jar3pxQU.js} +1 -1
- package/dist/{layers.DmJCPHmT.js → layers.lpLb-e0Q.js} +1 -1
- package/dist/{layers.BjIsWtty.js → layers.nPPBewJZ.js} +1 -1
- package/dist/{layers.B_V4JEWo.js → layers.o0uSpL2s.js} +1 -1
- package/dist/{layers.CIqC8aLN.js → layers.qz45Ugdq.js} +2 -2
- package/dist/{layers.oLTdz10g.js → layers.sav0hmWq.js} +1 -1
- package/dist/{layers.-qshpEz8.js → layers.shpZsYlJ.js} +3 -3
- package/dist/{layers.CtK_Moz1.js → layers.uYOSpoyV.js} +1 -1
- package/dist/{layers.C7G535jo.js → layers.v50r3PAk.js} +1 -1
- package/dist/{layers.cyX61Kdw.js → layers.x4J9FdT3.js} +72 -40
- package/dist/{layers.BVjUhCBI.js → layers.zZvuba7q.js} +1 -1
- package/package.json +18 -4
- package/dist/layers.BtwxaUEu.js +0 -1
- package/dist/layers.CuwyL41b.js +0 -1
- package/dist/layers.D-SZikYp.js +0 -8
- package/dist/layers.D6uy25MB.js +0 -122
- package/dist/layers.DPURQN4q.js +0 -96
- package/dist/layers.DxAe7GMj.js +0 -425
- package/dist/layers.s5pjTDTQ.js +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, q as Ye, l as Ne, j as ke } from "./layers.
|
|
1
|
+
import { a as Ce, s as Fe, b as Me, c as De, g as Te, d as oe, e as Pe, q as Ye, l as Ne, j as ke } from "./layers.C-zpSFVR.js";
|
|
2
2
|
import "lodash-es";
|
|
3
3
|
import { l as Ue } from "./layers.D4fGb2cV.js";
|
|
4
4
|
import { G as Be } from "./layers.C7lIplJU.js";
|
|
5
|
-
import "./layers.
|
|
6
|
-
import { l as Qe } from "./layers.
|
|
5
|
+
import "./layers.CAlaIK4g.js";
|
|
6
|
+
import { l as Qe } from "./layers.BtzjCPBp.js";
|
|
7
7
|
var ce = function() {
|
|
8
8
|
var e = function(V, i, r, a) {
|
|
9
9
|
for (r = r || {}, a = V.length; a--; r[V[a]] = i)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./layers.V0hm-Byb.js");require("./layers.x4J9FdT3.js");const tt=require("./layers.BXhHLv0m.js"),nt=require("./layers.B19hGmey.js"),st=require("./layers.9pNaFvaX.js"),R=require("./layers.DOrgOHBr.js");function rt(e,y){return y<e?-1:y>e?1:y>=e?0:NaN}function at(e){return e}function lt(){var e=at,y=rt,$=null,g=R.constant(0),d=R.constant(u.tau),E=R.constant(0);function f(a){var l,m=(a=st.array(a)).length,v,I,D=0,_=new Array(m),b=new Array(m),o=+g.apply(this,arguments),w=Math.min(u.tau,Math.max(-u.tau,d.apply(this,arguments)-o)),P,T=Math.min(Math.abs(w)/m,E.apply(this,arguments)),S=T*(w<0?-1:1),t;for(l=0;l<m;++l)(t=b[_[l]=l]=+e(a[l],l,a))>0&&(D+=t);for(y!=null?_.sort(function(i,n){return y(b[i],b[n])}):$!=null&&_.sort(function(i,n){return $(a[i],a[n])}),l=0,I=D?(w-m*S)/D:0;l<m;++l,o=P)v=_[l],t=b[v],P=o+(t>0?t*I:0)+S,b[v]={data:a[v],index:l,value:t,startAngle:o,endAngle:P,padAngle:T};return b}return f.value=function(a){return arguments.length?(e=typeof a=="function"?a:R.constant(+a),f):e},f.sortValues=function(a){return arguments.length?(y=a,$=null,f):y},f.sort=function(a){return arguments.length?($=a,y=null,f):$},f.startAngle=function(a){return arguments.length?(g=typeof a=="function"?a:R.constant(+a),f):g},f.endAngle=function(a){return arguments.length?(d=typeof a=="function"?a:R.constant(+a),f):d},f.padAngle=function(a){return arguments.length?(E=typeof a=="function"?a:R.constant(+a),f):E},f}var K=function(){var e=function(S,t,i,n){for(i=i||{},n=S.length;n--;i[S[n]]=t);return i},y=[1,3],$=[1,4],g=[1,5],d=[1,6],E=[1,10,12,14,16,18,19,20,21,22],f=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],l=[20,21,22],m=[2,7],v=[1,12],I=[1,13],D=[1,14],_=[1,15],b=[1,16],o=[1,17],w={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,i,n,r,c,s,V){var x=s.length-1;switch(c){case 3:r.setShowData(!0);break;case 6:this.$=s[x-1];break;case 8:r.addSection(s[x-1],r.cleanupValue(s[x]));break;case 9:this.$=s[x].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=s[x].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=s[x].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(s[x].substr(8)),this.$=s[x].substr(8);break}},table:[{3:1,4:2,5:y,20:$,21:g,22:d},{1:[3]},{3:7,4:2,5:y,20:$,21:g,22:d},e(E,f,{6:8,7:[1,9]}),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{1:[2,1]},e(l,m,{8:10,9:11,1:[2,2],10:v,12:I,14:D,16:_,18:b,19:o}),e(E,f,{6:18}),e(E,[2,5]),{4:19,20:$,21:g,22:d},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},e(l,[2,12]),e(l,[2,13]),e(l,m,{8:10,9:11,1:[2,3],10:v,12:I,14:D,16:_,18:b,19:o}),e(E,[2,6]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],r=[],c=[null],s=[],V=this.table,x="",p=0,N=0,z=2,j=1,B=s.slice.call(arguments,1),h=Object.create(this.lexer),L={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(L.yy[Y]=this.yy[Y]);h.setInput(t,L.yy),L.yy.lexer=h,L.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var Z=h.yylloc;s.push(Z);var et=h.options&&h.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function it(){var O;return O=r.pop()||h.lex()||j,typeof O!="number"&&(O instanceof Array&&(r=O,O=r.pop()),O=i.symbols_[O]||O),O}for(var k,F,A,H,M={},W,C,X,G;;){if(F=n[n.length-1],this.defaultActions[F]?A=this.defaultActions[F]:((k===null||typeof k>"u")&&(k=it()),A=V[F]&&V[F][k]),typeof A>"u"||!A.length||!A[0]){var J="";G=[];for(W in V[F])this.terminals_[W]&&W>z&&G.push("'"+this.terminals_[W]+"'");h.showPosition?J="Parse error on line "+(p+1)+`:
|
|
2
2
|
`+h.showPosition()+`
|
|
3
3
|
Expecting `+G.join(", ")+", got '"+(this.terminals_[k]||k)+"'":J="Parse error on line "+(p+1)+": Unexpected "+(k==j?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(J,{text:h.match,token:this.terminals_[k]||k,line:h.yylineno,loc:Z,expected:G})}if(A[0]instanceof Array&&A.length>1)throw new Error("Parse Error: multiple actions possible at state: "+F+", token: "+k);switch(A[0]){case 1:n.push(k),c.push(h.yytext),s.push(h.yylloc),n.push(A[1]),k=null,N=h.yyleng,x=h.yytext,p=h.yylineno,Z=h.yylloc;break;case 2:if(C=this.productions_[A[1]][1],M.$=c[c.length-C],M._$={first_line:s[s.length-(C||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(C||1)].first_column,last_column:s[s.length-1].last_column},et&&(M._$.range=[s[s.length-(C||1)].range[0],s[s.length-1].range[1]]),H=this.performAction.apply(M,[x,N,p,L.yy,A[1],c,s].concat(B)),typeof H<"u")return H;C&&(n=n.slice(0,-1*C*2),c=c.slice(0,-1*C),s=s.slice(0,-1*C)),n.push(this.productions_[A[1]][0]),c.push(M.$),s.push(M._$),X=V[n[n.length-2]][n[n.length-1]],n.push(X);break;case 3:return!0}}return!0}},P=function(){var S={EOF:1,parseError:function(i,n){if(this.yy.parser)this.yy.parser.parseError(i,n);else throw new Error(i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,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 t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var i=t.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var r=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),n.length-1&&(this.yylineno-=n.length-1);var c=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[c[0],c[0]+this.yyleng-i]),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(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.x4J9FdT3.js");var u={paste:"붙여넣기",pasteAsPlaintext:"일반 텍스트로 붙여넣기",pasteCharts:"차트 붙여넣기",selectAll:"전체 선택",multiSelect:"선택 영역에 추가하기",moveCanvas:"캔버스 이동",cut:"잘라내기",copy:"복사",copyAsPng:"클립보드로 PNG 이미지 복사",copyAsSvg:"클립보드로 SVG 이미지 복사",copyText:"클립보드로 텍스트 복사",copySource:"소스코드를 클립보드로 복사",convertToCode:"코드로 변환",bringForward:"앞으로 가져오기",sendToBack:"맨 뒤로 보내기",bringToFront:"맨 앞으로 가져오기",sendBackward:"뒤로 보내기",delete:"삭제",copyStyles:"스타일 복사하기",pasteStyles:"스타일 붙여넣기",stroke:"선 색상",background:"배경색",fill:"채우기",strokeWidth:"선 굵기",strokeStyle:"선",strokeStyle_solid:"실선",strokeStyle_dashed:"파선",strokeStyle_dotted:"점선",sloppiness:"대충 긋기",opacity:"불투명도",textAlign:"텍스트 정렬",edges:"가장자리",sharp:"뾰족하게",round:"둥글게",arrowheads:"화살촉",arrowhead_none:"없음",arrowhead_arrow:"화살표",arrowhead_bar:"막대",arrowhead_circle:"원",arrowhead_circle_outline:"원 (외곽선)",arrowhead_triangle:"삼각형",arrowhead_triangle_outline:"삼각형 (외곽선)",arrowhead_diamond:"마름모",arrowhead_diamond_outline:"마름모 (외곽선)",fontSize:"글자 크기",fontFamily:"글꼴",addWatermark:'"Made with Excalidraw" 추가',handDrawn:"손글씨",normal:"일반",code:"코드",small:"작게",medium:"보통",large:"크게",veryLarge:"매우 크게",solid:"단색",hachure:"평행선",zigzag:"지그재그",crossHatch:"교차선",thin:"얇게",bold:"굵게",left:"왼쪽",center:"가운데",right:"오른쪽",extraBold:"매우 굵게",architect:"건축가",artist:"예술가",cartoonist:"만화가",fileTitle:"파일 이름",colorPicker:"색상 선택기",canvasColors:"캔버스에서 사용되었음",canvasBackground:"캔버스 배경",drawingCanvas:"캔버스 그리기",layers:"레이어",actions:"동작",language:"언어",liveCollaboration:"실시간 협업...",duplicateSelection:"복제",untitled:"제목 없음",name:"이름",yourName:"이름 입력",madeWithExcalidraw:"Made with Excalidraw",group:"그룹 생성",ungroup:"그룹 해제",collaborators:"공동 작업자",showGrid:"그리드 보기",addToLibrary:"라이브러리에 추가",removeFromLibrary:"라이브러리에서 제거",libraryLoadingMessage:"라이브러리 불러오는 중…",libraries:"라이브러리 찾기",loadingScene:"화면 불러오는 중…",align:"정렬",alignTop:"상단 정렬",alignBottom:"하단 정렬",alignLeft:"왼쪽 정렬",alignRight:"오른쪽 정렬",centerVertically:"수직으로 중앙 정렬",centerHorizontally:"수평으로 중앙 정렬",distributeHorizontally:"수평으로 분배",distributeVertically:"수직으로 분배",flipHorizontal:"좌우반전",flipVertical:"상하반전",viewMode:"보기 모드",share:"공유",showStroke:"윤곽선 색상 선택기 열기",showBackground:"배경 색상 선택기 열기",toggleTheme:"테마 전환",personalLib:"개인 라이브러리",excalidrawLib:"Excalidraw 라이브러리",decreaseFontSize:"폰트 사이즈 줄이기",increaseFontSize:"폰트 사이즈 키우기",unbindText:"텍스트 분리",bindText:"텍스트를 컨테이너에 결합",createContainerFromText:"텍스트를 컨테이너에 담기",link:{edit:"링크 수정하기",editEmbed:"링크 & 임베드 수정하기",create:"링크 만들기",createEmbed:"링크 & 임베드 만들기",label:"링크",labelEmbed:"링크 & 임베드",empty:"링크를 지정하지 않았습니다"},lineEditor:{edit:"선 수정하기",exit:"선 편집기 종료"},elementLock:{lock:"잠금",unlock:"잠금 해제",lockAll:"모두 잠금",unlockAll:"모두 잠금 해제"},statusPublished:"게시됨",sidebarLock:"사이드바 유지",selectAllElementsInFrame:"프레임의 모든 요소 선택",removeAllElementsFromFrame:"프레임의 모든 요소 삭제",eyeDropper:"캔버스에서 색상 고르기",textToDiagram:"텍스트를 다이어그램으로",prompt:"프롬프트"},C={noItems:"추가된 아이템 없음",hint_emptyLibrary:"캔버스 위에서 아이템을 선택하여 여기에 추가를 하거나, 아래의 공용 저장소에서 라이브러리를 설치하세요.",hint_emptyPrivateLibrary:"캔버스 위에서 아이템을 선택하여 여기 추가하세요."},B={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:"클릭하여 상호작용"},D={clearReset:"모든 작업 내용이 초기화됩니다. 계속하시겠습니까?",couldNotCreateShareableLink:"공유 가능한 링크를 생성할 수 없습니다.",couldNotCreateShareableLinkTooBig:"공유 가능한 링크를 생성할 수 없습니다: 화면이 너무 큽니다.",couldNotLoadInvalidFile:"유효하지 않은 파일입니다.",importBackendFailed:"서버로부터 불러 오지 못했습니다.",cannotExportEmptyCanvas:"빈 캔버스를 내보낼 수 없습니다.",couldNotCopyToClipboard:"클립보드로 복사하지 못했습니다.",decryptFailed:"데이터를 복호화하지 못했습니다.",uploadedSecurly:"업로드는 종단 간 암호화로 보호되므로 Excalidraw 서버 및 타사가 콘텐츠를 읽을 수 없습니다.",loadSceneOverridePrompt:"외부 파일을 불러 오면 기존 콘텐츠가 대체됩니다. 계속 진행할까요?",collabStopOverridePrompt:`협업 세션을 종료하면 로컬 저장소에 있는 그림이 협업 세션의 그림으로 대체됩니다. 진행하겠습니까?
|
|
2
2
|
|
|
3
3
|
(로컬 저장소에 있는 그림을 유지하려면 현재 브라우저 탭을 닫아주세요.)`,errorAddingToLibrary:"아이템을 라이브러리에 추가 할수 없습니다",errorRemovingFromLibrary:"라이브러리에서 아이템을 삭제할수 없습니다",confirmAddLibrary:"{{numShapes}}개의 모양이 라이브러리에 추가됩니다. 계속하시겠어요?",imageDoesNotContainScene:"이 이미지는 화면 데이터를 포함하고 있지 않은 것 같습니다. 내보낼 때 화면을 첨부하도록 설정하셨나요?",cannotRestoreFromImage:"이미지 파일에서 화면을 복구할 수 없었습니다",invalidSceneUrl:"제공된 URL에서 화면을 가져오는데 실패했습니다. 주소가 잘못되거나, 유효한 Excalidraw JSON 데이터를 포함하고 있지 않은 것일 수 있습니다.",resetLibrary:"당신의 라이브러리를 초기화 합니다. 계속하시겠습니까?",removeItemsFromsLibrary:"{{count}}개의 아이템을 라이브러리에서 삭제하시겠습니까?",invalidEncryptionKey:"암호화 키는 반드시 22글자여야 합니다. 실시간 협업이 비활성화됩니다.",collabOfflineWarning:`인터넷에 연결되어 있지 않습니다.
|
|
4
4
|
변경 사항들이 저장되지 않습니다!`},A={unsupportedFileType:"지원하지 않는 파일 형식 입니다.",imageInsertError:"이미지를 삽입할 수 없습니다. 나중에 다시 시도 하십시오",fileTooBig:"파일이 너무 큽니다. 최대 크기는 {{maxSize}} 입니다.",svgImageInsertError:"SVG 이미지를 삽입하지 못했습니다. SVG 문법이 유효하지 않은 것 같습니다.",failedToFetchImage:"이미지를 가져오는데 실패했습니다.",invalidSVGString:"유효하지 않은 SVG입니다.",cannotResolveCollabServer:"협업 서버에 접속하는데 실패했습니다. 페이지를 새로고침하고 다시 시도해보세요.",importLibraryError:"라이브러리를 불러오지 못했습니다.",collabSaveFailed:"데이터베이스에 저장하지 못했습니다. 문제가 계속 된다면, 작업 내용을 잃지 않도록 로컬 저장소에 저장해 주세요.",collabSaveFailed_sizeExceeded:"데이터베이스에 저장하지 못했습니다. 캔버스가 너무 큰 거 같습니다. 문제가 계속 된다면, 작업 내용을 잃지 않도록 로컬 저장소에 저장해 주세요.",imageToolNotSupported:"이미지가 비활성화 되었습니다.",brave_measure_text_error:{line1:"귀하께서는 <bold>강력한 지문 차단 설정</bold>이 활성화된 Brave browser를 사용하고 계신 것 같습니다.",line2:"이 기능으로 인해 화이트보드의 <bold>텍스트 요소들</bold>이 손상될 수 있습니다.",line3:"저희는 해당 기능을 비활성화하는 것을 강력히 권장 드립니다. 비활성화 방법에 대해서는 <link>이 게시글</link>을 참고해주세요.",line4:"만약 이 설정을 껐음에도 텍스트 요소들이 올바르게 표시되지 않는다면, 저희 Github에 <issueLink>이슈</issueLink>를 올려주시거나 <discordLink>Discord</discordLink>로 알려주세요."},libraryElementTypeError:{embeddable:"임베드 요소들은 라이브러리에 추가할 수 없습니다.",iframe:"IFrame 요소들은 라이브러리에 추가할 수 없습니다.",image:"라이브러리에 이미지 삽입 기능은 곧 지원될 예정입니다!"},asyncPasteFailedOnRead:"붙여넣는데 실패했습니다. (시스템 클립보드를 읽는데 실패했습니다)",asyncPasteFailedOnParse:"붙여넣는데 실패했습니다.",copyToSystemClipboardFailed:"클립보드로 복사하는데 실패했습니다."},e={selection:"선택",image:"이미지 삽입",rectangle:"사각형",diamond:"다이아몬드",ellipse:"타원",arrow:"화살표",line:"선",freedraw:"그리기",text:"텍스트",library:"라이브러리",lock:"선택된 도구 유지하기",penMode:"펜 모드 - 터치 방지",link:"선택한 도형에 대해서 링크를 추가/업데이트",eraser:"지우개",frame:"프레임 도구",magicframe:"와이어프레임을 코드로",embeddable:"웹 임베드",laser:"레이저 포인터",hand:"손 (패닝 도구)",extraTools:"다른 도구",mermaidToExcalidraw:"Mermaid에서 불러오기",magicSettings:"AI 설정"},E={canvasActions:"캔버스 동작",selectedShapeActions:"선택된 모양 동작",shapes:"모양"},r={canvasPanning:"캔버스를 옮기려면 마우스 휠이나 스페이스바를 누르고 드래그하거나, 손 도구를 사용하기",linearElement:"여러 점을 연결하려면 클릭하고, 직선을 그리려면 바로 드래그하세요.",freeDraw:"클릭 후 드래그하세요. 완료되면 놓으세요.",text:"팁: 선택 툴로 아무 곳이나 더블 클릭해 텍스트를 추가할 수도 있습니다.",embeddable:"클릭 및 드래그하여 웹사이트 임베드 만들기",text_selected:"더블 클릭 또는 ENTER를 눌러서 텍스트 수정",text_editing:"ESC나 CtrlOrCmd+ENTER를 눌러서 수정을 종료하기",linearElementMulti:"마지막 지점을 클릭하거나 Esc 또는 Enter 키를 눌러 완료하세요.",lockAngle:"SHIFT 키를 누르면서 회전하면 각도를 제한할 수 있습니다.",resize:`SHIFT 키를 누르면서 조정하면 크기의 비율이 제한됩니다.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as P, d as N, p as W } from "./layers.
|
|
2
|
-
import { g as t, d as H, l as b, e as R, j as T, r as v, u as U } from "./layers.
|
|
1
|
+
import { s as P, d as N, p as W } from "./layers.ZDUujT6N.js";
|
|
2
|
+
import { g as t, d as H, l as b, e as R, j as T, r as v, u as U } from "./layers.C-zpSFVR.js";
|
|
3
3
|
import "lodash-es";
|
|
4
4
|
import { l as C } from "./layers.D4fGb2cV.js";
|
|
5
5
|
import { G as F } from "./layers.C7lIplJU.js";
|
|
6
|
-
import "./layers.
|
|
7
|
-
import { l as $ } from "./layers.
|
|
6
|
+
import "./layers.CAlaIK4g.js";
|
|
7
|
+
import { l as $ } from "./layers.BtzjCPBp.js";
|
|
8
8
|
const O = (e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), X = (e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), J = (e, i) => {
|
|
9
9
|
const o = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = o.node().getBBox();
|
|
10
10
|
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("./layers.9pNaFvaX.js"),f=require("./layers.DOrgOHBr.js"),m=require("./layers.
|
|
1
|
+
"use strict";const d=require("./layers.9pNaFvaX.js"),f=require("./layers.DOrgOHBr.js"),m=require("./layers.V0hm-Byb.js");function v(t){return t[0]}function q(t){return t[1]}function y(t,u){var s=f.constant(!0),o=null,c=m.curveLinear,r=null,p=f.withPath(e);t=typeof t=="function"?t:t===void 0?v:f.constant(t),u=typeof u=="function"?u:u===void 0?q:f.constant(u);function e(n){var i,h=(n=d.array(n)).length,a,l=!1,g;for(o==null&&(r=c(g=p())),i=0;i<=h;++i)!(i<h&&s(a=n[i],i,n))===l&&((l=!l)?r.lineStart():r.lineEnd()),l&&r.point(+t(a,i,n),+u(a,i,n));if(g)return r=null,g+""||null}return e.x=function(n){return arguments.length?(t=typeof n=="function"?n:f.constant(+n),e):t},e.y=function(n){return arguments.length?(u=typeof n=="function"?n:f.constant(+n),e):u},e.defined=function(n){return arguments.length?(s=typeof n=="function"?n:f.constant(!!n),e):s},e.curve=function(n){return arguments.length?(c=n,o!=null&&(r=c(o)),e):c},e.context=function(n){return arguments.length?(n==null?o=r=null:r=c(o=n),e):o},e}exports.line=y;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./layers.DPURQN4q.js");require("./layers.cyX61Kdw.js");var le=function(){var r=function(S,o,u,k){for(u=u||{},k=S.length;k--;u[S[k]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],y=[7,13,19,21,23,24,26,28,31,37,40],_=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],C=[1,42],E=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],x=[1,56],d=[1,57],T=[7,13,32,35,42,47],D={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,k,s,w,e,J){var t=e.length-1;switch(w){case 2:return e[t];case 3:return e[t-1];case 4:return s.setDirection(e[t-3]),e[t-1];case 6:s.setOptions(e[t-1]),this.$=e[t];break;case 7:e[t-1]+=e[t],this.$=e[t-1];break;case 9:this.$=[];break;case 10:e[t-1].push(e[t]),this.$=e[t-1];break;case 11:this.$=e[t-1];break;case 16:this.$=e[t].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=e[t].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 21:s.checkout(e[t]);break;case 22:s.branch(e[t]);break;case 23:s.branch(e[t-2],e[t]);break;case 24:s.cherryPick(e[t],"",void 0);break;case 25:s.cherryPick(e[t-2],"",void 0,e[t]);break;case 26:s.cherryPick(e[t-2],"",e[t]);break;case 27:s.cherryPick(e[t-4],"",e[t],e[t-2]);break;case 28:s.cherryPick(e[t-4],"",e[t-2],e[t]);break;case 29:s.cherryPick(e[t],"",e[t-2]);break;case 30:s.cherryPick(e[t],"","");break;case 31:s.cherryPick(e[t-2],"","");break;case 32:s.cherryPick(e[t-4],"","",e[t-2]);break;case 33:s.cherryPick(e[t-4],"","",e[t]);break;case 34:s.cherryPick(e[t-2],"",e[t-4],e[t]);break;case 35:s.cherryPick(e[t-2],"","",e[t]);break;case 36:s.merge(e[t],"","","");break;case 37:s.merge(e[t-2],e[t],"","");break;case 38:s.merge(e[t-2],"",e[t],"");break;case 39:s.merge(e[t-2],"","",e[t]);break;case 40:s.merge(e[t-4],e[t],"",e[t-2]);break;case 41:s.merge(e[t-4],"",e[t],e[t-2]);break;case 42:s.merge(e[t-4],"",e[t-2],e[t]);break;case 43:s.merge(e[t-4],e[t-2],e[t],"");break;case 44:s.merge(e[t-4],e[t-2],"",e[t]);break;case 45:s.merge(e[t-4],e[t],e[t-2],"");break;case 46:s.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 47:s.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 48:s.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 49:s.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 50:s.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 51:s.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 52:s.commit(e[t]);break;case 53:s.commit("","",s.commitType.NORMAL,e[t]);break;case 54:s.commit("","",e[t],"");break;case 55:s.commit("","",e[t],e[t-2]);break;case 56:s.commit("","",e[t-2],e[t]);break;case 57:s.commit("",e[t],s.commitType.NORMAL,"");break;case 58:s.commit("",e[t-2],s.commitType.NORMAL,e[t]);break;case 59:s.commit("",e[t],s.commitType.NORMAL,e[t-2]);break;case 60:s.commit("",e[t-2],e[t],"");break;case 61:s.commit("",e[t],e[t-2],"");break;case 62:s.commit("",e[t-4],e[t-2],e[t]);break;case 63:s.commit("",e[t-4],e[t],e[t-2]);break;case 64:s.commit("",e[t-2],e[t-4],e[t]);break;case 65:s.commit("",e[t],e[t-4],e[t-2]);break;case 66:s.commit("",e[t],e[t-2],e[t-4]);break;case 67:s.commit("",e[t-2],e[t],e[t-4]);break;case 68:s.commit(e[t],"",s.commitType.NORMAL,"");break;case 69:s.commit(e[t],"",s.commitType.NORMAL,e[t-2]);break;case 70:s.commit(e[t-2],"",s.commitType.NORMAL,e[t]);break;case 71:s.commit(e[t-2],"",e[t],"");break;case 72:s.commit(e[t],"",e[t-2],"");break;case 73:s.commit(e[t],e[t-2],s.commitType.NORMAL,"");break;case 74:s.commit(e[t-2],e[t],s.commitType.NORMAL,"");break;case 75:s.commit(e[t-4],"",e[t-2],e[t]);break;case 76:s.commit(e[t-4],"",e[t],e[t-2]);break;case 77:s.commit(e[t-2],"",e[t-4],e[t]);break;case 78:s.commit(e[t],"",e[t-4],e[t-2]);break;case 79:s.commit(e[t],"",e[t-2],e[t-4]);break;case 80:s.commit(e[t-2],"",e[t],e[t-4]);break;case 81:s.commit(e[t-4],e[t],e[t-2],"");break;case 82:s.commit(e[t-4],e[t-2],e[t],"");break;case 83:s.commit(e[t-2],e[t],e[t-4],"");break;case 84:s.commit(e[t],e[t-2],e[t-4],"");break;case 85:s.commit(e[t],e[t-4],e[t-2],"");break;case 86:s.commit(e[t-2],e[t-4],e[t],"");break;case 87:s.commit(e[t-4],e[t],s.commitType.NORMAL,e[t-2]);break;case 88:s.commit(e[t-4],e[t-2],s.commitType.NORMAL,e[t]);break;case 89:s.commit(e[t-2],e[t],s.commitType.NORMAL,e[t-4]);break;case 90:s.commit(e[t],e[t-2],s.commitType.NORMAL,e[t-4]);break;case 91:s.commit(e[t],e[t-4],s.commitType.NORMAL,e[t-2]);break;case 92:s.commit(e[t-2],e[t-4],s.commitType.NORMAL,e[t]);break;case 93:s.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 94:s.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 95:s.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 96:s.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 97:s.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 98:s.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 99:s.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 100:s.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 101:s.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 102:s.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 103:s.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 104:s.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 105:s.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 106:s.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 107:s.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 108:s.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 109:s.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 110:s.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 111:s.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 112:s.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 113:s.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 114:s.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 115:s.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 116:s.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 117:this.$="";break;case 118:this.$=e[t];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(y,[2,9],{11:16,12:[1,17]}),r(_,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(_,[2,7]),{1:[2,3]},{7:[1,36]},r(y,[2,10]),{4:37,7:l,13:h,47:i},r(y,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:C,46:E},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:C,46:E},{32:[1,50],35:[1,51]},{27:52,33:C,46:E},{1:[2,4]},r(y,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(b,[2,122]),r(b,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:x,45:d},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(T,[2,119]),r(T,[2,120]),r(T,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:x,45:d},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:x,45:d},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:x,45:d},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:x,45:d},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:x,45:d},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:x,45:d},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:x,45:d},{33:[1,148]},{39:149,43:f,44:x,45:d},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:x,45:d},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:x,45:d},{33:[1,162]},{39:163,43:f,44:x,45:d},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:x,45:d},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:x,45:d},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:x,45:d},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:x,45:d},{33:[1,215]},{39:216,43:f,44:x,45:d},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:x,45:d},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:x,45:d},{33:[1,229]},{39:230,43:f,44:x,45:d},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:x,45:d},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var k=new Error(o);throw k.hash=u,k}},parse:function(o){var u=this,k=[0],s=[],w=[null],e=[],J=this.table,t="",ee=0,me=0,Ee=2,ue=1,Te=e.slice.call(arguments,1),O=Object.create(this.lexer),j={yy:{}};for(var ae in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ae)&&(j.yy[ae]=this.yy[ae]);O.setInput(o,j.yy),j.yy.lexer=O,j.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ne=O.yylloc;e.push(ne);var we=O.options&&O.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var z;return z=s.pop()||O.lex()||ue,typeof z!="number"&&(z instanceof Array&&(s=z,z=s.pop()),z=u.symbols_[z]||z),z}for(var N,Y,B,ce,U={},te,V,fe,re;;){if(Y=k[k.length-1],this.defaultActions[Y]?B=this.defaultActions[Y]:((N===null||typeof N>"u")&&(N=Le()),B=J[Y]&&J[Y][N]),typeof B>"u"||!B.length||!B[0]){var oe="";re=[];for(te in J[Y])this.terminals_[te]&&te>Ee&&re.push("'"+this.terminals_[te]+"'");O.showPosition?oe="Parse error on line "+(ee+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./layers.V0hm-Byb.js");require("./layers.x4J9FdT3.js");var le=function(){var r=function(S,o,u,k){for(u=u||{},k=S.length;k--;u[S[k]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],y=[7,13,19,21,23,24,26,28,31,37,40],_=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],C=[1,42],E=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],x=[1,56],d=[1,57],T=[7,13,32,35,42,47],D={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,k,s,w,e,J){var t=e.length-1;switch(w){case 2:return e[t];case 3:return e[t-1];case 4:return s.setDirection(e[t-3]),e[t-1];case 6:s.setOptions(e[t-1]),this.$=e[t];break;case 7:e[t-1]+=e[t],this.$=e[t-1];break;case 9:this.$=[];break;case 10:e[t-1].push(e[t]),this.$=e[t-1];break;case 11:this.$=e[t-1];break;case 16:this.$=e[t].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=e[t].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(e[t].substr(8)),this.$=e[t].substr(8);break;case 21:s.checkout(e[t]);break;case 22:s.branch(e[t]);break;case 23:s.branch(e[t-2],e[t]);break;case 24:s.cherryPick(e[t],"",void 0);break;case 25:s.cherryPick(e[t-2],"",void 0,e[t]);break;case 26:s.cherryPick(e[t-2],"",e[t]);break;case 27:s.cherryPick(e[t-4],"",e[t],e[t-2]);break;case 28:s.cherryPick(e[t-4],"",e[t-2],e[t]);break;case 29:s.cherryPick(e[t],"",e[t-2]);break;case 30:s.cherryPick(e[t],"","");break;case 31:s.cherryPick(e[t-2],"","");break;case 32:s.cherryPick(e[t-4],"","",e[t-2]);break;case 33:s.cherryPick(e[t-4],"","",e[t]);break;case 34:s.cherryPick(e[t-2],"",e[t-4],e[t]);break;case 35:s.cherryPick(e[t-2],"","",e[t]);break;case 36:s.merge(e[t],"","","");break;case 37:s.merge(e[t-2],e[t],"","");break;case 38:s.merge(e[t-2],"",e[t],"");break;case 39:s.merge(e[t-2],"","",e[t]);break;case 40:s.merge(e[t-4],e[t],"",e[t-2]);break;case 41:s.merge(e[t-4],"",e[t],e[t-2]);break;case 42:s.merge(e[t-4],"",e[t-2],e[t]);break;case 43:s.merge(e[t-4],e[t-2],e[t],"");break;case 44:s.merge(e[t-4],e[t-2],"",e[t]);break;case 45:s.merge(e[t-4],e[t],e[t-2],"");break;case 46:s.merge(e[t-6],e[t-4],e[t-2],e[t]);break;case 47:s.merge(e[t-6],e[t],e[t-4],e[t-2]);break;case 48:s.merge(e[t-6],e[t-4],e[t],e[t-2]);break;case 49:s.merge(e[t-6],e[t-2],e[t-4],e[t]);break;case 50:s.merge(e[t-6],e[t],e[t-2],e[t-4]);break;case 51:s.merge(e[t-6],e[t-2],e[t],e[t-4]);break;case 52:s.commit(e[t]);break;case 53:s.commit("","",s.commitType.NORMAL,e[t]);break;case 54:s.commit("","",e[t],"");break;case 55:s.commit("","",e[t],e[t-2]);break;case 56:s.commit("","",e[t-2],e[t]);break;case 57:s.commit("",e[t],s.commitType.NORMAL,"");break;case 58:s.commit("",e[t-2],s.commitType.NORMAL,e[t]);break;case 59:s.commit("",e[t],s.commitType.NORMAL,e[t-2]);break;case 60:s.commit("",e[t-2],e[t],"");break;case 61:s.commit("",e[t],e[t-2],"");break;case 62:s.commit("",e[t-4],e[t-2],e[t]);break;case 63:s.commit("",e[t-4],e[t],e[t-2]);break;case 64:s.commit("",e[t-2],e[t-4],e[t]);break;case 65:s.commit("",e[t],e[t-4],e[t-2]);break;case 66:s.commit("",e[t],e[t-2],e[t-4]);break;case 67:s.commit("",e[t-2],e[t],e[t-4]);break;case 68:s.commit(e[t],"",s.commitType.NORMAL,"");break;case 69:s.commit(e[t],"",s.commitType.NORMAL,e[t-2]);break;case 70:s.commit(e[t-2],"",s.commitType.NORMAL,e[t]);break;case 71:s.commit(e[t-2],"",e[t],"");break;case 72:s.commit(e[t],"",e[t-2],"");break;case 73:s.commit(e[t],e[t-2],s.commitType.NORMAL,"");break;case 74:s.commit(e[t-2],e[t],s.commitType.NORMAL,"");break;case 75:s.commit(e[t-4],"",e[t-2],e[t]);break;case 76:s.commit(e[t-4],"",e[t],e[t-2]);break;case 77:s.commit(e[t-2],"",e[t-4],e[t]);break;case 78:s.commit(e[t],"",e[t-4],e[t-2]);break;case 79:s.commit(e[t],"",e[t-2],e[t-4]);break;case 80:s.commit(e[t-2],"",e[t],e[t-4]);break;case 81:s.commit(e[t-4],e[t],e[t-2],"");break;case 82:s.commit(e[t-4],e[t-2],e[t],"");break;case 83:s.commit(e[t-2],e[t],e[t-4],"");break;case 84:s.commit(e[t],e[t-2],e[t-4],"");break;case 85:s.commit(e[t],e[t-4],e[t-2],"");break;case 86:s.commit(e[t-2],e[t-4],e[t],"");break;case 87:s.commit(e[t-4],e[t],s.commitType.NORMAL,e[t-2]);break;case 88:s.commit(e[t-4],e[t-2],s.commitType.NORMAL,e[t]);break;case 89:s.commit(e[t-2],e[t],s.commitType.NORMAL,e[t-4]);break;case 90:s.commit(e[t],e[t-2],s.commitType.NORMAL,e[t-4]);break;case 91:s.commit(e[t],e[t-4],s.commitType.NORMAL,e[t-2]);break;case 92:s.commit(e[t-2],e[t-4],s.commitType.NORMAL,e[t]);break;case 93:s.commit(e[t-6],e[t-4],e[t-2],e[t]);break;case 94:s.commit(e[t-6],e[t-4],e[t],e[t-2]);break;case 95:s.commit(e[t-6],e[t-2],e[t-4],e[t]);break;case 96:s.commit(e[t-6],e[t],e[t-4],e[t-2]);break;case 97:s.commit(e[t-6],e[t-2],e[t],e[t-4]);break;case 98:s.commit(e[t-6],e[t],e[t-2],e[t-4]);break;case 99:s.commit(e[t-4],e[t-6],e[t-2],e[t]);break;case 100:s.commit(e[t-4],e[t-6],e[t],e[t-2]);break;case 101:s.commit(e[t-2],e[t-6],e[t-4],e[t]);break;case 102:s.commit(e[t],e[t-6],e[t-4],e[t-2]);break;case 103:s.commit(e[t-2],e[t-6],e[t],e[t-4]);break;case 104:s.commit(e[t],e[t-6],e[t-2],e[t-4]);break;case 105:s.commit(e[t],e[t-4],e[t-2],e[t-6]);break;case 106:s.commit(e[t-2],e[t-4],e[t],e[t-6]);break;case 107:s.commit(e[t],e[t-2],e[t-4],e[t-6]);break;case 108:s.commit(e[t-2],e[t],e[t-4],e[t-6]);break;case 109:s.commit(e[t-4],e[t-2],e[t],e[t-6]);break;case 110:s.commit(e[t-4],e[t],e[t-2],e[t-6]);break;case 111:s.commit(e[t-2],e[t-4],e[t-6],e[t]);break;case 112:s.commit(e[t],e[t-4],e[t-6],e[t-2]);break;case 113:s.commit(e[t-2],e[t],e[t-6],e[t-4]);break;case 114:s.commit(e[t],e[t-2],e[t-6],e[t-4]);break;case 115:s.commit(e[t-4],e[t-2],e[t-6],e[t]);break;case 116:s.commit(e[t-4],e[t],e[t-6],e[t-2]);break;case 117:this.$="";break;case 118:this.$=e[t];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(y,[2,9],{11:16,12:[1,17]}),r(_,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(_,[2,7]),{1:[2,3]},{7:[1,36]},r(y,[2,10]),{4:37,7:l,13:h,47:i},r(y,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:C,46:E},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:C,46:E},{32:[1,50],35:[1,51]},{27:52,33:C,46:E},{1:[2,4]},r(y,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(b,[2,122]),r(b,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:x,45:d},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(T,[2,119]),r(T,[2,120]),r(T,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:x,45:d},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:x,45:d},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:x,45:d},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:x,45:d},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:x,45:d},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:x,45:d},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:x,45:d},{33:[1,148]},{39:149,43:f,44:x,45:d},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:x,45:d},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:x,45:d},{33:[1,162]},{39:163,43:f,44:x,45:d},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:x,45:d},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:x,45:d},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:x,45:d},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:x,45:d},{33:[1,215]},{39:216,43:f,44:x,45:d},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:x,45:d},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:x,45:d},{33:[1,229]},{39:230,43:f,44:x,45:d},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:x,45:d},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var k=new Error(o);throw k.hash=u,k}},parse:function(o){var u=this,k=[0],s=[],w=[null],e=[],J=this.table,t="",ee=0,me=0,Ee=2,ue=1,Te=e.slice.call(arguments,1),O=Object.create(this.lexer),j={yy:{}};for(var ae in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ae)&&(j.yy[ae]=this.yy[ae]);O.setInput(o,j.yy),j.yy.lexer=O,j.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ne=O.yylloc;e.push(ne);var we=O.options&&O.options.ranges;typeof j.yy.parseError=="function"?this.parseError=j.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var z;return z=s.pop()||O.lex()||ue,typeof z!="number"&&(z instanceof Array&&(s=z,z=s.pop()),z=u.symbols_[z]||z),z}for(var N,Y,B,ce,U={},te,V,fe,re;;){if(Y=k[k.length-1],this.defaultActions[Y]?B=this.defaultActions[Y]:((N===null||typeof N>"u")&&(N=Le()),B=J[Y]&&J[Y][N]),typeof B>"u"||!B.length||!B[0]){var oe="";re=[];for(te in J[Y])this.terminals_[te]&&te>Ee&&re.push("'"+this.terminals_[te]+"'");O.showPosition?oe="Parse error on line "+(ee+1)+`:
|
|
2
2
|
`+O.showPosition()+`
|
|
3
3
|
Expecting `+re.join(", ")+", got '"+(this.terminals_[N]||N)+"'":oe="Parse error on line "+(ee+1)+": Unexpected "+(N==ue?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(oe,{text:O.match,token:this.terminals_[N]||N,line:O.yylineno,loc:ne,expected:re})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Y+", token: "+N);switch(B[0]){case 1:k.push(N),w.push(O.yytext),e.push(O.yylloc),k.push(B[1]),N=null,me=O.yyleng,t=O.yytext,ee=O.yylineno,ne=O.yylloc;break;case 2:if(V=this.productions_[B[1]][1],U.$=w[w.length-V],U._$={first_line:e[e.length-(V||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(V||1)].first_column,last_column:e[e.length-1].last_column},we&&(U._$.range=[e[e.length-(V||1)].range[0],e[e.length-1].range[1]]),ce=this.performAction.apply(U,[t,me,ee,j.yy,B[1],w,e].concat(Te)),typeof ce<"u")return ce;V&&(k=k.slice(0,-1*V*2),w=w.slice(0,-1*V),e=e.slice(0,-1*V)),k.push(this.productions_[B[1]][0]),w.push(U.$),e.push(U._$),fe=J[k[k.length-2]][k[k.length-1]],k.push(fe);break;case 3:return!0}}return!0}},M=function(){var S={EOF:1,parseError:function(u,k){if(this.yy.parser)this.yy.parser.parseError(u,k);else throw new Error(u)},setInput:function(o,u){return this.yy=u||this.yy||{},this._input=o,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 o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var u=o.length,k=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var s=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),k.length-1&&(this.yylineno-=k.length-1);var w=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:k?(k.length===s.length?this.yylloc.first_column:0)+s[s.length-k.length].length-k[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[w[0],w[0]+this.yyleng-u]),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(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
5
5
|
`+u+"^"},test_match:function(o,u){var k,s,w;if(this.options.backtrack_lexer&&(w={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(w.yylloc.range=this.yylloc.range.slice(0))),s=o[0].match(/(?:\r\n?|\n).*/g),s&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+o[0].length},this.yytext+=o[0],this.match+=o[0],this.matches=o,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(o[0].length),this.matched+=o[0],k=this.performAction.call(this,this.yy,this,u,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),k)return k;if(this._backtrack){for(var e in w)this[e]=w[e];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var o,u,k,s;this._more||(this.yytext="",this.match="");for(var w=this._currentRules(),e=0;e<w.length;e++)if(k=this._input.match(this.rules[w[e]]),k&&(!u||k[0].length>u[0].length)){if(u=k,s=e,this.options.backtrack_lexer){if(o=this.test_match(k,w[e]),o!==!1)return o;if(this._backtrack){u=!1;continue}else return!1}else if(!this.options.flex)break}return u?(o=this.test_match(u,w[s]),o!==!1?o:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var u=this.next();return u||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){var u=this.conditionStack.length-1;return u>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return u=this.conditionStack.length-1-Math.abs(u||0),u>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,k,s,w){switch(s){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:break;case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:return 9;case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 30:this.popState();break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 34:this.popState();break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};return S}();D.lexer=M;function G(){this.yy={}}return G.prototype=D,D.Parser=G,new G}();le.parser=le;const Re=le;let ie=g.getConfig().gitGraph.mainBranchName,Ce=g.getConfig().gitGraph.mainBranchOrder,v={},I=null,Z={};Z[ie]={name:ie,order:Ce};let R={};R[ie]=I;let A=ie,be="LR",K=0;function he(){return g.random({length:7})}function Me(r,n){const l=Object.create(null);return r.reduce((h,i)=>{const c=n(i);return l[c]||(l[c]=!0,h.push(i)),h},[])}const ve=function(r){be=r};let de={};const Oe=function(r){g.log$1.debug("options str",r),r=r&&r.trim(),r=r||"{}";try{de=JSON.parse(r)}catch(n){g.log$1.error("error while parsing gitGraph options",n.message)}},Pe=function(){return de},Ae=function(r,n,l,h){g.log$1.debug("Entering commit:",r,n,l,h),n=g.common$1.sanitizeText(n,g.getConfig()),r=g.common$1.sanitizeText(r,g.getConfig()),h=g.common$1.sanitizeText(h,g.getConfig());const i={id:n||K+"-"+he(),message:r,seq:K++,type:l||W.NORMAL,tag:h||"",parents:I==null?[]:[I.id],branch:A};I=i,v[i.id]=i,R[A]=i.id,g.log$1.debug("in pushCommit "+i.id)},Se=function(r,n){if(r=g.common$1.sanitizeText(r,g.getConfig()),R[r]===void 0)R[r]=I!=null?I.id:null,Z[r]={name:r,order:n?parseInt(n,10):null},ke(r),g.log$1.debug("in createBranch");else{let l=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+r+'")');throw l.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},l}},Ge=function(r,n,l,h){r=g.common$1.sanitizeText(r,g.getConfig()),n=g.common$1.sanitizeText(n,g.getConfig());const i=v[R[A]],c=v[R[r]];if(A===r){let m=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(i===void 0||!i){let m=new Error('Incorrect usage of "merge". Current branch ('+A+")has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},m}else if(R[r]===void 0){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},m}else if(c===void 0||!c){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},m}else if(i===c){let m=new Error('Incorrect usage of "merge". Both branches have same head');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(n&&v[n]!==void 0){let m=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw m.hash={text:"merge "+r+n+l+h,token:"merge "+r+n+l+h,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+l+" "+h]},m}const p={id:n||K+"-"+he(),message:"merged branch "+r+" into "+A,seq:K++,parents:[I==null?null:I.id,R[r]],branch:A,type:W.MERGE,customType:l,customId:!!n,tag:h||""};I=p,v[p.id]=p,R[A]=p.id,g.log$1.debug(R),g.log$1.debug("in mergeBranch")},Ie=function(r,n,l,h){if(g.log$1.debug("Entering cherryPick:",r,n,l),r=g.common$1.sanitizeText(r,g.getConfig()),n=g.common$1.sanitizeText(n,g.getConfig()),l=g.common$1.sanitizeText(l,g.getConfig()),h=g.common$1.sanitizeText(h,g.getConfig()),!r||v[r]===void 0){let p=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}let i=v[r],c=i.branch;if(h&&!(Array.isArray(i.parents)&&i.parents.includes(h)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(i.type===W.MERGE&&!h)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!n||v[n]===void 0){if(c===A){let y=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const p=v[R[A]];if(p===void 0||!p){let y=new Error('Incorrect usage of "cherry-pick". Current branch ('+A+")has no commits");throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const m={id:K+"-"+he(),message:"cherry-picked "+i+" into "+A,seq:K++,parents:[I==null?null:I.id,i.id],branch:A,type:W.CHERRY_PICK,tag:l??`cherry-pick:${i.id}${i.type===W.MERGE?`|parent:${h}`:""}`};I=m,v[m.id]=m,R[A]=m.id,g.log$1.debug(R),g.log$1.debug("in cherryPick")}},ke=function(r){if(r=g.common$1.sanitizeText(r,g.getConfig()),R[r]===void 0){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}else{A=r;const n=R[A];I=v[n]}};function ge(r,n,l){const h=r.indexOf(n);h===-1?r.push(l):r.splice(h,1,l)}function xe(r){const n=r.reduce((i,c)=>i.seq>c.seq?i:c,r[0]);let l="";r.forEach(function(i){i===n?l+=" *":l+=" |"});const h=[l,n.id,n.seq];for(let i in R)R[i]===n.id&&h.push(i);if(g.log$1.debug(h.join(" ")),n.parents&&n.parents.length==2){const i=v[n.parents[0]];ge(r,n,i),r.push(v[n.parents[1]])}else{if(n.parents.length==0)return;{const i=v[n.parents];ge(r,n,i)}}r=Me(r,i=>i.id),xe(r)}const Ne=function(){g.log$1.debug(v);const r=ye()[0];xe([r])},He=function(){v={},I=null;let r=g.getConfig().gitGraph.mainBranchName,n=g.getConfig().gitGraph.mainBranchOrder;R={},R[r]=null,Z={},Z[r]={name:r,order:n},A=r,K=0,g.clear()},Be=function(){return Object.values(Z).map((n,l)=>n.order!==null?n:{...n,order:parseFloat(`0.${l}`,10)}).sort((n,l)=>n.order-l.order).map(({name:n})=>({name:n}))},De=function(){return R},Ve=function(){return v},ye=function(){const r=Object.keys(v).map(function(n){return v[n]});return r.forEach(function(n){g.log$1.debug(n.id)}),r.sort((n,l)=>n.seq-l.seq),r},ze=function(){return A},qe=function(){return be},je=function(){return I},W={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ye={getConfig:()=>g.getConfig().gitGraph,setDirection:ve,setOptions:Oe,getOptions:Pe,commit:Ae,branch:Se,merge:Ge,cherryPick:Ie,checkout:ke,prettyPrint:Ne,clear:He,getBranchesAsObjArray:Be,getBranches:De,getCommits:Ve,getCommitsArray:ye,getCurrentBranch:ze,getDirection:qe,getHead:je,setAccTitle:g.setAccTitle,getAccTitle:g.getAccTitle,getAccDescription:g.getAccDescription,setAccDescription:g.setAccDescription,setDiagramTitle:g.setDiagramTitle,getDiagramTitle:g.getDiagramTitle,commitType:W};let Q={};const P={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},F=8;let H={},q={},se=[],$=0,L="LR";const Fe=()=>{H={},q={},Q={},$=0,se=[],L="LR"},_e=r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let l=[];typeof r=="string"?l=r.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(r)?l=r:l=[];for(const h of l){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=h.trim(),n.appendChild(i)}return n},Ke=r=>{let n="",l=0;return r.forEach(h=>{const i=L==="TB"?q[h].y:q[h].x;i>=l&&(n=h,l=i)}),n||void 0},pe=(r,n,l)=>{const h=g.getConfig().gitGraph,i=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let p=0;L==="TB"&&(p=30);const y=Object.keys(n).sort((E,b)=>n[E].seq-n[b].seq),_=h.parallelCommits,a=10,C=40;y.forEach(E=>{const b=n[E];if(_)if(b.parents.length){const T=Ke(b.parents);p=L==="TB"?q[T].y+C:q[T].x+C}else p=0,L==="TB"&&(p=30);const f=p+a,x=L==="TB"?f:H[b.branch].pos,d=L==="TB"?H[b.branch].pos:f;if(l){let T,D=b.customType!==void 0&&b.customType!==""?b.customType:b.type;switch(D){case P.NORMAL:T="commit-normal";break;case P.REVERSE:T="commit-reverse";break;case P.HIGHLIGHT:T="commit-highlight";break;case P.MERGE:T="commit-merge";break;case P.CHERRY_PICK:T="commit-cherry-pick";break;default:T="commit-normal"}if(D===P.HIGHLIGHT){const M=i.append("rect");M.attr("x",d-10),M.attr("y",x-10),M.attr("height",20),M.attr("width",20),M.attr("class",`commit ${b.id} commit-highlight${H[b.branch].index%F} ${T}-outer`),i.append("rect").attr("x",d-6).attr("y",x-6).attr("height",12).attr("width",12).attr("class",`commit ${b.id} commit${H[b.branch].index%F} ${T}-inner`)}else if(D===P.CHERRY_PICK)i.append("circle").attr("cx",d).attr("cy",x).attr("r",10).attr("class",`commit ${b.id} ${T}`),i.append("circle").attr("cx",d-3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),i.append("circle").attr("cx",d+3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),i.append("line").attr("x1",d+3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`),i.append("line").attr("x1",d-3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`);else{const M=i.append("circle");if(M.attr("cx",d),M.attr("cy",x),M.attr("r",b.type===P.MERGE?9:10),M.attr("class",`commit ${b.id} commit${H[b.branch].index%F}`),D===P.MERGE){const G=i.append("circle");G.attr("cx",d),G.attr("cy",x),G.attr("r",6),G.attr("class",`commit ${T} ${b.id} commit${H[b.branch].index%F}`)}D===P.REVERSE&&i.append("path").attr("d",`M ${d-5},${x-5}L${d+5},${x+5}M${d-5},${x+5}L${d+5},${x-5}`).attr("class",`commit ${T} ${b.id} commit${H[b.branch].index%F}`)}}if(L==="TB"?q[b.id]={x:d,y:f}:q[b.id]={x:f,y:x},l){if(b.type!==P.CHERRY_PICK&&(b.customId&&b.type===P.MERGE||b.type!==P.MERGE)&&h.showCommitLabel){const M=c.append("g"),G=M.insert("rect").attr("class","commit-label-bkg"),S=M.append("text").attr("x",p).attr("y",x+25).attr("class","commit-label").text(b.id);let o=S.node().getBBox();if(G.attr("x",f-o.width/2-2).attr("y",x+13.5).attr("width",o.width+2*2).attr("height",o.height+2*2),L==="TB"&&(G.attr("x",d-(o.width+4*4+5)).attr("y",x-12),S.attr("x",d-(o.width+4*4)).attr("y",x+o.height-12)),L!=="TB"&&S.attr("x",f-o.width/2),h.rotateCommitLabel)if(L==="TB")S.attr("transform","rotate(-45, "+d+", "+x+")"),G.attr("transform","rotate(-45, "+d+", "+x+")");else{let u=-7.5-(o.width+10)/25*9.5,k=10+o.width/25*8.5;M.attr("transform","translate("+u+", "+k+") rotate(-45, "+p+", "+x+")")}}if(b.tag){const M=c.insert("polygon"),G=c.append("circle"),S=c.append("text").attr("y",x-16).attr("class","tag-label").text(b.tag);let o=S.node().getBBox();S.attr("x",f-o.width/2);const u=o.height/2,k=x-19.2;M.attr("class","tag-label-bkg").attr("points",`
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var u=this.next();return u||this.lex()},begin:function(u){this.conditionStack.push(u)},popState:function(){var u=this.conditionStack.length-1;return u>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(u){return u=this.conditionStack.length-1-Math.abs(u||0),u>=0?this.conditionStack[u]:"INITIAL"},pushState:function(u){this.begin(u)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(u,k,s,w){switch(s){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:break;case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:return 9;case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 30:this.popState();break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 34:this.popState();break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};return S}();D.lexer=M;function G(){this.yy={}}return G.prototype=D,D.Parser=G,new G}();le.parser=le;const Re=le;let ie=g.getConfig().gitGraph.mainBranchName,Ce=g.getConfig().gitGraph.mainBranchOrder,v={},I=null,Z={};Z[ie]={name:ie,order:Ce};let R={};R[ie]=I;let A=ie,be="LR",K=0;function he(){return g.random({length:7})}function Me(r,n){const l=Object.create(null);return r.reduce((h,i)=>{const c=n(i);return l[c]||(l[c]=!0,h.push(i)),h},[])}const ve=function(r){be=r};let de={};const Oe=function(r){g.log$1.debug("options str",r),r=r&&r.trim(),r=r||"{}";try{de=JSON.parse(r)}catch(n){g.log$1.error("error while parsing gitGraph options",n.message)}},Pe=function(){return de},Ae=function(r,n,l,h){g.log$1.debug("Entering commit:",r,n,l,h),n=g.common$1.sanitizeText(n,g.getConfig()),r=g.common$1.sanitizeText(r,g.getConfig()),h=g.common$1.sanitizeText(h,g.getConfig());const i={id:n||K+"-"+he(),message:r,seq:K++,type:l||W.NORMAL,tag:h||"",parents:I==null?[]:[I.id],branch:A};I=i,v[i.id]=i,R[A]=i.id,g.log$1.debug("in pushCommit "+i.id)},Se=function(r,n){if(r=g.common$1.sanitizeText(r,g.getConfig()),R[r]===void 0)R[r]=I!=null?I.id:null,Z[r]={name:r,order:n?parseInt(n,10):null},ke(r),g.log$1.debug("in createBranch");else{let l=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+r+'")');throw l.hash={text:"branch "+r,token:"branch "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+r+'"']},l}},Ge=function(r,n,l,h){r=g.common$1.sanitizeText(r,g.getConfig()),n=g.common$1.sanitizeText(n,g.getConfig());const i=v[R[A]],c=v[R[r]];if(A===r){let m=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(i===void 0||!i){let m=new Error('Incorrect usage of "merge". Current branch ('+A+")has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},m}else if(R[r]===void 0){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+r]},m}else if(c===void 0||!c){let m=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},m}else if(i===c){let m=new Error('Incorrect usage of "merge". Both branches have same head');throw m.hash={text:"merge "+r,token:"merge "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},m}else if(n&&v[n]!==void 0){let m=new Error('Incorrect usage of "merge". Commit with id:'+n+" already exists, use different custom Id");throw m.hash={text:"merge "+r+n+l+h,token:"merge "+r+n+l+h,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+r+" "+n+"_UNIQUE "+l+" "+h]},m}const p={id:n||K+"-"+he(),message:"merged branch "+r+" into "+A,seq:K++,parents:[I==null?null:I.id,R[r]],branch:A,type:W.MERGE,customType:l,customId:!!n,tag:h||""};I=p,v[p.id]=p,R[A]=p.id,g.log$1.debug(R),g.log$1.debug("in mergeBranch")},Ie=function(r,n,l,h){if(g.log$1.debug("Entering cherryPick:",r,n,l),r=g.common$1.sanitizeText(r,g.getConfig()),n=g.common$1.sanitizeText(n,g.getConfig()),l=g.common$1.sanitizeText(l,g.getConfig()),h=g.common$1.sanitizeText(h,g.getConfig()),!r||v[r]===void 0){let p=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw p.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},p}let i=v[r],c=i.branch;if(h&&!(Array.isArray(i.parents)&&i.parents.includes(h)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(i.type===W.MERGE&&!h)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!n||v[n]===void 0){if(c===A){let y=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const p=v[R[A]];if(p===void 0||!p){let y=new Error('Incorrect usage of "cherry-pick". Current branch ('+A+")has no commits");throw y.hash={text:"cherryPick "+r+" "+n,token:"cherryPick "+r+" "+n,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},y}const m={id:K+"-"+he(),message:"cherry-picked "+i+" into "+A,seq:K++,parents:[I==null?null:I.id,i.id],branch:A,type:W.CHERRY_PICK,tag:l??`cherry-pick:${i.id}${i.type===W.MERGE?`|parent:${h}`:""}`};I=m,v[m.id]=m,R[A]=m.id,g.log$1.debug(R),g.log$1.debug("in cherryPick")}},ke=function(r){if(r=g.common$1.sanitizeText(r,g.getConfig()),R[r]===void 0){let n=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+r+'")');throw n.hash={text:"checkout "+r,token:"checkout "+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+r+'"']},n}else{A=r;const n=R[A];I=v[n]}};function ge(r,n,l){const h=r.indexOf(n);h===-1?r.push(l):r.splice(h,1,l)}function xe(r){const n=r.reduce((i,c)=>i.seq>c.seq?i:c,r[0]);let l="";r.forEach(function(i){i===n?l+=" *":l+=" |"});const h=[l,n.id,n.seq];for(let i in R)R[i]===n.id&&h.push(i);if(g.log$1.debug(h.join(" ")),n.parents&&n.parents.length==2){const i=v[n.parents[0]];ge(r,n,i),r.push(v[n.parents[1]])}else{if(n.parents.length==0)return;{const i=v[n.parents];ge(r,n,i)}}r=Me(r,i=>i.id),xe(r)}const Ne=function(){g.log$1.debug(v);const r=ye()[0];xe([r])},He=function(){v={},I=null;let r=g.getConfig().gitGraph.mainBranchName,n=g.getConfig().gitGraph.mainBranchOrder;R={},R[r]=null,Z={},Z[r]={name:r,order:n},A=r,K=0,g.clear()},Be=function(){return Object.values(Z).map((n,l)=>n.order!==null?n:{...n,order:parseFloat(`0.${l}`,10)}).sort((n,l)=>n.order-l.order).map(({name:n})=>({name:n}))},De=function(){return R},Ve=function(){return v},ye=function(){const r=Object.keys(v).map(function(n){return v[n]});return r.forEach(function(n){g.log$1.debug(n.id)}),r.sort((n,l)=>n.seq-l.seq),r},ze=function(){return A},qe=function(){return be},je=function(){return I},W={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ye={getConfig:()=>g.getConfig().gitGraph,setDirection:ve,setOptions:Oe,getOptions:Pe,commit:Ae,branch:Se,merge:Ge,cherryPick:Ie,checkout:ke,prettyPrint:Ne,clear:He,getBranchesAsObjArray:Be,getBranches:De,getCommits:Ve,getCommitsArray:ye,getCurrentBranch:ze,getDirection:qe,getHead:je,setAccTitle:g.setAccTitle,getAccTitle:g.getAccTitle,getAccDescription:g.getAccDescription,setAccDescription:g.setAccDescription,setDiagramTitle:g.setDiagramTitle,getDiagramTitle:g.getDiagramTitle,commitType:W};let Q={};const P={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},F=8;let H={},q={},se=[],$=0,L="LR";const Fe=()=>{H={},q={},Q={},$=0,se=[],L="LR"},_e=r=>{const n=document.createElementNS("http://www.w3.org/2000/svg","text");let l=[];typeof r=="string"?l=r.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(r)?l=r:l=[];for(const h of l){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),i.setAttribute("class","row"),i.textContent=h.trim(),n.appendChild(i)}return n},Ke=r=>{let n="",l=0;return r.forEach(h=>{const i=L==="TB"?q[h].y:q[h].x;i>=l&&(n=h,l=i)}),n||void 0},pe=(r,n,l)=>{const h=g.getConfig().gitGraph,i=r.append("g").attr("class","commit-bullets"),c=r.append("g").attr("class","commit-labels");let p=0;L==="TB"&&(p=30);const y=Object.keys(n).sort((E,b)=>n[E].seq-n[b].seq),_=h.parallelCommits,a=10,C=40;y.forEach(E=>{const b=n[E];if(_)if(b.parents.length){const T=Ke(b.parents);p=L==="TB"?q[T].y+C:q[T].x+C}else p=0,L==="TB"&&(p=30);const f=p+a,x=L==="TB"?f:H[b.branch].pos,d=L==="TB"?H[b.branch].pos:f;if(l){let T,D=b.customType!==void 0&&b.customType!==""?b.customType:b.type;switch(D){case P.NORMAL:T="commit-normal";break;case P.REVERSE:T="commit-reverse";break;case P.HIGHLIGHT:T="commit-highlight";break;case P.MERGE:T="commit-merge";break;case P.CHERRY_PICK:T="commit-cherry-pick";break;default:T="commit-normal"}if(D===P.HIGHLIGHT){const M=i.append("rect");M.attr("x",d-10),M.attr("y",x-10),M.attr("height",20),M.attr("width",20),M.attr("class",`commit ${b.id} commit-highlight${H[b.branch].index%F} ${T}-outer`),i.append("rect").attr("x",d-6).attr("y",x-6).attr("height",12).attr("width",12).attr("class",`commit ${b.id} commit${H[b.branch].index%F} ${T}-inner`)}else if(D===P.CHERRY_PICK)i.append("circle").attr("cx",d).attr("cy",x).attr("r",10).attr("class",`commit ${b.id} ${T}`),i.append("circle").attr("cx",d-3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),i.append("circle").attr("cx",d+3).attr("cy",x+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${b.id} ${T}`),i.append("line").attr("x1",d+3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`),i.append("line").attr("x1",d-3).attr("y1",x+1).attr("x2",d).attr("y2",x-5).attr("stroke","#fff").attr("class",`commit ${b.id} ${T}`);else{const M=i.append("circle");if(M.attr("cx",d),M.attr("cy",x),M.attr("r",b.type===P.MERGE?9:10),M.attr("class",`commit ${b.id} commit${H[b.branch].index%F}`),D===P.MERGE){const G=i.append("circle");G.attr("cx",d),G.attr("cy",x),G.attr("r",6),G.attr("class",`commit ${T} ${b.id} commit${H[b.branch].index%F}`)}D===P.REVERSE&&i.append("path").attr("d",`M ${d-5},${x-5}L${d+5},${x+5}M${d-5},${x+5}L${d+5},${x-5}`).attr("class",`commit ${T} ${b.id} commit${H[b.branch].index%F}`)}}if(L==="TB"?q[b.id]={x:d,y:f}:q[b.id]={x:f,y:x},l){if(b.type!==P.CHERRY_PICK&&(b.customId&&b.type===P.MERGE||b.type!==P.MERGE)&&h.showCommitLabel){const M=c.append("g"),G=M.insert("rect").attr("class","commit-label-bkg"),S=M.append("text").attr("x",p).attr("y",x+25).attr("class","commit-label").text(b.id);let o=S.node().getBBox();if(G.attr("x",f-o.width/2-2).attr("y",x+13.5).attr("width",o.width+4).attr("height",o.height+4),L==="TB"&&(G.attr("x",d-(o.width+16+5)).attr("y",x-12),S.attr("x",d-(o.width+16)).attr("y",x+o.height-12)),L!=="TB"&&S.attr("x",f-o.width/2),h.rotateCommitLabel)if(L==="TB")S.attr("transform","rotate(-45, "+d+", "+x+")"),G.attr("transform","rotate(-45, "+d+", "+x+")");else{let u=-7.5-(o.width+10)/25*9.5,k=10+o.width/25*8.5;M.attr("transform","translate("+u+", "+k+") rotate(-45, "+p+", "+x+")")}}if(b.tag){const M=c.insert("polygon"),G=c.append("circle"),S=c.append("text").attr("y",x-16).attr("class","tag-label").text(b.tag);let o=S.node().getBBox();S.attr("x",f-o.width/2);const u=o.height/2,k=x-19.2;M.attr("class","tag-label-bkg").attr("points",`
|
|
7
7
|
${p-o.width/2-4/2},${k+2}
|
|
8
8
|
${p-o.width/2-4/2},${k-2}
|
|
9
9
|
${f-o.width/2-4},${k-u-2}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./layers.x4J9FdT3.js");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?
|
|
2
2
|
|
|
3
3
|
(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.
|
|
4
4
|
Os teus cambios non serán gardados!`},i={unsupportedFileType:"Tipo de ficheiro non soportado.",imageInsertError:"Non se puido inserir a imaxe. Probe de novo máis tarde...",fileTooBig:"O ficheiro é demasiado grande. O tamaño máximo permitido é {{maxSize}}.",svgImageInsertError:"Non se puido inserir como imaxe SVG. O marcado SVG semella inválido.",failedToFetchImage:"",invalidSVGString:"SVG inválido.",cannotResolveCollabServer:"Non se puido conectar ao servidor de colaboración. Por favor recargue a páxina e probe de novo.",importLibraryError:"Non se puido cargar a biblioteca",collabSaveFailed:"Non se puido gardar na base de datos. Se o problema persiste, deberías gardar o teu arquivo de maneira local para asegurarte de non perdelo teu traballo.",collabSaveFailed_sizeExceeded:"Non se puido gardar na base de datos, o lenzo semella demasiado grande. Deberías gardar o teu arquivo de maneira local para asegurarte de non perdelo teu traballo.",imageToolNotSupported:"",brave_measure_text_error:{line1:"",line2:"",line3:"",line4:""},libraryElementTypeError:{embeddable:"",iframe:"",image:""},asyncPasteFailedOnRead:"",asyncPasteFailedOnParse:"",copyToSystemClipboardFailed:""},n={selection:"Selección",image:"Inserir imaxe",rectangle:"Rectángulo",diamond:"Diamante",ellipse:"Elipse",arrow:"Frecha",line:"Liña",freedraw:"Debuxar",text:"Texto",library:"Biblioteca",lock:"Manter a ferramenta seleccionada activa despois de debuxar",penMode:"Modo lapis - evitar o contacto",link:"Engadir/ Actualizar ligazón para a forma seleccionada",eraser:"Goma de borrar",frame:"",magicframe:"",embeddable:"Inserir na web",laser:"Punteiro láser",hand:"Man (ferramenta de desprazamento)",extraTools:"Máis ferramentas",mermaidToExcalidraw:"",magicSettings:""},t={canvasActions:"Accións do lenzo",selectedShapeActions:"Accións da forma seleccionada",shapes:"Formas"},s={canvasPanning:"Para mover o lenzo, manteña pulsada a roda do rato ou a barra de espazo mentres arrastra, ou utilice a ferramenta da man",linearElement:"Faga clic para iniciar varios puntos, arrastre para unha sola liña",freeDraw:"Fai clic e arrastra, solta cando acabes",text:"Consello: tamén podes engadir texto facendo dobre-clic en calquera lugar coa ferramenta de selección",embeddable:"Faga clic e arrastre para crear un sitio web embebido",text_selected:"Dobre-clic ou prema ENTER para editar o texto",text_editing:"Prema Escape ou CtrlOrCmd+ENTER para finalizar a edición",linearElementMulti:"Faga clic no último punto ou prema Escape ou Enter para rematar",lockAngle:"Pode reducir o ángulo mantendo SHIFT",resize:`Pode reducir as proporcións mantendo SHIFT mentres axusta o tamaño,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as At, v as zt, aH as It } from "./layers.
|
|
1
|
+
import { l as At, v as zt, aH as It } from "./layers.C-zpSFVR.js";
|
|
2
2
|
const Tt = {};
|
|
3
3
|
function Bt(n, r) {
|
|
4
4
|
const t = Tt, e = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, u = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.CAlaIK4g.js";
|
|
2
2
|
var e = { paste: "Incolla", pasteAsPlaintext: "Incolla come testo normale", pasteCharts: "Incolla grafici", selectAll: "Seleziona tutto", multiSelect: "Aggiungi elemento alla selezione", moveCanvas: "Sposta tela", cut: "Taglia", copy: "Copia", copyAsPng: "Copia negli appunti come PNG", copyAsSvg: "Copia negli appunti come SVG", copyText: "Copia negli appunti come testo", copySource: "Copia sorgente negli appunti", convertToCode: "Converti in codice", bringForward: "Porta avanti", sendToBack: "Manda in fondo", bringToFront: "Porta in cima", sendBackward: "Manda dietro", delete: "Elimina", copyStyles: "Copia stili", pasteStyles: "Incolla stili", stroke: "Tratto", background: "Sfondo", fill: "Riempimento", strokeWidth: "Spessore del tratto", strokeStyle: "Stile del tratto", strokeStyle_solid: "Pieno", strokeStyle_dashed: "Tratteggiato", strokeStyle_dotted: "Punteggiato", sloppiness: "Imprecisione", opacity: "Opacità", textAlign: "Allineamento del testo", edges: "Bordi", sharp: "Acuto", round: "Rotondo", arrowheads: "Punta della freccia", arrowhead_none: "Nessuno", arrowhead_arrow: "Freccia", arrowhead_bar: "Barra", arrowhead_circle: "Cerchio", arrowhead_circle_outline: "Cerchio (contorno)", arrowhead_triangle: "Triangolo", arrowhead_triangle_outline: "Triangolo (contorno)", arrowhead_diamond: "Diamante", arrowhead_diamond_outline: "Diamante (contorno)", fontSize: "Dimensione carattere", fontFamily: "Carattere", addWatermark: 'Aggiungi "Creato con Excalidraw"', handDrawn: "A mano libera", normal: "Normale", code: "Codice", small: "Piccolo", medium: "Medio", large: "Grande", veryLarge: "Molto grande", solid: "Pieno", hachure: "Tratteggio obliquo", zigzag: "Zig zag", crossHatch: "Tratteggio incrociato", thin: "Sottile", bold: "Grassetto", left: "Sinistra", center: "Centro", right: "Destra", extraBold: "Extra Grassetto", architect: "Architetto", artist: "Artista", cartoonist: "Fumettista", fileTitle: "Nome del file", colorPicker: "Selettore colore", canvasColors: "Usato su tela", canvasBackground: "Sfondo tela", drawingCanvas: "Area di disegno", layers: "Livelli", actions: "Azioni", language: "Lingua", liveCollaboration: "Collaborazione dal vivo...", duplicateSelection: "Duplica", untitled: "Senza titolo", name: "Nome", yourName: "Il vostro nome", madeWithExcalidraw: "Creato con Excalidraw", group: "Crea gruppo da selezione", ungroup: "Dividi gruppo da selezione", collaborators: "Collaboratori", showGrid: "Visualizza griglia", addToLibrary: "Aggiungi alla libreria", removeFromLibrary: "Rimuovi dalla libreria", libraryLoadingMessage: "Caricamento libreria…", libraries: "Sfoglia librerie", loadingScene: "Caricamento della scena…", align: "Allinea", alignTop: "Allinea in alto", alignBottom: "Allinea in basso", alignLeft: "Allinea a sinistra", alignRight: "Allinea a destra", centerVertically: "Centra Verticalmente", centerHorizontally: "Centra orizzontalmente", distributeHorizontally: "Distribuisci orizzontalmente", distributeVertically: "Distribuisci verticalmente", flipHorizontal: "Capovolgi orizzontalmente", flipVertical: "Capovolgi verticalmente", viewMode: "Modalità visualizzazione", share: "Condividi", showStroke: "Mostra selettore colore del tratto", showBackground: "Mostra selettore colore di sfondo", toggleTheme: "Cambia tema", personalLib: "Libreria Personale", excalidrawLib: "Libreria di Excalidraw", decreaseFontSize: "Riduci dimensione dei caratteri", increaseFontSize: "Aumenta la dimensione dei caratteri", unbindText: "Scollega testo", bindText: "Associa il testo al container", createContainerFromText: "Avvolgi il testo in un container", link: { edit: "Modifica link", editEmbed: "Modifica collegamento e incorpora", create: "Crea link", createEmbed: "Crea collegamento e incorpora", label: "Link", labelEmbed: "Collega & incorpora", empty: "Nessun collegamento impostato" }, lineEditor: { edit: "Modifica linea", exit: "Esci dall'editor di linea" }, elementLock: { lock: "Blocca", unlock: "Sblocca", lockAll: "Blocca tutto", unlockAll: "Sblocca tutto" }, statusPublished: "Pubblicato", sidebarLock: "Mantieni aperta la barra laterale", selectAllElementsInFrame: "Seleziona tutti gli elementi nel riquadro", removeAllElementsFromFrame: "Rimuovi tutti gli elementi dal riquadro", eyeDropper: "Scegli il colore della tela", textToDiagram: "Testo a diagramma", prompt: "Prompt" }, i = { noItems: "Nessun elemento ancora aggiunto...", hint_emptyLibrary: "Seleziona un elemento sulla tela per aggiungerlo qui, o installa una libreria dal repository pubblico qui sotto.", hint_emptyPrivateLibrary: "Seleziona un elemento sulla tela per aggiungerlo qui." }, a = { clearReset: "Svuota la tela", exportJSON: "Esporta su file", exportImage: "Esporta immagine...", export: "Salva in...", copyToClipboard: "Copia negli appunti", save: "Salva sul file corrente", saveAs: "Salva con nome", load: "Apri", getShareableLink: "Ottieni link condivisibile", close: "Chiudi", selectLanguage: "Seleziona lingua", scrollBackToContent: "Scorri indietro fino al contenuto", zoomIn: "Aumenta ingrandimento", zoomOut: "Riduci ingrandimento", resetZoom: "Ripristina ingrandimento", menu: "Menù", done: "Fatto", edit: "Modifica", undo: "Annulla", redo: "Ripeti", resetLibrary: "Ripristina libreria", createNewRoom: "Crea nuova stanza", fullScreen: "Schermo intero", darkMode: "Tema scuro", lightMode: "Tema chiaro", zenMode: "Modalità Zen", objectsSnapMode: "Aggancia agli oggetti", exitZenMode: "Uscire dalla modalità zen", cancel: "Annulla", clear: "Cancella", remove: "Rimuovi", embed: "Attiva/disattiva incorporamento", publishLibrary: "Pubblica", submit: "Invia", confirm: "Conferma", embeddableInteractionButton: "Clicca per interagire" }, o = { clearReset: "Questa azione cancellerà l'intera tela. Sei sicuro?", couldNotCreateShareableLink: "Non riesco a creare un link condivisibile.", couldNotCreateShareableLinkTooBig: "Impossibile creare il link condivisibile: la scena è troppo grande", couldNotLoadInvalidFile: "Impossibile caricare un file no valido", importBackendFailed: "Importazione dal server fallita.", cannotExportEmptyCanvas: "Non è possibile esportare una tela vuota.", couldNotCopyToClipboard: "Impossibile copiare negli appunti.", decryptFailed: "Impossibile decriptare i dati.", uploadedSecurly: "L'upload è stato protetto con la crittografia end-to-end, il che significa che il server Excalidraw e terze parti non possono leggere il contenuto.", loadSceneOverridePrompt: "Se carichi questo disegno esterno, sostituirà quello che hai. Vuoi continuare?", collabStopOverridePrompt: `Interrompere la sessione sovrascriverà il precedente disegno memorizzato localmente. Sei sicuro?
|
|
3
3
|
|
|
4
4
|
(Se vuoi mantenere il tuo disegno locale, chiudi semplicemente la scheda del browser.)`, errorAddingToLibrary: "Impossibile aggiungere l'elemento alla libreria", errorRemovingFromLibrary: "Impossibile rimuovere l'elemento dalla libreria", confirmAddLibrary: "Questo aggiungerà {{numShapes}} forma(e) alla tua libreria. Sei sicuro?", imageDoesNotContainScene: "Questa immagine pare non contenere alcuna scena. Avevi incluso la scena durante l'esportazione?", cannotRestoreFromImage: "Impossibile ripristinare la scena da questo file immagine", invalidSceneUrl: "Impossibile importare la scena dall'URL fornito. Potrebbe essere malformato o non contenere dati JSON Excalidraw validi.", resetLibrary: "Questa azione cancellerà l'intera libreria. Sei sicuro?", removeItemsFromsLibrary: "Eliminare {{count}} elementi dalla libreria?", invalidEncryptionKey: "La chiave di cifratura deve essere composta da 22 caratteri. La collaborazione live è disabilitata.", collabOfflineWarning: `Nessuna connessione internet disponibile.
|
|
@@ -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.x4J9FdT3.js");exports.alerts=e.l;exports.buttons=e.n;exports.canvasError=e.u;exports.clearCanvasDialog=e.v;exports.colorPicker=e.A;exports.colors=e.F;exports.commandPalette=e.R;exports.confirmDialog=e.C;exports.default=e.B;exports.element=e.c;exports.elementLink=e.r;exports.encrypted=e.E;exports.errorDialog=e.y;exports.errorSplash=e.h;exports.errors=e.s;exports.exportDialog=e.w;exports.fontList=e.N;exports.headings=e.p;exports.helpDialog=e.k;exports.hints=e.m;exports.imageExportDialog=e.x;exports.labels=e.t;exports.library=e.a;exports.mermaid=e.D;exports.overwriteConfirm=e._;exports.publishDialog=e.f;exports.publishSuccessDialog=e.S;exports.quickSearch=e.I;exports.roomDialog=e.g;exports.search=e.i;exports.shareDialog=e.b;exports.stats=e.T;exports.toast=e.L;exports.toolBar=e.d;exports.userList=e.z;exports.welcomeScreen=e.P;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as n, jsxs as k, Fragment as L } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useEffect as y, useRef as R, useCallback as M, useMemo as _ } from "react";
|
|
3
|
-
import { R as J, A as $, i as q, h as U, c as b, j as B, k as W, a as G, n as P, p as Q, q as V, r as X, I as O, D as Y, s as Z } from "./layers.
|
|
3
|
+
import { R as J, A as $, i as q, h as U, c as b, j as B, k as W, a as G, n as P, p as Q, q as V, r as X, I as O, D as Y, s as Z } from "./layers.Dn0fqOqc.js";
|
|
4
4
|
import { useTranslation as K } from "react-i18next";
|
|
5
|
-
import { M as ee, H as te } from "./layers.
|
|
5
|
+
import { M as ee, H as te } from "./layers.CAlaIK4g.js";
|
|
6
6
|
import { useMantineTheme as se, Box as T, Tooltip as j, ActionIcon as H } from "@mantine/core";
|
|
7
7
|
import { IconEdit as ie } from "@tabler/icons-react";
|
|
8
8
|
const ne = (e) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const h=require("./layers.DPURQN4q.js");var Oe=function(){var e=function(v,u,a,A){for(a=a||{},A=v.length;A--;a[v[A]]=u);return a},i=[1,17],r=[1,18],c=[1,19],o=[1,39],f=[1,40],k=[1,25],D=[1,23],B=[1,24],_=[1,31],Ae=[1,32],fe=[1,33],pe=[1,34],de=[1,35],Ce=[1,36],Ee=[1,26],me=[1,27],ge=[1,28],be=[1,29],C=[1,43],ke=[1,30],E=[1,42],m=[1,44],g=[1,41],T=[1,45],Te=[1,9],l=[1,8,9],z=[1,56],K=[1,57],Y=[1,58],Q=[1,59],j=[1,60],ye=[1,61],Fe=[1,62],X=[1,8,9,39],we=[1,74],P=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],q=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],H=[13,74,80,95,97,98],M=[13,64,65,74,80,95,97,98],Pe=[13,59,60,61,62,63,74,80,95,97,98],De=[1,93],W=[1,110],J=[1,108],Z=[1,102],$=[1,103],ee=[1,104],te=[1,105],se=[1,106],ie=[1,107],ne=[1,109],Be=[1,8,9,37,39,42],ue=[1,8,9,21],Me=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],_e={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,A,n,d,t,G){var s=t.length-1;switch(d){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Te,[2,5],{8:[1,46]}),{8:[1,47]},e(l,[2,16],{21:[1,48]}),e(l,[2,18]),e(l,[2,19]),e(l,[2,20]),e(l,[2,21]),e(l,[2,22]),e(l,[2,23]),e(l,[2,24]),e(l,[2,25]),e(l,[2,26]),{32:[1,49]},{34:[1,50]},e(l,[2,29]),e(l,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:z,60:K,61:Y,62:Q,63:j,64:ye,65:Fe}),{37:[1,63]},e(X,[2,36],{37:[1,65],42:[1,64]}),e(l,[2,47]),e(l,[2,48]),{16:66,74:C,80:E,95:m,97:g},{16:37,17:67,18:38,74:C,80:E,95:m,97:g,98:T},{16:37,17:68,18:38,74:C,80:E,95:m,97:g,98:T},{16:37,17:69,18:38,74:C,80:E,95:m,97:g,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:C,80:E,95:m,97:g,98:T},{13:we,51:73},e(l,[2,55]),e(l,[2,56]),e(l,[2,57]),e(l,[2,58]),e(P,[2,11],{16:37,18:38,17:75,19:[1,76],74:C,80:E,95:m,97:g,98:T}),e(P,[2,12],{19:[1,77]}),{15:78,16:79,74:C,80:E,95:m,97:g},{16:37,17:80,18:38,74:C,80:E,95:m,97:g,98:T},e(q,[2,112]),e(q,[2,113]),e(q,[2,114]),e(q,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Te,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:c,40:o,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T},e(l,[2,17]),e(l,[2,27]),e(l,[2,28]),{13:[1,84],16:37,17:83,18:38,74:C,80:E,95:m,97:g,98:T},{49:85,57:54,58:55,59:z,60:K,61:Y,62:Q,63:j,64:ye,65:Fe},e(l,[2,46]),{58:86,64:ye,65:Fe},e(H,[2,62],{57:87,59:z,60:K,61:Y,62:Q,63:j}),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(M,[2,67]),e(Pe,[2,68]),e(Pe,[2,69]),{8:[1,89],23:90,38:88,41:22,44:f},{16:91,74:C,80:E,95:m,97:g},{43:92,47:De},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:W,73:J,74:Z,75:99,77:100,79:101,80:$,81:ee,82:te,83:se,84:ie,85:ne},{74:[1,111]},{13:we,51:112},e(l,[2,54]),e(l,[2,117]),e(P,[2,13]),e(P,[2,14]),e(P,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:C,80:E,95:m,97:g},e(Be,[2,40],{11:114,12:[1,115]}),e(Te,[2,7]),{9:[1,116]},e(ue,[2,49]),{16:37,17:117,18:38,74:C,80:E,95:m,97:g,98:T},{13:[1,119],16:37,17:118,18:38,74:C,80:E,95:m,97:g,98:T},e(H,[2,61],{57:120,59:z,60:K,61:Y,62:Q,63:j}),e(H,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:f},{8:[1,123],39:[2,33]},e(X,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:De},{16:37,17:127,18:38,74:C,80:E,95:m,97:g,98:T},e(l,[2,70],{13:[1,128]}),e(l,[2,72],{13:[1,130],68:[1,129]}),e(l,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(l,[2,84],{78:[1,134]}),e(Me,[2,86],{79:135,21:W,73:J,74:Z,80:$,81:ee,82:te,83:se,84:ie,85:ne}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(l,[2,85]),e(l,[2,53]),{37:[2,10]},e(Be,[2,41]),{13:[1,136]},{1:[2,4]},e(ue,[2,51]),e(ue,[2,50]),{16:37,17:137,18:38,74:C,80:E,95:m,97:g,98:T},e(H,[2,59]),e(l,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:f},{43:140,47:De},e(X,[2,38]),{39:[2,44]},e(l,[2,42]),e(l,[2,71]),e(l,[2,73]),e(l,[2,74],{68:[1,141]}),e(l,[2,77]),e(l,[2,78],{13:[1,142]}),e(l,[2,80],{13:[1,144],68:[1,143]}),{21:W,73:J,74:Z,77:145,79:101,80:$,81:ee,82:te,83:se,84:ie,85:ne},e(S,[2,89]),{14:[1,146]},e(ue,[2,52]),e(l,[2,31]),{39:[2,35]},{39:[1,147]},e(l,[2,75]),e(l,[2,79]),e(l,[2,81]),e(l,[2,82],{68:[1,148]}),e(Me,[2,87],{79:135,21:W,73:J,74:Z,80:$,81:ee,82:te,83:se,84:ie,85:ne}),e(Be,[2,8]),e(X,[2,39]),e(l,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(a.recoverable)this.trace(u);else{var A=new Error(u);throw A.hash=a,A}},parse:function(u){var a=this,A=[0],n=[],d=[null],t=[],G=this.table,s="",re=0,Ge=0,Je=2,Ue=1,Ze=t.slice.call(arguments,1),b=Object.create(this.lexer),O={yy:{}};for(var Ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ne)&&(O.yy[Ne]=this.yy[Ne]);b.setInput(u,O.yy),O.yy.lexer=b,O.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var Le=b.yylloc;t.push(Le);var $e=b.options&&b.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var L;return L=n.pop()||b.lex()||Ue,typeof L!="number"&&(L instanceof Array&&(n=L,L=n.pop()),L=a.symbols_[L]||L),L}for(var y,I,F,ve,w={},ae,N,ze,ce;;){if(I=A[A.length-1],this.defaultActions[I]?F=this.defaultActions[I]:((y===null||typeof y>"u")&&(y=et()),F=G[I]&&G[I][y]),typeof F>"u"||!F.length||!F[0]){var xe="";ce=[];for(ae in G[I])this.terminals_[ae]&&ae>Je&&ce.push("'"+this.terminals_[ae]+"'");b.showPosition?xe="Parse error on line "+(re+1)+`:
|
|
1
|
+
"use strict";const h=require("./layers.V0hm-Byb.js");var Oe=function(){var e=function(v,u,a,A){for(a=a||{},A=v.length;A--;a[v[A]]=u);return a},i=[1,17],r=[1,18],c=[1,19],o=[1,39],f=[1,40],k=[1,25],D=[1,23],B=[1,24],_=[1,31],Ae=[1,32],fe=[1,33],pe=[1,34],de=[1,35],Ce=[1,36],Ee=[1,26],me=[1,27],ge=[1,28],be=[1,29],C=[1,43],ke=[1,30],E=[1,42],m=[1,44],g=[1,41],T=[1,45],Te=[1,9],l=[1,8,9],z=[1,56],K=[1,57],Y=[1,58],Q=[1,59],j=[1,60],ye=[1,61],Fe=[1,62],X=[1,8,9,39],we=[1,74],P=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],q=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],H=[13,74,80,95,97,98],M=[13,64,65,74,80,95,97,98],Pe=[13,59,60,61,62,63,74,80,95,97,98],De=[1,93],W=[1,110],J=[1,108],Z=[1,102],$=[1,103],ee=[1,104],te=[1,105],se=[1,106],ie=[1,107],ne=[1,109],Be=[1,8,9,37,39,42],ue=[1,8,9,21],Me=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],_e={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,A,n,d,t,G){var s=t.length-1;switch(d){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Te,[2,5],{8:[1,46]}),{8:[1,47]},e(l,[2,16],{21:[1,48]}),e(l,[2,18]),e(l,[2,19]),e(l,[2,20]),e(l,[2,21]),e(l,[2,22]),e(l,[2,23]),e(l,[2,24]),e(l,[2,25]),e(l,[2,26]),{32:[1,49]},{34:[1,50]},e(l,[2,29]),e(l,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:z,60:K,61:Y,62:Q,63:j,64:ye,65:Fe}),{37:[1,63]},e(X,[2,36],{37:[1,65],42:[1,64]}),e(l,[2,47]),e(l,[2,48]),{16:66,74:C,80:E,95:m,97:g},{16:37,17:67,18:38,74:C,80:E,95:m,97:g,98:T},{16:37,17:68,18:38,74:C,80:E,95:m,97:g,98:T},{16:37,17:69,18:38,74:C,80:E,95:m,97:g,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:C,80:E,95:m,97:g,98:T},{13:we,51:73},e(l,[2,55]),e(l,[2,56]),e(l,[2,57]),e(l,[2,58]),e(P,[2,11],{16:37,18:38,17:75,19:[1,76],74:C,80:E,95:m,97:g,98:T}),e(P,[2,12],{19:[1,77]}),{15:78,16:79,74:C,80:E,95:m,97:g},{16:37,17:80,18:38,74:C,80:E,95:m,97:g,98:T},e(q,[2,112]),e(q,[2,113]),e(q,[2,114]),e(q,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(Te,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:c,40:o,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:c,36:21,40:o,41:22,44:f,45:k,47:D,48:B,50:_,52:Ae,53:fe,54:pe,55:de,56:Ce,66:Ee,67:me,69:ge,73:be,74:C,76:ke,80:E,95:m,97:g,98:T},e(l,[2,17]),e(l,[2,27]),e(l,[2,28]),{13:[1,84],16:37,17:83,18:38,74:C,80:E,95:m,97:g,98:T},{49:85,57:54,58:55,59:z,60:K,61:Y,62:Q,63:j,64:ye,65:Fe},e(l,[2,46]),{58:86,64:ye,65:Fe},e(H,[2,62],{57:87,59:z,60:K,61:Y,62:Q,63:j}),e(M,[2,63]),e(M,[2,64]),e(M,[2,65]),e(M,[2,66]),e(M,[2,67]),e(Pe,[2,68]),e(Pe,[2,69]),{8:[1,89],23:90,38:88,41:22,44:f},{16:91,74:C,80:E,95:m,97:g},{43:92,47:De},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:W,73:J,74:Z,75:99,77:100,79:101,80:$,81:ee,82:te,83:se,84:ie,85:ne},{74:[1,111]},{13:we,51:112},e(l,[2,54]),e(l,[2,117]),e(P,[2,13]),e(P,[2,14]),e(P,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:C,80:E,95:m,97:g},e(Be,[2,40],{11:114,12:[1,115]}),e(Te,[2,7]),{9:[1,116]},e(ue,[2,49]),{16:37,17:117,18:38,74:C,80:E,95:m,97:g,98:T},{13:[1,119],16:37,17:118,18:38,74:C,80:E,95:m,97:g,98:T},e(H,[2,61],{57:120,59:z,60:K,61:Y,62:Q,63:j}),e(H,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:f},{8:[1,123],39:[2,33]},e(X,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:De},{16:37,17:127,18:38,74:C,80:E,95:m,97:g,98:T},e(l,[2,70],{13:[1,128]}),e(l,[2,72],{13:[1,130],68:[1,129]}),e(l,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(l,[2,84],{78:[1,134]}),e(Me,[2,86],{79:135,21:W,73:J,74:Z,80:$,81:ee,82:te,83:se,84:ie,85:ne}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(l,[2,85]),e(l,[2,53]),{37:[2,10]},e(Be,[2,41]),{13:[1,136]},{1:[2,4]},e(ue,[2,51]),e(ue,[2,50]),{16:37,17:137,18:38,74:C,80:E,95:m,97:g,98:T},e(H,[2,59]),e(l,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:f},{43:140,47:De},e(X,[2,38]),{39:[2,44]},e(l,[2,42]),e(l,[2,71]),e(l,[2,73]),e(l,[2,74],{68:[1,141]}),e(l,[2,77]),e(l,[2,78],{13:[1,142]}),e(l,[2,80],{13:[1,144],68:[1,143]}),{21:W,73:J,74:Z,77:145,79:101,80:$,81:ee,82:te,83:se,84:ie,85:ne},e(S,[2,89]),{14:[1,146]},e(ue,[2,52]),e(l,[2,31]),{39:[2,35]},{39:[1,147]},e(l,[2,75]),e(l,[2,79]),e(l,[2,81]),e(l,[2,82],{68:[1,148]}),e(Me,[2,87],{79:135,21:W,73:J,74:Z,80:$,81:ee,82:te,83:se,84:ie,85:ne}),e(Be,[2,8]),e(X,[2,39]),e(l,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(a.recoverable)this.trace(u);else{var A=new Error(u);throw A.hash=a,A}},parse:function(u){var a=this,A=[0],n=[],d=[null],t=[],G=this.table,s="",re=0,Ge=0,Je=2,Ue=1,Ze=t.slice.call(arguments,1),b=Object.create(this.lexer),O={yy:{}};for(var Ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ne)&&(O.yy[Ne]=this.yy[Ne]);b.setInput(u,O.yy),O.yy.lexer=b,O.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var Le=b.yylloc;t.push(Le);var $e=b.options&&b.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var L;return L=n.pop()||b.lex()||Ue,typeof L!="number"&&(L instanceof Array&&(n=L,L=n.pop()),L=a.symbols_[L]||L),L}for(var y,I,F,ve,w={},ae,N,ze,ce;;){if(I=A[A.length-1],this.defaultActions[I]?F=this.defaultActions[I]:((y===null||typeof y>"u")&&(y=et()),F=G[I]&&G[I][y]),typeof F>"u"||!F.length||!F[0]){var xe="";ce=[];for(ae in G[I])this.terminals_[ae]&&ae>Je&&ce.push("'"+this.terminals_[ae]+"'");b.showPosition?xe="Parse error on line "+(re+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+ce.join(", ")+", got '"+(this.terminals_[y]||y)+"'":xe="Parse error on line "+(re+1)+": Unexpected "+(y==Ue?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(xe,{text:b.match,token:this.terminals_[y]||y,line:b.yylineno,loc:Le,expected:ce})}if(F[0]instanceof Array&&F.length>1)throw new Error("Parse Error: multiple actions possible at state: "+I+", token: "+y);switch(F[0]){case 1:A.push(y),d.push(b.yytext),t.push(b.yylloc),A.push(F[1]),y=null,Ge=b.yyleng,s=b.yytext,re=b.yylineno,Le=b.yylloc;break;case 2:if(N=this.productions_[F[1]][1],w.$=d[d.length-N],w._$={first_line:t[t.length-(N||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(N||1)].first_column,last_column:t[t.length-1].last_column},$e&&(w._$.range=[t[t.length-(N||1)].range[0],t[t.length-1].range[1]]),ve=this.performAction.apply(w,[s,Ge,re,O.yy,F[1],d,t].concat(Ze)),typeof ve<"u")return ve;N&&(A=A.slice(0,-1*N*2),d=d.slice(0,-1*N),t=t.slice(0,-1*N)),A.push(this.productions_[F[1]][0]),d.push(w.$),t.push(w._$),ze=G[A[A.length-2]][A[A.length-1]],A.push(ze);break;case 3:return!0}}return!0}},We=function(){var v={EOF:1,parseError:function(a,A){if(this.yy.parser)this.yy.parser.parseError(a,A);else throw new Error(a)},setInput:function(u,a){return this.yy=a||this.yy||{},this._input=u,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 u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var a=u.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var a=u.length,A=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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),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===n.length?this.yylloc.first_column:0)+n[n.length-A.length].length-A[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),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(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),a=new Array(u.length+1).join("-");return u+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./layers.
|
|
1
|
+
import "./layers.CAlaIK4g.js";
|
|
2
2
|
var u = { paste: "粘贴", pasteAsPlaintext: "粘贴为纯文本", pasteCharts: "粘贴图表", selectAll: "全部选中", multiSelect: "添加元素到选区", moveCanvas: "移动画布", cut: "剪切", copy: "拷贝", copyAsPng: "复制为 PNG 到剪贴板", copyAsSvg: "复制为 SVG 到剪贴板", copyText: "复制文本到剪贴板", copySource: "复制源码到剪贴板", convertToCode: "转换成代码", bringForward: "上移一层", sendToBack: "置于底层", bringToFront: "置于顶层", sendBackward: "下移一层", delete: "删除", copyStyles: "拷贝样式", pasteStyles: "粘贴样式", stroke: "描边", background: "背景", fill: "填充", strokeWidth: "描边宽度", strokeStyle: "边框样式", strokeStyle_solid: "实线", strokeStyle_dashed: "虚线", strokeStyle_dotted: "点虚线", sloppiness: "线条风格", opacity: "透明度", textAlign: "文本对齐", edges: "边角", sharp: "尖锐", round: "圆润", arrowheads: "端点", arrowhead_none: "无", arrowhead_arrow: "箭头", arrowhead_bar: "条状", arrowhead_circle: "圆点", arrowhead_circle_outline: "圆点(空心)", arrowhead_triangle: "三角箭头", arrowhead_triangle_outline: "三角箭头(空心)", arrowhead_diamond: "菱形", arrowhead_diamond_outline: "菱形(空心)", fontSize: "字体大小", fontFamily: "字体", addWatermark: "添加 “使用 Excalidraw 创建” 水印", 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: "绘制 Canvas", layers: "图层", actions: "操作", language: "语言", liveCollaboration: "实时协作...", duplicateSelection: "复制", untitled: "无标题", name: "名字", yourName: "您的姓名", madeWithExcalidraw: "使用 Excalidraw 创建", group: "编组", ungroup: "解除编组", collaborators: "协作者", showGrid: "显示网格", addToLibrary: "添加到素材库中", removeFromLibrary: "从素材库中移除", libraryLoadingMessage: "正在加载素材库…", libraries: "浏览素材库", loadingScene: "正在加载绘图…", align: "对齐", alignTop: "顶部对齐", alignBottom: "底端对齐", alignLeft: "左对齐", alignRight: "右对齐", centerVertically: "垂直居中", centerHorizontally: "水平居中", distributeHorizontally: "水平等距分布", distributeVertically: "垂直等距分布", flipHorizontal: "水平翻转", flipVertical: "垂直翻转", viewMode: "查看模式", share: "分享", showStroke: "显示描边颜色选择器", showBackground: "显示背景颜色选择器", toggleTheme: "切换主题", personalLib: "个人素材库", excalidrawLib: "Excalidraw 素材库", decreaseFontSize: "缩小字体大小", increaseFontSize: "放大字体大小", unbindText: "取消文本绑定", bindText: "将文本绑定到容器", createContainerFromText: "将文本包围在容器中", link: { edit: "编辑链接", editEmbed: "编辑链接与嵌入", create: "新建链接", createEmbed: "创建链接与嵌入", label: "链接", labelEmbed: "链接与嵌入", empty: "未设定链接" }, lineEditor: { edit: "编辑线条", exit: "退出线条编辑" }, elementLock: { lock: "锁定", unlock: "解除锁定", lockAll: "全部锁定", unlockAll: "全部解锁" }, statusPublished: "已发布", sidebarLock: "侧边栏常驻", selectAllElementsInFrame: "选择画框中的所有元素", removeAllElementsFromFrame: "分离出画框中的所有元素", eyeDropper: "从画布上取色", textToDiagram: "文字至图表", prompt: "Prompt" }, F = { noItems: "尚未添加任何项目……", hint_emptyLibrary: "选中画布上的项目添加到此处,或从下方的公共素材库中导入。", hint_emptyPrivateLibrary: "选中画布上的项目添加到此处。" }, E = { 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: "点击以开始交互" }, e = { clearReset: "这将会清除整个画布。您是否要继续?", couldNotCreateShareableLink: "无法创建共享链接", couldNotCreateShareableLinkTooBig: "无法创建可共享链接:画布过大", couldNotLoadInvalidFile: "无法加载无效的文件", importBackendFailed: "从后端导入失败。", cannotExportEmptyCanvas: "无法导出空白画布。", couldNotCopyToClipboard: "无法复制到剪贴板。", decryptFailed: "无法解密数据。", uploadedSecurly: "上传已被端到端加密保护,这意味着 Excalidraw 的服务器和第三方都无法读取内容。", loadSceneOverridePrompt: "加载外部绘图将取代您现有的内容。您想要继续吗?", collabStopOverridePrompt: `停止会话将覆盖您先前本地存储的绘图。 您确定吗?
|
|
3
3
|
|
|
4
4
|
(如果您想保持本地绘图,只需关闭浏览器选项卡。)`, errorAddingToLibrary: "无法将项目添加到素材库中", errorRemovingFromLibrary: "无法从素材库中移除项目", confirmAddLibrary: "这将添加 {{numShapes}} 个形状到您的素材库中。您确定吗?", imageDoesNotContainScene: "此图像似乎不包含任何画布数据。您是否在导出时启用了画布嵌入功能?", cannotRestoreFromImage: "无法从此图像文件恢复画布", invalidSceneUrl: "无法从提供的 URL 导入场景。它或者格式不正确,或者不包含有效的 Excalidraw JSON 数据。", resetLibrary: "这将会清除你的素材库。你确定要这么做吗?", removeItemsFromsLibrary: "确定要从素材库中删除 {{count}} 个项目吗?", invalidEncryptionKey: "密钥必须包含22个字符。实时协作已被禁用。", collabOfflineWarning: `无网络连接。
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./layers.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./layers.V0hm-Byb.js");require("./layers.x4J9FdT3.js");const qt=require("./layers.CBsMBmYD.js");var xt=function(){var e=function(K,n,r,l){for(r=r||{},l=K.length;l--;r[K[l]]=n);return r},s=[1,3],h=[1,4],x=[1,5],g=[1,6],u=[1,7],d=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],p=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],q=[2,7],y=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],H=[1,22],M=[1,23],z=[1,24],it=[1,25],at=[1,26],nt=[1,27],U=[1,30],$=[1,31],_=[1,32],A=[1,33],m=[1,34],t=[1,35],S=[1,36],k=[1,37],F=[1,38],P=[1,39],v=[1,40],C=[1,41],L=[1,42],X=[1,57],O=[1,58],E=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ot={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,l,o,T,a,et){var f=a.length-1;switch(T){case 12:this.$=a[f].trim(),o.setDiagramTitle(this.$);break;case 13:this.$=a[f].trim(),o.setAccTitle(this.$);break;case 14:case 15:this.$=a[f].trim(),o.setAccDescription(this.$);break;case 16:o.addSection(a[f].substr(8)),this.$=a[f].substr(8);break;case 17:o.addPoint(a[f-3],a[f-1],a[f]);break;case 18:o.setXAxisLeftText(a[f-2]),o.setXAxisRightText(a[f]);break;case 19:a[f-1].text+=" ⟶ ",o.setXAxisLeftText(a[f-1]);break;case 20:o.setXAxisLeftText(a[f]);break;case 21:o.setYAxisBottomText(a[f-2]),o.setYAxisTopText(a[f]);break;case 22:a[f-1].text+=" ⟶ ",o.setYAxisBottomText(a[f-1]);break;case 23:o.setYAxisBottomText(a[f]);break;case 24:o.setQuadrant1Text(a[f]);break;case 25:o.setQuadrant2Text(a[f]);break;case 26:o.setQuadrant3Text(a[f]);break;case 27:o.setQuadrant4Text(a[f]);break;case 31:this.$={text:a[f],type:"text"};break;case 32:this.$={text:a[f-1].text+""+a[f],type:a[f-1].type};break;case 33:this.$={text:a[f],type:"text"};break;case 34:this.$={text:a[f],type:"markdown"};break;case 35:this.$=a[f];break;case 36:this.$=a[f-1]+""+a[f];break}},table:[{3:1,4:2,5:s,6:h,32:x,33:g,34:u},{1:[3]},{3:8,4:2,5:s,6:h,32:x,33:g,34:u},{3:9,4:2,5:s,6:h,32:x,33:g,34:u},e(d,[2,4],{7:10}),e(p,[2,28]),e(p,[2,29]),e(p,[2,30]),{1:[2,1]},{1:[2,2]},e(i,q,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:y,13:B,15:N,17:V,19:I,20:b,25:H,27:M,28:z,29:it,30:at,31:nt,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),e(d,[2,5]),{4:43,32:x,33:g,34:u},e(i,q,{10:14,11:15,12:16,21:28,35:29,9:44,5:y,13:B,15:N,17:V,19:I,20:b,25:H,27:M,28:z,29:it,30:at,31:nt,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:49,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:50,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:51,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:52,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{21:53,35:29,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L},{5:X,22:[1,54],35:56,36:55,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O},e(E,[2,31]),e(E,[2,33]),e(E,[2,34]),e(E,[2,37]),e(E,[2,38]),e(E,[2,39]),e(E,[2,40]),e(E,[2,41]),e(E,[2,42]),e(E,[2,43]),e(E,[2,44]),e(E,[2,45]),e(E,[2,46]),e(E,[2,47]),e(d,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:X,26:[1,59],40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,23],{36:55,35:56,5:X,26:[1,60],40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,24],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,25],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,26],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,27],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),{23:[1,61]},e(E,[2,32]),e(E,[2,48]),e(E,[2,49]),e(E,[2,50]),e(i,[2,19],{35:29,21:62,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),e(i,[2,22],{35:29,21:63,37:U,38:$,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,21],{36:55,35:56,5:X,40:_,41:A,42:m,43:t,44:S,45:k,46:F,47:P,48:v,49:C,50:L,51:O}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=r,l}},parse:function(n){var r=this,l=[0],o=[],T=[null],a=[],et=this.table,f="",st=0,gt=0,_t=2,pt=1,mt=a.slice.call(arguments,1),D=Object.create(this.lexer),Z={yy:{}};for(var ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ht)&&(Z.yy[ht]=this.yy[ht]);D.setInput(n,Z.yy),Z.yy.lexer=D,Z.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var dt=D.yylloc;a.push(dt);var At=D.options&&D.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function bt(){var j;return j=o.pop()||D.lex()||pt,typeof j!="number"&&(j instanceof Array&&(o=j,j=o.pop()),j=r.symbols_[j]||j),j}for(var W,J,Q,ut,tt={},rt,Y,yt,lt;;){if(J=l[l.length-1],this.defaultActions[J]?Q=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=bt()),Q=et[J]&&et[J][W]),typeof Q>"u"||!Q.length||!Q[0]){var ft="";lt=[];for(rt in et[J])this.terminals_[rt]&&rt>_t&<.push("'"+this.terminals_[rt]+"'");D.showPosition?ft="Parse error on line "+(st+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+lt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":ft="Parse error on line "+(st+1)+": Unexpected "+(W==pt?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(ft,{text:D.match,token:this.terminals_[W]||W,line:D.yylineno,loc:dt,expected:lt})}if(Q[0]instanceof Array&&Q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+J+", token: "+W);switch(Q[0]){case 1:l.push(W),T.push(D.yytext),a.push(D.yylloc),l.push(Q[1]),W=null,gt=D.yyleng,f=D.yytext,st=D.yylineno,dt=D.yylloc;break;case 2:if(Y=this.productions_[Q[1]][1],tt.$=T[T.length-Y],tt._$={first_line:a[a.length-(Y||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(Y||1)].first_column,last_column:a[a.length-1].last_column},At&&(tt._$.range=[a[a.length-(Y||1)].range[0],a[a.length-1].range[1]]),ut=this.performAction.apply(tt,[f,gt,st,Z.yy,Q[1],T,a].concat(mt)),typeof ut<"u")return ut;Y&&(l=l.slice(0,-1*Y*2),T=T.slice(0,-1*Y),a=a.slice(0,-1*Y)),l.push(this.productions_[Q[1]][0]),T.push(tt.$),a.push(tt._$),yt=et[l[l.length-2]][l[l.length-1]],l.push(yt);break;case 3:return!0}}return!0}},Tt=function(){var K={EOF:1,parseError:function(r,l){if(this.yy.parser)this.yy.parser.parseError(r,l);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,l=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 o=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),l.length-1&&(this.yylineno-=l.length-1);var T=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:l?(l.length===o.length?this.yylloc.first_column:0)+o[o.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[T[0],T[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()+`
|