@layers-app/editor 2.2.37 → 2.2.39

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 (226) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.d.ts +2 -3
  3. package/dist/index.js +2 -2
  4. package/dist/{layers.DE0lto0l.js → layers.-owKjqHV.js} +1 -1
  5. package/dist/layers.3z4hpfnU.js +16 -0
  6. package/dist/{layers.N9TTcKK5.js → layers.5hidirvk.js} +1 -1
  7. package/dist/{layers.D_-WguFZ.js → layers.5n2MOy3N.js} +3 -3
  8. package/dist/{layers.DTGO7e4p.js → layers.6_jHps_7.js} +1 -1
  9. package/dist/{layers.Da_khRYC.js → layers.8FM5NsxV.js} +22 -22
  10. package/dist/{layers.CitfmECv.js → layers.8rMIQVL-.js} +2 -2
  11. package/dist/{layers.DUgI5-kc.js → layers.9uSonYCj.js} +1 -1
  12. package/dist/{layers.Dzf33-m2.js → layers.B-8WoW9I.js} +3 -3
  13. package/dist/{layers.DHr-aIMz.js → layers.B-WeTIhF.js} +4 -4
  14. package/dist/{layers.C0Mmse5l.js → layers.B06CSm2p.js} +1 -1
  15. package/dist/{layers.CiKOlVrq.js → layers.B0ofc_1O.js} +1 -1
  16. package/dist/{layers.B2rLYZn2.js → layers.B1G1bgWO.js} +1 -1
  17. package/dist/{layers.BX647fKL.js → layers.B1N5QoW_.js} +1 -1
  18. package/dist/{layers.CJGp5rn8.js → layers.B3Akj7E1.js} +1 -1
  19. package/dist/{layers.BvetzZVJ.js → layers.B4MwyYlr.js} +1 -1
  20. package/dist/{layers.BCeNFVhD.js → layers.B6QJltN6.js} +1 -1
  21. package/dist/{layers.BiJ8hfRt.js → layers.B7K7JjK6.js} +3 -3
  22. package/dist/{layers.Clmytlu8.js → layers.B9kZdVly.js} +1 -1
  23. package/dist/{layers.BUTgqhuh.js → layers.BA-fPjo6.js} +1 -1
  24. package/dist/{layers.Yon6do_2.js → layers.BA-jTXAv.js} +1 -1
  25. package/dist/{layers.BUiGL5lO.js → layers.BC0-inqe.js} +1 -1
  26. package/dist/{layers.BvWAB_E-.js → layers.BCoxinD3.js} +4 -4
  27. package/dist/{layers.qlxfFSC1.js → layers.BDnlMlKY.js} +1 -1
  28. package/dist/{layers.C4KkJS-M.js → layers.BDvX-pLw.js} +1 -1
  29. package/dist/{layers.lqQpDooA.js → layers.BH0SQ40e.js} +1 -1
  30. package/dist/{layers.I46X2w13.js → layers.BHFREp9F.js} +1 -1
  31. package/dist/{layers.g6X5iTod.js → layers.BIA7ec4C.js} +1 -1
  32. package/dist/{layers.Cl5vvJQD.js → layers.BJFAAorh.js} +1 -1
  33. package/dist/{layers.Cn8n8ApN.js → layers.BJVQ0qMs.js} +1 -1
  34. package/dist/{layers.DQ1JcsCk.js → layers.BKNDBDHu.js} +4 -4
  35. package/dist/{layers.DPRf6eFH.js → layers.BM23pRdt.js} +1 -1
  36. package/dist/{layers.CoQyq9wn.js → layers.BM3g7Gca.js} +1 -1
  37. package/dist/{layers.DNnQZQUd.js → layers.BO_W3Sg4.js} +1 -1
  38. package/dist/{layers.CNMjo9Su.js → layers.BOinKQOK.js} +1 -1
  39. package/dist/{layers.DVzt480x.js → layers.BQFlMXtw.js} +1 -1
  40. package/dist/{layers.D0YgOOvq.js → layers.BQGg7n31.js} +1 -1
  41. package/dist/{layers.nz9SPmtr.js → layers.BTFVPBI8.js} +1 -1
  42. package/dist/{layers.TNo_tbS0.js → layers.BTdHI6vd.js} +1 -1
  43. package/dist/{layers.BFBdqsQn.js → layers.BUSJvT4D.js} +1 -1
  44. package/dist/{layers.CURhUJKK.js → layers.BV6x-7O6.js} +1 -1
  45. package/dist/{layers.GXdxvBMb.js → layers.BWYG-epf.js} +1 -1
  46. package/dist/layers.BXWDzDej.js +1313 -0
  47. package/dist/{layers.CIA5oJe6.js → layers.BXdOndbk.js} +1 -1
  48. package/dist/{layers.C8gAFYfM.js → layers.BZKn--pW.js} +1 -1
  49. package/dist/{layers.CRcIJ88r.js → layers.BZa1ZhQx.js} +1 -1
  50. package/dist/{layers.BgVYZdDj.js → layers.BZy5Uzzw.js} +1 -1
  51. package/dist/layers.BZzKS_Ht.js +8590 -0
  52. package/dist/{layers.CvF_nRL-.js → layers.B_wCJnJ6.js} +1 -1
  53. package/dist/{layers.D_2aZz7B.js → layers.B_zW-Tk4.js} +1 -1
  54. package/dist/{layers.Ds6x4GmG.js → layers.Ba4F6POA.js} +3 -3
  55. package/dist/{layers.Dbts3SXb.js → layers.BbU1f-so.js} +3 -3
  56. package/dist/{layers.CLBZ_xZY.js → layers.BdE98P_O.js} +6 -6
  57. package/dist/{layers.BS4TMXPM.js → layers.BeA18HPd.js} +1 -1
  58. package/dist/{layers.DsOKg8mO.js → layers.BeBFX8T_.js} +1 -1
  59. package/dist/{layers.BefUkQfQ.js → layers.BeVROkoW.js} +1 -1
  60. package/dist/{layers.BLxxkfNG.js → layers.BebJaZC1.js} +1 -1
  61. package/dist/{layers.MUmDmFTx.js → layers.BgCKcFR4.js} +1 -1
  62. package/dist/{layers.DdwNmVSN.js → layers.BgR-VV0P.js} +2 -2
  63. package/dist/{layers.B__6CiQr.js → layers.BneK1qna.js} +1 -1
  64. package/dist/{layers.CUZQsIat.js → layers.Boff2IGc.js} +1 -1
  65. package/dist/{layers.BRFAHJsX.js → layers.BpEQSX7Z.js} +1 -1
  66. package/dist/{layers.CYdUlVFC.js → layers.BpNv93hm.js} +1 -1
  67. package/dist/{layers.CqM6KxHi.js → layers.BqipSFwO.js} +1 -1
  68. package/dist/{layers.CKPeZY-v.js → layers.BrN17oUW.js} +1 -1
  69. package/dist/layers.Bt-yfyCM.js +423 -0
  70. package/dist/{layers.4HnOC8vc.js → layers.BtilEv7W.js} +1 -1
  71. package/dist/{layers.BWmMt3Sm.js → layers.BwGpsJ4u.js} +1 -1
  72. package/dist/{layers.ZwPYtbTn.js → layers.C1GrAiVZ.js} +1 -1
  73. package/dist/{layers.DwEU2scc.js → layers.C2JYa_2H.js} +1 -1
  74. package/dist/{layers.ifvy7VXO.js → layers.C2oKI1GV.js} +1 -1
  75. package/dist/{layers.UWD7BdoE.js → layers.C3QxGl_1.js} +1 -1
  76. package/dist/{layers.C5FpZ40R.js → layers.C45oKzh5.js} +1 -1
  77. package/dist/{layers.Crhsz8U1.js → layers.C76hHFV5.js} +11 -11
  78. package/dist/{layers.BGaAUn48.js → layers.C8GRvyED.js} +1 -1
  79. package/dist/layers.C8a6CwP_.js +425 -0
  80. package/dist/{layers.BA4dM0kt.js → layers.C9CD3Ubz.js} +1 -1
  81. package/dist/layers.CBjrPOu6.js +8 -0
  82. package/dist/{layers.xMrjHFgu.js → layers.CCAqDLz2.js} +3 -3
  83. package/dist/{layers.y1llFypr.js → layers.CDPYEtGK.js} +1 -1
  84. package/dist/{layers.i6iQ_A1w.js → layers.CEW9Y90t.js} +1 -1
  85. package/dist/{layers.i0acK1hq.js → layers.CFhU1U3X.js} +3 -3
  86. package/dist/{layers.C9oRJN6e.js → layers.CHTW7w8j.js} +1 -1
  87. package/dist/{layers.CpD8zQ5q.js → layers.CHXl3j9e.js} +1 -1
  88. package/dist/{layers.DH6LOe1h.js → layers.CJpZDp7M.js} +1 -1
  89. package/dist/{layers.l7bIkoeb.js → layers.CKRjKRWX.js} +1 -1
  90. package/dist/{layers.CSMAUJoM.js → layers.CL7wA00x.js} +1 -1
  91. package/dist/{layers.Jrlf_Hw8.js → layers.CLMBiK0a.js} +1 -1
  92. package/dist/{layers.BqIJXJ-L.js → layers.CLjqbblh.js} +1 -1
  93. package/dist/{layers.C8a1nCvT.js → layers.CO9knj3N.js} +1 -1
  94. package/dist/{layers.tfADU15Z.js → layers.CQo7rAzJ.js} +1 -1
  95. package/dist/{layers.DPlAQOHK.js → layers.CUnHWxZv.js} +1 -1
  96. package/dist/{layers.DbwvV8bz.js → layers.CW1ZIhhZ.js} +1 -1
  97. package/dist/{layers.uuKc7eHL.js → layers.CY7OxUJF.js} +1 -1
  98. package/dist/{layers.D1PvKD-e.js → layers.CYP2eKGO.js} +10 -10
  99. package/dist/{layers.BHsEMnIA.js → layers.CYXmfjKq.js} +1 -1
  100. package/dist/{layers.BONul5c2.js → layers.CZBDium5.js} +1 -1
  101. package/dist/{layers.BgOa2ZQq.js → layers.C_IvrzZ3.js} +1 -1
  102. package/dist/{layers.CIUd6cEl.js → layers.C_PpV0a5.js} +1 -1
  103. package/dist/{layers.C5Tl4WT_.js → layers.CauU55La.js} +1 -1
  104. package/dist/{layers.CcwKZvas.js → layers.CbfHZRKp.js} +1 -1
  105. package/dist/{layers.DH_oCrnu.js → layers.CdBHvMBb.js} +1 -1
  106. package/dist/layers.CdW7OZ6z.js +96 -0
  107. package/dist/{layers.BDD7VY02.js → layers.CfOWffIm.js} +1 -1
  108. package/dist/{layers.DzGBJwqP.js → layers.Cg1x2G31.js} +1 -1
  109. package/dist/{layers.DAno7RUu.js → layers.CiShUrf7.js} +5 -5
  110. package/dist/{layers.DAnJrfGZ.js → layers.CjSeEWXG.js} +4 -4
  111. package/dist/{layers.Zhcg-gYX.js → layers.Cke9Oy_D.js} +1 -1
  112. package/dist/{layers.C5RUURgY.js → layers.CmS6rg8R.js} +1 -1
  113. package/dist/{layers.1ml6h6le.js → layers.CmcRlu6P.js} +1 -1
  114. package/dist/{layers.D8qyrbM2.js → layers.CmenZVdl.js} +1 -1
  115. package/dist/{layers.BpbR27Rn.js → layers.Cr72jVG7.js} +3 -3
  116. package/dist/{layers.BwhxtsKZ.js → layers.CroQ5zug.js} +1 -1
  117. package/dist/layers.Cs58YuTI.js +1 -0
  118. package/dist/{layers.BTdUZ8qH.js → layers.CtY9zPeF.js} +1 -1
  119. package/dist/{layers.62vwA4k-.js → layers.CvVA1BEe.js} +1 -1
  120. package/dist/{layers.DiKXxsJQ.js → layers.CvliPXiJ.js} +1 -1
  121. package/dist/layers.Cw1kMAsl.js +6 -0
  122. package/dist/{layers.DiZMtPjy.js → layers.CxacO-LY.js} +1 -1
  123. package/dist/{layers.Bia2l892.js → layers.D2_svYTD.js} +1 -1
  124. package/dist/{layers.CbKS5Mm-.js → layers.D2vDtg7z.js} +2 -2
  125. package/dist/{layers.Bm4S-Boj.js → layers.D47h6GlS.js} +1 -1
  126. package/dist/{layers.De8aPH1u.js → layers.D4QZ19UT.js} +1 -1
  127. package/dist/layers.D6lY_3UF.js +1 -0
  128. package/dist/{layers.Bb22AZNC.js → layers.D7c7Av2e.js} +4 -4
  129. package/dist/layers.DA_UUeYz.js +6 -0
  130. package/dist/{layers.CV4fI9yH.js → layers.DC5QbdwD.js} +1 -1
  131. package/dist/{layers.CVHEo058.js → layers.DCB98xx_.js} +1 -1
  132. package/dist/layers.DCt6JV-Z.js +51 -0
  133. package/dist/{layers.fWOLESII.js → layers.DDwZIIN7.js} +2 -2
  134. package/dist/{layers.DJUryer8.js → layers.DIZFYhqM.js} +1 -1
  135. package/dist/{layers.FhSn8BX3.js → layers.DJLEhkGq.js} +1 -1
  136. package/dist/{layers.BNtxmEdj.js → layers.DMNMYNJf.js} +1 -1
  137. package/dist/{layers.BSLywmEL.js → layers.DR0jwzWc.js} +1 -1
  138. package/dist/{layers.VzRD1LJ4.js → layers.DRKTw-N-.js} +1 -1
  139. package/dist/{layers.DebCtA5e.js → layers.DRXgOIaj.js} +1 -1
  140. package/dist/{layers.D9olyo74.js → layers.DU7YyGRb.js} +1 -1
  141. package/dist/{layers.iCzR2CdS.js → layers.DXNww2DQ.js} +1 -1
  142. package/dist/layers.DXOudqWU.js +1 -0
  143. package/dist/{layers.C2urr8-X.js → layers.D_Q0sJVN.js} +1 -1
  144. package/dist/{layers.BIvaK_8A.js → layers.Da7LCbJf.js} +1 -1
  145. package/dist/layers.DaxIHSrE.js +1 -0
  146. package/dist/{layers.BEuymXx5.js → layers.Dh-m5G3g.js} +1 -1
  147. package/dist/{layers.CDI34qQO.js → layers.DiAoGYDr.js} +1 -1
  148. package/dist/{layers.D9yVlDC9.js → layers.DiopUi-K.js} +1 -1
  149. package/dist/{layers.Bck9QRB4.js → layers.Dj_5Xbl8.js} +1 -1
  150. package/dist/{layers.qeu_Tbg7.js → layers.DkT9TBiq.js} +4 -4
  151. package/dist/{layers.BgbrhuaW.js → layers.DksYERBY.js} +1 -1
  152. package/dist/{layers.DSOEdw1M.js → layers.DliYTSV9.js} +1 -1
  153. package/dist/{layers.gKrHkuBA.js → layers.DlkfhQ3e.js} +1 -1
  154. package/dist/{layers.C383Dvrr.js → layers.DmFx2cLd.js} +319 -310
  155. package/dist/{layers.Dd_aETHv.js → layers.DmPy8l_m.js} +4 -4
  156. package/dist/{layers.ifjP6oOz.js → layers.DmWfT22i.js} +3 -3
  157. package/dist/{layers.90k_27k-.js → layers.DoyknGUW.js} +2 -2
  158. package/dist/{layers.KwIs9gmv.js → layers.DpW_2wbA.js} +1 -1
  159. package/dist/{layers.Cm1tlwTY.js → layers.DpZdhqgU.js} +1 -1
  160. package/dist/{layers.CPRPvRLq.js → layers.DpcaOSkM.js} +207 -213
  161. package/dist/{layers.BvCfDeld.js → layers.DpuoBdTc.js} +6 -2
  162. package/dist/{layers.BJov5ccl.js → layers.DsT3127f.js} +1 -1
  163. package/dist/{layers.C9AF6ohD.js → layers.DseqB-43.js} +1 -1
  164. package/dist/{layers.B7RVFCMt.js → layers.DttEWukY.js} +1 -1
  165. package/dist/{layers.D-M39vU7.js → layers.DxDbSIKs.js} +1 -1
  166. package/dist/{layers.BY14uOuz.js → layers.Dxs1Bz9v.js} +1 -1
  167. package/dist/{layers.DhGARWir.js → layers.DznaoIV-.js} +20199 -20483
  168. package/dist/{layers.BSew-iZ4.js → layers.EsP8_-mS.js} +1 -1
  169. package/dist/layers.FtE-FDfI.js +1 -0
  170. package/dist/{layers.CFUkjRzb.js → layers.NcWUdaQE.js} +1 -1
  171. package/dist/{layers.BWmUOX0-.js → layers.Oc9jaxB6.js} +1 -1
  172. package/dist/{layers.BjHGoULB.js → layers.P3PZpzps.js} +7 -7
  173. package/dist/{layers.D8amAjhu.js → layers.R0UNCw_K.js} +4135 -4186
  174. package/dist/{layers.BUafIBrt.js → layers.R4TihaIl.js} +1 -1
  175. package/dist/{layers.rQz-cNXL.js → layers.RU5L2B1k.js} +1 -1
  176. package/dist/{layers.BlxY_BOg.js → layers.RrqVrea1.js} +3 -3
  177. package/dist/{layers.C77KVxnu.js → layers.SzjX-1ik.js} +1 -1
  178. package/dist/{layers.VKbfSM_K.js → layers.U8ij3AUv.js} +1 -1
  179. package/dist/{layers.CLr7TK4d.js → layers.USIo3HEf.js} +1 -1
  180. package/dist/{layers.DQAZSE4K.js → layers.Uh1SV_3g.js} +1 -1
  181. package/dist/layers.Wbn2xXXi.js +744 -0
  182. package/dist/{layers.A_6jjek9.js → layers.X3SIP7Ip.js} +6 -6
  183. package/dist/{layers.B4X8UJFg.js → layers.X_ec8Mjz.js} +1 -1
  184. package/dist/{layers.DATXqIC3.js → layers.XqJJTTDF.js} +118 -118
  185. package/dist/{layers.BmkeAR2L.js → layers.YlOP7lTm.js} +1 -1
  186. package/dist/{layers.BOmXrP-O.js → layers._BFXtGJ8.js} +1 -1
  187. package/dist/{layers.BV7lC5cv.js → layers.bhtLIrfi.js} +8485 -8821
  188. package/dist/{layers.5StEShBO.js → layers.cvIsS1cH.js} +1 -1
  189. package/dist/{layers.ChoG20GF.js → layers.d8si0CFx.js} +3 -3
  190. package/dist/layers.dBz49wvs.js +1 -0
  191. package/dist/{layers.VQexSJxI.js → layers.dbZjzkaK.js} +1 -1
  192. package/dist/{layers.BlFuProD.js → layers.dcx5hh3X.js} +1 -1
  193. package/dist/{layers.Dl23XTaW.js → layers.f01TeqL7.js} +1 -1
  194. package/dist/{layers.DLnRvcCi.js → layers.fJRAytBv.js} +1 -1
  195. package/dist/{layers.DsX7D3df.js → layers.gxFi9LT2.js} +1 -1
  196. package/dist/{layers.CcokHqeo.js → layers.iWzY6Hic.js} +1 -1
  197. package/dist/{layers.CmRo-mtL.js → layers.iss3S-LH.js} +2 -2
  198. package/dist/{layers.Cj_AgC59.js → layers.k-dxAkmQ.js} +1 -1
  199. package/dist/{layers.BLVpMky5.js → layers.oYiIETz2.js} +1 -1
  200. package/dist/{layers.CpI0hevX.js → layers.oc6z8pju.js} +1 -1
  201. package/dist/{layers.DT1JlXIK.js → layers.pawkqiwU.js} +8 -8
  202. package/dist/layers.pmaa8paI.js +198 -0
  203. package/dist/{layers.BSwt2Kfj.js → layers.s8sZ9U1H.js} +1 -1
  204. package/dist/{layers.BlmssuTS.js → layers.uANnQ5Fm.js} +1 -1
  205. package/dist/{layers.ZaJZ4T6K.js → layers.veXJFa7R.js} +1 -1
  206. package/dist/{layers.B7DGj0Ui.js → layers.xdGpR5F5.js} +1 -1
  207. package/dist/{layers.hi1oKb__.js → layers.zUI5AYmB.js} +5 -5
  208. package/package.json +2 -2
  209. package/dist/layers.345-04dK.js +0 -1
  210. package/dist/layers.6Sg2hDwp.js +0 -1
  211. package/dist/layers.BAwjrxjx.js +0 -423
  212. package/dist/layers.BSq_zEdL.js +0 -51
  213. package/dist/layers.BfhTFlHN.js +0 -7
  214. package/dist/layers.BgwfwrFy.js +0 -8
  215. package/dist/layers.Bmdr0bP6.js +0 -1
  216. package/dist/layers.CX8mEQC_.js +0 -16
  217. package/dist/layers.CaEOqz0E.js +0 -1
  218. package/dist/layers.Crdpc81Z.js +0 -712
  219. package/dist/layers.D5mvZf2C.js +0 -1
  220. package/dist/layers.DIVI66aC.js +0 -198
  221. package/dist/layers.DTJFdjg2.js +0 -425
  222. package/dist/layers.DjErvnZB.js +0 -10148
  223. package/dist/layers.STmOZaoP.js +0 -6
  224. package/dist/layers.qwhqXSAo.js +0 -1309
  225. package/dist/layers.rDLw5TNf.js +0 -1
  226. package/dist/layers.tb-M7gOD.js +0 -108
@@ -1,110 +1,119 @@
1
- import { n as mt, o as kt, g as Rt, s as Ot, a as bt, b as xt, c as F, l as V, d as rt, u as Nt, e as Tt, q as At, r as Mt, X as wt } from "./layers.DjErvnZB.js";
2
- import { G as St } from "./layers.BJDrjORS.js";
1
+ import { n as Et, o as mt, a as gt, s as kt, b as xt, c as Rt, g as Z, l as V, d as rt, u as Ot, e as bt, q as Nt, r as Tt, X as At } from "./layers.BZzKS_Ht.js";
2
+ import { G as Mt } from "./layers.BJDrjORS.js";
3
3
  import "lodash-es";
4
- import { l as It } from "./layers.D4T8fTcj.js";
5
- import "./layers.BV7lC5cv.js";
4
+ import { l as St } from "./layers.D4T8fTcj.js";
5
+ import "./layers.bhtLIrfi.js";
6
6
  import "lodash-es/memoize.js";
7
7
  import "lodash-es/merge.js";
8
8
  import "lodash-es/isEmpty.js";
9
- import { l as Dt } from "./layers.MUmDmFTx.js";
10
- const vt = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
11
- function Lt(t) {
12
- return typeof t == "string" && vt.test(t);
13
- }
14
- function ht(t) {
15
- if (!Lt(t))
16
- throw TypeError("Invalid UUID");
17
- let e;
18
- return Uint8Array.of((e = parseInt(t.slice(0, 8), 16)) >>> 24, e >>> 16 & 255, e >>> 8 & 255, e & 255, (e = parseInt(t.slice(9, 13), 16)) >>> 8, e & 255, (e = parseInt(t.slice(14, 18), 16)) >>> 8, e & 255, (e = parseInt(t.slice(19, 23), 16)) >>> 8, e & 255, (e = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, e / 4294967296 & 255, e >>> 24 & 255, e >>> 16 & 255, e >>> 8 & 255, e & 255);
9
+ import { l as wt } from "./layers.BgCKcFR4.js";
10
+ const It = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
11
+ function Dt(t) {
12
+ return typeof t == "string" && It.test(t);
19
13
  }
20
14
  const A = [];
21
15
  for (let t = 0; t < 256; ++t)
22
16
  A.push((t + 256).toString(16).slice(1));
23
- function Bt(t, e = 0) {
24
- return (A[t[e + 0]] + A[t[e + 1]] + A[t[e + 2]] + A[t[e + 3]] + "-" + A[t[e + 4]] + A[t[e + 5]] + "-" + A[t[e + 6]] + A[t[e + 7]] + "-" + A[t[e + 8]] + A[t[e + 9]] + "-" + A[t[e + 10]] + A[t[e + 11]] + A[t[e + 12]] + A[t[e + 13]] + A[t[e + 14]] + A[t[e + 15]]).toLowerCase();
17
+ function vt(t, e = 0) {
18
+ return A[t[e + 0]] + A[t[e + 1]] + A[t[e + 2]] + A[t[e + 3]] + "-" + A[t[e + 4]] + A[t[e + 5]] + "-" + A[t[e + 6]] + A[t[e + 7]] + "-" + A[t[e + 8]] + A[t[e + 9]] + "-" + A[t[e + 10]] + A[t[e + 11]] + A[t[e + 12]] + A[t[e + 13]] + A[t[e + 14]] + A[t[e + 15]];
25
19
  }
26
- function Ct(t) {
20
+ function Lt(t) {
21
+ if (!Dt(t))
22
+ throw TypeError("Invalid UUID");
23
+ let e;
24
+ const r = new Uint8Array(16);
25
+ return r[0] = (e = parseInt(t.slice(0, 8), 16)) >>> 24, r[1] = e >>> 16 & 255, r[2] = e >>> 8 & 255, r[3] = e & 255, r[4] = (e = parseInt(t.slice(9, 13), 16)) >>> 8, r[5] = e & 255, r[6] = (e = parseInt(t.slice(14, 18), 16)) >>> 8, r[7] = e & 255, r[8] = (e = parseInt(t.slice(19, 23), 16)) >>> 8, r[9] = e & 255, r[10] = (e = parseInt(t.slice(24, 36), 16)) / 1099511627776 & 255, r[11] = e / 4294967296 & 255, r[12] = e >>> 24 & 255, r[13] = e >>> 16 & 255, r[14] = e >>> 8 & 255, r[15] = e & 255, r;
26
+ }
27
+ function Bt(t) {
27
28
  t = unescape(encodeURIComponent(t));
28
- const e = new Uint8Array(t.length);
29
+ const e = [];
29
30
  for (let r = 0; r < t.length; ++r)
30
- e[r] = t.charCodeAt(r);
31
+ e.push(t.charCodeAt(r));
31
32
  return e;
32
33
  }
33
- const Pt = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", Yt = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
34
- function Zt(t, e, r, l, u, f) {
35
- const _ = typeof r == "string" ? Ct(r) : r, d = typeof l == "string" ? ht(l) : l;
36
- if (typeof l == "string" && (l = ht(l)), (l == null ? void 0 : l.length) !== 16)
37
- throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
38
- let n = new Uint8Array(16 + _.length);
39
- if (n.set(d), n.set(_, d.length), n = e(n), n[6] = n[6] & 15 | t, n[8] = n[8] & 63 | 128, u) {
40
- if (f = f || 0, f < 0 || f + 16 > u.length)
41
- throw new RangeError(`UUID byte range ${f}:${f + 15} is out of buffer bounds`);
42
- for (let p = 0; p < 16; ++p)
43
- u[f + p] = n[p];
44
- return u;
34
+ const Ct = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", Pt = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
35
+ function Yt(t, e, r) {
36
+ function u(l, p, f, o) {
37
+ var h;
38
+ if (typeof l == "string" && (l = Bt(l)), typeof p == "string" && (p = Lt(p)), ((h = p) === null || h === void 0 ? void 0 : h.length) !== 16)
39
+ throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
40
+ let _ = new Uint8Array(16 + l.length);
41
+ if (_.set(p), _.set(l, p.length), _ = r(_), _[6] = _[6] & 15 | e, _[8] = _[8] & 63 | 128, f) {
42
+ o = o || 0;
43
+ for (let m = 0; m < 16; ++m)
44
+ f[o + m] = _[m];
45
+ return f;
46
+ }
47
+ return vt(_);
45
48
  }
46
- return Bt(n);
49
+ try {
50
+ u.name = t;
51
+ } catch {
52
+ }
53
+ return u.DNS = Ct, u.URL = Pt, u;
47
54
  }
48
- function Ft(t, e, r, l) {
55
+ function Zt(t, e, r, u) {
49
56
  switch (t) {
50
57
  case 0:
51
- return e & r ^ ~e & l;
58
+ return e & r ^ ~e & u;
52
59
  case 1:
53
- return e ^ r ^ l;
60
+ return e ^ r ^ u;
54
61
  case 2:
55
- return e & r ^ e & l ^ r & l;
62
+ return e & r ^ e & u ^ r & u;
56
63
  case 3:
57
- return e ^ r ^ l;
64
+ return e ^ r ^ u;
58
65
  }
59
66
  }
60
67
  function it(t, e) {
61
68
  return t << e | t >>> 32 - e;
62
69
  }
63
- function Wt(t) {
64
- const e = [1518500249, 1859775393, 2400959708, 3395469782], r = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], l = new Uint8Array(t.length + 1);
65
- l.set(t), l[t.length] = 128, t = l;
66
- const u = t.length / 4 + 2, f = Math.ceil(u / 16), _ = new Array(f);
67
- for (let d = 0; d < f; ++d) {
68
- const n = new Uint32Array(16);
69
- for (let p = 0; p < 16; ++p)
70
- n[p] = t[d * 64 + p * 4] << 24 | t[d * 64 + p * 4 + 1] << 16 | t[d * 64 + p * 4 + 2] << 8 | t[d * 64 + p * 4 + 3];
71
- _[d] = n;
70
+ function Ft(t) {
71
+ const e = [1518500249, 1859775393, 2400959708, 3395469782], r = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
72
+ if (typeof t == "string") {
73
+ const f = unescape(encodeURIComponent(t));
74
+ t = [];
75
+ for (let o = 0; o < f.length; ++o)
76
+ t.push(f.charCodeAt(o));
77
+ } else Array.isArray(t) || (t = Array.prototype.slice.call(t));
78
+ t.push(128);
79
+ const u = t.length / 4 + 2, l = Math.ceil(u / 16), p = new Array(l);
80
+ for (let f = 0; f < l; ++f) {
81
+ const o = new Uint32Array(16);
82
+ for (let h = 0; h < 16; ++h)
83
+ o[h] = t[f * 64 + h * 4] << 24 | t[f * 64 + h * 4 + 1] << 16 | t[f * 64 + h * 4 + 2] << 8 | t[f * 64 + h * 4 + 3];
84
+ p[f] = o;
72
85
  }
73
- _[f - 1][14] = (t.length - 1) * 8 / Math.pow(2, 32), _[f - 1][14] = Math.floor(_[f - 1][14]), _[f - 1][15] = (t.length - 1) * 8 & 4294967295;
74
- for (let d = 0; d < f; ++d) {
75
- const n = new Uint32Array(80);
86
+ p[l - 1][14] = (t.length - 1) * 8 / Math.pow(2, 32), p[l - 1][14] = Math.floor(p[l - 1][14]), p[l - 1][15] = (t.length - 1) * 8 & 4294967295;
87
+ for (let f = 0; f < l; ++f) {
88
+ const o = new Uint32Array(80);
76
89
  for (let y = 0; y < 16; ++y)
77
- n[y] = _[d][y];
90
+ o[y] = p[f][y];
78
91
  for (let y = 16; y < 80; ++y)
79
- n[y] = it(n[y - 3] ^ n[y - 8] ^ n[y - 14] ^ n[y - 16], 1);
80
- let p = r[0], k = r[1], g = r[2], R = r[3], m = r[4];
92
+ o[y] = it(o[y - 3] ^ o[y - 8] ^ o[y - 14] ^ o[y - 16], 1);
93
+ let h = r[0], _ = r[1], m = r[2], g = r[3], x = r[4];
81
94
  for (let y = 0; y < 80; ++y) {
82
- const I = Math.floor(y / 20), C = it(p, 5) + Ft(I, k, g, R) + m + e[I] + n[y] >>> 0;
83
- m = R, R = g, g = it(k, 30) >>> 0, k = p, p = C;
95
+ const N = Math.floor(y / 20), I = it(h, 5) + Zt(N, _, m, g) + x + e[N] + o[y] >>> 0;
96
+ x = g, g = m, m = it(_, 30) >>> 0, _ = h, h = I;
84
97
  }
85
- r[0] = r[0] + p >>> 0, r[1] = r[1] + k >>> 0, r[2] = r[2] + g >>> 0, r[3] = r[3] + R >>> 0, r[4] = r[4] + m >>> 0;
98
+ r[0] = r[0] + h >>> 0, r[1] = r[1] + _ >>> 0, r[2] = r[2] + m >>> 0, r[3] = r[3] + g >>> 0, r[4] = r[4] + x >>> 0;
86
99
  }
87
- return Uint8Array.of(r[0] >> 24, r[0] >> 16, r[0] >> 8, r[0], r[1] >> 24, r[1] >> 16, r[1] >> 8, r[1], r[2] >> 24, r[2] >> 16, r[2] >> 8, r[2], r[3] >> 24, r[3] >> 16, r[3] >> 8, r[3], r[4] >> 24, r[4] >> 16, r[4] >> 8, r[4]);
88
- }
89
- function nt(t, e, r, l) {
90
- return Zt(80, Wt, t, e, r, l);
100
+ return [r[0] >> 24 & 255, r[0] >> 16 & 255, r[0] >> 8 & 255, r[0] & 255, r[1] >> 24 & 255, r[1] >> 16 & 255, r[1] >> 8 & 255, r[1] & 255, r[2] >> 24 & 255, r[2] >> 16 & 255, r[2] >> 8 & 255, r[2] & 255, r[3] >> 24 & 255, r[3] >> 16 & 255, r[3] >> 8 & 255, r[3] & 255, r[4] >> 24 & 255, r[4] >> 16 & 255, r[4] >> 8 & 255, r[4] & 255];
91
101
  }
92
- nt.DNS = Pt;
93
- nt.URL = Yt;
102
+ const Wt = Yt("v5", 80, Ft);
94
103
  var at = (function() {
95
- var t = function(w, a, s, c) {
96
- for (s = s || {}, c = w.length; c--; s[w[c]] = a)
104
+ var t = function(S, a, n, c) {
105
+ for (n = n || {}, c = S.length; c--; n[S[c]] = a)
97
106
  ;
98
- return s;
99
- }, e = [6, 8, 10, 20, 22, 24, 26, 27, 28], r = [1, 10], l = [1, 11], u = [1, 12], f = [1, 13], _ = [1, 14], d = [1, 15], n = [1, 21], p = [1, 22], k = [1, 23], g = [1, 24], R = [1, 25], m = [6, 8, 10, 13, 15, 18, 19, 20, 22, 24, 26, 27, 28, 41, 42, 43, 44, 45], y = [1, 34], I = [27, 28, 46, 47], C = [41, 42, 43, 44, 45], W = [17, 34], P = [1, 54], T = [1, 53], M = [17, 34, 36, 38], b = {
107
+ return n;
108
+ }, e = [6, 8, 10, 20, 22, 24, 26, 27, 28], r = [1, 10], u = [1, 11], l = [1, 12], p = [1, 13], f = [1, 14], o = [1, 15], h = [1, 21], _ = [1, 22], m = [1, 23], g = [1, 24], x = [1, 25], y = [6, 8, 10, 13, 15, 18, 19, 20, 22, 24, 26, 27, 28, 41, 42, 43, 44, 45], N = [1, 34], I = [27, 28, 46, 47], F = [41, 42, 43, 44, 45], W = [17, 34], C = [1, 54], T = [1, 53], M = [17, 34, 36, 38], R = {
100
109
  trace: function() {
101
110
  },
102
111
  yy: {},
103
112
  symbols_: { error: 2, start: 3, ER_DIAGRAM: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, entityName: 11, relSpec: 12, ":": 13, role: 14, BLOCK_START: 15, attributes: 16, BLOCK_STOP: 17, SQS: 18, SQE: 19, title: 20, title_value: 21, acc_title: 22, acc_title_value: 23, acc_descr: 24, acc_descr_value: 25, acc_descr_multiline_value: 26, ALPHANUM: 27, ENTITY_NAME: 28, attribute: 29, attributeType: 30, attributeName: 31, attributeKeyTypeList: 32, attributeComment: 33, ATTRIBUTE_WORD: 34, attributeKeyType: 35, COMMA: 36, ATTRIBUTE_KEY: 37, COMMENT: 38, cardinality: 39, relType: 40, ZERO_OR_ONE: 41, ZERO_OR_MORE: 42, ONE_OR_MORE: 43, ONLY_ONE: 44, MD_PARENT: 45, NON_IDENTIFYING: 46, IDENTIFYING: 47, WORD: 48, $accept: 0, $end: 1 },
104
113
  terminals_: { 2: "error", 4: "ER_DIAGRAM", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 13: ":", 15: "BLOCK_START", 17: "BLOCK_STOP", 18: "SQS", 19: "SQE", 20: "title", 21: "title_value", 22: "acc_title", 23: "acc_title_value", 24: "acc_descr", 25: "acc_descr_value", 26: "acc_descr_multiline_value", 27: "ALPHANUM", 28: "ENTITY_NAME", 34: "ATTRIBUTE_WORD", 36: "COMMA", 37: "ATTRIBUTE_KEY", 38: "COMMENT", 41: "ZERO_OR_ONE", 42: "ZERO_OR_MORE", 43: "ONE_OR_MORE", 44: "ONLY_ONE", 45: "MD_PARENT", 46: "NON_IDENTIFYING", 47: "IDENTIFYING", 48: "WORD" },
105
114
  productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 5], [9, 4], [9, 3], [9, 1], [9, 7], [9, 6], [9, 4], [9, 2], [9, 2], [9, 2], [9, 1], [11, 1], [11, 1], [16, 1], [16, 2], [29, 2], [29, 3], [29, 3], [29, 4], [30, 1], [31, 1], [32, 1], [32, 3], [35, 1], [33, 1], [12, 3], [39, 1], [39, 1], [39, 1], [39, 1], [39, 1], [40, 1], [40, 1], [14, 1], [14, 1], [14, 1]],
106
- performAction: function(a, s, c, h, E, i, K) {
107
- var o = i.length - 1;
115
+ performAction: function(a, n, c, d, E, i, K) {
116
+ var s = i.length - 1;
108
117
  switch (E) {
109
118
  case 1:
110
119
  break;
@@ -112,175 +121,175 @@ var at = (function() {
112
121
  this.$ = [];
113
122
  break;
114
123
  case 3:
115
- i[o - 1].push(i[o]), this.$ = i[o - 1];
124
+ i[s - 1].push(i[s]), this.$ = i[s - 1];
116
125
  break;
117
126
  case 4:
118
127
  case 5:
119
- this.$ = i[o];
128
+ this.$ = i[s];
120
129
  break;
121
130
  case 6:
122
131
  case 7:
123
132
  this.$ = [];
124
133
  break;
125
134
  case 8:
126
- h.addEntity(i[o - 4]), h.addEntity(i[o - 2]), h.addRelationship(i[o - 4], i[o], i[o - 2], i[o - 3]);
135
+ d.addEntity(i[s - 4]), d.addEntity(i[s - 2]), d.addRelationship(i[s - 4], i[s], i[s - 2], i[s - 3]);
127
136
  break;
128
137
  case 9:
129
- h.addEntity(i[o - 3]), h.addAttributes(i[o - 3], i[o - 1]);
138
+ d.addEntity(i[s - 3]), d.addAttributes(i[s - 3], i[s - 1]);
130
139
  break;
131
140
  case 10:
132
- h.addEntity(i[o - 2]);
141
+ d.addEntity(i[s - 2]);
133
142
  break;
134
143
  case 11:
135
- h.addEntity(i[o]);
144
+ d.addEntity(i[s]);
136
145
  break;
137
146
  case 12:
138
- h.addEntity(i[o - 6], i[o - 4]), h.addAttributes(i[o - 6], i[o - 1]);
147
+ d.addEntity(i[s - 6], i[s - 4]), d.addAttributes(i[s - 6], i[s - 1]);
139
148
  break;
140
149
  case 13:
141
- h.addEntity(i[o - 5], i[o - 3]);
150
+ d.addEntity(i[s - 5], i[s - 3]);
142
151
  break;
143
152
  case 14:
144
- h.addEntity(i[o - 3], i[o - 1]);
153
+ d.addEntity(i[s - 3], i[s - 1]);
145
154
  break;
146
155
  case 15:
147
156
  case 16:
148
- this.$ = i[o].trim(), h.setAccTitle(this.$);
157
+ this.$ = i[s].trim(), d.setAccTitle(this.$);
149
158
  break;
150
159
  case 17:
151
160
  case 18:
152
- this.$ = i[o].trim(), h.setAccDescription(this.$);
161
+ this.$ = i[s].trim(), d.setAccDescription(this.$);
153
162
  break;
154
163
  case 19:
155
164
  case 43:
156
- this.$ = i[o];
165
+ this.$ = i[s];
157
166
  break;
158
167
  case 20:
159
168
  case 41:
160
169
  case 42:
161
- this.$ = i[o].replace(/"/g, "");
170
+ this.$ = i[s].replace(/"/g, "");
162
171
  break;
163
172
  case 21:
164
173
  case 29:
165
- this.$ = [i[o]];
174
+ this.$ = [i[s]];
166
175
  break;
167
176
  case 22:
168
- i[o].push(i[o - 1]), this.$ = i[o];
177
+ i[s].push(i[s - 1]), this.$ = i[s];
169
178
  break;
170
179
  case 23:
171
- this.$ = { attributeType: i[o - 1], attributeName: i[o] };
180
+ this.$ = { attributeType: i[s - 1], attributeName: i[s] };
172
181
  break;
173
182
  case 24:
174
- this.$ = { attributeType: i[o - 2], attributeName: i[o - 1], attributeKeyTypeList: i[o] };
183
+ this.$ = { attributeType: i[s - 2], attributeName: i[s - 1], attributeKeyTypeList: i[s] };
175
184
  break;
176
185
  case 25:
177
- this.$ = { attributeType: i[o - 2], attributeName: i[o - 1], attributeComment: i[o] };
186
+ this.$ = { attributeType: i[s - 2], attributeName: i[s - 1], attributeComment: i[s] };
178
187
  break;
179
188
  case 26:
180
- this.$ = { attributeType: i[o - 3], attributeName: i[o - 2], attributeKeyTypeList: i[o - 1], attributeComment: i[o] };
189
+ this.$ = { attributeType: i[s - 3], attributeName: i[s - 2], attributeKeyTypeList: i[s - 1], attributeComment: i[s] };
181
190
  break;
182
191
  case 27:
183
192
  case 28:
184
193
  case 31:
185
- this.$ = i[o];
194
+ this.$ = i[s];
186
195
  break;
187
196
  case 30:
188
- i[o - 2].push(i[o]), this.$ = i[o - 2];
197
+ i[s - 2].push(i[s]), this.$ = i[s - 2];
189
198
  break;
190
199
  case 32:
191
- this.$ = i[o].replace(/"/g, "");
200
+ this.$ = i[s].replace(/"/g, "");
192
201
  break;
193
202
  case 33:
194
- this.$ = { cardA: i[o], relType: i[o - 1], cardB: i[o - 2] };
203
+ this.$ = { cardA: i[s], relType: i[s - 1], cardB: i[s - 2] };
195
204
  break;
196
205
  case 34:
197
- this.$ = h.Cardinality.ZERO_OR_ONE;
206
+ this.$ = d.Cardinality.ZERO_OR_ONE;
198
207
  break;
199
208
  case 35:
200
- this.$ = h.Cardinality.ZERO_OR_MORE;
209
+ this.$ = d.Cardinality.ZERO_OR_MORE;
201
210
  break;
202
211
  case 36:
203
- this.$ = h.Cardinality.ONE_OR_MORE;
212
+ this.$ = d.Cardinality.ONE_OR_MORE;
204
213
  break;
205
214
  case 37:
206
- this.$ = h.Cardinality.ONLY_ONE;
215
+ this.$ = d.Cardinality.ONLY_ONE;
207
216
  break;
208
217
  case 38:
209
- this.$ = h.Cardinality.MD_PARENT;
218
+ this.$ = d.Cardinality.MD_PARENT;
210
219
  break;
211
220
  case 39:
212
- this.$ = h.Identification.NON_IDENTIFYING;
221
+ this.$ = d.Identification.NON_IDENTIFYING;
213
222
  break;
214
223
  case 40:
215
- this.$ = h.Identification.IDENTIFYING;
224
+ this.$ = d.Identification.IDENTIFYING;
216
225
  break;
217
226
  }
218
227
  },
219
- 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: 9, 20: r, 22: l, 24: u, 26: f, 27: _, 28: d }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 16, 11: 9, 20: r, 22: l, 24: u, 26: f, 27: _, 28: d }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 11], { 12: 17, 39: 20, 15: [1, 18], 18: [1, 19], 41: n, 42: p, 43: k, 44: g, 45: R }), { 21: [1, 26] }, { 23: [1, 27] }, { 25: [1, 28] }, t(e, [2, 18]), t(m, [2, 19]), t(m, [2, 20]), t(e, [2, 4]), { 11: 29, 27: _, 28: d }, { 16: 30, 17: [1, 31], 29: 32, 30: 33, 34: y }, { 11: 35, 27: _, 28: d }, { 40: 36, 46: [1, 37], 47: [1, 38] }, t(I, [2, 34]), t(I, [2, 35]), t(I, [2, 36]), t(I, [2, 37]), t(I, [2, 38]), t(e, [2, 15]), t(e, [2, 16]), t(e, [2, 17]), { 13: [1, 39] }, { 17: [1, 40] }, t(e, [2, 10]), { 16: 41, 17: [2, 21], 29: 32, 30: 33, 34: y }, { 31: 42, 34: [1, 43] }, { 34: [2, 27] }, { 19: [1, 44] }, { 39: 45, 41: n, 42: p, 43: k, 44: g, 45: R }, t(C, [2, 39]), t(C, [2, 40]), { 14: 46, 27: [1, 49], 28: [1, 48], 48: [1, 47] }, t(e, [2, 9]), { 17: [2, 22] }, t(W, [2, 23], { 32: 50, 33: 51, 35: 52, 37: P, 38: T }), t([17, 34, 37, 38], [2, 28]), t(e, [2, 14], { 15: [1, 55] }), t([27, 28], [2, 33]), t(e, [2, 8]), t(e, [2, 41]), t(e, [2, 42]), t(e, [2, 43]), t(W, [2, 24], { 33: 56, 36: [1, 57], 38: T }), t(W, [2, 25]), t(M, [2, 29]), t(W, [2, 32]), t(M, [2, 31]), { 16: 58, 17: [1, 59], 29: 32, 30: 33, 34: y }, t(W, [2, 26]), { 35: 60, 37: P }, { 17: [1, 61] }, t(e, [2, 13]), t(M, [2, 30]), t(e, [2, 12])],
228
+ 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: 9, 20: r, 22: u, 24: l, 26: p, 27: f, 28: o }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 16, 11: 9, 20: r, 22: u, 24: l, 26: p, 27: f, 28: o }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 11], { 12: 17, 39: 20, 15: [1, 18], 18: [1, 19], 41: h, 42: _, 43: m, 44: g, 45: x }), { 21: [1, 26] }, { 23: [1, 27] }, { 25: [1, 28] }, t(e, [2, 18]), t(y, [2, 19]), t(y, [2, 20]), t(e, [2, 4]), { 11: 29, 27: f, 28: o }, { 16: 30, 17: [1, 31], 29: 32, 30: 33, 34: N }, { 11: 35, 27: f, 28: o }, { 40: 36, 46: [1, 37], 47: [1, 38] }, t(I, [2, 34]), t(I, [2, 35]), t(I, [2, 36]), t(I, [2, 37]), t(I, [2, 38]), t(e, [2, 15]), t(e, [2, 16]), t(e, [2, 17]), { 13: [1, 39] }, { 17: [1, 40] }, t(e, [2, 10]), { 16: 41, 17: [2, 21], 29: 32, 30: 33, 34: N }, { 31: 42, 34: [1, 43] }, { 34: [2, 27] }, { 19: [1, 44] }, { 39: 45, 41: h, 42: _, 43: m, 44: g, 45: x }, t(F, [2, 39]), t(F, [2, 40]), { 14: 46, 27: [1, 49], 28: [1, 48], 48: [1, 47] }, t(e, [2, 9]), { 17: [2, 22] }, t(W, [2, 23], { 32: 50, 33: 51, 35: 52, 37: C, 38: T }), t([17, 34, 37, 38], [2, 28]), t(e, [2, 14], { 15: [1, 55] }), t([27, 28], [2, 33]), t(e, [2, 8]), t(e, [2, 41]), t(e, [2, 42]), t(e, [2, 43]), t(W, [2, 24], { 33: 56, 36: [1, 57], 38: T }), t(W, [2, 25]), t(M, [2, 29]), t(W, [2, 32]), t(M, [2, 31]), { 16: 58, 17: [1, 59], 29: 32, 30: 33, 34: N }, t(W, [2, 26]), { 35: 60, 37: C }, { 17: [1, 61] }, t(e, [2, 13]), t(M, [2, 30]), t(e, [2, 12])],
220
229
  defaultActions: { 34: [2, 27], 41: [2, 22] },
221
- parseError: function(a, s) {
222
- if (s.recoverable)
230
+ parseError: function(a, n) {
231
+ if (n.recoverable)
223
232
  this.trace(a);
224
233
  else {
225
234
  var c = new Error(a);
226
- throw c.hash = s, c;
235
+ throw c.hash = n, c;
227
236
  }
228
237
  },
229
238
  parse: function(a) {
230
- var s = this, c = [0], h = [], E = [null], i = [], K = this.table, o = "", Q = 0, ot = 0, pt = 2, lt = 1, _t = i.slice.call(arguments, 1), N = Object.create(this.lexer), H = { yy: {} };
239
+ var n = this, c = [0], d = [], E = [null], i = [], K = this.table, s = "", Q = 0, st = 0, ft = 2, ot = 1, yt = i.slice.call(arguments, 1), b = Object.create(this.lexer), H = { yy: {} };
231
240
  for (var J in this.yy)
232
241
  Object.prototype.hasOwnProperty.call(this.yy, J) && (H.yy[J] = this.yy[J]);
233
- N.setInput(a, H.yy), H.yy.lexer = N, H.yy.parser = this, typeof N.yylloc > "u" && (N.yylloc = {});
234
- var $ = N.yylloc;
242
+ b.setInput(a, H.yy), H.yy.lexer = b, H.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
243
+ var $ = b.yylloc;
235
244
  i.push($);
236
- var Et = N.options && N.options.ranges;
245
+ var pt = b.options && b.options.ranges;
237
246
  typeof H.yy.parseError == "function" ? this.parseError = H.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
238
- function gt() {
239
- var Z;
240
- return Z = h.pop() || N.lex() || lt, typeof Z != "number" && (Z instanceof Array && (h = Z, Z = h.pop()), Z = s.symbols_[Z] || Z), Z;
247
+ function _t() {
248
+ var Y;
249
+ return Y = d.pop() || b.lex() || ot, typeof Y != "number" && (Y instanceof Array && (d = Y, Y = d.pop()), Y = n.symbols_[Y] || Y), Y;
241
250
  }
242
- for (var S, z, D, tt, G = {}, q, Y, ct, j; ; ) {
243
- if (z = c[c.length - 1], this.defaultActions[z] ? D = this.defaultActions[z] : ((S === null || typeof S > "u") && (S = gt()), D = K[z] && K[z][S]), typeof D > "u" || !D.length || !D[0]) {
251
+ for (var w, z, D, tt, G = {}, q, P, lt, j; ; ) {
252
+ if (z = c[c.length - 1], this.defaultActions[z] ? D = this.defaultActions[z] : ((w === null || typeof w > "u") && (w = _t()), D = K[z] && K[z][w]), typeof D > "u" || !D.length || !D[0]) {
244
253
  var et = "";
245
254
  j = [];
246
255
  for (q in K[z])
247
- this.terminals_[q] && q > pt && j.push("'" + this.terminals_[q] + "'");
248
- N.showPosition ? et = "Parse error on line " + (Q + 1) + `:
249
- ` + N.showPosition() + `
250
- Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et = "Parse error on line " + (Q + 1) + ": Unexpected " + (S == lt ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(et, {
251
- text: N.match,
252
- token: this.terminals_[S] || S,
253
- line: N.yylineno,
256
+ this.terminals_[q] && q > ft && j.push("'" + this.terminals_[q] + "'");
257
+ b.showPosition ? et = "Parse error on line " + (Q + 1) + `:
258
+ ` + b.showPosition() + `
259
+ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : et = "Parse error on line " + (Q + 1) + ": Unexpected " + (w == ot ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(et, {
260
+ text: b.match,
261
+ token: this.terminals_[w] || w,
262
+ line: b.yylineno,
254
263
  loc: $,
255
264
  expected: j
256
265
  });
257
266
  }
258
267
  if (D[0] instanceof Array && D.length > 1)
259
- throw new Error("Parse Error: multiple actions possible at state: " + z + ", token: " + S);
268
+ throw new Error("Parse Error: multiple actions possible at state: " + z + ", token: " + w);
260
269
  switch (D[0]) {
261
270
  case 1:
262
- c.push(S), E.push(N.yytext), i.push(N.yylloc), c.push(D[1]), S = null, ot = N.yyleng, o = N.yytext, Q = N.yylineno, $ = N.yylloc;
271
+ c.push(w), E.push(b.yytext), i.push(b.yylloc), c.push(D[1]), w = null, st = b.yyleng, s = b.yytext, Q = b.yylineno, $ = b.yylloc;
263
272
  break;
264
273
  case 2:
265
- if (Y = this.productions_[D[1]][1], G.$ = E[E.length - Y], G._$ = {
266
- first_line: i[i.length - (Y || 1)].first_line,
274
+ if (P = this.productions_[D[1]][1], G.$ = E[E.length - P], G._$ = {
275
+ first_line: i[i.length - (P || 1)].first_line,
267
276
  last_line: i[i.length - 1].last_line,
268
- first_column: i[i.length - (Y || 1)].first_column,
277
+ first_column: i[i.length - (P || 1)].first_column,
269
278
  last_column: i[i.length - 1].last_column
270
- }, Et && (G._$.range = [
271
- i[i.length - (Y || 1)].range[0],
279
+ }, pt && (G._$.range = [
280
+ i[i.length - (P || 1)].range[0],
272
281
  i[i.length - 1].range[1]
273
282
  ]), tt = this.performAction.apply(G, [
274
- o,
275
- ot,
283
+ s,
284
+ st,
276
285
  Q,
277
286
  H.yy,
278
287
  D[1],
279
288
  E,
280
289
  i
281
- ].concat(_t)), typeof tt < "u")
290
+ ].concat(yt)), typeof tt < "u")
282
291
  return tt;
283
- Y && (c = c.slice(0, -1 * Y * 2), E = E.slice(0, -1 * Y), i = i.slice(0, -1 * Y)), c.push(this.productions_[D[1]][0]), E.push(G.$), i.push(G._$), ct = K[c[c.length - 2]][c[c.length - 1]], c.push(ct);
292
+ P && (c = c.slice(0, -1 * P * 2), E = E.slice(0, -1 * P), i = i.slice(0, -1 * P)), c.push(this.productions_[D[1]][0]), E.push(G.$), i.push(G._$), lt = K[c[c.length - 2]][c[c.length - 1]], c.push(lt);
284
293
  break;
285
294
  case 3:
286
295
  return !0;
@@ -288,18 +297,18 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et =
288
297
  }
289
298
  return !0;
290
299
  }
291
- }, x = /* @__PURE__ */ (function() {
292
- var w = {
300
+ }, O = /* @__PURE__ */ (function() {
301
+ var S = {
293
302
  EOF: 1,
294
- parseError: function(s, c) {
303
+ parseError: function(n, c) {
295
304
  if (this.yy.parser)
296
- this.yy.parser.parseError(s, c);
305
+ this.yy.parser.parseError(n, c);
297
306
  else
298
- throw new Error(s);
307
+ throw new Error(n);
299
308
  },
300
309
  // resets the lexer, sets new input
301
- setInput: function(a, s) {
302
- return this.yy = s || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
310
+ setInput: function(a, n) {
311
+ return this.yy = n || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
303
312
  first_line: 1,
304
313
  first_column: 0,
305
314
  last_line: 1,
@@ -310,22 +319,22 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et =
310
319
  input: function() {
311
320
  var a = this._input[0];
312
321
  this.yytext += a, this.yyleng++, this.offset++, this.match += a, this.matched += a;
313
- var s = a.match(/(?:\r\n?|\n).*/g);
314
- return s ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), a;
322
+ var n = a.match(/(?:\r\n?|\n).*/g);
323
+ return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), a;
315
324
  },
316
325
  // unshifts one char (or a string) into the input
317
326
  unput: function(a) {
318
- var s = a.length, c = a.split(/(?:\r\n?|\n)/g);
319
- this._input = a + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - s), this.offset -= s;
320
- var h = this.match.split(/(?:\r\n?|\n)/g);
327
+ var n = a.length, c = a.split(/(?:\r\n?|\n)/g);
328
+ this._input = a + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
329
+ var d = this.match.split(/(?:\r\n?|\n)/g);
321
330
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), c.length - 1 && (this.yylineno -= c.length - 1);
322
331
  var E = this.yylloc.range;
323
332
  return this.yylloc = {
324
333
  first_line: this.yylloc.first_line,
325
334
  last_line: this.yylineno + 1,
326
335
  first_column: this.yylloc.first_column,
327
- last_column: c ? (c.length === h.length ? this.yylloc.first_column : 0) + h[h.length - c.length].length - c[0].length : this.yylloc.first_column - s
328
- }, this.options.ranges && (this.yylloc.range = [E[0], E[0] + this.yyleng - s]), this.yyleng = this.yytext.length, this;
336
+ last_column: c ? (c.length === d.length ? this.yylloc.first_column : 0) + d[d.length - c.length].length - c[0].length : this.yylloc.first_column - n
337
+ }, this.options.ranges && (this.yylloc.range = [E[0], E[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
329
338
  },
330
339
  // When called from action, caches matched text and appends it on next action
331
340
  more: function() {
@@ -360,13 +369,13 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et =
360
369
  },
361
370
  // displays the character position where the lexing error occurred, i.e. for error messages
362
371
  showPosition: function() {
363
- var a = this.pastInput(), s = new Array(a.length + 1).join("-");
372
+ var a = this.pastInput(), n = new Array(a.length + 1).join("-");
364
373
  return a + this.upcomingInput() + `
365
- ` + s + "^";
374
+ ` + n + "^";
366
375
  },
367
376
  // test the lexed token: return FALSE when not a match, otherwise return token
368
- test_match: function(a, s) {
369
- var c, h, E;
377
+ test_match: function(a, n) {
378
+ var c, d, E;
370
379
  if (this.options.backtrack_lexer && (E = {
371
380
  yylineno: this.yylineno,
372
381
  yylloc: {
@@ -386,12 +395,12 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et =
386
395
  yy: this.yy,
387
396
  conditionStack: this.conditionStack.slice(0),
388
397
  done: this.done
389
- }, this.options.ranges && (E.yylloc.range = this.yylloc.range.slice(0))), h = a[0].match(/(?:\r\n?|\n).*/g), h && (this.yylineno += h.length), this.yylloc = {
398
+ }, this.options.ranges && (E.yylloc.range = this.yylloc.range.slice(0))), d = a[0].match(/(?:\r\n?|\n).*/g), d && (this.yylineno += d.length), this.yylloc = {
390
399
  first_line: this.yylloc.last_line,
391
400
  last_line: this.yylineno + 1,
392
401
  first_column: this.yylloc.last_column,
393
- last_column: h ? h[h.length - 1].length - h[h.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + a[0].length
394
- }, this.yytext += a[0], this.match += a[0], this.matches = a, 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(a[0].length), this.matched += a[0], c = this.performAction.call(this, this.yy, this, s, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
402
+ last_column: d ? d[d.length - 1].length - d[d.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + a[0].length
403
+ }, this.yytext += a[0], this.match += a[0], this.matches = a, 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(a[0].length), this.matched += a[0], c = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
395
404
  return c;
396
405
  if (this._backtrack) {
397
406
  for (var i in E)
@@ -405,22 +414,22 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et =
405
414
  if (this.done)
406
415
  return this.EOF;
407
416
  this._input || (this.done = !0);
408
- var a, s, c, h;
417
+ var a, n, c, d;
409
418
  this._more || (this.yytext = "", this.match = "");
410
419
  for (var E = this._currentRules(), i = 0; i < E.length; i++)
411
- if (c = this._input.match(this.rules[E[i]]), c && (!s || c[0].length > s[0].length)) {
412
- if (s = c, h = i, this.options.backtrack_lexer) {
420
+ if (c = this._input.match(this.rules[E[i]]), c && (!n || c[0].length > n[0].length)) {
421
+ if (n = c, d = i, this.options.backtrack_lexer) {
413
422
  if (a = this.test_match(c, E[i]), a !== !1)
414
423
  return a;
415
424
  if (this._backtrack) {
416
- s = !1;
425
+ n = !1;
417
426
  continue;
418
427
  } else
419
428
  return !1;
420
429
  } else if (!this.options.flex)
421
430
  break;
422
431
  }
423
- return s ? (a = this.test_match(s, E[h]), a !== !1 ? a : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
432
+ return n ? (a = this.test_match(n, E[d]), a !== !1 ? a : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
424
433
  ` + this.showPosition(), {
425
434
  text: "",
426
435
  token: null,
@@ -429,37 +438,37 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et =
429
438
  },
430
439
  // return next match that has a token
431
440
  lex: function() {
432
- var s = this.next();
433
- return s || this.lex();
441
+ var n = this.next();
442
+ return n || this.lex();
434
443
  },
435
444
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
436
- begin: function(s) {
437
- this.conditionStack.push(s);
445
+ begin: function(n) {
446
+ this.conditionStack.push(n);
438
447
  },
439
448
  // pop the previously active lexer condition state off the condition stack
440
449
  popState: function() {
441
- var s = this.conditionStack.length - 1;
442
- return s > 0 ? this.conditionStack.pop() : this.conditionStack[0];
450
+ var n = this.conditionStack.length - 1;
451
+ return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
443
452
  },
444
453
  // produce the lexer rule set which is active for the currently active lexer condition state
445
454
  _currentRules: function() {
446
455
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
447
456
  },
448
457
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
449
- topState: function(s) {
450
- return s = this.conditionStack.length - 1 - Math.abs(s || 0), s >= 0 ? this.conditionStack[s] : "INITIAL";
458
+ topState: function(n) {
459
+ return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
451
460
  },
452
461
  // alias for begin(condition)
453
- pushState: function(s) {
454
- this.begin(s);
462
+ pushState: function(n) {
463
+ this.begin(n);
455
464
  },
456
465
  // return the number of states currently on the stack
457
466
  stateStackSize: function() {
458
467
  return this.conditionStack.length;
459
468
  },
460
469
  options: { "case-insensitive": !0 },
461
- performAction: function(s, c, h, E) {
462
- switch (h) {
470
+ performAction: function(n, c, d, E) {
471
+ switch (d) {
463
472
  case 0:
464
473
  return this.begin("acc_title"), 22;
465
474
  case 1:
@@ -579,17 +588,17 @@ Expecting ` + j.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : et =
579
588
  rules: [/^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:[\s]+)/i, /^(?:"[^"%\r\n\v\b\\]+")/i, /^(?:"[^"]*")/i, /^(?:erDiagram\b)/i, /^(?:\{)/i, /^(?:,)/i, /^(?:\s+)/i, /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i, /^(?:(.*?)[~](.*?)*[~])/i, /^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i, /^(?:"[^"]*")/i, /^(?:[\n]+)/i, /^(?:\})/i, /^(?:.)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:one or zero\b)/i, /^(?:one or more\b)/i, /^(?:one or many\b)/i, /^(?:1\+)/i, /^(?:\|o\b)/i, /^(?:zero or one\b)/i, /^(?:zero or more\b)/i, /^(?:zero or many\b)/i, /^(?:0\+)/i, /^(?:\}o\b)/i, /^(?:many\(0\))/i, /^(?:many\(1\))/i, /^(?:many\b)/i, /^(?:\}\|)/i, /^(?:one\b)/i, /^(?:only one\b)/i, /^(?:1\b)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:\s*u\b)/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i, /^(?:.)/i, /^(?:$)/i],
580
589
  conditions: { acc_descr_multiline: { rules: [5, 6], inclusive: !1 }, acc_descr: { rules: [3], inclusive: !1 }, acc_title: { rules: [1], inclusive: !1 }, block: { rules: [14, 15, 16, 17, 18, 19, 20, 21, 22], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55], inclusive: !0 } }
581
590
  };
582
- return w;
591
+ return S;
583
592
  })();
584
- b.lexer = x;
593
+ R.lexer = O;
585
594
  function v() {
586
595
  this.yy = {};
587
596
  }
588
- return v.prototype = b, b.Parser = v, new v();
597
+ return v.prototype = R, R.Parser = v, new v();
589
598
  })();
590
599
  at.parser = at;
591
600
  const Ut = at;
592
- let U = {}, st = [];
601
+ let U = {}, nt = [];
593
602
  const Ht = {
594
603
  ZERO_OR_ONE: "ZERO_OR_ONE",
595
604
  ZERO_OR_MORE: "ZERO_OR_MORE",
@@ -599,38 +608,38 @@ const Ht = {
599
608
  }, zt = {
600
609
  NON_IDENTIFYING: "NON_IDENTIFYING",
601
610
  IDENTIFYING: "IDENTIFYING"
602
- }, ft = function(t, e = void 0) {
611
+ }, dt = function(t, e = void 0) {
603
612
  return U[t] === void 0 ? (U[t] = { attributes: [], alias: e }, V.info("Added new entity :", t)) : U[t] && !U[t].alias && e && (U[t].alias = e, V.info(`Add alias '${e}' to entity '${t}'`)), U[t];
604
613
  }, Gt = () => U, Kt = function(t, e) {
605
- let r = ft(t), l;
606
- for (l = e.length - 1; l >= 0; l--)
607
- r.attributes.push(e[l]), V.debug("Added attribute ", e[l].attributeName);
608
- }, Vt = function(t, e, r, l) {
609
- let u = {
614
+ let r = dt(t), u;
615
+ for (u = e.length - 1; u >= 0; u--)
616
+ r.attributes.push(e[u]), V.debug("Added attribute ", e[u].attributeName);
617
+ }, Vt = function(t, e, r, u) {
618
+ let l = {
610
619
  entityA: t,
611
620
  roleA: e,
612
621
  entityB: r,
613
- relSpec: l
622
+ relSpec: u
614
623
  };
615
- st.push(u), V.debug("Added new relationship :", u);
616
- }, Xt = () => st, Qt = function() {
617
- U = {}, st = [], At();
624
+ nt.push(l), V.debug("Added new relationship :", l);
625
+ }, Xt = () => nt, Qt = function() {
626
+ U = {}, nt = [], Nt();
618
627
  }, qt = {
619
628
  Cardinality: Ht,
620
629
  Identification: zt,
621
- getConfig: () => F().er,
622
- addEntity: ft,
630
+ getConfig: () => Z().er,
631
+ addEntity: dt,
623
632
  addAttributes: Kt,
624
633
  getEntities: Gt,
625
634
  addRelationship: Vt,
626
635
  getRelationships: Xt,
627
636
  clear: Qt,
628
- setAccTitle: xt,
629
- getAccTitle: bt,
630
- setAccDescription: Ot,
631
- getAccDescription: Rt,
632
- setDiagramTitle: kt,
633
- getDiagramTitle: mt
637
+ setAccTitle: Rt,
638
+ getAccTitle: xt,
639
+ setAccDescription: kt,
640
+ getAccDescription: gt,
641
+ setDiagramTitle: mt,
642
+ getDiagramTitle: Et
634
643
  }, L = {
635
644
  ONLY_ONE_START: "ONLY_ONE_START",
636
645
  ONLY_ONE_END: "ONLY_ONE_END",
@@ -649,104 +658,104 @@ const Ht = {
649
658
  ERMarkers: L,
650
659
  insertMarkers: jt
651
660
  }, Jt = /[^\dA-Za-z](\W)*/g;
652
- let O = {}, X = /* @__PURE__ */ new Map();
661
+ let k = {}, X = /* @__PURE__ */ new Map();
653
662
  const $t = function(t) {
654
663
  const e = Object.keys(t);
655
664
  for (const r of e)
656
- O[r] = t[r];
665
+ k[r] = t[r];
657
666
  }, te = (t, e, r) => {
658
- const l = O.entityPadding / 3, u = O.entityPadding / 3, f = O.fontSize * 0.85, _ = e.node().getBBox(), d = [];
659
- let n = !1, p = !1, k = 0, g = 0, R = 0, m = 0, y = _.height + l * 2, I = 1;
667
+ const u = k.entityPadding / 3, l = k.entityPadding / 3, p = k.fontSize * 0.85, f = e.node().getBBox(), o = [];
668
+ let h = !1, _ = !1, m = 0, g = 0, x = 0, y = 0, N = f.height + u * 2, I = 1;
660
669
  r.forEach((T) => {
661
- T.attributeKeyTypeList !== void 0 && T.attributeKeyTypeList.length > 0 && (n = !0), T.attributeComment !== void 0 && (p = !0);
670
+ T.attributeKeyTypeList !== void 0 && T.attributeKeyTypeList.length > 0 && (h = !0), T.attributeComment !== void 0 && (_ = !0);
662
671
  }), r.forEach((T) => {
663
672
  const M = `${e.node().id}-attr-${I}`;
664
- let b = 0;
665
- const x = wt(T.attributeType), v = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-type`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", F().fontFamily).style("font-size", f + "px").text(x), w = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-name`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", F().fontFamily).style("font-size", f + "px").text(T.attributeName), a = {};
666
- a.tn = v, a.nn = w;
667
- const s = v.node().getBBox(), c = w.node().getBBox();
668
- if (k = Math.max(k, s.width), g = Math.max(g, c.width), b = Math.max(s.height, c.height), n) {
669
- const h = T.attributeKeyTypeList !== void 0 ? T.attributeKeyTypeList.join(",") : "", E = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-key`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", F().fontFamily).style("font-size", f + "px").text(h);
673
+ let R = 0;
674
+ const O = At(T.attributeType), v = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-type`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Z().fontFamily).style("font-size", p + "px").text(O), S = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-name`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Z().fontFamily).style("font-size", p + "px").text(T.attributeName), a = {};
675
+ a.tn = v, a.nn = S;
676
+ const n = v.node().getBBox(), c = S.node().getBBox();
677
+ if (m = Math.max(m, n.width), g = Math.max(g, c.width), R = Math.max(n.height, c.height), h) {
678
+ const d = T.attributeKeyTypeList !== void 0 ? T.attributeKeyTypeList.join(",") : "", E = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-key`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Z().fontFamily).style("font-size", p + "px").text(d);
670
679
  a.kn = E;
671
680
  const i = E.node().getBBox();
672
- R = Math.max(R, i.width), b = Math.max(b, i.height);
681
+ x = Math.max(x, i.width), R = Math.max(R, i.height);
673
682
  }
674
- if (p) {
675
- const h = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-comment`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", F().fontFamily).style("font-size", f + "px").text(T.attributeComment || "");
676
- a.cn = h;
677
- const E = h.node().getBBox();
678
- m = Math.max(m, E.width), b = Math.max(b, E.height);
683
+ if (_) {
684
+ const d = t.append("text").classed("er entityLabel", !0).attr("id", `${M}-comment`).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "left").style("font-family", Z().fontFamily).style("font-size", p + "px").text(T.attributeComment || "");
685
+ a.cn = d;
686
+ const E = d.node().getBBox();
687
+ y = Math.max(y, E.width), R = Math.max(R, E.height);
679
688
  }
680
- a.height = b, d.push(a), y += b + l * 2, I += 1;
689
+ a.height = R, o.push(a), N += R + u * 2, I += 1;
681
690
  });
682
- let C = 4;
683
- n && (C += 2), p && (C += 2);
684
- const W = k + g + R + m, P = {
691
+ let F = 4;
692
+ h && (F += 2), _ && (F += 2);
693
+ const W = m + g + x + y, C = {
685
694
  width: Math.max(
686
- O.minEntityWidth,
695
+ k.minEntityWidth,
687
696
  Math.max(
688
- _.width + O.entityPadding * 2,
689
- W + u * C
697
+ f.width + k.entityPadding * 2,
698
+ W + l * F
690
699
  )
691
700
  ),
692
- height: r.length > 0 ? y : Math.max(O.minEntityHeight, _.height + O.entityPadding * 2)
701
+ height: r.length > 0 ? N : Math.max(k.minEntityHeight, f.height + k.entityPadding * 2)
693
702
  };
694
703
  if (r.length > 0) {
695
704
  const T = Math.max(
696
705
  0,
697
- (P.width - W - u * C) / (C / 2)
706
+ (C.width - W - l * F) / (F / 2)
698
707
  );
699
708
  e.attr(
700
709
  "transform",
701
- "translate(" + P.width / 2 + "," + (l + _.height / 2) + ")"
710
+ "translate(" + C.width / 2 + "," + (u + f.height / 2) + ")"
702
711
  );
703
- let M = _.height + l * 2, b = "attributeBoxOdd";
704
- d.forEach((x) => {
705
- const v = M + l + x.height / 2;
706
- x.tn.attr("transform", "translate(" + u + "," + v + ")");
707
- const w = t.insert("rect", "#" + x.tn.node().id).classed(`er ${b}`, !0).attr("x", 0).attr("y", M).attr("width", k + u * 2 + T).attr("height", x.height + l * 2), a = parseFloat(w.attr("x")) + parseFloat(w.attr("width"));
708
- x.nn.attr(
712
+ let M = f.height + u * 2, R = "attributeBoxOdd";
713
+ o.forEach((O) => {
714
+ const v = M + u + O.height / 2;
715
+ O.tn.attr("transform", "translate(" + l + "," + v + ")");
716
+ const S = t.insert("rect", "#" + O.tn.node().id).classed(`er ${R}`, !0).attr("x", 0).attr("y", M).attr("width", m + l * 2 + T).attr("height", O.height + u * 2), a = parseFloat(S.attr("x")) + parseFloat(S.attr("width"));
717
+ O.nn.attr(
709
718
  "transform",
710
- "translate(" + (a + u) + "," + v + ")"
719
+ "translate(" + (a + l) + "," + v + ")"
711
720
  );
712
- const s = t.insert("rect", "#" + x.nn.node().id).classed(`er ${b}`, !0).attr("x", a).attr("y", M).attr("width", g + u * 2 + T).attr("height", x.height + l * 2);
713
- let c = parseFloat(s.attr("x")) + parseFloat(s.attr("width"));
714
- if (n) {
715
- x.kn.attr(
721
+ const n = t.insert("rect", "#" + O.nn.node().id).classed(`er ${R}`, !0).attr("x", a).attr("y", M).attr("width", g + l * 2 + T).attr("height", O.height + u * 2);
722
+ let c = parseFloat(n.attr("x")) + parseFloat(n.attr("width"));
723
+ if (h) {
724
+ O.kn.attr(
716
725
  "transform",
717
- "translate(" + (c + u) + "," + v + ")"
726
+ "translate(" + (c + l) + "," + v + ")"
718
727
  );
719
- const h = t.insert("rect", "#" + x.kn.node().id).classed(`er ${b}`, !0).attr("x", c).attr("y", M).attr("width", R + u * 2 + T).attr("height", x.height + l * 2);
720
- c = parseFloat(h.attr("x")) + parseFloat(h.attr("width"));
728
+ const d = t.insert("rect", "#" + O.kn.node().id).classed(`er ${R}`, !0).attr("x", c).attr("y", M).attr("width", x + l * 2 + T).attr("height", O.height + u * 2);
729
+ c = parseFloat(d.attr("x")) + parseFloat(d.attr("width"));
721
730
  }
722
- p && (x.cn.attr(
731
+ _ && (O.cn.attr(
723
732
  "transform",
724
- "translate(" + (c + u) + "," + v + ")"
725
- ), t.insert("rect", "#" + x.cn.node().id).classed(`er ${b}`, "true").attr("x", c).attr("y", M).attr("width", m + u * 2 + T).attr("height", x.height + l * 2)), M += x.height + l * 2, b = b === "attributeBoxOdd" ? "attributeBoxEven" : "attributeBoxOdd";
733
+ "translate(" + (c + l) + "," + v + ")"
734
+ ), t.insert("rect", "#" + O.cn.node().id).classed(`er ${R}`, "true").attr("x", c).attr("y", M).attr("width", y + l * 2 + T).attr("height", O.height + u * 2)), M += O.height + u * 2, R = R === "attributeBoxOdd" ? "attributeBoxEven" : "attributeBoxOdd";
726
735
  });
727
736
  } else
728
- P.height = Math.max(O.minEntityHeight, y), e.attr("transform", "translate(" + P.width / 2 + "," + P.height / 2 + ")");
729
- return P;
737
+ C.height = Math.max(k.minEntityHeight, N), e.attr("transform", "translate(" + C.width / 2 + "," + C.height / 2 + ")");
738
+ return C;
730
739
  }, ee = function(t, e, r) {
731
- const l = Object.keys(e);
732
- let u;
733
- return l.forEach(function(f) {
734
- const _ = oe(f, "entity");
735
- X.set(f, _);
736
- const d = t.append("g").attr("id", _);
737
- u = u === void 0 ? _ : u;
738
- const n = "text-" + _, p = d.append("text").classed("er entityLabel", !0).attr("id", n).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", F().fontFamily).style("font-size", O.fontSize + "px").text(e[f].alias ?? f), { width: k, height: g } = te(
739
- d,
740
- p,
741
- e[f].attributes
742
- ), m = d.insert("rect", "#" + n).classed("er entityBox", !0).attr("x", 0).attr("y", 0).attr("width", k).attr("height", g).node().getBBox();
743
- r.setNode(_, {
744
- width: m.width,
745
- height: m.height,
740
+ const u = Object.keys(e);
741
+ let l;
742
+ return u.forEach(function(p) {
743
+ const f = oe(p, "entity");
744
+ X.set(p, f);
745
+ const o = t.append("g").attr("id", f);
746
+ l = l === void 0 ? f : l;
747
+ const h = "text-" + f, _ = o.append("text").classed("er entityLabel", !0).attr("id", h).attr("x", 0).attr("y", 0).style("dominant-baseline", "middle").style("text-anchor", "middle").style("font-family", Z().fontFamily).style("font-size", k.fontSize + "px").text(e[p].alias ?? p), { width: m, height: g } = te(
748
+ o,
749
+ _,
750
+ e[p].attributes
751
+ ), y = o.insert("rect", "#" + h).classed("er entityBox", !0).attr("x", 0).attr("y", 0).attr("width", m).attr("height", g).node().getBBox();
752
+ r.setNode(f, {
753
+ width: y.width,
754
+ height: y.height,
746
755
  shape: "rect",
747
- id: _
756
+ id: f
748
757
  });
749
- }), u;
758
+ }), l;
750
759
  }, re = function(t, e) {
751
760
  e.nodes().forEach(function(r) {
752
761
  r !== void 0 && e.node(r) !== void 0 && t.select("#" + r).attr(
@@ -754,7 +763,7 @@ const $t = function(t) {
754
763
  "translate(" + (e.node(r).x - e.node(r).width / 2) + "," + (e.node(r).y - e.node(r).height / 2) + " )"
755
764
  );
756
765
  });
757
- }, yt = function(t) {
766
+ }, ut = function(t) {
758
767
  return (t.entityA + t.roleA + t.entityB).replace(/\s/g, "");
759
768
  }, ie = function(t, e) {
760
769
  return t.forEach(function(r) {
@@ -762,83 +771,83 @@ const $t = function(t) {
762
771
  X.get(r.entityA),
763
772
  X.get(r.entityB),
764
773
  { relationship: r },
765
- yt(r)
774
+ ut(r)
766
775
  );
767
776
  }), t;
768
777
  };
769
- let dt = 0;
770
- const ae = function(t, e, r, l, u) {
771
- dt++;
772
- const f = r.edge(
778
+ let ct = 0;
779
+ const ae = function(t, e, r, u, l) {
780
+ ct++;
781
+ const p = r.edge(
773
782
  X.get(e.entityA),
774
783
  X.get(e.entityB),
775
- yt(e)
776
- ), _ = Dt().x(function(y) {
777
- return y.x;
778
- }).y(function(y) {
779
- return y.y;
780
- }).curve(Mt), d = t.insert("path", "#" + l).classed("er relationshipLine", !0).attr("d", _(f.points)).style("stroke", O.stroke).style("fill", "none");
781
- e.relSpec.relType === u.db.Identification.NON_IDENTIFYING && d.attr("stroke-dasharray", "8,8");
782
- let n = "";
783
- switch (O.arrowMarkerAbsolute && (n = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, n = n.replace(/\(/g, "\\("), n = n.replace(/\)/g, "\\)")), e.relSpec.cardA) {
784
- case u.db.Cardinality.ZERO_OR_ONE:
785
- d.attr("marker-end", "url(" + n + "#" + B.ERMarkers.ZERO_OR_ONE_END + ")");
784
+ ut(e)
785
+ ), f = wt().x(function(N) {
786
+ return N.x;
787
+ }).y(function(N) {
788
+ return N.y;
789
+ }).curve(Tt), o = t.insert("path", "#" + u).classed("er relationshipLine", !0).attr("d", f(p.points)).style("stroke", k.stroke).style("fill", "none");
790
+ e.relSpec.relType === l.db.Identification.NON_IDENTIFYING && o.attr("stroke-dasharray", "8,8");
791
+ let h = "";
792
+ switch (k.arrowMarkerAbsolute && (h = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, h = h.replace(/\(/g, "\\("), h = h.replace(/\)/g, "\\)")), e.relSpec.cardA) {
793
+ case l.db.Cardinality.ZERO_OR_ONE:
794
+ o.attr("marker-end", "url(" + h + "#" + B.ERMarkers.ZERO_OR_ONE_END + ")");
786
795
  break;
787
- case u.db.Cardinality.ZERO_OR_MORE:
788
- d.attr("marker-end", "url(" + n + "#" + B.ERMarkers.ZERO_OR_MORE_END + ")");
796
+ case l.db.Cardinality.ZERO_OR_MORE:
797
+ o.attr("marker-end", "url(" + h + "#" + B.ERMarkers.ZERO_OR_MORE_END + ")");
789
798
  break;
790
- case u.db.Cardinality.ONE_OR_MORE:
791
- d.attr("marker-end", "url(" + n + "#" + B.ERMarkers.ONE_OR_MORE_END + ")");
799
+ case l.db.Cardinality.ONE_OR_MORE:
800
+ o.attr("marker-end", "url(" + h + "#" + B.ERMarkers.ONE_OR_MORE_END + ")");
792
801
  break;
793
- case u.db.Cardinality.ONLY_ONE:
794
- d.attr("marker-end", "url(" + n + "#" + B.ERMarkers.ONLY_ONE_END + ")");
802
+ case l.db.Cardinality.ONLY_ONE:
803
+ o.attr("marker-end", "url(" + h + "#" + B.ERMarkers.ONLY_ONE_END + ")");
795
804
  break;
796
- case u.db.Cardinality.MD_PARENT:
797
- d.attr("marker-end", "url(" + n + "#" + B.ERMarkers.MD_PARENT_END + ")");
805
+ case l.db.Cardinality.MD_PARENT:
806
+ o.attr("marker-end", "url(" + h + "#" + B.ERMarkers.MD_PARENT_END + ")");
798
807
  break;
799
808
  }
800
809
  switch (e.relSpec.cardB) {
801
- case u.db.Cardinality.ZERO_OR_ONE:
802
- d.attr(
810
+ case l.db.Cardinality.ZERO_OR_ONE:
811
+ o.attr(
803
812
  "marker-start",
804
- "url(" + n + "#" + B.ERMarkers.ZERO_OR_ONE_START + ")"
813
+ "url(" + h + "#" + B.ERMarkers.ZERO_OR_ONE_START + ")"
805
814
  );
806
815
  break;
807
- case u.db.Cardinality.ZERO_OR_MORE:
808
- d.attr(
816
+ case l.db.Cardinality.ZERO_OR_MORE:
817
+ o.attr(
809
818
  "marker-start",
810
- "url(" + n + "#" + B.ERMarkers.ZERO_OR_MORE_START + ")"
819
+ "url(" + h + "#" + B.ERMarkers.ZERO_OR_MORE_START + ")"
811
820
  );
812
821
  break;
813
- case u.db.Cardinality.ONE_OR_MORE:
814
- d.attr(
822
+ case l.db.Cardinality.ONE_OR_MORE:
823
+ o.attr(
815
824
  "marker-start",
816
- "url(" + n + "#" + B.ERMarkers.ONE_OR_MORE_START + ")"
825
+ "url(" + h + "#" + B.ERMarkers.ONE_OR_MORE_START + ")"
817
826
  );
818
827
  break;
819
- case u.db.Cardinality.ONLY_ONE:
820
- d.attr("marker-start", "url(" + n + "#" + B.ERMarkers.ONLY_ONE_START + ")");
828
+ case l.db.Cardinality.ONLY_ONE:
829
+ o.attr("marker-start", "url(" + h + "#" + B.ERMarkers.ONLY_ONE_START + ")");
821
830
  break;
822
- case u.db.Cardinality.MD_PARENT:
823
- d.attr("marker-start", "url(" + n + "#" + B.ERMarkers.MD_PARENT_START + ")");
831
+ case l.db.Cardinality.MD_PARENT:
832
+ o.attr("marker-start", "url(" + h + "#" + B.ERMarkers.MD_PARENT_START + ")");
824
833
  break;
825
834
  }
826
- const p = d.node().getTotalLength(), k = d.node().getPointAtLength(p * 0.5), g = "rel" + dt, m = t.append("text").classed("er relationshipLabel", !0).attr("id", g).attr("x", k.x).attr("y", k.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", F().fontFamily).style("font-size", O.fontSize + "px").text(e.roleA).node().getBBox();
827
- t.insert("rect", "#" + g).classed("er relationshipLabelBox", !0).attr("x", k.x - m.width / 2).attr("y", k.y - m.height / 2).attr("width", m.width).attr("height", m.height);
828
- }, ne = function(t, e, r, l) {
829
- O = F().er, V.info("Drawing ER diagram");
830
- const u = F().securityLevel;
831
- let f;
832
- u === "sandbox" && (f = rt("#i" + e));
833
- const d = (u === "sandbox" ? rt(f.nodes()[0].contentDocument.body) : rt("body")).select(`[id='${e}']`);
834
- B.insertMarkers(d, O);
835
- let n;
836
- n = new St({
835
+ const _ = o.node().getTotalLength(), m = o.node().getPointAtLength(_ * 0.5), g = "rel" + ct, y = t.append("text").classed("er relationshipLabel", !0).attr("id", g).attr("x", m.x).attr("y", m.y).style("text-anchor", "middle").style("dominant-baseline", "middle").style("font-family", Z().fontFamily).style("font-size", k.fontSize + "px").text(e.roleA).node().getBBox();
836
+ t.insert("rect", "#" + g).classed("er relationshipLabelBox", !0).attr("x", m.x - y.width / 2).attr("y", m.y - y.height / 2).attr("width", y.width).attr("height", y.height);
837
+ }, ne = function(t, e, r, u) {
838
+ k = Z().er, V.info("Drawing ER diagram");
839
+ const l = Z().securityLevel;
840
+ let p;
841
+ l === "sandbox" && (p = rt("#i" + e));
842
+ const o = (l === "sandbox" ? rt(p.nodes()[0].contentDocument.body) : rt("body")).select(`[id='${e}']`);
843
+ B.insertMarkers(o, k);
844
+ let h;
845
+ h = new Mt({
837
846
  multigraph: !0,
838
847
  directed: !0,
839
848
  compound: !1
840
849
  }).setGraph({
841
- rankdir: O.layoutDirection,
850
+ rankdir: k.layoutDirection,
842
851
  marginx: 20,
843
852
  marginy: 20,
844
853
  nodesep: 100,
@@ -847,23 +856,23 @@ const ae = function(t, e, r, l, u) {
847
856
  }).setDefaultEdgeLabel(function() {
848
857
  return {};
849
858
  });
850
- const p = ee(d, l.db.getEntities(), n), k = ie(l.db.getRelationships(), n);
851
- It(n), re(d, n), k.forEach(function(I) {
852
- ae(d, I, n, p, l);
859
+ const _ = ee(o, u.db.getEntities(), h), m = ie(u.db.getRelationships(), h);
860
+ St(h), re(o, h), m.forEach(function(I) {
861
+ ae(o, I, h, _, u);
853
862
  });
854
- const g = O.diagramPadding;
855
- Nt.insertTitle(d, "entityTitleText", O.titleTopMargin, l.db.getDiagramTitle());
856
- const R = d.node().getBBox(), m = R.width + g * 2, y = R.height + g * 2;
857
- Tt(d, y, m, O.useMaxWidth), d.attr("viewBox", `${R.x - g} ${R.y - g} ${m} ${y}`);
863
+ const g = k.diagramPadding;
864
+ Ot.insertTitle(o, "entityTitleText", k.titleTopMargin, u.db.getDiagramTitle());
865
+ const x = o.node().getBBox(), y = x.width + g * 2, N = x.height + g * 2;
866
+ bt(o, N, y, k.useMaxWidth), o.attr("viewBox", `${x.x - g} ${x.y - g} ${y} ${N}`);
858
867
  }, se = "28e9f9db-3c8d-5aa5-9faf-44286ae5937c";
859
868
  function oe(t = "", e = "") {
860
869
  const r = t.replace(Jt, "");
861
- return `${ut(e)}${ut(r)}${nt(
870
+ return `${ht(e)}${ht(r)}${Wt(
862
871
  t,
863
872
  se
864
873
  )}`;
865
874
  }
866
- function ut(t = "") {
875
+ function ht(t = "") {
867
876
  return t.length > 0 ? `${t}-` : "";
868
877
  }
869
878
  const le = {