@templatical/editor 0.25.2 → 0.26.1

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 (179) hide show
  1. package/dist/{AiChatSidebar-JLsbPnsH.js → AiChatSidebar-B_fwa6zc.js} +8 -8
  2. package/dist/{AiFeatureMenu-BvA-lViN.js → AiFeatureMenu-BBBKsYD4.js} +4 -4
  3. package/dist/{BlockIssueBadge-Cf0-GC3o.js → BlockIssueBadge-Buk3_6QF.js} +2 -2
  4. package/dist/{BlockPreviewCanvas-CnJIM5TO.js → BlockPreviewCanvas-zyyq2de0.js} +1 -1
  5. package/dist/{CloudEditor-Caq7z4-7.js → CloudEditor-DM3RRCVn.js} +19 -19
  6. package/dist/{CollaboratorBar-BFz4LgA0.js → CollaboratorBar-Coj8Ebwf.js} +2 -2
  7. package/dist/{ColorPicker-B5xXWWX5.js → ColorPicker-ClETsjA3.js} +1 -1
  8. package/dist/{CommentsSidebar-CGihWwn9.js → CommentsSidebar-CdRCCSDD.js} +10 -10
  9. package/dist/{CountdownToolbar-DpNCZAUI.js → CountdownToolbar-CBE9wRaV.js} +2 -2
  10. package/dist/{DesignReferenceSidebar-CiIHHiil.js → DesignReferenceSidebar-hDXOvGoV.js} +6 -6
  11. package/dist/{IssuesPanel-CUkmAC_S.js → IssuesPanel-Do7RLXsP.js} +5 -5
  12. package/dist/{MergeTagModeToggle-C6nS3qri.js → MergeTagModeToggle-D0t5NHBZ.js} +3 -3
  13. package/dist/{MergeTagSuggestion-98fAcuM-.js → MergeTagSuggestion-BJ43ihWR.js} +9 -9
  14. package/dist/{NumberWithSuffix-DB-1GNvx.js → NumberWithSuffix-D37ZWiZh.js} +1 -1
  15. package/dist/{ParagraphEditor-NgW-T9YV.js → ParagraphEditor-B-CYrQMY.js} +19 -19
  16. package/dist/{RichTextEditorContent-CN7OVR6u.js → RichTextEditorContent-fbYJXAio.js} +3 -3
  17. package/dist/{SaveBlockDialog-lgcmhAsO.js → SaveBlockDialog-CoVPZfUv.js} +6 -6
  18. package/dist/{SavedBlocksBrowserModal-3u247V2z.js → SavedBlocksBrowserModal-DX13xw0O.js} +7 -7
  19. package/dist/{SavedBlocksPanels-Dh6dABJt.js → SavedBlocksPanels-B7pBiZcc.js} +1 -1
  20. package/dist/{SavedBlocksPickBar-Bo82D3Qy.js → SavedBlocksPickBar-ZfqXByph.js} +2 -2
  21. package/dist/{SnapshotHistory-Dsb1i40w.js → SnapshotHistory-BxABntv5.js} +11 -11
  22. package/dist/{TemplateScoringPanel-Bzd_YSag.js → TemplateScoringPanel-BZUsb3FD.js} +10 -10
  23. package/dist/{TestEmailModal-DvqDTOcO.js → TestEmailModal-Db4qheuy.js} +7 -7
  24. package/dist/{TestEmailPanel-BXoVnAqu.js → TestEmailPanel-B-SXSnRg.js} +1 -1
  25. package/dist/{TitleEditor-DWSi998C.js → TitleEditor-DmoaKooA.js} +8 -8
  26. package/dist/{TplModal-DKn0h2qe.js → TplModal-Bym-Kf_i.js} +1 -1
  27. package/dist/{blockTypeIcons-DKlza6aR.js → blockTypeIcons-BnCXsB2I.js} +2 -2
  28. package/dist/bundle-stats.json +6 -6
  29. package/dist/cdn/chunks/{AiChatSidebar-BY1Iy-e8.js → AiChatSidebar-CFvS4-EZ.js} +35 -35
  30. package/dist/cdn/chunks/{AiChatSidebar-BY1Iy-e8.js.map → AiChatSidebar-CFvS4-EZ.js.map} +1 -1
  31. package/dist/cdn/chunks/{AiFeatureMenu-BS4Rek6j.js → AiFeatureMenu-a0gBZiJ9.js} +11 -11
  32. package/dist/cdn/chunks/{AiFeatureMenu-BS4Rek6j.js.map → AiFeatureMenu-a0gBZiJ9.js.map} +1 -1
  33. package/dist/cdn/chunks/{BlockIssueBadge-BcIQUe_Q.js → BlockIssueBadge-BEEY9o2o.js} +5 -5
  34. package/dist/cdn/chunks/{BlockIssueBadge-BcIQUe_Q.js.map → BlockIssueBadge-BEEY9o2o.js.map} +1 -1
  35. package/dist/cdn/chunks/{BlockPreviewCanvas-oND1iXLL.js → BlockPreviewCanvas-C27XK2q0.js} +22 -22
  36. package/dist/cdn/chunks/{BlockPreviewCanvas-oND1iXLL.js.map → BlockPreviewCanvas-C27XK2q0.js.map} +1 -1
  37. package/dist/cdn/chunks/{CloudEditor-BaqiFbf0.js → CloudEditor-Ddnatfuw.js} +65 -65
  38. package/dist/cdn/chunks/{CloudEditor-BaqiFbf0.js.map → CloudEditor-Ddnatfuw.js.map} +1 -1
  39. package/dist/cdn/chunks/{CollaboratorBar-DF02nTwF.js → CollaboratorBar-C5Xf6Mz9.js} +12 -12
  40. package/dist/cdn/chunks/{CollaboratorBar-DF02nTwF.js.map → CollaboratorBar-C5Xf6Mz9.js.map} +1 -1
  41. package/dist/cdn/chunks/{ColorPicker-BXH44v2H.js → ColorPicker-W_UyiVGc.js} +131 -131
  42. package/dist/cdn/chunks/{ColorPicker-BXH44v2H.js.map → ColorPicker-W_UyiVGc.js.map} +1 -1
  43. package/dist/cdn/chunks/{CommentsSidebar-B9bWvvbl.js → CommentsSidebar-BLRZRSSC.js} +112 -112
  44. package/dist/cdn/chunks/{CommentsSidebar-B9bWvvbl.js.map → CommentsSidebar-BLRZRSSC.js.map} +1 -1
  45. package/dist/cdn/chunks/{CountdownBlock-BTpRd0Hn.js → CountdownBlock-vLTkTI9e.js} +11 -11
  46. package/dist/cdn/chunks/{CountdownBlock-BTpRd0Hn.js.map → CountdownBlock-vLTkTI9e.js.map} +1 -1
  47. package/dist/cdn/chunks/{CountdownToolbar-CW10rbWt.js → CountdownToolbar-DPjcgcVR.js} +41 -41
  48. package/dist/cdn/chunks/{CountdownToolbar-CW10rbWt.js.map → CountdownToolbar-DPjcgcVR.js.map} +1 -1
  49. package/dist/cdn/chunks/{DesignReferenceSidebar-BXjH47QC.js → DesignReferenceSidebar-CZiP00JN.js} +28 -28
  50. package/dist/cdn/chunks/{DesignReferenceSidebar-BXjH47QC.js.map → DesignReferenceSidebar-CZiP00JN.js.map} +1 -1
  51. package/dist/cdn/chunks/{IssuesPanel-DStHCHfr.js → IssuesPanel-DKTS4QVb.js} +32 -32
  52. package/dist/cdn/chunks/{IssuesPanel-DStHCHfr.js.map → IssuesPanel-DKTS4QVb.js.map} +1 -1
  53. package/dist/cdn/chunks/{LoadingTrack-DQowK3MV.js → LoadingTrack-C52ZGL5q.js} +2 -2
  54. package/dist/cdn/chunks/{LoadingTrack-DQowK3MV.js.map → LoadingTrack-C52ZGL5q.js.map} +1 -1
  55. package/dist/cdn/chunks/{MergeTagModeToggle-BCmQg4Qe.js → MergeTagModeToggle-ClGdRNpZ.js} +20 -20
  56. package/dist/cdn/chunks/{MergeTagModeToggle-BCmQg4Qe.js.map → MergeTagModeToggle-ClGdRNpZ.js.map} +1 -1
  57. package/dist/cdn/chunks/{MergeTagSuggestion-BgExdloL.js → MergeTagSuggestion-Dn8dExNa.js} +18 -18
  58. package/dist/cdn/chunks/{MergeTagSuggestion-BgExdloL.js.map → MergeTagSuggestion-Dn8dExNa.js.map} +1 -1
  59. package/dist/cdn/chunks/{NumberWithSuffix-BANVbpT0.js → NumberWithSuffix-BXrRdfq1.js} +22 -22
  60. package/dist/cdn/chunks/{NumberWithSuffix-BANVbpT0.js.map → NumberWithSuffix-BXrRdfq1.js.map} +1 -1
  61. package/dist/cdn/chunks/{ParagraphEditor-DqilB4_f.js → ParagraphEditor-BNc146Pp.js} +43 -43
  62. package/dist/cdn/chunks/{ParagraphEditor-DqilB4_f.js.map → ParagraphEditor-BNc146Pp.js.map} +1 -1
  63. package/dist/cdn/chunks/{RichTextEditorContent-BeJx4LVH.js → RichTextEditorContent-DtL49Jpo.js} +20 -20
  64. package/dist/cdn/chunks/{RichTextEditorContent-BeJx4LVH.js.map → RichTextEditorContent-DtL49Jpo.js.map} +1 -1
  65. package/dist/cdn/chunks/{SaveBlockDialog-Dm31xRZy.js → SaveBlockDialog-ogieDQp7.js} +43 -43
  66. package/dist/cdn/chunks/{SaveBlockDialog-Dm31xRZy.js.map → SaveBlockDialog-ogieDQp7.js.map} +1 -1
  67. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Tp37b4y7.js → SavedBlocksBrowserModal-DSpZcT_T.js} +62 -62
  68. package/dist/cdn/chunks/{SavedBlocksBrowserModal-Tp37b4y7.js.map → SavedBlocksBrowserModal-DSpZcT_T.js.map} +1 -1
  69. package/dist/cdn/chunks/{SavedBlocksPanels-ElerTTa_.js → SavedBlocksPanels-WYrSyf-l.js} +3 -3
  70. package/dist/cdn/chunks/{SavedBlocksPanels-ElerTTa_.js.map → SavedBlocksPanels-WYrSyf-l.js.map} +1 -1
  71. package/dist/cdn/chunks/{SavedBlocksPickBar-QHJ-Mjx0.js → SavedBlocksPickBar-DGbLBG5P.js} +12 -12
  72. package/dist/cdn/chunks/{SavedBlocksPickBar-QHJ-Mjx0.js.map → SavedBlocksPickBar-DGbLBG5P.js.map} +1 -1
  73. package/dist/cdn/chunks/{SnapshotHistory-jogWGLB-.js → SnapshotHistory-VyL4tJwn.js} +26 -26
  74. package/dist/cdn/chunks/{SnapshotHistory-jogWGLB-.js.map → SnapshotHistory-VyL4tJwn.js.map} +1 -1
  75. package/dist/cdn/chunks/{TemplateScoringPanel-B2XIOTl-.js → TemplateScoringPanel-NucRtAP0.js} +34 -34
  76. package/dist/cdn/chunks/{TemplateScoringPanel-B2XIOTl-.js.map → TemplateScoringPanel-NucRtAP0.js.map} +1 -1
  77. package/dist/cdn/chunks/{TestEmailModal-BcPjQygV.js → TestEmailModal-DRte11oT.js} +31 -31
  78. package/dist/cdn/chunks/{TestEmailModal-BcPjQygV.js.map → TestEmailModal-DRte11oT.js.map} +1 -1
  79. package/dist/cdn/chunks/{TestEmailPanel-1zxRa00s.js → TestEmailPanel-CpK5t4E3.js} +3 -3
  80. package/dist/cdn/chunks/{TestEmailPanel-1zxRa00s.js.map → TestEmailPanel-CpK5t4E3.js.map} +1 -1
  81. package/dist/cdn/chunks/{TitleEditor-DTrmublj.js → TitleEditor-EkDchueW.js} +35 -35
  82. package/dist/cdn/chunks/{TitleEditor-DTrmublj.js.map → TitleEditor-EkDchueW.js.map} +1 -1
  83. package/dist/cdn/chunks/{TplModal-By50gtwa.js → TplModal-BGLstO3F.js} +17 -17
  84. package/dist/cdn/chunks/{TplModal-By50gtwa.js.map → TplModal-BGLstO3F.js.map} +1 -1
  85. package/dist/cdn/chunks/{blockTypeIcons-BhFhHuFt.js → blockTypeIcons-FXlMM3PL.js} +2 -2
  86. package/dist/cdn/chunks/{blockTypeIcons-BhFhHuFt.js.map → blockTypeIcons-FXlMM3PL.js.map} +1 -1
  87. package/dist/cdn/chunks/{cloud-B0f7Ub8f.js → cloud-CNpvDuv7.js} +3 -3
  88. package/dist/cdn/chunks/{cloud-B0f7Ub8f.js.map → cloud-CNpvDuv7.js.map} +1 -1
  89. package/dist/cdn/chunks/{dist-H51neg3K.js → dist-B2HKGHnc.js} +3 -3
  90. package/dist/cdn/chunks/{dist-H51neg3K.js.map → dist-B2HKGHnc.js.map} +1 -1
  91. package/dist/cdn/chunks/{dist-B4VIlp1g.js → dist-C6z8AjBC.js} +2 -2
  92. package/dist/cdn/chunks/{dist-B4VIlp1g.js.map → dist-C6z8AjBC.js.map} +1 -1
  93. package/dist/cdn/chunks/{draggable-Z4XXmbPC.js → draggable-DCs9qL-b.js} +2 -2
  94. package/dist/cdn/chunks/{draggable-Z4XXmbPC.js.map → draggable-DCs9qL-b.js.map} +1 -1
  95. package/dist/cdn/chunks/{extensions-Dq0D79tq.js → extensions-CZAB08kD.js} +22 -22
  96. package/dist/cdn/chunks/{extensions-Dq0D79tq.js.map → extensions-CZAB08kD.js.map} +1 -1
  97. package/dist/cdn/chunks/{icons-C_kRN0_C.js → icons-CvYN6zrM.js} +8 -8
  98. package/dist/cdn/chunks/{icons-C_kRN0_C.js.map → icons-CvYN6zrM.js.map} +1 -1
  99. package/dist/cdn/chunks/{keys-DsoX52o_.js → keys-Cmc2Yl3D.js} +2 -2
  100. package/dist/cdn/chunks/{keys-DsoX52o_.js.map → keys-Cmc2Yl3D.js.map} +1 -1
  101. package/dist/cdn/chunks/{liquid.browser-DrGys_ek.js → liquid.browser-UlAOKBjI.js} +99 -91
  102. package/dist/cdn/chunks/liquid.browser-UlAOKBjI.js.map +1 -0
  103. package/dist/cdn/chunks/{src-CRvTVX4F.js → src-BRRRFqXr.js} +201 -201
  104. package/dist/cdn/chunks/{src-CRvTVX4F.js.map → src-BRRRFqXr.js.map} +1 -1
  105. package/dist/cdn/chunks/{src-Aea1Vl1H.js → src-COnW7gMq.js} +123 -123
  106. package/dist/cdn/chunks/src-COnW7gMq.js.map +1 -0
  107. package/dist/cdn/chunks/{src-CZjSXPYq.js → src-DsvVSm7Z.js} +221 -166
  108. package/dist/cdn/chunks/src-DsvVSm7Z.js.map +1 -0
  109. package/dist/cdn/chunks/{src-_GNJgPcS.js → src-DzH5U9Vm.js} +79 -79
  110. package/dist/cdn/chunks/{src-_GNJgPcS.js.map → src-DzH5U9Vm.js.map} +1 -1
  111. package/dist/cdn/chunks/{styles-znpPfrFd.js → styles-DEU_sn3k.js} +935 -917
  112. package/dist/cdn/chunks/styles-DEU_sn3k.js.map +1 -0
  113. package/dist/cdn/chunks/{tiptap-C5vzWlHv.js → tiptap-C44S1Cmh.js} +3480 -2806
  114. package/dist/cdn/chunks/tiptap-C44S1Cmh.js.map +1 -0
  115. package/dist/cdn/chunks/{useAliveFlag-4IDYQRNu.js → useAliveFlag-Dxwgo6P4.js} +2 -2
  116. package/dist/cdn/chunks/{useAliveFlag-4IDYQRNu.js.map → useAliveFlag-Dxwgo6P4.js.map} +1 -1
  117. package/dist/cdn/chunks/{useCloudI18n-D4JpHTPk.js → useCloudI18n-8wkJtuJD.js} +3 -3
  118. package/dist/cdn/chunks/{useCloudI18n-D4JpHTPk.js.map → useCloudI18n-8wkJtuJD.js.map} +1 -1
  119. package/dist/cdn/chunks/{useEditorCore-BMXBmdd8.js → useEditorCore-fyFmWS3D.js} +297 -297
  120. package/dist/cdn/chunks/useEditorCore-fyFmWS3D.js.map +1 -0
  121. package/dist/cdn/chunks/{useI18n-BvcEYzrI.js → useI18n-UMs0F71x.js} +3 -3
  122. package/dist/cdn/chunks/{useI18n-BvcEYzrI.js.map → useI18n-UMs0F71x.js.map} +1 -1
  123. package/dist/cdn/chunks/{useMergeTag-BSdxMUzg.js → useMergeTag-DjQoCGEz.js} +4 -4
  124. package/dist/cdn/chunks/{useMergeTag-BSdxMUzg.js.map → useMergeTag-DjQoCGEz.js.map} +1 -1
  125. package/dist/cdn/chunks/{usePopoverPosition-ig-71caO.js → usePopoverPosition-cf8Y-ynK.js} +3 -3
  126. package/dist/cdn/chunks/{usePopoverPosition-ig-71caO.js.map → usePopoverPosition-cf8Y-ynK.js.map} +1 -1
  127. package/dist/cdn/editor.js +47 -47
  128. package/dist/cdn/editor.js.map +1 -1
  129. package/dist/{check-COV27dGb.js → check-On4TSac-.js} +1 -1
  130. package/dist/{chevron-down-vsU88vcr.js → chevron-down-69EiBGoB.js} +1 -1
  131. package/dist/{chevron-up-RrZ0Rjn9.js → chevron-up-Dh3MG1Dw.js} +1 -1
  132. package/dist/{circle-alert-B6GlHmmi.js → circle-alert-cilwzafX.js} +1 -1
  133. package/dist/{clock-egOt8zjQ.js → clock-Dt0APH92.js} +1 -1
  134. package/dist/{cloud-D-2StbvU.js → cloud-4SuOLNTK.js} +1 -1
  135. package/dist/{createLucideIcon-D6cqT5Pm.js → createLucideIcon-C8WzBYCv.js} +2 -2
  136. package/dist/dist-6YJAWMuf.js +5 -0
  137. package/dist/dist-8vlm9kfO.js +5 -0
  138. package/dist/{dist-DHwnYYx0.js → dist-BImfm-46.js} +2 -2
  139. package/dist/{dist-CQ0fVBQ3.js → dist-BvYvG5SQ.js} +110 -57
  140. package/dist/{dist-DzzTB4eE.js → dist-C08jiemd.js} +7 -7
  141. package/dist/{dist-CqV4XslQ.js → dist-C27SeFL5.js} +15 -15
  142. package/dist/{dist-MwT7T6Xp.js → dist-CYx-E82k.js} +2 -2
  143. package/dist/{dist-CHxPjcxA.js → dist-ChYLhoJ4.js} +2143 -1583
  144. package/dist/{dist-UkG5ZJ1P.js → dist-Cl8J0IES.js} +258 -172
  145. package/dist/{dist-D4GoAr2g.js → dist-DMJRSouD.js} +464 -436
  146. package/dist/{dist-GUZZpDK3.js → dist-DfpeSdmE.js} +2 -2
  147. package/dist/{dist-Du95Y9M3.js → dist-M7m1lYRe.js} +47 -47
  148. package/dist/{dist-vpuiQ7_Q.js → dist-g6cbzhZW.js} +2 -2
  149. package/dist/{extensions-y6KjLr9t.js → extensions-Dz5jj0wf.js} +16 -16
  150. package/dist/{image-up-CycES-MQ.js → image-up-Ceggh_R3.js} +1 -1
  151. package/dist/{info-BUdvm046.js → info-DO5odBcZ.js} +1 -1
  152. package/dist/{liquid.browser-Di5zMIEx.js → liquid.browser-B-rGrnrQ.js} +98 -90
  153. package/dist/{list-checks-BAeuuATD.js → list-checks-BSkPKbuI.js} +1 -1
  154. package/dist/{loader-circle-L5yuAx_j.js → loader-circle-bO7o7_HD.js} +1 -1
  155. package/dist/{message-circle-DRdaapVc.js → message-circle-BEkAk65X.js} +1 -1
  156. package/dist/{pencil-BfErVPf_.js → pencil-t6m0EtKL.js} +1 -1
  157. package/dist/{refresh-cw-D0PYatER.js → refresh-cw-CkOYVzK5.js} +1 -1
  158. package/dist/{scan-line-Byi3fJcr.js → scan-line-DwSVj25O.js} +1 -1
  159. package/dist/{send-DuyNexMY.js → send-CWsWN8PQ.js} +1 -1
  160. package/dist/{shield-check-BkkN_1qw.js → shield-check-qje8Kufw.js} +1 -1
  161. package/dist/{sparkles-DAw2sBXk.js → sparkles-DumaWRW-.js} +1 -1
  162. package/dist/{styles-BzwheHH_.js → styles-DbP2S8Z1.js} +446 -428
  163. package/dist/templatical-editor.js +9 -9
  164. package/dist/{text-align-start-Ba3xJKn6.js → text-align-start-Ir8Ah4mT.js} +1 -1
  165. package/dist/{trash-2-CapEBXBI.js → trash-2-CklAFCmO.js} +1 -1
  166. package/dist/{triangle-alert-52pdw8jI.js → triangle-alert-BBi4n93g.js} +1 -1
  167. package/dist/{upload-oAgigC31.js → upload-sVqqppuv.js} +1 -1
  168. package/dist/{useEditorCore-BhjEMSeE.js → useEditorCore-CbcmGpwp.js} +889 -889
  169. package/dist/{useMergeTag-DTSOQnyr.js → useMergeTag-B9xG9EJ7.js} +1 -1
  170. package/dist/{x-DvBgbDuf.js → x-Mby7KlhS.js} +1 -1
  171. package/package.json +23 -23
  172. package/dist/cdn/chunks/liquid.browser-DrGys_ek.js.map +0 -1
  173. package/dist/cdn/chunks/src-Aea1Vl1H.js.map +0 -1
  174. package/dist/cdn/chunks/src-CZjSXPYq.js.map +0 -1
  175. package/dist/cdn/chunks/styles-znpPfrFd.js.map +0 -1
  176. package/dist/cdn/chunks/tiptap-C5vzWlHv.js.map +0 -1
  177. package/dist/cdn/chunks/useEditorCore-BMXBmdd8.js.map +0 -1
  178. package/dist/dist-B56SufAv.js +0 -5
  179. package/dist/dist-BQZkRg05.js +0 -5
@@ -1,24 +1,24 @@
1
- import { $ as e, A as t, C as n, F as r, G as i, H as a, J as o, K as s, L as c, M as l, N as u, O as d, P as f, T as p, U as m, V as h, X as g, Y as _, Z as v, at as y, b, c as x, ct as S, f as C, g as w, h as T, it as E, k as D, l as O, m as k, nt as A, ot as j, p as M, rt as N, s as P, st as F, t as ee, u as I, v as L, x as R, y as z, z as B } from "./draggable-Z4XXmbPC.js";
1
+ import { $ as e, A as t, C as n, F as r, G as i, H as a, J as o, K as s, L as c, M as l, N as u, O as d, P as f, T as p, U as m, V as h, X as g, Y as _, Z as v, at as y, b, c as x, ct as S, f as C, g as w, h as T, it as E, k as D, l as O, lt as k, m as A, nt as j, p as M, rt as N, s as P, st as F, t as ee, u as I, v as L, x as R, y as z, z as B } from "./draggable-DCs9qL-b.js";
2
2
  import "./timeouts-SsLMC4a3.js";
3
- import { $ as te, A as ne, B as re, C as ie, D as ae, E as oe, F as V, I as se, L as ce, M as le, N as ue, O as de, P as fe, Q as pe, R as me, S as he, T as ge, _ as _e, a as ve, b as ye, d as be, f as xe, g as Se, h as Ce, i as H, j as we, k as Te, l as Ee, m as De, n as Oe, o as ke, p as Ae, r as je, s as Me, t as Ne, u as Pe, v as Fe, w as Ie, x as Le } from "./src-CZjSXPYq.js";
4
- import { _ as Re, h as ze, v as Be, y as Ve } from "./dist-B4VIlp1g.js";
5
- import { a as U, c as He, i as Ue, r as We } from "./dist-H51neg3K.js";
6
- import { A as Ge, B as Ke, C as qe, D as Je, E as W, F as Ye, G as Xe, H as Ze, I as Qe, L as $e, M as et, N as tt, O as nt, P as rt, S as it, T as at, U as ot, V as st, W as G, _ as ct, a as lt, b as ut, c as dt, f as ft, g as K, h as pt, j as mt, k as ht, m as gt, n as _t, o as vt, p as yt, r as bt, s as xt, u as St, v as Ct, w as wt, x as Tt, y as Et } from "./keys-DsoX52o_.js";
7
- import { t as q } from "./useI18n-BvcEYzrI.js";
8
- import { a as Dt, i as Ot, o as kt, r as J, t as At } from "./usePopoverPosition-ig-71caO.js";
9
- import { A as jt, Bt as Mt, Et as Nt, H as Pt, Ot as Ft, Tt as It, X as Lt, d as Rt, ft as zt, ht as Bt, it as Vt, o as Ht, s as Ut, tt as Wt, u as Gt, v as Kt, vt as qt, zt as Jt } from "./icons-C_kRN0_C.js";
10
- import { t as Yt } from "./LoadingTrack-DQowK3MV.js";
3
+ import { A as te, B as ne, C as re, D as ie, E as ae, F as oe, H as se, I as ce, L as V, M as le, N as ue, O as de, P as fe, R as pe, S as me, T as he, _ as ge, a as _e, b as ve, d as ye, et as be, f as xe, g as Se, h as Ce, i as H, j as we, k as Te, l as Ee, m as De, n as Oe, o as ke, p as Ae, r as je, s as Me, t as Ne, tt as Pe, u as Fe, w as Ie, z as Le } from "./src-DsvVSm7Z.js";
4
+ import { _ as Re, h as ze, v as Be, y as Ve } from "./dist-C6z8AjBC.js";
5
+ import { a as U, c as He, i as Ue, r as We } from "./dist-B2HKGHnc.js";
6
+ import { A as Ge, B as Ke, C as qe, D as Je, E as W, F as Ye, G as Xe, H as Ze, I as Qe, L as $e, M as et, N as tt, O as nt, P as rt, S as it, T as at, U as ot, V as st, W as G, _ as ct, a as lt, b as ut, c as dt, f as ft, g as K, h as pt, j as mt, k as ht, m as gt, n as _t, o as vt, p as yt, r as bt, s as xt, u as St, v as Ct, w as wt, x as Tt, y as Et } from "./keys-Cmc2Yl3D.js";
7
+ import { t as q } from "./useI18n-UMs0F71x.js";
8
+ import { a as Dt, i as Ot, o as kt, r as J, t as At } from "./usePopoverPosition-cf8Y-ynK.js";
9
+ import { A as jt, Bt as Mt, Et as Nt, H as Pt, Ot as Ft, Tt as It, X as Lt, d as Rt, ft as zt, ht as Bt, it as Vt, o as Ht, s as Ut, tt as Wt, u as Gt, v as Kt, vt as qt, zt as Jt } from "./icons-CvYN6zrM.js";
10
+ import { t as Yt } from "./LoadingTrack-C52ZGL5q.js";
11
11
  import { t as Xt } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import "./useCloudI18n-D4JpHTPk.js";
13
- import { t as Y } from "./useMergeTag-BSdxMUzg.js";
14
- import { t as Zt } from "./useAliveFlag-4IDYQRNu.js";
12
+ import "./useCloudI18n-8wkJtuJD.js";
13
+ import { t as Y } from "./useMergeTag-DjQoCGEz.js";
14
+ import { t as Zt } from "./useAliveFlag-Dxwgo6P4.js";
15
15
  //#region ../core/src/editor.ts
16
16
  function Qt(e) {
17
17
  return e === "1" ? 1 : e === "3" ? 3 : 2;
18
18
  }
19
19
  function $t(e) {
20
20
  let t = _({
21
- content: e.content ?? se(e.defaultFontFamily, e.templateDefaults),
21
+ content: e.content ?? pe(e.defaultFontFamily, e.templateDefaults),
22
22
  selectedBlockId: null,
23
23
  viewport: "desktop",
24
24
  darkMode: !1,
@@ -175,7 +175,7 @@ var en = 50, tn = 300, nn = 1500;
175
175
  function rn(e) {
176
176
  let { content: t, setContent: n, isRemoteOperation: r, maxSize: i = en } = e, a = v([]), o = v([]), s = v(!1), c = null, l = null, u = m(() => a.value.length > 0), d = m(() => o.value.length > 0);
177
177
  function f() {
178
- return Fe(t.value);
178
+ return ve(t.value);
179
179
  }
180
180
  function p(e) {
181
181
  a.value.push(e), a.value.length > i && a.value.splice(0, a.value.length - i);
@@ -258,7 +258,7 @@ function an(e) {
258
258
  function on(e) {
259
259
  let { addBlock: t, removeBlock: n, updateBlock: r, selectBlock: i, findBlockLocation: a } = e;
260
260
  function o(n, r, a) {
261
- let o = ye(n, e.blockDefaults);
261
+ let o = me(n, e.blockDefaults);
262
262
  return t(o, r, a), i(o.id), o;
263
263
  }
264
264
  function s(e, n, r) {
@@ -565,7 +565,7 @@ function _n(e) {
565
565
  let o = ++a;
566
566
  r.value = !0;
567
567
  let s = {
568
- content: Fe(e.getContent()),
568
+ content: ve(e.getContent()),
569
569
  ...e.getRecipient?.() === void 0 ? {} : { recipient: e.getRecipient() }
570
570
  };
571
571
  try {
@@ -745,7 +745,7 @@ function Sn(t) {
745
745
  o || l();
746
746
  async function l() {
747
747
  try {
748
- let e = await import("./src-_GNJgPcS.js");
748
+ let e = await import("./src-DzH5U9Vm.js");
749
749
  if (c) return;
750
750
  a.value = { lintTemplate: e.lintTemplate }, r.value = !0, u(), s = Ve(t.content, u, {
751
751
  debounce: t.debounce ?? 500,
@@ -959,7 +959,7 @@ function jn() {
959
959
  let r = `custom:${e.type}`;
960
960
  t.value.set(r, {
961
961
  component: n,
962
- createBlock: () => ie(e),
962
+ createBlock: () => he(e),
963
963
  definition: e
964
964
  }), N(t);
965
965
  }
@@ -984,7 +984,7 @@ function jn() {
984
984
  let t = o(e.customType);
985
985
  if (!t) return s("Block definition not found");
986
986
  try {
987
- let { Liquid: n } = await import("./liquid.browser-DrGys_ek.js");
987
+ let { Liquid: n } = await import("./liquid.browser-UlAOKBjI.js");
988
988
  return await new n({
989
989
  strictVariables: !1,
990
990
  strictFilters: !1
@@ -1028,7 +1028,7 @@ function Nn(e) {
1028
1028
  }
1029
1029
  function Pn(e, t) {
1030
1030
  for (let n of e) {
1031
- if (re(n)) {
1031
+ if (se(n)) {
1032
1032
  t.add(n.customType);
1033
1033
  continue;
1034
1034
  }
@@ -1044,55 +1044,55 @@ function Pn(e, t) {
1044
1044
  var Fn = [
1045
1045
  {
1046
1046
  type: "section",
1047
- createBlock: Te
1047
+ createBlock: we
1048
1048
  },
1049
1049
  {
1050
1050
  type: "title",
1051
- createBlock: ue
1051
+ createBlock: oe
1052
1052
  },
1053
1053
  {
1054
1054
  type: "paragraph",
1055
- createBlock: de
1055
+ createBlock: te
1056
1056
  },
1057
1057
  {
1058
1058
  type: "image",
1059
- createBlock: oe
1059
+ createBlock: de
1060
1060
  },
1061
1061
  {
1062
1062
  type: "button",
1063
- createBlock: Le
1063
+ createBlock: re
1064
1064
  },
1065
1065
  {
1066
1066
  type: "divider",
1067
- createBlock: Ie
1067
+ createBlock: ae
1068
1068
  },
1069
1069
  {
1070
1070
  type: "video",
1071
- createBlock: fe
1071
+ createBlock: ce
1072
1072
  },
1073
1073
  {
1074
1074
  type: "social",
1075
- createBlock: ne
1075
+ createBlock: le
1076
1076
  },
1077
1077
  {
1078
1078
  type: "menu",
1079
- createBlock: ae
1079
+ createBlock: Te
1080
1080
  },
1081
1081
  {
1082
1082
  type: "table",
1083
- createBlock: le
1083
+ createBlock: fe
1084
1084
  },
1085
1085
  {
1086
1086
  type: "spacer",
1087
- createBlock: we
1087
+ createBlock: ue
1088
1088
  },
1089
1089
  {
1090
1090
  type: "html",
1091
- createBlock: ge
1091
+ createBlock: ie
1092
1092
  },
1093
1093
  {
1094
1094
  type: "countdown",
1095
- createBlock: he
1095
+ createBlock: Ie
1096
1096
  }
1097
1097
  ];
1098
1098
  function In(e, t) {
@@ -1118,7 +1118,7 @@ function zn(e, t, n) {
1118
1118
  let r = new Set(e.map((e) => J(e))), i = [], a = (e, t) => {
1119
1119
  for (let [n, o] of Object.entries(e)) typeof o == "string" ? o !== "" && /color$/i.test(n) && !r.has(J(o)) && i.push(`${t}.${n}: ${o}`) : Rn(o) && a(o, `${t}.${n}`);
1120
1120
  }, o = t;
1121
- for (let [e, t] of Object.entries(ce)) {
1121
+ for (let [e, t] of Object.entries(Le)) {
1122
1122
  let n = o?.[e];
1123
1123
  a({
1124
1124
  ...t,
@@ -1126,7 +1126,7 @@ function zn(e, t, n) {
1126
1126
  }, e);
1127
1127
  }
1128
1128
  return a({
1129
- ...me,
1129
+ ...ne,
1130
1130
  ...n ?? {}
1131
1131
  }, "template"), i;
1132
1132
  }
@@ -1231,9 +1231,9 @@ function Wn(e, t, n, r = !1) {
1231
1231
  type: "text",
1232
1232
  value: e
1233
1233
  });
1234
- } else be(i, n) ? a.push({
1234
+ } else ye(i, n) ? a.push({
1235
1235
  type: "tag",
1236
- value: ve(i, n)
1236
+ value: _e(i, n)
1237
1237
  }) : a.push({
1238
1238
  type: "text",
1239
1239
  value: i
@@ -1260,7 +1260,7 @@ var Gn = R({
1260
1260
  class: "tpl-merge-tag-label"
1261
1261
  }, e.value) : e.value);
1262
1262
  }
1263
- }), Kn = { class: "tpl:text-center" }, qn = ["href"], Jn = /* @__PURE__ */ R({
1263
+ }), Kn = ["href"], qn = /* @__PURE__ */ R({
1264
1264
  __name: "ButtonBlock",
1265
1265
  props: {
1266
1266
  block: {},
@@ -1280,19 +1280,19 @@ var Gn = R({
1280
1280
  textAlign: "center"
1281
1281
  };
1282
1282
  return t.block.fontFamily && (e.fontFamily = t.block.fontFamily), t.block.width === "full" ? (e.display = "block", e.width = "100%", e.boxSizing = "border-box") : typeof t.block.width == "number" && (e.width = `${t.block.width}px`, e.boxSizing = "border-box"), e;
1283
- });
1284
- return (t, r) => (l(), w("div", Kn, [M("a", {
1283
+ }), r = C(() => ({ textAlign: t.block.align ?? "center" }));
1284
+ return (t, i) => (l(), w("div", { style: S(r.value) }, [M("a", {
1285
1285
  href: e.block.url || "#",
1286
- style: F(n.value),
1286
+ style: S(n.value),
1287
1287
  class: "tpl:cursor-default",
1288
- onClick: r[0] ||= O(() => {}, ["prevent"])
1289
- }, [z(Gn, { text: e.block.text }, null, 8, ["text"])], 12, qn)]));
1288
+ onClick: i[0] ||= O(() => {}, ["prevent"])
1289
+ }, [z(Gn, { text: e.block.text }, null, 8, ["text"])], 12, Kn)], 4));
1290
1290
  }
1291
- }), Yn = ["innerHTML"], Xn = [
1291
+ }), Jn = ["innerHTML"], Yn = [
1292
1292
  "src",
1293
1293
  "width",
1294
1294
  "height"
1295
- ], Zn = /* @__PURE__ */ R({
1295
+ ], Xn = /* @__PURE__ */ R({
1296
1296
  __name: "CustomBlockIcon",
1297
1297
  props: {
1298
1298
  icon: {},
@@ -1303,19 +1303,19 @@ var Gn = R({
1303
1303
  return (t, a) => r.value ? (l(), w("span", {
1304
1304
  key: 0,
1305
1305
  class: "tpl:inline-flex tpl:items-center tpl:justify-center",
1306
- style: F({
1306
+ style: S({
1307
1307
  width: `${n.value}px`,
1308
1308
  height: `${n.value}px`
1309
1309
  }),
1310
1310
  innerHTML: e.icon
1311
- }, null, 12, Yn)) : i.value ? (l(), w("img", {
1311
+ }, null, 12, Jn)) : i.value ? (l(), w("img", {
1312
1312
  key: 1,
1313
1313
  src: e.icon,
1314
1314
  width: n.value,
1315
1315
  height: n.value,
1316
1316
  class: "tpl:inline-block",
1317
1317
  alt: ""
1318
- }, null, 8, Xn)) : (l(), k(E(Jt), {
1318
+ }, null, 8, Yn)) : (l(), A(E(Jt), {
1319
1319
  key: 2,
1320
1320
  size: n.value,
1321
1321
  "stroke-width": 1.5
@@ -1324,16 +1324,16 @@ var Gn = R({
1324
1324
  });
1325
1325
  //#endregion
1326
1326
  //#region src/composables/useEditorRoot.ts
1327
- function Qn() {
1327
+ function Zn() {
1328
1328
  return p(ct, document) ?? document;
1329
1329
  }
1330
1330
  //#endregion
1331
1331
  //#region src/composables/useFocusTrap.ts
1332
- var $n = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1333
- function er(e, t) {
1334
- let n = Qn(), r = null, i = null, a = null;
1332
+ var Qn = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
1333
+ function $n(e, t) {
1334
+ let n = Zn(), r = null, i = null, a = null;
1335
1335
  function s() {
1336
- return e.value ? Array.from(e.value.querySelectorAll($n)).filter((e) => e.offsetParent !== null) : [];
1336
+ return e.value ? Array.from(e.value.querySelectorAll(Qn)).filter((e) => e.offsetParent !== null) : [];
1337
1337
  }
1338
1338
  function c(e) {
1339
1339
  if (e.key !== "Tab") return;
@@ -1363,7 +1363,7 @@ function er(e, t) {
1363
1363
  }
1364
1364
  //#endregion
1365
1365
  //#region src/composables/useEmoji.ts
1366
- function tr() {
1366
+ function er() {
1367
1367
  let [t, n] = Be(!1), r = e([]), i = !1;
1368
1368
  o(() => {
1369
1369
  i = !0;
@@ -1389,7 +1389,7 @@ function tr() {
1389
1389
  }
1390
1390
  //#endregion
1391
1391
  //#region src/composables/useDragDrop.ts
1392
- function nr(e) {
1392
+ function tr(e) {
1393
1393
  let { onBlockMove: t, onBlockAdd: n } = e, r = v(!1), i = v(null), a = v(null);
1394
1394
  function o(e) {
1395
1395
  r.value = !0, i.value = e;
@@ -1439,7 +1439,7 @@ function nr(e) {
1439
1439
  }
1440
1440
  //#endregion
1441
1441
  //#region src/composables/useFonts.ts
1442
- var rr = [
1442
+ var nr = [
1443
1443
  {
1444
1444
  value: "Arial",
1445
1445
  label: "Arial"
@@ -1468,7 +1468,7 @@ var rr = [
1468
1468
  value: "Courier New",
1469
1469
  label: "Courier New"
1470
1470
  }
1471
- ], ir = {
1471
+ ], rr = {
1472
1472
  arial: "Arial, sans-serif",
1473
1473
  helvetica: "Helvetica, sans-serif",
1474
1474
  georgia: "Georgia, serif",
@@ -1476,23 +1476,23 @@ var rr = [
1476
1476
  verdana: "Verdana, sans-serif",
1477
1477
  "trebuchet ms": "'Trebuchet MS', sans-serif",
1478
1478
  "courier new": "'Courier New', monospace"
1479
- }, ar = "Arial, sans-serif";
1480
- function or(e) {
1481
- if (e === void 0 || e === !0) return [...rr];
1479
+ }, ir = "Arial, sans-serif";
1480
+ function ar(e) {
1481
+ if (e === void 0 || e === !0) return [...nr];
1482
1482
  if (e === !1) return [];
1483
1483
  let t = [], n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set();
1484
1484
  for (let i of e) {
1485
- let e = i.toLowerCase(), a = rr.find((t) => t.value.toLowerCase() === e);
1485
+ let e = i.toLowerCase(), a = nr.find((t) => t.value.toLowerCase() === e);
1486
1486
  if (!a) {
1487
- r.has(e) || (r.add(e), $.warn(`config.fonts.builtIns: "${i}" is not a built-in font — skipping it. Built-in fonts are: ${rr.map((e) => e.value).join(", ")}.`));
1487
+ r.has(e) || (r.add(e), $.warn(`config.fonts.builtIns: "${i}" is not a built-in font — skipping it. Built-in fonts are: ${nr.map((e) => e.value).join(", ")}.`));
1488
1488
  continue;
1489
1489
  }
1490
1490
  n.has(a.value) || (n.add(a.value), t.push(a));
1491
1491
  }
1492
1492
  return t;
1493
1493
  }
1494
- function sr(e) {
1495
- let t = v(e?.customFonts ?? []), n = v(!0), r = v(!1), a = or(e?.builtIns), s = C(() => e?.defaultFallback ?? ar);
1494
+ function or(e) {
1495
+ let t = v(e?.customFonts ?? []), n = v(!0), r = v(!1), a = ar(e?.builtIns), s = C(() => e?.defaultFallback ?? ir);
1496
1496
  function c(e) {
1497
1497
  n.value = e;
1498
1498
  }
@@ -1509,26 +1509,26 @@ function sr(e) {
1509
1509
  function u(e) {
1510
1510
  return l.value.some((t) => t.label.toLowerCase() === e.toLowerCase() || t.value.toLowerCase().startsWith(e.toLowerCase()));
1511
1511
  }
1512
- let d = e?.defaultFont ?? ar.split(",")[0].trim();
1512
+ let d = e?.defaultFont ?? ir.split(",")[0].trim();
1513
1513
  u(d) || $.warn(`config.fonts: new templates seed "${d}", which the font picker doesn't offer — authors can't reselect it. Either add it to fonts.builtIns, or set fonts.defaultFont to an offered font.`);
1514
1514
  function f(e) {
1515
- return rr.some((t) => t.label.toLowerCase() === e.toLowerCase() || t.value.toLowerCase().startsWith(e.toLowerCase()));
1515
+ return nr.some((t) => t.label.toLowerCase() === e.toLowerCase() || t.value.toLowerCase().startsWith(e.toLowerCase()));
1516
1516
  }
1517
1517
  function p() {
1518
1518
  if (e?.defaultFont) {
1519
- if (!n.value && !f(e.defaultFont)) return ar;
1519
+ if (!n.value && !f(e.defaultFont)) return ir;
1520
1520
  if (u(e.defaultFont)) {
1521
1521
  let t = l.value.find((t) => t.label.toLowerCase() === e.defaultFont.toLowerCase() || t.value.toLowerCase().startsWith(e.defaultFont.toLowerCase()));
1522
1522
  if (t) return t.value;
1523
1523
  }
1524
1524
  }
1525
- return ar;
1525
+ return ir;
1526
1526
  }
1527
1527
  let m = C(() => p());
1528
1528
  function h(e) {
1529
1529
  if (!e) return s.value;
1530
1530
  let n = t.value.find((t) => t.name.toLowerCase() === e.toLowerCase());
1531
- return n ? `'${n.name}', ${n.fallback ?? s.value}` : ir[e.toLowerCase()] || (e.includes(",") ? e : `${e}, ${s.value}`);
1531
+ return n ? `'${n.name}', ${n.fallback ?? s.value}` : rr[e.toLowerCase()] || (e.includes(",") ? e : `${e}, ${s.value}`);
1532
1532
  }
1533
1533
  let g = [], _ = !1;
1534
1534
  async function y() {
@@ -1571,7 +1571,7 @@ function sr(e) {
1571
1571
  }
1572
1572
  //#endregion
1573
1573
  //#region src/composables/useLogicTag.ts
1574
- function cr() {
1574
+ function sr() {
1575
1575
  let e = p(wt, []), t = p(qe, []), n = p(Ge, je.liquid), r = p(mt, null), i = p(at, null), a = v(!1), o = !!r || e.length > 0 || t.length > 0, s = e.length > 0 || t.length > 0;
1576
1576
  async function c() {
1577
1577
  if (r) {
@@ -1603,12 +1603,12 @@ function cr() {
1603
1603
  }
1604
1604
  //#endregion
1605
1605
  //#region src/utils/mergeTagNodeSpec.ts
1606
- function lr(e, t, n) {
1607
- return be(e, n) ? {
1606
+ function cr(e, t, n) {
1607
+ return ye(e, n) ? {
1608
1608
  type: "logicMergeTagNode",
1609
1609
  attrs: {
1610
1610
  value: e,
1611
- keyword: ve(e, n)
1611
+ keyword: _e(e, n)
1612
1612
  }
1613
1613
  } : {
1614
1614
  type: "mergeTagNode",
@@ -1620,15 +1620,15 @@ function lr(e, t, n) {
1620
1620
  }
1621
1621
  //#endregion
1622
1622
  //#region src/utils/insertLogicTag.ts
1623
- function ur(e) {
1623
+ function lr(e) {
1624
1624
  return "before" in e && "after" in e;
1625
1625
  }
1626
- function dr(e, t, n) {
1627
- if (!ur(t)) {
1628
- e.chain().focus().insertContent(lr(t.value, t.label, n)).run();
1626
+ function ur(e, t, n) {
1627
+ if (!lr(t)) {
1628
+ e.chain().focus().insertContent(cr(t.value, t.label, n)).run();
1629
1629
  return;
1630
1630
  }
1631
- let r = lr(t.before, t.label, n), i = lr(t.after, t.label, n), { from: a, to: o } = e.state.selection;
1631
+ let r = cr(t.before, t.label, n), i = cr(t.after, t.label, n), { from: a, to: o } = e.state.selection;
1632
1632
  if (a !== o) {
1633
1633
  e.chain().focus().insertContentAt(o, i).insertContentAt(a, r).run();
1634
1634
  return;
@@ -1637,20 +1637,20 @@ function dr(e, t, n) {
1637
1637
  }
1638
1638
  //#endregion
1639
1639
  //#region src/utils/linkColorExtension.ts
1640
- function fr(e) {
1640
+ function dr(e) {
1641
1641
  if (!e) return null;
1642
1642
  let t = e.trim();
1643
1643
  return /^#[0-9a-f]{3,8}$/i.test(t) || /^(rgb|rgba|hsl|hsla)\(\s*[0-9.,%/\s]+\)$/i.test(t) || /^[a-z]+$/i.test(t) ? t : null;
1644
1644
  }
1645
- function pr(e) {
1645
+ function fr(e) {
1646
1646
  return e.extend({ addAttributes() {
1647
1647
  return {
1648
1648
  ...this.parent?.(),
1649
1649
  color: {
1650
1650
  default: null,
1651
- parseHTML: (e) => fr(Ot(e.style.color)),
1651
+ parseHTML: (e) => dr(Ot(e.style.color)),
1652
1652
  renderHTML: (e) => {
1653
- let t = fr(e.color);
1653
+ let t = dr(e.color);
1654
1654
  return t ? { style: `color: ${t}` } : {};
1655
1655
  }
1656
1656
  }
@@ -1659,9 +1659,9 @@ function pr(e) {
1659
1659
  }
1660
1660
  //#endregion
1661
1661
  //#region src/composables/useRichTextLinkDialog.ts
1662
- function mr(e) {
1662
+ function pr(e) {
1663
1663
  let t = v(!1), n = v(""), r = v(""), i = v(null);
1664
- er(i, t);
1664
+ $n(i, t);
1665
1665
  function a() {
1666
1666
  let i = e.value?.getAttributes("link") ?? {};
1667
1667
  n.value = i.href || "", r.value = i.color || "", t.value = !0;
@@ -1670,7 +1670,7 @@ function mr(e) {
1670
1670
  if (n.value) {
1671
1671
  let t = c(n.value);
1672
1672
  if (t !== null) {
1673
- let n = fr(r.value), i = e.value?.chain().focus().extendMarkRange("link").setLink({ href: t }).updateAttributes("link", { color: n });
1673
+ let n = dr(r.value), i = e.value?.chain().focus().extendMarkRange("link").setLink({ href: t }).updateAttributes("link", { color: n });
1674
1674
  n && typeof e.value?.commands.unsetColor == "function" && i?.unsetColor(), i?.run();
1675
1675
  }
1676
1676
  }
@@ -1717,8 +1717,8 @@ function mr(e) {
1717
1717
  }
1718
1718
  //#endregion
1719
1719
  //#region src/composables/useRichTextEditor.ts
1720
- function hr(t) {
1721
- let n = p(K, null), { mergeTags: r, canRequestMergeTag: i, isRequesting: a, requestMergeTag: o, syntax: c, autocomplete: l } = Y(), { canInsertLogicTag: u, isRequesting: d, requestLogicTag: f } = cr(), m = p(Ze, null), h = (s(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", g = Ee(c), _ = e(null), { showLinkDialog: y, linkUrl: b, linkColor: x, linkDialogRef: S, openLinkDialog: C, insertLink: w, removeLink: T, closeLinkDialog: E, handleLinkKeydown: O } = mr(_), { start: k, stop: A } = Re(() => _.value?.commands.focus("end"), 0, { immediate: !1 }), j = e(null), M = v(!0), N = v(null), P = !1;
1720
+ function mr(t) {
1721
+ let n = p(K, null), { mergeTags: r, canRequestMergeTag: i, isRequesting: a, requestMergeTag: o, syntax: c, autocomplete: l } = Y(), { canInsertLogicTag: u, isRequesting: d, requestLogicTag: f } = sr(), m = p(Ze, null), h = (s(m) ? m.value : m)?.mergeTag?.suggestionEmpty ?? "No matching merge tags", g = Ee(c), _ = e(null), { showLinkDialog: y, linkUrl: b, linkColor: x, linkDialogRef: S, openLinkDialog: C, insertLink: w, removeLink: T, closeLinkDialog: E, handleLinkKeydown: O } = pr(_), { start: k, stop: A } = Re(() => _.value?.commands.focus("end"), 0, { immediate: !1 }), j = e(null), M = v(!0), N = v(null), P = !1;
1722
1722
  async function F() {
1723
1723
  N.value = null, M.value = !0;
1724
1724
  try {
@@ -1778,7 +1778,7 @@ function hr(t) {
1778
1778
  }
1779
1779
  async function z() {
1780
1780
  let e = await f();
1781
- P || (e && _.value ? dr(_.value, e, c) : _.value?.commands.focus());
1781
+ P || (e && _.value ? ur(_.value, e, c) : _.value?.commands.focus());
1782
1782
  }
1783
1783
  return {
1784
1784
  editor: _,
@@ -1807,30 +1807,30 @@ function hr(t) {
1807
1807
  }
1808
1808
  //#endregion
1809
1809
  //#region src/composables/useSmallScreenNotice.ts
1810
- var gr = "(max-width: 767px)";
1811
- function _r(e) {
1812
- let t = He(gr);
1810
+ var hr = "(max-width: 767px)";
1811
+ function gr(e) {
1812
+ let t = He(hr);
1813
1813
  return {
1814
1814
  isSmallScreen: t,
1815
- showNotice: C(() => (A(e) ?? !0) && t.value)
1815
+ showNotice: C(() => (j(e) ?? !0) && t.value)
1816
1816
  };
1817
1817
  }
1818
1818
  //#endregion
1819
1819
  //#region src/components/blocks/CustomBlock.vue?vue&type=script&setup=true&lang.ts
1820
- var vr = { class: "tpl:w-full" }, yr = {
1820
+ var _r = { class: "tpl:w-full" }, vr = {
1821
1821
  key: 0,
1822
1822
  class: "tpl:flex tpl:min-h-[80px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:border-[var(--tpl-warning)] tpl:bg-[var(--tpl-warning-light)]"
1823
- }, br = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, xr = {
1823
+ }, yr = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, br = {
1824
1824
  key: 1,
1825
1825
  class: "tpl:flex tpl:min-h-[80px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:border-[var(--tpl-danger)] tpl:bg-[var(--tpl-danger-light)]"
1826
- }, Sr = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Cr = {
1826
+ }, xr = { class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Sr = {
1827
1827
  key: 2,
1828
1828
  class: "tpl:relative"
1829
- }, wr = ["innerHTML"], Tr = {
1829
+ }, Cr = ["innerHTML"], wr = {
1830
1830
  key: 0,
1831
1831
  class: "tpl:absolute tpl:inset-0 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-3 tpl:rounded tpl:backdrop-blur-[2px]",
1832
1832
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 80%, transparent)" }
1833
- }, Er = /* @__PURE__ */ R({
1833
+ }, Tr = /* @__PURE__ */ R({
1834
1834
  __name: "CustomBlock",
1835
1835
  props: {
1836
1836
  block: {},
@@ -1850,7 +1850,7 @@ var vr = { class: "tpl:w-full" }, yr = {
1850
1850
  }), _ = p(W, []), y = p(G, null), b = C(() => {
1851
1851
  if (!y?.value) return r.block;
1852
1852
  let e = {};
1853
- for (let [t, n] of Object.entries(r.block.fieldValues)) e[t] = typeof n == "string" ? _e(n, _) : n;
1853
+ for (let [t, n] of Object.entries(r.block.fieldValues)) e[t] = typeof n == "string" ? ge(n, _) : n;
1854
1854
  return {
1855
1855
  ...r.block,
1856
1856
  fieldValues: e
@@ -1867,17 +1867,17 @@ var vr = { class: "tpl:w-full" }, yr = {
1867
1867
  }
1868
1868
  }
1869
1869
  }
1870
- let D = ze(x, 150);
1870
+ let S = ze(x, 150);
1871
1871
  return t(() => {
1872
1872
  x();
1873
1873
  }), B(() => r.block.fieldValues, () => {
1874
- D();
1874
+ S();
1875
1875
  }, { deep: !0 }), B(() => y?.value, () => {
1876
- D();
1877
- }), (e, t) => (l(), w("div", vr, [d.value ? c.value ? (l(), w("div", xr, [z(E(Gt), {
1876
+ S();
1877
+ }), (e, t) => (l(), w("div", _r, [d.value ? c.value ? (l(), w("div", br, [z(E(Gt), {
1878
1878
  size: 24,
1879
1879
  class: "tpl:text-[var(--tpl-danger)]"
1880
- }), M("span", Sr, S(E(a).customBlocks.renderError), 1)])) : (l(), w("div", Cr, [M("div", { innerHTML: s.value }, null, 8, wr), E(g) && E(h) ? (l(), w("div", Tr, [E(f) ? (l(), k(Yt, {
1880
+ }), M("span", xr, k(E(a).customBlocks.renderError), 1)])) : (l(), w("div", Sr, [M("div", { innerHTML: s.value }, null, 8, Cr), E(g) && E(h) ? (l(), w("div", wr, [E(f) ? (l(), A(Yt, {
1881
1881
  key: 1,
1882
1882
  class: "tpl:w-48"
1883
1883
  })) : (l(), w("button", {
@@ -1885,16 +1885,16 @@ var vr = { class: "tpl:w-full" }, yr = {
1885
1885
  type: "button",
1886
1886
  class: "tpl:flex tpl:cursor-pointer tpl:items-center tpl:gap-2 tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-2 tpl:text-sm tpl:font-semibold tpl:shadow-sm tpl:transition-all tpl:duration-150 hover:tpl:border-[var(--tpl-primary)] hover:tpl:shadow-md tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary-hover)]",
1887
1887
  onClick: t[0] ||= O((...e) => E(m) && E(m)(...e), ["stop"])
1888
- }, [u.value?.icon ? (l(), k(Zn, {
1888
+ }, [u.value?.icon ? (l(), A(Xn, {
1889
1889
  key: 0,
1890
1890
  icon: u.value.icon,
1891
1891
  size: 16
1892
- }, null, 8, ["icon"])) : T("", !0), L(" " + S(u.value?.dataSource?.label || E(a).customBlocks.dataSource.fetchButton), 1)]))])) : T("", !0)])) : (l(), w("div", yr, [z(E(Pt), {
1892
+ }, null, 8, ["icon"])) : T("", !0), L(" " + k(u.value?.dataSource?.label || E(a).customBlocks.dataSource.fetchButton), 1)]))])) : T("", !0)])) : (l(), w("div", vr, [z(E(Pt), {
1893
1893
  size: 24,
1894
1894
  class: "tpl:text-[var(--tpl-warning)]"
1895
- }), M("span", br, S(E(a).customBlocks.definitionNotFound), 1)]))]));
1895
+ }), M("span", yr, k(E(a).customBlocks.definitionNotFound), 1)]))]));
1896
1896
  }
1897
- }), Dr = { class: "tpl:w-full" }, Or = /* @__PURE__ */ R({
1897
+ }), Er = { class: "tpl:w-full" }, Dr = /* @__PURE__ */ R({
1898
1898
  __name: "DividerBlock",
1899
1899
  props: {
1900
1900
  block: {},
@@ -1906,28 +1906,28 @@ var vr = { class: "tpl:w-full" }, yr = {
1906
1906
  width: t.block.width === "full" ? "100%" : `${t.block.width}px`,
1907
1907
  margin: t.block.width === "full" ? "0" : "0 auto"
1908
1908
  }));
1909
- return (e, t) => (l(), w("div", Dr, [M("hr", {
1909
+ return (e, t) => (l(), w("div", Er, [M("hr", {
1910
1910
  class: "tpl:m-0 tpl:border-none",
1911
- style: F(n.value)
1911
+ style: S(n.value)
1912
1912
  }, null, 4)]));
1913
1913
  }
1914
- }), kr = { class: "tpl:w-full" }, Ar = ["srcdoc", "title"], jr = {
1914
+ }), Or = { class: "tpl:w-full" }, kr = ["srcdoc", "title"], Ar = {
1915
1915
  key: 1,
1916
1916
  class: "tpl:flex tpl:min-h-[80px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)]"
1917
- }, Mr = {
1917
+ }, jr = {
1918
1918
  key: 0,
1919
1919
  class: "tpl:text-sm tpl:text-[var(--tpl-text-muted)]"
1920
- }, Nr = {
1920
+ }, Mr = {
1921
1921
  key: 1,
1922
1922
  class: "tpl:text-sm tpl:text-[var(--tpl-text-dim)]"
1923
- }, Pr = /* @__PURE__ */ R({
1923
+ }, Nr = /* @__PURE__ */ R({
1924
1924
  __name: "HtmlBlock",
1925
1925
  props: {
1926
1926
  block: {},
1927
1927
  viewport: {}
1928
1928
  },
1929
1929
  setup(e) {
1930
- let t = e, { t: n } = q(), r = p(ut, !1), i = C(() => t.block.content.trim().length > 0), a = C(() => r && i.value), o = p(W, []), s = p(G, null), c = C(() => s?.value ? _e(t.block.content, o) : t.block.content), u = v(null), d = v(60), f = null;
1930
+ let t = e, { t: n } = q(), r = p(ut, !1), i = C(() => t.block.content.trim().length > 0), a = C(() => r && i.value), o = p(W, []), s = p(G, null), c = C(() => s?.value ? ge(t.block.content, o) : t.block.content), u = v(null), d = v(60), f = null;
1931
1931
  function m() {
1932
1932
  let e = u.value?.contentDocument;
1933
1933
  e && (d.value = Math.max(e.body?.scrollHeight ?? 0, e.documentElement?.scrollHeight ?? 0));
@@ -1941,7 +1941,7 @@ var vr = { class: "tpl:w-full" }, yr = {
1941
1941
  e || (f?.disconnect(), f = null);
1942
1942
  }), D(() => {
1943
1943
  f?.disconnect(), f = null;
1944
- }), (e, t) => (l(), w("div", kr, [a.value ? (l(), w("iframe", {
1944
+ }), (e, t) => (l(), w("div", Or, [a.value ? (l(), w("iframe", {
1945
1945
  key: 0,
1946
1946
  ref_key: "iframeRef",
1947
1947
  ref: u,
@@ -1949,20 +1949,20 @@ var vr = { class: "tpl:w-full" }, yr = {
1949
1949
  sandbox: "allow-same-origin",
1950
1950
  title: E(n).html.preview,
1951
1951
  class: "tpl:block tpl:w-full tpl:border-0",
1952
- style: F({ height: `${d.value}px` }),
1952
+ style: S({ height: `${d.value}px` }),
1953
1953
  onLoad: h
1954
- }, null, 44, Ar)) : (l(), w("div", jr, [z(E(Ft), {
1954
+ }, null, 44, kr)) : (l(), w("div", Ar, [z(E(Ft), {
1955
1955
  size: 24,
1956
1956
  class: "tpl:text-[var(--tpl-text-dim)]"
1957
- }), i.value ? (l(), w("span", Mr, S(E(n).html.preview), 1)) : (l(), w("span", Nr, S(E(n).html.empty), 1))]))]));
1957
+ }), i.value ? (l(), w("span", jr, k(E(n).html.preview), 1)) : (l(), w("span", Mr, k(E(n).html.empty), 1))]))]));
1958
1958
  }
1959
- }), Fr = "image/";
1960
- function Ir(e) {
1961
- let { target: t, onFiles: n, enabled: r } = e, i = () => r === void 0 || A(r), { isOverDropZone: a } = We(t, {
1959
+ }), Pr = "image/";
1960
+ function Fr(e) {
1961
+ let { target: t, onFiles: n, enabled: r } = e, i = () => r === void 0 || j(r), { isOverDropZone: a } = We(t, {
1962
1962
  preventDefaultForUnhandled: !0,
1963
1963
  onDrop: (e) => {
1964
1964
  if (!i()) return;
1965
- let t = (e ?? []).filter((e) => e.type.startsWith(Fr));
1965
+ let t = (e ?? []).filter((e) => e.type.startsWith(Pr));
1966
1966
  t.length > 0 && n([t[0]]);
1967
1967
  }
1968
1968
  });
@@ -1970,17 +1970,17 @@ function Ir(e) {
1970
1970
  }
1971
1971
  //#endregion
1972
1972
  //#region src/components/blocks/ImageBlock.vue?vue&type=script&setup=true&lang.ts
1973
- var Lr = {
1973
+ var Ir = {
1974
1974
  key: 0,
1975
1975
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-10 tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-xs tpl:font-medium tpl:border-[var(--tpl-primary)] tpl:text-[var(--tpl-primary)]",
1976
1976
  style: { "background-color": "color-mix(in srgb, var(--tpl-bg) 85%, transparent)" }
1977
- }, Rr = ["href"], zr = ["src", "alt"], Br = ["src", "alt"], Vr = {
1977
+ }, Lr = ["href"], Rr = ["src", "alt"], zr = ["src", "alt"], Br = {
1978
1978
  class: "tpl:max-w-full tpl:truncate tpl:px-3 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-primary)]",
1979
1979
  style: { opacity: "0.7" }
1980
- }, Hr = ["href"], Ur = ["src", "alt"], Wr = ["src", "alt"], Gr = {
1980
+ }, Vr = ["href"], Hr = ["src", "alt"], Ur = ["src", "alt"], Wr = {
1981
1981
  key: 4,
1982
1982
  class: "tpl:flex tpl:min-h-[100px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-sm tpl:border-[var(--tpl-border-light)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-dim)]"
1983
- }, Kr = ["aria-label"], qr = { key: 1 }, Jr = /* @__PURE__ */ R({
1983
+ }, Gr = ["aria-label"], Kr = { key: 1 }, qr = /* @__PURE__ */ R({
1984
1984
  __name: "ImageBlock",
1985
1985
  props: {
1986
1986
  block: {},
@@ -2015,7 +2015,7 @@ var Lr = {
2015
2015
  }
2016
2016
  }
2017
2017
  }
2018
- let { isOver: g } = Ir({
2018
+ let { isOver: g } = Fr({
2019
2019
  target: d,
2020
2020
  enabled: m,
2021
2021
  onFiles: h
@@ -2034,15 +2034,15 @@ var Lr = {
2034
2034
  ref: d,
2035
2035
  "data-testid": "image-drop-zone",
2036
2036
  class: "tpl:relative tpl:w-full",
2037
- style: F(_.value)
2038
- }, [m.value && (E(g) || f.value) ? (l(), w("div", Lr, [f.value ? (l(), w(I, { key: 0 }, [z(E(Vt), {
2037
+ style: S(_.value)
2038
+ }, [m.value && (E(g) || f.value) ? (l(), w("div", Ir, [f.value ? (l(), w(I, { key: 0 }, [z(E(Vt), {
2039
2039
  class: "tpl-spinner",
2040
2040
  size: 20,
2041
2041
  "stroke-width": 2
2042
- }), L(" " + S(E(i).image.uploading), 1)], 64)) : (l(), w(I, { key: 1 }, [z(E(Ut), {
2042
+ }), L(" " + k(E(i).image.uploading), 1)], 64)) : (l(), w(I, { key: 1 }, [z(E(Ut), {
2043
2043
  size: 20,
2044
2044
  "stroke-width": 1.5
2045
- }), L(" " + S(E(i).image.dropToUpload), 1)], 64))])) : T("", !0), e.block.src && b.value && e.block.placeholderUrl ? (l(), w(I, { key: 1 }, [e.block.linkUrl ? (l(), w("a", {
2045
+ }), L(" " + k(E(i).image.dropToUpload), 1)], 64))])) : T("", !0), e.block.src && b.value && e.block.placeholderUrl ? (l(), w(I, { key: 1 }, [e.block.linkUrl ? (l(), w("a", {
2046
2046
  key: 0,
2047
2047
  href: e.block.linkUrl,
2048
2048
  target: "_blank",
@@ -2053,23 +2053,23 @@ var Lr = {
2053
2053
  loading: "lazy",
2054
2054
  src: E(D),
2055
2055
  alt: e.block.alt || E(i).image.altTextPlaceholder,
2056
- style: F(y.value)
2057
- }, null, 12, zr)], 8, Rr)) : (l(), w("img", {
2056
+ style: S(y.value)
2057
+ }, null, 12, Rr)], 8, Lr)) : (l(), w("img", {
2058
2058
  key: 1,
2059
2059
  class: "tpl:border-0",
2060
2060
  src: E(D),
2061
2061
  alt: e.block.alt,
2062
- style: F(y.value)
2063
- }, null, 12, Br))], 64)) : e.block.src && b.value ? (l(), w("div", {
2062
+ style: S(y.value)
2063
+ }, null, 12, zr))], 64)) : e.block.src && b.value ? (l(), w("div", {
2064
2064
  key: 2,
2065
2065
  class: "tpl:!flex tpl:min-h-[120px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-center tpl:bg-[var(--tpl-bg-elevated)]",
2066
- style: F([{ "border-color": "color-mix(in srgb, var(--tpl-primary) 40%, transparent)" }, y.value])
2066
+ style: S([{ "border-color": "color-mix(in srgb, var(--tpl-primary) 40%, transparent)" }, y.value])
2067
2067
  }, [z(E(zt), {
2068
2068
  size: 32,
2069
2069
  "stroke-width": 1.5,
2070
2070
  class: "tpl:text-[var(--tpl-primary)]",
2071
2071
  style: { opacity: "0.5" }
2072
- }), M("span", Vr, [z(Gn, { text: e.block.src }, null, 8, ["text"])])], 4)) : e.block.src ? (l(), w(I, { key: 3 }, [e.block.linkUrl ? (l(), w("a", {
2072
+ }), M("span", Br, [z(Gn, { text: e.block.src }, null, 8, ["text"])])], 4)) : e.block.src ? (l(), w(I, { key: 3 }, [e.block.linkUrl ? (l(), w("a", {
2073
2073
  key: 0,
2074
2074
  href: e.block.linkUrl,
2075
2075
  target: "_blank",
@@ -2080,14 +2080,14 @@ var Lr = {
2080
2080
  loading: "lazy",
2081
2081
  src: E(x),
2082
2082
  alt: e.block.alt || E(i).image.altTextPlaceholder,
2083
- style: F(y.value)
2084
- }, null, 12, Ur)], 8, Hr)) : (l(), w("img", {
2083
+ style: S(y.value)
2084
+ }, null, 12, Hr)], 8, Vr)) : (l(), w("img", {
2085
2085
  key: 1,
2086
2086
  class: "tpl:border-0",
2087
2087
  src: E(x),
2088
2088
  alt: e.block.alt,
2089
- style: F(y.value)
2090
- }, null, 12, Wr))], 64)) : (l(), w("div", Gr, [s.value ? (l(), w("button", {
2089
+ style: S(y.value)
2090
+ }, null, 12, Ur))], 64)) : (l(), w("div", Wr, [s.value ? (l(), w("button", {
2091
2091
  key: 0,
2092
2092
  "aria-label": E(i).image.browseMedia,
2093
2093
  class: "tpl:flex tpl:items-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:px-3 tpl:py-2 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:cursor-pointer tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
@@ -2095,12 +2095,12 @@ var Lr = {
2095
2095
  }, [z(E(zt), {
2096
2096
  size: 14,
2097
2097
  "stroke-width": 1.5
2098
- }), L(" " + S(E(i).image.browseMedia), 1)], 8, Kr)) : (l(), w("span", qr, S(E(i).image.clickToAdd), 1))]))], 4));
2098
+ }), L(" " + k(E(i).image.browseMedia), 1)], 8, Gr)) : (l(), w("span", Kr, k(E(i).image.clickToAdd), 1))]))], 4));
2099
2099
  }
2100
- }), Yr = { class: "tpl:w-full" }, Xr = ["href"], Zr = {
2100
+ }), Jr = { class: "tpl:w-full" }, Yr = ["href"], Xr = {
2101
2101
  key: 1,
2102
2102
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:text-sm tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text-dim)]"
2103
- }, Qr = /* @__PURE__ */ R({
2103
+ }, Zr = /* @__PURE__ */ R({
2104
2104
  __name: "MenuBlock",
2105
2105
  props: {
2106
2106
  block: {},
@@ -2119,27 +2119,27 @@ var Lr = {
2119
2119
  function a(e) {
2120
2120
  return e || t.block.linkColor || t.block.color;
2121
2121
  }
2122
- return (t, o) => (l(), w("div", Yr, [i.value ? (l(), w("div", {
2122
+ return (t, o) => (l(), w("div", Jr, [i.value ? (l(), w("div", {
2123
2123
  key: 0,
2124
- style: F(r.value)
2124
+ style: S(r.value)
2125
2125
  }, [(l(!0), w(I, null, f(e.block.items, (t, n) => (l(), w(I, { key: t.id }, [M("a", {
2126
2126
  href: t.url || "#",
2127
2127
  class: "tpl:cursor-default tpl:no-underline",
2128
- style: F({
2128
+ style: S({
2129
2129
  color: a(t.color),
2130
2130
  fontWeight: t.bold ? "bold" : "normal",
2131
2131
  textDecoration: t.underline ? "underline" : "none"
2132
2132
  }),
2133
2133
  onClick: o[0] ||= O(() => {}, ["prevent"])
2134
- }, [z(Gn, { text: t.text || "..." }, null, 8, ["text"])], 12, Xr), n < e.block.items.length - 1 ? (l(), w("span", {
2134
+ }, [z(Gn, { text: t.text || "..." }, null, 8, ["text"])], 12, Yr), n < e.block.items.length - 1 ? (l(), w("span", {
2135
2135
  key: 0,
2136
- style: F({
2136
+ style: S({
2137
2137
  color: e.block.separatorColor,
2138
2138
  padding: `0 ${e.block.spacing}px`
2139
2139
  })
2140
- }, S(e.block.separator), 5)) : T("", !0)], 64))), 128))], 4)) : (l(), w("div", Zr, [z(E(Lt), { size: 16 }), M("span", null, S(E(n).menu.addLinks), 1)]))]));
2140
+ }, k(e.block.separator), 5)) : T("", !0)], 64))), 128))], 4)) : (l(), w("div", Xr, [z(E(Lt), { size: 16 }), M("span", null, k(E(n).menu.addLinks), 1)]))]));
2141
2141
  }
2142
- }), $r = /* @__PURE__ */ new Set([
2142
+ }), Qr = /* @__PURE__ */ new Set([
2143
2143
  "http",
2144
2144
  "https",
2145
2145
  "mailto",
@@ -2149,7 +2149,7 @@ var Lr = {
2149
2149
  "sms",
2150
2150
  "xmpp",
2151
2151
  "cid"
2152
- ]), ei = /* @__PURE__ */ new Set([
2152
+ ]), $r = /* @__PURE__ */ new Set([
2153
2153
  "SCRIPT",
2154
2154
  "STYLE",
2155
2155
  "IFRAME",
@@ -2159,7 +2159,7 @@ var Lr = {
2159
2159
  "META",
2160
2160
  "BASE",
2161
2161
  "FORM"
2162
- ]), ti = /* @__PURE__ */ new Set([
2162
+ ]), ei = /* @__PURE__ */ new Set([
2163
2163
  "href",
2164
2164
  "xlink:href",
2165
2165
  "formaction",
@@ -2168,16 +2168,16 @@ var Lr = {
2168
2168
  "background",
2169
2169
  "poster"
2170
2170
  ]);
2171
- function ni(e, t) {
2171
+ function ti(e, t) {
2172
2172
  let n = e.replace(/[\t\n\r]/g, "").replace(/^[\u0000-\u0020]+/, "").trimEnd();
2173
2173
  if (!n || n.startsWith("#")) return !0;
2174
2174
  let r = /^([a-z][a-z0-9+.-]*):/i.exec(n);
2175
2175
  if (!r) return !0;
2176
2176
  let i = r[1].toLowerCase();
2177
- return $r.has(i) ? !0 : t && i === "data" ? /^data:image\/(png|jpe?g|gif|webp|svg\+xml);/i.test(n) : !1;
2177
+ return Qr.has(i) ? !0 : t && i === "data" ? /^data:image\/(png|jpe?g|gif|webp|svg\+xml);/i.test(n) : !1;
2178
2178
  }
2179
- function ri(e) {
2180
- if (ei.has(e.tagName)) {
2179
+ function ni(e) {
2180
+ if ($r.has(e.tagName)) {
2181
2181
  e.remove();
2182
2182
  return;
2183
2183
  }
@@ -2189,29 +2189,29 @@ function ri(e) {
2189
2189
  e.removeAttribute(n);
2190
2190
  continue;
2191
2191
  }
2192
- if (ti.has(t)) {
2193
- ni(e.getAttribute(n) ?? "", !1) || e.removeAttribute(n);
2192
+ if (ei.has(t)) {
2193
+ ti(e.getAttribute(n) ?? "", !1) || e.removeAttribute(n);
2194
2194
  continue;
2195
2195
  }
2196
2196
  if (t === "src") {
2197
- ni(e.getAttribute(n) ?? "", !0) || e.removeAttribute(n);
2197
+ ti(e.getAttribute(n) ?? "", !0) || e.removeAttribute(n);
2198
2198
  continue;
2199
2199
  }
2200
2200
  t === "srcdoc" && e.removeAttribute(n);
2201
2201
  }
2202
2202
  let n = Array.from(e.children);
2203
- for (let e of n) ri(e);
2203
+ for (let e of n) ni(e);
2204
2204
  }
2205
- function ii(e) {
2205
+ function ri(e) {
2206
2206
  if (typeof DOMParser > "u") return e;
2207
2207
  let t = new DOMParser().parseFromString(`<!doctype html><body>${e}</body>`, "text/html").body, n = Array.from(t.children);
2208
- for (let e of n) ri(e);
2208
+ for (let e of n) ni(e);
2209
2209
  return t.innerHTML;
2210
2210
  }
2211
2211
  //#endregion
2212
2212
  //#region src/composables/useEditableTextBlock.ts
2213
- function ai(e) {
2214
- let t = p(W, []), n = p(G, null), { syntax: r } = Y(), i = C(() => n?.value ? Se(e(), t) : De(e(), t)), a = C(() => ii(Ae(i.value, r))), o = v(!1), s = v(null), { top: c, left: l } = Ue(s), { toLocal: u } = At(), d = C(() => u({
2213
+ function ii(e) {
2214
+ let t = p(W, []), n = p(G, null), { syntax: r } = Y(), i = C(() => n?.value ? Se(e(), t) : De(e(), t)), a = C(() => ri(Ae(i.value, r))), o = v(!1), s = v(null), { top: c, left: l } = Ue(s), { toLocal: u } = At(), d = C(() => u({
2215
2215
  top: c.value - 8,
2216
2216
  left: l.value
2217
2217
  }));
@@ -2232,20 +2232,20 @@ function ai(e) {
2232
2232
  }
2233
2233
  //#endregion
2234
2234
  //#region src/components/blocks/ParagraphBlock.vue?vue&type=script&setup=true&lang.ts
2235
- var oi = ["innerHTML"], si = /* @__PURE__ */ R({
2235
+ var ai = ["innerHTML"], oi = /* @__PURE__ */ R({
2236
2236
  __name: "ParagraphBlock",
2237
2237
  props: {
2238
2238
  block: {},
2239
2239
  viewport: {}
2240
2240
  },
2241
2241
  setup(e) {
2242
- let t = e, n = b(() => import("./ParagraphEditor-DqilB4_f.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: c } = ai(() => t.block.content);
2242
+ let t = e, n = b(() => import("./ParagraphEditor-BNc146Pp.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: c } = ii(() => t.block.content);
2243
2243
  return (t, u) => (l(), w("div", {
2244
2244
  ref_key: "blockRef",
2245
2245
  ref: i,
2246
2246
  class: "tpl:min-h-[1em] tpl:w-full",
2247
2247
  onDblclick: u[0] ||= (...e) => E(s) && E(s)(...e)
2248
- }, [E(r) ? (l(), k(E(n), {
2248
+ }, [E(r) ? (l(), A(E(n), {
2249
2249
  key: 0,
2250
2250
  block: e.block,
2251
2251
  "toolbar-position": E(a),
@@ -2258,54 +2258,54 @@ var oi = ["innerHTML"], si = /* @__PURE__ */ R({
2258
2258
  key: 1,
2259
2259
  class: "tpl-text-content tpl:outline-none [&_a]:tpl:underline [&_li]:tpl:my-1 [&_ol]:tpl:my-2 [&_ol]:tpl:pl-6 [&_p]:tpl:m-0 [&_p]:tpl:mb-2 [&_p:last-child]:tpl:mb-0 [&_s]:tpl:line-through [&_sub]:tpl:align-sub [&_sub]:tpl:text-[0.75em] [&_sup]:tpl:align-super [&_sup]:tpl:text-[0.75em] [&_ul]:tpl:my-2 [&_ul]:tpl:pl-6",
2260
2260
  innerHTML: E(o)
2261
- }, null, 8, oi))], 544));
2261
+ }, null, 8, ai))], 544));
2262
2262
  }
2263
2263
  });
2264
2264
  //#endregion
2265
2265
  //#region src/utils/blockComponentResolver.ts
2266
- function ci(e) {
2266
+ function si(e) {
2267
2267
  let t = { fontFamily: e.fontFamily };
2268
2268
  return e.textColor && (t.color = e.textColor), e.linkColor && (t["--tpl-doc-link-color"] = e.linkColor), e.linkUnderline && (t["--tpl-doc-link-underline"] = "underline"), t;
2269
2269
  }
2270
- function li(e, t, n) {
2270
+ function ci(e, t, n) {
2271
2271
  if (t) {
2272
2272
  let n = t.getComponent(e);
2273
2273
  if (n) return n;
2274
2274
  }
2275
2275
  return n[e.type] ?? null;
2276
2276
  }
2277
- function ui(e) {
2277
+ function li(e) {
2278
2278
  let { padding: t, backgroundColor: n } = e.styles, r = {
2279
2279
  padding: `${t.top}px ${t.right}px ${t.bottom}px ${t.left}px`,
2280
2280
  backgroundColor: n || "transparent"
2281
2281
  };
2282
2282
  return e.type === "section" && e.borderRadius && e.borderRadius > 0 && (r.borderRadius = `${e.borderRadius}px`), r;
2283
2283
  }
2284
- function di(e) {
2284
+ function ui(e) {
2285
2285
  if (e.type !== "section" || !e.wrapper) return null;
2286
2286
  let t = e.wrapper, n = {};
2287
2287
  return t.backgroundColor && (n.backgroundColor = t.backgroundColor), t.padding && (n.padding = `${t.padding.top}px ${t.padding.right}px ${t.padding.bottom}px ${t.padding.left}px`), t.borderRadius && t.borderRadius > 0 && (n.borderRadius = `${t.borderRadius}px`), n;
2288
2288
  }
2289
2289
  //#endregion
2290
2290
  //#region src/components/blocks/BlockWrapper.vue?vue&type=script&setup=true&lang.ts
2291
- var fi = [
2291
+ var di = [
2292
2292
  "data-block-id",
2293
2293
  "data-block-type",
2294
2294
  "data-tpl-picked"
2295
- ], pi = ["aria-label"], mi = [
2295
+ ], fi = ["aria-label"], pi = [
2296
2296
  "aria-label",
2297
2297
  "aria-pressed",
2298
2298
  "title"
2299
- ], hi = ["aria-label", "title"], gi = ["aria-label", "title"], _i = ["aria-label", "title"], vi = {
2299
+ ], mi = ["aria-label", "title"], hi = ["aria-label", "title"], gi = ["aria-label", "title"], _i = {
2300
2300
  key: 1,
2301
2301
  class: "tpl-block-hidden-overlay tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:z-[5] tpl:flex tpl:items-center tpl:justify-center tpl:rounded-sm"
2302
- }, yi = { class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-2 tpl:py-1 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-chrome-bg-elevated)] tpl:text-[var(--tpl-chrome-text-muted)] tpl:shadow-[var(--tpl-shadow-sm)]" }, bi = {
2302
+ }, vi = { class: "tpl:flex tpl:items-center tpl:gap-1 tpl:rounded tpl:px-2 tpl:py-1 tpl:text-[10px] tpl:font-medium tpl:bg-[var(--tpl-chrome-bg-elevated)] tpl:text-[var(--tpl-chrome-text-muted)] tpl:shadow-[var(--tpl-shadow-sm)]" }, yi = {
2303
2303
  key: 2,
2304
2304
  class: "tpl:absolute tpl:-left-1 tpl:top-1/2 tpl:z-[5] tpl:-translate-x-full tpl:-translate-y-1/2"
2305
- }, xi = ["aria-label", "title"], Si = {
2305
+ }, bi = ["aria-label", "title"], xi = {
2306
2306
  key: 3,
2307
2307
  class: "tpl:absolute tpl:-right-1 tpl:-top-1 tpl:z-[5] tpl:translate-x-full"
2308
- }, Ci = ["aria-label"], wi = /*#__PURE__*/ Xt(/* @__PURE__ */ R({
2308
+ }, Si = ["aria-label"], Ci = /*#__PURE__*/ Xt(/* @__PURE__ */ R({
2309
2309
  __name: "BlockWrapper",
2310
2310
  props: {
2311
2311
  block: {},
@@ -2317,7 +2317,7 @@ var fi = [
2317
2317
  },
2318
2318
  emits: ["select"],
2319
2319
  setup(e, { emit: t }) {
2320
- let n = b(() => import("./BlockIssueBadge-BcIQUe_Q.js")), i = e, a = t, { t: o, format: s } = q(), c = p(it, null), u = v(null), f = C(() => c?.liftedBlockId.value === i.block.id), m = C(() => f.value ? s(o.blockActions.dragLifted, { block: i.block.type }) : o.blockActions.drag);
2320
+ let n = b(() => import("./BlockIssueBadge-BEEY9o2o.js")), i = e, a = t, { t: o, format: s } = q(), c = p(it, null), u = v(null), f = C(() => c?.liftedBlockId.value === i.block.id), m = C(() => f.value ? s(o.blockActions.dragLifted, { block: i.block.type }) : o.blockActions.drag);
2321
2321
  async function h() {
2322
2322
  await d(), u.value?.focus();
2323
2323
  }
@@ -2343,31 +2343,31 @@ var fi = [
2343
2343
  let _ = C(() => !i.viewport || !i.block.visibility ? !1 : i.block.visibility[i.viewport] === !1), y = C(() => i.previewMode === !0 && _.value), x = C(() => i.viewport ? {
2344
2344
  desktop: o.viewport.desktop,
2345
2345
  mobile: o.viewport.mobile
2346
- }[i.viewport] ?? i.viewport : ""), D = C(() => !!i.block.displayCondition), k = p(lt, null), A = p(ft, null), N = p(dt, {}), P = C(() => N.savedBlocks?.isPicking.value === !0), ee = C(() => !i.nested && N.savedBlocks?.isAvailable.value === !0 && N.savedBlocks?.canCreate.value === !0), I = C(() => i.isSelected && !P.value), R = C(() => N.comments?.getBlockCount(i.block.id) ?? 0), B = C(() => {
2347
- let e = ui(i.block), t = {
2346
+ }[i.viewport] ?? i.viewport : ""), D = C(() => !!i.block.displayCondition), A = p(lt, null), j = p(ft, null), N = p(dt, {}), P = C(() => N.savedBlocks?.isPicking.value === !0), ee = C(() => !i.nested && N.savedBlocks?.isAvailable.value === !0 && N.savedBlocks?.canCreate.value === !0), I = C(() => i.isSelected && !P.value), R = C(() => N.comments?.getBlockCount(i.block.id) ?? 0), B = C(() => {
2347
+ let e = li(i.block), t = {
2348
2348
  padding: e.padding,
2349
2349
  backgroundColor: e.backgroundColor
2350
2350
  };
2351
2351
  return e.borderRadius && (t.borderRadius = e.borderRadius), t;
2352
- }), te = C(() => di(i.block));
2352
+ }), te = C(() => ui(i.block));
2353
2353
  function ne(e) {
2354
2354
  i.previewMode || (e.target?.closest("a") && e.preventDefault(), e.stopPropagation(), a("select"));
2355
2355
  }
2356
2356
  function re() {
2357
- k?.deleteBlock(i.block.id);
2357
+ A?.deleteBlock(i.block.id);
2358
2358
  }
2359
2359
  function ie() {
2360
- k?.duplicateBlock(i.block);
2360
+ A?.duplicateBlock(i.block);
2361
2361
  }
2362
2362
  function ae() {
2363
2363
  N.savedBlocks?.startPicking(i.block.id);
2364
2364
  }
2365
2365
  function oe() {
2366
- A?.toggleBlock(i.block.id);
2366
+ j?.toggleBlock(i.block.id);
2367
2367
  }
2368
2368
  return (t, i) => y.value ? T("", !0) : (l(), w("div", {
2369
2369
  key: 0,
2370
- class: j(["tpl-block tpl:group tpl:relative tpl:cursor-pointer tpl:rounded-sm tpl:transition-shadow tpl:duration-150", {
2370
+ class: F(["tpl-block tpl:group tpl:relative tpl:cursor-pointer tpl:rounded-sm tpl:transition-shadow tpl:duration-150", {
2371
2371
  "tpl-block--selected": e.isSelected,
2372
2372
  "tpl-block--picked": e.picked,
2373
2373
  "tpl-block--idle": !e.isSelected && !e.picked,
@@ -2397,7 +2397,7 @@ var fi = [
2397
2397
  }, [z(E(Bt), {
2398
2398
  size: 14,
2399
2399
  "stroke-width": 1.5
2400
- })], 40, mi),
2400
+ })], 40, pi),
2401
2401
  M("button", {
2402
2402
  class: "tpl-block-action-btn tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-sm tpl:border-none tpl:transition-colors tpl:duration-150",
2403
2403
  "aria-label": E(o).blockActions.duplicate,
@@ -2406,7 +2406,7 @@ var fi = [
2406
2406
  }, [z(E(Nt), {
2407
2407
  size: 14,
2408
2408
  "stroke-width": 1.5
2409
- })], 8, hi),
2409
+ })], 8, mi),
2410
2410
  ee.value ? (l(), w("button", {
2411
2411
  key: 0,
2412
2412
  class: "tpl-block-action-btn tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-sm tpl:border-none tpl:transition-colors tpl:duration-150",
@@ -2416,7 +2416,7 @@ var fi = [
2416
2416
  }, [z(E(Mt), {
2417
2417
  size: 14,
2418
2418
  "stroke-width": 1.5
2419
- })], 8, gi)) : T("", !0),
2419
+ })], 8, hi)) : T("", !0),
2420
2420
  M("button", {
2421
2421
  class: "tpl-block-action-btn tpl-block-delete-btn tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-sm tpl:border-none tpl:transition-colors tpl:duration-150",
2422
2422
  "aria-label": E(o).blockActions.delete,
@@ -2425,13 +2425,13 @@ var fi = [
2425
2425
  }, [z(E(Rt), {
2426
2426
  size: 14,
2427
2427
  "stroke-width": 1.5
2428
- })], 8, _i)
2429
- ], 8, pi)) : T("", !0),
2430
- _.value ? (l(), w("div", vi, [M("span", yi, [z(E(It), {
2428
+ })], 8, gi)
2429
+ ], 8, fi)) : T("", !0),
2430
+ _.value ? (l(), w("div", _i, [M("span", vi, [z(E(It), {
2431
2431
  size: 12,
2432
2432
  "stroke-width": 1.5
2433
- }), L(" " + S(E(s)(E(o).blockActions.hiddenOnViewport, { viewport: x.value })), 1)])])) : T("", !0),
2434
- D.value && !_.value ? (l(), w("div", bi, [M("button", {
2433
+ }), L(" " + k(E(s)(E(o).blockActions.hiddenOnViewport, { viewport: x.value })), 1)])])) : T("", !0),
2434
+ D.value && !_.value ? (l(), w("div", yi, [M("button", {
2435
2435
  "data-testid": "condition-toggle",
2436
2436
  class: "tpl-condition-toggle tpl:flex tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:p-1 tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-chrome-bg-elevated)] tpl:text-[var(--tpl-primary)] tpl:border tpl:border-[var(--tpl-border)]",
2437
2437
  "aria-label": E(o).blockActions.conditionToggle,
@@ -2440,59 +2440,59 @@ var fi = [
2440
2440
  }, [z(E(qt), {
2441
2441
  size: 12,
2442
2442
  "stroke-width": 2
2443
- })], 8, xi)])) : T("", !0),
2444
- R.value > 0 && !_.value ? (l(), w("div", Si, [M("button", {
2443
+ })], 8, bi)])) : T("", !0),
2444
+ R.value > 0 && !_.value ? (l(), w("div", xi, [M("button", {
2445
2445
  class: "tpl-comment-indicator tpl:flex tpl:min-h-6 tpl:min-w-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:gap-0.5 tpl:rounded-full tpl:border-none tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-semibold tpl:transition-colors tpl:duration-150 tpl:bg-[var(--tpl-chrome-primary-light)] tpl:text-[var(--tpl-primary)]",
2446
2446
  "aria-label": E(s)(E(o).blockActions.comments, { count: String(R.value) }),
2447
2447
  onClick: i[0] ||= O((t) => E(N).comments?.openForBlock(e.block.id), ["stop"])
2448
2448
  }, [z(E(Wt), {
2449
2449
  size: 12,
2450
2450
  "stroke-width": 2.5
2451
- }), L(" " + S(R.value), 1)], 8, Ci)])) : T("", !0),
2451
+ }), L(" " + k(R.value), 1)], 8, Si)])) : T("", !0),
2452
2452
  te.value ? (l(), w("div", {
2453
2453
  key: 4,
2454
2454
  class: "tpl-section-wrapper",
2455
- style: F(te.value)
2455
+ style: S(te.value)
2456
2456
  }, [M("div", {
2457
2457
  class: "tpl-block-content",
2458
- style: F(B.value)
2458
+ style: S(B.value)
2459
2459
  }, [r(t.$slots, "default", {}, void 0, !0)], 4)], 4)) : (l(), w("div", {
2460
2460
  key: 5,
2461
2461
  class: "tpl-block-content",
2462
- style: F(B.value)
2462
+ style: S(B.value)
2463
2463
  }, [r(t.$slots, "default", {}, void 0, !0)], 4))
2464
- ], 10, fi));
2464
+ ], 10, di));
2465
2465
  }
2466
2466
  }), [["__scopeId", "data-v-8e4583ee"]]);
2467
2467
  //#endregion
2468
2468
  //#region src/utils/unwrapParagraph.ts
2469
- function Ti(e) {
2469
+ function wi(e) {
2470
2470
  let t = e.match(/^\s*<p\b[^>]*>([\s\S]*)<\/p>\s*$/);
2471
2471
  return !t || /<\/p>\s*<p\b/i.test(t[1]) ? e : t[1];
2472
2472
  }
2473
2473
  //#endregion
2474
2474
  //#region src/components/blocks/TitleBlock.vue
2475
- var Ei = /* @__PURE__ */ R({
2475
+ var Ti = /* @__PURE__ */ R({
2476
2476
  __name: "TitleBlock",
2477
2477
  props: {
2478
2478
  block: {},
2479
2479
  viewport: {}
2480
2480
  },
2481
2481
  setup(e) {
2482
- let t = e, n = b(() => import("./TitleEditor-DTrmublj.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: u } = ai(() => t.block.content), d = C(() => {
2482
+ let t = e, n = b(() => import("./TitleEditor-EkDchueW.js")), { isEditing: r, blockRef: i, toolbarPosition: a, resolvedContent: o, handleDoubleClick: s, handleEditorDone: u } = ii(() => t.block.content), d = C(() => {
2483
2483
  let e = {
2484
- fontSize: `${te[t.block.level]}px`,
2484
+ fontSize: `${Pe[t.block.level]}px`,
2485
2485
  textAlign: t.block.textAlign
2486
2486
  };
2487
2487
  return t.block.color && (e.color = t.block.color), t.block.fontFamily && (e.fontFamily = t.block.fontFamily), e;
2488
- }), f = C(() => `h${t.block.level}`), p = C(() => Ti(o.value));
2488
+ }), f = C(() => `h${t.block.level}`), p = C(() => wi(o.value));
2489
2489
  return (t, o) => (l(), w("div", {
2490
2490
  ref_key: "blockRef",
2491
2491
  ref: i,
2492
2492
  class: "tpl:min-h-[1em] tpl:w-full",
2493
- style: F(d.value),
2493
+ style: S(d.value),
2494
2494
  onDblclick: o[0] ||= (...e) => E(s) && E(s)(...e)
2495
- }, [E(r) ? (l(), k(E(n), {
2495
+ }, [E(r) ? (l(), A(E(n), {
2496
2496
  key: 0,
2497
2497
  block: e.block,
2498
2498
  "toolbar-position": E(a),
@@ -2501,7 +2501,7 @@ var Ei = /* @__PURE__ */ R({
2501
2501
  "block",
2502
2502
  "toolbar-position",
2503
2503
  "onDone"
2504
- ])) : (l(), k(c(f.value), {
2504
+ ])) : (l(), A(c(f.value), {
2505
2505
  key: 1,
2506
2506
  class: "tpl-text-content tpl:m-0 tpl:font-[inherit] tpl:text-[length:inherit] tpl:leading-tight tpl:outline-none [&_a]:tpl:underline [&_p]:tpl:m-0 [&_p]:tpl:mb-2 [&_p:last-child]:tpl:mb-0",
2507
2507
  style: { color: "inherit" },
@@ -2511,16 +2511,16 @@ var Ei = /* @__PURE__ */ R({
2511
2511
  });
2512
2512
  //#endregion
2513
2513
  //#region src/utils/sectionColumnDrop.ts
2514
- function Di(e) {
2514
+ function Ei(e) {
2515
2515
  return e.dataset.blockType !== "section" && e.dataset.paletteType !== "section";
2516
2516
  }
2517
2517
  //#endregion
2518
2518
  //#region src/components/blocks/SectionBlock.vue?vue&type=script&setup=true&lang.ts
2519
- var Oi = { class: "tpl:w-full" }, ki = {
2519
+ var Di = { class: "tpl:w-full" }, Oi = {
2520
2520
  key: 0,
2521
2521
  "data-testid": "section-drop-hint",
2522
2522
  class: "tpl:pointer-events-none tpl:absolute tpl:inset-0 tpl:flex tpl:items-center tpl:justify-center tpl:text-xs tpl:text-[var(--tpl-chrome-text-dim)]"
2523
- }, Ai = /* @__PURE__ */ R({
2523
+ }, ki = /* @__PURE__ */ R({
2524
2524
  __name: "SectionBlock",
2525
2525
  props: {
2526
2526
  block: {},
@@ -2528,12 +2528,12 @@ var Oi = { class: "tpl:w-full" }, ki = {
2528
2528
  },
2529
2529
  setup(e) {
2530
2530
  let t = {
2531
- title: Ei,
2532
- paragraph: si,
2533
- image: Jr,
2534
- button: Jn,
2535
- divider: Or,
2536
- custom: Er
2531
+ title: Ti,
2532
+ paragraph: oi,
2533
+ image: qr,
2534
+ button: qn,
2535
+ divider: Dr,
2536
+ custom: Tr
2537
2537
  }, n = e, { t: r } = q(), i = Xe(K, "SectionBlock"), o = p(ft, null), s = p(xt, null), u = p(dt, {}), d = p(bt, null);
2538
2538
  function m(e) {
2539
2539
  let t = u.savedBlocks;
@@ -2569,7 +2569,7 @@ var Oi = { class: "tpl:w-full" }, ki = {
2569
2569
  a[e] = r, i.updateBlock(n.block.id, { children: a });
2570
2570
  }
2571
2571
  function x(e) {
2572
- return li(e, s, t);
2572
+ return ci(e, s, t);
2573
2573
  }
2574
2574
  function D(e, t) {
2575
2575
  e.type === "custom" && i.updateBlock(e.id, {
@@ -2577,16 +2577,16 @@ var Oi = { class: "tpl:w-full" }, ki = {
2577
2577
  dataSourceFetched: t.dataSourceFetched
2578
2578
  });
2579
2579
  }
2580
- return (t, n) => (l(), w("div", Oi, [M("div", { class: j(["tpl:flex tpl:gap-0", { "tpl:flex-col": v.value }]) }, [(l(!0), w(I, null, f(_.value, (t, n) => (l(), w("div", {
2580
+ return (t, n) => (l(), w("div", Di, [M("div", { class: F(["tpl:flex tpl:gap-0", { "tpl:flex-col": v.value }]) }, [(l(!0), w(I, null, f(_.value, (t, n) => (l(), w("div", {
2581
2581
  key: n,
2582
- class: j(["tpl:relative tpl:min-h-[60px] tpl:rounded", y(n).length === 0 ? "tpl:border tpl:border-dashed tpl:border-[var(--tpl-border)]" : ""]),
2583
- style: F({ width: v.value ? "100%" : g.value[n] })
2582
+ class: F(["tpl:relative tpl:min-h-[60px] tpl:rounded", y(n).length === 0 ? "tpl:border tpl:border-dashed tpl:border-[var(--tpl-border)]" : ""]),
2583
+ style: S({ width: v.value ? "100%" : g.value[n] })
2584
2584
  }, [z(E(ee), {
2585
2585
  "model-value": y(n),
2586
2586
  group: {
2587
2587
  name: "blocks",
2588
2588
  pull: !0,
2589
- put: (e, t, n) => E(Di)(n)
2589
+ put: (e, t, n) => E(Ei)(n)
2590
2590
  },
2591
2591
  animation: 150,
2592
2592
  "ghost-class": "tpl-ghost",
@@ -2599,7 +2599,7 @@ var Oi = { class: "tpl:w-full" }, ki = {
2599
2599
  class: "tpl:min-h-[60px]",
2600
2600
  "onUpdate:modelValue": (e) => b(n, e)
2601
2601
  }, {
2602
- default: h(() => [(l(!0), w(I, null, f(y(n), (t) => a((l(), w("div", { key: t.id }, [z(wi, {
2602
+ default: h(() => [(l(!0), w(I, null, f(y(n), (t) => a((l(), w("div", { key: t.id }, [z(Ci, {
2603
2603
  block: t,
2604
2604
  "is-selected": E(i).state.selectedBlockId === t.id,
2605
2605
  viewport: e.viewport,
@@ -2607,7 +2607,7 @@ var Oi = { class: "tpl:w-full" }, ki = {
2607
2607
  nested: "",
2608
2608
  onSelect: (e) => m(t.id)
2609
2609
  }, {
2610
- default: h(() => [(l(), k(c(x(t)), {
2610
+ default: h(() => [(l(), A(c(x(t)), {
2611
2611
  block: t,
2612
2612
  viewport: e.viewport,
2613
2613
  onFetchData: (e) => D(t, e),
@@ -2631,13 +2631,13 @@ var Oi = { class: "tpl:w-full" }, ki = {
2631
2631
  "model-value",
2632
2632
  "group",
2633
2633
  "onUpdate:modelValue"
2634
- ]), y(n).length === 0 ? (l(), w("div", ki, [M("span", null, S(E(r).section.dropHere), 1)])) : T("", !0)], 6))), 128))], 2)]));
2634
+ ]), y(n).length === 0 ? (l(), w("div", Oi, [M("span", null, k(E(r).section.dropHere), 1)])) : T("", !0)], 6))), 128))], 2)]));
2635
2635
  }
2636
- }), ji = pe, Mi = {
2636
+ }), Ai = be, ji = {
2637
2637
  small: 24,
2638
2638
  medium: 32,
2639
2639
  large: 48
2640
- }, Ni = [
2640
+ }, Mi = [
2641
2641
  "facebook",
2642
2642
  "twitter",
2643
2643
  "instagram",
@@ -2655,11 +2655,11 @@ var Oi = { class: "tpl:w-full" }, ki = {
2655
2655
  "github",
2656
2656
  "dribbble",
2657
2657
  "behance"
2658
- ], Pi = [
2658
+ ], Ni = [
2659
2659
  "width",
2660
2660
  "height",
2661
2661
  "fill"
2662
- ], Fi = ["d"], Ii = /* @__PURE__ */ R({
2662
+ ], Pi = ["d"], Fi = /* @__PURE__ */ R({
2663
2663
  __name: "SocialIconSvg",
2664
2664
  props: {
2665
2665
  platform: {},
@@ -2667,7 +2667,7 @@ var Oi = { class: "tpl:w-full" }, ki = {
2667
2667
  iconSize: {}
2668
2668
  },
2669
2669
  setup(e) {
2670
- let t = e, n = C(() => ji[t.platform]), r = C(() => Mi[t.iconSize]), i = C(() => {
2670
+ let t = e, n = C(() => Ai[t.platform]), r = C(() => ji[t.iconSize]), i = C(() => {
2671
2671
  let e = {
2672
2672
  display: "inline-flex",
2673
2673
  alignItems: "center",
@@ -2705,18 +2705,18 @@ var Oi = { class: "tpl:w-full" }, ki = {
2705
2705
  default: return e;
2706
2706
  }
2707
2707
  }), a = C(() => Math.floor(r.value * .6)), o = C(() => t.iconStyle === "outlined" ? n.value.color : "#ffffff");
2708
- return (e, t) => (l(), w("span", { style: F(i.value) }, [(l(), w("svg", {
2708
+ return (e, t) => (l(), w("span", { style: S(i.value) }, [(l(), w("svg", {
2709
2709
  width: a.value,
2710
2710
  height: a.value,
2711
2711
  viewBox: "0 0 24 24",
2712
2712
  fill: o.value,
2713
2713
  xmlns: "http://www.w3.org/2000/svg"
2714
- }, [M("path", { d: n.value.path }, null, 8, Fi)], 8, Pi))], 4));
2714
+ }, [M("path", { d: n.value.path }, null, 8, Pi)], 8, Ni))], 4));
2715
2715
  }
2716
- }), Li = { class: "tpl:w-full" }, Ri = ["href"], zi = {
2716
+ }), Ii = { class: "tpl:w-full" }, Li = ["href"], Ri = {
2717
2717
  key: 1,
2718
2718
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:text-sm tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text-dim)]"
2719
- }, Bi = /* @__PURE__ */ R({
2719
+ }, zi = /* @__PURE__ */ R({
2720
2720
  __name: "SocialIconsBlock",
2721
2721
  props: {
2722
2722
  block: {},
@@ -2729,15 +2729,15 @@ var Oi = { class: "tpl:w-full" }, ki = {
2729
2729
  gap: `${t.block.spacing}px`,
2730
2730
  justifyContent: t.block.align === "left" ? "flex-start" : t.block.align === "right" ? "flex-end" : "center"
2731
2731
  })), i = C(() => t.block.icons.length > 0);
2732
- return (t, a) => (l(), w("div", Li, [i.value ? (l(), w("div", {
2732
+ return (t, a) => (l(), w("div", Ii, [i.value ? (l(), w("div", {
2733
2733
  key: 0,
2734
- style: F(r.value)
2734
+ style: S(r.value)
2735
2735
  }, [(l(!0), w(I, null, f(e.block.icons, (t) => (l(), w("a", {
2736
2736
  key: t.id,
2737
2737
  href: t.url || "#",
2738
2738
  class: "tpl:cursor-default",
2739
2739
  onClick: a[0] ||= O(() => {}, ["prevent"])
2740
- }, [z(Ii, {
2740
+ }, [z(Fi, {
2741
2741
  platform: t.platform,
2742
2742
  "icon-style": e.block.iconStyle,
2743
2743
  "icon-size": e.block.iconSize
@@ -2745,16 +2745,16 @@ var Oi = { class: "tpl:w-full" }, ki = {
2745
2745
  "platform",
2746
2746
  "icon-style",
2747
2747
  "icon-size"
2748
- ])], 8, Ri))), 128))], 4)) : (l(), w("div", zi, [z(E(jt), { size: 16 }), M("span", null, S(E(n).social.addIcons), 1)]))]));
2748
+ ])], 8, Li))), 128))], 4)) : (l(), w("div", Ri, [z(E(jt), { size: 16 }), M("span", null, k(E(n).social.addIcons), 1)]))]));
2749
2749
  }
2750
- }), Vi = { class: "tpl:w-full" }, Hi = {
2750
+ }), Bi = { class: "tpl:w-full" }, Vi = {
2751
2751
  key: 0,
2752
2752
  class: "tpl:absolute tpl:rounded tpl:px-2 tpl:py-0.5 tpl:text-[10px] tpl:font-medium",
2753
2753
  style: {
2754
2754
  "background-color": "var(--tpl-bg-hover)",
2755
2755
  color: "var(--tpl-text-dim)"
2756
2756
  }
2757
- }, Ui = /* @__PURE__ */ R({
2757
+ }, Hi = /* @__PURE__ */ R({
2758
2758
  __name: "SpacerBlock",
2759
2759
  props: {
2760
2760
  block: {},
@@ -2766,23 +2766,23 @@ var Oi = { class: "tpl:w-full" }, ki = {
2766
2766
  minHeight: `${t.block.height}px`,
2767
2767
  ...n.state.previewMode ? {} : { borderColor: "var(--tpl-border)" }
2768
2768
  }));
2769
- return (t, i) => (l(), w("div", Vi, [M("div", {
2770
- style: F(r.value),
2771
- class: j(["tpl:relative tpl:flex tpl:items-center tpl:justify-center", { "tpl:border-y tpl:border-dashed": !E(n).state.previewMode }])
2772
- }, [E(n).state.previewMode ? T("", !0) : (l(), w("span", Hi, S(e.block.height) + "px ", 1))], 6)]));
2769
+ return (t, i) => (l(), w("div", Bi, [M("div", {
2770
+ style: S(r.value),
2771
+ class: F(["tpl:relative tpl:flex tpl:items-center tpl:justify-center", { "tpl:border-y tpl:border-dashed": !E(n).state.previewMode }])
2772
+ }, [E(n).state.previewMode ? T("", !0) : (l(), w("span", Vi, k(e.block.height) + "px ", 1))], 6)]));
2773
2773
  }
2774
- }), Wi = { class: "tpl:w-full" }, Gi = { key: 0 }, Ki = [
2774
+ }), Ui = { class: "tpl:w-full" }, Wi = { key: 0 }, Gi = [
2775
2775
  "aria-label",
2776
2776
  "data-placeholder",
2777
2777
  "onBlur"
2778
- ], qi = [
2778
+ ], Ki = [
2779
2779
  "aria-label",
2780
2780
  "data-placeholder",
2781
2781
  "onBlur"
2782
- ], Ji = {
2782
+ ], qi = {
2783
2783
  key: 1,
2784
2784
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border tpl:border-dashed tpl:py-4 tpl:text-sm tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text-dim)]"
2785
- }, Yi = /*#__PURE__*/ Xt(/* @__PURE__ */ R({
2785
+ }, Ji = /*#__PURE__*/ Xt(/* @__PURE__ */ R({
2786
2786
  __name: "TableBlock",
2787
2787
  props: {
2788
2788
  block: {},
@@ -2827,38 +2827,38 @@ var Oi = { class: "tpl:w-full" }, ki = {
2827
2827
  } : n);
2828
2828
  i.updateBlock(n.block.id, { rows: o });
2829
2829
  }
2830
- return (e, n) => (l(), w("div", Wi, [o.value ? (l(), w("table", {
2830
+ return (e, n) => (l(), w("div", Ui, [o.value ? (l(), w("table", {
2831
2831
  key: 0,
2832
- style: F(s.value),
2832
+ style: S(s.value),
2833
2833
  class: "tpl-table-editable"
2834
- }, [d.value ? (l(), w("thead", Gi, [M("tr", null, [(l(!0), w(I, null, f(d.value.cells, (e) => a((l(), w("th", {
2834
+ }, [d.value ? (l(), w("thead", Wi, [M("tr", null, [(l(!0), w(I, null, f(d.value.cells, (e) => a((l(), w("th", {
2835
2835
  key: e.id,
2836
- style: F(u.value),
2836
+ style: S(u.value),
2837
2837
  "aria-label": E(r).table.cellPlaceholder,
2838
2838
  contenteditable: "true",
2839
2839
  "data-placeholder": E(r).table.cellPlaceholder,
2840
2840
  onBlur: (t) => h(d.value.id, e.id, t),
2841
2841
  onKeydown: n[0] ||= x(O((e) => e.target.blur(), ["prevent"]), ["enter"]),
2842
2842
  onClick: O(m, ["stop"])
2843
- }, null, 44, Ki)), [[t, e.content]])), 128))])])) : T("", !0), M("tbody", null, [(l(!0), w(I, null, f(p.value, (e) => (l(), w("tr", { key: e.id }, [(l(!0), w(I, null, f(e.cells, (i) => a((l(), w("td", {
2843
+ }, null, 44, Gi)), [[t, e.content]])), 128))])])) : T("", !0), M("tbody", null, [(l(!0), w(I, null, f(p.value, (e) => (l(), w("tr", { key: e.id }, [(l(!0), w(I, null, f(e.cells, (i) => a((l(), w("td", {
2844
2844
  key: i.id,
2845
- style: F(c.value),
2845
+ style: S(c.value),
2846
2846
  "aria-label": E(r).table.cellPlaceholder,
2847
2847
  contenteditable: "true",
2848
2848
  "data-placeholder": E(r).table.cellPlaceholder,
2849
2849
  onBlur: (t) => h(e.id, i.id, t),
2850
2850
  onKeydown: n[1] ||= x(O((e) => e.target.blur(), ["prevent"]), ["enter"]),
2851
2851
  onClick: O(m, ["stop"])
2852
- }, null, 44, qi)), [[t, i.content]])), 128))]))), 128))])], 4)) : (l(), w("div", Ji, [z(E(Kt), { size: 16 }), M("span", null, S(E(r).table.empty), 1)]))]));
2852
+ }, null, 44, Ki)), [[t, i.content]])), 128))]))), 128))])], 4)) : (l(), w("div", qi, [z(E(Kt), { size: 16 }), M("span", null, k(E(r).table.empty), 1)]))]));
2853
2853
  }
2854
- }), [["__scopeId", "data-v-963ac422"]]), Xi = /* @__PURE__ */ R({
2854
+ }), [["__scopeId", "data-v-963ac422"]]), Yi = /* @__PURE__ */ R({
2855
2855
  __name: "VideoPlayButton",
2856
2856
  props: { hoverEffect: {
2857
2857
  type: Boolean,
2858
2858
  default: !1
2859
2859
  } },
2860
2860
  setup(e) {
2861
- return (t, n) => (l(), w("div", { class: j(["tpl:absolute tpl:inset-0 tpl:flex tpl:items-center tpl:justify-center tpl:bg-black/30", e.hoverEffect && "tpl:transition-opacity tpl:group-hover:bg-black/40"]) }, [...n[0] ||= [M("div", { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-white/90 tpl:shadow-lg" }, [M("svg", {
2861
+ return (t, n) => (l(), w("div", { class: F(["tpl:absolute tpl:inset-0 tpl:flex tpl:items-center tpl:justify-center tpl:bg-black/30", e.hoverEffect && "tpl:transition-opacity tpl:group-hover:bg-black/40"]) }, [...n[0] ||= [M("div", { class: "tpl:flex tpl:size-16 tpl:items-center tpl:justify-center tpl:rounded-full tpl:bg-white/90 tpl:shadow-lg" }, [M("svg", {
2862
2862
  class: "tpl:ml-1 tpl:text-[var(--tpl-danger)]",
2863
2863
  width: "28",
2864
2864
  height: "28",
@@ -2869,7 +2869,7 @@ var Oi = { class: "tpl:w-full" }, ki = {
2869
2869
  });
2870
2870
  //#endregion
2871
2871
  //#region src/utils/videoThumbnail.ts
2872
- function Zi(e) {
2872
+ function Xi(e) {
2873
2873
  if (!e) return {
2874
2874
  platform: "unknown",
2875
2875
  videoId: null,
@@ -2901,25 +2901,25 @@ function Zi(e) {
2901
2901
  thumbnailUrl: null
2902
2902
  };
2903
2903
  }
2904
- function Qi(e, t) {
2905
- return t || Zi(e).thumbnailUrl;
2904
+ function Zi(e, t) {
2905
+ return t || Xi(e).thumbnailUrl;
2906
2906
  }
2907
2907
  //#endregion
2908
2908
  //#region src/components/blocks/VideoBlock.vue?vue&type=script&setup=true&lang.ts
2909
- var $i = ["src", "alt"], ea = {
2909
+ var Qi = ["src", "alt"], $i = {
2910
2910
  class: "tpl:max-w-full tpl:truncate tpl:px-3 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-primary)]",
2911
2911
  style: { opacity: "0.7" }
2912
- }, ta = ["href"], na = ["src", "alt"], ra = ["src", "alt"], ia = {
2912
+ }, ea = ["href"], ta = ["src", "alt"], na = ["src", "alt"], ra = {
2913
2913
  key: 3,
2914
2914
  class: "tpl:flex tpl:min-h-[150px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-sm tpl:border-[var(--tpl-border-light)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-dim)]"
2915
- }, aa = /* @__PURE__ */ R({
2915
+ }, ia = /* @__PURE__ */ R({
2916
2916
  __name: "VideoBlock",
2917
2917
  props: {
2918
2918
  block: {},
2919
2919
  viewport: {}
2920
2920
  },
2921
2921
  setup(e) {
2922
- let t = e, { t: n } = q(), { syntax: r } = Y(), i = C(() => H(t.block.url, r) || H(t.block.thumbnailUrl, r)), a = Q(() => i.value ? void 0 : t.block.thumbnailUrl || void 0), o = Q(() => i.value ? t.block.placeholderUrl : void 0), s = C(() => i.value ? null : t.block.thumbnailUrl ? a.value ?? null : Qi(t.block.url)), c = C(() => ({ textAlign: t.block.align })), u = C(() => {
2922
+ let t = e, { t: n } = q(), { syntax: r } = Y(), i = C(() => H(t.block.url, r) || H(t.block.thumbnailUrl, r)), a = Q(() => i.value ? void 0 : t.block.thumbnailUrl || void 0), o = Q(() => i.value ? t.block.placeholderUrl : void 0), s = C(() => i.value ? null : t.block.thumbnailUrl ? a.value ?? null : Zi(t.block.url)), c = C(() => ({ textAlign: t.block.align })), u = C(() => {
2923
2923
  let e = t.block.align;
2924
2924
  return {
2925
2925
  maxWidth: "100%",
@@ -2931,66 +2931,66 @@ var $i = ["src", "alt"], ea = {
2931
2931
  }), d = C(() => H(t.block.url, r) ? t.block.url : t.block.thumbnailUrl);
2932
2932
  return (t, r) => (l(), w("div", {
2933
2933
  class: "tpl:w-full",
2934
- style: F(c.value)
2934
+ style: S(c.value)
2935
2935
  }, [i.value && e.block.placeholderUrl ? (l(), w("div", {
2936
2936
  key: 0,
2937
2937
  class: "tpl:relative tpl:inline-block",
2938
- style: F(u.value)
2938
+ style: S(u.value)
2939
2939
  }, [M("img", {
2940
2940
  class: "tpl:w-full tpl:border-0",
2941
2941
  src: E(o),
2942
2942
  alt: e.block.alt
2943
- }, null, 8, $i), z(Xi)], 4)) : i.value ? (l(), w("div", {
2943
+ }, null, 8, Qi), z(Yi)], 4)) : i.value ? (l(), w("div", {
2944
2944
  key: 1,
2945
2945
  class: "tpl:relative tpl:!flex tpl:min-h-[150px] tpl:flex-col tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded tpl:border-2 tpl:border-dashed tpl:text-center tpl:bg-[var(--tpl-bg-elevated)]",
2946
- style: F([{ "border-color": "color-mix(in srgb, var(--tpl-primary) 40%, transparent)" }, u.value])
2946
+ style: S([{ "border-color": "color-mix(in srgb, var(--tpl-primary) 40%, transparent)" }, u.value])
2947
2947
  }, [z(E(Ht), {
2948
2948
  size: 36,
2949
2949
  "stroke-width": 1.5,
2950
2950
  class: "tpl:text-[var(--tpl-primary)]",
2951
2951
  style: { opacity: "0.5" }
2952
- }), M("span", ea, [z(Gn, { text: d.value }, null, 8, ["text"])])], 4)) : s.value ? (l(), w(I, { key: 2 }, [e.block.url ? (l(), w("a", {
2952
+ }), M("span", $i, [z(Gn, { text: d.value }, null, 8, ["text"])])], 4)) : s.value ? (l(), w(I, { key: 2 }, [e.block.url ? (l(), w("a", {
2953
2953
  key: 0,
2954
2954
  href: e.block.url,
2955
2955
  target: "_blank",
2956
2956
  rel: "noopener noreferrer",
2957
2957
  class: "tpl:group tpl:relative tpl:inline-block",
2958
- style: F(u.value),
2958
+ style: S(u.value),
2959
2959
  onClick: r[0] ||= O(() => {}, ["prevent"])
2960
2960
  }, [M("img", {
2961
2961
  class: "tpl:w-full tpl:border-0",
2962
2962
  src: s.value,
2963
2963
  alt: e.block.alt
2964
- }, null, 8, na), z(Xi, { "hover-effect": "" })], 12, ta)) : (l(), w("div", {
2964
+ }, null, 8, ta), z(Yi, { "hover-effect": "" })], 12, ea)) : (l(), w("div", {
2965
2965
  key: 1,
2966
2966
  class: "tpl:relative tpl:inline-block",
2967
- style: F(u.value)
2967
+ style: S(u.value)
2968
2968
  }, [M("img", {
2969
2969
  class: "tpl:w-full tpl:border-0",
2970
2970
  src: s.value,
2971
2971
  alt: e.block.alt
2972
- }, null, 8, ra), z(Xi)], 4))], 64)) : (l(), w("div", ia, [z(E(Ht), {
2972
+ }, null, 8, na), z(Yi)], 4))], 64)) : (l(), w("div", ra, [z(E(Ht), {
2973
2973
  size: 40,
2974
2974
  "stroke-width": 1.5,
2975
2975
  class: "tpl:text-[var(--tpl-border-light)]"
2976
- }), M("span", null, S(E(n).video.addVideo), 1)]))], 4));
2977
- }
2978
- }), oa = {
2979
- section: Ai,
2980
- title: Ei,
2981
- paragraph: si,
2982
- image: Jr,
2983
- button: Jn,
2984
- divider: Or,
2985
- video: aa,
2986
- social: Bi,
2987
- menu: Qr,
2988
- table: Yi,
2989
- spacer: Ui,
2990
- html: Pr,
2991
- countdown: b(() => import("./CountdownBlock-BTpRd0Hn.js"))
2976
+ }), M("span", null, k(E(n).video.addVideo), 1)]))], 4));
2977
+ }
2978
+ }), aa = {
2979
+ section: ki,
2980
+ title: Ti,
2981
+ paragraph: oi,
2982
+ image: qr,
2983
+ button: qn,
2984
+ divider: Dr,
2985
+ video: ia,
2986
+ social: zi,
2987
+ menu: Zr,
2988
+ table: Ji,
2989
+ spacer: Hi,
2990
+ html: Nr,
2991
+ countdown: b(() => import("./CountdownBlock-vLTkTI9e.js"))
2992
2992
  };
2993
- function sa(e) {
2993
+ function oa(e) {
2994
2994
  let { editor: t, config: n, translations: r, fontsManager: a } = e, { t: s, format: c } = q(r);
2995
2995
  t.setUiTheme(n.uiTheme ?? "auto");
2996
2996
  let { resolvedTheme: l } = En(C(() => t.state.uiTheme)), d = v(n.theme ?? {}), { themeStyles: f } = On({
@@ -3027,11 +3027,11 @@ function sa(e) {
3027
3027
  e.length > 0 && $.warn(`config.colors locks custom colours, but these block/template default colours fall outside colors.presets: ${e.join(", ")}. New blocks start on a colour the palette can't reselect — set blockDefaults / templateDefaults from the same palette.`);
3028
3028
  }
3029
3029
  let x = jn();
3030
- In(x, oa);
3030
+ In(x, aa);
3031
3031
  let S = /* @__PURE__ */ new Set();
3032
3032
  function w(e) {
3033
3033
  for (let t of e) {
3034
- x.registerCustom(t, Er);
3034
+ x.registerCustom(t, Tr);
3035
3035
  for (let e of Vn(t, b)) S.has(e.id) || (S.add(e.id), $.warn(e.message));
3036
3036
  }
3037
3037
  }
@@ -3062,7 +3062,7 @@ function sa(e) {
3062
3062
  u(ct, e.editorRoot ?? document), u(Ye, D), u(Ze, r), u(K, t), u(Et, p), u(lt, m), u(ft, h), u(Ct, a), u(st, f), u(ot, l), u(vt, n.blockDefaults), u(xt, x), u(yt, n.customBlocks ?? []), u(rt, n.paletteBlocks), u(ut, Ln(n.htmlBlockPreview)), u(St, b), u(gt, Mn(t.content, x));
3063
3063
  let O = Ce(n.mergeTags?.syntax);
3064
3064
  u(W, n.mergeTags?.tags ?? []), u(Ge, O), u(tt, n.mergeTags?.onRequest ?? null), u(Je, n.mergeTags?.autocomplete !== !1);
3065
- let k = v(Pe(n.mergeTags?.tags ?? []));
3065
+ let k = v(Fe(n.mergeTags?.tags ?? []));
3066
3066
  u(ht, k);
3067
3067
  let A = _n({
3068
3068
  resolvePreview: n.resolvePreview,
@@ -3107,6 +3107,6 @@ function sa(e) {
3107
3107
  };
3108
3108
  }
3109
3109
  //#endregion
3110
- export { Bn as A, cr as C, er as D, tr as E, pn as F, dn as I, ln as L, wn as M, Cn as N, Zn as O, _n as P, $t as R, pr as S, nr as T, Pr as _, Bi as a, _r as b, Ei as c, ci as d, li as f, Ir as g, Jr as h, Ui as i, $ as j, Jn as k, wi as l, Qr as m, aa as n, Ni as o, si as p, Yi as r, Ai as s, sa as t, ui as u, Or as v, sr as w, hr as x, Er as y };
3110
+ export { Bn as A, sr as C, $n as D, er as E, pn as F, dn as I, ln as L, wn as M, Cn as N, Xn as O, _n as P, $t as R, fr as S, tr as T, Nr as _, zi as a, gr as b, Ti as c, si as d, ci as f, Fr as g, qr as h, Hi as i, $ as j, qn as k, Ci as l, Zr as m, ia as n, Mi as o, oi as p, Ji as r, ki as s, oa as t, li as u, Dr as v, or as w, mr as x, Tr as y };
3111
3111
 
3112
- //# sourceMappingURL=useEditorCore-BMXBmdd8.js.map
3112
+ //# sourceMappingURL=useEditorCore-fyFmWS3D.js.map