@templatical/editor 0.60.4 → 0.62.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 (237) hide show
  1. package/LICENSE +21 -109
  2. package/README.md +3 -3
  3. package/dist/{AiAltTextPopover-DSA1wiiW.js → AiAltTextPopover-C1Ike67q.js} +3 -4
  4. package/dist/{AiAltTextReview-B9-vfzCj.js → AiAltTextReview-BjT7_PoG.js} +2 -3
  5. package/dist/{AiChatPanel-CjUnhJGB.js → AiChatPanel-C82fJozf.js} +165 -166
  6. package/dist/{AiPanels-DwI9KjjI.js → AiPanels-sam_GMNs.js} +1 -1
  7. package/dist/{AiRewriteMenu-Bh1cIX8F.js → AiRewriteMenu-CpBcT6QL.js} +3 -4
  8. package/dist/{BlockIssueBadge-Bug5iqcK.js → BlockIssueBadge-D3OmWkCh.js} +2 -3
  9. package/dist/{BlockPreviewCanvas-C_N6f_FS.js → BlockPreviewCanvas-BHRmnq0w.js} +6 -6
  10. package/dist/{CollaborationNotices-BM35YG72.js → CollaborationNotices-Cmc7Ziuf.js} +1 -1
  11. package/dist/{CollaboratorBar-DMsEOndt.js → CollaboratorBar-DVtWefk1.js} +1 -1
  12. package/dist/{CommentsPanel-BSLk23YP.js → CommentsPanel-BSt22Zw9.js} +1 -1
  13. package/dist/{CommentsSidebar-L-DgP_kM.js → CommentsSidebar-C8qbxjyN.js} +177 -184
  14. package/dist/{CountdownBlock-AYPypmcX.js → CountdownBlock-bFAELCB6.js} +3 -4
  15. package/dist/{CountdownToolbar-B6erqTbz.js → CountdownToolbar-CJbPEVV5.js} +4 -4
  16. package/dist/{IssuesPanel-CeCvUfa7.js → IssuesPanel-CKYf6K84.js} +4 -5
  17. package/dist/{LanguageMenu-DsfCHdVi.js → LanguageMenu-BFOEQEPy.js} +124 -125
  18. package/dist/{LocaleNotices-BxR3xcLl.js → LocaleNotices-24UYFxo2.js} +12 -13
  19. package/dist/{LogicTagInsertButton-BzEZUTRZ.js → LogicTagInsertButton-DdaafrjI.js} +95 -96
  20. package/dist/{MergeTagInput-By2FSStk.js → MergeTagInput-BXM6-eF-.js} +1 -1
  21. package/dist/{MergeTagModeToggle-DtjOZhoD.js → MergeTagModeToggle-ooA_Ytfq.js} +2 -3
  22. package/dist/{MergeTagTextarea-q6eeDD2l.js → MergeTagTextarea-B86MPY89.js} +14 -15
  23. package/dist/{ParagraphEditor-25SNi_8O.js → ParagraphEditor-C15Glzy_.js} +78 -79
  24. package/dist/{RestoreVersionDialog-BXtCxJF1.js → RestoreVersionDialog-C13Bo4b0.js} +2 -2
  25. package/dist/{RichTextEditorContent-B1p7Ykq8.js → RichTextEditorContent-BNMBOkdy.js} +5 -6
  26. package/dist/{SaveBlockDialog-k1lxEBVW.js → SaveBlockDialog-lm_1-2w2.js} +23 -24
  27. package/dist/{SavedBlocksBrowserModal-CV-8mDPj.js → SavedBlocksBrowserModal-BjUZG5_S.js} +8 -9
  28. package/dist/{SavedBlocksPanels-9nZj1jG_.js → SavedBlocksPanels-Bj3LAXcL.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-Dy6NN9tm.js → SavedBlocksPickBar-DOTr0Imx.js} +2 -2
  30. package/dist/{TemplateSettings-DWxdUdM5.js → TemplateSettings-Z-i-_xF5.js} +19 -20
  31. package/dist/{TestEmailModal-BAkkZTaZ.js → TestEmailModal-ClEnoNEB.js} +17 -18
  32. package/dist/{TestEmailPanel-ccT2E3em.js → TestEmailPanel-CVmrt-d9.js} +1 -1
  33. package/dist/{TitleEditor-B19dYnER.js → TitleEditor-BHZF5C6q.js} +8 -9
  34. package/dist/{Toolbar-DxlZq_36.js → Toolbar-bwAdFK4A.js} +217 -219
  35. package/dist/{TplModal-Bp2qPmQw.js → TplModal-QWmSO1nR.js} +4 -4
  36. package/dist/{VersionHistoryMenu-B3-xJ7GO.js → VersionHistoryMenu-qoOkZKal.js} +6 -7
  37. package/dist/{VersionHistoryPanels-wAVDmhnP.js → VersionHistoryPanels-D82hgc2v.js} +1 -1
  38. package/dist/{VersionPreviewBanner-DLAB4ZbS.js → VersionPreviewBanner-DEN9rl6y.js} +1 -1
  39. package/dist/{WrapperBlock-DHnD6Exl.js → WrapperBlock-32v93A9w.js} +4 -4
  40. package/dist/{blockTypeIcons-C691ZY1l.js → blockTypeIcons-C1S2wVx8.js} +4 -4
  41. package/dist/bundle-stats.json +8 -8
  42. package/dist/{ca-C8N05sCU.js → ca-BIseSbs-.js} +1 -2
  43. package/dist/cdn/chunks/{AiAltTextPopover-BLNN_Pnd.js → AiAltTextPopover-mDx_knAl.js} +4 -5
  44. package/dist/cdn/chunks/{AiAltTextPopover-BLNN_Pnd.js.map → AiAltTextPopover-mDx_knAl.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiAltTextReview-Db8vSNpe.js → AiAltTextReview-Dmg8iVWD.js} +3 -4
  46. package/dist/cdn/chunks/{AiAltTextReview-Db8vSNpe.js.map → AiAltTextReview-Dmg8iVWD.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiChatPanel-DTYmFRwb.js → AiChatPanel-CEDr_x8G.js} +147 -148
  48. package/dist/cdn/chunks/AiChatPanel-CEDr_x8G.js.map +1 -0
  49. package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js → AiPanels-qJgLTYPs.js} +2 -2
  50. package/dist/cdn/chunks/{AiPanels-BW9ze-6O.js.map → AiPanels-qJgLTYPs.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js → AiRewriteMenu-2a9WjizC.js} +4 -5
  52. package/dist/cdn/chunks/{AiRewriteMenu-B9b92d0R.js.map → AiRewriteMenu-2a9WjizC.js.map} +1 -1
  53. package/dist/cdn/chunks/{BlockIssueBadge-fYeNnepj.js → BlockIssueBadge-D87CYoPw.js} +3 -4
  54. package/dist/cdn/chunks/{BlockIssueBadge-fYeNnepj.js.map → BlockIssueBadge-D87CYoPw.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js → BlockPreviewCanvas-DDDKuWJz.js} +8 -8
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-CLid1x0c.js.map → BlockPreviewCanvas-DDDKuWJz.js.map} +1 -1
  57. package/dist/cdn/chunks/{CollaborationNotices-COkmBmps.js → CollaborationNotices-DyzhN_Ns.js} +2 -2
  58. package/dist/cdn/chunks/{CollaborationNotices-COkmBmps.js.map → CollaborationNotices-DyzhN_Ns.js.map} +1 -1
  59. package/dist/cdn/chunks/{CollaboratorBar-BSzI8YIU.js → CollaboratorBar-bNFuQxxP.js} +2 -2
  60. package/dist/cdn/chunks/{CollaboratorBar-BSzI8YIU.js.map → CollaboratorBar-bNFuQxxP.js.map} +1 -1
  61. package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js → CommentsPanel-D-D2qsS6.js} +2 -2
  62. package/dist/cdn/chunks/{CommentsPanel-BynxXJ-F.js.map → CommentsPanel-D-D2qsS6.js.map} +1 -1
  63. package/dist/cdn/chunks/{CommentsSidebar-C81N5Hwr.js → CommentsSidebar-CCVp8M2T.js} +163 -170
  64. package/dist/cdn/chunks/CommentsSidebar-CCVp8M2T.js.map +1 -0
  65. package/dist/cdn/chunks/{CountdownBlock--hlKE2aj.js → CountdownBlock-5hUzymeP.js} +4 -5
  66. package/dist/cdn/chunks/{CountdownBlock--hlKE2aj.js.map → CountdownBlock-5hUzymeP.js.map} +1 -1
  67. package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js → CountdownToolbar-DaGxwKfG.js} +5 -5
  68. package/dist/cdn/chunks/{CountdownToolbar-f1aqEba0.js.map → CountdownToolbar-DaGxwKfG.js.map} +1 -1
  69. package/dist/cdn/chunks/{IssuesPanel-DgxiS3hF.js → IssuesPanel-DQQo1B1z.js} +10 -11
  70. package/dist/cdn/chunks/IssuesPanel-DQQo1B1z.js.map +1 -0
  71. package/dist/cdn/chunks/{LanguageMenu-CJp7XdfG.js → LanguageMenu-2Er64H2b.js} +106 -107
  72. package/dist/cdn/chunks/LanguageMenu-2Er64H2b.js.map +1 -0
  73. package/dist/cdn/chunks/{LocaleNotices-D5vZzcUj.js → LocaleNotices-DSfOyyyf.js} +13 -14
  74. package/dist/cdn/chunks/LocaleNotices-DSfOyyyf.js.map +1 -0
  75. package/dist/cdn/chunks/{LogicTagInsertButton-DGg1Wvhp.js → LogicTagInsertButton-CumMM1rP.js} +7 -8
  76. package/dist/cdn/chunks/{LogicTagInsertButton-DGg1Wvhp.js.map → LogicTagInsertButton-CumMM1rP.js.map} +1 -1
  77. package/dist/cdn/chunks/{MergeTagInput-BVfTwujW.js → MergeTagInput-Dm_QiG96.js} +2 -2
  78. package/dist/cdn/chunks/{MergeTagInput-BVfTwujW.js.map → MergeTagInput-Dm_QiG96.js.map} +1 -1
  79. package/dist/cdn/chunks/{MergeTagModeToggle-BoI0C1Y6.js → MergeTagModeToggle-Bir7lkLe.js} +3 -4
  80. package/dist/cdn/chunks/{MergeTagModeToggle-BoI0C1Y6.js.map → MergeTagModeToggle-Bir7lkLe.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagTextarea-DMXZgGUF.js → MergeTagTextarea-B_IFeWfZ.js} +15 -16
  82. package/dist/cdn/chunks/MergeTagTextarea-B_IFeWfZ.js.map +1 -0
  83. package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js → ParagraphEditor-CWjMxuy0.js} +135 -136
  84. package/dist/cdn/chunks/{ParagraphEditor-Ce7_Ix0K.js.map → ParagraphEditor-CWjMxuy0.js.map} +1 -1
  85. package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js → RestoreVersionDialog-BsfulSK7.js} +3 -3
  86. package/dist/cdn/chunks/{RestoreVersionDialog-JmMLhN6G.js.map → RestoreVersionDialog-BsfulSK7.js.map} +1 -1
  87. package/dist/cdn/chunks/{RichTextEditorContent-D3ihUF8v.js → RichTextEditorContent-CuvFVxEq.js} +6 -7
  88. package/dist/cdn/chunks/{RichTextEditorContent-D3ihUF8v.js.map → RichTextEditorContent-CuvFVxEq.js.map} +1 -1
  89. package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js → SaveBlockDialog-8zxJlHw2.js} +25 -26
  90. package/dist/cdn/chunks/{SaveBlockDialog-B-2amBN5.js.map → SaveBlockDialog-8zxJlHw2.js.map} +1 -1
  91. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js → SavedBlocksBrowserModal-DtaGW2H4.js} +9 -10
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BR6fQ222.js.map → SavedBlocksBrowserModal-DtaGW2H4.js.map} +1 -1
  93. package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js → SavedBlocksPanels-CtDhdbiD.js} +2 -2
  94. package/dist/cdn/chunks/{SavedBlocksPanels-DVNNshfr.js.map → SavedBlocksPanels-CtDhdbiD.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js → SavedBlocksPickBar-DovcCaoW.js} +3 -3
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-BfxLHLQV.js.map → SavedBlocksPickBar-DovcCaoW.js.map} +1 -1
  97. package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js → TemplateSettings-B8Ch5ps8.js} +20 -21
  98. package/dist/cdn/chunks/{TemplateSettings-TMFrRV2c.js.map → TemplateSettings-B8Ch5ps8.js.map} +1 -1
  99. package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js → TestEmailModal-D1EuQSgA.js} +16 -17
  100. package/dist/cdn/chunks/{TestEmailModal-tTU35BKZ.js.map → TestEmailModal-D1EuQSgA.js.map} +1 -1
  101. package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js → TestEmailPanel-0iG-utN7.js} +2 -2
  102. package/dist/cdn/chunks/{TestEmailPanel-BNJBVwx0.js.map → TestEmailPanel-0iG-utN7.js.map} +1 -1
  103. package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js → TitleEditor-k2vSwKxN.js} +17 -18
  104. package/dist/cdn/chunks/{TitleEditor-BbscL_C1.js.map → TitleEditor-k2vSwKxN.js.map} +1 -1
  105. package/dist/cdn/chunks/{Toolbar-BxzyS69X.js → Toolbar-BnTSuZQb.js} +307 -309
  106. package/dist/cdn/chunks/Toolbar-BnTSuZQb.js.map +1 -0
  107. package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js → TplModal-iRdN04Sa.js} +5 -5
  108. package/dist/cdn/chunks/{TplModal-Bzhc_l8y.js.map → TplModal-iRdN04Sa.js.map} +1 -1
  109. package/dist/cdn/chunks/{VersionHistoryMenu-DTDO48HI.js → VersionHistoryMenu-DlPr3twf.js} +7 -8
  110. package/dist/cdn/chunks/{VersionHistoryMenu-DTDO48HI.js.map → VersionHistoryMenu-DlPr3twf.js.map} +1 -1
  111. package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js → VersionHistoryPanels-Bw5UHEvo.js} +2 -2
  112. package/dist/cdn/chunks/{VersionHistoryPanels-Bbb1xUJs.js.map → VersionHistoryPanels-Bw5UHEvo.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionPreviewBanner-C1H_fYAr.js → VersionPreviewBanner-anJgZOcw.js} +2 -2
  114. package/dist/cdn/chunks/VersionPreviewBanner-anJgZOcw.js.map +1 -0
  115. package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js → WrapperBlock-CFjCtyvx.js} +5 -5
  116. package/dist/cdn/chunks/{WrapperBlock-BboijK5T.js.map → WrapperBlock-CFjCtyvx.js.map} +1 -1
  117. package/dist/cdn/chunks/{ca-C8N05sCU.js → ca-BIseSbs-.js} +2 -3
  118. package/dist/cdn/chunks/{ca-C8N05sCU.js.map → ca-BIseSbs-.js.map} +1 -1
  119. package/dist/cdn/chunks/{composables-C77dGo-I.js → composables-Nir0umYc.js} +551 -571
  120. package/dist/cdn/chunks/composables-Nir0umYc.js.map +1 -0
  121. package/dist/{da-Dno_4nGy.js → cdn/chunks/da-DN46iRXS.js} +3 -2
  122. package/dist/cdn/chunks/{da-Dno_4nGy.js.map → da-DN46iRXS.js.map} +1 -1
  123. package/dist/{de-DRR5JSkh.js → cdn/chunks/de-Dyk8PPCm.js} +3 -2
  124. package/dist/cdn/chunks/{de-DRR5JSkh.js.map → de-Dyk8PPCm.js.map} +1 -1
  125. package/dist/{en-DAcLbbpg.js → cdn/chunks/en-BzMbMmgz.js} +3 -2
  126. package/dist/cdn/chunks/{en-DAcLbbpg.js.map → en-BzMbMmgz.js.map} +1 -1
  127. package/dist/{es-BcEQLQxe.js → cdn/chunks/es-KSHEXYyf.js} +3 -2
  128. package/dist/cdn/chunks/{es-BcEQLQxe.js.map → es-KSHEXYyf.js.map} +1 -1
  129. package/dist/cdn/chunks/{extensions-Bq9nXmBP.js → extensions-Br2hHeiR.js} +5 -5
  130. package/dist/cdn/chunks/{extensions-Bq9nXmBP.js.map → extensions-Br2hHeiR.js.map} +1 -1
  131. package/dist/{fr-CNQG7ESr.js → cdn/chunks/fr-DtKHfZyk.js} +3 -2
  132. package/dist/cdn/chunks/{fr-CNQG7ESr.js.map → fr-DtKHfZyk.js.map} +1 -1
  133. package/dist/{ja-CMxWxqSH.js → cdn/chunks/ja-DUSaDVPA.js} +3 -2
  134. package/dist/cdn/chunks/{ja-CMxWxqSH.js.map → ja-DUSaDVPA.js.map} +1 -1
  135. package/dist/{nl-BjyYZDkC.js → cdn/chunks/nl-DQbuxzD6.js} +3 -2
  136. package/dist/cdn/chunks/{nl-BjyYZDkC.js.map → nl-DQbuxzD6.js.map} +1 -1
  137. package/dist/{pt-BR-DC2A3C0v.js → cdn/chunks/pt-BR-CxpxBtvc.js} +3 -2
  138. package/dist/cdn/chunks/{pt-BR-DC2A3C0v.js.map → pt-BR-CxpxBtvc.js.map} +1 -1
  139. package/dist/cdn/chunks/rolldown-runtime-CGnMp29N.js +10 -0
  140. package/dist/cdn/chunks/{socialIcons-CSe4YJ52.js → socialIcons-CXQfKLUV.js} +156 -136
  141. package/dist/cdn/chunks/socialIcons-CXQfKLUV.js.map +1 -0
  142. package/dist/cdn/chunks/{src-1MSPRtI8.js → src-9e0wFfHH.js} +4 -2
  143. package/dist/cdn/chunks/src-9e0wFfHH.js.map +1 -0
  144. package/dist/cdn/chunks/src-A0kzK-pR.js.map +1 -1
  145. package/dist/cdn/chunks/{src-edESkGqO.js → src-C9jjLNMg.js} +2 -2
  146. package/dist/cdn/chunks/{src-edESkGqO.js.map → src-C9jjLNMg.js.map} +1 -1
  147. package/dist/cdn/chunks/{tiptap-DDhueoan.js → tiptap-DLW5XdqI.js} +2 -2
  148. package/dist/cdn/chunks/{tiptap-DDhueoan.js.map → tiptap-DLW5XdqI.js.map} +1 -1
  149. package/dist/cdn/chunks/{useEditorRoot-D0Lp2x4_.js → useEditorRoot-BPVxLYFD.js} +2 -2
  150. package/dist/cdn/chunks/{useEditorRoot-D0Lp2x4_.js.map → useEditorRoot-BPVxLYFD.js.map} +1 -1
  151. package/dist/cdn/chunks/useI18n-DwP1ksBW.js +24 -0
  152. package/dist/cdn/chunks/useI18n-DwP1ksBW.js.map +1 -0
  153. package/dist/cdn/chunks/useLanguageName-CeuoO9WZ.js +41 -0
  154. package/dist/cdn/chunks/useLanguageName-CeuoO9WZ.js.map +1 -0
  155. package/dist/cdn/chunks/{useLogicTag-CKtQlJDa.js → useLogicTag-gphGbQfy.js} +3 -3
  156. package/dist/cdn/chunks/{useLogicTag-CKtQlJDa.js.map → useLogicTag-gphGbQfy.js.map} +1 -1
  157. package/dist/cdn/chunks/{useMergeTag-Dwy3U0PI.js → useMergeTag-QM-tkBc6.js} +3 -3
  158. package/dist/cdn/chunks/{useMergeTag-Dwy3U0PI.js.map → useMergeTag-QM-tkBc6.js.map} +1 -1
  159. package/dist/cdn/chunks/{usePopoverPosition-CBp9uwjV.js → usePopoverPosition-Cg8LR0W4.js} +2 -2
  160. package/dist/cdn/chunks/{usePopoverPosition-CBp9uwjV.js.map → usePopoverPosition-Cg8LR0W4.js.map} +1 -1
  161. package/dist/cdn/chunks/{useScrollToBlock-32EnuMwu.js → useScrollToBlock-CS7zo4oQ.js} +2 -2
  162. package/dist/cdn/chunks/{useScrollToBlock-32EnuMwu.js.map → useScrollToBlock-CS7zo4oQ.js.map} +1 -1
  163. package/dist/cdn/editor.css +1 -1
  164. package/dist/cdn/editor.js +910 -1006
  165. package/dist/cdn/editor.js.map +1 -1
  166. package/dist/{composables-Bu_OmyjT.js → composables-6SKZrQs-.js} +1335 -1355
  167. package/dist/{cdn/chunks/da-Dno_4nGy.js → da-DN46iRXS.js} +1 -4
  168. package/dist/{cdn/chunks/de-DRR5JSkh.js → de-Dyk8PPCm.js} +1 -4
  169. package/dist/{cdn/chunks/en-DAcLbbpg.js → en-BzMbMmgz.js} +1 -4
  170. package/dist/{cdn/chunks/es-BcEQLQxe.js → es-KSHEXYyf.js} +1 -4
  171. package/dist/{extensions-zHf8YFRw.js → extensions-D74nAP73.js} +3 -3
  172. package/dist/{cdn/chunks/fr-CNQG7ESr.js → fr-DtKHfZyk.js} +1 -4
  173. package/dist/index.d.ts +38 -406
  174. package/dist/{cdn/chunks/ja-CMxWxqSH.js → ja-DUSaDVPA.js} +1 -4
  175. package/dist/{cdn/chunks/nl-BjyYZDkC.js → nl-DQbuxzD6.js} +1 -4
  176. package/dist/{cdn/chunks/pt-BR-DC2A3C0v.js → pt-BR-CxpxBtvc.js} +1 -4
  177. package/dist/{socialIcons-mWE33bOn.js → socialIcons-K89pe-h2.js} +84 -64
  178. package/dist/style.css +1 -1
  179. package/dist/templatical-editor.js +1087 -1183
  180. package/dist/{useEditorRoot-DWfC2CVC.js → useEditorRoot-CQeutW_s.js} +1 -1
  181. package/dist/useI18n-B05qsAsl.js +22 -0
  182. package/dist/useLanguageName-CnpG7FD5.js +39 -0
  183. package/dist/{useLogicTag-K5CPoMTk.js → useLogicTag-DSa1si4o.js} +2 -2
  184. package/dist/{useMergeTag-tsU_Sw2x.js → useMergeTag-DwxbvRZI.js} +2 -2
  185. package/dist/{usePopoverPosition-DF0ZYH7g.js → usePopoverPosition-B8CXTr8v.js} +1 -1
  186. package/dist/{useScrollToBlock-eZXiGa8o.js → useScrollToBlock-ZZBBGFan.js} +1 -1
  187. package/package.json +12 -14
  188. package/dist/CloudHeaderExtras-DC_oNrxz.js +0 -22
  189. package/dist/CloudPanels-BS49EsuN.js +0 -167
  190. package/dist/cdn/chunks/AiChatPanel-DTYmFRwb.js.map +0 -1
  191. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js +0 -24
  192. package/dist/cdn/chunks/CloudHeaderExtras-Cd-ePldd.js.map +0 -1
  193. package/dist/cdn/chunks/CloudPanels-D4dslsyk.js +0 -167
  194. package/dist/cdn/chunks/CloudPanels-D4dslsyk.js.map +0 -1
  195. package/dist/cdn/chunks/CommentsSidebar-C81N5Hwr.js.map +0 -1
  196. package/dist/cdn/chunks/IssuesPanel-DgxiS3hF.js.map +0 -1
  197. package/dist/cdn/chunks/LanguageMenu-CJp7XdfG.js.map +0 -1
  198. package/dist/cdn/chunks/LocaleNotices-D5vZzcUj.js.map +0 -1
  199. package/dist/cdn/chunks/MergeTagTextarea-DMXZgGUF.js.map +0 -1
  200. package/dist/cdn/chunks/Toolbar-BxzyS69X.js.map +0 -1
  201. package/dist/cdn/chunks/VersionPreviewBanner-C1H_fYAr.js.map +0 -1
  202. package/dist/cdn/chunks/composables-C77dGo-I.js.map +0 -1
  203. package/dist/cdn/chunks/createCloudRuntime-CUlw09ix.js +0 -1405
  204. package/dist/cdn/chunks/createCloudRuntime-CUlw09ix.js.map +0 -1
  205. package/dist/cdn/chunks/de-6M4JoHoD.js +0 -21
  206. package/dist/cdn/chunks/de-6M4JoHoD.js.map +0 -1
  207. package/dist/cdn/chunks/en-FzUuJ8HW.js +0 -21
  208. package/dist/cdn/chunks/en-FzUuJ8HW.js.map +0 -1
  209. package/dist/cdn/chunks/keys-ywH4jHJ2.js +0 -11
  210. package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +0 -1
  211. package/dist/cdn/chunks/languageName-DEEOhDWI.js +0 -12
  212. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +0 -1
  213. package/dist/cdn/chunks/logger-CqQTfJGx.js +0 -26
  214. package/dist/cdn/chunks/logger-CqQTfJGx.js.map +0 -1
  215. package/dist/cdn/chunks/preRenderCustomBlocks-BLVFtvl8.js +0 -22
  216. package/dist/cdn/chunks/preRenderCustomBlocks-BLVFtvl8.js.map +0 -1
  217. package/dist/cdn/chunks/pt-BR-Bp92Fc6J.js +0 -21
  218. package/dist/cdn/chunks/pt-BR-Bp92Fc6J.js.map +0 -1
  219. package/dist/cdn/chunks/pusher-x9rNqzon.js +0 -2473
  220. package/dist/cdn/chunks/pusher-x9rNqzon.js.map +0 -1
  221. package/dist/cdn/chunks/rolldown-runtime-QGRDbDUS.js +0 -19
  222. package/dist/cdn/chunks/socialIcons-CSe4YJ52.js.map +0 -1
  223. package/dist/cdn/chunks/src-1MSPRtI8.js.map +0 -1
  224. package/dist/cdn/chunks/useCloudI18n-BTV9uu3c.js +0 -24
  225. package/dist/cdn/chunks/useCloudI18n-BTV9uu3c.js.map +0 -1
  226. package/dist/cdn/chunks/useI18n-DPg6rPbu.js +0 -18
  227. package/dist/cdn/chunks/useI18n-DPg6rPbu.js.map +0 -1
  228. package/dist/createCloudRuntime-CiEo0wkr.js +0 -1389
  229. package/dist/de-6M4JoHoD.js +0 -19
  230. package/dist/en-FzUuJ8HW.js +0 -19
  231. package/dist/keys-B4DimcgX.js +0 -9
  232. package/dist/languageName-DEEOhDWI.js +0 -10
  233. package/dist/logger-BOu7oEtk.js +0 -24
  234. package/dist/preRenderCustomBlocks-6CLw2rP6.js +0 -20
  235. package/dist/pt-BR-Bp92Fc6J.js +0 -19
  236. package/dist/useCloudI18n-BnuOL1YS.js +0 -22
  237. package/dist/useI18n-Cx9W7OWb.js +0 -16
@@ -1,38 +1,36 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
2
  import { B as t, F as n, Ft as r, L as i, M as a, Mt as o, P as s, Pt as c, Q as l, U as u, W as d, Z as f, _ as p, c as m, ct as h, d as g, et as _, f as v, g as y, l as b, m as x, r as S, 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-q6eeDD2l.js";
5
- import { c as M } from "./LogicTagInsertButton-BzEZUTRZ.js";
6
- import { t as N } from "./MergeTagInput-By2FSStk.js";
4
+ import { n as A, t as j } from "./MergeTagTextarea-B86MPY89.js";
5
+ import { c as M } from "./LogicTagInsertButton-DdaafrjI.js";
6
+ import { t as N } from "./MergeTagInput-BXM6-eF-.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
9
  import { t as re } from "./link-BFJF0mWz.js";
10
- import { t as U } from "./createLucideIcon-BKeRiObH.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-mWE33bOn.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-C691ZY1l.js";
10
+ import { t as ie } from "./createLucideIcon-BKeRiObH.js";
11
+ import { D as ae, Q as oe, S as se, U as ce, V as le, _ as ue, f as de, g as fe, i as pe, lt as me, m as U, t as W, w as he, y as ge, z as _e } from "./useI18n-B05qsAsl.js";
12
+ import { $t as G, Bt as ve, F as ye, Jt as be, N as K, P as q, Pt as J, St as Y, bt as X, en as xe, fn as Se, ft as Z, i as Ce, j as we, m as Te, mn as Ee, n as De, o as Oe, pt as ke, r as Ae, rn as je, t as Me, v as Ne } from "./dist-DX_IQgcU.js";
13
+ import { n as Pe } from "./useLocalizedDisplay-DfiE-KjV.js";
14
+ import { A as Fe, B as Ie, E as Le, T as Re, _ as ze, b as Be, d as Ve, f as He, g as Ue, h as We, i 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-K89pe-h2.js";
15
+ import { n as $e, t as et } from "./withCurrentFont-C-_IYTqP.js";
16
+ import { t as tt } from "./useLanguageName-CnpG7FD5.js";
17
+ import { n as nt, t as rt } from "./blockTypeIcons-C1S2wVx8.js";
19
18
  import { t as Q } from "./plus-PzFvtj-Z.js";
20
- import { t as rt } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
21
- import { t as it } from "./image-g47lDP0J.js";
22
- import { t as at } from "./chevron-down-D_CUJHwi.js";
23
- import { n as ot, t as st } from "./smartphone-DZ5xyNU4.js";
24
- import { t as ct } from "./logger-BOu7oEtk.js";
19
+ import { t as it } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
20
+ import { t as at } from "./image-g47lDP0J.js";
21
+ import { t as ot } from "./chevron-down-D_CUJHwi.js";
22
+ import { n as st, t as ct } from "./smartphone-DZ5xyNU4.js";
25
23
  import { t as lt } from "./circle-exclamation-point-BCx1tR91.js";
26
24
  import { t as ut } from "./refresh-cw-BPDv-S-4.js";
27
- import { c as dt, r as ft } from "./usePopoverPosition-DF0ZYH7g.js";
25
+ import { c as dt, r as ft } from "./usePopoverPosition-B8CXTr8v.js";
28
26
  import { t as pt } from "./trash-CJsobpw0.js";
29
27
  import { t as mt } from "./info-DXij4QjB.js";
30
28
  import { _ as ht } from "./dist-A328tG0Z.js";
31
29
  import { n as gt, r as _t, t as vt } from "./text-align-start-B5Dx2Ylg.js";
32
30
  import { t as yt } from "./x-CuyPLm0U.js";
33
- import { t as bt } from "./useMergeTag-tsU_Sw2x.js";
31
+ import { t as bt } from "./useMergeTag-DwxbvRZI.js";
34
32
  import { n as xt } from "./upload-DZ_-FNJ4.js";
35
- var St = U({
33
+ var St = ie({
36
34
  name: "lock-open",
37
35
  size: 24,
38
36
  node: [["rect", {
@@ -48,7 +46,7 @@ var St = U({
48
46
  key: "1mm8w8"
49
47
  }]],
50
48
  aliases: ["unlock"]
51
- }), Ct = U({
49
+ }), Ct = ie({
52
50
  name: "lock",
53
51
  size: 24,
54
52
  node: [["rect", {
@@ -63,7 +61,7 @@ var St = U({
63
61
  d: "M7 11V7a5 5 0 0 1 10 0v4",
64
62
  key: "fwvmzm"
65
63
  }]]
66
- }), wt = U({
64
+ }), wt = ie({
67
65
  name: "unlink",
68
66
  size: 24,
69
67
  node: [
@@ -245,7 +243,7 @@ var St = U({
245
243
  }
246
244
  let f = m(() => {
247
245
  let e = i.modelValue;
248
- return !e || q.every((t) => d(e[t], e.top));
246
+ return !e || Ce.every((t) => d(e[t], e.top));
249
247
  }), y = _(f.value);
250
248
  t(f, (e) => {
251
249
  !e && y.value && (y.value = !1);
@@ -256,13 +254,13 @@ var St = U({
256
254
  }), T = (e) => !!e && e.width > 0;
257
255
  function E(e) {
258
256
  if (y.value) {
259
- s("update:modelValue", T(e) ? X(e) : void 0);
257
+ s("update:modelValue", T(e) ? Ee(e) : void 0);
260
258
  return;
261
259
  }
262
260
  let t = {
263
- ...i.modelValue ?? X(l),
261
+ ...i.modelValue ?? Ee(l),
264
262
  [x.value]: e
265
- }, n = q.some((e) => T(t[e]));
263
+ }, n = Ce.some((e) => T(t[e]));
266
264
  s("update:modelValue", n ? t : void 0);
267
265
  }
268
266
  function D(e) {
@@ -285,10 +283,10 @@ var St = U({
285
283
  y.value = !0;
286
284
  let e = i.modelValue;
287
285
  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);
286
+ let t = T(e[x.value]) ? e[x.value] : Ce.map((t) => e[t]).find(T);
287
+ s("update:modelValue", t ? Ee(t) : void 0);
290
288
  }
291
- let j = m(() => q.map((e) => ({
289
+ let j = m(() => Ce.map((e) => ({
292
290
  value: e,
293
291
  label: c.spacingControl[e]
294
292
  })));
@@ -378,7 +376,7 @@ var St = U({
378
376
  bottomRight: e,
379
377
  bottomLeft: e
380
378
  } : e;
381
- }), g = m(() => _e.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
379
+ }), g = m(() => Ae.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
382
380
  t(g, (e) => {
383
381
  !e && y.value && (y.value = !1);
384
382
  });
@@ -456,14 +454,14 @@ var St = U({
456
454
  },
457
455
  emits: ["update"],
458
456
  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);
457
+ let n = e, i = t, { t: c } = W(), l = E(ue, null), d = l ? Pe(l) : null, f = E(he, null), _ = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" || ve(n.block.width) !== null ? "custom" : "auto"), y = m(() => ve(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 ? Ge(d.content.value, n.block.id, f ?? void 0) : null);
460
458
  function T(e, t) {
461
459
  i("update", { [e]: t });
462
460
  }
463
461
  function D(e) {
464
462
  e === "full" ? T("width", "full") : e === "custom" ? T("width", typeof n.block.width == "number" ? n.block.width : Qt) : T("width", void 0);
465
463
  }
466
- let O = m(() => String(J(n.block))), k = m(() => {
464
+ let O = m(() => String(we(n.block))), k = m(() => {
467
465
  let e = O.value;
468
466
  return ne.includes(e) ? ne : [...ne, e];
469
467
  });
@@ -493,7 +491,7 @@ var St = U({
493
491
  T("width", `${Math.min(100, Math.max(1, Math.round(e / r * 100)))}%`);
494
492
  return;
495
493
  }
496
- let i = ae(t);
494
+ let i = ve(t);
497
495
  r === null ? T("width", Qt) : T("width", Math.max(1, Math.round(r * i / 100)));
498
496
  }
499
497
  return (t, n) => (a(), v(S, null, [
@@ -504,7 +502,7 @@ var St = U({
504
502
  }, {
505
503
  default: u(() => [b("select", {
506
504
  class: o(h(B)),
507
- value: h($e)(e.block.fontFamily),
505
+ value: h(et)(e.block.fontFamily),
508
506
  onChange: n[0] ||= (e) => T("fontFamily", e.target.value || void 0)
509
507
  }, [b("option", Bt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
510
508
  key: e.value,
@@ -709,7 +707,7 @@ var St = U({
709
707
  }, 8, ["label"])
710
708
  ], 64));
711
709
  }
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({
710
+ }), 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__*/ it(/* @__PURE__ */ D({
713
711
  __name: "SpacingControl",
714
712
  props: {
715
713
  path: {},
@@ -768,7 +766,7 @@ var St = U({
768
766
  "aria-label": h(s).spacingControl.decreaseTop,
769
767
  class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
770
768
  onClick: n[0] ||= (e) => d("top", -1)
771
- }, [p(h(tt), {
769
+ }, [p(h(nt), {
772
770
  size: 12,
773
771
  "stroke-width": 2
774
772
  })], 10, nn),
@@ -795,7 +793,7 @@ var St = U({
795
793
  "aria-label": h(s).spacingControl.decreaseLeft,
796
794
  class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
797
795
  onClick: n[3] ||= (e) => d("left", -1)
798
- }, [p(h(tt), {
796
+ }, [p(h(nt), {
799
797
  size: 12,
800
798
  "stroke-width": 2
801
799
  })], 10, cn),
@@ -835,7 +833,7 @@ var St = U({
835
833
  "aria-label": h(s).spacingControl.decreaseRight,
836
834
  class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
837
835
  onClick: n[6] ||= (e) => d("right", -1)
838
- }, [p(h(tt), {
836
+ }, [p(h(nt), {
839
837
  size: 12,
840
838
  "stroke-width": 2
841
839
  })], 10, pn),
@@ -862,7 +860,7 @@ var St = U({
862
860
  "aria-label": h(s).spacingControl.decreaseBottom,
863
861
  class: o([bn, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
864
862
  onClick: n[9] ||= (e) => d("bottom", -1)
865
- }, [p(h(tt), {
863
+ }, [p(h(nt), {
866
864
  size: 12,
867
865
  "stroke-width": 2
868
866
  })], 10, _n),
@@ -892,14 +890,14 @@ var St = U({
892
890
  function Cn(e) {
893
891
  let n = _(null), r = () => {};
894
892
  return t(e, (e) => {
895
- r(), n.value = null, e && (r = qe(e, (e) => {
893
+ r(), n.value = null, e && (r = Je(e, (e) => {
896
894
  n.value = e;
897
895
  }));
898
896
  }, { immediate: !0 }), n;
899
897
  }
900
898
  function wn() {
901
- let e = E(Ce, null);
902
- return async (t) => Ke(e ? await Tn(e, t) : t);
899
+ let e = E(se, null);
900
+ return async (t) => qe(e ? await Tn(e, t) : t);
903
901
  }
904
902
  function Tn(e, n) {
905
903
  let r = (e) => typeof e == "string" && e.length > 0 ? e : n;
@@ -929,14 +927,14 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
929
927
  },
930
928
  emits: ["update:modelValue"],
931
929
  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;
930
+ let n = e, i = t, { t: c } = W(), l = E(_e, Ne.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = wn(), C;
933
931
  f(() => clearTimeout(C));
934
932
  function T(e) {
935
- n.measure && !G(e, l) && (C = setTimeout(async () => {
933
+ n.measure && !q(e, l) && (C = setTimeout(async () => {
936
934
  let t = await x(e), r = n.modelValue;
937
935
  t && r?.url === e && i("update:modelValue", {
938
936
  ...r,
939
- ...He(t)
937
+ ...We(t)
940
938
  });
941
939
  }, 300));
942
940
  }
@@ -945,11 +943,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
945
943
  i("update:modelValue", void 0);
946
944
  return;
947
945
  }
948
- let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? oe(e), s = n.measure ? t : null;
946
+ let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? ye(e), s = n.measure ? t : null;
949
947
  i("update:modelValue", {
950
948
  ...o,
951
949
  url: e,
952
- ...s ? He(s) : {}
950
+ ...s ? We(s) : {}
953
951
  }), s || T(e);
954
952
  }
955
953
  function O(e) {
@@ -981,7 +979,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
981
979
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
982
980
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
983
981
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
984
- })), j = m(() => me.flatMap((e) => ye.map((t) => ({
982
+ })), j = m(() => De.flatMap((e) => Me.map((t) => ({
985
983
  x: t,
986
984
  y: e,
987
985
  label: A.value[`${e}-${t}`]
@@ -989,11 +987,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
989
987
  function M(e) {
990
988
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
991
989
  }
992
- let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Xe({
990
+ let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Ze({
993
991
  target: F,
994
992
  value: u,
995
- blocked: () => G(u.value, l),
996
- apply: (e) => D(e.url, Le(e.width, e.height))
993
+ blocked: () => q(u.value, l),
994
+ apply: (e) => D(e.url, ze(e.width, e.height))
997
995
  });
998
996
  return (t, n) => (a(), v("div", En, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
999
997
  key: 0,
@@ -1004,7 +1002,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1004
1002
  class: "tpl:relative",
1005
1003
  "data-testid": `${e.testidPrefix}-bg-url`
1006
1004
  }, [
1007
- h(ee) ? (a(), w(Be, {
1005
+ h(ee) ? (a(), w(He, {
1008
1006
  key: 0,
1009
1007
  uploading: h(L)
1010
1008
  }, null, 8, ["uploading"])) : g("", !0),
@@ -1025,7 +1023,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1025
1023
  "background-color": "var(--tpl-bg)"
1026
1024
  },
1027
1025
  onClick: n[0] ||= (...e) => h(R) && h(R)(...e)
1028
- }, [p(h(it), {
1026
+ }, [p(h(at), {
1029
1027
  size: 14,
1030
1028
  "stroke-width": 1.5
1031
1029
  }), y(" " + r(h(c).image.browseMedia), 1)], 8, On)) : g("", !0)
@@ -1082,7 +1080,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1082
1080
  "data-testid": e.headerTestId,
1083
1081
  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
1082
  onClick: i[0] ||= (e) => t.$emit("toggle")
1085
- }, [p(h(at), {
1083
+ }, [p(h(ot), {
1086
1084
  class: o(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1087
1085
  size: 12,
1088
1086
  "stroke-width": 2
@@ -1116,7 +1114,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1116
1114
  function n(e) {
1117
1115
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1118
1116
  }
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(() => [
1117
+ let i = e, s = t, { t: c } = W(), l = E(_e, Ne.liquid), u = E(ue, null), d = E(he, void 0), f = wn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => q(_.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
1118
  {
1121
1119
  value: "fit",
1122
1120
  label: c.blockSettings.heroHeightFit
@@ -1143,9 +1141,9 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1143
1141
  value: "bottom",
1144
1142
  label: c.blockSettings.heroAlignBottom
1145
1143
  }
1146
- ]), A = m(() => T.value === "image" && y.value && !x.value && de(i.section.backgroundImage) === null);
1144
+ ]), A = m(() => T.value === "image" && y.value && !x.value && X(i.section.backgroundImage) === null);
1147
1145
  function j() {
1148
- return (u ? Ye(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? Ge(u?.state.content.settings);
1146
+ return (u ? Xe(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? Ke(u?.state.content.settings);
1149
1147
  }
1150
1148
  function M(e) {
1151
1149
  let t = S.value?.verticalAlign ?? "middle";
@@ -1161,7 +1159,7 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1161
1159
  s("update", { hero: void 0 });
1162
1160
  return;
1163
1161
  }
1164
- let n = de(i.section.backgroundImage), r = n === null ? Un : Math.round(j() * n);
1162
+ let n = X(i.section.backgroundImage), r = n === null ? Un : Math.round(j() * n);
1165
1163
  s("update", { hero: {
1166
1164
  height: r,
1167
1165
  verticalAlign: t
@@ -1169,11 +1167,11 @@ var En = { class: "tpl:space-y-3.5" }, Dn = ["data-testid"], On = ["data-testid"
1169
1167
  }
1170
1168
  async function N() {
1171
1169
  let e = i.section.backgroundImage;
1172
- if (!e || !y.value || x.value || de(e) !== null) return;
1170
+ if (!e || !y.value || x.value || X(e) !== null) return;
1173
1171
  let t = e.url, n = await f(t), r = i.section.backgroundImage;
1174
1172
  n && r && r.url === t && s("update", { backgroundImage: {
1175
1173
  ...r,
1176
- ...He(n)
1174
+ ...We(n)
1177
1175
  } });
1178
1176
  }
1179
1177
  function P(e) {
@@ -1235,10 +1233,10 @@ function Jn(e) {
1235
1233
  return Kn(e.styles.backgroundColor) || !!e.backgroundImage;
1236
1234
  }
1237
1235
  function Yn(e) {
1238
- return e.fullWidth !== !0 || qn(e.padding) || pe(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Gn.has(e));
1236
+ return e.fullWidth !== !0 || qn(e.padding) || Se(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Gn.has(e));
1239
1237
  }
1240
1238
  function Xn(e, t = {}) {
1241
- return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && le(t.layout);
1239
+ return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && J(t.layout);
1242
1240
  }
1243
1241
  function Zn(e) {
1244
1242
  let t = {};
@@ -1309,80 +1307,80 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1309
1307
  },
1310
1308
  emits: ["update"],
1311
1309
  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) {
1310
+ let c = e, f = n, { t: x, format: T } = W(), D = E(ue, null), k = tt(D), j = E(ae, void 0), N = m(() => D?.activeLocale?.value), I = m(() => !!(N.value && D?.selectedBlock?.value?.l10n?.[N.value]?.hidden)), L = E(fe, []), R = E(pe, !1), z = E(he, void 0), B = E(oe, 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, {
1311
+ sectionWrapper: B,
1312
+ layout: z
1313
+ })), re = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1314
+ function ie(e) {
1317
1315
  c.block.type === "wrapper" ? f("update", { fullWidth: e }) : c.block.type === "section" && f("update", $n(c.block, e));
1318
1316
  }
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(() => {
1317
+ let se = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ce = m(() => se.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), de = m(() => se.value ? "wrapper.backgroundImage" : "backgroundImage"), me = m(() => {
1320
1318
  let e = c.block;
1321
1319
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
1322
- }), ce = m(() => {
1320
+ }), U = m(() => {
1323
1321
  let e = c.block;
1324
1322
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
1325
1323
  });
1326
- function G(e, t) {
1324
+ function ge(e, t) {
1327
1325
  f("update", { wrapper: {
1328
1326
  ...e,
1329
1327
  ...t
1330
1328
  } });
1331
1329
  }
1332
- function le(e) {
1330
+ function _e(e) {
1333
1331
  let t = c.block;
1334
- t.type === "section" && t.wrapper?.fullWidth === !0 ? G(t.wrapper, { backgroundColor: e }) : ke("backgroundColor", e);
1332
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? ge(t.wrapper, { backgroundColor: e }) : Me("backgroundColor", e);
1335
1333
  }
1336
- function ue(e) {
1334
+ function G(e) {
1337
1335
  let t = c.block;
1338
- t.type === "section" && t.wrapper?.fullWidth === !0 ? G(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1336
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? ge(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1339
1337
  }
1340
- let de = E(we, null), pe = ze(), K = _(!1), q = l(/* @__PURE__ */ new Set()), J = _(!1), Y = _(""), X = _(""), me = [{
1338
+ let ve = E(le, null), ye = Ve(), K = _(!1), q = l(/* @__PURE__ */ new Set()), J = _(!1), Y = _(""), X = _(""), Se = [{
1341
1339
  key: "desktop",
1342
- icon: ot,
1340
+ icon: st,
1343
1341
  labelKey: "showOnDesktop"
1344
1342
  }, {
1345
1343
  key: "mobile",
1346
- icon: st,
1344
+ icon: ct,
1347
1345
  labelKey: "showOnMobile"
1348
1346
  }];
1349
- function he(e) {
1347
+ function Z(e) {
1350
1348
  q.has(e) ? q.delete(e) : q.add(e);
1351
1349
  }
1352
- let ge = m(() => !!de || I.length > 0 || L);
1353
- function _e(e) {
1350
+ let Ce = m(() => !!ve || L.length > 0 || R);
1351
+ function we(e) {
1354
1352
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
1355
1353
  let t = e;
1356
1354
  return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
1357
1355
  }
1358
- function ve(e, t) {
1356
+ function Te(e, t) {
1359
1357
  let n = D?.state?.selectedBlockId;
1360
1358
  c.block.id === e && (n === void 0 || n === e) ? f("update", { displayCondition: t }) : D && D.findBlockLocation(e) && D.updateBlock(e, { displayCondition: t });
1361
1359
  }
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;
1360
+ async function Ee() {
1361
+ if (!ve || K.value) return;
1362
+ let e = c.block.id, t = D?.activeLocale?.value ?? null, n = xe(C(c.block)), r = c.block.displayCondition ? xe(C(c.block.displayCondition)) : void 0;
1365
1363
  K.value = !0;
1366
1364
  try {
1367
- let i = await de(r ? {
1365
+ let i = await ve(r ? {
1368
1366
  current: r,
1369
1367
  block: n
1370
1368
  } : { 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.");
1369
+ if (!ye.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1370
+ if (!we(i)) {
1371
+ Le.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1374
1372
  return;
1375
1373
  }
1376
- ve(e, fe(i));
1374
+ Te(e, xe(i));
1377
1375
  } finally {
1378
- pe.alive && (K.value = !1);
1376
+ ye.alive && (K.value = !1);
1379
1377
  }
1380
1378
  }
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 = "");
1379
+ let De = m(() => c.block.displayCondition ? !L.some((e) => e.label === c.block.displayCondition?.label) : !1);
1380
+ function Oe() {
1381
+ J.value = !0, De.value && c.block.displayCondition ? (Y.value = c.block.displayCondition.before, X.value = c.block.displayCondition.after ?? "") : (Y.value = "", X.value = "");
1384
1382
  }
1385
- function Se() {
1383
+ function ke() {
1386
1384
  let e = Y.value.trim(), t = X.value.trim();
1387
1385
  e && (f("update", { displayCondition: {
1388
1386
  label: x.blockSettings.customCondition,
@@ -1398,29 +1396,29 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1398
1396
  () => c.block.displayCondition?.after
1399
1397
  ], () => {
1400
1398
  let e = c.block.displayCondition;
1401
- !e || !Z.value ? (J.value = !1, Y.value = "", X.value = "") : (Y.value = e.before, X.value = e.after ?? "");
1399
+ !e || !De.value ? (J.value = !1, Y.value = "", X.value = "") : (Y.value = e.before, X.value = e.after ?? "");
1402
1400
  }, { immediate: !0 });
1403
- let Ce = m(() => {
1401
+ let Ae = m(() => {
1404
1402
  let e = {};
1405
- for (let t of I) {
1403
+ for (let t of L) {
1406
1404
  let n = t.group ?? "";
1407
1405
  e[n] || (e[n] = []), e[n].push(t);
1408
1406
  }
1409
1407
  return e;
1410
- }), De = m(() => c.block.type === "section" && se(c.block)?.applied === !0);
1411
- function ke(e, t) {
1408
+ }), je = m(() => c.block.type === "section" && be(c.block)?.applied === !0);
1409
+ function Me(e, t) {
1412
1410
  f("update", { styles: {
1413
1411
  ...c.block.styles,
1414
1412
  [e]: t
1415
1413
  } });
1416
1414
  }
1417
- function Ae(e) {
1415
+ function Ne(e) {
1418
1416
  return c.block.visibility?.[e] !== !1;
1419
1417
  }
1420
- function je(e) {
1418
+ function Pe(e) {
1421
1419
  let t = {
1422
- desktop: Ae("desktop"),
1423
- mobile: Ae("mobile")
1420
+ desktop: Ne("desktop"),
1421
+ mobile: Ne("mobile")
1424
1422
  };
1425
1423
  t[e] = !t[e], f("update", { visibility: t });
1426
1424
  }
@@ -1429,13 +1427,13 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1429
1427
  title: h(x).blockSettings.spacing,
1430
1428
  open: q.has("spacing"),
1431
1429
  "no-border": e.isFirstSection,
1432
- onToggle: n[1] ||= (e) => he("spacing")
1430
+ onToggle: n[1] ||= (e) => Z("spacing")
1433
1431
  }, {
1434
1432
  default: u(() => [p(Sn, {
1435
1433
  path: "styles.padding",
1436
1434
  label: h(x).blockSettings.padding,
1437
1435
  "model-value": e.block.styles.padding,
1438
- "onUpdate:modelValue": n[0] ||= (e) => ke("padding", e)
1436
+ "onUpdate:modelValue": n[0] ||= (e) => Me("padding", e)
1439
1437
  }, null, 8, ["label", "model-value"])]),
1440
1438
  _: 1
1441
1439
  }, 8, [
@@ -1447,34 +1445,34 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1447
1445
  title: h(x).blockSettings.background,
1448
1446
  open: q.has("bg"),
1449
1447
  "header-test-id": "block-settings-background",
1450
- onToggle: n[4] ||= (e) => he("bg")
1448
+ onToggle: n[4] ||= (e) => Z("bg")
1451
1449
  }, {
1452
1450
  default: u(() => [
1453
1451
  p(A, {
1454
- path: ie.value,
1452
+ path: ce.value,
1455
1453
  label: h(x).blockSettings.color
1456
1454
  }, {
1457
1455
  default: u(() => [p(M, {
1458
- "model-value": oe.value,
1456
+ "model-value": me.value,
1459
1457
  "allow-transparent": "",
1460
- "onUpdate:modelValue": le
1458
+ "onUpdate:modelValue": _e
1461
1459
  }, null, 8, ["model-value"])]),
1462
1460
  _: 1
1463
1461
  }, 8, ["path", "label"]),
1464
- B.value ? (a(), w(A, {
1462
+ te.value ? (a(), w(A, {
1465
1463
  key: 0,
1466
1464
  path: e.block.type === "section" ? "wrapper.fullWidth" : "fullWidth",
1467
1465
  label: h(x).blockSettings.fullWidthBackground
1468
1466
  }, {
1469
1467
  "label-actions": u(({ controlId: e }) => [p(P, {
1470
- "data-testid": V.value,
1468
+ "data-testid": re.value,
1471
1469
  "control-id": e,
1472
1470
  "hide-label": "",
1473
1471
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1474
- "model-value": te.value,
1475
- disabled: ne.value,
1472
+ "model-value": ne.value,
1473
+ disabled: V.value,
1476
1474
  label: h(x).blockSettings.fullWidthBackground,
1477
- "onUpdate:modelValue": re
1475
+ "onUpdate:modelValue": ie
1478
1476
  }, null, 8, [
1479
1477
  "data-testid",
1480
1478
  "control-id",
@@ -1486,21 +1484,21 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1486
1484
  }, 8, ["path", "label"])) : g("", !0),
1487
1485
  e.block.type === "section" ? (a(), w(A, {
1488
1486
  key: 1,
1489
- path: ae.value,
1487
+ path: de.value,
1490
1488
  label: h(x).blockSettings.backgroundImage
1491
1489
  }, {
1492
1490
  default: u(() => [p(Nn, {
1493
1491
  "hide-label": "",
1494
1492
  class: "tpl:mt-3.5",
1495
- "model-value": ce.value,
1493
+ "model-value": U.value,
1496
1494
  "testid-prefix": "section",
1497
1495
  measure: "",
1498
- "hero-mode": De.value,
1499
- "onUpdate:modelValue": ue
1496
+ "hero-mode": je.value,
1497
+ "onUpdate:modelValue": G
1500
1498
  }, null, 8, ["model-value", "hero-mode"])]),
1501
1499
  _: 1
1502
1500
  }, 8, ["path", "label"])) : g("", !0),
1503
- U.value ? (a(), w(A, {
1501
+ se.value ? (a(), w(A, {
1504
1502
  key: 2,
1505
1503
  path: "styles.backgroundColor",
1506
1504
  label: h(x).blockSettings.contentBackground
@@ -1509,7 +1507,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1509
1507
  "data-testid": "section-content-background",
1510
1508
  "model-value": e.block.styles.backgroundColor ?? "",
1511
1509
  "allow-transparent": "",
1512
- "onUpdate:modelValue": n[2] ||= (e) => ke("backgroundColor", e)
1510
+ "onUpdate:modelValue": n[2] ||= (e) => Me("backgroundColor", e)
1513
1511
  }, null, 8, ["model-value"])]),
1514
1512
  _: 1
1515
1513
  }, 8, ["label"])) : g("", !0),
@@ -1530,20 +1528,20 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1530
1528
  p(In, {
1531
1529
  title: h(x).blockSettings.display,
1532
1530
  open: q.has("display"),
1533
- onToggle: n[6] ||= (e) => he("display")
1531
+ onToggle: n[6] ||= (e) => Z("display")
1534
1532
  }, {
1535
- default: u(() => [b("div", tr, [j.value && h(k) ? (a(), w(P, {
1533
+ default: u(() => [b("div", tr, [N.value && h(j) ? (a(), w(P, {
1536
1534
  key: 0,
1537
1535
  "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) }),
1536
+ disabled: !h(j).locales.includes(N.value),
1537
+ "model-value": I.value,
1538
+ label: h(T)(h(x).localization.hide, { language: h(k)(N.value) }),
1541
1539
  "onUpdate:modelValue": n[5] ||= (t) => h(D)?.setBlockHidden?.(e.block.id, t)
1542
1540
  }, null, 8, [
1543
1541
  "disabled",
1544
1542
  "model-value",
1545
1543
  "label"
1546
- ])) : g("", !0), (a(), v(S, null, s(me, (e) => p(A, {
1544
+ ])) : g("", !0), (a(), v(S, null, s(Se, (e) => p(A, {
1547
1545
  key: e.key,
1548
1546
  path: `visibility.${e.key}`,
1549
1547
  label: h(x).blockSettings[e.labelKey]
@@ -1556,9 +1554,9 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1556
1554
  "control-id": t,
1557
1555
  "hide-label": "",
1558
1556
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1559
- "model-value": Ae(e.key),
1557
+ "model-value": Ne(e.key),
1560
1558
  label: h(x).blockSettings[e.labelKey],
1561
- "onUpdate:modelValue": (t) => je(e.key)
1559
+ "onUpdate:modelValue": (t) => Pe(e.key)
1562
1560
  }, null, 8, [
1563
1561
  "control-id",
1564
1562
  "model-value",
@@ -1569,14 +1567,14 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1569
1567
  }, 1032, ["path", "label"])), 64))])]),
1570
1568
  _: 1
1571
1569
  }, 8, ["title", "open"]),
1572
- ge.value ? (a(), w(In, {
1570
+ Ce.value ? (a(), w(In, {
1573
1571
  key: 0,
1574
1572
  "header-test-id": "display-condition-section",
1575
1573
  title: h(x).blockSettings.displayCondition,
1576
1574
  open: q.has("condition"),
1577
- onToggle: n[11] ||= (e) => he("condition")
1575
+ onToggle: n[11] ||= (e) => Z("condition")
1578
1576
  }, {
1579
- default: u(() => [h(de) ? (a(), v("div", rr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1577
+ default: u(() => [h(ve) ? (a(), v("div", rr, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1580
1578
  b("p", ir, r(e.block.displayCondition.label), 1),
1581
1579
  e.block.displayCondition.description ? (a(), v("p", ar, r(e.block.displayCondition.description), 1)) : g("", !0),
1582
1580
  b("div", or, [b("button", {
@@ -1584,7 +1582,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1584
1582
  "data-testid": "display-condition-edit",
1585
1583
  class: o(h(F)),
1586
1584
  disabled: K.value,
1587
- onClick: ye
1585
+ onClick: Ee
1588
1586
  }, r(h(x).blockSettings.editCondition), 11, sr), b("button", {
1589
1587
  type: "button",
1590
1588
  "data-testid": "display-condition-remove",
@@ -1598,7 +1596,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1598
1596
  "data-testid": "display-condition-request",
1599
1597
  class: o(h(F)),
1600
1598
  disabled: K.value,
1601
- onClick: ye
1599
+ onClick: Ee
1602
1600
  }, r(h(x).blockSettings.addCondition), 11, lr))])) : (a(), v("div", ur, [p(A, {
1603
1601
  path: "displayCondition",
1604
1602
  label: h(x).blockSettings.displayCondition
@@ -1606,23 +1604,23 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1606
1604
  default: u(() => [b("select", {
1607
1605
  "data-testid": "display-condition-select",
1608
1606
  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 ?? "",
1607
+ value: J.value || De.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1610
1608
  onChange: n[8] ||= (e) => {
1611
1609
  let t = e.target.value;
1612
1610
  if (t === "__custom__") {
1613
- be();
1611
+ Oe();
1614
1612
  return;
1615
1613
  }
1616
1614
  if (J.value = !1, !t) {
1617
1615
  f("update", { displayCondition: void 0 });
1618
1616
  return;
1619
1617
  }
1620
- let n = h(I).find((e) => e.label === t);
1618
+ let n = h(L).find((e) => e.label === t);
1621
1619
  n && f("update", { displayCondition: n });
1622
1620
  }
1623
1621
  }, [
1624
1622
  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", {
1623
+ (a(!0), v(S, null, s(Ae.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1626
1624
  key: 0,
1627
1625
  label: String(t)
1628
1626
  }, [(a(!0), v(S, null, s(e, (e) => (a(), v("option", {
@@ -1632,10 +1630,10 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1632
1630
  key: e.label,
1633
1631
  value: e.label
1634
1632
  }, r(e.label), 9, hr))), 128))], 64))), 128)),
1635
- h(L) ? (a(), v("option", gr, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1633
+ h(R) ? (a(), v("option", gr, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1636
1634
  ], 42, dr)]),
1637
1635
  _: 1
1638
- }, 8, ["label"]), J.value || Z.value ? (a(), v("div", _r, [
1636
+ }, 8, ["label"]), J.value || De.value ? (a(), v("div", _r, [
1639
1637
  b("div", null, [b("label", vr, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1640
1638
  "onUpdate:modelValue": n[9] ||= (e) => Y.value = e,
1641
1639
  rows: "2",
@@ -1650,9 +1648,9 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1650
1648
  type: "button",
1651
1649
  class: o(h(ee)),
1652
1650
  disabled: !Y.value.trim(),
1653
- onClick: Se
1651
+ onClick: ke
1654
1652
  }, 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)]))]),
1653
+ ])) : e.block.displayCondition && !De.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
1654
  _: 1
1657
1655
  }, 8, ["title", "open"])) : g("", !0)
1658
1656
  ], 2));
@@ -1755,7 +1753,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1755
1753
  },
1756
1754
  emits: ["update:modelValue"],
1757
1755
  setup(e, { emit: t }) {
1758
- let n = e, r = t, { t: i } = W(), o = E(je, ft), s = m(() => Ze(n.field, o));
1756
+ let n = e, r = t, { t: i } = W(), o = E(de, ft), s = m(() => Qe(n.field, o));
1759
1757
  return (t, n) => (a(), w(Fr, {
1760
1758
  "hide-label": e.hideLabel,
1761
1759
  label: e.field.label,
@@ -1800,7 +1798,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1800
1798
  },
1801
1799
  emits: ["update:modelValue"],
1802
1800
  setup(e, { emit: t }) {
1803
- let n = e, i = t, { t: s } = W(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Xe({
1801
+ let n = e, i = t, { t: s } = W(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Ze({
1804
1802
  target: c,
1805
1803
  value: () => n.modelValue,
1806
1804
  blocked: () => !!n.readOnly,
@@ -1817,7 +1815,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1817
1815
  ref: c,
1818
1816
  class: "tpl:relative"
1819
1817
  }, [
1820
- h(f) ? (a(), w(Be, {
1818
+ h(f) ? (a(), w(He, {
1821
1819
  key: 0,
1822
1820
  uploading: h(d)
1823
1821
  }, null, 8, ["uploading"])) : g("", !0),
@@ -1841,7 +1839,7 @@ var tr = { class: "tpl:space-y-2" }, nr = { class: "tpl:flex tpl:items-center tp
1841
1839
  key: 3,
1842
1840
  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
1841
  onClick: n[1] ||= (e) => h(m)()
1844
- }, [p(h(it), {
1842
+ }, [p(h(at), {
1845
1843
  size: 14,
1846
1844
  "stroke-width": 1.5
1847
1845
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
@@ -2147,7 +2145,7 @@ var ii = {
2147
2145
  props: { block: {} },
2148
2146
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2149
2147
  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({
2148
+ let n = e, o = t, { t: c } = W(), l = E(U, []), 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
2149
  definition: d,
2152
2150
  block: f,
2153
2151
  onUpdate: (e, t) => {
@@ -2305,7 +2303,7 @@ function yi(e) {
2305
2303
  t(() => e.block().id, () => {
2306
2304
  n.value = !1, r.value = null;
2307
2305
  });
2308
- let i = m(() => Ve(e.block()) ?? e.measured()), a = m(() => {
2306
+ let i = m(() => Ue(e.block()) ?? e.measured()), a = m(() => {
2309
2307
  let t = e.block().width;
2310
2308
  return t === "full" ? e.room() : t;
2311
2309
  }), o = m(() => {
@@ -2316,9 +2314,9 @@ function yi(e) {
2316
2314
  return t === void 0 || o.value !== null && Math.abs(o.value - t) <= 1;
2317
2315
  }), l = m(() => s.value && !n.value && c.value);
2318
2316
  function u() {
2319
- if (Ve(e.block())) return {};
2317
+ if (Ue(e.block())) return {};
2320
2318
  let t = e.measured();
2321
- return t ? He(t) : {};
2319
+ return t ? We(t) : {};
2322
2320
  }
2323
2321
  function d(t) {
2324
2322
  if (r.value = null, !t) return n.value = !0, null;
@@ -2380,7 +2378,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2380
2378
  props: { block: {} },
2381
2379
  emits: ["update"],
2382
2380
  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(() => {
2381
+ let n = e, i = t, { t: s, format: c } = W(), l = E(_e, Ne.liquid), d = E(ue, null), f = d ? Pe(d) : null, C = E(he, void 0), T = _(!1), D = _(!1), { start: O } = ht(() => {
2384
2382
  T.value = !1, D.value = !1;
2385
2383
  }, 1e3, { immediate: !1 }), k = [
2386
2384
  300,
@@ -2396,8 +2394,8 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2396
2394
  function ee(e) {
2397
2395
  if (e === "custom") {
2398
2396
  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)));
2397
+ (typeof e != "number" || k.includes(e)) && i("update", U.widthUpdates(Bi));
2398
+ } else i("update", U.widthUpdates(e === "full" ? "full" : Number(e)));
2401
2399
  }
2402
2400
  function R(e) {
2403
2401
  I("height", e === "custom" ? Vi : void 0);
@@ -2410,42 +2408,42 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2410
2408
  !Number.isFinite(t) || t <= 0 || I("height", t);
2411
2409
  }
2412
2410
  function V(e) {
2413
- I("borderRadius", pe(e) === null ? void 0 : e);
2411
+ I("borderRadius", Se(e) === null ? void 0 : e);
2414
2412
  }
2415
2413
  function H(e) {
2416
2414
  let t = Number(e);
2417
- !Number.isFinite(t) || t <= 0 || i("update", K.widthUpdates(t));
2415
+ !Number.isFinite(t) || t <= 0 || i("update", U.widthUpdates(t));
2418
2416
  }
2419
2417
  function re(e) {
2420
2418
  e !== n.block.src && i("update", {
2421
2419
  src: e,
2422
- ...He(null)
2420
+ ...We(null)
2423
2421
  });
2424
2422
  }
2425
- function U(e) {
2423
+ function ie(e) {
2426
2424
  i("update", {
2427
2425
  src: e.url,
2428
- ...He(Le(e.width, e.height))
2426
+ ...We(ze(e.width, e.height))
2429
2427
  }), e.alt && (I("alt", e.alt), D.value = !0), T.value = !0, O();
2430
2428
  }
2431
- let ie = _(), ae = m(() => G(n.block.src, l)), { canBrowse: oe, isUploading: se, showOverlay: ce, openMediaBrowser: le } = Xe({
2432
- target: ie,
2429
+ let ae = _(), oe = m(() => q(n.block.src, l)), { canBrowse: se, isUploading: ce, showOverlay: le, openMediaBrowser: de } = Ze({
2430
+ target: ae,
2433
2431
  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({
2432
+ blocked: oe,
2433
+ apply: ie
2434
+ }), fe = Re(() => oe.value || !n.block.src || Ue(n.block) ? void 0 : n.block.src), pe = Cn(() => fe.value), me = m(() => f ? Ge(f.content.value, n.block.id, C) : null), U = yi({
2437
2435
  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);
2436
+ room: () => me.value,
2437
+ measured: () => pe.value
2438
+ }), { available: ge, locked: G, derivedHeight: ve, cappedHeight: ye } = U;
2439
+ function be() {
2440
+ let e = U.setLocked(!G.value);
2443
2441
  e && i("update", e);
2444
2442
  }
2445
- let he = _(null);
2446
- function ge(e) {
2447
- he.value = e;
2448
- let t = K.heightUpdates(Number(e));
2443
+ let K = _(null);
2444
+ function J(e) {
2445
+ K.value = e;
2446
+ let t = U.heightUpdates(Number(e));
2449
2447
  t && i("update", t);
2450
2448
  }
2451
2449
  return (t, n) => (a(), v(S, null, [
@@ -2456,12 +2454,12 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2456
2454
  }, {
2457
2455
  default: u(() => [b("div", {
2458
2456
  ref_key: "dropZoneRef",
2459
- ref: ie,
2457
+ ref: ae,
2460
2458
  class: "tpl:relative"
2461
2459
  }, [
2462
- h(ce) ? (a(), w(Be, {
2460
+ h(le) ? (a(), w(He, {
2463
2461
  key: 0,
2464
- uploading: h(se)
2462
+ uploading: h(ce)
2465
2463
  }, null, 8, ["uploading"])) : g("", !0),
2466
2464
  p(N, {
2467
2465
  "model-value": e.block.src,
@@ -2474,7 +2472,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2474
2472
  "placeholder",
2475
2473
  "pulse"
2476
2474
  ]),
2477
- h(oe) ? (a(), v("button", {
2475
+ h(se) ? (a(), v("button", {
2478
2476
  key: 1,
2479
2477
  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
2478
  style: {
@@ -2482,15 +2480,15 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2482
2480
  color: "var(--tpl-primary)",
2483
2481
  "background-color": "var(--tpl-bg)"
2484
2482
  },
2485
- onClick: n[1] ||= (...e) => h(le) && h(le)(...e)
2486
- }, [p(h(it), {
2483
+ onClick: n[1] ||= (...e) => h(de) && h(de)(...e)
2484
+ }, [p(h(at), {
2487
2485
  size: 14,
2488
2486
  "stroke-width": 1.5
2489
2487
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
2490
2488
  ], 512)]),
2491
2489
  _: 1
2492
2490
  }, 8, ["label"]),
2493
- h(G)(e.block.src, h(l)) ? (a(), w(A, {
2491
+ h(q)(e.block.src, h(l)) ? (a(), w(A, {
2494
2492
  key: 0,
2495
2493
  class: "tpl:mb-3.5",
2496
2494
  path: "placeholderUrl"
@@ -2593,23 +2591,23 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2593
2591
  label: h(s).image.height
2594
2592
  }, x({
2595
2593
  default: u(() => [
2596
- h(J) ? (a(), v(S, { key: 0 }, [b("div", Mi, [b("input", {
2594
+ h(G) ? (a(), v(S, { key: 0 }, [b("div", Mi, [b("input", {
2597
2595
  type: "number",
2598
2596
  "data-testid": "image-locked-height-input",
2599
2597
  class: o(h(z)),
2600
- value: he.value ?? h(Y) ?? "",
2598
+ value: K.value ?? h(ve) ?? "",
2601
2599
  min: "1",
2602
- onInput: n[8] ||= (e) => ge(e.target.value),
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", {
2600
+ onInput: n[8] ||= (e) => J(e.target.value),
2601
+ onBlur: n[9] ||= (e) => K.value = null
2602
+ }, null, 42, Ni), b("span", { class: o(h(L)) }, "px", 2)]), h(ye) === null ? g("", !0) : (a(), v("p", Pi, r(h(c)(h(s).image.heightCapped, { height: h(ye) })), 1))], 64)) : g("", !0),
2603
+ h(G) ? g("", !0) : (a(), v("select", {
2606
2604
  key: 1,
2607
2605
  class: o(h(B)),
2608
2606
  "data-testid": "image-height-mode",
2609
2607
  value: M.value,
2610
2608
  onChange: n[10] ||= (e) => R(e.target.value)
2611
2609
  }, [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", {
2610
+ !h(G) && M.value === "custom" ? (a(), v("div", Ri, [b("input", {
2613
2611
  type: "number",
2614
2612
  "data-testid": "image-height-input",
2615
2613
  class: o(h(z)),
@@ -2619,14 +2617,14 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2619
2617
  }, null, 42, zi), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)
2620
2618
  ]),
2621
2619
  _: 2
2622
- }, [h(q) ? {
2620
+ }, [h(ge) ? {
2623
2621
  name: "label-actions",
2624
2622
  fn: u(() => [p(jt, {
2625
- linked: h(J),
2623
+ linked: h(G),
2626
2624
  "link-label": h(s).image.lockAspectRatio,
2627
2625
  "unlink-label": h(s).image.unlockAspectRatio,
2628
2626
  testid: "image-aspect-lock",
2629
- onToggle: me
2627
+ onToggle: be
2630
2628
  }, null, 8, [
2631
2629
  "linked",
2632
2630
  "link-label",
@@ -2752,7 +2750,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2752
2750
  }
2753
2751
  function g() {
2754
2752
  let e = {
2755
- id: K(),
2753
+ id: Z(),
2756
2754
  text: "",
2757
2755
  url: "",
2758
2756
  openInNewTab: !1,
@@ -2858,7 +2856,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2858
2856
  }, {
2859
2857
  default: u(() => [b("select", {
2860
2858
  class: o(h(B)),
2861
- value: h($e)(e.block.fontFamily),
2859
+ value: h(et)(e.block.fontFamily),
2862
2860
  onChange: n[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2863
2861
  }, [b("option", Xi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2864
2862
  key: e.value,
@@ -2962,7 +2960,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2962
2960
  default: u(() => [b("div", ea, [b("input", {
2963
2961
  type: "number",
2964
2962
  class: o(h(z)),
2965
- value: e.block.paragraphSpacing ?? h(Y).paragraphGap,
2963
+ value: e.block.paragraphSpacing ?? h(Te).paragraphGap,
2966
2964
  min: "0",
2967
2965
  max: "64",
2968
2966
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
@@ -2973,7 +2971,7 @@ var bi = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, xi = [
2973
2971
  });
2974
2972
  // src/utils/rebalanceColumnChildren.ts
2975
2973
  function ra(e, t) {
2976
- let n = ge(t);
2974
+ let n = ke(t);
2977
2975
  if (e.length === n) return e;
2978
2976
  if (e.length < n) {
2979
2977
  let t = Array.from({ length: n - e.length }, () => []);
@@ -3004,7 +3002,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3004
3002
  props: { block: {} },
3005
3003
  emits: ["update"],
3006
3004
  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(() => [
3005
+ let n = e, i = t, { t: c, format: l } = W(), d = E(he, void 0), f = E(oe, void 0), _ = d !== void 0 && J(d), y = m(() => f !== !1 || !!n.block.wrapper), x = m(() => _ && !n.block.wrapper), C = m(() => _ && y.value), T = m(() => be(n.block)?.applied === !0), D = m(() => [
3008
3006
  {
3009
3007
  value: "1",
3010
3008
  label: c.section.column1
@@ -3041,7 +3039,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3041
3039
  value: "1-2-1",
3042
3040
  label: c.section.ratio121
3043
3041
  }
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);
3042
+ ]), O = m(() => je(n.block)), k = m(() => n.block.columnWidths !== void 0 && K(n.block) === null), j = m(() => k.value ? "custom" : n.block.columns);
3045
3043
  function N(e) {
3046
3044
  let t = e.target.value;
3047
3045
  if (t === "custom") return;
@@ -3063,8 +3061,8 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3063
3061
  return;
3064
3062
  }
3065
3063
  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]);
3067
- let p = he[n.block.columns], m = p !== void 0 && p.every((e, t) => e === c[t]);
3064
+ c[e] = G(f), c[l] = G(u - c[e]);
3065
+ let p = Oe[n.block.columns], m = p !== void 0 && p.every((e, t) => e === c[t]);
3068
3066
  i("update", { columnWidths: m ? void 0 : c });
3069
3067
  }
3070
3068
  function ee(e) {
@@ -3093,7 +3091,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3093
3091
  function re(e) {
3094
3092
  H({ padding: e });
3095
3093
  }
3096
- function U(e) {
3094
+ function ie(e) {
3097
3095
  H({ borderRadius: e });
3098
3096
  }
3099
3097
  return (t, n) => (a(), v(S, null, [
@@ -3240,7 +3238,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3240
3238
  label: h(c).section.borderRadius,
3241
3239
  max: 50,
3242
3240
  "testid-prefix": "section-wrapper",
3243
- "onUpdate:modelValue": U
3241
+ "onUpdate:modelValue": ie
3244
3242
  }, null, 8, ["model-value", "label"])
3245
3243
  ])) : g("", !0)
3246
3244
  ])) : g("", !0)
@@ -3251,7 +3249,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3251
3249
  props: { icon: {} },
3252
3250
  emits: ["update"],
3253
3251
  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));
3252
+ let n = e, i = t, { t: o } = W(), { syntax: s } = bt(), c = _(), l = m(() => typeof n.icon.imageUrl == "string" ? n.icon.imageUrl : ""), d = m(() => q(l.value, s));
3255
3253
  function f(e) {
3256
3254
  return n.icon.id.includes(".") ? void 0 : `icons.${n.icon.id}.${e}`;
3257
3255
  }
@@ -3274,7 +3272,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3274
3272
  };
3275
3273
  e.alt && (t.alt = e.alt), i("update", t);
3276
3274
  }
3277
- let { canBrowse: E, isUploading: D, showOverlay: O, openMediaBrowser: k } = Xe({
3275
+ let { canBrowse: E, isUploading: D, showOverlay: O, openMediaBrowser: k } = Ze({
3278
3276
  target: c,
3279
3277
  value: l,
3280
3278
  blocked: d,
@@ -3289,7 +3287,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3289
3287
  ref: c,
3290
3288
  class: "tpl:relative"
3291
3289
  }, [
3292
- h(O) ? (a(), w(Be, {
3290
+ h(O) ? (a(), w(He, {
3293
3291
  key: 0,
3294
3292
  uploading: h(D)
3295
3293
  }, null, 8, ["uploading"])) : g("", !0),
@@ -3308,7 +3306,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3308
3306
  "background-color": "var(--tpl-bg)"
3309
3307
  },
3310
3308
  onClick: n[0] ||= (...e) => h(k) && h(k)(...e)
3311
- }, [p(h(it), {
3309
+ }, [p(h(at), {
3312
3310
  size: 14,
3313
3311
  "stroke-width": 1.5
3314
3312
  }), y(" " + r(h(o).image.browseMedia), 1)])) : g("", !0)
@@ -3341,7 +3339,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3341
3339
  }
3342
3340
  function d() {
3343
3341
  let e = {
3344
- id: K(),
3342
+ id: Z(),
3345
3343
  platform: "facebook",
3346
3344
  url: ""
3347
3345
  };
@@ -3388,7 +3386,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3388
3386
  class: o([h(B), "tpl:flex-1"]),
3389
3387
  value: e.platform,
3390
3388
  onChange: (t) => x(e, t.target.value)
3391
- }, [(a(!0), v(S, null, s(h(Je), (e) => (a(), v("option", {
3389
+ }, [(a(!0), v(S, null, s(h(Ye), (e) => (a(), v("option", {
3392
3390
  key: e,
3393
3391
  value: e
3394
3392
  }, r(h(c).social.platforms[e]), 9, ya))), 128)), b("option", ba, r(h(c).social.platforms.custom), 1)], 42, va)]),
@@ -3579,9 +3577,9 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3579
3577
  }
3580
3578
  function f() {
3581
3579
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3582
- id: K(),
3580
+ id: Z(),
3583
3581
  cells: Array.from({ length: e }, () => ({
3584
- id: K(),
3582
+ id: Z(),
3585
3583
  content: ""
3586
3584
  }))
3587
3585
  };
@@ -3594,7 +3592,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3594
3592
  let e = n.block.rows.map((e) => ({
3595
3593
  ...e,
3596
3594
  cells: [...e.cells, {
3597
- id: K(),
3595
+ id: Z(),
3598
3596
  content: ""
3599
3597
  }]
3600
3598
  }));
@@ -3613,7 +3611,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3613
3611
  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
3612
  disabled: e.block.rows.length <= 1,
3615
3613
  onClick: n[0] ||= (t) => _(e.block.rows[e.block.rows.length - 1].id)
3616
- }, [p(h(tt), {
3614
+ }, [p(h(nt), {
3617
3615
  size: 12,
3618
3616
  "stroke-width": 2
3619
3617
  })], 8, Ka),
@@ -3630,7 +3628,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3630
3628
  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
3629
  disabled: l.value <= 1,
3632
3630
  onClick: n[1] ||= (e) => x(l.value - 1)
3633
- }, [p(h(tt), {
3631
+ }, [p(h(nt), {
3634
3632
  size: 12,
3635
3633
  "stroke-width": 2
3636
3634
  })], 8, Za),
@@ -3728,7 +3726,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3728
3726
  }, {
3729
3727
  default: u(() => [b("select", {
3730
3728
  class: o(h(B)),
3731
- value: h($e)(e.block.fontFamily),
3729
+ value: h(et)(e.block.fontFamily),
3732
3730
  onChange: n[7] ||= (e) => d("fontFamily", e.target.value || void 0)
3733
3731
  }, [b("option", io, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3734
3732
  key: e.value,
@@ -3829,7 +3827,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3829
3827
  }, {
3830
3828
  default: u(() => [b("select", {
3831
3829
  class: o(h(B)),
3832
- value: h($e)(e.block.fontFamily),
3830
+ value: h(et)(e.block.fontFamily),
3833
3831
  onChange: n[1] ||= (e) => c("fontFamily", e.target.value || void 0)
3834
3832
  }, [b("option", go, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3835
3833
  key: e.value,
@@ -3893,11 +3891,11 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3893
3891
  props: { block: {} },
3894
3892
  emits: ["update"],
3895
3893
  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 = [
3894
+ let n = e, i = t, { t: s } = W(), c = E(ce, null), l = E(_e, Ne.liquid), d = Ve(), f = [
3897
3895
  300,
3898
3896
  400,
3899
3897
  500
3900
- ], x = m(() => !!c), C = m(() => G(n.block.url, l)), T = m(() => {
3898
+ ], x = m(() => !!c), C = m(() => q(n.block.url, l)), T = m(() => {
3901
3899
  let e = n.block.width;
3902
3900
  return e === "full" ? "full" : f.includes(e) ? String(e) : "custom";
3903
3901
  }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = ht(() => {
@@ -3999,7 +3997,7 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
3999
3997
  "background-color": "var(--tpl-bg)"
4000
3998
  },
4001
3999
  onClick: R
4002
- }, [p(h(it), {
4000
+ }, [p(h(at), {
4003
4001
  size: 14,
4004
4002
  "stroke-width": 1.5
4005
4003
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)]),
@@ -4100,9 +4098,9 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4100
4098
  "duplicate"
4101
4099
  ],
4102
4100
  setup(e, { emit: t }) {
4103
- let n = T(() => import("./CountdownToolbar-B6erqTbz.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(() => {
4101
+ let n = T(() => import("./CountdownToolbar-CJbPEVV5.js")), o = e, s = t, { t: c } = W(), l = dt(), u = me(ge, "Toolbar"), d = E(U, []), f = m(() => o.block.type), _ = m(() => Y(o.block)), y = m(() => {
4104
4102
  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));
4103
+ }), x = m(() => _.value ? y.value?.name ?? o.block.customType : Be(f.value, c)), S = m(() => $e(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
4106
4104
  function C(e) {
4107
4105
  l.value && s("update", e);
4108
4106
  }
@@ -4114,11 +4112,11 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4114
4112
  disabled: !h(l),
4115
4113
  inert: !h(l),
4116
4114
  class: "tpl:contents"
4117
- }, [b("div", Lo, [b("div", Ro, [h(nt)[f.value] ? (a(), w(i(h(nt)[f.value]), {
4115
+ }, [b("div", Lo, [b("div", Ro, [h(rt)[f.value] ? (a(), w(i(h(rt)[f.value]), {
4118
4116
  key: 0,
4119
4117
  size: 16,
4120
4118
  "stroke-width": 1.5
4121
- })) : _.value ? (a(), w(h(We), {
4119
+ })) : _.value ? (a(), w(h(Fe), {
4122
4120
  key: 1,
4123
4121
  size: 16,
4124
4122
  "stroke-width": 1.5
@@ -4204,5 +4202,5 @@ var ia = { class: "tpl:mb-3.5" }, aa = ["value"], oa = ["value"], sa = {
4204
4202
  onUpdate: C
4205
4203
  }, null, 8, ["block", "is-first-section"])])], 8, Io)], 8, Fo));
4206
4204
  }
4207
- }), Go = /* @__PURE__ */ e({ default: () => Ko }), Ko = /*#__PURE__*/ rt(Wo, [["__scopeId", "data-v-206f038f"]]);
4205
+ }), Go = /* @__PURE__ */ e({ default: () => Ko }), Ko = /*#__PURE__*/ it(Wo, [["__scopeId", "data-v-206f038f"]]);
4208
4206
  export { Ko as default, kt as n, $ as r, Go as t };