@layers-app/editor 0.0.23 → 0.0.25

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 +1 -1
  2. package/dist/index.d.ts +6 -44
  3. package/dist/index.js +1 -1
  4. package/dist/{layers.BdanmQPF.js → layers.07qQUlOx.js} +1 -1
  5. package/dist/{layers.CBXpUMze.js → layers.0Uws2RMI.js} +35 -35
  6. package/dist/{layers.BpXiFzvR.js → layers.2klZ3piU.js} +1 -1
  7. package/dist/{layers.p9hSNB6N.js → layers.3O2dWJo4.js} +1 -1
  8. package/dist/{layers.x6ioP3u0.js → layers.3VppN-FK.js} +1 -1
  9. package/dist/{layers.kY3ZYtED.js → layers.3cmQBPRD.js} +1 -1
  10. package/dist/{layers.C-G7-Jg3.js → layers.5U29QNMz.js} +1 -1
  11. package/dist/{layers.CEXVJbhn.js → layers.5s_bUFw7.js} +1 -1
  12. package/dist/{layers.BFLg4UGe.js → layers.8dwcxQd3.js} +1 -1
  13. package/dist/{layers.D2q8ZYi2.js → layers.9EMwI8Xs.js} +15 -15
  14. package/dist/{layers.za1sylgg.js → layers.9tX9hjoM.js} +758 -758
  15. package/dist/{layers.BBwDvE6l.js → layers.B-eOoyQV.js} +1820 -1814
  16. package/dist/{layers.CPV5PaJ7.js → layers.B-hOwYRy.js} +1 -1
  17. package/dist/{layers.PO65UmTA.js → layers.B0LHiU6c.js} +1 -1
  18. package/dist/{layers.CnD3z0eZ.js → layers.B1psjxfg.js} +1 -1
  19. package/dist/{layers.BUSnd1Ro.js → layers.B1tTFwlU.js} +1 -1
  20. package/dist/{layers.B39TZ2WV.js → layers.B3NaBxHH.js} +1 -1
  21. package/dist/{layers.DIrkcLlA.js → layers.B43rvwKV.js} +63 -63
  22. package/dist/{layers.Dg8Wbn90.js → layers.B7wN1gyM.js} +1 -1
  23. package/dist/{layers.tbRLuldN.js → layers.B9ocXRVO.js} +1 -1
  24. package/dist/{layers.CZh7NZyl.js → layers.BAWbBe9N.js} +1 -1
  25. package/dist/{layers.Cl9Tl2nd.js → layers.BAaIrX5p.js} +1 -1
  26. package/dist/layers.BAnc8Y8B.js +118 -0
  27. package/dist/{layers.CiNAQOA-.js → layers.BB7ssac6.js} +2 -2
  28. package/dist/{layers.Bz0ApNUe.js → layers.BBm66jcD.js} +14 -14
  29. package/dist/layers.BGF0mJI-.js +10 -0
  30. package/dist/{layers.kthR742N.js → layers.BJ2qg5fe.js} +1 -1
  31. package/dist/{layers.C_dOgKfE.js → layers.BK4BzYSQ.js} +1 -1
  32. package/dist/{layers.BST6tR9a.js → layers.BKoRqbkc.js} +1 -1
  33. package/dist/{layers.Bbl6qitU.js → layers.BLvgQy3M.js} +1 -1
  34. package/dist/{layers.DEfJs03Z.js → layers.BNEX6ffl.js} +1 -1
  35. package/dist/layers.BOEB6DhN.js +202 -0
  36. package/dist/{layers.ClaqpFnu.js → layers.BOdIgbDK.js} +2 -2
  37. package/dist/{layers.DalYdEkL.js → layers.BPTiALoi.js} +4 -4
  38. package/dist/{layers.B64g6Zx2.js → layers.BQHgH0c0.js} +1 -1
  39. package/dist/{layers.BFOl7cA-.js → layers.BQUkW6Sr.js} +1 -1
  40. package/dist/{layers.CphCG076.js → layers.BQdiT-Gc.js} +1 -1
  41. package/dist/{layers.Cp82yltX.js → layers.BW8tNgnl.js} +1 -1
  42. package/dist/{layers.CHHqQlm1.js → layers.BWBOjwnD.js} +1 -1
  43. package/dist/{layers.N4wL2Xyj.js → layers.BWBqFzL5.js} +85 -85
  44. package/dist/{layers.c_QDfgff.js → layers.BY_Ddtf_.js} +4 -4
  45. package/dist/{layers.CqM3rL4-.js → layers.B_3SG9-n.js} +1 -1
  46. package/dist/layers.Bag9ck5N.js +1 -0
  47. package/dist/{layers.ChAMqLmE.js → layers.Bgs9DWaM.js} +1 -1
  48. package/dist/{layers.Bv0tGvGl.js → layers.BhjPgUp1.js} +1 -1
  49. package/dist/{layers.ClQj75nc.js → layers.Bjqq928v.js} +1 -1
  50. package/dist/{layers.Ch7C0MR9.js → layers.Bk3rEvTi.js} +1 -1
  51. package/dist/{layers.oFAtdeQ1.js → layers.BlRFAeMZ.js} +3 -3
  52. package/dist/layers.BlifjyLs.js +2 -0
  53. package/dist/{layers.BZcZF6Ct.js → layers.BlkvO94n.js} +1 -1
  54. package/dist/{layers.BPe9NQzP.js → layers.Bm4nXd83.js} +1 -1
  55. package/dist/{layers.Blho0qwc.js → layers.BmU3A8To.js} +1 -1
  56. package/dist/{layers.UbqG2dp_.js → layers.Bn8N2Stv.js} +1 -1
  57. package/dist/{layers.DwLw5o0M.js → layers.BqTvq1WO.js} +1 -1
  58. package/dist/{layers.CGX7Piy7.js → layers.BtP6vWIY.js} +1 -1
  59. package/dist/{layers.CDLdte-o.js → layers.Bu0Rv7u8.js} +1 -1
  60. package/dist/{layers.DAx0hT2g.js → layers.BuJozguU.js} +1 -1
  61. package/dist/{layers.Dol0x5Jd.js → layers.Bw3R-pSG.js} +1 -1
  62. package/dist/{layers.hkFN-BS0.js → layers.BwcyrXEu.js} +1 -1
  63. package/dist/{layers.BBB7YGK1.js → layers.Bwuu3jjm.js} +1 -1
  64. package/dist/{layers.B9zrmkst.js → layers.BymWa7M3.js} +1 -1
  65. package/dist/{layers.LOjND5R4.js → layers.BzRmHQQD.js} +2 -2
  66. package/dist/{layers.Dbuivk7d.js → layers.Bzc44mb4.js} +1 -1
  67. package/dist/{layers.CwPFdFUT.js → layers.C2b0BhoA.js} +1 -1
  68. package/dist/{layers.DARK07JA.js → layers.C3vT-_5E.js} +1 -1
  69. package/dist/{layers.D7HvMBb6.js → layers.C4L1zUgG.js} +1 -1
  70. package/dist/{layers.CcJ28sUd.js → layers.C6qRV0pD.js} +1 -1
  71. package/dist/{layers.CDzPpnhN.js → layers.C7_Otsyx.js} +5 -5
  72. package/dist/{layers.WsdOSV4y.js → layers.C8r5QjFY.js} +1 -1
  73. package/dist/{layers.5BbX0Xoz.js → layers.C9vJr9Fp.js} +57 -57
  74. package/dist/layers.CBAObrHU.js +1 -0
  75. package/dist/layers.CHd51QJn.js +8 -0
  76. package/dist/{layers.BJMMuP5r.js → layers.CI7Z-Sjj.js} +1 -1
  77. package/dist/{layers.D9A031XO.js → layers.CJudskXr.js} +2 -2
  78. package/dist/layers.CLPJWTr_.js +1 -0
  79. package/dist/{layers.OEP2K3db.js → layers.CM0RbG9c.js} +1 -1
  80. package/dist/{layers.BXGiOI1Z.js → layers.CNml1ojC.js} +1 -1
  81. package/dist/{layers.C5uR7AiN.js → layers.CPPtpAVe.js} +1 -1
  82. package/dist/{layers.Cn6OfRlw.js → layers.CPtjfATq.js} +1 -1
  83. package/dist/{layers.BYVHkqLR.js → layers.CRVVTbRr.js} +1 -1
  84. package/dist/{layers.Ym7pRGM7.js → layers.CRuKN3by.js} +3 -3
  85. package/dist/{layers.BuQ1nJmP.js → layers.CSAdHZgs.js} +1 -1
  86. package/dist/{layers.CMS1o_sE.js → layers.CSy8D72I.js} +1 -1
  87. package/dist/{layers.DdTLZZKb.js → layers.CV_r6tXx.js} +6 -6
  88. package/dist/layers.CVlRuvNG.js +122 -0
  89. package/dist/{layers.D68FZk66.js → layers.CWWJnwM1.js} +1 -1
  90. package/dist/{layers.Ck0iJfoW.js → layers.CYPKJ9D_.js} +1 -1
  91. package/dist/{layers.BO3dqWyO.js → layers.CZ9asRxp.js} +1 -1
  92. package/dist/{layers.CO4NHmK3.js → layers.CctQZdRR.js} +1 -1
  93. package/dist/{layers.BjZInKjA.js → layers.Cdw06C7D.js} +2 -2
  94. package/dist/{layers.DYx3Ot6h.js → layers.Ce8BBqO9.js} +1 -1
  95. package/dist/{layers.DQCPMqIN.js → layers.CfVH6j0d.js} +1 -1
  96. package/dist/{layers.lLRqycMO.js → layers.CfyH4z2e.js} +1 -1
  97. package/dist/{layers.BLSqqbWP.js → layers.CgdtQipl.js} +4 -4
  98. package/dist/{layers.DFd9A85i.js → layers.CgvOUVzr.js} +4 -4
  99. package/dist/{layers.gRKbOYG-.js → layers.ChkOb4tl.js} +26 -26
  100. package/dist/{layers.CR4riLSc.js → layers.Cj6cbW8i.js} +639 -639
  101. package/dist/{layers.DKPzrygv.js → layers.Cj7ITJ9c.js} +1 -1
  102. package/dist/{layers.rRMBW9ET.js → layers.CjRpPAKZ.js} +251 -251
  103. package/dist/{layers.Ba97nTEK.js → layers.CjfoYqS0.js} +1 -1
  104. package/dist/{layers.CTmkjIN6.js → layers.Ckd9L1ZQ.js} +1 -1
  105. package/dist/{layers.CQv0GMRl.js → layers.ClpTV2lw.js} +1 -1
  106. package/dist/{layers.D1cZq8tq.js → layers.CmEuIxO4.js} +3 -3
  107. package/dist/{layers.Bwpn7zKE.js → layers.CmOPFjvq.js} +1 -1
  108. package/dist/{layers.DCvUAfE1.js → layers.CnlX6j6i.js} +1 -1
  109. package/dist/{layers.B-6oGNjd.js → layers.CqEtGCpU.js} +1 -1
  110. package/dist/{layers.C51kZnWr.js → layers.CqMLQ0Dp.js} +1 -1
  111. package/dist/{layers.BhM2iCwB.js → layers.CuxIZWEP.js} +1 -1
  112. package/dist/{layers.PhLwHKUM.js → layers.CvLOVBUw.js} +1 -1
  113. package/dist/{layers.ChykDTOy.js → layers.Cx6FqSsI.js} +1 -1
  114. package/dist/{layers.CmHSmrZm.js → layers.CyUKOqQM.js} +1 -1
  115. package/dist/{layers.DeB3waPT.js → layers.CzsxLGGT.js} +1 -1
  116. package/dist/{layers.DXTPaWjN.js → layers.D0yiFcqY.js} +1 -1
  117. package/dist/layers.D1fmxxk7.js +1 -0
  118. package/dist/{layers.DO-G3uLL.js → layers.D39cRqm0.js} +1 -1
  119. package/dist/{layers.ChPHYv68.js → layers.D6ec9SRH.js} +1 -1
  120. package/dist/{layers.BDxQSquK.js → layers.D71p3EhU.js} +1 -1
  121. package/dist/{layers.-RxAm5pH.js → layers.D8G_zttU.js} +47 -47
  122. package/dist/{layers.x6Qk2Mwl.js → layers.D8NjLtRn.js} +1 -1
  123. package/dist/{layers.I-MG0ir4.js → layers.DAkVONDW.js} +6219 -6202
  124. package/dist/{layers.iw01AOuQ.js → layers.DDE-iai2.js} +96 -96
  125. package/dist/{layers.DDRgaMwu.js → layers.DDGV6wvn.js} +1 -1
  126. package/dist/{layers.cp645rbn.js → layers.DDPm1Phd.js} +1 -1
  127. package/dist/{layers.D3Hkinja.js → layers.DFdD8OE6.js} +1 -1
  128. package/dist/{layers.gzGcAwbO.js → layers.DGC-QZbD.js} +3 -3
  129. package/dist/{layers.B9NSFeaj.js → layers.DH6JhdxT.js} +1 -1
  130. package/dist/{layers.DrtkQKK7.js → layers.DHNgS4o3.js} +1 -1
  131. package/dist/{layers.k2UyvrHI.js → layers.DHYQaKXy.js} +1 -1
  132. package/dist/{layers.B0EkntbT.js → layers.DKTUd6cG.js} +1 -1
  133. package/dist/{layers.Cxmncz59.js → layers.DLShWbE3.js} +1 -1
  134. package/dist/{layers.C1KhBpGU.js → layers.DMnBSepD.js} +1 -1
  135. package/dist/{layers.BCFHxkpM.js → layers.DN2-RoYO.js} +1 -1
  136. package/dist/{layers.BLB-feoT.js → layers.DNvn8evO.js} +1 -1
  137. package/dist/{layers.DsAtBUs-.js → layers.DPpl1Lyy.js} +5 -5
  138. package/dist/{layers.paz6tc0L.js → layers.DQevQguw.js} +1 -1
  139. package/dist/{layers.DK_t52oS.js → layers.DRGcrPPV.js} +390 -390
  140. package/dist/{layers.Ckbp-T9r.js → layers.DS8xp3z6.js} +1 -1
  141. package/dist/{layers.D90-hSDT.js → layers.DT2vhESJ.js} +2 -2
  142. package/dist/{layers.B-ie1_cm.js → layers.DTSzGsqB.js} +1 -1
  143. package/dist/{layers.Dyqg_e4P.js → layers.DTX-m6B0.js} +1 -1
  144. package/dist/{layers.Lhl12ohc.js → layers.DUgI8Qm6.js} +1 -1
  145. package/dist/{layers.fTcEk1do.js → layers.DUt_7Rf9.js} +7 -7
  146. package/dist/{layers.CZMy0ug4.js → layers.DX5uxco3.js} +1 -1
  147. package/dist/{layers.C6Rn8zoI.js → layers.DYoOWsyB.js} +1 -1
  148. package/dist/layers.DZVs6rl-.js +65 -0
  149. package/dist/{layers.Bfd5bOAD.js → layers.DZxo3Qo-.js} +1 -1
  150. package/dist/{layers.ChJyurjQ.js → layers.DaNHv_tD.js} +1 -1
  151. package/dist/{layers.Bk2PdkMX.js → layers.DbSjlXkz.js} +1 -1
  152. package/dist/{layers.D2vOkfMK.js → layers.Dc_OXuAO.js} +1 -1
  153. package/dist/{layers.BIVmclKv.js → layers.Dg4aFQbj.js} +1 -1
  154. package/dist/{layers.DHbdkCCU.js → layers.Dh8vVrkJ.js} +1 -1
  155. package/dist/{layers.gaT5_-NN.js → layers.DhaEWWE8.js} +1 -1
  156. package/dist/{layers.CH23k4XD.js → layers.DhiiM0nu.js} +1 -1
  157. package/dist/{layers.BEE5yqs5.js → layers.Dj1RvABZ.js} +1 -1
  158. package/dist/{layers.BBU3ik5q.js → layers.DnhB9nfo.js} +3 -3
  159. package/dist/{layers.DxGDxkXA.js → layers.Dp_lp9sc.js} +47 -47
  160. package/dist/{layers.CCRe_IA7.js → layers.DpoqH_qu.js} +1 -1
  161. package/dist/{layers.Y41CVpLS.js → layers.DtYpqqY0.js} +33 -33
  162. package/dist/{layers.CvJxfPxo.js → layers.Dtt8if_X.js} +1 -1
  163. package/dist/{layers.Dyor8Hot.js → layers.Du5-W3Rw.js} +28 -28
  164. package/dist/{layers.CeMe5scF.js → layers.Dv3wcPBB.js} +1 -1
  165. package/dist/{layers.CR10RAJi.js → layers.DvVe2_B8.js} +2 -2
  166. package/dist/{layers.BDhuxbhX.js → layers.Dw80oYJ5.js} +1 -1
  167. package/dist/{layers.-rS-aTo2.js → layers.Dx5bTjWn.js} +1 -1
  168. package/dist/{layers.HcI9cOEd.js → layers.DyUhnefH.js} +47 -47
  169. package/dist/{layers.DhiFm4jW.js → layers.EqE20WDv.js} +1 -1
  170. package/dist/{layers.L_XjkGw6.js → layers.GO-Mbd7I.js} +16 -16
  171. package/dist/{layers.CnloMtKN.js → layers.HRFT_ZjM.js} +14 -14
  172. package/dist/{layers.DhzTwBn5.js → layers.KCNY5y8z.js} +1 -1
  173. package/dist/{layers.Dklz2JqP.js → layers.KFKejNxr.js} +1 -1
  174. package/dist/{layers.D-ZYFolm.js → layers.LBCOqtdP.js} +1 -1
  175. package/dist/{layers.B_Hf0SF-.js → layers.MYNPCNPb.js} +517 -517
  176. package/dist/{layers.FstVqdQC.js → layers.Mz6hy1ns.js} +151 -151
  177. package/dist/{layers.Dxrm0nEM.js → layers.NnXYAx13.js} +140 -140
  178. package/dist/layers.O_QfH9Tw.js +55 -0
  179. package/dist/{layers.Cx14IKzN.js → layers.PrN0U_UM.js} +1 -1
  180. package/dist/{layers.Dzc83sE7.js → layers.Q4CIFfze.js} +1 -1
  181. package/dist/{layers.D_MU5WlI.js → layers.R44OAZRP.js} +1 -1
  182. package/dist/{layers.BvZFIFgz.js → layers.SP95Qof2.js} +1 -1
  183. package/dist/{layers.I5-pSyca.js → layers.SulLxOdh.js} +1 -1
  184. package/dist/{layers.C3K_Whht.js → layers.T0eE6tga.js} +1 -1
  185. package/dist/{layers.BHDiP2sq.js → layers.UHP1RD2c.js} +1482 -1482
  186. package/dist/{layers.BD5uUnI2.js → layers.UVNd1xGx.js} +279 -279
  187. package/dist/{layers.Ci0x4aAi.js → layers.WoRsWqkn.js} +5 -5
  188. package/dist/{layers.BPnpanwd.js → layers.Xe8jbEny.js} +1 -1
  189. package/dist/{layers.DMvWe0pJ.js → layers.ZN4JdEjx.js} +2 -2
  190. package/dist/layers.ZYL9xgWP.js +6 -0
  191. package/dist/{layers.B6UkAKu5.js → layers._hbnQs16.js} +78 -78
  192. package/dist/{layers.BkMfeJ9R.js → layers.dRKtVcxx.js} +1 -1
  193. package/dist/{layers.C0bumYdC.js → layers.eMCYstYw.js} +1 -1
  194. package/dist/{layers.BUkDq4ln.js → layers.eT0cgnuX.js} +1 -1
  195. package/dist/{layers.B0pdr1hX.js → layers.iE9hmQyV.js} +33 -33
  196. package/dist/{layers.B3odqoHb.js → layers.iRxcG0YN.js} +1 -1
  197. package/dist/{layers.D18RSmmQ.js → layers.kyTkLvwr.js} +1 -1
  198. package/dist/{layers.CClfR9Rs.js → layers.otSGVgrf.js} +10347 -11483
  199. package/dist/{layers.dqI-yLmM.js → layers.pAr6m-ST.js} +1 -1
  200. package/dist/{layers.2ODaB2Pd.js → layers.qxHQ5s48.js} +1 -1
  201. package/dist/{layers.B8i9d7Qz.js → layers.qzkyQd0J.js} +36 -30
  202. package/dist/{layers.BoabOlrX.js → layers.rB_UamkL.js} +1 -1
  203. package/dist/{layers.DElpVOY-.js → layers.vK-UofJJ.js} +1 -1
  204. package/dist/{layers.C5rttXXy.js → layers.vfmwTFt7.js} +4 -4
  205. package/dist/{layers.DXaSAlDN.js → layers.vrKjaGL3.js} +1 -1
  206. package/dist/{layers.Ci0QS82_.js → layers.wXI8z3zK.js} +1 -1
  207. package/dist/{layers.CGc04km7.js → layers.z_R2M9xA.js} +1 -1
  208. package/dist/{layers.DGZUGztZ.js → layers.zleGKGQR.js} +29 -29
  209. package/dist/{layers.CSjWzlk9.js → layers.zx6fFkwC.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.B-eOoyQV.js";
2
+ import { a as _t, g as it, f as bt, d as vt } from "./layers.DZVs6rl-.js";
3
+ import "./layers.DAkVONDW.js";
4
+ import { a as Q } from "./layers.eT0cgnuX.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 {