@templatical/editor 0.53.0 → 0.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/{AiChatPanel-DdhtfsmO.js → AiChatPanel-C8SeEJRP.js} +8 -8
  2. package/dist/{AiPanels-HBx7xoJR.js → AiPanels-CR6zphjP.js} +1 -1
  3. package/dist/{AiRewriteMenu-DPzSekZt.js → AiRewriteMenu-CIHUnPud.js} +6 -6
  4. package/dist/{BlockIssueBadge-eIXZJ9M3.js → BlockIssueBadge-DaPTq1RE.js} +2 -2
  5. package/dist/{BlockPreviewCanvas-DO-2TP_6.js → BlockPreviewCanvas-B70RSavL.js} +3 -3
  6. package/dist/{CloudPanels-i2kZdrdP.js → CloudPanels-VpSQiLLL.js} +3 -3
  7. package/dist/{CollaborationNotices-DANsjl7c.js → CollaborationNotices-Cnx0XHzZ.js} +1 -1
  8. package/dist/{CollaboratorBar-CbbAA0m1.js → CollaboratorBar-BaBoNhwB.js} +1 -1
  9. package/dist/{CommentsPanel-CYW3LWis.js → CommentsPanel-Ck3QmqiC.js} +1 -1
  10. package/dist/{CommentsSidebar-CcF4ISMi.js → CommentsSidebar-CHknhOar.js} +10 -10
  11. package/dist/{CountdownToolbar-D3Lv74kU.js → CountdownToolbar-CM4XNEuO.js} +3 -3
  12. package/dist/{IssuesPanel-BMAG9042.js → IssuesPanel-1wGV0wiy.js} +8 -8
  13. package/dist/{LanguageMenu-FlP_Jbup.js → LanguageMenu-d2GlX67r.js} +8 -8
  14. package/dist/{LocaleNotices-DAnVszWu.js → LocaleNotices-WzsYtBRs.js} +2 -2
  15. package/dist/{LogicTagInsertButton-BjYs-UQX.js → LogicTagInsertButton-DgTJ6Lvx.js} +3 -3
  16. package/dist/{MediaEditModal-LnG-cF_S.js → MediaEditModal-C3U9Mi31.js} +1 -1
  17. package/dist/{MediaPanels-C2r5fiFo.js → MediaPanels-CGmk9ufe.js} +1 -1
  18. package/dist/{MergeTagInput-BsnogCeY.js → MergeTagInput-B_51YcQO.js} +1 -1
  19. package/dist/{MergeTagModeToggle-DiufIQ-_.js → MergeTagModeToggle-D3Q2z317.js} +3 -3
  20. package/dist/{MergeTagTextarea-BweI-Xsi.js → MergeTagTextarea-DZz1L9DE.js} +2 -2
  21. package/dist/{ParagraphEditor-qgBp5yIB.js → ParagraphEditor-CI68PYDL.js} +12 -12
  22. package/dist/{RestoreVersionDialog-DdYUrFiK.js → RestoreVersionDialog-DcuhpOIz.js} +3 -3
  23. package/dist/{RichTextEditorContent-C5MAzx3E.js → RichTextEditorContent-Dstovi0m.js} +4 -4
  24. package/dist/{SaveBlockDialog-eK6fjtTy.js → SaveBlockDialog-vuwvoi-d.js} +7 -7
  25. package/dist/{SavedBlocksBrowserModal-D2QHd2Yp.js → SavedBlocksBrowserModal-DUJm0dOv.js} +9 -9
  26. package/dist/{SavedBlocksPanels-Cl61f4Mf.js → SavedBlocksPanels-BiMXQ5lY.js} +1 -1
  27. package/dist/{SavedBlocksPickBar-CXP2dkeB.js → SavedBlocksPickBar-CAstZfG7.js} +2 -2
  28. package/dist/{TemplateSettings-BKJrdZcH.js → TemplateSettings-Baar78_s.js} +6 -6
  29. package/dist/{TestEmailModal-DQotJg6g.js → TestEmailModal-Bl_GHdrN.js} +6 -6
  30. package/dist/{TestEmailPanel-CwiTzJsh.js → TestEmailPanel-CpTBF7B5.js} +1 -1
  31. package/dist/{TitleEditor-CzSvsPAn.js → TitleEditor-DkbEDAZB.js} +6 -6
  32. package/dist/{Toolbar-Cd75ci5W.js → Toolbar-bOZ_eq7X.js} +27 -27
  33. package/dist/{TplModal-ZoXu40T9.js → TplModal-wk2gLa7_.js} +1 -1
  34. package/dist/{VersionHistoryMenu-BvhN-Ofk.js → VersionHistoryMenu-BnP0EyLl.js} +5 -5
  35. package/dist/{VersionHistoryPanels-DPWMnYbd.js → VersionHistoryPanels-Cq2rFKIX.js} +1 -1
  36. package/dist/{VersionPreviewBanner-CuJnasxH.js → VersionPreviewBanner-BPP939cD.js} +1 -1
  37. package/dist/{WrapperBlock-D4fPwO0t.js → WrapperBlock-cWT_nZgQ.js} +2 -2
  38. package/dist/{blockTypeIcons-BXMxu86H.js → blockTypeIcons-BUyPZ7Su.js} +3 -3
  39. package/dist/bundle-stats.json +4 -4
  40. package/dist/cdn/chunks/{AiAltTextPopover-ByZ0FEqI.js → AiAltTextPopover-Cnc_kUmb.js} +2 -2
  41. package/dist/cdn/chunks/{AiAltTextPopover-ByZ0FEqI.js.map → AiAltTextPopover-Cnc_kUmb.js.map} +1 -1
  42. package/dist/cdn/chunks/{AiAltTextReview-Dtm3A2cD.js → AiAltTextReview-DPeSY-7r.js} +2 -2
  43. package/dist/cdn/chunks/{AiAltTextReview-Dtm3A2cD.js.map → AiAltTextReview-DPeSY-7r.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiChatPanel-DciEt27y.js → AiChatPanel-By8Uo1nH.js} +2 -2
  45. package/dist/cdn/chunks/{AiChatPanel-DciEt27y.js.map → AiChatPanel-By8Uo1nH.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiPanels-BV5D1itk.js → AiPanels-BblCSkQy.js} +2 -2
  47. package/dist/cdn/chunks/{AiPanels-BV5D1itk.js.map → AiPanels-BblCSkQy.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiRewriteMenu-D3jkh6Xb.js → AiRewriteMenu-C4btyN4W.js} +6 -6
  49. package/dist/cdn/chunks/{AiRewriteMenu-D3jkh6Xb.js.map → AiRewriteMenu-C4btyN4W.js.map} +1 -1
  50. package/dist/cdn/chunks/{BlockIssueBadge-DyEgBZtR.js → BlockIssueBadge-D3Plo_wt.js} +2 -2
  51. package/dist/cdn/chunks/{BlockIssueBadge-DyEgBZtR.js.map → BlockIssueBadge-D3Plo_wt.js.map} +1 -1
  52. package/dist/cdn/chunks/{BlockPreviewCanvas-RQFilqXC.js → BlockPreviewCanvas-CTKmBPsq.js} +7 -7
  53. package/dist/cdn/chunks/{BlockPreviewCanvas-RQFilqXC.js.map → BlockPreviewCanvas-CTKmBPsq.js.map} +1 -1
  54. package/dist/cdn/chunks/{CloudPanels-BSJ-Z5Hw.js → CloudPanels-COU26R83.js} +3 -3
  55. package/dist/cdn/chunks/{CloudPanels-BSJ-Z5Hw.js.map → CloudPanels-COU26R83.js.map} +1 -1
  56. package/dist/cdn/chunks/{CollaborationNotices-BS7xrlPE.js → CollaborationNotices-DraFUhyo.js} +2 -2
  57. package/dist/cdn/chunks/{CollaborationNotices-BS7xrlPE.js.map → CollaborationNotices-DraFUhyo.js.map} +1 -1
  58. package/dist/cdn/chunks/{CollaboratorBar-Bc9914Az.js → CollaboratorBar-0OEH3hrj.js} +2 -2
  59. package/dist/cdn/chunks/{CollaboratorBar-Bc9914Az.js.map → CollaboratorBar-0OEH3hrj.js.map} +1 -1
  60. package/dist/cdn/chunks/{CommentsPanel-DbR9phAk.js → CommentsPanel-tZZswofV.js} +2 -2
  61. package/dist/cdn/chunks/{CommentsPanel-DbR9phAk.js.map → CommentsPanel-tZZswofV.js.map} +1 -1
  62. package/dist/cdn/chunks/{CommentsSidebar-BD4--XP2.js → CommentsSidebar-7Hfl3Hdj.js} +2 -2
  63. package/dist/cdn/chunks/{CommentsSidebar-BD4--XP2.js.map → CommentsSidebar-7Hfl3Hdj.js.map} +1 -1
  64. package/dist/cdn/chunks/{CountdownToolbar-DxwYBw-d.js → CountdownToolbar-CNgsNL5-.js} +5 -5
  65. package/dist/cdn/chunks/{CountdownToolbar-DxwYBw-d.js.map → CountdownToolbar-CNgsNL5-.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel-CUmI4HMm.js → IssuesPanel-Duic0mIs.js} +4 -4
  67. package/dist/cdn/chunks/{IssuesPanel-CUmI4HMm.js.map → IssuesPanel-Duic0mIs.js.map} +1 -1
  68. package/dist/cdn/chunks/{LanguageMenu-3ydCozQJ.js → LanguageMenu-B1Aue_lf.js} +11 -11
  69. package/dist/cdn/chunks/{LanguageMenu-3ydCozQJ.js.map → LanguageMenu-B1Aue_lf.js.map} +1 -1
  70. package/dist/cdn/chunks/{LocaleNotices-BfoH6gST.js → LocaleNotices-8J2DRWeg.js} +2 -2
  71. package/dist/cdn/chunks/{LocaleNotices-BfoH6gST.js.map → LocaleNotices-8J2DRWeg.js.map} +1 -1
  72. package/dist/cdn/chunks/{LogicTagInsertButton-5Z3fFzjc.js → LogicTagInsertButton-Bhvi0nWz.js} +5 -5
  73. package/dist/cdn/chunks/{LogicTagInsertButton-5Z3fFzjc.js.map → LogicTagInsertButton-Bhvi0nWz.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaEditModal-DDCIwr9U.js → MediaEditModal-Dz972UFx.js} +2 -2
  75. package/dist/cdn/chunks/{MediaEditModal-DDCIwr9U.js.map → MediaEditModal-Dz972UFx.js.map} +1 -1
  76. package/dist/cdn/chunks/{MediaPanels-Dz79oy8P.js → MediaPanels-C6Hqtp1H.js} +2 -2
  77. package/dist/cdn/chunks/{MediaPanels-Dz79oy8P.js.map → MediaPanels-C6Hqtp1H.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagInput-CIWy-cXf.js → MergeTagInput-CrhZm-AW.js} +2 -2
  79. package/dist/cdn/chunks/{MergeTagInput-CIWy-cXf.js.map → MergeTagInput-CrhZm-AW.js.map} +1 -1
  80. package/dist/cdn/chunks/{MergeTagModeToggle-BrP5GR-x.js → MergeTagModeToggle-CWVtXLYa.js} +3 -3
  81. package/dist/cdn/chunks/{MergeTagModeToggle-BrP5GR-x.js.map → MergeTagModeToggle-CWVtXLYa.js.map} +1 -1
  82. package/dist/cdn/chunks/{MergeTagTextarea-D3nNDlhV.js → MergeTagTextarea-hTIBwX0F.js} +7 -7
  83. package/dist/cdn/chunks/{MergeTagTextarea-D3nNDlhV.js.map → MergeTagTextarea-hTIBwX0F.js.map} +1 -1
  84. package/dist/cdn/chunks/{ParagraphEditor-DDolH_Pf.js → ParagraphEditor-B2UU1Q5I.js} +15 -15
  85. package/dist/cdn/chunks/{ParagraphEditor-DDolH_Pf.js.map → ParagraphEditor-B2UU1Q5I.js.map} +1 -1
  86. package/dist/cdn/chunks/{RestoreVersionDialog-Crj1DBqC.js → RestoreVersionDialog-C1Y5Ewo_.js} +3 -3
  87. package/dist/cdn/chunks/{RestoreVersionDialog-Crj1DBqC.js.map → RestoreVersionDialog-C1Y5Ewo_.js.map} +1 -1
  88. package/dist/cdn/chunks/{RichTextEditorContent-rCCqFlwJ.js → RichTextEditorContent-up4AqL7D.js} +4 -4
  89. package/dist/cdn/chunks/{RichTextEditorContent-rCCqFlwJ.js.map → RichTextEditorContent-up4AqL7D.js.map} +1 -1
  90. package/dist/cdn/chunks/{SaveBlockDialog-C34RW1aM.js → SaveBlockDialog-B9lwEP_T.js} +6 -6
  91. package/dist/cdn/chunks/{SaveBlockDialog-C34RW1aM.js.map → SaveBlockDialog-B9lwEP_T.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CJnwWPT-.js → SavedBlocksBrowserModal-fAeHUyxb.js} +6 -6
  93. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CJnwWPT-.js.map → SavedBlocksBrowserModal-fAeHUyxb.js.map} +1 -1
  94. package/dist/cdn/chunks/{SavedBlocksPanels-CA2PqXIH.js → SavedBlocksPanels-DRDTLDyZ.js} +2 -2
  95. package/dist/cdn/chunks/{SavedBlocksPanels-CA2PqXIH.js.map → SavedBlocksPanels-DRDTLDyZ.js.map} +1 -1
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-Dj3ortee.js → SavedBlocksPickBar-B6b5z-o3.js} +3 -3
  97. package/dist/cdn/chunks/{SavedBlocksPickBar-Dj3ortee.js.map → SavedBlocksPickBar-B6b5z-o3.js.map} +1 -1
  98. package/dist/cdn/chunks/{TemplateSettings-sW0ZlDl1.js → TemplateSettings-CWUpUKJb.js} +6 -6
  99. package/dist/cdn/chunks/{TemplateSettings-sW0ZlDl1.js.map → TemplateSettings-CWUpUKJb.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailModal-BXeCtTjU.js → TestEmailModal-DQxnW5Q5.js} +7 -7
  101. package/dist/cdn/chunks/{TestEmailModal-BXeCtTjU.js.map → TestEmailModal-DQxnW5Q5.js.map} +1 -1
  102. package/dist/cdn/chunks/{TestEmailPanel-CpZcpB9D.js → TestEmailPanel-BcO_-16H.js} +2 -2
  103. package/dist/cdn/chunks/{TestEmailPanel-CpZcpB9D.js.map → TestEmailPanel-BcO_-16H.js.map} +1 -1
  104. package/dist/cdn/chunks/{TitleEditor-Bv3SmSO6.js → TitleEditor-pmycpmTd.js} +5 -5
  105. package/dist/cdn/chunks/{TitleEditor-Bv3SmSO6.js.map → TitleEditor-pmycpmTd.js.map} +1 -1
  106. package/dist/cdn/chunks/{Toolbar-BJKpJ2Mg.js → Toolbar-BlWVQRcA.js} +571 -571
  107. package/dist/cdn/chunks/{Toolbar-BJKpJ2Mg.js.map → Toolbar-BlWVQRcA.js.map} +1 -1
  108. package/dist/cdn/chunks/{TplModal-DDDUDMYC.js → TplModal-ClSSGX7a.js} +2 -2
  109. package/dist/cdn/chunks/{TplModal-DDDUDMYC.js.map → TplModal-ClSSGX7a.js.map} +1 -1
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DSElv3Sv.js → VersionHistoryMenu-CZury5gU.js} +4 -4
  111. package/dist/cdn/chunks/{VersionHistoryMenu-DSElv3Sv.js.map → VersionHistoryMenu-CZury5gU.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-H2nuik1l.js → VersionHistoryPanels-B8GPBKMq.js} +2 -2
  113. package/dist/cdn/chunks/{VersionHistoryPanels-H2nuik1l.js.map → VersionHistoryPanels-B8GPBKMq.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-Whwxh55w.js → VersionPreviewBanner-C4Ji8nu4.js} +2 -2
  115. package/dist/cdn/chunks/{VersionPreviewBanner-Whwxh55w.js.map → VersionPreviewBanner-C4Ji8nu4.js.map} +1 -1
  116. package/dist/cdn/chunks/{WrapperBlock-jTqsuLnS.js → WrapperBlock-BoUflYwY.js} +4 -4
  117. package/dist/cdn/chunks/{WrapperBlock-jTqsuLnS.js.map → WrapperBlock-BoUflYwY.js.map} +1 -1
  118. package/dist/cdn/chunks/{blockTypeIcons-DMgLcuI8.js → blockTypeIcons-Cc6RJ27V.js} +2 -2
  119. package/dist/cdn/chunks/{blockTypeIcons-DMgLcuI8.js.map → blockTypeIcons-Cc6RJ27V.js.map} +1 -1
  120. package/dist/cdn/chunks/{composables-D0UYam2P.js → composables-C1KU4ZHw.js} +117 -117
  121. package/dist/cdn/chunks/{composables-D0UYam2P.js.map → composables-C1KU4ZHw.js.map} +1 -1
  122. package/dist/cdn/chunks/{createCloudRuntime-BdsclY8_.js → createCloudRuntime-C2Zs5F1O.js} +3 -3
  123. package/dist/cdn/chunks/{createCloudRuntime-BdsclY8_.js.map → createCloudRuntime-C2Zs5F1O.js.map} +1 -1
  124. package/dist/cdn/chunks/{editor-modal-CPbgthOv.js → editor-modal-erQEOHZN.js} +90 -90
  125. package/dist/cdn/chunks/{editor-modal-CPbgthOv.js.map → editor-modal-erQEOHZN.js.map} +1 -1
  126. package/dist/cdn/chunks/en-B6tLGRHq.js +1 -0
  127. package/dist/cdn/chunks/{extensions-Uh9vuFfK.js → extensions-DcMKZpzh.js} +4 -4
  128. package/dist/cdn/chunks/{extensions-Uh9vuFfK.js.map → extensions-DcMKZpzh.js.map} +1 -1
  129. package/dist/cdn/chunks/{icons-CSSMtbGK.js → icons-Da9GKjPx.js} +42 -42
  130. package/dist/cdn/chunks/{icons-CSSMtbGK.js.map → icons-Da9GKjPx.js.map} +1 -1
  131. package/dist/cdn/chunks/{normalizeMergeTagMarkup-oGhwVscw.js → normalizeMergeTagMarkup-cC32Ox6A.js} +23 -23
  132. package/dist/cdn/chunks/{normalizeMergeTagMarkup-oGhwVscw.js.map → normalizeMergeTagMarkup-cC32Ox6A.js.map} +1 -1
  133. package/dist/cdn/chunks/{preRenderCustomBlocks-C8k7tw98.js → preRenderCustomBlocks-f7GEKdvw.js} +4 -4
  134. package/dist/cdn/chunks/{preRenderCustomBlocks-C8k7tw98.js.map → preRenderCustomBlocks-f7GEKdvw.js.map} +1 -1
  135. package/dist/cdn/chunks/{sanitizeHtml-DYklmvgX.js → sanitizeHtml-WTfz9lZd.js} +2 -2
  136. package/dist/cdn/chunks/{sanitizeHtml-DYklmvgX.js.map → sanitizeHtml-WTfz9lZd.js.map} +1 -1
  137. package/dist/cdn/chunks/{socialIcons-BAiuHyJs.js → socialIcons-DeCYorUT.js} +493 -493
  138. package/dist/cdn/chunks/{socialIcons-BAiuHyJs.js.map → socialIcons-DeCYorUT.js.map} +1 -1
  139. package/dist/cdn/chunks/{src-DheBmnvF.js → src-A_cKeTM_.js} +263 -263
  140. package/dist/cdn/chunks/{src-DheBmnvF.js.map → src-A_cKeTM_.js.map} +1 -1
  141. package/dist/cdn/chunks/{src-CACM3o--.js → src-BQUv2CYU.js} +152 -152
  142. package/dist/cdn/chunks/{src-CACM3o--.js.map → src-BQUv2CYU.js.map} +1 -1
  143. package/dist/cdn/chunks/{src-Ddpm4HsS.js → src-BWX_xVxO.js} +237 -179
  144. package/dist/cdn/chunks/src-BWX_xVxO.js.map +1 -0
  145. package/dist/cdn/chunks/useLocalizedDisplay-aGfnO90D.js +33 -0
  146. package/dist/cdn/chunks/{useLocalizedDisplay-yXbRKNrs.js.map → useLocalizedDisplay-aGfnO90D.js.map} +1 -1
  147. package/dist/cdn/chunks/{useLogicTag-B7RpqVFQ.js → useLogicTag-DtYe8HIq.js} +2 -2
  148. package/dist/cdn/chunks/{useLogicTag-B7RpqVFQ.js.map → useLogicTag-DtYe8HIq.js.map} +1 -1
  149. package/dist/cdn/chunks/{useMergeTag-C-32ETjj.js → useMergeTag-B8ULmsnp.js} +2 -2
  150. package/dist/cdn/chunks/{useMergeTag-C-32ETjj.js.map → useMergeTag-B8ULmsnp.js.map} +1 -1
  151. package/dist/cdn/chunks/{withCurrentFont-D33ZXoWp.js → withCurrentFont-MK8ga9q9.js} +2 -2
  152. package/dist/cdn/chunks/{withCurrentFont-D33ZXoWp.js.map → withCurrentFont-MK8ga9q9.js.map} +1 -1
  153. package/dist/cdn/editor.js +262 -262
  154. package/dist/cdn/editor.js.map +1 -1
  155. package/dist/{check-ChQ0l8EQ.js → check-XMnOOIEC.js} +1 -1
  156. package/dist/{chevron-down-Bh6cp6PI.js → chevron-down-DmamTEWQ.js} +1 -1
  157. package/dist/{chevron-right-LUgdqdoW.js → chevron-right-BEFXOH27.js} +1 -1
  158. package/dist/{chevron-up-XsDeJxQN.js → chevron-up-Dw7woXj8.js} +1 -1
  159. package/dist/{circle-alert-lODfDsrj.js → circle-alert-BTKC9vkq.js} +1 -1
  160. package/dist/{clock-DrqFEZkT.js → clock-BVT5u2uG.js} +1 -1
  161. package/dist/{composables-BOP3ERRP.js → composables-CMIrGXJ1.js} +13 -13
  162. package/dist/{createLucideIcon-Dw5e5gVE.js → createLucideIcon-CgDE3xAR.js} +5 -5
  163. package/dist/{editor-modal-B_2EAOjN.js → editor-modal-BeX6otLk.js} +15 -15
  164. package/dist/en-Do0SU6tR.js +1 -0
  165. package/dist/{extensions-DOLZkLzV.js → extensions-BJ184osp.js} +1 -1
  166. package/dist/{eye-DChfk0gi.js → eye-ByMgHeA_.js} +1 -1
  167. package/dist/{image--Hj2by1G.js → image-Ch8tR35K.js} +1 -1
  168. package/dist/{info-BbXgy82f.js → info-DzSD-Wpk.js} +1 -1
  169. package/dist/{link-C2_8yJno.js → link-oDn9AR2w.js} +1 -1
  170. package/dist/{list-DLGs2n0V.js → list-C5t07dp8.js} +1 -1
  171. package/dist/{loader-circle-BbDItE_O.js → loader-circle-k6xvKgUB.js} +1 -1
  172. package/dist/{message-circle-NAModq0p.js → message-circle-C23R6OJR.js} +1 -1
  173. package/dist/{package-BuzsfRyH.js → package-C90eQ7NU.js} +1 -1
  174. package/dist/{pencil-BTUUECH4.js → pencil-BK7GrQuA.js} +1 -1
  175. package/dist/{plus-Dm7DN65T.js → plus-Cr0Mis63.js} +1 -1
  176. package/dist/{refresh-cw-xMURqGWi.js → refresh-cw-_ZLOIEvA.js} +1 -1
  177. package/dist/{rotate-ccw-DqVcEIn5.js → rotate-ccw-CB5wsHwv.js} +1 -1
  178. package/dist/{sanitizeHtml-mKgNUdME.js → sanitizeHtml-2rjV0r-6.js} +1 -1
  179. package/dist/{search-Cfr3W44N.js → search-BmrQNox8.js} +1 -1
  180. package/dist/{send-CH1SrvyB.js → send-blAsIBBg.js} +1 -1
  181. package/dist/{smartphone-pAkvzjdI.js → smartphone-BPpWYrwV.js} +1 -1
  182. package/dist/{socialIcons-Dqr4DJOz.js → socialIcons-TFiOkpoU.js} +3 -3
  183. package/dist/{sparkles-CRO0cCnp.js → sparkles-OqIxrNp-.js} +1 -1
  184. package/dist/{square-CaQWMntx.js → square-BP-V7iT-.js} +1 -1
  185. package/dist/templatical-editor.js +29 -29
  186. package/dist/{text-align-start-BQ39AaRK.js → text-align-start-4mwX2o-F.js} +13 -13
  187. package/dist/{trash-BL5gEFHN.js → trash-B99WixTA.js} +1 -1
  188. package/dist/{triangle-alert-BYbKu7zZ.js → triangle-alert-CHMiDkHa.js} +1 -1
  189. package/dist/{upload-BhmL4Vqx.js → upload-Cp8o-hrN.js} +1 -1
  190. package/dist/{useScrollToBlock-C0Kapxdh.js → useScrollToBlock-B35ObCGK.js} +1 -1
  191. package/dist/{x-B7NZYzhx.js → x-BIBStNMS.js} +1 -1
  192. package/package.json +8 -8
  193. package/dist/cdn/chunks/en-IYVryJRl.js +0 -1
  194. package/dist/cdn/chunks/src-Ddpm4HsS.js.map +0 -1
  195. package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js +0 -33
  196. package/dist/en-DTtwco2Q.js +0 -1
@@ -1,31 +1,31 @@
1
1
  import { n as e } from "./rolldown-runtime-QGRDbDUS.js";
2
2
  import { $ as t, B as n, C as r, F as i, G as a, H as o, K as s, L as c, O as l, Q as u, R as d, S as f, _ as p, b as m, ct as h, dt as g, g as _, h as v, m as y, mt as b, o as x, p as S, pt as C, s as w, tt as T, u as E, v as D, x as O } from "./draggable-DepKdldn.js";
3
- import { Pt as k, Z as A, an as j, bn as M, cn as N, fn as P, hn as F, j as I, ln as ee, mt as L, n as te, on as ne, pn as R, r as re, sn as ie, yn as ae } from "./src-CACM3o--.js";
4
- import { F 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, l as he, m as ge, p as _e, r as ve, s as z, u as ye, v as be } from "./socialIcons-BAiuHyJs.js";
5
- import { t as B } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
- import { $ as xe, At as Se, Bt as Ce, H as V, It as we, Mt as Te, O as Ee, R as De, _ as Oe, _t as ke, c as Ae, et as je, f as Me, gt as Ne, it as Pe, lt as Fe, m as Ie, rt as Le, t as Re, v as ze } from "./icons-CSSMtbGK.js";
7
- 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-CoQtCqNv.js";
8
- import { t as H } from "./useI18n-BnJYydPv.js";
9
- import { n as $e } from "./useLocalizedDisplay-yXbRKNrs.js";
10
- import { t as et } from "./languageName-DEEOhDWI.js";
11
- 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";
12
- import { _ as ot } from "./dist-BzXULHvI.js";
13
- import { c as st, r as ct } from "./usePopoverPosition-BWAXWeBv.js";
14
- import { t as lt } from "./blockTypeIcons-DMgLcuI8.js";
15
- import { n as q, t as ut } from "./MergeTagTextarea-D3nNDlhV.js";
16
- import { c as J } from "./LogicTagInsertButton-5Z3fFzjc.js";
17
- import { t as Y } from "./ToggleSwitch-BSkySwA1.js";
18
- import { n as dt, t as ft } from "./withCurrentFont-D33ZXoWp.js";
19
- import { t as X } from "./MergeTagInput-CIWy-cXf.js";
3
+ import { Ft as k, Z as A, bn as j, cn as M, gn as N, ht as P, j as F, ln as I, mn as L, n as R, on as ee, pn as z, r as te, sn as ne, un as re, xn as ie } from "./src-BQUv2CYU.js";
4
+ import { F 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, l as me, m as he, p as ge, r as _e, s as B, u as ve, v as ye } from "./socialIcons-DeCYorUT.js";
5
+ import { t as V } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
6
+ import { $ as be, At as xe, Bt as Se, H, It as Ce, Mt as we, O as Te, R as Ee, _ as De, _t as Oe, c as ke, et as Ae, f as je, gt as Me, h as Ne, it as Pe, lt as Fe, rt as Ie, t as Le, v as Re } from "./icons-Da9GKjPx.js";
7
+ 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-CoQtCqNv.js";
8
+ import { t as U } from "./useI18n-BnJYydPv.js";
9
+ import { n as Qe } from "./useLocalizedDisplay-aGfnO90D.js";
10
+ import { t as $e } from "./languageName-DEEOhDWI.js";
11
+ 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";
12
+ import { _ as at } from "./dist-BzXULHvI.js";
13
+ import { c as ot, r as st } from "./usePopoverPosition-BWAXWeBv.js";
14
+ import { t as ct } from "./blockTypeIcons-Cc6RJ27V.js";
15
+ import { n as J, t as lt } from "./MergeTagTextarea-hTIBwX0F.js";
16
+ import { c as Y } from "./LogicTagInsertButton-Bhvi0nWz.js";
17
+ import { t as X } from "./ToggleSwitch-BSkySwA1.js";
18
+ import { n as ut, t as dt } from "./withCurrentFont-MK8ga9q9.js";
19
+ import { t as Z } from "./MergeTagInput-CrhZm-AW.js";
20
20
  // src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
21
- var pt = [
21
+ var ft = [
22
22
  "aria-checked",
23
23
  "aria-label",
24
24
  "disabled",
25
25
  "aria-disabled",
26
26
  "title",
27
27
  "onClick"
28
- ], mt = { key: 1 }, Z = /* @__PURE__ */ r({
28
+ ], pt = { key: 1 }, Q = /* @__PURE__ */ r({
29
29
  __name: "SlidingPillSelect",
30
30
  props: {
31
31
  options: {},
@@ -70,14 +70,14 @@ var pt = [
70
70
  key: 0,
71
71
  size: 14,
72
72
  "stroke-width": 2
73
- })) : (i(), p("span", mt, b(t.label), 1))], 12, pt))), 128))], 4));
73
+ })) : (i(), p("span", pt, b(t.label), 1))], 12, ft))), 128))], 4));
74
74
  }
75
- }), ht = { class: "tpl:flex tpl:items-stretch" }, gt = [
75
+ }), mt = { class: "tpl:flex tpl:items-stretch" }, ht = [
76
76
  "data-testid",
77
77
  "value",
78
78
  "min",
79
79
  "max"
80
- ], _t = /* @__PURE__ */ r({
80
+ ], gt = /* @__PURE__ */ r({
81
81
  __name: "NumberWithSuffix",
82
82
  props: {
83
83
  modelValue: {},
@@ -93,22 +93,22 @@ var pt = [
93
93
  let t = e.target;
94
94
  t.validity?.badInput || n("update:modelValue", Number(t.value));
95
95
  }
96
- return (t, n) => (i(), p("div", ht, [y("input", {
96
+ return (t, n) => (i(), p("div", mt, [y("input", {
97
97
  type: "number",
98
98
  "data-testid": e.testid,
99
- class: g(h(W)),
99
+ class: g(h(G)),
100
100
  value: e.modelValue,
101
101
  min: e.min,
102
102
  max: e.max,
103
103
  onInput: r
104
- }, null, 42, gt), y("span", { class: g(h(U)) }, b(e.suffix), 3)]));
104
+ }, null, 42, ht), y("span", { class: g(h(W)) }, b(e.suffix), 3)]));
105
105
  }
106
- }), vt = [
106
+ }), _t = [
107
107
  "aria-pressed",
108
108
  "aria-label",
109
109
  "title",
110
110
  "data-testid"
111
- ], yt = /* @__PURE__ */ r({
111
+ ], vt = /* @__PURE__ */ r({
112
112
  __name: "LinkToggle",
113
113
  props: {
114
114
  linked: { type: Boolean },
@@ -131,16 +131,16 @@ var pt = [
131
131
  key: 0,
132
132
  size: 14,
133
133
  "stroke-width": 2
134
- })) : (i(), v(h(Ae), {
134
+ })) : (i(), v(h(ke), {
135
135
  key: 1,
136
136
  size: 14,
137
137
  "stroke-width": 2
138
- }))], 10, vt));
138
+ }))], 10, _t));
139
139
  }
140
- }), bt = {
140
+ }), yt = {
141
141
  key: 0,
142
142
  class: "tpl:mb-3.5"
143
- }, xt = { class: "tpl:mb-3.5" }, St = { class: "tpl:mb-3.5" }, Ct = /* @__PURE__ */ r({
143
+ }, bt = { class: "tpl:mb-3.5" }, xt = { class: "tpl:mb-3.5" }, St = /* @__PURE__ */ r({
144
144
  __name: "BorderControl",
145
145
  props: {
146
146
  path: {},
@@ -149,7 +149,7 @@ var pt = [
149
149
  },
150
150
  emits: ["update:modelValue"],
151
151
  setup(e, { emit: t }) {
152
- let n = e, r = t, { t: s } = H(), c = {
152
+ let n = e, r = t, { t: s } = U(), c = {
153
153
  width: 0,
154
154
  style: "solid",
155
155
  color: "#000000"
@@ -159,7 +159,7 @@ var pt = [
159
159
  }
160
160
  let u = S(() => {
161
161
  let e = n.modelValue;
162
- return !e || R.every((t) => l(e[t], e.top));
162
+ return !e || L.every((t) => l(e[t], e.top));
163
163
  }), d = T(u.value);
164
164
  o(u, (e) => {
165
165
  !e && d.value && (d.value = !1);
@@ -167,13 +167,13 @@ var pt = [
167
167
  let f = T("top"), m = S(() => n.modelValue?.[d.value ? "top" : f.value] ?? c), x = (e) => !!e && e.width > 0;
168
168
  function C(e) {
169
169
  if (d.value) {
170
- r("update:modelValue", x(e) ? M(e) : void 0);
170
+ r("update:modelValue", x(e) ? ie(e) : void 0);
171
171
  return;
172
172
  }
173
173
  let t = {
174
- ...n.modelValue ?? M(c),
174
+ ...n.modelValue ?? ie(c),
175
175
  [f.value]: e
176
- }, i = R.some((e) => x(t[e]));
176
+ }, i = L.some((e) => x(t[e]));
177
177
  r("update:modelValue", i ? t : void 0);
178
178
  }
179
179
  function w(e) {
@@ -196,18 +196,18 @@ var pt = [
196
196
  d.value = !0;
197
197
  let e = n.modelValue;
198
198
  if (!e) return;
199
- let t = x(e[f.value]) ? e[f.value] : R.map((t) => e[t]).find(x);
200
- r("update:modelValue", t ? M(t) : void 0);
199
+ let t = x(e[f.value]) ? e[f.value] : L.map((t) => e[t]).find(x);
200
+ r("update:modelValue", t ? ie(t) : void 0);
201
201
  }
202
- let A = S(() => R.map((e) => ({
202
+ let A = S(() => L.map((e) => ({
203
203
  value: e,
204
204
  label: s.spacingControl[e]
205
205
  })));
206
- return (t, n) => (i(), v(q, {
206
+ return (t, n) => (i(), v(J, {
207
207
  path: e.path,
208
208
  label: h(s).blockSettings.border
209
209
  }, {
210
- "label-actions": a(() => [O(yt, {
210
+ "label-actions": a(() => [O(vt, {
211
211
  linked: d.value,
212
212
  "link-label": h(s).blockSettings.linkSides,
213
213
  "unlink-label": h(s).blockSettings.unlinkSides,
@@ -220,19 +220,19 @@ var pt = [
220
220
  "testid"
221
221
  ])]),
222
222
  default: a(() => [
223
- d.value ? _("", !0) : (i(), p("div", bt, [y("label", { class: g(h(K)) }, b(h(s).blockSettings.borderSide), 3), O(Z, {
223
+ d.value ? _("", !0) : (i(), p("div", yt, [y("label", { class: g(h(q)) }, b(h(s).blockSettings.borderSide), 3), O(Q, {
224
224
  options: A.value,
225
225
  "model-value": f.value,
226
226
  "onUpdate:modelValue": n[0] ||= (e) => f.value = e
227
227
  }, null, 8, ["options", "model-value"])])),
228
- y("div", xt, [y("label", { class: g(h(K)) }, b(h(s).blockSettings.borderWidth), 3), O(_t, {
228
+ y("div", bt, [y("label", { class: g(h(q)) }, b(h(s).blockSettings.borderWidth), 3), O(gt, {
229
229
  "model-value": m.value.width,
230
230
  min: 0,
231
231
  suffix: "px",
232
232
  testid: `${e.testidPrefix}-border-width-input`,
233
233
  "onUpdate:modelValue": w
234
234
  }, null, 8, ["model-value", "testid"])]),
235
- m.value.width > 0 ? (i(), p(E, { key: 1 }, [y("div", St, [y("label", { class: g(h(K)) }, b(h(s).blockSettings.borderStyle), 3), O(Z, {
235
+ m.value.width > 0 ? (i(), p(E, { key: 1 }, [y("div", xt, [y("label", { class: g(h(q)) }, b(h(s).blockSettings.borderStyle), 3), O(Q, {
236
236
  options: [
237
237
  {
238
238
  value: "solid",
@@ -249,7 +249,7 @@ var pt = [
249
249
  ],
250
250
  "model-value": m.value.style,
251
251
  "onUpdate:modelValue": n[1] ||= (e) => D({ style: e })
252
- }, null, 8, ["options", "model-value"])]), y("div", null, [y("label", { class: g(h(K)) }, b(h(s).blockSettings.borderColor), 3), O(J, {
252
+ }, null, 8, ["options", "model-value"])]), y("div", null, [y("label", { class: g(h(q)) }, b(h(s).blockSettings.borderColor), 3), O(Y, {
253
253
  "model-value": m.value.color,
254
254
  "onUpdate:modelValue": n[2] ||= (e) => D({ color: e })
255
255
  }, null, 8, ["model-value"])])], 64)) : _("", !0)
@@ -257,10 +257,10 @@ var pt = [
257
257
  _: 1
258
258
  }, 8, ["path", "label"]));
259
259
  }
260
- }), wt = {
260
+ }), Ct = {
261
261
  key: 1,
262
262
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
263
- }, Tt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Et = /* @__PURE__ */ r({
263
+ }, wt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Tt = /* @__PURE__ */ r({
264
264
  __name: "RadiusControl",
265
265
  props: {
266
266
  path: {},
@@ -271,7 +271,7 @@ var pt = [
271
271
  },
272
272
  emits: ["update:modelValue"],
273
273
  setup(e, { emit: t }) {
274
- let n = e, r = t, { t: s } = H(), l = {
274
+ let n = e, r = t, { t: s } = U(), l = {
275
275
  topLeft: "cornerTopLeft",
276
276
  topRight: "cornerTopRight",
277
277
  bottomRight: "cornerBottomRight",
@@ -289,7 +289,7 @@ var pt = [
289
289
  bottomRight: e,
290
290
  bottomLeft: e
291
291
  } : e;
292
- }), f = S(() => P.every((e) => d.value[e] === d.value.topLeft)), m = T(f.value);
292
+ }), f = S(() => z.every((e) => d.value[e] === d.value.topLeft)), m = T(f.value);
293
293
  o(f, (e) => {
294
294
  !e && m.value && (m.value = !1);
295
295
  });
@@ -308,11 +308,11 @@ var pt = [
308
308
  function C() {
309
309
  m.value = !m.value, m.value && r("update:modelValue", d.value.topLeft);
310
310
  }
311
- return (t, n) => (i(), v(q, {
311
+ return (t, n) => (i(), v(J, {
312
312
  path: e.path,
313
313
  label: e.label
314
314
  }, {
315
- "label-actions": a(() => [O(yt, {
315
+ "label-actions": a(() => [O(vt, {
316
316
  linked: m.value,
317
317
  "link-label": h(s).blockSettings.linkCorners,
318
318
  "unlink-label": h(s).blockSettings.unlinkCorners,
@@ -324,7 +324,7 @@ var pt = [
324
324
  "unlink-label",
325
325
  "testid"
326
326
  ])]),
327
- default: a(() => [m.value ? (i(), v(_t, {
327
+ default: a(() => [m.value ? (i(), v(gt, {
328
328
  key: 0,
329
329
  "model-value": d.value.topLeft,
330
330
  min: 0,
@@ -336,7 +336,7 @@ var pt = [
336
336
  "model-value",
337
337
  "max",
338
338
  "testid"
339
- ])) : (i(), p("div", wt, [(i(), p(E, null, c(u, (t) => y("div", { key: t }, [y("label", Tt, b(h(s).blockSettings[l[t]]), 1), O(_t, {
339
+ ])) : (i(), p("div", Ct, [(i(), p(E, null, c(u, (t) => y("div", { key: t }, [y("label", wt, b(h(s).blockSettings[l[t]]), 1), O(gt, {
340
340
  "model-value": d.value[t],
341
341
  min: 0,
342
342
  max: e.max,
@@ -352,10 +352,10 @@ var pt = [
352
352
  _: 1
353
353
  }, 8, ["path", "label"]));
354
354
  }
355
- }), 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 = {
355
+ }), Et = ["value"], Dt = { value: "" }, Ot = ["value"], kt = { class: "tpl:flex tpl:items-stretch" }, At = ["value"], jt = ["value"], Mt = { value: "auto" }, Nt = { value: "full" }, Pt = { value: "custom" }, Ft = {
356
356
  key: 0,
357
357
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
358
- }, Lt = ["value"], Rt = 200, zt = /* @__PURE__ */ r({
358
+ }, It = ["value"], Lt = 200, Rt = /* @__PURE__ */ r({
359
359
  __name: "ButtonToolbar",
360
360
  props: {
361
361
  block: {},
@@ -363,61 +363,61 @@ var pt = [
363
363
  },
364
364
  emits: ["update"],
365
365
  setup(e, { emit: t }) {
366
- let n = e, r = t, { t: o } = H(), s = S(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
366
+ let n = e, r = t, { t: o } = U(), s = S(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
367
367
  function l(e, t) {
368
368
  r("update", { [e]: t });
369
369
  }
370
370
  function u(e) {
371
- e === "full" ? l("width", "full") : e === "custom" ? l("width", typeof n.block.width == "number" ? n.block.width : Rt) : l("width", void 0);
371
+ e === "full" ? l("width", "full") : e === "custom" ? l("width", typeof n.block.width == "number" ? n.block.width : Lt) : l("width", void 0);
372
372
  }
373
373
  function d(e) {
374
374
  let t = Number(e);
375
375
  !Number.isFinite(t) || t <= 0 || l("width", t);
376
376
  }
377
377
  return (t, n) => (i(), p(E, null, [
378
- O(q, {
378
+ O(J, {
379
379
  label: h(o).button.fontFamily,
380
380
  class: "tpl:mb-3.5",
381
381
  path: "fontFamily"
382
382
  }, {
383
383
  default: a(() => [y("select", {
384
- class: g(h(G)),
385
- value: h(ft)(e.block.fontFamily),
384
+ class: g(h(K)),
385
+ value: h(dt)(e.block.fontFamily),
386
386
  onChange: n[0] ||= (e) => l("fontFamily", e.target.value || void 0)
387
- }, [y("option", Ot, b(h(o).button.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
387
+ }, [y("option", Dt, b(h(o).button.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
388
388
  key: e.value,
389
389
  value: e.value
390
- }, b(e.label), 9, kt))), 128))], 42, Dt)]),
390
+ }, b(e.label), 9, Ot))), 128))], 42, Et)]),
391
391
  _: 1
392
392
  }, 8, ["label"]),
393
- O(q, {
393
+ O(J, {
394
394
  label: h(o).button.text,
395
395
  class: "tpl:mb-3.5",
396
396
  path: "text"
397
397
  }, {
398
- default: a(() => [O(X, {
398
+ default: a(() => [O(Z, {
399
399
  "model-value": e.block.text,
400
400
  type: "text",
401
401
  "onUpdate:modelValue": n[1] ||= (e) => l("text", e)
402
402
  }, null, 8, ["model-value"])]),
403
403
  _: 1
404
404
  }, 8, ["label"]),
405
- O(q, {
405
+ O(J, {
406
406
  label: h(o).button.url,
407
407
  class: "tpl:mb-3.5",
408
408
  path: "url"
409
409
  }, {
410
- default: a(() => [O(X, {
410
+ default: a(() => [O(Z, {
411
411
  "model-value": e.block.url,
412
412
  type: "url",
413
413
  placeholder: h(o).button.urlPlaceholder,
414
414
  "onUpdate:modelValue": n[2] ||= (e) => l("url", e)
415
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(q, {
415
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(J, {
416
416
  key: 0,
417
417
  path: "openInNewTab",
418
418
  label: h(o).button.openInNewTab
419
419
  }, {
420
- "label-actions": a(({ controlId: t }) => [O(Y, {
420
+ "label-actions": a(({ controlId: t }) => [O(X, {
421
421
  "control-id": t,
422
422
  "hide-label": "",
423
423
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -433,36 +433,36 @@ var pt = [
433
433
  }, 8, ["label"])) : _("", !0)]),
434
434
  _: 1
435
435
  }, 8, ["label"]),
436
- O(q, {
436
+ O(J, {
437
437
  label: h(o).button.background,
438
438
  class: "tpl:mb-3.5",
439
439
  path: "backgroundColor"
440
440
  }, {
441
- default: a(() => [O(J, {
441
+ default: a(() => [O(Y, {
442
442
  "model-value": e.block.backgroundColor,
443
443
  "allow-transparent": "",
444
444
  "onUpdate:modelValue": n[4] ||= (e) => l("backgroundColor", e)
445
445
  }, null, 8, ["model-value"])]),
446
446
  _: 1
447
447
  }, 8, ["label"]),
448
- O(q, {
448
+ O(J, {
449
449
  label: h(o).button.textColor,
450
450
  class: "tpl:mb-3.5",
451
451
  path: "textColor"
452
452
  }, {
453
- default: a(() => [O(J, {
453
+ default: a(() => [O(Y, {
454
454
  "model-value": e.block.textColor,
455
455
  "onUpdate:modelValue": n[5] ||= (e) => l("textColor", e)
456
456
  }, null, 8, ["model-value"])]),
457
457
  _: 1
458
458
  }, 8, ["label"]),
459
- O(Ct, {
459
+ O(St, {
460
460
  path: "border",
461
461
  "model-value": e.block.border,
462
462
  "testid-prefix": "button",
463
463
  "onUpdate:modelValue": n[6] ||= (e) => l("border", e)
464
464
  }, null, 8, ["model-value"]),
465
- O(Et, {
465
+ O(Tt, {
466
466
  path: "borderRadius",
467
467
  "model-value": e.block.borderRadius,
468
468
  label: h(o).button.borderRadius,
@@ -470,49 +470,49 @@ var pt = [
470
470
  "testid-prefix": "button",
471
471
  "onUpdate:modelValue": n[7] ||= (e) => l("borderRadius", e)
472
472
  }, null, 8, ["model-value", "label"]),
473
- O(q, {
473
+ O(J, {
474
474
  label: h(o).button.fontSize,
475
475
  class: "tpl:mb-3.5",
476
476
  path: "fontSize"
477
477
  }, {
478
- default: a(() => [y("div", At, [y("input", {
478
+ default: a(() => [y("div", kt, [y("input", {
479
479
  type: "number",
480
- class: g(h(W)),
480
+ class: g(h(G)),
481
481
  value: e.block.fontSize,
482
482
  min: "10",
483
483
  max: "36",
484
484
  onInput: n[8] ||= (e) => l("fontSize", Number(e.target.value))
485
- }, null, 42, jt), y("span", { class: g(h(U)) }, "px", 2)])]),
485
+ }, null, 42, At), y("span", { class: g(h(W)) }, "px", 2)])]),
486
486
  _: 1
487
487
  }, 8, ["label"]),
488
- O(q, {
488
+ O(J, {
489
489
  label: h(o).button.width,
490
490
  class: "tpl:mb-3.5",
491
491
  path: "width"
492
492
  }, {
493
493
  default: a(() => [y("select", {
494
- class: g(h(G)),
494
+ class: g(h(K)),
495
495
  value: s.value,
496
496
  onChange: n[9] ||= (e) => u(e.target.value)
497
497
  }, [
498
- y("option", Nt, b(h(o).button.widthAuto), 1),
499
- y("option", Pt, b(h(o).button.fullWidth), 1),
500
- y("option", Ft, b(h(o).button.widthCustom), 1)
501
- ], 42, Mt), s.value === "custom" ? (i(), p("div", It, [y("input", {
498
+ y("option", Mt, b(h(o).button.widthAuto), 1),
499
+ y("option", Nt, b(h(o).button.fullWidth), 1),
500
+ y("option", Pt, b(h(o).button.widthCustom), 1)
501
+ ], 42, jt), s.value === "custom" ? (i(), p("div", Ft, [y("input", {
502
502
  type: "number",
503
- class: g(h(W)),
504
- value: typeof e.block.width == "number" ? e.block.width : Rt,
503
+ class: g(h(G)),
504
+ value: typeof e.block.width == "number" ? e.block.width : Lt,
505
505
  min: "20",
506
506
  onInput: n[10] ||= (e) => d(e.target.value)
507
- }, null, 42, Lt), y("span", { class: g(h(U)) }, "px", 2)])) : _("", !0)]),
507
+ }, null, 42, It), y("span", { class: g(h(W)) }, "px", 2)])) : _("", !0)]),
508
508
  _: 1
509
509
  }, 8, ["label"]),
510
- O(q, {
510
+ O(J, {
511
511
  label: h(o).title.align,
512
512
  class: "tpl:mb-3.5",
513
513
  path: "align"
514
514
  }, {
515
- default: a(() => [O(Z, {
515
+ default: a(() => [O(Q, {
516
516
  options: [
517
517
  {
518
518
  value: "left",
@@ -534,7 +534,7 @@ var pt = [
534
534
  }, 8, ["label"])
535
535
  ], 64));
536
536
  }
537
- }), 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"], 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)]", 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__*/ B(/* @__PURE__ */ r({
537
+ }), zt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Bt = { class: "tpl:flex tpl:items-center" }, Vt = ["aria-label"], Ht = ["value", "aria-label"], Ut = ["aria-label"], Wt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Gt = { class: "tpl:flex tpl:items-center" }, Kt = ["aria-label"], qt = ["value", "aria-label"], Jt = ["aria-label"], Yt = ["aria-label", "title"], Xt = { class: "tpl:flex tpl:items-center" }, Zt = ["aria-label"], Qt = ["value", "aria-label"], $t = ["aria-label"], en = { class: "tpl:flex tpl:items-center" }, tn = ["aria-label"], nn = ["value", "aria-label"], rn = ["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)]", an = "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)]", on = /*#__PURE__*/ V(/* @__PURE__ */ r({
538
538
  __name: "SpacingControl",
539
539
  props: {
540
540
  path: {},
@@ -543,7 +543,7 @@ var pt = [
543
543
  },
544
544
  emits: ["update:modelValue"],
545
545
  setup(e, { emit: t }) {
546
- let n = e, r = t, { t: s } = H(), c = S(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), l = T(c.value);
546
+ let n = e, r = t, { t: s } = U(), c = S(() => n.modelValue.top === n.modelValue.right && n.modelValue.right === n.modelValue.bottom && n.modelValue.bottom === n.modelValue.left), l = T(c.value);
547
547
  o(c, (e) => {
548
548
  !e && l.value && (l.value = !1);
549
549
  });
@@ -582,71 +582,71 @@ var pt = [
582
582
  });
583
583
  }
584
584
  }
585
- return (t, n) => (i(), v(q, {
585
+ return (t, n) => (i(), v(J, {
586
586
  class: "spacing-control",
587
587
  path: e.path,
588
588
  label: e.label
589
589
  }, {
590
- default: a(() => [y("div", Bt, [
591
- y("div", Vt, [
590
+ default: a(() => [y("div", zt, [
591
+ y("div", Bt, [
592
592
  y("button", {
593
593
  "aria-label": h(s).spacingControl.decreaseTop,
594
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
594
+ class: g([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
595
595
  onClick: n[0] ||= (e) => u("top", -1)
596
- }, [O(h(je), {
596
+ }, [O(h(Ae), {
597
597
  size: 12,
598
598
  "stroke-width": 2
599
- })], 10, Ht),
599
+ })], 10, Vt),
600
600
  y("input", {
601
601
  type: "number",
602
- class: g(on),
602
+ class: g(an),
603
603
  value: e.modelValue.top,
604
604
  "aria-label": h(s).spacingControl.top,
605
605
  min: "0",
606
606
  onInput: n[1] ||= (e) => d("top", Number(e.target.value))
607
- }, null, 40, Ut),
607
+ }, null, 40, Ht),
608
608
  y("button", {
609
609
  "aria-label": h(s).spacingControl.increaseTop,
610
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
610
+ class: g([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
611
611
  onClick: n[2] ||= (e) => u("top", 1)
612
- }, [O(h(V), {
612
+ }, [O(h(H), {
613
613
  size: 12,
614
614
  "stroke-width": 2
615
- })], 10, Wt)
615
+ })], 10, Ut)
616
616
  ]),
617
- y("div", Gt, [
618
- y("div", Kt, [
617
+ y("div", Wt, [
618
+ y("div", Gt, [
619
619
  y("button", {
620
620
  "aria-label": h(s).spacingControl.decreaseLeft,
621
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
621
+ class: g([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
622
622
  onClick: n[3] ||= (e) => u("left", -1)
623
- }, [O(h(je), {
623
+ }, [O(h(Ae), {
624
624
  size: 12,
625
625
  "stroke-width": 2
626
- })], 10, qt),
626
+ })], 10, Kt),
627
627
  y("input", {
628
628
  type: "number",
629
- class: g(on),
629
+ class: g(an),
630
630
  value: e.modelValue.left,
631
631
  "aria-label": h(s).spacingControl.left,
632
632
  min: "0",
633
633
  onInput: n[4] ||= (e) => d("left", Number(e.target.value))
634
- }, null, 40, Jt),
634
+ }, null, 40, qt),
635
635
  y("button", {
636
636
  "aria-label": h(s).spacingControl.increaseLeft,
637
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
637
+ class: g([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
638
638
  onClick: n[5] ||= (e) => u("left", 1)
639
- }, [O(h(V), {
639
+ }, [O(h(H), {
640
640
  size: 12,
641
641
  "stroke-width": 2
642
- })], 10, Yt)
642
+ })], 10, Jt)
643
643
  ]),
644
644
  y("button", {
645
645
  class: g(["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)]"]),
646
646
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
647
647
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
648
648
  onClick: f
649
- }, [l.value ? (i(), v(h(Le), {
649
+ }, [l.value ? (i(), v(h(Ie), {
650
650
  key: 0,
651
651
  size: 14,
652
652
  "stroke-width": 2
@@ -654,59 +654,59 @@ var pt = [
654
654
  key: 1,
655
655
  size: 14,
656
656
  "stroke-width": 2
657
- }))], 10, Xt),
658
- y("div", Zt, [
657
+ }))], 10, Yt),
658
+ y("div", Xt, [
659
659
  y("button", {
660
660
  "aria-label": h(s).spacingControl.decreaseRight,
661
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
661
+ class: g([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
662
662
  onClick: n[6] ||= (e) => u("right", -1)
663
- }, [O(h(je), {
663
+ }, [O(h(Ae), {
664
664
  size: 12,
665
665
  "stroke-width": 2
666
- })], 10, Qt),
666
+ })], 10, Zt),
667
667
  y("input", {
668
668
  type: "number",
669
- class: g(on),
669
+ class: g(an),
670
670
  value: e.modelValue.right,
671
671
  "aria-label": h(s).spacingControl.right,
672
672
  min: "0",
673
673
  onInput: n[7] ||= (e) => d("right", Number(e.target.value))
674
- }, null, 40, $t),
674
+ }, null, 40, Qt),
675
675
  y("button", {
676
676
  "aria-label": h(s).spacingControl.increaseRight,
677
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
677
+ class: g([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
678
678
  onClick: n[8] ||= (e) => u("right", 1)
679
- }, [O(h(V), {
679
+ }, [O(h(H), {
680
680
  size: 12,
681
681
  "stroke-width": 2
682
- })], 10, en)
682
+ })], 10, $t)
683
683
  ])
684
684
  ]),
685
- y("div", tn, [
685
+ y("div", en, [
686
686
  y("button", {
687
687
  "aria-label": h(s).spacingControl.decreaseBottom,
688
- class: g([Q, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
688
+ class: g([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
689
689
  onClick: n[9] ||= (e) => u("bottom", -1)
690
- }, [O(h(je), {
690
+ }, [O(h(Ae), {
691
691
  size: 12,
692
692
  "stroke-width": 2
693
- })], 10, nn),
693
+ })], 10, tn),
694
694
  y("input", {
695
695
  type: "number",
696
- class: g(on),
696
+ class: g(an),
697
697
  value: e.modelValue.bottom,
698
698
  "aria-label": h(s).spacingControl.bottom,
699
699
  min: "0",
700
700
  onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
701
- }, null, 40, rn),
701
+ }, null, 40, nn),
702
702
  y("button", {
703
703
  "aria-label": h(s).spacingControl.increaseBottom,
704
- class: g([Q, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
704
+ class: g([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
705
705
  onClick: n[11] ||= (e) => u("bottom", 1)
706
- }, [O(h(V), {
706
+ }, [O(h(H), {
707
707
  size: 12,
708
708
  "stroke-width": 2
709
- })], 10, an)
709
+ })], 10, rn)
710
710
  ])
711
711
  ])]),
712
712
  _: 1
@@ -714,19 +714,19 @@ var pt = [
714
714
  }
715
715
  }), [["__scopeId", "data-v-94c2e6ff"]]);
716
716
  // src/composables/useNaturalImageSize.ts
717
- function cn(e) {
717
+ function sn(e) {
718
718
  let t = T(null), n = () => {};
719
719
  return o(e, (e) => {
720
- n(), t.value = null, e && (n = _e(e, (e) => {
720
+ n(), t.value = null, e && (n = ge(e, (e) => {
721
721
  t.value = e;
722
722
  }));
723
723
  }, { immediate: !0 }), t;
724
724
  }
725
- function ln() {
726
- let e = l(Ve, null);
727
- return async (t) => ge(e ? await un(e, t) : t);
725
+ function cn() {
726
+ let e = l(Be, null);
727
+ return async (t) => he(e ? await ln(e, t) : t);
728
728
  }
729
- function un(e, t) {
729
+ function ln(e, t) {
730
730
  let n = (e) => typeof e == "string" && e.length > 0 ? e : t;
731
731
  e.lookup(t);
732
732
  let r = e.get(t);
@@ -737,13 +737,13 @@ function un(e, t) {
737
737
  }) : Promise.resolve(n(r));
738
738
  }
739
739
  // src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
740
- var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"], mn = ["data-testid"], hn = ["aria-label", "data-testid"], gn = [
740
+ var un = { class: "tpl:space-y-3.5" }, dn = ["data-testid"], fn = ["data-testid"], pn = ["data-testid"], mn = ["aria-label", "data-testid"], hn = [
741
741
  "aria-label",
742
742
  "title",
743
743
  "aria-pressed",
744
744
  "data-testid",
745
745
  "onClick"
746
- ], _n = ["data-testid"], vn = /* @__PURE__ */ r({
746
+ ], gn = ["data-testid"], _n = /* @__PURE__ */ r({
747
747
  __name: "BackgroundImageControl",
748
748
  props: {
749
749
  hideLabel: { type: Boolean },
@@ -754,14 +754,14 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
754
754
  },
755
755
  emits: ["update:modelValue"],
756
756
  setup(e, { emit: t }) {
757
- let n = e, r = t, { t: a } = H(), o = l(Be, te.liquid), s = S(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = S(() => s.value.trim() !== ""), f = ln(), x;
757
+ let n = e, r = t, { t: a } = U(), o = l(ze, R.liquid), s = S(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = S(() => s.value.trim() !== ""), f = cn(), x;
758
758
  u(() => clearTimeout(x));
759
759
  function C(e) {
760
- n.measure && !re(e, o) && (x = setTimeout(async () => {
760
+ n.measure && !te(e, o) && (x = setTimeout(async () => {
761
761
  let t = await f(e), i = n.modelValue;
762
762
  t && i?.url === e && r("update:modelValue", {
763
763
  ...i,
764
- ...pe(t)
764
+ ...fe(t)
765
765
  });
766
766
  }, 300));
767
767
  }
@@ -770,11 +770,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
770
770
  r("update:modelValue", void 0);
771
771
  return;
772
772
  }
773
- let { naturalWidth: i, naturalHeight: a, ...o } = n.modelValue ?? ee(e), s = n.measure ? t : null;
773
+ let { naturalWidth: i, naturalHeight: a, ...o } = n.modelValue ?? re(e), s = n.measure ? t : null;
774
774
  r("update:modelValue", {
775
775
  ...o,
776
776
  url: e,
777
- ...s ? pe(s) : {}
777
+ ...s ? fe(s) : {}
778
778
  }), s || C(e);
779
779
  }
780
780
  function D(e) {
@@ -806,33 +806,33 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
806
806
  "bottom-left": a.blockSettings.backgroundPositionBottomLeft,
807
807
  "bottom-center": a.blockSettings.backgroundPositionBottomCenter,
808
808
  "bottom-right": a.blockSettings.backgroundPositionBottomRight
809
- })), j = S(() => N.flatMap((e) => ie.map((t) => ({
809
+ })), j = S(() => I.flatMap((e) => M.map((t) => ({
810
810
  x: t,
811
811
  y: e,
812
812
  label: A.value[`${e}-${t}`]
813
813
  }))));
814
- function M(e) {
814
+ function N(e) {
815
815
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
816
816
  }
817
- let P = T(), { canBrowse: F, isUploading: I, showOverlay: L, openMediaBrowser: ne } = ye({
817
+ let P = T(), { canBrowse: F, isUploading: L, showOverlay: ee, openMediaBrowser: z } = ve({
818
818
  target: P,
819
- blocked: () => re(s.value, o),
820
- apply: (e) => w(e.url, ce(e.width, e.height))
819
+ blocked: () => te(s.value, o),
820
+ apply: (e) => w(e.url, se(e.width, e.height))
821
821
  });
822
- return (t, n) => (i(), p("div", dn, [y("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
822
+ return (t, n) => (i(), p("div", un, [y("div", null, [e.hideLabel ? _("", !0) : (i(), p("label", {
823
823
  key: 0,
824
- class: g(h(K))
824
+ class: g(h(q))
825
825
  }, b(h(a).blockSettings.backgroundImage), 3)), y("div", {
826
826
  ref_key: "dropZoneRef",
827
827
  ref: P,
828
828
  class: "tpl:relative",
829
829
  "data-testid": `${e.testidPrefix}-bg-url`
830
830
  }, [
831
- h(L) ? (i(), v(de, {
831
+ h(ee) ? (i(), v(ue, {
832
832
  key: 0,
833
- uploading: h(I)
833
+ uploading: h(L)
834
834
  }, null, 8, ["uploading"])) : _("", !0),
835
- O(X, {
835
+ O(Z, {
836
836
  "model-value": s.value,
837
837
  type: "url",
838
838
  placeholder: h(a).blockSettings.backgroundImagePlaceholder,
@@ -848,21 +848,21 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
848
848
  color: "var(--tpl-primary)",
849
849
  "background-color": "var(--tpl-bg)"
850
850
  },
851
- onClick: n[0] ||= (...e) => h(ne) && h(ne)(...e)
852
- }, [O(h(ke), {
851
+ onClick: n[0] ||= (...e) => h(z) && h(z)(...e)
852
+ }, [O(h(Oe), {
853
853
  size: 14,
854
854
  "stroke-width": 1.5
855
- }), m(" " + b(h(a).image.browseMedia), 1)], 8, pn)) : _("", !0)
856
- ], 8, fn)]), d.value && e.modelValue ? (i(), p(E, { key: 0 }, [
855
+ }), m(" " + b(h(a).image.browseMedia), 1)], 8, fn)) : _("", !0)
856
+ ], 8, dn)]), d.value && e.modelValue ? (i(), p(E, { key: 0 }, [
857
857
  e.heroMode ? _("", !0) : (i(), p("div", {
858
858
  key: 0,
859
859
  "data-testid": `${e.testidPrefix}-bg-size`
860
- }, [y("label", { class: g(h(K)) }, b(h(a).blockSettings.backgroundSize), 3), O(Z, {
860
+ }, [y("label", { class: g(h(q)) }, b(h(a).blockSettings.backgroundSize), 3), O(Q, {
861
861
  options: k.value,
862
862
  "model-value": e.modelValue.size,
863
863
  "onUpdate:modelValue": n[1] ||= (e) => D({ size: e })
864
- }, null, 8, ["options", "model-value"])], 8, mn)),
865
- y("div", null, [y("label", { class: g(h(K)) }, b(h(a).blockSettings.backgroundPosition), 3), y("div", {
864
+ }, null, 8, ["options", "model-value"])], 8, pn)),
865
+ y("div", null, [y("label", { class: g(h(q)) }, b(h(a).blockSettings.backgroundPosition), 3), y("div", {
866
866
  role: "group",
867
867
  "aria-label": h(a).blockSettings.backgroundPosition,
868
868
  "data-testid": `${e.testidPrefix}-bg-position`,
@@ -872,26 +872,26 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
872
872
  type: "button",
873
873
  "aria-label": t.label,
874
874
  title: t.label,
875
- "aria-pressed": M(t),
875
+ "aria-pressed": N(t),
876
876
  "data-testid": `${e.testidPrefix}-bg-position-${t.y}-${t.x}`,
877
- class: g(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", M(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
877
+ class: g(["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)]"]),
878
878
  onClick: (e) => D({ position: {
879
879
  x: t.x,
880
880
  y: t.y
881
881
  } })
882
- }, [y("span", { class: g(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", M(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, gn))), 128))], 8, hn)]),
882
+ }, [y("span", { class: g(["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, hn))), 128))], 8, mn)]),
883
883
  e.heroMode ? _("", !0) : (i(), p("div", {
884
884
  key: 1,
885
885
  "data-testid": `${e.testidPrefix}-bg-repeat`
886
- }, [O(Y, {
886
+ }, [O(X, {
887
887
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
888
888
  "model-value": e.modelValue.repeat,
889
889
  label: h(a).blockSettings.backgroundRepeat,
890
890
  "onUpdate:modelValue": n[2] ||= (e) => D({ repeat: e })
891
- }, null, 8, ["model-value", "label"])], 8, _n))
891
+ }, null, 8, ["model-value", "label"])], 8, gn))
892
892
  ], 64)) : _("", !0)]));
893
893
  }
894
- }), yn = ["data-testid"], bn = { class: "tpl:mt-3" }, xn = /* @__PURE__ */ r({
894
+ }), vn = ["data-testid"], yn = { class: "tpl:mt-3" }, bn = /* @__PURE__ */ r({
895
895
  __name: "CollapsibleSection",
896
896
  props: {
897
897
  title: {},
@@ -906,30 +906,30 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
906
906
  "data-testid": e.headerTestId,
907
907
  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)]",
908
908
  onClick: n[0] ||= (e) => t.$emit("toggle")
909
- }, [O(h(Ce), {
909
+ }, [O(h(Se), {
910
910
  class: g(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
911
911
  size: 12,
912
912
  "stroke-width": 2
913
- }, null, 8, ["class"]), y("span", null, b(e.title), 1)], 8, yn), s(y("div", bn, [d(t.$slots, "default")], 512), [[w, e.open]])], 2));
913
+ }, null, 8, ["class"]), y("span", null, b(e.title), 1)], 8, vn), s(y("div", yn, [d(t.$slots, "default")], 512), [[w, e.open]])], 2));
914
914
  }
915
- }), Sn = {
915
+ }), xn = {
916
916
  key: 0,
917
917
  "data-testid": "section-hero-columns-note",
918
918
  class: "tpl:mt-3.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
919
- }, Cn = {
919
+ }, Sn = {
920
920
  key: 1,
921
921
  "data-testid": "section-hero",
922
922
  class: "tpl:mt-3.5 tpl:space-y-3.5"
923
- }, wn = { "data-testid": "section-hero-height" }, Tn = {
923
+ }, Cn = { "data-testid": "section-hero-height" }, wn = {
924
924
  key: 0,
925
925
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
926
- }, En = {
926
+ }, Tn = {
927
927
  key: 1,
928
928
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
929
- }, Dn = {
929
+ }, En = {
930
930
  key: 1,
931
931
  "data-testid": "section-hero-align"
932
- }, On = 300, kn = /* @__PURE__ */ r({
932
+ }, Dn = 300, On = /* @__PURE__ */ r({
933
933
  __name: "HeroControl",
934
934
  props: { section: {} },
935
935
  emits: ["update"],
@@ -937,7 +937,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
937
937
  function n(e) {
938
938
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
939
939
  }
940
- let r = e, a = t, { t: o } = H(), s = l(Be, te.liquid), c = l(Qe, null), u = l(Ue, void 0), d = ln(), f = S(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = S(() => f.value.trim() !== ""), x = S(() => re(f.value, s)), C = S(() => r.section.hero), w = S(() => r.section.columns === "1"), T = S(() => C.value ? n(C.value.height) ? "fixed" : "image" : "fit"), E = S(() => n(C.value?.height) ? C.value.height : On), D = S(() => [
940
+ let r = e, a = t, { t: o } = U(), s = l(ze, R.liquid), c = l(Ze, null), u = l(He, void 0), d = cn(), f = S(() => typeof r.section.backgroundImage?.url == "string" ? r.section.backgroundImage.url : ""), m = S(() => f.value.trim() !== ""), x = S(() => te(f.value, s)), C = S(() => r.section.hero), w = S(() => r.section.columns === "1"), T = S(() => C.value ? n(C.value.height) ? "fixed" : "image" : "fit"), E = S(() => n(C.value?.height) ? C.value.height : Dn), D = S(() => [
941
941
  {
942
942
  value: "fit",
943
943
  label: o.blockSettings.heroHeightFit
@@ -964,17 +964,17 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
964
964
  value: "bottom",
965
965
  label: o.blockSettings.heroAlignBottom
966
966
  }
967
- ]), A = S(() => T.value === "image" && m.value && !x.value && j(r.section.backgroundImage) === null);
968
- function M() {
969
- return (c ? z(c.content.value, r.section.id, u, c.activeLocale?.value ?? void 0) : null) ?? he(c?.state.content.settings);
967
+ ]), A = S(() => T.value === "image" && m.value && !x.value && ee(r.section.backgroundImage) === null);
968
+ function j() {
969
+ return (c ? B(c.content.value, r.section.id, u, c.activeLocale?.value ?? void 0) : null) ?? me(c?.state.content.settings);
970
970
  }
971
- function N(e) {
971
+ function M(e) {
972
972
  let t = C.value?.verticalAlign ?? "middle";
973
973
  if (e === "image") {
974
974
  T.value !== "image" && a("update", { hero: {
975
975
  height: "image",
976
976
  verticalAlign: t
977
- } }), P();
977
+ } }), N();
978
978
  return;
979
979
  }
980
980
  if (e === T.value) return;
@@ -982,71 +982,71 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
982
982
  a("update", { hero: void 0 });
983
983
  return;
984
984
  }
985
- let n = j(r.section.backgroundImage), i = n === null ? On : Math.round(M() * n);
985
+ let n = ee(r.section.backgroundImage), i = n === null ? Dn : Math.round(j() * n);
986
986
  a("update", { hero: {
987
987
  height: i,
988
988
  verticalAlign: t
989
989
  } });
990
990
  }
991
- async function P() {
991
+ async function N() {
992
992
  let e = r.section.backgroundImage;
993
- if (!e || !m.value || x.value || j(e) !== null) return;
993
+ if (!e || !m.value || x.value || ee(e) !== null) return;
994
994
  let t = e.url, n = await d(t), i = r.section.backgroundImage;
995
995
  n && i && i.url === t && a("update", { backgroundImage: {
996
996
  ...i,
997
- ...pe(n)
997
+ ...fe(n)
998
998
  } });
999
999
  }
1000
- function F(e) {
1000
+ function P(e) {
1001
1001
  !C.value || !Number.isFinite(e) || e < 1 || a("update", { hero: {
1002
1002
  ...C.value,
1003
1003
  height: Math.round(e)
1004
1004
  } });
1005
1005
  }
1006
- function I(e) {
1006
+ function F(e) {
1007
1007
  C.value && a("update", { hero: {
1008
1008
  ...C.value,
1009
1009
  verticalAlign: e
1010
1010
  } });
1011
1011
  }
1012
- return (e, t) => !w.value && C.value ? (i(), p("p", Sn, b(h(o).section.heroNeedsOneColumn), 1)) : w.value && (m.value || C.value) ? (i(), p("div", Cn, [
1013
- y("div", wn, [
1014
- y("label", { class: g(h(K)) }, b(h(o).blockSettings.heroHeight), 3),
1015
- O(Z, {
1012
+ return (e, t) => !w.value && C.value ? (i(), p("p", xn, b(h(o).section.heroNeedsOneColumn), 1)) : w.value && (m.value || C.value) ? (i(), p("div", Sn, [
1013
+ y("div", Cn, [
1014
+ y("label", { class: g(h(q)) }, b(h(o).blockSettings.heroHeight), 3),
1015
+ O(Q, {
1016
1016
  options: D.value,
1017
1017
  "model-value": T.value,
1018
- "onUpdate:modelValue": N
1018
+ "onUpdate:modelValue": M
1019
1019
  }, null, 8, ["options", "model-value"]),
1020
- x.value ? (i(), p("p", Tn, b(h(o).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (i(), p("p", En, b(h(o).blockSettings.heroSizeUnknown), 1)) : _("", !0)
1020
+ x.value ? (i(), p("p", wn, b(h(o).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (i(), p("p", Tn, b(h(o).blockSettings.heroSizeUnknown), 1)) : _("", !0)
1021
1021
  ]),
1022
- T.value === "fixed" ? (i(), v(_t, {
1022
+ T.value === "fixed" ? (i(), v(gt, {
1023
1023
  key: 0,
1024
1024
  "model-value": E.value,
1025
1025
  min: 1,
1026
1026
  suffix: "px",
1027
1027
  testid: "section-hero-height-px",
1028
- "onUpdate:modelValue": F
1028
+ "onUpdate:modelValue": P
1029
1029
  }, null, 8, ["model-value"])) : _("", !0),
1030
- C.value ? (i(), p("div", Dn, [y("label", { class: g(h(K)) }, b(h(o).blockSettings.heroAlign), 3), O(Z, {
1030
+ C.value ? (i(), p("div", En, [y("label", { class: g(h(q)) }, b(h(o).blockSettings.heroAlign), 3), O(Q, {
1031
1031
  options: k.value,
1032
1032
  "model-value": C.value.verticalAlign,
1033
- "onUpdate:modelValue": I
1033
+ "onUpdate:modelValue": F
1034
1034
  }, null, 8, ["options", "model-value"])])) : _("", !0)
1035
1035
  ])) : _("", !0);
1036
1036
  }
1037
- }), 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 = {
1037
+ }), kn = { class: "tpl:space-y-2" }, An = { class: "tpl:flex tpl:items-center tpl:gap-2" }, jn = { class: "tpl:space-y-2" }, Mn = ["value"], Nn = { value: "" }, Pn = ["label"], Fn = ["value"], In = ["value"], Ln = {
1038
1038
  key: 0,
1039
1039
  value: "__custom__"
1040
- }, zn = {
1040
+ }, Rn = {
1041
1041
  key: 0,
1042
1042
  class: "tpl:space-y-2"
1043
- }, 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 = {
1043
+ }, zn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Bn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Vn = { class: "tpl:flex tpl:justify-end" }, Hn = ["disabled"], Un = {
1044
1044
  key: 0,
1045
1045
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
1046
- }, 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 = {
1046
+ }, Wn = { class: "tpl:space-y-1" }, Gn = { 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)]" }, Kn = {
1047
1047
  key: 0,
1048
1048
  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)]"
1049
- }, Jn = /* @__PURE__ */ r({
1049
+ }, qn = /* @__PURE__ */ r({
1050
1050
  __name: "CommonBlockSettings",
1051
1051
  props: {
1052
1052
  block: {},
@@ -1054,23 +1054,23 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1054
1054
  },
1055
1055
  emits: ["update"],
1056
1056
  setup(e, { emit: r }) {
1057
- let u = e, d = r, { t: f, format: C } = H(), w = l(Qe, null), D = l(He, void 0), k = S(() => w?.activeLocale?.value), A = S(() => !!(k.value && w?.selectedBlock?.value?.l10n?.[k.value]?.hidden)), j = l(Ke, []), M = l(Ze, !1), N = t(/* @__PURE__ */ new Set()), P = T(!1), F = T(""), I = T(""), ee = [{
1057
+ let u = e, d = r, { t: f, format: C } = U(), w = l(Ze, null), D = l(Ve, void 0), k = S(() => w?.activeLocale?.value), A = S(() => !!(k.value && w?.selectedBlock?.value?.l10n?.[k.value]?.hidden)), j = l(Ge, []), M = l(Xe, !1), N = t(/* @__PURE__ */ new Set()), P = T(!1), F = T(""), I = T(""), L = [{
1058
1058
  key: "desktop",
1059
- icon: xe,
1059
+ icon: be,
1060
1060
  labelKey: "showOnDesktop"
1061
1061
  }, {
1062
1062
  key: "mobile",
1063
- icon: Ee,
1063
+ icon: Te,
1064
1064
  labelKey: "showOnMobile"
1065
1065
  }];
1066
- function L(e) {
1066
+ function R(e) {
1067
1067
  N.has(e) ? N.delete(e) : N.add(e);
1068
1068
  }
1069
- let te = S(() => j.length > 0 || M), R = S(() => u.block.displayCondition ? !j.some((e) => e.label === u.block.displayCondition?.label) : !1);
1070
- function re() {
1071
- P.value = !0, R.value && u.block.displayCondition ? (F.value = u.block.displayCondition.before, I.value = u.block.displayCondition.after ?? "") : (F.value = "", I.value = "");
1069
+ let ee = S(() => j.length > 0 || M), z = S(() => u.block.displayCondition ? !j.some((e) => e.label === u.block.displayCondition?.label) : !1);
1070
+ function te() {
1071
+ P.value = !0, z.value && u.block.displayCondition ? (F.value = u.block.displayCondition.before, I.value = u.block.displayCondition.after ?? "") : (F.value = "", I.value = "");
1072
1072
  }
1073
- function ie() {
1073
+ function re() {
1074
1074
  let e = F.value.trim(), t = I.value.trim();
1075
1075
  e && (d("update", { displayCondition: {
1076
1076
  label: f.blockSettings.customCondition,
@@ -1086,44 +1086,44 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1086
1086
  () => u.block.displayCondition?.after
1087
1087
  ], () => {
1088
1088
  let e = u.block.displayCondition;
1089
- !e || !R.value ? (P.value = !1, F.value = "", I.value = "") : (F.value = e.before, I.value = e.after ?? "");
1089
+ !e || !z.value ? (P.value = !1, F.value = "", I.value = "") : (F.value = e.before, I.value = e.after ?? "");
1090
1090
  }, { immediate: !0 });
1091
- let ae = S(() => {
1091
+ let ie = S(() => {
1092
1092
  let e = {};
1093
1093
  for (let t of j) {
1094
1094
  let n = t.group ?? "";
1095
1095
  e[n] || (e[n] = []), e[n].push(t);
1096
1096
  }
1097
1097
  return e;
1098
- }), oe = S(() => u.block.type === "section" && ne(u.block)?.applied === !0);
1099
- function se(e, t) {
1098
+ }), ae = S(() => u.block.type === "section" && ne(u.block)?.applied === !0);
1099
+ function oe(e, t) {
1100
1100
  d("update", { styles: {
1101
1101
  ...u.block.styles,
1102
1102
  [e]: t
1103
1103
  } });
1104
1104
  }
1105
- function ce(e) {
1105
+ function se(e) {
1106
1106
  return u.block.visibility?.[e] !== !1;
1107
1107
  }
1108
- function le(e) {
1108
+ function ce(e) {
1109
1109
  let t = {
1110
- desktop: ce("desktop"),
1111
- mobile: ce("mobile")
1110
+ desktop: se("desktop"),
1111
+ mobile: se("mobile")
1112
1112
  };
1113
1113
  t[e] = !t[e], d("update", { visibility: t });
1114
1114
  }
1115
1115
  return (t, r) => (i(), p("div", { class: g(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1116
- O(xn, {
1116
+ O(bn, {
1117
1117
  title: h(f).blockSettings.spacing,
1118
1118
  open: N.has("spacing"),
1119
1119
  "no-border": e.isFirstSection,
1120
- onToggle: r[1] ||= (e) => L("spacing")
1120
+ onToggle: r[1] ||= (e) => R("spacing")
1121
1121
  }, {
1122
- default: a(() => [O(sn, {
1122
+ default: a(() => [O(on, {
1123
1123
  path: "styles.padding",
1124
1124
  label: h(f).blockSettings.padding,
1125
1125
  "model-value": e.block.styles.padding,
1126
- "onUpdate:modelValue": r[0] ||= (e) => se("padding", e)
1126
+ "onUpdate:modelValue": r[0] ||= (e) => oe("padding", e)
1127
1127
  }, null, 8, ["label", "model-value"])]),
1128
1128
  _: 1
1129
1129
  }, 8, [
@@ -1131,46 +1131,46 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1131
1131
  "open",
1132
1132
  "no-border"
1133
1133
  ]),
1134
- O(xn, {
1134
+ O(bn, {
1135
1135
  title: h(f).blockSettings.background,
1136
1136
  open: N.has("bg"),
1137
1137
  "header-test-id": "block-settings-background",
1138
- onToggle: r[5] ||= (e) => L("bg")
1138
+ onToggle: r[5] ||= (e) => R("bg")
1139
1139
  }, {
1140
1140
  default: a(() => [
1141
- O(q, {
1141
+ O(J, {
1142
1142
  path: "styles.backgroundColor",
1143
1143
  label: h(f).blockSettings.color
1144
1144
  }, {
1145
- default: a(() => [O(J, {
1145
+ default: a(() => [O(Y, {
1146
1146
  "model-value": e.block.styles.backgroundColor ?? "",
1147
1147
  "allow-transparent": "",
1148
- "onUpdate:modelValue": r[2] ||= (e) => se("backgroundColor", e)
1148
+ "onUpdate:modelValue": r[2] ||= (e) => oe("backgroundColor", e)
1149
1149
  }, null, 8, ["model-value"])]),
1150
1150
  _: 1
1151
1151
  }, 8, ["label"]),
1152
- e.block.type === "section" ? (i(), v(q, {
1152
+ e.block.type === "section" ? (i(), v(J, {
1153
1153
  key: 0,
1154
1154
  path: "backgroundImage",
1155
1155
  label: h(f).blockSettings.backgroundImage
1156
1156
  }, {
1157
- default: a(() => [O(vn, {
1157
+ default: a(() => [O(_n, {
1158
1158
  "hide-label": "",
1159
1159
  class: "tpl:mt-3.5",
1160
1160
  "model-value": e.block.backgroundImage,
1161
1161
  "testid-prefix": "section",
1162
1162
  measure: "",
1163
- "hero-mode": oe.value,
1163
+ "hero-mode": ae.value,
1164
1164
  "onUpdate:modelValue": r[3] ||= (e) => d("update", { backgroundImage: e })
1165
1165
  }, null, 8, ["model-value", "hero-mode"])]),
1166
1166
  _: 1
1167
1167
  }, 8, ["label"])) : _("", !0),
1168
- e.block.type === "section" ? (i(), v(q, {
1168
+ e.block.type === "section" ? (i(), v(J, {
1169
1169
  key: 1,
1170
1170
  path: "hero",
1171
1171
  label: h(f).blocks.hero
1172
1172
  }, {
1173
- default: a(() => [O(kn, {
1173
+ default: a(() => [O(On, {
1174
1174
  section: e.block,
1175
1175
  onUpdate: r[4] ||= (e) => d("update", e)
1176
1176
  }, null, 8, ["section"])]),
@@ -1179,38 +1179,38 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1179
1179
  ]),
1180
1180
  _: 1
1181
1181
  }, 8, ["title", "open"]),
1182
- O(xn, {
1182
+ O(bn, {
1183
1183
  title: h(f).blockSettings.display,
1184
1184
  open: N.has("display"),
1185
- onToggle: r[7] ||= (e) => L("display")
1185
+ onToggle: r[7] ||= (e) => R("display")
1186
1186
  }, {
1187
- default: a(() => [y("div", An, [k.value && h(D) ? (i(), v(Y, {
1187
+ default: a(() => [y("div", kn, [k.value && h(D) ? (i(), v(X, {
1188
1188
  key: 0,
1189
1189
  "data-testid": "locale-hide",
1190
1190
  disabled: !h(D).locales.includes(k.value),
1191
1191
  "model-value": A.value,
1192
- label: h(C)(h(f).localization.hide, { language: h(et)(k.value) }),
1192
+ label: h(C)(h(f).localization.hide, { language: h($e)(k.value) }),
1193
1193
  "onUpdate:modelValue": r[6] ||= (t) => h(w)?.setBlockHidden?.(e.block.id, t)
1194
1194
  }, null, 8, [
1195
1195
  "disabled",
1196
1196
  "model-value",
1197
1197
  "label"
1198
- ])) : _("", !0), (i(), p(E, null, c(ee, (e) => O(q, {
1198
+ ])) : _("", !0), (i(), p(E, null, c(L, (e) => O(J, {
1199
1199
  key: e.key,
1200
1200
  path: `visibility.${e.key}`,
1201
1201
  label: h(f).blockSettings[e.labelKey]
1202
1202
  }, {
1203
- label: a(() => [y("span", jn, [(i(), v(n(e.icon), {
1203
+ label: a(() => [y("span", An, [(i(), v(n(e.icon), {
1204
1204
  size: 14,
1205
1205
  "stroke-width": 1.5
1206
1206
  })), m(" " + b(h(f).blockSettings[e.labelKey]), 1)])]),
1207
- "label-actions": a(({ controlId: t }) => [O(Y, {
1207
+ "label-actions": a(({ controlId: t }) => [O(X, {
1208
1208
  "control-id": t,
1209
1209
  "hide-label": "",
1210
1210
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1211
- "model-value": ce(e.key),
1211
+ "model-value": se(e.key),
1212
1212
  label: h(f).blockSettings[e.labelKey],
1213
- "onUpdate:modelValue": (t) => le(e.key)
1213
+ "onUpdate:modelValue": (t) => ce(e.key)
1214
1214
  }, null, 8, [
1215
1215
  "control-id",
1216
1216
  "model-value",
@@ -1221,25 +1221,25 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1221
1221
  }, 1032, ["path", "label"])), 64))])]),
1222
1222
  _: 1
1223
1223
  }, 8, ["title", "open"]),
1224
- te.value ? (i(), v(xn, {
1224
+ ee.value ? (i(), v(bn, {
1225
1225
  key: 0,
1226
1226
  "header-test-id": "display-condition-section",
1227
1227
  title: h(f).blockSettings.displayCondition,
1228
1228
  open: N.has("condition"),
1229
- onToggle: r[11] ||= (e) => L("condition")
1229
+ onToggle: r[11] ||= (e) => R("condition")
1230
1230
  }, {
1231
- default: a(() => [y("div", Mn, [O(q, {
1231
+ default: a(() => [y("div", jn, [O(J, {
1232
1232
  path: "displayCondition",
1233
1233
  label: h(f).blockSettings.displayCondition
1234
1234
  }, {
1235
1235
  default: a(() => [y("select", {
1236
1236
  "data-testid": "display-condition-select",
1237
1237
  class: g(["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)]"]),
1238
- value: P.value || R.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1238
+ value: P.value || z.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1239
1239
  onChange: r[8] ||= (e) => {
1240
1240
  let t = e.target.value;
1241
1241
  if (t === "__custom__") {
1242
- re();
1242
+ te();
1243
1243
  return;
1244
1244
  }
1245
1245
  if (P.value = !1, !t) {
@@ -1250,43 +1250,43 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1250
1250
  n && d("update", { displayCondition: n });
1251
1251
  }
1252
1252
  }, [
1253
- y("option", Pn, b(h(f).blockSettings.noCondition), 1),
1254
- (i(!0), p(E, null, c(ae.value, (e, t) => (i(), p(E, { key: t }, [t ? (i(), p("optgroup", {
1253
+ y("option", Nn, b(h(f).blockSettings.noCondition), 1),
1254
+ (i(!0), p(E, null, c(ie.value, (e, t) => (i(), p(E, { key: t }, [t ? (i(), p("optgroup", {
1255
1255
  key: 0,
1256
1256
  label: String(t)
1257
1257
  }, [(i(!0), p(E, null, c(e, (e) => (i(), p("option", {
1258
1258
  key: e.label,
1259
1259
  value: e.label
1260
- }, b(e.label), 9, In))), 128))], 8, Fn)) : (i(!0), p(E, { key: 1 }, c(e, (e) => (i(), p("option", {
1260
+ }, b(e.label), 9, Fn))), 128))], 8, Pn)) : (i(!0), p(E, { key: 1 }, c(e, (e) => (i(), p("option", {
1261
1261
  key: e.label,
1262
1262
  value: e.label
1263
- }, b(e.label), 9, Ln))), 128))], 64))), 128)),
1264
- h(M) ? (i(), p("option", Rn, b(h(f).blockSettings.customCondition), 1)) : _("", !0)
1265
- ], 42, Nn)]),
1263
+ }, b(e.label), 9, In))), 128))], 64))), 128)),
1264
+ h(M) ? (i(), p("option", Ln, b(h(f).blockSettings.customCondition), 1)) : _("", !0)
1265
+ ], 42, Mn)]),
1266
1266
  _: 1
1267
- }, 8, ["label"]), P.value || R.value ? (i(), p("div", zn, [
1268
- y("div", null, [y("label", Bn, b(h(f).blockSettings.customConditionBefore), 1), s(y("textarea", {
1267
+ }, 8, ["label"]), P.value || z.value ? (i(), p("div", Rn, [
1268
+ y("div", null, [y("label", zn, b(h(f).blockSettings.customConditionBefore), 1), s(y("textarea", {
1269
1269
  "onUpdate:modelValue": r[9] ||= (e) => F.value = e,
1270
1270
  rows: "2",
1271
- class: g(h(at))
1271
+ class: g(h(it))
1272
1272
  }, null, 2), [[x, F.value]])]),
1273
- y("div", null, [y("label", Vn, b(h(f).blockSettings.customConditionAfter), 1), s(y("textarea", {
1273
+ y("div", null, [y("label", Bn, b(h(f).blockSettings.customConditionAfter), 1), s(y("textarea", {
1274
1274
  "onUpdate:modelValue": r[10] ||= (e) => I.value = e,
1275
1275
  rows: "2",
1276
- class: g(h(at))
1276
+ class: g(h(it))
1277
1277
  }, null, 2), [[x, I.value]])]),
1278
- y("div", Hn, [y("button", {
1278
+ y("div", Vn, [y("button", {
1279
1279
  type: "button",
1280
- class: g(h(nt)),
1280
+ class: g(h(tt)),
1281
1281
  disabled: !F.value.trim(),
1282
- onClick: ie
1283
- }, b(h(f).blockSettings.applyCondition), 11, Un)])
1284
- ])) : e.block.displayCondition && !R.value ? (i(), p(E, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", Wn, b(e.block.displayCondition.description), 1)) : _("", !0), y("div", Gn, [y("pre", Kn, b(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", qn, b(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
1282
+ onClick: re
1283
+ }, b(h(f).blockSettings.applyCondition), 11, Hn)])
1284
+ ])) : e.block.displayCondition && !z.value ? (i(), p(E, { key: 1 }, [e.block.displayCondition.description ? (i(), p("p", Un, b(e.block.displayCondition.description), 1)) : _("", !0), y("div", Wn, [y("pre", Gn, b(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (i(), p("pre", Kn, b(e.block.displayCondition.after), 1)) : _("", !0)])], 64)) : _("", !0)])]),
1285
1285
  _: 1
1286
1286
  }, 8, ["title", "open"])) : _("", !0)
1287
1287
  ], 2));
1288
1288
  }
1289
- }), Yn = ["title"], Xn = { class: "tpl-sr-only" }, Zn = ["title"], Qn = { class: "tpl-sr-only" }, $n = /* @__PURE__ */ r({
1289
+ }), Jn = ["title"], Yn = { class: "tpl-sr-only" }, Xn = ["title"], Zn = { class: "tpl-sr-only" }, Qn = /* @__PURE__ */ r({
1290
1290
  __name: "FieldLabel",
1291
1291
  props: {
1292
1292
  label: {},
@@ -1294,25 +1294,25 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1294
1294
  readOnly: { type: Boolean }
1295
1295
  },
1296
1296
  setup(e) {
1297
- let { t } = H();
1297
+ let { t } = U();
1298
1298
  return (n, r) => (i(), p("span", null, [
1299
1299
  m(b(e.label) + " ", 1),
1300
1300
  e.readOnly ? (i(), p("span", {
1301
1301
  key: 0,
1302
1302
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1303
- }, [O(h(Le), {
1303
+ }, [O(h(Ie), {
1304
1304
  size: 12,
1305
1305
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1306
1306
  "aria-hidden": "true"
1307
- }), y("span", Xn, b(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Yn)) : _("", !0),
1307
+ }), y("span", Yn, b(h(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, Jn)) : _("", !0),
1308
1308
  e.required ? (i(), p("span", {
1309
1309
  key: 1,
1310
1310
  class: "tpl:text-[var(--tpl-danger)]",
1311
1311
  title: h(t).customBlocks.fields.required
1312
- }, [r[0] ||= y("span", { "aria-hidden": "true" }, "*", -1), y("span", Qn, b(h(t).customBlocks.fields.required), 1)], 8, Zn)) : _("", !0)
1312
+ }, [r[0] ||= y("span", { "aria-hidden": "true" }, "*", -1), y("span", Zn, b(h(t).customBlocks.fields.required), 1)], 8, Xn)) : _("", !0)
1313
1313
  ]));
1314
1314
  }
1315
- }), er = ["title"], tr = /* @__PURE__ */ r({
1315
+ }), $n = ["title"], er = /* @__PURE__ */ r({
1316
1316
  __name: "BooleanField",
1317
1317
  props: {
1318
1318
  field: {},
@@ -1323,11 +1323,11 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1323
1323
  },
1324
1324
  emits: ["update:modelValue"],
1325
1325
  setup(e, { emit: t }) {
1326
- let n = t, { t: r } = H();
1326
+ let n = t, { t: r } = U();
1327
1327
  return (t, o) => (i(), p("div", {
1328
1328
  class: "tpl:mb-3.5",
1329
1329
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0
1330
- }, [O(Y, {
1330
+ }, [O(X, {
1331
1331
  "hide-label": e.hideLabel,
1332
1332
  "control-id": e.controlId,
1333
1333
  class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -1337,7 +1337,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1337
1337
  disabled: e.readOnly,
1338
1338
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1339
1339
  }, {
1340
- default: a(() => [m(b(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(Le), {
1340
+ default: a(() => [m(b(e.field.label) + " ", 1), e.readOnly ? (i(), v(h(Ie), {
1341
1341
  key: 0,
1342
1342
  size: 12,
1343
1343
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1350,9 +1350,9 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1350
1350
  "label",
1351
1351
  "required",
1352
1352
  "disabled"
1353
- ])], 8, er));
1353
+ ])], 8, $n));
1354
1354
  }
1355
- }), nr = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ r({
1355
+ }), tr = { class: "tpl:mb-3.5" }, nr = /* @__PURE__ */ r({
1356
1356
  __name: "FieldWrapper",
1357
1357
  props: {
1358
1358
  label: {},
@@ -1361,10 +1361,10 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1361
1361
  readOnly: { type: Boolean }
1362
1362
  },
1363
1363
  setup(e) {
1364
- return (t, n) => (i(), p("div", nr, [e.hideLabel ? _("", !0) : (i(), p("label", {
1364
+ return (t, n) => (i(), p("div", tr, [e.hideLabel ? _("", !0) : (i(), p("label", {
1365
1365
  key: 0,
1366
- class: g(h(K))
1367
- }, [O($n, {
1366
+ class: g(h(q))
1367
+ }, [O(Qn, {
1368
1368
  label: e.label,
1369
1369
  required: e.required,
1370
1370
  "read-only": e.readOnly
@@ -1384,14 +1384,14 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1384
1384
  },
1385
1385
  emits: ["update:modelValue"],
1386
1386
  setup(e, { emit: t }) {
1387
- let n = e, r = t, { t: o } = H(), s = l(Xe, ct), c = S(() => be(n.field, s));
1388
- return (t, n) => (i(), v($, {
1387
+ let n = e, r = t, { t: o } = U(), s = l(Ye, st), c = S(() => ye(n.field, s));
1388
+ return (t, n) => (i(), v(nr, {
1389
1389
  "hide-label": e.hideLabel,
1390
1390
  label: e.field.label,
1391
1391
  required: e.field.required,
1392
1392
  "read-only": e.readOnly
1393
1393
  }, {
1394
- default: a(() => [O(J, {
1394
+ default: a(() => [O(Y, {
1395
1395
  "model-value": e.modelValue,
1396
1396
  placeholder: e.field.placeholder,
1397
1397
  disabled: e.readOnly,
@@ -1429,12 +1429,12 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1429
1429
  },
1430
1430
  emits: ["update:modelValue"],
1431
1431
  setup(e, { emit: t }) {
1432
- let n = e, r = t, { t: o } = H(), s = T(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = ye({
1432
+ let n = e, r = t, { t: o } = U(), s = T(), { canBrowse: c, isUploading: l, showOverlay: u, openMediaBrowser: d } = ve({
1433
1433
  target: s,
1434
1434
  blocked: () => !!n.readOnly,
1435
1435
  apply: (e) => r("update:modelValue", e.url)
1436
1436
  });
1437
- return (t, n) => (i(), v($, {
1437
+ return (t, n) => (i(), v(nr, {
1438
1438
  "hide-label": e.hideLabel,
1439
1439
  label: e.field.label,
1440
1440
  required: e.field.required,
@@ -1445,14 +1445,14 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1445
1445
  ref: s,
1446
1446
  class: "tpl:relative"
1447
1447
  }, [
1448
- h(u) ? (i(), v(de, {
1448
+ h(u) ? (i(), v(ue, {
1449
1449
  key: 0,
1450
1450
  uploading: h(l)
1451
1451
  }, null, 8, ["uploading"])) : _("", !0),
1452
1452
  e.readOnly ? (i(), p("input", {
1453
1453
  key: 1,
1454
1454
  type: "url",
1455
- class: g([h(G), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1455
+ class: g([h(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1456
1456
  value: e.modelValue,
1457
1457
  placeholder: e.field.placeholder || "https://...",
1458
1458
  disabled: "",
@@ -1460,7 +1460,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1460
1460
  }, null, 10, ir)) : (i(), p("input", {
1461
1461
  key: 2,
1462
1462
  type: "url",
1463
- class: g(h(G)),
1463
+ class: g(h(K)),
1464
1464
  value: e.modelValue,
1465
1465
  placeholder: e.field.placeholder || "https://...",
1466
1466
  onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
@@ -1469,7 +1469,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1469
1469
  key: 3,
1470
1470
  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)]",
1471
1471
  onClick: n[1] ||= (e) => h(d)()
1472
- }, [O(h(ke), {
1472
+ }, [O(h(Oe), {
1473
1473
  size: 14,
1474
1474
  "stroke-width": 1.5
1475
1475
  }), m(" " + b(h(o).image.browseMedia), 1)])) : _("", !0)
@@ -1500,8 +1500,8 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1500
1500
  },
1501
1501
  emits: ["update:modelValue"],
1502
1502
  setup(e, { emit: t }) {
1503
- let n = t, { t: r } = H();
1504
- return (t, o) => (i(), v($, {
1503
+ let n = t, { t: r } = U();
1504
+ return (t, o) => (i(), v(nr, {
1505
1505
  "hide-label": e.hideLabel,
1506
1506
  label: e.field.label,
1507
1507
  required: e.field.required,
@@ -1509,7 +1509,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1509
1509
  }, {
1510
1510
  default: a(() => [y("input", {
1511
1511
  type: "number",
1512
- class: g([h(G), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1512
+ class: g([h(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1513
1513
  value: e.modelValue,
1514
1514
  placeholder: e.field.placeholder,
1515
1515
  min: e.field.min,
@@ -1543,7 +1543,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1543
1543
  },
1544
1544
  emits: ["update:modelValue"],
1545
1545
  setup(e, { emit: t }) {
1546
- let r = e, o = t, { t: s, format: l } = H(), u = S(() => r.modelValue || []), d = S(() => !r.field.maxItems || u.value.length < r.field.maxItems), f = S(() => !r.field.minItems || u.value.length > r.field.minItems);
1546
+ let r = e, o = t, { t: s, format: l } = U(), u = S(() => r.modelValue || []), d = S(() => !r.field.maxItems || u.value.length < r.field.maxItems), f = S(() => !r.field.minItems || u.value.length > r.field.minItems);
1547
1547
  function x() {
1548
1548
  if (!d.value || r.readOnly) return;
1549
1549
  let e = {};
@@ -1562,7 +1562,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1562
1562
  } : r);
1563
1563
  o("update:modelValue", r);
1564
1564
  }
1565
- return (t, r) => (i(), v($, {
1565
+ return (t, r) => (i(), v(nr, {
1566
1566
  "hide-label": e.hideLabel,
1567
1567
  label: e.field.label,
1568
1568
  required: e.field.required,
@@ -1578,7 +1578,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1578
1578
  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)]",
1579
1579
  title: h(s).customBlocks.fields.removeItem,
1580
1580
  onClick: (e) => C(r)
1581
- }, [O(h(Me), {
1581
+ }, [O(h(je), {
1582
1582
  size: 12,
1583
1583
  "stroke-width": 2
1584
1584
  })], 8, fr)) : _("", !0)]), (i(!0), p(E, null, c(e.field.fields, (a) => (i(), v(n(h(wr)(a.type)), {
@@ -1596,9 +1596,9 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1596
1596
  d.value && !e.readOnly ? (i(), p("button", {
1597
1597
  key: 0,
1598
1598
  type: "button",
1599
- class: g(h(rt)),
1599
+ class: g(h(nt)),
1600
1600
  onClick: x
1601
- }, [O(h(V), {
1601
+ }, [O(h(H), {
1602
1602
  size: 14,
1603
1603
  "stroke-width": 2
1604
1604
  }), m(" " + b(h(s).customBlocks.fields.addItem), 1)], 2)) : _("", !0),
@@ -1627,15 +1627,15 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1627
1627
  },
1628
1628
  emits: ["update:modelValue"],
1629
1629
  setup(e, { emit: t }) {
1630
- let n = t, { t: r } = H();
1631
- return (t, o) => (i(), v($, {
1630
+ let n = t, { t: r } = U();
1631
+ return (t, o) => (i(), v(nr, {
1632
1632
  "hide-label": e.hideLabel,
1633
1633
  label: e.field.label,
1634
1634
  required: e.field.required,
1635
1635
  "read-only": e.readOnly
1636
1636
  }, {
1637
1637
  default: a(() => [y("select", {
1638
- class: g([h(G), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1638
+ class: g([h(K), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1639
1639
  value: e.modelValue,
1640
1640
  disabled: e.readOnly,
1641
1641
  title: e.readOnly ? h(r).customBlocks.dataSource.readOnlyTooltip : void 0,
@@ -1666,8 +1666,8 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1666
1666
  },
1667
1667
  emits: ["update:modelValue"],
1668
1668
  setup(e, { emit: t }) {
1669
- let n = t, { t: r } = H();
1670
- return (t, o) => (i(), v($, {
1669
+ let n = t, { t: r } = U();
1670
+ return (t, o) => (i(), v(nr, {
1671
1671
  "hide-label": e.hideLabel,
1672
1672
  label: e.field.label,
1673
1673
  required: e.field.required,
@@ -1676,12 +1676,12 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1676
1676
  default: a(() => [e.readOnly ? (i(), p("input", {
1677
1677
  key: 0,
1678
1678
  type: "text",
1679
- class: g([h(G), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1679
+ class: g([h(K), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1680
1680
  value: e.modelValue,
1681
1681
  placeholder: e.field.placeholder,
1682
1682
  disabled: "",
1683
1683
  title: h(r).customBlocks.dataSource.readOnlyTooltip
1684
- }, null, 10, yr)) : (i(), v(X, {
1684
+ }, null, 10, yr)) : (i(), v(Z, {
1685
1685
  key: 1,
1686
1686
  "model-value": e.modelValue,
1687
1687
  placeholder: e.field.placeholder,
@@ -1711,8 +1711,8 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1711
1711
  },
1712
1712
  emits: ["update:modelValue"],
1713
1713
  setup(e, { emit: t }) {
1714
- let n = t, { t: r } = H();
1715
- return (t, o) => (i(), v($, {
1714
+ let n = t, { t: r } = U();
1715
+ return (t, o) => (i(), v(nr, {
1716
1716
  "hide-label": e.hideLabel,
1717
1717
  label: e.field.label,
1718
1718
  required: e.field.required,
@@ -1726,7 +1726,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1726
1726
  disabled: "",
1727
1727
  title: h(r).customBlocks.dataSource.readOnlyTooltip,
1728
1728
  class: g(Sr)
1729
- }, null, 8, xr)) : (i(), v(ut, {
1729
+ }, null, 8, xr)) : (i(), v(lt, {
1730
1730
  key: 1,
1731
1731
  "model-value": e.modelValue,
1732
1732
  placeholder: e.field.placeholder,
@@ -1745,7 +1745,7 @@ var dn = { class: "tpl:space-y-3.5" }, fn = ["data-testid"], pn = ["data-testid"
1745
1745
  color: rr,
1746
1746
  number: cr,
1747
1747
  select: vr,
1748
- boolean: tr,
1748
+ boolean: er,
1749
1749
  repeatable: hr
1750
1750
  };
1751
1751
  function wr(e) {
@@ -1775,7 +1775,7 @@ var Tr = {
1775
1775
  props: { block: {} },
1776
1776
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1777
1777
  setup(e, { emit: t }) {
1778
- let r = e, o = t, { t: s } = H(), u = l(Je, []), d = S(() => u.find((e) => e.type === r.block.customType)), f = S(() => r.block), { isFetching: g, fetchError: x, fetch: C, hasDataSource: w, needsFetch: T } = oe({
1778
+ let r = e, o = t, { t: s } = U(), u = l(qe, []), d = S(() => u.find((e) => e.type === r.block.customType)), f = S(() => r.block), { isFetching: g, fetchError: x, fetch: C, hasDataSource: w, needsFetch: T } = ae({
1779
1779
  definition: d,
1780
1780
  block: f,
1781
1781
  onUpdate: (e, t) => {
@@ -1803,16 +1803,16 @@ var Tr = {
1803
1803
  type: "button",
1804
1804
  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)]",
1805
1805
  onClick: r[1] ||= (...e) => h(C) && h(C)(...e)
1806
- }, [O(h(De), { size: 12 }), m(" " + b(h(s).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (i(), p("p", Mr, [O(h(we), {
1806
+ }, [O(h(Ee), { size: 12 }), m(" " + b(h(s).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (i(), p("p", Mr, [O(h(Ce), {
1807
1807
  size: 14,
1808
1808
  class: "tpl:shrink-0"
1809
1809
  }), m(" " + b(h(s).customBlocks.dataSource.fetchError), 1)])) : _("", !0)])) : _("", !0),
1810
- (i(!0), p(E, null, c(d.value.fields, (t) => (i(), v(q, {
1810
+ (i(!0), p(E, null, c(d.value.fields, (t) => (i(), v(J, {
1811
1811
  key: t.key,
1812
1812
  path: `fieldValues.${t.key}`,
1813
1813
  label: t.label
1814
1814
  }, {
1815
- label: a(() => [O($n, {
1815
+ label: a(() => [O(Qn, {
1816
1816
  label: t.label,
1817
1817
  required: t.required,
1818
1818
  "read-only": D(t)
@@ -1844,17 +1844,17 @@ var Tr = {
1844
1844
  props: { block: {} },
1845
1845
  emits: ["update"],
1846
1846
  setup(e, { emit: t }) {
1847
- let n = t, { t: r } = H();
1847
+ let n = t, { t: r } = U();
1848
1848
  function o(e, t) {
1849
1849
  n("update", { [e]: t });
1850
1850
  }
1851
1851
  return (t, n) => (i(), p(E, null, [
1852
- O(q, {
1852
+ O(J, {
1853
1853
  label: h(r).divider.style,
1854
1854
  class: "tpl:mb-3.5",
1855
1855
  path: "lineStyle"
1856
1856
  }, {
1857
- default: a(() => [O(Z, {
1857
+ default: a(() => [O(Q, {
1858
1858
  options: [
1859
1859
  {
1860
1860
  value: "solid",
@@ -1874,30 +1874,30 @@ var Tr = {
1874
1874
  }, null, 8, ["options", "model-value"])]),
1875
1875
  _: 1
1876
1876
  }, 8, ["label"]),
1877
- O(q, {
1877
+ O(J, {
1878
1878
  label: h(r).divider.color,
1879
1879
  class: "tpl:mb-3.5",
1880
1880
  path: "color"
1881
1881
  }, {
1882
- default: a(() => [O(J, {
1882
+ default: a(() => [O(Y, {
1883
1883
  "model-value": e.block.color,
1884
1884
  "onUpdate:modelValue": n[1] ||= (e) => o("color", e)
1885
1885
  }, null, 8, ["model-value"])]),
1886
1886
  _: 1
1887
1887
  }, 8, ["label"]),
1888
- O(q, {
1888
+ O(J, {
1889
1889
  label: h(r).divider.thickness,
1890
1890
  class: "tpl:mb-3.5",
1891
1891
  path: "thickness"
1892
1892
  }, {
1893
1893
  default: a(() => [y("div", Pr, [y("input", {
1894
1894
  type: "number",
1895
- class: g(h(W)),
1895
+ class: g(h(G)),
1896
1896
  value: e.block.thickness,
1897
1897
  min: "1",
1898
1898
  max: "10",
1899
1899
  onInput: n[2] ||= (e) => o("thickness", Number(e.target.value))
1900
- }, null, 42, Fr), y("span", { class: g(h(U)) }, "px", 2)])]),
1900
+ }, null, 42, Fr), y("span", { class: g(h(W)) }, "px", 2)])]),
1901
1901
  _: 1
1902
1902
  }, 8, ["label"])
1903
1903
  ], 64));
@@ -1907,8 +1907,8 @@ var Tr = {
1907
1907
  props: { block: {} },
1908
1908
  emits: ["update"],
1909
1909
  setup(e, { emit: t }) {
1910
- let n = t, { t: r } = H();
1911
- return (t, o) => (i(), v(q, {
1910
+ let n = t, { t: r } = U();
1911
+ return (t, o) => (i(), v(J, {
1912
1912
  label: h(r).html.content,
1913
1913
  class: "tpl:mb-3.5",
1914
1914
  path: "content"
@@ -1917,9 +1917,9 @@ var Tr = {
1917
1917
  value: e.block.content,
1918
1918
  placeholder: "<div>...</div>",
1919
1919
  rows: "10",
1920
- class: g(h(at)),
1920
+ class: g(h(it)),
1921
1921
  onInput: o[0] ||= (e) => n("update", { content: e.target.value })
1922
- }, null, 42, Lr), y("p", Rr, [O(h(Ne), {
1922
+ }, null, 42, Lr), y("p", Rr, [O(h(Me), {
1923
1923
  size: 12,
1924
1924
  class: "tpl:mt-0.5 tpl:shrink-0"
1925
1925
  }), m(" " + b(h(r).html.sanitizationHint), 1)])]),
@@ -1933,7 +1933,7 @@ function Br(e) {
1933
1933
  o(() => e.block().id, () => {
1934
1934
  t.value = !1, n.value = null;
1935
1935
  });
1936
- let r = S(() => fe(e.block()) ?? e.measured()), i = S(() => {
1936
+ let r = S(() => de(e.block()) ?? e.measured()), i = S(() => {
1937
1937
  let t = e.block().width;
1938
1938
  return t === "full" ? e.room() : t;
1939
1939
  }), a = S(() => {
@@ -1944,9 +1944,9 @@ function Br(e) {
1944
1944
  return t === void 0 || a.value !== null && Math.abs(a.value - t) <= 1;
1945
1945
  }), l = S(() => s.value && !t.value && c.value);
1946
1946
  function u() {
1947
- if (fe(e.block())) return {};
1947
+ if (de(e.block())) return {};
1948
1948
  let t = e.measured();
1949
- return t ? pe(t) : {};
1949
+ return t ? fe(t) : {};
1950
1950
  }
1951
1951
  function d(r) {
1952
1952
  if (n.value = null, !r) return t.value = !0, null;
@@ -2008,7 +2008,7 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2008
2008
  props: { block: {} },
2009
2009
  emits: ["update"],
2010
2010
  setup(e, { emit: t }) {
2011
- let n = e, r = t, { t: o, format: s } = H(), c = l(Be, te.liquid), u = l(Qe, null), d = u ? $e(u) : null, f = l(Ue, void 0), x = T(!1), C = T(!1), { start: w } = ot(() => {
2011
+ let n = e, r = t, { t: o, format: s } = U(), c = l(ze, R.liquid), u = l(Ze, null), d = u ? Qe(u) : null, f = l(He, void 0), x = T(!1), C = T(!1), { start: w } = at(() => {
2012
2012
  x.value = !1, C.value = !1;
2013
2013
  }, 1e3, { immediate: !1 }), k = [
2014
2014
  300,
@@ -2017,88 +2017,88 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2017
2017
  ], A = S(() => {
2018
2018
  let e = n.block.width;
2019
2019
  return e === "full" ? "full" : k.includes(e) ? String(e) : "custom";
2020
- }), j = S(() => typeof n.block.height == "number" ? "custom" : "auto");
2021
- function M(e, t) {
2020
+ }), M = S(() => typeof n.block.height == "number" ? "custom" : "auto");
2021
+ function N(e, t) {
2022
2022
  r("update", { [e]: t });
2023
2023
  }
2024
- function N(e) {
2024
+ function P(e) {
2025
2025
  if (e === "custom") {
2026
2026
  let e = n.block.width;
2027
- (typeof e != "number" || k.includes(e)) && r("update", z.widthUpdates(ri));
2028
- } else r("update", z.widthUpdates(e === "full" ? "full" : Number(e)));
2029
- }
2030
- function P(e) {
2031
- M("height", e === "custom" ? ii : void 0);
2027
+ (typeof e != "number" || k.includes(e)) && r("update", B.widthUpdates(ri));
2028
+ } else r("update", B.widthUpdates(e === "full" ? "full" : Number(e)));
2032
2029
  }
2033
2030
  function F(e) {
2034
- let t = Number(e);
2035
- !Number.isFinite(t) || t <= 0 || M("height", t);
2031
+ N("height", e === "custom" ? ii : void 0);
2036
2032
  }
2037
2033
  function I(e) {
2038
- M("borderRadius", ae(e) === null ? void 0 : e);
2034
+ let t = Number(e);
2035
+ !Number.isFinite(t) || t <= 0 || N("height", t);
2036
+ }
2037
+ function L(e) {
2038
+ N("borderRadius", j(e) === null ? void 0 : e);
2039
2039
  }
2040
2040
  function ee(e) {
2041
2041
  let t = Number(e);
2042
- !Number.isFinite(t) || t <= 0 || r("update", z.widthUpdates(t));
2042
+ !Number.isFinite(t) || t <= 0 || r("update", B.widthUpdates(t));
2043
2043
  }
2044
- function L(e) {
2044
+ function z(e) {
2045
2045
  e !== n.block.src && r("update", {
2046
2046
  src: e,
2047
- ...pe(null)
2047
+ ...fe(null)
2048
2048
  });
2049
2049
  }
2050
2050
  function ne(e) {
2051
2051
  r("update", {
2052
2052
  src: e.url,
2053
- ...pe(ce(e.width, e.height))
2054
- }), e.alt && (M("alt", e.alt), C.value = !0), x.value = !0, w();
2053
+ ...fe(se(e.width, e.height))
2054
+ }), e.alt && (N("alt", e.alt), C.value = !0), x.value = !0, w();
2055
2055
  }
2056
- let R = T(), ie = S(() => re(n.block.src, c)), { canBrowse: oe, isUploading: le, showOverlay: ue, openMediaBrowser: he } = ye({
2057
- target: R,
2056
+ let re = T(), ie = S(() => te(n.block.src, c)), { canBrowse: ae, isUploading: ce, showOverlay: le, openMediaBrowser: me } = ve({
2057
+ target: re,
2058
2058
  blocked: ie,
2059
2059
  apply: ne
2060
- }), ge = se(() => ie.value || !n.block.src || fe(n.block) ? void 0 : n.block.src), _e = cn(() => ge.value), ve = S(() => d ? me(d.content.value, n.block.id, f) : null), z = Br({
2060
+ }), he = oe(() => ie.value || !n.block.src || de(n.block) ? void 0 : n.block.src), ge = sn(() => he.value), _e = S(() => d ? pe(d.content.value, n.block.id, f) : null), B = Br({
2061
2061
  block: () => n.block,
2062
- room: () => ve.value,
2063
- measured: () => _e.value
2064
- }), { available: be, locked: B, derivedHeight: xe, cappedHeight: Se } = z;
2065
- function Ce() {
2066
- let e = z.setLocked(!B.value);
2062
+ room: () => _e.value,
2063
+ measured: () => ge.value
2064
+ }), { available: ye, locked: V, derivedHeight: be, cappedHeight: xe } = B;
2065
+ function Se() {
2066
+ let e = B.setLocked(!V.value);
2067
2067
  e && r("update", e);
2068
2068
  }
2069
- let V = T(null);
2070
- function we(e) {
2071
- V.value = e;
2072
- let t = z.heightUpdates(Number(e));
2069
+ let H = T(null);
2070
+ function Ce(e) {
2071
+ H.value = e;
2072
+ let t = B.heightUpdates(Number(e));
2073
2073
  t && r("update", t);
2074
2074
  }
2075
2075
  return (t, n) => (i(), p(E, null, [
2076
- O(q, {
2076
+ O(J, {
2077
2077
  label: h(o).image.imageUrl,
2078
2078
  class: "tpl:mb-3.5",
2079
2079
  path: "src"
2080
2080
  }, {
2081
2081
  default: a(() => [y("div", {
2082
2082
  ref_key: "dropZoneRef",
2083
- ref: R,
2083
+ ref: re,
2084
2084
  class: "tpl:relative"
2085
2085
  }, [
2086
- h(ue) ? (i(), v(de, {
2086
+ h(le) ? (i(), v(ue, {
2087
2087
  key: 0,
2088
- uploading: h(le)
2088
+ uploading: h(ce)
2089
2089
  }, null, 8, ["uploading"])) : _("", !0),
2090
- O(X, {
2090
+ O(Z, {
2091
2091
  "model-value": e.block.src,
2092
2092
  type: "url",
2093
2093
  placeholder: h(o).image.imageUrlPlaceholder,
2094
2094
  pulse: x.value,
2095
- "onUpdate:modelValue": n[0] ||= (e) => L(e)
2095
+ "onUpdate:modelValue": n[0] ||= (e) => z(e)
2096
2096
  }, null, 8, [
2097
2097
  "model-value",
2098
2098
  "placeholder",
2099
2099
  "pulse"
2100
2100
  ]),
2101
- h(oe) ? (i(), p("button", {
2101
+ h(ae) ? (i(), p("button", {
2102
2102
  key: 1,
2103
2103
  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",
2104
2104
  style: {
@@ -2106,15 +2106,15 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2106
2106
  color: "var(--tpl-primary)",
2107
2107
  "background-color": "var(--tpl-bg)"
2108
2108
  },
2109
- onClick: n[1] ||= (...e) => h(he) && h(he)(...e)
2110
- }, [O(h(ke), {
2109
+ onClick: n[1] ||= (...e) => h(me) && h(me)(...e)
2110
+ }, [O(h(Oe), {
2111
2111
  size: 14,
2112
2112
  "stroke-width": 1.5
2113
2113
  }), m(" " + b(h(o).image.browseMedia), 1)])) : _("", !0)
2114
2114
  ], 512)]),
2115
2115
  _: 1
2116
2116
  }, 8, ["label"]),
2117
- h(re)(e.block.src, h(c)) ? (i(), v(q, {
2117
+ h(te)(e.block.src, h(c)) ? (i(), v(J, {
2118
2118
  key: 0,
2119
2119
  class: "tpl:mb-3.5",
2120
2120
  path: "placeholderUrl"
@@ -2122,43 +2122,43 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2122
2122
  label: a(() => [m(b(h(o).image.placeholderUrl) + " ", 1), y("span", Vr, b(h(o).image.optional), 1)]),
2123
2123
  default: a(() => [y("input", {
2124
2124
  type: "url",
2125
- class: g(h(G)),
2125
+ class: g(h(K)),
2126
2126
  value: e.block.placeholderUrl || "",
2127
2127
  placeholder: h(o).image.placeholderUrlPlaceholder,
2128
2128
  title: h(o).image.placeholderUrlTooltip,
2129
- onInput: n[2] ||= (e) => M("placeholderUrl", e.target.value)
2129
+ onInput: n[2] ||= (e) => N("placeholderUrl", e.target.value)
2130
2130
  }, null, 42, Hr)]),
2131
2131
  _: 1
2132
2132
  })) : _("", !0),
2133
- O(q, {
2133
+ O(J, {
2134
2134
  label: h(o).image.altText,
2135
2135
  class: "tpl:mb-3.5",
2136
2136
  path: "alt"
2137
2137
  }, {
2138
- default: a(() => [O(X, {
2138
+ default: a(() => [O(Z, {
2139
2139
  "model-value": e.block.alt,
2140
2140
  type: "text",
2141
2141
  placeholder: h(o).image.altTextPlaceholder,
2142
2142
  pulse: C.value,
2143
2143
  disabled: e.block.decorative === !0,
2144
- "onUpdate:modelValue": n[3] ||= (e) => M("alt", e)
2144
+ "onUpdate:modelValue": n[3] ||= (e) => N("alt", e)
2145
2145
  }, null, 8, [
2146
2146
  "model-value",
2147
2147
  "placeholder",
2148
2148
  "pulse",
2149
2149
  "disabled"
2150
- ]), O(q, {
2150
+ ]), O(J, {
2151
2151
  path: "decorative",
2152
2152
  label: h(o).image.decorative
2153
2153
  }, {
2154
2154
  label: a(() => [y("span", null, [m(b(h(o).image.decorative) + " ", 1), y("span", Ur, b(h(o).image.decorativeHint), 1)])]),
2155
- "label-actions": a(({ controlId: t }) => [O(Y, {
2155
+ "label-actions": a(({ controlId: t }) => [O(X, {
2156
2156
  "control-id": t,
2157
2157
  "hide-label": "",
2158
2158
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2159
2159
  "model-value": e.block.decorative === !0,
2160
2160
  label: h(o).image.decorative,
2161
- "onUpdate:modelValue": n[4] ||= (e) => M("decorative", e)
2161
+ "onUpdate:modelValue": n[4] ||= (e) => N("decorative", e)
2162
2162
  }, null, 8, [
2163
2163
  "control-id",
2164
2164
  "model-value",
@@ -2168,16 +2168,16 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2168
2168
  }, 8, ["label"])]),
2169
2169
  _: 1
2170
2170
  }, 8, ["label"]),
2171
- O(q, {
2171
+ O(J, {
2172
2172
  label: h(o).image.width,
2173
2173
  class: "tpl:mb-3.5",
2174
2174
  path: "width"
2175
2175
  }, {
2176
2176
  default: a(() => [y("select", {
2177
- class: g(h(G)),
2177
+ class: g(h(K)),
2178
2178
  "data-testid": "image-width-mode",
2179
2179
  value: A.value,
2180
- onChange: n[5] ||= (e) => N(e.target.value)
2180
+ onChange: n[5] ||= (e) => P(e.target.value)
2181
2181
  }, [
2182
2182
  y("option", Gr, b(h(o).image.fullWidth), 1),
2183
2183
  n[15] ||= y("option", { value: "300" }, "300px", -1),
@@ -2187,53 +2187,53 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2187
2187
  ], 42, Wr), A.value === "custom" ? (i(), p("div", qr, [y("input", {
2188
2188
  type: "number",
2189
2189
  "data-testid": "image-width-input",
2190
- class: g(h(W)),
2190
+ class: g(h(G)),
2191
2191
  value: typeof e.block.width == "number" ? e.block.width : ri,
2192
2192
  min: "20",
2193
2193
  onInput: n[6] ||= (e) => ee(e.target.value)
2194
- }, null, 42, Jr), y("span", { class: g(h(U)) }, "px", 2)])) : _("", !0)]),
2194
+ }, null, 42, Jr), y("span", { class: g(h(W)) }, "px", 2)])) : _("", !0)]),
2195
2195
  _: 1
2196
2196
  }, 8, ["label"]),
2197
- O(q, {
2197
+ O(J, {
2198
2198
  class: "tpl:mb-3.5",
2199
2199
  path: "height",
2200
2200
  label: h(o).image.height
2201
2201
  }, D({
2202
2202
  default: a(() => [
2203
- h(B) ? (i(), p(E, { key: 0 }, [y("div", Yr, [y("input", {
2203
+ h(V) ? (i(), p(E, { key: 0 }, [y("div", Yr, [y("input", {
2204
2204
  type: "number",
2205
2205
  "data-testid": "image-locked-height-input",
2206
- class: g(h(W)),
2207
- value: V.value ?? h(xe) ?? "",
2206
+ class: g(h(G)),
2207
+ value: H.value ?? h(be) ?? "",
2208
2208
  min: "1",
2209
- onInput: n[7] ||= (e) => we(e.target.value),
2210
- onBlur: n[8] ||= (e) => V.value = null
2211
- }, null, 42, Xr), y("span", { class: g(h(U)) }, "px", 2)]), h(Se) === null ? _("", !0) : (i(), p("p", Zr, b(h(s)(h(o).image.heightCapped, { height: h(Se) })), 1))], 64)) : _("", !0),
2212
- h(B) ? _("", !0) : (i(), p("select", {
2209
+ onInput: n[7] ||= (e) => Ce(e.target.value),
2210
+ onBlur: n[8] ||= (e) => H.value = null
2211
+ }, null, 42, Xr), y("span", { class: g(h(W)) }, "px", 2)]), h(xe) === null ? _("", !0) : (i(), p("p", Zr, b(h(s)(h(o).image.heightCapped, { height: h(xe) })), 1))], 64)) : _("", !0),
2212
+ h(V) ? _("", !0) : (i(), p("select", {
2213
2213
  key: 1,
2214
- class: g(h(G)),
2214
+ class: g(h(K)),
2215
2215
  "data-testid": "image-height-mode",
2216
- value: j.value,
2217
- onChange: n[9] ||= (e) => P(e.target.value)
2216
+ value: M.value,
2217
+ onChange: n[9] ||= (e) => F(e.target.value)
2218
2218
  }, [y("option", $r, b(h(o).image.heightAuto), 1), y("option", ei, b(h(o).image.heightCustom), 1)], 42, Qr)),
2219
- !h(B) && j.value === "custom" ? (i(), p("div", ti, [y("input", {
2219
+ !h(V) && M.value === "custom" ? (i(), p("div", ti, [y("input", {
2220
2220
  type: "number",
2221
2221
  "data-testid": "image-height-input",
2222
- class: g(h(W)),
2222
+ class: g(h(G)),
2223
2223
  value: e.block.height,
2224
2224
  min: "20",
2225
- onInput: n[10] ||= (e) => F(e.target.value)
2226
- }, null, 42, ni), y("span", { class: g(h(U)) }, "px", 2)])) : _("", !0)
2225
+ onInput: n[10] ||= (e) => I(e.target.value)
2226
+ }, null, 42, ni), y("span", { class: g(h(W)) }, "px", 2)])) : _("", !0)
2227
2227
  ]),
2228
2228
  _: 2
2229
- }, [h(be) ? {
2229
+ }, [h(ye) ? {
2230
2230
  name: "label-actions",
2231
- fn: a(() => [O(yt, {
2232
- linked: h(B),
2231
+ fn: a(() => [O(vt, {
2232
+ linked: h(V),
2233
2233
  "link-label": h(o).image.lockAspectRatio,
2234
2234
  "unlink-label": h(o).image.unlockAspectRatio,
2235
2235
  testid: "image-aspect-lock",
2236
- onToggle: Ce
2236
+ onToggle: Se
2237
2237
  }, null, 8, [
2238
2238
  "linked",
2239
2239
  "link-label",
@@ -2241,25 +2241,25 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2241
2241
  ])]),
2242
2242
  key: "0"
2243
2243
  } : void 0]), 1032, ["label"]),
2244
- O(Et, {
2244
+ O(Tt, {
2245
2245
  path: "borderRadius",
2246
2246
  "model-value": e.block.borderRadius,
2247
2247
  label: h(o).image.borderRadius,
2248
2248
  "testid-prefix": "image",
2249
- "onUpdate:modelValue": I
2249
+ "onUpdate:modelValue": L
2250
2250
  }, null, 8, ["model-value", "label"]),
2251
- O(Ct, {
2251
+ O(St, {
2252
2252
  path: "border",
2253
2253
  "model-value": e.block.border,
2254
2254
  "testid-prefix": "image",
2255
- "onUpdate:modelValue": n[11] ||= (e) => M("border", e)
2255
+ "onUpdate:modelValue": n[11] ||= (e) => N("border", e)
2256
2256
  }, null, 8, ["model-value"]),
2257
- O(q, {
2257
+ O(J, {
2258
2258
  label: h(o).title.align,
2259
2259
  class: "tpl:mb-3.5",
2260
2260
  path: "align"
2261
2261
  }, {
2262
- default: a(() => [O(Z, {
2262
+ default: a(() => [O(Q, {
2263
2263
  options: [
2264
2264
  {
2265
2265
  value: "left",
@@ -2275,32 +2275,32 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2275
2275
  }
2276
2276
  ],
2277
2277
  "model-value": e.block.align,
2278
- "onUpdate:modelValue": n[12] ||= (e) => M("align", e)
2278
+ "onUpdate:modelValue": n[12] ||= (e) => N("align", e)
2279
2279
  }, null, 8, ["options", "model-value"])]),
2280
2280
  _: 1
2281
2281
  }, 8, ["label"]),
2282
- O(q, {
2282
+ O(J, {
2283
2283
  label: h(o).image.linkUrl,
2284
2284
  class: "tpl:mb-3.5",
2285
2285
  path: "linkUrl"
2286
2286
  }, {
2287
- default: a(() => [O(X, {
2287
+ default: a(() => [O(Z, {
2288
2288
  "model-value": e.block.linkUrl || "",
2289
2289
  type: "url",
2290
2290
  placeholder: h(o).image.imageUrlPlaceholder,
2291
- "onUpdate:modelValue": n[13] ||= (e) => M("linkUrl", e)
2292
- }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (i(), v(q, {
2291
+ "onUpdate:modelValue": n[13] ||= (e) => N("linkUrl", e)
2292
+ }, null, 8, ["model-value", "placeholder"]), e.block.linkUrl ? (i(), v(J, {
2293
2293
  key: 0,
2294
2294
  path: "linkOpenInNewTab",
2295
2295
  label: h(o).image.openInNewTab
2296
2296
  }, {
2297
- "label-actions": a(({ controlId: t }) => [O(Y, {
2297
+ "label-actions": a(({ controlId: t }) => [O(X, {
2298
2298
  "control-id": t,
2299
2299
  "hide-label": "",
2300
2300
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
2301
2301
  "model-value": e.block.linkOpenInNewTab ?? !1,
2302
2302
  label: h(o).image.openInNewTab,
2303
- "onUpdate:modelValue": n[14] ||= (e) => M("linkOpenInNewTab", e)
2303
+ "onUpdate:modelValue": n[14] ||= (e) => N("linkOpenInNewTab", e)
2304
2304
  }, null, 8, [
2305
2305
  "control-id",
2306
2306
  "model-value",
@@ -2324,7 +2324,7 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2324
2324
  },
2325
2325
  emits: ["update"],
2326
2326
  setup(e, { emit: t }) {
2327
- let n = e, r = t, { t: o } = H(), s = S(() => [
2327
+ let n = e, r = t, { t: o } = U(), s = S(() => [
2328
2328
  {
2329
2329
  key: "openInNewTab",
2330
2330
  label: o.menu.openInNewTab
@@ -2341,17 +2341,17 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2341
2341
  {
2342
2342
  value: "left",
2343
2343
  label: o.title.alignLeft,
2344
- icon: Ie
2344
+ icon: Ne
2345
2345
  },
2346
2346
  {
2347
2347
  value: "center",
2348
2348
  label: o.title.alignCenter,
2349
- icon: ze
2349
+ icon: De
2350
2350
  },
2351
2351
  {
2352
2352
  value: "right",
2353
2353
  label: o.title.alignRight,
2354
- icon: Oe
2354
+ icon: Re
2355
2355
  }
2356
2356
  ]);
2357
2357
  function u(e, t) {
@@ -2379,36 +2379,36 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2379
2379
  r("update", { items: n.block.items.filter((t) => t.id !== e) });
2380
2380
  }
2381
2381
  return (t, n) => (i(), p(E, null, [
2382
- O(q, { label: h(o).menu.items }, {
2382
+ O(J, { label: h(o).menu.items }, {
2383
2383
  default: a(() => [y("div", oi, [(i(!0), p(E, null, c(e.block.items, (t) => (i(), p("div", {
2384
2384
  key: t.id,
2385
2385
  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"
2386
2386
  }, [
2387
- y("div", si, [O(q, {
2387
+ y("div", si, [O(J, {
2388
2388
  path: t.id.includes(".") ? void 0 : `items.${t.id}.text`,
2389
2389
  label: h(o).menu.text
2390
2390
  }, {
2391
2391
  default: a(() => [y("input", {
2392
2392
  type: "text",
2393
- class: g([h(G), "tpl:flex-1"]),
2393
+ class: g([h(K), "tpl:flex-1"]),
2394
2394
  value: t.text,
2395
2395
  placeholder: h(o).menu.text,
2396
2396
  onInput: (e) => f(t.id, "text", e.target.value)
2397
2397
  }, null, 42, ci)]),
2398
2398
  _: 2
2399
2399
  }, 1032, ["path", "label"]), y("button", {
2400
- class: g(h(tt)),
2400
+ class: g(h(et)),
2401
2401
  title: h(o).menu.removeItem,
2402
2402
  onClick: (e) => _(t.id)
2403
- }, [O(h(Re), {
2403
+ }, [O(h(Le), {
2404
2404
  size: 14,
2405
2405
  "stroke-width": 2
2406
2406
  })], 10, li)]),
2407
- O(q, {
2407
+ O(J, {
2408
2408
  path: t.id.includes(".") ? void 0 : `items.${t.id}.url`,
2409
2409
  label: h(o).button.url
2410
2410
  }, {
2411
- default: a(() => [O(X, {
2411
+ default: a(() => [O(Z, {
2412
2412
  "model-value": t.url,
2413
2413
  type: "url",
2414
2414
  placeholder: h(o).menu.urlPlaceholder,
@@ -2420,12 +2420,12 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2420
2420
  ])]),
2421
2421
  _: 2
2422
2422
  }, 1032, ["path", "label"]),
2423
- y("div", ui, [(i(!0), p(E, null, c(s.value, (e) => (i(), v(q, {
2423
+ y("div", ui, [(i(!0), p(E, null, c(s.value, (e) => (i(), v(J, {
2424
2424
  key: e.key,
2425
2425
  path: t.id.includes(".") ? void 0 : `items.${t.id}.${e.key}`,
2426
2426
  label: e.label
2427
2427
  }, {
2428
- "label-actions": a(({ controlId: n }) => [O(Y, {
2428
+ "label-actions": a(({ controlId: n }) => [O(X, {
2429
2429
  "control-id": n,
2430
2430
  "hide-label": "",
2431
2431
  "model-value": t[e.key],
@@ -2439,11 +2439,11 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2439
2439
  ])]),
2440
2440
  _: 2
2441
2441
  }, 1032, ["path", "label"]))), 128))]),
2442
- y("div", di, [O(q, {
2442
+ y("div", di, [O(J, {
2443
2443
  path: t.id.includes(".") ? void 0 : `items.${t.id}.color`,
2444
2444
  label: h(o).menu.color
2445
2445
  }, {
2446
- default: a(() => [O(J, {
2446
+ default: a(() => [O(Y, {
2447
2447
  "swatch-only": "",
2448
2448
  "model-value": t.color || e.block.linkColor || e.block.color || "",
2449
2449
  "onUpdate:modelValue": (e) => f(t.id, "color", e)
@@ -2451,21 +2451,21 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2451
2451
  _: 2
2452
2452
  }, 1032, ["path", "label"])])
2453
2453
  ]))), 128)), y("button", {
2454
- class: g(h(rt)),
2454
+ class: g(h(nt)),
2455
2455
  onClick: d
2456
- }, [O(h(V), {
2456
+ }, [O(h(H), {
2457
2457
  size: 14,
2458
2458
  "stroke-width": 2
2459
2459
  }), m(" " + b(h(o).menu.addItem), 1)], 2)])]),
2460
2460
  _: 1
2461
2461
  }, 8, ["label"]),
2462
- O(q, {
2462
+ O(J, {
2463
2463
  path: "fontFamily",
2464
2464
  label: h(o).menu.fontFamily
2465
2465
  }, {
2466
2466
  default: a(() => [y("select", {
2467
- class: g(h(G)),
2468
- value: h(ft)(e.block.fontFamily),
2467
+ class: g(h(K)),
2468
+ value: h(dt)(e.block.fontFamily),
2469
2469
  onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
2470
2470
  }, [y("option", pi, b(h(o).title.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
2471
2471
  key: e.value,
@@ -2473,11 +2473,11 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2473
2473
  }, b(e.label), 9, mi))), 128))], 42, fi)]),
2474
2474
  _: 1
2475
2475
  }, 8, ["label"]),
2476
- O(q, {
2476
+ O(J, {
2477
2477
  path: "fontSize",
2478
2478
  label: h(o).menu.fontSize
2479
2479
  }, {
2480
- default: a(() => [O(_t, {
2480
+ default: a(() => [O(gt, {
2481
2481
  "model-value": e.block.fontSize,
2482
2482
  min: 8,
2483
2483
  max: 48,
@@ -2486,64 +2486,64 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2486
2486
  }, null, 8, ["model-value"])]),
2487
2487
  _: 1
2488
2488
  }, 8, ["label"]),
2489
- O(q, {
2489
+ O(J, {
2490
2490
  path: "color",
2491
2491
  label: h(o).menu.color
2492
2492
  }, {
2493
- default: a(() => [O(J, {
2493
+ default: a(() => [O(Y, {
2494
2494
  "model-value": e.block.color ?? "",
2495
2495
  "onUpdate:modelValue": n[2] ||= (e) => u("color", e || void 0)
2496
2496
  }, null, 8, ["model-value"])]),
2497
2497
  _: 1
2498
2498
  }, 8, ["label"]),
2499
- O(q, {
2499
+ O(J, {
2500
2500
  path: "linkColor",
2501
2501
  label: h(o).menu.linkColor
2502
2502
  }, {
2503
- default: a(() => [O(J, {
2503
+ default: a(() => [O(Y, {
2504
2504
  "model-value": e.block.linkColor || e.block.color || "",
2505
2505
  "onUpdate:modelValue": n[3] ||= (e) => u("linkColor", e || void 0)
2506
2506
  }, null, 8, ["model-value"])]),
2507
2507
  _: 1
2508
2508
  }, 8, ["label"]),
2509
- O(q, {
2509
+ O(J, {
2510
2510
  path: "textAlign",
2511
2511
  label: h(o).menu.textAlign
2512
2512
  }, {
2513
- default: a(() => [O(Z, {
2513
+ default: a(() => [O(Q, {
2514
2514
  options: l.value,
2515
2515
  "model-value": e.block.textAlign,
2516
2516
  "onUpdate:modelValue": n[4] ||= (e) => u("textAlign", e)
2517
2517
  }, null, 8, ["options", "model-value"])]),
2518
2518
  _: 1
2519
2519
  }, 8, ["label"]),
2520
- O(q, {
2520
+ O(J, {
2521
2521
  path: "separator",
2522
2522
  label: h(o).menu.separator
2523
2523
  }, {
2524
2524
  default: a(() => [y("input", {
2525
2525
  type: "text",
2526
- class: g(h(G)),
2526
+ class: g(h(K)),
2527
2527
  value: e.block.separator,
2528
2528
  onInput: n[5] ||= (e) => u("separator", e.target.value)
2529
2529
  }, null, 42, hi)]),
2530
2530
  _: 1
2531
2531
  }, 8, ["label"]),
2532
- O(q, {
2532
+ O(J, {
2533
2533
  path: "separatorColor",
2534
2534
  label: h(o).menu.separatorColor
2535
2535
  }, {
2536
- default: a(() => [O(J, {
2536
+ default: a(() => [O(Y, {
2537
2537
  "model-value": e.block.separatorColor,
2538
2538
  "onUpdate:modelValue": n[6] ||= (e) => u("separatorColor", e)
2539
2539
  }, null, 8, ["model-value"])]),
2540
2540
  _: 1
2541
2541
  }, 8, ["label"]),
2542
- O(q, {
2542
+ O(J, {
2543
2543
  path: "spacing",
2544
2544
  label: h(o).menu.spacing
2545
2545
  }, {
2546
- default: a(() => [O(_t, {
2546
+ default: a(() => [O(gt, {
2547
2547
  "model-value": e.block.spacing,
2548
2548
  min: 0,
2549
2549
  max: 50,
@@ -2559,8 +2559,8 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2559
2559
  props: { block: {} },
2560
2560
  emits: ["update"],
2561
2561
  setup(e, { emit: t }) {
2562
- let n = t, { t: r } = H();
2563
- return (t, o) => (i(), v(q, {
2562
+ let n = t, { t: r } = U();
2563
+ return (t, o) => (i(), v(J, {
2564
2564
  label: h(r).paragraph.paragraphSpacing,
2565
2565
  class: "tpl:mb-3.5",
2566
2566
  "data-testid": "paragraph-spacing",
@@ -2568,12 +2568,12 @@ var Vr = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, Hr = [
2568
2568
  }, {
2569
2569
  default: a(() => [y("div", _i, [y("input", {
2570
2570
  type: "number",
2571
- class: g(h(W)),
2572
- value: e.block.paragraphSpacing ?? h(F).paragraphGap,
2571
+ class: g(h(G)),
2572
+ value: e.block.paragraphSpacing ?? h(N).paragraphGap,
2573
2573
  min: "0",
2574
2574
  max: "64",
2575
2575
  onInput: o[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2576
- }, null, 42, vi), y("span", { class: g(h(U)) }, "px", 2)])]),
2576
+ }, null, 42, vi), y("span", { class: g(h(W)) }, "px", 2)])]),
2577
2577
  _: 1
2578
2578
  }, 8, ["label"]));
2579
2579
  }
@@ -2604,7 +2604,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2604
2604
  props: { block: {} },
2605
2605
  emits: ["update"],
2606
2606
  setup(e, { emit: t }) {
2607
- let n = e, r = t, { t: o } = H(), s = l(Ue, void 0), u = l(Ge, void 0), d = s !== void 0 && I(s), f = S(() => u !== !1 || !!n.block.wrapper), m = S(() => d && !n.block.wrapper), x = S(() => d && f.value), C = S(() => ne(n.block)?.applied === !0), w = S(() => [
2607
+ let n = e, r = t, { t: o } = U(), s = l(He, void 0), u = l(We, void 0), d = s !== void 0 && F(s), f = S(() => u !== !1 || !!n.block.wrapper), m = S(() => d && !n.block.wrapper), x = S(() => d && f.value), C = S(() => ne(n.block)?.applied === !0), w = S(() => [
2608
2608
  {
2609
2609
  value: "1",
2610
2610
  label: o.section.column1
@@ -2660,21 +2660,21 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2660
2660
  j({ borderRadius: e });
2661
2661
  }
2662
2662
  return (t, n) => (i(), p(E, null, [
2663
- y("div", xi, [y("label", { class: g(h(K)) }, b(h(o).section.columns), 3), y("select", {
2664
- class: g(h(G)),
2663
+ y("div", xi, [y("label", { class: g(h(q)) }, b(h(o).section.columns), 3), y("select", {
2664
+ class: g(h(K)),
2665
2665
  value: e.block.columns,
2666
2666
  onChange: T
2667
2667
  }, [(i(!0), p(E, null, c(w.value, (e) => (i(), p("option", {
2668
2668
  key: e.value,
2669
2669
  value: e.value
2670
2670
  }, b(e.label), 9, Ci))), 128))], 42, Si)]),
2671
- e.block.columns === "1" ? _("", !0) : (i(), v(q, {
2671
+ e.block.columns === "1" ? _("", !0) : (i(), v(J, {
2672
2672
  key: 0,
2673
2673
  class: "tpl:mb-3.5",
2674
2674
  path: "stackOnMobile",
2675
2675
  label: h(o).section.stackOnMobile
2676
2676
  }, {
2677
- "label-actions": a(({ controlId: t }) => [O(Y, {
2677
+ "label-actions": a(({ controlId: t }) => [O(X, {
2678
2678
  "control-id": t,
2679
2679
  "hide-label": "",
2680
2680
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -2688,7 +2688,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2688
2688
  ])]),
2689
2689
  _: 1
2690
2690
  }, 8, ["label"])),
2691
- O(Et, {
2691
+ O(Tt, {
2692
2692
  path: "borderRadius",
2693
2693
  "model-value": e.block.borderRadius,
2694
2694
  label: h(o).section.borderRadius,
@@ -2696,7 +2696,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2696
2696
  "testid-prefix": "section",
2697
2697
  "onUpdate:modelValue": k
2698
2698
  }, null, 8, ["model-value", "label"]),
2699
- C.value ? _("", !0) : (i(), v(Ct, {
2699
+ C.value ? _("", !0) : (i(), v(St, {
2700
2700
  key: 1,
2701
2701
  path: "border",
2702
2702
  "model-value": e.block.border,
@@ -2704,11 +2704,11 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2704
2704
  "onUpdate:modelValue": n[1] ||= (e) => r("update", { border: e })
2705
2705
  }, null, 8, ["model-value"])),
2706
2706
  f.value ? (i(), p("div", wi, [
2707
- O(q, {
2707
+ O(J, {
2708
2708
  path: "wrapper",
2709
2709
  label: h(o).section.wrapperEnable
2710
2710
  }, {
2711
- "label-actions": a(({ controlId: t }) => [O(Y, {
2711
+ "label-actions": a(({ controlId: t }) => [O(X, {
2712
2712
  "control-id": t,
2713
2713
  "hide-label": "",
2714
2714
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
@@ -2726,22 +2726,22 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2726
2726
  }, 8, ["label"]),
2727
2727
  x.value ? (i(), p("p", Ti, b(h(o).section.wrapperLayoutConflict), 1)) : _("", !0),
2728
2728
  e.block.wrapper ? (i(), p("div", Ei, [
2729
- y("div", null, [O(q, {
2729
+ y("div", null, [O(J, {
2730
2730
  path: "wrapper.backgroundColor",
2731
2731
  label: h(o).blockSettings.color
2732
2732
  }, {
2733
- default: a(() => [O(J, {
2733
+ default: a(() => [O(Y, {
2734
2734
  "model-value": e.block.wrapper.backgroundColor ?? "",
2735
2735
  "allow-transparent": "",
2736
2736
  "onUpdate:modelValue": n[3] ||= (e) => j({ backgroundColor: e })
2737
2737
  }, null, 8, ["model-value"])]),
2738
2738
  _: 1
2739
2739
  }, 8, ["label"])]),
2740
- O(q, {
2740
+ O(J, {
2741
2741
  path: "wrapper.backgroundImage",
2742
2742
  label: h(o).blockSettings.backgroundImage
2743
2743
  }, {
2744
- default: a(() => [O(vn, {
2744
+ default: a(() => [O(_n, {
2745
2745
  "hide-label": "",
2746
2746
  "model-value": e.block.wrapper.backgroundImage,
2747
2747
  "testid-prefix": "section-wrapper",
@@ -2749,7 +2749,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2749
2749
  }, null, 8, ["model-value"])]),
2750
2750
  _: 1
2751
2751
  }, 8, ["label"]),
2752
- O(sn, {
2752
+ O(on, {
2753
2753
  path: "wrapper.padding",
2754
2754
  label: h(o).blockSettings.padding,
2755
2755
  "model-value": e.block.wrapper.padding ?? {
@@ -2760,7 +2760,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2760
2760
  },
2761
2761
  "onUpdate:modelValue": M
2762
2762
  }, null, 8, ["label", "model-value"]),
2763
- O(Et, {
2763
+ O(Tt, {
2764
2764
  path: "wrapper.borderRadius",
2765
2765
  "model-value": e.block.wrapper.borderRadius,
2766
2766
  label: h(o).section.borderRadius,
@@ -2777,7 +2777,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2777
2777
  props: { block: {} },
2778
2778
  emits: ["update"],
2779
2779
  setup(e, { emit: t }) {
2780
- let n = e, r = t, { t: o } = H();
2780
+ let n = e, r = t, { t: o } = U();
2781
2781
  function s(e, t) {
2782
2782
  r("update", { [e]: t });
2783
2783
  }
@@ -2800,35 +2800,35 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2800
2800
  r("update", { icons: n.block.icons.filter((t) => t.id !== e) });
2801
2801
  }
2802
2802
  return (t, n) => (i(), p(E, null, [
2803
- y("div", Oi, [y("label", { class: g(h(K)) }, b(h(o).social.icons), 3), y("div", ki, [(i(!0), p(E, null, c(e.block.icons, (e) => (i(), p("div", {
2803
+ y("div", Oi, [y("label", { class: g(h(q)) }, b(h(o).social.icons), 3), y("div", ki, [(i(!0), p(E, null, c(e.block.icons, (e) => (i(), p("div", {
2804
2804
  key: e.id,
2805
2805
  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"
2806
- }, [y("div", Ai, [O(q, {
2806
+ }, [y("div", Ai, [O(J, {
2807
2807
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.platform`,
2808
2808
  label: h(o).social.icons
2809
2809
  }, {
2810
2810
  default: a(() => [y("select", {
2811
2811
  "data-testid": "social-platform-select",
2812
- class: g([h(G), "tpl:flex-1"]),
2812
+ class: g([h(K), "tpl:flex-1"]),
2813
2813
  value: e.platform,
2814
2814
  onChange: (t) => u(e.id, "platform", t.target.value)
2815
- }, [(i(!0), p(E, null, c(h(ve), (e) => (i(), p("option", {
2815
+ }, [(i(!0), p(E, null, c(h(_e), (e) => (i(), p("option", {
2816
2816
  key: e,
2817
2817
  value: e
2818
2818
  }, b(h(o).social.platforms[e]), 9, Mi))), 128))], 42, ji)]),
2819
2819
  _: 2
2820
2820
  }, 1032, ["path", "label"]), y("button", {
2821
- class: g(h(tt)),
2821
+ class: g(h(et)),
2822
2822
  title: h(o).social.removeIcon,
2823
2823
  onClick: (t) => d(e.id)
2824
- }, [O(h(Re), {
2824
+ }, [O(h(Le), {
2825
2825
  size: 14,
2826
2826
  "stroke-width": 2
2827
- })], 10, Ni)]), O(q, {
2827
+ })], 10, Ni)]), O(J, {
2828
2828
  path: e.id.includes(".") ? void 0 : `icons.${e.id}.url`,
2829
2829
  label: h(o).button.url
2830
2830
  }, {
2831
- default: a(() => [O(X, {
2831
+ default: a(() => [O(Z, {
2832
2832
  "model-value": e.url,
2833
2833
  type: "url",
2834
2834
  placeholder: h(o).social.urlPlaceholder,
@@ -2840,19 +2840,19 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2840
2840
  ])]),
2841
2841
  _: 2
2842
2842
  }, 1032, ["path", "label"])]))), 128)), y("button", {
2843
- class: g(h(rt)),
2843
+ class: g(h(nt)),
2844
2844
  onClick: l
2845
- }, [O(h(V), {
2845
+ }, [O(h(H), {
2846
2846
  size: 14,
2847
2847
  "stroke-width": 2
2848
2848
  }), m(" " + b(h(o).social.addIcon), 1)], 2)])]),
2849
- O(q, {
2849
+ O(J, {
2850
2850
  label: h(o).social.style,
2851
2851
  class: "tpl:mb-3.5",
2852
2852
  path: "iconStyle"
2853
2853
  }, {
2854
2854
  default: a(() => [y("select", {
2855
- class: g(h(G)),
2855
+ class: g(h(K)),
2856
2856
  value: e.block.iconStyle,
2857
2857
  onChange: n[0] ||= (e) => s("iconStyle", e.target.value)
2858
2858
  }, [
@@ -2865,14 +2865,14 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2865
2865
  ], 42, Pi)]),
2866
2866
  _: 1
2867
2867
  }, 8, ["label"]),
2868
- O(q, {
2868
+ O(J, {
2869
2869
  label: h(o).social.color,
2870
2870
  class: "tpl:mb-3.5",
2871
2871
  path: "iconTone"
2872
2872
  }, {
2873
2873
  default: a(() => [y("select", {
2874
2874
  "data-testid": "social-tone-select",
2875
- class: g(h(G)),
2875
+ class: g(h(K)),
2876
2876
  value: e.block.iconTone ?? "brand",
2877
2877
  onChange: n[1] ||= (e) => s("iconTone", e.target.value)
2878
2878
  }, [
@@ -2882,12 +2882,12 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2882
2882
  ], 42, Vi)]),
2883
2883
  _: 1
2884
2884
  }, 8, ["label"]),
2885
- O(q, {
2885
+ O(J, {
2886
2886
  label: h(o).social.size,
2887
2887
  class: "tpl:mb-3.5",
2888
2888
  path: "iconSize"
2889
2889
  }, {
2890
- default: a(() => [O(Z, {
2890
+ default: a(() => [O(Q, {
2891
2891
  options: [
2892
2892
  {
2893
2893
  value: "small",
@@ -2907,42 +2907,42 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2907
2907
  }, null, 8, ["options", "model-value"])]),
2908
2908
  _: 1
2909
2909
  }, 8, ["label"]),
2910
- O(q, {
2910
+ O(J, {
2911
2911
  label: h(o).social.spacing,
2912
2912
  class: "tpl:mb-3.5",
2913
2913
  path: "spacing"
2914
2914
  }, {
2915
2915
  default: a(() => [y("div", Gi, [y("input", {
2916
2916
  type: "number",
2917
- class: g(h(W)),
2917
+ class: g(h(G)),
2918
2918
  value: e.block.spacing,
2919
2919
  min: "0",
2920
2920
  max: "50",
2921
2921
  onInput: n[3] ||= (e) => s("spacing", Number(e.target.value))
2922
- }, null, 42, Ki), y("span", { class: g(h(U)) }, "px", 2)])]),
2922
+ }, null, 42, Ki), y("span", { class: g(h(W)) }, "px", 2)])]),
2923
2923
  _: 1
2924
2924
  }, 8, ["label"]),
2925
- O(q, {
2925
+ O(J, {
2926
2926
  label: h(o).social.align,
2927
2927
  class: "tpl:mb-3.5",
2928
2928
  path: "align"
2929
2929
  }, {
2930
- default: a(() => [O(Z, {
2930
+ default: a(() => [O(Q, {
2931
2931
  options: [
2932
2932
  {
2933
2933
  value: "left",
2934
2934
  label: h(o).title.alignLeft,
2935
- icon: h(Ie)
2935
+ icon: h(Ne)
2936
2936
  },
2937
2937
  {
2938
2938
  value: "center",
2939
2939
  label: h(o).title.alignCenter,
2940
- icon: h(ze)
2940
+ icon: h(De)
2941
2941
  },
2942
2942
  {
2943
2943
  value: "right",
2944
2944
  label: h(o).title.alignRight,
2945
- icon: h(Oe)
2945
+ icon: h(Re)
2946
2946
  }
2947
2947
  ],
2948
2948
  "model-value": e.block.align,
@@ -2957,20 +2957,20 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2957
2957
  props: { block: {} },
2958
2958
  emits: ["update"],
2959
2959
  setup(e, { emit: t }) {
2960
- let n = t, { t: r } = H();
2961
- return (t, o) => (i(), v(q, {
2960
+ let n = t, { t: r } = U();
2961
+ return (t, o) => (i(), v(J, {
2962
2962
  label: h(r).spacer.height,
2963
2963
  class: "tpl:mb-3.5",
2964
2964
  path: "height"
2965
2965
  }, {
2966
2966
  default: a(() => [y("div", Ji, [y("input", {
2967
2967
  type: "number",
2968
- class: g(h(W)),
2968
+ class: g(h(G)),
2969
2969
  value: e.block.height,
2970
2970
  min: "10",
2971
2971
  max: "100",
2972
2972
  onInput: o[0] ||= (e) => n("update", { height: Number(e.target.value) })
2973
- }, null, 42, Yi), y("span", { class: g(h(U)) }, "px", 2)]), y("input", {
2973
+ }, null, 42, Yi), y("span", { class: g(h(W)) }, "px", 2)]), y("input", {
2974
2974
  type: "range",
2975
2975
  class: "tpl:mt-2 tpl:w-full tpl:accent-[var(--tpl-primary)]",
2976
2976
  value: e.block.height,
@@ -2989,7 +2989,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
2989
2989
  },
2990
2990
  emits: ["update"],
2991
2991
  setup(e, { emit: t }) {
2992
- let n = e, r = t, { t: o } = H(), s = S(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2992
+ let n = e, r = t, { t: o } = U(), s = S(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
2993
2993
  function l(e, t) {
2994
2994
  r("update", { [e]: t });
2995
2995
  }
@@ -3024,12 +3024,12 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3024
3024
  r("update", { rows: t });
3025
3025
  }
3026
3026
  return (t, n) => (i(), p(E, null, [
3027
- y("div", Qi, [y("label", { class: g(h(K)) }, b(h(o).table.dimensions), 3), y("div", $i, [y("div", ea, [y("span", ta, b(h(o).table.rows), 1), y("div", na, [
3027
+ y("div", Qi, [y("label", { class: g(h(q)) }, b(h(o).table.dimensions), 3), y("div", $i, [y("div", ea, [y("span", ta, b(h(o).table.rows), 1), y("div", na, [
3028
3028
  y("button", {
3029
3029
  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",
3030
3030
  disabled: e.block.rows.length <= 1,
3031
3031
  onClick: n[0] ||= (t) => d(e.block.rows[e.block.rows.length - 1].id)
3032
- }, [O(h(je), {
3032
+ }, [O(h(Ae), {
3033
3033
  size: 12,
3034
3034
  "stroke-width": 2
3035
3035
  })], 8, ra),
@@ -3037,7 +3037,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3037
3037
  y("button", {
3038
3038
  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)]",
3039
3039
  onClick: u
3040
- }, [O(h(V), {
3040
+ }, [O(h(H), {
3041
3041
  size: 12,
3042
3042
  "stroke-width": 2
3043
3043
  })])
@@ -3046,7 +3046,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3046
3046
  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",
3047
3047
  disabled: s.value <= 1,
3048
3048
  onClick: n[1] ||= (e) => m(s.value - 1)
3049
- }, [O(h(je), {
3049
+ }, [O(h(Ae), {
3050
3050
  size: 12,
3051
3051
  "stroke-width": 2
3052
3052
  })], 8, ca),
@@ -3054,17 +3054,17 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3054
3054
  y("button", {
3055
3055
  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)]",
3056
3056
  onClick: f
3057
- }, [O(h(V), {
3057
+ }, [O(h(H), {
3058
3058
  size: 12,
3059
3059
  "stroke-width": 2
3060
3060
  })])
3061
3061
  ])])])]),
3062
- O(q, {
3062
+ O(J, {
3063
3063
  class: "tpl:mb-3.5",
3064
3064
  path: "hasHeaderRow",
3065
3065
  label: h(o).table.hasHeaderRow
3066
3066
  }, {
3067
- "label-actions": a(({ controlId: t }) => [O(Y, {
3067
+ "label-actions": a(({ controlId: t }) => [O(X, {
3068
3068
  "control-id": t,
3069
3069
  "hide-label": "",
3070
3070
  class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]",
@@ -3078,15 +3078,15 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3078
3078
  ])]),
3079
3079
  _: 1
3080
3080
  }, 8, ["label"]),
3081
- e.block.hasHeaderRow ? (i(), v(q, {
3081
+ e.block.hasHeaderRow ? (i(), v(J, {
3082
3082
  key: 0,
3083
3083
  label: h(o).table.headerBackgroundColor,
3084
3084
  class: "tpl:mb-3.5",
3085
3085
  path: "headerBackgroundColor"
3086
3086
  }, {
3087
- default: a(() => [O(J, {
3087
+ default: a(() => [O(Y, {
3088
3088
  "model-value": e.block.headerBackgroundColor ?? "",
3089
- "seed-color": h(it),
3089
+ "seed-color": h(rt),
3090
3090
  placeholder: h(o).table.noHeaderBg,
3091
3091
  "onUpdate:modelValue": n[3] ||= (e) => l("headerBackgroundColor", e || null)
3092
3092
  }, null, 8, [
@@ -3096,55 +3096,55 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3096
3096
  ])]),
3097
3097
  _: 1
3098
3098
  }, 8, ["label"])) : _("", !0),
3099
- O(q, {
3099
+ O(J, {
3100
3100
  label: h(o).table.borderColor,
3101
3101
  class: "tpl:mb-3.5",
3102
3102
  path: "borderColor"
3103
3103
  }, {
3104
- default: a(() => [O(J, {
3104
+ default: a(() => [O(Y, {
3105
3105
  "model-value": e.block.borderColor,
3106
3106
  "onUpdate:modelValue": n[4] ||= (e) => l("borderColor", e)
3107
3107
  }, null, 8, ["model-value"])]),
3108
3108
  _: 1
3109
3109
  }, 8, ["label"]),
3110
- O(q, {
3110
+ O(J, {
3111
3111
  label: h(o).table.borderWidth,
3112
3112
  class: "tpl:mb-3.5",
3113
3113
  path: "borderWidth"
3114
3114
  }, {
3115
3115
  default: a(() => [y("div", ua, [y("input", {
3116
3116
  type: "number",
3117
- class: g(h(W)),
3117
+ class: g(h(G)),
3118
3118
  value: e.block.borderWidth,
3119
3119
  min: "0",
3120
3120
  max: "10",
3121
3121
  onInput: n[5] ||= (e) => l("borderWidth", Number(e.target.value))
3122
- }, null, 42, da), y("span", { class: g(h(U)) }, "px", 2)])]),
3122
+ }, null, 42, da), y("span", { class: g(h(W)) }, "px", 2)])]),
3123
3123
  _: 1
3124
3124
  }, 8, ["label"]),
3125
- O(q, {
3125
+ O(J, {
3126
3126
  label: h(o).table.cellPadding,
3127
3127
  class: "tpl:mb-3.5",
3128
3128
  path: "cellPadding"
3129
3129
  }, {
3130
3130
  default: a(() => [y("div", fa, [y("input", {
3131
3131
  type: "number",
3132
- class: g(h(W)),
3132
+ class: g(h(G)),
3133
3133
  value: e.block.cellPadding,
3134
3134
  min: "0",
3135
3135
  max: "30",
3136
3136
  onInput: n[6] ||= (e) => l("cellPadding", Number(e.target.value))
3137
- }, null, 42, pa), y("span", { class: g(h(U)) }, "px", 2)])]),
3137
+ }, null, 42, pa), y("span", { class: g(h(W)) }, "px", 2)])]),
3138
3138
  _: 1
3139
3139
  }, 8, ["label"]),
3140
- O(q, {
3140
+ O(J, {
3141
3141
  label: h(o).table.fontFamily,
3142
3142
  class: "tpl:mb-3.5",
3143
3143
  path: "fontFamily"
3144
3144
  }, {
3145
3145
  default: a(() => [y("select", {
3146
- class: g(h(G)),
3147
- value: h(ft)(e.block.fontFamily),
3146
+ class: g(h(K)),
3147
+ value: h(dt)(e.block.fontFamily),
3148
3148
  onChange: n[7] ||= (e) => l("fontFamily", e.target.value || void 0)
3149
3149
  }, [y("option", ha, b(h(o).title.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
3150
3150
  key: e.value,
@@ -3152,53 +3152,53 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3152
3152
  }, b(e.label), 9, ga))), 128))], 42, ma)]),
3153
3153
  _: 1
3154
3154
  }, 8, ["label"]),
3155
- O(q, {
3155
+ O(J, {
3156
3156
  label: h(o).table.fontSize,
3157
3157
  class: "tpl:mb-3.5",
3158
3158
  path: "fontSize"
3159
3159
  }, {
3160
3160
  default: a(() => [y("div", _a, [y("input", {
3161
3161
  type: "number",
3162
- class: g(h(W)),
3162
+ class: g(h(G)),
3163
3163
  value: e.block.fontSize,
3164
3164
  min: "10",
3165
3165
  max: "32",
3166
3166
  onInput: n[8] ||= (e) => l("fontSize", Number(e.target.value))
3167
- }, null, 42, va), y("span", { class: g(h(U)) }, "px", 2)])]),
3167
+ }, null, 42, va), y("span", { class: g(h(W)) }, "px", 2)])]),
3168
3168
  _: 1
3169
3169
  }, 8, ["label"]),
3170
- O(q, {
3170
+ O(J, {
3171
3171
  label: h(o).table.color,
3172
3172
  class: "tpl:mb-3.5",
3173
3173
  path: "color"
3174
3174
  }, {
3175
- default: a(() => [O(J, {
3175
+ default: a(() => [O(Y, {
3176
3176
  "model-value": e.block.color ?? "",
3177
3177
  "onUpdate:modelValue": n[9] ||= (e) => l("color", e || void 0)
3178
3178
  }, null, 8, ["model-value"])]),
3179
3179
  _: 1
3180
3180
  }, 8, ["label"]),
3181
- O(q, {
3181
+ O(J, {
3182
3182
  label: h(o).table.textAlign,
3183
3183
  class: "tpl:mb-3.5",
3184
3184
  path: "textAlign"
3185
3185
  }, {
3186
- default: a(() => [O(Z, {
3186
+ default: a(() => [O(Q, {
3187
3187
  options: [
3188
3188
  {
3189
3189
  value: "left",
3190
3190
  label: h(o).title.alignLeft,
3191
- icon: h(Ie)
3191
+ icon: h(Ne)
3192
3192
  },
3193
3193
  {
3194
3194
  value: "center",
3195
3195
  label: h(o).title.alignCenter,
3196
- icon: h(ze)
3196
+ icon: h(De)
3197
3197
  },
3198
3198
  {
3199
3199
  value: "right",
3200
3200
  label: h(o).title.alignRight,
3201
- icon: h(Oe)
3201
+ icon: h(Re)
3202
3202
  }
3203
3203
  ],
3204
3204
  "model-value": e.block.textAlign,
@@ -3216,18 +3216,18 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3216
3216
  },
3217
3217
  emits: ["update"],
3218
3218
  setup(e, { emit: t }) {
3219
- let n = t, { t: r } = H();
3219
+ let n = t, { t: r } = U();
3220
3220
  function o(e, t) {
3221
3221
  n("update", { [e]: t });
3222
3222
  }
3223
3223
  return (t, n) => (i(), p(E, null, [
3224
- O(q, {
3224
+ O(J, {
3225
3225
  label: h(r).title.level,
3226
3226
  class: "tpl:mb-3.5",
3227
3227
  path: "level"
3228
3228
  }, {
3229
3229
  default: a(() => [y("select", {
3230
- class: g(h(G)),
3230
+ class: g(h(K)),
3231
3231
  value: e.block.level,
3232
3232
  onChange: n[0] ||= (e) => o("level", Number(e.target.value))
3233
3233
  }, [
@@ -3238,14 +3238,14 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3238
3238
  ], 42, ba)]),
3239
3239
  _: 1
3240
3240
  }, 8, ["label"]),
3241
- O(q, {
3241
+ O(J, {
3242
3242
  label: h(r).title.fontFamily,
3243
3243
  class: "tpl:mb-3.5",
3244
3244
  path: "fontFamily"
3245
3245
  }, {
3246
3246
  default: a(() => [y("select", {
3247
- class: g(h(G)),
3248
- value: h(ft)(e.block.fontFamily),
3247
+ class: g(h(K)),
3248
+ value: h(dt)(e.block.fontFamily),
3249
3249
  onChange: n[1] ||= (e) => o("fontFamily", e.target.value || void 0)
3250
3250
  }, [y("option", Ea, b(h(r).title.inheritFont), 1), (i(!0), p(E, null, c(e.fontFamilies, (e) => (i(), p("option", {
3251
3251
  key: e.value,
@@ -3253,38 +3253,38 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3253
3253
  }, b(e.label), 9, Da))), 128))], 42, Ta)]),
3254
3254
  _: 1
3255
3255
  }, 8, ["label"]),
3256
- O(q, {
3256
+ O(J, {
3257
3257
  label: h(r).title.color,
3258
3258
  class: "tpl:mb-3.5",
3259
3259
  path: "color"
3260
3260
  }, {
3261
- default: a(() => [O(J, {
3261
+ default: a(() => [O(Y, {
3262
3262
  "model-value": e.block.color ?? "",
3263
3263
  "onUpdate:modelValue": n[2] ||= (e) => o("color", e || void 0)
3264
3264
  }, null, 8, ["model-value"])]),
3265
3265
  _: 1
3266
3266
  }, 8, ["label"]),
3267
- O(q, {
3267
+ O(J, {
3268
3268
  label: h(r).title.align,
3269
3269
  class: "tpl:mb-3.5",
3270
3270
  path: "textAlign"
3271
3271
  }, {
3272
- default: a(() => [O(Z, {
3272
+ default: a(() => [O(Q, {
3273
3273
  options: [
3274
3274
  {
3275
3275
  value: "left",
3276
3276
  label: h(r).title.alignLeft,
3277
- icon: h(Ie)
3277
+ icon: h(Ne)
3278
3278
  },
3279
3279
  {
3280
3280
  value: "center",
3281
3281
  label: h(r).title.alignCenter,
3282
- icon: h(ze)
3282
+ icon: h(De)
3283
3283
  },
3284
3284
  {
3285
3285
  value: "right",
3286
3286
  label: h(r).title.alignRight,
3287
- icon: h(Oe)
3287
+ icon: h(Re)
3288
3288
  }
3289
3289
  ],
3290
3290
  "model-value": e.block.textAlign,
@@ -3309,14 +3309,14 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3309
3309
  props: { block: {} },
3310
3310
  emits: ["update"],
3311
3311
  setup(e, { emit: t }) {
3312
- let n = e, r = t, { t: o } = H(), s = l(We, null), c = l(Be, te.liquid), u = ue(), d = [
3312
+ let n = e, r = t, { t: o } = U(), s = l(Ue, null), c = l(ze, R.liquid), u = le(), d = [
3313
3313
  300,
3314
3314
  400,
3315
3315
  500
3316
- ], f = S(() => !!s), x = S(() => re(n.block.url, c)), C = S(() => {
3316
+ ], f = S(() => !!s), x = S(() => te(n.block.url, c)), C = S(() => {
3317
3317
  let e = n.block.width;
3318
3318
  return e === "full" ? "full" : d.includes(e) ? String(e) : "custom";
3319
- }), w = S(() => typeof n.block.height == "number" ? "custom" : "auto"), D = T(!1), { start: k } = ot(() => {
3319
+ }), w = S(() => typeof n.block.height == "number" ? "custom" : "auto"), D = T(!1), { start: k } = at(() => {
3320
3320
  D.value = !1;
3321
3321
  }, 1e3, { immediate: !1 });
3322
3322
  function A(e, t) {
@@ -3344,22 +3344,22 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3344
3344
  u.alive && e && (A("thumbnailUrl", e.url), D.value = !0, k());
3345
3345
  }
3346
3346
  return (t, n) => (i(), p(E, null, [
3347
- O(q, {
3347
+ O(J, {
3348
3348
  label: h(o).video.videoUrl,
3349
3349
  class: "tpl:mb-3.5",
3350
3350
  path: "url"
3351
3351
  }, {
3352
- default: a(() => [O(X, {
3352
+ default: a(() => [O(Z, {
3353
3353
  "model-value": e.block.url,
3354
3354
  type: "url",
3355
3355
  placeholder: h(o).video.videoUrlPlaceholder,
3356
3356
  "onUpdate:modelValue": n[0] ||= (e) => A("url", e)
3357
- }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(q, {
3357
+ }, null, 8, ["model-value", "placeholder"]), e.block.url ? (i(), v(J, {
3358
3358
  key: 0,
3359
3359
  path: "openInNewTab",
3360
3360
  label: h(o).video.openInNewTab
3361
3361
  }, {
3362
- "label-actions": a(({ controlId: t }) => [O(Y, {
3362
+ "label-actions": a(({ controlId: t }) => [O(X, {
3363
3363
  "control-id": t,
3364
3364
  "hide-label": "",
3365
3365
  class: "tpl:mt-2 tpl:text-[12px] tpl:text-[var(--tpl-text-muted)]",
@@ -3375,7 +3375,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3375
3375
  }, 8, ["label"])) : _("", !0)]),
3376
3376
  _: 1
3377
3377
  }, 8, ["label"]),
3378
- x.value ? (i(), v(q, {
3378
+ x.value ? (i(), v(J, {
3379
3379
  key: 0,
3380
3380
  class: "tpl:mb-3.5",
3381
3381
  path: "placeholderUrl"
@@ -3383,7 +3383,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3383
3383
  label: a(() => [m(b(h(o).video.placeholderUrl) + " ", 1), y("span", ka, b(h(o).video.optional), 1)]),
3384
3384
  default: a(() => [y("input", {
3385
3385
  type: "url",
3386
- class: g(h(G)),
3386
+ class: g(h(K)),
3387
3387
  value: e.block.placeholderUrl || "",
3388
3388
  placeholder: h(o).video.placeholderUrlPlaceholder,
3389
3389
  title: h(o).video.placeholderUrlTooltip,
@@ -3391,12 +3391,12 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3391
3391
  }, null, 42, Aa)]),
3392
3392
  _: 1
3393
3393
  })) : _("", !0),
3394
- O(q, {
3394
+ O(J, {
3395
3395
  class: "tpl:mb-3.5",
3396
3396
  path: "thumbnailUrl"
3397
3397
  }, {
3398
3398
  label: a(() => [m(b(h(o).video.customThumbnail) + " ", 1), y("span", ja, b(h(o).video.optional), 1)]),
3399
- default: a(() => [O(X, {
3399
+ default: a(() => [O(Z, {
3400
3400
  "model-value": e.block.thumbnailUrl,
3401
3401
  type: "url",
3402
3402
  placeholder: h(o).video.thumbnailPlaceholder,
@@ -3415,18 +3415,18 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3415
3415
  "background-color": "var(--tpl-bg)"
3416
3416
  },
3417
3417
  onClick: F
3418
- }, [O(h(ke), {
3418
+ }, [O(h(Oe), {
3419
3419
  size: 14,
3420
3420
  "stroke-width": 1.5
3421
3421
  }), m(" " + b(h(o).image.browseMedia), 1)])) : _("", !0)]),
3422
3422
  _: 1
3423
3423
  }),
3424
- O(q, {
3424
+ O(J, {
3425
3425
  label: h(o).video.altText,
3426
3426
  class: "tpl:mb-3.5",
3427
3427
  path: "alt"
3428
3428
  }, {
3429
- default: a(() => [O(X, {
3429
+ default: a(() => [O(Z, {
3430
3430
  "model-value": e.block.alt,
3431
3431
  type: "text",
3432
3432
  placeholder: h(o).video.altTextPlaceholder,
@@ -3434,13 +3434,13 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3434
3434
  }, null, 8, ["model-value", "placeholder"])]),
3435
3435
  _: 1
3436
3436
  }, 8, ["label"]),
3437
- O(q, {
3437
+ O(J, {
3438
3438
  label: h(o).video.width,
3439
3439
  class: "tpl:mb-3.5",
3440
3440
  path: "width"
3441
3441
  }, {
3442
3442
  default: a(() => [y("select", {
3443
- class: g(h(G)),
3443
+ class: g(h(K)),
3444
3444
  "data-testid": "video-width-mode",
3445
3445
  value: C.value,
3446
3446
  onChange: n[5] ||= (e) => j(e.target.value)
@@ -3453,39 +3453,39 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3453
3453
  ], 42, Ma), C.value === "custom" ? (i(), p("div", Fa, [y("input", {
3454
3454
  type: "number",
3455
3455
  "data-testid": "video-width-input",
3456
- class: g(h(W)),
3456
+ class: g(h(G)),
3457
3457
  value: e.block.width,
3458
3458
  min: "20",
3459
3459
  onInput: n[6] ||= (e) => M(e.target.value)
3460
- }, null, 42, Ia), y("span", { class: g(h(U)) }, "px", 2)])) : _("", !0)]),
3460
+ }, null, 42, Ia), y("span", { class: g(h(W)) }, "px", 2)])) : _("", !0)]),
3461
3461
  _: 1
3462
3462
  }, 8, ["label"]),
3463
- O(q, {
3463
+ O(J, {
3464
3464
  label: h(o).video.height,
3465
3465
  class: "tpl:mb-3.5",
3466
3466
  path: "height"
3467
3467
  }, {
3468
3468
  default: a(() => [y("select", {
3469
- class: g(h(G)),
3469
+ class: g(h(K)),
3470
3470
  "data-testid": "video-height-mode",
3471
3471
  value: w.value,
3472
3472
  onChange: n[7] ||= (e) => N(e.target.value)
3473
3473
  }, [y("option", Ra, b(h(o).video.heightAuto), 1), y("option", za, b(h(o).video.heightCustom), 1)], 42, La), w.value === "custom" ? (i(), p("div", Ba, [y("input", {
3474
3474
  type: "number",
3475
3475
  "data-testid": "video-height-input",
3476
- class: g(h(W)),
3476
+ class: g(h(G)),
3477
3477
  value: e.block.height,
3478
3478
  min: "20",
3479
3479
  onInput: n[8] ||= (e) => P(e.target.value)
3480
- }, null, 42, Va), y("span", { class: g(h(U)) }, "px", 2)])) : _("", !0)]),
3480
+ }, null, 42, Va), y("span", { class: g(h(W)) }, "px", 2)])) : _("", !0)]),
3481
3481
  _: 1
3482
3482
  }, 8, ["label"]),
3483
- O(q, {
3483
+ O(J, {
3484
3484
  label: h(o).title.align,
3485
3485
  class: "tpl:mb-3.5",
3486
3486
  path: "align"
3487
3487
  }, {
3488
- default: a(() => [O(Z, {
3488
+ default: a(() => [O(Q, {
3489
3489
  options: [
3490
3490
  {
3491
3491
  value: "left",
@@ -3516,9 +3516,9 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3516
3516
  "duplicate"
3517
3517
  ],
3518
3518
  setup(e, { emit: t }) {
3519
- let r = f(() => import("./CountdownToolbar-DxwYBw-d.js")), a = e, o = t, { t: s } = H(), c = st(), u = Ye(qe, "Toolbar"), d = l(Je, []), m = S(() => a.block.type), g = S(() => L(a.block)), x = S(() => {
3519
+ let r = f(() => import("./CountdownToolbar-CNgsNL5-.js")), a = e, o = t, { t: s } = U(), c = ot(), u = Je(Ke, "Toolbar"), d = l(qe, []), m = S(() => a.block.type), g = S(() => P(a.block)), x = S(() => {
3520
3520
  if (g.value) return d.find((e) => e.type === a.block.customType);
3521
- }), C = S(() => g.value ? x.value?.name ?? a.block.customType : le(m.value, s)), w = S(() => dt(u.fonts.value, "fontFamily" in a.block ? a.block.fontFamily : void 0));
3521
+ }), C = S(() => g.value ? x.value?.name ?? a.block.customType : ce(m.value, s)), w = S(() => ut(u.fonts.value, "fontFamily" in a.block ? a.block.fontFamily : void 0));
3522
3522
  function T(e) {
3523
3523
  c.value && o("update", e);
3524
3524
  }
@@ -3530,11 +3530,11 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3530
3530
  disabled: !h(c),
3531
3531
  inert: !h(c),
3532
3532
  class: "tpl:contents"
3533
- }, [y("div", qa, [y("div", Ja, [h(lt)[m.value] ? (i(), v(n(h(lt)[m.value]), {
3533
+ }, [y("div", qa, [y("div", Ja, [h(ct)[m.value] ? (i(), v(n(h(ct)[m.value]), {
3534
3534
  key: 0,
3535
3535
  size: 16,
3536
3536
  "stroke-width": 1.5
3537
- })) : g.value ? (i(), v(h(Te), {
3537
+ })) : g.value ? (i(), v(h(we), {
3538
3538
  key: 1,
3539
3539
  size: 16,
3540
3540
  "stroke-width": 1.5
@@ -3542,14 +3542,14 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3542
3542
  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)]",
3543
3543
  title: h(s).toolbar.duplicate,
3544
3544
  onClick: a[0] ||= (e) => o("duplicate")
3545
- }, [O(h(Se), {
3545
+ }, [O(h(xe), {
3546
3546
  size: 14,
3547
3547
  "stroke-width": 2
3548
3548
  })], 8, Za), y("button", {
3549
3549
  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)]",
3550
3550
  title: h(s).toolbar.delete,
3551
3551
  onClick: a[1] ||= (e) => o("delete")
3552
- }, [O(h(Me), {
3552
+ }, [O(h(je), {
3553
3553
  size: 14,
3554
3554
  "stroke-width": 2
3555
3555
  })], 8, Qa)])]), y("div", $a, [g.value ? (i(), v(Nr, {
@@ -3578,7 +3578,7 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3578
3578
  key: 5,
3579
3579
  block: e.block,
3580
3580
  onUpdate: T
3581
- }, null, 8, ["block"])) : m.value === "button" ? (i(), v(zt, {
3581
+ }, null, 8, ["block"])) : m.value === "button" ? (i(), v(Rt, {
3582
3582
  key: 6,
3583
3583
  block: e.block,
3584
3584
  "font-families": w.value,
@@ -3614,13 +3614,13 @@ var xi = { class: "tpl:mb-3.5" }, Si = ["value"], Ci = ["value"], wi = {
3614
3614
  block: e.block,
3615
3615
  "font-families": w.value,
3616
3616
  onUpdate: T
3617
- }, null, 8, ["block", "font-families"])) : _("", !0), O(Jn, {
3617
+ }, null, 8, ["block", "font-families"])) : _("", !0), O(qn, {
3618
3618
  block: e.block,
3619
3619
  "is-first-section": m.value === "paragraph",
3620
3620
  onUpdate: T
3621
3621
  }, null, 8, ["block", "is-first-section"])])], 8, Ka)], 8, Ga));
3622
3622
  }
3623
- }), to = /* @__PURE__ */ e({ default: () => no }), no = /*#__PURE__*/ B(eo, [["__scopeId", "data-v-206f038f"]]);
3624
- export { no as default, _t as n, Z as r, to as t };
3623
+ }), to = /* @__PURE__ */ e({ default: () => no }), no = /*#__PURE__*/ V(eo, [["__scopeId", "data-v-206f038f"]]);
3624
+ export { no as default, gt as n, Q as r, to as t };
3625
3625
 
3626
- //# sourceMappingURL=Toolbar-BJKpJ2Mg.js.map
3626
+ //# sourceMappingURL=Toolbar-BlWVQRcA.js.map