@layers-app/editor 0.7.15 → 0.7.16

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 (237) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.d.ts +77 -1
  3. package/dist/index.js +15 -9
  4. package/dist/{layers.BQfSzTMx.js → layers.-fM6L_z3.js} +1 -1
  5. package/dist/{layers.BHcs7CqU.js → layers.0KANPDnB.js} +1 -1
  6. package/dist/{layers.DW62kNPb.js → layers.1Nv-nANB.js} +9 -6
  7. package/dist/layers.1bdyQGVP.js +8 -0
  8. package/dist/{layers.D3Vd3dna.js → layers.49H_5LNr.js} +1 -1
  9. package/dist/{layers.DEBfJf6Q.js → layers.4HZb3jXk.js} +1 -1
  10. package/dist/{layers.DZ1-iKEC.js → layers.4RmaHEsu.js} +1 -1
  11. package/dist/{layers.DB1s8GND.js → layers.5WzirB7G.js} +1 -1
  12. package/dist/{layers.C2Snani7.js → layers.5bSjIKfg.js} +1 -1
  13. package/dist/{layers.DWpXde7j.js → layers.7oLFJZ8l.js} +1 -1
  14. package/dist/{layers.D5TYe_t6.js → layers.7xkZRnuM.js} +1 -1
  15. package/dist/{layers.D3GALwgA.js → layers.ABhWEnmQ.js} +1 -1
  16. package/dist/{layers.DF6gld-u.js → layers.B-8gEV_E.js} +3 -3
  17. package/dist/{layers.Coz7xkYs.js → layers.B-9QQMGw.js} +1 -1
  18. package/dist/{layers.D17Dmom7.js → layers.B0sBopW9.js} +1 -1
  19. package/dist/{layers.Bc5nZC3Y.js → layers.B1ySJNCM.js} +1 -1
  20. package/dist/{layers.DsHK2Ar2.js → layers.B2BhJZ0D.js} +1 -1
  21. package/dist/{layers.C8f8Dvmj.js → layers.B2iVWMcm.js} +1 -1
  22. package/dist/{layers.B-uN2dv6.js → layers.B6Va7v9s.js} +1 -1
  23. package/dist/layers.B82wcYq0.js +271 -0
  24. package/dist/{layers.D-ozIqh2.js → layers.BAU0IeY7.js} +1 -1
  25. package/dist/layers.BCD7sjs8.js +1 -0
  26. package/dist/{layers.CP8mkVAF.js → layers.BEUJQJGq.js} +1 -1
  27. package/dist/{layers.NAvAltHE.js → layers.BGDCJs-p.js} +1 -1
  28. package/dist/{layers.BBTHDb_P.js → layers.BHz2k1im.js} +1 -1
  29. package/dist/{layers.mA-ZoRCk.js → layers.BIM8NeWS.js} +1 -1
  30. package/dist/{layers.BGG2KrZD.js → layers.BIbdMSbX.js} +92 -89
  31. package/dist/{layers.DJK9E0iz.js → layers.BJhjIY5r.js} +1 -1
  32. package/dist/{layers.q9n8pS5N.js → layers.BJmaj5SY.js} +1 -1
  33. package/dist/{layers.BaZPyxUt.js → layers.BKy18lBk.js} +1 -1
  34. package/dist/{layers.AmrlbWu1.js → layers.BL3wEq7M.js} +1 -1
  35. package/dist/{layers.Dxu3Xyi3.js → layers.BLKD1Tiy.js} +1 -1
  36. package/dist/{layers.NsLqNUEF.js → layers.BNR6f37h.js} +1 -1
  37. package/dist/{layers.DPxVCpug.js → layers.BNkwxNgt.js} +1 -1
  38. package/dist/layers.BOMC5c1j.js +2 -0
  39. package/dist/{layers.Bd22pBlW.js → layers.BQL01Vq6.js} +1 -1
  40. package/dist/{layers.C99Cexqw.js → layers.BQm21WlP.js} +1 -1
  41. package/dist/{layers.qGNJ--WQ.js → layers.BRGRJfuK.js} +1 -1
  42. package/dist/{layers.oVkUiGD5.js → layers.BXDV2XaW.js} +1 -1
  43. package/dist/{layers.Clg4qKJE.js → layers.B_Vwa8Hx.js} +1 -1
  44. package/dist/{layers.B69R6aNe.js → layers.B_jUVHTe.js} +1 -1
  45. package/dist/{layers.fMORkKD1.js → layers.BakV9gnD.js} +1 -1
  46. package/dist/{layers.CMeoX_6d.js → layers.BbbyE_Pc.js} +1 -1
  47. package/dist/{layers.Cyriz6h0.js → layers.Bd6ptC9U.js} +1 -1
  48. package/dist/{layers.Dvj9GF2t.js → layers.BeCuix4V.js} +1 -1
  49. package/dist/{layers.BqwXjSdW.js → layers.BeFEsW5q.js} +1 -1
  50. package/dist/{layers.DTpQsyHL.js → layers.BfVGjstp.js} +1 -1
  51. package/dist/{layers.tKYD6YFQ.js → layers.BgEbqAdb.js} +3 -3
  52. package/dist/{layers.Cf3UeiB-.js → layers.Bk40urId.js} +3 -3
  53. package/dist/{layers.Dl2HBQxC.js → layers.Blc4R7F2.js} +1 -1
  54. package/dist/{layers.D7rWRjC3.js → layers.Bny7BWT9.js} +1 -1
  55. package/dist/layers.Bpnbfq-r.js +1 -0
  56. package/dist/{layers.CxdXwrxt.js → layers.BrbcqGdA.js} +11 -8
  57. package/dist/{layers.B5bpf_7p.js → layers.BvGgfImM.js} +7 -7
  58. package/dist/{layers.DYpK4YMg.js → layers.BywviGiP.js} +1 -1
  59. package/dist/layers.C-_ynqvr.js +1 -0
  60. package/dist/{layers.CfQfH2uJ.js → layers.C1actZbK.js} +1 -1
  61. package/dist/{layers.BUVnl6Le.js → layers.C3DRx9On.js} +4 -4
  62. package/dist/{layers.KwB0GlFE.js → layers.C3SAUwXb.js} +1 -1
  63. package/dist/{layers.BRERX0Ta.js → layers.C3yLkCio.js} +1 -1
  64. package/dist/layers.C6fD5O8g.js +6 -0
  65. package/dist/{layers.CChpNaZS.js → layers.C8YD8pwl.js} +1 -1
  66. package/dist/{layers.CZ1OaFnb.js → layers.C92R-ENv.js} +1 -1
  67. package/dist/layers.C9QCrDzm.js +1 -0
  68. package/dist/{layers.CmhjLkPQ.js → layers.C9_vX7IO.js} +3 -3
  69. package/dist/{layers.BleViEhx.js → layers.CA_fw2Dw.js} +1 -1
  70. package/dist/layers.CB61rfHO.js +1225 -0
  71. package/dist/{layers.DKXsz8De.js → layers.CCur6VEj.js} +2 -2
  72. package/dist/{layers.ymjb604H.js → layers.CFLfRAu0.js} +2 -2
  73. package/dist/{layers.nZCdSvk1.js → layers.CFcHk-z5.js} +7 -4
  74. package/dist/{layers.DKW7xVDB.js → layers.CFmNZSAJ.js} +1 -1
  75. package/dist/{layers.CnNiivey.js → layers.CGajZ1Yz.js} +1 -1
  76. package/dist/{layers.DtSwBGHi.js → layers.CHhFVTiW.js} +1 -1
  77. package/dist/{layers.CxgVGyGF.js → layers.CJ1YRhUh.js} +1 -1
  78. package/dist/{layers.BKe6olqL.js → layers.CJtE2LxP.js} +227 -224
  79. package/dist/{layers.BiR2CF-2.js → layers.CJyO2xrs.js} +1 -1
  80. package/dist/{layers.CoQmjZ4J.js → layers.CMyb9_FE.js} +1 -1
  81. package/dist/{layers.DXEokfvb.js → layers.COjckA33.js} +1 -1
  82. package/dist/{layers.DveaDpN8.js → layers.CPJSmpbw.js} +1 -1
  83. package/dist/{layers.DSl-zfQT.js → layers.CQvaw3yb.js} +1 -1
  84. package/dist/{layers.3fYhTnFF.js → layers.CRht5Nqq.js} +17 -14
  85. package/dist/{layers.D8UT-P1H.js → layers.CSXAHvGG.js} +1 -1
  86. package/dist/{layers.-HEzHycj.js → layers.CTaitOnb.js} +1 -1
  87. package/dist/{layers.DekD8orP.js → layers.CV8UgwCq.js} +36 -36
  88. package/dist/{layers.Cz9QvGey.js → layers.CVJOismf.js} +1 -1
  89. package/dist/{layers.CCH5qSih.js → layers.CXWtqfTe.js} +10 -7
  90. package/dist/layers.CYPfnKfS.js +96 -0
  91. package/dist/{layers.B00-1iAV.js → layers.CYdP1IhC.js} +1 -1
  92. package/dist/{layers.D3j9uNzd.js → layers.CYneLciB.js} +13 -10
  93. package/dist/layers.CZLVHOh5.js +8 -0
  94. package/dist/{layers.BE-zaOC2.js → layers.CbBTbZIx.js} +1 -1
  95. package/dist/layers.CcP6Z-gZ.js +118 -0
  96. package/dist/{layers.qhcxehdz.js → layers.CcTyCqqv.js} +1 -1
  97. package/dist/{layers.sLOyQZcV.js → layers.Cd3kGFCJ.js} +1 -1
  98. package/dist/{layers.Dbb-j6ep.js → layers.Ce7-wBOK.js} +1 -1
  99. package/dist/{layers.cM9zXLVC.js → layers.Cf5sVqJX.js} +1 -1
  100. package/dist/{layers.JEEhIg0m.js → layers.CfISeAkt.js} +86 -84
  101. package/dist/{layers.Dlplq5Vl.js → layers.Cg3Hqyp6.js} +1 -1
  102. package/dist/{layers.CXfyEibx.js → layers.Cg60w1Fn.js} +7 -4
  103. package/dist/layers.Chd1p2rt.js +26645 -0
  104. package/dist/{layers.Bv10AxGq.js → layers.CiTNX3uh.js} +1 -1
  105. package/dist/{layers.DYLSrRDw.js → layers.CkwenT1M.js} +1 -1
  106. package/dist/{layers.Dq67pw8V.js → layers.CnN8JfiX.js} +9 -6
  107. package/dist/{layers.Y0IKjrt2.js → layers.Coh6z7rV.js} +1 -1
  108. package/dist/{layers.ae6QjKlD.js → layers.CpJSdiMb.js} +1 -1
  109. package/dist/{layers.D_ZNOxp7.js → layers.Cryqj610.js} +8 -5
  110. package/dist/{layers.CTCi1Zya.js → layers.Cs-83js7.js} +1 -1
  111. package/dist/{layers.7OvdxGRE.js → layers.CsivQuv1.js} +1 -1
  112. package/dist/{layers.DGBPtrAj.js → layers.Cud-IArB.js} +1 -1
  113. package/dist/{layers.DB79nMwy.js → layers.CwL02t3J.js} +1 -1
  114. package/dist/{layers.iQx1OnXH.js → layers.CwsNJfmi.js} +1 -1
  115. package/dist/{layers.D2ept2hx.js → layers.CxIhyFb7.js} +6 -2
  116. package/dist/{layers.CDED3tG-.js → layers.Cxh-oez0.js} +6 -6
  117. package/dist/layers.D-uio-rN.js +423 -0
  118. package/dist/{layers.QbyGQk-s.js → layers.D0RX234F.js} +1 -1
  119. package/dist/{layers.BcdD4Kub.js → layers.D176Ljko.js} +1 -1
  120. package/dist/{layers.8-443yyd.js → layers.D2cVaX5z.js} +20 -17
  121. package/dist/layers.D4Bw_BrO.js +1 -0
  122. package/dist/{layers.1nXpKAJ2.js → layers.D8fFj0P_.js} +1 -1
  123. package/dist/{layers.b-XvW4-V.js → layers.D9N3lSue.js} +6 -6
  124. package/dist/{layers.DqIJvqbu.js → layers.DAmxkO9p.js} +1 -1
  125. package/dist/{layers.vSt9xurF.js → layers.DBwG7x-W.js} +1 -1
  126. package/dist/{layers.DC-Esj9C.js → layers.DDFbkCJT.js} +1 -1
  127. package/dist/{layers.DZNtacAC.js → layers.DDnI7-13.js} +1 -1
  128. package/dist/{layers.XqsjM4Js.js → layers.DE6w34F3.js} +1 -1
  129. package/dist/{layers.0Ig7SAGH.js → layers.DEaAvR_W.js} +18 -15
  130. package/dist/{layers.rigCtjVk.js → layers.DEtMl_i3.js} +1 -1
  131. package/dist/{layers.D5aMPhta.js → layers.DHNIckw6.js} +1 -1
  132. package/dist/layers.DHVcgZzL.js +257 -0
  133. package/dist/{layers.iA_Fgo9z.js → layers.DHcbExrH.js} +3 -3
  134. package/dist/{layers.CyNyXxvj.js → layers.DIpDvY-A.js} +1 -1
  135. package/dist/{layers.DuDf1ezU.js → layers.DJM_OF_R.js} +1 -1
  136. package/dist/{layers.LqgkRSDx.js → layers.DLJtS0JJ.js} +1 -1
  137. package/dist/{layers.DQ9tLViO.js → layers.DNJtYtN1.js} +1 -1
  138. package/dist/layers.DUlTmlus.js +213 -0
  139. package/dist/{layers.BP0cLCdC.js → layers.DUutOP8h.js} +1 -1
  140. package/dist/{layers.BHNil4iz.js → layers.DVWaIKgr.js} +12 -9
  141. package/dist/{layers.B7KSJCCk.js → layers.D_WwW4Fn.js} +1 -1
  142. package/dist/{layers.Bv7vodST.js → layers.D_fPGQ6i.js} +1 -1
  143. package/dist/{layers.BzhWDlph.js → layers.D_faABvp.js} +3744 -3749
  144. package/dist/{layers.BvBoMXd2.js → layers.DaIprEGs.js} +1 -1
  145. package/dist/{layers.D4YtD7iL.js → layers.Db0NyGA-.js} +1 -1
  146. package/dist/{layers.CoSEj_NH.js → layers.DdMy9cRx.js} +7 -7
  147. package/dist/{layers.DHkz5z4N.js → layers.De35CioU.js} +1 -1
  148. package/dist/{layers.fMMLMI12.js → layers.DgO3Q5mW.js} +1 -1
  149. package/dist/{layers.DGBh4sVh.js → layers.Di-PcJK6.js} +1 -1
  150. package/dist/{layers.BBLGcPGg.js → layers.DjCXWv2m.js} +1 -1
  151. package/dist/{layers.CmyzESvD.js → layers.Dk2S8boy.js} +1 -1
  152. package/dist/{layers.CTlgEeVk.js → layers.DkBjWcDH.js} +8 -5
  153. package/dist/{layers.Se5UBbOF.js → layers.DnRaD217.js} +3231 -3814
  154. package/dist/{layers.CjVZz9BF.js → layers.DnvnGxUC.js} +1 -1
  155. package/dist/{layers.DZGTkrsO.js → layers.DrarpmaN.js} +7 -4
  156. package/dist/{layers.DTj0lXel.js → layers.DukGouVT.js} +1 -1
  157. package/dist/{layers.BbBLP9cJ.js → layers.DvYYNhUp.js} +1 -1
  158. package/dist/layers.Dv_6xN7s.js +2 -0
  159. package/dist/layers.DwWUZK6s.js +129 -0
  160. package/dist/{layers.DZRyTn6M.js → layers.DwzO2zcv.js} +1 -1
  161. package/dist/{layers.Da2uCCzT.js → layers.DzD-lWXV.js} +8 -5
  162. package/dist/{layers.BHv2-g4M.js → layers.E0TLXdrR.js} +1 -1
  163. package/dist/{layers.EMkoiu95.js → layers.EcqLW9Mh.js} +1 -1
  164. package/dist/{layers.CxUvO3nD.js → layers.F4d4ILBH.js} +95 -92
  165. package/dist/{layers.CSGRMqOI.js → layers.G3enfHRT.js} +1 -1
  166. package/dist/{layers.B7TEkwGs.js → layers.HFONz6O9.js} +4 -4
  167. package/dist/{layers.BlxPj2ft.js → layers.IUqwmZRd.js} +3 -3
  168. package/dist/{layers.HJGAV_6P.js → layers.IbJq0D6U.js} +1 -1
  169. package/dist/{layers.B6ZBiQ9y.js → layers.Ic3KgoPg.js} +1 -1
  170. package/dist/{layers.CMTtWk9r.js → layers.JNgL8WWu.js} +1 -1
  171. package/dist/{layers.0huivShe.js → layers.KT-QFgdb.js} +1 -1
  172. package/dist/{layers.DhJGs9D9.js → layers.LCfVvo3T.js} +1 -1
  173. package/dist/{layers.CxE_w_kd.js → layers.LR-nMBU_.js} +8 -5
  174. package/dist/layers.Qt2qr0-t.js +76 -0
  175. package/dist/{layers.DS6uH7WL.js → layers.R8mPlCA0.js} +1 -1
  176. package/dist/{layers.CrNTTDsw.js → layers.SCsPWeXb.js} +1 -1
  177. package/dist/{layers.BFh4kozj.js → layers.U4NCf2-l.js} +3 -3
  178. package/dist/{layers.B44wzkNx.js → layers.UewvnK33.js} +1 -1
  179. package/dist/{layers.CsC8UAA5.js → layers.VfVZmEbK.js} +1 -1
  180. package/dist/{layers.Bxqbtq5y.js → layers.Vh-KvhZg.js} +1 -1
  181. package/dist/{layers.LSr3ZSq0.js → layers.Y3D9xjCC.js} +1 -1
  182. package/dist/{layers.DXl6OGkS.js → layers.YT6D6D2x.js} +1 -1
  183. package/dist/{layers.DMlO9Mu6.js → layers._y8hExIw.js} +9 -6
  184. package/dist/layers.a8-4vDzD.js +22 -0
  185. package/dist/{layers.CfFB1Jdb.js → layers.aGzHUJ1W.js} +4 -4
  186. package/dist/{layers.C6SjTJMZ.js → layers.b9B2NY7n.js} +2 -2
  187. package/dist/{layers.Cc0Vj494.js → layers.ck9pUJ0W.js} +1 -1
  188. package/dist/{layers.2QIBFyz0.js → layers.d3HoUueQ.js} +1 -1
  189. package/dist/layers.dWB4bggP.js +1 -0
  190. package/dist/{layers.DXSG6UTB.js → layers.dh8xLSwh.js} +1 -1
  191. package/dist/{layers.Csay1TY9.js → layers.eT_ZPmHS.js} +1 -1
  192. package/dist/{layers.DFPipsvw.js → layers.fumrrA0i.js} +3 -3
  193. package/dist/{layers.oMvas05W.js → layers.gVfRcFrJ.js} +1 -1
  194. package/dist/{layers.CBhNW4x3.js → layers.js7-Kn9p.js} +1 -1
  195. package/dist/{layers.D2kxkk3M.js → layers.kW7XFPN_.js} +1 -1
  196. package/dist/layers.mobYTQXI.js +1 -0
  197. package/dist/{layers.2FGRH0to.js → layers.mvotlTNZ.js} +1 -1
  198. package/dist/{layers.Br03igaE.js → layers.n1dibO8I.js} +1 -1
  199. package/dist/layers.nRPZ1e3g.js +1 -0
  200. package/dist/layers.o2u1uDM3.js +1 -0
  201. package/dist/layers.oJ31-KOl.js +6 -0
  202. package/dist/{layers.BaF5V6eT.js → layers.ojcNGNgi.js} +1 -1
  203. package/dist/{layers.C14IhTUb.js → layers.otxU0wtq.js} +1 -1
  204. package/dist/layers.rE9xnPLC.js +1 -0
  205. package/dist/{layers.YCN45krj.js → layers.s0KLXd5N.js} +1 -1
  206. package/dist/{layers.CXMTQ4Qs.js → layers.sqH5TpK8.js} +1 -1
  207. package/dist/{layers.Cic_oB60.js → layers.t_MFWlU6.js} +1 -1
  208. package/dist/{layers.2rBPbs2X.js → layers.xrt74v23.js} +1 -1
  209. package/dist/{layers.eqg2Wrbo.js → layers.zNb0110W.js} +1 -1
  210. package/package.json +24 -23
  211. package/dist/layers.1BQdieb-.js +0 -198
  212. package/dist/layers.B8bQ9R7v.js +0 -1
  213. package/dist/layers.BEoiYZ9C.js +0 -2
  214. package/dist/layers.BEwSO8pM.js +0 -118
  215. package/dist/layers.BRp0FVsS.js +0 -1
  216. package/dist/layers.Bbe25s3_.js +0 -1
  217. package/dist/layers.BkR5zRHn.js +0 -2
  218. package/dist/layers.BkpzTL2k.js +0 -1
  219. package/dist/layers.BqIIcYfB.js +0 -1
  220. package/dist/layers.BxEWWb9m.js +0 -96
  221. package/dist/layers.C4sqTK_F.js +0 -1
  222. package/dist/layers.CQIsVcwC.js +0 -6
  223. package/dist/layers.CTRdszML.js +0 -208
  224. package/dist/layers.CqT_gss2.js +0 -48035
  225. package/dist/layers.CsWTu1pX.js +0 -1
  226. package/dist/layers.CslnYMwL.js +0 -1
  227. package/dist/layers.CxWy2u81.js +0 -257
  228. package/dist/layers.D8q8EQ25.js +0 -19
  229. package/dist/layers.DSizcPmk.js +0 -304
  230. package/dist/layers.DrCX7uk-.js +0 -1
  231. package/dist/layers.DwoR4aww.js +0 -1
  232. package/dist/layers.F-T8S6hH.js +0 -423
  233. package/dist/layers.JZD2ERjq.js +0 -8
  234. package/dist/layers.SCq_rm-E.js +0 -74
  235. package/dist/layers.VNi0OGm-.js +0 -1359
  236. package/dist/layers.lU1KJbBR.js +0 -8
  237. package/dist/layers.wUbLWqHf.js +0 -7
@@ -0,0 +1,423 @@
1
+ import { aj as un, ak as I, al as U, am as fn, an as Y } from "./layers.DnRaD217.js";
2
+ import { i as cn } from "./layers.DjUOC4st.js";
3
+ function F(n, t) {
4
+ return n == null || t == null ? NaN : n < t ? -1 : n > t ? 1 : n >= t ? 0 : NaN;
5
+ }
6
+ function hn(n, t) {
7
+ return n == null || t == null ? NaN : t < n ? -1 : t > n ? 1 : t >= n ? 0 : NaN;
8
+ }
9
+ function _(n) {
10
+ let t, e, r;
11
+ n.length !== 2 ? (t = F, e = (u, c) => F(n(u), c), r = (u, c) => n(u) - c) : (t = n === F || n === hn ? n : mn, e = n, r = n);
12
+ function i(u, c, o = 0, s = u.length) {
13
+ if (o < s) {
14
+ if (t(c, c) !== 0) return s;
15
+ do {
16
+ const h = o + s >>> 1;
17
+ e(u[h], c) < 0 ? o = h + 1 : s = h;
18
+ } while (o < s);
19
+ }
20
+ return o;
21
+ }
22
+ function f(u, c, o = 0, s = u.length) {
23
+ if (o < s) {
24
+ if (t(c, c) !== 0) return s;
25
+ do {
26
+ const h = o + s >>> 1;
27
+ e(u[h], c) <= 0 ? o = h + 1 : s = h;
28
+ } while (o < s);
29
+ }
30
+ return o;
31
+ }
32
+ function a(u, c, o = 0, s = u.length) {
33
+ const h = i(u, c, o, s - 1);
34
+ return h > o && r(u[h - 1], c) > -r(u[h], c) ? h - 1 : h;
35
+ }
36
+ return { left: i, center: a, right: f };
37
+ }
38
+ function mn() {
39
+ return 0;
40
+ }
41
+ function ln(n) {
42
+ return n === null ? NaN : +n;
43
+ }
44
+ const sn = _(F), dn = sn.right;
45
+ _(ln).center;
46
+ const gn = Math.sqrt(50), yn = Math.sqrt(10), Mn = Math.sqrt(2);
47
+ function R(n, t, e) {
48
+ const r = (t - n) / Math.max(0, e), i = Math.floor(Math.log10(r)), f = r / Math.pow(10, i), a = f >= gn ? 10 : f >= yn ? 5 : f >= Mn ? 2 : 1;
49
+ let u, c, o;
50
+ return i < 0 ? (o = Math.pow(10, -i) / a, u = Math.round(n * o), c = Math.round(t * o), u / o < n && ++u, c / o > t && --c, o = -o) : (o = Math.pow(10, i) * a, u = Math.round(n / o), c = Math.round(t / o), u * o < n && ++u, c * o > t && --c), c < u && 0.5 <= e && e < 2 ? R(n, t, e * 2) : [u, c, o];
51
+ }
52
+ function pn(n, t, e) {
53
+ if (t = +t, n = +n, e = +e, !(e > 0)) return [];
54
+ if (n === t) return [n];
55
+ const r = t < n, [i, f, a] = r ? R(t, n, e) : R(n, t, e);
56
+ if (!(f >= i)) return [];
57
+ const u = f - i + 1, c = new Array(u);
58
+ if (r)
59
+ if (a < 0) for (let o = 0; o < u; ++o) c[o] = (f - o) / -a;
60
+ else for (let o = 0; o < u; ++o) c[o] = (f - o) * a;
61
+ else if (a < 0) for (let o = 0; o < u; ++o) c[o] = (i + o) / -a;
62
+ else for (let o = 0; o < u; ++o) c[o] = (i + o) * a;
63
+ return c;
64
+ }
65
+ function L(n, t, e) {
66
+ return t = +t, n = +n, e = +e, R(n, t, e)[2];
67
+ }
68
+ function wn(n, t, e) {
69
+ t = +t, n = +n, e = +e;
70
+ const r = t < n, i = r ? L(t, n, e) : L(n, t, e);
71
+ return (r ? -1 : 1) * (i < 0 ? 1 / -i : i);
72
+ }
73
+ function Nn(n, t) {
74
+ t || (t = []);
75
+ var e = n ? Math.min(t.length, n.length) : 0, r = t.slice(), i;
76
+ return function(f) {
77
+ for (i = 0; i < e; ++i) r[i] = n[i] * (1 - f) + t[i] * f;
78
+ return r;
79
+ };
80
+ }
81
+ function kn(n) {
82
+ return ArrayBuffer.isView(n) && !(n instanceof DataView);
83
+ }
84
+ function xn(n, t) {
85
+ var e = t ? t.length : 0, r = n ? Math.min(e, n.length) : 0, i = new Array(r), f = new Array(e), a;
86
+ for (a = 0; a < r; ++a) i[a] = C(n[a], t[a]);
87
+ for (; a < e; ++a) f[a] = t[a];
88
+ return function(u) {
89
+ for (a = 0; a < r; ++a) f[a] = i[a](u);
90
+ return f;
91
+ };
92
+ }
93
+ function An(n, t) {
94
+ var e = /* @__PURE__ */ new Date();
95
+ return n = +n, t = +t, function(r) {
96
+ return e.setTime(n * (1 - r) + t * r), e;
97
+ };
98
+ }
99
+ function vn(n, t) {
100
+ var e = {}, r = {}, i;
101
+ (n === null || typeof n != "object") && (n = {}), (t === null || typeof t != "object") && (t = {});
102
+ for (i in t)
103
+ i in n ? e[i] = C(n[i], t[i]) : r[i] = t[i];
104
+ return function(f) {
105
+ for (i in e) r[i] = e[i](f);
106
+ return r;
107
+ };
108
+ }
109
+ function C(n, t) {
110
+ var e = typeof t, r;
111
+ return t == null || e === "boolean" ? un(t) : (e === "number" ? I : e === "string" ? (r = Y(t)) ? (t = r, U) : fn : t instanceof Y ? U : t instanceof Date ? An : kn(t) ? Nn : Array.isArray(t) ? xn : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? vn : I)(n, t);
112
+ }
113
+ function Sn(n, t) {
114
+ return n = +n, t = +t, function(e) {
115
+ return Math.round(n * (1 - e) + t * e);
116
+ };
117
+ }
118
+ function bn(n) {
119
+ return Math.abs(n = Math.round(n)) >= 1e21 ? n.toLocaleString("en").replace(/,/g, "") : n.toString(10);
120
+ }
121
+ function E(n, t) {
122
+ if ((e = (n = t ? n.toExponential(t - 1) : n.toExponential()).indexOf("e")) < 0) return null;
123
+ var e, r = n.slice(0, e);
124
+ return [
125
+ r.length > 1 ? r[0] + r.slice(2) : r,
126
+ +n.slice(e + 1)
127
+ ];
128
+ }
129
+ function v(n) {
130
+ return n = E(Math.abs(n)), n ? n[1] : NaN;
131
+ }
132
+ function jn(n, t) {
133
+ return function(e, r) {
134
+ for (var i = e.length, f = [], a = 0, u = n[0], c = 0; i > 0 && u > 0 && (c + u + 1 > r && (u = Math.max(1, r - c)), f.push(e.substring(i -= u, i + u)), !((c += u + 1) > r)); )
135
+ u = n[a = (a + 1) % n.length];
136
+ return f.reverse().join(t);
137
+ };
138
+ }
139
+ function Pn(n) {
140
+ return function(t) {
141
+ return t.replace(/[0-9]/g, function(e) {
142
+ return n[+e];
143
+ });
144
+ };
145
+ }
146
+ var zn = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
147
+ function D(n) {
148
+ if (!(t = zn.exec(n))) throw new Error("invalid format: " + n);
149
+ var t;
150
+ return new B({
151
+ fill: t[1],
152
+ align: t[2],
153
+ sign: t[3],
154
+ symbol: t[4],
155
+ zero: t[5],
156
+ width: t[6],
157
+ comma: t[7],
158
+ precision: t[8] && t[8].slice(1),
159
+ trim: t[9],
160
+ type: t[10]
161
+ });
162
+ }
163
+ D.prototype = B.prototype;
164
+ function B(n) {
165
+ this.fill = n.fill === void 0 ? " " : n.fill + "", this.align = n.align === void 0 ? ">" : n.align + "", this.sign = n.sign === void 0 ? "-" : n.sign + "", this.symbol = n.symbol === void 0 ? "" : n.symbol + "", this.zero = !!n.zero, this.width = n.width === void 0 ? void 0 : +n.width, this.comma = !!n.comma, this.precision = n.precision === void 0 ? void 0 : +n.precision, this.trim = !!n.trim, this.type = n.type === void 0 ? "" : n.type + "";
166
+ }
167
+ B.prototype.toString = function() {
168
+ return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
169
+ };
170
+ function $n(n) {
171
+ n: for (var t = n.length, e = 1, r = -1, i; e < t; ++e)
172
+ switch (n[e]) {
173
+ case ".":
174
+ r = i = e;
175
+ break;
176
+ case "0":
177
+ r === 0 && (r = e), i = e;
178
+ break;
179
+ default:
180
+ if (!+n[e]) break n;
181
+ r > 0 && (r = 0);
182
+ break;
183
+ }
184
+ return r > 0 ? n.slice(0, r) + n.slice(i + 1) : n;
185
+ }
186
+ var nn;
187
+ function Fn(n, t) {
188
+ var e = E(n, t);
189
+ if (!e) return n + "";
190
+ var r = e[0], i = e[1], f = i - (nn = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, a = r.length;
191
+ return f === a ? r : f > a ? r + new Array(f - a + 1).join("0") : f > 0 ? r.slice(0, f) + "." + r.slice(f) : "0." + new Array(1 - f).join("0") + E(n, Math.max(0, t + f - 1))[0];
192
+ }
193
+ function Z(n, t) {
194
+ var e = E(n, t);
195
+ if (!e) return n + "";
196
+ var r = e[0], i = e[1];
197
+ return i < 0 ? "0." + new Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + new Array(i - r.length + 2).join("0");
198
+ }
199
+ const H = {
200
+ "%": (n, t) => (n * 100).toFixed(t),
201
+ b: (n) => Math.round(n).toString(2),
202
+ c: (n) => n + "",
203
+ d: bn,
204
+ e: (n, t) => n.toExponential(t),
205
+ f: (n, t) => n.toFixed(t),
206
+ g: (n, t) => n.toPrecision(t),
207
+ o: (n) => Math.round(n).toString(8),
208
+ p: (n, t) => Z(n * 100, t),
209
+ r: Z,
210
+ s: Fn,
211
+ X: (n) => Math.round(n).toString(16).toUpperCase(),
212
+ x: (n) => Math.round(n).toString(16)
213
+ };
214
+ function J(n) {
215
+ return n;
216
+ }
217
+ var K = Array.prototype.map, Q = ["y", "z", "a", "f", "p", "n", "µ", "m", "", "k", "M", "G", "T", "P", "E", "Z", "Y"];
218
+ function Rn(n) {
219
+ var t = n.grouping === void 0 || n.thousands === void 0 ? J : jn(K.call(n.grouping, Number), n.thousands + ""), e = n.currency === void 0 ? "" : n.currency[0] + "", r = n.currency === void 0 ? "" : n.currency[1] + "", i = n.decimal === void 0 ? "." : n.decimal + "", f = n.numerals === void 0 ? J : Pn(K.call(n.numerals, String)), a = n.percent === void 0 ? "%" : n.percent + "", u = n.minus === void 0 ? "−" : n.minus + "", c = n.nan === void 0 ? "NaN" : n.nan + "";
220
+ function o(h) {
221
+ h = D(h);
222
+ var l = h.fill, p = h.align, y = h.sign, S = h.symbol, k = h.zero, b = h.width, T = h.comma, w = h.precision, G = h.trim, d = h.type;
223
+ d === "n" ? (T = !0, d = "g") : H[d] || (w === void 0 && (w = 12), G = !0, d = "g"), (k || l === "0" && p === "=") && (k = !0, l = "0", p = "=");
224
+ var en = S === "$" ? e : S === "#" && /[boxX]/.test(d) ? "0" + d.toLowerCase() : "", on = S === "$" ? r : /[%p]/.test(d) ? a : "", O = H[d], an = /[defgprs%]/.test(d);
225
+ w = w === void 0 ? 6 : /[gprs]/.test(d) ? Math.max(1, Math.min(21, w)) : Math.max(0, Math.min(20, w));
226
+ function V(m) {
227
+ var N = en, g = on, x, X, j;
228
+ if (d === "c")
229
+ g = O(m) + g, m = "";
230
+ else {
231
+ m = +m;
232
+ var P = m < 0 || 1 / m < 0;
233
+ if (m = isNaN(m) ? c : O(Math.abs(m), w), G && (m = $n(m)), P && +m == 0 && y !== "+" && (P = !1), N = (P ? y === "(" ? y : u : y === "-" || y === "(" ? "" : y) + N, g = (d === "s" ? Q[8 + nn / 3] : "") + g + (P && y === "(" ? ")" : ""), an) {
234
+ for (x = -1, X = m.length; ++x < X; )
235
+ if (j = m.charCodeAt(x), 48 > j || j > 57) {
236
+ g = (j === 46 ? i + m.slice(x + 1) : m.slice(x)) + g, m = m.slice(0, x);
237
+ break;
238
+ }
239
+ }
240
+ }
241
+ T && !k && (m = t(m, 1 / 0));
242
+ var z = N.length + m.length + g.length, M = z < b ? new Array(b - z + 1).join(l) : "";
243
+ switch (T && k && (m = t(M + m, M.length ? b - g.length : 1 / 0), M = ""), p) {
244
+ case "<":
245
+ m = N + m + g + M;
246
+ break;
247
+ case "=":
248
+ m = N + M + m + g;
249
+ break;
250
+ case "^":
251
+ m = M.slice(0, z = M.length >> 1) + N + m + g + M.slice(z);
252
+ break;
253
+ default:
254
+ m = M + N + m + g;
255
+ break;
256
+ }
257
+ return f(m);
258
+ }
259
+ return V.toString = function() {
260
+ return h + "";
261
+ }, V;
262
+ }
263
+ function s(h, l) {
264
+ var p = o((h = D(h), h.type = "f", h)), y = Math.max(-8, Math.min(8, Math.floor(v(l) / 3))) * 3, S = Math.pow(10, -y), k = Q[8 + y / 3];
265
+ return function(b) {
266
+ return p(S * b) + k;
267
+ };
268
+ }
269
+ return {
270
+ format: o,
271
+ formatPrefix: s
272
+ };
273
+ }
274
+ var $, tn, rn;
275
+ En({
276
+ thousands: ",",
277
+ grouping: [3],
278
+ currency: ["$", ""]
279
+ });
280
+ function En(n) {
281
+ return $ = Rn(n), tn = $.format, rn = $.formatPrefix, $;
282
+ }
283
+ function Dn(n) {
284
+ return Math.max(0, -v(Math.abs(n)));
285
+ }
286
+ function Tn(n, t) {
287
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(v(t) / 3))) * 3 - v(Math.abs(n)));
288
+ }
289
+ function In(n, t) {
290
+ return n = Math.abs(n), t = Math.abs(t) - n, Math.max(0, v(t) - v(n)) + 1;
291
+ }
292
+ function Ln(n) {
293
+ return function() {
294
+ return n;
295
+ };
296
+ }
297
+ function qn(n) {
298
+ return +n;
299
+ }
300
+ var W = [0, 1];
301
+ function A(n) {
302
+ return n;
303
+ }
304
+ function q(n, t) {
305
+ return (t -= n = +n) ? function(e) {
306
+ return (e - n) / t;
307
+ } : Ln(isNaN(t) ? NaN : 0.5);
308
+ }
309
+ function Cn(n, t) {
310
+ var e;
311
+ return n > t && (e = n, n = t, t = e), function(r) {
312
+ return Math.max(n, Math.min(t, r));
313
+ };
314
+ }
315
+ function Bn(n, t, e) {
316
+ var r = n[0], i = n[1], f = t[0], a = t[1];
317
+ return i < r ? (r = q(i, r), f = e(a, f)) : (r = q(r, i), f = e(f, a)), function(u) {
318
+ return f(r(u));
319
+ };
320
+ }
321
+ function Gn(n, t, e) {
322
+ var r = Math.min(n.length, t.length) - 1, i = new Array(r), f = new Array(r), a = -1;
323
+ for (n[r] < n[0] && (n = n.slice().reverse(), t = t.slice().reverse()); ++a < r; )
324
+ i[a] = q(n[a], n[a + 1]), f[a] = e(t[a], t[a + 1]);
325
+ return function(u) {
326
+ var c = dn(n, u, 1, r) - 1;
327
+ return f[c](i[c](u));
328
+ };
329
+ }
330
+ function On(n, t) {
331
+ return t.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown());
332
+ }
333
+ function Vn() {
334
+ var n = W, t = W, e = C, r, i, f, a = A, u, c, o;
335
+ function s() {
336
+ var l = Math.min(n.length, t.length);
337
+ return a !== A && (a = Cn(n[0], n[l - 1])), u = l > 2 ? Gn : Bn, c = o = null, h;
338
+ }
339
+ function h(l) {
340
+ return l == null || isNaN(l = +l) ? f : (c || (c = u(n.map(r), t, e)))(r(a(l)));
341
+ }
342
+ return h.invert = function(l) {
343
+ return a(i((o || (o = u(t, n.map(r), I)))(l)));
344
+ }, h.domain = function(l) {
345
+ return arguments.length ? (n = Array.from(l, qn), s()) : n.slice();
346
+ }, h.range = function(l) {
347
+ return arguments.length ? (t = Array.from(l), s()) : t.slice();
348
+ }, h.rangeRound = function(l) {
349
+ return t = Array.from(l), e = Sn, s();
350
+ }, h.clamp = function(l) {
351
+ return arguments.length ? (a = l ? !0 : A, s()) : a !== A;
352
+ }, h.interpolate = function(l) {
353
+ return arguments.length ? (e = l, s()) : e;
354
+ }, h.unknown = function(l) {
355
+ return arguments.length ? (f = l, h) : f;
356
+ }, function(l, p) {
357
+ return r = l, i = p, s();
358
+ };
359
+ }
360
+ function Xn() {
361
+ return Vn()(A, A);
362
+ }
363
+ function Un(n, t, e, r) {
364
+ var i = wn(n, t, e), f;
365
+ switch (r = D(r ?? ",f"), r.type) {
366
+ case "s": {
367
+ var a = Math.max(Math.abs(n), Math.abs(t));
368
+ return r.precision == null && !isNaN(f = Tn(i, a)) && (r.precision = f), rn(r, a);
369
+ }
370
+ case "":
371
+ case "e":
372
+ case "g":
373
+ case "p":
374
+ case "r": {
375
+ r.precision == null && !isNaN(f = In(i, Math.max(Math.abs(n), Math.abs(t)))) && (r.precision = f - (r.type === "e"));
376
+ break;
377
+ }
378
+ case "f":
379
+ case "%": {
380
+ r.precision == null && !isNaN(f = Dn(i)) && (r.precision = f - (r.type === "%") * 2);
381
+ break;
382
+ }
383
+ }
384
+ return tn(r);
385
+ }
386
+ function Yn(n) {
387
+ var t = n.domain;
388
+ return n.ticks = function(e) {
389
+ var r = t();
390
+ return pn(r[0], r[r.length - 1], e ?? 10);
391
+ }, n.tickFormat = function(e, r) {
392
+ var i = t();
393
+ return Un(i[0], i[i.length - 1], e ?? 10, r);
394
+ }, n.nice = function(e) {
395
+ e == null && (e = 10);
396
+ var r = t(), i = 0, f = r.length - 1, a = r[i], u = r[f], c, o, s = 10;
397
+ for (u < a && (o = a, a = u, u = o, o = i, i = f, f = o); s-- > 0; ) {
398
+ if (o = L(a, u, e), o === c)
399
+ return r[i] = a, r[f] = u, t(r);
400
+ if (o > 0)
401
+ a = Math.floor(a / o) * o, u = Math.ceil(u / o) * o;
402
+ else if (o < 0)
403
+ a = Math.ceil(a * o) / o, u = Math.floor(u * o) / o;
404
+ else
405
+ break;
406
+ c = o;
407
+ }
408
+ return n;
409
+ }, n;
410
+ }
411
+ function Zn() {
412
+ var n = Xn();
413
+ return n.copy = function() {
414
+ return On(n, Zn());
415
+ }, cn.apply(n, arguments), Yn(n);
416
+ }
417
+ export {
418
+ On as a,
419
+ _ as b,
420
+ Xn as c,
421
+ Zn as l,
422
+ wn as t
423
+ };
@@ -1,5 +1,5 @@
1
1
  import { w as ln, c as H } from "./layers.DLwuMfdd.js";
2
- import { B as rn, D as M, E as D, F as an, G as y, H as on, I as j, J as _, K as un, L as t, M as tn, N as sn, O as fn } from "./layers.Se5UBbOF.js";
2
+ import { B as rn, D as M, E as D, F as an, G as y, H as on, I as j, J as _, K as un, L as t, M as sn, N as tn, O as fn } from "./layers.DnRaD217.js";
3
3
  function cn(l) {
4
4
  return l.innerRadius;
5
5
  }
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("./layers.BxEWWb9m.js"),G=require("lodash-es"),P=require("./layers.BLd2spTm.js"),V=require("./layers.EMkoiu95.js"),j=require("./layers.B8bQ9R7v.js");function F(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,a.get?a:{enumerable:!0,get:()=>e[i]})}}return o.default=e,Object.freeze(o)}const E=F(G);function N(e){return typeof e=="string"?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([r.array(e)],r.root)}function M(e,o){return!!e.children(o).length}function R(e){return _(e.v)+":"+_(e.w)+":"+_(e.name)}var H=/:/g;function _(e){return e?String(e).replace(H,"\\:"):""}function B(e,o){o&&e.attr("style",o)}function K(e,o,i){o&&e.attr("class",o).attr("class",i+" "+e.attr("class"))}function O(e,o){var i=o.graph();if(E.isPlainObject(i)){var a=i.transition;if(E.isFunction(a))return a(e)}return e}function D(e,o){var i=e.append("foreignObject").attr("width","100000"),a=i.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var d=o.label;switch(typeof d){case"function":a.insert(d);break;case"object":a.insert(function(){return d});break;default:a.html(d)}B(a,o.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var p=a.node().getBoundingClientRect();return i.attr("width",p.width).attr("height",p.height),i}const I={},U=function(e){const o=Object.keys(e);for(const i of o)I[i]=e[i]},z=async function(e,o,i,a,d,p){const g=a.select(`[id="${i}"]`),s=Object.keys(e);for(const b of s){const l=e[b];let h="default";l.classes.length>0&&(h=l.classes.join(" ")),h=h+" flowchart-label";const w=r.getStylesFromArray(l.styles);let t=l.text!==void 0?l.text:l.id,c;if(r.log$1.info("vertex",l,l.labelType),l.labelType==="markdown")r.log$1.info("vertex",l,l.labelType);else if(r.evaluate(r.getConfig().flowchart.htmlLabels))c=D(g,{label:t}).node(),c.parentNode.removeChild(c);else{const k=d.createElementNS("http://www.w3.org/2000/svg","text");k.setAttribute("style",w.labelStyle.replace("color:","fill:"));const T=t.split(r.common$1.lineBreakRegex);for(const $ of T){const v=d.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=$,k.appendChild(v)}c=k}let f=0,n="";switch(l.type){case"round":f=5,n="rect";break;case"square":n="rect";break;case"diamond":n="question";break;case"hexagon":n="hexagon";break;case"odd":n="rect_left_inv_arrow";break;case"lean_right":n="lean_right";break;case"lean_left":n="lean_left";break;case"trapezoid":n="trapezoid";break;case"inv_trapezoid":n="inv_trapezoid";break;case"odd_right":n="rect_left_inv_arrow";break;case"circle":n="circle";break;case"ellipse":n="ellipse";break;case"stadium":n="stadium";break;case"subroutine":n="subroutine";break;case"cylinder":n="cylinder";break;case"group":n="rect";break;case"doublecircle":n="doublecircle";break;default:n="rect"}const S=await r.renderKatexSanitized(t,r.getConfig());o.setNode(l.id,{labelStyle:w.labelStyle,shape:n,labelText:S,labelType:l.labelType,rx:f,ry:f,class:h,style:w.style,id:l.id,link:l.link,linkTarget:l.linkTarget,tooltip:p.db.getTooltip(l.id)||"",domId:p.db.lookUpDomId(l.id),haveCallback:l.haveCallback,width:l.type==="group"?500:void 0,dir:l.dir,type:l.type,props:l.props,padding:r.getConfig().flowchart.padding}),r.log$1.info("setNode",{labelStyle:w.labelStyle,labelType:l.labelType,shape:n,labelText:S,rx:f,ry:f,class:h,style:w.style,id:l.id,domId:p.db.lookUpDomId(l.id),width:l.type==="group"?500:void 0,type:l.type,dir:l.dir,props:l.props,padding:r.getConfig().flowchart.padding})}},q=async function(e,o,i){r.log$1.info("abc78 edges = ",e);let a=0,d={},p,g;if(e.defaultStyle!==void 0){const s=r.getStylesFromArray(e.defaultStyle);p=s.style,g=s.labelStyle}for(const s of e){a++;const b="L-"+s.start+"-"+s.end;d[b]===void 0?(d[b]=0,r.log$1.info("abc78 new entry",b,d[b])):(d[b]++,r.log$1.info("abc78 new entry",b,d[b]));let l=b+"-"+d[b];r.log$1.info("abc78 new link id to be used is",b,l,d[b]);const h="LS-"+s.start,w="LE-"+s.end,t={style:"",labelStyle:""};switch(t.minlen=s.length||1,s.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",s.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let c="",f="";switch(s.stroke){case"normal":c="fill:none;",p!==void 0&&(c=p),g!==void 0&&(f=g),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(s.style!==void 0){const n=r.getStylesFromArray(s.style);c=n.style,f=n.labelStyle}t.style=t.style+=c,t.labelStyle=t.labelStyle+=f,s.interpolate!==void 0?t.curve=r.interpolateToCurve(s.interpolate,r.curveLinear):e.defaultInterpolate!==void 0?t.curve=r.interpolateToCurve(e.defaultInterpolate,r.curveLinear):t.curve=r.interpolateToCurve(I.curve,r.curveLinear),s.text===void 0?s.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=s.labelType,t.label=await r.renderKatexSanitized(s.text.replace(r.common$1.lineBreakRegex,`
1
+ "use strict";const r=require("./layers.CYPfnKfS.js"),G=require("lodash-es"),P=require("./layers.BLd2spTm.js"),V=require("./layers.EcqLW9Mh.js"),j=require("./layers.nRPZ1e3g.js");function F(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(o,i,a.get?a:{enumerable:!0,get:()=>e[i]})}}return o.default=e,Object.freeze(o)}const E=F(G);function N(e){return typeof e=="string"?new r.Selection([document.querySelectorAll(e)],[document.documentElement]):new r.Selection([r.array(e)],r.root)}function M(e,o){return!!e.children(o).length}function R(e){return _(e.v)+":"+_(e.w)+":"+_(e.name)}var H=/:/g;function _(e){return e?String(e).replace(H,"\\:"):""}function B(e,o){o&&e.attr("style",o)}function K(e,o,i){o&&e.attr("class",o).attr("class",i+" "+e.attr("class"))}function O(e,o){var i=o.graph();if(E.isPlainObject(i)){var a=i.transition;if(E.isFunction(a))return a(e)}return e}function D(e,o){var i=e.append("foreignObject").attr("width","100000"),a=i.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var d=o.label;switch(typeof d){case"function":a.insert(d);break;case"object":a.insert(function(){return d});break;default:a.html(d)}B(a,o.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var p=a.node().getBoundingClientRect();return i.attr("width",p.width).attr("height",p.height),i}const I={},U=function(e){const o=Object.keys(e);for(const i of o)I[i]=e[i]},z=async function(e,o,i,a,d,p){const g=a.select(`[id="${i}"]`),s=Object.keys(e);for(const b of s){const l=e[b];let h="default";l.classes.length>0&&(h=l.classes.join(" ")),h=h+" flowchart-label";const w=r.getStylesFromArray(l.styles);let t=l.text!==void 0?l.text:l.id,c;if(r.log$1.info("vertex",l,l.labelType),l.labelType==="markdown")r.log$1.info("vertex",l,l.labelType);else if(r.evaluate(r.getConfig().flowchart.htmlLabels))c=D(g,{label:t}).node(),c.parentNode.removeChild(c);else{const k=d.createElementNS("http://www.w3.org/2000/svg","text");k.setAttribute("style",w.labelStyle.replace("color:","fill:"));const T=t.split(r.common$1.lineBreakRegex);for(const $ of T){const v=d.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=$,k.appendChild(v)}c=k}let f=0,n="";switch(l.type){case"round":f=5,n="rect";break;case"square":n="rect";break;case"diamond":n="question";break;case"hexagon":n="hexagon";break;case"odd":n="rect_left_inv_arrow";break;case"lean_right":n="lean_right";break;case"lean_left":n="lean_left";break;case"trapezoid":n="trapezoid";break;case"inv_trapezoid":n="inv_trapezoid";break;case"odd_right":n="rect_left_inv_arrow";break;case"circle":n="circle";break;case"ellipse":n="ellipse";break;case"stadium":n="stadium";break;case"subroutine":n="subroutine";break;case"cylinder":n="cylinder";break;case"group":n="rect";break;case"doublecircle":n="doublecircle";break;default:n="rect"}const S=await r.renderKatexSanitized(t,r.getConfig());o.setNode(l.id,{labelStyle:w.labelStyle,shape:n,labelText:S,labelType:l.labelType,rx:f,ry:f,class:h,style:w.style,id:l.id,link:l.link,linkTarget:l.linkTarget,tooltip:p.db.getTooltip(l.id)||"",domId:p.db.lookUpDomId(l.id),haveCallback:l.haveCallback,width:l.type==="group"?500:void 0,dir:l.dir,type:l.type,props:l.props,padding:r.getConfig().flowchart.padding}),r.log$1.info("setNode",{labelStyle:w.labelStyle,labelType:l.labelType,shape:n,labelText:S,rx:f,ry:f,class:h,style:w.style,id:l.id,domId:p.db.lookUpDomId(l.id),width:l.type==="group"?500:void 0,type:l.type,dir:l.dir,props:l.props,padding:r.getConfig().flowchart.padding})}},q=async function(e,o,i){r.log$1.info("abc78 edges = ",e);let a=0,d={},p,g;if(e.defaultStyle!==void 0){const s=r.getStylesFromArray(e.defaultStyle);p=s.style,g=s.labelStyle}for(const s of e){a++;const b="L-"+s.start+"-"+s.end;d[b]===void 0?(d[b]=0,r.log$1.info("abc78 new entry",b,d[b])):(d[b]++,r.log$1.info("abc78 new entry",b,d[b]));let l=b+"-"+d[b];r.log$1.info("abc78 new link id to be used is",b,l,d[b]);const h="LS-"+s.start,w="LE-"+s.end,t={style:"",labelStyle:""};switch(t.minlen=s.length||1,s.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",s.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let c="",f="";switch(s.stroke){case"normal":c="fill:none;",p!==void 0&&(c=p),g!==void 0&&(f=g),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(s.style!==void 0){const n=r.getStylesFromArray(s.style);c=n.style,f=n.labelStyle}t.style=t.style+=c,t.labelStyle=t.labelStyle+=f,s.interpolate!==void 0?t.curve=r.interpolateToCurve(s.interpolate,r.curveLinear):e.defaultInterpolate!==void 0?t.curve=r.interpolateToCurve(e.defaultInterpolate,r.curveLinear):t.curve=r.interpolateToCurve(I.curve,r.curveLinear),s.text===void 0?s.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=s.labelType,t.label=await r.renderKatexSanitized(s.text.replace(r.common$1.lineBreakRegex,`
2
2
  `),r.getConfig()),s.style===void 0&&(t.style=t.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),t.labelStyle=t.labelStyle.replace("color:","fill:"),t.id=l,t.classes="flowchart-link "+h+" "+w,o.setEdge(s.start,s.end,t,a)}},W=function(e,o){return o.db.getClasses()},X=async function(e,o,i,a){r.log$1.info("Drawing flowchart");let d=a.db.getDirection();d===void 0&&(d="TD");const{securityLevel:p,flowchart:g}=r.getConfig(),s=g.nodeSpacing||50,b=g.rankSpacing||50;let l;p==="sandbox"&&(l=r.select("#i"+o));const h=p==="sandbox"?r.select(l.nodes()[0].contentDocument.body):r.select("body"),w=p==="sandbox"?l.nodes()[0].contentDocument:document,t=new P.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:s,ranksep:b,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let c;const f=a.db.getSubGraphs();r.log$1.info("Subgraphs - ",f);for(let u=f.length-1;u>=0;u--)c=f[u],r.log$1.info("Subgraph - ",c),a.db.addVertex(c.id,{text:c.title,type:c.labelType},"group",void 0,c.classes,c.dir);const n=a.db.getVertices(),S=a.db.getEdges();r.log$1.info("Edges",S);let k=0;for(k=f.length-1;k>=0;k--){c=f[k],N("cluster").append("text");for(let u=0;u<c.nodes.length;u++)r.log$1.info("Setting up subgraphs",c.nodes[u],c.id),t.setParent(c.nodes[u],c.id)}await z(n,t,o,h,w,a),await q(S,t);const T=h.select(`[id="${o}"]`),$=h.select("#"+o+" g");if(await V.render($,t,["point","circle","cross"],"flowchart",o),r.utils.insertTitle(T,"flowchartTitleText",g.titleTopMargin,a.db.getDiagramTitle()),r.setupGraphViewbox$1(t,T,g.diagramPadding,g.useMaxWidth),a.db.indexNodes("subGraph"+k),!g.htmlLabels){const u=w.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const x of u){const m=x.getBBox(),y=w.createElementNS("http://www.w3.org/2000/svg","rect");y.setAttribute("rx",0),y.setAttribute("ry",0),y.setAttribute("width",m.width),y.setAttribute("height",m.height),x.insertBefore(y,x.firstChild)}}Object.keys(n).forEach(function(u){const x=n[u];if(x.link){const m=r.select("#"+o+' [id="'+u+'"]');if(m){const y=w.createElementNS("http://www.w3.org/2000/svg","a");y.setAttributeNS("http://www.w3.org/2000/svg","class",x.classes.join(" ")),y.setAttributeNS("http://www.w3.org/2000/svg","href",x.link),y.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),p==="sandbox"?y.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):x.linkTarget&&y.setAttributeNS("http://www.w3.org/2000/svg","target",x.linkTarget);const C=m.insert(function(){return y},":first-child"),L=m.select(".label-container");L&&C.append(function(){return L.node()});const A=m.select(".label");A&&C.append(function(){return A.node()})}}})},J={setConf:U,addVertices:z,addEdges:q,getClasses:W,draw:X},Q=(e,o)=>{const i=j.channel,a=i(e,"r"),d=i(e,"g"),p=i(e,"b");return r.rgba(a,d,p,o)},Y=e=>`.label {
3
3
  font-family: ${e.fontFamily};
4
4
  color: ${e.nodeTextColor||e.textColor};
@@ -1,11 +1,14 @@
1
- import { s as M, d as _, p as R } from "./layers.CTCi1Zya.js";
2
- import { l as d, c, d as w, u as B, Y as G, _ as D, $ as E, a0 as C, j as $ } from "./layers.Se5UBbOF.js";
1
+ import { s as M, d as _, p as R } from "./layers.Cs-83js7.js";
2
+ import { l as d, g as c, d as w, u as B, Y as G, j as D, _ as E, $ as C, a0 as $ } from "./layers.DnRaD217.js";
3
3
  import { G as z } from "./layers.BJDrjORS.js";
4
- import { r as P } from "./layers.DF6gld-u.js";
5
- import "./layers.BzhWDlph.js";
4
+ import { r as P } from "./layers.B-8gEV_E.js";
5
+ import "./layers.D_faABvp.js";
6
+ import "lodash-es/memoize.js";
7
+ import "lodash-es/merge.js";
8
+ import "lodash-es/isEmpty.js";
6
9
  import "lodash-es";
7
10
  import "./layers.D4T8fTcj.js";
8
- const S = (s) => $.sanitizeText(s, c());
11
+ const S = (s) => D.sanitizeText(s, c());
9
12
  let k = {
10
13
  dividerMargin: 10,
11
14
  padding: 5,
@@ -32,7 +35,7 @@ const q = function(s, t, y, a) {
32
35
  const i = Object.keys(s);
33
36
  d.info("keys:", i), d.info(s), i.filter((o) => s[o].parent == e).forEach(function(o) {
34
37
  var r, l;
35
- const n = s[o], p = n.cssClasses.join(" "), f = D(n.styles), h = n.label ?? n.id, u = 0, b = {
38
+ const n = s[o], p = n.cssClasses.join(" "), f = E(n.styles), h = n.label ?? n.id, u = 0, b = {
36
39
  labelStyle: f.labelStyle,
37
40
  shape: "class_box",
38
41
  labelText: S(h),
@@ -56,7 +59,7 @@ const q = function(s, t, y, a) {
56
59
  }, F = function(s, t, y, a) {
57
60
  d.info(s), s.forEach(function(e, i) {
58
61
  var o, r;
59
- const l = e, n = "", p = { labelStyle: "", style: "" }, f = l.text, h = 0, v = {
62
+ const l = e, n = "", p = { labelStyle: "", style: "" }, f = l.text, h = 0, m = {
60
63
  labelStyle: p.labelStyle,
61
64
  shape: "note",
62
65
  labelText: S(f),
@@ -72,7 +75,7 @@ const q = function(s, t, y, a) {
72
75
  // TODO V10: Flowchart ? Keeping flowchart for backwards compatibility. Remove in next major release
73
76
  padding: ((o = c().flowchart) == null ? void 0 : o.padding) ?? ((r = c().class) == null ? void 0 : r.padding)
74
77
  };
75
- if (t.setNode(l.id, v), d.info("setNode", v), !l.class || !(l.class in a))
78
+ if (t.setNode(l.id, m), d.info("setNode", m), !l.class || !(l.class in a))
76
79
  return;
77
80
  const b = y + i, x = {
78
81
  id: `edgeNote${b}`,
@@ -89,7 +92,7 @@ const q = function(s, t, y, a) {
89
92
  arrowTypeEnd: "none",
90
93
  style: "fill:none",
91
94
  labelStyle: "",
92
- curve: E(k.curve, C)
95
+ curve: C(k.curve, $)
93
96
  };
94
97
  t.setEdge(l.id, l.class, x, b);
95
98
  });
@@ -114,13 +117,13 @@ const q = function(s, t, y, a) {
114
117
  arrowTypeEnd: N(e.relation.type2),
115
118
  style: "fill:none",
116
119
  labelStyle: "",
117
- curve: E(y == null ? void 0 : y.curve, C)
120
+ curve: C(y == null ? void 0 : y.curve, $)
118
121
  };
119
122
  if (d.info(o, e), e.style !== void 0) {
120
- const r = D(e.style);
123
+ const r = E(e.style);
121
124
  o.style = r.style, o.labelStyle = r.labelStyle;
122
125
  }
123
- e.text = e.title, e.text === void 0 ? e.style !== void 0 && (o.arrowheadStyle = "fill: #333") : (o.arrowheadStyle = "fill: #333", o.labelpos = "c", ((i = c().flowchart) == null ? void 0 : i.htmlLabels) ?? c().htmlLabels ? (o.labelType = "html", o.label = '<span class="edgeLabel">' + e.text + "</span>") : (o.labelType = "text", o.label = e.text.replace($.lineBreakRegex, `
126
+ e.text = e.title, e.text === void 0 ? e.style !== void 0 && (o.arrowheadStyle = "fill: #333") : (o.arrowheadStyle = "fill: #333", o.labelpos = "c", ((i = c().flowchart) == null ? void 0 : i.htmlLabels) ?? c().htmlLabels ? (o.labelType = "html", o.label = '<span class="edgeLabel">' + e.text + "</span>") : (o.labelType = "text", o.label = e.text.replace(D.lineBreakRegex, `
124
127
  `), e.style === void 0 && (o.style = o.style || "stroke: #333; stroke-width: 1.5px;fill:none"), o.labelStyle = o.labelStyle.replace("color:", "fill:"))), t.setEdge(e.id1, e.id2, o, a);
125
128
  });
126
129
  }, V = function(s) {
@@ -147,7 +150,7 @@ const q = function(s, t, y, a) {
147
150
  d.info(f), q(n, l, t, a), A(p, l, t, a), H(f, l), F(h, l, f.length + 1, p);
148
151
  let u;
149
152
  i === "sandbox" && (u = w("#i" + t));
150
- const v = i === "sandbox" ? w(u.nodes()[0].contentDocument.body) : w("body"), b = v.select(`[id="${t}"]`), x = v.select("#" + t + " g");
153
+ const m = i === "sandbox" ? w(u.nodes()[0].contentDocument.body) : w("body"), b = m.select(`[id="${t}"]`), x = m.select("#" + t + " g");
151
154
  if (await P(
152
155
  x,
153
156
  l,
@@ -157,8 +160,8 @@ const q = function(s, t, y, a) {
157
160
  ), B.insertTitle(b, "classTitleText", (e == null ? void 0 : e.titleTopMargin) ?? 5, a.db.getDiagramTitle()), G(l, b, e == null ? void 0 : e.diagramPadding, e == null ? void 0 : e.useMaxWidth), !(e != null && e.htmlLabels)) {
158
161
  const T = i === "sandbox" ? u.nodes()[0].contentDocument : document, I = T.querySelectorAll('[id="' + t + '"] .edgeLabel .label');
159
162
  for (const g of I) {
160
- const L = g.getBBox(), m = T.createElementNS("http://www.w3.org/2000/svg", "rect");
161
- m.setAttribute("rx", 0), m.setAttribute("ry", 0), m.setAttribute("width", L.width), m.setAttribute("height", L.height), g.insertBefore(m, g.firstChild);
163
+ const L = g.getBBox(), v = T.createElementNS("http://www.w3.org/2000/svg", "rect");
164
+ v.setAttribute("rx", 0), v.setAttribute("ry", 0), v.setAttribute("width", L.width), v.setAttribute("height", L.height), g.insertBefore(v, g.firstChild);
162
165
  }
163
166
  }
164
167
  };
@@ -188,7 +191,7 @@ function N(s) {
188
191
  const Y = {
189
192
  setConf: V,
190
193
  draw: W
191
- }, O = {
194
+ }, oe = {
192
195
  parser: R,
193
196
  db: _,
194
197
  renderer: Y,
@@ -198,5 +201,5 @@ const Y = {
198
201
  }
199
202
  };
200
203
  export {
201
- O as diagram
204
+ oe as diagram
202
205
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./layers.BKy18lBk.js"),o=require("./layers.D176Ljko.js"),t=require("./layers.CYPfnKfS.js");require("lodash-es");require("./layers.BLd2spTm.js");require("./layers.Cyzu9PKQ.js");require("./layers.CV8UgwCq.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const a={parser:e.parser$1,db:e.flowDb,renderer:o.flowRendererV2,styles:o.flowStyles,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,t.setConfig({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),o.flowRendererV2.setConf(r.flowchart),e.flowDb.clear(),e.flowDb.setGen("gen-2")}};exports.diagram=a;
@@ -1,4 +1,4 @@
1
- import "./layers.BzhWDlph.js";
1
+ import "./layers.D_faABvp.js";
2
2
  var i = { paste: "Įklijuoti", pasteAsPlaintext: "Įklijuoti kaip paprastą tekstą", pasteCharts: "Įklijuoti diagramas", selectAll: "Pažymėti viską", multiSelect: "Pridėkite elementą prie pasirinktų", moveCanvas: "Judinti drobę", cut: "Iškirpti", copy: "Kopijuoti", copyAsPng: "Kopijuoti į iškarpinę kaip PNG", copyAsSvg: "Kopijuoti į iškarpinę kaip SVG", copyText: "Kopijuoti į iškarpinę kaip tekstą", copySource: "", convertToCode: "", bringForward: "Kelti priekio link", sendToBack: "Nustumti į užnugarį", bringToFront: "Iškelti į priekį", sendBackward: "Nustumti link užnugario", delete: "Ištrinti", copyStyles: "Kopijuoti stilius", pasteStyles: "Įklijuoti stilius", stroke: "Linija", background: "Fonas", fill: "Užpildymas", strokeWidth: "Linijos storis", strokeStyle: "Linijos stilius", strokeStyle_solid: "Ištisinė", strokeStyle_dashed: "Brūkšniuota", strokeStyle_dotted: "Taškuota", sloppiness: "Netvarkingumas", opacity: "Nepermatomumas", textAlign: "Teksto lygiavimas", edges: "Kraštai", sharp: "Aštrus", round: "Užapvalintas", arrowheads: "Rodyklės viršūnės", arrowhead_none: "Jokios", arrowhead_arrow: "Rodyklė", arrowhead_bar: "Brukšnys", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "Trikampis", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "Šrifto dydis", fontFamily: "Šriftas", addWatermark: "Sukurta su Excalidraw", handDrawn: "Ranka rašytas", normal: "Normalus", code: "Kodas", small: "Mažas", medium: "Vidutinis", large: "Didelis", veryLarge: "Labai didelis", solid: "", hachure: "", zigzag: "", crossHatch: "", thin: "Plonas", bold: "Pastorintas", left: "Kairėje", center: "Centre", right: "Dešinėje", extraBold: "Labiau pastorintas", architect: "Architektas", artist: "Menininkas", cartoonist: "Karikatūristas", fileTitle: "Failo pavadinimas", colorPicker: "Spalvos parinkiklis", canvasColors: "", canvasBackground: "Drobės fonas", drawingCanvas: "", layers: "Sluoksniai", actions: "Veiksmai", language: "Kalba", liveCollaboration: "Bendradarbiavimas gyvai...", duplicateSelection: "", untitled: "", name: "", yourName: "Jūsų vardas", madeWithExcalidraw: "Sukurta su Excalidraw", group: "Grupuoti pasirinkimą", ungroup: "Išgrupuoti pasirinkimą", collaborators: "Bendradarbiautojai", showGrid: "Rodyti tinklelį", addToLibrary: "Pridėti į biblioteką", removeFromLibrary: "Pašalinti iš bibliotekos", libraryLoadingMessage: "", libraries: "Naršyti bibliotekas", loadingScene: "", align: "Lygiuoti", alignTop: "Lygiuoti viršuje", alignBottom: "Lygiuoti apačioje", alignLeft: "Lygiuoti kairėje", alignRight: "Lygiuoti dešinėje", centerVertically: "Centruoti vertikaliai", centerHorizontally: "Centruoti horizontaliai", distributeHorizontally: "", distributeVertically: "", flipHorizontal: "Apversti horizontaliai", flipVertical: "Apversti vertikaliai", viewMode: "", share: "Dalintis", showStroke: "", showBackground: "", toggleTheme: "", personalLib: "Asmeninė biblioteka", excalidrawLib: "Exaclidraw biblioteka", decreaseFontSize: "", increaseFontSize: "", unbindText: "", bindText: "", createContainerFromText: "", link: { edit: "Redeguoti nuorodą", editEmbed: "", create: "Sukurti nuorodą", createEmbed: "", label: "Nuoroda", labelEmbed: "", empty: "" }, lineEditor: { edit: "", exit: "" }, elementLock: { lock: "Užrakinti", unlock: "Atrakinti", lockAll: "", unlockAll: "" }, statusPublished: "", sidebarLock: "", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, a = { noItems: "", hint_emptyLibrary: "", hint_emptyPrivateLibrary: "" }, e = { clearReset: "", exportJSON: "Eksportuoti į failą", exportImage: "", export: "", copyToClipboard: "Kopijuoti į iškarpinę", save: "", saveAs: "Išsaugoti kaip", load: "", getShareableLink: "Gauti nuorodą dalinimuisi", close: "Uždaryti", selectLanguage: "Pasirinkite kalbą", scrollBackToContent: "", zoomIn: "Priartinti", zoomOut: "Nutolinti", resetZoom: "", menu: "Meniu", done: "", edit: "Redaguoti", undo: "Anuliuoti", redo: "", resetLibrary: "Atstatyti biblioteką", createNewRoom: "Sukurti naują kambarį", fullScreen: "Visas ekranas", darkMode: "Tamsus režimas", lightMode: "Šviesus režimas", zenMode: "„Zen“ režimas", objectsSnapMode: "", exitZenMode: "Išeiti iš „Zen“ režimo", cancel: "Atšaukti", clear: "Išvalyti", remove: "Pašalinti", embed: "", publishLibrary: "Paskelbti", submit: "Pateikti", confirm: "Patvirtinti", embeddableInteractionButton: "" }, t = { clearReset: "", couldNotCreateShareableLink: "", couldNotCreateShareableLinkTooBig: "", couldNotLoadInvalidFile: "", importBackendFailed: "", cannotExportEmptyCanvas: "", couldNotCopyToClipboard: "", decryptFailed: "", uploadedSecurly: "", loadSceneOverridePrompt: "", collabStopOverridePrompt: `Sesijos nutraukimas perrašys ankstesnį, lokaliai išsaugotą piešinį. Ar tikrai to nori?
3
3
 
4
4
  (Jei nori išlaikyti lokalų piešinį, tiesiog uždaryk naršyklės skirtuką.)`, errorAddingToLibrary: "Nepavyko įtraukti elemento į biblioteką", errorRemovingFromLibrary: "Nepavyko pašalinti elemento iš bibliotekos", confirmAddLibrary: "Tai įtrauks {{numShapes}} figūrą/-as į tavo biblioteką. Ar tikrai to nori?", imageDoesNotContainScene: "Panašu, jog šis paveiksliukas neturi scenos duomenų. Ar yra įjuntas scenos įtraukimas ekportavimo metu?", cannotRestoreFromImage: "Nepavyko atstatyti scenos iš šio nuotraukos failo", invalidSceneUrl: "Nepavyko suimportuoti scenos iš pateiktos nuorodos (URL). Ji arba blogai suformatuota, arba savyje neturi teisingų Excalidraw JSON duomenų.", resetLibrary: "Tai išvalys tavo biblioteką. Ar tikrai to nori?", removeItemsFromsLibrary: "Ištrinti {{count}} elementą/-us iš bibliotekos?", invalidEncryptionKey: "Šifravimo raktas turi būti iš 22 simbolių. Redagavimas gyvai yra išjungtas.", collabOfflineWarning: "" }, o = { unsupportedFileType: "Nepalaikomas failo tipas.", imageInsertError: "Nepyko įkelti paveiksliuko. Pabandyk vėliau...", fileTooBig: "Per didelis failas. Didžiausias leidžiamas dydis yra {{maxSize}}.", svgImageInsertError: "Nepavyko įtraukti SVG paveiksliuko. Panašu, jog SVG yra nevalidus.", failedToFetchImage: "", invalidSVGString: "Nevalidus SVG.", cannotResolveCollabServer: "Nepavyko prisijungti prie serverio bendradarbiavimui. Perkrauk puslapį ir pabandyk prisijungti dar kartą.", importLibraryError: "Nepavyko įkelti bibliotekos", collabSaveFailed: "", collabSaveFailed_sizeExceeded: "", imageToolNotSupported: "", brave_measure_text_error: { line1: "", line2: "", line3: "", line4: "" }, libraryElementTypeError: { embeddable: "", iframe: "", image: "" }, asyncPasteFailedOnRead: "", asyncPasteFailedOnParse: "", copyToSystemClipboardFailed: "" }, r = { selection: "Žymėjimas", image: "Įkelti paveiksliuką", rectangle: "Stačiakampis", diamond: "Deimantas", ellipse: "Elipsė", arrow: "Rodyklė", line: "Linija", freedraw: "Piešti", text: "Tekstas", library: "Biblioteka", lock: "Baigus piešti, išlaikyti pasirinktą įrankį", penMode: "Rašyklio režimas - neleisti prisilietimų", link: "Pridėti / Atnaujinti pasirinktos figūros nuorodą", eraser: "Trintukas", frame: "", magicframe: "", embeddable: "", laser: "", hand: "", extraTools: "", mermaidToExcalidraw: "", magicSettings: "" }, u = { canvasActions: "Veiksmai su drobe", selectedShapeActions: "Veiksmai su pasirinkta figūra", shapes: "Figūros" }, s = { canvasPanning: "", linearElement: "Paspaudimai sukurs papildomus taškus, nepertraukiamas tempimas sukurs liniją", freeDraw: "Spausk ir tempk, paleisk kai norėsi pabaigti", text: "Užuomina: tekstą taip pat galima pridėti bet kur su dvigubu pelės paspaudimu, kol parinkas žymėjimo įrankis", embeddable: "", text_selected: "", text_editing: "", linearElementMulti: "", lockAngle: "", resize: "", resizeImage: "", rotate: "", lineEditor_info: "", lineEditor_pointSelected: "", lineEditor_nothingSelected: "", placeImage: "", publishLibrary: "", bindTextToElement: "", deepBoxSelect: "", eraserRevert: "", firefox_clipboard_write: "", disableSnapping: "" }, l = { cannotShowPreview: "", canvasTooBig: "", canvasTooBigTip: "" }, n = { headingMain: "", clearCanvasMessage: "", clearCanvasCaveat: "", trackedToSentry: "", openIssueMessage: "", sceneContent: "" }, d = { desc_intro: "", desc_privacy: "", button_startSession: "Pradėti seansą", button_stopSession: "Sustabdyti seansą", desc_inProgressIntro: "", desc_shareLink: "", desc_exitSession: "", shareTitle: "" }, p = { title: "Klaida" }, k = { disk_title: "Įrašyti į diską", disk_details: "", disk_button: "Įrašyti į failą", link_title: "Nuoroda dalinimuisi", link_details: "", link_button: "", excalidrawplus_description: "", excalidrawplus_button: "Eksportuoti", excalidrawplus_exportError: "" }, m = { blog: "", click: "paspaudimas", deepSelect: "", deepBoxSelect: "", curvedArrow: "Banguota rodyklė", curvedLine: "Banguota linija", documentation: "Dokumentacija", doubleClick: "dvigubas paspaudimas", drag: "vilkti", editor: "Redaktorius", editLineArrowPoints: "", editText: "", github: "Radai klaidą? Pateik", howto: "Vadovaukis mūsų gidu", or: "arba", preventBinding: "", tools: "Įrankiai", shortcuts: "Spartieji klavišai", textFinish: "Baigti redagavimą (teksto redaktoriuje)", textNewLine: "Pridėti naują eilutę (tekto redaktoriuje)", title: "Pagalba", view: "", zoomToFit: "", zoomToSelection: "Priartinti iki pažymėtos vietos", toggleElementLock: "", movePageUpDown: "Pajudinti puslapį aukštyn/žemyn", movePageLeftRight: "Pajudinti puslapį kairėn/dešinėn" }, c = { title: "Išvalyti drobę" }, b = { title: "Paviešinti biblioteką", itemName: "Elemento pavadinimas", authorName: "Autoriaus vardas", githubUsername: "Github spalyvardis", twitterUsername: "Twitter slapyvardis", libraryName: "Bibliotekos pavadinimas", libraryDesc: "Bibliotekos aprašas", website: "Tinklalapis", placeholder: { authorName: "Tavo vardas arba spalyvardis", libraryName: "Tavo bibliotekos pavadinimas", libraryDesc: "Tavo bibliotekos aprašas, padėti žmonėms geriau suprasti jos paskirtį", githubHandle: "", twitterHandle: "", website: "" }, errors: { required: "Privalomas", website: "Įveskite teisingą nuorodą (URL)" }, noteDescription: "Pateik savo biblioteką, jog ji galėtų būti įtraukta į <link></link>jog kiti žmonės galėtų tai naudoti savo piešiniuose.", noteGuidelines: "Visų pirma, biblioteka turi būti rankiniu būdu patvirtinta. Prašome paskaityti <link>gairės</link>", noteLicense: "<link>MIT licencija, </link>", noteItems: "", atleastOneLibItem: "", republishWarning: "" }, g = { title: "Biblioteka pateikta", content: "Ačiū {{authorName}}. Tavo biblioteka buvo pateikta peržiūrai. Gali sekti būseną<link>čia</link>" }, y = { resetLibrary: "Atstatyti biblioteką", removeItemsFromLib: "Pašalinti pasirinktus elementus iš bibliotekos" }, v = { header: "", label: { withBackground: "", onlySelected: "", darkMode: "", embedScene: "", scale: "", padding: "" }, tooltip: { embedScene: "" }, title: { exportToPng: "", exportToSvg: "", copyPngToClipboard: "" }, button: { exportToPng: "", exportToSvg: "", copyPngToClipboard: "" } }, h = { tooltip: "", link: "" }, S = { angle: "", element: "Elementas", elements: "Elementai", height: "Aukštis", scene: "Scena", selected: "Pasirinkta", storage: "Saugykla", title: "Informacija moksliukams", total: "", version: "", versionCopy: "", versionNotAvailable: "", width: "Plotis" }, E = { addedToLibrary: "Pridėta į biblioteką", copyStyles: "", copyToClipboard: "Nukopijuota į iškarpinę.", copyToClipboardAsPng: "", fileSaved: "Failas išsaugotas.", fileSavedToFilename: "Išsaugota į {filename}", canvas: "drobė", selection: "", pasteAsSingleElement: "", unableToEmbed: "", unrecognizedLinkFormat: "" }, F = { transparent: "Permatoma", black: "", white: "", red: "", pink: "", grape: "", violet: "", gray: "", blue: "", cyan: "", teal: "", green: "", yellow: "", orange: "", bronze: "" }, T = { app: { center_heading: "", center_heading_plus: "", menuHint: "" }, defaults: { menuHint: "", center_heading: "", toolbarHint: "", helpHint: "" } }, P = { mostUsedCustomColors: "", colors: "", shades: "", hexCode: "", noShades: "" }, w = { action: { exportToImage: { title: "", button: "", description: "" }, saveToDisk: { title: "", button: "", description: "" }, excalidrawPlus: { title: "", button: "", description: "" } }, modal: { loadFromFile: { title: "", button: "", description: "" }, shareableLink: { title: "", button: "", description: "" } } }, x = { title: "", button: "", description: "", syntax: "", preview: "" }, j = { labels: i, library: a, buttons: e, alerts: t, errors: o, toolBar: r, headings: u, hints: s, canvasError: l, errorSplash: n, roomDialog: d, errorDialog: p, exportDialog: k, helpDialog: m, clearCanvasDialog: c, publishDialog: b, publishSuccessDialog: g, confirmDialog: y, imageExportDialog: v, encrypted: h, stats: S, toast: E, colors: F, welcomeScreen: T, colorPicker: P, overwriteConfirm: w, mermaid: x };