@templatical/editor 0.54.2 → 0.55.0

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 (168) hide show
  1. package/dist/{AiAltTextPopover-BBKVJ6HA.js → AiAltTextPopover-D5QosKvB.js} +1 -1
  2. package/dist/{AiAltTextReview-BuVbeQh-.js → AiAltTextReview-D1W_lrI_.js} +1 -1
  3. package/dist/{AiRewriteMenu-ZpYJfm-O.js → AiRewriteMenu-BwztoMov.js} +4 -4
  4. package/dist/{BlockPreviewCanvas-DtOo5y3U.js → BlockPreviewCanvas-C23A6FRm.js} +4 -4
  5. package/dist/{CloudPanels-DQRWMc59.js → CloudPanels-Baoaj6Xf.js} +1 -1
  6. package/dist/{CountdownToolbar-DTpMEDyh.js → CountdownToolbar-CA_gDIdZ.js} +4 -4
  7. package/dist/{IssuesPanel-BZn7-p9e.js → IssuesPanel-nmFhWG1p.js} +1 -1
  8. package/dist/{LanguageMenu-OOmQWVzO.js → LanguageMenu-DcABUYop.js} +3 -3
  9. package/dist/{LogicTagInsertButton-XESwnJia.js → LogicTagInsertButton-qZ82VMFx.js} +284 -279
  10. package/dist/{MergeTagInput-CAsBRoSm.js → MergeTagInput-JJeZbFkD.js} +1 -1
  11. package/dist/{MergeTagModeToggle-bOf27Hg1.js → MergeTagModeToggle-DDucd1eC.js} +1 -1
  12. package/dist/{MergeTagTextarea-DH_6JFui.js → MergeTagTextarea-dQ2LRrNB.js} +2 -2
  13. package/dist/{ParagraphEditor-XGUkV5Uw.js → ParagraphEditor-VXYwGoz_.js} +8 -8
  14. package/dist/{RestoreVersionDialog-C72kWccI.js → RestoreVersionDialog-BibNvAaJ.js} +1 -1
  15. package/dist/{RichTextEditorContent-BZN8KRvR.js → RichTextEditorContent-CU5EOlM_.js} +2 -2
  16. package/dist/{SaveBlockDialog-CKOnTMTU.js → SaveBlockDialog-S9aFi0cy.js} +4 -4
  17. package/dist/{SavedBlocksBrowserModal-BrlNxqDH.js → SavedBlocksBrowserModal-DIdn6B0J.js} +4 -4
  18. package/dist/{SavedBlocksPanels--lPR6gdh.js → SavedBlocksPanels-Cme2M6u8.js} +1 -1
  19. package/dist/{SavedBlocksPickBar-4ON4_KKl.js → SavedBlocksPickBar-BDmA7r3m.js} +1 -1
  20. package/dist/{TemplateSettings-BE0jZmRJ.js → TemplateSettings-C_LHLm5M.js} +4 -4
  21. package/dist/{TestEmailModal-BKmNGrZN.js → TestEmailModal-CLIRn7eL.js} +5 -5
  22. package/dist/{TestEmailPanel-DT1wllX3.js → TestEmailPanel-frdtjC8h.js} +1 -1
  23. package/dist/{TitleEditor-HjVZuUTB.js → TitleEditor-D5kC56Jl.js} +4 -4
  24. package/dist/{Toolbar-BppchV2k.js → Toolbar-D904Yw_R.js} +551 -503
  25. package/dist/{TplModal-BFWOoK8l.js → TplModal-BBdotDf1.js} +1 -1
  26. package/dist/{VersionHistoryPanels-D4yNVLvq.js → VersionHistoryPanels-DhagEgOk.js} +1 -1
  27. package/dist/{WrapperBlock-BUzQTZuu.js → WrapperBlock-BAT3T0Cz.js} +3 -3
  28. package/dist/{blockTypeIcons-D91v9k0x.js → blockTypeIcons-CoRQV_hP.js} +1 -1
  29. package/dist/bundle-stats.json +6 -6
  30. package/dist/{cdn/chunks/ca-DOuIxWRv.js → ca-DIkMxYCN.js} +10 -3
  31. package/dist/cdn/chunks/{AiAltTextPopover-CAI18sdv.js → AiAltTextPopover-CUGOPuRo.js} +2 -2
  32. package/dist/cdn/chunks/{AiAltTextPopover-CAI18sdv.js.map → AiAltTextPopover-CUGOPuRo.js.map} +1 -1
  33. package/dist/cdn/chunks/{AiAltTextReview-CWEyMOF-.js → AiAltTextReview-B9vm_L-8.js} +2 -2
  34. package/dist/cdn/chunks/{AiAltTextReview-CWEyMOF-.js.map → AiAltTextReview-B9vm_L-8.js.map} +1 -1
  35. package/dist/cdn/chunks/{AiRewriteMenu-BEepu1vo.js → AiRewriteMenu-BvV_7tNZ.js} +7 -7
  36. package/dist/cdn/chunks/{AiRewriteMenu-BEepu1vo.js.map → AiRewriteMenu-BvV_7tNZ.js.map} +1 -1
  37. package/dist/cdn/chunks/{BlockPreviewCanvas-B6ndvof2.js → BlockPreviewCanvas-Dr-xGq6v.js} +7 -7
  38. package/dist/cdn/chunks/{BlockPreviewCanvas-B6ndvof2.js.map → BlockPreviewCanvas-Dr-xGq6v.js.map} +1 -1
  39. package/dist/cdn/chunks/{CloudPanels-BGwDb0jB.js → CloudPanels-CQ0vNgsH.js} +2 -2
  40. package/dist/cdn/chunks/{CloudPanels-BGwDb0jB.js.map → CloudPanels-CQ0vNgsH.js.map} +1 -1
  41. package/dist/cdn/chunks/{CountdownToolbar-B-0FsTj-.js → CountdownToolbar-BxW-J7DX.js} +5 -5
  42. package/dist/cdn/chunks/{CountdownToolbar-B-0FsTj-.js.map → CountdownToolbar-BxW-J7DX.js.map} +1 -1
  43. package/dist/cdn/chunks/{IssuesPanel-LyjMBDok.js → IssuesPanel-BoHeIjvw.js} +3 -3
  44. package/dist/cdn/chunks/{IssuesPanel-LyjMBDok.js.map → IssuesPanel-BoHeIjvw.js.map} +1 -1
  45. package/dist/cdn/chunks/{LanguageMenu-CGwMCOQ5.js → LanguageMenu-BnYN5N1h.js} +7 -7
  46. package/dist/cdn/chunks/{LanguageMenu-CGwMCOQ5.js.map → LanguageMenu-BnYN5N1h.js.map} +1 -1
  47. package/dist/cdn/chunks/{LogicTagInsertButton-PDKuo2J3.js → LogicTagInsertButton-Bt2PXbQ0.js} +255 -250
  48. package/dist/cdn/chunks/LogicTagInsertButton-Bt2PXbQ0.js.map +1 -0
  49. package/dist/cdn/chunks/{MergeTagInput-DoQHBJk2.js → MergeTagInput-BELdMRni.js} +2 -2
  50. package/dist/cdn/chunks/{MergeTagInput-DoQHBJk2.js.map → MergeTagInput-BELdMRni.js.map} +1 -1
  51. package/dist/cdn/chunks/{MergeTagModeToggle-Ct5IG4VW.js → MergeTagModeToggle-DKfMDIEF.js} +2 -2
  52. package/dist/cdn/chunks/{MergeTagModeToggle-Ct5IG4VW.js.map → MergeTagModeToggle-DKfMDIEF.js.map} +1 -1
  53. package/dist/cdn/chunks/{MergeTagTextarea-BMsnjphR.js → MergeTagTextarea-w6xen3Xh.js} +5 -5
  54. package/dist/cdn/chunks/{MergeTagTextarea-BMsnjphR.js.map → MergeTagTextarea-w6xen3Xh.js.map} +1 -1
  55. package/dist/cdn/chunks/{ParagraphEditor-CVW-kuHW.js → ParagraphEditor-Cal9hY3U.js} +9 -9
  56. package/dist/cdn/chunks/{ParagraphEditor-CVW-kuHW.js.map → ParagraphEditor-Cal9hY3U.js.map} +1 -1
  57. package/dist/cdn/chunks/{RestoreVersionDialog-7MFZz-Sb.js → RestoreVersionDialog-f_ulmASY.js} +2 -2
  58. package/dist/cdn/chunks/{RestoreVersionDialog-7MFZz-Sb.js.map → RestoreVersionDialog-f_ulmASY.js.map} +1 -1
  59. package/dist/cdn/chunks/{RichTextEditorContent-CiL-SkZg.js → RichTextEditorContent-C_v0kS4A.js} +3 -3
  60. package/dist/cdn/chunks/{RichTextEditorContent-CiL-SkZg.js.map → RichTextEditorContent-C_v0kS4A.js.map} +1 -1
  61. package/dist/cdn/chunks/{SaveBlockDialog-CxdekCYy.js → SaveBlockDialog-C6N9RFls.js} +5 -5
  62. package/dist/cdn/chunks/{SaveBlockDialog-CxdekCYy.js.map → SaveBlockDialog-C6N9RFls.js.map} +1 -1
  63. package/dist/cdn/chunks/{SavedBlocksBrowserModal-D9CAa2U3.js → SavedBlocksBrowserModal-Bl2sl09D.js} +4 -4
  64. package/dist/cdn/chunks/{SavedBlocksBrowserModal-D9CAa2U3.js.map → SavedBlocksBrowserModal-Bl2sl09D.js.map} +1 -1
  65. package/dist/cdn/chunks/{SavedBlocksPanels-jfkYWtss.js → SavedBlocksPanels-DqVcmEUK.js} +2 -2
  66. package/dist/cdn/chunks/{SavedBlocksPanels-jfkYWtss.js.map → SavedBlocksPanels-DqVcmEUK.js.map} +1 -1
  67. package/dist/cdn/chunks/{SavedBlocksPickBar-yaCumC4j.js → SavedBlocksPickBar-DE-J1JVL.js} +2 -2
  68. package/dist/cdn/chunks/{SavedBlocksPickBar-yaCumC4j.js.map → SavedBlocksPickBar-DE-J1JVL.js.map} +1 -1
  69. package/dist/cdn/chunks/{TemplateSettings-SaV2UVh_.js → TemplateSettings-CpoKZ8oV.js} +5 -5
  70. package/dist/cdn/chunks/{TemplateSettings-SaV2UVh_.js.map → TemplateSettings-CpoKZ8oV.js.map} +1 -1
  71. package/dist/cdn/chunks/{TestEmailModal-ByfhP_sm.js → TestEmailModal-DI3z__Bd.js} +8 -8
  72. package/dist/cdn/chunks/{TestEmailModal-ByfhP_sm.js.map → TestEmailModal-DI3z__Bd.js.map} +1 -1
  73. package/dist/cdn/chunks/{TestEmailPanel-CfzpqpDs.js → TestEmailPanel-Cp5d2YGn.js} +2 -2
  74. package/dist/cdn/chunks/{TestEmailPanel-CfzpqpDs.js.map → TestEmailPanel-Cp5d2YGn.js.map} +1 -1
  75. package/dist/cdn/chunks/{TitleEditor-Ceb0YfWv.js → TitleEditor-C2syRLdZ.js} +4 -4
  76. package/dist/cdn/chunks/{TitleEditor-Ceb0YfWv.js.map → TitleEditor-C2syRLdZ.js.map} +1 -1
  77. package/dist/cdn/chunks/{Toolbar-Cv6Rv1S-.js → Toolbar-NEE8qxYh.js} +754 -706
  78. package/dist/cdn/chunks/Toolbar-NEE8qxYh.js.map +1 -0
  79. package/dist/cdn/chunks/{TplModal-DGpGdwgf.js → TplModal-B1MgvtX8.js} +2 -2
  80. package/dist/cdn/chunks/{TplModal-DGpGdwgf.js.map → TplModal-B1MgvtX8.js.map} +1 -1
  81. package/dist/cdn/chunks/{VersionHistoryPanels-BJnHCMAH.js → VersionHistoryPanels-Cefd8i_e.js} +2 -2
  82. package/dist/cdn/chunks/{VersionHistoryPanels-BJnHCMAH.js.map → VersionHistoryPanels-Cefd8i_e.js.map} +1 -1
  83. package/dist/cdn/chunks/{WrapperBlock-C_uE5rPJ.js → WrapperBlock-DFY-7YSs.js} +4 -4
  84. package/dist/cdn/chunks/{WrapperBlock-C_uE5rPJ.js.map → WrapperBlock-DFY-7YSs.js.map} +1 -1
  85. package/dist/{ca-DOuIxWRv.js → cdn/chunks/ca-DIkMxYCN.js} +12 -1
  86. package/dist/cdn/chunks/{ca-DOuIxWRv.js.map → ca-DIkMxYCN.js.map} +1 -1
  87. package/dist/cdn/chunks/{composables-BxikPuC1.js → composables-nyxwrM27.js} +610 -594
  88. package/dist/cdn/chunks/composables-nyxwrM27.js.map +1 -0
  89. package/dist/cdn/chunks/{createCloudRuntime-D2DUaudp.js → createCloudRuntime-DJkDGKQ_.js} +3 -3
  90. package/dist/cdn/chunks/{createCloudRuntime-D2DUaudp.js.map → createCloudRuntime-DJkDGKQ_.js.map} +1 -1
  91. package/dist/{de-DaOUfYBX.js → cdn/chunks/de-Cc6Ue0UD.js} +12 -1
  92. package/dist/cdn/chunks/de-Cc6Ue0UD.js.map +1 -0
  93. package/dist/cdn/chunks/{en-C0pHHMiR.js → en-BX4FujAQ.js} +11 -2
  94. package/dist/cdn/chunks/en-BX4FujAQ.js.map +1 -0
  95. package/dist/{es-CxyEKr6n.js → cdn/chunks/es-Do5b-MKU.js} +12 -1
  96. package/dist/cdn/chunks/es-Do5b-MKU.js.map +1 -0
  97. package/dist/cdn/chunks/{extensions-DuDWpKo7.js → extensions-BcwkOjVq.js} +76 -70
  98. package/dist/cdn/chunks/extensions-BcwkOjVq.js.map +1 -0
  99. package/dist/{fr-CYbamiI6.js → cdn/chunks/fr-S1n2Ebzp.js} +12 -1
  100. package/dist/cdn/chunks/fr-S1n2Ebzp.js.map +1 -0
  101. package/dist/cdn/chunks/{ja-DfaIAoGI.js → ja-DLwcq4bA.js} +11 -2
  102. package/dist/cdn/chunks/ja-DLwcq4bA.js.map +1 -0
  103. package/dist/{nl-DkrB-VKZ.js → cdn/chunks/nl-0JSWaZpT.js} +12 -1
  104. package/dist/cdn/chunks/nl-0JSWaZpT.js.map +1 -0
  105. package/dist/cdn/chunks/{normalizeMergeTagMarkup-Bn_hl4jd.js → normalizeMergeTagMarkup-BrGw5jxk.js} +99 -89
  106. package/dist/cdn/chunks/normalizeMergeTagMarkup-BrGw5jxk.js.map +1 -0
  107. package/dist/cdn/chunks/{preRenderCustomBlocks-C9oavydG.js → preRenderCustomBlocks-Cj0XYwuh.js} +4 -4
  108. package/dist/cdn/chunks/{preRenderCustomBlocks-C9oavydG.js.map → preRenderCustomBlocks-Cj0XYwuh.js.map} +1 -1
  109. package/dist/{pt-BR-CY5Ye7eP.js → cdn/chunks/pt-BR-D3VlIMDZ.js} +12 -1
  110. package/dist/cdn/chunks/pt-BR-D3VlIMDZ.js.map +1 -0
  111. package/dist/cdn/chunks/{sanitizeHtml-DfXoetOm.js → sanitizeHtml-GxJCxKcP.js} +3 -3
  112. package/dist/cdn/chunks/{sanitizeHtml-DfXoetOm.js.map → sanitizeHtml-GxJCxKcP.js.map} +1 -1
  113. package/dist/cdn/chunks/{socialIcons-DPwkrn5v.js → socialIcons-B5zrrV8-.js} +387 -386
  114. package/dist/cdn/chunks/{socialIcons-DPwkrn5v.js.map → socialIcons-B5zrrV8-.js.map} +1 -1
  115. package/dist/cdn/chunks/{src-712f3ofG.js → src-Diw9SLIe.js} +673 -554
  116. package/dist/cdn/chunks/src-Diw9SLIe.js.map +1 -0
  117. package/dist/cdn/chunks/{src-B2tQbzf6.js → src-UR3AQocX.js} +221 -215
  118. package/dist/cdn/chunks/src-UR3AQocX.js.map +1 -0
  119. package/dist/cdn/chunks/{src-ZFw5fg_z.js → src-v47QHNmB.js} +809 -659
  120. package/dist/cdn/chunks/src-v47QHNmB.js.map +1 -0
  121. package/dist/cdn/chunks/useLocalizedDisplay-DekV8qar.js +33 -0
  122. package/dist/cdn/chunks/{useLocalizedDisplay-DiNjT22M.js.map → useLocalizedDisplay-DekV8qar.js.map} +1 -1
  123. package/dist/cdn/chunks/{useLogicTag-SvMW4g00.js → useLogicTag-Cbp3I7UN.js} +2 -2
  124. package/dist/cdn/chunks/{useLogicTag-SvMW4g00.js.map → useLogicTag-Cbp3I7UN.js.map} +1 -1
  125. package/dist/cdn/chunks/{useMergeTag-JLz3Pqcw.js → useMergeTag-1lrpNyR5.js} +4 -4
  126. package/dist/cdn/chunks/{useMergeTag-JLz3Pqcw.js.map → useMergeTag-1lrpNyR5.js.map} +1 -1
  127. package/dist/cdn/chunks/{withCurrentFont-BcoPpkDS.js → withCurrentFont-DZfmiv8V.js} +2 -2
  128. package/dist/cdn/chunks/{withCurrentFont-BcoPpkDS.js.map → withCurrentFont-DZfmiv8V.js.map} +1 -1
  129. package/dist/cdn/editor.js +284 -284
  130. package/dist/cdn/editor.js.map +1 -1
  131. package/dist/{composables-BbPFRlBf.js → composables-DPgNn9GZ.js} +929 -913
  132. package/dist/{createCloudRuntime-Dlrg88gS.js → createCloudRuntime-Bw8TLmQ8.js} +2 -2
  133. package/dist/{cdn/chunks/de-DaOUfYBX.js → de-Cc6Ue0UD.js} +10 -3
  134. package/dist/{dist-C34cYI5S.js → dist-CBdk1Vcb.js} +963 -813
  135. package/dist/{en-C0pHHMiR.js → en-BX4FujAQ.js} +10 -1
  136. package/dist/{cdn/chunks/es-CxyEKr6n.js → es-Do5b-MKU.js} +10 -3
  137. package/dist/{extensions-xCiyqSg7.js → extensions-QFAARrjF.js} +338 -332
  138. package/dist/{cdn/chunks/fr-CYbamiI6.js → fr-S1n2Ebzp.js} +10 -3
  139. package/dist/index.d.ts +14 -1
  140. package/dist/{ja-DfaIAoGI.js → ja-DLwcq4bA.js} +10 -1
  141. package/dist/{cdn/chunks/nl-DkrB-VKZ.js → nl-0JSWaZpT.js} +10 -3
  142. package/dist/{normalizeMergeTagMarkup-C7FGNURu.js → normalizeMergeTagMarkup-BS0nRvhq.js} +89 -79
  143. package/dist/{preRenderCustomBlocks-DvbRa3L3.js → preRenderCustomBlocks-CiKvKd8V.js} +1 -1
  144. package/dist/{cdn/chunks/pt-BR-CY5Ye7eP.js → pt-BR-D3VlIMDZ.js} +10 -3
  145. package/dist/{sanitizeHtml-D_ab7dD6.js → sanitizeHtml-USjTyALR.js} +1 -1
  146. package/dist/{socialIcons-DhAolBjt.js → socialIcons-NvIg5ahU.js} +338 -337
  147. package/dist/templatical-editor.js +41 -41
  148. package/dist/{useLocalizedDisplay-C9MBFUr4.js → useLocalizedDisplay-LdjosX4w.js} +1 -1
  149. package/dist/{useLogicTag-BmuakZBd.js → useLogicTag-D8zgkXfb.js} +1 -1
  150. package/dist/{useMergeTag-DC4a8b_v.js → useMergeTag-k7Kr0nMd.js} +1 -1
  151. package/dist/{withCurrentFont-BSxJai99.js → withCurrentFont-Bzeg_gfH.js} +1 -1
  152. package/package.json +7 -7
  153. package/dist/cdn/chunks/LogicTagInsertButton-PDKuo2J3.js.map +0 -1
  154. package/dist/cdn/chunks/Toolbar-Cv6Rv1S-.js.map +0 -1
  155. package/dist/cdn/chunks/composables-BxikPuC1.js.map +0 -1
  156. package/dist/cdn/chunks/de-DaOUfYBX.js.map +0 -1
  157. package/dist/cdn/chunks/en-C0pHHMiR.js.map +0 -1
  158. package/dist/cdn/chunks/es-CxyEKr6n.js.map +0 -1
  159. package/dist/cdn/chunks/extensions-DuDWpKo7.js.map +0 -1
  160. package/dist/cdn/chunks/fr-CYbamiI6.js.map +0 -1
  161. package/dist/cdn/chunks/ja-DfaIAoGI.js.map +0 -1
  162. package/dist/cdn/chunks/nl-DkrB-VKZ.js.map +0 -1
  163. package/dist/cdn/chunks/normalizeMergeTagMarkup-Bn_hl4jd.js.map +0 -1
  164. package/dist/cdn/chunks/pt-BR-CY5Ye7eP.js.map +0 -1
  165. package/dist/cdn/chunks/src-712f3ofG.js.map +0 -1
  166. package/dist/cdn/chunks/src-B2tQbzf6.js.map +0 -1
  167. package/dist/cdn/chunks/src-ZFw5fg_z.js.map +0 -1
  168. package/dist/cdn/chunks/useLocalizedDisplay-DiNjT22M.js +0 -33
@@ -1,36 +1,36 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
2
  import { B as t, F as n, Ft as r, L as i, M as a, Mt as o, P as s, Pt as c, Q as l, U as u, W as d, Z as f, _ as p, c as m, ct as h, d as g, et as _, f as v, g as y, l as b, m as x, r as S, u as C, v as w, w as T, y as E } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
3
3
  import { a as D, o as O } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
4
- import { O as k, Ot as A, Vt as j, f as M, g as N, gt as P, i as F, k as I, mt as L, n as ee, ot as R, r as te, rn as z, st as ne, t as re, tn as ie } from "./dist-C34cYI5S.js";
5
- import { B as ae, T as oe, _ as se, b as ce, d as le, f as ue, g as de, h as fe, i as pe, k as me, l as he, m as ge, p as _e, r as B, s as ve, u as ye, v as be } from "./socialIcons-DhAolBjt.js";
6
- import { t as xe } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
7
- import { t as Se } from "./createLucideIcon-CgDE3xAR.js";
8
- import { c as V } from "./LogicTagInsertButton-XESwnJia.js";
4
+ import { O as k, Ot as A, Vt as j, an as M, f as N, g as P, gt as F, i as I, k as L, mt as ee, n as te, ot as R, r as z, rn as ne, st as re, t as ie } from "./dist-CBdk1Vcb.js";
5
+ import { B as ae, T as oe, _ as se, b as ce, d as le, f as ue, g as de, h as fe, i as pe, k as me, l as he, m as ge, p as _e, r as ve, s as ye, u as be, v as xe } from "./socialIcons-NvIg5ahU.js";
6
+ import { t as Se } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
7
+ import { t as B } from "./createLucideIcon-CgDE3xAR.js";
8
+ import { c as V } from "./LogicTagInsertButton-qZ82VMFx.js";
9
9
  import { t as Ce } from "./chevron-down-DmamTEWQ.js";
10
10
  import { t as we } from "./circle-alert-BTKC9vkq.js";
11
- import { n as Te, t as Ee } from "./blockTypeIcons-D91v9k0x.js";
12
- import { n as De } from "./upload-Cp8o-hrN.js";
13
- import { t as Oe } from "./image-Ch8tR35K.js";
14
- import { t as ke } from "./info-DzSD-Wpk.js";
15
- import { t as Ae } from "./link-oDn9AR2w.js";
16
- import { n as je, t as Me } from "./smartphone-BPpWYrwV.js";
17
- import { t as H } from "./plus-Cr0Mis63.js";
18
- import { t as Ne } from "./refresh-cw-_ZLOIEvA.js";
19
- import { n as Pe, r as Fe, t as Ie } from "./text-align-start-4mwX2o-F.js";
20
- import { t as Le } from "./trash-B99WixTA.js";
21
- import { t as Re } from "./x-BIBStNMS.js";
22
- import { B as ze, C as Be, O as Ve, T as He, U as Ue, X as We, _ as Ge, b as Ke, h as qe, ot as Je, p as Ye, r as Xe, v as Ze } from "./keys-BCqskl51.js";
23
- import { t as U } from "./useI18n-CgtvtF4C.js";
24
- import { n as Qe } from "./useLocalizedDisplay-C9MBFUr4.js";
25
- import { t as $e } from "./languageName-DEEOhDWI.js";
26
- import { S as et, _ as W, b as tt, c as nt, g as G, h as K, r as rt, v as q, y as it } from "./styleConstants-CgiNKdnc.js";
27
- import { _ as at } from "./dist-CX7skkvG.js";
28
- import { c as ot, r as st } from "./usePopoverPosition-VDQjyX_A.js";
29
- import { n as J, t as ct } from "./MergeTagTextarea-DH_6JFui.js";
30
- import { t as Y } from "./ToggleSwitch-R3wCCYE6.js";
31
- import { n as lt, t as ut } from "./withCurrentFont-BSxJai99.js";
32
- import { t as X } from "./MergeTagInput-CAsBRoSm.js";
33
- var dt = Se({
11
+ import { n as H, t as Te } from "./blockTypeIcons-CoRQV_hP.js";
12
+ import { n as Ee } from "./upload-Cp8o-hrN.js";
13
+ import { t as De } from "./image-Ch8tR35K.js";
14
+ import { t as Oe } from "./info-DzSD-Wpk.js";
15
+ import { t as ke } from "./link-oDn9AR2w.js";
16
+ import { n as Ae, t as je } from "./smartphone-BPpWYrwV.js";
17
+ import { t as U } from "./plus-Cr0Mis63.js";
18
+ import { t as Me } from "./refresh-cw-_ZLOIEvA.js";
19
+ import { n as Ne, r as Pe, t as Fe } from "./text-align-start-4mwX2o-F.js";
20
+ import { t as Ie } from "./trash-B99WixTA.js";
21
+ import { t as Le } from "./x-BIBStNMS.js";
22
+ import { B as Re, C as ze, O as Be, T as Ve, U as He, X as Ue, _ as We, b as Ge, h as Ke, ot as qe, p as Je, r as Ye, v as Xe } from "./keys-BCqskl51.js";
23
+ import { t as W } from "./useI18n-CgtvtF4C.js";
24
+ import { n as Ze } from "./useLocalizedDisplay-LdjosX4w.js";
25
+ import { t as Qe } from "./languageName-DEEOhDWI.js";
26
+ import { S as $e, _ as G, b as et, c as tt, g as K, h as q, r as nt, v as J, y as rt } from "./styleConstants-CgiNKdnc.js";
27
+ import { _ as it } from "./dist-CX7skkvG.js";
28
+ import { c as at, r as ot } from "./usePopoverPosition-VDQjyX_A.js";
29
+ import { n as Y, t as st } from "./MergeTagTextarea-dQ2LRrNB.js";
30
+ import { t as X } from "./ToggleSwitch-R3wCCYE6.js";
31
+ import { n as ct, t as lt } from "./withCurrentFont-Bzeg_gfH.js";
32
+ import { t as Z } from "./MergeTagInput-JJeZbFkD.js";
33
+ var ut = B({
34
34
  name: "lock-open",
35
35
  size: 24,
36
36
  node: [["rect", {
@@ -46,7 +46,7 @@ var dt = Se({
46
46
  key: "1mm8w8"
47
47
  }]],
48
48
  aliases: ["unlock"]
49
- }), ft = Se({
49
+ }), dt = B({
50
50
  name: "lock",
51
51
  size: 24,
52
52
  node: [["rect", {
@@ -61,7 +61,7 @@ var dt = Se({
61
61
  d: "M7 11V7a5 5 0 0 1 10 0v4",
62
62
  key: "fwvmzm"
63
63
  }]]
64
- }), pt = Se({
64
+ }), ft = B({
65
65
  name: "unlink",
66
66
  size: 24,
67
67
  node: [
@@ -102,14 +102,14 @@ var dt = Se({
102
102
  key: "ox905f"
103
103
  }]
104
104
  ]
105
- }), mt = [
105
+ }), pt = [
106
106
  "aria-checked",
107
107
  "aria-label",
108
108
  "disabled",
109
109
  "aria-disabled",
110
110
  "title",
111
111
  "onClick"
112
- ], ht = { key: 1 }, Z = /* @__PURE__ */ E({
112
+ ], mt = { key: 1 }, Q = /* @__PURE__ */ E({
113
113
  __name: "SlidingPillSelect",
114
114
  props: {
115
115
  options: {},
@@ -154,14 +154,14 @@ var dt = Se({
154
154
  key: 0,
155
155
  size: 14,
156
156
  "stroke-width": 2
157
- })) : (a(), v("span", ht, r(t.label), 1))], 12, mt))), 128))], 4));
157
+ })) : (a(), v("span", mt, r(t.label), 1))], 12, pt))), 128))], 4));
158
158
  }
159
- }), gt = { class: "tpl:flex tpl:items-stretch" }, _t = [
159
+ }), ht = { class: "tpl:flex tpl:items-stretch" }, gt = [
160
160
  "data-testid",
161
161
  "value",
162
162
  "min",
163
163
  "max"
164
- ], Q = /* @__PURE__ */ E({
164
+ ], _t = /* @__PURE__ */ E({
165
165
  __name: "NumberWithSuffix",
166
166
  props: {
167
167
  modelValue: {},
@@ -177,15 +177,15 @@ var dt = Se({
177
177
  let t = e.target;
178
178
  t.validity?.badInput || n("update:modelValue", Number(t.value));
179
179
  }
180
- return (t, n) => (a(), v("div", gt, [b("input", {
180
+ return (t, n) => (a(), v("div", ht, [b("input", {
181
181
  type: "number",
182
182
  "data-testid": e.testid,
183
- class: o(h(G)),
183
+ class: o(h(K)),
184
184
  value: e.modelValue,
185
185
  min: e.min,
186
186
  max: e.max,
187
187
  onInput: i
188
- }, null, 42, _t), b("span", { class: o(h(W)) }, r(e.suffix), 3)]));
188
+ }, null, 42, gt), b("span", { class: o(h(G)) }, r(e.suffix), 3)]));
189
189
  }
190
190
  }), vt = [
191
191
  "aria-pressed",
@@ -211,11 +211,11 @@ var dt = Se({
211
211
  title: e.linked ? e.unlinkLabel : e.linkLabel,
212
212
  "data-testid": e.testid,
213
213
  onClick: r[0] ||= (e) => n("toggle")
214
- }, [e.linked ? (a(), C(h(Ae), {
214
+ }, [e.linked ? (a(), C(h(ke), {
215
215
  key: 0,
216
216
  size: 14,
217
217
  "stroke-width": 2
218
- })) : (a(), C(h(pt), {
218
+ })) : (a(), C(h(ft), {
219
219
  key: 1,
220
220
  size: 14,
221
221
  "stroke-width": 2
@@ -233,7 +233,7 @@ var dt = Se({
233
233
  },
234
234
  emits: ["update:modelValue"],
235
235
  setup(e, { emit: n }) {
236
- let i = e, s = n, { t: c } = U(), l = {
236
+ let i = e, s = n, { t: c } = W(), l = {
237
237
  width: 0,
238
238
  style: "solid",
239
239
  color: "#000000"
@@ -243,7 +243,7 @@ var dt = Se({
243
243
  }
244
244
  let f = m(() => {
245
245
  let e = i.modelValue;
246
- return !e || F.every((t) => d(e[t], e.top));
246
+ return !e || I.every((t) => d(e[t], e.top));
247
247
  }), y = _(f.value);
248
248
  t(f, (e) => {
249
249
  !e && y.value && (y.value = !1);
@@ -254,13 +254,13 @@ var dt = Se({
254
254
  }), T = (e) => !!e && e.width > 0;
255
255
  function E(e) {
256
256
  if (y.value) {
257
- s("update:modelValue", T(e) ? z(e) : void 0);
257
+ s("update:modelValue", T(e) ? M(e) : void 0);
258
258
  return;
259
259
  }
260
260
  let t = {
261
- ...i.modelValue ?? z(l),
261
+ ...i.modelValue ?? M(l),
262
262
  [x.value]: e
263
- }, n = F.some((e) => T(t[e]));
263
+ }, n = I.some((e) => T(t[e]));
264
264
  s("update:modelValue", n ? t : void 0);
265
265
  }
266
266
  function D(e) {
@@ -283,14 +283,14 @@ var dt = Se({
283
283
  y.value = !0;
284
284
  let e = i.modelValue;
285
285
  if (!e) return;
286
- let t = T(e[x.value]) ? e[x.value] : F.map((t) => e[t]).find(T);
287
- s("update:modelValue", t ? z(t) : void 0);
286
+ let t = T(e[x.value]) ? e[x.value] : I.map((t) => e[t]).find(T);
287
+ s("update:modelValue", t ? M(t) : void 0);
288
288
  }
289
- let A = m(() => F.map((e) => ({
289
+ let A = m(() => I.map((e) => ({
290
290
  value: e,
291
291
  label: c.spacingControl[e]
292
292
  })));
293
- return (t, n) => (a(), C(J, {
293
+ return (t, n) => (a(), C(Y, {
294
294
  path: e.path,
295
295
  label: h(c).blockSettings.border
296
296
  }, {
@@ -307,19 +307,19 @@ var dt = Se({
307
307
  "testid"
308
308
  ])]),
309
309
  default: u(() => [
310
- y.value ? g("", !0) : (a(), v("div", bt, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.borderSide), 3), p(Z, {
310
+ y.value ? g("", !0) : (a(), v("div", bt, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderSide), 3), p(Q, {
311
311
  options: A.value,
312
312
  "model-value": x.value,
313
313
  "onUpdate:modelValue": n[0] ||= (e) => x.value = e
314
314
  }, null, 8, ["options", "model-value"])])),
315
- b("div", xt, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.borderWidth), 3), p(Q, {
315
+ b("div", xt, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderWidth), 3), p(_t, {
316
316
  "model-value": w.value.width,
317
317
  min: 0,
318
318
  suffix: "px",
319
319
  testid: `${e.testidPrefix}-border-width-input`,
320
320
  "onUpdate:modelValue": D
321
321
  }, null, 8, ["model-value", "testid"])]),
322
- w.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", St, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.borderStyle), 3), p(Z, {
322
+ w.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", St, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderStyle), 3), p(Q, {
323
323
  options: [
324
324
  {
325
325
  value: "solid",
@@ -336,7 +336,7 @@ var dt = Se({
336
336
  ],
337
337
  "model-value": w.value.style,
338
338
  "onUpdate:modelValue": n[1] ||= (e) => O({ style: e })
339
- }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.borderColor), 3), p(V, {
339
+ }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.borderColor), 3), p(V, {
340
340
  "model-value": w.value.color,
341
341
  "onUpdate:modelValue": n[2] ||= (e) => O({ color: e })
342
342
  }, null, 8, ["model-value"])])], 64)) : g("", !0)
@@ -358,7 +358,7 @@ var dt = Se({
358
358
  },
359
359
  emits: ["update:modelValue"],
360
360
  setup(e, { emit: n }) {
361
- let i = e, o = n, { t: c } = U(), l = {
361
+ let i = e, o = n, { t: c } = W(), l = {
362
362
  topLeft: "cornerTopLeft",
363
363
  topRight: "cornerTopRight",
364
364
  bottomRight: "cornerBottomRight",
@@ -376,7 +376,7 @@ var dt = Se({
376
376
  bottomRight: e,
377
377
  bottomLeft: e
378
378
  } : e;
379
- }), g = m(() => te.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
379
+ }), g = m(() => z.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
380
380
  t(g, (e) => {
381
381
  !e && y.value && (y.value = !1);
382
382
  });
@@ -395,7 +395,7 @@ var dt = Se({
395
395
  function E() {
396
396
  y.value = !y.value, y.value && o("update:modelValue", f.value.topLeft);
397
397
  }
398
- return (t, n) => (a(), C(J, {
398
+ return (t, n) => (a(), C(Y, {
399
399
  path: e.path,
400
400
  label: e.label
401
401
  }, {
@@ -411,7 +411,7 @@ var dt = Se({
411
411
  "unlink-label",
412
412
  "testid"
413
413
  ])]),
414
- default: u(() => [y.value ? (a(), C(Q, {
414
+ default: u(() => [y.value ? (a(), C(_t, {
415
415
  key: 0,
416
416
  "model-value": f.value.topLeft,
417
417
  min: 0,
@@ -423,7 +423,7 @@ var dt = Se({
423
423
  "model-value",
424
424
  "max",
425
425
  "testid"
426
- ])) : (a(), v("div", wt, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Tt, r(h(c).blockSettings[l[t]]), 1), p(Q, {
426
+ ])) : (a(), v("div", wt, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Tt, r(h(c).blockSettings[l[t]]), 1), p(_t, {
427
427
  "model-value": f.value[t],
428
428
  min: 0,
429
429
  max: e.max,
@@ -450,7 +450,7 @@ var dt = Se({
450
450
  },
451
451
  emits: ["update"],
452
452
  setup(e, { emit: t }) {
453
- let n = e, i = t, { t: c } = U(), l = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
453
+ let n = e, i = t, { t: c } = W(), l = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
454
454
  function d(e, t) {
455
455
  i("update", { [e]: t });
456
456
  }
@@ -458,18 +458,21 @@ var dt = Se({
458
458
  e === "full" ? d("width", "full") : e === "custom" ? d("width", typeof n.block.width == "number" ? n.block.width : Rt) : d("width", void 0);
459
459
  }
460
460
  function _(e) {
461
+ d("fontWeight", e === "bold" ? void 0 : e);
462
+ }
463
+ function y(e) {
461
464
  let t = Number(e);
462
465
  !Number.isFinite(t) || t <= 0 || d("width", t);
463
466
  }
464
467
  return (t, n) => (a(), v(S, null, [
465
- p(J, {
468
+ p(Y, {
466
469
  label: h(c).button.fontFamily,
467
470
  class: "tpl:mb-3.5",
468
471
  path: "fontFamily"
469
472
  }, {
470
473
  default: u(() => [b("select", {
471
- class: o(h(K)),
472
- value: h(ut)(e.block.fontFamily),
474
+ class: o(h(q)),
475
+ value: h(lt)(e.block.fontFamily),
473
476
  onChange: n[0] ||= (e) => d("fontFamily", e.target.value || void 0)
474
477
  }, [b("option", Ot, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
475
478
  key: e.value,
@@ -477,34 +480,34 @@ var dt = Se({
477
480
  }, r(e.label), 9, kt))), 128))], 42, Dt)]),
478
481
  _: 1
479
482
  }, 8, ["label"]),
480
- p(J, {
483
+ p(Y, {
481
484
  label: h(c).button.text,
482
485
  class: "tpl:mb-3.5",
483
486
  path: "text"
484
487
  }, {
485
- default: u(() => [p(X, {
488
+ default: u(() => [p(Z, {
486
489
  "model-value": e.block.text,
487
490
  type: "text",
488
491
  "onUpdate:modelValue": n[1] ||= (e) => d("text", e)
489
492
  }, null, 8, ["model-value"])]),
490
493
  _: 1
491
494
  }, 8, ["label"]),
492
- p(J, {
495
+ p(Y, {
493
496
  label: h(c).button.url,
494
497
  class: "tpl:mb-3.5",
495
498
  path: "url"
496
499
  }, {
497
- default: u(() => [p(X, {
500
+ default: u(() => [p(Z, {
498
501
  "model-value": e.block.url,
499
502
  type: "url",
500
503
  placeholder: h(c).button.urlPlaceholder,
501
504
  "onUpdate:modelValue": n[2] ||= (e) => d("url", e)
502
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(J, {
505
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(Y, {
503
506
  key: 0,
504
507
  path: "openInNewTab",
505
508
  label: h(c).button.openInNewTab
506
509
  }, {
507
- "label-actions": u(({ controlId: t }) => [p(Y, {
510
+ "label-actions": u(({ controlId: t }) => [p(X, {
508
511
  "control-id": t,
509
512
  "hide-label": "",
510
513
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -520,7 +523,7 @@ var dt = Se({
520
523
  }, 8, ["label"])) : g("", !0)]),
521
524
  _: 1
522
525
  }, 8, ["label"]),
523
- p(J, {
526
+ p(Y, {
524
527
  label: h(c).button.background,
525
528
  class: "tpl:mb-3.5",
526
529
  path: "backgroundColor"
@@ -532,7 +535,7 @@ var dt = Se({
532
535
  }, null, 8, ["model-value"])]),
533
536
  _: 1
534
537
  }, 8, ["label"]),
535
- p(J, {
538
+ p(Y, {
536
539
  label: h(c).button.textColor,
537
540
  class: "tpl:mb-3.5",
538
541
  path: "textColor"
@@ -557,28 +560,53 @@ var dt = Se({
557
560
  "testid-prefix": "button",
558
561
  "onUpdate:modelValue": n[7] ||= (e) => d("borderRadius", e)
559
562
  }, null, 8, ["model-value", "label"]),
560
- p(J, {
563
+ p(Y, {
561
564
  label: h(c).button.fontSize,
562
565
  class: "tpl:mb-3.5",
563
566
  path: "fontSize"
564
567
  }, {
565
568
  default: u(() => [b("div", At, [b("input", {
566
569
  type: "number",
567
- class: o(h(G)),
570
+ class: o(h(K)),
568
571
  value: e.block.fontSize,
569
572
  min: "10",
570
573
  max: "36",
571
574
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
572
- }, null, 42, jt), b("span", { class: o(h(W)) }, "px", 2)])]),
575
+ }, null, 42, jt), b("span", { class: o(h(G)) }, "px", 2)])]),
573
576
  _: 1
574
577
  }, 8, ["label"]),
575
- p(J, {
578
+ p(Y, {
579
+ label: h(c).button.fontWeight,
580
+ class: "tpl:mb-3.5",
581
+ path: "fontWeight"
582
+ }, {
583
+ default: u(() => [p(Q, {
584
+ options: [
585
+ {
586
+ value: "regular",
587
+ label: h(c).button.fontWeightRegular
588
+ },
589
+ {
590
+ value: "medium",
591
+ label: h(c).button.fontWeightMedium
592
+ },
593
+ {
594
+ value: "bold",
595
+ label: h(c).button.fontWeightBold
596
+ }
597
+ ],
598
+ "model-value": e.block.fontWeight ?? "bold",
599
+ "onUpdate:modelValue": _
600
+ }, null, 8, ["options", "model-value"])]),
601
+ _: 1
602
+ }, 8, ["label"]),
603
+ p(Y, {
576
604
  label: h(c).button.width,
577
605
  class: "tpl:mb-3.5",
578
606
  path: "width"
579
607
  }, {
580
608
  default: u(() => [b("select", {
581
- class: o(h(K)),
609
+ class: o(h(q)),
582
610
  value: l.value,
583
611
  onChange: n[9] ||= (e) => f(e.target.value)
584
612
  }, [
@@ -587,19 +615,19 @@ var dt = Se({
587
615
  b("option", Ft, r(h(c).button.widthCustom), 1)
588
616
  ], 42, Mt), l.value === "custom" ? (a(), v("div", It, [b("input", {
589
617
  type: "number",
590
- class: o(h(G)),
618
+ class: o(h(K)),
591
619
  value: typeof e.block.width == "number" ? e.block.width : Rt,
592
620
  min: "20",
593
- onInput: n[10] ||= (e) => _(e.target.value)
594
- }, null, 42, Lt), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
621
+ onInput: n[10] ||= (e) => y(e.target.value)
622
+ }, null, 42, Lt), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
595
623
  _: 1
596
624
  }, 8, ["label"]),
597
- p(J, {
625
+ p(Y, {
598
626
  label: h(c).title.align,
599
627
  class: "tpl:mb-3.5",
600
628
  path: "align"
601
629
  }, {
602
- default: u(() => [p(Z, {
630
+ default: u(() => [p(Q, {
603
631
  options: [
604
632
  {
605
633
  value: "left",
@@ -621,7 +649,7 @@ var dt = Se({
621
649
  }, 8, ["label"])
622
650
  ], 64));
623
651
  }
624
- }), Bt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Vt = { class: "tpl:flex tpl:items-center" }, Ht = ["aria-label"], Ut = ["value", "aria-label"], Wt = ["aria-label"], Gt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Kt = { class: "tpl:flex tpl:items-center" }, qt = ["aria-label"], Jt = ["value", "aria-label"], Yt = ["aria-label"], Xt = ["aria-label", "title"], Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], $ = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", on = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", sn = /*#__PURE__*/ xe(/* @__PURE__ */ E({
652
+ }), Bt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Vt = { class: "tpl:flex tpl:items-center" }, Ht = ["aria-label"], Ut = ["value", "aria-label"], Wt = ["aria-label"], Gt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Kt = { class: "tpl:flex tpl:items-center" }, qt = ["aria-label"], Jt = ["value", "aria-label"], Yt = ["aria-label"], Xt = ["aria-label", "title"], Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], $ = "tpl:flex tpl:items-center tpl:justify-center tpl:w-8 tpl:h-8 tpl:text-[var(--tpl-text-muted)] tpl:bg-[var(--tpl-bg)] tpl:border tpl:border-[var(--tpl-border)] tpl:cursor-pointer tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)] tpl:hover:bg-[var(--tpl-bg-hover)] tpl:hover:text-[var(--tpl-text)] tpl:active:bg-[var(--tpl-bg-active)]", on = "tpl:w-10 tpl:h-8 tpl:text-center tpl:text-xs tpl:font-medium tpl:border-y tpl:border-x-0 tpl:border-[var(--tpl-border)] tpl:text-[var(--tpl-text)] tpl:bg-[var(--tpl-bg)] tpl:outline-none tpl:transition-all tpl:duration-[120ms] tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[var(--tpl-ring)]", sn = /*#__PURE__*/ Se(/* @__PURE__ */ E({
625
653
  __name: "SpacingControl",
626
654
  props: {
627
655
  path: {},
@@ -630,7 +658,7 @@ var dt = Se({
630
658
  },
631
659
  emits: ["update:modelValue"],
632
660
  setup(e, { emit: n }) {
633
- let r = e, i = n, { t: s } = U(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
661
+ let r = e, i = n, { t: s } = W(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
634
662
  t(c, (e) => {
635
663
  !e && l.value && (l.value = !1);
636
664
  });
@@ -669,7 +697,7 @@ var dt = Se({
669
697
  });
670
698
  }
671
699
  }
672
- return (t, n) => (a(), C(J, {
700
+ return (t, n) => (a(), C(Y, {
673
701
  class: "spacing-control",
674
702
  path: e.path,
675
703
  label: e.label
@@ -680,7 +708,7 @@ var dt = Se({
680
708
  "aria-label": h(s).spacingControl.decreaseTop,
681
709
  class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
682
710
  onClick: n[0] ||= (e) => d("top", -1)
683
- }, [p(h(Te), {
711
+ }, [p(h(H), {
684
712
  size: 12,
685
713
  "stroke-width": 2
686
714
  })], 10, Ht),
@@ -696,7 +724,7 @@ var dt = Se({
696
724
  "aria-label": h(s).spacingControl.increaseTop,
697
725
  class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
698
726
  onClick: n[2] ||= (e) => d("top", 1)
699
- }, [p(h(H), {
727
+ }, [p(h(U), {
700
728
  size: 12,
701
729
  "stroke-width": 2
702
730
  })], 10, Wt)
@@ -707,7 +735,7 @@ var dt = Se({
707
735
  "aria-label": h(s).spacingControl.decreaseLeft,
708
736
  class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
709
737
  onClick: n[3] ||= (e) => d("left", -1)
710
- }, [p(h(Te), {
738
+ }, [p(h(H), {
711
739
  size: 12,
712
740
  "stroke-width": 2
713
741
  })], 10, qt),
@@ -723,7 +751,7 @@ var dt = Se({
723
751
  "aria-label": h(s).spacingControl.increaseLeft,
724
752
  class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
725
753
  onClick: n[5] ||= (e) => d("left", 1)
726
- }, [p(h(H), {
754
+ }, [p(h(U), {
727
755
  size: 12,
728
756
  "stroke-width": 2
729
757
  })], 10, Yt)
@@ -733,11 +761,11 @@ var dt = Se({
733
761
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
734
762
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
735
763
  onClick: g
736
- }, [l.value ? (a(), C(h(ft), {
764
+ }, [l.value ? (a(), C(h(dt), {
737
765
  key: 0,
738
766
  size: 14,
739
767
  "stroke-width": 2
740
- })) : (a(), C(h(dt), {
768
+ })) : (a(), C(h(ut), {
741
769
  key: 1,
742
770
  size: 14,
743
771
  "stroke-width": 2
@@ -747,7 +775,7 @@ var dt = Se({
747
775
  "aria-label": h(s).spacingControl.decreaseRight,
748
776
  class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
749
777
  onClick: n[6] ||= (e) => d("right", -1)
750
- }, [p(h(Te), {
778
+ }, [p(h(H), {
751
779
  size: 12,
752
780
  "stroke-width": 2
753
781
  })], 10, Qt),
@@ -763,7 +791,7 @@ var dt = Se({
763
791
  "aria-label": h(s).spacingControl.increaseRight,
764
792
  class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
765
793
  onClick: n[8] ||= (e) => d("right", 1)
766
- }, [p(h(H), {
794
+ }, [p(h(U), {
767
795
  size: 12,
768
796
  "stroke-width": 2
769
797
  })], 10, en)
@@ -774,7 +802,7 @@ var dt = Se({
774
802
  "aria-label": h(s).spacingControl.decreaseBottom,
775
803
  class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
776
804
  onClick: n[9] ||= (e) => d("bottom", -1)
777
- }, [p(h(Te), {
805
+ }, [p(h(H), {
778
806
  size: 12,
779
807
  "stroke-width": 2
780
808
  })], 10, nn),
@@ -790,7 +818,7 @@ var dt = Se({
790
818
  "aria-label": h(s).spacingControl.increaseBottom,
791
819
  class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
792
820
  onClick: n[11] ||= (e) => d("bottom", 1)
793
- }, [p(h(H), {
821
+ }, [p(h(U), {
794
822
  size: 12,
795
823
  "stroke-width": 2
796
824
  })], 10, an)
@@ -810,7 +838,7 @@ function cn(e) {
810
838
  }, { immediate: !0 }), n;
811
839
  }
812
840
  function ln() {
813
- let e = T(Be, null);
841
+ let e = T(ze, null);
814
842
  return async (t) => ge(e ? await un(e, t) : t);
815
843
  }
816
844
  function un(e, n) {
@@ -841,7 +869,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
841
869
  },
842
870
  emits: ["update:modelValue"],
843
871
  setup(e, { emit: t }) {
844
- let n = e, i = t, { t: c } = U(), l = T(ze, N.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = ln(), w;
872
+ let n = e, i = t, { t: c } = W(), l = T(Re, P.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = ln(), w;
845
873
  f(() => clearTimeout(w));
846
874
  function E(e) {
847
875
  n.measure && !k(e, l) && (w = setTimeout(async () => {
@@ -857,7 +885,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
857
885
  i("update:modelValue", void 0);
858
886
  return;
859
887
  }
860
- let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? I(e), s = n.measure ? t : null;
888
+ let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? L(e), s = n.measure ? t : null;
861
889
  i("update:modelValue", {
862
890
  ...o,
863
891
  url: e,
@@ -893,39 +921,39 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
893
921
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
894
922
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
895
923
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
896
- })), M = m(() => ee.flatMap((e) => re.map((t) => ({
924
+ })), M = m(() => te.flatMap((e) => ie.map((t) => ({
897
925
  x: t,
898
926
  y: e,
899
927
  label: j.value[`${e}-${t}`]
900
928
  }))));
901
- function P(e) {
929
+ function N(e) {
902
930
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
903
931
  }
904
- let F = _(), { canBrowse: L, isUploading: R, showOverlay: te, openMediaBrowser: z } = ye({
932
+ let F = _(), { canBrowse: I, isUploading: ee, showOverlay: R, openMediaBrowser: z } = be({
905
933
  target: F,
906
934
  blocked: () => k(u.value, l),
907
935
  apply: (e) => D(e.url, se(e.width, e.height))
908
936
  });
909
937
  return (t, n) => (a(), v("div", dn, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
910
938
  key: 0,
911
- class: o(h(q))
939
+ class: o(h(J))
912
940
  }, r(h(c).blockSettings.backgroundImage), 3)), b("div", {
913
941
  ref_key: "dropZoneRef",
914
942
  ref: F,
915
943
  class: "tpl:relative",
916
944
  "data-testid": `${e.testidPrefix}-bg-url`
917
945
  }, [
918
- h(te) ? (a(), C(ue, {
946
+ h(R) ? (a(), C(ue, {
919
947
  key: 0,
920
- uploading: h(R)
948
+ uploading: h(ee)
921
949
  }, null, 8, ["uploading"])) : g("", !0),
922
- p(X, {
950
+ p(Z, {
923
951
  "model-value": u.value,
924
952
  type: "url",
925
953
  placeholder: h(c).blockSettings.backgroundImagePlaceholder,
926
954
  "onUpdate:modelValue": D
927
955
  }, null, 8, ["model-value", "placeholder"]),
928
- h(L) ? (a(), v("button", {
956
+ h(I) ? (a(), v("button", {
929
957
  key: 1,
930
958
  type: "button",
931
959
  "data-testid": `${e.testidPrefix}-bg-browse`,
@@ -936,7 +964,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
936
964
  "background-color": "var(--tpl-bg)"
937
965
  },
938
966
  onClick: n[0] ||= (...e) => h(z) && h(z)(...e)
939
- }, [p(h(Oe), {
967
+ }, [p(h(De), {
940
968
  size: 14,
941
969
  "stroke-width": 1.5
942
970
  }), y(" " + r(h(c).image.browseMedia), 1)], 8, pn)) : g("", !0)
@@ -944,12 +972,12 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
944
972
  e.heroMode ? g("", !0) : (a(), v("div", {
945
973
  key: 0,
946
974
  "data-testid": `${e.testidPrefix}-bg-size`
947
- }, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.backgroundSize), 3), p(Z, {
975
+ }, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.backgroundSize), 3), p(Q, {
948
976
  options: A.value,
949
977
  "model-value": e.modelValue.size,
950
978
  "onUpdate:modelValue": n[1] ||= (e) => O({ size: e })
951
979
  }, null, 8, ["options", "model-value"])], 8, mn)),
952
- b("div", null, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
980
+ b("div", null, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
953
981
  role: "group",
954
982
  "aria-label": h(c).blockSettings.backgroundPosition,
955
983
  "data-testid": `${e.testidPrefix}-bg-position`,
@@ -959,18 +987,18 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
959
987
  type: "button",
960
988
  "aria-label": t.label,
961
989
  title: t.label,
962
- "aria-pressed": P(t),
990
+ "aria-pressed": N(t),
963
991
  "data-testid": `${e.testidPrefix}-bg-position-${t.y}-${t.x}`,
964
- class: o(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", P(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
992
+ class: o(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", N(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
965
993
  onClick: (e) => O({ position: {
966
994
  x: t.x,
967
995
  y: t.y
968
996
  } })
969
- }, [b("span", { class: o(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", P(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, gn))), 128))], 8, hn)]),
997
+ }, [b("span", { class: o(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", N(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, gn))), 128))], 8, hn)]),
970
998
  e.heroMode ? g("", !0) : (a(), v("div", {
971
999
  key: 1,
972
1000
  "data-testid": `${e.testidPrefix}-bg-repeat`
973
- }, [p(Y, {
1001
+ }, [p(X, {
974
1002
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
975
1003
  "model-value": e.modelValue.repeat,
976
1004
  label: h(c).blockSettings.backgroundRepeat,
@@ -1024,7 +1052,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1024
1052
  function n(e) {
1025
1053
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1026
1054
  }
1027
- let i = e, s = t, { t: c } = U(), l = T(ze, N.liquid), u = T(Ze, null), d = T(He, void 0), f = ln(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => k(_.value, l)), S = m(() => i.section.hero), w = m(() => i.section.columns === "1"), E = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : On), O = m(() => [
1055
+ let i = e, s = t, { t: c } = W(), l = T(Re, P.liquid), u = T(Xe, null), d = T(Ve, void 0), f = ln(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => k(_.value, l)), S = m(() => i.section.hero), w = m(() => i.section.columns === "1"), E = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : On), O = m(() => [
1028
1056
  {
1029
1057
  value: "fit",
1030
1058
  label: c.blockSettings.heroHeightFit
@@ -1051,11 +1079,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1051
1079
  value: "bottom",
1052
1080
  label: c.blockSettings.heroAlignBottom
1053
1081
  }
1054
- ]), j = m(() => E.value === "image" && y.value && !x.value && L(i.section.backgroundImage) === null);
1082
+ ]), j = m(() => E.value === "image" && y.value && !x.value && ee(i.section.backgroundImage) === null);
1055
1083
  function M() {
1056
- return (u ? ve(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? he(u?.state.content.settings);
1084
+ return (u ? ye(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? he(u?.state.content.settings);
1057
1085
  }
1058
- function P(e) {
1086
+ function N(e) {
1059
1087
  let t = S.value?.verticalAlign ?? "middle";
1060
1088
  if (e === "image") {
1061
1089
  E.value !== "image" && s("update", { hero: {
@@ -1069,7 +1097,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1069
1097
  s("update", { hero: void 0 });
1070
1098
  return;
1071
1099
  }
1072
- let n = L(i.section.backgroundImage), r = n === null ? On : Math.round(M() * n);
1100
+ let n = ee(i.section.backgroundImage), r = n === null ? On : Math.round(M() * n);
1073
1101
  s("update", { hero: {
1074
1102
  height: r,
1075
1103
  verticalAlign: t
@@ -1077,7 +1105,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1077
1105
  }
1078
1106
  async function F() {
1079
1107
  let e = i.section.backgroundImage;
1080
- if (!e || !y.value || x.value || L(e) !== null) return;
1108
+ if (!e || !y.value || x.value || ee(e) !== null) return;
1081
1109
  let t = e.url, n = await f(t), r = i.section.backgroundImage;
1082
1110
  n && r && r.url === t && s("update", { backgroundImage: {
1083
1111
  ...r,
@@ -1090,7 +1118,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1090
1118
  height: Math.round(e)
1091
1119
  } });
1092
1120
  }
1093
- function ee(e) {
1121
+ function L(e) {
1094
1122
  S.value && s("update", { hero: {
1095
1123
  ...S.value,
1096
1124
  verticalAlign: e
@@ -1098,15 +1126,15 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1098
1126
  }
1099
1127
  return (e, t) => !w.value && S.value ? (a(), v("p", Sn, r(h(c).section.heroNeedsOneColumn), 1)) : w.value && (y.value || S.value) ? (a(), v("div", Cn, [
1100
1128
  b("div", wn, [
1101
- b("label", { class: o(h(q)) }, r(h(c).blockSettings.heroHeight), 3),
1102
- p(Z, {
1129
+ b("label", { class: o(h(J)) }, r(h(c).blockSettings.heroHeight), 3),
1130
+ p(Q, {
1103
1131
  options: O.value,
1104
1132
  "model-value": E.value,
1105
- "onUpdate:modelValue": P
1133
+ "onUpdate:modelValue": N
1106
1134
  }, null, 8, ["options", "model-value"]),
1107
1135
  x.value ? (a(), v("p", Tn, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : j.value ? (a(), v("p", En, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1108
1136
  ]),
1109
- E.value === "fixed" ? (a(), C(Q, {
1137
+ E.value === "fixed" ? (a(), C(_t, {
1110
1138
  key: 0,
1111
1139
  "model-value": D.value,
1112
1140
  min: 1,
@@ -1114,10 +1142,10 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1114
1142
  testid: "section-hero-height-px",
1115
1143
  "onUpdate:modelValue": I
1116
1144
  }, null, 8, ["model-value"])) : g("", !0),
1117
- S.value ? (a(), v("div", Dn, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.heroAlign), 3), p(Z, {
1145
+ S.value ? (a(), v("div", Dn, [b("label", { class: o(h(J)) }, r(h(c).blockSettings.heroAlign), 3), p(Q, {
1118
1146
  options: A.value,
1119
1147
  "model-value": S.value.verticalAlign,
1120
- "onUpdate:modelValue": ee
1148
+ "onUpdate:modelValue": L
1121
1149
  }, null, 8, ["options", "model-value"])])) : g("", !0)
1122
1150
  ])) : g("", !0);
1123
1151
  }
@@ -1141,19 +1169,19 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1141
1169
  },
1142
1170
  emits: ["update"],
1143
1171
  setup(e, { emit: n }) {
1144
- let c = e, f = n, { t: x, format: w } = U(), E = T(Ze, null), O = T(Ve, void 0), k = m(() => E?.activeLocale?.value), A = m(() => !!(k.value && E?.selectedBlock?.value?.l10n?.[k.value]?.hidden)), M = T(Ge, []), N = T(Xe, !1), P = l(/* @__PURE__ */ new Set()), F = _(!1), I = _(""), L = _(""), ee = [{
1172
+ let c = e, f = n, { t: x, format: w } = W(), E = T(Xe, null), O = T(Be, void 0), k = m(() => E?.activeLocale?.value), A = m(() => !!(k.value && E?.selectedBlock?.value?.l10n?.[k.value]?.hidden)), M = T(We, []), N = T(Ye, !1), P = l(/* @__PURE__ */ new Set()), F = _(!1), I = _(""), L = _(""), ee = [{
1145
1173
  key: "desktop",
1146
- icon: je,
1174
+ icon: Ae,
1147
1175
  labelKey: "showOnDesktop"
1148
1176
  }, {
1149
1177
  key: "mobile",
1150
- icon: Me,
1178
+ icon: je,
1151
1179
  labelKey: "showOnMobile"
1152
1180
  }];
1153
- function R(e) {
1181
+ function te(e) {
1154
1182
  P.has(e) ? P.delete(e) : P.add(e);
1155
1183
  }
1156
- let te = m(() => M.length > 0 || N), z = m(() => c.block.displayCondition ? !M.some((e) => e.label === c.block.displayCondition?.label) : !1);
1184
+ let R = m(() => M.length > 0 || N), z = m(() => c.block.displayCondition ? !M.some((e) => e.label === c.block.displayCondition?.label) : !1);
1157
1185
  function ne() {
1158
1186
  F.value = !0, z.value && c.block.displayCondition ? (I.value = c.block.displayCondition.before, L.value = c.block.displayCondition.after ?? "") : (I.value = "", L.value = "");
1159
1187
  }
@@ -1204,7 +1232,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1204
1232
  title: h(x).blockSettings.spacing,
1205
1233
  open: P.has("spacing"),
1206
1234
  "no-border": e.isFirstSection,
1207
- onToggle: n[1] ||= (e) => R("spacing")
1235
+ onToggle: n[1] ||= (e) => te("spacing")
1208
1236
  }, {
1209
1237
  default: u(() => [p(sn, {
1210
1238
  path: "styles.padding",
@@ -1222,10 +1250,10 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1222
1250
  title: h(x).blockSettings.background,
1223
1251
  open: P.has("bg"),
1224
1252
  "header-test-id": "block-settings-background",
1225
- onToggle: n[5] ||= (e) => R("bg")
1253
+ onToggle: n[5] ||= (e) => te("bg")
1226
1254
  }, {
1227
1255
  default: u(() => [
1228
- p(J, {
1256
+ p(Y, {
1229
1257
  path: "styles.backgroundColor",
1230
1258
  label: h(x).blockSettings.color
1231
1259
  }, {
@@ -1236,7 +1264,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1236
1264
  }, null, 8, ["model-value"])]),
1237
1265
  _: 1
1238
1266
  }, 8, ["label"]),
1239
- e.block.type === "section" ? (a(), C(J, {
1267
+ e.block.type === "section" ? (a(), C(Y, {
1240
1268
  key: 0,
1241
1269
  path: "backgroundImage",
1242
1270
  label: h(x).blockSettings.backgroundImage
@@ -1252,7 +1280,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1252
1280
  }, null, 8, ["model-value", "hero-mode"])]),
1253
1281
  _: 1
1254
1282
  }, 8, ["label"])) : g("", !0),
1255
- e.block.type === "section" ? (a(), C(J, {
1283
+ e.block.type === "section" ? (a(), C(Y, {
1256
1284
  key: 1,
1257
1285
  path: "hero",
1258
1286
  label: h(x).blocks.hero
@@ -1269,20 +1297,20 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1269
1297
  p(xn, {
1270
1298
  title: h(x).blockSettings.display,
1271
1299
  open: P.has("display"),
1272
- onToggle: n[7] ||= (e) => R("display")
1300
+ onToggle: n[7] ||= (e) => te("display")
1273
1301
  }, {
1274
- default: u(() => [b("div", An, [k.value && h(O) ? (a(), C(Y, {
1302
+ default: u(() => [b("div", An, [k.value && h(O) ? (a(), C(X, {
1275
1303
  key: 0,
1276
1304
  "data-testid": "locale-hide",
1277
1305
  disabled: !h(O).locales.includes(k.value),
1278
1306
  "model-value": A.value,
1279
- label: h(w)(h(x).localization.hide, { language: h($e)(k.value) }),
1307
+ label: h(w)(h(x).localization.hide, { language: h(Qe)(k.value) }),
1280
1308
  "onUpdate:modelValue": n[6] ||= (t) => h(E)?.setBlockHidden?.(e.block.id, t)
1281
1309
  }, null, 8, [
1282
1310
  "disabled",
1283
1311
  "model-value",
1284
1312
  "label"
1285
- ])) : g("", !0), (a(), v(S, null, s(ee, (e) => p(J, {
1313
+ ])) : g("", !0), (a(), v(S, null, s(ee, (e) => p(Y, {
1286
1314
  key: e.key,
1287
1315
  path: `visibility.${e.key}`,
1288
1316
  label: h(x).blockSettings[e.labelKey]
@@ -1291,7 +1319,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1291
1319
  size: 14,
1292
1320
  "stroke-width": 1.5
1293
1321
  })), y(" " + r(h(x).blockSettings[e.labelKey]), 1)])]),
1294
- "label-actions": u(({ controlId: t }) => [p(Y, {
1322
+ "label-actions": u(({ controlId: t }) => [p(X, {
1295
1323
  "control-id": t,
1296
1324
  "hide-label": "",
1297
1325
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -1308,14 +1336,14 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1308
1336
  }, 1032, ["path", "label"])), 64))])]),
1309
1337
  _: 1
1310
1338
  }, 8, ["title", "open"]),
1311
- te.value ? (a(), C(xn, {
1339
+ R.value ? (a(), C(xn, {
1312
1340
  key: 0,
1313
1341
  "header-test-id": "display-condition-section",
1314
1342
  title: h(x).blockSettings.displayCondition,
1315
1343
  open: P.has("condition"),
1316
- onToggle: n[11] ||= (e) => R("condition")
1344
+ onToggle: n[11] ||= (e) => te("condition")
1317
1345
  }, {
1318
- default: u(() => [b("div", Mn, [p(J, {
1346
+ default: u(() => [b("div", Mn, [p(Y, {
1319
1347
  path: "displayCondition",
1320
1348
  label: h(x).blockSettings.displayCondition
1321
1349
  }, {
@@ -1355,16 +1383,16 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1355
1383
  b("div", null, [b("label", Bn, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1356
1384
  "onUpdate:modelValue": n[9] ||= (e) => I.value = e,
1357
1385
  rows: "2",
1358
- class: o(h(it))
1386
+ class: o(h(rt))
1359
1387
  }, null, 2), [[D, I.value]])]),
1360
1388
  b("div", null, [b("label", Vn, r(h(x).blockSettings.customConditionAfter), 1), d(b("textarea", {
1361
1389
  "onUpdate:modelValue": n[10] ||= (e) => L.value = e,
1362
1390
  rows: "2",
1363
- class: o(h(it))
1391
+ class: o(h(rt))
1364
1392
  }, null, 2), [[D, L.value]])]),
1365
1393
  b("div", Hn, [b("button", {
1366
1394
  type: "button",
1367
- class: o(h(tt)),
1395
+ class: o(h(et)),
1368
1396
  disabled: !I.value.trim(),
1369
1397
  onClick: re
1370
1398
  }, r(h(x).blockSettings.applyCondition), 11, Un)])
@@ -1381,13 +1409,13 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1381
1409
  readOnly: { type: Boolean }
1382
1410
  },
1383
1411
  setup(e) {
1384
- let { t } = U();
1412
+ let { t } = W();
1385
1413
  return (n, i) => (a(), v("span", null, [
1386
1414
  y(r(e.label) + " ", 1),
1387
1415
  e.readOnly ? (a(), v("span", {
1388
1416
  key: 0,
1389
1417
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1390
- }, [p(h(ft), {
1418
+ }, [p(h(dt), {
1391
1419
  size: 12,
1392
1420
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1393
1421
  "aria-hidden": "true"
@@ -1410,11 +1438,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1410
1438
  },
1411
1439
  emits: ["update:modelValue"],
1412
1440
  setup(e, { emit: t }) {
1413
- let n = t, { t: i } = U();
1441
+ let n = t, { t: i } = W();
1414
1442
  return (t, o) => (a(), v("div", {
1415
1443
  class: "tpl:mb-3.5",
1416
1444
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0
1417
- }, [p(Y, {
1445
+ }, [p(X, {
1418
1446
  "hide-label": e.hideLabel,
1419
1447
  "control-id": e.controlId,
1420
1448
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -1424,7 +1452,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1424
1452
  disabled: e.readOnly,
1425
1453
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1426
1454
  }, {
1427
- default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), C(h(ft), {
1455
+ default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), C(h(dt), {
1428
1456
  key: 0,
1429
1457
  size: 12,
1430
1458
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1450,7 +1478,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1450
1478
  setup(e) {
1451
1479
  return (t, r) => (a(), v("div", nr, [e.hideLabel ? g("", !0) : (a(), v("label", {
1452
1480
  key: 0,
1453
- class: o(h(q))
1481
+ class: o(h(J))
1454
1482
  }, [p($n, {
1455
1483
  label: e.label,
1456
1484
  required: e.required,
@@ -1471,7 +1499,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1471
1499
  },
1472
1500
  emits: ["update:modelValue"],
1473
1501
  setup(e, { emit: t }) {
1474
- let n = e, r = t, { t: i } = U(), o = T(Ye, st), s = m(() => be(n.field, o));
1502
+ let n = e, r = t, { t: i } = W(), o = T(Je, ot), s = m(() => xe(n.field, o));
1475
1503
  return (t, n) => (a(), C(rr, {
1476
1504
  "hide-label": e.hideLabel,
1477
1505
  label: e.field.label,
@@ -1516,7 +1544,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1516
1544
  },
1517
1545
  emits: ["update:modelValue"],
1518
1546
  setup(e, { emit: t }) {
1519
- let n = e, i = t, { t: s } = U(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = ye({
1547
+ let n = e, i = t, { t: s } = W(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = be({
1520
1548
  target: c,
1521
1549
  blocked: () => !!n.readOnly,
1522
1550
  apply: (e) => i("update:modelValue", e.url)
@@ -1539,7 +1567,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1539
1567
  e.readOnly ? (a(), v("input", {
1540
1568
  key: 1,
1541
1569
  type: "url",
1542
- class: o([h(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1570
+ class: o([h(q), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1543
1571
  value: e.modelValue,
1544
1572
  placeholder: e.field.placeholder || "https://...",
1545
1573
  disabled: "",
@@ -1547,7 +1575,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1547
1575
  }, null, 10, ar)) : (a(), v("input", {
1548
1576
  key: 2,
1549
1577
  type: "url",
1550
- class: o(h(K)),
1578
+ class: o(h(q)),
1551
1579
  value: e.modelValue,
1552
1580
  placeholder: e.field.placeholder || "https://...",
1553
1581
  onInput: n[0] ||= (e) => i("update:modelValue", e.target.value)
@@ -1556,7 +1584,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1556
1584
  key: 3,
1557
1585
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-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:border-[var(--tpl-border)] tpl:text-[var(--tpl-primary)] tpl:bg-[var(--tpl-bg)]",
1558
1586
  onClick: n[1] ||= (e) => h(m)()
1559
- }, [p(h(Oe), {
1587
+ }, [p(h(De), {
1560
1588
  size: 14,
1561
1589
  "stroke-width": 1.5
1562
1590
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
@@ -1587,7 +1615,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1587
1615
  },
1588
1616
  emits: ["update:modelValue"],
1589
1617
  setup(e, { emit: t }) {
1590
- let n = t, { t: r } = U();
1618
+ let n = t, { t: r } = W();
1591
1619
  return (t, i) => (a(), C(rr, {
1592
1620
  "hide-label": e.hideLabel,
1593
1621
  label: e.field.label,
@@ -1596,7 +1624,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1596
1624
  }, {
1597
1625
  default: u(() => [b("input", {
1598
1626
  type: "number",
1599
- class: o([h(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1627
+ class: o([h(q), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1600
1628
  value: e.modelValue,
1601
1629
  placeholder: e.field.placeholder,
1602
1630
  min: e.field.min,
@@ -1630,7 +1658,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1630
1658
  },
1631
1659
  emits: ["update:modelValue"],
1632
1660
  setup(e, { emit: t }) {
1633
- let n = e, c = t, { t: l, format: d } = U(), f = m(() => n.modelValue || []), _ = m(() => !n.field.maxItems || f.value.length < n.field.maxItems), x = m(() => !n.field.minItems || f.value.length > n.field.minItems);
1661
+ let n = e, c = t, { t: l, format: d } = W(), f = m(() => n.modelValue || []), _ = m(() => !n.field.maxItems || f.value.length < n.field.maxItems), x = m(() => !n.field.minItems || f.value.length > n.field.minItems);
1634
1662
  function w() {
1635
1663
  if (!_.value || n.readOnly) return;
1636
1664
  let e = {};
@@ -1665,7 +1693,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1665
1693
  class: "tpl:flex tpl:size-6 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
1666
1694
  title: h(l).customBlocks.fields.removeItem,
1667
1695
  onClick: (e) => T(n)
1668
- }, [p(h(Le), {
1696
+ }, [p(h(Ie), {
1669
1697
  size: 12,
1670
1698
  "stroke-width": 2
1671
1699
  })], 8, pr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), C(i(h(Tr)(r.type)), {
@@ -1683,9 +1711,9 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1683
1711
  _.value && !e.readOnly ? (a(), v("button", {
1684
1712
  key: 0,
1685
1713
  type: "button",
1686
- class: o(h(nt)),
1714
+ class: o(h(tt)),
1687
1715
  onClick: w
1688
- }, [p(h(H), {
1716
+ }, [p(h(U), {
1689
1717
  size: 14,
1690
1718
  "stroke-width": 2
1691
1719
  }), y(" " + r(h(l).customBlocks.fields.addItem), 1)], 2)) : g("", !0),
@@ -1714,7 +1742,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1714
1742
  },
1715
1743
  emits: ["update:modelValue"],
1716
1744
  setup(e, { emit: t }) {
1717
- let n = t, { t: i } = U();
1745
+ let n = t, { t: i } = W();
1718
1746
  return (t, c) => (a(), C(rr, {
1719
1747
  "hide-label": e.hideLabel,
1720
1748
  label: e.field.label,
@@ -1722,7 +1750,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1722
1750
  "read-only": e.readOnly
1723
1751
  }, {
1724
1752
  default: u(() => [b("select", {
1725
- class: o([h(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1753
+ class: o([h(q), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1726
1754
  value: e.modelValue,
1727
1755
  disabled: e.readOnly,
1728
1756
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0,
@@ -1753,7 +1781,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1753
1781
  },
1754
1782
  emits: ["update:modelValue"],
1755
1783
  setup(e, { emit: t }) {
1756
- let n = t, { t: r } = U();
1784
+ let n = t, { t: r } = W();
1757
1785
  return (t, i) => (a(), C(rr, {
1758
1786
  "hide-label": e.hideLabel,
1759
1787
  label: e.field.label,
@@ -1763,12 +1791,12 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1763
1791
  default: u(() => [e.readOnly ? (a(), v("input", {
1764
1792
  key: 0,
1765
1793
  type: "text",
1766
- class: o([h(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1794
+ class: o([h(q), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1767
1795
  value: e.modelValue,
1768
1796
  placeholder: e.field.placeholder,
1769
1797
  disabled: "",
1770
1798
  title: h(r).customBlocks.dataSource.readOnlyTooltip
1771
- }, null, 10, br)) : (a(), C(X, {
1799
+ }, null, 10, br)) : (a(), C(Z, {
1772
1800
  key: 1,
1773
1801
  "model-value": e.modelValue,
1774
1802
  placeholder: e.field.placeholder,
@@ -1798,7 +1826,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1798
1826
  },
1799
1827
  emits: ["update:modelValue"],
1800
1828
  setup(e, { emit: t }) {
1801
- let n = t, { t: r } = U();
1829
+ let n = t, { t: r } = W();
1802
1830
  return (t, i) => (a(), C(rr, {
1803
1831
  "hide-label": e.hideLabel,
1804
1832
  label: e.field.label,
@@ -1813,7 +1841,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1813
1841
  disabled: "",
1814
1842
  title: h(r).customBlocks.dataSource.readOnlyTooltip,
1815
1843
  class: o(Cr)
1816
- }, null, 8, Sr)) : (a(), C(ct, {
1844
+ }, null, 8, Sr)) : (a(), C(st, {
1817
1845
  key: 1,
1818
1846
  "model-value": e.modelValue,
1819
1847
  placeholder: e.field.placeholder,
@@ -1862,7 +1890,7 @@ var Er = {
1862
1890
  props: { block: {} },
1863
1891
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1864
1892
  setup(e, { emit: t }) {
1865
- let n = e, o = t, { t: c } = U(), l = T(qe, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: w, hasDataSource: E, needsFetch: D } = ae({
1893
+ let n = e, o = t, { t: c } = W(), l = T(Ke, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: w, hasDataSource: E, needsFetch: D } = ae({
1866
1894
  definition: d,
1867
1895
  block: f,
1868
1896
  onUpdate: (e, t) => {
@@ -1890,11 +1918,11 @@ var Er = {
1890
1918
  type: "button",
1891
1919
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-primary)] tpl:hover:text-[var(--tpl-primary)]",
1892
1920
  onClick: n[1] ||= (...e) => h(w) && h(w)(...e)
1893
- }, [p(h(Ne), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", Nr, [p(h(we), {
1921
+ }, [p(h(Me), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", Nr, [p(h(we), {
1894
1922
  size: 14,
1895
1923
  class: "tpl:shrink-0"
1896
1924
  }), y(" " + r(h(c).customBlocks.dataSource.fetchError), 1)])) : g("", !0)])) : g("", !0),
1897
- (a(!0), v(S, null, s(d.value.fields, (t) => (a(), C(J, {
1925
+ (a(!0), v(S, null, s(d.value.fields, (t) => (a(), C(Y, {
1898
1926
  key: t.key,
1899
1927
  path: `fieldValues.${t.key}`,
1900
1928
  label: t.label
@@ -1931,17 +1959,17 @@ var Er = {
1931
1959
  props: { block: {} },
1932
1960
  emits: ["update"],
1933
1961
  setup(e, { emit: t }) {
1934
- let n = t, { t: r } = U();
1962
+ let n = t, { t: r } = W();
1935
1963
  function i(e, t) {
1936
1964
  n("update", { [e]: t });
1937
1965
  }
1938
1966
  return (t, n) => (a(), v(S, null, [
1939
- p(J, {
1967
+ p(Y, {
1940
1968
  label: h(r).divider.style,
1941
1969
  class: "tpl:mb-3.5",
1942
1970
  path: "lineStyle"
1943
1971
  }, {
1944
- default: u(() => [p(Z, {
1972
+ default: u(() => [p(Q, {
1945
1973
  options: [
1946
1974
  {
1947
1975
  value: "solid",
@@ -1961,7 +1989,7 @@ var Er = {
1961
1989
  }, null, 8, ["options", "model-value"])]),
1962
1990
  _: 1
1963
1991
  }, 8, ["label"]),
1964
- p(J, {
1992
+ p(Y, {
1965
1993
  label: h(r).divider.color,
1966
1994
  class: "tpl:mb-3.5",
1967
1995
  path: "color"
@@ -1972,19 +2000,19 @@ var Er = {
1972
2000
  }, null, 8, ["model-value"])]),
1973
2001
  _: 1
1974
2002
  }, 8, ["label"]),
1975
- p(J, {
2003
+ p(Y, {
1976
2004
  label: h(r).divider.thickness,
1977
2005
  class: "tpl:mb-3.5",
1978
2006
  path: "thickness"
1979
2007
  }, {
1980
2008
  default: u(() => [b("div", Fr, [b("input", {
1981
2009
  type: "number",
1982
- class: o(h(G)),
2010
+ class: o(h(K)),
1983
2011
  value: e.block.thickness,
1984
2012
  min: "1",
1985
2013
  max: "10",
1986
2014
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
1987
- }, null, 42, Ir), b("span", { class: o(h(W)) }, "px", 2)])]),
2015
+ }, null, 42, Ir), b("span", { class: o(h(G)) }, "px", 2)])]),
1988
2016
  _: 1
1989
2017
  }, 8, ["label"])
1990
2018
  ], 64));
@@ -1994,8 +2022,8 @@ var Er = {
1994
2022
  props: { block: {} },
1995
2023
  emits: ["update"],
1996
2024
  setup(e, { emit: t }) {
1997
- let n = t, { t: i } = U();
1998
- return (t, s) => (a(), C(J, {
2025
+ let n = t, { t: i } = W();
2026
+ return (t, s) => (a(), C(Y, {
1999
2027
  label: h(i).html.content,
2000
2028
  class: "tpl:mb-3.5",
2001
2029
  path: "content"
@@ -2004,9 +2032,9 @@ var Er = {
2004
2032
  value: e.block.content,
2005
2033
  placeholder: "<div>...</div>",
2006
2034
  rows: "10",
2007
- class: o(h(it)),
2035
+ class: o(h(rt)),
2008
2036
  onInput: s[0] ||= (e) => n("update", { content: e.target.value })
2009
- }, null, 42, Rr), b("p", zr, [p(h(ke), {
2037
+ }, null, 42, Rr), b("p", zr, [p(h(Oe), {
2010
2038
  size: 12,
2011
2039
  class: "tpl:mt-0.5 tpl:shrink-0"
2012
2040
  }), y(" " + r(h(i).html.sanitizationHint), 1)])]),
@@ -2082,20 +2110,20 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2082
2110
  ], Wr = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, Gr = ["value"], Kr = { value: "full" }, qr = { value: "custom" }, Jr = {
2083
2111
  key: 0,
2084
2112
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2085
- }, Yr = ["value"], Xr = { class: "tpl:flex tpl:items-stretch" }, Zr = ["value"], Qr = {
2113
+ }, Yr = ["value"], Xr = ["value"], Zr = { value: "auto" }, Qr = { value: "always" }, $r = { value: "never" }, ei = { class: "tpl:flex tpl:items-stretch" }, ti = ["value"], ni = {
2086
2114
  key: 0,
2087
2115
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
2088
2116
  role: "status",
2089
2117
  "data-testid": "image-height-capped"
2090
- }, $r = ["value"], ei = { value: "auto" }, ti = { value: "custom" }, ni = {
2118
+ }, ri = ["value"], ii = { value: "auto" }, ai = { value: "custom" }, oi = {
2091
2119
  key: 2,
2092
2120
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
2093
- }, ri = ["value"], ii = 350, ai = 200, oi = /* @__PURE__ */ E({
2121
+ }, si = ["value"], ci = 350, li = 200, ui = /* @__PURE__ */ E({
2094
2122
  __name: "ImageToolbar",
2095
2123
  props: { block: {} },
2096
2124
  emits: ["update"],
2097
2125
  setup(e, { emit: t }) {
2098
- let n = e, i = t, { t: s, format: c } = U(), l = T(ze, N.liquid), d = T(Ze, null), f = d ? Qe(d) : null, w = T(He, void 0), E = _(!1), D = _(!1), { start: O } = at(() => {
2126
+ let n = e, i = t, { t: s, format: c } = W(), l = T(Re, P.liquid), d = T(Xe, null), f = d ? Ze(d) : null, w = T(Ve, void 0), E = _(!1), D = _(!1), { start: O } = it(() => {
2099
2127
  E.value = !1, D.value = !1;
2100
2128
  }, 1e3, { immediate: !1 }), A = [
2101
2129
  300,
@@ -2104,88 +2132,91 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2104
2132
  ], j = m(() => {
2105
2133
  let e = n.block.width;
2106
2134
  return e === "full" ? "full" : A.includes(e) ? String(e) : "custom";
2107
- }), M = m(() => typeof n.block.height == "number" ? "custom" : "auto");
2108
- function P(e, t) {
2135
+ }), M = m(() => typeof n.block.height == "number" ? "custom" : "auto"), N = m(() => n.block.fluidOnMobile === !0 ? "always" : n.block.fluidOnMobile === !1 ? "never" : "auto");
2136
+ function F(e, t) {
2109
2137
  i("update", { [e]: t });
2110
2138
  }
2111
- function F(e) {
2139
+ function I(e) {
2112
2140
  if (e === "custom") {
2113
2141
  let e = n.block.width;
2114
- (typeof e != "number" || A.includes(e)) && i("update", B.widthUpdates(ii));
2115
- } else i("update", B.widthUpdates(e === "full" ? "full" : Number(e)));
2116
- }
2117
- function I(e) {
2118
- P("height", e === "custom" ? ai : void 0);
2142
+ (typeof e != "number" || A.includes(e)) && i("update", xe.widthUpdates(ci));
2143
+ } else i("update", xe.widthUpdates(e === "full" ? "full" : Number(e)));
2119
2144
  }
2120
2145
  function L(e) {
2121
- let t = Number(e);
2122
- !Number.isFinite(t) || t <= 0 || P("height", t);
2146
+ F("height", e === "custom" ? li : void 0);
2123
2147
  }
2124
2148
  function ee(e) {
2125
- P("borderRadius", ie(e) === null ? void 0 : e);
2149
+ F("fluidOnMobile", e === "always" || e !== "never" && void 0);
2150
+ }
2151
+ function te(e) {
2152
+ let t = Number(e);
2153
+ !Number.isFinite(t) || t <= 0 || F("height", t);
2126
2154
  }
2127
2155
  function R(e) {
2156
+ F("borderRadius", ne(e) === null ? void 0 : e);
2157
+ }
2158
+ function z(e) {
2128
2159
  let t = Number(e);
2129
- !Number.isFinite(t) || t <= 0 || i("update", B.widthUpdates(t));
2160
+ !Number.isFinite(t) || t <= 0 || i("update", xe.widthUpdates(t));
2130
2161
  }
2131
- function te(e) {
2162
+ function re(e) {
2132
2163
  e !== n.block.src && i("update", {
2133
2164
  src: e,
2134
2165
  ...fe(null)
2135
2166
  });
2136
2167
  }
2137
- function z(e) {
2168
+ function ie(e) {
2138
2169
  i("update", {
2139
2170
  src: e.url,
2140
2171
  ...fe(se(e.width, e.height))
2141
- }), e.alt && (P("alt", e.alt), D.value = !0), E.value = !0, O();
2172
+ }), e.alt && (F("alt", e.alt), D.value = !0), E.value = !0, O();
2142
2173
  }
2143
- let ne = _(), re = m(() => k(n.block.src, l)), { canBrowse: ae, isUploading: ce, showOverlay: le, openMediaBrowser: me } = ye({
2144
- target: ne,
2145
- blocked: re,
2146
- apply: z
2147
- }), he = oe(() => re.value || !n.block.src || de(n.block) ? void 0 : n.block.src), ge = cn(() => he.value), _e = m(() => f ? pe(f.content.value, n.block.id, w) : null), B = Vr({
2174
+ let ae = _(), ce = m(() => k(n.block.src, l)), { canBrowse: le, isUploading: me, showOverlay: he, openMediaBrowser: ge } = be({
2175
+ target: ae,
2176
+ blocked: ce,
2177
+ apply: ie
2178
+ }), _e = oe(() => ce.value || !n.block.src || de(n.block) ? void 0 : n.block.src), ve = cn(() => _e.value), ye = m(() => f ? pe(f.content.value, n.block.id, w) : null), xe = Vr({
2148
2179
  block: () => n.block,
2149
- room: () => _e.value,
2150
- measured: () => ge.value
2151
- }), { available: ve, locked: be, derivedHeight: xe, cappedHeight: Se } = B;
2152
- function V() {
2153
- let e = B.setLocked(!be.value);
2180
+ room: () => ye.value,
2181
+ measured: () => ve.value
2182
+ }), { available: Se, locked: B, derivedHeight: V, cappedHeight: Ce } = xe;
2183
+ function we() {
2184
+ let e = xe.setLocked(!B.value);
2154
2185
  e && i("update", e);
2155
2186
  }
2156
- let Ce = _(null);
2157
- function we(e) {
2158
- Ce.value = e;
2159
- let t = B.heightUpdates(Number(e));
2187
+ let H = _(null);
2188
+ function Te(e) {
2189
+ H.value = e;
2190
+ let t = xe.heightUpdates(Number(e));
2160
2191
  t && i("update", t);
2161
2192
  }
2162
2193
  return (t, n) => (a(), v(S, null, [
2163
- p(J, {
2194
+ p(Y, {
2164
2195
  label: h(s).image.imageUrl,
2165
2196
  class: "tpl:mb-3.5",
2166
2197
  path: "src"
2167
2198
  }, {
2168
2199
  default: u(() => [b("div", {
2169
2200
  ref_key: "dropZoneRef",
2170
- ref: ne,
2201
+ ref: ae,
2171
2202
  class: "tpl:relative"
2172
2203
  }, [
2173
- h(le) ? (a(), C(ue, {
2204
+ h(he) ? (a(), C(ue, {
2174
2205
  key: 0,
2175
- uploading: h(ce)
2206
+ uploading: h(me)
2176
2207
  }, null, 8, ["uploading"])) : g("", !0),
2177
- p(X, {
2208
+ p(Z, {
2178
2209
  "model-value": e.block.src,
2179
2210
  type: "url",
2180
2211
  placeholder: h(s).image.imageUrlPlaceholder,
2181
2212
  pulse: E.value,
2182
- "onUpdate:modelValue": n[0] ||= (e) => te(e)
2213
+ "onUpdate:modelValue": n[0] ||= (e) => re(e)
2183
2214
  }, null, 8, [
2184
2215
  "model-value",
2185
2216
  "placeholder",
2186
2217
  "pulse"
2187
2218
  ]),
2188
- h(ae) ? (a(), v("button", {
2219
+ h(le) ? (a(), v("button", {
2189
2220
  key: 1,
2190
2221
  class: "tpl:mt-2 tpl:flex tpl:w-full tpl:items-center tpl:justify-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",
2191
2222
  style: {
@@ -2193,15 +2224,15 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2193
2224
  color: "var(--tpl-primary)",
2194
2225
  "background-color": "var(--tpl-bg)"
2195
2226
  },
2196
- onClick: n[1] ||= (...e) => h(me) && h(me)(...e)
2197
- }, [p(h(Oe), {
2227
+ onClick: n[1] ||= (...e) => h(ge) && h(ge)(...e)
2228
+ }, [p(h(De), {
2198
2229
  size: 14,
2199
2230
  "stroke-width": 1.5
2200
2231
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
2201
2232
  ], 512)]),
2202
2233
  _: 1
2203
2234
  }, 8, ["label"]),
2204
- h(k)(e.block.src, h(l)) ? (a(), C(J, {
2235
+ h(k)(e.block.src, h(l)) ? (a(), C(Y, {
2205
2236
  key: 0,
2206
2237
  class: "tpl:mb-3.5",
2207
2238
  path: "placeholderUrl"
@@ -2209,43 +2240,43 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2209
2240
  label: u(() => [y(r(h(s).image.placeholderUrl) + " ", 1), b("span", Hr, r(h(s).image.optional), 1)]),
2210
2241
  default: u(() => [b("input", {
2211
2242
  type: "url",
2212
- class: o(h(K)),
2243
+ class: o(h(q)),
2213
2244
  value: e.block.placeholderUrl || "",
2214
2245
  placeholder: h(s).image.placeholderUrlPlaceholder,
2215
2246
  title: h(s).image.placeholderUrlTooltip,
2216
- onInput: n[2] ||= (e) => P("placeholderUrl", e.target.value)
2247
+ onInput: n[2] ||= (e) => F("placeholderUrl", e.target.value)
2217
2248
  }, null, 42, Ur)]),
2218
2249
  _: 1
2219
2250
  })) : g("", !0),
2220
- p(J, {
2251
+ p(Y, {
2221
2252
  label: h(s).image.altText,
2222
2253
  class: "tpl:mb-3.5",
2223
2254
  path: "alt"
2224
2255
  }, {
2225
- default: u(() => [p(X, {
2256
+ default: u(() => [p(Z, {
2226
2257
  "model-value": e.block.alt,
2227
2258
  type: "text",
2228
2259
  placeholder: h(s).image.altTextPlaceholder,
2229
2260
  pulse: D.value,
2230
2261
  disabled: e.block.decorative === !0,
2231
- "onUpdate:modelValue": n[3] ||= (e) => P("alt", e)
2262
+ "onUpdate:modelValue": n[3] ||= (e) => F("alt", e)
2232
2263
  }, null, 8, [
2233
2264
  "model-value",
2234
2265
  "placeholder",
2235
2266
  "pulse",
2236
2267
  "disabled"
2237
- ]), p(J, {
2268
+ ]), p(Y, {
2238
2269
  path: "decorative",
2239
2270
  label: h(s).image.decorative
2240
2271
  }, {
2241
2272
  label: u(() => [b("span", null, [y(r(h(s).image.decorative) + " ", 1), b("span", Wr, r(h(s).image.decorativeHint), 1)])]),
2242
- "label-actions": u(({ controlId: t }) => [p(Y, {
2273
+ "label-actions": u(({ controlId: t }) => [p(X, {
2243
2274
  "control-id": t,
2244
2275
  "hide-label": "",
2245
2276
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2246
2277
  "model-value": e.block.decorative === !0,
2247
2278
  label: h(s).image.decorative,
2248
- "onUpdate:modelValue": n[4] ||= (e) => P("decorative", e)
2279
+ "onUpdate:modelValue": n[4] ||= (e) => F("decorative", e)
2249
2280
  }, null, 8, [
2250
2281
  "control-id",
2251
2282
  "model-value",
@@ -2255,72 +2286,89 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2255
2286
  }, 8, ["label"])]),
2256
2287
  _: 1
2257
2288
  }, 8, ["label"]),
2258
- p(J, {
2289
+ p(Y, {
2259
2290
  label: h(s).image.width,
2260
2291
  class: "tpl:mb-3.5",
2261
2292
  path: "width"
2262
2293
  }, {
2263
2294
  default: u(() => [b("select", {
2264
- class: o(h(K)),
2295
+ class: o(h(q)),
2265
2296
  "data-testid": "image-width-mode",
2266
2297
  value: j.value,
2267
- onChange: n[5] ||= (e) => F(e.target.value)
2298
+ onChange: n[5] ||= (e) => I(e.target.value)
2268
2299
  }, [
2269
2300
  b("option", Kr, r(h(s).image.fullWidth), 1),
2270
- n[15] ||= b("option", { value: "300" }, "300px", -1),
2271
- n[16] ||= b("option", { value: "400" }, "400px", -1),
2272
- n[17] ||= b("option", { value: "500" }, "500px", -1),
2301
+ n[16] ||= b("option", { value: "300" }, "300px", -1),
2302
+ n[17] ||= b("option", { value: "400" }, "400px", -1),
2303
+ n[18] ||= b("option", { value: "500" }, "500px", -1),
2273
2304
  b("option", qr, r(h(s).image.widthCustom), 1)
2274
2305
  ], 42, Gr), j.value === "custom" ? (a(), v("div", Jr, [b("input", {
2275
2306
  type: "number",
2276
2307
  "data-testid": "image-width-input",
2277
- class: o(h(G)),
2278
- value: typeof e.block.width == "number" ? e.block.width : ii,
2308
+ class: o(h(K)),
2309
+ value: typeof e.block.width == "number" ? e.block.width : ci,
2279
2310
  min: "20",
2280
- onInput: n[6] ||= (e) => R(e.target.value)
2281
- }, null, 42, Yr), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
2311
+ onInput: n[6] ||= (e) => z(e.target.value)
2312
+ }, null, 42, Yr), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
2282
2313
  _: 1
2283
2314
  }, 8, ["label"]),
2284
- p(J, {
2315
+ p(Y, {
2316
+ label: h(s).image.fluidOnMobile,
2317
+ class: "tpl:mb-3.5",
2318
+ path: "fluidOnMobile"
2319
+ }, {
2320
+ default: u(() => [b("select", {
2321
+ class: o(h(q)),
2322
+ "data-testid": "image-fluid-on-mobile",
2323
+ value: N.value,
2324
+ onChange: n[7] ||= (e) => ee(e.target.value)
2325
+ }, [
2326
+ b("option", Zr, r(h(s).image.fluidOnMobileAuto), 1),
2327
+ b("option", Qr, r(h(s).image.fluidOnMobileAlways), 1),
2328
+ b("option", $r, r(h(s).image.fluidOnMobileNever), 1)
2329
+ ], 42, Xr)]),
2330
+ _: 1
2331
+ }, 8, ["label"]),
2332
+ p(Y, {
2285
2333
  class: "tpl:mb-3.5",
2286
2334
  path: "height",
2287
2335
  label: h(s).image.height
2288
2336
  }, x({
2289
2337
  default: u(() => [
2290
- h(be) ? (a(), v(S, { key: 0 }, [b("div", Xr, [b("input", {
2338
+ h(B) ? (a(), v(S, { key: 0 }, [b("div", ei, [b("input", {
2291
2339
  type: "number",
2292
2340
  "data-testid": "image-locked-height-input",
2293
- class: o(h(G)),
2294
- value: Ce.value ?? h(xe) ?? "",
2341
+ class: o(h(K)),
2342
+ value: H.value ?? h(V) ?? "",
2295
2343
  min: "1",
2296
- onInput: n[7] ||= (e) => we(e.target.value),
2297
- onBlur: n[8] ||= (e) => Ce.value = null
2298
- }, null, 42, Zr), b("span", { class: o(h(W)) }, "px", 2)]), h(Se) === null ? g("", !0) : (a(), v("p", Qr, r(h(c)(h(s).image.heightCapped, { height: h(Se) })), 1))], 64)) : g("", !0),
2299
- h(be) ? g("", !0) : (a(), v("select", {
2344
+ onInput: n[8] ||= (e) => Te(e.target.value),
2345
+ onBlur: n[9] ||= (e) => H.value = null
2346
+ }, null, 42, ti), b("span", { class: o(h(G)) }, "px", 2)]), h(Ce) === null ? g("", !0) : (a(), v("p", ni, r(h(c)(h(s).image.heightCapped, { height: h(Ce) })), 1))], 64)) : g("", !0),
2347
+ h(B) ? g("", !0) : (a(), v("select", {
2300
2348
  key: 1,
2301
- class: o(h(K)),
2349
+ class: o(h(q)),
2302
2350
  "data-testid": "image-height-mode",
2303
2351
  value: M.value,
2304
- onChange: n[9] ||= (e) => I(e.target.value)
2305
- }, [b("option", ei, r(h(s).image.heightAuto), 1), b("option", ti, r(h(s).image.heightCustom), 1)], 42, $r)),
2306
- !h(be) && M.value === "custom" ? (a(), v("div", ni, [b("input", {
2352
+ onChange: n[10] ||= (e) => L(e.target.value)
2353
+ }, [b("option", ii, r(h(s).image.heightAuto), 1), b("option", ai, r(h(s).image.heightCustom), 1)], 42, ri)),
2354
+ !h(B) && M.value === "custom" ? (a(), v("div", oi, [b("input", {
2307
2355
  type: "number",
2308
2356
  "data-testid": "image-height-input",
2309
- class: o(h(G)),
2357
+ class: o(h(K)),
2310
2358
  value: e.block.height,
2311
2359
  min: "20",
2312
- onInput: n[10] ||= (e) => L(e.target.value)
2313
- }, null, 42, ri), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)
2360
+ onInput: n[11] ||= (e) => te(e.target.value)
2361
+ }, null, 42, si), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)
2314
2362
  ]),
2315
2363
  _: 2
2316
- }, [h(ve) ? {
2364
+ }, [h(Se) ? {
2317
2365
  name: "label-actions",
2318
2366
  fn: u(() => [p(yt, {
2319
- linked: h(be),
2367
+ linked: h(B),
2320
2368
  "link-label": h(s).image.lockAspectRatio,
2321
2369
  "unlink-label": h(s).image.unlockAspectRatio,
2322
2370
  testid: "image-aspect-lock",
2323
- onToggle: V
2371
+ onToggle: we
2324
2372
  }, null, 8, [
2325
2373
  "linked",
2326
2374
  "link-label",
@@ -2333,20 +2381,20 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2333
2381
  "model-value": e.block.borderRadius,
2334
2382
  label: h(s).image.borderRadius,
2335
2383
  "testid-prefix": "image",
2336
- "onUpdate:modelValue": ee
2384
+ "onUpdate:modelValue": R
2337
2385
  }, null, 8, ["model-value", "label"]),
2338
2386
  p(Ct, {
2339
2387
  path: "border",
2340
2388
  "model-value": e.block.border,
2341
2389
  "testid-prefix": "image",
2342
- "onUpdate:modelValue": n[11] ||= (e) => P("border", e)
2390
+ "onUpdate:modelValue": n[12] ||= (e) => F("border", e)
2343
2391
  }, null, 8, ["model-value"]),
2344
- p(J, {
2392
+ p(Y, {
2345
2393
  label: h(s).title.align,
2346
2394
  class: "tpl:mb-3.5",
2347
2395
  path: "align"
2348
2396
  }, {
2349
- default: u(() => [p(Z, {
2397
+ default: u(() => [p(Q, {
2350
2398
  options: [
2351
2399
  {
2352
2400
  value: "left",
@@ -2362,32 +2410,32 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2362
2410
  }
2363
2411
  ],
2364
2412
  "model-value": e.block.align,
2365
- "onUpdate:modelValue": n[12] ||= (e) => P("align", e)
2413
+ "onUpdate:modelValue": n[13] ||= (e) => F("align", e)
2366
2414
  }, null, 8, ["options", "model-value"])]),
2367
2415
  _: 1
2368
2416
  }, 8, ["label"]),
2369
- p(J, {
2417
+ p(Y, {
2370
2418
  label: h(s).image.linkUrl,
2371
2419
  class: "tpl:mb-3.5",
2372
2420
  path: "linkUrl"
2373
2421
  }, {
2374
- default: u(() => [p(X, {
2422
+ default: u(() => [p(Z, {
2375
2423
  "model-value": e.block.linkUrl || "",
2376
2424
  type: "url",
2377
2425
  placeholder: h(s).image.imageUrlPlaceholder,
2378
- "onUpdate:modelValue": n[13] ||= (e) => P("linkUrl", e)
2379
- }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (a(), C(J, {
2426
+ "onUpdate:modelValue": n[14] ||= (e) => F("linkUrl", e)
2427
+ }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (a(), C(Y, {
2380
2428
  key: 0,
2381
2429
  path: "linkOpenInNewTab",
2382
2430
  label: h(s).image.openInNewTab
2383
2431
  }, {
2384
- "label-actions": u(({ controlId: t }) => [p(Y, {
2432
+ "label-actions": u(({ controlId: t }) => [p(X, {
2385
2433
  "control-id": t,
2386
2434
  "hide-label": "",
2387
2435
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2388
2436
  "model-value": e.block.linkOpenInNewTab ?? !1,
2389
2437
  label: h(s).image.openInNewTab,
2390
- "onUpdate:modelValue": n[14] ||= (e) => P("linkOpenInNewTab", e)
2438
+ "onUpdate:modelValue": n[15] ||= (e) => F("linkOpenInNewTab", e)
2391
2439
  }, null, 8, [
2392
2440
  "control-id",
2393
2441
  "model-value",
@@ -2399,11 +2447,11 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2399
2447
  }, 8, ["label"])
2400
2448
  ], 64));
2401
2449
  }
2402
- }), si = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ci = { class: "tpl:flex tpl:items-center tpl:gap-2" }, li = [
2450
+ }), di = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, fi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, pi = [
2403
2451
  "value",
2404
2452
  "placeholder",
2405
2453
  "onInput"
2406
- ], ui = ["title", "onClick"], di = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, fi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, pi = ["value"], mi = { value: "" }, hi = ["value"], gi = ["value"], _i = /* @__PURE__ */ E({
2454
+ ], mi = ["title", "onClick"], hi = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, gi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, _i = ["value"], vi = { value: "" }, yi = ["value"], bi = ["value"], xi = /* @__PURE__ */ E({
2407
2455
  __name: "MenuToolbar",
2408
2456
  props: {
2409
2457
  block: {},
@@ -2411,7 +2459,7 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2411
2459
  },
2412
2460
  emits: ["update"],
2413
2461
  setup(e, { emit: t }) {
2414
- let n = e, i = t, { t: c } = U(), l = m(() => [
2462
+ let n = e, i = t, { t: c } = W(), l = m(() => [
2415
2463
  {
2416
2464
  key: "openInNewTab",
2417
2465
  label: c.menu.openInNewTab
@@ -2428,17 +2476,17 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2428
2476
  {
2429
2477
  value: "left",
2430
2478
  label: c.title.alignLeft,
2431
- icon: Ie
2479
+ icon: Fe
2432
2480
  },
2433
2481
  {
2434
2482
  value: "center",
2435
2483
  label: c.title.alignCenter,
2436
- icon: Pe
2484
+ icon: Ne
2437
2485
  },
2438
2486
  {
2439
2487
  value: "right",
2440
2488
  label: c.title.alignRight,
2441
- icon: Fe
2489
+ icon: Pe
2442
2490
  }
2443
2491
  ]);
2444
2492
  function f(e, t) {
@@ -2466,36 +2514,36 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2466
2514
  i("update", { items: n.block.items.filter((t) => t.id !== e) });
2467
2515
  }
2468
2516
  return (t, n) => (a(), v(S, null, [
2469
- p(J, { label: h(c).menu.items }, {
2470
- default: u(() => [b("div", si, [(a(!0), v(S, null, s(e.block.items, (t) => (a(), v("div", {
2517
+ p(Y, { label: h(c).menu.items }, {
2518
+ default: u(() => [b("div", di, [(a(!0), v(S, null, s(e.block.items, (t) => (a(), v("div", {
2471
2519
  key: t.id,
2472
2520
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2473
2521
  }, [
2474
- b("div", ci, [p(J, {
2522
+ b("div", fi, [p(Y, {
2475
2523
  path: t.id.includes(".") ? void 0 : `items.${t.id}.text`,
2476
2524
  label: h(c).menu.text
2477
2525
  }, {
2478
2526
  default: u(() => [b("input", {
2479
2527
  type: "text",
2480
- class: o([h(K), "tpl:flex-1"]),
2528
+ class: o([h(q), "tpl:flex-1"]),
2481
2529
  value: t.text,
2482
2530
  placeholder: h(c).menu.text,
2483
2531
  onInput: (e) => _(t.id, "text", e.target.value)
2484
- }, null, 42, li)]),
2532
+ }, null, 42, pi)]),
2485
2533
  _: 2
2486
2534
  }, 1032, ["path", "label"]), b("button", {
2487
- class: o(h(et)),
2535
+ class: o(h($e)),
2488
2536
  title: h(c).menu.removeItem,
2489
2537
  onClick: (e) => x(t.id)
2490
- }, [p(h(Re), {
2538
+ }, [p(h(Le), {
2491
2539
  size: 14,
2492
2540
  "stroke-width": 2
2493
- })], 10, ui)]),
2494
- p(J, {
2541
+ })], 10, mi)]),
2542
+ p(Y, {
2495
2543
  path: t.id.includes(".") ? void 0 : `items.${t.id}.url`,
2496
2544
  label: h(c).button.url
2497
2545
  }, {
2498
- default: u(() => [p(X, {
2546
+ default: u(() => [p(Z, {
2499
2547
  "model-value": t.url,
2500
2548
  type: "url",
2501
2549
  placeholder: h(c).menu.urlPlaceholder,
@@ -2507,12 +2555,12 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2507
2555
  ])]),
2508
2556
  _: 2
2509
2557
  }, 1032, ["path", "label"]),
2510
- b("div", di, [(a(!0), v(S, null, s(l.value, (e) => (a(), C(J, {
2558
+ b("div", hi, [(a(!0), v(S, null, s(l.value, (e) => (a(), C(Y, {
2511
2559
  key: e.key,
2512
2560
  path: t.id.includes(".") ? void 0 : `items.${t.id}.${e.key}`,
2513
2561
  label: e.label
2514
2562
  }, {
2515
- "label-actions": u(({ controlId: n }) => [p(Y, {
2563
+ "label-actions": u(({ controlId: n }) => [p(X, {
2516
2564
  "control-id": n,
2517
2565
  "hide-label": "",
2518
2566
  "model-value": t[e.key],
@@ -2526,7 +2574,7 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2526
2574
  ])]),
2527
2575
  _: 2
2528
2576
  }, 1032, ["path", "label"]))), 128))]),
2529
- b("div", fi, [p(J, {
2577
+ b("div", gi, [p(Y, {
2530
2578
  path: t.id.includes(".") ? void 0 : `items.${t.id}.color`,
2531
2579
  label: h(c).menu.color
2532
2580
  }, {
@@ -2538,33 +2586,33 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2538
2586
  _: 2
2539
2587
  }, 1032, ["path", "label"])])
2540
2588
  ]))), 128)), b("button", {
2541
- class: o(h(nt)),
2589
+ class: o(h(tt)),
2542
2590
  onClick: g
2543
- }, [p(h(H), {
2591
+ }, [p(h(U), {
2544
2592
  size: 14,
2545
2593
  "stroke-width": 2
2546
2594
  }), y(" " + r(h(c).menu.addItem), 1)], 2)])]),
2547
2595
  _: 1
2548
2596
  }, 8, ["label"]),
2549
- p(J, {
2597
+ p(Y, {
2550
2598
  path: "fontFamily",
2551
2599
  label: h(c).menu.fontFamily
2552
2600
  }, {
2553
2601
  default: u(() => [b("select", {
2554
- class: o(h(K)),
2555
- value: h(ut)(e.block.fontFamily),
2602
+ class: o(h(q)),
2603
+ value: h(lt)(e.block.fontFamily),
2556
2604
  onChange: n[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2557
- }, [b("option", mi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2605
+ }, [b("option", vi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2558
2606
  key: e.value,
2559
2607
  value: e.value
2560
- }, r(e.label), 9, hi))), 128))], 42, pi)]),
2608
+ }, r(e.label), 9, yi))), 128))], 42, _i)]),
2561
2609
  _: 1
2562
2610
  }, 8, ["label"]),
2563
- p(J, {
2611
+ p(Y, {
2564
2612
  path: "fontSize",
2565
2613
  label: h(c).menu.fontSize
2566
2614
  }, {
2567
- default: u(() => [p(Q, {
2615
+ default: u(() => [p(_t, {
2568
2616
  "model-value": e.block.fontSize,
2569
2617
  min: 8,
2570
2618
  max: 48,
@@ -2573,7 +2621,7 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2573
2621
  }, null, 8, ["model-value"])]),
2574
2622
  _: 1
2575
2623
  }, 8, ["label"]),
2576
- p(J, {
2624
+ p(Y, {
2577
2625
  path: "color",
2578
2626
  label: h(c).menu.color
2579
2627
  }, {
@@ -2583,7 +2631,7 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2583
2631
  }, null, 8, ["model-value"])]),
2584
2632
  _: 1
2585
2633
  }, 8, ["label"]),
2586
- p(J, {
2634
+ p(Y, {
2587
2635
  path: "linkColor",
2588
2636
  label: h(c).menu.linkColor
2589
2637
  }, {
@@ -2593,30 +2641,30 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2593
2641
  }, null, 8, ["model-value"])]),
2594
2642
  _: 1
2595
2643
  }, 8, ["label"]),
2596
- p(J, {
2644
+ p(Y, {
2597
2645
  path: "textAlign",
2598
2646
  label: h(c).menu.textAlign
2599
2647
  }, {
2600
- default: u(() => [p(Z, {
2648
+ default: u(() => [p(Q, {
2601
2649
  options: d.value,
2602
2650
  "model-value": e.block.textAlign,
2603
2651
  "onUpdate:modelValue": n[4] ||= (e) => f("textAlign", e)
2604
2652
  }, null, 8, ["options", "model-value"])]),
2605
2653
  _: 1
2606
2654
  }, 8, ["label"]),
2607
- p(J, {
2655
+ p(Y, {
2608
2656
  path: "separator",
2609
2657
  label: h(c).menu.separator
2610
2658
  }, {
2611
2659
  default: u(() => [b("input", {
2612
2660
  type: "text",
2613
- class: o(h(K)),
2661
+ class: o(h(q)),
2614
2662
  value: e.block.separator,
2615
2663
  onInput: n[5] ||= (e) => f("separator", e.target.value)
2616
- }, null, 42, gi)]),
2664
+ }, null, 42, bi)]),
2617
2665
  _: 1
2618
2666
  }, 8, ["label"]),
2619
- p(J, {
2667
+ p(Y, {
2620
2668
  path: "separatorColor",
2621
2669
  label: h(c).menu.separatorColor
2622
2670
  }, {
@@ -2626,11 +2674,11 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2626
2674
  }, null, 8, ["model-value"])]),
2627
2675
  _: 1
2628
2676
  }, 8, ["label"]),
2629
- p(J, {
2677
+ p(Y, {
2630
2678
  path: "spacing",
2631
2679
  label: h(c).menu.spacing
2632
2680
  }, {
2633
- default: u(() => [p(Q, {
2681
+ default: u(() => [p(_t, {
2634
2682
  "model-value": e.block.spacing,
2635
2683
  min: 0,
2636
2684
  max: 50,
@@ -2641,33 +2689,33 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2641
2689
  }, 8, ["label"])
2642
2690
  ], 64));
2643
2691
  }
2644
- }), vi = { class: "tpl:flex tpl:items-stretch" }, yi = ["value"], bi = /* @__PURE__ */ E({
2692
+ }), Si = { class: "tpl:flex tpl:items-stretch" }, Ci = ["value"], wi = /* @__PURE__ */ E({
2645
2693
  __name: "ParagraphToolbar",
2646
2694
  props: { block: {} },
2647
2695
  emits: ["update"],
2648
2696
  setup(e, { emit: t }) {
2649
- let n = t, { t: r } = U();
2650
- return (t, i) => (a(), C(J, {
2697
+ let n = t, { t: r } = W();
2698
+ return (t, i) => (a(), C(Y, {
2651
2699
  label: h(r).paragraph.paragraphSpacing,
2652
2700
  class: "tpl:mb-3.5",
2653
2701
  "data-testid": "paragraph-spacing",
2654
2702
  path: "paragraphSpacing"
2655
2703
  }, {
2656
- default: u(() => [b("div", vi, [b("input", {
2704
+ default: u(() => [b("div", Si, [b("input", {
2657
2705
  type: "number",
2658
- class: o(h(G)),
2659
- value: e.block.paragraphSpacing ?? h(M).paragraphGap,
2706
+ class: o(h(K)),
2707
+ value: e.block.paragraphSpacing ?? h(N).paragraphGap,
2660
2708
  min: "0",
2661
2709
  max: "64",
2662
2710
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2663
- }, null, 42, yi), b("span", { class: o(h(W)) }, "px", 2)])]),
2711
+ }, null, 42, Ci), b("span", { class: o(h(G)) }, "px", 2)])]),
2664
2712
  _: 1
2665
2713
  }, 8, ["label"]));
2666
2714
  }
2667
2715
  });
2668
2716
  // src/utils/rebalanceColumnChildren.ts
2669
- function xi(e, t) {
2670
- let n = ne(t);
2717
+ function Ti(e, t) {
2718
+ let n = re(t);
2671
2719
  if (e.length === n) return e;
2672
2720
  if (e.length < n) {
2673
2721
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2677,21 +2725,21 @@ function xi(e, t) {
2677
2725
  return [...r.slice(0, n - 1), a];
2678
2726
  }
2679
2727
  // src/components/toolbar/SectionToolbar.vue?vue&type=script&setup=true&lang.ts
2680
- var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2728
+ var Ei = { class: "tpl:mb-3.5" }, Di = ["value"], Oi = ["value"], ki = {
2681
2729
  key: 2,
2682
2730
  class: "tpl:mb-3.5"
2683
- }, Ei = {
2731
+ }, Ai = {
2684
2732
  key: 0,
2685
2733
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
2686
- }, Di = {
2734
+ }, ji = {
2687
2735
  key: 1,
2688
2736
  class: "tpl:mt-3 tpl:ml-0.5 tpl:space-y-3 tpl:border-l tpl:border-[var(--tpl-border)] tpl:pl-3"
2689
- }, Oi = /* @__PURE__ */ E({
2737
+ }, Mi = /* @__PURE__ */ E({
2690
2738
  __name: "SectionToolbar",
2691
2739
  props: { block: {} },
2692
2740
  emits: ["update"],
2693
2741
  setup(e, { emit: t }) {
2694
- let n = e, i = t, { t: c } = U(), l = T(He, void 0), d = T(We, void 0), f = l !== void 0 && A(l), _ = m(() => d !== !1 || !!n.block.wrapper), y = m(() => f && !n.block.wrapper), x = m(() => f && _.value), w = m(() => j(n.block)?.applied === !0), E = m(() => [
2742
+ let n = e, i = t, { t: c } = W(), l = T(Ve, void 0), d = T(Ue, void 0), f = l !== void 0 && A(l), _ = m(() => d !== !1 || !!n.block.wrapper), y = m(() => f && !n.block.wrapper), x = m(() => f && _.value), w = m(() => j(n.block)?.applied === !0), E = m(() => [
2695
2743
  {
2696
2744
  value: "1",
2697
2745
  label: c.section.column1
@@ -2714,7 +2762,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2714
2762
  }
2715
2763
  ]);
2716
2764
  function D(e) {
2717
- let t = e.target.value, r = xi(n.block.children, t);
2765
+ let t = e.target.value, r = Ti(n.block.children, t);
2718
2766
  i("update", {
2719
2767
  columns: t,
2720
2768
  children: r
@@ -2747,21 +2795,21 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2747
2795
  N({ borderRadius: e });
2748
2796
  }
2749
2797
  return (t, n) => (a(), v(S, null, [
2750
- b("div", Si, [b("label", { class: o(h(q)) }, r(h(c).section.columns), 3), b("select", {
2751
- class: o(h(K)),
2798
+ b("div", Ei, [b("label", { class: o(h(J)) }, r(h(c).section.columns), 3), b("select", {
2799
+ class: o(h(q)),
2752
2800
  value: e.block.columns,
2753
2801
  onChange: D
2754
2802
  }, [(a(!0), v(S, null, s(E.value, (e) => (a(), v("option", {
2755
2803
  key: e.value,
2756
2804
  value: e.value
2757
- }, r(e.label), 9, wi))), 128))], 42, Ci)]),
2758
- e.block.columns === "1" ? g("", !0) : (a(), C(J, {
2805
+ }, r(e.label), 9, Oi))), 128))], 42, Di)]),
2806
+ e.block.columns === "1" ? g("", !0) : (a(), C(Y, {
2759
2807
  key: 0,
2760
2808
  class: "tpl:mb-3.5",
2761
2809
  path: "stackOnMobile",
2762
2810
  label: h(c).section.stackOnMobile
2763
2811
  }, {
2764
- "label-actions": u(({ controlId: t }) => [p(Y, {
2812
+ "label-actions": u(({ controlId: t }) => [p(X, {
2765
2813
  "control-id": t,
2766
2814
  "hide-label": "",
2767
2815
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -2790,12 +2838,12 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2790
2838
  "testid-prefix": "section",
2791
2839
  "onUpdate:modelValue": n[1] ||= (e) => i("update", { border: e })
2792
2840
  }, null, 8, ["model-value"])),
2793
- _.value ? (a(), v("div", Ti, [
2794
- p(J, {
2841
+ _.value ? (a(), v("div", ki, [
2842
+ p(Y, {
2795
2843
  path: "wrapper",
2796
2844
  label: h(c).section.wrapperEnable
2797
2845
  }, {
2798
- "label-actions": u(({ controlId: t }) => [p(Y, {
2846
+ "label-actions": u(({ controlId: t }) => [p(X, {
2799
2847
  "control-id": t,
2800
2848
  "hide-label": "",
2801
2849
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -2811,9 +2859,9 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2811
2859
  ])]),
2812
2860
  _: 1
2813
2861
  }, 8, ["label"]),
2814
- x.value ? (a(), v("p", Ei, r(h(c).section.wrapperLayoutConflict), 1)) : g("", !0),
2815
- e.block.wrapper ? (a(), v("div", Di, [
2816
- b("div", null, [p(J, {
2862
+ x.value ? (a(), v("p", Ai, r(h(c).section.wrapperLayoutConflict), 1)) : g("", !0),
2863
+ e.block.wrapper ? (a(), v("div", ji, [
2864
+ b("div", null, [p(Y, {
2817
2865
  path: "wrapper.backgroundColor",
2818
2866
  label: h(c).blockSettings.color
2819
2867
  }, {
@@ -2824,7 +2872,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2824
2872
  }, null, 8, ["model-value"])]),
2825
2873
  _: 1
2826
2874
  }, 8, ["label"])]),
2827
- p(J, {
2875
+ p(Y, {
2828
2876
  path: "wrapper.backgroundImage",
2829
2877
  label: h(c).blockSettings.backgroundImage
2830
2878
  }, {
@@ -2859,12 +2907,12 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2859
2907
  ])) : g("", !0)
2860
2908
  ], 64));
2861
2909
  }
2862
- }), ki = { class: "tpl:mb-3.5" }, Ai = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ji = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Mi = ["value", "onChange"], Ni = ["value"], Pi = ["title", "onClick"], Fi = ["value"], Ii = { value: "solid" }, Li = { value: "outlined" }, Ri = { value: "rounded" }, zi = { value: "square" }, Bi = { value: "circle" }, Vi = { value: "plain" }, Hi = ["value"], Ui = { value: "brand" }, Wi = { value: "dark" }, Gi = { value: "light" }, Ki = { class: "tpl:flex tpl:items-stretch" }, qi = ["value"], Ji = /* @__PURE__ */ E({
2910
+ }), Ni = { class: "tpl:mb-3.5" }, Pi = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Fi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ii = ["value", "onChange"], Li = ["value"], Ri = ["title", "onClick"], zi = ["value"], Bi = { value: "solid" }, Vi = { value: "outlined" }, Hi = { value: "rounded" }, Ui = { value: "square" }, Wi = { value: "circle" }, Gi = { value: "plain" }, Ki = ["value"], qi = { value: "brand" }, Ji = { value: "dark" }, Yi = { value: "light" }, Xi = { class: "tpl:flex tpl:items-stretch" }, Zi = ["value"], Qi = /* @__PURE__ */ E({
2863
2911
  __name: "SocialToolbar",
2864
2912
  props: { block: {} },
2865
2913
  emits: ["update"],
2866
2914
  setup(e, { emit: t }) {
2867
- let n = e, i = t, { t: c } = U();
2915
+ let n = e, i = t, { t: c } = W();
2868
2916
  function l(e, t) {
2869
2917
  i("update", { [e]: t });
2870
2918
  }
@@ -2887,35 +2935,35 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2887
2935
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2888
2936
  }
2889
2937
  return (t, n) => (a(), v(S, null, [
2890
- b("div", ki, [b("label", { class: o(h(q)) }, r(h(c).social.icons), 3), b("div", Ai, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
2938
+ b("div", Ni, [b("label", { class: o(h(J)) }, r(h(c).social.icons), 3), b("div", Pi, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
2891
2939
  key: e.id,
2892
2940
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
2893
- }, [b("div", ji, [p(J, {
2941
+ }, [b("div", Fi, [p(Y, {
2894
2942
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
2895
2943
  label: h(c).social.icons
2896
2944
  }, {
2897
2945
  default: u(() => [b("select", {
2898
2946
  "data-testid": "social-platform-select",
2899
- class: o([h(K), "tpl:flex-1"]),
2947
+ class: o([h(q), "tpl:flex-1"]),
2900
2948
  value: e.platform,
2901
2949
  onChange: (t) => f(e.id, "platform", t.target.value)
2902
- }, [(a(!0), v(S, null, s(h(B), (e) => (a(), v("option", {
2950
+ }, [(a(!0), v(S, null, s(h(ve), (e) => (a(), v("option", {
2903
2951
  key: e,
2904
2952
  value: e
2905
- }, r(h(c).social.platforms[e]), 9, Ni))), 128))], 42, Mi)]),
2953
+ }, r(h(c).social.platforms[e]), 9, Li))), 128))], 42, Ii)]),
2906
2954
  _: 2
2907
2955
  }, 1032, ["path", "label"]), b("button", {
2908
- class: o(h(et)),
2956
+ class: o(h($e)),
2909
2957
  title: h(c).social.removeIcon,
2910
2958
  onClick: (t) => m(e.id)
2911
- }, [p(h(Re), {
2959
+ }, [p(h(Le), {
2912
2960
  size: 14,
2913
2961
  "stroke-width": 2
2914
- })], 10, Pi)]), p(J, {
2962
+ })], 10, Ri)]), p(Y, {
2915
2963
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
2916
2964
  label: h(c).button.url
2917
2965
  }, {
2918
- default: u(() => [p(X, {
2966
+ default: u(() => [p(Z, {
2919
2967
  "model-value": e.url,
2920
2968
  type: "url",
2921
2969
  placeholder: h(c).social.urlPlaceholder,
@@ -2927,54 +2975,54 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2927
2975
  ])]),
2928
2976
  _: 2
2929
2977
  }, 1032, ["path", "label"])]))), 128)), b("button", {
2930
- class: o(h(nt)),
2978
+ class: o(h(tt)),
2931
2979
  onClick: d
2932
- }, [p(h(H), {
2980
+ }, [p(h(U), {
2933
2981
  size: 14,
2934
2982
  "stroke-width": 2
2935
2983
  }), y(" " + r(h(c).social.addIcon), 1)], 2)])]),
2936
- p(J, {
2984
+ p(Y, {
2937
2985
  label: h(c).social.style,
2938
2986
  class: "tpl:mb-3.5",
2939
2987
  path: "iconStyle"
2940
2988
  }, {
2941
2989
  default: u(() => [b("select", {
2942
- class: o(h(K)),
2990
+ class: o(h(q)),
2943
2991
  value: e.block.iconStyle,
2944
2992
  onChange: n[0] ||= (e) => l("iconStyle", e.target.value)
2945
2993
  }, [
2946
- b("option", Ii, r(h(c).social.styleSolid), 1),
2947
- b("option", Li, r(h(c).social.styleOutlined), 1),
2948
- b("option", Ri, r(h(c).social.styleRounded), 1),
2949
- b("option", zi, r(h(c).social.styleSquare), 1),
2950
- b("option", Bi, r(h(c).social.styleCircle), 1),
2951
- b("option", Vi, r(h(c).social.stylePlain), 1)
2952
- ], 42, Fi)]),
2994
+ b("option", Bi, r(h(c).social.styleSolid), 1),
2995
+ b("option", Vi, r(h(c).social.styleOutlined), 1),
2996
+ b("option", Hi, r(h(c).social.styleRounded), 1),
2997
+ b("option", Ui, r(h(c).social.styleSquare), 1),
2998
+ b("option", Wi, r(h(c).social.styleCircle), 1),
2999
+ b("option", Gi, r(h(c).social.stylePlain), 1)
3000
+ ], 42, zi)]),
2953
3001
  _: 1
2954
3002
  }, 8, ["label"]),
2955
- p(J, {
3003
+ p(Y, {
2956
3004
  label: h(c).social.color,
2957
3005
  class: "tpl:mb-3.5",
2958
3006
  path: "iconTone"
2959
3007
  }, {
2960
3008
  default: u(() => [b("select", {
2961
3009
  "data-testid": "social-tone-select",
2962
- class: o(h(K)),
3010
+ class: o(h(q)),
2963
3011
  value: e.block.iconTone ?? "brand",
2964
3012
  onChange: n[1] ||= (e) => l("iconTone", e.target.value)
2965
3013
  }, [
2966
- b("option", Ui, r(h(c).social.colorBrand), 1),
2967
- b("option", Wi, r(h(c).social.colorDark), 1),
2968
- b("option", Gi, r(h(c).social.colorLight), 1)
2969
- ], 42, Hi)]),
3014
+ b("option", qi, r(h(c).social.colorBrand), 1),
3015
+ b("option", Ji, r(h(c).social.colorDark), 1),
3016
+ b("option", Yi, r(h(c).social.colorLight), 1)
3017
+ ], 42, Ki)]),
2970
3018
  _: 1
2971
3019
  }, 8, ["label"]),
2972
- p(J, {
3020
+ p(Y, {
2973
3021
  label: h(c).social.size,
2974
3022
  class: "tpl:mb-3.5",
2975
3023
  path: "iconSize"
2976
3024
  }, {
2977
- default: u(() => [p(Z, {
3025
+ default: u(() => [p(Q, {
2978
3026
  options: [
2979
3027
  {
2980
3028
  value: "small",
@@ -2994,42 +3042,42 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2994
3042
  }, null, 8, ["options", "model-value"])]),
2995
3043
  _: 1
2996
3044
  }, 8, ["label"]),
2997
- p(J, {
3045
+ p(Y, {
2998
3046
  label: h(c).social.spacing,
2999
3047
  class: "tpl:mb-3.5",
3000
3048
  path: "spacing"
3001
3049
  }, {
3002
- default: u(() => [b("div", Ki, [b("input", {
3050
+ default: u(() => [b("div", Xi, [b("input", {
3003
3051
  type: "number",
3004
- class: o(h(G)),
3052
+ class: o(h(K)),
3005
3053
  value: e.block.spacing,
3006
3054
  min: "0",
3007
3055
  max: "50",
3008
3056
  onInput: n[3] ||= (e) => l("spacing", Number(e.target.value))
3009
- }, null, 42, qi), b("span", { class: o(h(W)) }, "px", 2)])]),
3057
+ }, null, 42, Zi), b("span", { class: o(h(G)) }, "px", 2)])]),
3010
3058
  _: 1
3011
3059
  }, 8, ["label"]),
3012
- p(J, {
3060
+ p(Y, {
3013
3061
  label: h(c).social.align,
3014
3062
  class: "tpl:mb-3.5",
3015
3063
  path: "align"
3016
3064
  }, {
3017
- default: u(() => [p(Z, {
3065
+ default: u(() => [p(Q, {
3018
3066
  options: [
3019
3067
  {
3020
3068
  value: "left",
3021
3069
  label: h(c).title.alignLeft,
3022
- icon: h(Ie)
3070
+ icon: h(Fe)
3023
3071
  },
3024
3072
  {
3025
3073
  value: "center",
3026
3074
  label: h(c).title.alignCenter,
3027
- icon: h(Pe)
3075
+ icon: h(Ne)
3028
3076
  },
3029
3077
  {
3030
3078
  value: "right",
3031
3079
  label: h(c).title.alignRight,
3032
- icon: h(Fe)
3080
+ icon: h(Pe)
3033
3081
  }
3034
3082
  ],
3035
3083
  "model-value": e.block.align,
@@ -3039,36 +3087,36 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3039
3087
  }, 8, ["label"])
3040
3088
  ], 64));
3041
3089
  }
3042
- }), Yi = { class: "tpl:flex tpl:items-stretch" }, Xi = ["value"], Zi = ["value"], Qi = /* @__PURE__ */ E({
3090
+ }), $i = { class: "tpl:flex tpl:items-stretch" }, ea = ["value"], ta = ["value"], na = /* @__PURE__ */ E({
3043
3091
  __name: "SpacerToolbar",
3044
3092
  props: { block: {} },
3045
3093
  emits: ["update"],
3046
3094
  setup(e, { emit: t }) {
3047
- let n = t, { t: r } = U();
3048
- return (t, i) => (a(), C(J, {
3095
+ let n = t, { t: r } = W();
3096
+ return (t, i) => (a(), C(Y, {
3049
3097
  label: h(r).spacer.height,
3050
3098
  class: "tpl:mb-3.5",
3051
3099
  path: "height"
3052
3100
  }, {
3053
- default: u(() => [b("div", Yi, [b("input", {
3101
+ default: u(() => [b("div", $i, [b("input", {
3054
3102
  type: "number",
3055
- class: o(h(G)),
3103
+ class: o(h(K)),
3056
3104
  value: e.block.height,
3057
3105
  min: "10",
3058
3106
  max: "100",
3059
3107
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
3060
- }, null, 42, Xi), b("span", { class: o(h(W)) }, "px", 2)]), b("input", {
3108
+ }, null, 42, ea), b("span", { class: o(h(G)) }, "px", 2)]), b("input", {
3061
3109
  type: "range",
3062
3110
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
3063
3111
  value: e.block.height,
3064
3112
  min: "10",
3065
3113
  max: "100",
3066
3114
  onInput: i[1] ||= (e) => n("update", { height: Number(e.target.value) })
3067
- }, null, 40, Zi)]),
3115
+ }, null, 40, ta)]),
3068
3116
  _: 1
3069
3117
  }, 8, ["label"]));
3070
3118
  }
3071
- }), $i = { class: "tpl:mb-3.5" }, ea = { class: "tpl:flex tpl:items-center tpl:gap-3" }, ta = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, na = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ra = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ia = ["disabled"], aa = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, oa = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, sa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, ca = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, la = ["disabled"], ua = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, da = { class: "tpl:flex tpl:items-stretch" }, fa = ["value"], pa = { class: "tpl:flex tpl:items-stretch" }, ma = ["value"], ha = ["value"], ga = { value: "" }, _a = ["value"], va = { class: "tpl:flex tpl:items-stretch" }, ya = ["value"], ba = /* @__PURE__ */ E({
3119
+ }), ra = { class: "tpl:mb-3.5" }, ia = { class: "tpl:flex tpl:items-center tpl:gap-3" }, aa = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, oa = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, sa = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, ca = ["disabled"], la = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ua = { class: "tpl:flex tpl:flex-1 tpl:items-center tpl:gap-1.5" }, da = { class: "tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, fa = { class: "tpl:flex tpl:items-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)]" }, pa = ["disabled"], ma = { class: "tpl:min-w-[20px] tpl:text-center tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text)]" }, ha = { class: "tpl:flex tpl:items-stretch" }, ga = ["value"], _a = { class: "tpl:flex tpl:items-stretch" }, va = ["value"], ya = ["value"], ba = { value: "" }, xa = ["value"], Sa = { class: "tpl:flex tpl:items-stretch" }, Ca = ["value"], wa = /* @__PURE__ */ E({
3072
3120
  __name: "TableToolbar",
3073
3121
  props: {
3074
3122
  block: {},
@@ -3076,7 +3124,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3076
3124
  },
3077
3125
  emits: ["update"],
3078
3126
  setup(e, { emit: t }) {
3079
- let n = e, i = t, { t: c } = U(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3127
+ let n = e, i = t, { t: c } = W(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3080
3128
  function d(e, t) {
3081
3129
  i("update", { [e]: t });
3082
3130
  }
@@ -3111,47 +3159,47 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3111
3159
  i("update", { rows: t });
3112
3160
  }
3113
3161
  return (t, n) => (a(), v(S, null, [
3114
- b("div", $i, [b("label", { class: o(h(q)) }, r(h(c).table.dimensions), 3), b("div", ea, [b("div", ta, [b("span", na, r(h(c).table.rows), 1), b("div", ra, [
3162
+ b("div", ra, [b("label", { class: o(h(J)) }, r(h(c).table.dimensions), 3), b("div", ia, [b("div", aa, [b("span", oa, r(h(c).table.rows), 1), b("div", sa, [
3115
3163
  b("button", {
3116
3164
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
3117
3165
  disabled: e.block.rows.length <= 1,
3118
3166
  onClick: n[0] ||= (t) => _(e.block.rows[e.block.rows.length - 1].id)
3119
- }, [p(h(Te), {
3167
+ }, [p(h(H), {
3120
3168
  size: 12,
3121
3169
  "stroke-width": 2
3122
- })], 8, ia),
3123
- b("span", aa, r(e.block.rows.length), 1),
3170
+ })], 8, ca),
3171
+ b("span", la, r(e.block.rows.length), 1),
3124
3172
  b("button", {
3125
3173
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
3126
3174
  onClick: f
3127
- }, [p(h(H), {
3175
+ }, [p(h(U), {
3128
3176
  size: 12,
3129
3177
  "stroke-width": 2
3130
3178
  })])
3131
- ])]), b("div", oa, [b("span", sa, r(h(c).table.columns), 1), b("div", ca, [
3179
+ ])]), b("div", ua, [b("span", da, r(h(c).table.columns), 1), b("div", fa, [
3132
3180
  b("button", {
3133
3181
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)] tpl:disabled:opacity-30",
3134
3182
  disabled: l.value <= 1,
3135
3183
  onClick: n[1] ||= (e) => x(l.value - 1)
3136
- }, [p(h(Te), {
3184
+ }, [p(h(H), {
3137
3185
  size: 12,
3138
3186
  "stroke-width": 2
3139
- })], 8, la),
3140
- b("span", ua, r(l.value), 1),
3187
+ })], 8, pa),
3188
+ b("span", ma, r(l.value), 1),
3141
3189
  b("button", {
3142
3190
  class: "tpl:flex tpl:items-center tpl:justify-center tpl:px-1.5 tpl:py-1 tpl:text-[var(--tpl-text-muted)] tpl:transition-colors tpl:hover:text-[var(--tpl-primary)]",
3143
3191
  onClick: y
3144
- }, [p(h(H), {
3192
+ }, [p(h(U), {
3145
3193
  size: 12,
3146
3194
  "stroke-width": 2
3147
3195
  })])
3148
3196
  ])])])]),
3149
- p(J, {
3197
+ p(Y, {
3150
3198
  class: "tpl:mb-3.5",
3151
3199
  path: "hasHeaderRow",
3152
3200
  label: h(c).table.hasHeaderRow
3153
3201
  }, {
3154
- "label-actions": u(({ controlId: t }) => [p(Y, {
3202
+ "label-actions": u(({ controlId: t }) => [p(X, {
3155
3203
  "control-id": t,
3156
3204
  "hide-label": "",
3157
3205
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -3165,7 +3213,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3165
3213
  ])]),
3166
3214
  _: 1
3167
3215
  }, 8, ["label"]),
3168
- e.block.hasHeaderRow ? (a(), C(J, {
3216
+ e.block.hasHeaderRow ? (a(), C(Y, {
3169
3217
  key: 0,
3170
3218
  label: h(c).table.headerBackgroundColor,
3171
3219
  class: "tpl:mb-3.5",
@@ -3173,7 +3221,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3173
3221
  }, {
3174
3222
  default: u(() => [p(V, {
3175
3223
  "model-value": e.block.headerBackgroundColor ?? "",
3176
- "seed-color": h(rt),
3224
+ "seed-color": h(nt),
3177
3225
  placeholder: h(c).table.noHeaderBg,
3178
3226
  "onUpdate:modelValue": n[3] ||= (e) => d("headerBackgroundColor", e || null)
3179
3227
  }, null, 8, [
@@ -3183,7 +3231,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3183
3231
  ])]),
3184
3232
  _: 1
3185
3233
  }, 8, ["label"])) : g("", !0),
3186
- p(J, {
3234
+ p(Y, {
3187
3235
  label: h(c).table.borderColor,
3188
3236
  class: "tpl:mb-3.5",
3189
3237
  path: "borderColor"
@@ -3194,67 +3242,67 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3194
3242
  }, null, 8, ["model-value"])]),
3195
3243
  _: 1
3196
3244
  }, 8, ["label"]),
3197
- p(J, {
3245
+ p(Y, {
3198
3246
  label: h(c).table.borderWidth,
3199
3247
  class: "tpl:mb-3.5",
3200
3248
  path: "borderWidth"
3201
3249
  }, {
3202
- default: u(() => [b("div", da, [b("input", {
3250
+ default: u(() => [b("div", ha, [b("input", {
3203
3251
  type: "number",
3204
- class: o(h(G)),
3252
+ class: o(h(K)),
3205
3253
  value: e.block.borderWidth,
3206
3254
  min: "0",
3207
3255
  max: "10",
3208
3256
  onInput: n[5] ||= (e) => d("borderWidth", Number(e.target.value))
3209
- }, null, 42, fa), b("span", { class: o(h(W)) }, "px", 2)])]),
3257
+ }, null, 42, ga), b("span", { class: o(h(G)) }, "px", 2)])]),
3210
3258
  _: 1
3211
3259
  }, 8, ["label"]),
3212
- p(J, {
3260
+ p(Y, {
3213
3261
  label: h(c).table.cellPadding,
3214
3262
  class: "tpl:mb-3.5",
3215
3263
  path: "cellPadding"
3216
3264
  }, {
3217
- default: u(() => [b("div", pa, [b("input", {
3265
+ default: u(() => [b("div", _a, [b("input", {
3218
3266
  type: "number",
3219
- class: o(h(G)),
3267
+ class: o(h(K)),
3220
3268
  value: e.block.cellPadding,
3221
3269
  min: "0",
3222
3270
  max: "30",
3223
3271
  onInput: n[6] ||= (e) => d("cellPadding", Number(e.target.value))
3224
- }, null, 42, ma), b("span", { class: o(h(W)) }, "px", 2)])]),
3272
+ }, null, 42, va), b("span", { class: o(h(G)) }, "px", 2)])]),
3225
3273
  _: 1
3226
3274
  }, 8, ["label"]),
3227
- p(J, {
3275
+ p(Y, {
3228
3276
  label: h(c).table.fontFamily,
3229
3277
  class: "tpl:mb-3.5",
3230
3278
  path: "fontFamily"
3231
3279
  }, {
3232
3280
  default: u(() => [b("select", {
3233
- class: o(h(K)),
3234
- value: h(ut)(e.block.fontFamily),
3281
+ class: o(h(q)),
3282
+ value: h(lt)(e.block.fontFamily),
3235
3283
  onChange: n[7] ||= (e) => d("fontFamily", e.target.value || void 0)
3236
- }, [b("option", ga, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3284
+ }, [b("option", ba, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3237
3285
  key: e.value,
3238
3286
  value: e.value
3239
- }, r(e.label), 9, _a))), 128))], 42, ha)]),
3287
+ }, r(e.label), 9, xa))), 128))], 42, ya)]),
3240
3288
  _: 1
3241
3289
  }, 8, ["label"]),
3242
- p(J, {
3290
+ p(Y, {
3243
3291
  label: h(c).table.fontSize,
3244
3292
  class: "tpl:mb-3.5",
3245
3293
  path: "fontSize"
3246
3294
  }, {
3247
- default: u(() => [b("div", va, [b("input", {
3295
+ default: u(() => [b("div", Sa, [b("input", {
3248
3296
  type: "number",
3249
- class: o(h(G)),
3297
+ class: o(h(K)),
3250
3298
  value: e.block.fontSize,
3251
3299
  min: "10",
3252
3300
  max: "32",
3253
3301
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
3254
- }, null, 42, ya), b("span", { class: o(h(W)) }, "px", 2)])]),
3302
+ }, null, 42, Ca), b("span", { class: o(h(G)) }, "px", 2)])]),
3255
3303
  _: 1
3256
3304
  }, 8, ["label"]),
3257
- p(J, {
3305
+ p(Y, {
3258
3306
  label: h(c).table.color,
3259
3307
  class: "tpl:mb-3.5",
3260
3308
  path: "color"
@@ -3265,27 +3313,27 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3265
3313
  }, null, 8, ["model-value"])]),
3266
3314
  _: 1
3267
3315
  }, 8, ["label"]),
3268
- p(J, {
3316
+ p(Y, {
3269
3317
  label: h(c).table.textAlign,
3270
3318
  class: "tpl:mb-3.5",
3271
3319
  path: "textAlign"
3272
3320
  }, {
3273
- default: u(() => [p(Z, {
3321
+ default: u(() => [p(Q, {
3274
3322
  options: [
3275
3323
  {
3276
3324
  value: "left",
3277
3325
  label: h(c).title.alignLeft,
3278
- icon: h(Ie)
3326
+ icon: h(Fe)
3279
3327
  },
3280
3328
  {
3281
3329
  value: "center",
3282
3330
  label: h(c).title.alignCenter,
3283
- icon: h(Pe)
3331
+ icon: h(Ne)
3284
3332
  },
3285
3333
  {
3286
3334
  value: "right",
3287
3335
  label: h(c).title.alignRight,
3288
- icon: h(Fe)
3336
+ icon: h(Pe)
3289
3337
  }
3290
3338
  ],
3291
3339
  "model-value": e.block.textAlign,
@@ -3295,7 +3343,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3295
3343
  }, 8, ["label"])
3296
3344
  ], 64));
3297
3345
  }
3298
- }), xa = ["value"], Sa = { value: 1 }, Ca = { value: 2 }, wa = { value: 3 }, Ta = { value: 4 }, Ea = ["value"], Da = { value: "" }, Oa = ["value"], ka = /* @__PURE__ */ E({
3346
+ }), Ta = ["value"], Ea = { value: 1 }, Da = { value: 2 }, Oa = { value: 3 }, ka = { value: 4 }, Aa = ["value"], ja = { value: "" }, Ma = ["value"], Na = /* @__PURE__ */ E({
3299
3347
  __name: "TitleToolbar",
3300
3348
  props: {
3301
3349
  block: {},
@@ -3303,44 +3351,44 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3303
3351
  },
3304
3352
  emits: ["update"],
3305
3353
  setup(e, { emit: t }) {
3306
- let n = t, { t: i } = U();
3354
+ let n = t, { t: i } = W();
3307
3355
  function c(e, t) {
3308
3356
  n("update", { [e]: t });
3309
3357
  }
3310
3358
  return (t, n) => (a(), v(S, null, [
3311
- p(J, {
3359
+ p(Y, {
3312
3360
  label: h(i).title.level,
3313
3361
  class: "tpl:mb-3.5",
3314
3362
  path: "level"
3315
3363
  }, {
3316
3364
  default: u(() => [b("select", {
3317
- class: o(h(K)),
3365
+ class: o(h(q)),
3318
3366
  value: e.block.level,
3319
3367
  onChange: n[0] ||= (e) => c("level", Number(e.target.value))
3320
3368
  }, [
3321
- b("option", Sa, r(h(i).title.heading1), 1),
3322
- b("option", Ca, r(h(i).title.heading2), 1),
3323
- b("option", wa, r(h(i).title.heading3), 1),
3324
- b("option", Ta, r(h(i).title.heading4), 1)
3325
- ], 42, xa)]),
3369
+ b("option", Ea, r(h(i).title.heading1), 1),
3370
+ b("option", Da, r(h(i).title.heading2), 1),
3371
+ b("option", Oa, r(h(i).title.heading3), 1),
3372
+ b("option", ka, r(h(i).title.heading4), 1)
3373
+ ], 42, Ta)]),
3326
3374
  _: 1
3327
3375
  }, 8, ["label"]),
3328
- p(J, {
3376
+ p(Y, {
3329
3377
  label: h(i).title.fontFamily,
3330
3378
  class: "tpl:mb-3.5",
3331
3379
  path: "fontFamily"
3332
3380
  }, {
3333
3381
  default: u(() => [b("select", {
3334
- class: o(h(K)),
3335
- value: h(ut)(e.block.fontFamily),
3382
+ class: o(h(q)),
3383
+ value: h(lt)(e.block.fontFamily),
3336
3384
  onChange: n[1] ||= (e) => c("fontFamily", e.target.value || void 0)
3337
- }, [b("option", Da, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3385
+ }, [b("option", ja, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3338
3386
  key: e.value,
3339
3387
  value: e.value
3340
- }, r(e.label), 9, Oa))), 128))], 42, Ea)]),
3388
+ }, r(e.label), 9, Ma))), 128))], 42, Aa)]),
3341
3389
  _: 1
3342
3390
  }, 8, ["label"]),
3343
- p(J, {
3391
+ p(Y, {
3344
3392
  label: h(i).title.color,
3345
3393
  class: "tpl:mb-3.5",
3346
3394
  path: "color"
@@ -3351,27 +3399,27 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3351
3399
  }, null, 8, ["model-value"])]),
3352
3400
  _: 1
3353
3401
  }, 8, ["label"]),
3354
- p(J, {
3402
+ p(Y, {
3355
3403
  label: h(i).title.align,
3356
3404
  class: "tpl:mb-3.5",
3357
3405
  path: "textAlign"
3358
3406
  }, {
3359
- default: u(() => [p(Z, {
3407
+ default: u(() => [p(Q, {
3360
3408
  options: [
3361
3409
  {
3362
3410
  value: "left",
3363
3411
  label: h(i).title.alignLeft,
3364
- icon: h(Ie)
3412
+ icon: h(Fe)
3365
3413
  },
3366
3414
  {
3367
3415
  value: "center",
3368
3416
  label: h(i).title.alignCenter,
3369
- icon: h(Pe)
3417
+ icon: h(Ne)
3370
3418
  },
3371
3419
  {
3372
3420
  value: "right",
3373
3421
  label: h(i).title.alignRight,
3374
- icon: h(Fe)
3422
+ icon: h(Pe)
3375
3423
  }
3376
3424
  ],
3377
3425
  "model-value": e.block.textAlign,
@@ -3381,29 +3429,29 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3381
3429
  }, 8, ["label"])
3382
3430
  ], 64));
3383
3431
  }
3384
- }), Aa = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ja = [
3432
+ }), Pa = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Fa = [
3385
3433
  "value",
3386
3434
  "placeholder",
3387
3435
  "title"
3388
- ], Ma = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Na = ["value"], Pa = { value: "full" }, Fa = { value: "custom" }, Ia = {
3436
+ ], Ia = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, La = ["value"], Ra = { value: "full" }, za = { value: "custom" }, Ba = {
3389
3437
  key: 0,
3390
3438
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3391
- }, La = ["value"], Ra = ["value"], za = { value: "auto" }, Ba = { value: "custom" }, Va = {
3439
+ }, Va = ["value"], Ha = ["value"], Ua = { value: "auto" }, Wa = { value: "custom" }, Ga = {
3392
3440
  key: 0,
3393
3441
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
3394
- }, Ha = ["value"], Ua = 350, Wa = 200, Ga = /* @__PURE__ */ E({
3442
+ }, Ka = ["value"], qa = 350, Ja = 200, Ya = /* @__PURE__ */ E({
3395
3443
  __name: "VideoToolbar",
3396
3444
  props: { block: {} },
3397
3445
  emits: ["update"],
3398
3446
  setup(e, { emit: t }) {
3399
- let n = e, i = t, { t: s } = U(), c = T(Ue, null), l = T(ze, N.liquid), d = le(), f = [
3447
+ let n = e, i = t, { t: s } = W(), c = T(He, null), l = T(Re, P.liquid), d = le(), f = [
3400
3448
  300,
3401
3449
  400,
3402
3450
  500
3403
3451
  ], x = m(() => !!c), w = m(() => k(n.block.url, l)), E = m(() => {
3404
3452
  let e = n.block.width;
3405
3453
  return e === "full" ? "full" : f.includes(e) ? String(e) : "custom";
3406
- }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: A } = at(() => {
3454
+ }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: A } = it(() => {
3407
3455
  O.value = !1;
3408
3456
  }, 1e3, { immediate: !1 });
3409
3457
  function j(e, t) {
@@ -3412,15 +3460,15 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3412
3460
  function M(e) {
3413
3461
  if (e === "custom") {
3414
3462
  let e = n.block.width;
3415
- (typeof e != "number" || f.includes(e)) && j("width", Ua);
3463
+ (typeof e != "number" || f.includes(e)) && j("width", qa);
3416
3464
  } else j("width", e === "full" ? "full" : Number(e));
3417
3465
  }
3418
- function P(e) {
3466
+ function N(e) {
3419
3467
  let t = Number(e);
3420
3468
  !Number.isFinite(t) || t <= 0 || j("width", t);
3421
3469
  }
3422
3470
  function F(e) {
3423
- j("height", e === "custom" ? Wa : void 0);
3471
+ j("height", e === "custom" ? Ja : void 0);
3424
3472
  }
3425
3473
  function I(e) {
3426
3474
  let t = Number(e);
@@ -3431,22 +3479,22 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3431
3479
  d.alive && e && (j("thumbnailUrl", e.url), O.value = !0, A());
3432
3480
  }
3433
3481
  return (t, n) => (a(), v(S, null, [
3434
- p(J, {
3482
+ p(Y, {
3435
3483
  label: h(s).video.videoUrl,
3436
3484
  class: "tpl:mb-3.5",
3437
3485
  path: "url"
3438
3486
  }, {
3439
- default: u(() => [p(X, {
3487
+ default: u(() => [p(Z, {
3440
3488
  "model-value": e.block.url,
3441
3489
  type: "url",
3442
3490
  placeholder: h(s).video.videoUrlPlaceholder,
3443
3491
  "onUpdate:modelValue": n[0] ||= (e) => j("url", e)
3444
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(J, {
3492
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(Y, {
3445
3493
  key: 0,
3446
3494
  path: "openInNewTab",
3447
3495
  label: h(s).video.openInNewTab
3448
3496
  }, {
3449
- "label-actions": u(({ controlId: t }) => [p(Y, {
3497
+ "label-actions": u(({ controlId: t }) => [p(X, {
3450
3498
  "control-id": t,
3451
3499
  "hide-label": "",
3452
3500
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -3462,28 +3510,28 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3462
3510
  }, 8, ["label"])) : g("", !0)]),
3463
3511
  _: 1
3464
3512
  }, 8, ["label"]),
3465
- w.value ? (a(), C(J, {
3513
+ w.value ? (a(), C(Y, {
3466
3514
  key: 0,
3467
3515
  class: "tpl:mb-3.5",
3468
3516
  path: "placeholderUrl"
3469
3517
  }, {
3470
- label: u(() => [y(r(h(s).video.placeholderUrl) + " ", 1), b("span", Aa, r(h(s).video.optional), 1)]),
3518
+ label: u(() => [y(r(h(s).video.placeholderUrl) + " ", 1), b("span", Pa, r(h(s).video.optional), 1)]),
3471
3519
  default: u(() => [b("input", {
3472
3520
  type: "url",
3473
- class: o(h(K)),
3521
+ class: o(h(q)),
3474
3522
  value: e.block.placeholderUrl || "",
3475
3523
  placeholder: h(s).video.placeholderUrlPlaceholder,
3476
3524
  title: h(s).video.placeholderUrlTooltip,
3477
3525
  onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
3478
- }, null, 42, ja)]),
3526
+ }, null, 42, Fa)]),
3479
3527
  _: 1
3480
3528
  })) : g("", !0),
3481
- p(J, {
3529
+ p(Y, {
3482
3530
  class: "tpl:mb-3.5",
3483
3531
  path: "thumbnailUrl"
3484
3532
  }, {
3485
- label: u(() => [y(r(h(s).video.customThumbnail) + " ", 1), b("span", Ma, r(h(s).video.optional), 1)]),
3486
- default: u(() => [p(X, {
3533
+ label: u(() => [y(r(h(s).video.customThumbnail) + " ", 1), b("span", Ia, r(h(s).video.optional), 1)]),
3534
+ default: u(() => [p(Z, {
3487
3535
  "model-value": e.block.thumbnailUrl,
3488
3536
  type: "url",
3489
3537
  placeholder: h(s).video.thumbnailPlaceholder,
@@ -3502,18 +3550,18 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3502
3550
  "background-color": "var(--tpl-bg)"
3503
3551
  },
3504
3552
  onClick: L
3505
- }, [p(h(Oe), {
3553
+ }, [p(h(De), {
3506
3554
  size: 14,
3507
3555
  "stroke-width": 1.5
3508
3556
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)]),
3509
3557
  _: 1
3510
3558
  }),
3511
- p(J, {
3559
+ p(Y, {
3512
3560
  label: h(s).video.altText,
3513
3561
  class: "tpl:mb-3.5",
3514
3562
  path: "alt"
3515
3563
  }, {
3516
- default: u(() => [p(X, {
3564
+ default: u(() => [p(Z, {
3517
3565
  "model-value": e.block.alt,
3518
3566
  type: "text",
3519
3567
  placeholder: h(s).video.altTextPlaceholder,
@@ -3521,58 +3569,58 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3521
3569
  }, null, 8, ["model-value", "placeholder"])]),
3522
3570
  _: 1
3523
3571
  }, 8, ["label"]),
3524
- p(J, {
3572
+ p(Y, {
3525
3573
  label: h(s).video.width,
3526
3574
  class: "tpl:mb-3.5",
3527
3575
  path: "width"
3528
3576
  }, {
3529
3577
  default: u(() => [b("select", {
3530
- class: o(h(K)),
3578
+ class: o(h(q)),
3531
3579
  "data-testid": "video-width-mode",
3532
3580
  value: E.value,
3533
3581
  onChange: n[5] ||= (e) => M(e.target.value)
3534
3582
  }, [
3535
- b("option", Pa, r(h(s).video.fullWidth), 1),
3583
+ b("option", Ra, r(h(s).video.fullWidth), 1),
3536
3584
  n[10] ||= b("option", { value: "300" }, "300px", -1),
3537
3585
  n[11] ||= b("option", { value: "400" }, "400px", -1),
3538
3586
  n[12] ||= b("option", { value: "500" }, "500px", -1),
3539
- b("option", Fa, r(h(s).video.widthCustom), 1)
3540
- ], 42, Na), E.value === "custom" ? (a(), v("div", Ia, [b("input", {
3587
+ b("option", za, r(h(s).video.widthCustom), 1)
3588
+ ], 42, La), E.value === "custom" ? (a(), v("div", Ba, [b("input", {
3541
3589
  type: "number",
3542
3590
  "data-testid": "video-width-input",
3543
- class: o(h(G)),
3591
+ class: o(h(K)),
3544
3592
  value: e.block.width,
3545
3593
  min: "20",
3546
- onInput: n[6] ||= (e) => P(e.target.value)
3547
- }, null, 42, La), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
3594
+ onInput: n[6] ||= (e) => N(e.target.value)
3595
+ }, null, 42, Va), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
3548
3596
  _: 1
3549
3597
  }, 8, ["label"]),
3550
- p(J, {
3598
+ p(Y, {
3551
3599
  label: h(s).video.height,
3552
3600
  class: "tpl:mb-3.5",
3553
3601
  path: "height"
3554
3602
  }, {
3555
3603
  default: u(() => [b("select", {
3556
- class: o(h(K)),
3604
+ class: o(h(q)),
3557
3605
  "data-testid": "video-height-mode",
3558
3606
  value: D.value,
3559
3607
  onChange: n[7] ||= (e) => F(e.target.value)
3560
- }, [b("option", za, r(h(s).video.heightAuto), 1), b("option", Ba, r(h(s).video.heightCustom), 1)], 42, Ra), D.value === "custom" ? (a(), v("div", Va, [b("input", {
3608
+ }, [b("option", Ua, r(h(s).video.heightAuto), 1), b("option", Wa, r(h(s).video.heightCustom), 1)], 42, Ha), D.value === "custom" ? (a(), v("div", Ga, [b("input", {
3561
3609
  type: "number",
3562
3610
  "data-testid": "video-height-input",
3563
- class: o(h(G)),
3611
+ class: o(h(K)),
3564
3612
  value: e.block.height,
3565
3613
  min: "20",
3566
3614
  onInput: n[8] ||= (e) => I(e.target.value)
3567
- }, null, 42, Ha), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
3615
+ }, null, 42, Ka), b("span", { class: o(h(G)) }, "px", 2)])) : g("", !0)]),
3568
3616
  _: 1
3569
3617
  }, 8, ["label"]),
3570
- p(J, {
3618
+ p(Y, {
3571
3619
  label: h(s).title.align,
3572
3620
  class: "tpl:mb-3.5",
3573
3621
  path: "align"
3574
3622
  }, {
3575
- default: u(() => [p(Z, {
3623
+ default: u(() => [p(Q, {
3576
3624
  options: [
3577
3625
  {
3578
3626
  value: "left",
@@ -3594,7 +3642,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3594
3642
  }, 8, ["label"])
3595
3643
  ], 64));
3596
3644
  }
3597
- }), Ka = ["aria-label"], qa = ["disabled", "inert"], Ja = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, Ya = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, Xa = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, Za = { class: "tpl:flex tpl:gap-1" }, Qa = ["title"], $a = ["title"], eo = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, to = /*@__PURE__*/ E({
3645
+ }), Xa = ["aria-label"], Za = ["disabled", "inert"], Qa = { class: "tpl:flex tpl:items-center tpl:justify-between tpl:border-b tpl:border-[var(--tpl-border)] tpl:px-4 tpl:py-3.5" }, $a = { class: "tpl:flex tpl:items-center tpl:gap-2 tpl:text-[var(--tpl-primary)]" }, eo = { class: "tpl:m-0 tpl:text-sm tpl:font-semibold tpl:text-[var(--tpl-text)]" }, to = { class: "tpl:flex tpl:gap-1" }, no = ["title"], ro = ["title"], io = { class: "tpl:flex-1 tpl:overflow-y-auto tpl:p-4" }, ao = /*@__PURE__*/ E({
3598
3646
  __name: "Toolbar",
3599
3647
  props: { block: {} },
3600
3648
  emits: [
@@ -3603,9 +3651,9 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3603
3651
  "duplicate"
3604
3652
  ],
3605
3653
  setup(e, { emit: t }) {
3606
- let n = w(() => import("./CountdownToolbar-DTpMEDyh.js")), o = e, s = t, { t: c } = U(), l = ot(), u = Je(Ke, "Toolbar"), d = T(qe, []), f = m(() => o.block.type), _ = m(() => P(o.block)), y = m(() => {
3654
+ let n = w(() => import("./CountdownToolbar-CA_gDIdZ.js")), o = e, s = t, { t: c } = W(), l = at(), u = qe(Ge, "Toolbar"), d = T(Ke, []), f = m(() => o.block.type), _ = m(() => F(o.block)), y = m(() => {
3607
3655
  if (_.value) return d.find((e) => e.type === o.block.customType);
3608
- }), x = m(() => _.value ? y.value?.name ?? o.block.customType : ce(f.value, c)), S = m(() => lt(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
3656
+ }), x = m(() => _.value ? y.value?.name ?? o.block.customType : ce(f.value, c)), S = m(() => ct(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
3609
3657
  function E(e) {
3610
3658
  l.value && s("update", e);
3611
3659
  }
@@ -3617,7 +3665,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3617
3665
  disabled: !h(l),
3618
3666
  inert: !h(l),
3619
3667
  class: "tpl:contents"
3620
- }, [b("div", Ja, [b("div", Ya, [h(Ee)[f.value] ? (a(), C(i(h(Ee)[f.value]), {
3668
+ }, [b("div", Qa, [b("div", $a, [h(Te)[f.value] ? (a(), C(i(h(Te)[f.value]), {
3621
3669
  key: 0,
3622
3670
  size: 16,
3623
3671
  "stroke-width": 1.5
@@ -3625,43 +3673,43 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3625
3673
  key: 1,
3626
3674
  size: 16,
3627
3675
  "stroke-width": 1.5
3628
- })) : g("", !0), b("h3", Xa, r(x.value), 1)]), b("div", Za, [b("button", {
3676
+ })) : g("", !0), b("h3", eo, r(x.value), 1)]), b("div", to, [b("button", {
3629
3677
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:bg-[var(--tpl-bg-active)] tpl:hover:text-[var(--tpl-text)]",
3630
3678
  title: h(c).toolbar.duplicate,
3631
3679
  onClick: o[0] ||= (e) => s("duplicate")
3632
- }, [p(h(De), {
3680
+ }, [p(h(Ee), {
3633
3681
  size: 14,
3634
3682
  "stroke-width": 2
3635
- })], 8, Qa), b("button", {
3683
+ })], 8, no), b("button", {
3636
3684
  class: "tpl:flex tpl:size-7 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:text-[var(--tpl-text-muted)] tpl:transition-all tpl:hover:border-[var(--tpl-danger)] tpl:hover:bg-[var(--tpl-danger-light)] tpl:hover:text-[var(--tpl-danger)]",
3637
3685
  title: h(c).toolbar.delete,
3638
3686
  onClick: o[1] ||= (e) => s("delete")
3639
- }, [p(h(Le), {
3687
+ }, [p(h(Ie), {
3640
3688
  size: 14,
3641
3689
  "stroke-width": 2
3642
- })], 8, $a)])]), b("div", eo, [_.value ? (a(), C(Pr, {
3690
+ })], 8, ro)])]), b("div", io, [_.value ? (a(), C(Pr, {
3643
3691
  key: 0,
3644
3692
  block: e.block,
3645
3693
  onUpdateFieldValues: o[2] ||= (e) => s("update", { fieldValues: e }),
3646
3694
  onUpdateDataSourceFetched: o[3] ||= (e) => s("update", { dataSourceFetched: e })
3647
- }, null, 8, ["block"])) : f.value === "section" ? (a(), C(Oi, {
3695
+ }, null, 8, ["block"])) : f.value === "section" ? (a(), C(Mi, {
3648
3696
  key: 1,
3649
3697
  block: e.block,
3650
3698
  onUpdate: E
3651
- }, null, 8, ["block"])) : f.value === "title" ? (a(), C(ka, {
3699
+ }, null, 8, ["block"])) : f.value === "title" ? (a(), C(Na, {
3652
3700
  key: 2,
3653
3701
  block: e.block,
3654
3702
  "font-families": S.value,
3655
3703
  onUpdate: E
3656
- }, null, 8, ["block", "font-families"])) : f.value === "paragraph" ? (a(), C(bi, {
3704
+ }, null, 8, ["block", "font-families"])) : f.value === "paragraph" ? (a(), C(wi, {
3657
3705
  key: 3,
3658
3706
  block: e.block,
3659
3707
  onUpdate: E
3660
- }, null, 8, ["block"])) : f.value === "image" ? (a(), C(oi, {
3708
+ }, null, 8, ["block"])) : f.value === "image" ? (a(), C(ui, {
3661
3709
  key: 4,
3662
3710
  block: e.block,
3663
3711
  onUpdate: E
3664
- }, null, 8, ["block"])) : f.value === "video" ? (a(), C(Ga, {
3712
+ }, null, 8, ["block"])) : f.value === "video" ? (a(), C(Ya, {
3665
3713
  key: 5,
3666
3714
  block: e.block,
3667
3715
  onUpdate: E
@@ -3674,21 +3722,21 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3674
3722
  key: 7,
3675
3723
  block: e.block,
3676
3724
  onUpdate: E
3677
- }, null, 8, ["block"])) : f.value === "social" ? (a(), C(Ji, {
3725
+ }, null, 8, ["block"])) : f.value === "social" ? (a(), C(Qi, {
3678
3726
  key: 8,
3679
3727
  block: e.block,
3680
3728
  onUpdate: E
3681
- }, null, 8, ["block"])) : f.value === "menu" ? (a(), C(_i, {
3729
+ }, null, 8, ["block"])) : f.value === "menu" ? (a(), C(xi, {
3682
3730
  key: 9,
3683
3731
  block: e.block,
3684
3732
  "font-families": S.value,
3685
3733
  onUpdate: E
3686
- }, null, 8, ["block", "font-families"])) : f.value === "table" ? (a(), C(ba, {
3734
+ }, null, 8, ["block", "font-families"])) : f.value === "table" ? (a(), C(wa, {
3687
3735
  key: 10,
3688
3736
  block: e.block,
3689
3737
  "font-families": S.value,
3690
3738
  onUpdate: E
3691
- }, null, 8, ["block", "font-families"])) : f.value === "spacer" ? (a(), C(Qi, {
3739
+ }, null, 8, ["block", "font-families"])) : f.value === "spacer" ? (a(), C(na, {
3692
3740
  key: 11,
3693
3741
  block: e.block,
3694
3742
  onUpdate: E
@@ -3705,7 +3753,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3705
3753
  block: e.block,
3706
3754
  "is-first-section": f.value === "paragraph",
3707
3755
  onUpdate: E
3708
- }, null, 8, ["block", "is-first-section"])])], 8, qa)], 8, Ka));
3756
+ }, null, 8, ["block", "is-first-section"])])], 8, Za)], 8, Xa));
3709
3757
  }
3710
- }), no = /* @__PURE__ */ e({ default: () => ro }), ro = /*#__PURE__*/ xe(to, [["__scopeId", "data-v-206f038f"]]);
3711
- export { ro as default, Q as n, Z as r, no as t };
3758
+ }), oo = /* @__PURE__ */ e({ default: () => so }), so = /*#__PURE__*/ Se(ao, [["__scopeId", "data-v-206f038f"]]);
3759
+ export { so as default, _t as n, Q as r, oo as t };