@templatical/editor 0.60.3 → 0.61.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 (211) hide show
  1. package/dist/{AiChatPanel-DPoq2Til.js → AiChatPanel-DF5TvO9H.js} +166 -166
  2. package/dist/{AiPanels-UdfhAzzu.js → AiPanels-zRqC5DIP.js} +1 -1
  3. package/dist/{AiRewriteMenu-DOreXB10.js → AiRewriteMenu-CmZKTO-O.js} +6 -6
  4. package/dist/{BlockIssueBadge-DQ_6NI4p.js → BlockIssueBadge-Bug5iqcK.js} +2 -2
  5. package/dist/{BlockPreviewCanvas-YaFum01Z.js → BlockPreviewCanvas-knSyWaCP.js} +3 -3
  6. package/dist/{CloudPanels-Bxv7vUYr.js → CloudPanels-BbHJHZri.js} +3 -3
  7. package/dist/{CollaborationNotices-PqWv0q8W.js → CollaborationNotices-BM35YG72.js} +1 -1
  8. package/dist/{CollaboratorBar-p-_PWqXW.js → CollaboratorBar-DMsEOndt.js} +1 -1
  9. package/dist/{CommentsPanel-BUo-YhSX.js → CommentsPanel-BMYvXRKK.js} +1 -1
  10. package/dist/{CommentsSidebar-D_Pz7FPz.js → CommentsSidebar-_8at1Rug.js} +139 -139
  11. package/dist/{CountdownToolbar-BQdhVNaK.js → CountdownToolbar-BprSuPJk.js} +3 -3
  12. package/dist/{IssuesPanel-C7mBrK6a.js → IssuesPanel-CeCvUfa7.js} +8 -8
  13. package/dist/{LanguageMenu-wS43Ck1x.js → LanguageMenu-CkGqLYjf.js} +124 -124
  14. package/dist/{LocaleNotices-CAvDAawJ.js → LocaleNotices-D0be8ovO.js} +10 -10
  15. package/dist/{LogicTagInsertButton-Clc3JTg_.js → LogicTagInsertButton-BzEZUTRZ.js} +3 -3
  16. package/dist/{MediaEditModal-YXOL0d_y.js → MediaEditModal-Bg-7RojG.js} +1 -1
  17. package/dist/{MediaPanels-VCv5epgs.js → MediaPanels-E9gLZ1Qb.js} +1 -1
  18. package/dist/{MergeTagInput-B5a9noTB.js → MergeTagInput-By2FSStk.js} +1 -1
  19. package/dist/{MergeTagModeToggle-D1r2aH5x.js → MergeTagModeToggle-DtjOZhoD.js} +3 -3
  20. package/dist/{MergeTagTextarea-CA9dPfMH.js → MergeTagTextarea-BjHlamJv.js} +14 -14
  21. package/dist/{ParagraphEditor-zMOqNnmx.js → ParagraphEditor-Ctu4fSsl.js} +23 -23
  22. package/dist/{RestoreVersionDialog-DdPpilBS.js → RestoreVersionDialog-DvZoTJVa.js} +3 -3
  23. package/dist/{RichTextEditorContent-gnRxu4-L.js → RichTextEditorContent-B1p7Ykq8.js} +4 -4
  24. package/dist/{SaveBlockDialog-CQzccFIM.js → SaveBlockDialog-DHfT-Tpx.js} +7 -7
  25. package/dist/{SavedBlocksBrowserModal-8cZ9z-pL.js → SavedBlocksBrowserModal-BjJuuXQv.js} +9 -9
  26. package/dist/{SavedBlocksPanels-C9Oztudc.js → SavedBlocksPanels-D6eiMQZ3.js} +1 -1
  27. package/dist/{SavedBlocksPickBar-udG0wuTf.js → SavedBlocksPickBar-BkgCDSXe.js} +2 -2
  28. package/dist/{TemplateSettings-DsaSsCC8.js → TemplateSettings-DQAbNsiS.js} +6 -6
  29. package/dist/{TestEmailModal-BP6954nj.js → TestEmailModal-m_AEa36T.js} +7 -7
  30. package/dist/{TestEmailPanel-5YlcWwPJ.js → TestEmailPanel-OApkuaVd.js} +1 -1
  31. package/dist/{TitleEditor-Cy-6WZuK.js → TitleEditor-Cwdtfk15.js} +9 -9
  32. package/dist/{Toolbar-Br0W6NE0.js → Toolbar-D_T55elL.js} +358 -358
  33. package/dist/{TplModal-DnytM7wO.js → TplModal-2MKm5y6r.js} +1 -1
  34. package/dist/{VersionHistoryMenu-D-RCk3oB.js → VersionHistoryMenu-B3-xJ7GO.js} +5 -5
  35. package/dist/{VersionHistoryPanels-DIqWP71K.js → VersionHistoryPanels-CCM0IQBg.js} +1 -1
  36. package/dist/{VersionPreviewBanner-DMg2sw3V.js → VersionPreviewBanner-DLAB4ZbS.js} +1 -1
  37. package/dist/{WrapperBlock-DoNQX0Ml.js → WrapperBlock-BZl10HLy.js} +2 -2
  38. package/dist/{blockTypeIcons-BePGuX0b.js → blockTypeIcons-C691ZY1l.js} +3 -3
  39. package/dist/bundle-stats.json +6 -6
  40. package/dist/cdn/chunks/{AiChatPanel-cIT2haLo.js → AiChatPanel-BYAsgmoC.js} +146 -146
  41. package/dist/cdn/chunks/AiChatPanel-BYAsgmoC.js.map +1 -0
  42. package/dist/cdn/chunks/{AiPanels-B4GG8w3J.js → AiPanels-MY_YPls8.js} +2 -2
  43. package/dist/cdn/chunks/{AiPanels-B4GG8w3J.js.map → AiPanels-MY_YPls8.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiRewriteMenu-BqwwNUzj.js → AiRewriteMenu-BSePiXe_.js} +4 -4
  45. package/dist/cdn/chunks/{AiRewriteMenu-BqwwNUzj.js.map → AiRewriteMenu-BSePiXe_.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-C50pmOMZ.js → BlockIssueBadge-fYeNnepj.js} +2 -2
  47. package/dist/cdn/chunks/{BlockIssueBadge-C50pmOMZ.js.map → BlockIssueBadge-fYeNnepj.js.map} +1 -1
  48. package/dist/cdn/chunks/{BlockPreviewCanvas-T13OIi1f.js → BlockPreviewCanvas-B153A3hu.js} +4 -4
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-T13OIi1f.js.map → BlockPreviewCanvas-B153A3hu.js.map} +1 -1
  50. package/dist/cdn/chunks/{CloudPanels-DDNWZ7ET.js → CloudPanels-Bv26_Sd8.js} +3 -3
  51. package/dist/cdn/chunks/{CloudPanels-DDNWZ7ET.js.map → CloudPanels-Bv26_Sd8.js.map} +1 -1
  52. package/dist/cdn/chunks/{CollaborationNotices-CTmjjbHv.js → CollaborationNotices-COkmBmps.js} +2 -2
  53. package/dist/cdn/chunks/{CollaborationNotices-CTmjjbHv.js.map → CollaborationNotices-COkmBmps.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-CzHjawjF.js → CollaboratorBar-BSzI8YIU.js} +2 -2
  55. package/dist/cdn/chunks/{CollaboratorBar-CzHjawjF.js.map → CollaboratorBar-BSzI8YIU.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-Dh0_eRBe.js → CommentsPanel-R27fqh9O.js} +2 -2
  57. package/dist/cdn/chunks/{CommentsPanel-Dh0_eRBe.js.map → CommentsPanel-R27fqh9O.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-JxZ-O2mY.js → CommentsSidebar-BEiOQ_zT.js} +133 -133
  59. package/dist/cdn/chunks/CommentsSidebar-BEiOQ_zT.js.map +1 -0
  60. package/dist/cdn/chunks/{CountdownToolbar-D16RWxkh.js → CountdownToolbar-DOhXnbsq.js} +4 -4
  61. package/dist/cdn/chunks/{CountdownToolbar-D16RWxkh.js.map → CountdownToolbar-DOhXnbsq.js.map} +1 -1
  62. package/dist/cdn/chunks/{IssuesPanel-BtAn12hl.js → IssuesPanel-DgxiS3hF.js} +2 -2
  63. package/dist/cdn/chunks/{IssuesPanel-BtAn12hl.js.map → IssuesPanel-DgxiS3hF.js.map} +1 -1
  64. package/dist/cdn/chunks/{LanguageMenu-D71nO6LO.js → LanguageMenu-B6kt8SgX.js} +105 -105
  65. package/dist/cdn/chunks/LanguageMenu-B6kt8SgX.js.map +1 -0
  66. package/dist/cdn/chunks/{LocaleNotices-CzrNKR-N.js → LocaleNotices-Bleg4gTu.js} +10 -10
  67. package/dist/cdn/chunks/LocaleNotices-Bleg4gTu.js.map +1 -0
  68. package/dist/cdn/chunks/{LogicTagInsertButton-B4wuPoMa.js → LogicTagInsertButton-DGg1Wvhp.js} +2 -2
  69. package/dist/cdn/chunks/{LogicTagInsertButton-B4wuPoMa.js.map → LogicTagInsertButton-DGg1Wvhp.js.map} +1 -1
  70. package/dist/cdn/chunks/{MediaEditModal-DJ2wxInt.js → MediaEditModal-BQO6ggJK.js} +2 -2
  71. package/dist/cdn/chunks/{MediaEditModal-DJ2wxInt.js.map → MediaEditModal-BQO6ggJK.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaPanels-BJawNjr9.js → MediaPanels-Ciahwsyt.js} +2 -2
  73. package/dist/cdn/chunks/{MediaPanels-BJawNjr9.js.map → MediaPanels-Ciahwsyt.js.map} +1 -1
  74. package/dist/cdn/chunks/{MergeTagInput-DZD-p4nR.js → MergeTagInput-BVfTwujW.js} +2 -2
  75. package/dist/cdn/chunks/{MergeTagInput-DZD-p4nR.js.map → MergeTagInput-BVfTwujW.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagModeToggle-DGuJCgqO.js → MergeTagModeToggle-BoI0C1Y6.js} +2 -2
  77. package/dist/cdn/chunks/{MergeTagModeToggle-DGuJCgqO.js.map → MergeTagModeToggle-BoI0C1Y6.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagTextarea-BRiaRBr_.js → MergeTagTextarea-DGDv-pdn.js} +15 -15
  79. package/dist/cdn/chunks/MergeTagTextarea-DGDv-pdn.js.map +1 -0
  80. package/dist/cdn/chunks/{ParagraphEditor-BClN3WxA.js → ParagraphEditor-D0q36Myd.js} +24 -24
  81. package/dist/cdn/chunks/{ParagraphEditor-BClN3WxA.js.map → ParagraphEditor-D0q36Myd.js.map} +1 -1
  82. package/dist/cdn/chunks/{RestoreVersionDialog-CVfKIT1K.js → RestoreVersionDialog-CJggFdbi.js} +3 -3
  83. package/dist/cdn/chunks/{RestoreVersionDialog-CVfKIT1K.js.map → RestoreVersionDialog-CJggFdbi.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-CtV0Q0SO.js → RichTextEditorContent-D3ihUF8v.js} +4 -4
  85. package/dist/cdn/chunks/{RichTextEditorContent-CtV0Q0SO.js.map → RichTextEditorContent-D3ihUF8v.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-Cy6mI_xB.js → SaveBlockDialog-BzES5tqd.js} +6 -6
  87. package/dist/cdn/chunks/{SaveBlockDialog-Cy6mI_xB.js.map → SaveBlockDialog-BzES5tqd.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DW917QDB.js → SavedBlocksBrowserModal-CLNcZcLd.js} +6 -6
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DW917QDB.js.map → SavedBlocksBrowserModal-CLNcZcLd.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-Cyzerpxs.js → SavedBlocksPanels-R0W9LElD.js} +2 -2
  91. package/dist/cdn/chunks/{SavedBlocksPanels-Cyzerpxs.js.map → SavedBlocksPanels-R0W9LElD.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-D6n86773.js → SavedBlocksPickBar-JNi5Rx4V.js} +3 -3
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-D6n86773.js.map → SavedBlocksPickBar-JNi5Rx4V.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateSettings--_ZfbhnU.js → TemplateSettings-C5wsNcgX.js} +4 -4
  95. package/dist/cdn/chunks/{TemplateSettings--_ZfbhnU.js.map → TemplateSettings-C5wsNcgX.js.map} +1 -1
  96. package/dist/cdn/chunks/{TestEmailModal-V_UFUIaf.js → TestEmailModal-BxIAwjww.js} +6 -6
  97. package/dist/cdn/chunks/{TestEmailModal-V_UFUIaf.js.map → TestEmailModal-BxIAwjww.js.map} +1 -1
  98. package/dist/cdn/chunks/{TestEmailPanel-CBfqsO2u.js → TestEmailPanel-B8BsWXjE.js} +2 -2
  99. package/dist/cdn/chunks/{TestEmailPanel-CBfqsO2u.js.map → TestEmailPanel-B8BsWXjE.js.map} +1 -1
  100. package/dist/cdn/chunks/{TitleEditor-CimWOQVn.js → TitleEditor-DhcI1aRS.js} +8 -8
  101. package/dist/cdn/chunks/{TitleEditor-CimWOQVn.js.map → TitleEditor-DhcI1aRS.js.map} +1 -1
  102. package/dist/cdn/chunks/{Toolbar-czJfutfE.js → Toolbar-Ch3h2BUs.js} +202 -202
  103. package/dist/cdn/chunks/Toolbar-Ch3h2BUs.js.map +1 -0
  104. package/dist/cdn/chunks/{TplModal-BtJJ5-En.js → TplModal-CPOqOxVf.js} +2 -2
  105. package/dist/cdn/chunks/{TplModal-BtJJ5-En.js.map → TplModal-CPOqOxVf.js.map} +1 -1
  106. package/dist/cdn/chunks/{VersionHistoryMenu-CVGlUPwS.js → VersionHistoryMenu-DTDO48HI.js} +2 -2
  107. package/dist/cdn/chunks/{VersionHistoryMenu-CVGlUPwS.js.map → VersionHistoryMenu-DTDO48HI.js.map} +1 -1
  108. package/dist/cdn/chunks/{VersionHistoryPanels-BS0USHsp.js → VersionHistoryPanels-CVrXHYxT.js} +2 -2
  109. package/dist/cdn/chunks/{VersionHistoryPanels-BS0USHsp.js.map → VersionHistoryPanels-CVrXHYxT.js.map} +1 -1
  110. package/dist/cdn/chunks/{VersionPreviewBanner-5RFz4AQx.js → VersionPreviewBanner-C1H_fYAr.js} +2 -2
  111. package/dist/cdn/chunks/{VersionPreviewBanner-5RFz4AQx.js.map → VersionPreviewBanner-C1H_fYAr.js.map} +1 -1
  112. package/dist/cdn/chunks/{WrapperBlock-CSjYFYUT.js → WrapperBlock-B8SJ7Q4w.js} +3 -3
  113. package/dist/cdn/chunks/{WrapperBlock-CSjYFYUT.js.map → WrapperBlock-B8SJ7Q4w.js.map} +1 -1
  114. package/dist/cdn/chunks/{blockTypeIcons-BOonB9gK.js → blockTypeIcons-ZKw-Eiu0.js} +2 -2
  115. package/dist/cdn/chunks/{blockTypeIcons-BOonB9gK.js.map → blockTypeIcons-ZKw-Eiu0.js.map} +1 -1
  116. package/dist/cdn/chunks/{composables-BHsV8gkq.js → composables-CKXPwWo9.js} +152 -152
  117. package/dist/cdn/chunks/composables-CKXPwWo9.js.map +1 -0
  118. package/dist/cdn/chunks/dompurify-BflADeuH.js +850 -0
  119. package/dist/cdn/chunks/dompurify-BflADeuH.js.map +1 -0
  120. package/dist/cdn/chunks/{editor-modal-BVM_0uoL.js → editor-modal-BlSmX9Ch.js} +4 -4
  121. package/dist/cdn/chunks/{editor-modal-BVM_0uoL.js.map → editor-modal-BlSmX9Ch.js.map} +1 -1
  122. package/dist/cdn/chunks/en-jObtIVCp.js +1 -0
  123. package/dist/cdn/chunks/{extensions-BeGvJ6f0.js → extensions-Bq9nXmBP.js} +3 -3
  124. package/dist/cdn/chunks/{extensions-BeGvJ6f0.js.map → extensions-Bq9nXmBP.js.map} +1 -1
  125. package/dist/cdn/chunks/{icons-CWEBTtbR.js → icons-DdVB-5WO.js} +28 -28
  126. package/dist/cdn/chunks/{icons-CWEBTtbR.js.map → icons-DdVB-5WO.js.map} +1 -1
  127. package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -1
  128. package/dist/cdn/chunks/{sanitizeHtml-Db0S2JVP.js → sanitizeHtml-Plkmw1Qt.js} +2 -2
  129. package/dist/cdn/chunks/{sanitizeHtml-Db0S2JVP.js.map → sanitizeHtml-Plkmw1Qt.js.map} +1 -1
  130. package/dist/cdn/chunks/{socialIcons-DMelHF3p.js → socialIcons-CSe4YJ52.js} +2 -2
  131. package/dist/cdn/chunks/{socialIcons-DMelHF3p.js.map → socialIcons-CSe4YJ52.js.map} +1 -1
  132. package/dist/cdn/chunks/{src-B32tyank.js → src-Bk1LF1np.js} +16 -14
  133. package/dist/cdn/chunks/src-Bk1LF1np.js.map +1 -0
  134. package/dist/cdn/chunks/{tiptap-LIEsAVOF.js → tiptap-DDhueoan.js} +15 -7
  135. package/dist/cdn/chunks/{tiptap-LIEsAVOF.js.map → tiptap-DDhueoan.js.map} +1 -1
  136. package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js +41 -0
  137. package/dist/cdn/chunks/useLanguageName-DDhdVpqh.js.map +1 -0
  138. package/dist/cdn/editor.css +1 -1
  139. package/dist/cdn/editor.js +64 -62
  140. package/dist/cdn/editor.js.map +1 -1
  141. package/dist/{check-C82yyyf1.js → check-8ZykoWzl.js} +1 -1
  142. package/dist/{chevron-down-BaBVjNbM.js → chevron-down-D_CUJHwi.js} +1 -1
  143. package/dist/{chevron-right-DkS-bw8X.js → chevron-right-B2WYkQtG.js} +1 -1
  144. package/dist/{chevron-up-C1KzUIK4.js → chevron-up-L-H27use.js} +1 -1
  145. package/dist/{circle-exclamation-point-DsmqtTUQ.js → circle-exclamation-point-BCx1tR91.js} +1 -1
  146. package/dist/{clock-dpIs7vo0.js → clock-DOOnNINY.js} +1 -1
  147. package/dist/{composables-DG_CMpuY.js → composables-26aR45W3.js} +1222 -1222
  148. package/dist/{createLucideIcon-BSam2AUu.js → createLucideIcon-BKeRiObH.js} +5 -5
  149. package/dist/{dist-CRcnmuxb.js → dist-B1bGGOA0.js} +2 -2
  150. package/dist/{dist-DRbuXmjl.js → dist-C3ZVR_pd.js} +2 -2
  151. package/dist/{dist-BvNveHdP.js → dist-C8aVVj28.js} +2 -2
  152. package/dist/dist-CTzstDyz.js +4 -0
  153. package/dist/{dist-xc8l1i2C.js → dist-CcxrHURm.js} +786 -778
  154. package/dist/{dist-LrtNpIZD.js → dist-D41-1sSL.js} +6 -6
  155. package/dist/{dist-BKFfCbrD.js → dist-DRJhbfT9.js} +2 -2
  156. package/dist/{dist-DCGVHlXC.js → dist-DkQutATU.js} +2 -2
  157. package/dist/{dist-BMULQVZF.js → dist-DyrUc7rM.js} +2 -2
  158. package/dist/{dist-CiOtB5na.js → dist-p_84-Inl.js} +2 -2
  159. package/dist/{dist-Bsg1RBUb.js → dist-tG9_FTOs.js} +2 -2
  160. package/dist/dist-zQ8L1LNg.js +4 -0
  161. package/dist/{editor-modal-odubnc9x.js → editor-modal-CRtEWHbQ.js} +15 -15
  162. package/dist/en-CMswCXqE.js +1 -0
  163. package/dist/{extensions-Cao-H_tB.js → extensions-zHf8YFRw.js} +4 -4
  164. package/dist/{eye-CxCHEszj.js → eye-BjZOVab7.js} +1 -1
  165. package/dist/{image-DvXPzqNd.js → image-g47lDP0J.js} +1 -1
  166. package/dist/index.d.ts +5 -1
  167. package/dist/{info-2KHWaZ2L.js → info-DXij4QjB.js} +1 -1
  168. package/dist/{link-_OmrcJMv.js → link-BFJF0mWz.js} +1 -1
  169. package/dist/{list-Dekd7JE8.js → list-Cso9vnLq.js} +1 -1
  170. package/dist/{loader-circle-D_hT5mFS.js → loader-circle-uLY01591.js} +1 -1
  171. package/dist/{message-circle-DDbiG-jz.js → message-circle-amY03UMa.js} +1 -1
  172. package/dist/{package-cORUe57D.js → package-DnjoSQa1.js} +1 -1
  173. package/dist/{pencil-D67H4fxq.js → pencil-D1HBG4pb.js} +1 -1
  174. package/dist/{plus-BpTZAx28.js → plus-PzFvtj-Z.js} +1 -1
  175. package/dist/{refresh-cw-B4T0IFwI.js → refresh-cw-BPDv-S-4.js} +1 -1
  176. package/dist/{rotate-ccw-BDQgjpuo.js → rotate-ccw-DQZVEj1V.js} +1 -1
  177. package/dist/sanitizeHtml-DxmFirMi.js +945 -0
  178. package/dist/{search-Dp9pkaVt.js → search-BUBeKVdD.js} +1 -1
  179. package/dist/{send-DO9GhgCH.js → send-BJEuoIc2.js} +1 -1
  180. package/dist/{smartphone-CPW3I3hV.js → smartphone-DZ5xyNU4.js} +1 -1
  181. package/dist/{socialIcons-DXOO2y7u.js → socialIcons-mWE33bOn.js} +3 -3
  182. package/dist/{sparkles-CIBjNfij.js → sparkles-zWGR8hrs.js} +1 -1
  183. package/dist/{square-3W65qrrH.js → square--3H462TJ.js} +1 -1
  184. package/dist/style.css +1 -1
  185. package/dist/templatical-editor.js +78 -76
  186. package/dist/{text-align-start-Bs70tpRU.js → text-align-start-B5Dx2Ylg.js} +13 -13
  187. package/dist/{trash-CTzhAm1o.js → trash-CJsobpw0.js} +1 -1
  188. package/dist/{triangle-exclamation-point-D_13CuJY.js → triangle-exclamation-point-Bi7ZKTZU.js} +1 -1
  189. package/dist/{upload-DFxkP9MI.js → upload-DZ_-FNJ4.js} +1 -1
  190. package/dist/useLanguageName-CEFzafHB.js +39 -0
  191. package/dist/{useScrollToBlock-194ePl4q.js → useScrollToBlock-eZXiGa8o.js} +1 -1
  192. package/dist/{x-D7L8mLHJ.js → x-CuyPLm0U.js} +1 -1
  193. package/package.json +24 -24
  194. package/dist/cdn/chunks/AiChatPanel-cIT2haLo.js.map +0 -1
  195. package/dist/cdn/chunks/CommentsSidebar-JxZ-O2mY.js.map +0 -1
  196. package/dist/cdn/chunks/LanguageMenu-D71nO6LO.js.map +0 -1
  197. package/dist/cdn/chunks/LocaleNotices-CzrNKR-N.js.map +0 -1
  198. package/dist/cdn/chunks/MergeTagTextarea-BRiaRBr_.js.map +0 -1
  199. package/dist/cdn/chunks/Toolbar-czJfutfE.js.map +0 -1
  200. package/dist/cdn/chunks/composables-BHsV8gkq.js.map +0 -1
  201. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +0 -872
  202. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +0 -1
  203. package/dist/cdn/chunks/en-DlDEofnd.js +0 -1
  204. package/dist/cdn/chunks/languageName-DEEOhDWI.js +0 -12
  205. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +0 -1
  206. package/dist/cdn/chunks/src-B32tyank.js.map +0 -1
  207. package/dist/dist-BnPPgVlu.js +0 -4
  208. package/dist/dist-zAzcxDCA.js +0 -4
  209. package/dist/en-CAImT1hl.js +0 -1
  210. package/dist/languageName-DEEOhDWI.js +0 -10
  211. package/dist/sanitizeHtml-Ru5_-IbM.js +0 -973
@@ -1,38 +1,38 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
2
  import { B as t, F as n, Ft as r, L as i, M as a, Mt as o, P as s, Pt as c, Q as l, U as u, W as d, Z as f, _ as p, c as m, ct as h, d as g, et as _, f as v, g as y, l as b, m as x, r as S, rt as C, u as w, v as T, w as E, y as D } from "./vue.runtime.esm-bundler-BE5V8ADU.js";
3
3
  import { a as O, o as k } from "./runtime-dom.esm-bundler-nN-jsqr1.js";
4
- import { n as A, t as j } from "./MergeTagTextarea-CA9dPfMH.js";
5
- import { c as M } from "./LogicTagInsertButton-Clc3JTg_.js";
6
- import { t as N } from "./MergeTagInput-B5a9noTB.js";
4
+ import { n as A, t as j } from "./MergeTagTextarea-BjHlamJv.js";
5
+ import { c as M } from "./LogicTagInsertButton-BzEZUTRZ.js";
6
+ import { t as N } from "./MergeTagInput-By2FSStk.js";
7
7
  import { t as P } from "./ToggleSwitch-BIPdFWUr.js";
8
8
  import { C as F, S as I, _ as L, b as ee, c as R, g as z, h as B, r as te, s as ne, v as V, y as H } from "./styleConstants-Br6CIRoS.js";
9
- import { t as re } from "./link-_OmrcJMv.js";
10
- import { t as U } from "./createLucideIcon-BSam2AUu.js";
11
- import { t as W } from "./useI18n-Cx9W7OWb.js";
12
- import { $t as ie, Bt as ae, F as oe, Jt as se, N as ce, P as G, Pt as le, St as ue, bt as de, en as fe, fn as pe, ft as K, i as q, j as J, m as Y, mn as X, n as me, o as he, pt as ge, r as _e, rn as ve, t as ye, v as Z } from "./dist-DX_IQgcU.js";
13
- import { n as be } from "./useLocalizedDisplay-DfiE-KjV.js";
14
- import { $ as xe, B as Se, C as Ce, H as we, O as Te, T as Ee, W as De, _ as Oe, b as ke, h as Ae, p as je, r as Me, ut as Ne, v as Pe } from "./keys-B4DimcgX.js";
15
- import { B as Fe, T as Ie, _ as Le, b as Re, d as ze, f as Be, g as Ve, h as He, i as Ue, k as We, l as Ge, m as Ke, p as qe, r as Je, s as Ye, u as Xe, v as Ze } from "./socialIcons-DXOO2y7u.js";
16
- import { n as Qe, t as $e } from "./withCurrentFont-C-_IYTqP.js";
17
- import { t as et } from "./languageName-DEEOhDWI.js";
18
- import { n as tt, t as nt } from "./blockTypeIcons-BePGuX0b.js";
19
- import { t as Q } from "./plus-BpTZAx28.js";
20
- import { t as rt } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
21
- import { t as it } from "./image-DvXPzqNd.js";
22
- import { t as at } from "./chevron-down-BaBVjNbM.js";
23
- import { n as ot, t as st } from "./smartphone-CPW3I3hV.js";
24
- import { t as ct } from "./logger-BOu7oEtk.js";
25
- import { t as lt } from "./circle-exclamation-point-DsmqtTUQ.js";
26
- import { t as ut } from "./refresh-cw-B4T0IFwI.js";
27
- import { c as dt, r as ft } from "./usePopoverPosition-DF0ZYH7g.js";
28
- import { t as pt } from "./trash-CTzhAm1o.js";
29
- import { t as mt } from "./info-2KHWaZ2L.js";
30
- import { _ as ht } from "./dist-A328tG0Z.js";
31
- import { n as gt, r as _t, t as vt } from "./text-align-start-Bs70tpRU.js";
32
- import { t as yt } from "./x-D7L8mLHJ.js";
33
- import { t as bt } from "./useMergeTag-tsU_Sw2x.js";
34
- import { n as xt } from "./upload-DFxkP9MI.js";
35
- var St = U({
9
+ import { t as re } from "./link-BFJF0mWz.js";
10
+ import { t as ie } from "./createLucideIcon-BKeRiObH.js";
11
+ import { t as U } from "./useI18n-Cx9W7OWb.js";
12
+ import { $t as ae, Bt as oe, F as se, Jt as ce, N as le, P as W, Pt as ue, St as de, bt as fe, en as pe, fn as me, ft as G, i as K, j as q, m as J, mn as Y, n as X, o as he, pt as ge, r as _e, rn as ve, t as ye, v as be } from "./dist-DX_IQgcU.js";
13
+ import { n as xe } from "./useLocalizedDisplay-DfiE-KjV.js";
14
+ import { $ as Se, B as Ce, C as we, H as Te, O as Ee, T as De, W as Oe, _ as ke, b as Ae, h as je, p as Me, r as Ne, ut as Pe, v as Fe } from "./keys-B4DimcgX.js";
15
+ import { B as Ie, T as Le, _ as Re, b as ze, d as Be, f as Ve, g as He, h as Ue, i as We, k as Ge, l as Ke, m as qe, p as Je, r as Ye, s as Xe, u as Ze, v as Qe } from "./socialIcons-mWE33bOn.js";
16
+ import { n as $e, t as et } from "./withCurrentFont-C-_IYTqP.js";
17
+ import { t as tt } from "./useLanguageName-CEFzafHB.js";
18
+ import { n as nt, t as rt } from "./blockTypeIcons-C691ZY1l.js";
19
+ import { t as Z } from "./plus-PzFvtj-Z.js";
20
+ import { t as it } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
21
+ import { t as at } from "./image-g47lDP0J.js";
22
+ import { t as ot } from "./chevron-down-D_CUJHwi.js";
23
+ import { n as st, t as ct } from "./smartphone-DZ5xyNU4.js";
24
+ import { t as lt } from "./logger-BOu7oEtk.js";
25
+ import { t as ut } from "./circle-exclamation-point-BCx1tR91.js";
26
+ import { t as dt } from "./refresh-cw-BPDv-S-4.js";
27
+ import { c as ft, r as pt } from "./usePopoverPosition-DF0ZYH7g.js";
28
+ import { t as mt } from "./trash-CJsobpw0.js";
29
+ import { t as ht } from "./info-DXij4QjB.js";
30
+ import { _ as gt } from "./dist-A328tG0Z.js";
31
+ import { n as _t, r as vt, t as yt } from "./text-align-start-B5Dx2Ylg.js";
32
+ import { t as bt } from "./x-CuyPLm0U.js";
33
+ import { t as xt } from "./useMergeTag-tsU_Sw2x.js";
34
+ import { n as St } from "./upload-DZ_-FNJ4.js";
35
+ var Ct = ie({
36
36
  name: "lock-open",
37
37
  size: 24,
38
38
  node: [["rect", {
@@ -48,7 +48,7 @@ var St = U({
48
48
  key: "1mm8w8"
49
49
  }]],
50
50
  aliases: ["unlock"]
51
- }), Ct = U({
51
+ }), wt = ie({
52
52
  name: "lock",
53
53
  size: 24,
54
54
  node: [["rect", {
@@ -63,7 +63,7 @@ var St = U({
63
63
  d: "M7 11V7a5 5 0 0 1 10 0v4",
64
64
  key: "fwvmzm"
65
65
  }]]
66
- }), wt = U({
66
+ }), Tt = ie({
67
67
  name: "unlink",
68
68
  size: 24,
69
69
  node: [
@@ -104,14 +104,14 @@ var St = U({
104
104
  key: "ox905f"
105
105
  }]
106
106
  ]
107
- }), Tt = [
107
+ }), Et = [
108
108
  "aria-checked",
109
109
  "aria-label",
110
110
  "disabled",
111
111
  "aria-disabled",
112
112
  "title",
113
113
  "onClick"
114
- ], Et = { key: 1 }, $ = /* @__PURE__ */ D({
114
+ ], Dt = { key: 1 }, Q = /* @__PURE__ */ D({
115
115
  __name: "SlidingPillSelect",
116
116
  props: {
117
117
  options: {},
@@ -156,14 +156,14 @@ var St = U({
156
156
  key: 0,
157
157
  size: 14,
158
158
  "stroke-width": 2
159
- })) : (a(), v("span", Et, r(t.label), 1))], 12, Tt))), 128))], 4));
159
+ })) : (a(), v("span", Dt, r(t.label), 1))], 12, Et))), 128))], 4));
160
160
  }
161
- }), Dt = { class: "tpl:flex tpl:items-stretch" }, Ot = [
161
+ }), Ot = { class: "tpl:flex tpl:items-stretch" }, kt = [
162
162
  "data-testid",
163
163
  "value",
164
164
  "min",
165
165
  "max"
166
- ], kt = /* @__PURE__ */ D({
166
+ ], At = /* @__PURE__ */ D({
167
167
  __name: "NumberWithSuffix",
168
168
  props: {
169
169
  modelValue: {},
@@ -179,7 +179,7 @@ var St = U({
179
179
  let t = e.target;
180
180
  t.validity?.badInput || n("update:modelValue", Number(t.value));
181
181
  }
182
- return (t, n) => (a(), v("div", Dt, [b("input", {
182
+ return (t, n) => (a(), v("div", Ot, [b("input", {
183
183
  type: "number",
184
184
  "data-testid": e.testid,
185
185
  class: o(h(z)),
@@ -187,14 +187,14 @@ var St = U({
187
187
  min: e.min,
188
188
  max: e.max,
189
189
  onInput: i
190
- }, null, 42, Ot), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
190
+ }, null, 42, kt), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
191
191
  }
192
- }), At = [
192
+ }), jt = [
193
193
  "aria-pressed",
194
194
  "aria-label",
195
195
  "title",
196
196
  "data-testid"
197
- ], jt = /* @__PURE__ */ D({
197
+ ], Mt = /* @__PURE__ */ D({
198
198
  __name: "LinkToggle",
199
199
  props: {
200
200
  linked: { type: Boolean },
@@ -217,16 +217,16 @@ var St = U({
217
217
  key: 0,
218
218
  size: 14,
219
219
  "stroke-width": 2
220
- })) : (a(), w(h(wt), {
220
+ })) : (a(), w(h(Tt), {
221
221
  key: 1,
222
222
  size: 14,
223
223
  "stroke-width": 2
224
- }))], 10, At));
224
+ }))], 10, jt));
225
225
  }
226
- }), Mt = {
226
+ }), Nt = {
227
227
  key: 0,
228
228
  class: "tpl:mb-3.5"
229
- }, Nt = { class: "tpl:mb-3.5" }, Pt = { class: "tpl:mb-3.5" }, Ft = /* @__PURE__ */ D({
229
+ }, Pt = { class: "tpl:mb-3.5" }, Ft = { class: "tpl:mb-3.5" }, It = /* @__PURE__ */ D({
230
230
  __name: "BorderControl",
231
231
  props: {
232
232
  path: {},
@@ -235,7 +235,7 @@ var St = U({
235
235
  },
236
236
  emits: ["update:modelValue"],
237
237
  setup(e, { emit: n }) {
238
- let i = e, s = n, { t: c } = W(), l = {
238
+ let i = e, s = n, { t: c } = U(), l = {
239
239
  width: 0,
240
240
  style: "solid",
241
241
  color: "#000000"
@@ -245,7 +245,7 @@ var St = U({
245
245
  }
246
246
  let f = m(() => {
247
247
  let e = i.modelValue;
248
- return !e || q.every((t) => d(e[t], e.top));
248
+ return !e || K.every((t) => d(e[t], e.top));
249
249
  }), y = _(f.value);
250
250
  t(f, (e) => {
251
251
  !e && y.value && (y.value = !1);
@@ -256,13 +256,13 @@ var St = U({
256
256
  }), T = (e) => !!e && e.width > 0;
257
257
  function E(e) {
258
258
  if (y.value) {
259
- s("update:modelValue", T(e) ? X(e) : void 0);
259
+ s("update:modelValue", T(e) ? Y(e) : void 0);
260
260
  return;
261
261
  }
262
262
  let t = {
263
- ...i.modelValue ?? X(l),
263
+ ...i.modelValue ?? Y(l),
264
264
  [x.value]: e
265
- }, n = q.some((e) => T(t[e]));
265
+ }, n = K.some((e) => T(t[e]));
266
266
  s("update:modelValue", n ? t : void 0);
267
267
  }
268
268
  function D(e) {
@@ -285,10 +285,10 @@ var St = U({
285
285
  y.value = !0;
286
286
  let e = i.modelValue;
287
287
  if (!e) return;
288
- let t = T(e[x.value]) ? e[x.value] : q.map((t) => e[t]).find(T);
289
- s("update:modelValue", t ? X(t) : void 0);
288
+ let t = T(e[x.value]) ? e[x.value] : K.map((t) => e[t]).find(T);
289
+ s("update:modelValue", t ? Y(t) : void 0);
290
290
  }
291
- let j = m(() => q.map((e) => ({
291
+ let j = m(() => K.map((e) => ({
292
292
  value: e,
293
293
  label: c.spacingControl[e]
294
294
  })));
@@ -296,7 +296,7 @@ var St = U({
296
296
  path: e.path,
297
297
  label: h(c).blockSettings.border
298
298
  }, {
299
- "label-actions": u(() => [p(jt, {
299
+ "label-actions": u(() => [p(Mt, {
300
300
  linked: y.value,
301
301
  "link-label": h(c).blockSettings.linkSides,
302
302
  "unlink-label": h(c).blockSettings.unlinkSides,
@@ -309,19 +309,19 @@ var St = U({
309
309
  "testid"
310
310
  ])]),
311
311
  default: u(() => [
312
- y.value ? g("", !0) : (a(), v("div", Mt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p($, {
312
+ y.value ? g("", !0) : (a(), v("div", Nt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p(Q, {
313
313
  options: j.value,
314
314
  "model-value": x.value,
315
315
  "onUpdate:modelValue": n[0] ||= (e) => x.value = e
316
316
  }, null, 8, ["options", "model-value"])])),
317
- b("div", Nt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(kt, {
317
+ b("div", Pt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(At, {
318
318
  "model-value": C.value.width,
319
319
  min: 0,
320
320
  suffix: "px",
321
321
  testid: `${e.testidPrefix}-border-width-input`,
322
322
  "onUpdate:modelValue": D
323
323
  }, null, 8, ["model-value", "testid"])]),
324
- C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Pt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p($, {
324
+ C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Ft, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p(Q, {
325
325
  options: [
326
326
  {
327
327
  value: "solid",
@@ -346,10 +346,10 @@ var St = U({
346
346
  _: 1
347
347
  }, 8, ["path", "label"]));
348
348
  }
349
- }), It = {
349
+ }), Lt = {
350
350
  key: 1,
351
351
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
352
- }, Lt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Rt = /* @__PURE__ */ D({
352
+ }, Rt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, zt = /* @__PURE__ */ D({
353
353
  __name: "RadiusControl",
354
354
  props: {
355
355
  path: {},
@@ -360,7 +360,7 @@ var St = U({
360
360
  },
361
361
  emits: ["update:modelValue"],
362
362
  setup(e, { emit: n }) {
363
- let i = e, o = n, { t: c } = W(), l = {
363
+ let i = e, o = n, { t: c } = U(), l = {
364
364
  topLeft: "cornerTopLeft",
365
365
  topRight: "cornerTopRight",
366
366
  bottomRight: "cornerBottomRight",
@@ -401,7 +401,7 @@ var St = U({
401
401
  path: e.path,
402
402
  label: e.label
403
403
  }, {
404
- "label-actions": u(() => [p(jt, {
404
+ "label-actions": u(() => [p(Mt, {
405
405
  linked: y.value,
406
406
  "link-label": h(c).blockSettings.linkCorners,
407
407
  "unlink-label": h(c).blockSettings.unlinkCorners,
@@ -413,7 +413,7 @@ var St = U({
413
413
  "unlink-label",
414
414
  "testid"
415
415
  ])]),
416
- default: u(() => [y.value ? (a(), w(kt, {
416
+ default: u(() => [y.value ? (a(), w(At, {
417
417
  key: 0,
418
418
  "model-value": f.value.topLeft,
419
419
  min: 0,
@@ -425,7 +425,7 @@ var St = U({
425
425
  "model-value",
426
426
  "max",
427
427
  "testid"
428
- ])) : (a(), v("div", It, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Lt, r(h(c).blockSettings[l[t]]), 1), p(kt, {
428
+ ])) : (a(), v("div", Lt, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", Rt, r(h(c).blockSettings[l[t]]), 1), p(At, {
429
429
  "model-value": f.value[t],
430
430
  min: 0,
431
431
  max: e.max,
@@ -441,14 +441,14 @@ var St = U({
441
441
  _: 1
442
442
  }, 8, ["path", "label"]));
443
443
  }
444
- }), zt = ["value"], Bt = { value: "" }, Vt = ["value"], Ht = { class: "tpl:flex tpl:items-stretch" }, Ut = ["value"], Wt = ["value"], Gt = ["value"], Kt = ["value"], qt = { value: "auto" }, Jt = { value: "full" }, Yt = { value: "custom" }, Xt = {
444
+ }), Bt = ["value"], Vt = { value: "" }, Ht = ["value"], Ut = { class: "tpl:flex tpl:items-stretch" }, Wt = ["value"], Gt = ["value"], Kt = ["value"], qt = ["value"], Jt = { value: "auto" }, Yt = { value: "full" }, Xt = { value: "custom" }, Zt = {
445
445
  key: 0,
446
446
  class: "tpl:mt-2 tpl:flex tpl:items-stretch tpl:gap-2"
447
- }, Zt = [
447
+ }, Qt = [
448
448
  "value",
449
449
  "min",
450
450
  "max"
451
- ], Qt = 200, $t = /* @__PURE__ */ D({
451
+ ], $t = 200, en = /* @__PURE__ */ D({
452
452
  __name: "ButtonToolbar",
453
453
  props: {
454
454
  block: {},
@@ -456,14 +456,14 @@ var St = U({
456
456
  },
457
457
  emits: ["update"],
458
458
  setup(e, { emit: t }) {
459
- let n = e, i = t, { t: c } = W(), l = E(Pe, null), d = l ? be(l) : null, f = E(Ee, null), _ = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || ae(n.block.width) !== null ? "custom" : "auto"), y = m(() => ae(n.block.width) === null ? "px" : "%"), x = m(() => typeof n.block.width == "number" ? n.block.width : String(n.block.width).slice(0, -1)), C = m(() => d ? Ue(d.content.value, n.block.id, f ?? void 0) : null);
459
+ let n = e, i = t, { t: c } = U(), l = E(Fe, null), d = l ? xe(l) : null, f = E(De, null), _ = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || oe(n.block.width) !== null ? "custom" : "auto"), y = m(() => oe(n.block.width) === null ? "px" : "%"), x = m(() => typeof n.block.width == "number" ? n.block.width : String(n.block.width).slice(0, -1)), C = m(() => d ? We(d.content.value, n.block.id, f ?? void 0) : null);
460
460
  function T(e, t) {
461
461
  i("update", { [e]: t });
462
462
  }
463
463
  function D(e) {
464
- e === "full" ? T("width", "full") : e === "custom" ? T("width", typeof n.block.width == "number" ? n.block.width : Qt) : T("width", void 0);
464
+ e === "full" ? T("width", "full") : e === "custom" ? T("width", typeof n.block.width == "number" ? n.block.width : $t) : T("width", void 0);
465
465
  }
466
- let O = m(() => String(J(n.block))), k = m(() => {
466
+ let O = m(() => String(q(n.block))), k = m(() => {
467
467
  let e = O.value;
468
468
  return ne.includes(e) ? ne : [...ne, e];
469
469
  });
@@ -493,8 +493,8 @@ var St = U({
493
493
  T("width", `${Math.min(100, Math.max(1, Math.round(e / r * 100)))}%`);
494
494
  return;
495
495
  }
496
- let i = ae(t);
497
- r === null ? T("width", Qt) : T("width", Math.max(1, Math.round(r * i / 100)));
496
+ let i = oe(t);
497
+ r === null ? T("width", $t) : T("width", Math.max(1, Math.round(r * i / 100)));
498
498
  }
499
499
  return (t, n) => (a(), v(S, null, [
500
500
  p(A, {
@@ -504,12 +504,12 @@ var St = U({
504
504
  }, {
505
505
  default: u(() => [b("select", {
506
506
  class: o(h(B)),
507
- value: h($e)(e.block.fontFamily),
507
+ value: h(et)(e.block.fontFamily),
508
508
  onChange: n[0] ||= (e) => T("fontFamily", e.target.value || void 0)
509
- }, [b("option", Bt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
509
+ }, [b("option", Vt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
510
510
  key: e.value,
511
511
  value: e.value
512
- }, r(e.label), 9, Vt))), 128))], 42, zt)]),
512
+ }, r(e.label), 9, Ht))), 128))], 42, Bt)]),
513
513
  _: 1
514
514
  }, 8, ["label"]),
515
515
  p(A, {
@@ -578,13 +578,13 @@ var St = U({
578
578
  }, null, 8, ["model-value"])]),
579
579
  _: 1
580
580
  }, 8, ["label"]),
581
- p(Ft, {
581
+ p(It, {
582
582
  path: "border",
583
583
  "model-value": e.block.border,
584
584
  "testid-prefix": "button",
585
585
  "onUpdate:modelValue": n[6] ||= (e) => T("border", e)
586
586
  }, null, 8, ["model-value"]),
587
- p(Rt, {
587
+ p(zt, {
588
588
  path: "borderRadius",
589
589
  "model-value": e.block.borderRadius,
590
590
  label: h(c).button.borderRadius,
@@ -597,14 +597,14 @@ var St = U({
597
597
  class: "tpl:mb-3.5",
598
598
  path: "fontSize"
599
599
  }, {
600
- default: u(() => [b("div", Ht, [b("input", {
600
+ default: u(() => [b("div", Ut, [b("input", {
601
601
  type: "number",
602
602
  class: o(h(z)),
603
603
  value: e.block.fontSize,
604
604
  min: "10",
605
605
  max: "36",
606
606
  onInput: n[8] ||= (e) => T("fontSize", Number(e.target.value))
607
- }, null, 42, Ut), b("span", { class: o(h(L)) }, "px", 2)])]),
607
+ }, null, 42, Wt), b("span", { class: o(h(L)) }, "px", 2)])]),
608
608
  _: 1
609
609
  }, 8, ["label"]),
610
610
  p(A, {
@@ -619,7 +619,7 @@ var St = U({
619
619
  }, [(a(!0), v(S, null, s(k.value, (e) => (a(), v("option", {
620
620
  key: e,
621
621
  value: e
622
- }, r(e), 9, Gt))), 128))], 42, Wt)]),
622
+ }, r(e), 9, Kt))), 128))], 42, Gt)]),
623
623
  _: 1
624
624
  }, 8, ["label"]),
625
625
  p(A, {
@@ -627,7 +627,7 @@ var St = U({
627
627
  class: "tpl:mb-3.5",
628
628
  path: "fontWeight"
629
629
  }, {
630
- default: u(() => [p($, {
630
+ default: u(() => [p(Q, {
631
631
  options: [
632
632
  {
633
633
  value: "regular",
@@ -657,17 +657,17 @@ var St = U({
657
657
  value: _.value,
658
658
  onChange: n[10] ||= (e) => D(e.target.value)
659
659
  }, [
660
- b("option", qt, r(h(c).button.widthAuto), 1),
661
- b("option", Jt, r(h(c).button.fullWidth), 1),
662
- b("option", Yt, r(h(c).button.widthCustom), 1)
663
- ], 42, Kt), _.value === "custom" ? (a(), v("div", Xt, [b("input", {
660
+ b("option", Jt, r(h(c).button.widthAuto), 1),
661
+ b("option", Yt, r(h(c).button.fullWidth), 1),
662
+ b("option", Xt, r(h(c).button.widthCustom), 1)
663
+ ], 42, qt), _.value === "custom" ? (a(), v("div", Zt, [b("input", {
664
664
  type: "number",
665
665
  class: o([h(B), "tpl:min-w-0 tpl:flex-1"]),
666
666
  value: x.value,
667
667
  min: y.value === "%" ? 1 : 20,
668
668
  max: y.value === "%" ? 100 : void 0,
669
669
  onInput: n[11] ||= (e) => I(e.target.value)
670
- }, null, 42, Zt), p($, {
670
+ }, null, 42, Qt), p(Q, {
671
671
  class: "tpl:w-24 tpl:shrink-0",
672
672
  "aria-label": h(c).button.widthUnit,
673
673
  options: [{
@@ -687,7 +687,7 @@ var St = U({
687
687
  class: "tpl:mb-3.5",
688
688
  path: "align"
689
689
  }, {
690
- default: u(() => [p($, {
690
+ default: u(() => [p(Q, {
691
691
  options: [
692
692
  {
693
693
  value: "left",
@@ -709,7 +709,7 @@ var St = U({
709
709
  }, 8, ["label"])
710
710
  ], 64));
711
711
  }
712
- }), en = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], on = { class: "tpl:flex tpl:items-center tpl:gap-2" }, sn = { class: "tpl:flex tpl:items-center" }, cn = ["aria-label"], ln = ["value", "aria-label"], un = ["aria-label"], dn = ["aria-label", "title"], fn = { class: "tpl:flex tpl:items-center" }, pn = ["aria-label"], mn = ["value", "aria-label"], hn = ["aria-label"], gn = { class: "tpl:flex tpl:items-center" }, _n = ["aria-label"], vn = ["value", "aria-label"], yn = ["aria-label"], bn = "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)]", xn = "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__*/ rt(/* @__PURE__ */ D({
712
+ }), tn = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, nn = { class: "tpl:flex tpl:items-center" }, rn = ["aria-label"], an = ["value", "aria-label"], on = ["aria-label"], sn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, cn = { class: "tpl:flex tpl:items-center" }, ln = ["aria-label"], un = ["value", "aria-label"], dn = ["aria-label"], fn = ["aria-label", "title"], pn = { class: "tpl:flex tpl:items-center" }, mn = ["aria-label"], hn = ["value", "aria-label"], gn = ["aria-label"], _n = { class: "tpl:flex tpl:items-center" }, vn = ["aria-label"], yn = ["value", "aria-label"], bn = ["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)]", xn = "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__*/ it(/* @__PURE__ */ D({
713
713
  __name: "SpacingControl",
714
714
  props: {
715
715
  path: {},
@@ -718,7 +718,7 @@ var St = U({
718
718
  },
719
719
  emits: ["update:modelValue"],
720
720
  setup(e, { emit: n }) {
721
- let r = e, i = n, { t: s } = W(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
721
+ let r = e, i = n, { t: s } = U(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
722
722
  t(c, (e) => {
723
723
  !e && l.value && (l.value = !1);
724
724
  });
@@ -762,16 +762,16 @@ var St = U({
762
762
  path: e.path,
763
763
  label: e.label
764
764
  }, {
765
- default: u(() => [b("div", en, [
766
- b("div", tn, [
765
+ default: u(() => [b("div", tn, [
766
+ b("div", nn, [
767
767
  b("button", {
768
768
  "aria-label": h(s).spacingControl.decreaseTop,
769
- class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
769
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
770
770
  onClick: n[0] ||= (e) => d("top", -1)
771
- }, [p(h(tt), {
771
+ }, [p(h(nt), {
772
772
  size: 12,
773
773
  "stroke-width": 2
774
- })], 10, nn),
774
+ })], 10, rn),
775
775
  b("input", {
776
776
  type: "number",
777
777
  class: o(xn),
@@ -779,26 +779,26 @@ var St = U({
779
779
  "aria-label": h(s).spacingControl.top,
780
780
  min: "0",
781
781
  onInput: n[1] ||= (e) => f("top", Number(e.target.value))
782
- }, null, 40, rn),
782
+ }, null, 40, an),
783
783
  b("button", {
784
784
  "aria-label": h(s).spacingControl.increaseTop,
785
- class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
785
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
786
786
  onClick: n[2] ||= (e) => d("top", 1)
787
- }, [p(h(Q), {
787
+ }, [p(h(Z), {
788
788
  size: 12,
789
789
  "stroke-width": 2
790
- })], 10, an)
790
+ })], 10, on)
791
791
  ]),
792
- b("div", on, [
793
- b("div", sn, [
792
+ b("div", sn, [
793
+ b("div", cn, [
794
794
  b("button", {
795
795
  "aria-label": h(s).spacingControl.decreaseLeft,
796
- class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
796
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
797
797
  onClick: n[3] ||= (e) => d("left", -1)
798
- }, [p(h(tt), {
798
+ }, [p(h(nt), {
799
799
  size: 12,
800
800
  "stroke-width": 2
801
- })], 10, cn),
801
+ })], 10, ln),
802
802
  b("input", {
803
803
  type: "number",
804
804
  class: o(xn),
@@ -806,39 +806,39 @@ var St = U({
806
806
  "aria-label": h(s).spacingControl.left,
807
807
  min: "0",
808
808
  onInput: n[4] ||= (e) => f("left", Number(e.target.value))
809
- }, null, 40, ln),
809
+ }, null, 40, un),
810
810
  b("button", {
811
811
  "aria-label": h(s).spacingControl.increaseLeft,
812
- class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
812
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
813
813
  onClick: n[5] ||= (e) => d("left", 1)
814
- }, [p(h(Q), {
814
+ }, [p(h(Z), {
815
815
  size: 12,
816
816
  "stroke-width": 2
817
- })], 10, un)
817
+ })], 10, dn)
818
818
  ]),
819
819
  b("button", {
820
820
  class: o(["tpl:flex tpl:h-8 tpl:w-8 tpl:cursor-pointer tpl:items-center tpl:justify-center tpl:rounded-[var(--tpl-radius-sm)] tpl:border tpl:transition-all tpl:duration-[120ms] tpl:ease-[cubic-bezier(0.16,1,0.3,1)]", l.value ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text-muted)] tpl:hover:bg-[var(--tpl-bg-hover)]"]),
821
821
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
822
822
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
823
823
  onClick: g
824
- }, [l.value ? (a(), w(h(Ct), {
824
+ }, [l.value ? (a(), w(h(wt), {
825
825
  key: 0,
826
826
  size: 14,
827
827
  "stroke-width": 2
828
- })) : (a(), w(h(St), {
828
+ })) : (a(), w(h(Ct), {
829
829
  key: 1,
830
830
  size: 14,
831
831
  "stroke-width": 2
832
- }))], 10, dn),
833
- b("div", fn, [
832
+ }))], 10, fn),
833
+ b("div", pn, [
834
834
  b("button", {
835
835
  "aria-label": h(s).spacingControl.decreaseRight,
836
- class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
836
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
837
837
  onClick: n[6] ||= (e) => d("right", -1)
838
- }, [p(h(tt), {
838
+ }, [p(h(nt), {
839
839
  size: 12,
840
840
  "stroke-width": 2
841
- })], 10, pn),
841
+ })], 10, mn),
842
842
  b("input", {
843
843
  type: "number",
844
844
  class: o(xn),
@@ -846,26 +846,26 @@ var St = U({
846
846
  "aria-label": h(s).spacingControl.right,
847
847
  min: "0",
848
848
  onInput: n[7] ||= (e) => f("right", Number(e.target.value))
849
- }, null, 40, mn),
849
+ }, null, 40, hn),
850
850
  b("button", {
851
851
  "aria-label": h(s).spacingControl.increaseRight,
852
- class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
852
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
853
853
  onClick: n[8] ||= (e) => d("right", 1)
854
- }, [p(h(Q), {
854
+ }, [p(h(Z), {
855
855
  size: 12,
856
856
  "stroke-width": 2
857
- })], 10, hn)
857
+ })], 10, gn)
858
858
  ])
859
859
  ]),
860
- b("div", gn, [
860
+ b("div", _n, [
861
861
  b("button", {
862
862
  "aria-label": h(s).spacingControl.decreaseBottom,
863
- class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
863
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
864
864
  onClick: n[9] ||= (e) => d("bottom", -1)
865
- }, [p(h(tt), {
865
+ }, [p(h(nt), {
866
866
  size: 12,
867
867
  "stroke-width": 2
868
- })], 10, _n),
868
+ })], 10, vn),
869
869
  b("input", {
870
870
  type: "number",
871
871
  class: o(xn),
@@ -873,15 +873,15 @@ var St = U({
873
873
  "aria-label": h(s).spacingControl.bottom,
874
874
  min: "0",
875
875
  onInput: n[10] ||= (e) => f("bottom", Number(e.target.value))
876
- }, null, 40, vn),
876
+ }, null, 40, yn),
877
877
  b("button", {
878
878
  "aria-label": h(s).spacingControl.increaseBottom,
879
- class: o([bn, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
879
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
880
880
  onClick: n[11] ||= (e) => d("bottom", 1)
881
- }, [p(h(Q), {
881
+ }, [p(h(Z), {
882
882
  size: 12,
883
883
  "stroke-width": 2
884
- })], 10, yn)
884
+ })], 10, bn)
885
885
  ])
886
886
  ])]),
887
887
  _: 1
@@ -892,14 +892,14 @@ var St = U({
892
892
  function Cn(e) {
893
893
  let n = _(null), r = () => {};
894
894
  return t(e, (e) => {
895
- r(), n.value = null, e && (r = qe(e, (e) => {
895
+ r(), n.value = null, e && (r = Je(e, (e) => {
896
896
  n.value = e;
897
897
  }));
898
898
  }, { immediate: !0 }), n;
899
899
  }
900
900
  function wn() {
901
- let e = E(Ce, null);
902
- return async (t) => Ke(e ? await Tn(e, t) : t);
901
+ let e = E(we, null);
902
+ return async (t) => qe(e ? await Tn(e, t) : t);
903
903
  }
904
904
  function Tn(e, n) {
905
905
  let r = (e) => typeof e == "string" && e.length > 0 ? e : n;
@@ -929,14 +929,14 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
929
929
  },
930
930
  emits: ["update:modelValue"],
931
931
  setup(e, { emit: t }) {
932
- let n = e, i = t, { t: c } = W(), l = E(Se, Z.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = wn(), C;
932
+ let n = e, i = t, { t: c } = U(), l = E(Ce, be.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = wn(), C;
933
933
  f(() => clearTimeout(C));
934
934
  function T(e) {
935
- n.measure && !G(e, l) && (C = setTimeout(async () => {
935
+ n.measure && !W(e, l) && (C = setTimeout(async () => {
936
936
  let t = await x(e), r = n.modelValue;
937
937
  t && r?.url === e && i("update:modelValue", {
938
938
  ...r,
939
- ...He(t)
939
+ ...Ue(t)
940
940
  });
941
941
  }, 300));
942
942
  }
@@ -945,11 +945,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
945
945
  i("update:modelValue", void 0);
946
946
  return;
947
947
  }
948
- let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? oe(e), s = n.measure ? t : null;
948
+ let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? se(e), s = n.measure ? t : null;
949
949
  i("update:modelValue", {
950
950
  ...o,
951
951
  url: e,
952
- ...s ? He(s) : {}
952
+ ...s ? Ue(s) : {}
953
953
  }), s || T(e);
954
954
  }
955
955
  function O(e) {
@@ -981,7 +981,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
981
981
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
982
982
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
983
983
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
984
- })), j = m(() => me.flatMap((e) => ye.map((t) => ({
984
+ })), j = m(() => X.flatMap((e) => ye.map((t) => ({
985
985
  x: t,
986
986
  y: e,
987
987
  label: A.value[`${e}-${t}`]
@@ -989,11 +989,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
989
989
  function M(e) {
990
990
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
991
991
  }
992
- let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Xe({
992
+ let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Ze({
993
993
  target: F,
994
994
  value: u,
995
- blocked: () => G(u.value, l),
996
- apply: (e) => D(e.url, Le(e.width, e.height))
995
+ blocked: () => W(u.value, l),
996
+ apply: (e) => D(e.url, Re(e.width, e.height))
997
997
  });
998
998
  return (t, n) => (a(), v("div", En, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
999
999
  key: 0,
@@ -1004,7 +1004,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1004
1004
  class: "tpl:relative",
1005
1005
  "data-testid": `${e.testidPrefix}-bg-url`
1006
1006
  }, [
1007
- h(ee) ? (a(), w(Be, {
1007
+ h(ee) ? (a(), w(Ve, {
1008
1008
  key: 0,
1009
1009
  uploading: h(L)
1010
1010
  }, null, 8, ["uploading"])) : g("", !0),
@@ -1025,7 +1025,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1025
1025
  "background-color": "var(--tpl-bg)"
1026
1026
  },
1027
1027
  onClick: n[0] ||= (...e) => h(R) && h(R)(...e)
1028
- }, [p(h(it), {
1028
+ }, [p(h(at), {
1029
1029
  size: 14,
1030
1030
  "stroke-width": 1.5
1031
1031
  }), y(" " + r(h(c).image.browseMedia), 1)], 8, On)) : g("", !0)
@@ -1033,7 +1033,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1033
1033
  e.heroMode ? g("", !0) : (a(), v("div", {
1034
1034
  key: 0,
1035
1035
  "data-testid": `${e.testidPrefix}-bg-size`
1036
- }, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundSize), 3), p($, {
1036
+ }, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundSize), 3), p(Q, {
1037
1037
  options: k.value,
1038
1038
  "model-value": e.modelValue.size,
1039
1039
  "onUpdate:modelValue": n[1] ||= (e) => O({ size: e })
@@ -1082,7 +1082,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1082
1082
  "data-testid": e.headerTestId,
1083
1083
  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)]",
1084
1084
  onClick: i[0] ||= (e) => t.$emit("toggle")
1085
- }, [p(h(at), {
1085
+ }, [p(h(ot), {
1086
1086
  class: o(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1087
1087
  size: 12,
1088
1088
  "stroke-width": 2
@@ -1116,7 +1116,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1116
1116
  function n(e) {
1117
1117
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1118
1118
  }
1119
- let i = e, s = t, { t: c } = W(), l = E(Se, Z.liquid), u = E(Pe, null), d = E(Ee, void 0), f = wn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => G(_.value, l)), S = m(() => i.section.hero), C = m(() => i.section.columns === "1"), T = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : Un), O = m(() => [
1119
+ let i = e, s = t, { t: c } = U(), l = E(Ce, be.liquid), u = E(Fe, null), d = E(De, void 0), f = wn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => W(_.value, l)), S = m(() => i.section.hero), C = m(() => i.section.columns === "1"), T = m(() => S.value ? n(S.value.height) ? "fixed" : "image" : "fit"), D = m(() => n(S.value?.height) ? S.value.height : Un), O = m(() => [
1120
1120
  {
1121
1121
  value: "fit",
1122
1122
  label: c.blockSettings.heroHeightFit
@@ -1143,9 +1143,9 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1143
1143
  value: "bottom",
1144
1144
  label: c.blockSettings.heroAlignBottom
1145
1145
  }
1146
- ]), A = m(() => T.value === "image" && y.value && !x.value && de(i.section.backgroundImage) === null);
1146
+ ]), A = m(() => T.value === "image" && y.value && !x.value && fe(i.section.backgroundImage) === null);
1147
1147
  function j() {
1148
- return (u ? Ye(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? Ge(u?.state.content.settings);
1148
+ return (u ? Xe(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? Ke(u?.state.content.settings);
1149
1149
  }
1150
1150
  function M(e) {
1151
1151
  let t = S.value?.verticalAlign ?? "middle";
@@ -1161,7 +1161,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1161
1161
  s("update", { hero: void 0 });
1162
1162
  return;
1163
1163
  }
1164
- let n = de(i.section.backgroundImage), r = n === null ? Un : Math.round(j() * n);
1164
+ let n = fe(i.section.backgroundImage), r = n === null ? Un : Math.round(j() * n);
1165
1165
  s("update", { hero: {
1166
1166
  height: r,
1167
1167
  verticalAlign: t
@@ -1169,11 +1169,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1169
1169
  }
1170
1170
  async function N() {
1171
1171
  let e = i.section.backgroundImage;
1172
- if (!e || !y.value || x.value || de(e) !== null) return;
1172
+ if (!e || !y.value || x.value || fe(e) !== null) return;
1173
1173
  let t = e.url, n = await f(t), r = i.section.backgroundImage;
1174
1174
  n && r && r.url === t && s("update", { backgroundImage: {
1175
1175
  ...r,
1176
- ...He(n)
1176
+ ...Ue(n)
1177
1177
  } });
1178
1178
  }
1179
1179
  function P(e) {
@@ -1191,14 +1191,14 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1191
1191
  return (e, t) => !C.value && S.value ? (a(), v("p", Ln, r(h(c).section.heroNeedsOneColumn), 1)) : C.value && (y.value || S.value) ? (a(), v("div", Rn, [
1192
1192
  b("div", zn, [
1193
1193
  b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroHeight), 3),
1194
- p($, {
1194
+ p(Q, {
1195
1195
  options: O.value,
1196
1196
  "model-value": T.value,
1197
1197
  "onUpdate:modelValue": M
1198
1198
  }, null, 8, ["options", "model-value"]),
1199
1199
  x.value ? (a(), v("p", Bn, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (a(), v("p", Vn, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1200
1200
  ]),
1201
- T.value === "fixed" ? (a(), w(kt, {
1201
+ T.value === "fixed" ? (a(), w(At, {
1202
1202
  key: 0,
1203
1203
  "model-value": D.value,
1204
1204
  min: 1,
@@ -1206,7 +1206,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1206
1206
  testid: "section-hero-height-px",
1207
1207
  "onUpdate:modelValue": P
1208
1208
  }, null, 8, ["model-value"])) : g("", !0),
1209
- S.value ? (a(), v("div", Hn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p($, {
1209
+ S.value ? (a(), v("div", Hn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p(Q, {
1210
1210
  options: k.value,
1211
1211
  "model-value": S.value.verticalAlign,
1212
1212
  "onUpdate:modelValue": F
@@ -1235,10 +1235,10 @@ function Jn(e) {
1235
1235
  return Kn(e.styles.backgroundColor) || !!e.backgroundImage;
1236
1236
  }
1237
1237
  function Yn(e) {
1238
- return e.fullWidth !== !0 || qn(e.padding) || pe(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Gn.has(e));
1238
+ return e.fullWidth !== !0 || qn(e.padding) || me(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Gn.has(e));
1239
1239
  }
1240
1240
  function Xn(e, t = {}) {
1241
- return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && le(t.layout);
1241
+ return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && ue(t.layout);
1242
1242
  }
1243
1243
  function Zn(e) {
1244
1244
  let t = {};
@@ -1309,80 +1309,80 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1309
1309
  },
1310
1310
  emits: ["update"],
1311
1311
  setup(e, { emit: n }) {
1312
- let c = e, f = n, { t: x, format: T } = W(), D = E(Pe, null), k = E(Te, void 0), j = m(() => D?.activeLocale?.value), N = m(() => !!(j.value && D?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = E(Oe, []), L = E(Me, !1), R = E(Ee, void 0), z = E(xe, void 0), B = m(() => c.block.type === "section" || c.block.type === "wrapper"), te = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ne = m(() => c.block.type === "section" && Xn(c.block, {
1313
- sectionWrapper: z,
1314
- layout: R
1315
- })), V = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1316
- function re(e) {
1312
+ let c = e, f = n, { t: x, format: T } = U(), D = E(Fe, null), k = tt(D), j = E(Ee, void 0), N = m(() => D?.activeLocale?.value), I = m(() => !!(N.value && D?.selectedBlock?.value?.l10n?.[N.value]?.hidden)), L = E(ke, []), R = E(Ne, !1), z = E(De, void 0), B = E(Se, void 0), te = m(() => c.block.type === "section" || c.block.type === "wrapper"), ne = m(() => c.block.type === "wrapper" ? c.block.fullWidth === !0 : c.block.type === "section" && c.block.wrapper?.fullWidth === !0), V = m(() => c.block.type === "section" && Xn(c.block, {
1313
+ sectionWrapper: B,
1314
+ layout: z
1315
+ })), re = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1316
+ function ie(e) {
1317
1317
  c.block.type === "wrapper" ? f("update", { fullWidth: e }) : c.block.type === "section" && f("update", $n(c.block, e));
1318
1318
  }
1319
- let U = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ie = m(() => U.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), ae = m(() => U.value ? "wrapper.backgroundImage" : "backgroundImage"), oe = m(() => {
1319
+ let ae = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), oe = m(() => ae.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), se = m(() => ae.value ? "wrapper.backgroundImage" : "backgroundImage"), le = m(() => {
1320
1320
  let e = c.block;
1321
1321
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
1322
- }), ce = m(() => {
1322
+ }), W = m(() => {
1323
1323
  let e = c.block;
1324
1324
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
1325
1325
  });
1326
- function G(e, t) {
1326
+ function ue(e, t) {
1327
1327
  f("update", { wrapper: {
1328
1328
  ...e,
1329
1329
  ...t
1330
1330
  } });
1331
1331
  }
1332
- function le(e) {
1332
+ function de(e) {
1333
1333
  let t = c.block;
1334
- t.type === "section" && t.wrapper?.fullWidth === !0 ? G(t.wrapper, { backgroundColor: e }) : ke("backgroundColor", e);
1334
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? ue(t.wrapper, { backgroundColor: e }) : je("backgroundColor", e);
1335
1335
  }
1336
- function ue(e) {
1336
+ function fe(e) {
1337
1337
  let t = c.block;
1338
- t.type === "section" && t.wrapper?.fullWidth === !0 ? G(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1338
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? ue(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1339
1339
  }
1340
- let de = E(we, null), pe = ze(), K = _(!1), q = l(/* @__PURE__ */ new Set()), J = _(!1), Y = _(""), X = _(""), me = [{
1340
+ let me = E(Te, null), G = Be(), K = _(!1), q = l(/* @__PURE__ */ new Set()), J = _(!1), Y = _(""), X = _(""), he = [{
1341
1341
  key: "desktop",
1342
- icon: ot,
1342
+ icon: st,
1343
1343
  labelKey: "showOnDesktop"
1344
1344
  }, {
1345
1345
  key: "mobile",
1346
- icon: st,
1346
+ icon: ct,
1347
1347
  labelKey: "showOnMobile"
1348
1348
  }];
1349
- function he(e) {
1349
+ function ge(e) {
1350
1350
  q.has(e) ? q.delete(e) : q.add(e);
1351
1351
  }
1352
- let ge = m(() => !!de || I.length > 0 || L);
1353
- function _e(e) {
1352
+ let _e = m(() => !!me || L.length > 0 || R);
1353
+ function ve(e) {
1354
1354
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
1355
1355
  let t = e;
1356
1356
  return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
1357
1357
  }
1358
- function ve(e, t) {
1358
+ function ye(e, t) {
1359
1359
  let n = D?.state?.selectedBlockId;
1360
1360
  c.block.id === e && (n === void 0 || n === e) ? f("update", { displayCondition: t }) : D && D.findBlockLocation(e) && D.updateBlock(e, { displayCondition: t });
1361
1361
  }
1362
- async function ye() {
1363
- if (!de || K.value) return;
1364
- let e = c.block.id, t = D?.activeLocale?.value ?? null, n = fe(C(c.block)), r = c.block.displayCondition ? fe(C(c.block.displayCondition)) : void 0;
1362
+ async function be() {
1363
+ if (!me || K.value) return;
1364
+ let e = c.block.id, t = D?.activeLocale?.value ?? null, n = pe(C(c.block)), r = c.block.displayCondition ? pe(C(c.block.displayCondition)) : void 0;
1365
1365
  K.value = !0;
1366
1366
  try {
1367
- let i = await de(r ? {
1367
+ let i = await me(r ? {
1368
1368
  current: r,
1369
1369
  block: n
1370
1370
  } : { block: n });
1371
- if (!pe.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1372
- if (!_e(i)) {
1373
- ct.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1371
+ if (!G.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1372
+ if (!ve(i)) {
1373
+ lt.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1374
1374
  return;
1375
1375
  }
1376
- ve(e, fe(i));
1376
+ ye(e, pe(i));
1377
1377
  } finally {
1378
- pe.alive && (K.value = !1);
1378
+ G.alive && (K.value = !1);
1379
1379
  }
1380
1380
  }
1381
- let Z = m(() => c.block.displayCondition ? !I.some((e) => e.label === c.block.displayCondition?.label) : !1);
1382
- function be() {
1383
- J.value = !0, Z.value && c.block.displayCondition ? (Y.value = c.block.displayCondition.before, X.value = c.block.displayCondition.after ?? "") : (Y.value = "", X.value = "");
1381
+ let xe = m(() => c.block.displayCondition ? !L.some((e) => e.label === c.block.displayCondition?.label) : !1);
1382
+ function Ce() {
1383
+ J.value = !0, xe.value && c.block.displayCondition ? (Y.value = c.block.displayCondition.before, X.value = c.block.displayCondition.after ?? "") : (Y.value = "", X.value = "");
1384
1384
  }
1385
- function Se() {
1385
+ function we() {
1386
1386
  let e = Y.value.trim(), t = X.value.trim();
1387
1387
  e && (f("update", { displayCondition: {
1388
1388
  label: x.blockSettings.customCondition,
@@ -1398,29 +1398,29 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1398
1398
  () => c.block.displayCondition?.after
1399
1399
  ], () => {
1400
1400
  let e = c.block.displayCondition;
1401
- !e || !Z.value ? (J.value = !1, Y.value = "", X.value = "") : (Y.value = e.before, X.value = e.after ?? "");
1401
+ !e || !xe.value ? (J.value = !1, Y.value = "", X.value = "") : (Y.value = e.before, X.value = e.after ?? "");
1402
1402
  }, { immediate: !0 });
1403
- let Ce = m(() => {
1403
+ let Oe = m(() => {
1404
1404
  let e = {};
1405
- for (let t of I) {
1405
+ for (let t of L) {
1406
1406
  let n = t.group ?? "";
1407
1407
  e[n] || (e[n] = []), e[n].push(t);
1408
1408
  }
1409
1409
  return e;
1410
- }), De = m(() => c.block.type === "section" && se(c.block)?.applied === !0);
1411
- function ke(e, t) {
1410
+ }), Ae = m(() => c.block.type === "section" && ce(c.block)?.applied === !0);
1411
+ function je(e, t) {
1412
1412
  f("update", { styles: {
1413
1413
  ...c.block.styles,
1414
1414
  [e]: t
1415
1415
  } });
1416
1416
  }
1417
- function Ae(e) {
1417
+ function Me(e) {
1418
1418
  return c.block.visibility?.[e] !== !1;
1419
1419
  }
1420
- function je(e) {
1420
+ function Pe(e) {
1421
1421
  let t = {
1422
- desktop: Ae("desktop"),
1423
- mobile: Ae("mobile")
1422
+ desktop: Me("desktop"),
1423
+ mobile: Me("mobile")
1424
1424
  };
1425
1425
  t[e] = !t[e], f("update", { visibility: t });
1426
1426
  }
@@ -1429,13 +1429,13 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1429
1429
  title: h(x).blockSettings.spacing,
1430
1430
  open: q.has("spacing"),
1431
1431
  "no-border": e.isFirstSection,
1432
- onToggle: n[1] ||= (e) => he("spacing")
1432
+ onToggle: n[1] ||= (e) => ge("spacing")
1433
1433
  }, {
1434
1434
  default: u(() => [p(Sn, {
1435
1435
  path: "styles.padding",
1436
1436
  label: h(x).blockSettings.padding,
1437
1437
  "model-value": e.block.styles.padding,
1438
- "onUpdate:modelValue": n[0] ||= (e) => ke("padding", e)
1438
+ "onUpdate:modelValue": n[0] ||= (e) => je("padding", e)
1439
1439
  }, null, 8, ["label", "model-value"])]),
1440
1440
  _: 1
1441
1441
  }, 8, [
@@ -1447,34 +1447,34 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1447
1447
  title: h(x).blockSettings.background,
1448
1448
  open: q.has("bg"),
1449
1449
  "header-test-id": "block-settings-background",
1450
- onToggle: n[4] ||= (e) => he("bg")
1450
+ onToggle: n[4] ||= (e) => ge("bg")
1451
1451
  }, {
1452
1452
  default: u(() => [
1453
1453
  p(A, {
1454
- path: ie.value,
1454
+ path: oe.value,
1455
1455
  label: h(x).blockSettings.color
1456
1456
  }, {
1457
1457
  default: u(() => [p(M, {
1458
- "model-value": oe.value,
1458
+ "model-value": le.value,
1459
1459
  "allow-transparent": "",
1460
- "onUpdate:modelValue": le
1460
+ "onUpdate:modelValue": de
1461
1461
  }, null, 8, ["model-value"])]),
1462
1462
  _: 1
1463
1463
  }, 8, ["path", "label"]),
1464
- B.value ? (a(), w(A, {
1464
+ te.value ? (a(), w(A, {
1465
1465
  key: 0,
1466
1466
  path: e.block.type === "section" ? "wrapper.fullWidth" : "fullWidth",
1467
1467
  label: h(x).blockSettings.fullWidthBackground
1468
1468
  }, {
1469
1469
  "label-actions": u(({ controlId: e }) => [p(P, {
1470
- "data-testid": V.value,
1470
+ "data-testid": re.value,
1471
1471
  "control-id": e,
1472
1472
  "hide-label": "",
1473
1473
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1474
- "model-value": te.value,
1475
- disabled: ne.value,
1474
+ "model-value": ne.value,
1475
+ disabled: V.value,
1476
1476
  label: h(x).blockSettings.fullWidthBackground,
1477
- "onUpdate:modelValue": re
1477
+ "onUpdate:modelValue": ie
1478
1478
  }, null, 8, [
1479
1479
  "data-testid",
1480
1480
  "control-id",
@@ -1486,21 +1486,21 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1486
1486
  }, 8, ["path", "label"])) : g("", !0),
1487
1487
  e.block.type === "section" ? (a(), w(A, {
1488
1488
  key: 1,
1489
- path: ae.value,
1489
+ path: se.value,
1490
1490
  label: h(x).blockSettings.backgroundImage
1491
1491
  }, {
1492
1492
  default: u(() => [p(Nn, {
1493
1493
  "hide-label": "",
1494
1494
  class: "tpl:mt-3.5",
1495
- "model-value": ce.value,
1495
+ "model-value": W.value,
1496
1496
  "testid-prefix": "section",
1497
1497
  measure: "",
1498
- "hero-mode": De.value,
1499
- "onUpdate:modelValue": ue
1498
+ "hero-mode": Ae.value,
1499
+ "onUpdate:modelValue": fe
1500
1500
  }, null, 8, ["model-value", "hero-mode"])]),
1501
1501
  _: 1
1502
1502
  }, 8, ["path", "label"])) : g("", !0),
1503
- U.value ? (a(), w(A, {
1503
+ ae.value ? (a(), w(A, {
1504
1504
  key: 2,
1505
1505
  path: "styles.backgroundColor",
1506
1506
  label: h(x).blockSettings.contentBackground
@@ -1509,7 +1509,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1509
1509
  "data-testid": "section-content-background",
1510
1510
  "model-value": e.block.styles.backgroundColor ?? "",
1511
1511
  "allow-transparent": "",
1512
- "onUpdate:modelValue": n[2] ||= (e) => ke("backgroundColor", e)
1512
+ "onUpdate:modelValue": n[2] ||= (e) => je("backgroundColor", e)
1513
1513
  }, null, 8, ["model-value"])]),
1514
1514
  _: 1
1515
1515
  }, 8, ["label"])) : g("", !0),
@@ -1530,20 +1530,20 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1530
1530
  p(In, {
1531
1531
  title: h(x).blockSettings.display,
1532
1532
  open: q.has("display"),
1533
- onToggle: n[6] ||= (e) => he("display")
1533
+ onToggle: n[6] ||= (e) => ge("display")
1534
1534
  }, {
1535
- default: u(() => [b("div", tr, [j.value && h(k) ? (a(), w(P, {
1535
+ default: u(() => [b("div", tr, [N.value && h(j) ? (a(), w(P, {
1536
1536
  key: 0,
1537
1537
  "data-testid": "locale-hide",
1538
- disabled: !h(k).locales.includes(j.value),
1539
- "model-value": N.value,
1540
- label: h(T)(h(x).localization.hide, { language: h(et)(j.value) }),
1538
+ disabled: !h(j).locales.includes(N.value),
1539
+ "model-value": I.value,
1540
+ label: h(T)(h(x).localization.hide, { language: h(k)(N.value) }),
1541
1541
  "onUpdate:modelValue": n[5] ||= (t) => h(D)?.setBlockHidden?.(e.block.id, t)
1542
1542
  }, null, 8, [
1543
1543
  "disabled",
1544
1544
  "model-value",
1545
1545
  "label"
1546
- ])) : g("", !0), (a(), v(S, null, s(me, (e) => p(A, {
1546
+ ])) : g("", !0), (a(), v(S, null, s(he, (e) => p(A, {
1547
1547
  key: e.key,
1548
1548
  path: `visibility.${e.key}`,
1549
1549
  label: h(x).blockSettings[e.labelKey]
@@ -1556,9 +1556,9 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1556
1556
  "control-id": t,
1557
1557
  "hide-label": "",
1558
1558
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1559
- "model-value": Ae(e.key),
1559
+ "model-value": Me(e.key),
1560
1560
  label: h(x).blockSettings[e.labelKey],
1561
- "onUpdate:modelValue": (t) => je(e.key)
1561
+ "onUpdate:modelValue": (t) => Pe(e.key)
1562
1562
  }, null, 8, [
1563
1563
  "control-id",
1564
1564
  "model-value",
@@ -1569,14 +1569,14 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1569
1569
  }, 1032, ["path", "label"])), 64))])]),
1570
1570
  _: 1
1571
1571
  }, 8, ["title", "open"]),
1572
- ge.value ? (a(), w(In, {
1572
+ _e.value ? (a(), w(In, {
1573
1573
  key: 0,
1574
1574
  "header-test-id": "display-condition-section",
1575
1575
  title: h(x).blockSettings.displayCondition,
1576
1576
  open: q.has("condition"),
1577
- onToggle: n[11] ||= (e) => he("condition")
1577
+ onToggle: n[11] ||= (e) => ge("condition")
1578
1578
  }, {
1579
- default: u(() => [h(de) ? (a(), v("div", rr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1579
+ default: u(() => [h(me) ? (a(), v("div", rr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1580
1580
  b("p", ir, r(e.block.displayCondition.label), 1),
1581
1581
  e.block.displayCondition.description ? (a(), v("p", ar, r(e.block.displayCondition.description), 1)) : g("", !0),
1582
1582
  b("div", or, [b("button", {
@@ -1584,7 +1584,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1584
1584
  "data-testid": "display-condition-edit",
1585
1585
  class: o(h(F)),
1586
1586
  disabled: K.value,
1587
- onClick: ye
1587
+ onClick: be
1588
1588
  }, r(h(x).blockSettings.editCondition), 11, sr), b("button", {
1589
1589
  type: "button",
1590
1590
  "data-testid": "display-condition-remove",
@@ -1598,7 +1598,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1598
1598
  "data-testid": "display-condition-request",
1599
1599
  class: o(h(F)),
1600
1600
  disabled: K.value,
1601
- onClick: ye
1601
+ onClick: be
1602
1602
  }, r(h(x).blockSettings.addCondition), 11, lr))])) : (a(), v("div", ur, [p(A, {
1603
1603
  path: "displayCondition",
1604
1604
  label: h(x).blockSettings.displayCondition
@@ -1606,23 +1606,23 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1606
1606
  default: u(() => [b("select", {
1607
1607
  "data-testid": "display-condition-select",
1608
1608
  class: o(["tpl:w-full tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-2 tpl:text-xs tpl:outline-none tpl:transition-all tpl:focus:border-[var(--tpl-primary)] tpl:focus:shadow-[0_0_0_3px_var(--tpl-primary-light)]", e.block.displayCondition ? "tpl:border-[var(--tpl-primary)] tpl:bg-[var(--tpl-primary-light)] tpl:text-[var(--tpl-text)]" : "tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:text-[var(--tpl-text)]"]),
1609
- value: J.value || Z.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1609
+ value: J.value || xe.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1610
1610
  onChange: n[8] ||= (e) => {
1611
1611
  let t = e.target.value;
1612
1612
  if (t === "__custom__") {
1613
- be();
1613
+ Ce();
1614
1614
  return;
1615
1615
  }
1616
1616
  if (J.value = !1, !t) {
1617
1617
  f("update", { displayCondition: void 0 });
1618
1618
  return;
1619
1619
  }
1620
- let n = h(I).find((e) => e.label === t);
1620
+ let n = h(L).find((e) => e.label === t);
1621
1621
  n && f("update", { displayCondition: n });
1622
1622
  }
1623
1623
  }, [
1624
1624
  b("option", fr, r(h(x).blockSettings.noCondition), 1),
1625
- (a(!0), v(S, null, s(Ce.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1625
+ (a(!0), v(S, null, s(Oe.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1626
1626
  key: 0,
1627
1627
  label: String(t)
1628
1628
  }, [(a(!0), v(S, null, s(e, (e) => (a(), v("option", {
@@ -1632,10 +1632,10 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1632
1632
  key: e.label,
1633
1633
  value: e.label
1634
1634
  }, r(e.label), 9, hr))), 128))], 64))), 128)),
1635
- h(L) ? (a(), v("option", gr, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1635
+ h(R) ? (a(), v("option", gr, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1636
1636
  ], 42, dr)]),
1637
1637
  _: 1
1638
- }, 8, ["label"]), J.value || Z.value ? (a(), v("div", _r, [
1638
+ }, 8, ["label"]), J.value || xe.value ? (a(), v("div", _r, [
1639
1639
  b("div", null, [b("label", vr, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1640
1640
  "onUpdate:modelValue": n[9] ||= (e) => Y.value = e,
1641
1641
  rows: "2",
@@ -1650,9 +1650,9 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1650
1650
  type: "button",
1651
1651
  class: o(h(ee)),
1652
1652
  disabled: !Y.value.trim(),
1653
- onClick: Se
1653
+ onClick: we
1654
1654
  }, r(h(x).blockSettings.applyCondition), 11, xr)])
1655
- ])) : e.block.displayCondition && !Z.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", Sr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Cr, [b("pre", wr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", Tr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1655
+ ])) : e.block.displayCondition && !xe.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", Sr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", Cr, [b("pre", wr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", Tr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1656
1656
  _: 1
1657
1657
  }, 8, ["title", "open"])) : g("", !0)
1658
1658
  ], 2));
@@ -1665,13 +1665,13 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1665
1665
  readOnly: { type: Boolean }
1666
1666
  },
1667
1667
  setup(e) {
1668
- let { t } = W();
1668
+ let { t } = U();
1669
1669
  return (n, i) => (a(), v("span", null, [
1670
1670
  y(r(e.label) + " ", 1),
1671
1671
  e.readOnly ? (a(), v("span", {
1672
1672
  key: 0,
1673
1673
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1674
- }, [p(h(Ct), {
1674
+ }, [p(h(wt), {
1675
1675
  size: 12,
1676
1676
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1677
1677
  "aria-hidden": "true"
@@ -1694,7 +1694,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1694
1694
  },
1695
1695
  emits: ["update:modelValue"],
1696
1696
  setup(e, { emit: t }) {
1697
- let n = t, { t: i } = W();
1697
+ let n = t, { t: i } = U();
1698
1698
  return (t, o) => (a(), v("div", {
1699
1699
  class: "tpl:mb-3.5",
1700
1700
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0
@@ -1708,7 +1708,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1708
1708
  disabled: e.readOnly,
1709
1709
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1710
1710
  }, {
1711
- default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(Ct), {
1711
+ default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(wt), {
1712
1712
  key: 0,
1713
1713
  size: 12,
1714
1714
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1755,7 +1755,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1755
1755
  },
1756
1756
  emits: ["update:modelValue"],
1757
1757
  setup(e, { emit: t }) {
1758
- let n = e, r = t, { t: i } = W(), o = E(je, ft), s = m(() => Ze(n.field, o));
1758
+ let n = e, r = t, { t: i } = U(), o = E(Me, pt), s = m(() => Qe(n.field, o));
1759
1759
  return (t, n) => (a(), w(Fr, {
1760
1760
  "hide-label": e.hideLabel,
1761
1761
  label: e.field.label,
@@ -1800,7 +1800,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1800
1800
  },
1801
1801
  emits: ["update:modelValue"],
1802
1802
  setup(e, { emit: t }) {
1803
- let n = e, i = t, { t: s } = W(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Xe({
1803
+ let n = e, i = t, { t: s } = U(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Ze({
1804
1804
  target: c,
1805
1805
  value: () => n.modelValue,
1806
1806
  blocked: () => !!n.readOnly,
@@ -1817,7 +1817,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1817
1817
  ref: c,
1818
1818
  class: "tpl:relative"
1819
1819
  }, [
1820
- h(f) ? (a(), w(Be, {
1820
+ h(f) ? (a(), w(Ve, {
1821
1821
  key: 0,
1822
1822
  uploading: h(d)
1823
1823
  }, null, 8, ["uploading"])) : g("", !0),
@@ -1841,7 +1841,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1841
1841
  key: 3,
1842
1842
  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)]",
1843
1843
  onClick: n[1] ||= (e) => h(m)()
1844
- }, [p(h(it), {
1844
+ }, [p(h(at), {
1845
1845
  size: 14,
1846
1846
  "stroke-width": 1.5
1847
1847
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
@@ -1872,7 +1872,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1872
1872
  },
1873
1873
  emits: ["update:modelValue"],
1874
1874
  setup(e, { emit: t }) {
1875
- let n = t, { t: r } = W();
1875
+ let n = t, { t: r } = U();
1876
1876
  return (t, i) => (a(), w(Fr, {
1877
1877
  "hide-label": e.hideLabel,
1878
1878
  label: e.field.label,
@@ -1915,7 +1915,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1915
1915
  },
1916
1916
  emits: ["update:modelValue"],
1917
1917
  setup(e, { emit: t }) {
1918
- let n = e, c = t, { t: l, format: d } = W(), f = m(() => n.modelValue || []), _ = m(() => !n.field.maxItems || f.value.length < n.field.maxItems), x = m(() => !n.field.minItems || f.value.length > n.field.minItems);
1918
+ let n = e, c = t, { t: l, format: d } = U(), f = m(() => n.modelValue || []), _ = m(() => !n.field.maxItems || f.value.length < n.field.maxItems), x = m(() => !n.field.minItems || f.value.length > n.field.minItems);
1919
1919
  function C() {
1920
1920
  if (!_.value || n.readOnly) return;
1921
1921
  let e = {};
@@ -1950,7 +1950,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1950
1950
  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)]",
1951
1951
  title: h(l).customBlocks.fields.removeItem,
1952
1952
  onClick: (e) => T(n)
1953
- }, [p(h(pt), {
1953
+ }, [p(h(mt), {
1954
1954
  size: 12,
1955
1955
  "stroke-width": 2
1956
1956
  })], 8, Gr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), w(i(h(ri)(r.type)), {
@@ -1970,7 +1970,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1970
1970
  type: "button",
1971
1971
  class: o(h(R)),
1972
1972
  onClick: C
1973
- }, [p(h(Q), {
1973
+ }, [p(h(Z), {
1974
1974
  size: 14,
1975
1975
  "stroke-width": 2
1976
1976
  }), y(" " + r(h(l).customBlocks.fields.addItem), 1)], 2)) : g("", !0),
@@ -1999,7 +1999,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1999
1999
  },
2000
2000
  emits: ["update:modelValue"],
2001
2001
  setup(e, { emit: t }) {
2002
- let n = t, { t: i } = W();
2002
+ let n = t, { t: i } = U();
2003
2003
  return (t, c) => (a(), w(Fr, {
2004
2004
  "hide-label": e.hideLabel,
2005
2005
  label: e.field.label,
@@ -2038,7 +2038,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
2038
2038
  },
2039
2039
  emits: ["update:modelValue"],
2040
2040
  setup(e, { emit: t }) {
2041
- let n = t, { t: r } = W();
2041
+ let n = t, { t: r } = U();
2042
2042
  return (t, i) => (a(), w(Fr, {
2043
2043
  "hide-label": e.hideLabel,
2044
2044
  label: e.field.label,
@@ -2083,7 +2083,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
2083
2083
  },
2084
2084
  emits: ["update:modelValue"],
2085
2085
  setup(e, { emit: t }) {
2086
- let n = t, { t: r } = W();
2086
+ let n = t, { t: r } = U();
2087
2087
  return (t, i) => (a(), w(Fr, {
2088
2088
  "hide-label": e.hideLabel,
2089
2089
  label: e.field.label,
@@ -2147,7 +2147,7 @@ var ii = {
2147
2147
  props: { block: {} },
2148
2148
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2149
2149
  setup(e, { emit: t }) {
2150
- let n = e, o = t, { t: c } = W(), l = E(Ae, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = Fe({
2150
+ let n = e, o = t, { t: c } = U(), l = E(je, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = Ie({
2151
2151
  definition: d,
2152
2152
  block: f,
2153
2153
  onUpdate: (e, t) => {
@@ -2175,7 +2175,7 @@ var ii = {
2175
2175
  type: "button",
2176
2176
  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)]",
2177
2177
  onClick: n[1] ||= (...e) => h(C) && h(C)(...e)
2178
- }, [p(h(ut), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", di, [p(h(lt), {
2178
+ }, [p(h(dt), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", di, [p(h(ut), {
2179
2179
  size: 14,
2180
2180
  class: "tpl:shrink-0"
2181
2181
  }), y(" " + r(h(c).customBlocks.dataSource.fetchError), 1)])) : g("", !0)])) : g("", !0),
@@ -2216,7 +2216,7 @@ var ii = {
2216
2216
  props: { block: {} },
2217
2217
  emits: ["update"],
2218
2218
  setup(e, { emit: t }) {
2219
- let n = t, { t: r } = W();
2219
+ let n = t, { t: r } = U();
2220
2220
  function i(e, t) {
2221
2221
  n("update", { [e]: t });
2222
2222
  }
@@ -2226,7 +2226,7 @@ var ii = {
2226
2226
  class: "tpl:mb-3.5",
2227
2227
  path: "lineStyle"
2228
2228
  }, {
2229
- default: u(() => [p($, {
2229
+ default: u(() => [p(Q, {
2230
2230
  options: [
2231
2231
  {
2232
2232
  value: "solid",
@@ -2279,7 +2279,7 @@ var ii = {
2279
2279
  props: { block: {} },
2280
2280
  emits: ["update"],
2281
2281
  setup(e, { emit: t }) {
2282
- let n = t, { t: i } = W();
2282
+ let n = t, { t: i } = U();
2283
2283
  return (t, s) => (a(), w(A, {
2284
2284
  label: h(i).html.content,
2285
2285
  class: "tpl:mb-3.5",
@@ -2291,7 +2291,7 @@ var ii = {
2291
2291
  rows: "10",
2292
2292
  class: o(h(H)),
2293
2293
  onInput: s[0] ||= (e) => n("update", { content: e.target.value })
2294
- }, null, 42, gi), b("p", _i, [p(h(mt), {
2294
+ }, null, 42, gi), b("p", _i, [p(h(ht), {
2295
2295
  size: 12,
2296
2296
  class: "tpl:mt-0.5 tpl:shrink-0"
2297
2297
  }), y(" " + r(h(i).html.sanitizationHint), 1)])]),
@@ -2305,7 +2305,7 @@ function yi(e) {
2305
2305
  t(() => e.block().id, () => {
2306
2306
  n.value = !1, r.value = null;
2307
2307
  });
2308
- let i = m(() => Ve(e.block()) ?? e.measured()), a = m(() => {
2308
+ let i = m(() => He(e.block()) ?? e.measured()), a = m(() => {
2309
2309
  let t = e.block().width;
2310
2310
  return t === "full" ? e.room() : t;
2311
2311
  }), o = m(() => {
@@ -2316,9 +2316,9 @@ function yi(e) {
2316
2316
  return t === void 0 || o.value !== null && Math.abs(o.value - t) <= 1;
2317
2317
  }), l = m(() => s.value && !n.value && c.value);
2318
2318
  function u() {
2319
- if (Ve(e.block())) return {};
2319
+ if (He(e.block())) return {};
2320
2320
  let t = e.measured();
2321
- return t ? He(t) : {};
2321
+ return t ? Ue(t) : {};
2322
2322
  }
2323
2323
  function d(t) {
2324
2324
  if (r.value = null, !t) return n.value = !0, null;
@@ -2380,7 +2380,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2380
2380
  props: { block: {} },
2381
2381
  emits: ["update"],
2382
2382
  setup(e, { emit: t }) {
2383
- let n = e, i = t, { t: s, format: c } = W(), l = E(Se, Z.liquid), d = E(Pe, null), f = d ? be(d) : null, C = E(Ee, void 0), T = _(!1), D = _(!1), { start: O } = ht(() => {
2383
+ let n = e, i = t, { t: s, format: c } = U(), l = E(Ce, be.liquid), d = E(Fe, null), f = d ? xe(d) : null, C = E(De, void 0), T = _(!1), D = _(!1), { start: O } = gt(() => {
2384
2384
  T.value = !1, D.value = !1;
2385
2385
  }, 1e3, { immediate: !1 }), k = [
2386
2386
  300,
@@ -2396,8 +2396,8 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2396
2396
  function ee(e) {
2397
2397
  if (e === "custom") {
2398
2398
  let e = n.block.width;
2399
- (typeof e != "number" || k.includes(e)) && i("update", K.widthUpdates(Bi));
2400
- } else i("update", K.widthUpdates(e === "full" ? "full" : Number(e)));
2399
+ (typeof e != "number" || k.includes(e)) && i("update", G.widthUpdates(Bi));
2400
+ } else i("update", G.widthUpdates(e === "full" ? "full" : Number(e)));
2401
2401
  }
2402
2402
  function R(e) {
2403
2403
  I("height", e === "custom" ? Vi : void 0);
@@ -2410,42 +2410,42 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2410
2410
  !Number.isFinite(t) || t <= 0 || I("height", t);
2411
2411
  }
2412
2412
  function V(e) {
2413
- I("borderRadius", pe(e) === null ? void 0 : e);
2413
+ I("borderRadius", me(e) === null ? void 0 : e);
2414
2414
  }
2415
2415
  function H(e) {
2416
2416
  let t = Number(e);
2417
- !Number.isFinite(t) || t <= 0 || i("update", K.widthUpdates(t));
2417
+ !Number.isFinite(t) || t <= 0 || i("update", G.widthUpdates(t));
2418
2418
  }
2419
2419
  function re(e) {
2420
2420
  e !== n.block.src && i("update", {
2421
2421
  src: e,
2422
- ...He(null)
2422
+ ...Ue(null)
2423
2423
  });
2424
2424
  }
2425
- function U(e) {
2425
+ function ie(e) {
2426
2426
  i("update", {
2427
2427
  src: e.url,
2428
- ...He(Le(e.width, e.height))
2428
+ ...Ue(Re(e.width, e.height))
2429
2429
  }), e.alt && (I("alt", e.alt), D.value = !0), T.value = !0, O();
2430
2430
  }
2431
- let ie = _(), ae = m(() => G(n.block.src, l)), { canBrowse: oe, isUploading: se, showOverlay: ce, openMediaBrowser: le } = Xe({
2432
- target: ie,
2431
+ let ae = _(), oe = m(() => W(n.block.src, l)), { canBrowse: se, isUploading: ce, showOverlay: le, openMediaBrowser: ue } = Ze({
2432
+ target: ae,
2433
2433
  value: () => n.block.src,
2434
- blocked: ae,
2435
- apply: U
2436
- }), ue = Ie(() => ae.value || !n.block.src || Ve(n.block) ? void 0 : n.block.src), de = Cn(() => ue.value), fe = m(() => f ? Ue(f.content.value, n.block.id, C) : null), K = yi({
2434
+ blocked: oe,
2435
+ apply: ie
2436
+ }), de = Le(() => oe.value || !n.block.src || He(n.block) ? void 0 : n.block.src), fe = Cn(() => de.value), pe = m(() => f ? We(f.content.value, n.block.id, C) : null), G = yi({
2437
2437
  block: () => n.block,
2438
- room: () => fe.value,
2439
- measured: () => de.value
2440
- }), { available: q, locked: J, derivedHeight: Y, cappedHeight: X } = K;
2441
- function me() {
2442
- let e = K.setLocked(!J.value);
2438
+ room: () => pe.value,
2439
+ measured: () => fe.value
2440
+ }), { available: K, locked: q, derivedHeight: J, cappedHeight: Y } = G;
2441
+ function X() {
2442
+ let e = G.setLocked(!q.value);
2443
2443
  e && i("update", e);
2444
2444
  }
2445
2445
  let he = _(null);
2446
2446
  function ge(e) {
2447
2447
  he.value = e;
2448
- let t = K.heightUpdates(Number(e));
2448
+ let t = G.heightUpdates(Number(e));
2449
2449
  t && i("update", t);
2450
2450
  }
2451
2451
  return (t, n) => (a(), v(S, null, [
@@ -2456,12 +2456,12 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2456
2456
  }, {
2457
2457
  default: u(() => [b("div", {
2458
2458
  ref_key: "dropZoneRef",
2459
- ref: ie,
2459
+ ref: ae,
2460
2460
  class: "tpl:relative"
2461
2461
  }, [
2462
- h(ce) ? (a(), w(Be, {
2462
+ h(le) ? (a(), w(Ve, {
2463
2463
  key: 0,
2464
- uploading: h(se)
2464
+ uploading: h(ce)
2465
2465
  }, null, 8, ["uploading"])) : g("", !0),
2466
2466
  p(N, {
2467
2467
  "model-value": e.block.src,
@@ -2474,7 +2474,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2474
2474
  "placeholder",
2475
2475
  "pulse"
2476
2476
  ]),
2477
- h(oe) ? (a(), v("button", {
2477
+ h(se) ? (a(), v("button", {
2478
2478
  key: 1,
2479
2479
  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",
2480
2480
  style: {
@@ -2482,15 +2482,15 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2482
2482
  color: "var(--tpl-primary)",
2483
2483
  "background-color": "var(--tpl-bg)"
2484
2484
  },
2485
- onClick: n[1] ||= (...e) => h(le) && h(le)(...e)
2486
- }, [p(h(it), {
2485
+ onClick: n[1] ||= (...e) => h(ue) && h(ue)(...e)
2486
+ }, [p(h(at), {
2487
2487
  size: 14,
2488
2488
  "stroke-width": 1.5
2489
2489
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
2490
2490
  ], 512)]),
2491
2491
  _: 1
2492
2492
  }, 8, ["label"]),
2493
- h(G)(e.block.src, h(l)) ? (a(), w(A, {
2493
+ h(W)(e.block.src, h(l)) ? (a(), w(A, {
2494
2494
  key: 0,
2495
2495
  class: "tpl:mb-3.5",
2496
2496
  path: "placeholderUrl"
@@ -2593,23 +2593,23 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2593
2593
  label: h(s).image.height
2594
2594
  }, x({
2595
2595
  default: u(() => [
2596
- h(J) ? (a(), v(S, { key: 0 }, [b("div", Mi, [b("input", {
2596
+ h(q) ? (a(), v(S, { key: 0 }, [b("div", Mi, [b("input", {
2597
2597
  type: "number",
2598
2598
  "data-testid": "image-locked-height-input",
2599
2599
  class: o(h(z)),
2600
- value: he.value ?? h(Y) ?? "",
2600
+ value: he.value ?? h(J) ?? "",
2601
2601
  min: "1",
2602
2602
  onInput: n[8] ||= (e) => ge(e.target.value),
2603
2603
  onBlur: n[9] ||= (e) => he.value = null
2604
- }, null, 42, Ni), b("span", { class: o(h(L)) }, "px", 2)]), h(X) === null ? g("", !0) : (a(), v("p", Pi, r(h(c)(h(s).image.heightCapped, { height: h(X) })), 1))], 64)) : g("", !0),
2605
- h(J) ? g("", !0) : (a(), v("select", {
2604
+ }, null, 42, Ni), b("span", { class: o(h(L)) }, "px", 2)]), h(Y) === null ? g("", !0) : (a(), v("p", Pi, r(h(c)(h(s).image.heightCapped, { height: h(Y) })), 1))], 64)) : g("", !0),
2605
+ h(q) ? g("", !0) : (a(), v("select", {
2606
2606
  key: 1,
2607
2607
  class: o(h(B)),
2608
2608
  "data-testid": "image-height-mode",
2609
2609
  value: M.value,
2610
2610
  onChange: n[10] ||= (e) => R(e.target.value)
2611
2611
  }, [b("option", Ii, r(h(s).image.heightAuto), 1), b("option", Li, r(h(s).image.heightCustom), 1)], 42, Fi)),
2612
- !h(J) && M.value === "custom" ? (a(), v("div", Ri, [b("input", {
2612
+ !h(q) && M.value === "custom" ? (a(), v("div", Ri, [b("input", {
2613
2613
  type: "number",
2614
2614
  "data-testid": "image-height-input",
2615
2615
  class: o(h(z)),
@@ -2619,14 +2619,14 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2619
2619
  }, null, 42, zi), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)
2620
2620
  ]),
2621
2621
  _: 2
2622
- }, [h(q) ? {
2622
+ }, [h(K) ? {
2623
2623
  name: "label-actions",
2624
- fn: u(() => [p(jt, {
2625
- linked: h(J),
2624
+ fn: u(() => [p(Mt, {
2625
+ linked: h(q),
2626
2626
  "link-label": h(s).image.lockAspectRatio,
2627
2627
  "unlink-label": h(s).image.unlockAspectRatio,
2628
2628
  testid: "image-aspect-lock",
2629
- onToggle: me
2629
+ onToggle: X
2630
2630
  }, null, 8, [
2631
2631
  "linked",
2632
2632
  "link-label",
@@ -2634,14 +2634,14 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2634
2634
  ])]),
2635
2635
  key: "0"
2636
2636
  } : void 0]), 1032, ["label"]),
2637
- p(Rt, {
2637
+ p(zt, {
2638
2638
  path: "borderRadius",
2639
2639
  "model-value": e.block.borderRadius,
2640
2640
  label: h(s).image.borderRadius,
2641
2641
  "testid-prefix": "image",
2642
2642
  "onUpdate:modelValue": V
2643
2643
  }, null, 8, ["model-value", "label"]),
2644
- p(Ft, {
2644
+ p(It, {
2645
2645
  path: "border",
2646
2646
  "model-value": e.block.border,
2647
2647
  "testid-prefix": "image",
@@ -2652,7 +2652,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2652
2652
  class: "tpl:mb-3.5",
2653
2653
  path: "align"
2654
2654
  }, {
2655
- default: u(() => [p($, {
2655
+ default: u(() => [p(Q, {
2656
2656
  options: [
2657
2657
  {
2658
2658
  value: "left",
@@ -2717,7 +2717,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2717
2717
  },
2718
2718
  emits: ["update"],
2719
2719
  setup(e, { emit: t }) {
2720
- let n = e, i = t, { t: c } = W(), l = m(() => [
2720
+ let n = e, i = t, { t: c } = U(), l = m(() => [
2721
2721
  {
2722
2722
  key: "openInNewTab",
2723
2723
  label: c.menu.openInNewTab
@@ -2734,7 +2734,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2734
2734
  {
2735
2735
  value: "left",
2736
2736
  label: c.title.alignLeft,
2737
- icon: vt
2737
+ icon: yt
2738
2738
  },
2739
2739
  {
2740
2740
  value: "center",
@@ -2744,7 +2744,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2744
2744
  {
2745
2745
  value: "right",
2746
2746
  label: c.title.alignRight,
2747
- icon: gt
2747
+ icon: vt
2748
2748
  }
2749
2749
  ]);
2750
2750
  function f(e, t) {
@@ -2752,7 +2752,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2752
2752
  }
2753
2753
  function g() {
2754
2754
  let e = {
2755
- id: K(),
2755
+ id: G(),
2756
2756
  text: "",
2757
2757
  url: "",
2758
2758
  openInNewTab: !1,
@@ -2793,7 +2793,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2793
2793
  class: o(h(I)),
2794
2794
  title: h(c).menu.removeItem,
2795
2795
  onClick: (e) => x(t.id)
2796
- }, [p(h(yt), {
2796
+ }, [p(h(bt), {
2797
2797
  size: 14,
2798
2798
  "stroke-width": 2
2799
2799
  })], 10, Ki)]),
@@ -2846,7 +2846,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2846
2846
  ]))), 128)), b("button", {
2847
2847
  class: o(h(R)),
2848
2848
  onClick: g
2849
- }, [p(h(Q), {
2849
+ }, [p(h(Z), {
2850
2850
  size: 14,
2851
2851
  "stroke-width": 2
2852
2852
  }), y(" " + r(h(c).menu.addItem), 1)], 2)])]),
@@ -2858,7 +2858,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2858
2858
  }, {
2859
2859
  default: u(() => [b("select", {
2860
2860
  class: o(h(B)),
2861
- value: h($e)(e.block.fontFamily),
2861
+ value: h(et)(e.block.fontFamily),
2862
2862
  onChange: n[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2863
2863
  }, [b("option", Xi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2864
2864
  key: e.value,
@@ -2870,7 +2870,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2870
2870
  path: "fontSize",
2871
2871
  label: h(c).menu.fontSize
2872
2872
  }, {
2873
- default: u(() => [p(kt, {
2873
+ default: u(() => [p(At, {
2874
2874
  "model-value": e.block.fontSize,
2875
2875
  min: 8,
2876
2876
  max: 48,
@@ -2903,7 +2903,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2903
2903
  path: "textAlign",
2904
2904
  label: h(c).menu.textAlign
2905
2905
  }, {
2906
- default: u(() => [p($, {
2906
+ default: u(() => [p(Q, {
2907
2907
  options: d.value,
2908
2908
  "model-value": e.block.textAlign,
2909
2909
  "onUpdate:modelValue": n[4] ||= (e) => f("textAlign", e)
@@ -2936,7 +2936,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2936
2936
  path: "spacing",
2937
2937
  label: h(c).menu.spacing
2938
2938
  }, {
2939
- default: u(() => [p(kt, {
2939
+ default: u(() => [p(At, {
2940
2940
  "model-value": e.block.spacing,
2941
2941
  min: 0,
2942
2942
  max: 50,
@@ -2952,7 +2952,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2952
2952
  props: { block: {} },
2953
2953
  emits: ["update"],
2954
2954
  setup(e, { emit: t }) {
2955
- let n = t, { t: r } = W();
2955
+ let n = t, { t: r } = U();
2956
2956
  return (t, i) => (a(), w(A, {
2957
2957
  label: h(r).paragraph.paragraphSpacing,
2958
2958
  class: "tpl:mb-3.5",
@@ -2962,7 +2962,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2962
2962
  default: u(() => [b("div", ea, [b("input", {
2963
2963
  type: "number",
2964
2964
  class: o(h(z)),
2965
- value: e.block.paragraphSpacing ?? h(Y).paragraphGap,
2965
+ value: e.block.paragraphSpacing ?? h(J).paragraphGap,
2966
2966
  min: "0",
2967
2967
  max: "64",
2968
2968
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
@@ -3004,7 +3004,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3004
3004
  props: { block: {} },
3005
3005
  emits: ["update"],
3006
3006
  setup(e, { emit: t }) {
3007
- let n = e, i = t, { t: c, format: l } = W(), d = E(Ee, void 0), f = E(xe, void 0), _ = d !== void 0 && le(d), y = m(() => f !== !1 || !!n.block.wrapper), x = m(() => _ && !n.block.wrapper), C = m(() => _ && y.value), T = m(() => se(n.block)?.applied === !0), D = m(() => [
3007
+ let n = e, i = t, { t: c, format: l } = U(), d = E(De, void 0), f = E(Se, void 0), _ = d !== void 0 && ue(d), y = m(() => f !== !1 || !!n.block.wrapper), x = m(() => _ && !n.block.wrapper), C = m(() => _ && y.value), T = m(() => ce(n.block)?.applied === !0), D = m(() => [
3008
3008
  {
3009
3009
  value: "1",
3010
3010
  label: c.section.column1
@@ -3041,7 +3041,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3041
3041
  value: "1-2-1",
3042
3042
  label: c.section.ratio121
3043
3043
  }
3044
- ]), O = m(() => ve(n.block)), k = m(() => n.block.columnWidths !== void 0 && ce(n.block) === null), j = m(() => k.value ? "custom" : n.block.columns);
3044
+ ]), O = m(() => ve(n.block)), k = m(() => n.block.columnWidths !== void 0 && le(n.block) === null), j = m(() => k.value ? "custom" : n.block.columns);
3045
3045
  function N(e) {
3046
3046
  let t = e.target.value;
3047
3047
  if (t === "custom") return;
@@ -3063,7 +3063,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3063
3063
  return;
3064
3064
  }
3065
3065
  let c = s.slice(), l = e === c.length - 1 ? e - 1 : e + 1, u = c[e] + c[l], d = Math.max(.01, F(Math.min(5, u / 2))), f = Math.min(Math.max(o, d), u - d);
3066
- c[e] = ie(f), c[l] = ie(u - c[e]);
3066
+ c[e] = ae(f), c[l] = ae(u - c[e]);
3067
3067
  let p = he[n.block.columns], m = p !== void 0 && p.every((e, t) => e === c[t]);
3068
3068
  i("update", { columnWidths: m ? void 0 : c });
3069
3069
  }
@@ -3093,7 +3093,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3093
3093
  function re(e) {
3094
3094
  H({ padding: e });
3095
3095
  }
3096
- function U(e) {
3096
+ function ie(e) {
3097
3097
  H({ borderRadius: e });
3098
3098
  }
3099
3099
  return (t, n) => (a(), v(S, null, [
@@ -3143,7 +3143,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3143
3143
  ])]),
3144
3144
  _: 1
3145
3145
  }, 8, ["label"])),
3146
- p(Rt, {
3146
+ p(zt, {
3147
3147
  path: "borderRadius",
3148
3148
  "model-value": e.block.borderRadius,
3149
3149
  label: h(c).section.borderRadius,
@@ -3151,7 +3151,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3151
3151
  "testid-prefix": "section",
3152
3152
  "onUpdate:modelValue": R
3153
3153
  }, null, 8, ["model-value", "label"]),
3154
- T.value ? g("", !0) : (a(), w(Ft, {
3154
+ T.value ? g("", !0) : (a(), w(It, {
3155
3155
  key: 2,
3156
3156
  path: "border",
3157
3157
  "model-value": e.block.border,
@@ -3234,13 +3234,13 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3234
3234
  },
3235
3235
  "onUpdate:modelValue": re
3236
3236
  }, null, 8, ["label", "model-value"]),
3237
- p(Rt, {
3237
+ p(zt, {
3238
3238
  path: "wrapper.borderRadius",
3239
3239
  "model-value": e.block.wrapper.borderRadius,
3240
3240
  label: h(c).section.borderRadius,
3241
3241
  max: 50,
3242
3242
  "testid-prefix": "section-wrapper",
3243
- "onUpdate:modelValue": U
3243
+ "onUpdate:modelValue": ie
3244
3244
  }, null, 8, ["model-value", "label"])
3245
3245
  ])) : g("", !0)
3246
3246
  ])) : g("", !0)
@@ -3251,7 +3251,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3251
3251
  props: { icon: {} },
3252
3252
  emits: ["update"],
3253
3253
  setup(e, { emit: t }) {
3254
- let n = e, i = t, { t: o } = W(), { syntax: s } = bt(), c = _(), l = m(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), d = m(() => G(l.value, s));
3254
+ let n = e, i = t, { t: o } = U(), { syntax: s } = xt(), c = _(), l = m(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), d = m(() => W(l.value, s));
3255
3255
  function f(e) {
3256
3256
  return n.icon.id.includes(".") ? void 0 : `icons.${n.icon.id}.${e}`;
3257
3257
  }
@@ -3274,7 +3274,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3274
3274
  };
3275
3275
  e.alt && (t.alt = e.alt), i("update", t);
3276
3276
  }
3277
- let { canBrowse: E, isUploading: D, showOverlay: O, openMediaBrowser: k } = Xe({
3277
+ let { canBrowse: E, isUploading: D, showOverlay: O, openMediaBrowser: k } = Ze({
3278
3278
  target: c,
3279
3279
  value: l,
3280
3280
  blocked: d,
@@ -3289,7 +3289,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3289
3289
  ref: c,
3290
3290
  class: "tpl:relative"
3291
3291
  }, [
3292
- h(O) ? (a(), w(Be, {
3292
+ h(O) ? (a(), w(Ve, {
3293
3293
  key: 0,
3294
3294
  uploading: h(D)
3295
3295
  }, null, 8, ["uploading"])) : g("", !0),
@@ -3308,7 +3308,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3308
3308
  "background-color": "var(--tpl-bg)"
3309
3309
  },
3310
3310
  onClick: n[0] ||= (...e) => h(k) && h(k)(...e)
3311
- }, [p(h(it), {
3311
+ }, [p(h(at), {
3312
3312
  size: 14,
3313
3313
  "stroke-width": 1.5
3314
3314
  }), y(" " + r(h(o).image.browseMedia), 1)])) : g("", !0)
@@ -3335,13 +3335,13 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3335
3335
  props: { block: {} },
3336
3336
  emits: ["update"],
3337
3337
  setup(e, { emit: t }) {
3338
- let n = e, i = t, { t: c } = W();
3338
+ let n = e, i = t, { t: c } = U();
3339
3339
  function l(e, t) {
3340
3340
  i("update", { [e]: t });
3341
3341
  }
3342
3342
  function d() {
3343
3343
  let e = {
3344
- id: K(),
3344
+ id: G(),
3345
3345
  platform: "facebook",
3346
3346
  url: ""
3347
3347
  };
@@ -3388,7 +3388,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3388
3388
  class: o([h(B), "tpl:flex-1"]),
3389
3389
  value: e.platform,
3390
3390
  onChange: (t) => x(e, t.target.value)
3391
- }, [(a(!0), v(S, null, s(h(Je), (e) => (a(), v("option", {
3391
+ }, [(a(!0), v(S, null, s(h(Ye), (e) => (a(), v("option", {
3392
3392
  key: e,
3393
3393
  value: e
3394
3394
  }, r(h(c).social.platforms[e]), 9, ya))), 128)), b("option", ba, r(h(c).social.platforms.custom), 1)], 42, va)]),
@@ -3397,7 +3397,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3397
3397
  class: o(h(I)),
3398
3398
  title: h(c).social.removeIcon,
3399
3399
  onClick: (t) => C(e.id)
3400
- }, [p(h(yt), {
3400
+ }, [p(h(bt), {
3401
3401
  size: 14,
3402
3402
  "stroke-width": 2
3403
3403
  })], 10, xa)]),
@@ -3426,7 +3426,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3426
3426
  ]))), 128)), b("button", {
3427
3427
  class: o(h(R)),
3428
3428
  onClick: d
3429
- }, [p(h(Q), {
3429
+ }, [p(h(Z), {
3430
3430
  size: 14,
3431
3431
  "stroke-width": 2
3432
3432
  }), y(" " + r(h(c).social.addIcon), 1)], 2)])]),
@@ -3471,7 +3471,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3471
3471
  class: "tpl:mb-3.5",
3472
3472
  path: "iconSize"
3473
3473
  }, {
3474
- default: u(() => [p($, {
3474
+ default: u(() => [p(Q, {
3475
3475
  options: [
3476
3476
  {
3477
3477
  value: "small",
@@ -3511,12 +3511,12 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3511
3511
  class: "tpl:mb-3.5",
3512
3512
  path: "align"
3513
3513
  }, {
3514
- default: u(() => [p($, {
3514
+ default: u(() => [p(Q, {
3515
3515
  options: [
3516
3516
  {
3517
3517
  value: "left",
3518
3518
  label: h(c).title.alignLeft,
3519
- icon: h(vt)
3519
+ icon: h(yt)
3520
3520
  },
3521
3521
  {
3522
3522
  value: "center",
@@ -3526,7 +3526,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3526
3526
  {
3527
3527
  value: "right",
3528
3528
  label: h(c).title.alignRight,
3529
- icon: h(gt)
3529
+ icon: h(vt)
3530
3530
  }
3531
3531
  ],
3532
3532
  "model-value": e.block.align,
@@ -3541,7 +3541,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3541
3541
  props: { block: {} },
3542
3542
  emits: ["update"],
3543
3543
  setup(e, { emit: t }) {
3544
- let n = t, { t: r } = W();
3544
+ let n = t, { t: r } = U();
3545
3545
  return (t, i) => (a(), w(A, {
3546
3546
  label: h(r).spacer.height,
3547
3547
  class: "tpl:mb-3.5",
@@ -3573,15 +3573,15 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3573
3573
  },
3574
3574
  emits: ["update"],
3575
3575
  setup(e, { emit: t }) {
3576
- let n = e, i = t, { t: c } = W(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3576
+ let n = e, i = t, { t: c } = U(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3577
3577
  function d(e, t) {
3578
3578
  i("update", { [e]: t });
3579
3579
  }
3580
3580
  function f() {
3581
3581
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3582
- id: K(),
3582
+ id: G(),
3583
3583
  cells: Array.from({ length: e }, () => ({
3584
- id: K(),
3584
+ id: G(),
3585
3585
  content: ""
3586
3586
  }))
3587
3587
  };
@@ -3594,7 +3594,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3594
3594
  let e = n.block.rows.map((e) => ({
3595
3595
  ...e,
3596
3596
  cells: [...e.cells, {
3597
- id: K(),
3597
+ id: G(),
3598
3598
  content: ""
3599
3599
  }]
3600
3600
  }));
@@ -3613,7 +3613,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3613
3613
  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",
3614
3614
  disabled: e.block.rows.length <= 1,
3615
3615
  onClick: n[0] ||= (t) => _(e.block.rows[e.block.rows.length - 1].id)
3616
- }, [p(h(tt), {
3616
+ }, [p(h(nt), {
3617
3617
  size: 12,
3618
3618
  "stroke-width": 2
3619
3619
  })], 8, Ka),
@@ -3621,7 +3621,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3621
3621
  b("button", {
3622
3622
  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)]",
3623
3623
  onClick: f
3624
- }, [p(h(Q), {
3624
+ }, [p(h(Z), {
3625
3625
  size: 12,
3626
3626
  "stroke-width": 2
3627
3627
  })])
@@ -3630,7 +3630,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3630
3630
  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",
3631
3631
  disabled: l.value <= 1,
3632
3632
  onClick: n[1] ||= (e) => x(l.value - 1)
3633
- }, [p(h(tt), {
3633
+ }, [p(h(nt), {
3634
3634
  size: 12,
3635
3635
  "stroke-width": 2
3636
3636
  })], 8, Za),
@@ -3638,7 +3638,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3638
3638
  b("button", {
3639
3639
  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)]",
3640
3640
  onClick: y
3641
- }, [p(h(Q), {
3641
+ }, [p(h(Z), {
3642
3642
  size: 12,
3643
3643
  "stroke-width": 2
3644
3644
  })])
@@ -3728,7 +3728,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3728
3728
  }, {
3729
3729
  default: u(() => [b("select", {
3730
3730
  class: o(h(B)),
3731
- value: h($e)(e.block.fontFamily),
3731
+ value: h(et)(e.block.fontFamily),
3732
3732
  onChange: n[7] ||= (e) => d("fontFamily", e.target.value || void 0)
3733
3733
  }, [b("option", io, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3734
3734
  key: e.value,
@@ -3767,12 +3767,12 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3767
3767
  class: "tpl:mb-3.5",
3768
3768
  path: "textAlign"
3769
3769
  }, {
3770
- default: u(() => [p($, {
3770
+ default: u(() => [p(Q, {
3771
3771
  options: [
3772
3772
  {
3773
3773
  value: "left",
3774
3774
  label: h(c).title.alignLeft,
3775
- icon: h(vt)
3775
+ icon: h(yt)
3776
3776
  },
3777
3777
  {
3778
3778
  value: "center",
@@ -3782,7 +3782,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3782
3782
  {
3783
3783
  value: "right",
3784
3784
  label: h(c).title.alignRight,
3785
- icon: h(gt)
3785
+ icon: h(vt)
3786
3786
  }
3787
3787
  ],
3788
3788
  "model-value": e.block.textAlign,
@@ -3800,7 +3800,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3800
3800
  },
3801
3801
  emits: ["update"],
3802
3802
  setup(e, { emit: t }) {
3803
- let n = t, { t: i } = W();
3803
+ let n = t, { t: i } = U();
3804
3804
  function c(e, t) {
3805
3805
  n("update", { [e]: t });
3806
3806
  }
@@ -3829,7 +3829,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3829
3829
  }, {
3830
3830
  default: u(() => [b("select", {
3831
3831
  class: o(h(B)),
3832
- value: h($e)(e.block.fontFamily),
3832
+ value: h(et)(e.block.fontFamily),
3833
3833
  onChange: n[1] ||= (e) => c("fontFamily", e.target.value || void 0)
3834
3834
  }, [b("option", go, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3835
3835
  key: e.value,
@@ -3853,12 +3853,12 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3853
3853
  class: "tpl:mb-3.5",
3854
3854
  path: "textAlign"
3855
3855
  }, {
3856
- default: u(() => [p($, {
3856
+ default: u(() => [p(Q, {
3857
3857
  options: [
3858
3858
  {
3859
3859
  value: "left",
3860
3860
  label: h(i).title.alignLeft,
3861
- icon: h(vt)
3861
+ icon: h(yt)
3862
3862
  },
3863
3863
  {
3864
3864
  value: "center",
@@ -3868,7 +3868,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3868
3868
  {
3869
3869
  value: "right",
3870
3870
  label: h(i).title.alignRight,
3871
- icon: h(gt)
3871
+ icon: h(vt)
3872
3872
  }
3873
3873
  ],
3874
3874
  "model-value": e.block.textAlign,
@@ -3893,14 +3893,14 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3893
3893
  props: { block: {} },
3894
3894
  emits: ["update"],
3895
3895
  setup(e, { emit: t }) {
3896
- let n = e, i = t, { t: s } = W(), c = E(De, null), l = E(Se, Z.liquid), d = ze(), f = [
3896
+ let n = e, i = t, { t: s } = U(), c = E(Oe, null), l = E(Ce, be.liquid), d = Be(), f = [
3897
3897
  300,
3898
3898
  400,
3899
3899
  500
3900
- ], x = m(() => !!c), C = m(() => G(n.block.url, l)), T = m(() => {
3900
+ ], x = m(() => !!c), C = m(() => W(n.block.url, l)), T = m(() => {
3901
3901
  let e = n.block.width;
3902
3902
  return e === "full" ? "full" : f.includes(e) ? String(e) : "custom";
3903
- }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = ht(() => {
3903
+ }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = gt(() => {
3904
3904
  O.value = !1;
3905
3905
  }, 1e3, { immediate: !1 });
3906
3906
  function j(e, t) {
@@ -3999,7 +3999,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3999
3999
  "background-color": "var(--tpl-bg)"
4000
4000
  },
4001
4001
  onClick: R
4002
- }, [p(h(it), {
4002
+ }, [p(h(at), {
4003
4003
  size: 14,
4004
4004
  "stroke-width": 1.5
4005
4005
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)]),
@@ -4069,7 +4069,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4069
4069
  class: "tpl:mb-3.5",
4070
4070
  path: "align"
4071
4071
  }, {
4072
- default: u(() => [p($, {
4072
+ default: u(() => [p(Q, {
4073
4073
  options: [
4074
4074
  {
4075
4075
  value: "left",
@@ -4100,9 +4100,9 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4100
4100
  "duplicate"
4101
4101
  ],
4102
4102
  setup(e, { emit: t }) {
4103
- let n = T(() => import("./CountdownToolbar-BQdhVNaK.js")), o = e, s = t, { t: c } = W(), l = dt(), u = Ne(ke, "Toolbar"), d = E(Ae, []), f = m(() => o.block.type), _ = m(() => ue(o.block)), y = m(() => {
4103
+ let n = T(() => import("./CountdownToolbar-BprSuPJk.js")), o = e, s = t, { t: c } = U(), l = ft(), u = Pe(Ae, "Toolbar"), d = E(je, []), f = m(() => o.block.type), _ = m(() => de(o.block)), y = m(() => {
4104
4104
  if (_.value) return d.find((e) => e.type === o.block.customType);
4105
- }), x = m(() => _.value ? y.value?.name ?? o.block.customType : Re(f.value, c)), S = m(() => Qe(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
4105
+ }), x = m(() => _.value ? y.value?.name ?? o.block.customType : ze(f.value, c)), S = m(() => $e(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
4106
4106
  function C(e) {
4107
4107
  l.value && s("update", e);
4108
4108
  }
@@ -4114,11 +4114,11 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4114
4114
  disabled: !h(l),
4115
4115
  inert: !h(l),
4116
4116
  class: "tpl:contents"
4117
- }, [b("div", Lo, [b("div", Ro, [h(nt)[f.value] ? (a(), w(i(h(nt)[f.value]), {
4117
+ }, [b("div", Lo, [b("div", Ro, [h(rt)[f.value] ? (a(), w(i(h(rt)[f.value]), {
4118
4118
  key: 0,
4119
4119
  size: 16,
4120
4120
  "stroke-width": 1.5
4121
- })) : _.value ? (a(), w(h(We), {
4121
+ })) : _.value ? (a(), w(h(Ge), {
4122
4122
  key: 1,
4123
4123
  size: 16,
4124
4124
  "stroke-width": 1.5
@@ -4126,14 +4126,14 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4126
4126
  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)]",
4127
4127
  title: h(c).toolbar.duplicate,
4128
4128
  onClick: o[0] ||= (e) => s("duplicate")
4129
- }, [p(h(xt), {
4129
+ }, [p(h(St), {
4130
4130
  size: 14,
4131
4131
  "stroke-width": 2
4132
4132
  })], 8, Vo), b("button", {
4133
4133
  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)]",
4134
4134
  title: h(c).toolbar.delete,
4135
4135
  onClick: o[1] ||= (e) => s("delete")
4136
- }, [p(h(pt), {
4136
+ }, [p(h(mt), {
4137
4137
  size: 14,
4138
4138
  "stroke-width": 2
4139
4139
  })], 8, Ho)])]), b("div", Uo, [_.value ? (a(), w(fi, {
@@ -4162,7 +4162,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4162
4162
  key: 5,
4163
4163
  block: e.block,
4164
4164
  onUpdate: C
4165
- }, null, 8, ["block"])) : f.value === "button" ? (a(), w($t, {
4165
+ }, null, 8, ["block"])) : f.value === "button" ? (a(), w(en, {
4166
4166
  key: 6,
4167
4167
  block: e.block,
4168
4168
  "font-families": S.value,
@@ -4204,5 +4204,5 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4204
4204
  onUpdate: C
4205
4205
  }, null, 8, ["block", "is-first-section"])])], 8, Io)], 8, Fo));
4206
4206
  }
4207
- }), Go = /* @__PURE__ */ e({ default: () => Ko }), Ko = /*#__PURE__*/ rt(Wo, [["__scopeId", "data-v-206f038f"]]);
4208
- export { Ko as default, kt as n, $ as r, Go as t };
4207
+ }), Go = /* @__PURE__ */ e({ default: () => Ko }), Ko = /*#__PURE__*/ it(Wo, [["__scopeId", "data-v-206f038f"]]);
4208
+ export { Ko as default, At as n, Q as r, Go as t };