@layers-app/editor 0.0.23 → 0.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.d.ts +6 -44
  3. package/dist/index.js +2 -2
  4. package/dist/{layers.CGX7Piy7.js → layers.-XqzPqyO.js} +1 -1
  5. package/dist/{layers.D_MU5WlI.js → layers.-pZJVtr2.js} +1 -1
  6. package/dist/{layers.DXTPaWjN.js → layers.3JS7Upj0.js} +1 -1
  7. package/dist/{layers.CQv0GMRl.js → layers.44ZDFWK7.js} +1 -1
  8. package/dist/{layers.BBwDvE6l.js → layers.4utgKYyK.js} +1820 -1814
  9. package/dist/{layers.Dyqg_e4P.js → layers.5Z-wFY6j.js} +1 -1
  10. package/dist/{layers.CcJ28sUd.js → layers.5xC3et_d.js} +1 -1
  11. package/dist/{layers.Bv0tGvGl.js → layers.6JCbFAj6.js} +1 -1
  12. package/dist/{layers.CClfR9Rs.js → layers.6h3bxK1a.js} +10346 -11483
  13. package/dist/{layers.BUSnd1Ro.js → layers.77-S3nTe.js} +1 -1
  14. package/dist/{layers.CDzPpnhN.js → layers.7M4UNyUU.js} +5 -5
  15. package/dist/{layers.za1sylgg.js → layers.9tX9hjoM.js} +758 -758
  16. package/dist/{layers.Lhl12ohc.js → layers.B-9i7OJs.js} +1 -1
  17. package/dist/{layers.Dklz2JqP.js → layers.B0aPUUi4.js} +1 -1
  18. package/dist/{layers.N4wL2Xyj.js → layers.B2ffo7VT.js} +85 -85
  19. package/dist/{layers.DdTLZZKb.js → layers.B4b_0r0_.js} +6 -6
  20. package/dist/{layers.Ckbp-T9r.js → layers.B5W9KS-1.js} +1 -1
  21. package/dist/{layers.Cl9Tl2nd.js → layers.B8VoPWTl.js} +1 -1
  22. package/dist/{layers.B9zrmkst.js → layers.B8xcwXZK.js} +1 -1
  23. package/dist/{layers.gaT5_-NN.js → layers.B8z2WMpW.js} +1 -1
  24. package/dist/{layers.DHbdkCCU.js → layers.B9r2ZtSh.js} +1 -1
  25. package/dist/{layers.-rS-aTo2.js → layers.BF9fE7C8.js} +1 -1
  26. package/dist/{layers.ClQj75nc.js → layers.BFUqtCtE.js} +1 -1
  27. package/dist/{layers.D1cZq8tq.js → layers.BHT7hu0K.js} +3 -3
  28. package/dist/{layers.B-6oGNjd.js → layers.BJvR0g9w.js} +1 -1
  29. package/dist/{layers.Blho0qwc.js → layers.BKes9zCG.js} +1 -1
  30. package/dist/{layers.D3Hkinja.js → layers.BM9aR6Wc.js} +1 -1
  31. package/dist/{layers.D2q8ZYi2.js → layers.BNClpYmo.js} +15 -15
  32. package/dist/{layers.BO3dqWyO.js → layers.BPRzsxsG.js} +1 -1
  33. package/dist/{layers.C6Rn8zoI.js → layers.BPUdwzAa.js} +1 -1
  34. package/dist/{layers.DwLw5o0M.js → layers.BPku3sr2.js} +1 -1
  35. package/dist/{layers.gzGcAwbO.js → layers.BQZvK7Ld.js} +3 -3
  36. package/dist/{layers.C0bumYdC.js → layers.BSE8QsGw.js} +1 -1
  37. package/dist/{layers.lLRqycMO.js → layers.BSd-2_I0.js} +1 -1
  38. package/dist/{layers.Dbuivk7d.js → layers.BTI5U3cj.js} +1 -1
  39. package/dist/{layers.BYVHkqLR.js → layers.BTSxIBNW.js} +1 -1
  40. package/dist/{layers.CBXpUMze.js → layers.BTczMT9O.js} +35 -35
  41. package/dist/{layers.BEE5yqs5.js → layers.BWjXKJlb.js} +1 -1
  42. package/dist/{layers.BIVmclKv.js → layers.BXQIrASO.js} +1 -1
  43. package/dist/{layers.B9NSFeaj.js → layers.BXf1B1fk.js} +1 -1
  44. package/dist/{layers.D7HvMBb6.js → layers.BYlHLDae.js} +1 -1
  45. package/dist/{layers.2ODaB2Pd.js → layers.BZ2OjyG_.js} +1 -1
  46. package/dist/{layers.B_Hf0SF-.js → layers.BZGMS_YL.js} +517 -517
  47. package/dist/{layers.Ym7pRGM7.js → layers.B_Ifrq8A.js} +3 -3
  48. package/dist/{layers.DElpVOY-.js → layers.B_bguWvG.js} +1 -1
  49. package/dist/{layers.B39TZ2WV.js → layers.BaDLTNuw.js} +1 -1
  50. package/dist/{layers.B3odqoHb.js → layers.BbNPJK3G.js} +1 -1
  51. package/dist/{layers.BFLg4UGe.js → layers.BbX2Gt06.js} +1 -1
  52. package/dist/{layers.DCvUAfE1.js → layers.BcC4jCYQ.js} +1 -1
  53. package/dist/{layers.B64g6Zx2.js → layers.BcND7kmj.js} +1 -1
  54. package/dist/{layers.L_XjkGw6.js → layers.BcsSvL4N.js} +16 -16
  55. package/dist/layers.Bdma-bi1.js +1 -0
  56. package/dist/{layers.CPV5PaJ7.js → layers.BgH53BCx.js} +1 -1
  57. package/dist/{layers.C5rttXXy.js → layers.Bg_eB6d4.js} +4 -4
  58. package/dist/{layers.CvJxfPxo.js → layers.BhbIzB4V.js} +1 -1
  59. package/dist/{layers.k2UyvrHI.js → layers.BiFjyQe_.js} +1 -1
  60. package/dist/{layers.D9A031XO.js → layers.Bk2R9iWo.js} +2 -2
  61. package/dist/{layers.CTmkjIN6.js → layers.Bo8XWCDb.js} +1 -1
  62. package/dist/{layers.hkFN-BS0.js → layers.BoOJNRFl.js} +1 -1
  63. package/dist/{layers.CR10RAJi.js → layers.Bpk4Ctcr.js} +2 -2
  64. package/dist/{layers.UbqG2dp_.js → layers.BrNJ0Pz_.js} +1 -1
  65. package/dist/{layers.BUkDq4ln.js → layers.Brul_6T5.js} +1 -1
  66. package/dist/{layers.LOjND5R4.js → layers.Bsu1AT8z.js} +2 -2
  67. package/dist/{layers.CmHSmrZm.js → layers.BthCFGNg.js} +1 -1
  68. package/dist/{layers.CHHqQlm1.js → layers.Bti2UxbF.js} +1 -1
  69. package/dist/{layers.CMS1o_sE.js → layers.BuhxW9HQ.js} +1 -1
  70. package/dist/{layers.C3K_Whht.js → layers.BwnZ1xpT.js} +1 -1
  71. package/dist/{layers.C1KhBpGU.js → layers.C-B2iYxw.js} +1 -1
  72. package/dist/{layers.DMvWe0pJ.js → layers.C-PLaaW1.js} +2 -2
  73. package/dist/{layers.Bbl6qitU.js → layers.C1I8OftT.js} +1 -1
  74. package/dist/{layers.Cn6OfRlw.js → layers.C2Tygpbi.js} +1 -1
  75. package/dist/{layers.B8i9d7Qz.js → layers.C4DqDLg-.js} +38 -32
  76. package/dist/{layers.DrtkQKK7.js → layers.C5aZwGJ8.js} +1 -1
  77. package/dist/{layers.oFAtdeQ1.js → layers.C5htK5yR.js} +3 -3
  78. package/dist/{layers.D90-hSDT.js → layers.C6CCN2wS.js} +2 -2
  79. package/dist/{layers.CH23k4XD.js → layers.C76T9ib9.js} +1 -1
  80. package/dist/{layers.OEP2K3db.js → layers.C8KErGD4.js} +1 -1
  81. package/dist/{layers.BCFHxkpM.js → layers.C9-yhnQ_.js} +1 -1
  82. package/dist/{layers.Dol0x5Jd.js → layers.CA01MCW7.js} +1 -1
  83. package/dist/{layers.Ba97nTEK.js → layers.CBAr-ccc.js} +1 -1
  84. package/dist/{layers.BST6tR9a.js → layers.CBHnRD32.js} +1 -1
  85. package/dist/{layers.BDxQSquK.js → layers.CHRstlUi.js} +1 -1
  86. package/dist/{layers.DQCPMqIN.js → layers.CHyEShQb.js} +1 -1
  87. package/dist/layers.CHzF8aN-.js +118 -0
  88. package/dist/{layers.Y41CVpLS.js → layers.CL0btCq5.js} +33 -33
  89. package/dist/layers.CLPJWTr_.js +1 -0
  90. package/dist/{layers.DKPzrygv.js → layers.CNohXvTM.js} +1 -1
  91. package/dist/{layers.HcI9cOEd.js → layers.COVT50CF.js} +47 -47
  92. package/dist/{layers.B6UkAKu5.js → layers.CP74FqYL.js} +78 -78
  93. package/dist/{layers.CnD3z0eZ.js → layers.CPIGYQzV.js} +1 -1
  94. package/dist/{layers.DIrkcLlA.js → layers.CVJ3dtpa.js} +63 -63
  95. package/dist/{layers.CEXVJbhn.js → layers.CVJGf_dS.js} +1 -1
  96. package/dist/{layers.BZcZF6Ct.js → layers.CXyre7fi.js} +1 -1
  97. package/dist/{layers.CDLdte-o.js → layers.CYAKjsCY.js} +1 -1
  98. package/dist/{layers.BPnpanwd.js → layers.CZuNERKr.js} +1 -1
  99. package/dist/{layers.ClaqpFnu.js → layers.C_0V8gfT.js} +2 -2
  100. package/dist/layers.C_LpHycI.js +122 -0
  101. package/dist/{layers.C_dOgKfE.js → layers.CcUrvj1L.js} +1 -1
  102. package/dist/{layers.BD5uUnI2.js → layers.CewW7kYw.js} +279 -279
  103. package/dist/{layers.CnloMtKN.js → layers.CgEWPiYB.js} +14 -14
  104. package/dist/{layers.C-G7-Jg3.js → layers.Ch4JHkKx.js} +1 -1
  105. package/dist/{layers.CSjWzlk9.js → layers.Cj303CSV.js} +1 -1
  106. package/dist/{layers.Dg8Wbn90.js → layers.Cju8Sa_Q.js} +1 -1
  107. package/dist/{layers.DxGDxkXA.js → layers.Cjxt8nIg.js} +47 -47
  108. package/dist/{layers.D2vOkfMK.js → layers.Cllpx3ld.js} +1 -1
  109. package/dist/{layers.DDRgaMwu.js → layers.Cpo4EON4.js} +1 -1
  110. package/dist/layers.CrLpnenG.js +1 -0
  111. package/dist/{layers.BXGiOI1Z.js → layers.CruBr5KJ.js} +1 -1
  112. package/dist/{layers.FstVqdQC.js → layers.Cs3lCndw.js} +151 -151
  113. package/dist/{layers.Bfd5bOAD.js → layers.Csx06TKa.js} +1 -1
  114. package/dist/{layers.Cx14IKzN.js → layers.CtNxT4bX.js} +1 -1
  115. package/dist/{layers.BDhuxbhX.js → layers.Ctkab7zE.js} +1 -1
  116. package/dist/{layers.DARK07JA.js → layers.CtyUp91J.js} +1 -1
  117. package/dist/{layers.BjZInKjA.js → layers.CwbKR3tp.js} +2 -2
  118. package/dist/{layers.gRKbOYG-.js → layers.CxEkiqDR.js} +26 -26
  119. package/dist/{layers.DGZUGztZ.js → layers.D-pR7pmV.js} +29 -29
  120. package/dist/{layers.ChykDTOy.js → layers.D0tiOhqA.js} +1 -1
  121. package/dist/{layers.CGc04km7.js → layers.D3LfwBOp.js} +1 -1
  122. package/dist/{layers.cp645rbn.js → layers.D3Mywbyx.js} +1 -1
  123. package/dist/{layers.I5-pSyca.js → layers.D4qPD37W.js} +1 -1
  124. package/dist/{layers.BhM2iCwB.js → layers.D5_CFDU_.js} +1 -1
  125. package/dist/{layers.DhiFm4jW.js → layers.D63Vq18T.js} +1 -1
  126. package/dist/{layers.BdanmQPF.js → layers.D6IcbDJa.js} +1 -1
  127. package/dist/{layers.B0pdr1hX.js → layers.D6_cQf9O.js} +33 -33
  128. package/dist/{layers.kthR742N.js → layers.D6a6qxmr.js} +1 -1
  129. package/dist/layers.D7xAhxaO.js +6 -0
  130. package/dist/{layers.BuQ1nJmP.js → layers.D8qe0Siv.js} +1 -1
  131. package/dist/{layers.PO65UmTA.js → layers.DAUJf380.js} +1 -1
  132. package/dist/{layers.Bwpn7zKE.js → layers.DBBjhYox.js} +1 -1
  133. package/dist/{layers.5BbX0Xoz.js → layers.DBZ4nt4A.js} +57 -57
  134. package/dist/{layers.BJMMuP5r.js → layers.DBb6ZTQb.js} +1 -1
  135. package/dist/{layers.B0EkntbT.js → layers.DCZZx-_I.js} +1 -1
  136. package/dist/{layers.CphCG076.js → layers.DCpKUlgF.js} +1 -1
  137. package/dist/{layers.rRMBW9ET.js → layers.DDkR5Ts6.js} +251 -251
  138. package/dist/{layers.BPe9NQzP.js → layers.DEcSY6CT.js} +1 -1
  139. package/dist/{layers.DYx3Ot6h.js → layers.DFHjT2lH.js} +1 -1
  140. package/dist/{layers.DXaSAlDN.js → layers.DGECi3uy.js} +1 -1
  141. package/dist/{layers.PhLwHKUM.js → layers.DHeN0kJF.js} +1 -1
  142. package/dist/{layers.C5uR7AiN.js → layers.DIHGOC7q.js} +1 -1
  143. package/dist/{layers.ChPHYv68.js → layers.DIisKDqA.js} +1 -1
  144. package/dist/{layers.tbRLuldN.js → layers.DKAO_t2e.js} +1 -1
  145. package/dist/layers.DKDhSm3W.js +1 -0
  146. package/dist/{layers.CwPFdFUT.js → layers.DL7GcZkM.js} +1 -1
  147. package/dist/{layers.I-MG0ir4.js → layers.DLBoqOPY.js} +7051 -7014
  148. package/dist/{layers.iw01AOuQ.js → layers.DMKRtGOO.js} +96 -96
  149. package/dist/{layers.BLB-feoT.js → layers.DOxdGhXS.js} +1 -1
  150. package/dist/{layers.DeB3waPT.js → layers.DQ2Xcr60.js} +1 -1
  151. package/dist/layers.DRJbljY3.js +2 -0
  152. package/dist/{layers.Bk2PdkMX.js → layers.DSv_J9bL.js} +1 -1
  153. package/dist/{layers.DAx0hT2g.js → layers.DUrMIw9R.js} +1 -1
  154. package/dist/{layers.fTcEk1do.js → layers.DUt_7Rf9.js} +7 -7
  155. package/dist/{layers.D18RSmmQ.js → layers.DV-7KP2x.js} +1 -1
  156. package/dist/layers.DWAHzpeJ.js +65 -0
  157. package/dist/{layers.Ck0iJfoW.js → layers.D_Wzp8Cn.js} +1 -1
  158. package/dist/{layers.BFOl7cA-.js → layers.DakFhu3n.js} +1 -1
  159. package/dist/{layers.BBU3ik5q.js → layers.DdfiL5kD.js} +3 -3
  160. package/dist/{layers.DEfJs03Z.js → layers.DeDtDGVu.js} +1 -1
  161. package/dist/{layers.DalYdEkL.js → layers.DfaL2q8R.js} +4 -4
  162. package/dist/{layers.D68FZk66.js → layers.DfnEKrUj.js} +1 -1
  163. package/dist/{layers.BkMfeJ9R.js → layers.DixGTGe2.js} +1 -1
  164. package/dist/{layers.Dyor8Hot.js → layers.Dj9C8dFr.js} +28 -28
  165. package/dist/{layers.Ci0x4aAi.js → layers.DlsG5gru.js} +5 -5
  166. package/dist/{layers.DFd9A85i.js → layers.Dp-Xbgxy.js} +4 -4
  167. package/dist/{layers.BLSqqbWP.js → layers.DpFjxIHM.js} +4 -4
  168. package/dist/{layers.x6Qk2Mwl.js → layers.DrLqWw04.js} +1 -1
  169. package/dist/{layers.Dxrm0nEM.js → layers.DsT1BxXu.js} +140 -140
  170. package/dist/{layers.Ci0QS82_.js → layers.Dt7NdfDn.js} +1 -1
  171. package/dist/{layers.BoabOlrX.js → layers.Duxds2E7.js} +1 -1
  172. package/dist/{layers.DsAtBUs-.js → layers.DxXZMHl1.js} +5 -5
  173. package/dist/{layers.BvZFIFgz.js → layers.Dz0pDzZ2.js} +1 -1
  174. package/dist/{layers.Cp82yltX.js → layers.DzSwrBkm.js} +1 -1
  175. package/dist/{layers.DO-G3uLL.js → layers.DzXwulE9.js} +1 -1
  176. package/dist/layers.E0TqyNY6.js +202 -0
  177. package/dist/{layers.CiNAQOA-.js → layers.EdniTKSB.js} +2 -2
  178. package/dist/{layers.Bz0ApNUe.js → layers.IYUvfd4q.js} +14 -14
  179. package/dist/{layers.ChAMqLmE.js → layers.JIqu3EuS.js} +1 -1
  180. package/dist/{layers.CCRe_IA7.js → layers.JoXvoQtK.js} +1 -1
  181. package/dist/{layers.CeMe5scF.js → layers.LKsuEHeo.js} +1 -1
  182. package/dist/{layers.Cxmncz59.js → layers.LW-EdoNU.js} +1 -1
  183. package/dist/{layers.p9hSNB6N.js → layers.NLUe-Zd7.js} +1 -1
  184. package/dist/{layers.x6ioP3u0.js → layers.OG2GCG5d.js} +1 -1
  185. package/dist/layers.O_QfH9Tw.js +55 -0
  186. package/dist/{layers.B-ie1_cm.js → layers.Q61rVzjQ.js} +1 -1
  187. package/dist/{layers.ChJyurjQ.js → layers.QMSF2I3x.js} +1 -1
  188. package/dist/{layers.C51kZnWr.js → layers.RC04NTdF.js} +1 -1
  189. package/dist/{layers.D-ZYFolm.js → layers.X2Q_jYIN.js} +1 -1
  190. package/dist/{layers.CZh7NZyl.js → layers.Y9024OPf.js} +1 -1
  191. package/dist/{layers.-RxAm5pH.js → layers.Zcvgtj43.js} +47 -47
  192. package/dist/{layers.DK_t52oS.js → layers.dE10rGCq.js} +390 -390
  193. package/dist/{layers.c_QDfgff.js → layers.dJ7Y_uj4.js} +4 -4
  194. package/dist/layers.dbGRsALw.js +10 -0
  195. package/dist/{layers.kY3ZYtED.js → layers.gQj2seW8.js} +1 -1
  196. package/dist/{layers.BpXiFzvR.js → layers.gnhLHWor.js} +1 -1
  197. package/dist/{layers.CO4NHmK3.js → layers.iZHGKF34.js} +1 -1
  198. package/dist/{layers.CZMy0ug4.js → layers.k9xSs9fH.js} +1 -1
  199. package/dist/{layers.BBB7YGK1.js → layers.kuAa_osE.js} +1 -1
  200. package/dist/{layers.CR4riLSc.js → layers.nK8yMUfw.js} +639 -639
  201. package/dist/{layers.BHDiP2sq.js → layers.oeHNlcSJ.js} +1482 -1482
  202. package/dist/{layers.WsdOSV4y.js → layers.oyFM1DlU.js} +1 -1
  203. package/dist/{layers.DhzTwBn5.js → layers.sctyB8h-.js} +1 -1
  204. package/dist/{layers.Ch7C0MR9.js → layers.uim2_WMD.js} +1 -1
  205. package/dist/layers.wKm27PFc.js +8 -0
  206. package/dist/{layers.dqI-yLmM.js → layers.wQvpu0z-.js} +1 -1
  207. package/dist/{layers.paz6tc0L.js → layers.wpRKShXC.js} +1 -1
  208. package/dist/{layers.Dzc83sE7.js → layers.y6ChlfJ8.js} +1 -1
  209. package/dist/{layers.CqM3rL4-.js → layers.zOav7lS3.js} +1 -1
  210. package/package.json +1 -4
  211. package/dist/layers.BK01wvsE.js +0 -10
  212. package/dist/layers.BQLZhz6B.js +0 -6
  213. package/dist/layers.BUsBCyiL.js +0 -202
  214. package/dist/layers.BkjjkAwW.js +0 -2
  215. package/dist/layers.BwfB_nzW.js +0 -8
  216. package/dist/layers.CQXDzk5h.js +0 -1
  217. package/dist/layers.CeVpKhli.js +0 -122
  218. package/dist/layers.DTDpNGfk.js +0 -1
  219. package/dist/layers.Dk9dbz6F.js +0 -118
  220. package/dist/layers.DtoCH9Nn.js +0 -1
  221. package/dist/layers.DzaH7mDC.js +0 -65
  222. package/dist/layers.Tatx7z0m.js +0 -55
  223. package/dist/layers.h0tSRttU.js +0 -1
@@ -1,73 +1,73 @@
1
- import { a as yt, s as ft, b as dt, c as pt, n as gt, o as mt, g as I, d as W, e as xt, q as kt } from "./layers.BBwDvE6l.js";
2
- import { a as _t, g as it, f as bt, d as vt } from "./layers.DzaH7mDC.js";
3
- import "./layers.I-MG0ir4.js";
4
- import { a as Q } from "./layers.BUkDq4ln.js";
1
+ import { a as yt, s as ft, b as dt, c as pt, n as gt, o as mt, g as I, d as W, e as xt, q as kt } from "./layers.4utgKYyK.js";
2
+ import { a as _t, g as it, f as bt, d as vt } from "./layers.DWAHzpeJ.js";
3
+ import "./layers.DLBoqOPY.js";
4
+ import { a as Q } from "./layers.Brul_6T5.js";
5
5
  var G = function() {
6
- var t = function(p, n, r, a) {
7
- for (r = r || {}, a = p.length; a--; r[p[a]] = n)
6
+ var t = function(p, s, r, a) {
7
+ for (r = r || {}, a = p.length; a--; r[p[a]] = s)
8
8
  ;
9
9
  return r;
10
- }, e = [6, 8, 10, 11, 12, 14, 16, 17, 18], i = [1, 9], o = [1, 10], s = [1, 11], h = [1, 12], c = [1, 13], f = [1, 14], y = {
10
+ }, e = [6, 8, 10, 11, 12, 14, 16, 17, 18], i = [1, 9], l = [1, 10], n = [1, 11], h = [1, 12], c = [1, 13], f = [1, 14], y = {
11
11
  trace: function() {
12
12
  },
13
13
  yy: {},
14
14
  symbols_: { error: 2, start: 3, journey: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, taskName: 18, taskData: 19, $accept: 0, $end: 1 },
15
15
  terminals_: { 2: "error", 4: "journey", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 18: "taskName", 19: "taskData" },
16
16
  productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2]],
17
- performAction: function(n, r, a, u, d, l, w) {
18
- var k = l.length - 1;
17
+ performAction: function(s, r, a, u, d, o, w) {
18
+ var k = o.length - 1;
19
19
  switch (d) {
20
20
  case 1:
21
- return l[k - 1];
21
+ return o[k - 1];
22
22
  case 2:
23
23
  this.$ = [];
24
24
  break;
25
25
  case 3:
26
- l[k - 1].push(l[k]), this.$ = l[k - 1];
26
+ o[k - 1].push(o[k]), this.$ = o[k - 1];
27
27
  break;
28
28
  case 4:
29
29
  case 5:
30
- this.$ = l[k];
30
+ this.$ = o[k];
31
31
  break;
32
32
  case 6:
33
33
  case 7:
34
34
  this.$ = [];
35
35
  break;
36
36
  case 8:
37
- u.setDiagramTitle(l[k].substr(6)), this.$ = l[k].substr(6);
37
+ u.setDiagramTitle(o[k].substr(6)), this.$ = o[k].substr(6);
38
38
  break;
39
39
  case 9:
40
- this.$ = l[k].trim(), u.setAccTitle(this.$);
40
+ this.$ = o[k].trim(), u.setAccTitle(this.$);
41
41
  break;
42
42
  case 10:
43
43
  case 11:
44
- this.$ = l[k].trim(), u.setAccDescription(this.$);
44
+ this.$ = o[k].trim(), u.setAccDescription(this.$);
45
45
  break;
46
46
  case 12:
47
- u.addSection(l[k].substr(8)), this.$ = l[k].substr(8);
47
+ u.addSection(o[k].substr(8)), this.$ = o[k].substr(8);
48
48
  break;
49
49
  case 13:
50
- u.addTask(l[k - 1], l[k]), this.$ = "task";
50
+ u.addTask(o[k - 1], o[k]), this.$ = "task";
51
51
  break;
52
52
  }
53
53
  },
54
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: i, 12: o, 14: s, 16: h, 17: c, 18: f }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: i, 12: o, 14: s, 16: h, 17: c, 18: f }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
54
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: i, 12: l, 14: n, 16: h, 17: c, 18: f }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: i, 12: l, 14: n, 16: h, 17: c, 18: f }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
55
55
  defaultActions: {},
56
- parseError: function(n, r) {
56
+ parseError: function(s, r) {
57
57
  if (r.recoverable)
58
- this.trace(n);
58
+ this.trace(s);
59
59
  else {
60
- var a = new Error(n);
60
+ var a = new Error(s);
61
61
  throw a.hash = r, a;
62
62
  }
63
63
  },
64
- parse: function(n) {
65
- var r = this, a = [0], u = [], d = [null], l = [], w = this.table, k = "", R = 0, Z = 0, ot = 2, J = 1, ct = l.slice.call(arguments, 1), x = Object.create(this.lexer), S = { yy: {} };
64
+ parse: function(s) {
65
+ var r = this, a = [0], u = [], d = [null], o = [], w = this.table, k = "", R = 0, Z = 0, lt = 2, J = 1, ct = o.slice.call(arguments, 1), x = Object.create(this.lexer), S = { yy: {} };
66
66
  for (var z in this.yy)
67
67
  Object.prototype.hasOwnProperty.call(this.yy, z) && (S.yy[z] = this.yy[z]);
68
- x.setInput(n, S.yy), S.yy.lexer = x, S.yy.parser = this, typeof x.yylloc > "u" && (x.yylloc = {});
68
+ x.setInput(s, S.yy), S.yy.lexer = x, S.yy.parser = this, typeof x.yylloc > "u" && (x.yylloc = {});
69
69
  var Y = x.yylloc;
70
- l.push(Y);
70
+ o.push(Y);
71
71
  var ht = x.options && x.options.ranges;
72
72
  typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
73
73
  function ut() {
@@ -79,7 +79,7 @@ var G = function() {
79
79
  var O = "";
80
80
  B = [];
81
81
  for (N in w[E])
82
- this.terminals_[N] && N > ot && B.push("'" + this.terminals_[N] + "'");
82
+ this.terminals_[N] && N > lt && B.push("'" + this.terminals_[N] + "'");
83
83
  x.showPosition ? O = "Parse error on line " + (R + 1) + `:
84
84
  ` + x.showPosition() + `
85
85
  Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "Parse error on line " + (R + 1) + ": Unexpected " + (_ == J ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(O, {
@@ -94,17 +94,17 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
94
94
  throw new Error("Parse Error: multiple actions possible at state: " + E + ", token: " + _);
95
95
  switch (b[0]) {
96
96
  case 1:
97
- a.push(_), d.push(x.yytext), l.push(x.yylloc), a.push(b[1]), _ = null, Z = x.yyleng, k = x.yytext, R = x.yylineno, Y = x.yylloc;
97
+ a.push(_), d.push(x.yytext), o.push(x.yylloc), a.push(b[1]), _ = null, Z = x.yyleng, k = x.yytext, R = x.yylineno, Y = x.yylloc;
98
98
  break;
99
99
  case 2:
100
100
  if ($ = this.productions_[b[1]][1], A.$ = d[d.length - $], A._$ = {
101
- first_line: l[l.length - ($ || 1)].first_line,
102
- last_line: l[l.length - 1].last_line,
103
- first_column: l[l.length - ($ || 1)].first_column,
104
- last_column: l[l.length - 1].last_column
101
+ first_line: o[o.length - ($ || 1)].first_line,
102
+ last_line: o[o.length - 1].last_line,
103
+ first_column: o[o.length - ($ || 1)].first_column,
104
+ last_column: o[o.length - 1].last_column
105
105
  }, ht && (A._$.range = [
106
- l[l.length - ($ || 1)].range[0],
107
- l[l.length - 1].range[1]
106
+ o[o.length - ($ || 1)].range[0],
107
+ o[o.length - 1].range[1]
108
108
  ]), q = this.performAction.apply(A, [
109
109
  k,
110
110
  Z,
@@ -112,10 +112,10 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
112
112
  S.yy,
113
113
  b[1],
114
114
  d,
115
- l
115
+ o
116
116
  ].concat(ct)), typeof q < "u")
117
117
  return q;
118
- $ && (a = a.slice(0, -1 * $ * 2), d = d.slice(0, -1 * $), l = l.slice(0, -1 * $)), a.push(this.productions_[b[1]][0]), d.push(A.$), l.push(A._$), K = w[a[a.length - 2]][a[a.length - 1]], a.push(K);
118
+ $ && (a = a.slice(0, -1 * $ * 2), d = d.slice(0, -1 * $), o = o.slice(0, -1 * $)), a.push(this.productions_[b[1]][0]), d.push(A.$), o.push(A._$), K = w[a[a.length - 2]][a[a.length - 1]], a.push(K);
119
119
  break;
120
120
  case 3:
121
121
  return !0;
@@ -133,8 +133,8 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
133
133
  throw new Error(r);
134
134
  },
135
135
  // resets the lexer, sets new input
136
- setInput: function(n, r) {
137
- 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 = {
136
+ setInput: function(s, r) {
137
+ return this.yy = r || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
138
138
  first_line: 1,
139
139
  first_column: 0,
140
140
  last_line: 1,
@@ -143,15 +143,15 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
143
143
  },
144
144
  // consumes and returns one char from the input
145
145
  input: function() {
146
- var n = this._input[0];
147
- this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n;
148
- var r = n.match(/(?:\r\n?|\n).*/g);
149
- 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;
146
+ var s = this._input[0];
147
+ this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
148
+ var r = s.match(/(?:\r\n?|\n).*/g);
149
+ 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), s;
150
150
  },
151
151
  // unshifts one char (or a string) into the input
152
- unput: function(n) {
153
- var r = n.length, a = n.split(/(?:\r\n?|\n)/g);
154
- this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
152
+ unput: function(s) {
153
+ var r = s.length, a = s.split(/(?:\r\n?|\n)/g);
154
+ this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
155
155
  var u = this.match.split(/(?:\r\n?|\n)/g);
156
156
  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);
157
157
  var d = this.yylloc.range;
@@ -180,27 +180,27 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
180
180
  return this;
181
181
  },
182
182
  // retain first n characters of the match
183
- less: function(n) {
184
- this.unput(this.match.slice(n));
183
+ less: function(s) {
184
+ this.unput(this.match.slice(s));
185
185
  },
186
186
  // displays already matched input, i.e. for error messages
187
187
  pastInput: function() {
188
- var n = this.matched.substr(0, this.matched.length - this.match.length);
189
- return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
188
+ var s = this.matched.substr(0, this.matched.length - this.match.length);
189
+ return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
190
190
  },
191
191
  // displays upcoming input, i.e. for error messages
192
192
  upcomingInput: function() {
193
- var n = this.match;
194
- return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
193
+ var s = this.match;
194
+ return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
195
195
  },
196
196
  // displays the character position where the lexing error occurred, i.e. for error messages
197
197
  showPosition: function() {
198
- var n = this.pastInput(), r = new Array(n.length + 1).join("-");
199
- return n + this.upcomingInput() + `
198
+ var s = this.pastInput(), r = new Array(s.length + 1).join("-");
199
+ return s + this.upcomingInput() + `
200
200
  ` + r + "^";
201
201
  },
202
202
  // test the lexed token: return FALSE when not a match, otherwise return token
203
- test_match: function(n, r) {
203
+ test_match: function(s, r) {
204
204
  var a, u, d;
205
205
  if (this.options.backtrack_lexer && (d = {
206
206
  yylineno: this.yylineno,
@@ -221,16 +221,16 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
221
221
  yy: this.yy,
222
222
  conditionStack: this.conditionStack.slice(0),
223
223
  done: this.done
224
- }, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), u = n[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
224
+ }, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), u = s[0].match(/(?:\r\n?|\n).*/g), u && (this.yylineno += u.length), this.yylloc = {
225
225
  first_line: this.yylloc.last_line,
226
226
  last_line: this.yylineno + 1,
227
227
  first_column: this.yylloc.last_column,
228
- last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
229
- }, this.yytext += n[0], this.match += n[0], this.matches = n, 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(n[0].length), this.matched += n[0], a = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a)
228
+ last_column: u ? u[u.length - 1].length - u[u.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
229
+ }, this.yytext += s[0], this.match += s[0], this.matches = s, 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(s[0].length), this.matched += s[0], a = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), a)
230
230
  return a;
231
231
  if (this._backtrack) {
232
- for (var l in d)
233
- this[l] = d[l];
232
+ for (var o in d)
233
+ this[o] = d[o];
234
234
  return !1;
235
235
  }
236
236
  return !1;
@@ -240,13 +240,13 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
240
240
  if (this.done)
241
241
  return this.EOF;
242
242
  this._input || (this.done = !0);
243
- var n, r, a, u;
243
+ var s, r, a, u;
244
244
  this._more || (this.yytext = "", this.match = "");
245
- for (var d = this._currentRules(), l = 0; l < d.length; l++)
246
- if (a = this._input.match(this.rules[d[l]]), a && (!r || a[0].length > r[0].length)) {
247
- if (r = a, u = l, this.options.backtrack_lexer) {
248
- if (n = this.test_match(a, d[l]), n !== !1)
249
- return n;
245
+ for (var d = this._currentRules(), o = 0; o < d.length; o++)
246
+ if (a = this._input.match(this.rules[d[o]]), a && (!r || a[0].length > r[0].length)) {
247
+ if (r = a, u = o, this.options.backtrack_lexer) {
248
+ if (s = this.test_match(a, d[o]), s !== !1)
249
+ return s;
250
250
  if (this._backtrack) {
251
251
  r = !1;
252
252
  continue;
@@ -255,7 +255,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : O = "
255
255
  } else if (!this.options.flex)
256
256
  break;
257
257
  }
258
- return r ? (n = this.test_match(r, d[u]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
258
+ return r ? (s = this.test_match(r, d[u]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
259
259
  ` + this.showPosition(), {
260
260
  text: "",
261
261
  token: null,
@@ -373,14 +373,14 @@ const H = [], V = [], F = [], $t = function() {
373
373
  }), [...new Set(t)].sort();
374
374
  }, Pt = function(t, e) {
375
375
  const i = e.substr(1).split(":");
376
- let o = 0, s = [];
377
- i.length === 1 ? (o = Number(i[0]), s = []) : (o = Number(i[0]), s = i[1].split(","));
378
- const h = s.map((f) => f.trim()), c = {
376
+ let l = 0, n = [];
377
+ i.length === 1 ? (l = Number(i[0]), n = []) : (l = Number(i[0]), n = i[1].split(","));
378
+ const h = n.map((f) => f.trim()), c = {
379
379
  section: C,
380
380
  type: C,
381
381
  people: h,
382
382
  task: t,
383
- score: o
383
+ score: l
384
384
  };
385
385
  F.push(c);
386
386
  }, It = function(t) {
@@ -397,8 +397,8 @@ const H = [], V = [], F = [], $t = function() {
397
397
  return F[i].processed;
398
398
  };
399
399
  let e = !0;
400
- for (const [i, o] of F.entries())
401
- t(i), e = e && o.processed;
400
+ for (const [i, l] of F.entries())
401
+ t(i), e = e && l.processed;
402
402
  return e;
403
403
  }, At = function() {
404
404
  return Et();
@@ -553,8 +553,8 @@ const H = [], V = [], F = [], $t = function() {
553
553
  `, Vt = Ct, U = function(t, e) {
554
554
  return vt(t, e);
555
555
  }, Ft = function(t, e) {
556
- const o = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), s = t.append("g");
557
- s.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), s.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
556
+ const l = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), n = t.append("g");
557
+ n.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), n.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
558
558
  function h(y) {
559
559
  const m = Q().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
560
560
  y.append("path").attr("class", "mouth").attr("d", m).attr("transform", "translate(" + e.cx + "," + (e.cy + 2) + ")");
@@ -566,28 +566,28 @@ const H = [], V = [], F = [], $t = function() {
566
566
  function f(y) {
567
567
  y.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", e.cx - 5).attr("y1", e.cy + 7).attr("x2", e.cx + 5).attr("y2", e.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
568
568
  }
569
- return e.score > 3 ? h(s) : e.score < 3 ? c(s) : f(s), o;
569
+ return e.score > 3 ? h(n) : e.score < 3 ? c(n) : f(n), l;
570
570
  }, rt = function(t, e) {
571
571
  const i = t.append("circle");
572
572
  return i.attr("cx", e.cx), i.attr("cy", e.cy), i.attr("class", "actor-" + e.pos), i.attr("fill", e.fill), i.attr("stroke", e.stroke), i.attr("r", e.r), i.class !== void 0 && i.attr("class", i.class), e.title !== void 0 && i.append("title").text(e.title), i;
573
573
  }, at = function(t, e) {
574
574
  return bt(t, e);
575
575
  }, Lt = function(t, e) {
576
- function i(s, h, c, f, y) {
577
- return s + "," + h + " " + (s + c) + "," + h + " " + (s + c) + "," + (h + f - y) + " " + (s + c - y * 1.2) + "," + (h + f) + " " + s + "," + (h + f);
576
+ function i(n, h, c, f, y) {
577
+ return n + "," + h + " " + (n + c) + "," + h + " " + (n + c) + "," + (h + f - y) + " " + (n + c - y * 1.2) + "," + (h + f) + " " + n + "," + (h + f);
578
578
  }
579
- const o = t.append("polygon");
580
- o.attr("points", i(e.x, e.y, 50, 20, 7)), o.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, at(t, e);
579
+ const l = t.append("polygon");
580
+ l.attr("points", i(e.x, e.y, 50, 20, 7)), l.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, at(t, e);
581
581
  }, Rt = function(t, e, i) {
582
- const o = t.append("g"), s = it();
583
- s.x = e.x, s.y = e.y, s.fill = e.fill, s.width = i.width * e.taskCount + // width of the tasks
584
- i.diagramMarginX * (e.taskCount - 1), s.height = i.height, s.class = "journey-section section-type-" + e.num, s.rx = 3, s.ry = 3, U(o, s), lt(i)(
582
+ const l = t.append("g"), n = it();
583
+ n.x = e.x, n.y = e.y, n.fill = e.fill, n.width = i.width * e.taskCount + // width of the tasks
584
+ i.diagramMarginX * (e.taskCount - 1), n.height = i.height, n.class = "journey-section section-type-" + e.num, n.rx = 3, n.ry = 3, U(l, n), ot(i)(
585
585
  e.text,
586
- o,
587
- s.x,
588
- s.y,
589
- s.width,
590
- s.height,
586
+ l,
587
+ n.x,
588
+ n.y,
589
+ n.width,
590
+ n.height,
591
591
  { class: "journey-section section-type-" + e.num },
592
592
  i,
593
593
  e.colour
@@ -595,16 +595,16 @@ const H = [], V = [], F = [], $t = function() {
595
595
  };
596
596
  let et = -1;
597
597
  const Nt = function(t, e, i) {
598
- const o = e.x + i.width / 2, s = t.append("g");
598
+ const l = e.x + i.width / 2, n = t.append("g");
599
599
  et++;
600
600
  const h = 300 + 5 * 30;
601
- s.append("line").attr("id", "task" + et).attr("x1", o).attr("y1", e.y).attr("x2", o).attr("y2", h).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Ft(s, {
602
- cx: o,
601
+ n.append("line").attr("id", "task" + et).attr("x1", l).attr("y1", e.y).attr("x2", l).attr("y2", h).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Ft(n, {
602
+ cx: l,
603
603
  cy: 300 + (5 - e.score) * 30,
604
604
  score: e.score
605
605
  });
606
606
  const c = it();
607
- c.x = e.x, c.y = e.y, c.fill = e.fill, c.width = i.width, c.height = i.height, c.class = "task task-type-" + e.num, c.rx = 3, c.ry = 3, U(s, c);
607
+ c.x = e.x, c.y = e.y, c.fill = e.fill, c.width = i.width, c.height = i.height, c.class = "task task-type-" + e.num, c.rx = 3, c.ry = 3, U(n, c);
608
608
  let f = e.x + 14;
609
609
  e.people.forEach((y) => {
610
610
  const m = e.actors[y].color, g = {
@@ -616,10 +616,10 @@ const Nt = function(t, e, i) {
616
616
  title: y,
617
617
  pos: e.actors[y].position
618
618
  };
619
- rt(s, g), f += 10;
620
- }), lt(i)(
619
+ rt(n, g), f += 10;
620
+ }), ot(i)(
621
621
  e.task,
622
- s,
622
+ n,
623
623
  c.x,
624
624
  c.y,
625
625
  c.width,
@@ -630,28 +630,28 @@ const Nt = function(t, e, i) {
630
630
  );
631
631
  }, Bt = function(t, e) {
632
632
  _t(t, e);
633
- }, lt = /* @__PURE__ */ function() {
634
- function t(s, h, c, f, y, m, g, p) {
635
- const n = h.append("text").attr("x", c + y / 2).attr("y", f + m / 2 + 5).style("font-color", p).style("text-anchor", "middle").text(s);
636
- o(n, g);
633
+ }, ot = /* @__PURE__ */ function() {
634
+ function t(n, h, c, f, y, m, g, p) {
635
+ const s = h.append("text").attr("x", c + y / 2).attr("y", f + m / 2 + 5).style("font-color", p).style("text-anchor", "middle").text(n);
636
+ l(s, g);
637
637
  }
638
- function e(s, h, c, f, y, m, g, p, n) {
639
- const { taskFontSize: r, taskFontFamily: a } = p, u = s.split(/<br\s*\/?>/gi);
638
+ function e(n, h, c, f, y, m, g, p, s) {
639
+ const { taskFontSize: r, taskFontFamily: a } = p, u = n.split(/<br\s*\/?>/gi);
640
640
  for (let d = 0; d < u.length; d++) {
641
- const l = d * r - r * (u.length - 1) / 2, w = h.append("text").attr("x", c + y / 2).attr("y", f).attr("fill", n).style("text-anchor", "middle").style("font-size", r).style("font-family", a);
642
- w.append("tspan").attr("x", c + y / 2).attr("dy", l).text(u[d]), w.attr("y", f + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), o(w, g);
641
+ const o = d * r - r * (u.length - 1) / 2, w = h.append("text").attr("x", c + y / 2).attr("y", f).attr("fill", s).style("text-anchor", "middle").style("font-size", r).style("font-family", a);
642
+ w.append("tspan").attr("x", c + y / 2).attr("dy", o).text(u[d]), w.attr("y", f + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), l(w, g);
643
643
  }
644
644
  }
645
- function i(s, h, c, f, y, m, g, p) {
646
- const n = h.append("switch"), a = n.append("foreignObject").attr("x", c).attr("y", f).attr("width", y).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
647
- a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(s), e(s, n, c, f, y, m, g, p), o(a, g);
645
+ function i(n, h, c, f, y, m, g, p) {
646
+ const s = h.append("switch"), a = s.append("foreignObject").attr("x", c).attr("y", f).attr("width", y).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
647
+ a.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(n), e(n, s, c, f, y, m, g, p), l(a, g);
648
648
  }
649
- function o(s, h) {
649
+ function l(n, h) {
650
650
  for (const c in h)
651
- c in h && s.attr(c, h[c]);
651
+ c in h && n.attr(c, h[c]);
652
652
  }
653
- return function(s) {
654
- return s.textPlacement === "fo" ? i : s.textPlacement === "old" ? t : e;
653
+ return function(n) {
654
+ return n.textPlacement === "fo" ? i : n.textPlacement === "old" ? t : e;
655
655
  };
656
656
  }(), jt = function(t) {
657
657
  t.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
@@ -672,48 +672,48 @@ const Nt = function(t, e, i) {
672
672
  function Yt(t) {
673
673
  const e = I().journey;
674
674
  let i = 60;
675
- Object.keys(M).forEach((o) => {
676
- const s = M[o].color, h = {
675
+ Object.keys(M).forEach((l) => {
676
+ const n = M[l].color, h = {
677
677
  cx: 20,
678
678
  cy: i,
679
679
  r: 7,
680
- fill: s,
680
+ fill: n,
681
681
  stroke: "#000",
682
- pos: M[o].position
682
+ pos: M[l].position
683
683
  };
684
684
  L.drawCircle(t, h);
685
685
  const c = {
686
686
  x: 40,
687
687
  y: i + 7,
688
688
  fill: "#666",
689
- text: o,
689
+ text: l,
690
690
  textMargin: e.boxTextMargin | 5
691
691
  };
692
692
  L.drawText(t, c), i += 20;
693
693
  });
694
694
  }
695
- const j = I().journey, P = j.leftMargin, qt = function(t, e, i, o) {
696
- const s = I().journey, h = I().securityLevel;
695
+ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, l) {
696
+ const n = I().journey, h = I().securityLevel;
697
697
  let c;
698
698
  h === "sandbox" && (c = W("#i" + e));
699
699
  const f = h === "sandbox" ? W(c.nodes()[0].contentDocument.body) : W("body");
700
700
  v.init();
701
701
  const y = f.select("#" + e);
702
702
  L.initGraphics(y);
703
- const m = o.db.getTasks(), g = o.db.getDiagramTitle(), p = o.db.getActors();
704
- for (const l in M)
705
- delete M[l];
706
- let n = 0;
707
- p.forEach((l) => {
708
- M[l] = {
709
- color: s.actorColours[n % s.actorColours.length],
710
- position: n
711
- }, n++;
703
+ const m = l.db.getTasks(), g = l.db.getDiagramTitle(), p = l.db.getActors();
704
+ for (const o in M)
705
+ delete M[o];
706
+ let s = 0;
707
+ p.forEach((o) => {
708
+ M[o] = {
709
+ color: n.actorColours[s % n.actorColours.length],
710
+ position: s
711
+ }, s++;
712
712
  }), Yt(y), v.insert(0, 0, P, Object.keys(M).length * 50), Ot(y, m, 0);
713
713
  const r = v.getBounds();
714
714
  g && y.append("text").text(g).attr("x", P).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 25);
715
- const a = r.stopy - r.starty + 2 * s.diagramMarginY, u = P + r.stopx + 2 * s.diagramMarginX;
716
- xt(y, a, u, s.useMaxWidth), y.append("line").attr("x1", P).attr("y1", s.height * 4).attr("x2", u - P - 4).attr("y2", s.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
715
+ const a = r.stopy - r.starty + 2 * n.diagramMarginY, u = P + r.stopx + 2 * n.diagramMarginX;
716
+ xt(y, a, u, n.useMaxWidth), y.append("line").attr("x1", P).attr("y1", n.height * 4).attr("x2", u - P - 4).attr("y2", n.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)");
717
717
  const d = g ? 70 : 0;
718
718
  y.attr("viewBox", `${r.startx} -25 ${u} ${a + d}`), y.attr("preserveAspectRatio", "xMinYMin meet"), y.attr("height", a + d + 25);
719
719
  }, v = {
@@ -733,24 +733,24 @@ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, o) {
733
733
  stopy: void 0
734
734
  }, this.verticalPos = 0;
735
735
  },
736
- updateVal: function(t, e, i, o) {
737
- t[e] === void 0 ? t[e] = i : t[e] = o(i, t[e]);
736
+ updateVal: function(t, e, i, l) {
737
+ t[e] === void 0 ? t[e] = i : t[e] = l(i, t[e]);
738
738
  },
739
- updateBounds: function(t, e, i, o) {
740
- const s = I().journey, h = this;
739
+ updateBounds: function(t, e, i, l) {
740
+ const n = I().journey, h = this;
741
741
  let c = 0;
742
742
  function f(y) {
743
743
  return function(g) {
744
744
  c++;
745
745
  const p = h.sequenceItems.length - c + 1;
746
- h.updateVal(g, "starty", e - p * s.boxMargin, Math.min), h.updateVal(g, "stopy", o + p * s.boxMargin, Math.max), h.updateVal(v.data, "startx", t - p * s.boxMargin, Math.min), h.updateVal(v.data, "stopx", i + p * s.boxMargin, Math.max), h.updateVal(g, "startx", t - p * s.boxMargin, Math.min), h.updateVal(g, "stopx", i + p * s.boxMargin, Math.max), h.updateVal(v.data, "starty", e - p * s.boxMargin, Math.min), h.updateVal(v.data, "stopy", o + p * s.boxMargin, Math.max);
746
+ h.updateVal(g, "starty", e - p * n.boxMargin, Math.min), h.updateVal(g, "stopy", l + p * n.boxMargin, Math.max), h.updateVal(v.data, "startx", t - p * n.boxMargin, Math.min), h.updateVal(v.data, "stopx", i + p * n.boxMargin, Math.max), h.updateVal(g, "startx", t - p * n.boxMargin, Math.min), h.updateVal(g, "stopx", i + p * n.boxMargin, Math.max), h.updateVal(v.data, "starty", e - p * n.boxMargin, Math.min), h.updateVal(v.data, "stopy", l + p * n.boxMargin, Math.max);
747
747
  };
748
748
  }
749
749
  this.sequenceItems.forEach(f());
750
750
  },
751
- insert: function(t, e, i, o) {
752
- const s = Math.min(t, i), h = Math.max(t, i), c = Math.min(e, o), f = Math.max(e, o);
753
- this.updateVal(v.data, "startx", s, Math.min), this.updateVal(v.data, "starty", c, Math.min), this.updateVal(v.data, "stopx", h, Math.max), this.updateVal(v.data, "stopy", f, Math.max), this.updateBounds(s, c, h, f);
751
+ insert: function(t, e, i, l) {
752
+ const n = Math.min(t, i), h = Math.max(t, i), c = Math.min(e, l), f = Math.max(e, l);
753
+ this.updateVal(v.data, "startx", n, Math.min), this.updateVal(v.data, "starty", c, Math.min), this.updateVal(v.data, "stopx", h, Math.max), this.updateVal(v.data, "stopy", f, Math.max), this.updateBounds(n, c, h, f);
754
754
  },
755
755
  bumpVerticalPos: function(t) {
756
756
  this.verticalPos = this.verticalPos + t, this.data.stopy = this.verticalPos;
@@ -761,42 +761,42 @@ const j = I().journey, P = j.leftMargin, qt = function(t, e, i, o) {
761
761
  getBounds: function() {
762
762
  return this.data;
763
763
  }
764
- }, X = j.sectionFills, nt = j.sectionColours, Ot = function(t, e, i) {
765
- const o = I().journey;
766
- let s = "";
767
- const h = o.height * 2 + o.diagramMarginY, c = i + h;
764
+ }, X = j.sectionFills, st = j.sectionColours, Ot = function(t, e, i) {
765
+ const l = I().journey;
766
+ let n = "";
767
+ const h = l.height * 2 + l.diagramMarginY, c = i + h;
768
768
  let f = 0, y = "#CCC", m = "black", g = 0;
769
- for (const [p, n] of e.entries()) {
770
- if (s !== n.section) {
771
- y = X[f % X.length], g = f % X.length, m = nt[f % nt.length];
769
+ for (const [p, s] of e.entries()) {
770
+ if (n !== s.section) {
771
+ y = X[f % X.length], g = f % X.length, m = st[f % st.length];
772
772
  let a = 0;
773
- const u = n.section;
774
- for (let l = p; l < e.length && e[l].section == u; l++)
773
+ const u = s.section;
774
+ for (let o = p; o < e.length && e[o].section == u; o++)
775
775
  a = a + 1;
776
776
  const d = {
777
- x: p * o.taskMargin + p * o.width + P,
777
+ x: p * l.taskMargin + p * l.width + P,
778
778
  y: 50,
779
- text: n.section,
779
+ text: s.section,
780
780
  fill: y,
781
781
  num: g,
782
782
  colour: m,
783
783
  taskCount: a
784
784
  };
785
- L.drawSection(t, d, o), s = n.section, f++;
785
+ L.drawSection(t, d, l), n = s.section, f++;
786
786
  }
787
- const r = n.people.reduce((a, u) => (M[u] && (a[u] = M[u]), a), {});
788
- n.x = p * o.taskMargin + p * o.width + P, n.y = c, n.width = o.diagramMarginX, n.height = o.diagramMarginY, n.colour = m, n.fill = y, n.num = g, n.actors = r, L.drawTask(t, n, o), v.insert(n.x, n.y, n.x + n.width + o.taskMargin, 300 + 5 * 30);
787
+ const r = s.people.reduce((a, u) => (M[u] && (a[u] = M[u]), a), {});
788
+ s.x = p * l.taskMargin + p * l.width + P, s.y = c, s.width = l.diagramMarginX, s.height = l.diagramMarginY, s.colour = m, s.fill = y, s.num = g, s.actors = r, L.drawTask(t, s, l), v.insert(s.x, s.y, s.x + s.width + l.taskMargin, 300 + 5 * 30);
789
789
  }
790
- }, st = {
790
+ }, nt = {
791
791
  setConf: zt,
792
792
  draw: qt
793
793
  }, Ut = {
794
794
  parser: wt,
795
795
  db: tt,
796
- renderer: st,
796
+ renderer: nt,
797
797
  styles: Vt,
798
798
  init: (t) => {
799
- st.setConf(t.journey), tt.clear();
799
+ nt.setConf(t.journey), tt.clear();
800
800
  }
801
801
  };
802
802
  export {
@@ -1,4 +1,4 @@
1
- import "./layers.I-MG0ir4.js";
1
+ import "./layers.DLBoqOPY.js";
2
2
  var a = { paste: "Liitä", pasteAsPlaintext: "Liitä pelkkänä tekstinä", pasteCharts: "Liitä kaaviot", selectAll: "Valitse kaikki", multiSelect: "Lisää kohde valintaan", moveCanvas: "Siirrä piirtoaluetta", cut: "Leikkaa", copy: "Kopioi", copyAsPng: "Kopioi leikepöydälle PNG-tiedostona", copyAsSvg: "Kopioi leikepöydälle SVG-tiedostona", copyText: "Kopioi tekstinä", copySource: "", convertToCode: "", bringForward: "Tuo eteenpäin", sendToBack: "Vie taakse", bringToFront: "Tuo eteen", sendBackward: "Vie taaksepäin", delete: "Poista", copyStyles: "Kopioi tyyli", pasteStyles: "Liitä tyyli", stroke: "Piirto", background: "Tausta", fill: "Täyttö", strokeWidth: "Viivan leveys", strokeStyle: "Viivan tyyli", strokeStyle_solid: "Yhtenäinen", strokeStyle_dashed: "Katkoviiva", strokeStyle_dotted: "Pisteviiva", sloppiness: "Viivan tarkkuus", opacity: "Peittävyys", textAlign: "Tekstin tasaus", edges: "Reunat", sharp: "Terävä", round: "Pyöristetty", arrowheads: "Nuolenkärjet", arrowhead_none: "Ei mitään", arrowhead_arrow: "Nuoli", arrowhead_bar: "Tasapää", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Kolmio", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Kirjasinkoko", fontFamily: "Kirjasintyyppi", addWatermark: 'Lisää "Tehty Excalidrawilla"', handDrawn: "Käsinpiirretty", normal: "Tavallinen", code: "Koodi", small: "Pieni", medium: "Keskikoko", large: "Suuri", veryLarge: "Erittäin suuri", solid: "Yhtenäinen", hachure: "Vinoviivoitus", zigzag: "", crossHatch: "Ristiviivoitus", thin: "Ohut", bold: "Lihavoitu", left: "Vasen", center: "Keskitä", right: "Oikea", extraBold: "Erittäin lihavoitu", architect: "Arkkitehti", artist: "Taiteilija", cartoonist: "Sarjakuva", fileTitle: "Tiedostonimi", colorPicker: "Värin valinta", canvasColors: "Käytössä piirtoalueella", canvasBackground: "Piirtoalueen tausta", drawingCanvas: "Piirtoalue", layers: "Tasot", actions: "Toiminnot", language: "Kieli", liveCollaboration: "Live Yhteistyö...", duplicateSelection: "Monista", untitled: "Nimetön", name: "Nimi", yourName: "Nimesi", madeWithExcalidraw: "Tehty Excalidrawilla", group: "Ryhmitä valinta", ungroup: "Pura valittu ryhmä", collaborators: "Yhteistyökumppanit", showGrid: "Näytä ruudukko", addToLibrary: "Lisää kirjastoon", removeFromLibrary: "Poista kirjastosta", libraryLoadingMessage: "Ladataan kirjastoa…", libraries: "Selaa kirjastoja", loadingScene: "Ladataan työtä…", align: "Tasaa", alignTop: "Tasaa ylös", alignBottom: "Tasaa alas", alignLeft: "Tasaa vasemmalle", alignRight: "Tasaa oikealle", centerVertically: "Keskitä pystysuunnassa", centerHorizontally: "Keskitä vaakasuunnassa", distributeHorizontally: "Jaa vaakasuunnassa", distributeVertically: "Jaa pystysuunnassa", flipHorizontal: "Käännä vaakasuunnassa", flipVertical: "Käännä pystysuunnassa", viewMode: "Katselutila", share: "Jaa", showStroke: "Näytä viivan värin valitsin", showBackground: "Näytä taustavärin valitsin", toggleTheme: "Vaihda teema", personalLib: "Oma kirjasto", excalidrawLib: "Excalidraw kirjasto", decreaseFontSize: "Pienennä kirjasinkokoa", increaseFontSize: "Kasvata kirjasinkokoa", unbindText: "Irroita teksti", bindText: "Kiinnitä teksti säiliöön", createContainerFromText: "", link: { edit: "Muokkaa linkkiä", editEmbed: "", create: "Luo linkki", createEmbed: "", label: "Linkki", labelEmbed: "", empty: "" }, lineEditor: { edit: "Muokkaa riviä", exit: "Poistu rivieditorista" }, elementLock: { lock: "Lukitse", unlock: "Poista lukitus", lockAll: "Lukitse kaikki", unlockAll: "Poista lukitus kaikista" }, statusPublished: "Julkaistu", sidebarLock: "Pidä sivupalkki avoinna", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, i = { noItems: "Kirjastossa ei ole vielä yhtään kohdetta...", hint_emptyLibrary: "Valitse lisättävä kohde piirtoalueelta, tai asenna alta julkinen kirjasto.", hint_emptyPrivateLibrary: "Valitse lisättävä kohde piirtoalueelta." }, e = { clearReset: "Tyhjennä piirtoalue", exportJSON: "Vie tiedostoon", exportImage: "Vie kuva...", export: "Tallenna nimellä...", copyToClipboard: "Kopioi leikepöydälle", save: "Tallenna nykyiseen tiedostoon", saveAs: "Tallenna nimellä", load: "Avaa", getShareableLink: "Hae jaettava linkki", close: "Sulje", selectLanguage: "Valitse kieli", scrollBackToContent: "Näytä sisältö", zoomIn: "Lähennä", zoomOut: "Loitonna", resetZoom: "Nollaa suurennuksen taso", menu: "Valikko", done: "Valmis", edit: "Muokkaa", undo: "Kumoa", redo: "Tee uudelleen", resetLibrary: "Tyhjennä kirjasto", createNewRoom: "Luo huone", fullScreen: "Koko näyttö", darkMode: "Tumma tila", lightMode: "Vaalea tila", zenMode: "Zen-tila", objectsSnapMode: "", exitZenMode: "Poistu zen-tilasta", cancel: "Peruuta", clear: "Pyyhi", remove: "Poista", embed: "", publishLibrary: "Julkaise", submit: "Lähetä", confirm: "Vahvista", embeddableInteractionButton: "" }, t = { clearReset: "Tämä tyhjentää koko piirtoalueen. Jatketaanko?", couldNotCreateShareableLink: "Jaettavan linkin luominen epäonnistui.", couldNotCreateShareableLinkTooBig: "Jaettavaa linkkiä ei voitu luoda: teos on liian suuri", couldNotLoadInvalidFile: "Virheellistä tiedostoa ei voitu avata", importBackendFailed: "Palvelimelta tuonti epäonnistui.", cannotExportEmptyCanvas: "Tyhjää piirtoaluetta ei voi viedä.", couldNotCopyToClipboard: "Leikepöydälle vieminen epäonnistui.", decryptFailed: "Salauksen purkaminen epäonnistui.", uploadedSecurly: "Lähetys on turvattu päästä-päähän-salauksella. Excalidrawin palvelin ja kolmannet osapuolet eivät voi lukea sisältöä.", loadSceneOverridePrompt: "Ulkopuolisen piirroksen lataaminen korvaa nykyisen sisältösi. Jatketaanko?", collabStopOverridePrompt: `Istunnon lopettaminen korvaa aiemman, paikallisesti tallennetun piirustuksen. Jatketaanko?
3
3
 
4
4
  (Jos haluat säilyttää paikallisesti tallennetun piirustuksen, sulje selaimen välilehti lopettamisen sijaan.)`, errorAddingToLibrary: "Kohdetta ei voitu lisätä kirjastoon", errorRemovingFromLibrary: "Kohdetta ei voitu poistaa kirjastosta", confirmAddLibrary: "Tämä lisää {{numShapes}} muotoa kirjastoosi. Jatketaanko?", imageDoesNotContainScene: "Tämä kuva ei näytä sisältävän piirrostietoja. Oletko ottanut käyttöön piirroksen tallennuksen viennin aikana?", cannotRestoreFromImage: "Teosta ei voitu palauttaa tästä kuvatiedostosta", invalidSceneUrl: "Teosta ei voitu tuoda annetusta URL-osoitteesta. Tallenne on vioittunut, tai osoitteessa ei ole Excalidraw JSON-dataa.", resetLibrary: "Tämä tyhjentää kirjastosi. Jatketaanko?", removeItemsFromsLibrary: "Poista {{count}} kohdetta kirjastosta?", invalidEncryptionKey: "Salausavaimen on oltava 22 merkkiä pitkä. Live-yhteistyö ei ole käytössä.", collabOfflineWarning: `Internet-yhteyttä ei ole saatavilla.