@layers-app/editor 2.1.3 → 2.1.4

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 (215) hide show
  1. package/dist/index.cjs +2 -2
  2. package/dist/index.d.ts +2 -2
  3. package/dist/index.js +2 -2
  4. package/dist/{layers.Co38nQAK.js → layers.0h0xCCvu.js} +3 -3
  5. package/dist/{layers.D5wxkRZg.js → layers.1iRWn23E.js} +1 -1
  6. package/dist/{layers.B9Vrfx-R.js → layers.47swObhK.js} +1 -1
  7. package/dist/{layers.x1UA-FR6.js → layers.4n1gtRVe.js} +1 -1
  8. package/dist/{layers.BqWOx62b.js → layers.7TsK-Kpe.js} +4 -4
  9. package/dist/{layers.BgeBrYsf.js → layers.7xEtaMzU.js} +1 -1
  10. package/dist/{layers.BGX87mbU.js → layers.AW6ZJg83.js} +1 -1
  11. package/dist/{layers.C4GWEIGW.js → layers.Aa4aSsWk.js} +1 -1
  12. package/dist/{layers.CCY4ZK_S.js → layers.B2hwWcA2.js} +1 -1
  13. package/dist/{layers.Ctsic0Sj.js → layers.B3Puj5he.js} +1 -1
  14. package/dist/{layers.ByfKFC3Z.js → layers.B54prYGZ.js} +1 -1
  15. package/dist/{layers.Cs4SYdW6.js → layers.B5OXOXmy.js} +1 -1
  16. package/dist/{layers.C07EaGvY.js → layers.B8h3aTAI.js} +1 -1
  17. package/dist/{layers.DyYTK0So.js → layers.B8zC9lOU.js} +1 -1
  18. package/dist/{layers.Cn1PUZc8.js → layers.BBgpAhwA.js} +1 -1
  19. package/dist/{layers.CP5z29hi.js → layers.BDSOX2CD.js} +4 -4
  20. package/dist/{layers.B3i_eLBh.js → layers.BDZyk-_d.js} +1 -1
  21. package/dist/{layers.CwqcpqGe.js → layers.BDybYMm_.js} +1 -1
  22. package/dist/{layers.BAZ1DUN1.js → layers.BG--ipsx.js} +3 -3
  23. package/dist/{layers.CcpsPvcD.js → layers.BGFBC-Gr.js} +1 -1
  24. package/dist/{layers.DieyF7Mb.js → layers.BGOtFCsx.js} +1 -1
  25. package/dist/{layers.poa6s6JS.js → layers.BGls9yuY.js} +1 -1
  26. package/dist/{layers.B-mKB0m2.js → layers.BJFKH68r.js} +1 -1
  27. package/dist/{layers.B4bXPWTJ.js → layers.BKHDRNqX.js} +1 -1
  28. package/dist/{layers.BlGJJ8wn.js → layers.BKoYtTI-.js} +1 -1
  29. package/dist/{layers.C1IKX49f.js → layers.BLgjmb5i.js} +1 -1
  30. package/dist/{layers.DLXMCC05.js → layers.BMBTFPwh.js} +1 -1
  31. package/dist/{layers.CO8o93N3.js → layers.BMICBPj8.js} +4 -4
  32. package/dist/{layers.CMzwbIKN.js → layers.BN3ygs4g.js} +1 -1
  33. package/dist/{layers.C09PqTjf.js → layers.BOlJGPxF.js} +1 -1
  34. package/dist/layers.BQNASuUa.js +6 -0
  35. package/dist/{layers.DX-_rZZm.js → layers.BQaOGAZ0.js} +1 -1
  36. package/dist/{layers.CLx3cm8b.js → layers.BRx5nPJB.js} +1 -1
  37. package/dist/{layers.B4Zz3nF-.js → layers.BS8vE0dV.js} +1 -1
  38. package/dist/layers.BSSHVyJ4.js +1 -0
  39. package/dist/{layers.Da9pKTtE.js → layers.BT7Zo_Ih.js} +1 -1
  40. package/dist/{layers.DwY8-5Ho.js → layers.BTyLb_e_.js} +1 -1
  41. package/dist/{layers.uiQlFJkj.js → layers.BVpXkDdv.js} +1 -1
  42. package/dist/{layers.B8j24PJy.js → layers.B_fccDFH.js} +1 -1
  43. package/dist/{layers.DDjsU6PA.js → layers.Ba8sUBgc.js} +1 -1
  44. package/dist/{layers.CunjJ3Ls.js → layers.BcTsQfaC.js} +1 -1
  45. package/dist/{layers.CHpwZYWl.js → layers.BeMgdWFI.js} +1 -1
  46. package/dist/layers.BfoCDFZ9.js +1 -0
  47. package/dist/{layers.DUk4LtkB.js → layers.Bhcz8svQ.js} +1 -1
  48. package/dist/{layers.vUzfU7Qx.js → layers.Bj4PSUye.js} +1 -1
  49. package/dist/{layers.Cjza4_aa.js → layers.BnZeGjMO.js} +1 -1
  50. package/dist/{layers.BIqMbEwm.js → layers.Bo67iVkw.js} +1 -1
  51. package/dist/{layers.BqFP-iF0.js → layers.BocO2HWt.js} +1 -1
  52. package/dist/{layers.V4TTwzir.js → layers.BppwELpk.js} +1 -1
  53. package/dist/{layers.Cdz7glSp.js → layers.Bq9RC4C4.js} +1 -1
  54. package/dist/{layers.CXltHKhe.js → layers.BqwIK88k.js} +1 -1
  55. package/dist/{layers.BexCT5yz.js → layers.BsGxddFV.js} +1 -1
  56. package/dist/{layers.B1ADXzhH.js → layers.BxzEqaLL.js} +1 -1
  57. package/dist/{layers.CQdpxGHV.js → layers.Byu2aohV.js} +1 -1
  58. package/dist/{layers.B9ikDxXH.js → layers.Bz56YIfK.js} +1 -1
  59. package/dist/{layers.jvvStAM5.js → layers.C27S2Xar.js} +1 -1
  60. package/dist/{layers.XK2sddFl.js → layers.C28APEyB.js} +3 -3
  61. package/dist/{layers.DOhVvlX1.js → layers.C28M0pbG.js} +5 -5
  62. package/dist/{layers.tPe3TnkZ.js → layers.C2aWyQ_z.js} +1 -1
  63. package/dist/{layers.uN-NSHnL.js → layers.C3LY8tx7.js} +2 -2
  64. package/dist/{layers.Bir0mrHH.js → layers.C4VSQwqA.js} +1 -1
  65. package/dist/{layers.CZhaqvvz.js → layers.C6jxKkTv.js} +1 -1
  66. package/dist/{layers.CWxZ9ZNK.js → layers.C7_sEZsw.js} +1 -1
  67. package/dist/{layers.BNHGep2P.js → layers.C9egzq2p.js} +1 -1
  68. package/dist/{layers.C0iocMI4.js → layers.C9pSe8Gq.js} +1 -1
  69. package/dist/{layers.Cw3AOXly.js → layers.CAMZZkZG.js} +1 -1
  70. package/dist/{layers.-SHGCzPp.js → layers.CC7k-uCF.js} +1 -1
  71. package/dist/{layers.B4lKB7Sv.js → layers.CEbI900B.js} +1 -1
  72. package/dist/{layers.DBc_UPGb.js → layers.CEng0uhp.js} +2 -2
  73. package/dist/{layers.C9JUHKbR.js → layers.CFZVIlvH.js} +1 -1
  74. package/dist/{layers.DHKg3z7U.js → layers.CIV5LuL0.js} +1 -1
  75. package/dist/{layers.U3pyk9E4.js → layers.CJ7b2VoP.js} +3 -3
  76. package/dist/{layers.CHOpUlDI.js → layers.CKKHzx-Z.js} +4 -4
  77. package/dist/{layers.CdAwudMB.js → layers.CKOPZMk4.js} +1 -1
  78. package/dist/layers.CL3mtH76.js +539 -0
  79. package/dist/{layers.DhyRu56O.js → layers.CLQWeDwS.js} +4 -4
  80. package/dist/{layers.CE5HZB82.js → layers.CLXOAVPz.js} +1 -1
  81. package/dist/{layers.DgLw6auX.js → layers.CLxWcsfl.js} +6 -6
  82. package/dist/{layers.HnMwvcl0.js → layers.CNpkcp3V.js} +4 -4
  83. package/dist/layers.CPmFoLSN.js +1125 -0
  84. package/dist/{layers.DvQ2dh6I.js → layers.CRGuNhS-.js} +1 -1
  85. package/dist/{layers.39HkzoqA.js → layers.CS2Q0MP6.js} +1 -1
  86. package/dist/{layers.BQFohWAn.js → layers.CS330bin.js} +1 -1
  87. package/dist/{layers.DZSIKNGr.js → layers.CS7NMRN_.js} +25 -25
  88. package/dist/{layers.CtoullEV.js → layers.CSSbl973.js} +1 -1
  89. package/dist/{layers.CndTZ31m.js → layers.CU4oDgOc.js} +1 -1
  90. package/dist/{layers.Bs8vo5u4.js → layers.CUAcceRX.js} +1 -1
  91. package/dist/{layers.DjEJT7he.js → layers.CVWgLN9d.js} +2 -2
  92. package/dist/{layers.CpBxhH-Y.js → layers.CX8BXozR.js} +1 -1
  93. package/dist/{layers.CC9kTgrU.js → layers.CYx3WWdM.js} +1 -1
  94. package/dist/{layers.DJztvzRz.js → layers.C_DV_R5p.js} +1 -1
  95. package/dist/{layers.DJKXtJ1z.js → layers.CbB7a2CQ.js} +1 -1
  96. package/dist/{layers.BJTo52lj.js → layers.Ccq59tb8.js} +1 -1
  97. package/dist/{layers.DreE0CD1.js → layers.Cdo2oTor.js} +1 -1
  98. package/dist/{layers.XWIlJ9bP.js → layers.Ce1CohBK.js} +5 -5
  99. package/dist/{layers.D0NmOwXy.js → layers.CgD7ay5J.js} +2 -2
  100. package/dist/{layers.DGrPEBsm.js → layers.Cgc8JRjh.js} +1 -1
  101. package/dist/{layers.BmcekZoW.js → layers.CgwU5cxh.js} +1 -1
  102. package/dist/{layers.BUtsOTZt.js → layers.CiVpjulR.js} +1 -1
  103. package/dist/{layers.wWToVlI_.js → layers.Ci_-CaC7.js} +1 -1
  104. package/dist/{layers.Dgytap9-.js → layers.CiuG5bFW.js} +1 -1
  105. package/dist/{layers.BCuRJDW5.js → layers.Ck3pOq18.js} +1 -1
  106. package/dist/{layers._la4D_iD.js → layers.Cli1o2i6.js} +1 -1
  107. package/dist/{layers.Cx8Gg-Tr.js → layers.Cm_sw-AY.js} +1 -1
  108. package/dist/layers.CmmYt3Ou.js +1 -0
  109. package/dist/{layers.C3rv5vzA.js → layers.CmpAOvSy.js} +1 -1
  110. package/dist/{layers.BJ3RiwpG.js → layers.Co_xJxKs.js} +1 -1
  111. package/dist/{layers.BQYg3K4C.js → layers.Cp00BqUB.js} +1 -1
  112. package/dist/{layers.CmcgmbI6.js → layers.CpmoXIAt.js} +1 -1
  113. package/dist/{layers.DUTnaonw.js → layers.CqMMm2pL.js} +3 -3
  114. package/dist/{layers.hUSjkj2F.js → layers.CqTnCIrx.js} +1 -1
  115. package/dist/{layers.BDH0DZrJ.js → layers.CrxxpXzR.js} +1 -1
  116. package/dist/{layers.ByNtZ8_k.js → layers.Cswoe0IX.js} +1 -1
  117. package/dist/{layers.C0GkbOj_.js → layers.CsxVLmvQ.js} +1 -1
  118. package/dist/{layers.qgLxrPvn.js → layers.CvnlEd9b.js} +1 -1
  119. package/dist/{layers.DBV0J_HI.js → layers.CvysdL-r.js} +1 -1
  120. package/dist/{layers.B9zCJgSo.js → layers.D03Ua4xq.js} +1 -1
  121. package/dist/layers.D0jPJbv8.js +8 -0
  122. package/dist/{layers.Bk7fHXBF.js → layers.D2nNrhbx.js} +1028 -1035
  123. package/dist/{layers.BAlXkjeR.js → layers.D3OjD3_Z.js} +1 -1
  124. package/dist/{layers.B_2SJBOJ.js → layers.D3UeFDcM.js} +1 -1
  125. package/dist/{layers.DLTRux2c.js → layers.D3xEVf11.js} +1 -1
  126. package/dist/{layers.DS1ihg-b.js → layers.D4_rAe6g.js} +1 -1
  127. package/dist/{layers.DUPMP2d6.js → layers.D4x86ACf.js} +1 -1
  128. package/dist/{layers.SqDtpNGf.js → layers.D6Rcr62n.js} +1 -1
  129. package/dist/{layers.i6wYk0yO.js → layers.D9SNCBUi.js} +1 -1
  130. package/dist/{layers.BFkL1V3s.js → layers.DC1iLoXw.js} +1 -1
  131. package/dist/{layers.DBPkwAPI.js → layers.DDVdzu5M.js} +1 -1
  132. package/dist/{layers.BvUXffrC.js → layers.DF1wIyJl.js} +1 -1
  133. package/dist/{layers.CmEUPhTK.js → layers.DF3IwTvD.js} +1 -1
  134. package/dist/{layers.BfdaSVSD.js → layers.DFf3K_BU.js} +1 -1
  135. package/dist/{layers.BMkjWhgS.js → layers.DIF45FFn.js} +1 -1
  136. package/dist/{layers.BG1OUlr4.js → layers.DItbZWrP.js} +1 -1
  137. package/dist/{layers.DUjzahzs.js → layers.DJ-3Xpuz.js} +1 -1
  138. package/dist/{layers.BsTZb675.js → layers.DLiB9OEd.js} +1 -1
  139. package/dist/{layers.D1aDf1Yb.js → layers.DNJkc-Mo.js} +17698 -16791
  140. package/dist/{layers.EN7PEmQX.js → layers.DPBt8Ar9.js} +1 -1
  141. package/dist/{layers.8uM7Y9ah.js → layers.DPbQjNkl.js} +1 -1
  142. package/dist/{layers.Cg1Bmo8X.js → layers.DQ15N9DZ.js} +1 -1
  143. package/dist/{layers.yL1_Ryr2.js → layers.DQwmvElW.js} +1 -1
  144. package/dist/{layers.DhsShj7e.js → layers.DRMN4wK5.js} +1 -1
  145. package/dist/{layers.C1M8YTuB.js → layers.DRmnp_VT.js} +6 -5
  146. package/dist/{layers.D8M84_MA.js → layers.DTaNTG_B.js} +6252 -5985
  147. package/dist/{layers.DGUyOV8w.js → layers.DTgmIl0j.js} +3 -3
  148. package/dist/{layers.BZd_TgyY.js → layers.DZp57Oqh.js} +1 -1
  149. package/dist/{layers.DA4D7KGs.js → layers.Da-2dyEi.js} +1 -1
  150. package/dist/{layers.lsxcliue.js → layers.DcFGX6Rw.js} +1 -1
  151. package/dist/{layers.B0jPbl9x.js → layers.DdafmrR3.js} +2 -2
  152. package/dist/{layers.IQQ5OQKd.js → layers.DeM__u1_.js} +1 -1
  153. package/dist/{layers.CnV12zWd.js → layers.Df22ww72.js} +3 -3
  154. package/dist/{layers.ledjdm_3.js → layers.Dgp1gaU6.js} +4 -4
  155. package/dist/layers.DilA0qnM.js +54 -0
  156. package/dist/{layers.C-6BQ0ed.js → layers.DkgAwtpC.js} +1 -1
  157. package/dist/{layers.DFDWnDfo.js → layers.DlEA3-cX.js} +1 -1
  158. package/dist/{layers.fRxn-M0Z.js → layers.Dld7xCuy.js} +1 -1
  159. package/dist/{layers.DEJicTxy.js → layers.DnMJFLGr.js} +4 -4
  160. package/dist/{layers.alvTM0TL.js → layers.DndmHTyu.js} +1 -1
  161. package/dist/{layers.BYWknS6A.js → layers.Dod6Nf_j.js} +1 -1
  162. package/dist/layers.DojFOI4Z.js +1 -0
  163. package/dist/{layers.YBMSKMjf.js → layers.DpMixDb4.js} +1 -1
  164. package/dist/{layers.0H31be7Z.js → layers.DpPFzOm0.js} +1 -1
  165. package/dist/{layers.Dobt6mRr.js → layers.DqtTeUFK.js} +1 -1
  166. package/dist/{layers.Cr1uunhl.js → layers.Dvn_9A0a.js} +1 -1
  167. package/dist/{layers.CyKPMpjA.js → layers.DvzDTiKM.js} +1 -1
  168. package/dist/{layers.ChLuj-rc.js → layers.DxbeR8gn.js} +1 -1
  169. package/dist/layers.Dy-sMwk8.js +1 -0
  170. package/dist/{layers.DvdnuVJv.js → layers.Dy3JpZkl.js} +1 -1
  171. package/dist/{layers.BOI5vWv3.js → layers.DyOMyr1U.js} +1 -1
  172. package/dist/{layers.Uumr6LwD.js → layers.DzUUP9Du.js} +1 -1
  173. package/dist/{layers.VYVXLvN_.js → layers.Dzl9Kzo9.js} +1 -1
  174. package/dist/{layers.B6Y7HNq_.js → layers.EW49Ned6.js} +1 -1
  175. package/dist/{layers.DeYnYW8x.js → layers.EW6UiJMi.js} +1 -1
  176. package/dist/{layers.DJCo0IEz.js → layers.F3RaMrM-.js} +1 -1
  177. package/dist/{layers.BOy49arY.js → layers.FICd1tQW.js} +3 -3
  178. package/dist/{layers.CEafpqZr.js → layers.GLyR-OWz.js} +142 -151
  179. package/dist/{layers.Dim_7gFL.js → layers.GornH8rL.js} +1 -1
  180. package/dist/{layers.CdVdZpZW.js → layers.HNZIi4HM.js} +3 -3
  181. package/dist/{layers.B5wt10W4.js → layers.Hc8Pmmic.js} +44 -44
  182. package/dist/{layers.B38rBl_s.js → layers.JQ45PKXx.js} +1 -1
  183. package/dist/{layers.Do8FTjWl.js → layers.K43S7aP0.js} +1 -1
  184. package/dist/{layers.D8lMBZIP.js → layers.KLaNL4bG.js} +1 -1
  185. package/dist/{layers.DVyNZViM.js → layers.MHceKg9n.js} +1 -1
  186. package/dist/{layers.EvdeRXLR.js → layers.MubFSdwe.js} +1 -1
  187. package/dist/{layers.8PuRDqXn.js → layers.RQU5nEtM.js} +1 -1
  188. package/dist/{layers.B3MLCCBO.js → layers.SfPz0Yvc.js} +1 -1
  189. package/dist/{layers.BigEQUZC.js → layers.U56kgtto.js} +4 -4
  190. package/dist/{layers.BQMyaIEA.js → layers.W-AFrwh2.js} +1 -1
  191. package/dist/{layers.DFEHAT5_.js → layers.YVE78Hde.js} +1 -1
  192. package/dist/{layers.HuJ3UCd4.js → layers.bK_voO90.js} +1 -1
  193. package/dist/{layers.CZjmldFP.js → layers.fAOYEH60.js} +1 -1
  194. package/dist/{layers.CrAgQyZG.js → layers.gu8VQIr-.js} +1 -1
  195. package/dist/{layers.CEGYRyJy.js → layers.hN_6Bz4k.js} +1 -1
  196. package/dist/{layers.CxGUE3xh.js → layers.i_mYGumA.js} +1 -1
  197. package/dist/{layers.DTkJIWfY.js → layers.ktfZPCbd.js} +1 -1
  198. package/dist/layers.lXfukYV5.js +1 -0
  199. package/dist/{layers.Bu4rqJ0u.js → layers.oPXgxcx0.js} +1 -1
  200. package/dist/{layers.Di3QwSwF.js → layers.piLdW3O-.js} +1 -1
  201. package/dist/{layers.Dc3Z7JRe.js → layers.rbpTi3-T.js} +1 -1
  202. package/dist/{layers.BvHY5cSa.js → layers.rq_uH5pA.js} +1 -1
  203. package/dist/{layers.DTe1_eZ_.js → layers.sr1vtGu6.js} +1 -1
  204. package/dist/{layers.BbdIXklW.js → layers.wB2fo65H.js} +1 -1
  205. package/dist/{layers.BNVRX3OW.js → layers.zwanR9F3.js} +3 -3
  206. package/package.json +80 -80
  207. package/dist/layers.BZmwJLv4.js +0 -1
  208. package/dist/layers.BrUcySmW.js +0 -567
  209. package/dist/layers.BzhfSX7U.js +0 -1
  210. package/dist/layers.CByVI5gD.js +0 -1
  211. package/dist/layers.CmXKfYby.js +0 -1
  212. package/dist/layers.CpRBywkv.js +0 -845
  213. package/dist/layers.P_aOF19W.js +0 -8
  214. package/dist/layers.fe6ZrL2s.js +0 -6
  215. package/dist/layers.reRErKmI.js +0 -1
@@ -1,30 +1,21 @@
1
1
  import { jsxs as P, jsx as o, Fragment as le } from "react/jsx-runtime";
2
- import { useState as w, useCallback as C, useMemo as de, useContext as Q, useRef as ce, useEffect as D } from "react";
2
+ import { useState as v, useCallback as b, useMemo as de, useContext as Q, useRef as ce, useEffect as x } from "react";
3
3
  import { useTranslation as H } from "react-i18next";
4
- import { useLexicalComposerContext as $ } from "@lexical/react/LexicalComposerContext";
5
- import { Stack as me, Button as L, Box as ue, LoadingOverlay as ge } from "@mantine/core";
6
- import { $getNodeByKey as N, COMMAND_PRIORITY_LOW as he, $setSelection as pe } from "lexical";
7
- import { b as A, c as fe, d as K, i as ee, P as ve, N as we, M as Ie, A as be, O as Ce, e as ye, H as R, g as Ne, T as Ae, f as xe, C as te, h as De, j as Oe, m as F, k as Te, n as Se, o as Ee, U as Me, q as Pe, r as ke, R as We, s as Y, t as _e, v as ze, w as Ue } from "./layers.D1aDf1Yb.js";
8
- import { AttachmentsGalleryModal as Le, showErrorNotification as Re } from "@layers-app/shared";
9
- import "@lexical/react/LexicalDecoratorBlockNode";
10
- import "@lexical/utils";
4
+ import { useLexicalComposerContext as j } from "@lexical/react/LexicalComposerContext";
5
+ import { Stack as ue, Button as L, Box as ge, LoadingOverlay as me } from "@mantine/core";
6
+ import { $getNodeByKey as y, COMMAND_PRIORITY_LOW as he, $setSelection as fe } from "lexical";
7
+ import { b as N, d as K, i as ee, P as pe, N as we, M as ve, A as Ie, O as be, c as Ce, H as R, g as ye, T as Ne, l as Ae, C as te, e as xe, f as De, m as F, h as Te, j as Oe, k as Se, U as Ee, n as Me, o as Pe, R as ke, p as Y, q as _e, r as ze, s as We } from "./layers.DNJkc-Mo.js";
8
+ import { AttachmentsGalleryModal as Ue, showErrorNotification as Le } from "@layers-app/shared";
11
9
  import { useDisclosure as Z } from "@mantine/hooks";
12
- import "@lexical/mark";
13
- import "@lexical/code";
14
- import "@lexical/selection";
15
- import "@lexical/react/LexicalBlockWithAlignableContents";
16
- import "@mantine/notifications";
17
- const Fe = () => {
10
+ const Re = () => {
18
11
  };
19
- function He({ nodeKey: e, src: n, id: i }) {
20
- const { t: r } = H(), [m] = $(), [u, g] = w(!1), [l, h] = w(!1), p = C(() => {
21
- h(!1), m.update(() => {
22
- const v = N(e);
23
- if (!A(v)) return;
24
- const I = v.getParent();
25
- fe(I) ? I.remove() : v.remove();
12
+ function Fe({ nodeKey: e, src: n, id: i }) {
13
+ const { t: r } = H(), [u] = j(), [g, m] = v(!1), [l, h] = v(!1), f = b(() => {
14
+ u.update(() => {
15
+ const w = y(e);
16
+ N(w) && w.remove();
26
17
  });
27
- }, [m, e]), x = C(async () => {
18
+ }, [u, e]), A = b(async () => {
28
19
  if (n)
29
20
  try {
30
21
  await K(n, ee(n));
@@ -44,35 +35,35 @@ function He({ nodeKey: e, src: n, id: i }) {
44
35
  display: "flex",
45
36
  gap: 4
46
37
  },
47
- onClick: (v) => v.stopPropagation(),
38
+ onClick: (w) => w.stopPropagation(),
48
39
  children: [
49
- /* @__PURE__ */ o(ve, { t: r, src: n, setShown: Fe, id: i }),
40
+ /* @__PURE__ */ o(pe, { t: r, src: n, setShown: Re, id: i }),
50
41
  /* @__PURE__ */ o(
51
42
  we,
52
43
  {
53
- opened: u,
54
- setOpened: g,
44
+ opened: g,
45
+ setOpened: m,
55
46
  t: r,
56
- editor: m,
47
+ editor: u,
57
48
  nodeKey: e
58
49
  }
59
50
  ),
60
51
  /* @__PURE__ */ o(
61
- Ie,
52
+ ve,
62
53
  {
63
54
  opened: l,
64
55
  onOpenChange: h,
65
56
  t: r,
66
- onDownload: () => void x(),
67
- onDelete: p
57
+ onDownload: () => void A(),
58
+ onDelete: f
68
59
  }
69
60
  )
70
61
  ]
71
62
  }
72
63
  );
73
64
  }
74
- function $e({ nodeKey: e, src: n, id: i }) {
75
- const { t: r } = H(), [m] = $(), [u, { open: g, close: l }] = Z(!1), [h, { open: p, close: x }] = Z(!1), v = de(
65
+ function He({ nodeKey: e, src: n, id: i }) {
66
+ const { t: r } = H(), [u] = j(), [g, { open: m, close: l }] = Z(!1), [h, { open: f, close: A }] = Z(!1), w = de(
76
67
  () => [
77
68
  {
78
69
  id: !i || i === "0" ? "" : i,
@@ -94,20 +85,20 @@ function $e({ nodeKey: e, src: n, id: i }) {
94
85
  }
95
86
  ],
96
87
  [n, i]
97
- ), I = () => {
98
- l(), p();
99
- }, O = C(async () => {
88
+ ), D = () => {
89
+ l(), f();
90
+ }, T = b(async () => {
100
91
  if (l(), !!n)
101
92
  try {
102
93
  await K(n, ee(n));
103
94
  } catch {
104
95
  }
105
- }, [n, l]), b = C(() => {
106
- l(), m.update(() => {
107
- const a = N(e);
108
- A(a) && a.remove();
96
+ }, [n, l]), I = b(() => {
97
+ l(), u.update(() => {
98
+ const a = y(e);
99
+ N(a) && a.remove();
109
100
  });
110
- }, [m, e, l]);
101
+ }, [u, e, l]);
111
102
  return /* @__PURE__ */ P(le, { children: [
112
103
  /* @__PURE__ */ o(
113
104
  "div",
@@ -122,32 +113,32 @@ function $e({ nodeKey: e, src: n, id: i }) {
122
113
  },
123
114
  onClick: (a) => a.stopPropagation(),
124
115
  children: /* @__PURE__ */ o(
125
- be,
116
+ Ie,
126
117
  {
127
118
  label: r("editor.toolbar.more"),
128
- icon: Ce,
119
+ icon: be,
129
120
  iconColor: "var(--mantine-color-gray-text)",
130
121
  "aria-label": r("editor.toolbar.more"),
131
- onClick: g
122
+ onClick: m
132
123
  }
133
124
  )
134
125
  }
135
126
  ),
136
127
  /* @__PURE__ */ o(
137
- Le,
128
+ Ue,
138
129
  {
139
130
  opened: h,
140
- onOpenChange: (a) => a ? p() : x(),
141
- attachments: v
131
+ onOpenChange: (a) => a ? f() : A(),
132
+ attachments: w
142
133
  }
143
134
  ),
144
135
  /* @__PURE__ */ o(
145
- ye,
136
+ Ce,
146
137
  {
147
- opened: u,
138
+ opened: g,
148
139
  onClose: l,
149
140
  title: r("editor.image.mobileActions"),
150
- children: /* @__PURE__ */ P(me, { gap: 4, p: 0, children: [
141
+ children: /* @__PURE__ */ P(ue, { gap: 4, p: 0, children: [
151
142
  /* @__PURE__ */ o(
152
143
  L,
153
144
  {
@@ -157,11 +148,11 @@ function $e({ nodeKey: e, src: n, id: i }) {
157
148
  fullWidth: !0,
158
149
  justify: "flex-start",
159
150
  bg: "light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",
160
- onClick: I,
151
+ onClick: D,
161
152
  leftSection: /* @__PURE__ */ o(
162
153
  R,
163
154
  {
164
- icon: Ne,
155
+ icon: ye,
165
156
  size: 16,
166
157
  color: "var(--mantine-color-dimmed)"
167
158
  }
@@ -178,11 +169,11 @@ function $e({ nodeKey: e, src: n, id: i }) {
178
169
  fullWidth: !0,
179
170
  justify: "flex-start",
180
171
  bg: "light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",
181
- onClick: () => void O(),
172
+ onClick: () => void T(),
182
173
  leftSection: /* @__PURE__ */ o(
183
174
  R,
184
175
  {
185
- icon: Ae,
176
+ icon: Ne,
186
177
  size: 16,
187
178
  color: "var(--mantine-color-dimmed)"
188
179
  }
@@ -199,11 +190,11 @@ function $e({ nodeKey: e, src: n, id: i }) {
199
190
  fullWidth: !0,
200
191
  justify: "flex-start",
201
192
  bg: "light-dark(var(--mantine-color-gray-0), var(--mantine-color-gray-outline-hover))",
202
- onClick: b,
193
+ onClick: I,
203
194
  leftSection: /* @__PURE__ */ o(
204
195
  R,
205
196
  {
206
- icon: xe,
197
+ icon: Ae,
207
198
  size: 16,
208
199
  color: "var(--mantine-color-red-6)"
209
200
  }
@@ -221,12 +212,12 @@ const J = (e) => {
221
212
  width: n,
222
213
  height: i,
223
214
  isLoading: r,
224
- isError: m,
225
- src: u,
226
- id: g,
215
+ isError: u,
216
+ src: g,
217
+ id: m,
227
218
  altText: l,
228
219
  imageRef: h,
229
- maxWidth: p
220
+ maxWidth: f
230
221
  } = e;
231
222
  return /* @__PURE__ */ P(
232
223
  "div",
@@ -240,7 +231,7 @@ const J = (e) => {
240
231
  },
241
232
  children: [
242
233
  /* @__PURE__ */ o(
243
- ge,
234
+ me,
244
235
  {
245
236
  visible: r,
246
237
  zIndex: 1e3,
@@ -252,17 +243,17 @@ const J = (e) => {
252
243
  je,
253
244
  {
254
245
  className: null,
255
- src: u,
246
+ src: g,
256
247
  altText: l,
257
248
  imageRef: h,
258
249
  width: "inherit",
259
250
  height: "inherit",
260
- maxWidth: p || "auto",
261
- id: g
251
+ maxWidth: f || "auto",
252
+ id: m
262
253
  }
263
254
  ),
264
- ze && /* @__PURE__ */ o($e, { nodeKey: e.nodeKey, src: u, id: g }),
265
- Ue && /* @__PURE__ */ o(He, { nodeKey: e.nodeKey, src: u, id: g })
255
+ ze && /* @__PURE__ */ o(He, { nodeKey: e.nodeKey, src: g, id: m }),
256
+ We && /* @__PURE__ */ o(Fe, { nodeKey: e.nodeKey, src: g, id: m })
266
257
  ]
267
258
  }
268
259
  );
@@ -272,12 +263,12 @@ function je({
272
263
  className: n,
273
264
  imageRef: i,
274
265
  src: r,
275
- width: m,
276
- height: u,
277
- maxWidth: g,
266
+ width: u,
267
+ height: g,
268
+ maxWidth: m,
278
269
  id: l
279
270
  }) {
280
- const [h, p] = w(!1);
271
+ const [h, f] = v(!1);
281
272
  return /* @__PURE__ */ o(
282
273
  "img",
283
274
  {
@@ -286,70 +277,70 @@ function je({
286
277
  alt: e,
287
278
  ref: i,
288
279
  style: {
289
- height: u,
290
- maxWidth: g,
291
- width: m
280
+ height: g,
281
+ maxWidth: m,
282
+ width: u
292
283
  },
293
284
  onLoad: () => {
294
285
  r.includes("splash") ? setTimeout(() => {
295
- p(!0);
296
- }, 100) : p(!0);
286
+ f(!0);
287
+ }, 100) : f(!0);
297
288
  },
298
289
  draggable: "false",
299
290
  "data-id": l
300
291
  }
301
292
  );
302
293
  }
303
- function ct(e) {
294
+ function ot(e) {
304
295
  const { disable: n } = Q(te);
305
- return n && De.isPlaceholderSrc(e.src) ? null : /* @__PURE__ */ o(Be, { ...e });
296
+ return n && xe.isPlaceholderSrc(e.src) ? null : /* @__PURE__ */ o($e, { ...e });
306
297
  }
307
- function Be({
298
+ function $e({
308
299
  src: e,
309
300
  altText: n,
310
301
  nodeKey: i,
311
302
  width: r,
312
- height: m,
313
- maxWidth: u,
314
- showCaption: g,
303
+ height: u,
304
+ maxWidth: g,
305
+ showCaption: m,
315
306
  caption: l,
316
307
  id: h,
317
- create: p,
318
- alignment: x,
319
- imagePickerTab: v
308
+ create: f,
309
+ alignment: A,
310
+ imagePickerTab: w
320
311
  }) {
321
312
  var q, X;
322
- const I = ce(null), [O, b] = w(!0), [a] = $(), [y, k] = w(!0), [f, W] = w({
313
+ const D = ce(null), [T, I] = v(!0), [a] = j(), [C, k] = v(!0), [p, _] = v({
323
314
  width: 0,
324
315
  height: 0
325
- }), { start: j } = Oe(), [Ge, _] = w(0), {
326
- fetchUploadMedia: T,
316
+ }), { start: $ } = De(), [Be, z] = v(0), {
317
+ fetchUploadMedia: O,
327
318
  fetchDeleteMedia: B,
328
- maxFileSize: Ve,
319
+ maxFileSize: Ge,
329
320
  imperativeHandleRef: S,
330
321
  disable: oe
331
- } = Q(te), E = F.has(e) && (((q = F.get(e)) == null ? void 0 : q.mediaNodeKeys.length) === 0 || ((X = F.get(e)) == null ? void 0 : X.mediaNodeKeys.length) === void 0 || e.trim() === ""), { t: M } = H(), [qe, ie] = w(0);
332
- D(() => a.registerDecoratorListener(() => {
322
+ } = Q(te), E = F.has(e) && (((q = F.get(e)) == null ? void 0 : q.mediaNodeKeys.length) === 0 || ((X = F.get(e)) == null ? void 0 : X.mediaNodeKeys.length) === void 0 || e.trim() === ""), { t: M } = H(), [Ve, ie] = v(0);
323
+ x(() => a.registerDecoratorListener(() => {
333
324
  ie((t) => t + 1);
334
- }), [E]), D(() => {
325
+ }), [E]), x(() => {
335
326
  if (!e || e.startsWith("data:image/") || !e.trim()) {
336
- b(!1);
327
+ I(!1);
337
328
  return;
338
329
  }
339
330
  const t = new Image();
340
- t.src = e, t.onload = () => b(!1), t.onerror = () => {
341
- b(!1);
331
+ t.src = e, t.onload = () => I(!1), t.onerror = () => {
332
+ I(!1);
342
333
  };
343
334
  }, [e, E]);
344
335
  const ne = (t, d) => {
345
336
  a.update(() => {
346
- pe(null);
347
- const s = N(i);
348
- A(s) && s.setWidthAndHeight(t, d);
337
+ fe(null);
338
+ const s = y(i);
339
+ N(s) && s.setWidthAndHeight(t, d);
349
340
  });
350
341
  }, { historyState: G } = Te(), {
351
342
  settings: { showNestedEditorTreeView: V }
352
- } = Se();
343
+ } = Oe();
353
344
  function ae(t) {
354
345
  return t.endsWith(".svg") || t.includes("image/svg+xml");
355
346
  }
@@ -367,105 +358,105 @@ function Be({
367
358
  };
368
359
  });
369
360
  }
370
- D(() => {
371
- let t = r, d = m, s = 100;
361
+ x(() => {
362
+ let t = r, d = u, s = 100;
372
363
  (e.includes("unsplash") ? e.trim() : !E && e.trim() || e.includes("upload-src-editor")) && e !== "upload" && re(e).then((c) => {
373
- typeof t == "number" && t < s && c < s ? (k(!0), W({
364
+ typeof t == "number" && t < s && c < s ? (k(!0), _({
374
365
  width: t,
375
366
  height: d
376
- })) : c < s ? (k(!0), W({
367
+ })) : c < s ? (k(!0), _({
377
368
  width: "auto",
378
369
  height: "auto"
379
- })) : (W({
370
+ })) : (_({
380
371
  width: c,
381
372
  height: c
382
373
  }), k(!1));
383
374
  }).catch((c) => {
384
375
  console.warn("Ошибка при загрузке изображения:", c.message);
385
376
  });
386
- }, [e, E]), D(() => {
387
- f.width && f.height && y && a.update(() => {
388
- const t = N(i);
389
- A(t) && t.setWidthAndHeight(f.width, f.height);
377
+ }, [e, E]), x(() => {
378
+ p.width && p.height && C && a.update(() => {
379
+ const t = y(i);
380
+ N(t) && t.setWidthAndHeight(p.width, p.height);
390
381
  });
391
- }, [f.width, f.height, y]);
392
- const se = C(
393
- (t) => Ee(a, i, t),
382
+ }, [p.width, p.height, C]);
383
+ const se = b(
384
+ (t) => Se(a, i, t),
394
385
  [a, i]
395
- ), z = C(
386
+ ), W = b(
396
387
  (t, d) => {
397
- b(!1), a.update(() => {
398
- const s = N(i);
399
- A(s) && (s.setSrc(t), s.setId(d));
388
+ I(!1), a.update(() => {
389
+ const s = y(i);
390
+ N(s) && (s.setSrc(t), s.setId(d));
400
391
  });
401
392
  },
402
393
  [a, i]
403
- ), U = C(
394
+ ), U = b(
404
395
  (t) => {
405
- b(!0);
406
- const d = j();
407
- T && T(
396
+ I(!0);
397
+ const d = $();
398
+ O && O(
408
399
  t[0],
409
400
  (s, c) => {
410
- z(s, c), _(0);
401
+ W(s, c), z(0);
411
402
  },
412
403
  (s) => {
413
- s && Re({
404
+ s && Le({
414
405
  message: M("editor.gallery.errorFile")
415
- }), _(0), z("", "");
406
+ }), z(0), W("", "");
416
407
  },
417
408
  d,
418
409
  (s) => {
419
- _(s);
410
+ z(s);
420
411
  }
421
412
  );
422
413
  },
423
- [T, j, M, z]
414
+ [O, $, M, W]
424
415
  );
425
- return D(() => a.registerCommand(
426
- Me,
416
+ return x(() => a.registerCommand(
417
+ Ee,
427
418
  (t) => e !== "upload" || t.targetNodeKey !== i ? !1 : (U(t.files), !0),
428
419
  he
429
- ), [a, U, i, e]), !e || e === "upload" ? /* @__PURE__ */ o(ue, { "data-editor-image-picker-drop-root": !0, w: "100%", children: /* @__PURE__ */ o(
430
- Pe,
420
+ ), [a, U, i, e]), !e || e === "upload" ? /* @__PURE__ */ o(ge, { "data-editor-image-picker-drop-root": !0, w: "100%", children: /* @__PURE__ */ o(
421
+ Me,
431
422
  {
432
423
  inline: !0,
433
424
  nodeKey: i,
434
- defaultTabValue: v,
425
+ defaultTabValue: w,
435
426
  onWriteTabToNode: se,
436
427
  uploading: !1,
437
428
  onUpload: (t) => {
438
- !T || !t.length || U(t);
429
+ !O || !t.length || U(t);
439
430
  },
440
431
  popoverProps: {
441
432
  opened: !0,
442
433
  position: "bottom",
443
- zIndex: ke
434
+ zIndex: Pe
444
435
  },
445
436
  onChange: (t) => {
446
437
  a.update(() => {
447
- const d = N(i);
448
- A(d) && d.setSrc(t);
438
+ const d = y(i);
439
+ N(d) && d.setSrc(t);
449
440
  });
450
441
  }
451
442
  }
452
- ) }) : y ? /* @__PURE__ */ o(
443
+ ) }) : C ? /* @__PURE__ */ o(
453
444
  J,
454
445
  {
455
- width: f.width,
456
- height: f.height,
457
- isLoading: O,
446
+ width: p.width,
447
+ height: p.height,
448
+ isLoading: T,
458
449
  isError: !1,
459
- isIcon: y,
450
+ isIcon: C,
460
451
  src: e,
461
452
  id: h,
462
453
  editor: a,
463
454
  nodeKey: i,
464
455
  fetchDeleteMedia: B,
465
456
  altText: n,
466
- imageRef: I,
467
- maxWidth: u,
468
- showCaption: g,
457
+ imageRef: D,
458
+ maxWidth: g,
459
+ showCaption: m,
469
460
  caption: l,
470
461
  isCollabActive: !1,
471
462
  historyState: G,
@@ -473,16 +464,16 @@ function Be({
473
464
  t: M
474
465
  }
475
466
  ) : /* @__PURE__ */ o(
476
- We,
467
+ ke,
477
468
  {
478
469
  editor: a,
479
- isIcon: y,
470
+ isIcon: C,
480
471
  width: Y(r),
481
- height: Y(m),
482
- initialWidth: f.width || "",
483
- initialHeight: f.height || "",
472
+ height: Y(u),
473
+ initialWidth: p.width || "",
474
+ initialHeight: p.height || "",
484
475
  onResizeEnd: ne,
485
- alignment: x,
476
+ alignment: A,
486
477
  disable: oe,
487
478
  onRegisterDecoratorEnter: (t) => {
488
479
  S != null && S.current && (S.current.decoratorEnterAction = t);
@@ -493,18 +484,18 @@ function Be({
493
484
  {
494
485
  width: "inherit",
495
486
  height: "inherit",
496
- isLoading: O,
487
+ isLoading: T,
497
488
  isError: !1,
498
- isIcon: y,
489
+ isIcon: C,
499
490
  src: e,
500
491
  id: h,
501
492
  editor: a,
502
493
  nodeKey: i,
503
494
  fetchDeleteMedia: B,
504
495
  altText: n,
505
- imageRef: I,
506
- maxWidth: u,
507
- showCaption: g,
496
+ imageRef: D,
497
+ maxWidth: g,
498
+ showCaption: m,
508
499
  caption: l,
509
500
  isCollabActive: !1,
510
501
  historyState: G,
@@ -516,5 +507,5 @@ function Be({
516
507
  );
517
508
  }
518
509
  export {
519
- ct as default
510
+ ot as default
520
511
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./layers.DZSIKNGr.js"),pt=require("./layers.BLd2spTm.js");require("lodash-es");const _t=require("./layers.Cyzu9PKQ.js");require("./layers.B5wt10W4.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const gt=require("./layers.x1UA-FR6.js"),Et=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function mt(t){return typeof t=="string"&&Et.test(t)}const M=[];for(let t=0;t<256;++t)M.push((t+256).toString(16).slice(1));function kt(t,e=0){return M[t[e+0]]+M[t[e+1]]+M[t[e+2]]+M[t[e+3]]+"-"+M[t[e+4]]+M[t[e+5]]+"-"+M[t[e+6]]+M[t[e+7]]+"-"+M[t[e+8]]+M[t[e+9]]+"-"+M[t[e+10]]+M[t[e+11]]+M[t[e+12]]+M[t[e+13]]+M[t[e+14]]+M[t[e+15]]}function xt(t){if(!mt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Ot(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}const Rt="6ba7b810-9dad-11d1-80b4-00c04fd430c8",bt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Nt(t,e,r){function u(c,p,f,o){var h;if(typeof c=="string"&&(c=Ot(c)),typeof p=="string"&&(p=xt(p)),((h=p)===null||h===void 0?void 0:h.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let _=new Uint8Array(16+c.length);if(_.set(p),_.set(c,p.length),_=r(_),_[6]=_[6]&15|e,_[8]=_[8]&63|128,f){o=o||0;for(let m=0;m<16;++m)f[o+m]=_[m];return f}return kt(_)}try{u.name=t}catch{}return u.DNS=Rt,u.URL=bt,u}function Tt(t,e,r,u){switch(t){case 0:return e&r^~e&u;case 1:return e^r^u;case 2:return e&r^e&u^r&u;case 3:return e^r^u}}function et(t,e){return t<<e|t>>>32-e}function At(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const f=unescape(encodeURIComponent(t));t=[];for(let o=0;o<f.length;++o)t.push(f.charCodeAt(o))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const u=t.length/4+2,c=Math.ceil(u/16),p=new Array(c);for(let f=0;f<c;++f){const o=new Uint32Array(16);for(let h=0;h<16;++h)o[h]=t[f*64+h*4]<<24|t[f*64+h*4+1]<<16|t[f*64+h*4+2]<<8|t[f*64+h*4+3];p[f]=o}p[c-1][14]=(t.length-1)*8/Math.pow(2,32),p[c-1][14]=Math.floor(p[c-1][14]),p[c-1][15]=(t.length-1)*8&4294967295;for(let f=0;f<c;++f){const o=new Uint32Array(80);for(let y=0;y<16;++y)o[y]=p[f][y];for(let y=16;y<80;++y)o[y]=et(o[y-3]^o[y-8]^o[y-14]^o[y-16],1);let h=r[0],_=r[1],m=r[2],k=r[3],O=r[4];for(let y=0;y<80;++y){const T=Math.floor(y/20),D=et(h,5)+Tt(T,_,m,k)+O+e[T]+o[y]>>>0;O=k,k=m,m=et(_,30)>>>0,_=h,h=D}r[0]=r[0]+h>>>0,r[1]=r[1]+_>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+O>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const Mt=Nt("v5",80,At);var rt=(function(){var t=function(w,n,a,l){for(a=a||{},l=w.length;l--;a[w[l]]=n);return a},e=[6,8,10,20,22,24,26,27,28],r=[1,10],u=[1,11],c=[1,12],p=[1,13],f=[1,14],o=[1,15],h=[1,21],_=[1,22],m=[1,23],k=[1,24],O=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],T=[1,34],D=[27,28,46,47],F=[41,42,43,44,45],W=[17,34],P=[1,54],A=[1,53],S=[17,34,36,38],R={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(n,a,l,d,g,i,V){var s=i.length-1;switch(g){case 1:break;case 2:this.$=[];break;case 3:i[s-1].push(i[s]),this.$=i[s-1];break;case 4:case 5:this.$=i[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(i[s-4]),d.addEntity(i[s-2]),d.addRelationship(i[s-4],i[s],i[s-2],i[s-3]);break;case 9:d.addEntity(i[s-3]),d.addAttributes(i[s-3],i[s-1]);break;case 10:d.addEntity(i[s-2]);break;case 11:d.addEntity(i[s]);break;case 12:d.addEntity(i[s-6],i[s-4]),d.addAttributes(i[s-6],i[s-1]);break;case 13:d.addEntity(i[s-5],i[s-3]);break;case 14:d.addEntity(i[s-3],i[s-1]);break;case 15:case 16:this.$=i[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=i[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=i[s];break;case 20:case 41:case 42:this.$=i[s].replace(/"/g,"");break;case 21:case 29:this.$=[i[s]];break;case 22:i[s].push(i[s-1]),this.$=i[s];break;case 23:this.$={attributeType:i[s-1],attributeName:i[s]};break;case 24:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeKeyTypeList:i[s]};break;case 25:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeComment:i[s]};break;case 26:this.$={attributeType:i[s-3],attributeName:i[s-2],attributeKeyTypeList:i[s-1],attributeComment:i[s]};break;case 27:case 28:case 31:this.$=i[s];break;case 30:i[s-2].push(i[s]),this.$=i[s-2];break;case 32:this.$=i[s].replace(/"/g,"");break;case 33:this.$={cardA:i[s],relType:i[s-1],cardB:i[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:u,24:c,26:p,27:f,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:u,24:c,26:p,27:f,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:_,43:m,44:k,45:O}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(y,[2,19]),t(y,[2,20]),t(e,[2,4]),{11:29,27:f,28:o},{16:30,17:[1,31],29:32,30:33,34:T},{11:35,27:f,28:o},{40:36,46:[1,37],47:[1,38]},t(D,[2,34]),t(D,[2,35]),t(D,[2,36]),t(D,[2,37]),t(D,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:T},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:_,43:m,44:k,45:O},t(F,[2,39]),t(F,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(W,[2,23],{32:50,33:51,35:52,37:P,38:A}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(W,[2,24],{33:56,36:[1,57],38:A}),t(W,[2,25]),t(S,[2,29]),t(W,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:T},t(W,[2,26]),{35:60,37:P},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=a,l}},parse:function(n){var a=this,l=[0],d=[],g=[null],i=[],V=this.table,s="",X=0,nt=0,dt=2,at=1,ut=i.slice.call(arguments,1),N=Object.create(this.lexer),H={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(H.yy[j]=this.yy[j]);N.setInput(n,H.yy),H.yy.lexer=N,H.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var J=N.yylloc;i.push(J);var ft=N.options&&N.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(){var Z;return Z=d.pop()||N.lex()||at,typeof Z!="number"&&(Z instanceof Array&&(d=Z,Z=d.pop()),Z=a.symbols_[Z]||Z),Z}for(var I,z,v,$,K={},Q,Y,st,q;;){if(z=l[l.length-1],this.defaultActions[z]?v=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=yt()),v=V[z]&&V[z][I]),typeof v>"u"||!v.length||!v[0]){var tt="";q=[];for(Q in V[z])this.terminals_[Q]&&Q>dt&&q.push("'"+this.terminals_[Q]+"'");N.showPosition?tt="Parse error on line "+(X+1)+`:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./layers.CS7NMRN_.js"),pt=require("./layers.BLd2spTm.js");require("lodash-es");const _t=require("./layers.Cyzu9PKQ.js");require("./layers.Hc8Pmmic.js");require("lodash-es/memoize.js");require("lodash-es/merge.js");require("lodash-es/isEmpty.js");const gt=require("./layers.4n1gtRVe.js"),Et=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function mt(t){return typeof t=="string"&&Et.test(t)}const M=[];for(let t=0;t<256;++t)M.push((t+256).toString(16).slice(1));function kt(t,e=0){return M[t[e+0]]+M[t[e+1]]+M[t[e+2]]+M[t[e+3]]+"-"+M[t[e+4]]+M[t[e+5]]+"-"+M[t[e+6]]+M[t[e+7]]+"-"+M[t[e+8]]+M[t[e+9]]+"-"+M[t[e+10]]+M[t[e+11]]+M[t[e+12]]+M[t[e+13]]+M[t[e+14]]+M[t[e+15]]}function xt(t){if(!mt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Ot(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}const Rt="6ba7b810-9dad-11d1-80b4-00c04fd430c8",bt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function Nt(t,e,r){function u(c,p,f,o){var h;if(typeof c=="string"&&(c=Ot(c)),typeof p=="string"&&(p=xt(p)),((h=p)===null||h===void 0?void 0:h.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let _=new Uint8Array(16+c.length);if(_.set(p),_.set(c,p.length),_=r(_),_[6]=_[6]&15|e,_[8]=_[8]&63|128,f){o=o||0;for(let m=0;m<16;++m)f[o+m]=_[m];return f}return kt(_)}try{u.name=t}catch{}return u.DNS=Rt,u.URL=bt,u}function Tt(t,e,r,u){switch(t){case 0:return e&r^~e&u;case 1:return e^r^u;case 2:return e&r^e&u^r&u;case 3:return e^r^u}}function et(t,e){return t<<e|t>>>32-e}function At(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const f=unescape(encodeURIComponent(t));t=[];for(let o=0;o<f.length;++o)t.push(f.charCodeAt(o))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const u=t.length/4+2,c=Math.ceil(u/16),p=new Array(c);for(let f=0;f<c;++f){const o=new Uint32Array(16);for(let h=0;h<16;++h)o[h]=t[f*64+h*4]<<24|t[f*64+h*4+1]<<16|t[f*64+h*4+2]<<8|t[f*64+h*4+3];p[f]=o}p[c-1][14]=(t.length-1)*8/Math.pow(2,32),p[c-1][14]=Math.floor(p[c-1][14]),p[c-1][15]=(t.length-1)*8&4294967295;for(let f=0;f<c;++f){const o=new Uint32Array(80);for(let y=0;y<16;++y)o[y]=p[f][y];for(let y=16;y<80;++y)o[y]=et(o[y-3]^o[y-8]^o[y-14]^o[y-16],1);let h=r[0],_=r[1],m=r[2],k=r[3],O=r[4];for(let y=0;y<80;++y){const T=Math.floor(y/20),D=et(h,5)+Tt(T,_,m,k)+O+e[T]+o[y]>>>0;O=k,k=m,m=et(_,30)>>>0,_=h,h=D}r[0]=r[0]+h>>>0,r[1]=r[1]+_>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+O>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const Mt=Nt("v5",80,At);var rt=(function(){var t=function(w,n,a,l){for(a=a||{},l=w.length;l--;a[w[l]]=n);return a},e=[6,8,10,20,22,24,26,27,28],r=[1,10],u=[1,11],c=[1,12],p=[1,13],f=[1,14],o=[1,15],h=[1,21],_=[1,22],m=[1,23],k=[1,24],O=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],T=[1,34],D=[27,28,46,47],F=[41,42,43,44,45],W=[17,34],P=[1,54],A=[1,53],S=[17,34,36,38],R={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(n,a,l,d,g,i,V){var s=i.length-1;switch(g){case 1:break;case 2:this.$=[];break;case 3:i[s-1].push(i[s]),this.$=i[s-1];break;case 4:case 5:this.$=i[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(i[s-4]),d.addEntity(i[s-2]),d.addRelationship(i[s-4],i[s],i[s-2],i[s-3]);break;case 9:d.addEntity(i[s-3]),d.addAttributes(i[s-3],i[s-1]);break;case 10:d.addEntity(i[s-2]);break;case 11:d.addEntity(i[s]);break;case 12:d.addEntity(i[s-6],i[s-4]),d.addAttributes(i[s-6],i[s-1]);break;case 13:d.addEntity(i[s-5],i[s-3]);break;case 14:d.addEntity(i[s-3],i[s-1]);break;case 15:case 16:this.$=i[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=i[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=i[s];break;case 20:case 41:case 42:this.$=i[s].replace(/"/g,"");break;case 21:case 29:this.$=[i[s]];break;case 22:i[s].push(i[s-1]),this.$=i[s];break;case 23:this.$={attributeType:i[s-1],attributeName:i[s]};break;case 24:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeKeyTypeList:i[s]};break;case 25:this.$={attributeType:i[s-2],attributeName:i[s-1],attributeComment:i[s]};break;case 26:this.$={attributeType:i[s-3],attributeName:i[s-2],attributeKeyTypeList:i[s-1],attributeComment:i[s]};break;case 27:case 28:case 31:this.$=i[s];break;case 30:i[s-2].push(i[s]),this.$=i[s-2];break;case 32:this.$=i[s].replace(/"/g,"");break;case 33:this.$={cardA:i[s],relType:i[s-1],cardB:i[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:u,24:c,26:p,27:f,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:u,24:c,26:p,27:f,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:_,43:m,44:k,45:O}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(y,[2,19]),t(y,[2,20]),t(e,[2,4]),{11:29,27:f,28:o},{16:30,17:[1,31],29:32,30:33,34:T},{11:35,27:f,28:o},{40:36,46:[1,37],47:[1,38]},t(D,[2,34]),t(D,[2,35]),t(D,[2,36]),t(D,[2,37]),t(D,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:T},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:_,43:m,44:k,45:O},t(F,[2,39]),t(F,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(W,[2,23],{32:50,33:51,35:52,37:P,38:A}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(W,[2,24],{33:56,36:[1,57],38:A}),t(W,[2,25]),t(S,[2,29]),t(W,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:T},t(W,[2,26]),{35:60,37:P},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=a,l}},parse:function(n){var a=this,l=[0],d=[],g=[null],i=[],V=this.table,s="",X=0,nt=0,dt=2,at=1,ut=i.slice.call(arguments,1),N=Object.create(this.lexer),H={yy:{}};for(var j in this.yy)Object.prototype.hasOwnProperty.call(this.yy,j)&&(H.yy[j]=this.yy[j]);N.setInput(n,H.yy),H.yy.lexer=N,H.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var J=N.yylloc;i.push(J);var ft=N.options&&N.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(){var Z;return Z=d.pop()||N.lex()||at,typeof Z!="number"&&(Z instanceof Array&&(d=Z,Z=d.pop()),Z=a.symbols_[Z]||Z),Z}for(var I,z,v,$,K={},Q,Y,st,q;;){if(z=l[l.length-1],this.defaultActions[z]?v=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=yt()),v=V[z]&&V[z][I]),typeof v>"u"||!v.length||!v[0]){var tt="";q=[];for(Q in V[z])this.terminals_[Q]&&Q>dt&&q.push("'"+this.terminals_[Q]+"'");N.showPosition?tt="Parse error on line "+(X+1)+`:
2
2
  `+N.showPosition()+`
3
3
  Expecting `+q.join(", ")+", got '"+(this.terminals_[I]||I)+"'":tt="Parse error on line "+(X+1)+": Unexpected "+(I==at?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(tt,{text:N.match,token:this.terminals_[I]||I,line:N.yylineno,loc:J,expected:q})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(v[0]){case 1:l.push(I),g.push(N.yytext),i.push(N.yylloc),l.push(v[1]),I=null,nt=N.yyleng,s=N.yytext,X=N.yylineno,J=N.yylloc;break;case 2:if(Y=this.productions_[v[1]][1],K.$=g[g.length-Y],K._$={first_line:i[i.length-(Y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(Y||1)].first_column,last_column:i[i.length-1].last_column},ft&&(K._$.range=[i[i.length-(Y||1)].range[0],i[i.length-1].range[1]]),$=this.performAction.apply(K,[s,nt,X,H.yy,v[1],g,i].concat(ut)),typeof $<"u")return $;Y&&(l=l.slice(0,-1*Y*2),g=g.slice(0,-1*Y),i=i.slice(0,-1*Y)),l.push(this.productions_[v[1]][0]),g.push(K.$),i.push(K._$),st=V[l[l.length-2]][l[l.length-1]],l.push(st);break;case 3:return!0}}return!0}},b=(function(){var w={EOF:1,parseError:function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},setInput:function(n,a){return this.yy=a||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var a=n.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var a=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),a=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
@@ -1,6 +1,6 @@
1
- import { a as we, s as ve, c as $t, g as st, o as _e, n as ke, b as Pe, d as Lt, l as X, e as Le, f as Ie, j as v, i as At, q as Ae, u as B, R as nt, S as wt, T as te, Z as Ne, V as ee, W as Bt } from "./layers.Bk7fHXBF.js";
2
- import { J as se } from "./layers.D8M84_MA.js";
3
- import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./layers.B0jPbl9x.js";
1
+ import { a as we, s as ve, c as $t, g as st, o as _e, n as ke, b as Pe, d as Lt, l as X, e as Le, f as Ie, j as v, i as At, q as Ae, u as B, R as nt, S as wt, T as te, Z as Ne, V as ee, W as Bt } from "./layers.D2nNrhbx.js";
2
+ import { J as se } from "./layers.DTaNTG_B.js";
3
+ import { a as Se, b as zt, d as Me, g as Nt, c as Re, e as Ce } from "./layers.DdafmrR3.js";
4
4
  import "lodash-es/memoize.js";
5
5
  import "lodash-es/merge.js";
6
6
  import "lodash-es/isEmpty.js";