@templatical/editor 0.54.0 → 0.54.2

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 (133) hide show
  1. package/dist/{AiAltTextPopover-NMJqQKvD.js → AiAltTextPopover-BBKVJ6HA.js} +1 -1
  2. package/dist/{AiAltTextReview-Ci4zHwRc.js → AiAltTextReview-BuVbeQh-.js} +1 -1
  3. package/dist/{AiRewriteMenu-CIHUnPud.js → AiRewriteMenu-ZpYJfm-O.js} +4 -4
  4. package/dist/{BlockPreviewCanvas-B70RSavL.js → BlockPreviewCanvas-DtOo5y3U.js} +6 -6
  5. package/dist/{CloudPanels-VpSQiLLL.js → CloudPanels-DQRWMc59.js} +1 -1
  6. package/dist/{CountdownToolbar-CM4XNEuO.js → CountdownToolbar-DTpMEDyh.js} +4 -4
  7. package/dist/{IssuesPanel-1wGV0wiy.js → IssuesPanel-BZn7-p9e.js} +1 -1
  8. package/dist/{LanguageMenu-d2GlX67r.js → LanguageMenu-OOmQWVzO.js} +5 -5
  9. package/dist/{LogicTagInsertButton-DgTJ6Lvx.js → LogicTagInsertButton-XESwnJia.js} +8 -8
  10. package/dist/{MergeTagInput-B_51YcQO.js → MergeTagInput-CAsBRoSm.js} +1 -1
  11. package/dist/{MergeTagModeToggle-D3Q2z317.js → MergeTagModeToggle-bOf27Hg1.js} +1 -1
  12. package/dist/{MergeTagTextarea-DZz1L9DE.js → MergeTagTextarea-DH_6JFui.js} +2 -2
  13. package/dist/{ParagraphEditor-CI68PYDL.js → ParagraphEditor-XGUkV5Uw.js} +12 -11
  14. package/dist/{RestoreVersionDialog-DcuhpOIz.js → RestoreVersionDialog-C72kWccI.js} +1 -1
  15. package/dist/{RichTextEditorContent-Dstovi0m.js → RichTextEditorContent-BZN8KRvR.js} +2 -2
  16. package/dist/{SaveBlockDialog-vuwvoi-d.js → SaveBlockDialog-CKOnTMTU.js} +4 -4
  17. package/dist/{SavedBlocksBrowserModal-DUJm0dOv.js → SavedBlocksBrowserModal-BrlNxqDH.js} +4 -4
  18. package/dist/{SavedBlocksPanels-BiMXQ5lY.js → SavedBlocksPanels--lPR6gdh.js} +1 -1
  19. package/dist/{SavedBlocksPickBar-CAstZfG7.js → SavedBlocksPickBar-4ON4_KKl.js} +1 -1
  20. package/dist/{TemplateSettings-Baar78_s.js → TemplateSettings-BE0jZmRJ.js} +4 -4
  21. package/dist/{TestEmailModal-Bl_GHdrN.js → TestEmailModal-BKmNGrZN.js} +5 -5
  22. package/dist/{TestEmailPanel-CpTBF7B5.js → TestEmailPanel-DT1wllX3.js} +1 -1
  23. package/dist/{TitleEditor-DkbEDAZB.js → TitleEditor-HjVZuUTB.js} +8 -7
  24. package/dist/{Toolbar-bOZ_eq7X.js → Toolbar-BppchV2k.js} +617 -617
  25. package/dist/{TplModal-wk2gLa7_.js → TplModal-BFWOoK8l.js} +1 -1
  26. package/dist/{VersionHistoryPanels-Cq2rFKIX.js → VersionHistoryPanels-D4yNVLvq.js} +1 -1
  27. package/dist/{WrapperBlock-cWT_nZgQ.js → WrapperBlock-BUzQTZuu.js} +3 -3
  28. package/dist/{blockTypeIcons-BUyPZ7Su.js → blockTypeIcons-D91v9k0x.js} +1 -1
  29. package/dist/bundle-stats.json +6 -6
  30. package/dist/cdn/chunks/{AiAltTextPopover-Cnc_kUmb.js → AiAltTextPopover-CAI18sdv.js} +2 -2
  31. package/dist/cdn/chunks/{AiAltTextPopover-Cnc_kUmb.js.map → AiAltTextPopover-CAI18sdv.js.map} +1 -1
  32. package/dist/cdn/chunks/{AiAltTextReview-DPeSY-7r.js → AiAltTextReview-CWEyMOF-.js} +2 -2
  33. package/dist/cdn/chunks/{AiAltTextReview-DPeSY-7r.js.map → AiAltTextReview-CWEyMOF-.js.map} +1 -1
  34. package/dist/cdn/chunks/{AiRewriteMenu-C4btyN4W.js → AiRewriteMenu-BEepu1vo.js} +5 -5
  35. package/dist/cdn/chunks/{AiRewriteMenu-C4btyN4W.js.map → AiRewriteMenu-BEepu1vo.js.map} +1 -1
  36. package/dist/cdn/chunks/{BlockPreviewCanvas-CTKmBPsq.js → BlockPreviewCanvas-B6ndvof2.js} +5 -5
  37. package/dist/cdn/chunks/{BlockPreviewCanvas-CTKmBPsq.js.map → BlockPreviewCanvas-B6ndvof2.js.map} +1 -1
  38. package/dist/cdn/chunks/{CloudPanels-COU26R83.js → CloudPanels-BGwDb0jB.js} +2 -2
  39. package/dist/cdn/chunks/{CloudPanels-COU26R83.js.map → CloudPanels-BGwDb0jB.js.map} +1 -1
  40. package/dist/cdn/chunks/{CountdownToolbar-CNgsNL5-.js → CountdownToolbar-B-0FsTj-.js} +5 -5
  41. package/dist/cdn/chunks/{CountdownToolbar-CNgsNL5-.js.map → CountdownToolbar-B-0FsTj-.js.map} +1 -1
  42. package/dist/cdn/chunks/{IssuesPanel-Duic0mIs.js → IssuesPanel-LyjMBDok.js} +3 -3
  43. package/dist/cdn/chunks/{IssuesPanel-Duic0mIs.js.map → IssuesPanel-LyjMBDok.js.map} +1 -1
  44. package/dist/cdn/chunks/{LanguageMenu-B1Aue_lf.js → LanguageMenu-CGwMCOQ5.js} +4 -4
  45. package/dist/cdn/chunks/{LanguageMenu-B1Aue_lf.js.map → LanguageMenu-CGwMCOQ5.js.map} +1 -1
  46. package/dist/cdn/chunks/{LogicTagInsertButton-Bhvi0nWz.js → LogicTagInsertButton-PDKuo2J3.js} +4 -4
  47. package/dist/cdn/chunks/{LogicTagInsertButton-Bhvi0nWz.js.map → LogicTagInsertButton-PDKuo2J3.js.map} +1 -1
  48. package/dist/cdn/chunks/{MergeTagInput-CrhZm-AW.js → MergeTagInput-DoQHBJk2.js} +2 -2
  49. package/dist/cdn/chunks/{MergeTagInput-CrhZm-AW.js.map → MergeTagInput-DoQHBJk2.js.map} +1 -1
  50. package/dist/cdn/chunks/{MergeTagModeToggle-CWVtXLYa.js → MergeTagModeToggle-Ct5IG4VW.js} +2 -2
  51. package/dist/cdn/chunks/{MergeTagModeToggle-CWVtXLYa.js.map → MergeTagModeToggle-Ct5IG4VW.js.map} +1 -1
  52. package/dist/cdn/chunks/{MergeTagTextarea-hTIBwX0F.js → MergeTagTextarea-BMsnjphR.js} +3 -3
  53. package/dist/cdn/chunks/{MergeTagTextarea-hTIBwX0F.js.map → MergeTagTextarea-BMsnjphR.js.map} +1 -1
  54. package/dist/cdn/chunks/{ParagraphEditor-B2UU1Q5I.js → ParagraphEditor-CVW-kuHW.js} +114 -113
  55. package/dist/cdn/chunks/ParagraphEditor-CVW-kuHW.js.map +1 -0
  56. package/dist/cdn/chunks/{RestoreVersionDialog-C1Y5Ewo_.js → RestoreVersionDialog-7MFZz-Sb.js} +2 -2
  57. package/dist/cdn/chunks/{RestoreVersionDialog-C1Y5Ewo_.js.map → RestoreVersionDialog-7MFZz-Sb.js.map} +1 -1
  58. package/dist/cdn/chunks/{RichTextEditorContent-up4AqL7D.js → RichTextEditorContent-CiL-SkZg.js} +3 -3
  59. package/dist/cdn/chunks/{RichTextEditorContent-up4AqL7D.js.map → RichTextEditorContent-CiL-SkZg.js.map} +1 -1
  60. package/dist/cdn/chunks/{SaveBlockDialog-B9lwEP_T.js → SaveBlockDialog-CxdekCYy.js} +5 -5
  61. package/dist/cdn/chunks/{SaveBlockDialog-B9lwEP_T.js.map → SaveBlockDialog-CxdekCYy.js.map} +1 -1
  62. package/dist/cdn/chunks/{SavedBlocksBrowserModal-fAeHUyxb.js → SavedBlocksBrowserModal-D9CAa2U3.js} +4 -4
  63. package/dist/cdn/chunks/{SavedBlocksBrowserModal-fAeHUyxb.js.map → SavedBlocksBrowserModal-D9CAa2U3.js.map} +1 -1
  64. package/dist/cdn/chunks/{SavedBlocksPanels-DRDTLDyZ.js → SavedBlocksPanels-jfkYWtss.js} +2 -2
  65. package/dist/cdn/chunks/{SavedBlocksPanels-DRDTLDyZ.js.map → SavedBlocksPanels-jfkYWtss.js.map} +1 -1
  66. package/dist/cdn/chunks/{SavedBlocksPickBar-B6b5z-o3.js → SavedBlocksPickBar-yaCumC4j.js} +2 -2
  67. package/dist/cdn/chunks/{SavedBlocksPickBar-B6b5z-o3.js.map → SavedBlocksPickBar-yaCumC4j.js.map} +1 -1
  68. package/dist/cdn/chunks/{TemplateSettings-CWUpUKJb.js → TemplateSettings-SaV2UVh_.js} +5 -5
  69. package/dist/cdn/chunks/{TemplateSettings-CWUpUKJb.js.map → TemplateSettings-SaV2UVh_.js.map} +1 -1
  70. package/dist/cdn/chunks/{TestEmailModal-DQxnW5Q5.js → TestEmailModal-ByfhP_sm.js} +6 -6
  71. package/dist/cdn/chunks/{TestEmailModal-DQxnW5Q5.js.map → TestEmailModal-ByfhP_sm.js.map} +1 -1
  72. package/dist/cdn/chunks/{TestEmailPanel-BcO_-16H.js → TestEmailPanel-CfzpqpDs.js} +2 -2
  73. package/dist/cdn/chunks/{TestEmailPanel-BcO_-16H.js.map → TestEmailPanel-CfzpqpDs.js.map} +1 -1
  74. package/dist/cdn/chunks/{TitleEditor-pmycpmTd.js → TitleEditor-Ceb0YfWv.js} +8 -7
  75. package/dist/cdn/chunks/TitleEditor-Ceb0YfWv.js.map +1 -0
  76. package/dist/cdn/chunks/{Toolbar-BlWVQRcA.js → Toolbar-Cv6Rv1S-.js} +9 -9
  77. package/dist/cdn/chunks/{Toolbar-BlWVQRcA.js.map → Toolbar-Cv6Rv1S-.js.map} +1 -1
  78. package/dist/cdn/chunks/{TplModal-ClSSGX7a.js → TplModal-DGpGdwgf.js} +2 -2
  79. package/dist/cdn/chunks/{TplModal-ClSSGX7a.js.map → TplModal-DGpGdwgf.js.map} +1 -1
  80. package/dist/cdn/chunks/{VersionHistoryPanels-B8GPBKMq.js → VersionHistoryPanels-BJnHCMAH.js} +2 -2
  81. package/dist/cdn/chunks/{VersionHistoryPanels-B8GPBKMq.js.map → VersionHistoryPanels-BJnHCMAH.js.map} +1 -1
  82. package/dist/cdn/chunks/{WrapperBlock-BoUflYwY.js → WrapperBlock-C_uE5rPJ.js} +4 -4
  83. package/dist/cdn/chunks/{WrapperBlock-BoUflYwY.js.map → WrapperBlock-C_uE5rPJ.js.map} +1 -1
  84. package/dist/cdn/chunks/{composables-C1KU4ZHw.js → composables-BxikPuC1.js} +449 -443
  85. package/dist/cdn/chunks/composables-BxikPuC1.js.map +1 -0
  86. package/dist/cdn/chunks/{createCloudRuntime-C2Zs5F1O.js → createCloudRuntime-D2DUaudp.js} +3 -3
  87. package/dist/cdn/chunks/{createCloudRuntime-C2Zs5F1O.js.map → createCloudRuntime-D2DUaudp.js.map} +1 -1
  88. package/dist/cdn/chunks/{extensions-DcMKZpzh.js → extensions-DuDWpKo7.js} +4 -4
  89. package/dist/cdn/chunks/{extensions-DcMKZpzh.js.map → extensions-DuDWpKo7.js.map} +1 -1
  90. package/dist/cdn/chunks/{normalizeMergeTagMarkup-cC32Ox6A.js → normalizeMergeTagMarkup-Bn_hl4jd.js} +2 -2
  91. package/dist/cdn/chunks/{normalizeMergeTagMarkup-cC32Ox6A.js.map → normalizeMergeTagMarkup-Bn_hl4jd.js.map} +1 -1
  92. package/dist/cdn/chunks/{preRenderCustomBlocks-f7GEKdvw.js → preRenderCustomBlocks-C9oavydG.js} +2 -2
  93. package/dist/cdn/chunks/{preRenderCustomBlocks-f7GEKdvw.js.map → preRenderCustomBlocks-C9oavydG.js.map} +1 -1
  94. package/dist/cdn/chunks/{sanitizeHtml-WTfz9lZd.js → sanitizeHtml-DfXoetOm.js} +2 -2
  95. package/dist/cdn/chunks/{sanitizeHtml-WTfz9lZd.js.map → sanitizeHtml-DfXoetOm.js.map} +1 -1
  96. package/dist/cdn/chunks/{socialIcons-DeCYorUT.js → socialIcons-DPwkrn5v.js} +2 -2
  97. package/dist/cdn/chunks/{socialIcons-DeCYorUT.js.map → socialIcons-DPwkrn5v.js.map} +1 -1
  98. package/dist/cdn/chunks/{src-A_cKeTM_.js → src-712f3ofG.js} +2 -2
  99. package/dist/cdn/chunks/{src-A_cKeTM_.js.map → src-712f3ofG.js.map} +1 -1
  100. package/dist/cdn/chunks/{src-BWX_xVxO.js → src-B2tQbzf6.js} +152 -146
  101. package/dist/cdn/chunks/src-B2tQbzf6.js.map +1 -0
  102. package/dist/cdn/chunks/{src-BQUv2CYU.js → src-ZFw5fg_z.js} +40 -27
  103. package/dist/cdn/chunks/{src-BQUv2CYU.js.map → src-ZFw5fg_z.js.map} +1 -1
  104. package/dist/cdn/chunks/{useLocalizedDisplay-aGfnO90D.js → useLocalizedDisplay-DiNjT22M.js} +2 -2
  105. package/dist/cdn/chunks/{useLocalizedDisplay-aGfnO90D.js.map → useLocalizedDisplay-DiNjT22M.js.map} +1 -1
  106. package/dist/cdn/chunks/{useLogicTag-DtYe8HIq.js → useLogicTag-SvMW4g00.js} +2 -2
  107. package/dist/cdn/chunks/{useLogicTag-DtYe8HIq.js.map → useLogicTag-SvMW4g00.js.map} +1 -1
  108. package/dist/cdn/chunks/{useMergeTag-B8ULmsnp.js → useMergeTag-JLz3Pqcw.js} +2 -2
  109. package/dist/cdn/chunks/{useMergeTag-B8ULmsnp.js.map → useMergeTag-JLz3Pqcw.js.map} +1 -1
  110. package/dist/cdn/chunks/{withCurrentFont-MK8ga9q9.js → withCurrentFont-BcoPpkDS.js} +2 -2
  111. package/dist/cdn/chunks/{withCurrentFont-MK8ga9q9.js.map → withCurrentFont-BcoPpkDS.js.map} +1 -1
  112. package/dist/cdn/editor.css +1 -1
  113. package/dist/cdn/editor.js +18 -18
  114. package/dist/{composables-CMIrGXJ1.js → composables-BbPFRlBf.js} +908 -902
  115. package/dist/{createCloudRuntime-DGV5a5Af.js → createCloudRuntime-Dlrg88gS.js} +2 -2
  116. package/dist/{dist-Cdkm20M6.js → dist-C34cYI5S.js} +126 -113
  117. package/dist/{extensions-BJ184osp.js → extensions-xCiyqSg7.js} +16 -16
  118. package/dist/{normalizeMergeTagMarkup-CUCo7B5X.js → normalizeMergeTagMarkup-C7FGNURu.js} +22 -22
  119. package/dist/{preRenderCustomBlocks-Bs3N9no-.js → preRenderCustomBlocks-DvbRa3L3.js} +3 -3
  120. package/dist/{sanitizeHtml-2rjV0r-6.js → sanitizeHtml-D_ab7dD6.js} +5 -5
  121. package/dist/{socialIcons-TFiOkpoU.js → socialIcons-DhAolBjt.js} +342 -342
  122. package/dist/style.css +1 -1
  123. package/dist/templatical-editor.js +190 -190
  124. package/dist/useLocalizedDisplay-C9MBFUr4.js +31 -0
  125. package/dist/{useLogicTag-BXXXQQmi.js → useLogicTag-BmuakZBd.js} +1 -1
  126. package/dist/{useMergeTag-C9Okr87y.js → useMergeTag-DC4a8b_v.js} +3 -3
  127. package/dist/{withCurrentFont-DJiQqZzL.js → withCurrentFont-BSxJai99.js} +1 -1
  128. package/package.json +7 -7
  129. package/dist/cdn/chunks/ParagraphEditor-B2UU1Q5I.js.map +0 -1
  130. package/dist/cdn/chunks/TitleEditor-pmycpmTd.js.map +0 -1
  131. package/dist/cdn/chunks/composables-C1KU4ZHw.js.map +0 -1
  132. package/dist/cdn/chunks/src-BWX_xVxO.js.map +0 -1
  133. package/dist/useLocalizedDisplay-DNNwDRxL.js +0 -31
@@ -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 { Bt as k, Dt as A, O as j, at as M, en as N, f as P, g as F, ht as I, i as L, k as ee, n as te, nn as ne, ot as R, pt as re, r as ie, t as ae } from "./dist-Cdkm20M6.js";
5
- import { B as oe, T as se, _ as ce, b as le, d as ue, f as de, g as fe, h as pe, i as me, k as he, l as ge, m as _e, p as ve, r as z, s as ye, u as be, v as xe } from "./socialIcons-TFiOkpoU.js";
6
- import { t as Se } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
7
- import { t as Ce } from "./createLucideIcon-CgDE3xAR.js";
8
- import { c as B } from "./LogicTagInsertButton-DgTJ6Lvx.js";
9
- import { t as we } from "./chevron-down-DmamTEWQ.js";
10
- import { t as Te } from "./circle-alert-BTKC9vkq.js";
11
- import { n as Ee, t as De } from "./blockTypeIcons-BUyPZ7Su.js";
12
- import { n as Oe } from "./upload-Cp8o-hrN.js";
13
- import { t as ke } from "./image-Ch8tR35K.js";
14
- import { t as Ae } from "./info-DzSD-Wpk.js";
15
- import { t as je } from "./link-oDn9AR2w.js";
16
- import { n as Me, t as Ne } from "./smartphone-BPpWYrwV.js";
17
- import { t as V } from "./plus-Cr0Mis63.js";
18
- import { t as Pe } from "./refresh-cw-_ZLOIEvA.js";
19
- import { n as Fe, r as Ie, t as Le } from "./text-align-start-4mwX2o-F.js";
20
- import { t as Re } from "./trash-B99WixTA.js";
21
- import { t as ze } from "./x-BIBStNMS.js";
22
- import { B as Be, C as Ve, O as He, T as Ue, U as We, X as Ge, _ as Ke, b as qe, h as Je, ot as Ye, p as Xe, r as Ze, v as Qe } from "./keys-BCqskl51.js";
23
- import { t as H } from "./useI18n-CgtvtF4C.js";
24
- import { n as $e } from "./useLocalizedDisplay-DNNwDRxL.js";
25
- import { t as et } from "./languageName-DEEOhDWI.js";
26
- import { S as tt, _ as U, b as nt, c as rt, g as W, h as G, r as it, v as K, y as at } from "./styleConstants-CgiNKdnc.js";
27
- import { _ as ot } from "./dist-CX7skkvG.js";
28
- import { c as st, r as ct } from "./usePopoverPosition-VDQjyX_A.js";
29
- import { n as q, t as lt } from "./MergeTagTextarea-DZz1L9DE.js";
30
- import { t as J } from "./ToggleSwitch-R3wCCYE6.js";
31
- import { n as ut, t as dt } from "./withCurrentFont-DJiQqZzL.js";
32
- import { t as Y } from "./MergeTagInput-B_51YcQO.js";
33
- var ft = Ce({
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";
9
+ import { t as Ce } from "./chevron-down-DmamTEWQ.js";
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({
34
34
  name: "lock-open",
35
35
  size: 24,
36
36
  node: [["rect", {
@@ -46,7 +46,7 @@ var ft = Ce({
46
46
  key: "1mm8w8"
47
47
  }]],
48
48
  aliases: ["unlock"]
49
- }), pt = Ce({
49
+ }), ft = Se({
50
50
  name: "lock",
51
51
  size: 24,
52
52
  node: [["rect", {
@@ -61,7 +61,7 @@ var ft = Ce({
61
61
  d: "M7 11V7a5 5 0 0 1 10 0v4",
62
62
  key: "fwvmzm"
63
63
  }]]
64
- }), mt = Ce({
64
+ }), pt = Se({
65
65
  name: "unlink",
66
66
  size: 24,
67
67
  node: [
@@ -102,14 +102,14 @@ var ft = Ce({
102
102
  key: "ox905f"
103
103
  }]
104
104
  ]
105
- }), ht = [
105
+ }), mt = [
106
106
  "aria-checked",
107
107
  "aria-label",
108
108
  "disabled",
109
109
  "aria-disabled",
110
110
  "title",
111
111
  "onClick"
112
- ], gt = { key: 1 }, X = /* @__PURE__ */ E({
112
+ ], ht = { key: 1 }, Z = /* @__PURE__ */ E({
113
113
  __name: "SlidingPillSelect",
114
114
  props: {
115
115
  options: {},
@@ -154,14 +154,14 @@ var ft = Ce({
154
154
  key: 0,
155
155
  size: 14,
156
156
  "stroke-width": 2
157
- })) : (a(), v("span", gt, r(t.label), 1))], 12, ht))), 128))], 4));
157
+ })) : (a(), v("span", ht, r(t.label), 1))], 12, mt))), 128))], 4));
158
158
  }
159
- }), _t = { class: "tpl:flex tpl:items-stretch" }, vt = [
159
+ }), gt = { class: "tpl:flex tpl:items-stretch" }, _t = [
160
160
  "data-testid",
161
161
  "value",
162
162
  "min",
163
163
  "max"
164
- ], Z = /* @__PURE__ */ E({
164
+ ], Q = /* @__PURE__ */ E({
165
165
  __name: "NumberWithSuffix",
166
166
  props: {
167
167
  modelValue: {},
@@ -177,22 +177,22 @@ var ft = Ce({
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", _t, [b("input", {
180
+ return (t, n) => (a(), v("div", gt, [b("input", {
181
181
  type: "number",
182
182
  "data-testid": e.testid,
183
- class: o(h(W)),
183
+ class: o(h(G)),
184
184
  value: e.modelValue,
185
185
  min: e.min,
186
186
  max: e.max,
187
187
  onInput: i
188
- }, null, 42, vt), b("span", { class: o(h(U)) }, r(e.suffix), 3)]));
188
+ }, null, 42, _t), b("span", { class: o(h(W)) }, r(e.suffix), 3)]));
189
189
  }
190
- }), yt = [
190
+ }), vt = [
191
191
  "aria-pressed",
192
192
  "aria-label",
193
193
  "title",
194
194
  "data-testid"
195
- ], bt = /* @__PURE__ */ E({
195
+ ], yt = /* @__PURE__ */ E({
196
196
  __name: "LinkToggle",
197
197
  props: {
198
198
  linked: { type: Boolean },
@@ -211,20 +211,20 @@ var ft = Ce({
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(je), {
214
+ }, [e.linked ? (a(), C(h(Ae), {
215
215
  key: 0,
216
216
  size: 14,
217
217
  "stroke-width": 2
218
- })) : (a(), C(h(mt), {
218
+ })) : (a(), C(h(pt), {
219
219
  key: 1,
220
220
  size: 14,
221
221
  "stroke-width": 2
222
- }))], 10, yt));
222
+ }))], 10, vt));
223
223
  }
224
- }), xt = {
224
+ }), bt = {
225
225
  key: 0,
226
226
  class: "tpl:mb-3.5"
227
- }, St = { class: "tpl:mb-3.5" }, Ct = { class: "tpl:mb-3.5" }, wt = /* @__PURE__ */ E({
227
+ }, xt = { class: "tpl:mb-3.5" }, St = { class: "tpl:mb-3.5" }, Ct = /* @__PURE__ */ E({
228
228
  __name: "BorderControl",
229
229
  props: {
230
230
  path: {},
@@ -233,7 +233,7 @@ var ft = Ce({
233
233
  },
234
234
  emits: ["update:modelValue"],
235
235
  setup(e, { emit: n }) {
236
- let i = e, s = n, { t: c } = H(), l = {
236
+ let i = e, s = n, { t: c } = U(), l = {
237
237
  width: 0,
238
238
  style: "solid",
239
239
  color: "#000000"
@@ -243,7 +243,7 @@ var ft = Ce({
243
243
  }
244
244
  let f = m(() => {
245
245
  let e = i.modelValue;
246
- return !e || L.every((t) => d(e[t], e.top));
246
+ return !e || F.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 ft = Ce({
254
254
  }), T = (e) => !!e && e.width > 0;
255
255
  function E(e) {
256
256
  if (y.value) {
257
- s("update:modelValue", T(e) ? ne(e) : void 0);
257
+ s("update:modelValue", T(e) ? z(e) : void 0);
258
258
  return;
259
259
  }
260
260
  let t = {
261
- ...i.modelValue ?? ne(l),
261
+ ...i.modelValue ?? z(l),
262
262
  [x.value]: e
263
- }, n = L.some((e) => T(t[e]));
263
+ }, n = F.some((e) => T(t[e]));
264
264
  s("update:modelValue", n ? t : void 0);
265
265
  }
266
266
  function D(e) {
@@ -283,18 +283,18 @@ var ft = Ce({
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] : L.map((t) => e[t]).find(T);
287
- s("update:modelValue", t ? ne(t) : void 0);
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);
288
288
  }
289
- let A = m(() => L.map((e) => ({
289
+ let A = m(() => F.map((e) => ({
290
290
  value: e,
291
291
  label: c.spacingControl[e]
292
292
  })));
293
- return (t, n) => (a(), C(q, {
293
+ return (t, n) => (a(), C(J, {
294
294
  path: e.path,
295
295
  label: h(c).blockSettings.border
296
296
  }, {
297
- "label-actions": u(() => [p(bt, {
297
+ "label-actions": u(() => [p(yt, {
298
298
  linked: y.value,
299
299
  "link-label": h(c).blockSettings.linkSides,
300
300
  "unlink-label": h(c).blockSettings.unlinkSides,
@@ -307,19 +307,19 @@ var ft = Ce({
307
307
  "testid"
308
308
  ])]),
309
309
  default: u(() => [
310
- y.value ? g("", !0) : (a(), v("div", xt, [b("label", { class: o(h(K)) }, r(h(c).blockSettings.borderSide), 3), p(X, {
310
+ y.value ? g("", !0) : (a(), v("div", bt, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.borderSide), 3), p(Z, {
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", St, [b("label", { class: o(h(K)) }, r(h(c).blockSettings.borderWidth), 3), p(Z, {
315
+ b("div", xt, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.borderWidth), 3), p(Q, {
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", Ct, [b("label", { class: o(h(K)) }, r(h(c).blockSettings.borderStyle), 3), p(X, {
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, {
323
323
  options: [
324
324
  {
325
325
  value: "solid",
@@ -336,7 +336,7 @@ var ft = Ce({
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(K)) }, r(h(c).blockSettings.borderColor), 3), p(B, {
339
+ }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: o(h(q)) }, 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)
@@ -344,10 +344,10 @@ var ft = Ce({
344
344
  _: 1
345
345
  }, 8, ["path", "label"]));
346
346
  }
347
- }), Tt = {
347
+ }), wt = {
348
348
  key: 1,
349
349
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
350
- }, Et = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Dt = /* @__PURE__ */ E({
350
+ }, Tt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Et = /* @__PURE__ */ E({
351
351
  __name: "RadiusControl",
352
352
  props: {
353
353
  path: {},
@@ -358,7 +358,7 @@ var ft = Ce({
358
358
  },
359
359
  emits: ["update:modelValue"],
360
360
  setup(e, { emit: n }) {
361
- let i = e, o = n, { t: c } = H(), l = {
361
+ let i = e, o = n, { t: c } = U(), l = {
362
362
  topLeft: "cornerTopLeft",
363
363
  topRight: "cornerTopRight",
364
364
  bottomRight: "cornerBottomRight",
@@ -376,7 +376,7 @@ var ft = Ce({
376
376
  bottomRight: e,
377
377
  bottomLeft: e
378
378
  } : e;
379
- }), g = m(() => ie.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
379
+ }), g = m(() => te.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,11 +395,11 @@ var ft = Ce({
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(q, {
398
+ return (t, n) => (a(), C(J, {
399
399
  path: e.path,
400
400
  label: e.label
401
401
  }, {
402
- "label-actions": u(() => [p(bt, {
402
+ "label-actions": u(() => [p(yt, {
403
403
  linked: y.value,
404
404
  "link-label": h(c).blockSettings.linkCorners,
405
405
  "unlink-label": h(c).blockSettings.unlinkCorners,
@@ -411,7 +411,7 @@ var ft = Ce({
411
411
  "unlink-label",
412
412
  "testid"
413
413
  ])]),
414
- default: u(() => [y.value ? (a(), C(Z, {
414
+ default: u(() => [y.value ? (a(), C(Q, {
415
415
  key: 0,
416
416
  "model-value": f.value.topLeft,
417
417
  min: 0,
@@ -423,7 +423,7 @@ var ft = Ce({
423
423
  "model-value",
424
424
  "max",
425
425
  "testid"
426
- ])) : (a(), v("div", Tt, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Et, r(h(c).blockSettings[l[t]]), 1), p(Z, {
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, {
427
427
  "model-value": f.value[t],
428
428
  min: 0,
429
429
  max: e.max,
@@ -439,10 +439,10 @@ var ft = Ce({
439
439
  _: 1
440
440
  }, 8, ["path", "label"]));
441
441
  }
442
- }), Ot = ["value"], kt = { value: "" }, At = ["value"], jt = { class: "tpl:flex tpl:items-stretch" }, Mt = ["value"], Nt = ["value"], Pt = { value: "auto" }, Ft = { value: "full" }, It = { value: "custom" }, Lt = {
442
+ }), Dt = ["value"], Ot = { value: "" }, kt = ["value"], At = { class: "tpl:flex tpl:items-stretch" }, jt = ["value"], Mt = ["value"], Nt = { value: "auto" }, Pt = { value: "full" }, Ft = { value: "custom" }, It = {
443
443
  key: 0,
444
444
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
445
- }, Rt = ["value"], zt = 200, Bt = /* @__PURE__ */ E({
445
+ }, Lt = ["value"], Rt = 200, zt = /* @__PURE__ */ E({
446
446
  __name: "ButtonToolbar",
447
447
  props: {
448
448
  block: {},
@@ -450,61 +450,61 @@ var ft = Ce({
450
450
  },
451
451
  emits: ["update"],
452
452
  setup(e, { emit: t }) {
453
- let n = e, i = t, { t: c } = H(), l = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
453
+ let n = e, i = t, { t: c } = U(), 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
  }
457
457
  function f(e) {
458
- e === "full" ? d("width", "full") : e === "custom" ? d("width", typeof n.block.width == "number" ? n.block.width : zt) : d("width", void 0);
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
461
  let t = Number(e);
462
462
  !Number.isFinite(t) || t <= 0 || d("width", t);
463
463
  }
464
464
  return (t, n) => (a(), v(S, null, [
465
- p(q, {
465
+ p(J, {
466
466
  label: h(c).button.fontFamily,
467
467
  class: "tpl:mb-3.5",
468
468
  path: "fontFamily"
469
469
  }, {
470
470
  default: u(() => [b("select", {
471
- class: o(h(G)),
472
- value: h(dt)(e.block.fontFamily),
471
+ class: o(h(K)),
472
+ value: h(ut)(e.block.fontFamily),
473
473
  onChange: n[0] ||= (e) => d("fontFamily", e.target.value || void 0)
474
- }, [b("option", kt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
474
+ }, [b("option", Ot, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
475
475
  key: e.value,
476
476
  value: e.value
477
- }, r(e.label), 9, At))), 128))], 42, Ot)]),
477
+ }, r(e.label), 9, kt))), 128))], 42, Dt)]),
478
478
  _: 1
479
479
  }, 8, ["label"]),
480
- p(q, {
480
+ p(J, {
481
481
  label: h(c).button.text,
482
482
  class: "tpl:mb-3.5",
483
483
  path: "text"
484
484
  }, {
485
- default: u(() => [p(Y, {
485
+ default: u(() => [p(X, {
486
486
  "model-value": e.block.text,
487
487
  type: "text",
488
488
  "onUpdate:modelValue": n[1] ||= (e) => d("text", e)
489
489
  }, null, 8, ["model-value"])]),
490
490
  _: 1
491
491
  }, 8, ["label"]),
492
- p(q, {
492
+ p(J, {
493
493
  label: h(c).button.url,
494
494
  class: "tpl:mb-3.5",
495
495
  path: "url"
496
496
  }, {
497
- default: u(() => [p(Y, {
497
+ default: u(() => [p(X, {
498
498
  "model-value": e.block.url,
499
499
  type: "url",
500
500
  placeholder: h(c).button.urlPlaceholder,
501
501
  "onUpdate:modelValue": n[2] ||= (e) => d("url", e)
502
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(q, {
502
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(J, {
503
503
  key: 0,
504
504
  path: "openInNewTab",
505
505
  label: h(c).button.openInNewTab
506
506
  }, {
507
- "label-actions": u(({ controlId: t }) => [p(J, {
507
+ "label-actions": u(({ controlId: t }) => [p(Y, {
508
508
  "control-id": t,
509
509
  "hide-label": "",
510
510
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -520,36 +520,36 @@ var ft = Ce({
520
520
  }, 8, ["label"])) : g("", !0)]),
521
521
  _: 1
522
522
  }, 8, ["label"]),
523
- p(q, {
523
+ p(J, {
524
524
  label: h(c).button.background,
525
525
  class: "tpl:mb-3.5",
526
526
  path: "backgroundColor"
527
527
  }, {
528
- default: u(() => [p(B, {
528
+ default: u(() => [p(V, {
529
529
  "model-value": e.block.backgroundColor,
530
530
  "allow-transparent": "",
531
531
  "onUpdate:modelValue": n[4] ||= (e) => d("backgroundColor", e)
532
532
  }, null, 8, ["model-value"])]),
533
533
  _: 1
534
534
  }, 8, ["label"]),
535
- p(q, {
535
+ p(J, {
536
536
  label: h(c).button.textColor,
537
537
  class: "tpl:mb-3.5",
538
538
  path: "textColor"
539
539
  }, {
540
- default: u(() => [p(B, {
540
+ default: u(() => [p(V, {
541
541
  "model-value": e.block.textColor,
542
542
  "onUpdate:modelValue": n[5] ||= (e) => d("textColor", e)
543
543
  }, null, 8, ["model-value"])]),
544
544
  _: 1
545
545
  }, 8, ["label"]),
546
- p(wt, {
546
+ p(Ct, {
547
547
  path: "border",
548
548
  "model-value": e.block.border,
549
549
  "testid-prefix": "button",
550
550
  "onUpdate:modelValue": n[6] ||= (e) => d("border", e)
551
551
  }, null, 8, ["model-value"]),
552
- p(Dt, {
552
+ p(Et, {
553
553
  path: "borderRadius",
554
554
  "model-value": e.block.borderRadius,
555
555
  label: h(c).button.borderRadius,
@@ -557,49 +557,49 @@ var ft = Ce({
557
557
  "testid-prefix": "button",
558
558
  "onUpdate:modelValue": n[7] ||= (e) => d("borderRadius", e)
559
559
  }, null, 8, ["model-value", "label"]),
560
- p(q, {
560
+ p(J, {
561
561
  label: h(c).button.fontSize,
562
562
  class: "tpl:mb-3.5",
563
563
  path: "fontSize"
564
564
  }, {
565
- default: u(() => [b("div", jt, [b("input", {
565
+ default: u(() => [b("div", At, [b("input", {
566
566
  type: "number",
567
- class: o(h(W)),
567
+ class: o(h(G)),
568
568
  value: e.block.fontSize,
569
569
  min: "10",
570
570
  max: "36",
571
571
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
572
- }, null, 42, Mt), b("span", { class: o(h(U)) }, "px", 2)])]),
572
+ }, null, 42, jt), b("span", { class: o(h(W)) }, "px", 2)])]),
573
573
  _: 1
574
574
  }, 8, ["label"]),
575
- p(q, {
575
+ p(J, {
576
576
  label: h(c).button.width,
577
577
  class: "tpl:mb-3.5",
578
578
  path: "width"
579
579
  }, {
580
580
  default: u(() => [b("select", {
581
- class: o(h(G)),
581
+ class: o(h(K)),
582
582
  value: l.value,
583
583
  onChange: n[9] ||= (e) => f(e.target.value)
584
584
  }, [
585
- b("option", Pt, r(h(c).button.widthAuto), 1),
586
- b("option", Ft, r(h(c).button.fullWidth), 1),
587
- b("option", It, r(h(c).button.widthCustom), 1)
588
- ], 42, Nt), l.value === "custom" ? (a(), v("div", Lt, [b("input", {
585
+ b("option", Nt, r(h(c).button.widthAuto), 1),
586
+ b("option", Pt, r(h(c).button.fullWidth), 1),
587
+ b("option", Ft, r(h(c).button.widthCustom), 1)
588
+ ], 42, Mt), l.value === "custom" ? (a(), v("div", It, [b("input", {
589
589
  type: "number",
590
- class: o(h(W)),
591
- value: typeof e.block.width == "number" ? e.block.width : zt,
590
+ class: o(h(G)),
591
+ value: typeof e.block.width == "number" ? e.block.width : Rt,
592
592
  min: "20",
593
593
  onInput: n[10] ||= (e) => _(e.target.value)
594
- }, null, 42, Rt), b("span", { class: o(h(U)) }, "px", 2)])) : g("", !0)]),
594
+ }, null, 42, Lt), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
595
595
  _: 1
596
596
  }, 8, ["label"]),
597
- p(q, {
597
+ p(J, {
598
598
  label: h(c).title.align,
599
599
  class: "tpl:mb-3.5",
600
600
  path: "align"
601
601
  }, {
602
- default: u(() => [p(X, {
602
+ default: u(() => [p(Z, {
603
603
  options: [
604
604
  {
605
605
  value: "left",
@@ -621,7 +621,7 @@ var ft = Ce({
621
621
  }, 8, ["label"])
622
622
  ], 64));
623
623
  }
624
- }), Vt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Ht = { class: "tpl:flex tpl:items-center" }, Ut = ["aria-label"], Wt = ["value", "aria-label"], Gt = ["aria-label"], Kt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, qt = { class: "tpl:flex tpl:items-center" }, Jt = ["aria-label"], Yt = ["value", "aria-label"], Xt = ["aria-label"], Zt = ["aria-label", "title"], Qt = { class: "tpl:flex tpl:items-center" }, $t = ["aria-label"], en = ["value", "aria-label"], tn = ["aria-label"], nn = { class: "tpl:flex tpl:items-center" }, rn = ["aria-label"], an = ["value", "aria-label"], on = ["aria-label"], Q = "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)]", sn = "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)]", cn = /*#__PURE__*/ Se(/* @__PURE__ */ E({
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({
625
625
  __name: "SpacingControl",
626
626
  props: {
627
627
  path: {},
@@ -630,7 +630,7 @@ var ft = Ce({
630
630
  },
631
631
  emits: ["update:modelValue"],
632
632
  setup(e, { emit: n }) {
633
- let r = e, i = n, { t: s } = H(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
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);
634
634
  t(c, (e) => {
635
635
  !e && l.value && (l.value = !1);
636
636
  });
@@ -669,131 +669,131 @@ var ft = Ce({
669
669
  });
670
670
  }
671
671
  }
672
- return (t, n) => (a(), C(q, {
672
+ return (t, n) => (a(), C(J, {
673
673
  class: "spacing-control",
674
674
  path: e.path,
675
675
  label: e.label
676
676
  }, {
677
- default: u(() => [b("div", Vt, [
678
- b("div", Ht, [
677
+ default: u(() => [b("div", Bt, [
678
+ b("div", Vt, [
679
679
  b("button", {
680
680
  "aria-label": h(s).spacingControl.decreaseTop,
681
- class: o([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
681
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
682
682
  onClick: n[0] ||= (e) => d("top", -1)
683
- }, [p(h(Ee), {
683
+ }, [p(h(Te), {
684
684
  size: 12,
685
685
  "stroke-width": 2
686
- })], 10, Ut),
686
+ })], 10, Ht),
687
687
  b("input", {
688
688
  type: "number",
689
- class: o(sn),
689
+ class: o(on),
690
690
  value: e.modelValue.top,
691
691
  "aria-label": h(s).spacingControl.top,
692
692
  min: "0",
693
693
  onInput: n[1] ||= (e) => f("top", Number(e.target.value))
694
- }, null, 40, Wt),
694
+ }, null, 40, Ut),
695
695
  b("button", {
696
696
  "aria-label": h(s).spacingControl.increaseTop,
697
- class: o([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
697
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
698
698
  onClick: n[2] ||= (e) => d("top", 1)
699
- }, [p(h(V), {
699
+ }, [p(h(H), {
700
700
  size: 12,
701
701
  "stroke-width": 2
702
- })], 10, Gt)
702
+ })], 10, Wt)
703
703
  ]),
704
- b("div", Kt, [
705
- b("div", qt, [
704
+ b("div", Gt, [
705
+ b("div", Kt, [
706
706
  b("button", {
707
707
  "aria-label": h(s).spacingControl.decreaseLeft,
708
- class: o([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
708
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
709
709
  onClick: n[3] ||= (e) => d("left", -1)
710
- }, [p(h(Ee), {
710
+ }, [p(h(Te), {
711
711
  size: 12,
712
712
  "stroke-width": 2
713
- })], 10, Jt),
713
+ })], 10, qt),
714
714
  b("input", {
715
715
  type: "number",
716
- class: o(sn),
716
+ class: o(on),
717
717
  value: e.modelValue.left,
718
718
  "aria-label": h(s).spacingControl.left,
719
719
  min: "0",
720
720
  onInput: n[4] ||= (e) => f("left", Number(e.target.value))
721
- }, null, 40, Yt),
721
+ }, null, 40, Jt),
722
722
  b("button", {
723
723
  "aria-label": h(s).spacingControl.increaseLeft,
724
- class: o([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
724
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
725
725
  onClick: n[5] ||= (e) => d("left", 1)
726
- }, [p(h(V), {
726
+ }, [p(h(H), {
727
727
  size: 12,
728
728
  "stroke-width": 2
729
- })], 10, Xt)
729
+ })], 10, Yt)
730
730
  ]),
731
731
  b("button", {
732
732
  class: o(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", l.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
733
733
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
734
734
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
735
735
  onClick: g
736
- }, [l.value ? (a(), C(h(pt), {
736
+ }, [l.value ? (a(), C(h(ft), {
737
737
  key: 0,
738
738
  size: 14,
739
739
  "stroke-width": 2
740
- })) : (a(), C(h(ft), {
740
+ })) : (a(), C(h(dt), {
741
741
  key: 1,
742
742
  size: 14,
743
743
  "stroke-width": 2
744
- }))], 10, Zt),
745
- b("div", Qt, [
744
+ }))], 10, Xt),
745
+ b("div", Zt, [
746
746
  b("button", {
747
747
  "aria-label": h(s).spacingControl.decreaseRight,
748
- class: o([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
748
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
749
749
  onClick: n[6] ||= (e) => d("right", -1)
750
- }, [p(h(Ee), {
750
+ }, [p(h(Te), {
751
751
  size: 12,
752
752
  "stroke-width": 2
753
- })], 10, $t),
753
+ })], 10, Qt),
754
754
  b("input", {
755
755
  type: "number",
756
- class: o(sn),
756
+ class: o(on),
757
757
  value: e.modelValue.right,
758
758
  "aria-label": h(s).spacingControl.right,
759
759
  min: "0",
760
760
  onInput: n[7] ||= (e) => f("right", Number(e.target.value))
761
- }, null, 40, en),
761
+ }, null, 40, $t),
762
762
  b("button", {
763
763
  "aria-label": h(s).spacingControl.increaseRight,
764
- class: o([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
764
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
765
765
  onClick: n[8] ||= (e) => d("right", 1)
766
- }, [p(h(V), {
766
+ }, [p(h(H), {
767
767
  size: 12,
768
768
  "stroke-width": 2
769
- })], 10, tn)
769
+ })], 10, en)
770
770
  ])
771
771
  ]),
772
- b("div", nn, [
772
+ b("div", tn, [
773
773
  b("button", {
774
774
  "aria-label": h(s).spacingControl.decreaseBottom,
775
- class: o([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
775
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
776
776
  onClick: n[9] ||= (e) => d("bottom", -1)
777
- }, [p(h(Ee), {
777
+ }, [p(h(Te), {
778
778
  size: 12,
779
779
  "stroke-width": 2
780
- })], 10, rn),
780
+ })], 10, nn),
781
781
  b("input", {
782
782
  type: "number",
783
- class: o(sn),
783
+ class: o(on),
784
784
  value: e.modelValue.bottom,
785
785
  "aria-label": h(s).spacingControl.bottom,
786
786
  min: "0",
787
787
  onInput: n[10] ||= (e) => f("bottom", Number(e.target.value))
788
- }, null, 40, an),
788
+ }, null, 40, rn),
789
789
  b("button", {
790
790
  "aria-label": h(s).spacingControl.increaseBottom,
791
- class: o([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
791
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
792
792
  onClick: n[11] ||= (e) => d("bottom", 1)
793
- }, [p(h(V), {
793
+ }, [p(h(H), {
794
794
  size: 12,
795
795
  "stroke-width": 2
796
- })], 10, on)
796
+ })], 10, an)
797
797
  ])
798
798
  ])]),
799
799
  _: 1
@@ -801,19 +801,19 @@ var ft = Ce({
801
801
  }
802
802
  }), [["__scopeId", "data-v-94c2e6ff"]]);
803
803
  // src/composables/useNaturalImageSize.ts
804
- function ln(e) {
804
+ function cn(e) {
805
805
  let n = _(null), r = () => {};
806
806
  return t(e, (e) => {
807
- r(), n.value = null, e && (r = ve(e, (e) => {
807
+ r(), n.value = null, e && (r = _e(e, (e) => {
808
808
  n.value = e;
809
809
  }));
810
810
  }, { immediate: !0 }), n;
811
811
  }
812
- function un() {
813
- let e = T(Ve, null);
814
- return async (t) => _e(e ? await dn(e, t) : t);
812
+ function ln() {
813
+ let e = T(Be, null);
814
+ return async (t) => ge(e ? await un(e, t) : t);
815
815
  }
816
- function dn(e, n) {
816
+ function un(e, n) {
817
817
  let r = (e) => typeof e == "string" && e.length > 0 ? e : n;
818
818
  e.lookup(n);
819
819
  let i = e.get(n);
@@ -824,13 +824,13 @@ function dn(e, n) {
824
824
  }) : Promise.resolve(r(i));
825
825
  }
826
826
  // src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
827
- var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"], hn = ["data-testid"], gn = ["aria-label", "data-testid"], _n = [
827
+ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"], mn = ["data-testid"], hn = ["aria-label", "data-testid"], gn = [
828
828
  "aria-label",
829
829
  "title",
830
830
  "aria-pressed",
831
831
  "data-testid",
832
832
  "onClick"
833
- ], vn = ["data-testid"], yn = /* @__PURE__ */ E({
833
+ ], _n = ["data-testid"], vn = /* @__PURE__ */ E({
834
834
  __name: "BackgroundImageControl",
835
835
  props: {
836
836
  hideLabel: { type: Boolean },
@@ -841,14 +841,14 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
841
841
  },
842
842
  emits: ["update:modelValue"],
843
843
  setup(e, { emit: t }) {
844
- let n = e, i = t, { t: c } = H(), l = T(Be, F.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = un(), w;
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;
845
845
  f(() => clearTimeout(w));
846
846
  function E(e) {
847
- n.measure && !j(e, l) && (w = setTimeout(async () => {
847
+ n.measure && !k(e, l) && (w = setTimeout(async () => {
848
848
  let t = await x(e), r = n.modelValue;
849
849
  t && r?.url === e && i("update:modelValue", {
850
850
  ...r,
851
- ...pe(t)
851
+ ...fe(t)
852
852
  });
853
853
  }, 300));
854
854
  }
@@ -857,11 +857,11 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
857
857
  i("update:modelValue", void 0);
858
858
  return;
859
859
  }
860
- let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? ee(e), s = n.measure ? t : null;
860
+ let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? I(e), s = n.measure ? t : null;
861
861
  i("update:modelValue", {
862
862
  ...o,
863
863
  url: e,
864
- ...s ? pe(s) : {}
864
+ ...s ? fe(s) : {}
865
865
  }), s || E(e);
866
866
  }
867
867
  function O(e) {
@@ -870,7 +870,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
870
870
  ...e
871
871
  });
872
872
  }
873
- let k = m(() => [
873
+ let A = m(() => [
874
874
  {
875
875
  value: "cover",
876
876
  label: c.blockSettings.backgroundSizeCover
@@ -883,7 +883,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
883
883
  value: "auto",
884
884
  label: c.blockSettings.backgroundSizeAuto
885
885
  }
886
- ]), A = m(() => ({
886
+ ]), j = m(() => ({
887
887
  "top-left": c.blockSettings.backgroundPositionTopLeft,
888
888
  "top-center": c.blockSettings.backgroundPositionTopCenter,
889
889
  "top-right": c.blockSettings.backgroundPositionTopRight,
@@ -893,39 +893,39 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
893
893
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
894
894
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
895
895
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
896
- })), M = m(() => te.flatMap((e) => ae.map((t) => ({
896
+ })), M = m(() => ee.flatMap((e) => re.map((t) => ({
897
897
  x: t,
898
898
  y: e,
899
- label: A.value[`${e}-${t}`]
899
+ label: j.value[`${e}-${t}`]
900
900
  }))));
901
- function N(e) {
901
+ function P(e) {
902
902
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
903
903
  }
904
- let P = _(), { canBrowse: I, isUploading: L, showOverlay: ne, openMediaBrowser: R } = be({
905
- target: P,
906
- blocked: () => j(u.value, l),
907
- apply: (e) => D(e.url, ce(e.width, e.height))
904
+ let F = _(), { canBrowse: L, isUploading: R, showOverlay: te, openMediaBrowser: z } = ye({
905
+ target: F,
906
+ blocked: () => k(u.value, l),
907
+ apply: (e) => D(e.url, se(e.width, e.height))
908
908
  });
909
- return (t, n) => (a(), v("div", fn, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
909
+ return (t, n) => (a(), v("div", dn, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
910
910
  key: 0,
911
- class: o(h(K))
911
+ class: o(h(q))
912
912
  }, r(h(c).blockSettings.backgroundImage), 3)), b("div", {
913
913
  ref_key: "dropZoneRef",
914
- ref: P,
914
+ ref: F,
915
915
  class: "tpl:relative",
916
916
  "data-testid": `${e.testidPrefix}-bg-url`
917
917
  }, [
918
- h(ne) ? (a(), C(de, {
918
+ h(te) ? (a(), C(ue, {
919
919
  key: 0,
920
- uploading: h(L)
920
+ uploading: h(R)
921
921
  }, null, 8, ["uploading"])) : g("", !0),
922
- p(Y, {
922
+ p(X, {
923
923
  "model-value": u.value,
924
924
  type: "url",
925
925
  placeholder: h(c).blockSettings.backgroundImagePlaceholder,
926
926
  "onUpdate:modelValue": D
927
927
  }, null, 8, ["model-value", "placeholder"]),
928
- h(I) ? (a(), v("button", {
928
+ h(L) ? (a(), v("button", {
929
929
  key: 1,
930
930
  type: "button",
931
931
  "data-testid": `${e.testidPrefix}-bg-browse`,
@@ -935,21 +935,21 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
935
935
  color: "var(--tpl-primary)",
936
936
  "background-color": "var(--tpl-bg)"
937
937
  },
938
- onClick: n[0] ||= (...e) => h(R) && h(R)(...e)
939
- }, [p(h(ke), {
938
+ onClick: n[0] ||= (...e) => h(z) && h(z)(...e)
939
+ }, [p(h(Oe), {
940
940
  size: 14,
941
941
  "stroke-width": 1.5
942
- }), y(" " + r(h(c).image.browseMedia), 1)], 8, mn)) : g("", !0)
943
- ], 8, pn)]), d.value && e.modelValue ? (a(), v(S, { key: 0 }, [
942
+ }), y(" " + r(h(c).image.browseMedia), 1)], 8, pn)) : g("", !0)
943
+ ], 8, fn)]), d.value && e.modelValue ? (a(), v(S, { key: 0 }, [
944
944
  e.heroMode ? g("", !0) : (a(), v("div", {
945
945
  key: 0,
946
946
  "data-testid": `${e.testidPrefix}-bg-size`
947
- }, [b("label", { class: o(h(K)) }, r(h(c).blockSettings.backgroundSize), 3), p(X, {
948
- options: k.value,
947
+ }, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.backgroundSize), 3), p(Z, {
948
+ options: A.value,
949
949
  "model-value": e.modelValue.size,
950
950
  "onUpdate:modelValue": n[1] ||= (e) => O({ size: e })
951
- }, null, 8, ["options", "model-value"])], 8, hn)),
952
- b("div", null, [b("label", { class: o(h(K)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
951
+ }, 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", {
953
953
  role: "group",
954
954
  "aria-label": h(c).blockSettings.backgroundPosition,
955
955
  "data-testid": `${e.testidPrefix}-bg-position`,
@@ -959,26 +959,26 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
959
959
  type: "button",
960
960
  "aria-label": t.label,
961
961
  title: t.label,
962
- "aria-pressed": N(t),
962
+ "aria-pressed": P(t),
963
963
  "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", N(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
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)]"]),
965
965
  onClick: (e) => O({ position: {
966
966
  x: t.x,
967
967
  y: t.y
968
968
  } })
969
- }, [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, _n))), 128))], 8, gn)]),
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)]),
970
970
  e.heroMode ? g("", !0) : (a(), v("div", {
971
971
  key: 1,
972
972
  "data-testid": `${e.testidPrefix}-bg-repeat`
973
- }, [p(J, {
973
+ }, [p(Y, {
974
974
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
975
975
  "model-value": e.modelValue.repeat,
976
976
  label: h(c).blockSettings.backgroundRepeat,
977
977
  "onUpdate:modelValue": n[2] ||= (e) => O({ repeat: e })
978
- }, null, 8, ["model-value", "label"])], 8, vn))
978
+ }, null, 8, ["model-value", "label"])], 8, _n))
979
979
  ], 64)) : g("", !0)]));
980
980
  }
981
- }), bn = ["data-testid"], xn = { class: "tpl:mt-3" }, Sn = /* @__PURE__ */ E({
981
+ }), yn = ["data-testid"], bn = { class: "tpl:mt-3" }, xn = /* @__PURE__ */ E({
982
982
  __name: "CollapsibleSection",
983
983
  props: {
984
984
  title: {},
@@ -993,30 +993,30 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
993
993
  "data-testid": e.headerTestId,
994
994
  class: "tpl:flex tpl:w-full tpl:cursor-pointer tpl:items-center tpl:gap-1.5 tpl:border-none tpl:bg-transparent tpl:p-0 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
995
995
  onClick: i[0] ||= (e) => t.$emit("toggle")
996
- }, [p(h(we), {
996
+ }, [p(h(Ce), {
997
997
  class: o(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
998
998
  size: 12,
999
999
  "stroke-width": 2
1000
- }, null, 8, ["class"]), b("span", null, r(e.title), 1)], 8, bn), d(b("div", xn, [n(t.$slots, "default")], 512), [[O, e.open]])], 2));
1000
+ }, null, 8, ["class"]), b("span", null, r(e.title), 1)], 8, yn), d(b("div", bn, [n(t.$slots, "default")], 512), [[O, e.open]])], 2));
1001
1001
  }
1002
- }), Cn = {
1002
+ }), Sn = {
1003
1003
  key: 0,
1004
1004
  "data-testid": "section-hero-columns-note",
1005
1005
  class: "tpl:mt-3.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1006
- }, wn = {
1006
+ }, Cn = {
1007
1007
  key: 1,
1008
1008
  "data-testid": "section-hero",
1009
1009
  class: "tpl:mt-3.5 tpl:space-y-3.5"
1010
- }, Tn = { "data-testid": "section-hero-height" }, En = {
1010
+ }, wn = { "data-testid": "section-hero-height" }, Tn = {
1011
1011
  key: 0,
1012
1012
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1013
- }, Dn = {
1013
+ }, En = {
1014
1014
  key: 1,
1015
1015
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1016
- }, On = {
1016
+ }, Dn = {
1017
1017
  key: 1,
1018
1018
  "data-testid": "section-hero-align"
1019
- }, kn = 300, An = /* @__PURE__ */ E({
1019
+ }, On = 300, kn = /* @__PURE__ */ E({
1020
1020
  __name: "HeroControl",
1021
1021
  props: { section: {} },
1022
1022
  emits: ["update"],
@@ -1024,7 +1024,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1024
1024
  function n(e) {
1025
1025
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1026
1026
  }
1027
- let i = e, s = t, { t: c } = H(), l = T(Be, F.liquid), u = T(Qe, null), d = T(Ue, void 0), f = un(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => j(_.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 : kn), O = m(() => [
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(() => [
1028
1028
  {
1029
1029
  value: "fit",
1030
1030
  label: c.blockSettings.heroHeightFit
@@ -1038,7 +1038,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1038
1038
  value: "fixed",
1039
1039
  label: c.blockSettings.heroHeightFixed
1040
1040
  }
1041
- ]), k = m(() => [
1041
+ ]), A = m(() => [
1042
1042
  {
1043
1043
  value: "top",
1044
1044
  label: c.blockSettings.heroAlignTop
@@ -1051,17 +1051,17 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1051
1051
  value: "bottom",
1052
1052
  label: c.blockSettings.heroAlignBottom
1053
1053
  }
1054
- ]), A = m(() => E.value === "image" && y.value && !x.value && re(i.section.backgroundImage) === null);
1054
+ ]), j = m(() => E.value === "image" && y.value && !x.value && L(i.section.backgroundImage) === null);
1055
1055
  function M() {
1056
- return (u ? ye(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? ge(u?.state.content.settings);
1056
+ return (u ? ve(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? he(u?.state.content.settings);
1057
1057
  }
1058
- function N(e) {
1058
+ function P(e) {
1059
1059
  let t = S.value?.verticalAlign ?? "middle";
1060
1060
  if (e === "image") {
1061
1061
  E.value !== "image" && s("update", { hero: {
1062
1062
  height: "image",
1063
1063
  verticalAlign: t
1064
- } }), P();
1064
+ } }), F();
1065
1065
  return;
1066
1066
  }
1067
1067
  if (e === E.value) return;
@@ -1069,19 +1069,19 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1069
1069
  s("update", { hero: void 0 });
1070
1070
  return;
1071
1071
  }
1072
- let n = re(i.section.backgroundImage), r = n === null ? kn : Math.round(M() * n);
1072
+ let n = L(i.section.backgroundImage), r = n === null ? On : Math.round(M() * n);
1073
1073
  s("update", { hero: {
1074
1074
  height: r,
1075
1075
  verticalAlign: t
1076
1076
  } });
1077
1077
  }
1078
- async function P() {
1078
+ async function F() {
1079
1079
  let e = i.section.backgroundImage;
1080
- if (!e || !y.value || x.value || re(e) !== null) return;
1080
+ if (!e || !y.value || x.value || L(e) !== null) return;
1081
1081
  let t = e.url, n = await f(t), r = i.section.backgroundImage;
1082
1082
  n && r && r.url === t && s("update", { backgroundImage: {
1083
1083
  ...r,
1084
- ...pe(n)
1084
+ ...fe(n)
1085
1085
  } });
1086
1086
  }
1087
1087
  function I(e) {
@@ -1090,23 +1090,23 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1090
1090
  height: Math.round(e)
1091
1091
  } });
1092
1092
  }
1093
- function L(e) {
1093
+ function ee(e) {
1094
1094
  S.value && s("update", { hero: {
1095
1095
  ...S.value,
1096
1096
  verticalAlign: e
1097
1097
  } });
1098
1098
  }
1099
- return (e, t) => !w.value && S.value ? (a(), v("p", Cn, r(h(c).section.heroNeedsOneColumn), 1)) : w.value && (y.value || S.value) ? (a(), v("div", wn, [
1100
- b("div", Tn, [
1101
- b("label", { class: o(h(K)) }, r(h(c).blockSettings.heroHeight), 3),
1102
- p(X, {
1099
+ 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
+ b("div", wn, [
1101
+ b("label", { class: o(h(q)) }, r(h(c).blockSettings.heroHeight), 3),
1102
+ p(Z, {
1103
1103
  options: O.value,
1104
1104
  "model-value": E.value,
1105
- "onUpdate:modelValue": N
1105
+ "onUpdate:modelValue": P
1106
1106
  }, null, 8, ["options", "model-value"]),
1107
- x.value ? (a(), v("p", En, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (a(), v("p", Dn, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1107
+ 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
1108
  ]),
1109
- E.value === "fixed" ? (a(), C(Z, {
1109
+ E.value === "fixed" ? (a(), C(Q, {
1110
1110
  key: 0,
1111
1111
  "model-value": D.value,
1112
1112
  min: 1,
@@ -1114,26 +1114,26 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1114
1114
  testid: "section-hero-height-px",
1115
1115
  "onUpdate:modelValue": I
1116
1116
  }, null, 8, ["model-value"])) : g("", !0),
1117
- S.value ? (a(), v("div", On, [b("label", { class: o(h(K)) }, r(h(c).blockSettings.heroAlign), 3), p(X, {
1118
- options: k.value,
1117
+ S.value ? (a(), v("div", Dn, [b("label", { class: o(h(q)) }, r(h(c).blockSettings.heroAlign), 3), p(Z, {
1118
+ options: A.value,
1119
1119
  "model-value": S.value.verticalAlign,
1120
- "onUpdate:modelValue": L
1120
+ "onUpdate:modelValue": ee
1121
1121
  }, null, 8, ["options", "model-value"])])) : g("", !0)
1122
1122
  ])) : g("", !0);
1123
1123
  }
1124
- }), jn = { class: "tpl:space-y-2" }, Mn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Nn = { class: "tpl:space-y-2" }, Pn = ["value"], Fn = { value: "" }, In = ["label"], Ln = ["value"], Rn = ["value"], zn = {
1124
+ }), An = { class: "tpl:space-y-2" }, jn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Mn = { class: "tpl:space-y-2" }, Nn = ["value"], Pn = { value: "" }, Fn = ["label"], In = ["value"], Ln = ["value"], Rn = {
1125
1125
  key: 0,
1126
1126
  value: "__custom__"
1127
- }, Bn = {
1127
+ }, zn = {
1128
1128
  key: 0,
1129
1129
  class: "tpl:space-y-2"
1130
- }, Vn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Hn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Un = { class: "tpl:flex tpl:justify-end" }, Wn = ["disabled"], Gn = {
1130
+ }, Bn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Vn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Hn = { class: "tpl:flex tpl:justify-end" }, Un = ["disabled"], Wn = {
1131
1131
  key: 0,
1132
1132
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1133
- }, Kn = { class: "tpl:space-y-1" }, qn = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, Jn = {
1133
+ }, Gn = { class: "tpl:space-y-1" }, Kn = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, qn = {
1134
1134
  key: 0,
1135
1135
  class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1136
- }, Yn = /* @__PURE__ */ E({
1136
+ }, Jn = /* @__PURE__ */ E({
1137
1137
  __name: "CommonBlockSettings",
1138
1138
  props: {
1139
1139
  block: {},
@@ -1141,23 +1141,23 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1141
1141
  },
1142
1142
  emits: ["update"],
1143
1143
  setup(e, { emit: n }) {
1144
- let c = e, f = n, { t: x, format: w } = H(), E = T(Qe, null), O = T(He, void 0), A = m(() => E?.activeLocale?.value), j = m(() => !!(A.value && E?.selectedBlock?.value?.l10n?.[A.value]?.hidden)), M = T(Ke, []), N = T(Ze, !1), P = l(/* @__PURE__ */ new Set()), F = _(!1), I = _(""), L = _(""), ee = [{
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 = [{
1145
1145
  key: "desktop",
1146
- icon: Me,
1146
+ icon: je,
1147
1147
  labelKey: "showOnDesktop"
1148
1148
  }, {
1149
1149
  key: "mobile",
1150
- icon: Ne,
1150
+ icon: Me,
1151
1151
  labelKey: "showOnMobile"
1152
1152
  }];
1153
- function te(e) {
1153
+ function R(e) {
1154
1154
  P.has(e) ? P.delete(e) : P.add(e);
1155
1155
  }
1156
- let ne = m(() => M.length > 0 || N), R = m(() => c.block.displayCondition ? !M.some((e) => e.label === c.block.displayCondition?.label) : !1);
1157
- function re() {
1158
- F.value = !0, R.value && c.block.displayCondition ? (I.value = c.block.displayCondition.before, L.value = c.block.displayCondition.after ?? "") : (I.value = "", L.value = "");
1156
+ let te = m(() => M.length > 0 || N), z = m(() => c.block.displayCondition ? !M.some((e) => e.label === c.block.displayCondition?.label) : !1);
1157
+ function ne() {
1158
+ 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
1159
  }
1160
- function ie() {
1160
+ function re() {
1161
1161
  let e = I.value.trim(), t = L.value.trim();
1162
1162
  e && (f("update", { displayCondition: {
1163
1163
  label: x.blockSettings.customCondition,
@@ -1173,44 +1173,44 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1173
1173
  () => c.block.displayCondition?.after
1174
1174
  ], () => {
1175
1175
  let e = c.block.displayCondition;
1176
- !e || !R.value ? (F.value = !1, I.value = "", L.value = "") : (I.value = e.before, L.value = e.after ?? "");
1176
+ !e || !z.value ? (F.value = !1, I.value = "", L.value = "") : (I.value = e.before, L.value = e.after ?? "");
1177
1177
  }, { immediate: !0 });
1178
- let ae = m(() => {
1178
+ let ie = m(() => {
1179
1179
  let e = {};
1180
1180
  for (let t of M) {
1181
1181
  let n = t.group ?? "";
1182
1182
  e[n] || (e[n] = []), e[n].push(t);
1183
1183
  }
1184
1184
  return e;
1185
- }), oe = m(() => c.block.type === "section" && k(c.block)?.applied === !0);
1186
- function se(e, t) {
1185
+ }), ae = m(() => c.block.type === "section" && j(c.block)?.applied === !0);
1186
+ function oe(e, t) {
1187
1187
  f("update", { styles: {
1188
1188
  ...c.block.styles,
1189
1189
  [e]: t
1190
1190
  } });
1191
1191
  }
1192
- function ce(e) {
1192
+ function se(e) {
1193
1193
  return c.block.visibility?.[e] !== !1;
1194
1194
  }
1195
- function le(e) {
1195
+ function ce(e) {
1196
1196
  let t = {
1197
- desktop: ce("desktop"),
1198
- mobile: ce("mobile")
1197
+ desktop: se("desktop"),
1198
+ mobile: se("mobile")
1199
1199
  };
1200
1200
  t[e] = !t[e], f("update", { visibility: t });
1201
1201
  }
1202
1202
  return (t, n) => (a(), v("div", { class: o(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1203
- p(Sn, {
1203
+ p(xn, {
1204
1204
  title: h(x).blockSettings.spacing,
1205
1205
  open: P.has("spacing"),
1206
1206
  "no-border": e.isFirstSection,
1207
- onToggle: n[1] ||= (e) => te("spacing")
1207
+ onToggle: n[1] ||= (e) => R("spacing")
1208
1208
  }, {
1209
- default: u(() => [p(cn, {
1209
+ default: u(() => [p(sn, {
1210
1210
  path: "styles.padding",
1211
1211
  label: h(x).blockSettings.padding,
1212
1212
  "model-value": e.block.styles.padding,
1213
- "onUpdate:modelValue": n[0] ||= (e) => se("padding", e)
1213
+ "onUpdate:modelValue": n[0] ||= (e) => oe("padding", e)
1214
1214
  }, null, 8, ["label", "model-value"])]),
1215
1215
  _: 1
1216
1216
  }, 8, [
@@ -1218,46 +1218,46 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1218
1218
  "open",
1219
1219
  "no-border"
1220
1220
  ]),
1221
- p(Sn, {
1221
+ p(xn, {
1222
1222
  title: h(x).blockSettings.background,
1223
1223
  open: P.has("bg"),
1224
1224
  "header-test-id": "block-settings-background",
1225
- onToggle: n[5] ||= (e) => te("bg")
1225
+ onToggle: n[5] ||= (e) => R("bg")
1226
1226
  }, {
1227
1227
  default: u(() => [
1228
- p(q, {
1228
+ p(J, {
1229
1229
  path: "styles.backgroundColor",
1230
1230
  label: h(x).blockSettings.color
1231
1231
  }, {
1232
- default: u(() => [p(B, {
1232
+ default: u(() => [p(V, {
1233
1233
  "model-value": e.block.styles.backgroundColor ?? "",
1234
1234
  "allow-transparent": "",
1235
- "onUpdate:modelValue": n[2] ||= (e) => se("backgroundColor", e)
1235
+ "onUpdate:modelValue": n[2] ||= (e) => oe("backgroundColor", e)
1236
1236
  }, null, 8, ["model-value"])]),
1237
1237
  _: 1
1238
1238
  }, 8, ["label"]),
1239
- e.block.type === "section" ? (a(), C(q, {
1239
+ e.block.type === "section" ? (a(), C(J, {
1240
1240
  key: 0,
1241
1241
  path: "backgroundImage",
1242
1242
  label: h(x).blockSettings.backgroundImage
1243
1243
  }, {
1244
- default: u(() => [p(yn, {
1244
+ default: u(() => [p(vn, {
1245
1245
  "hide-label": "",
1246
1246
  class: "tpl:mt-3.5",
1247
1247
  "model-value": e.block.backgroundImage,
1248
1248
  "testid-prefix": "section",
1249
1249
  measure: "",
1250
- "hero-mode": oe.value,
1250
+ "hero-mode": ae.value,
1251
1251
  "onUpdate:modelValue": n[3] ||= (e) => f("update", { backgroundImage: e })
1252
1252
  }, null, 8, ["model-value", "hero-mode"])]),
1253
1253
  _: 1
1254
1254
  }, 8, ["label"])) : g("", !0),
1255
- e.block.type === "section" ? (a(), C(q, {
1255
+ e.block.type === "section" ? (a(), C(J, {
1256
1256
  key: 1,
1257
1257
  path: "hero",
1258
1258
  label: h(x).blocks.hero
1259
1259
  }, {
1260
- default: u(() => [p(An, {
1260
+ default: u(() => [p(kn, {
1261
1261
  section: e.block,
1262
1262
  onUpdate: n[4] ||= (e) => f("update", e)
1263
1263
  }, null, 8, ["section"])]),
@@ -1266,38 +1266,38 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1266
1266
  ]),
1267
1267
  _: 1
1268
1268
  }, 8, ["title", "open"]),
1269
- p(Sn, {
1269
+ p(xn, {
1270
1270
  title: h(x).blockSettings.display,
1271
1271
  open: P.has("display"),
1272
- onToggle: n[7] ||= (e) => te("display")
1272
+ onToggle: n[7] ||= (e) => R("display")
1273
1273
  }, {
1274
- default: u(() => [b("div", jn, [A.value && h(O) ? (a(), C(J, {
1274
+ default: u(() => [b("div", An, [k.value && h(O) ? (a(), C(Y, {
1275
1275
  key: 0,
1276
1276
  "data-testid": "locale-hide",
1277
- disabled: !h(O).locales.includes(A.value),
1278
- "model-value": j.value,
1279
- label: h(w)(h(x).localization.hide, { language: h(et)(A.value) }),
1277
+ disabled: !h(O).locales.includes(k.value),
1278
+ "model-value": A.value,
1279
+ label: h(w)(h(x).localization.hide, { language: h($e)(k.value) }),
1280
1280
  "onUpdate:modelValue": n[6] ||= (t) => h(E)?.setBlockHidden?.(e.block.id, t)
1281
1281
  }, null, 8, [
1282
1282
  "disabled",
1283
1283
  "model-value",
1284
1284
  "label"
1285
- ])) : g("", !0), (a(), v(S, null, s(ee, (e) => p(q, {
1285
+ ])) : g("", !0), (a(), v(S, null, s(ee, (e) => p(J, {
1286
1286
  key: e.key,
1287
1287
  path: `visibility.${e.key}`,
1288
1288
  label: h(x).blockSettings[e.labelKey]
1289
1289
  }, {
1290
- label: u(() => [b("span", Mn, [(a(), C(i(e.icon), {
1290
+ label: u(() => [b("span", jn, [(a(), C(i(e.icon), {
1291
1291
  size: 14,
1292
1292
  "stroke-width": 1.5
1293
1293
  })), y(" " + r(h(x).blockSettings[e.labelKey]), 1)])]),
1294
- "label-actions": u(({ controlId: t }) => [p(J, {
1294
+ "label-actions": u(({ controlId: t }) => [p(Y, {
1295
1295
  "control-id": t,
1296
1296
  "hide-label": "",
1297
1297
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1298
- "model-value": ce(e.key),
1298
+ "model-value": se(e.key),
1299
1299
  label: h(x).blockSettings[e.labelKey],
1300
- "onUpdate:modelValue": (t) => le(e.key)
1300
+ "onUpdate:modelValue": (t) => ce(e.key)
1301
1301
  }, null, 8, [
1302
1302
  "control-id",
1303
1303
  "model-value",
@@ -1308,25 +1308,25 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1308
1308
  }, 1032, ["path", "label"])), 64))])]),
1309
1309
  _: 1
1310
1310
  }, 8, ["title", "open"]),
1311
- ne.value ? (a(), C(Sn, {
1311
+ te.value ? (a(), C(xn, {
1312
1312
  key: 0,
1313
1313
  "header-test-id": "display-condition-section",
1314
1314
  title: h(x).blockSettings.displayCondition,
1315
1315
  open: P.has("condition"),
1316
- onToggle: n[11] ||= (e) => te("condition")
1316
+ onToggle: n[11] ||= (e) => R("condition")
1317
1317
  }, {
1318
- default: u(() => [b("div", Nn, [p(q, {
1318
+ default: u(() => [b("div", Mn, [p(J, {
1319
1319
  path: "displayCondition",
1320
1320
  label: h(x).blockSettings.displayCondition
1321
1321
  }, {
1322
1322
  default: u(() => [b("select", {
1323
1323
  "data-testid": "display-condition-select",
1324
1324
  class: o(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1325
- value: F.value || R.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1325
+ value: F.value || z.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1326
1326
  onChange: n[8] ||= (e) => {
1327
1327
  let t = e.target.value;
1328
1328
  if (t === "__custom__") {
1329
- re();
1329
+ ne();
1330
1330
  return;
1331
1331
  }
1332
1332
  if (F.value = !1, !t) {
@@ -1337,43 +1337,43 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1337
1337
  n && f("update", { displayCondition: n });
1338
1338
  }
1339
1339
  }, [
1340
- b("option", Fn, r(h(x).blockSettings.noCondition), 1),
1341
- (a(!0), v(S, null, s(ae.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1340
+ b("option", Pn, r(h(x).blockSettings.noCondition), 1),
1341
+ (a(!0), v(S, null, s(ie.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1342
1342
  key: 0,
1343
1343
  label: String(t)
1344
1344
  }, [(a(!0), v(S, null, s(e, (e) => (a(), v("option", {
1345
1345
  key: e.label,
1346
1346
  value: e.label
1347
- }, r(e.label), 9, Ln))), 128))], 8, In)) : (a(!0), v(S, { key: 1 }, s(e, (e) => (a(), v("option", {
1347
+ }, r(e.label), 9, In))), 128))], 8, Fn)) : (a(!0), v(S, { key: 1 }, s(e, (e) => (a(), v("option", {
1348
1348
  key: e.label,
1349
1349
  value: e.label
1350
- }, r(e.label), 9, Rn))), 128))], 64))), 128)),
1351
- h(N) ? (a(), v("option", zn, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1352
- ], 42, Pn)]),
1350
+ }, r(e.label), 9, Ln))), 128))], 64))), 128)),
1351
+ h(N) ? (a(), v("option", Rn, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1352
+ ], 42, Nn)]),
1353
1353
  _: 1
1354
- }, 8, ["label"]), F.value || R.value ? (a(), v("div", Bn, [
1355
- b("div", null, [b("label", Vn, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1354
+ }, 8, ["label"]), F.value || z.value ? (a(), v("div", zn, [
1355
+ b("div", null, [b("label", Bn, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1356
1356
  "onUpdate:modelValue": n[9] ||= (e) => I.value = e,
1357
1357
  rows: "2",
1358
- class: o(h(at))
1358
+ class: o(h(it))
1359
1359
  }, null, 2), [[D, I.value]])]),
1360
- b("div", null, [b("label", Hn, r(h(x).blockSettings.customConditionAfter), 1), d(b("textarea", {
1360
+ b("div", null, [b("label", Vn, r(h(x).blockSettings.customConditionAfter), 1), d(b("textarea", {
1361
1361
  "onUpdate:modelValue": n[10] ||= (e) => L.value = e,
1362
1362
  rows: "2",
1363
- class: o(h(at))
1363
+ class: o(h(it))
1364
1364
  }, null, 2), [[D, L.value]])]),
1365
- b("div", Un, [b("button", {
1365
+ b("div", Hn, [b("button", {
1366
1366
  type: "button",
1367
- class: o(h(nt)),
1367
+ class: o(h(tt)),
1368
1368
  disabled: !I.value.trim(),
1369
- onClick: ie
1370
- }, r(h(x).blockSettings.applyCondition), 11, Wn)])
1371
- ])) : e.block.displayCondition && !R.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", Gn, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Kn, [b("pre", qn, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", Jn, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)])]),
1369
+ onClick: re
1370
+ }, r(h(x).blockSettings.applyCondition), 11, Un)])
1371
+ ])) : e.block.displayCondition && !z.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", Wn, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Gn, [b("pre", Kn, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", qn, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)])]),
1372
1372
  _: 1
1373
1373
  }, 8, ["title", "open"])) : g("", !0)
1374
1374
  ], 2));
1375
1375
  }
1376
- }), Xn = ["title"], Zn = { class: "tpl-sr-only" }, Qn = ["title"], $n = { class: "tpl-sr-only" }, er = /* @__PURE__ */ E({
1376
+ }), Yn = ["title"], Xn = { class: "tpl-sr-only" }, Zn = ["title"], Qn = { class: "tpl-sr-only" }, $n = /* @__PURE__ */ E({
1377
1377
  __name: "FieldLabel",
1378
1378
  props: {
1379
1379
  label: {},
@@ -1381,25 +1381,25 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1381
1381
  readOnly: { type: Boolean }
1382
1382
  },
1383
1383
  setup(e) {
1384
- let { t } = H();
1384
+ let { t } = U();
1385
1385
  return (n, i) => (a(), v("span", null, [
1386
1386
  y(r(e.label) + " ", 1),
1387
1387
  e.readOnly ? (a(), v("span", {
1388
1388
  key: 0,
1389
1389
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1390
- }, [p(h(pt), {
1390
+ }, [p(h(ft), {
1391
1391
  size: 12,
1392
1392
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1393
1393
  "aria-hidden": "true"
1394
- }), b("span", Zn, r(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Xn)) : g("", !0),
1394
+ }), b("span", Xn, r(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Yn)) : g("", !0),
1395
1395
  e.required ? (a(), v("span", {
1396
1396
  key: 1,
1397
1397
  class: "tpl:text-[var(--tpl-danger)]",
1398
1398
  title: h(t).customBlocks.fields.required
1399
- }, [i[0] ||= b("span", { "aria-hidden": "true" }, "*", -1), b("span", $n, r(h(t).customBlocks.fields.required), 1)], 8, Qn)) : g("", !0)
1399
+ }, [i[0] ||= b("span", { "aria-hidden": "true" }, "*", -1), b("span", Qn, r(h(t).customBlocks.fields.required), 1)], 8, Zn)) : g("", !0)
1400
1400
  ]));
1401
1401
  }
1402
- }), tr = ["title"], nr = /* @__PURE__ */ E({
1402
+ }), er = ["title"], tr = /* @__PURE__ */ E({
1403
1403
  __name: "BooleanField",
1404
1404
  props: {
1405
1405
  field: {},
@@ -1410,11 +1410,11 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1410
1410
  },
1411
1411
  emits: ["update:modelValue"],
1412
1412
  setup(e, { emit: t }) {
1413
- let n = t, { t: i } = H();
1413
+ let n = t, { t: i } = U();
1414
1414
  return (t, o) => (a(), v("div", {
1415
1415
  class: "tpl:mb-3.5",
1416
1416
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0
1417
- }, [p(J, {
1417
+ }, [p(Y, {
1418
1418
  "hide-label": e.hideLabel,
1419
1419
  "control-id": e.controlId,
1420
1420
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -1424,7 +1424,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1424
1424
  disabled: e.readOnly,
1425
1425
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1426
1426
  }, {
1427
- default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), C(h(pt), {
1427
+ default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), C(h(ft), {
1428
1428
  key: 0,
1429
1429
  size: 12,
1430
1430
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1437,9 +1437,9 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1437
1437
  "label",
1438
1438
  "required",
1439
1439
  "disabled"
1440
- ])], 8, tr));
1440
+ ])], 8, er));
1441
1441
  }
1442
- }), rr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ E({
1442
+ }), nr = { class: "tpl:mb-3.5" }, rr = /* @__PURE__ */ E({
1443
1443
  __name: "FieldWrapper",
1444
1444
  props: {
1445
1445
  label: {},
@@ -1448,10 +1448,10 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1448
1448
  readOnly: { type: Boolean }
1449
1449
  },
1450
1450
  setup(e) {
1451
- return (t, r) => (a(), v("div", rr, [e.hideLabel ? g("", !0) : (a(), v("label", {
1451
+ return (t, r) => (a(), v("div", nr, [e.hideLabel ? g("", !0) : (a(), v("label", {
1452
1452
  key: 0,
1453
- class: o(h(K))
1454
- }, [p(er, {
1453
+ class: o(h(q))
1454
+ }, [p($n, {
1455
1455
  label: e.label,
1456
1456
  required: e.required,
1457
1457
  "read-only": e.readOnly
@@ -1471,14 +1471,14 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1471
1471
  },
1472
1472
  emits: ["update:modelValue"],
1473
1473
  setup(e, { emit: t }) {
1474
- let n = e, r = t, { t: i } = H(), o = T(Xe, ct), s = m(() => xe(n.field, o));
1475
- return (t, n) => (a(), C($, {
1474
+ let n = e, r = t, { t: i } = U(), o = T(Ye, st), s = m(() => be(n.field, o));
1475
+ return (t, n) => (a(), C(rr, {
1476
1476
  "hide-label": e.hideLabel,
1477
1477
  label: e.field.label,
1478
1478
  required: e.field.required,
1479
1479
  "read-only": e.readOnly
1480
1480
  }, {
1481
- default: u(() => [p(B, {
1481
+ default: u(() => [p(V, {
1482
1482
  "model-value": e.modelValue,
1483
1483
  placeholder: e.field.placeholder,
1484
1484
  disabled: e.readOnly,
@@ -1516,12 +1516,12 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1516
1516
  },
1517
1517
  emits: ["update:modelValue"],
1518
1518
  setup(e, { emit: t }) {
1519
- let n = e, i = t, { t: s } = H(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = be({
1519
+ let n = e, i = t, { t: s } = U(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = ye({
1520
1520
  target: c,
1521
1521
  blocked: () => !!n.readOnly,
1522
1522
  apply: (e) => i("update:modelValue", e.url)
1523
1523
  });
1524
- return (t, n) => (a(), C($, {
1524
+ return (t, n) => (a(), C(rr, {
1525
1525
  "hide-label": e.hideLabel,
1526
1526
  label: e.field.label,
1527
1527
  required: e.field.required,
@@ -1532,14 +1532,14 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1532
1532
  ref: c,
1533
1533
  class: "tpl:relative"
1534
1534
  }, [
1535
- h(f) ? (a(), C(de, {
1535
+ h(f) ? (a(), C(ue, {
1536
1536
  key: 0,
1537
1537
  uploading: h(d)
1538
1538
  }, null, 8, ["uploading"])) : g("", !0),
1539
1539
  e.readOnly ? (a(), v("input", {
1540
1540
  key: 1,
1541
1541
  type: "url",
1542
- class: o([h(G), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1542
+ class: o([h(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1543
1543
  value: e.modelValue,
1544
1544
  placeholder: e.field.placeholder || "https://...",
1545
1545
  disabled: "",
@@ -1547,7 +1547,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1547
1547
  }, null, 10, ar)) : (a(), v("input", {
1548
1548
  key: 2,
1549
1549
  type: "url",
1550
- class: o(h(G)),
1550
+ class: o(h(K)),
1551
1551
  value: e.modelValue,
1552
1552
  placeholder: e.field.placeholder || "https://...",
1553
1553
  onInput: n[0] ||= (e) => i("update:modelValue", e.target.value)
@@ -1556,7 +1556,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1556
1556
  key: 3,
1557
1557
  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
1558
  onClick: n[1] ||= (e) => h(m)()
1559
- }, [p(h(ke), {
1559
+ }, [p(h(Oe), {
1560
1560
  size: 14,
1561
1561
  "stroke-width": 1.5
1562
1562
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
@@ -1587,8 +1587,8 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1587
1587
  },
1588
1588
  emits: ["update:modelValue"],
1589
1589
  setup(e, { emit: t }) {
1590
- let n = t, { t: r } = H();
1591
- return (t, i) => (a(), C($, {
1590
+ let n = t, { t: r } = U();
1591
+ return (t, i) => (a(), C(rr, {
1592
1592
  "hide-label": e.hideLabel,
1593
1593
  label: e.field.label,
1594
1594
  required: e.field.required,
@@ -1596,7 +1596,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1596
1596
  }, {
1597
1597
  default: u(() => [b("input", {
1598
1598
  type: "number",
1599
- class: o([h(G), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1599
+ class: o([h(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1600
1600
  value: e.modelValue,
1601
1601
  placeholder: e.field.placeholder,
1602
1602
  min: e.field.min,
@@ -1630,7 +1630,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1630
1630
  },
1631
1631
  emits: ["update:modelValue"],
1632
1632
  setup(e, { emit: t }) {
1633
- let n = e, c = t, { t: l, format: d } = H(), 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);
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);
1634
1634
  function w() {
1635
1635
  if (!_.value || n.readOnly) return;
1636
1636
  let e = {};
@@ -1649,7 +1649,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1649
1649
  } : r);
1650
1650
  c("update:modelValue", r);
1651
1651
  }
1652
- return (t, n) => (a(), C($, {
1652
+ return (t, n) => (a(), C(rr, {
1653
1653
  "hide-label": e.hideLabel,
1654
1654
  label: e.field.label,
1655
1655
  required: e.field.required,
@@ -1665,7 +1665,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1665
1665
  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
1666
  title: h(l).customBlocks.fields.removeItem,
1667
1667
  onClick: (e) => T(n)
1668
- }, [p(h(Re), {
1668
+ }, [p(h(Le), {
1669
1669
  size: 12,
1670
1670
  "stroke-width": 2
1671
1671
  })], 8, pr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), C(i(h(Tr)(r.type)), {
@@ -1683,9 +1683,9 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1683
1683
  _.value && !e.readOnly ? (a(), v("button", {
1684
1684
  key: 0,
1685
1685
  type: "button",
1686
- class: o(h(rt)),
1686
+ class: o(h(nt)),
1687
1687
  onClick: w
1688
- }, [p(h(V), {
1688
+ }, [p(h(H), {
1689
1689
  size: 14,
1690
1690
  "stroke-width": 2
1691
1691
  }), y(" " + r(h(l).customBlocks.fields.addItem), 1)], 2)) : g("", !0),
@@ -1714,15 +1714,15 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1714
1714
  },
1715
1715
  emits: ["update:modelValue"],
1716
1716
  setup(e, { emit: t }) {
1717
- let n = t, { t: i } = H();
1718
- return (t, c) => (a(), C($, {
1717
+ let n = t, { t: i } = U();
1718
+ return (t, c) => (a(), C(rr, {
1719
1719
  "hide-label": e.hideLabel,
1720
1720
  label: e.field.label,
1721
1721
  required: e.field.required,
1722
1722
  "read-only": e.readOnly
1723
1723
  }, {
1724
1724
  default: u(() => [b("select", {
1725
- class: o([h(G), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1725
+ class: o([h(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1726
1726
  value: e.modelValue,
1727
1727
  disabled: e.readOnly,
1728
1728
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0,
@@ -1753,8 +1753,8 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1753
1753
  },
1754
1754
  emits: ["update:modelValue"],
1755
1755
  setup(e, { emit: t }) {
1756
- let n = t, { t: r } = H();
1757
- return (t, i) => (a(), C($, {
1756
+ let n = t, { t: r } = U();
1757
+ return (t, i) => (a(), C(rr, {
1758
1758
  "hide-label": e.hideLabel,
1759
1759
  label: e.field.label,
1760
1760
  required: e.field.required,
@@ -1763,12 +1763,12 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1763
1763
  default: u(() => [e.readOnly ? (a(), v("input", {
1764
1764
  key: 0,
1765
1765
  type: "text",
1766
- class: o([h(G), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1766
+ class: o([h(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1767
1767
  value: e.modelValue,
1768
1768
  placeholder: e.field.placeholder,
1769
1769
  disabled: "",
1770
1770
  title: h(r).customBlocks.dataSource.readOnlyTooltip
1771
- }, null, 10, br)) : (a(), C(Y, {
1771
+ }, null, 10, br)) : (a(), C(X, {
1772
1772
  key: 1,
1773
1773
  "model-value": e.modelValue,
1774
1774
  placeholder: e.field.placeholder,
@@ -1798,8 +1798,8 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1798
1798
  },
1799
1799
  emits: ["update:modelValue"],
1800
1800
  setup(e, { emit: t }) {
1801
- let n = t, { t: r } = H();
1802
- return (t, i) => (a(), C($, {
1801
+ let n = t, { t: r } = U();
1802
+ return (t, i) => (a(), C(rr, {
1803
1803
  "hide-label": e.hideLabel,
1804
1804
  label: e.field.label,
1805
1805
  required: e.field.required,
@@ -1813,7 +1813,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1813
1813
  disabled: "",
1814
1814
  title: h(r).customBlocks.dataSource.readOnlyTooltip,
1815
1815
  class: o(Cr)
1816
- }, null, 8, Sr)) : (a(), C(lt, {
1816
+ }, null, 8, Sr)) : (a(), C(ct, {
1817
1817
  key: 1,
1818
1818
  "model-value": e.modelValue,
1819
1819
  placeholder: e.field.placeholder,
@@ -1832,7 +1832,7 @@ var fn = { class: "tpl:space-y-3.5" }, pn = ["data-testid"], mn = ["data-testid"
1832
1832
  color: ir,
1833
1833
  number: lr,
1834
1834
  select: yr,
1835
- boolean: nr,
1835
+ boolean: tr,
1836
1836
  repeatable: gr
1837
1837
  };
1838
1838
  function Tr(e) {
@@ -1862,7 +1862,7 @@ var Er = {
1862
1862
  props: { block: {} },
1863
1863
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1864
1864
  setup(e, { emit: t }) {
1865
- let n = e, o = t, { t: c } = H(), l = T(Je, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: w, hasDataSource: E, needsFetch: D } = oe({
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({
1866
1866
  definition: d,
1867
1867
  block: f,
1868
1868
  onUpdate: (e, t) => {
@@ -1890,16 +1890,16 @@ var Er = {
1890
1890
  type: "button",
1891
1891
  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
1892
  onClick: n[1] ||= (...e) => h(w) && h(w)(...e)
1893
- }, [p(h(Pe), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", Nr, [p(h(Te), {
1893
+ }, [p(h(Ne), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", Nr, [p(h(we), {
1894
1894
  size: 14,
1895
1895
  class: "tpl:shrink-0"
1896
1896
  }), 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(q, {
1897
+ (a(!0), v(S, null, s(d.value.fields, (t) => (a(), C(J, {
1898
1898
  key: t.key,
1899
1899
  path: `fieldValues.${t.key}`,
1900
1900
  label: t.label
1901
1901
  }, {
1902
- label: u(() => [p(er, {
1902
+ label: u(() => [p($n, {
1903
1903
  label: t.label,
1904
1904
  required: t.required,
1905
1905
  "read-only": O(t)
@@ -1931,17 +1931,17 @@ var Er = {
1931
1931
  props: { block: {} },
1932
1932
  emits: ["update"],
1933
1933
  setup(e, { emit: t }) {
1934
- let n = t, { t: r } = H();
1934
+ let n = t, { t: r } = U();
1935
1935
  function i(e, t) {
1936
1936
  n("update", { [e]: t });
1937
1937
  }
1938
1938
  return (t, n) => (a(), v(S, null, [
1939
- p(q, {
1939
+ p(J, {
1940
1940
  label: h(r).divider.style,
1941
1941
  class: "tpl:mb-3.5",
1942
1942
  path: "lineStyle"
1943
1943
  }, {
1944
- default: u(() => [p(X, {
1944
+ default: u(() => [p(Z, {
1945
1945
  options: [
1946
1946
  {
1947
1947
  value: "solid",
@@ -1961,30 +1961,30 @@ var Er = {
1961
1961
  }, null, 8, ["options", "model-value"])]),
1962
1962
  _: 1
1963
1963
  }, 8, ["label"]),
1964
- p(q, {
1964
+ p(J, {
1965
1965
  label: h(r).divider.color,
1966
1966
  class: "tpl:mb-3.5",
1967
1967
  path: "color"
1968
1968
  }, {
1969
- default: u(() => [p(B, {
1969
+ default: u(() => [p(V, {
1970
1970
  "model-value": e.block.color,
1971
1971
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
1972
1972
  }, null, 8, ["model-value"])]),
1973
1973
  _: 1
1974
1974
  }, 8, ["label"]),
1975
- p(q, {
1975
+ p(J, {
1976
1976
  label: h(r).divider.thickness,
1977
1977
  class: "tpl:mb-3.5",
1978
1978
  path: "thickness"
1979
1979
  }, {
1980
1980
  default: u(() => [b("div", Fr, [b("input", {
1981
1981
  type: "number",
1982
- class: o(h(W)),
1982
+ class: o(h(G)),
1983
1983
  value: e.block.thickness,
1984
1984
  min: "1",
1985
1985
  max: "10",
1986
1986
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
1987
- }, null, 42, Ir), b("span", { class: o(h(U)) }, "px", 2)])]),
1987
+ }, null, 42, Ir), b("span", { class: o(h(W)) }, "px", 2)])]),
1988
1988
  _: 1
1989
1989
  }, 8, ["label"])
1990
1990
  ], 64));
@@ -1994,8 +1994,8 @@ var Er = {
1994
1994
  props: { block: {} },
1995
1995
  emits: ["update"],
1996
1996
  setup(e, { emit: t }) {
1997
- let n = t, { t: i } = H();
1998
- return (t, s) => (a(), C(q, {
1997
+ let n = t, { t: i } = U();
1998
+ return (t, s) => (a(), C(J, {
1999
1999
  label: h(i).html.content,
2000
2000
  class: "tpl:mb-3.5",
2001
2001
  path: "content"
@@ -2004,9 +2004,9 @@ var Er = {
2004
2004
  value: e.block.content,
2005
2005
  placeholder: "<div>...</div>",
2006
2006
  rows: "10",
2007
- class: o(h(at)),
2007
+ class: o(h(it)),
2008
2008
  onInput: s[0] ||= (e) => n("update", { content: e.target.value })
2009
- }, null, 42, Rr), b("p", zr, [p(h(Ae), {
2009
+ }, null, 42, Rr), b("p", zr, [p(h(ke), {
2010
2010
  size: 12,
2011
2011
  class: "tpl:mt-0.5 tpl:shrink-0"
2012
2012
  }), y(" " + r(h(i).html.sanitizationHint), 1)])]),
@@ -2020,7 +2020,7 @@ function Vr(e) {
2020
2020
  t(() => e.block().id, () => {
2021
2021
  n.value = !1, r.value = null;
2022
2022
  });
2023
- let i = m(() => fe(e.block()) ?? e.measured()), a = m(() => {
2023
+ let i = m(() => de(e.block()) ?? e.measured()), a = m(() => {
2024
2024
  let t = e.block().width;
2025
2025
  return t === "full" ? e.room() : t;
2026
2026
  }), o = m(() => {
@@ -2031,9 +2031,9 @@ function Vr(e) {
2031
2031
  return t === void 0 || o.value !== null && Math.abs(o.value - t) <= 1;
2032
2032
  }), l = m(() => s.value && !n.value && c.value);
2033
2033
  function u() {
2034
- if (fe(e.block())) return {};
2034
+ if (de(e.block())) return {};
2035
2035
  let t = e.measured();
2036
- return t ? pe(t) : {};
2036
+ return t ? fe(t) : {};
2037
2037
  }
2038
2038
  function d(t) {
2039
2039
  if (r.value = null, !t) return n.value = !0, null;
@@ -2095,97 +2095,97 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2095
2095
  props: { block: {} },
2096
2096
  emits: ["update"],
2097
2097
  setup(e, { emit: t }) {
2098
- let n = e, i = t, { t: s, format: c } = H(), l = T(Be, F.liquid), d = T(Qe, null), f = d ? $e(d) : null, w = T(Ue, void 0), E = _(!1), D = _(!1), { start: O } = ot(() => {
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(() => {
2099
2099
  E.value = !1, D.value = !1;
2100
- }, 1e3, { immediate: !1 }), k = [
2100
+ }, 1e3, { immediate: !1 }), A = [
2101
2101
  300,
2102
2102
  400,
2103
2103
  500
2104
- ], A = m(() => {
2104
+ ], j = m(() => {
2105
2105
  let e = n.block.width;
2106
- return e === "full" ? "full" : k.includes(e) ? String(e) : "custom";
2106
+ return e === "full" ? "full" : A.includes(e) ? String(e) : "custom";
2107
2107
  }), M = m(() => typeof n.block.height == "number" ? "custom" : "auto");
2108
2108
  function P(e, t) {
2109
2109
  i("update", { [e]: t });
2110
2110
  }
2111
- function I(e) {
2111
+ function F(e) {
2112
2112
  if (e === "custom") {
2113
2113
  let e = n.block.width;
2114
- (typeof e != "number" || k.includes(e)) && i("update", z.widthUpdates(ii));
2115
- } else i("update", z.widthUpdates(e === "full" ? "full" : Number(e)));
2114
+ (typeof e != "number" || A.includes(e)) && i("update", B.widthUpdates(ii));
2115
+ } else i("update", B.widthUpdates(e === "full" ? "full" : Number(e)));
2116
2116
  }
2117
- function L(e) {
2117
+ function I(e) {
2118
2118
  P("height", e === "custom" ? ai : void 0);
2119
2119
  }
2120
- function ee(e) {
2120
+ function L(e) {
2121
2121
  let t = Number(e);
2122
2122
  !Number.isFinite(t) || t <= 0 || P("height", t);
2123
2123
  }
2124
- function te(e) {
2125
- P("borderRadius", N(e) === null ? void 0 : e);
2124
+ function ee(e) {
2125
+ P("borderRadius", ie(e) === null ? void 0 : e);
2126
2126
  }
2127
- function ne(e) {
2127
+ function R(e) {
2128
2128
  let t = Number(e);
2129
- !Number.isFinite(t) || t <= 0 || i("update", z.widthUpdates(t));
2129
+ !Number.isFinite(t) || t <= 0 || i("update", B.widthUpdates(t));
2130
2130
  }
2131
- function R(e) {
2131
+ function te(e) {
2132
2132
  e !== n.block.src && i("update", {
2133
2133
  src: e,
2134
- ...pe(null)
2134
+ ...fe(null)
2135
2135
  });
2136
2136
  }
2137
- function re(e) {
2137
+ function z(e) {
2138
2138
  i("update", {
2139
2139
  src: e.url,
2140
- ...pe(ce(e.width, e.height))
2140
+ ...fe(se(e.width, e.height))
2141
2141
  }), e.alt && (P("alt", e.alt), D.value = !0), E.value = !0, O();
2142
2142
  }
2143
- let ie = _(), ae = m(() => j(n.block.src, l)), { canBrowse: oe, isUploading: le, showOverlay: ue, openMediaBrowser: he } = be({
2144
- target: ie,
2145
- blocked: ae,
2146
- apply: re
2147
- }), ge = se(() => ae.value || !n.block.src || fe(n.block) ? void 0 : n.block.src), _e = ln(() => ge.value), ve = m(() => f ? me(f.content.value, n.block.id, w) : null), z = Vr({
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({
2148
2148
  block: () => n.block,
2149
- room: () => ve.value,
2150
- measured: () => _e.value
2151
- }), { available: ye, locked: xe, derivedHeight: Se, cappedHeight: Ce } = z;
2152
- function B() {
2153
- let e = z.setLocked(!xe.value);
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);
2154
2154
  e && i("update", e);
2155
2155
  }
2156
- let we = _(null);
2157
- function Te(e) {
2158
- we.value = e;
2159
- let t = z.heightUpdates(Number(e));
2156
+ let Ce = _(null);
2157
+ function we(e) {
2158
+ Ce.value = e;
2159
+ let t = B.heightUpdates(Number(e));
2160
2160
  t && i("update", t);
2161
2161
  }
2162
2162
  return (t, n) => (a(), v(S, null, [
2163
- p(q, {
2163
+ p(J, {
2164
2164
  label: h(s).image.imageUrl,
2165
2165
  class: "tpl:mb-3.5",
2166
2166
  path: "src"
2167
2167
  }, {
2168
2168
  default: u(() => [b("div", {
2169
2169
  ref_key: "dropZoneRef",
2170
- ref: ie,
2170
+ ref: ne,
2171
2171
  class: "tpl:relative"
2172
2172
  }, [
2173
- h(ue) ? (a(), C(de, {
2173
+ h(le) ? (a(), C(ue, {
2174
2174
  key: 0,
2175
- uploading: h(le)
2175
+ uploading: h(ce)
2176
2176
  }, null, 8, ["uploading"])) : g("", !0),
2177
- p(Y, {
2177
+ p(X, {
2178
2178
  "model-value": e.block.src,
2179
2179
  type: "url",
2180
2180
  placeholder: h(s).image.imageUrlPlaceholder,
2181
2181
  pulse: E.value,
2182
- "onUpdate:modelValue": n[0] ||= (e) => R(e)
2182
+ "onUpdate:modelValue": n[0] ||= (e) => te(e)
2183
2183
  }, null, 8, [
2184
2184
  "model-value",
2185
2185
  "placeholder",
2186
2186
  "pulse"
2187
2187
  ]),
2188
- h(oe) ? (a(), v("button", {
2188
+ h(ae) ? (a(), v("button", {
2189
2189
  key: 1,
2190
2190
  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
2191
  style: {
@@ -2193,15 +2193,15 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2193
2193
  color: "var(--tpl-primary)",
2194
2194
  "background-color": "var(--tpl-bg)"
2195
2195
  },
2196
- onClick: n[1] ||= (...e) => h(he) && h(he)(...e)
2197
- }, [p(h(ke), {
2196
+ onClick: n[1] ||= (...e) => h(me) && h(me)(...e)
2197
+ }, [p(h(Oe), {
2198
2198
  size: 14,
2199
2199
  "stroke-width": 1.5
2200
2200
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
2201
2201
  ], 512)]),
2202
2202
  _: 1
2203
2203
  }, 8, ["label"]),
2204
- h(j)(e.block.src, h(l)) ? (a(), C(q, {
2204
+ h(k)(e.block.src, h(l)) ? (a(), C(J, {
2205
2205
  key: 0,
2206
2206
  class: "tpl:mb-3.5",
2207
2207
  path: "placeholderUrl"
@@ -2209,7 +2209,7 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2209
2209
  label: u(() => [y(r(h(s).image.placeholderUrl) + " ", 1), b("span", Hr, r(h(s).image.optional), 1)]),
2210
2210
  default: u(() => [b("input", {
2211
2211
  type: "url",
2212
- class: o(h(G)),
2212
+ class: o(h(K)),
2213
2213
  value: e.block.placeholderUrl || "",
2214
2214
  placeholder: h(s).image.placeholderUrlPlaceholder,
2215
2215
  title: h(s).image.placeholderUrlTooltip,
@@ -2217,12 +2217,12 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2217
2217
  }, null, 42, Ur)]),
2218
2218
  _: 1
2219
2219
  })) : g("", !0),
2220
- p(q, {
2220
+ p(J, {
2221
2221
  label: h(s).image.altText,
2222
2222
  class: "tpl:mb-3.5",
2223
2223
  path: "alt"
2224
2224
  }, {
2225
- default: u(() => [p(Y, {
2225
+ default: u(() => [p(X, {
2226
2226
  "model-value": e.block.alt,
2227
2227
  type: "text",
2228
2228
  placeholder: h(s).image.altTextPlaceholder,
@@ -2234,12 +2234,12 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2234
2234
  "placeholder",
2235
2235
  "pulse",
2236
2236
  "disabled"
2237
- ]), p(q, {
2237
+ ]), p(J, {
2238
2238
  path: "decorative",
2239
2239
  label: h(s).image.decorative
2240
2240
  }, {
2241
2241
  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(J, {
2242
+ "label-actions": u(({ controlId: t }) => [p(Y, {
2243
2243
  "control-id": t,
2244
2244
  "hide-label": "",
2245
2245
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -2255,72 +2255,72 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2255
2255
  }, 8, ["label"])]),
2256
2256
  _: 1
2257
2257
  }, 8, ["label"]),
2258
- p(q, {
2258
+ p(J, {
2259
2259
  label: h(s).image.width,
2260
2260
  class: "tpl:mb-3.5",
2261
2261
  path: "width"
2262
2262
  }, {
2263
2263
  default: u(() => [b("select", {
2264
- class: o(h(G)),
2264
+ class: o(h(K)),
2265
2265
  "data-testid": "image-width-mode",
2266
- value: A.value,
2267
- onChange: n[5] ||= (e) => I(e.target.value)
2266
+ value: j.value,
2267
+ onChange: n[5] ||= (e) => F(e.target.value)
2268
2268
  }, [
2269
2269
  b("option", Kr, r(h(s).image.fullWidth), 1),
2270
2270
  n[15] ||= b("option", { value: "300" }, "300px", -1),
2271
2271
  n[16] ||= b("option", { value: "400" }, "400px", -1),
2272
2272
  n[17] ||= b("option", { value: "500" }, "500px", -1),
2273
2273
  b("option", qr, r(h(s).image.widthCustom), 1)
2274
- ], 42, Gr), A.value === "custom" ? (a(), v("div", Jr, [b("input", {
2274
+ ], 42, Gr), j.value === "custom" ? (a(), v("div", Jr, [b("input", {
2275
2275
  type: "number",
2276
2276
  "data-testid": "image-width-input",
2277
- class: o(h(W)),
2277
+ class: o(h(G)),
2278
2278
  value: typeof e.block.width == "number" ? e.block.width : ii,
2279
2279
  min: "20",
2280
- onInput: n[6] ||= (e) => ne(e.target.value)
2281
- }, null, 42, Yr), b("span", { class: o(h(U)) }, "px", 2)])) : g("", !0)]),
2280
+ onInput: n[6] ||= (e) => R(e.target.value)
2281
+ }, null, 42, Yr), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
2282
2282
  _: 1
2283
2283
  }, 8, ["label"]),
2284
- p(q, {
2284
+ p(J, {
2285
2285
  class: "tpl:mb-3.5",
2286
2286
  path: "height",
2287
2287
  label: h(s).image.height
2288
2288
  }, x({
2289
2289
  default: u(() => [
2290
- h(xe) ? (a(), v(S, { key: 0 }, [b("div", Xr, [b("input", {
2290
+ h(be) ? (a(), v(S, { key: 0 }, [b("div", Xr, [b("input", {
2291
2291
  type: "number",
2292
2292
  "data-testid": "image-locked-height-input",
2293
- class: o(h(W)),
2294
- value: we.value ?? h(Se) ?? "",
2293
+ class: o(h(G)),
2294
+ value: Ce.value ?? h(xe) ?? "",
2295
2295
  min: "1",
2296
- onInput: n[7] ||= (e) => Te(e.target.value),
2297
- onBlur: n[8] ||= (e) => we.value = null
2298
- }, null, 42, Zr), b("span", { class: o(h(U)) }, "px", 2)]), h(Ce) === null ? g("", !0) : (a(), v("p", Qr, r(h(c)(h(s).image.heightCapped, { height: h(Ce) })), 1))], 64)) : g("", !0),
2299
- h(xe) ? g("", !0) : (a(), v("select", {
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", {
2300
2300
  key: 1,
2301
- class: o(h(G)),
2301
+ class: o(h(K)),
2302
2302
  "data-testid": "image-height-mode",
2303
2303
  value: M.value,
2304
- onChange: n[9] ||= (e) => L(e.target.value)
2304
+ onChange: n[9] ||= (e) => I(e.target.value)
2305
2305
  }, [b("option", ei, r(h(s).image.heightAuto), 1), b("option", ti, r(h(s).image.heightCustom), 1)], 42, $r)),
2306
- !h(xe) && M.value === "custom" ? (a(), v("div", ni, [b("input", {
2306
+ !h(be) && M.value === "custom" ? (a(), v("div", ni, [b("input", {
2307
2307
  type: "number",
2308
2308
  "data-testid": "image-height-input",
2309
- class: o(h(W)),
2309
+ class: o(h(G)),
2310
2310
  value: e.block.height,
2311
2311
  min: "20",
2312
- onInput: n[10] ||= (e) => ee(e.target.value)
2313
- }, null, 42, ri), b("span", { class: o(h(U)) }, "px", 2)])) : g("", !0)
2312
+ onInput: n[10] ||= (e) => L(e.target.value)
2313
+ }, null, 42, ri), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)
2314
2314
  ]),
2315
2315
  _: 2
2316
- }, [h(ye) ? {
2316
+ }, [h(ve) ? {
2317
2317
  name: "label-actions",
2318
- fn: u(() => [p(bt, {
2319
- linked: h(xe),
2318
+ fn: u(() => [p(yt, {
2319
+ linked: h(be),
2320
2320
  "link-label": h(s).image.lockAspectRatio,
2321
2321
  "unlink-label": h(s).image.unlockAspectRatio,
2322
2322
  testid: "image-aspect-lock",
2323
- onToggle: B
2323
+ onToggle: V
2324
2324
  }, null, 8, [
2325
2325
  "linked",
2326
2326
  "link-label",
@@ -2328,25 +2328,25 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2328
2328
  ])]),
2329
2329
  key: "0"
2330
2330
  } : void 0]), 1032, ["label"]),
2331
- p(Dt, {
2331
+ p(Et, {
2332
2332
  path: "borderRadius",
2333
2333
  "model-value": e.block.borderRadius,
2334
2334
  label: h(s).image.borderRadius,
2335
2335
  "testid-prefix": "image",
2336
- "onUpdate:modelValue": te
2336
+ "onUpdate:modelValue": ee
2337
2337
  }, null, 8, ["model-value", "label"]),
2338
- p(wt, {
2338
+ p(Ct, {
2339
2339
  path: "border",
2340
2340
  "model-value": e.block.border,
2341
2341
  "testid-prefix": "image",
2342
2342
  "onUpdate:modelValue": n[11] ||= (e) => P("border", e)
2343
2343
  }, null, 8, ["model-value"]),
2344
- p(q, {
2344
+ p(J, {
2345
2345
  label: h(s).title.align,
2346
2346
  class: "tpl:mb-3.5",
2347
2347
  path: "align"
2348
2348
  }, {
2349
- default: u(() => [p(X, {
2349
+ default: u(() => [p(Z, {
2350
2350
  options: [
2351
2351
  {
2352
2352
  value: "left",
@@ -2366,22 +2366,22 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2366
2366
  }, null, 8, ["options", "model-value"])]),
2367
2367
  _: 1
2368
2368
  }, 8, ["label"]),
2369
- p(q, {
2369
+ p(J, {
2370
2370
  label: h(s).image.linkUrl,
2371
2371
  class: "tpl:mb-3.5",
2372
2372
  path: "linkUrl"
2373
2373
  }, {
2374
- default: u(() => [p(Y, {
2374
+ default: u(() => [p(X, {
2375
2375
  "model-value": e.block.linkUrl || "",
2376
2376
  type: "url",
2377
2377
  placeholder: h(s).image.imageUrlPlaceholder,
2378
2378
  "onUpdate:modelValue": n[13] ||= (e) => P("linkUrl", e)
2379
- }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (a(), C(q, {
2379
+ }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (a(), C(J, {
2380
2380
  key: 0,
2381
2381
  path: "linkOpenInNewTab",
2382
2382
  label: h(s).image.openInNewTab
2383
2383
  }, {
2384
- "label-actions": u(({ controlId: t }) => [p(J, {
2384
+ "label-actions": u(({ controlId: t }) => [p(Y, {
2385
2385
  "control-id": t,
2386
2386
  "hide-label": "",
2387
2387
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -2411,7 +2411,7 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2411
2411
  },
2412
2412
  emits: ["update"],
2413
2413
  setup(e, { emit: t }) {
2414
- let n = e, i = t, { t: c } = H(), l = m(() => [
2414
+ let n = e, i = t, { t: c } = U(), l = m(() => [
2415
2415
  {
2416
2416
  key: "openInNewTab",
2417
2417
  label: c.menu.openInNewTab
@@ -2428,17 +2428,17 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2428
2428
  {
2429
2429
  value: "left",
2430
2430
  label: c.title.alignLeft,
2431
- icon: Le
2431
+ icon: Ie
2432
2432
  },
2433
2433
  {
2434
2434
  value: "center",
2435
2435
  label: c.title.alignCenter,
2436
- icon: Fe
2436
+ icon: Pe
2437
2437
  },
2438
2438
  {
2439
2439
  value: "right",
2440
2440
  label: c.title.alignRight,
2441
- icon: Ie
2441
+ icon: Fe
2442
2442
  }
2443
2443
  ]);
2444
2444
  function f(e, t) {
@@ -2446,7 +2446,7 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2446
2446
  }
2447
2447
  function g() {
2448
2448
  let e = {
2449
- id: M(),
2449
+ id: R(),
2450
2450
  text: "",
2451
2451
  url: "",
2452
2452
  openInNewTab: !1,
@@ -2466,36 +2466,36 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2466
2466
  i("update", { items: n.block.items.filter((t) => t.id !== e) });
2467
2467
  }
2468
2468
  return (t, n) => (a(), v(S, null, [
2469
- p(q, { label: h(c).menu.items }, {
2469
+ p(J, { label: h(c).menu.items }, {
2470
2470
  default: u(() => [b("div", si, [(a(!0), v(S, null, s(e.block.items, (t) => (a(), v("div", {
2471
2471
  key: t.id,
2472
2472
  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
2473
  }, [
2474
- b("div", ci, [p(q, {
2474
+ b("div", ci, [p(J, {
2475
2475
  path: t.id.includes(".") ? void 0 : `items.${t.id}.text`,
2476
2476
  label: h(c).menu.text
2477
2477
  }, {
2478
2478
  default: u(() => [b("input", {
2479
2479
  type: "text",
2480
- class: o([h(G), "tpl:flex-1"]),
2480
+ class: o([h(K), "tpl:flex-1"]),
2481
2481
  value: t.text,
2482
2482
  placeholder: h(c).menu.text,
2483
2483
  onInput: (e) => _(t.id, "text", e.target.value)
2484
2484
  }, null, 42, li)]),
2485
2485
  _: 2
2486
2486
  }, 1032, ["path", "label"]), b("button", {
2487
- class: o(h(tt)),
2487
+ class: o(h(et)),
2488
2488
  title: h(c).menu.removeItem,
2489
2489
  onClick: (e) => x(t.id)
2490
- }, [p(h(ze), {
2490
+ }, [p(h(Re), {
2491
2491
  size: 14,
2492
2492
  "stroke-width": 2
2493
2493
  })], 10, ui)]),
2494
- p(q, {
2494
+ p(J, {
2495
2495
  path: t.id.includes(".") ? void 0 : `items.${t.id}.url`,
2496
2496
  label: h(c).button.url
2497
2497
  }, {
2498
- default: u(() => [p(Y, {
2498
+ default: u(() => [p(X, {
2499
2499
  "model-value": t.url,
2500
2500
  type: "url",
2501
2501
  placeholder: h(c).menu.urlPlaceholder,
@@ -2507,12 +2507,12 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2507
2507
  ])]),
2508
2508
  _: 2
2509
2509
  }, 1032, ["path", "label"]),
2510
- b("div", di, [(a(!0), v(S, null, s(l.value, (e) => (a(), C(q, {
2510
+ b("div", di, [(a(!0), v(S, null, s(l.value, (e) => (a(), C(J, {
2511
2511
  key: e.key,
2512
2512
  path: t.id.includes(".") ? void 0 : `items.${t.id}.${e.key}`,
2513
2513
  label: e.label
2514
2514
  }, {
2515
- "label-actions": u(({ controlId: n }) => [p(J, {
2515
+ "label-actions": u(({ controlId: n }) => [p(Y, {
2516
2516
  "control-id": n,
2517
2517
  "hide-label": "",
2518
2518
  "model-value": t[e.key],
@@ -2526,11 +2526,11 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2526
2526
  ])]),
2527
2527
  _: 2
2528
2528
  }, 1032, ["path", "label"]))), 128))]),
2529
- b("div", fi, [p(q, {
2529
+ b("div", fi, [p(J, {
2530
2530
  path: t.id.includes(".") ? void 0 : `items.${t.id}.color`,
2531
2531
  label: h(c).menu.color
2532
2532
  }, {
2533
- default: u(() => [p(B, {
2533
+ default: u(() => [p(V, {
2534
2534
  "swatch-only": "",
2535
2535
  "model-value": t.color || e.block.linkColor || e.block.color || "",
2536
2536
  "onUpdate:modelValue": (e) => _(t.id, "color", e)
@@ -2538,21 +2538,21 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2538
2538
  _: 2
2539
2539
  }, 1032, ["path", "label"])])
2540
2540
  ]))), 128)), b("button", {
2541
- class: o(h(rt)),
2541
+ class: o(h(nt)),
2542
2542
  onClick: g
2543
- }, [p(h(V), {
2543
+ }, [p(h(H), {
2544
2544
  size: 14,
2545
2545
  "stroke-width": 2
2546
2546
  }), y(" " + r(h(c).menu.addItem), 1)], 2)])]),
2547
2547
  _: 1
2548
2548
  }, 8, ["label"]),
2549
- p(q, {
2549
+ p(J, {
2550
2550
  path: "fontFamily",
2551
2551
  label: h(c).menu.fontFamily
2552
2552
  }, {
2553
2553
  default: u(() => [b("select", {
2554
- class: o(h(G)),
2555
- value: h(dt)(e.block.fontFamily),
2554
+ class: o(h(K)),
2555
+ value: h(ut)(e.block.fontFamily),
2556
2556
  onChange: n[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2557
2557
  }, [b("option", mi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2558
2558
  key: e.value,
@@ -2560,11 +2560,11 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2560
2560
  }, r(e.label), 9, hi))), 128))], 42, pi)]),
2561
2561
  _: 1
2562
2562
  }, 8, ["label"]),
2563
- p(q, {
2563
+ p(J, {
2564
2564
  path: "fontSize",
2565
2565
  label: h(c).menu.fontSize
2566
2566
  }, {
2567
- default: u(() => [p(Z, {
2567
+ default: u(() => [p(Q, {
2568
2568
  "model-value": e.block.fontSize,
2569
2569
  min: 8,
2570
2570
  max: 48,
@@ -2573,64 +2573,64 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2573
2573
  }, null, 8, ["model-value"])]),
2574
2574
  _: 1
2575
2575
  }, 8, ["label"]),
2576
- p(q, {
2576
+ p(J, {
2577
2577
  path: "color",
2578
2578
  label: h(c).menu.color
2579
2579
  }, {
2580
- default: u(() => [p(B, {
2580
+ default: u(() => [p(V, {
2581
2581
  "model-value": e.block.color ?? "",
2582
2582
  "onUpdate:modelValue": n[2] ||= (e) => f("color", e || void 0)
2583
2583
  }, null, 8, ["model-value"])]),
2584
2584
  _: 1
2585
2585
  }, 8, ["label"]),
2586
- p(q, {
2586
+ p(J, {
2587
2587
  path: "linkColor",
2588
2588
  label: h(c).menu.linkColor
2589
2589
  }, {
2590
- default: u(() => [p(B, {
2590
+ default: u(() => [p(V, {
2591
2591
  "model-value": e.block.linkColor || e.block.color || "",
2592
2592
  "onUpdate:modelValue": n[3] ||= (e) => f("linkColor", e || void 0)
2593
2593
  }, null, 8, ["model-value"])]),
2594
2594
  _: 1
2595
2595
  }, 8, ["label"]),
2596
- p(q, {
2596
+ p(J, {
2597
2597
  path: "textAlign",
2598
2598
  label: h(c).menu.textAlign
2599
2599
  }, {
2600
- default: u(() => [p(X, {
2600
+ default: u(() => [p(Z, {
2601
2601
  options: d.value,
2602
2602
  "model-value": e.block.textAlign,
2603
2603
  "onUpdate:modelValue": n[4] ||= (e) => f("textAlign", e)
2604
2604
  }, null, 8, ["options", "model-value"])]),
2605
2605
  _: 1
2606
2606
  }, 8, ["label"]),
2607
- p(q, {
2607
+ p(J, {
2608
2608
  path: "separator",
2609
2609
  label: h(c).menu.separator
2610
2610
  }, {
2611
2611
  default: u(() => [b("input", {
2612
2612
  type: "text",
2613
- class: o(h(G)),
2613
+ class: o(h(K)),
2614
2614
  value: e.block.separator,
2615
2615
  onInput: n[5] ||= (e) => f("separator", e.target.value)
2616
2616
  }, null, 42, gi)]),
2617
2617
  _: 1
2618
2618
  }, 8, ["label"]),
2619
- p(q, {
2619
+ p(J, {
2620
2620
  path: "separatorColor",
2621
2621
  label: h(c).menu.separatorColor
2622
2622
  }, {
2623
- default: u(() => [p(B, {
2623
+ default: u(() => [p(V, {
2624
2624
  "model-value": e.block.separatorColor,
2625
2625
  "onUpdate:modelValue": n[6] ||= (e) => f("separatorColor", e)
2626
2626
  }, null, 8, ["model-value"])]),
2627
2627
  _: 1
2628
2628
  }, 8, ["label"]),
2629
- p(q, {
2629
+ p(J, {
2630
2630
  path: "spacing",
2631
2631
  label: h(c).menu.spacing
2632
2632
  }, {
2633
- default: u(() => [p(Z, {
2633
+ default: u(() => [p(Q, {
2634
2634
  "model-value": e.block.spacing,
2635
2635
  min: 0,
2636
2636
  max: 50,
@@ -2646,8 +2646,8 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2646
2646
  props: { block: {} },
2647
2647
  emits: ["update"],
2648
2648
  setup(e, { emit: t }) {
2649
- let n = t, { t: r } = H();
2650
- return (t, i) => (a(), C(q, {
2649
+ let n = t, { t: r } = U();
2650
+ return (t, i) => (a(), C(J, {
2651
2651
  label: h(r).paragraph.paragraphSpacing,
2652
2652
  class: "tpl:mb-3.5",
2653
2653
  "data-testid": "paragraph-spacing",
@@ -2655,19 +2655,19 @@ var Hr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Ur = [
2655
2655
  }, {
2656
2656
  default: u(() => [b("div", vi, [b("input", {
2657
2657
  type: "number",
2658
- class: o(h(W)),
2659
- value: e.block.paragraphSpacing ?? h(P).paragraphGap,
2658
+ class: o(h(G)),
2659
+ value: e.block.paragraphSpacing ?? h(M).paragraphGap,
2660
2660
  min: "0",
2661
2661
  max: "64",
2662
2662
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2663
- }, null, 42, yi), b("span", { class: o(h(U)) }, "px", 2)])]),
2663
+ }, null, 42, yi), b("span", { class: o(h(W)) }, "px", 2)])]),
2664
2664
  _: 1
2665
2665
  }, 8, ["label"]));
2666
2666
  }
2667
2667
  });
2668
2668
  // src/utils/rebalanceColumnChildren.ts
2669
2669
  function xi(e, t) {
2670
- let n = R(t);
2670
+ let n = ne(t);
2671
2671
  if (e.length === n) return e;
2672
2672
  if (e.length < n) {
2673
2673
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2691,7 +2691,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2691
2691
  props: { block: {} },
2692
2692
  emits: ["update"],
2693
2693
  setup(e, { emit: t }) {
2694
- let n = e, i = t, { t: c } = H(), l = T(Ue, void 0), d = T(Ge, 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(() => k(n.block)?.applied === !0), E = m(() => [
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(() => [
2695
2695
  {
2696
2696
  value: "1",
2697
2697
  label: c.section.column1
@@ -2723,7 +2723,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2723
2723
  function O(e) {
2724
2724
  i("update", { stackOnMobile: e });
2725
2725
  }
2726
- function j(e) {
2726
+ function k(e) {
2727
2727
  i("update", { borderRadius: e });
2728
2728
  }
2729
2729
  function M(e) {
@@ -2747,21 +2747,21 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2747
2747
  N({ borderRadius: e });
2748
2748
  }
2749
2749
  return (t, n) => (a(), v(S, null, [
2750
- b("div", Si, [b("label", { class: o(h(K)) }, r(h(c).section.columns), 3), b("select", {
2751
- class: o(h(G)),
2750
+ b("div", Si, [b("label", { class: o(h(q)) }, r(h(c).section.columns), 3), b("select", {
2751
+ class: o(h(K)),
2752
2752
  value: e.block.columns,
2753
2753
  onChange: D
2754
2754
  }, [(a(!0), v(S, null, s(E.value, (e) => (a(), v("option", {
2755
2755
  key: e.value,
2756
2756
  value: e.value
2757
2757
  }, r(e.label), 9, wi))), 128))], 42, Ci)]),
2758
- e.block.columns === "1" ? g("", !0) : (a(), C(q, {
2758
+ e.block.columns === "1" ? g("", !0) : (a(), C(J, {
2759
2759
  key: 0,
2760
2760
  class: "tpl:mb-3.5",
2761
2761
  path: "stackOnMobile",
2762
2762
  label: h(c).section.stackOnMobile
2763
2763
  }, {
2764
- "label-actions": u(({ controlId: t }) => [p(J, {
2764
+ "label-actions": u(({ controlId: t }) => [p(Y, {
2765
2765
  "control-id": t,
2766
2766
  "hide-label": "",
2767
2767
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -2775,15 +2775,15 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2775
2775
  ])]),
2776
2776
  _: 1
2777
2777
  }, 8, ["label"])),
2778
- p(Dt, {
2778
+ p(Et, {
2779
2779
  path: "borderRadius",
2780
2780
  "model-value": e.block.borderRadius,
2781
2781
  label: h(c).section.borderRadius,
2782
2782
  max: 50,
2783
2783
  "testid-prefix": "section",
2784
- "onUpdate:modelValue": j
2784
+ "onUpdate:modelValue": k
2785
2785
  }, null, 8, ["model-value", "label"]),
2786
- w.value ? g("", !0) : (a(), C(wt, {
2786
+ w.value ? g("", !0) : (a(), C(Ct, {
2787
2787
  key: 1,
2788
2788
  path: "border",
2789
2789
  "model-value": e.block.border,
@@ -2791,11 +2791,11 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2791
2791
  "onUpdate:modelValue": n[1] ||= (e) => i("update", { border: e })
2792
2792
  }, null, 8, ["model-value"])),
2793
2793
  _.value ? (a(), v("div", Ti, [
2794
- p(q, {
2794
+ p(J, {
2795
2795
  path: "wrapper",
2796
2796
  label: h(c).section.wrapperEnable
2797
2797
  }, {
2798
- "label-actions": u(({ controlId: t }) => [p(J, {
2798
+ "label-actions": u(({ controlId: t }) => [p(Y, {
2799
2799
  "control-id": t,
2800
2800
  "hide-label": "",
2801
2801
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -2813,22 +2813,22 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2813
2813
  }, 8, ["label"]),
2814
2814
  x.value ? (a(), v("p", Ei, r(h(c).section.wrapperLayoutConflict), 1)) : g("", !0),
2815
2815
  e.block.wrapper ? (a(), v("div", Di, [
2816
- b("div", null, [p(q, {
2816
+ b("div", null, [p(J, {
2817
2817
  path: "wrapper.backgroundColor",
2818
2818
  label: h(c).blockSettings.color
2819
2819
  }, {
2820
- default: u(() => [p(B, {
2820
+ default: u(() => [p(V, {
2821
2821
  "model-value": e.block.wrapper.backgroundColor ?? "",
2822
2822
  "allow-transparent": "",
2823
2823
  "onUpdate:modelValue": n[3] ||= (e) => N({ backgroundColor: e })
2824
2824
  }, null, 8, ["model-value"])]),
2825
2825
  _: 1
2826
2826
  }, 8, ["label"])]),
2827
- p(q, {
2827
+ p(J, {
2828
2828
  path: "wrapper.backgroundImage",
2829
2829
  label: h(c).blockSettings.backgroundImage
2830
2830
  }, {
2831
- default: u(() => [p(yn, {
2831
+ default: u(() => [p(vn, {
2832
2832
  "hide-label": "",
2833
2833
  "model-value": e.block.wrapper.backgroundImage,
2834
2834
  "testid-prefix": "section-wrapper",
@@ -2836,7 +2836,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2836
2836
  }, null, 8, ["model-value"])]),
2837
2837
  _: 1
2838
2838
  }, 8, ["label"]),
2839
- p(cn, {
2839
+ p(sn, {
2840
2840
  path: "wrapper.padding",
2841
2841
  label: h(c).blockSettings.padding,
2842
2842
  "model-value": e.block.wrapper.padding ?? {
@@ -2847,7 +2847,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2847
2847
  },
2848
2848
  "onUpdate:modelValue": P
2849
2849
  }, null, 8, ["label", "model-value"]),
2850
- p(Dt, {
2850
+ p(Et, {
2851
2851
  path: "wrapper.borderRadius",
2852
2852
  "model-value": e.block.wrapper.borderRadius,
2853
2853
  label: h(c).section.borderRadius,
@@ -2864,13 +2864,13 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2864
2864
  props: { block: {} },
2865
2865
  emits: ["update"],
2866
2866
  setup(e, { emit: t }) {
2867
- let n = e, i = t, { t: c } = H();
2867
+ let n = e, i = t, { t: c } = U();
2868
2868
  function l(e, t) {
2869
2869
  i("update", { [e]: t });
2870
2870
  }
2871
2871
  function d() {
2872
2872
  let e = {
2873
- id: M(),
2873
+ id: R(),
2874
2874
  platform: "facebook",
2875
2875
  url: ""
2876
2876
  };
@@ -2887,35 +2887,35 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2887
2887
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2888
2888
  }
2889
2889
  return (t, n) => (a(), v(S, null, [
2890
- b("div", ki, [b("label", { class: o(h(K)) }, r(h(c).social.icons), 3), b("div", Ai, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
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", {
2891
2891
  key: e.id,
2892
2892
  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(q, {
2893
+ }, [b("div", ji, [p(J, {
2894
2894
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
2895
2895
  label: h(c).social.icons
2896
2896
  }, {
2897
2897
  default: u(() => [b("select", {
2898
2898
  "data-testid": "social-platform-select",
2899
- class: o([h(G), "tpl:flex-1"]),
2899
+ class: o([h(K), "tpl:flex-1"]),
2900
2900
  value: e.platform,
2901
2901
  onChange: (t) => f(e.id, "platform", t.target.value)
2902
- }, [(a(!0), v(S, null, s(h(z), (e) => (a(), v("option", {
2902
+ }, [(a(!0), v(S, null, s(h(B), (e) => (a(), v("option", {
2903
2903
  key: e,
2904
2904
  value: e
2905
2905
  }, r(h(c).social.platforms[e]), 9, Ni))), 128))], 42, Mi)]),
2906
2906
  _: 2
2907
2907
  }, 1032, ["path", "label"]), b("button", {
2908
- class: o(h(tt)),
2908
+ class: o(h(et)),
2909
2909
  title: h(c).social.removeIcon,
2910
2910
  onClick: (t) => m(e.id)
2911
- }, [p(h(ze), {
2911
+ }, [p(h(Re), {
2912
2912
  size: 14,
2913
2913
  "stroke-width": 2
2914
- })], 10, Pi)]), p(q, {
2914
+ })], 10, Pi)]), p(J, {
2915
2915
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
2916
2916
  label: h(c).button.url
2917
2917
  }, {
2918
- default: u(() => [p(Y, {
2918
+ default: u(() => [p(X, {
2919
2919
  "model-value": e.url,
2920
2920
  type: "url",
2921
2921
  placeholder: h(c).social.urlPlaceholder,
@@ -2927,19 +2927,19 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2927
2927
  ])]),
2928
2928
  _: 2
2929
2929
  }, 1032, ["path", "label"])]))), 128)), b("button", {
2930
- class: o(h(rt)),
2930
+ class: o(h(nt)),
2931
2931
  onClick: d
2932
- }, [p(h(V), {
2932
+ }, [p(h(H), {
2933
2933
  size: 14,
2934
2934
  "stroke-width": 2
2935
2935
  }), y(" " + r(h(c).social.addIcon), 1)], 2)])]),
2936
- p(q, {
2936
+ p(J, {
2937
2937
  label: h(c).social.style,
2938
2938
  class: "tpl:mb-3.5",
2939
2939
  path: "iconStyle"
2940
2940
  }, {
2941
2941
  default: u(() => [b("select", {
2942
- class: o(h(G)),
2942
+ class: o(h(K)),
2943
2943
  value: e.block.iconStyle,
2944
2944
  onChange: n[0] ||= (e) => l("iconStyle", e.target.value)
2945
2945
  }, [
@@ -2952,14 +2952,14 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2952
2952
  ], 42, Fi)]),
2953
2953
  _: 1
2954
2954
  }, 8, ["label"]),
2955
- p(q, {
2955
+ p(J, {
2956
2956
  label: h(c).social.color,
2957
2957
  class: "tpl:mb-3.5",
2958
2958
  path: "iconTone"
2959
2959
  }, {
2960
2960
  default: u(() => [b("select", {
2961
2961
  "data-testid": "social-tone-select",
2962
- class: o(h(G)),
2962
+ class: o(h(K)),
2963
2963
  value: e.block.iconTone ?? "brand",
2964
2964
  onChange: n[1] ||= (e) => l("iconTone", e.target.value)
2965
2965
  }, [
@@ -2969,12 +2969,12 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2969
2969
  ], 42, Hi)]),
2970
2970
  _: 1
2971
2971
  }, 8, ["label"]),
2972
- p(q, {
2972
+ p(J, {
2973
2973
  label: h(c).social.size,
2974
2974
  class: "tpl:mb-3.5",
2975
2975
  path: "iconSize"
2976
2976
  }, {
2977
- default: u(() => [p(X, {
2977
+ default: u(() => [p(Z, {
2978
2978
  options: [
2979
2979
  {
2980
2980
  value: "small",
@@ -2994,42 +2994,42 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
2994
2994
  }, null, 8, ["options", "model-value"])]),
2995
2995
  _: 1
2996
2996
  }, 8, ["label"]),
2997
- p(q, {
2997
+ p(J, {
2998
2998
  label: h(c).social.spacing,
2999
2999
  class: "tpl:mb-3.5",
3000
3000
  path: "spacing"
3001
3001
  }, {
3002
3002
  default: u(() => [b("div", Ki, [b("input", {
3003
3003
  type: "number",
3004
- class: o(h(W)),
3004
+ class: o(h(G)),
3005
3005
  value: e.block.spacing,
3006
3006
  min: "0",
3007
3007
  max: "50",
3008
3008
  onInput: n[3] ||= (e) => l("spacing", Number(e.target.value))
3009
- }, null, 42, qi), b("span", { class: o(h(U)) }, "px", 2)])]),
3009
+ }, null, 42, qi), b("span", { class: o(h(W)) }, "px", 2)])]),
3010
3010
  _: 1
3011
3011
  }, 8, ["label"]),
3012
- p(q, {
3012
+ p(J, {
3013
3013
  label: h(c).social.align,
3014
3014
  class: "tpl:mb-3.5",
3015
3015
  path: "align"
3016
3016
  }, {
3017
- default: u(() => [p(X, {
3017
+ default: u(() => [p(Z, {
3018
3018
  options: [
3019
3019
  {
3020
3020
  value: "left",
3021
3021
  label: h(c).title.alignLeft,
3022
- icon: h(Le)
3022
+ icon: h(Ie)
3023
3023
  },
3024
3024
  {
3025
3025
  value: "center",
3026
3026
  label: h(c).title.alignCenter,
3027
- icon: h(Fe)
3027
+ icon: h(Pe)
3028
3028
  },
3029
3029
  {
3030
3030
  value: "right",
3031
3031
  label: h(c).title.alignRight,
3032
- icon: h(Ie)
3032
+ icon: h(Fe)
3033
3033
  }
3034
3034
  ],
3035
3035
  "model-value": e.block.align,
@@ -3044,20 +3044,20 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3044
3044
  props: { block: {} },
3045
3045
  emits: ["update"],
3046
3046
  setup(e, { emit: t }) {
3047
- let n = t, { t: r } = H();
3048
- return (t, i) => (a(), C(q, {
3047
+ let n = t, { t: r } = U();
3048
+ return (t, i) => (a(), C(J, {
3049
3049
  label: h(r).spacer.height,
3050
3050
  class: "tpl:mb-3.5",
3051
3051
  path: "height"
3052
3052
  }, {
3053
3053
  default: u(() => [b("div", Yi, [b("input", {
3054
3054
  type: "number",
3055
- class: o(h(W)),
3055
+ class: o(h(G)),
3056
3056
  value: e.block.height,
3057
3057
  min: "10",
3058
3058
  max: "100",
3059
3059
  onInput: i[0] ||= (e) => n("update", { height: Number(e.target.value) })
3060
- }, null, 42, Xi), b("span", { class: o(h(U)) }, "px", 2)]), b("input", {
3060
+ }, null, 42, Xi), b("span", { class: o(h(W)) }, "px", 2)]), b("input", {
3061
3061
  type: "range",
3062
3062
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
3063
3063
  value: e.block.height,
@@ -3076,15 +3076,15 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3076
3076
  },
3077
3077
  emits: ["update"],
3078
3078
  setup(e, { emit: t }) {
3079
- let n = e, i = t, { t: c } = H(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3079
+ let n = e, i = t, { t: c } = U(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3080
3080
  function d(e, t) {
3081
3081
  i("update", { [e]: t });
3082
3082
  }
3083
3083
  function f() {
3084
3084
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3085
- id: M(),
3085
+ id: R(),
3086
3086
  cells: Array.from({ length: e }, () => ({
3087
- id: M(),
3087
+ id: R(),
3088
3088
  content: ""
3089
3089
  }))
3090
3090
  };
@@ -3097,7 +3097,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3097
3097
  let e = n.block.rows.map((e) => ({
3098
3098
  ...e,
3099
3099
  cells: [...e.cells, {
3100
- id: M(),
3100
+ id: R(),
3101
3101
  content: ""
3102
3102
  }]
3103
3103
  }));
@@ -3111,12 +3111,12 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3111
3111
  i("update", { rows: t });
3112
3112
  }
3113
3113
  return (t, n) => (a(), v(S, null, [
3114
- b("div", $i, [b("label", { class: o(h(K)) }, r(h(c).table.dimensions), 3), b("div", ea, [b("div", ta, [b("span", na, r(h(c).table.rows), 1), b("div", ra, [
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, [
3115
3115
  b("button", {
3116
3116
  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
3117
  disabled: e.block.rows.length <= 1,
3118
3118
  onClick: n[0] ||= (t) => _(e.block.rows[e.block.rows.length - 1].id)
3119
- }, [p(h(Ee), {
3119
+ }, [p(h(Te), {
3120
3120
  size: 12,
3121
3121
  "stroke-width": 2
3122
3122
  })], 8, ia),
@@ -3124,7 +3124,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3124
3124
  b("button", {
3125
3125
  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
3126
  onClick: f
3127
- }, [p(h(V), {
3127
+ }, [p(h(H), {
3128
3128
  size: 12,
3129
3129
  "stroke-width": 2
3130
3130
  })])
@@ -3133,7 +3133,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3133
3133
  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
3134
  disabled: l.value <= 1,
3135
3135
  onClick: n[1] ||= (e) => x(l.value - 1)
3136
- }, [p(h(Ee), {
3136
+ }, [p(h(Te), {
3137
3137
  size: 12,
3138
3138
  "stroke-width": 2
3139
3139
  })], 8, la),
@@ -3141,17 +3141,17 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3141
3141
  b("button", {
3142
3142
  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
3143
  onClick: y
3144
- }, [p(h(V), {
3144
+ }, [p(h(H), {
3145
3145
  size: 12,
3146
3146
  "stroke-width": 2
3147
3147
  })])
3148
3148
  ])])])]),
3149
- p(q, {
3149
+ p(J, {
3150
3150
  class: "tpl:mb-3.5",
3151
3151
  path: "hasHeaderRow",
3152
3152
  label: h(c).table.hasHeaderRow
3153
3153
  }, {
3154
- "label-actions": u(({ controlId: t }) => [p(J, {
3154
+ "label-actions": u(({ controlId: t }) => [p(Y, {
3155
3155
  "control-id": t,
3156
3156
  "hide-label": "",
3157
3157
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -3165,15 +3165,15 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3165
3165
  ])]),
3166
3166
  _: 1
3167
3167
  }, 8, ["label"]),
3168
- e.block.hasHeaderRow ? (a(), C(q, {
3168
+ e.block.hasHeaderRow ? (a(), C(J, {
3169
3169
  key: 0,
3170
3170
  label: h(c).table.headerBackgroundColor,
3171
3171
  class: "tpl:mb-3.5",
3172
3172
  path: "headerBackgroundColor"
3173
3173
  }, {
3174
- default: u(() => [p(B, {
3174
+ default: u(() => [p(V, {
3175
3175
  "model-value": e.block.headerBackgroundColor ?? "",
3176
- "seed-color": h(it),
3176
+ "seed-color": h(rt),
3177
3177
  placeholder: h(c).table.noHeaderBg,
3178
3178
  "onUpdate:modelValue": n[3] ||= (e) => d("headerBackgroundColor", e || null)
3179
3179
  }, null, 8, [
@@ -3183,55 +3183,55 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3183
3183
  ])]),
3184
3184
  _: 1
3185
3185
  }, 8, ["label"])) : g("", !0),
3186
- p(q, {
3186
+ p(J, {
3187
3187
  label: h(c).table.borderColor,
3188
3188
  class: "tpl:mb-3.5",
3189
3189
  path: "borderColor"
3190
3190
  }, {
3191
- default: u(() => [p(B, {
3191
+ default: u(() => [p(V, {
3192
3192
  "model-value": e.block.borderColor,
3193
3193
  "onUpdate:modelValue": n[4] ||= (e) => d("borderColor", e)
3194
3194
  }, null, 8, ["model-value"])]),
3195
3195
  _: 1
3196
3196
  }, 8, ["label"]),
3197
- p(q, {
3197
+ p(J, {
3198
3198
  label: h(c).table.borderWidth,
3199
3199
  class: "tpl:mb-3.5",
3200
3200
  path: "borderWidth"
3201
3201
  }, {
3202
3202
  default: u(() => [b("div", da, [b("input", {
3203
3203
  type: "number",
3204
- class: o(h(W)),
3204
+ class: o(h(G)),
3205
3205
  value: e.block.borderWidth,
3206
3206
  min: "0",
3207
3207
  max: "10",
3208
3208
  onInput: n[5] ||= (e) => d("borderWidth", Number(e.target.value))
3209
- }, null, 42, fa), b("span", { class: o(h(U)) }, "px", 2)])]),
3209
+ }, null, 42, fa), b("span", { class: o(h(W)) }, "px", 2)])]),
3210
3210
  _: 1
3211
3211
  }, 8, ["label"]),
3212
- p(q, {
3212
+ p(J, {
3213
3213
  label: h(c).table.cellPadding,
3214
3214
  class: "tpl:mb-3.5",
3215
3215
  path: "cellPadding"
3216
3216
  }, {
3217
3217
  default: u(() => [b("div", pa, [b("input", {
3218
3218
  type: "number",
3219
- class: o(h(W)),
3219
+ class: o(h(G)),
3220
3220
  value: e.block.cellPadding,
3221
3221
  min: "0",
3222
3222
  max: "30",
3223
3223
  onInput: n[6] ||= (e) => d("cellPadding", Number(e.target.value))
3224
- }, null, 42, ma), b("span", { class: o(h(U)) }, "px", 2)])]),
3224
+ }, null, 42, ma), b("span", { class: o(h(W)) }, "px", 2)])]),
3225
3225
  _: 1
3226
3226
  }, 8, ["label"]),
3227
- p(q, {
3227
+ p(J, {
3228
3228
  label: h(c).table.fontFamily,
3229
3229
  class: "tpl:mb-3.5",
3230
3230
  path: "fontFamily"
3231
3231
  }, {
3232
3232
  default: u(() => [b("select", {
3233
- class: o(h(G)),
3234
- value: h(dt)(e.block.fontFamily),
3233
+ class: o(h(K)),
3234
+ value: h(ut)(e.block.fontFamily),
3235
3235
  onChange: n[7] ||= (e) => d("fontFamily", e.target.value || void 0)
3236
3236
  }, [b("option", ga, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3237
3237
  key: e.value,
@@ -3239,53 +3239,53 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3239
3239
  }, r(e.label), 9, _a))), 128))], 42, ha)]),
3240
3240
  _: 1
3241
3241
  }, 8, ["label"]),
3242
- p(q, {
3242
+ p(J, {
3243
3243
  label: h(c).table.fontSize,
3244
3244
  class: "tpl:mb-3.5",
3245
3245
  path: "fontSize"
3246
3246
  }, {
3247
3247
  default: u(() => [b("div", va, [b("input", {
3248
3248
  type: "number",
3249
- class: o(h(W)),
3249
+ class: o(h(G)),
3250
3250
  value: e.block.fontSize,
3251
3251
  min: "10",
3252
3252
  max: "32",
3253
3253
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
3254
- }, null, 42, ya), b("span", { class: o(h(U)) }, "px", 2)])]),
3254
+ }, null, 42, ya), b("span", { class: o(h(W)) }, "px", 2)])]),
3255
3255
  _: 1
3256
3256
  }, 8, ["label"]),
3257
- p(q, {
3257
+ p(J, {
3258
3258
  label: h(c).table.color,
3259
3259
  class: "tpl:mb-3.5",
3260
3260
  path: "color"
3261
3261
  }, {
3262
- default: u(() => [p(B, {
3262
+ default: u(() => [p(V, {
3263
3263
  "model-value": e.block.color ?? "",
3264
3264
  "onUpdate:modelValue": n[9] ||= (e) => d("color", e || void 0)
3265
3265
  }, null, 8, ["model-value"])]),
3266
3266
  _: 1
3267
3267
  }, 8, ["label"]),
3268
- p(q, {
3268
+ p(J, {
3269
3269
  label: h(c).table.textAlign,
3270
3270
  class: "tpl:mb-3.5",
3271
3271
  path: "textAlign"
3272
3272
  }, {
3273
- default: u(() => [p(X, {
3273
+ default: u(() => [p(Z, {
3274
3274
  options: [
3275
3275
  {
3276
3276
  value: "left",
3277
3277
  label: h(c).title.alignLeft,
3278
- icon: h(Le)
3278
+ icon: h(Ie)
3279
3279
  },
3280
3280
  {
3281
3281
  value: "center",
3282
3282
  label: h(c).title.alignCenter,
3283
- icon: h(Fe)
3283
+ icon: h(Pe)
3284
3284
  },
3285
3285
  {
3286
3286
  value: "right",
3287
3287
  label: h(c).title.alignRight,
3288
- icon: h(Ie)
3288
+ icon: h(Fe)
3289
3289
  }
3290
3290
  ],
3291
3291
  "model-value": e.block.textAlign,
@@ -3303,18 +3303,18 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3303
3303
  },
3304
3304
  emits: ["update"],
3305
3305
  setup(e, { emit: t }) {
3306
- let n = t, { t: i } = H();
3306
+ let n = t, { t: i } = U();
3307
3307
  function c(e, t) {
3308
3308
  n("update", { [e]: t });
3309
3309
  }
3310
3310
  return (t, n) => (a(), v(S, null, [
3311
- p(q, {
3311
+ p(J, {
3312
3312
  label: h(i).title.level,
3313
3313
  class: "tpl:mb-3.5",
3314
3314
  path: "level"
3315
3315
  }, {
3316
3316
  default: u(() => [b("select", {
3317
- class: o(h(G)),
3317
+ class: o(h(K)),
3318
3318
  value: e.block.level,
3319
3319
  onChange: n[0] ||= (e) => c("level", Number(e.target.value))
3320
3320
  }, [
@@ -3325,14 +3325,14 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3325
3325
  ], 42, xa)]),
3326
3326
  _: 1
3327
3327
  }, 8, ["label"]),
3328
- p(q, {
3328
+ p(J, {
3329
3329
  label: h(i).title.fontFamily,
3330
3330
  class: "tpl:mb-3.5",
3331
3331
  path: "fontFamily"
3332
3332
  }, {
3333
3333
  default: u(() => [b("select", {
3334
- class: o(h(G)),
3335
- value: h(dt)(e.block.fontFamily),
3334
+ class: o(h(K)),
3335
+ value: h(ut)(e.block.fontFamily),
3336
3336
  onChange: n[1] ||= (e) => c("fontFamily", e.target.value || void 0)
3337
3337
  }, [b("option", Da, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3338
3338
  key: e.value,
@@ -3340,38 +3340,38 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3340
3340
  }, r(e.label), 9, Oa))), 128))], 42, Ea)]),
3341
3341
  _: 1
3342
3342
  }, 8, ["label"]),
3343
- p(q, {
3343
+ p(J, {
3344
3344
  label: h(i).title.color,
3345
3345
  class: "tpl:mb-3.5",
3346
3346
  path: "color"
3347
3347
  }, {
3348
- default: u(() => [p(B, {
3348
+ default: u(() => [p(V, {
3349
3349
  "model-value": e.block.color ?? "",
3350
3350
  "onUpdate:modelValue": n[2] ||= (e) => c("color", e || void 0)
3351
3351
  }, null, 8, ["model-value"])]),
3352
3352
  _: 1
3353
3353
  }, 8, ["label"]),
3354
- p(q, {
3354
+ p(J, {
3355
3355
  label: h(i).title.align,
3356
3356
  class: "tpl:mb-3.5",
3357
3357
  path: "textAlign"
3358
3358
  }, {
3359
- default: u(() => [p(X, {
3359
+ default: u(() => [p(Z, {
3360
3360
  options: [
3361
3361
  {
3362
3362
  value: "left",
3363
3363
  label: h(i).title.alignLeft,
3364
- icon: h(Le)
3364
+ icon: h(Ie)
3365
3365
  },
3366
3366
  {
3367
3367
  value: "center",
3368
3368
  label: h(i).title.alignCenter,
3369
- icon: h(Fe)
3369
+ icon: h(Pe)
3370
3370
  },
3371
3371
  {
3372
3372
  value: "right",
3373
3373
  label: h(i).title.alignRight,
3374
- icon: h(Ie)
3374
+ icon: h(Fe)
3375
3375
  }
3376
3376
  ],
3377
3377
  "model-value": e.block.textAlign,
@@ -3396,63 +3396,63 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3396
3396
  props: { block: {} },
3397
3397
  emits: ["update"],
3398
3398
  setup(e, { emit: t }) {
3399
- let n = e, i = t, { t: s } = H(), c = T(We, null), l = T(Be, F.liquid), d = ue(), f = [
3399
+ let n = e, i = t, { t: s } = U(), c = T(Ue, null), l = T(ze, N.liquid), d = le(), f = [
3400
3400
  300,
3401
3401
  400,
3402
3402
  500
3403
- ], x = m(() => !!c), w = m(() => j(n.block.url, l)), E = m(() => {
3403
+ ], x = m(() => !!c), w = m(() => k(n.block.url, l)), E = m(() => {
3404
3404
  let e = n.block.width;
3405
3405
  return e === "full" ? "full" : f.includes(e) ? String(e) : "custom";
3406
- }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = ot(() => {
3406
+ }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: A } = at(() => {
3407
3407
  O.value = !1;
3408
3408
  }, 1e3, { immediate: !1 });
3409
- function A(e, t) {
3409
+ function j(e, t) {
3410
3410
  i("update", { [e]: t });
3411
3411
  }
3412
3412
  function M(e) {
3413
3413
  if (e === "custom") {
3414
3414
  let e = n.block.width;
3415
- (typeof e != "number" || f.includes(e)) && A("width", Ua);
3416
- } else A("width", e === "full" ? "full" : Number(e));
3415
+ (typeof e != "number" || f.includes(e)) && j("width", Ua);
3416
+ } else j("width", e === "full" ? "full" : Number(e));
3417
3417
  }
3418
- function N(e) {
3418
+ function P(e) {
3419
3419
  let t = Number(e);
3420
- !Number.isFinite(t) || t <= 0 || A("width", t);
3420
+ !Number.isFinite(t) || t <= 0 || j("width", t);
3421
3421
  }
3422
- function P(e) {
3423
- A("height", e === "custom" ? Wa : void 0);
3422
+ function F(e) {
3423
+ j("height", e === "custom" ? Wa : void 0);
3424
3424
  }
3425
3425
  function I(e) {
3426
3426
  let t = Number(e);
3427
- !Number.isFinite(t) || t <= 0 || A("height", t);
3427
+ !Number.isFinite(t) || t <= 0 || j("height", t);
3428
3428
  }
3429
3429
  async function L() {
3430
3430
  let e = await c?.({ accept: ["images"] });
3431
- d.alive && e && (A("thumbnailUrl", e.url), O.value = !0, k());
3431
+ d.alive && e && (j("thumbnailUrl", e.url), O.value = !0, A());
3432
3432
  }
3433
3433
  return (t, n) => (a(), v(S, null, [
3434
- p(q, {
3434
+ p(J, {
3435
3435
  label: h(s).video.videoUrl,
3436
3436
  class: "tpl:mb-3.5",
3437
3437
  path: "url"
3438
3438
  }, {
3439
- default: u(() => [p(Y, {
3439
+ default: u(() => [p(X, {
3440
3440
  "model-value": e.block.url,
3441
3441
  type: "url",
3442
3442
  placeholder: h(s).video.videoUrlPlaceholder,
3443
- "onUpdate:modelValue": n[0] ||= (e) => A("url", e)
3444
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(q, {
3443
+ "onUpdate:modelValue": n[0] ||= (e) => j("url", e)
3444
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (a(), C(J, {
3445
3445
  key: 0,
3446
3446
  path: "openInNewTab",
3447
3447
  label: h(s).video.openInNewTab
3448
3448
  }, {
3449
- "label-actions": u(({ controlId: t }) => [p(J, {
3449
+ "label-actions": u(({ controlId: t }) => [p(Y, {
3450
3450
  "control-id": t,
3451
3451
  "hide-label": "",
3452
3452
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
3453
3453
  "model-value": e.block.openInNewTab ?? !1,
3454
3454
  label: h(s).video.openInNewTab,
3455
- "onUpdate:modelValue": n[1] ||= (e) => A("openInNewTab", e)
3455
+ "onUpdate:modelValue": n[1] ||= (e) => j("openInNewTab", e)
3456
3456
  }, null, 8, [
3457
3457
  "control-id",
3458
3458
  "model-value",
@@ -3462,7 +3462,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3462
3462
  }, 8, ["label"])) : g("", !0)]),
3463
3463
  _: 1
3464
3464
  }, 8, ["label"]),
3465
- w.value ? (a(), C(q, {
3465
+ w.value ? (a(), C(J, {
3466
3466
  key: 0,
3467
3467
  class: "tpl:mb-3.5",
3468
3468
  path: "placeholderUrl"
@@ -3470,25 +3470,25 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3470
3470
  label: u(() => [y(r(h(s).video.placeholderUrl) + " ", 1), b("span", Aa, r(h(s).video.optional), 1)]),
3471
3471
  default: u(() => [b("input", {
3472
3472
  type: "url",
3473
- class: o(h(G)),
3473
+ class: o(h(K)),
3474
3474
  value: e.block.placeholderUrl || "",
3475
3475
  placeholder: h(s).video.placeholderUrlPlaceholder,
3476
3476
  title: h(s).video.placeholderUrlTooltip,
3477
- onInput: n[2] ||= (e) => A("placeholderUrl", e.target.value)
3477
+ onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
3478
3478
  }, null, 42, ja)]),
3479
3479
  _: 1
3480
3480
  })) : g("", !0),
3481
- p(q, {
3481
+ p(J, {
3482
3482
  class: "tpl:mb-3.5",
3483
3483
  path: "thumbnailUrl"
3484
3484
  }, {
3485
3485
  label: u(() => [y(r(h(s).video.customThumbnail) + " ", 1), b("span", Ma, r(h(s).video.optional), 1)]),
3486
- default: u(() => [p(Y, {
3486
+ default: u(() => [p(X, {
3487
3487
  "model-value": e.block.thumbnailUrl,
3488
3488
  type: "url",
3489
3489
  placeholder: h(s).video.thumbnailPlaceholder,
3490
3490
  pulse: O.value,
3491
- "onUpdate:modelValue": n[3] ||= (e) => A("thumbnailUrl", e)
3491
+ "onUpdate:modelValue": n[3] ||= (e) => j("thumbnailUrl", e)
3492
3492
  }, null, 8, [
3493
3493
  "model-value",
3494
3494
  "placeholder",
@@ -3502,32 +3502,32 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3502
3502
  "background-color": "var(--tpl-bg)"
3503
3503
  },
3504
3504
  onClick: L
3505
- }, [p(h(ke), {
3505
+ }, [p(h(Oe), {
3506
3506
  size: 14,
3507
3507
  "stroke-width": 1.5
3508
3508
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)]),
3509
3509
  _: 1
3510
3510
  }),
3511
- p(q, {
3511
+ p(J, {
3512
3512
  label: h(s).video.altText,
3513
3513
  class: "tpl:mb-3.5",
3514
3514
  path: "alt"
3515
3515
  }, {
3516
- default: u(() => [p(Y, {
3516
+ default: u(() => [p(X, {
3517
3517
  "model-value": e.block.alt,
3518
3518
  type: "text",
3519
3519
  placeholder: h(s).video.altTextPlaceholder,
3520
- "onUpdate:modelValue": n[4] ||= (e) => A("alt", e)
3520
+ "onUpdate:modelValue": n[4] ||= (e) => j("alt", e)
3521
3521
  }, null, 8, ["model-value", "placeholder"])]),
3522
3522
  _: 1
3523
3523
  }, 8, ["label"]),
3524
- p(q, {
3524
+ p(J, {
3525
3525
  label: h(s).video.width,
3526
3526
  class: "tpl:mb-3.5",
3527
3527
  path: "width"
3528
3528
  }, {
3529
3529
  default: u(() => [b("select", {
3530
- class: o(h(G)),
3530
+ class: o(h(K)),
3531
3531
  "data-testid": "video-width-mode",
3532
3532
  value: E.value,
3533
3533
  onChange: n[5] ||= (e) => M(e.target.value)
@@ -3540,39 +3540,39 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3540
3540
  ], 42, Na), E.value === "custom" ? (a(), v("div", Ia, [b("input", {
3541
3541
  type: "number",
3542
3542
  "data-testid": "video-width-input",
3543
- class: o(h(W)),
3543
+ class: o(h(G)),
3544
3544
  value: e.block.width,
3545
3545
  min: "20",
3546
- onInput: n[6] ||= (e) => N(e.target.value)
3547
- }, null, 42, La), b("span", { class: o(h(U)) }, "px", 2)])) : g("", !0)]),
3546
+ onInput: n[6] ||= (e) => P(e.target.value)
3547
+ }, null, 42, La), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
3548
3548
  _: 1
3549
3549
  }, 8, ["label"]),
3550
- p(q, {
3550
+ p(J, {
3551
3551
  label: h(s).video.height,
3552
3552
  class: "tpl:mb-3.5",
3553
3553
  path: "height"
3554
3554
  }, {
3555
3555
  default: u(() => [b("select", {
3556
- class: o(h(G)),
3556
+ class: o(h(K)),
3557
3557
  "data-testid": "video-height-mode",
3558
3558
  value: D.value,
3559
- onChange: n[7] ||= (e) => P(e.target.value)
3559
+ onChange: n[7] ||= (e) => F(e.target.value)
3560
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", {
3561
3561
  type: "number",
3562
3562
  "data-testid": "video-height-input",
3563
- class: o(h(W)),
3563
+ class: o(h(G)),
3564
3564
  value: e.block.height,
3565
3565
  min: "20",
3566
3566
  onInput: n[8] ||= (e) => I(e.target.value)
3567
- }, null, 42, Ha), b("span", { class: o(h(U)) }, "px", 2)])) : g("", !0)]),
3567
+ }, null, 42, Ha), b("span", { class: o(h(W)) }, "px", 2)])) : g("", !0)]),
3568
3568
  _: 1
3569
3569
  }, 8, ["label"]),
3570
- p(q, {
3570
+ p(J, {
3571
3571
  label: h(s).title.align,
3572
3572
  class: "tpl:mb-3.5",
3573
3573
  path: "align"
3574
3574
  }, {
3575
- default: u(() => [p(X, {
3575
+ default: u(() => [p(Z, {
3576
3576
  options: [
3577
3577
  {
3578
3578
  value: "left",
@@ -3588,7 +3588,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3588
3588
  }
3589
3589
  ],
3590
3590
  "model-value": e.block.align,
3591
- "onUpdate:modelValue": n[9] ||= (e) => A("align", e)
3591
+ "onUpdate:modelValue": n[9] ||= (e) => j("align", e)
3592
3592
  }, null, 8, ["options", "model-value"])]),
3593
3593
  _: 1
3594
3594
  }, 8, ["label"])
@@ -3603,9 +3603,9 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3603
3603
  "duplicate"
3604
3604
  ],
3605
3605
  setup(e, { emit: t }) {
3606
- let n = w(() => import("./CountdownToolbar-CM4XNEuO.js")), o = e, s = t, { t: c } = H(), l = st(), u = Ye(qe, "Toolbar"), d = T(Je, []), f = m(() => o.block.type), _ = m(() => I(o.block)), y = m(() => {
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(() => {
3607
3607
  if (_.value) return d.find((e) => e.type === o.block.customType);
3608
- }), x = m(() => _.value ? y.value?.name ?? o.block.customType : le(f.value, c)), S = m(() => ut(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
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));
3609
3609
  function E(e) {
3610
3610
  l.value && s("update", e);
3611
3611
  }
@@ -3617,11 +3617,11 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3617
3617
  disabled: !h(l),
3618
3618
  inert: !h(l),
3619
3619
  class: "tpl:contents"
3620
- }, [b("div", Ja, [b("div", Ya, [h(De)[f.value] ? (a(), C(i(h(De)[f.value]), {
3620
+ }, [b("div", Ja, [b("div", Ya, [h(Ee)[f.value] ? (a(), C(i(h(Ee)[f.value]), {
3621
3621
  key: 0,
3622
3622
  size: 16,
3623
3623
  "stroke-width": 1.5
3624
- })) : _.value ? (a(), C(h(he), {
3624
+ })) : _.value ? (a(), C(h(me), {
3625
3625
  key: 1,
3626
3626
  size: 16,
3627
3627
  "stroke-width": 1.5
@@ -3629,14 +3629,14 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3629
3629
  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
3630
  title: h(c).toolbar.duplicate,
3631
3631
  onClick: o[0] ||= (e) => s("duplicate")
3632
- }, [p(h(Oe), {
3632
+ }, [p(h(De), {
3633
3633
  size: 14,
3634
3634
  "stroke-width": 2
3635
3635
  })], 8, Qa), b("button", {
3636
3636
  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
3637
  title: h(c).toolbar.delete,
3638
3638
  onClick: o[1] ||= (e) => s("delete")
3639
- }, [p(h(Re), {
3639
+ }, [p(h(Le), {
3640
3640
  size: 14,
3641
3641
  "stroke-width": 2
3642
3642
  })], 8, $a)])]), b("div", eo, [_.value ? (a(), C(Pr, {
@@ -3665,7 +3665,7 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3665
3665
  key: 5,
3666
3666
  block: e.block,
3667
3667
  onUpdate: E
3668
- }, null, 8, ["block"])) : f.value === "button" ? (a(), C(Bt, {
3668
+ }, null, 8, ["block"])) : f.value === "button" ? (a(), C(zt, {
3669
3669
  key: 6,
3670
3670
  block: e.block,
3671
3671
  "font-families": S.value,
@@ -3701,11 +3701,11 @@ var Si = { class: "tpl:mb-3.5" }, Ci = ["value"], wi = ["value"], Ti = {
3701
3701
  block: e.block,
3702
3702
  "font-families": S.value,
3703
3703
  onUpdate: E
3704
- }, null, 8, ["block", "font-families"])) : g("", !0), p(Yn, {
3704
+ }, null, 8, ["block", "font-families"])) : g("", !0), p(Jn, {
3705
3705
  block: e.block,
3706
3706
  "is-first-section": f.value === "paragraph",
3707
3707
  onUpdate: E
3708
3708
  }, null, 8, ["block", "is-first-section"])])], 8, qa)], 8, Ka));
3709
3709
  }
3710
- }), no = /* @__PURE__ */ e({ default: () => ro }), ro = /*#__PURE__*/ Se(to, [["__scopeId", "data-v-206f038f"]]);
3711
- export { ro as default, Z as n, X as r, no as t };
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 };