@layers-app/editor 0.0.29 → 0.0.30

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 (219) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/{layers.CZwvWE0u.js → layers.2_4pgxpT.js} +1 -1
  5. package/dist/{layers.GLhLUH5j.js → layers.5aXzRH2B.js} +3 -3
  6. package/dist/{layers.0x5kHZ9j.js → layers.6CkZ2psk.js} +4 -4
  7. package/dist/{layers.CimmUA4L.js → layers.78PC5elh.js} +1 -1
  8. package/dist/{layers.BwdVvXjR.js → layers.8cKFQxKH.js} +1 -1
  9. package/dist/{layers.BJmYGJpQ.js → layers.ANiBaUBq.js} +1 -1
  10. package/dist/{layers.V029Ul2p.js → layers.ApTC2I7t.js} +24 -24
  11. package/dist/{layers.D0ETVfjp.js → layers.B-S_C2tv.js} +1 -1
  12. package/dist/{layers.BqpiS_hE.js → layers.B04xmhJS.js} +59 -59
  13. package/dist/{layers.yx_3h5lO.js → layers.B1WX2Aa5.js} +1 -1
  14. package/dist/{layers.DmzB8yYT.js → layers.B3HMCHvo.js} +4 -4
  15. package/dist/{layers.CoYjsfZV.js → layers.B3Mpuejk.js} +1 -1
  16. package/dist/{layers.DLLPqwb7.js → layers.B7GweQHX.js} +3 -3
  17. package/dist/{layers.CN3_dM2I.js → layers.B86Khp9O.js} +2 -2
  18. package/dist/{layers.Cct_kNIx.js → layers.BDYCIO_6.js} +1 -1
  19. package/dist/{layers.Bbma2TS_.js → layers.BDeGQ2vr.js} +3 -3
  20. package/dist/{layers.BXdZJYB5.js → layers.BDrkExur.js} +1 -1
  21. package/dist/{layers.CAlgg2ba.js → layers.BGDzu7el.js} +1 -1
  22. package/dist/{layers.Cv-WkeWI.js → layers.BJMy2HGl.js} +1 -1
  23. package/dist/{layers.9IYRxPhZ.js → layers.BNAl0qLZ.js} +1 -1
  24. package/dist/{layers.B2WF6t5X.js → layers.BNQkjmFD.js} +1 -1
  25. package/dist/{layers.XrKla-FL.js → layers.BOJUDttL.js} +1 -1
  26. package/dist/{layers.C9uQS4gH.js → layers.BPkI6EDo.js} +2 -2
  27. package/dist/{layers.uiYBVREy.js → layers.BQbtnv3u.js} +1 -1
  28. package/dist/{layers.G9aUJ7P0.js → layers.BRagymNX.js} +1 -1
  29. package/dist/{layers.6D4d6rRA.js → layers.BSbS9VXt.js} +1 -1
  30. package/dist/{layers.BD1xH803.js → layers.BTPaszHh.js} +1 -1
  31. package/dist/{layers.CX2bDKWP.js → layers.BVtoqOL_.js} +1 -1
  32. package/dist/{layers.FkWwK9pt.js → layers.BY22q4zK.js} +1 -1
  33. package/dist/{layers.BOibRrKY.js → layers.BZ5upjO1.js} +1 -1
  34. package/dist/{layers.C22z_lEr.js → layers.BZi_EmbC.js} +1 -1
  35. package/dist/{layers.cX1NN4ZB.js → layers.B_s_gpVE.js} +1 -1
  36. package/dist/{layers.04hul7Cl.js → layers.BbUPVR6p.js} +1 -1
  37. package/dist/{layers.BrznVoq-.js → layers.Bd8pdpPX.js} +3 -3
  38. package/dist/{layers.B3qykxUx.js → layers.BdQukrMG.js} +1 -1
  39. package/dist/{layers.CRy22r23.js → layers.BdSnyexI.js} +1 -1
  40. package/dist/{layers.DGcYEGT3.js → layers.BfHCXwy2.js} +1 -1
  41. package/dist/{layers.b-Z1T3Qk.js → layers.BfSesppY.js} +1 -1
  42. package/dist/layers.BfXQUJzD.js +116 -0
  43. package/dist/{layers.D8naFy0w.js → layers.BfYSNe7j.js} +1 -1
  44. package/dist/{layers.7Vivg-r0.js → layers.BhQeHfGw.js} +1 -1
  45. package/dist/{layers.DcxU18i0.js → layers.BhpoRe8d.js} +1 -1
  46. package/dist/{layers.Dhq1eSF7.js → layers.BicGYsEE.js} +1 -1
  47. package/dist/{layers.BIgwYIEr.js → layers.BjoCQz8J.js} +1 -1
  48. package/dist/{layers.RQi4o0j5.js → layers.BlDaFil_.js} +1 -1
  49. package/dist/{layers.VTGR7224.js → layers.BlqEJSBz.js} +4 -4
  50. package/dist/{layers.DOC0Onpl.js → layers.BnuU51cQ.js} +1 -1
  51. package/dist/{layers.0Rb5RtgL.js → layers.BoH3DvRx.js} +1 -1
  52. package/dist/{layers.C3A8FMWV.js → layers.BruIxeao.js} +1 -1
  53. package/dist/{layers.C5UfV0AW.js → layers.BrvuCy-M.js} +1 -1
  54. package/dist/{layers.BaOqzZDo.js → layers.BtP_6o9M.js} +65 -65
  55. package/dist/{layers.CQfX1ChO.js → layers.BzLa7V1r.js} +1 -1
  56. package/dist/{layers.D2JnATNe.js → layers.C1-f0Mas.js} +2 -2
  57. package/dist/{layers.BzUVZfrA.js → layers.C29ekeQZ.js} +1 -1
  58. package/dist/{layers.D6fVFq7D.js → layers.C2OITJtm.js} +1 -1
  59. package/dist/{layers.D_w3Ag4t.js → layers.C2ibt17p.js} +1 -1
  60. package/dist/{layers.BsukaZWB.js → layers.C62JAqc4.js} +1 -1
  61. package/dist/{layers.CinkO13g.js → layers.C9LsraBg.js} +1 -1
  62. package/dist/{layers.NIA62kKA.js → layers.CBnUdfxU.js} +3 -3
  63. package/dist/{layers.27ul8mtz.js → layers.CCZfvpvg.js} +1 -1
  64. package/dist/{layers.CQhp9eGu.js → layers.CDQE6tJs.js} +1 -1
  65. package/dist/{layers.DLimLy7k.js → layers.CDwwP_W9.js} +1 -1
  66. package/dist/{layers.CI4I5LhI.js → layers.CEJEdSmJ.js} +1 -1
  67. package/dist/{layers.DBXl5ck_.js → layers.CFzARYdX.js} +1 -1
  68. package/dist/{layers.CZvXq10g.js → layers.CGk1xBlh.js} +1 -1
  69. package/dist/{layers.BeKx-2pI.js → layers.CIzhryBg.js} +2 -2
  70. package/dist/layers.CJIAmGiB.js +1 -0
  71. package/dist/{layers.B7XBlGlW.js → layers.CKl781Au.js} +1 -1
  72. package/dist/{layers.DOToiIFB.js → layers.CLmf7WVW.js} +1 -1
  73. package/dist/{layers.ByOfMpn8.js → layers.CMe5uKcN.js} +1 -1
  74. package/dist/{layers.DjPPv1Er.js → layers.CNpRskB4.js} +1 -1
  75. package/dist/{layers.MwcQPa9L.js → layers.CQmgIDtV.js} +1 -1
  76. package/dist/{layers.DTrhwWOZ.js → layers.CREnJNtC.js} +1041 -1041
  77. package/dist/layers.CRyq8h8Z.js +8 -0
  78. package/dist/{layers.Bq-qzTVY.js → layers.CS-hvdvV.js} +1 -1
  79. package/dist/{layers.D2lX4RIx.js → layers.CU6OIXsX.js} +3 -3
  80. package/dist/{layers.CVu6Qj2u.js → layers.CVYhf1c9.js} +1 -1
  81. package/dist/{layers.LQGtraSs.js → layers.CWfSfDP4.js} +4 -4
  82. package/dist/{layers.B8AEniI_.js → layers.CXvCwtBK.js} +3 -3
  83. package/dist/{layers.BShAEKRS.js → layers.CY3aCnI2.js} +1 -1
  84. package/dist/{layers.BRfZjBnJ.js → layers.CYCvrdN3.js} +1 -1
  85. package/dist/{layers.BZ_QEbyO.js → layers.CYyAzUob.js} +1 -1
  86. package/dist/{layers.B2mVB3DA.js → layers.CYyxM2S0.js} +1 -1
  87. package/dist/{layers.KjR3SHwr.js → layers.CaT2ocom.js} +1 -1
  88. package/dist/layers.CbnHyq2Y.js +233 -0
  89. package/dist/layers.CcpbkxqB.js +52 -0
  90. package/dist/{layers.CWRqqdLq.js → layers.CdGEllV3.js} +27 -27
  91. package/dist/{layers.C2db1CP0.js → layers.CdNHz84H.js} +1 -1
  92. package/dist/layers.CfIDQ0yP.js +6 -0
  93. package/dist/{layers.DlphdLPZ.js → layers.CfPYLIDU.js} +1 -1
  94. package/dist/{layers.BaPJ377A.js → layers.Cfe61Lyu.js} +1 -1
  95. package/dist/layers.Cg4AHN6_.js +1 -0
  96. package/dist/layers.Cj-qNlsZ.js +1 -0
  97. package/dist/{layers.-SoYlGZ4.js → layers.Ckj8RuRd.js} +2 -2
  98. package/dist/{layers.YdsALZmG.js → layers.Cl2bcPnJ.js} +1 -1
  99. package/dist/{layers.GPEwHHqp.js → layers.Clh5_lvn.js} +1 -1
  100. package/dist/{layers.B6xyTMaK.js → layers.CljIogPg.js} +1 -1
  101. package/dist/{layers.BwO5_pmq.js → layers.CnYOlDnY.js} +4 -4
  102. package/dist/{layers.Dnbe3DHX.js → layers.Cnhp4QSJ.js} +1 -1
  103. package/dist/{layers.C6y_KErF.js → layers.Co6BCESg.js} +1 -1
  104. package/dist/{layers.BZfpIslM.js → layers.CowwBfzZ.js} +5 -5
  105. package/dist/{layers.D_I31YYn.js → layers.Cqr3uGVS.js} +3 -3
  106. package/dist/{layers.DvFRXt5t.js → layers.CsY8wrNw.js} +1 -1
  107. package/dist/{layers.pHZQrmSX.js → layers.CtaF8RS8.js} +1 -1
  108. package/dist/{layers.BpF9jvwO.js → layers.CyVhJ284.js} +3 -3
  109. package/dist/{layers.Dh23O9xV.js → layers.CzKnm-01.js} +1 -1
  110. package/dist/layers.D-QteVNg.js +164 -0
  111. package/dist/{layers.DiR16JGR.js → layers.D1TJVyBm.js} +1 -1
  112. package/dist/{layers.DgpUZDyj.js → layers.D1ldRklw.js} +1 -1
  113. package/dist/{layers.CKeMjhDd.js → layers.D1n6zmRK.js} +13594 -12706
  114. package/dist/{layers.DNI_NjEo.js → layers.D3LSzZKo.js} +1 -1
  115. package/dist/{layers.UEG1bSm4.js → layers.D5RYmqTD.js} +1 -1
  116. package/dist/{layers.DApRpkqG.js → layers.D5qd_Zop.js} +1 -1
  117. package/dist/layers.D6kPhQ9G.js +348 -0
  118. package/dist/layers.D7Qts4WY.js +1 -0
  119. package/dist/{layers.CG1owC1Y.js → layers.D7kLbmWU.js} +1 -1
  120. package/dist/{layers.C7NVHlX3.js → layers.D9a73Znu.js} +1 -1
  121. package/dist/{layers.CnIKr3HC.js → layers.D9folo_s.js} +1 -1
  122. package/dist/{layers.BZDS7hkL.js → layers.DAjp6-wx.js} +1 -1
  123. package/dist/layers.DD2PCXkD.js +1 -0
  124. package/dist/{layers.CaUC2D92.js → layers.DDxiUcg8.js} +1 -1
  125. package/dist/{layers.B9C_ydJQ.js → layers.DFVB1n6A.js} +4 -4
  126. package/dist/{layers.DyDL5yGh.js → layers.DI7ZyjoX.js} +1 -1
  127. package/dist/{layers.BIjbMXbG.js → layers.DJ66N0oc.js} +1 -1
  128. package/dist/{layers.qOpzfyD3.js → layers.DKtuH18J.js} +1 -1
  129. package/dist/{layers.CfKxIk3q.js → layers.DLG_PKh8.js} +1 -1
  130. package/dist/{layers.D1k7cW3x.js → layers.DMfcbBi1.js} +1 -1
  131. package/dist/{layers.Bn7h0_PO.js → layers.DOhNcLuv.js} +1 -1
  132. package/dist/{layers.PjvaYTA1.js → layers.DPYcn_jU.js} +1 -1
  133. package/dist/{layers.QQaJgK-3.js → layers.DPoeHfug.js} +10 -10
  134. package/dist/{layers.CvxxnOJk.js → layers.DR-q1Ex1.js} +1 -1
  135. package/dist/{layers.CM6kSWDJ.js → layers.DRJABPMz.js} +1 -1
  136. package/dist/{layers.D9ppEsRM.js → layers.DS7nuqyt.js} +1 -1
  137. package/dist/{layers.DD-m7zXa.js → layers.DTqDZjML.js} +1 -1
  138. package/dist/{layers.CxMy14VF.js → layers.DU3FAi5L.js} +1 -1
  139. package/dist/{layers.y7XKfK2M.js → layers.DV5VCfrq.js} +1 -1
  140. package/dist/{layers._hGJtiFF.js → layers.DVMjd5d3.js} +4 -4
  141. package/dist/{layers.Z6OA1iTo.js → layers.DYmFRPsi.js} +1 -1
  142. package/dist/{layers.B45pZpRt.js → layers.DZmmKjav.js} +1 -1
  143. package/dist/{layers.BE_G1PBu.js → layers.DcG18ML0.js} +1 -1
  144. package/dist/{layers.B3fYd_9D.js → layers.DebVbEAS.js} +1 -1
  145. package/dist/{layers.V-vdqPil.js → layers.Df6GGcmJ.js} +1 -1
  146. package/dist/{layers.C78DgiuT.js → layers.Dg1HN7cT.js} +1 -1
  147. package/dist/{layers.CToiKOqz.js → layers.DgEGyEsl.js} +1 -1
  148. package/dist/{layers.BJO1Euhs.js → layers.Di36Yl9A.js} +1 -1
  149. package/dist/{layers.BBoFnnN_.js → layers.DitHVyEj.js} +1 -1
  150. package/dist/{layers.XQUBdD95.js → layers.DjHeiU4c.js} +1 -1
  151. package/dist/{layers.DQ778Ve4.js → layers.DjvLj4es.js} +1 -1
  152. package/dist/{layers.DMb_rSqp.js → layers.DkowjGav.js} +1 -1
  153. package/dist/{layers.DZZBGObz.js → layers.DlVBmNyK.js} +1 -1
  154. package/dist/{layers.DTB5qpIW.js → layers.DmrAeeKU.js} +1 -1
  155. package/dist/{layers.CkAtxxlT.js → layers.Dn9Hi55N.js} +1 -1
  156. package/dist/{layers.BdhDkatQ.js → layers.DnHGKDyM.js} +1 -1
  157. package/dist/{layers.CiV1e4MO.js → layers.DnqWZwQU.js} +1 -1
  158. package/dist/{layers.D4Huv7DR.js → layers.Do78eM4M.js} +3 -3
  159. package/dist/{layers.D30Czgu4.js → layers.DpD73nA7.js} +1 -1
  160. package/dist/{layers.rbYb_9bp.js → layers.DpFY9y3g.js} +1 -1
  161. package/dist/{layers.BoM7zzQh.js → layers.Dq5_h1SH.js} +1 -1
  162. package/dist/{layers.DZP8Sltj.js → layers.DqZDLu6K.js} +1 -1
  163. package/dist/{layers.BBmTszje.js → layers.DrcfKD9a.js} +5 -5
  164. package/dist/{layers.C_msKxOz.js → layers.DsCAMyvo.js} +1 -1
  165. package/dist/{layers.Cw61uzWb.js → layers.Dw58QId5.js} +1 -1
  166. package/dist/{layers.D8biYzmQ.js → layers.DwOi3CvV.js} +1 -1
  167. package/dist/{layers.UAO4_g8C.js → layers.DxIxAS8F.js} +4 -4
  168. package/dist/{layers.CW-PNnHn.js → layers.Dxxonl8q.js} +1 -1
  169. package/dist/{layers.DqdRd9i0.js → layers.EG8najvZ.js} +1 -1
  170. package/dist/{layers.CNCaYY8I.js → layers.IAIAsmUw.js} +1 -1
  171. package/dist/{layers.DCAlvV-0.js → layers.J8Z_C3NQ.js} +1 -1
  172. package/dist/{layers.CPNW73dw.js → layers.P39pBfqf.js} +1 -1
  173. package/dist/{layers.DR78Ayid.js → layers.QLkJvmg1.js} +1 -1
  174. package/dist/{layers.By9vgCc0.js → layers.S3qCnOP2.js} +1 -1
  175. package/dist/{layers.DdoahV7F.js → layers.SKohyt9B.js} +1 -1
  176. package/dist/{layers.BHiivtGZ.js → layers.VEGqxTk-.js} +1 -1
  177. package/dist/{layers.B8W0NJOR.js → layers.Vt1XQK6W.js} +1 -1
  178. package/dist/{layers.CkagAevp.js → layers.WqhyskLp.js} +2 -2
  179. package/dist/{layers.DD0FbLE_.js → layers.X4eKHpEy.js} +1 -1
  180. package/dist/{layers.C6jbv5lL.js → layers.Z8GIYnAT.js} +1 -1
  181. package/dist/{layers.Bm4YRsyc.js → layers.as6ZvON8.js} +1 -1
  182. package/dist/{layers.BbkCkr5n.js → layers.d1uW8Cj_.js} +1 -1
  183. package/dist/{layers.CQ5N9HVy.js → layers.dWVUCNtG.js} +1 -1
  184. package/dist/{layers.CKILvYTL.js → layers.dWzI2fUx.js} +1 -1
  185. package/dist/{layers.B0tEq2s6.js → layers.ey3D8hxH.js} +1 -1
  186. package/dist/{layers.BCSaOuQ1.js → layers.fiT4QUHa.js} +1 -1
  187. package/dist/{layers.BANAWfdK.js → layers.g5Z6qziX.js} +1 -1
  188. package/dist/{layers.H0OmHWM2.js → layers.g8woH9uG.js} +1 -1
  189. package/dist/{layers.DMnWrTAc.js → layers.hj_a3frE.js} +1 -1
  190. package/dist/{layers.CLL6UFgy.js → layers.j7U28NgO.js} +1 -1
  191. package/dist/{layers.BrFcTrkT.js → layers.kfoBM0yr.js} +5 -5
  192. package/dist/{layers.CyayEro7.js → layers.lDLiL1_T.js} +2 -2
  193. package/dist/{layers.DsHueDi2.js → layers.mWPUTN1D.js} +1 -1
  194. package/dist/{layers.B_C67uGt.js → layers.nErtWO3_.js} +9 -9
  195. package/dist/{layers.BbfBmSj-.js → layers.nP3IgJZC.js} +1 -1
  196. package/dist/{layers.DJc7dVG5.js → layers.nYmceift.js} +1 -1
  197. package/dist/{layers.Cu69BtS3.js → layers.nufteHAo.js} +1 -1
  198. package/dist/{layers.BgW_qdBy.js → layers.pV3DGcq1.js} +1 -1
  199. package/dist/layers.qMR05iKH.js +4 -0
  200. package/dist/{layers.sk0aRHl-.js → layers.s1Ge8t6M.js} +1 -1
  201. package/dist/{layers.B_qqQYX7.js → layers.s1e9gDkG.js} +1 -1
  202. package/dist/{layers.Bh5qkD3w.js → layers.sOOJNze-.js} +1 -1
  203. package/dist/{layers.B5lO7ma5.js → layers.tFYHWSUA.js} +1 -1
  204. package/dist/{layers.D0fpd89R.js → layers.wyhPINdO.js} +1 -1
  205. package/dist/{layers.BPn87Y-P.js → layers.y05pHaSI.js} +1 -1
  206. package/package.json +5 -5
  207. package/dist/layers.B16cpHno.js +0 -1
  208. package/dist/layers.B8JPGn6r.js +0 -1
  209. package/dist/layers.BaqrGe4g.js +0 -6
  210. package/dist/layers.BcFk1Bpa.js +0 -50
  211. package/dist/layers.Bjq79IY_.js +0 -1
  212. package/dist/layers.BriP0h7v.js +0 -8
  213. package/dist/layers.Cm9X0X3T.js +0 -1
  214. package/dist/layers.Cn1jF2Gh.js +0 -164
  215. package/dist/layers.DW9YHURZ.js +0 -233
  216. package/dist/layers.DvkA4OgA.js +0 -116
  217. package/dist/layers.YyZAezbn.js +0 -343
  218. package/dist/layers._Eomtf_i.js +0 -1
  219. package/dist/layers.jO8In61o.js +0 -4
@@ -1,10 +1,10 @@
1
- import { G as R } from "./layers.C7lIplJU.js";
2
- import { a7 as F, aa as j, l as h, g as S, d as $, u as U, Y as H, _ as A, $ as E, a0 as L, V as z, j as V, t as K } from "./layers.V029Ul2p.js";
3
- import { r as W } from "./layers.D_I31YYn.js";
4
- import * as G from "lodash-es";
5
- import { c as X } from "./layers.MwcQPa9L.js";
6
- function Y(e) {
7
- return new F([document.querySelectorAll(e)], [document.documentElement]);
1
+ import { G as F } from "./layers.C7lIplJU.js";
2
+ import { a7 as G, a8 as j, a9 as U, aa as H, l as g, g as S, d as $, u as K, Y as W, _ as A, $ as E, a0 as L, V, j as P, t as X } from "./layers.ApTC2I7t.js";
3
+ import { r as Y } from "./layers.Cqr3uGVS.js";
4
+ import * as z from "lodash-es";
5
+ import { c as J } from "./layers.CQmgIDtV.js";
6
+ function Q(e) {
7
+ return typeof e == "string" ? new G([document.querySelectorAll(e)], [document.documentElement]) : new G([U(e)], j);
8
8
  }
9
9
  function de(e, l) {
10
10
  return !!e.children(l).length;
@@ -12,11 +12,11 @@ function de(e, l) {
12
12
  function pe(e) {
13
13
  return N(e.v) + ":" + N(e.w) + ":" + N(e.name);
14
14
  }
15
- var J = /:/g;
15
+ var Z = /:/g;
16
16
  function N(e) {
17
- return e ? String(e).replace(J, "\\:") : "";
17
+ return e ? String(e).replace(Z, "\\:") : "";
18
18
  }
19
- function Q(e, l) {
19
+ function O(e, l) {
20
20
  l && e.attr("style", l);
21
21
  }
22
22
  function be(e, l, c) {
@@ -24,14 +24,14 @@ function be(e, l, c) {
24
24
  }
25
25
  function fe(e, l) {
26
26
  var c = l.graph();
27
- if (G.isPlainObject(c)) {
27
+ if (z.isPlainObject(c)) {
28
28
  var a = c.transition;
29
- if (G.isFunction(a))
29
+ if (z.isFunction(a))
30
30
  return a(e);
31
31
  }
32
32
  return e;
33
33
  }
34
- function Z(e, l) {
34
+ function ee(e, l) {
35
35
  var c = e.append("foreignObject").attr("width", "100000"), a = c.append("xhtml:div");
36
36
  a.attr("xmlns", "http://www.w3.org/1999/xhtml");
37
37
  var i = l.label;
@@ -47,15 +47,15 @@ function Z(e, l) {
47
47
  default:
48
48
  a.html(i);
49
49
  }
50
- Q(a, l.labelStyle), a.style("display", "inline-block"), a.style("white-space", "nowrap");
50
+ O(a, l.labelStyle), a.style("display", "inline-block"), a.style("white-space", "nowrap");
51
51
  var d = a.node().getBoundingClientRect();
52
52
  return c.attr("width", d.width).attr("height", d.height), c;
53
53
  }
54
- const P = {}, O = function(e) {
54
+ const q = {}, te = function(e) {
55
55
  const l = Object.keys(e);
56
56
  for (const c of l)
57
- P[c] = e[c];
58
- }, q = async function(e, l, c, a, i, d) {
57
+ q[c] = e[c];
58
+ }, M = async function(e, l, c, a, i, d) {
59
59
  const u = a.select(`[id="${c}"]`), n = Object.keys(e);
60
60
  for (const p of n) {
61
61
  const r = e[p];
@@ -63,16 +63,16 @@ const P = {}, O = function(e) {
63
63
  r.classes.length > 0 && (y = r.classes.join(" ")), y = y + " flowchart-label";
64
64
  const w = A(r.styles);
65
65
  let t = r.text !== void 0 ? r.text : r.id, s;
66
- if (h.info("vertex", r, r.labelType), r.labelType === "markdown")
67
- h.info("vertex", r, r.labelType);
68
- else if (K(S().flowchart.htmlLabels))
69
- s = Z(u, {
66
+ if (g.info("vertex", r, r.labelType), r.labelType === "markdown")
67
+ g.info("vertex", r, r.labelType);
68
+ else if (X(S().flowchart.htmlLabels))
69
+ s = ee(u, {
70
70
  label: t
71
71
  }).node(), s.parentNode.removeChild(s);
72
72
  else {
73
73
  const k = i.createElementNS("http://www.w3.org/2000/svg", "text");
74
74
  k.setAttribute("style", w.labelStyle.replace("color:", "fill:"));
75
- const _ = t.split(V.lineBreakRegex);
75
+ const _ = t.split(P.lineBreakRegex);
76
76
  for (const C of _) {
77
77
  const v = i.createElementNS("http://www.w3.org/2000/svg", "tspan");
78
78
  v.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), v.setAttribute("dy", "1em"), v.setAttribute("x", "1"), v.textContent = C, k.appendChild(v);
@@ -135,7 +135,7 @@ const P = {}, O = function(e) {
135
135
  default:
136
136
  o = "rect";
137
137
  }
138
- const T = await z(t, S());
138
+ const T = await V(t, S());
139
139
  l.setNode(r.id, {
140
140
  labelStyle: w.labelStyle,
141
141
  shape: o,
@@ -156,7 +156,7 @@ const P = {}, O = function(e) {
156
156
  type: r.type,
157
157
  props: r.props,
158
158
  padding: S().flowchart.padding
159
- }), h.info("setNode", {
159
+ }), g.info("setNode", {
160
160
  labelStyle: w.labelStyle,
161
161
  labelType: r.labelType,
162
162
  shape: o,
@@ -174,8 +174,8 @@ const P = {}, O = function(e) {
174
174
  padding: S().flowchart.padding
175
175
  });
176
176
  }
177
- }, M = async function(e, l, c) {
178
- h.info("abc78 edges = ", e);
177
+ }, R = async function(e, l, c) {
178
+ g.info("abc78 edges = ", e);
179
179
  let a = 0, i = {}, d, u;
180
180
  if (e.defaultStyle !== void 0) {
181
181
  const n = A(e.defaultStyle);
@@ -184,9 +184,9 @@ const P = {}, O = function(e) {
184
184
  for (const n of e) {
185
185
  a++;
186
186
  const p = "L-" + n.start + "-" + n.end;
187
- i[p] === void 0 ? (i[p] = 0, h.info("abc78 new entry", p, i[p])) : (i[p]++, h.info("abc78 new entry", p, i[p]));
187
+ i[p] === void 0 ? (i[p] = 0, g.info("abc78 new entry", p, i[p])) : (i[p]++, g.info("abc78 new entry", p, i[p]));
188
188
  let r = p + "-" + i[p];
189
- h.info("abc78 new link id to be used is", p, r, i[p]);
189
+ g.info("abc78 new link id to be used is", p, r, i[p]);
190
190
  const y = "LS-" + n.start, w = "LE-" + n.end, t = { style: "", labelStyle: "" };
191
191
  switch (t.minlen = n.length || 1, n.type === "arrow_open" ? t.arrowhead = "none" : t.arrowhead = "normal", t.arrowTypeStart = "arrow_open", t.arrowTypeEnd = "arrow_open", n.type) {
192
192
  case "double_arrow_cross":
@@ -224,19 +224,19 @@ const P = {}, O = function(e) {
224
224
  const o = A(n.style);
225
225
  s = o.style, b = o.labelStyle;
226
226
  }
227
- t.style = t.style += s, t.labelStyle = t.labelStyle += b, n.interpolate !== void 0 ? t.curve = E(n.interpolate, L) : e.defaultInterpolate !== void 0 ? t.curve = E(e.defaultInterpolate, L) : t.curve = E(P.curve, L), n.text === void 0 ? n.style !== void 0 && (t.arrowheadStyle = "fill: #333") : (t.arrowheadStyle = "fill: #333", t.labelpos = "c"), t.labelType = n.labelType, t.label = await z(n.text.replace(V.lineBreakRegex, `
227
+ t.style = t.style += s, t.labelStyle = t.labelStyle += b, n.interpolate !== void 0 ? t.curve = E(n.interpolate, L) : e.defaultInterpolate !== void 0 ? t.curve = E(e.defaultInterpolate, L) : t.curve = E(q.curve, L), n.text === void 0 ? n.style !== void 0 && (t.arrowheadStyle = "fill: #333") : (t.arrowheadStyle = "fill: #333", t.labelpos = "c"), t.labelType = n.labelType, t.label = await V(n.text.replace(P.lineBreakRegex, `
228
228
  `), S()), n.style === void 0 && (t.style = t.style || "stroke: #333; stroke-width: 1.5px;fill:none;"), t.labelStyle = t.labelStyle.replace("color:", "fill:"), t.id = r, t.classes = "flowchart-link " + y + " " + w, l.setEdge(n.start, n.end, t, a);
229
229
  }
230
- }, ee = function(e, l) {
230
+ }, re = function(e, l) {
231
231
  return l.db.getClasses();
232
- }, te = async function(e, l, c, a) {
233
- h.info("Drawing flowchart");
232
+ }, le = async function(e, l, c, a) {
233
+ g.info("Drawing flowchart");
234
234
  let i = a.db.getDirection();
235
235
  i === void 0 && (i = "TD");
236
236
  const { securityLevel: d, flowchart: u } = S(), n = u.nodeSpacing || 50, p = u.rankSpacing || 50;
237
237
  let r;
238
238
  d === "sandbox" && (r = $("#i" + l));
239
- const y = d === "sandbox" ? $(r.nodes()[0].contentDocument.body) : $("body"), w = d === "sandbox" ? r.nodes()[0].contentDocument : document, t = new R({
239
+ const y = d === "sandbox" ? $(r.nodes()[0].contentDocument.body) : $("body"), w = d === "sandbox" ? r.nodes()[0].contentDocument : document, t = new F({
240
240
  multigraph: !0,
241
241
  compound: !0
242
242
  }).setGraph({
@@ -250,9 +250,9 @@ const P = {}, O = function(e) {
250
250
  });
251
251
  let s;
252
252
  const b = a.db.getSubGraphs();
253
- h.info("Subgraphs - ", b);
253
+ g.info("Subgraphs - ", b);
254
254
  for (let f = b.length - 1; f >= 0; f--)
255
- s = b[f], h.info("Subgraph - ", s), a.db.addVertex(
255
+ s = b[f], g.info("Subgraph - ", s), a.db.addVertex(
256
256
  s.id,
257
257
  { text: s.title, type: s.labelType },
258
258
  "group",
@@ -261,20 +261,20 @@ const P = {}, O = function(e) {
261
261
  s.dir
262
262
  );
263
263
  const o = a.db.getVertices(), T = a.db.getEdges();
264
- h.info("Edges", T);
264
+ g.info("Edges", T);
265
265
  let k = 0;
266
266
  for (k = b.length - 1; k >= 0; k--) {
267
- s = b[k], Y("cluster").append("text");
267
+ s = b[k], Q("cluster").append("text");
268
268
  for (let f = 0; f < s.nodes.length; f++)
269
- h.info("Setting up subgraphs", s.nodes[f], s.id), t.setParent(s.nodes[f], s.id);
269
+ g.info("Setting up subgraphs", s.nodes[f], s.id), t.setParent(s.nodes[f], s.id);
270
270
  }
271
- await q(o, t, l, y, w, a), await M(T, t);
271
+ await M(o, t, l, y, w, a), await R(T, t);
272
272
  const _ = y.select(`[id="${l}"]`), C = y.select("#" + l + " g");
273
- if (await W(C, t, ["point", "circle", "cross"], "flowchart", l), U.insertTitle(_, "flowchartTitleText", u.titleTopMargin, a.db.getDiagramTitle()), H(t, _, u.diagramPadding, u.useMaxWidth), a.db.indexNodes("subGraph" + k), !u.htmlLabels) {
273
+ if (await Y(C, t, ["point", "circle", "cross"], "flowchart", l), K.insertTitle(_, "flowchartTitleText", u.titleTopMargin, a.db.getDiagramTitle()), W(t, _, u.diagramPadding, u.useMaxWidth), a.db.indexNodes("subGraph" + k), !u.htmlLabels) {
274
274
  const f = w.querySelectorAll('[id="' + l + '"] .edgeLabel .label');
275
275
  for (const x of f) {
276
- const m = x.getBBox(), g = w.createElementNS("http://www.w3.org/2000/svg", "rect");
277
- g.setAttribute("rx", 0), g.setAttribute("ry", 0), g.setAttribute("width", m.width), g.setAttribute("height", m.height), x.insertBefore(g, x.firstChild);
276
+ const m = x.getBBox(), h = w.createElementNS("http://www.w3.org/2000/svg", "rect");
277
+ h.setAttribute("rx", 0), h.setAttribute("ry", 0), h.setAttribute("width", m.width), h.setAttribute("height", m.height), x.insertBefore(h, x.firstChild);
278
278
  }
279
279
  }
280
280
  Object.keys(o).forEach(function(f) {
@@ -282,10 +282,10 @@ const P = {}, O = function(e) {
282
282
  if (x.link) {
283
283
  const m = $("#" + l + ' [id="' + f + '"]');
284
284
  if (m) {
285
- const g = w.createElementNS("http://www.w3.org/2000/svg", "a");
286
- g.setAttributeNS("http://www.w3.org/2000/svg", "class", x.classes.join(" ")), g.setAttributeNS("http://www.w3.org/2000/svg", "href", x.link), g.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), d === "sandbox" ? g.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : x.linkTarget && g.setAttributeNS("http://www.w3.org/2000/svg", "target", x.linkTarget);
285
+ const h = w.createElementNS("http://www.w3.org/2000/svg", "a");
286
+ h.setAttributeNS("http://www.w3.org/2000/svg", "class", x.classes.join(" ")), h.setAttributeNS("http://www.w3.org/2000/svg", "href", x.link), h.setAttributeNS("http://www.w3.org/2000/svg", "rel", "noopener"), d === "sandbox" ? h.setAttributeNS("http://www.w3.org/2000/svg", "target", "_top") : x.linkTarget && h.setAttributeNS("http://www.w3.org/2000/svg", "target", x.linkTarget);
287
287
  const B = m.insert(function() {
288
- return g;
288
+ return h;
289
289
  }, ":first-child"), I = m.select(".label-container");
290
290
  I && B.append(function() {
291
291
  return I.node();
@@ -298,15 +298,15 @@ const P = {}, O = function(e) {
298
298
  }
299
299
  });
300
300
  }, ue = {
301
- setConf: O,
302
- addVertices: q,
303
- addEdges: M,
304
- getClasses: ee,
305
- draw: te
306
- }, re = (e, l) => {
307
- const c = X, a = c(e, "r"), i = c(e, "g"), d = c(e, "b");
308
- return j(a, i, d, l);
309
- }, le = (e) => `.label {
301
+ setConf: te,
302
+ addVertices: M,
303
+ addEdges: R,
304
+ getClasses: re,
305
+ draw: le
306
+ }, ae = (e, l) => {
307
+ const c = J, a = c(e, "r"), i = c(e, "g"), d = c(e, "b");
308
+ return H(a, i, d, l);
309
+ }, oe = (e) => `.label {
310
310
  font-family: ${e.fontFamily};
311
311
  color: ${e.nodeTextColor || e.textColor};
312
312
  }
@@ -380,7 +380,7 @@ const P = {}, O = function(e) {
380
380
 
381
381
  /* For html labels only */
382
382
  .labelBkg {
383
- background-color: ${re(e.edgeLabelBackground, 0.5)};
383
+ background-color: ${ae(e.edgeLabelBackground, 0.5)};
384
384
  // background-color:
385
385
  }
386
386
 
@@ -420,15 +420,15 @@ const P = {}, O = function(e) {
420
420
  font-size: 18px;
421
421
  fill: ${e.textColor};
422
422
  }
423
- `, we = le;
423
+ `, we = oe;
424
424
  export {
425
425
  ue as a,
426
- Q as b,
427
- Z as c,
426
+ O as b,
427
+ ee as c,
428
428
  fe as d,
429
429
  pe as e,
430
430
  we as f,
431
431
  be as g,
432
432
  de as i,
433
- Y as s
433
+ Q as s
434
434
  };
@@ -1 +1 @@
1
- "use strict";const D=require("./layers.DOrgOHBr.js"),n=require("./layers.BrznVoq-.js");function b(o){return o.innerRadius}function k(o){return o.outerRadius}function _(o){return o.startAngle}function nn(o){return o.endAngle}function en(o){return o&&o.padAngle}function an(o,x,E,P,h,v,j,i){var I=E-o,t=P-x,e=j-h,y=i-v,s=y*I-e*t;if(!(s*s<n.epsilon))return s=(e*(x-v)-y*(o-h))/s,[o+s*I,x+s*t]}function M(o,x,E,P,h,v,j){var i=o-E,I=x-P,t=(j?v:-v)/n.sqrt(i*i+I*I),e=t*I,y=-t*i,s=o+e,u=x+y,c=E+e,f=P+y,z=(s+c)/2,l=(u+f)/2,g=c-s,p=f-u,A=g*g+p*p,R=h-v,T=s*f-c*u,O=(p<0?-1:1)*n.sqrt(n.max(0,R*R*A-T*T)),S=(T*p-g*O)/A,$=(-T*g-p*O)/A,q=(T*p+g*O)/A,m=(-T*g+p*O)/A,d=S-z,a=$-l,r=q-z,B=m-l;return d*d+a*a>r*r+B*B&&(S=q,$=m),{cx:S,cy:$,x01:-e,y01:-y,x11:S*(h/R-1),y11:$*(h/R-1)}}function sn(){var o=b,x=k,E=D.constant(0),P=null,h=_,v=nn,j=en,i=null,I=D.withPath(t);function t(){var e,y,s=+o.apply(this,arguments),u=+x.apply(this,arguments),c=h.apply(this,arguments)-n.halfPi,f=v.apply(this,arguments)-n.halfPi,z=n.abs(f-c),l=f>c;if(i||(i=e=I()),u<s&&(y=u,u=s,s=y),!(u>n.epsilon))i.moveTo(0,0);else if(z>n.tau-n.epsilon)i.moveTo(u*n.cos(c),u*n.sin(c)),i.arc(0,0,u,c,f,!l),s>n.epsilon&&(i.moveTo(s*n.cos(f),s*n.sin(f)),i.arc(0,0,s,f,c,l));else{var g=c,p=f,A=c,R=f,T=z,O=z,S=j.apply(this,arguments)/2,$=S>n.epsilon&&(P?+P.apply(this,arguments):n.sqrt(s*s+u*u)),q=n.min(n.abs(u-s)/2,+E.apply(this,arguments)),m=q,d=q,a,r;if($>n.epsilon){var B=n.asin($/s*n.sin(S)),G=n.asin($/u*n.sin(S));(T-=B*2)>n.epsilon?(B*=l?1:-1,A+=B,R-=B):(T=0,A=R=(c+f)/2),(O-=G*2)>n.epsilon?(G*=l?1:-1,g+=G,p-=G):(O=0,g=p=(c+f)/2)}var C=u*n.cos(g),F=u*n.sin(g),H=s*n.cos(R),J=s*n.sin(R);if(q>n.epsilon){var K=u*n.cos(p),L=u*n.sin(p),N=s*n.cos(A),Q=s*n.sin(A),w;if(z<n.pi)if(w=an(C,F,N,Q,K,L,H,J)){var U=C-w[0],V=F-w[1],W=K-w[0],X=L-w[1],Y=1/n.sin(n.acos((U*W+V*X)/(n.sqrt(U*U+V*V)*n.sqrt(W*W+X*X)))/2),Z=n.sqrt(w[0]*w[0]+w[1]*w[1]);m=n.min(q,(s-Z)/(Y-1)),d=n.min(q,(u-Z)/(Y+1))}else m=d=0}O>n.epsilon?d>n.epsilon?(a=M(N,Q,C,F,u,d,l),r=M(K,L,H,J,u,d,l),i.moveTo(a.cx+a.x01,a.cy+a.y01),d<q?i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(r.y01,r.x01),!l):(i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),i.arc(0,0,u,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(r.cy+r.y11,r.cx+r.x11),!l),i.arc(r.cx,r.cy,d,n.atan2(r.y11,r.x11),n.atan2(r.y01,r.x01),!l))):(i.moveTo(C,F),i.arc(0,0,u,g,p,!l)):i.moveTo(C,F),!(s>n.epsilon)||!(T>n.epsilon)?i.lineTo(H,J):m>n.epsilon?(a=M(H,J,K,L,s,-m,l),r=M(C,F,N,Q,s,-m,l),i.lineTo(a.cx+a.x01,a.cy+a.y01),m<q?i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(r.y01,r.x01),!l):(i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),i.arc(0,0,s,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(r.cy+r.y11,r.cx+r.x11),l),i.arc(r.cx,r.cy,m,n.atan2(r.y11,r.x11),n.atan2(r.y01,r.x01),!l))):i.arc(0,0,s,R,A,l)}if(i.closePath(),e)return i=null,e+""||null}return t.centroid=function(){var e=(+o.apply(this,arguments)+ +x.apply(this,arguments))/2,y=(+h.apply(this,arguments)+ +v.apply(this,arguments))/2-n.pi/2;return[n.cos(y)*e,n.sin(y)*e]},t.innerRadius=function(e){return arguments.length?(o=typeof e=="function"?e:D.constant(+e),t):o},t.outerRadius=function(e){return arguments.length?(x=typeof e=="function"?e:D.constant(+e),t):x},t.cornerRadius=function(e){return arguments.length?(E=typeof e=="function"?e:D.constant(+e),t):E},t.padRadius=function(e){return arguments.length?(P=e==null?null:typeof e=="function"?e:D.constant(+e),t):P},t.startAngle=function(e){return arguments.length?(h=typeof e=="function"?e:D.constant(+e),t):h},t.endAngle=function(e){return arguments.length?(v=typeof e=="function"?e:D.constant(+e),t):v},t.padAngle=function(e){return arguments.length?(j=typeof e=="function"?e:D.constant(+e),t):j},t.context=function(e){return arguments.length?(i=e??null,t):i},t}exports.arc=sn;
1
+ "use strict";const D=require("./layers.DOrgOHBr.js"),n=require("./layers.Bd8pdpPX.js");function b(o){return o.innerRadius}function k(o){return o.outerRadius}function _(o){return o.startAngle}function nn(o){return o.endAngle}function en(o){return o&&o.padAngle}function an(o,x,E,P,h,v,j,i){var I=E-o,t=P-x,e=j-h,y=i-v,s=y*I-e*t;if(!(s*s<n.epsilon))return s=(e*(x-v)-y*(o-h))/s,[o+s*I,x+s*t]}function M(o,x,E,P,h,v,j){var i=o-E,I=x-P,t=(j?v:-v)/n.sqrt(i*i+I*I),e=t*I,y=-t*i,s=o+e,u=x+y,c=E+e,f=P+y,z=(s+c)/2,l=(u+f)/2,g=c-s,p=f-u,A=g*g+p*p,R=h-v,T=s*f-c*u,O=(p<0?-1:1)*n.sqrt(n.max(0,R*R*A-T*T)),S=(T*p-g*O)/A,$=(-T*g-p*O)/A,q=(T*p+g*O)/A,m=(-T*g+p*O)/A,d=S-z,a=$-l,r=q-z,B=m-l;return d*d+a*a>r*r+B*B&&(S=q,$=m),{cx:S,cy:$,x01:-e,y01:-y,x11:S*(h/R-1),y11:$*(h/R-1)}}function sn(){var o=b,x=k,E=D.constant(0),P=null,h=_,v=nn,j=en,i=null,I=D.withPath(t);function t(){var e,y,s=+o.apply(this,arguments),u=+x.apply(this,arguments),c=h.apply(this,arguments)-n.halfPi,f=v.apply(this,arguments)-n.halfPi,z=n.abs(f-c),l=f>c;if(i||(i=e=I()),u<s&&(y=u,u=s,s=y),!(u>n.epsilon))i.moveTo(0,0);else if(z>n.tau-n.epsilon)i.moveTo(u*n.cos(c),u*n.sin(c)),i.arc(0,0,u,c,f,!l),s>n.epsilon&&(i.moveTo(s*n.cos(f),s*n.sin(f)),i.arc(0,0,s,f,c,l));else{var g=c,p=f,A=c,R=f,T=z,O=z,S=j.apply(this,arguments)/2,$=S>n.epsilon&&(P?+P.apply(this,arguments):n.sqrt(s*s+u*u)),q=n.min(n.abs(u-s)/2,+E.apply(this,arguments)),m=q,d=q,a,r;if($>n.epsilon){var B=n.asin($/s*n.sin(S)),G=n.asin($/u*n.sin(S));(T-=B*2)>n.epsilon?(B*=l?1:-1,A+=B,R-=B):(T=0,A=R=(c+f)/2),(O-=G*2)>n.epsilon?(G*=l?1:-1,g+=G,p-=G):(O=0,g=p=(c+f)/2)}var C=u*n.cos(g),F=u*n.sin(g),H=s*n.cos(R),J=s*n.sin(R);if(q>n.epsilon){var K=u*n.cos(p),L=u*n.sin(p),N=s*n.cos(A),Q=s*n.sin(A),w;if(z<n.pi)if(w=an(C,F,N,Q,K,L,H,J)){var U=C-w[0],V=F-w[1],W=K-w[0],X=L-w[1],Y=1/n.sin(n.acos((U*W+V*X)/(n.sqrt(U*U+V*V)*n.sqrt(W*W+X*X)))/2),Z=n.sqrt(w[0]*w[0]+w[1]*w[1]);m=n.min(q,(s-Z)/(Y-1)),d=n.min(q,(u-Z)/(Y+1))}else m=d=0}O>n.epsilon?d>n.epsilon?(a=M(N,Q,C,F,u,d,l),r=M(K,L,H,J,u,d,l),i.moveTo(a.cx+a.x01,a.cy+a.y01),d<q?i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(r.y01,r.x01),!l):(i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),i.arc(0,0,u,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(r.cy+r.y11,r.cx+r.x11),!l),i.arc(r.cx,r.cy,d,n.atan2(r.y11,r.x11),n.atan2(r.y01,r.x01),!l))):(i.moveTo(C,F),i.arc(0,0,u,g,p,!l)):i.moveTo(C,F),!(s>n.epsilon)||!(T>n.epsilon)?i.lineTo(H,J):m>n.epsilon?(a=M(H,J,K,L,s,-m,l),r=M(C,F,N,Q,s,-m,l),i.lineTo(a.cx+a.x01,a.cy+a.y01),m<q?i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(r.y01,r.x01),!l):(i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),i.arc(0,0,s,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(r.cy+r.y11,r.cx+r.x11),l),i.arc(r.cx,r.cy,m,n.atan2(r.y11,r.x11),n.atan2(r.y01,r.x01),!l))):i.arc(0,0,s,R,A,l)}if(i.closePath(),e)return i=null,e+""||null}return t.centroid=function(){var e=(+o.apply(this,arguments)+ +x.apply(this,arguments))/2,y=(+h.apply(this,arguments)+ +v.apply(this,arguments))/2-n.pi/2;return[n.cos(y)*e,n.sin(y)*e]},t.innerRadius=function(e){return arguments.length?(o=typeof e=="function"?e:D.constant(+e),t):o},t.outerRadius=function(e){return arguments.length?(x=typeof e=="function"?e:D.constant(+e),t):x},t.cornerRadius=function(e){return arguments.length?(E=typeof e=="function"?e:D.constant(+e),t):E},t.padRadius=function(e){return arguments.length?(P=e==null?null:typeof e=="function"?e:D.constant(+e),t):P},t.startAngle=function(e){return arguments.length?(h=typeof e=="function"?e:D.constant(+e),t):h},t.endAngle=function(e){return arguments.length?(v=typeof e=="function"?e:D.constant(+e),t):v},t.padAngle=function(e){return arguments.length?(j=typeof e=="function"?e:D.constant(+e),t):j},t.context=function(e){return arguments.length?(i=e??null,t):i},t}exports.arc=sn;
@@ -1,8 +1,8 @@
1
- import { ab as Me, ac as Ye, ad as We, ae as _e, af as Ee, ag as ge, ah as Ue, ai as Ve, aj as we, ak as ne, al as ve, am as Q, an as Ge, ao as Xe, ap as He, aq as qe, ar as Ze, as as Je, at as Qe, W as ae, aa as $e, d as q, e as et, l as x, q as tt, j as st, g as De, _ as rt } from "./layers.V029Ul2p.js";
2
- import { i as it, c as nt, b as at, d as ot, a as Te, p as lt } from "./layers.BrFcTrkT.js";
1
+ import { ab as Me, ac as Ye, ad as We, ae as _e, af as Ee, ag as ge, ah as Ue, ai as Ve, aj as we, ak as ne, al as ve, am as Q, an as Ge, ao as Xe, ap as He, aq as qe, ar as Ze, as as Je, at as Qe, W as ae, aa as $e, d as q, e as et, l as x, q as tt, j as st, g as De, _ as rt } from "./layers.ApTC2I7t.js";
2
+ import { i as it, c as nt, b as at, d as ot, a as Te, p as lt } from "./layers.kfoBM0yr.js";
3
3
  import { G as ct } from "./layers.C7lIplJU.js";
4
- import "./layers.DTrhwWOZ.js";
5
- import { c as ut } from "./layers.MwcQPa9L.js";
4
+ import "./layers.CREnJNtC.js";
5
+ import { c as ut } from "./layers.CQmgIDtV.js";
6
6
  import { o as gt } from "./layers.b0h5ZBmD.js";
7
7
  import { s as dt } from "./layers.D7jGxypv.js";
8
8
  function ht(e, r) {
@@ -1,4 +1,4 @@
1
- import "./layers.DTrhwWOZ.js";
1
+ import "./layers.CREnJNtC.js";
2
2
  var u = { paste: "បិទភ្ជាប់", pasteAsPlaintext: "បិទភ្ជាប់ជាអត្ថបទធម្មតា", pasteCharts: "បិទភ្ជាប់តារាង", selectAll: "ជ្រើសរើស​ទាំងអស់", multiSelect: "បន្ថែមធាតុទៅលើការជ្រើសរើស", moveCanvas: "ផ្លាស់ទីបាវ", cut: "កាត់", copy: "ចម្លង", copyAsPng: "ចម្លងទៅក្តារតម្បៀតខ្ទាស់ជា​ PNG", copyAsSvg: "ចម្លងទៅក្តារតម្បៀតខ្ទាស់ជា​ SVG", copyText: "ចម្លងទៅក្តារតម្បៀតខ្ទាស់ជា​អត្ថបទ", copySource: "", convertToCode: "", bringForward: "នាំយកទៅលើ", sendToBack: "នាំយកទៅក្រោយបង្អស់", bringToFront: "នាំយកទៅលើបង្អស់", sendBackward: "នាំយកទៅក្រោយ", delete: "លុប", copyStyles: "ចម្លងរចនាប័ទ្ម", pasteStyles: "បិទភ្ជាប់រចនាប័ទ្ម", stroke: "ខ្វាច់", background: "ផ្ទៃខាងក្រោយ", fill: "បំពេញ", strokeWidth: "ទទឹងខ្វាច់", strokeStyle: "រចនាប័ទ្មរបស់ខ្វាច់", strokeStyle_solid: "តាន់", strokeStyle_dashed: "ដាច់ៗ", strokeStyle_dotted: "ចំណុចៗ", sloppiness: "រចនាប័ទ្មបន្ទាត់", opacity: "ភាពច្បាស់", textAlign: "តម្រឹមអត្ថបទ", edges: "គែម", sharp: "មុត", round: "រាងមូល", arrowheads: "ក្បាលព្រួញ", arrowhead_none: "គ្មាន", arrowhead_arrow: "ព្រួញ", arrowhead_bar: "របារ", arrowhead_circle: "", arrowhead_circle_outline: "", arrowhead_triangle: "ត្រីកោណ", arrowhead_triangle_outline: "", arrowhead_diamond: "", arrowhead_diamond_outline: "", fontSize: "ទំហំពុម្ពអក្សរ", fontFamily: "ក្រុម​ពុម្ពអក្សរ", addWatermark: 'បន្ថែមវ៉ាត់ធើម៉ាក "Made with Excalidraw"', handDrawn: "គូរដោយដៃ", normal: "ធម្មតា", code: "កូដ", small: "តូច", medium: "មធ្យម", large: "ធំ", veryLarge: "ធំខ្លាំង", solid: "តាន់", hachure: "Hachure", zigzag: "Zigzag", crossHatch: "បន្ទាត់ឆ្នូតៗ", thin: "ស្តើង", bold: "ដឹត", left: "ខាងឆ្វេង", center: "កណ្ដាល", right: "នៅខាងស្ដាំ", extraBold: "ដិតបន្ថែម", architect: "ស្ថាបត្យករ", artist: "សិល្បៈករ", cartoonist: "អ្នកគំនូរជីវចល", fileTitle: "ឈ្មោះ​ឯកសារ", colorPicker: "ឧបករណ៍​ជ្រើស​ពណ៌", canvasColors: "ប្រើលើបាវ", canvasBackground: "ផ្ទៃខាងក្រោយបាវ", drawingCanvas: "តំបន់គំនូរ", layers: "ស្រទាប់", actions: "សកម្មភាព", language: "ភាសា", liveCollaboration: "សហការគ្នាផ្ទាល់...", duplicateSelection: "ចម្លង", untitled: "គ្មានឈ្មោះ", name: "ឈ្មោះ", yourName: "ឈ្មោះ​របស់​អ្នក", madeWithExcalidraw: "បង្កើតជាមួយ Excalidraw", group: "ការជ្រើសរើសជាក្រុម", ungroup: "បំបែកក្រុមការជ្រើសរើសជាក្រុម", collaborators: "អ្នកសហការ", showGrid: "បង្ហាញក្រឡាចត្រង្គ", addToLibrary: "បន្ថែមទៅបណ្ណាល័យ", removeFromLibrary: "លុបចេញពីបណ្ណាល័យ", libraryLoadingMessage: "កំពុងផ្ទុកបណ្ណាល័យ...", libraries: "រកមើលបណ្ណាល័យ", loadingScene: "កំពុង​ផ្ទុក​ស៊ីន...", align: "តម្រឹម", alignTop: "តម្រឹមផ្នែកខាងលើ", alignBottom: "តម្រឹមផ្នែកខាងក្រោម", alignLeft: "​តម្រឹម​ឆ្វេង", alignRight: "តម្រឹម​ស្តាំ", centerVertically: "កណ្តាល​បញ្ឈរ", centerHorizontally: "កណ្តាល​ផ្ដេក", distributeHorizontally: "ចែកចាយផ្ដេក", distributeVertically: "ចែកចាយបញ្ឈរ", flipHorizontal: "ត្រឡប់​ដោយ​ផ្ដេក", flipVertical: "ត្រឡប់​ដោយ​បញ្ឈរ", viewMode: "ម៉ូដ​បង្ហាញ", share: "ចែករំលែក", showStroke: "បង្ហាញឧបករណ៍ជ្រើសរើសពណ៌ខ្វាច់", showBackground: "បង្ហាញឧបករណ៍ជ្រើសរើសពណ៌ផ្ទៃខាងក្រោយ", toggleTheme: "បិទ/បើកប្រធានបទ", personalLib: "បណ្ណាល័យផ្ទាល់ខ្លួន", excalidrawLib: "បណ្ណាល័យ Excalidraw", decreaseFontSize: "បន្ថយទំហំពុម្ពអក្សរ", increaseFontSize: "បង្កើនទំហំពុម្ពអក្សរ", unbindText: "ស្រាយអត្ថបទ", bindText: "ភ្ជាប់អត្ថបទទៅប្រអប់", createContainerFromText: "រុំអត្ថបទក្នុងប្រអប់មួយ", link: { edit: "កែតំណភ្ជាប់", editEmbed: "", create: "បង្កើតតំណភ្ជាប់", createEmbed: "", label: "តំណ", labelEmbed: "", empty: "" }, lineEditor: { edit: "កែសម្រួលបន្ទាត់", exit: "ចាកចេញពីការកែសម្រួលបន្ទាត់" }, elementLock: { lock: "ចាក់សោ", unlock: "ដោះសោ", lockAll: "ចាក់សោទាំងអស់", unlockAll: "ដោះសោទាំងអស់" }, statusPublished: "ត្រូវបានបោះពុម្ពផ្សាយ", sidebarLock: "ទុករបារចំហៀងបើក", selectAllElementsInFrame: "", removeAllElementsFromFrame: "", eyeDropper: "", textToDiagram: "", prompt: "" }, B = { noItems: "មិនទាន់មានធាតុបន្ថែមទេ...", hint_emptyLibrary: "ជ្រើសរើសធាតុនៅលើបាវដើម្បីបន្ថែមវានៅទីនេះ ឬដំឡើងបណ្ណាល័យពីឃ្លាំងសាធារណៈខាងក្រោម។", hint_emptyPrivateLibrary: "ជ្រើសរើសធាតុនៅលើបាវដើម្បីបន្ថែមវានៅទីនេះ" }, C = { clearReset: "កំណត់បាវឡើងវិញ", exportJSON: "នាំចេញជាឯកសារ", exportImage: "នាំរូបភាពចេញ", export: "រក្សាទុក​នៅ...", copyToClipboard: "ចម្លងទៅក្តារតម្បៀតខ្ទាស់", save: "រក្សាទុកទៅឯកសារបច្ចុប្បន្ន", saveAs: "រក្សាទុក​ជា", load: "បើក", getShareableLink: "យកតំណដែលអាចចែករំលែកបាន", close: "បិទ", selectLanguage: "រើសភាសា", scrollBackToContent: "រំកិលត្រឡប់ទៅមាតិកាវិញ", zoomIn: "ពង្រីក", zoomOut: "បង្រួម", resetZoom: "កំណត់ការពង្រីកឡើងវិញ", menu: "ម៉ឺនុយ", done: "រួចរាល់", edit: "កែ", undo: "ត្រឡប់វិញ", redo: "ធ្វើ​វិញ", resetLibrary: "កំណត់បណ្ណាល័យឡើងវិញ", createNewRoom: "បង្កើតបន្ទប់ថ្មី", fullScreen: "ពេញ​អេក្រង់", darkMode: "ម៉ូដងងឹត", lightMode: "ម៉ូដភ្លឺ", zenMode: "ម៉ូត Zen", objectsSnapMode: "", exitZenMode: "ចេញពី zen​ ម៉ូត", cancel: "បោះបង់", clear: "សម្អាត", remove: "ដកចេញ", embed: "", publishLibrary: "បោះពុម្ពផ្សាយ", submit: "ដាក់​ស្នើ", confirm: "បញ្ជាក់", embeddableInteractionButton: "" }, D = { clearReset: "វានឹងសម្អាតបាវទាំងមូល។ តើ​អ្នក​ប្រាកដ​ឬ​អត់?", couldNotCreateShareableLink: "មិនអាចបង្កើតតំណដែលអាចចែករំលែកបានទេ។", couldNotCreateShareableLinkTooBig: "មិន​អាច​បង្កើត​តំណ​ដែល​អាច​ចែក​រំលែក​បាន៖ ស៊ីន​ធំ​ពេក", couldNotLoadInvalidFile: "មិនអាចផ្ទុកឯកសារមិនត្រឹមត្រូវបានទេ។", importBackendFailed: "ការនាំចូលពីម៉ាស៊ីនមេបានបរាជ័យ។", cannotExportEmptyCanvas: "មិនអាចនាំចេញបាវទទេបានទេ។", couldNotCopyToClipboard: "មិនអាចចម្លងទៅក្ដារតម្បៀតខ្ទាស់បានទេ។", decryptFailed: "មិនអាចឌិគ្រីបទិន្នន័យបានទេ។", uploadedSecurly: "ការបង្ហោះត្រូវបានការពារដោយការអ៊ិនគ្រីបពីចុងដល់ចប់ មានន័យថា ទាំងម៉ាស៊ីនមេរបស់ Excalidraw ឬភាគីទីបីមិនអាចអានខ្លឹមសារបានទេ។", loadSceneOverridePrompt: "ការផ្ទុកគំនូរខាងក្រៅនឹងជំនួសមាតិកាដែលមានស្រាប់របស់អ្នក។ តើអ្នកចង់បន្តទេ?", collabStopOverridePrompt: `ការបញ្ឈប់សម័យនឹងសរសេរជាន់លើគំនូរដែលបានរក្សាទុកនៅលើកុំព្យូទ័ររបស់អ្នកពីមុន។ តើ​អ្នក​ប្រាកដ​ឬ​អត់?
3
3
 
4
4
  (ប្រសិនបើអ្នកចង់រក្សាគំនូរដែលនៅលើកុំព្យូទ័ររបស់អ្នក គ្រាន់តែបិទផ្ទាំងកម្មវិធីរុករក។)`, errorAddingToLibrary: "មិនអាចបន្ថែមធាតុទៅបណ្ណាល័យបានទេ", errorRemovingFromLibrary: "មិនអាចលុបធាតុចេញពីបណ្ណាល័យបានទេ", confirmAddLibrary: "វានឹងបន្ថែមរូបរាង {{numShapes}} ទៅបណ្ណាល័យរបស់អ្នក។ តើ​អ្នក​ប្រាកដ​ឬ​អត់?", imageDoesNotContainScene: "រូបភាពនេះហាក់ដូចជាមិនមានទិន្នន័យស៊ីនណាមួយទេ។ តើអ្នកបានបើកការបង្កប់ស៊ីននៅពេលនាំចេញទេ?", cannotRestoreFromImage: "មិនអាចស្ដារស៊ីនពីឯកសាររូបភាពនេះបានទេ", invalidSceneUrl: "មិន​អាច​នាំចូល​ស៊ីន​ពី URL ដែល​បាន​ផ្តល់​ឱ្យ​ទេ។ វាមានទម្រង់ខុស ឬមិនមានទិន្នន័យ Excalidraw JSON ដែលត្រឹមត្រូវ។", resetLibrary: "វានឹងសម្អាតបាវទាំងមូល។ តើ​អ្នក​ប្រាកដ​ឬ​អត់?", removeItemsFromsLibrary: "តើអ្នកប្រាកដថាចង់លុប {{count}} ធាតុចេញពីបណ្ណាល័យទេ?", invalidEncryptionKey: "សោអ៊ីនគ្រីបត្រូវតែមាន 22 តួអក្សរ។ ការសហការផ្ទាល់ត្រូវបានបិទ។", collabOfflineWarning: `គ្មានការតភ្ជាប់អ៊ីនធឺណិត។
@@ -1,6 +1,6 @@
1
- import { s as vt, a as Lt, n as bt, o as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, q as It, P as D, Q as Bt, i as wt } from "./layers.V029Ul2p.js";
2
- import "./layers.DTrhwWOZ.js";
3
- import { l as mt } from "./layers.DlphdLPZ.js";
1
+ import { s as vt, a as Lt, n as bt, o as Ct, b as zt, c as Et, g as yt, l as ot, d as gt, e as Dt, q as It, P as D, Q as Bt, i as wt } from "./layers.ApTC2I7t.js";
2
+ import "./layers.CREnJNtC.js";
3
+ import { l as mt } from "./layers.CfPYLIDU.js";
4
4
  var pt = function() {
5
5
  var e = function(K, n, r, l) {
6
6
  for (r = r || {}, l = K.length; l--; r[K[l]] = n)