@templatical/editor 0.58.0 → 0.59.1

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 (202) hide show
  1. package/dist/{AiAltTextPopover-B4cg0jQG.js → AiAltTextPopover-CwyKz_9U.js} +3 -3
  2. package/dist/{AiAltTextReview-Dni8I9eV.js → AiAltTextReview-DNFnR1PN.js} +2 -2
  3. package/dist/{AiChatPanel-QWqGhy2s.js → AiChatPanel-DWWVvJIP.js} +3 -3
  4. package/dist/{AiPanels-DE2ysIV1.js → AiPanels-CESbBB63.js} +1 -1
  5. package/dist/{AiRewriteMenu-B25gpnip.js → AiRewriteMenu-DH6j1jOA.js} +5 -5
  6. package/dist/{BlockIssueBadge-Ri7dQhuz.js → BlockIssueBadge-3k568_Od.js} +2 -2
  7. package/dist/{BlockPreviewCanvas-yr5MmQql.js → BlockPreviewCanvas-BLJxLwTT.js} +6 -6
  8. package/dist/{CloudHeaderExtras-CJsXi4Ku.js → CloudHeaderExtras-xrHubAHL.js} +1 -1
  9. package/dist/{CloudPanels-ZOR9By8W.js → CloudPanels-qW-MObRD.js} +3 -3
  10. package/dist/{CollaborationNotices-COS_YvTq.js → CollaborationNotices-D9GQ477K.js} +1 -1
  11. package/dist/{CollaboratorBar-jq6HH0fb.js → CollaboratorBar-DsRjAaqd.js} +1 -1
  12. package/dist/{CommentsPanel-B0_Ob2vO.js → CommentsPanel-lb-IFzjl.js} +1 -1
  13. package/dist/{CommentsSidebar-DFoLon5D.js → CommentsSidebar-CVVTCWBH.js} +3 -3
  14. package/dist/{CountdownBlock-BrR2uqM3.js → CountdownBlock-CSEq79Nc.js} +2 -2
  15. package/dist/{CountdownToolbar-BtP0n0yZ.js → CountdownToolbar-BV9yQi9k.js} +5 -5
  16. package/dist/{IssuesPanel-CarJYQFu.js → IssuesPanel-pxcWAQJM.js} +5 -5
  17. package/dist/{LanguageMenu-confz89v.js → LanguageMenu-D_xbvq3D.js} +5 -5
  18. package/dist/{LocaleNotices-D8aE167E.js → LocaleNotices-j4aMFfmc.js} +2 -2
  19. package/dist/{LogicTagInsertButton-DFL3kvGK.js → LogicTagInsertButton-BDIsyl3C.js} +96 -96
  20. package/dist/{MergeTagInput-BuGJeeyA.js → MergeTagInput-De1yWoc2.js} +2 -2
  21. package/dist/{MergeTagModeToggle-D7482NZf.js → MergeTagModeToggle-CL96pI1E.js} +2 -2
  22. package/dist/{MergeTagTextarea-Qt9_NeY4.js → MergeTagTextarea-DDyV8U44.js} +4 -4
  23. package/dist/{ParagraphEditor-Cd-CBE_l.js → ParagraphEditor-DpOsnnai.js} +9 -9
  24. package/dist/{RestoreVersionDialog-Clh4l0Bn.js → RestoreVersionDialog-JQEkVIh5.js} +3 -3
  25. package/dist/{RichTextEditorContent-Dw_Z9zhi.js → RichTextEditorContent-C2Yj1-ZA.js} +5 -5
  26. package/dist/{SaveBlockDialog-kboYvk_a.js → SaveBlockDialog-BPf6tDhg.js} +11 -11
  27. package/dist/{SavedBlocksBrowserModal-wVGMC6My.js → SavedBlocksBrowserModal-DnDCfwSv.js} +7 -7
  28. package/dist/{SavedBlocksPanels-C9AHYfYR.js → SavedBlocksPanels-D5YaVCem.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-CVbV5MVL.js → SavedBlocksPickBar-OQ7ey3MD.js} +3 -3
  30. package/dist/{TemplateSettings-ChCm5_2b.js → TemplateSettings-CBCaybvd.js} +5 -5
  31. package/dist/TestEmailModal-BDp85wIp.js +241 -0
  32. package/dist/{TestEmailPanel-7Ua54CYL.js → TestEmailPanel-DkJx0Ptk.js} +1 -1
  33. package/dist/{TitleEditor-DXMOgW-9.js → TitleEditor-wzknZqu_.js} +7 -7
  34. package/dist/{Toolbar-CVHJl6i4.js → Toolbar-FIYSw3Us.js} +438 -438
  35. package/dist/{TplModal-BErE8I3p.js → TplModal-C57J-uF0.js} +3 -3
  36. package/dist/{VersionHistoryMenu-P3P00KqQ.js → VersionHistoryMenu-6jMve6By.js} +2 -2
  37. package/dist/{VersionHistoryPanels-DES1b1Pq.js → VersionHistoryPanels-BZ0GT52h.js} +1 -1
  38. package/dist/{VersionPreviewBanner-D2TtR9I5.js → VersionPreviewBanner-Bq8z1SUc.js} +2 -2
  39. package/dist/{WrapperBlock-B1zI7POT.js → WrapperBlock-C4XrJkx5.js} +3 -3
  40. package/dist/{blockTypeIcons-Dp540i74.js → blockTypeIcons-VX_8UQ21.js} +1 -1
  41. package/dist/bundle-stats.json +8 -8
  42. package/dist/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +1 -0
  43. package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js → AiAltTextPopover-Dj-VLU88.js} +4 -4
  44. package/dist/cdn/chunks/{AiAltTextPopover-sx3bmRiV.js.map → AiAltTextPopover-Dj-VLU88.js.map} +1 -1
  45. package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js → AiAltTextReview-tVkJPOk6.js} +3 -3
  46. package/dist/cdn/chunks/{AiAltTextReview-Cj3PKInZ.js.map → AiAltTextReview-tVkJPOk6.js.map} +1 -1
  47. package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js → AiChatPanel-CYPvHQGQ.js} +4 -4
  48. package/dist/cdn/chunks/{AiChatPanel-DibkqrqY.js.map → AiChatPanel-CYPvHQGQ.js.map} +1 -1
  49. package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js → AiPanels-ChTLCmMS.js} +2 -2
  50. package/dist/cdn/chunks/{AiPanels-DVs4r8sY.js.map → AiPanels-ChTLCmMS.js.map} +1 -1
  51. package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js → AiRewriteMenu-B23ozFnP.js} +6 -6
  52. package/dist/cdn/chunks/{AiRewriteMenu-BbZ9NRoe.js.map → AiRewriteMenu-B23ozFnP.js.map} +1 -1
  53. package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js → BlockIssueBadge-BKO4Mr8f.js} +3 -3
  54. package/dist/cdn/chunks/{BlockIssueBadge-BWIth1y6.js.map → BlockIssueBadge-BKO4Mr8f.js.map} +1 -1
  55. package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js → BlockPreviewCanvas-CaRneMZ8.js} +7 -7
  56. package/dist/cdn/chunks/{BlockPreviewCanvas-BDZ6pMHq.js.map → BlockPreviewCanvas-CaRneMZ8.js.map} +1 -1
  57. package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js → CloudHeaderExtras-O_K3jmgO.js} +2 -2
  58. package/dist/cdn/chunks/{CloudHeaderExtras-CazfMn6A.js.map → CloudHeaderExtras-O_K3jmgO.js.map} +1 -1
  59. package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js → CloudPanels-xAEirqNC.js} +4 -4
  60. package/dist/cdn/chunks/{CloudPanels-BI_hJwcJ.js.map → CloudPanels-xAEirqNC.js.map} +1 -1
  61. package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js → CollaborationNotices-CwAoa-73.js} +2 -2
  62. package/dist/cdn/chunks/{CollaborationNotices-yKOt4o7B.js.map → CollaborationNotices-CwAoa-73.js.map} +1 -1
  63. package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js → CollaboratorBar-DdQQwtwd.js} +2 -2
  64. package/dist/cdn/chunks/{CollaboratorBar-D5fycyLP.js.map → CollaboratorBar-DdQQwtwd.js.map} +1 -1
  65. package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js → CommentsPanel-C8AKtxiG.js} +2 -2
  66. package/dist/cdn/chunks/{CommentsPanel-BPoa1lBK.js.map → CommentsPanel-C8AKtxiG.js.map} +1 -1
  67. package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js → CommentsSidebar-FxY0RHSq.js} +4 -4
  68. package/dist/cdn/chunks/{CommentsSidebar-DLn9qWtv.js.map → CommentsSidebar-FxY0RHSq.js.map} +1 -1
  69. package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js → CountdownBlock-DGgnPUlu.js} +3 -3
  70. package/dist/cdn/chunks/{CountdownBlock-Do6oItNW.js.map → CountdownBlock-DGgnPUlu.js.map} +1 -1
  71. package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js → CountdownToolbar-9PtYUgCW.js} +6 -6
  72. package/dist/cdn/chunks/{CountdownToolbar-D5_QBuhO.js.map → CountdownToolbar-9PtYUgCW.js.map} +1 -1
  73. package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js → IssuesPanel-Co-ffgWa.js} +6 -6
  74. package/dist/cdn/chunks/{IssuesPanel-BzVpxRkq.js.map → IssuesPanel-Co-ffgWa.js.map} +1 -1
  75. package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js → LanguageMenu-Cl0ajnXZ.js} +6 -6
  76. package/dist/cdn/chunks/{LanguageMenu-GEbUX5Oe.js.map → LanguageMenu-Cl0ajnXZ.js.map} +1 -1
  77. package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js → LocaleNotices-BVDJ7kyj.js} +3 -3
  78. package/dist/cdn/chunks/{LocaleNotices-CWRS_G-4.js.map → LocaleNotices-BVDJ7kyj.js.map} +1 -1
  79. package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js → LogicTagInsertButton-DPYA8LJW.js} +9 -9
  80. package/dist/cdn/chunks/{LogicTagInsertButton-CrkAz1t_.js.map → LogicTagInsertButton-DPYA8LJW.js.map} +1 -1
  81. package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js → MergeTagInput-Cxfjq3tx.js} +3 -3
  82. package/dist/cdn/chunks/{MergeTagInput-DkCATtfE.js.map → MergeTagInput-Cxfjq3tx.js.map} +1 -1
  83. package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js → MergeTagModeToggle-BmNGV3yc.js} +3 -3
  84. package/dist/cdn/chunks/{MergeTagModeToggle-DYAFxyoB.js.map → MergeTagModeToggle-BmNGV3yc.js.map} +1 -1
  85. package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js → MergeTagTextarea-DmwrPAss.js} +5 -5
  86. package/dist/cdn/chunks/{MergeTagTextarea-DRS6pXSE.js.map → MergeTagTextarea-DmwrPAss.js.map} +1 -1
  87. package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js → ParagraphEditor-BoGELRr-.js} +10 -10
  88. package/dist/cdn/chunks/{ParagraphEditor-rEdKBett.js.map → ParagraphEditor-BoGELRr-.js.map} +1 -1
  89. package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js → RestoreVersionDialog-CaKiSq-9.js} +4 -4
  90. package/dist/cdn/chunks/{RestoreVersionDialog-B7eTijWD.js.map → RestoreVersionDialog-CaKiSq-9.js.map} +1 -1
  91. package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js → RichTextEditorContent-Dq4TROOg.js} +6 -6
  92. package/dist/cdn/chunks/{RichTextEditorContent-EtUIYzHB.js.map → RichTextEditorContent-Dq4TROOg.js.map} +1 -1
  93. package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js → SaveBlockDialog-BAR0G4UO.js} +12 -12
  94. package/dist/cdn/chunks/{SaveBlockDialog-BquE_Brz.js.map → SaveBlockDialog-BAR0G4UO.js.map} +1 -1
  95. package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js → SavedBlocksBrowserModal-C-KYaLkQ.js} +7 -7
  96. package/dist/cdn/chunks/{SavedBlocksBrowserModal--fNlId5y.js.map → SavedBlocksBrowserModal-C-KYaLkQ.js.map} +1 -1
  97. package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js → SavedBlocksPanels-C3OF0EeB.js} +2 -2
  98. package/dist/cdn/chunks/{SavedBlocksPanels-0Z0dELDm.js.map → SavedBlocksPanels-C3OF0EeB.js.map} +1 -1
  99. package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js → SavedBlocksPickBar-BnyPXw5W.js} +4 -4
  100. package/dist/cdn/chunks/{SavedBlocksPickBar-yezZxZeP.js.map → SavedBlocksPickBar-BnyPXw5W.js.map} +1 -1
  101. package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js → TemplateSettings-uoiUkd2l.js} +6 -6
  102. package/dist/cdn/chunks/{TemplateSettings-DFetnT9P.js.map → TemplateSettings-uoiUkd2l.js.map} +1 -1
  103. package/dist/cdn/chunks/TestEmailModal-B9d3ZsH7.js +240 -0
  104. package/dist/cdn/chunks/TestEmailModal-B9d3ZsH7.js.map +1 -0
  105. package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js → TestEmailPanel--fPi6QjN.js} +2 -2
  106. package/dist/cdn/chunks/{TestEmailPanel-C2dxmmoW.js.map → TestEmailPanel--fPi6QjN.js.map} +1 -1
  107. package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js → TitleEditor-Cn4fnSpa.js} +7 -7
  108. package/dist/cdn/chunks/{TitleEditor-Bq62I2SC.js.map → TitleEditor-Cn4fnSpa.js.map} +1 -1
  109. package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js → Toolbar-BzAuH2G4.js} +19 -19
  110. package/dist/cdn/chunks/{Toolbar-CwmW8wAI.js.map → Toolbar-BzAuH2G4.js.map} +1 -1
  111. package/dist/cdn/chunks/{TplModal-DE6BniBg.js → TplModal-jMfK19PC.js} +4 -4
  112. package/dist/cdn/chunks/{TplModal-DE6BniBg.js.map → TplModal-jMfK19PC.js.map} +1 -1
  113. package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js → VersionHistoryMenu-DDqYMqC2.js} +3 -3
  114. package/dist/cdn/chunks/{VersionHistoryMenu-BBYU71Ua.js.map → VersionHistoryMenu-DDqYMqC2.js.map} +1 -1
  115. package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js → VersionHistoryPanels-DJpySkvq.js} +2 -2
  116. package/dist/cdn/chunks/{VersionHistoryPanels-mMMqnf3O.js.map → VersionHistoryPanels-DJpySkvq.js.map} +1 -1
  117. package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js → VersionPreviewBanner-CYT5QUoc.js} +3 -3
  118. package/dist/cdn/chunks/{VersionPreviewBanner-tBz-3lGg.js.map → VersionPreviewBanner-CYT5QUoc.js.map} +1 -1
  119. package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js → WrapperBlock-Bi9XgDmX.js} +4 -4
  120. package/dist/cdn/chunks/{WrapperBlock-B9XxtFql.js.map → WrapperBlock-Bi9XgDmX.js.map} +1 -1
  121. package/dist/cdn/chunks/{ca-BJn8lcJx.js → ca-YfIxwO1G.js} +2 -1
  122. package/dist/cdn/chunks/{ca-BJn8lcJx.js.map → ca-YfIxwO1G.js.map} +1 -1
  123. package/dist/cdn/chunks/{composables-CkthyXi9.js → composables-Cp6gZ7qV.js} +468 -451
  124. package/dist/cdn/chunks/composables-Cp6gZ7qV.js.map +1 -0
  125. package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js → createCloudRuntime-D8zeR9D2.js} +2 -2
  126. package/dist/cdn/chunks/{createCloudRuntime-k12jYbXP.js.map → createCloudRuntime-D8zeR9D2.js.map} +1 -1
  127. package/dist/cdn/chunks/{da-qQzj0QGy.js → da-CM6DCvRG.js} +2 -1
  128. package/dist/cdn/chunks/{da-qQzj0QGy.js.map → da-CM6DCvRG.js.map} +1 -1
  129. package/dist/cdn/chunks/{de-BLFp3nWx.js → de-Dugz1zXC.js} +2 -1
  130. package/dist/cdn/chunks/{de-BLFp3nWx.js.map → de-Dugz1zXC.js.map} +1 -1
  131. package/dist/cdn/chunks/{en-DGGQJGbm.js → en-BykoFuFY.js} +2 -1
  132. package/dist/cdn/chunks/{en-DGGQJGbm.js.map → en-BykoFuFY.js.map} +1 -1
  133. package/dist/cdn/chunks/{es-DTY9qgLv.js → es-DaWsTkpj.js} +2 -1
  134. package/dist/cdn/chunks/{es-DTY9qgLv.js.map → es-DaWsTkpj.js.map} +1 -1
  135. package/dist/cdn/chunks/{extensions-Djyg5slk.js → extensions-BYJPv1sA.js} +4 -4
  136. package/dist/cdn/chunks/{extensions-Djyg5slk.js.map → extensions-BYJPv1sA.js.map} +1 -1
  137. package/dist/cdn/chunks/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +2 -1
  138. package/dist/cdn/chunks/{fr-L4FqO9Gp.js.map → fr-DqwQHtJo.js.map} +1 -1
  139. package/dist/cdn/chunks/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +2 -1
  140. package/dist/cdn/chunks/{ja-6uOXkh4v.js.map → ja-BH4MS1Ye.js.map} +1 -1
  141. package/dist/cdn/chunks/{keys-BQqbBUag.js → keys-DNv3xXxI.js} +4 -4
  142. package/dist/cdn/chunks/keys-DNv3xXxI.js.map +1 -0
  143. package/dist/cdn/chunks/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +2 -1
  144. package/dist/cdn/chunks/{nl-DCxuxwNq.js.map → nl-BQl1_UHv.js.map} +1 -1
  145. package/dist/{pt-BR-CBkcrebr.js → cdn/chunks/pt-BR-eyzmU9Vs.js} +3 -0
  146. package/dist/cdn/chunks/{pt-BR-CBkcrebr.js.map → pt-BR-eyzmU9Vs.js.map} +1 -1
  147. package/dist/cdn/chunks/{socialIcons-CkgQUpim.js → socialIcons-bvQ57o1m.js} +484 -467
  148. package/dist/cdn/chunks/socialIcons-bvQ57o1m.js.map +1 -0
  149. package/dist/cdn/chunks/src-CVHGPKSW.js.map +1 -1
  150. package/dist/cdn/chunks/{src-CymzjJYe.js → src-aFRxbwqP.js} +2 -2
  151. package/dist/cdn/chunks/{src-CymzjJYe.js.map → src-aFRxbwqP.js.map} +1 -1
  152. package/dist/cdn/chunks/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +6 -6
  153. package/dist/cdn/chunks/styleConstants-Br6CIRoS.js.map +1 -0
  154. package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js → useCloudI18n-CWgySYuJ.js} +2 -2
  155. package/dist/cdn/chunks/{useCloudI18n-Dr4S2TRW.js.map → useCloudI18n-CWgySYuJ.js.map} +1 -1
  156. package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js → useEditorRoot-BA4vV7sK.js} +2 -2
  157. package/dist/cdn/chunks/{useEditorRoot-B_kf_k-g.js.map → useEditorRoot-BA4vV7sK.js.map} +1 -1
  158. package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js → useI18n-JsIdvX-i.js} +2 -2
  159. package/dist/cdn/chunks/{useI18n-CSf-ZpcM.js.map → useI18n-JsIdvX-i.js.map} +1 -1
  160. package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js → useLogicTag-C10Wef7d.js} +2 -2
  161. package/dist/cdn/chunks/{useLogicTag-YXRBcfgG.js.map → useLogicTag-C10Wef7d.js.map} +1 -1
  162. package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js → useMergeTag-Dd26TcvH.js} +2 -2
  163. package/dist/cdn/chunks/{useMergeTag-lb-Wrw-B.js.map → useMergeTag-Dd26TcvH.js.map} +1 -1
  164. package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js → usePopoverPosition-DWRQRT2P.js} +2 -2
  165. package/dist/cdn/chunks/{usePopoverPosition-BJFFi8x6.js.map → usePopoverPosition-DWRQRT2P.js.map} +1 -1
  166. package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js → useScrollToBlock-CArjwH-u.js} +2 -2
  167. package/dist/cdn/chunks/{useScrollToBlock-MI4PP5lk.js.map → useScrollToBlock-CArjwH-u.js.map} +1 -1
  168. package/dist/cdn/editor.css +1 -1
  169. package/dist/cdn/editor.js +709 -617
  170. package/dist/cdn/editor.js.map +1 -1
  171. package/dist/{composables-BrzGZQkd.js → composables-jTnTSqdm.js} +633 -616
  172. package/dist/{createCloudRuntime-DgQfMi22.js → createCloudRuntime-DiUnYjKr.js} +1 -1
  173. package/dist/{da-qQzj0QGy.js → da-CM6DCvRG.js} +1 -0
  174. package/dist/{de-BLFp3nWx.js → de-Dugz1zXC.js} +1 -0
  175. package/dist/{en-DGGQJGbm.js → en-BykoFuFY.js} +1 -0
  176. package/dist/{es-DTY9qgLv.js → es-DaWsTkpj.js} +1 -0
  177. package/dist/{extensions-Cyp2x7cD.js → extensions-CAuXwpbI.js} +3 -3
  178. package/dist/{fr-L4FqO9Gp.js → fr-DqwQHtJo.js} +1 -0
  179. package/dist/index.d.ts +90 -9
  180. package/dist/{ja-6uOXkh4v.js → ja-BH4MS1Ye.js} +1 -0
  181. package/dist/{keys-D9oKZN1h.js → keys-BeQy64On.js} +3 -3
  182. package/dist/{nl-DCxuxwNq.js → nl-BQl1_UHv.js} +1 -0
  183. package/dist/{cdn/chunks/pt-BR-CBkcrebr.js → pt-BR-eyzmU9Vs.js} +1 -2
  184. package/dist/{socialIcons-ZfH8PyV2.js → socialIcons-RKdTgJip.js} +376 -359
  185. package/dist/style.css +1 -1
  186. package/dist/{styleConstants-CgiNKdnc.js → styleConstants-Br6CIRoS.js} +5 -5
  187. package/dist/templatical-editor.js +761 -668
  188. package/dist/{useCloudI18n-HhCZYRV6.js → useCloudI18n-nMZ9f_4b.js} +1 -1
  189. package/dist/{useEditorRoot-B0Njczhx.js → useEditorRoot-DpssP9rX.js} +1 -1
  190. package/dist/{useI18n-CM9vKbYc.js → useI18n-C2p-qHeb.js} +1 -1
  191. package/dist/{useLogicTag-BTCtn-uG.js → useLogicTag-59fmujI7.js} +1 -1
  192. package/dist/{useMergeTag-QlXUjCWT.js → useMergeTag-M1vauWet.js} +1 -1
  193. package/dist/{usePopoverPosition-CVRzzLkC.js → usePopoverPosition-L9MOHBM-.js} +1 -1
  194. package/dist/{useScrollToBlock-DruzlN2h.js → useScrollToBlock-BMF0Dt5l.js} +1 -1
  195. package/package.json +7 -7
  196. package/dist/TestEmailModal-CYq9Ec7x.js +0 -212
  197. package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js +0 -212
  198. package/dist/cdn/chunks/TestEmailModal-DJpwpEZs.js.map +0 -1
  199. package/dist/cdn/chunks/composables-CkthyXi9.js.map +0 -1
  200. package/dist/cdn/chunks/keys-BQqbBUag.js.map +0 -1
  201. package/dist/cdn/chunks/socialIcons-CkgQUpim.js.map +0 -1
  202. package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +0 -1
@@ -1,37 +1,37 @@
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-Qt9_NeY4.js";
5
- import { c as M } from "./LogicTagInsertButton-DFL3kvGK.js";
6
- import { t as N } from "./MergeTagInput-BuGJeeyA.js";
4
+ import { n as A, t as j } from "./MergeTagTextarea-DDyV8U44.js";
5
+ import { c as M } from "./LogicTagInsertButton-BDIsyl3C.js";
6
+ import { t as N } from "./MergeTagInput-De1yWoc2.js";
7
7
  import { t as P } from "./ToggleSwitch-BIPdFWUr.js";
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, v as V, y as ne } from "./styleConstants-CgiNKdnc.js";
9
- import { t as re } from "./link-BNgTZ_Sw.js";
10
- import { t as ie } from "./createLucideIcon-CssArtUe.js";
11
- import { t as H } from "./useI18n-CM9vKbYc.js";
12
- import { M as ae, Wt as oe, Yt as se, _ as ce, _t as le, cn as ue, i as de, j as U, jt as fe, lt as pe, n as me, on as he, p as W, r as G, t as K, ut as q, yt as J } from "./dist-BTjObRcv.js";
13
- import { n as ge, t as Y } from "./withCurrentFont-BXZ7g-K6.js";
14
- import { t as _e } from "./languageName-DEEOhDWI.js";
15
- import { n as X, t as ve } from "./blockTypeIcons-Dp540i74.js";
16
- import { t as Z } from "./plus-CWmBmMx-.js";
17
- import { t as ye } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
- import { B as be, T as xe, _ as Se, b as Ce, d as we, f as Te, g as Ee, h as Q, i as De, k as Oe, l as ke, m as Ae, p as je, r as Me, s as Ne, u as Pe, v as Fe } from "./socialIcons-ZfH8PyV2.js";
19
- import { t as Ie } from "./image-B5pJOw5Q.js";
20
- import { B as Le, C as Re, H as ze, O as Be, Q as Ve, T as He, W as Ue, _ as We, b as Ge, ct as Ke, h as qe, p as Je, r as Ye, v as Xe } from "./keys-D9oKZN1h.js";
21
- import { t as Ze } from "./chevron-down-C_vv5fZE.js";
22
- import { n as Qe, t as $e } from "./smartphone-Co8m0LLg.js";
23
- import { t as et } from "./logger-BOu7oEtk.js";
24
- import { t as tt } from "./circle-exclamation-point-CIYHx5Tw.js";
25
- import { t as nt } from "./refresh-cw-Ryg1j66N.js";
26
- import { c as rt, r as it } from "./usePopoverPosition-CVRzzLkC.js";
27
- import { t as at } from "./trash-t6XXliVc.js";
28
- import { t as ot } from "./info-DKM0_thN.js";
29
- import { n as st } from "./useLocalizedDisplay-9RqT2y_Y.js";
30
- import { _ as ct } from "./dist-A328tG0Z.js";
31
- import { n as lt, r as ut, t as dt } from "./text-align-start-2VZGhCiK.js";
32
- import { t as ft } from "./x-CTKOxIyZ.js";
33
- import { n as pt } from "./upload-BWYXWYHb.js";
34
- var mt = ie({
8
+ import { C as F, S as I, _ as L, b as ee, c as te, g as R, h as z, r as ne, v as B, y as re } from "./styleConstants-Br6CIRoS.js";
9
+ import { t as ie } from "./link-BNgTZ_Sw.js";
10
+ import { t as ae } from "./createLucideIcon-CssArtUe.js";
11
+ import { t as V } from "./useI18n-C2p-qHeb.js";
12
+ import { M as oe, Wt as se, Yt as ce, _ as le, _t as ue, cn as de, i as fe, j as H, jt as pe, lt as me, n as he, on as ge, p as U, r as W, t as G, ut as K, yt as q } from "./dist-BTjObRcv.js";
13
+ import { n as _e, t as J } from "./withCurrentFont-BXZ7g-K6.js";
14
+ import { t as ve } from "./languageName-DEEOhDWI.js";
15
+ import { n as Y, t as ye } from "./blockTypeIcons-VX_8UQ21.js";
16
+ import { t as X } from "./plus-CWmBmMx-.js";
17
+ import { t as be } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
+ import { B as xe, T as Se, _ as Ce, b as we, d as Te, f as Ee, g as De, h as Z, i as Oe, k as ke, l as Ae, m as je, p as Me, r as Ne, s as Pe, u as Fe, v as Ie } from "./socialIcons-RKdTgJip.js";
19
+ import { t as Le } from "./image-B5pJOw5Q.js";
20
+ import { $ as Re, B as ze, C as Be, H as Ve, O as He, T as Ue, W as We, _ as Ge, b as Ke, h as qe, lt as Je, p as Ye, r as Xe, v as Ze } from "./keys-BeQy64On.js";
21
+ import { t as Qe } from "./chevron-down-C_vv5fZE.js";
22
+ import { n as $e, t as et } from "./smartphone-Co8m0LLg.js";
23
+ import { t as tt } from "./logger-BOu7oEtk.js";
24
+ import { t as nt } from "./circle-exclamation-point-CIYHx5Tw.js";
25
+ import { t as rt } from "./refresh-cw-Ryg1j66N.js";
26
+ import { c as it, r as at } from "./usePopoverPosition-L9MOHBM-.js";
27
+ import { t as ot } from "./trash-t6XXliVc.js";
28
+ import { t as st } from "./info-DKM0_thN.js";
29
+ import { n as ct } from "./useLocalizedDisplay-9RqT2y_Y.js";
30
+ import { _ as lt } from "./dist-A328tG0Z.js";
31
+ import { n as ut, r as dt, t as ft } from "./text-align-start-2VZGhCiK.js";
32
+ import { t as pt } from "./x-CTKOxIyZ.js";
33
+ import { n as mt } from "./upload-BWYXWYHb.js";
34
+ var ht = ae({
35
35
  name: "lock-open",
36
36
  size: 24,
37
37
  node: [["rect", {
@@ -47,7 +47,7 @@ var mt = ie({
47
47
  key: "1mm8w8"
48
48
  }]],
49
49
  aliases: ["unlock"]
50
- }), ht = ie({
50
+ }), gt = ae({
51
51
  name: "lock",
52
52
  size: 24,
53
53
  node: [["rect", {
@@ -62,7 +62,7 @@ var mt = ie({
62
62
  d: "M7 11V7a5 5 0 0 1 10 0v4",
63
63
  key: "fwvmzm"
64
64
  }]]
65
- }), gt = ie({
65
+ }), _t = ae({
66
66
  name: "unlink",
67
67
  size: 24,
68
68
  node: [
@@ -103,14 +103,14 @@ var mt = ie({
103
103
  key: "ox905f"
104
104
  }]
105
105
  ]
106
- }), _t = [
106
+ }), vt = [
107
107
  "aria-checked",
108
108
  "aria-label",
109
109
  "disabled",
110
110
  "aria-disabled",
111
111
  "title",
112
112
  "onClick"
113
- ], vt = { key: 1 }, $ = /* @__PURE__ */ D({
113
+ ], yt = { key: 1 }, Q = /* @__PURE__ */ D({
114
114
  __name: "SlidingPillSelect",
115
115
  props: {
116
116
  options: {},
@@ -155,14 +155,14 @@ var mt = ie({
155
155
  key: 0,
156
156
  size: 14,
157
157
  "stroke-width": 2
158
- })) : (a(), v("span", vt, r(t.label), 1))], 12, _t))), 128))], 4));
158
+ })) : (a(), v("span", yt, r(t.label), 1))], 12, vt))), 128))], 4));
159
159
  }
160
- }), yt = { class: "tpl:flex tpl:items-stretch" }, bt = [
160
+ }), bt = { class: "tpl:flex tpl:items-stretch" }, xt = [
161
161
  "data-testid",
162
162
  "value",
163
163
  "min",
164
164
  "max"
165
- ], xt = /* @__PURE__ */ D({
165
+ ], St = /* @__PURE__ */ D({
166
166
  __name: "NumberWithSuffix",
167
167
  props: {
168
168
  modelValue: {},
@@ -178,22 +178,22 @@ var mt = ie({
178
178
  let t = e.target;
179
179
  t.validity?.badInput || n("update:modelValue", Number(t.value));
180
180
  }
181
- return (t, n) => (a(), v("div", yt, [b("input", {
181
+ return (t, n) => (a(), v("div", bt, [b("input", {
182
182
  type: "number",
183
183
  "data-testid": e.testid,
184
- class: o(h(z)),
184
+ class: o(h(R)),
185
185
  value: e.modelValue,
186
186
  min: e.min,
187
187
  max: e.max,
188
188
  onInput: i
189
- }, null, 42, bt), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
189
+ }, null, 42, xt), b("span", { class: o(h(L)) }, r(e.suffix), 3)]));
190
190
  }
191
- }), St = [
191
+ }), Ct = [
192
192
  "aria-pressed",
193
193
  "aria-label",
194
194
  "title",
195
195
  "data-testid"
196
- ], Ct = /* @__PURE__ */ D({
196
+ ], wt = /* @__PURE__ */ D({
197
197
  __name: "LinkToggle",
198
198
  props: {
199
199
  linked: { type: Boolean },
@@ -212,20 +212,20 @@ var mt = ie({
212
212
  title: e.linked ? e.unlinkLabel : e.linkLabel,
213
213
  "data-testid": e.testid,
214
214
  onClick: r[0] ||= (e) => n("toggle")
215
- }, [e.linked ? (a(), w(h(re), {
215
+ }, [e.linked ? (a(), w(h(ie), {
216
216
  key: 0,
217
217
  size: 14,
218
218
  "stroke-width": 2
219
- })) : (a(), w(h(gt), {
219
+ })) : (a(), w(h(_t), {
220
220
  key: 1,
221
221
  size: 14,
222
222
  "stroke-width": 2
223
- }))], 10, St));
223
+ }))], 10, Ct));
224
224
  }
225
- }), wt = {
225
+ }), Tt = {
226
226
  key: 0,
227
227
  class: "tpl:mb-3.5"
228
- }, Tt = { class: "tpl:mb-3.5" }, Et = { class: "tpl:mb-3.5" }, Dt = /* @__PURE__ */ D({
228
+ }, Et = { class: "tpl:mb-3.5" }, Dt = { class: "tpl:mb-3.5" }, Ot = /* @__PURE__ */ D({
229
229
  __name: "BorderControl",
230
230
  props: {
231
231
  path: {},
@@ -234,7 +234,7 @@ var mt = ie({
234
234
  },
235
235
  emits: ["update:modelValue"],
236
236
  setup(e, { emit: n }) {
237
- let i = e, s = n, { t: c } = H(), l = {
237
+ let i = e, s = n, { t: c } = V(), l = {
238
238
  width: 0,
239
239
  style: "solid",
240
240
  color: "#000000"
@@ -244,7 +244,7 @@ var mt = ie({
244
244
  }
245
245
  let f = m(() => {
246
246
  let e = i.modelValue;
247
- return !e || de.every((t) => d(e[t], e.top));
247
+ return !e || fe.every((t) => d(e[t], e.top));
248
248
  }), y = _(f.value);
249
249
  t(f, (e) => {
250
250
  !e && y.value && (y.value = !1);
@@ -255,13 +255,13 @@ var mt = ie({
255
255
  }), T = (e) => !!e && e.width > 0;
256
256
  function E(e) {
257
257
  if (y.value) {
258
- s("update:modelValue", T(e) ? ue(e) : void 0);
258
+ s("update:modelValue", T(e) ? de(e) : void 0);
259
259
  return;
260
260
  }
261
261
  let t = {
262
- ...i.modelValue ?? ue(l),
262
+ ...i.modelValue ?? de(l),
263
263
  [x.value]: e
264
- }, n = de.some((e) => T(t[e]));
264
+ }, n = fe.some((e) => T(t[e]));
265
265
  s("update:modelValue", n ? t : void 0);
266
266
  }
267
267
  function D(e) {
@@ -284,10 +284,10 @@ var mt = ie({
284
284
  y.value = !0;
285
285
  let e = i.modelValue;
286
286
  if (!e) return;
287
- let t = T(e[x.value]) ? e[x.value] : de.map((t) => e[t]).find(T);
288
- s("update:modelValue", t ? ue(t) : void 0);
287
+ let t = T(e[x.value]) ? e[x.value] : fe.map((t) => e[t]).find(T);
288
+ s("update:modelValue", t ? de(t) : void 0);
289
289
  }
290
- let j = m(() => de.map((e) => ({
290
+ let j = m(() => fe.map((e) => ({
291
291
  value: e,
292
292
  label: c.spacingControl[e]
293
293
  })));
@@ -295,7 +295,7 @@ var mt = ie({
295
295
  path: e.path,
296
296
  label: h(c).blockSettings.border
297
297
  }, {
298
- "label-actions": u(() => [p(Ct, {
298
+ "label-actions": u(() => [p(wt, {
299
299
  linked: y.value,
300
300
  "link-label": h(c).blockSettings.linkSides,
301
301
  "unlink-label": h(c).blockSettings.unlinkSides,
@@ -308,19 +308,19 @@ var mt = ie({
308
308
  "testid"
309
309
  ])]),
310
310
  default: u(() => [
311
- y.value ? g("", !0) : (a(), v("div", wt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderSide), 3), p($, {
311
+ y.value ? g("", !0) : (a(), v("div", Tt, [b("label", { class: o(h(B)) }, r(h(c).blockSettings.borderSide), 3), p(Q, {
312
312
  options: j.value,
313
313
  "model-value": x.value,
314
314
  "onUpdate:modelValue": n[0] ||= (e) => x.value = e
315
315
  }, null, 8, ["options", "model-value"])])),
316
- b("div", Tt, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderWidth), 3), p(xt, {
316
+ b("div", Et, [b("label", { class: o(h(B)) }, r(h(c).blockSettings.borderWidth), 3), p(St, {
317
317
  "model-value": C.value.width,
318
318
  min: 0,
319
319
  suffix: "px",
320
320
  testid: `${e.testidPrefix}-border-width-input`,
321
321
  "onUpdate:modelValue": D
322
322
  }, null, 8, ["model-value", "testid"])]),
323
- C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Et, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderStyle), 3), p($, {
323
+ C.value.width > 0 ? (a(), v(S, { key: 1 }, [b("div", Dt, [b("label", { class: o(h(B)) }, r(h(c).blockSettings.borderStyle), 3), p(Q, {
324
324
  options: [
325
325
  {
326
326
  value: "solid",
@@ -337,7 +337,7 @@ var mt = ie({
337
337
  ],
338
338
  "model-value": C.value.style,
339
339
  "onUpdate:modelValue": n[1] ||= (e) => O({ style: e })
340
- }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.borderColor), 3), p(M, {
340
+ }, null, 8, ["options", "model-value"])]), b("div", null, [b("label", { class: o(h(B)) }, r(h(c).blockSettings.borderColor), 3), p(M, {
341
341
  "model-value": C.value.color,
342
342
  "onUpdate:modelValue": n[2] ||= (e) => O({ color: e })
343
343
  }, null, 8, ["model-value"])])], 64)) : g("", !0)
@@ -345,10 +345,10 @@ var mt = ie({
345
345
  _: 1
346
346
  }, 8, ["path", "label"]));
347
347
  }
348
- }), Ot = {
348
+ }), kt = {
349
349
  key: 1,
350
350
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
351
- }, kt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, At = /* @__PURE__ */ D({
351
+ }, At = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, jt = /* @__PURE__ */ D({
352
352
  __name: "RadiusControl",
353
353
  props: {
354
354
  path: {},
@@ -359,7 +359,7 @@ var mt = ie({
359
359
  },
360
360
  emits: ["update:modelValue"],
361
361
  setup(e, { emit: n }) {
362
- let i = e, o = n, { t: c } = H(), l = {
362
+ let i = e, o = n, { t: c } = V(), l = {
363
363
  topLeft: "cornerTopLeft",
364
364
  topRight: "cornerTopRight",
365
365
  bottomRight: "cornerBottomRight",
@@ -377,7 +377,7 @@ var mt = ie({
377
377
  bottomRight: e,
378
378
  bottomLeft: e
379
379
  } : e;
380
- }), g = m(() => G.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
380
+ }), g = m(() => W.every((e) => f.value[e] === f.value.topLeft)), y = _(g.value);
381
381
  t(g, (e) => {
382
382
  !e && y.value && (y.value = !1);
383
383
  });
@@ -400,7 +400,7 @@ var mt = ie({
400
400
  path: e.path,
401
401
  label: e.label
402
402
  }, {
403
- "label-actions": u(() => [p(Ct, {
403
+ "label-actions": u(() => [p(wt, {
404
404
  linked: y.value,
405
405
  "link-label": h(c).blockSettings.linkCorners,
406
406
  "unlink-label": h(c).blockSettings.unlinkCorners,
@@ -412,7 +412,7 @@ var mt = ie({
412
412
  "unlink-label",
413
413
  "testid"
414
414
  ])]),
415
- default: u(() => [y.value ? (a(), w(xt, {
415
+ default: u(() => [y.value ? (a(), w(St, {
416
416
  key: 0,
417
417
  "model-value": f.value.topLeft,
418
418
  min: 0,
@@ -424,7 +424,7 @@ var mt = ie({
424
424
  "model-value",
425
425
  "max",
426
426
  "testid"
427
- ])) : (a(), v("div", Ot, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", kt, r(h(c).blockSettings[l[t]]), 1), p(xt, {
427
+ ])) : (a(), v("div", kt, [(a(), v(S, null, s(d, (t) => b("div", { key: t }, [b("label", At, r(h(c).blockSettings[l[t]]), 1), p(St, {
428
428
  "model-value": f.value[t],
429
429
  min: 0,
430
430
  max: e.max,
@@ -440,10 +440,10 @@ var mt = ie({
440
440
  _: 1
441
441
  }, 8, ["path", "label"]));
442
442
  }
443
- }), jt = ["value"], Mt = { value: "" }, Nt = ["value"], Pt = { class: "tpl:flex tpl:items-stretch" }, Ft = ["value"], It = ["value"], Lt = { value: "auto" }, Rt = { value: "full" }, zt = { value: "custom" }, Bt = {
443
+ }), Mt = ["value"], Nt = { value: "" }, Pt = ["value"], Ft = { class: "tpl:flex tpl:items-stretch" }, It = ["value"], Lt = ["value"], Rt = { value: "auto" }, zt = { value: "full" }, Bt = { value: "custom" }, Vt = {
444
444
  key: 0,
445
445
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
446
- }, Vt = ["value"], Ht = 200, Ut = /* @__PURE__ */ D({
446
+ }, Ht = ["value"], Ut = 200, Wt = /* @__PURE__ */ D({
447
447
  __name: "ButtonToolbar",
448
448
  props: {
449
449
  block: {},
@@ -451,12 +451,12 @@ var mt = ie({
451
451
  },
452
452
  emits: ["update"],
453
453
  setup(e, { emit: t }) {
454
- let n = e, i = t, { t: c } = H(), l = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
454
+ let n = e, i = t, { t: c } = V(), l = m(() => n.block.width === "full" ? "full" : typeof n.block.width == "number" ? "custom" : "auto");
455
455
  function d(e, t) {
456
456
  i("update", { [e]: t });
457
457
  }
458
458
  function f(e) {
459
- e === "full" ? d("width", "full") : e === "custom" ? d("width", typeof n.block.width == "number" ? n.block.width : Ht) : d("width", void 0);
459
+ e === "full" ? d("width", "full") : e === "custom" ? d("width", typeof n.block.width == "number" ? n.block.width : Ut) : d("width", void 0);
460
460
  }
461
461
  function _(e) {
462
462
  d("fontWeight", e === "bold" ? void 0 : e);
@@ -472,13 +472,13 @@ var mt = ie({
472
472
  path: "fontFamily"
473
473
  }, {
474
474
  default: u(() => [b("select", {
475
- class: o(h(B)),
476
- value: h(Y)(e.block.fontFamily),
475
+ class: o(h(z)),
476
+ value: h(J)(e.block.fontFamily),
477
477
  onChange: n[0] ||= (e) => d("fontFamily", e.target.value || void 0)
478
- }, [b("option", Mt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
478
+ }, [b("option", Nt, r(h(c).button.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
479
479
  key: e.value,
480
480
  value: e.value
481
- }, r(e.label), 9, Nt))), 128))], 42, jt)]),
481
+ }, r(e.label), 9, Pt))), 128))], 42, Mt)]),
482
482
  _: 1
483
483
  }, 8, ["label"]),
484
484
  p(A, {
@@ -547,13 +547,13 @@ var mt = ie({
547
547
  }, null, 8, ["model-value"])]),
548
548
  _: 1
549
549
  }, 8, ["label"]),
550
- p(Dt, {
550
+ p(Ot, {
551
551
  path: "border",
552
552
  "model-value": e.block.border,
553
553
  "testid-prefix": "button",
554
554
  "onUpdate:modelValue": n[6] ||= (e) => d("border", e)
555
555
  }, null, 8, ["model-value"]),
556
- p(At, {
556
+ p(jt, {
557
557
  path: "borderRadius",
558
558
  "model-value": e.block.borderRadius,
559
559
  label: h(c).button.borderRadius,
@@ -566,14 +566,14 @@ var mt = ie({
566
566
  class: "tpl:mb-3.5",
567
567
  path: "fontSize"
568
568
  }, {
569
- default: u(() => [b("div", Pt, [b("input", {
569
+ default: u(() => [b("div", Ft, [b("input", {
570
570
  type: "number",
571
- class: o(h(z)),
571
+ class: o(h(R)),
572
572
  value: e.block.fontSize,
573
573
  min: "10",
574
574
  max: "36",
575
575
  onInput: n[8] ||= (e) => d("fontSize", Number(e.target.value))
576
- }, null, 42, Ft), b("span", { class: o(h(L)) }, "px", 2)])]),
576
+ }, null, 42, It), b("span", { class: o(h(L)) }, "px", 2)])]),
577
577
  _: 1
578
578
  }, 8, ["label"]),
579
579
  p(A, {
@@ -581,7 +581,7 @@ var mt = ie({
581
581
  class: "tpl:mb-3.5",
582
582
  path: "fontWeight"
583
583
  }, {
584
- default: u(() => [p($, {
584
+ default: u(() => [p(Q, {
585
585
  options: [
586
586
  {
587
587
  value: "regular",
@@ -607,20 +607,20 @@ var mt = ie({
607
607
  path: "width"
608
608
  }, {
609
609
  default: u(() => [b("select", {
610
- class: o(h(B)),
610
+ class: o(h(z)),
611
611
  value: l.value,
612
612
  onChange: n[9] ||= (e) => f(e.target.value)
613
613
  }, [
614
- b("option", Lt, r(h(c).button.widthAuto), 1),
615
- b("option", Rt, r(h(c).button.fullWidth), 1),
616
- b("option", zt, r(h(c).button.widthCustom), 1)
617
- ], 42, It), l.value === "custom" ? (a(), v("div", Bt, [b("input", {
614
+ b("option", Rt, r(h(c).button.widthAuto), 1),
615
+ b("option", zt, r(h(c).button.fullWidth), 1),
616
+ b("option", Bt, r(h(c).button.widthCustom), 1)
617
+ ], 42, Lt), l.value === "custom" ? (a(), v("div", Vt, [b("input", {
618
618
  type: "number",
619
- class: o(h(z)),
620
- value: typeof e.block.width == "number" ? e.block.width : Ht,
619
+ class: o(h(R)),
620
+ value: typeof e.block.width == "number" ? e.block.width : Ut,
621
621
  min: "20",
622
622
  onInput: n[10] ||= (e) => y(e.target.value)
623
- }, null, 42, Vt), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
623
+ }, null, 42, Ht), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
624
624
  _: 1
625
625
  }, 8, ["label"]),
626
626
  p(A, {
@@ -628,7 +628,7 @@ var mt = ie({
628
628
  class: "tpl:mb-3.5",
629
629
  path: "align"
630
630
  }, {
631
- default: u(() => [p($, {
631
+ default: u(() => [p(Q, {
632
632
  options: [
633
633
  {
634
634
  value: "left",
@@ -650,7 +650,7 @@ var mt = ie({
650
650
  }, 8, ["label"])
651
651
  ], 64));
652
652
  }
653
- }), Wt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Gt = { class: "tpl:flex tpl:items-center" }, Kt = ["aria-label"], qt = ["value", "aria-label"], Jt = ["aria-label"], Yt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Xt = { class: "tpl:flex tpl:items-center" }, Zt = ["aria-label"], Qt = ["value", "aria-label"], $t = ["aria-label"], en = ["aria-label", "title"], tn = { class: "tpl:flex tpl:items-center" }, nn = ["aria-label"], rn = ["value", "aria-label"], an = ["aria-label"], on = { class: "tpl:flex tpl:items-center" }, sn = ["aria-label"], cn = ["value", "aria-label"], ln = ["aria-label"], un = "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)]", dn = "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)]", fn = /*#__PURE__*/ ye(/* @__PURE__ */ D({
653
+ }), Gt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Kt = { class: "tpl:flex tpl:items-center" }, qt = ["aria-label"], Jt = ["value", "aria-label"], Yt = ["aria-label"], Xt = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], tn = ["aria-label", "title"], nn = { class: "tpl:flex tpl:items-center" }, rn = ["aria-label"], an = ["value", "aria-label"], on = ["aria-label"], sn = { class: "tpl:flex tpl:items-center" }, cn = ["aria-label"], ln = ["value", "aria-label"], un = ["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)]", dn = "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)]", fn = /*#__PURE__*/ be(/* @__PURE__ */ D({
654
654
  __name: "SpacingControl",
655
655
  props: {
656
656
  path: {},
@@ -659,7 +659,7 @@ var mt = ie({
659
659
  },
660
660
  emits: ["update:modelValue"],
661
661
  setup(e, { emit: n }) {
662
- let r = e, i = n, { t: s } = H(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
662
+ let r = e, i = n, { t: s } = V(), c = m(() => r.modelValue.top === r.modelValue.right && r.modelValue.right === r.modelValue.bottom && r.modelValue.bottom === r.modelValue.left), l = _(c.value);
663
663
  t(c, (e) => {
664
664
  !e && l.value && (l.value = !1);
665
665
  });
@@ -703,16 +703,16 @@ var mt = ie({
703
703
  path: e.path,
704
704
  label: e.label
705
705
  }, {
706
- default: u(() => [b("div", Wt, [
707
- b("div", Gt, [
706
+ default: u(() => [b("div", Gt, [
707
+ b("div", Kt, [
708
708
  b("button", {
709
709
  "aria-label": h(s).spacingControl.decreaseTop,
710
- class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
710
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
711
711
  onClick: n[0] ||= (e) => d("top", -1)
712
- }, [p(h(X), {
712
+ }, [p(h(Y), {
713
713
  size: 12,
714
714
  "stroke-width": 2
715
- })], 10, Kt),
715
+ })], 10, qt),
716
716
  b("input", {
717
717
  type: "number",
718
718
  class: o(dn),
@@ -720,26 +720,26 @@ var mt = ie({
720
720
  "aria-label": h(s).spacingControl.top,
721
721
  min: "0",
722
722
  onInput: n[1] ||= (e) => f("top", Number(e.target.value))
723
- }, null, 40, qt),
723
+ }, null, 40, Jt),
724
724
  b("button", {
725
725
  "aria-label": h(s).spacingControl.increaseTop,
726
- class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
726
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
727
727
  onClick: n[2] ||= (e) => d("top", 1)
728
- }, [p(h(Z), {
728
+ }, [p(h(X), {
729
729
  size: 12,
730
730
  "stroke-width": 2
731
- })], 10, Jt)
731
+ })], 10, Yt)
732
732
  ]),
733
- b("div", Yt, [
734
- b("div", Xt, [
733
+ b("div", Xt, [
734
+ b("div", Zt, [
735
735
  b("button", {
736
736
  "aria-label": h(s).spacingControl.decreaseLeft,
737
- class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
737
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
738
738
  onClick: n[3] ||= (e) => d("left", -1)
739
- }, [p(h(X), {
739
+ }, [p(h(Y), {
740
740
  size: 12,
741
741
  "stroke-width": 2
742
- })], 10, Zt),
742
+ })], 10, Qt),
743
743
  b("input", {
744
744
  type: "number",
745
745
  class: o(dn),
@@ -747,39 +747,39 @@ var mt = ie({
747
747
  "aria-label": h(s).spacingControl.left,
748
748
  min: "0",
749
749
  onInput: n[4] ||= (e) => f("left", Number(e.target.value))
750
- }, null, 40, Qt),
750
+ }, null, 40, $t),
751
751
  b("button", {
752
752
  "aria-label": h(s).spacingControl.increaseLeft,
753
- class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
753
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
754
754
  onClick: n[5] ||= (e) => d("left", 1)
755
- }, [p(h(Z), {
755
+ }, [p(h(X), {
756
756
  size: 12,
757
757
  "stroke-width": 2
758
- })], 10, $t)
758
+ })], 10, en)
759
759
  ]),
760
760
  b("button", {
761
761
  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)]"]),
762
762
  "aria-label": l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
763
763
  title: l.value ? h(s).spacingControl.unlock : h(s).spacingControl.lockAll,
764
764
  onClick: g
765
- }, [l.value ? (a(), w(h(ht), {
765
+ }, [l.value ? (a(), w(h(gt), {
766
766
  key: 0,
767
767
  size: 14,
768
768
  "stroke-width": 2
769
- })) : (a(), w(h(mt), {
769
+ })) : (a(), w(h(ht), {
770
770
  key: 1,
771
771
  size: 14,
772
772
  "stroke-width": 2
773
- }))], 10, en),
774
- b("div", tn, [
773
+ }))], 10, tn),
774
+ b("div", nn, [
775
775
  b("button", {
776
776
  "aria-label": h(s).spacingControl.decreaseRight,
777
- class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
777
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
778
778
  onClick: n[6] ||= (e) => d("right", -1)
779
- }, [p(h(X), {
779
+ }, [p(h(Y), {
780
780
  size: 12,
781
781
  "stroke-width": 2
782
- })], 10, nn),
782
+ })], 10, rn),
783
783
  b("input", {
784
784
  type: "number",
785
785
  class: o(dn),
@@ -787,26 +787,26 @@ var mt = ie({
787
787
  "aria-label": h(s).spacingControl.right,
788
788
  min: "0",
789
789
  onInput: n[7] ||= (e) => f("right", Number(e.target.value))
790
- }, null, 40, rn),
790
+ }, null, 40, an),
791
791
  b("button", {
792
792
  "aria-label": h(s).spacingControl.increaseRight,
793
- class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
793
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
794
794
  onClick: n[8] ||= (e) => d("right", 1)
795
- }, [p(h(Z), {
795
+ }, [p(h(X), {
796
796
  size: 12,
797
797
  "stroke-width": 2
798
- })], 10, an)
798
+ })], 10, on)
799
799
  ])
800
800
  ]),
801
- b("div", on, [
801
+ b("div", sn, [
802
802
  b("button", {
803
803
  "aria-label": h(s).spacingControl.decreaseBottom,
804
- class: o([un, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
804
+ class: o([$, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
805
805
  onClick: n[9] ||= (e) => d("bottom", -1)
806
- }, [p(h(X), {
806
+ }, [p(h(Y), {
807
807
  size: 12,
808
808
  "stroke-width": 2
809
- })], 10, sn),
809
+ })], 10, cn),
810
810
  b("input", {
811
811
  type: "number",
812
812
  class: o(dn),
@@ -814,15 +814,15 @@ var mt = ie({
814
814
  "aria-label": h(s).spacingControl.bottom,
815
815
  min: "0",
816
816
  onInput: n[10] ||= (e) => f("bottom", Number(e.target.value))
817
- }, null, 40, cn),
817
+ }, null, 40, ln),
818
818
  b("button", {
819
819
  "aria-label": h(s).spacingControl.increaseBottom,
820
- class: o([un, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
820
+ class: o([$, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
821
821
  onClick: n[11] ||= (e) => d("bottom", 1)
822
- }, [p(h(Z), {
822
+ }, [p(h(X), {
823
823
  size: 12,
824
824
  "stroke-width": 2
825
- })], 10, ln)
825
+ })], 10, un)
826
826
  ])
827
827
  ])]),
828
828
  _: 1
@@ -833,14 +833,14 @@ var mt = ie({
833
833
  function pn(e) {
834
834
  let n = _(null), r = () => {};
835
835
  return t(e, (e) => {
836
- r(), n.value = null, e && (r = je(e, (e) => {
836
+ r(), n.value = null, e && (r = Me(e, (e) => {
837
837
  n.value = e;
838
838
  }));
839
839
  }, { immediate: !0 }), n;
840
840
  }
841
841
  function mn() {
842
- let e = E(Re, null);
843
- return async (t) => Ae(e ? await hn(e, t) : t);
842
+ let e = E(Be, null);
843
+ return async (t) => je(e ? await hn(e, t) : t);
844
844
  }
845
845
  function hn(e, n) {
846
846
  let r = (e) => typeof e == "string" && e.length > 0 ? e : n;
@@ -870,14 +870,14 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
870
870
  },
871
871
  emits: ["update:modelValue"],
872
872
  setup(e, { emit: t }) {
873
- let n = e, i = t, { t: c } = H(), l = E(Le, ce.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = mn(), C;
873
+ let n = e, i = t, { t: c } = V(), l = E(ze, le.liquid), u = m(() => typeof n.modelValue?.url == "string" ? n.modelValue.url : ""), d = m(() => u.value.trim() !== ""), x = mn(), C;
874
874
  f(() => clearTimeout(C));
875
875
  function T(e) {
876
- n.measure && !U(e, l) && (C = setTimeout(async () => {
876
+ n.measure && !H(e, l) && (C = setTimeout(async () => {
877
877
  let t = await x(e), r = n.modelValue;
878
878
  t && r?.url === e && i("update:modelValue", {
879
879
  ...r,
880
- ...Q(t)
880
+ ...Z(t)
881
881
  });
882
882
  }, 300));
883
883
  }
@@ -886,11 +886,11 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
886
886
  i("update:modelValue", void 0);
887
887
  return;
888
888
  }
889
- let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? ae(e), s = n.measure ? t : null;
889
+ let { naturalWidth: r, naturalHeight: a, ...o } = n.modelValue ?? oe(e), s = n.measure ? t : null;
890
890
  i("update:modelValue", {
891
891
  ...o,
892
892
  url: e,
893
- ...s ? Q(s) : {}
893
+ ...s ? Z(s) : {}
894
894
  }), s || T(e);
895
895
  }
896
896
  function O(e) {
@@ -922,7 +922,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
922
922
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
923
923
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
924
924
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
925
- })), j = m(() => me.flatMap((e) => K.map((t) => ({
925
+ })), j = m(() => he.flatMap((e) => G.map((t) => ({
926
926
  x: t,
927
927
  y: e,
928
928
  label: A.value[`${e}-${t}`]
@@ -930,21 +930,21 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
930
930
  function M(e) {
931
931
  return n.modelValue?.position?.x === e.x && n.modelValue?.position?.y === e.y;
932
932
  }
933
- let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: R } = Pe({
933
+ let F = _(), { canBrowse: I, isUploading: L, showOverlay: ee, openMediaBrowser: te } = Fe({
934
934
  target: F,
935
- blocked: () => U(u.value, l),
936
- apply: (e) => D(e.url, Se(e.width, e.height))
935
+ blocked: () => H(u.value, l),
936
+ apply: (e) => D(e.url, Ce(e.width, e.height))
937
937
  });
938
938
  return (t, n) => (a(), v("div", gn, [b("div", null, [e.hideLabel ? g("", !0) : (a(), v("label", {
939
939
  key: 0,
940
- class: o(h(V))
940
+ class: o(h(B))
941
941
  }, r(h(c).blockSettings.backgroundImage), 3)), b("div", {
942
942
  ref_key: "dropZoneRef",
943
943
  ref: F,
944
944
  class: "tpl:relative",
945
945
  "data-testid": `${e.testidPrefix}-bg-url`
946
946
  }, [
947
- h(ee) ? (a(), w(Te, {
947
+ h(ee) ? (a(), w(Ee, {
948
948
  key: 0,
949
949
  uploading: h(L)
950
950
  }, null, 8, ["uploading"])) : g("", !0),
@@ -964,8 +964,8 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
964
964
  color: "var(--tpl-primary)",
965
965
  "background-color": "var(--tpl-bg)"
966
966
  },
967
- onClick: n[0] ||= (...e) => h(R) && h(R)(...e)
968
- }, [p(h(Ie), {
967
+ onClick: n[0] ||= (...e) => h(te) && h(te)(...e)
968
+ }, [p(h(Le), {
969
969
  size: 14,
970
970
  "stroke-width": 1.5
971
971
  }), y(" " + r(h(c).image.browseMedia), 1)], 8, vn)) : g("", !0)
@@ -973,12 +973,12 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
973
973
  e.heroMode ? g("", !0) : (a(), v("div", {
974
974
  key: 0,
975
975
  "data-testid": `${e.testidPrefix}-bg-size`
976
- }, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundSize), 3), p($, {
976
+ }, [b("label", { class: o(h(B)) }, r(h(c).blockSettings.backgroundSize), 3), p(Q, {
977
977
  options: k.value,
978
978
  "model-value": e.modelValue.size,
979
979
  "onUpdate:modelValue": n[1] ||= (e) => O({ size: e })
980
980
  }, null, 8, ["options", "model-value"])], 8, yn)),
981
- b("div", null, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
981
+ b("div", null, [b("label", { class: o(h(B)) }, r(h(c).blockSettings.backgroundPosition), 3), b("div", {
982
982
  role: "group",
983
983
  "aria-label": h(c).blockSettings.backgroundPosition,
984
984
  "data-testid": `${e.testidPrefix}-bg-position`,
@@ -1022,7 +1022,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1022
1022
  "data-testid": e.headerTestId,
1023
1023
  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)]",
1024
1024
  onClick: i[0] ||= (e) => t.$emit("toggle")
1025
- }, [p(h(Ze), {
1025
+ }, [p(h(Qe), {
1026
1026
  class: o(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
1027
1027
  size: 12,
1028
1028
  "stroke-width": 2
@@ -1056,7 +1056,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1056
1056
  function n(e) {
1057
1057
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
1058
1058
  }
1059
- let i = e, s = t, { t: c } = H(), l = E(Le, ce.liquid), u = E(Xe, null), d = E(He, void 0), f = mn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => U(_.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 : Nn), O = m(() => [
1059
+ let i = e, s = t, { t: c } = V(), l = E(ze, le.liquid), u = E(Ze, null), d = E(Ue, void 0), f = mn(), _ = m(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = m(() => _.value.trim() !== ""), x = m(() => H(_.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 : Nn), O = m(() => [
1060
1060
  {
1061
1061
  value: "fit",
1062
1062
  label: c.blockSettings.heroHeightFit
@@ -1083,9 +1083,9 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1083
1083
  value: "bottom",
1084
1084
  label: c.blockSettings.heroAlignBottom
1085
1085
  }
1086
- ]), A = m(() => T.value === "image" && y.value && !x.value && le(i.section.backgroundImage) === null);
1086
+ ]), A = m(() => T.value === "image" && y.value && !x.value && ue(i.section.backgroundImage) === null);
1087
1087
  function j() {
1088
- return (u ? Ne(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? ke(u?.state.content.settings);
1088
+ return (u ? Pe(u.content.value, i.section.id, d, u.activeLocale?.value ?? void 0) : null) ?? Ae(u?.state.content.settings);
1089
1089
  }
1090
1090
  function M(e) {
1091
1091
  let t = S.value?.verticalAlign ?? "middle";
@@ -1101,7 +1101,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1101
1101
  s("update", { hero: void 0 });
1102
1102
  return;
1103
1103
  }
1104
- let n = le(i.section.backgroundImage), r = n === null ? Nn : Math.round(j() * n);
1104
+ let n = ue(i.section.backgroundImage), r = n === null ? Nn : Math.round(j() * n);
1105
1105
  s("update", { hero: {
1106
1106
  height: r,
1107
1107
  verticalAlign: t
@@ -1109,11 +1109,11 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1109
1109
  }
1110
1110
  async function N() {
1111
1111
  let e = i.section.backgroundImage;
1112
- if (!e || !y.value || x.value || le(e) !== null) return;
1112
+ if (!e || !y.value || x.value || ue(e) !== null) return;
1113
1113
  let t = e.url, n = await f(t), r = i.section.backgroundImage;
1114
1114
  n && r && r.url === t && s("update", { backgroundImage: {
1115
1115
  ...r,
1116
- ...Q(n)
1116
+ ...Z(n)
1117
1117
  } });
1118
1118
  }
1119
1119
  function P(e) {
@@ -1130,15 +1130,15 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1130
1130
  }
1131
1131
  return (e, t) => !C.value && S.value ? (a(), v("p", Dn, r(h(c).section.heroNeedsOneColumn), 1)) : C.value && (y.value || S.value) ? (a(), v("div", On, [
1132
1132
  b("div", kn, [
1133
- b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroHeight), 3),
1134
- p($, {
1133
+ b("label", { class: o(h(B)) }, r(h(c).blockSettings.heroHeight), 3),
1134
+ p(Q, {
1135
1135
  options: O.value,
1136
1136
  "model-value": T.value,
1137
1137
  "onUpdate:modelValue": M
1138
1138
  }, null, 8, ["options", "model-value"]),
1139
1139
  x.value ? (a(), v("p", An, r(h(c).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (a(), v("p", jn, r(h(c).blockSettings.heroSizeUnknown), 1)) : g("", !0)
1140
1140
  ]),
1141
- T.value === "fixed" ? (a(), w(xt, {
1141
+ T.value === "fixed" ? (a(), w(St, {
1142
1142
  key: 0,
1143
1143
  "model-value": D.value,
1144
1144
  min: 1,
@@ -1146,7 +1146,7 @@ var gn = { class: "tpl:space-y-3.5" }, _n = ["data-testid"], vn = ["data-testid"
1146
1146
  testid: "section-hero-height-px",
1147
1147
  "onUpdate:modelValue": P
1148
1148
  }, null, 8, ["model-value"])) : g("", !0),
1149
- S.value ? (a(), v("div", Mn, [b("label", { class: o(h(V)) }, r(h(c).blockSettings.heroAlign), 3), p($, {
1149
+ S.value ? (a(), v("div", Mn, [b("label", { class: o(h(B)) }, r(h(c).blockSettings.heroAlign), 3), p(Q, {
1150
1150
  options: k.value,
1151
1151
  "model-value": S.value.verticalAlign,
1152
1152
  "onUpdate:modelValue": F
@@ -1175,10 +1175,10 @@ function Rn(e) {
1175
1175
  return In(e.styles.backgroundColor) || !!e.backgroundImage;
1176
1176
  }
1177
1177
  function zn(e) {
1178
- return e.fullWidth !== !0 || Ln(e.padding) || he(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Fn.has(e));
1178
+ return e.fullWidth !== !0 || Ln(e.padding) || ge(e.borderRadius) !== null ? !1 : Object.keys(e).every((e) => Fn.has(e));
1179
1179
  }
1180
1180
  function Bn(e, t = {}) {
1181
- return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && fe(t.layout);
1181
+ return e.wrapper ? !1 : t.sectionWrapper === !1 || t.layout !== void 0 && pe(t.layout);
1182
1182
  }
1183
1183
  function Vn(e) {
1184
1184
  let t = {};
@@ -1249,86 +1249,86 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1249
1249
  },
1250
1250
  emits: ["update"],
1251
1251
  setup(e, { emit: n }) {
1252
- let c = e, f = n, { t: x, format: T } = H(), D = E(Xe, null), k = E(Be, void 0), j = m(() => D?.activeLocale?.value), N = m(() => !!(j.value && D?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = E(We, []), L = E(Ye, !1), R = E(He, void 0), z = E(Ve, 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), V = m(() => c.block.type === "section" && Bn(c.block, {
1253
- sectionWrapper: z,
1254
- layout: R
1255
- })), re = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1256
- function ie(e) {
1252
+ let c = e, f = n, { t: x, format: T } = V(), D = E(Ze, null), k = E(He, void 0), j = m(() => D?.activeLocale?.value), N = m(() => !!(j.value && D?.selectedBlock?.value?.l10n?.[j.value]?.hidden)), I = E(Ge, []), L = E(Xe, !1), te = E(Ue, void 0), R = E(Re, void 0), z = 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), B = m(() => c.block.type === "section" && Bn(c.block, {
1253
+ sectionWrapper: R,
1254
+ layout: te
1255
+ })), ie = m(() => c.block.type === "wrapper" ? "layout-wrapper-full-width" : "section-background-full-width");
1256
+ function ae(e) {
1257
1257
  c.block.type === "wrapper" ? f("update", { fullWidth: e }) : c.block.type === "section" && f("update", Un(c.block, e));
1258
1258
  }
1259
- let ae = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), ce = m(() => ae.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), le = m(() => ae.value ? "wrapper.backgroundImage" : "backgroundImage"), ue = m(() => {
1259
+ let oe = m(() => c.block.type === "section" && c.block.wrapper?.fullWidth === !0), le = m(() => oe.value ? "wrapper.backgroundColor" : "styles.backgroundColor"), ue = m(() => oe.value ? "wrapper.backgroundImage" : "backgroundImage"), de = m(() => {
1260
1260
  let e = c.block;
1261
1261
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundColor ?? "" : e.styles.backgroundColor ?? "";
1262
- }), de = m(() => {
1262
+ }), fe = m(() => {
1263
1263
  let e = c.block;
1264
1264
  return e.type === "section" && e.wrapper?.fullWidth === !0 ? e.wrapper.backgroundImage : e.type === "section" ? e.backgroundImage : void 0;
1265
1265
  });
1266
- function U(e, t) {
1266
+ function H(e, t) {
1267
1267
  f("update", { wrapper: {
1268
1268
  ...e,
1269
1269
  ...t
1270
1270
  } });
1271
1271
  }
1272
- function fe(e) {
1272
+ function pe(e) {
1273
1273
  let t = c.block;
1274
- t.type === "section" && t.wrapper?.fullWidth === !0 ? U(t.wrapper, { backgroundColor: e }) : Ee("backgroundColor", e);
1274
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? H(t.wrapper, { backgroundColor: e }) : De("backgroundColor", e);
1275
1275
  }
1276
- function pe(e) {
1276
+ function me(e) {
1277
1277
  let t = c.block;
1278
- t.type === "section" && t.wrapper?.fullWidth === !0 ? U(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1278
+ t.type === "section" && t.wrapper?.fullWidth === !0 ? H(t.wrapper, { backgroundImage: e }) : f("update", { backgroundImage: e });
1279
1279
  }
1280
- let me = E(ze, null), he = we(), W = _(!1), G = l(/* @__PURE__ */ new Set()), K = _(!1), q = _(""), J = _(""), ge = [{
1280
+ let he = E(Ve, null), ge = Te(), U = _(!1), W = l(/* @__PURE__ */ new Set()), G = _(!1), K = _(""), q = _(""), _e = [{
1281
1281
  key: "desktop",
1282
- icon: Qe,
1282
+ icon: $e,
1283
1283
  labelKey: "showOnDesktop"
1284
1284
  }, {
1285
1285
  key: "mobile",
1286
- icon: $e,
1286
+ icon: et,
1287
1287
  labelKey: "showOnMobile"
1288
1288
  }];
1289
- function Y(e) {
1290
- G.has(e) ? G.delete(e) : G.add(e);
1289
+ function J(e) {
1290
+ W.has(e) ? W.delete(e) : W.add(e);
1291
1291
  }
1292
- let X = m(() => !!me || I.length > 0 || L);
1293
- function ve(e) {
1292
+ let Y = m(() => !!he || I.length > 0 || L);
1293
+ function ye(e) {
1294
1294
  if (typeof e != "object" || !e || Array.isArray(e)) return !1;
1295
1295
  let t = e;
1296
1296
  return typeof t.label == "string" && typeof t.before == "string" && typeof t.after == "string";
1297
1297
  }
1298
- function Z(e, t) {
1298
+ function X(e, t) {
1299
1299
  let n = D?.state?.selectedBlockId;
1300
1300
  c.block.id === e && (n === void 0 || n === e) ? f("update", { displayCondition: t }) : D && D.findBlockLocation(e) && D.updateBlock(e, { displayCondition: t });
1301
1301
  }
1302
- async function ye() {
1303
- if (!me || W.value) return;
1304
- let e = c.block.id, t = D?.activeLocale?.value ?? null, n = se(C(c.block)), r = c.block.displayCondition ? se(C(c.block.displayCondition)) : void 0;
1305
- W.value = !0;
1302
+ async function be() {
1303
+ if (!he || U.value) return;
1304
+ let e = c.block.id, t = D?.activeLocale?.value ?? null, n = ce(C(c.block)), r = c.block.displayCondition ? ce(C(c.block.displayCondition)) : void 0;
1305
+ U.value = !0;
1306
1306
  try {
1307
- let i = await me(r ? {
1307
+ let i = await he(r ? {
1308
1308
  current: r,
1309
1309
  block: n
1310
1310
  } : { block: n });
1311
- if (!he.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1312
- if (!ve(i)) {
1313
- et.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1311
+ if (!ge.alive || (D?.activeLocale?.value ?? null) !== t || i === null) return;
1312
+ if (!ye(i)) {
1313
+ tt.warn("displayConditions.onRequest resolved a value without string label, before and after — ignoring it.");
1314
1314
  return;
1315
1315
  }
1316
- Z(e, se(i));
1316
+ X(e, ce(i));
1317
1317
  } finally {
1318
- he.alive && (W.value = !1);
1318
+ ge.alive && (U.value = !1);
1319
1319
  }
1320
1320
  }
1321
- let be = m(() => c.block.displayCondition ? !I.some((e) => e.label === c.block.displayCondition?.label) : !1);
1322
- function xe() {
1323
- K.value = !0, be.value && c.block.displayCondition ? (q.value = c.block.displayCondition.before, J.value = c.block.displayCondition.after ?? "") : (q.value = "", J.value = "");
1324
- }
1321
+ let xe = m(() => c.block.displayCondition ? !I.some((e) => e.label === c.block.displayCondition?.label) : !1);
1325
1322
  function Se() {
1326
- let e = q.value.trim(), t = J.value.trim();
1323
+ G.value = !0, xe.value && c.block.displayCondition ? (K.value = c.block.displayCondition.before, q.value = c.block.displayCondition.after ?? "") : (K.value = "", q.value = "");
1324
+ }
1325
+ function Ce() {
1326
+ let e = K.value.trim(), t = q.value.trim();
1327
1327
  e && (f("update", { displayCondition: {
1328
1328
  label: x.blockSettings.customCondition,
1329
1329
  before: e,
1330
1330
  after: t
1331
- } }), K.value = !1, q.value = e, J.value = t);
1331
+ } }), G.value = !1, K.value = e, q.value = t);
1332
1332
  }
1333
1333
  t([
1334
1334
  () => D?.state?.template?.id,
@@ -1338,44 +1338,44 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1338
1338
  () => c.block.displayCondition?.after
1339
1339
  ], () => {
1340
1340
  let e = c.block.displayCondition;
1341
- !e || !be.value ? (K.value = !1, q.value = "", J.value = "") : (q.value = e.before, J.value = e.after ?? "");
1341
+ !e || !xe.value ? (G.value = !1, K.value = "", q.value = "") : (K.value = e.before, q.value = e.after ?? "");
1342
1342
  }, { immediate: !0 });
1343
- let Ce = m(() => {
1343
+ let we = m(() => {
1344
1344
  let e = {};
1345
1345
  for (let t of I) {
1346
1346
  let n = t.group ?? "";
1347
1347
  e[n] || (e[n] = []), e[n].push(t);
1348
1348
  }
1349
1349
  return e;
1350
- }), Te = m(() => c.block.type === "section" && oe(c.block)?.applied === !0);
1351
- function Ee(e, t) {
1350
+ }), Ee = m(() => c.block.type === "section" && se(c.block)?.applied === !0);
1351
+ function De(e, t) {
1352
1352
  f("update", { styles: {
1353
1353
  ...c.block.styles,
1354
1354
  [e]: t
1355
1355
  } });
1356
1356
  }
1357
- function Q(e) {
1357
+ function Z(e) {
1358
1358
  return c.block.visibility?.[e] !== !1;
1359
1359
  }
1360
- function De(e) {
1360
+ function Oe(e) {
1361
1361
  let t = {
1362
- desktop: Q("desktop"),
1363
- mobile: Q("mobile")
1362
+ desktop: Z("desktop"),
1363
+ mobile: Z("mobile")
1364
1364
  };
1365
1365
  t[e] = !t[e], f("update", { visibility: t });
1366
1366
  }
1367
1367
  return (t, n) => (a(), v("div", { class: o(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1368
1368
  p(En, {
1369
1369
  title: h(x).blockSettings.spacing,
1370
- open: G.has("spacing"),
1370
+ open: W.has("spacing"),
1371
1371
  "no-border": e.isFirstSection,
1372
- onToggle: n[1] ||= (e) => Y("spacing")
1372
+ onToggle: n[1] ||= (e) => J("spacing")
1373
1373
  }, {
1374
1374
  default: u(() => [p(fn, {
1375
1375
  path: "styles.padding",
1376
1376
  label: h(x).blockSettings.padding,
1377
1377
  "model-value": e.block.styles.padding,
1378
- "onUpdate:modelValue": n[0] ||= (e) => Ee("padding", e)
1378
+ "onUpdate:modelValue": n[0] ||= (e) => De("padding", e)
1379
1379
  }, null, 8, ["label", "model-value"])]),
1380
1380
  _: 1
1381
1381
  }, 8, [
@@ -1385,36 +1385,36 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1385
1385
  ]),
1386
1386
  p(En, {
1387
1387
  title: h(x).blockSettings.background,
1388
- open: G.has("bg"),
1388
+ open: W.has("bg"),
1389
1389
  "header-test-id": "block-settings-background",
1390
- onToggle: n[4] ||= (e) => Y("bg")
1390
+ onToggle: n[4] ||= (e) => J("bg")
1391
1391
  }, {
1392
1392
  default: u(() => [
1393
1393
  p(A, {
1394
- path: ce.value,
1394
+ path: le.value,
1395
1395
  label: h(x).blockSettings.color
1396
1396
  }, {
1397
1397
  default: u(() => [p(M, {
1398
- "model-value": ue.value,
1398
+ "model-value": de.value,
1399
1399
  "allow-transparent": "",
1400
- "onUpdate:modelValue": fe
1400
+ "onUpdate:modelValue": pe
1401
1401
  }, null, 8, ["model-value"])]),
1402
1402
  _: 1
1403
1403
  }, 8, ["path", "label"]),
1404
- B.value ? (a(), w(A, {
1404
+ z.value ? (a(), w(A, {
1405
1405
  key: 0,
1406
1406
  path: e.block.type === "section" ? "wrapper.fullWidth" : "fullWidth",
1407
1407
  label: h(x).blockSettings.fullWidthBackground
1408
1408
  }, {
1409
1409
  "label-actions": u(({ controlId: e }) => [p(P, {
1410
- "data-testid": re.value,
1410
+ "data-testid": ie.value,
1411
1411
  "control-id": e,
1412
1412
  "hide-label": "",
1413
1413
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1414
- "model-value": te.value,
1415
- disabled: V.value,
1414
+ "model-value": ne.value,
1415
+ disabled: B.value,
1416
1416
  label: h(x).blockSettings.fullWidthBackground,
1417
- "onUpdate:modelValue": ie
1417
+ "onUpdate:modelValue": ae
1418
1418
  }, null, 8, [
1419
1419
  "data-testid",
1420
1420
  "control-id",
@@ -1426,21 +1426,21 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1426
1426
  }, 8, ["path", "label"])) : g("", !0),
1427
1427
  e.block.type === "section" ? (a(), w(A, {
1428
1428
  key: 1,
1429
- path: le.value,
1429
+ path: ue.value,
1430
1430
  label: h(x).blockSettings.backgroundImage
1431
1431
  }, {
1432
1432
  default: u(() => [p(Cn, {
1433
1433
  "hide-label": "",
1434
1434
  class: "tpl:mt-3.5",
1435
- "model-value": de.value,
1435
+ "model-value": fe.value,
1436
1436
  "testid-prefix": "section",
1437
1437
  measure: "",
1438
- "hero-mode": Te.value,
1439
- "onUpdate:modelValue": pe
1438
+ "hero-mode": Ee.value,
1439
+ "onUpdate:modelValue": me
1440
1440
  }, null, 8, ["model-value", "hero-mode"])]),
1441
1441
  _: 1
1442
1442
  }, 8, ["path", "label"])) : g("", !0),
1443
- ae.value ? (a(), w(A, {
1443
+ oe.value ? (a(), w(A, {
1444
1444
  key: 2,
1445
1445
  path: "styles.backgroundColor",
1446
1446
  label: h(x).blockSettings.contentBackground
@@ -1449,7 +1449,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1449
1449
  "data-testid": "section-content-background",
1450
1450
  "model-value": e.block.styles.backgroundColor ?? "",
1451
1451
  "allow-transparent": "",
1452
- "onUpdate:modelValue": n[2] ||= (e) => Ee("backgroundColor", e)
1452
+ "onUpdate:modelValue": n[2] ||= (e) => De("backgroundColor", e)
1453
1453
  }, null, 8, ["model-value"])]),
1454
1454
  _: 1
1455
1455
  }, 8, ["label"])) : g("", !0),
@@ -1469,21 +1469,21 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1469
1469
  }, 8, ["title", "open"]),
1470
1470
  p(En, {
1471
1471
  title: h(x).blockSettings.display,
1472
- open: G.has("display"),
1473
- onToggle: n[6] ||= (e) => Y("display")
1472
+ open: W.has("display"),
1473
+ onToggle: n[6] ||= (e) => J("display")
1474
1474
  }, {
1475
1475
  default: u(() => [b("div", Gn, [j.value && h(k) ? (a(), w(P, {
1476
1476
  key: 0,
1477
1477
  "data-testid": "locale-hide",
1478
1478
  disabled: !h(k).locales.includes(j.value),
1479
1479
  "model-value": N.value,
1480
- label: h(T)(h(x).localization.hide, { language: h(_e)(j.value) }),
1480
+ label: h(T)(h(x).localization.hide, { language: h(ve)(j.value) }),
1481
1481
  "onUpdate:modelValue": n[5] ||= (t) => h(D)?.setBlockHidden?.(e.block.id, t)
1482
1482
  }, null, 8, [
1483
1483
  "disabled",
1484
1484
  "model-value",
1485
1485
  "label"
1486
- ])) : g("", !0), (a(), v(S, null, s(ge, (e) => p(A, {
1486
+ ])) : g("", !0), (a(), v(S, null, s(_e, (e) => p(A, {
1487
1487
  key: e.key,
1488
1488
  path: `visibility.${e.key}`,
1489
1489
  label: h(x).blockSettings[e.labelKey]
@@ -1496,9 +1496,9 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1496
1496
  "control-id": t,
1497
1497
  "hide-label": "",
1498
1498
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1499
- "model-value": Q(e.key),
1499
+ "model-value": Z(e.key),
1500
1500
  label: h(x).blockSettings[e.labelKey],
1501
- "onUpdate:modelValue": (t) => De(e.key)
1501
+ "onUpdate:modelValue": (t) => Oe(e.key)
1502
1502
  }, null, 8, [
1503
1503
  "control-id",
1504
1504
  "model-value",
@@ -1509,27 +1509,27 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1509
1509
  }, 1032, ["path", "label"])), 64))])]),
1510
1510
  _: 1
1511
1511
  }, 8, ["title", "open"]),
1512
- X.value ? (a(), w(En, {
1512
+ Y.value ? (a(), w(En, {
1513
1513
  key: 0,
1514
1514
  "header-test-id": "display-condition-section",
1515
1515
  title: h(x).blockSettings.displayCondition,
1516
- open: G.has("condition"),
1517
- onToggle: n[11] ||= (e) => Y("condition")
1516
+ open: W.has("condition"),
1517
+ onToggle: n[11] ||= (e) => J("condition")
1518
1518
  }, {
1519
- default: u(() => [h(me) ? (a(), v("div", qn, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1519
+ default: u(() => [h(he) ? (a(), v("div", qn, [e.block.displayCondition ? (a(), v(S, { key: 0 }, [
1520
1520
  b("p", Jn, r(e.block.displayCondition.label), 1),
1521
1521
  e.block.displayCondition.description ? (a(), v("p", Yn, r(e.block.displayCondition.description), 1)) : g("", !0),
1522
1522
  b("div", Xn, [b("button", {
1523
1523
  type: "button",
1524
1524
  "data-testid": "display-condition-edit",
1525
1525
  class: o(h(F)),
1526
- disabled: W.value,
1527
- onClick: ye
1526
+ disabled: U.value,
1527
+ onClick: be
1528
1528
  }, r(h(x).blockSettings.editCondition), 11, Zn), b("button", {
1529
1529
  type: "button",
1530
1530
  "data-testid": "display-condition-remove",
1531
1531
  class: o(h(F)),
1532
- disabled: W.value,
1532
+ disabled: U.value,
1533
1533
  onClick: n[7] ||= (e) => f("update", { displayCondition: void 0 })
1534
1534
  }, r(h(x).blockSettings.removeCondition), 11, Qn)])
1535
1535
  ], 64)) : (a(), v("button", {
@@ -1537,8 +1537,8 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1537
1537
  type: "button",
1538
1538
  "data-testid": "display-condition-request",
1539
1539
  class: o(h(F)),
1540
- disabled: W.value,
1541
- onClick: ye
1540
+ disabled: U.value,
1541
+ onClick: be
1542
1542
  }, r(h(x).blockSettings.addCondition), 11, $n))])) : (a(), v("div", er, [p(A, {
1543
1543
  path: "displayCondition",
1544
1544
  label: h(x).blockSettings.displayCondition
@@ -1546,14 +1546,14 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1546
1546
  default: u(() => [b("select", {
1547
1547
  "data-testid": "display-condition-select",
1548
1548
  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)]"]),
1549
- value: K.value || be.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1549
+ value: G.value || xe.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1550
1550
  onChange: n[8] ||= (e) => {
1551
1551
  let t = e.target.value;
1552
1552
  if (t === "__custom__") {
1553
- xe();
1553
+ Se();
1554
1554
  return;
1555
1555
  }
1556
- if (K.value = !1, !t) {
1556
+ if (G.value = !1, !t) {
1557
1557
  f("update", { displayCondition: void 0 });
1558
1558
  return;
1559
1559
  }
@@ -1562,7 +1562,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1562
1562
  }
1563
1563
  }, [
1564
1564
  b("option", nr, r(h(x).blockSettings.noCondition), 1),
1565
- (a(!0), v(S, null, s(Ce.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1565
+ (a(!0), v(S, null, s(we.value, (e, t) => (a(), v(S, { key: t }, [t ? (a(), v("optgroup", {
1566
1566
  key: 0,
1567
1567
  label: String(t)
1568
1568
  }, [(a(!0), v(S, null, s(e, (e) => (a(), v("option", {
@@ -1575,24 +1575,24 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1575
1575
  h(L) ? (a(), v("option", or, r(h(x).blockSettings.customCondition), 1)) : g("", !0)
1576
1576
  ], 42, tr)]),
1577
1577
  _: 1
1578
- }, 8, ["label"]), K.value || be.value ? (a(), v("div", sr, [
1578
+ }, 8, ["label"]), G.value || xe.value ? (a(), v("div", sr, [
1579
1579
  b("div", null, [b("label", cr, r(h(x).blockSettings.customConditionBefore), 1), d(b("textarea", {
1580
- "onUpdate:modelValue": n[9] ||= (e) => q.value = e,
1580
+ "onUpdate:modelValue": n[9] ||= (e) => K.value = e,
1581
1581
  rows: "2",
1582
- class: o(h(ne))
1583
- }, null, 2), [[O, q.value]])]),
1582
+ class: o(h(re))
1583
+ }, null, 2), [[O, K.value]])]),
1584
1584
  b("div", null, [b("label", lr, r(h(x).blockSettings.customConditionAfter), 1), d(b("textarea", {
1585
- "onUpdate:modelValue": n[10] ||= (e) => J.value = e,
1585
+ "onUpdate:modelValue": n[10] ||= (e) => q.value = e,
1586
1586
  rows: "2",
1587
- class: o(h(ne))
1588
- }, null, 2), [[O, J.value]])]),
1587
+ class: o(h(re))
1588
+ }, null, 2), [[O, q.value]])]),
1589
1589
  b("div", ur, [b("button", {
1590
1590
  type: "button",
1591
1591
  class: o(h(ee)),
1592
- disabled: !q.value.trim(),
1593
- onClick: Se
1592
+ disabled: !K.value.trim(),
1593
+ onClick: Ce
1594
1594
  }, r(h(x).blockSettings.applyCondition), 11, dr)])
1595
- ])) : e.block.displayCondition && !be.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", fr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", pr, [b("pre", mr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", hr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1595
+ ])) : e.block.displayCondition && !xe.value ? (a(), v(S, { key: 1 }, [e.block.displayCondition.description ? (a(), v("p", fr, r(e.block.displayCondition.description), 1)) : g("", !0), b("div", pr, [b("pre", mr, r(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (a(), v("pre", hr, r(e.block.displayCondition.after), 1)) : g("", !0)])], 64)) : g("", !0)]))]),
1596
1596
  _: 1
1597
1597
  }, 8, ["title", "open"])) : g("", !0)
1598
1598
  ], 2));
@@ -1605,13 +1605,13 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1605
1605
  readOnly: { type: Boolean }
1606
1606
  },
1607
1607
  setup(e) {
1608
- let { t } = H();
1608
+ let { t } = V();
1609
1609
  return (n, i) => (a(), v("span", null, [
1610
1610
  y(r(e.label) + " ", 1),
1611
1611
  e.readOnly ? (a(), v("span", {
1612
1612
  key: 0,
1613
1613
  title: h(t).customBlocks.dataSource.readOnlyTooltip
1614
- }, [p(h(ht), {
1614
+ }, [p(h(gt), {
1615
1615
  size: 12,
1616
1616
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1617
1617
  "aria-hidden": "true"
@@ -1634,7 +1634,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1634
1634
  },
1635
1635
  emits: ["update:modelValue"],
1636
1636
  setup(e, { emit: t }) {
1637
- let n = t, { t: i } = H();
1637
+ let n = t, { t: i } = V();
1638
1638
  return (t, o) => (a(), v("div", {
1639
1639
  class: "tpl:mb-3.5",
1640
1640
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0
@@ -1648,7 +1648,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1648
1648
  disabled: e.readOnly,
1649
1649
  "onUpdate:modelValue": o[0] ||= (e) => n("update:modelValue", e)
1650
1650
  }, {
1651
- default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(ht), {
1651
+ default: u(() => [y(r(e.field.label) + " ", 1), e.readOnly ? (a(), w(h(gt), {
1652
1652
  key: 0,
1653
1653
  size: 12,
1654
1654
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]"
@@ -1674,7 +1674,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1674
1674
  setup(e) {
1675
1675
  return (t, r) => (a(), v("div", wr, [e.hideLabel ? g("", !0) : (a(), v("label", {
1676
1676
  key: 0,
1677
- class: o(h(V))
1677
+ class: o(h(B))
1678
1678
  }, [p(xr, {
1679
1679
  label: e.label,
1680
1680
  required: e.required,
@@ -1695,7 +1695,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1695
1695
  },
1696
1696
  emits: ["update:modelValue"],
1697
1697
  setup(e, { emit: t }) {
1698
- let n = e, r = t, { t: i } = H(), o = E(Je, it), s = m(() => Fe(n.field, o));
1698
+ let n = e, r = t, { t: i } = V(), o = E(Ye, at), s = m(() => Ie(n.field, o));
1699
1699
  return (t, n) => (a(), w(Tr, {
1700
1700
  "hide-label": e.hideLabel,
1701
1701
  label: e.field.label,
@@ -1740,7 +1740,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1740
1740
  },
1741
1741
  emits: ["update:modelValue"],
1742
1742
  setup(e, { emit: t }) {
1743
- let n = e, i = t, { t: s } = H(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Pe({
1743
+ let n = e, i = t, { t: s } = V(), c = _(), { canBrowse: l, isUploading: d, showOverlay: f, openMediaBrowser: m } = Fe({
1744
1744
  target: c,
1745
1745
  blocked: () => !!n.readOnly,
1746
1746
  apply: (e) => i("update:modelValue", e.url)
@@ -1756,14 +1756,14 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1756
1756
  ref: c,
1757
1757
  class: "tpl:relative"
1758
1758
  }, [
1759
- h(f) ? (a(), w(Te, {
1759
+ h(f) ? (a(), w(Ee, {
1760
1760
  key: 0,
1761
1761
  uploading: h(d)
1762
1762
  }, null, 8, ["uploading"])) : g("", !0),
1763
1763
  e.readOnly ? (a(), v("input", {
1764
1764
  key: 1,
1765
1765
  type: "url",
1766
- class: o([h(B), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1766
+ class: o([h(z), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1767
1767
  value: e.modelValue,
1768
1768
  placeholder: e.field.placeholder || "https://...",
1769
1769
  disabled: "",
@@ -1771,7 +1771,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1771
1771
  }, null, 10, Dr)) : (a(), v("input", {
1772
1772
  key: 2,
1773
1773
  type: "url",
1774
- class: o(h(B)),
1774
+ class: o(h(z)),
1775
1775
  value: e.modelValue,
1776
1776
  placeholder: e.field.placeholder || "https://...",
1777
1777
  onInput: n[0] ||= (e) => i("update:modelValue", e.target.value)
@@ -1780,7 +1780,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1780
1780
  key: 3,
1781
1781
  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)]",
1782
1782
  onClick: n[1] ||= (e) => h(m)()
1783
- }, [p(h(Ie), {
1783
+ }, [p(h(Le), {
1784
1784
  size: 14,
1785
1785
  "stroke-width": 1.5
1786
1786
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
@@ -1811,7 +1811,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1811
1811
  },
1812
1812
  emits: ["update:modelValue"],
1813
1813
  setup(e, { emit: t }) {
1814
- let n = t, { t: r } = H();
1814
+ let n = t, { t: r } = V();
1815
1815
  return (t, i) => (a(), w(Tr, {
1816
1816
  "hide-label": e.hideLabel,
1817
1817
  label: e.field.label,
@@ -1820,7 +1820,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1820
1820
  }, {
1821
1821
  default: u(() => [b("input", {
1822
1822
  type: "number",
1823
- class: o([h(B), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1823
+ class: o([h(z), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1824
1824
  value: e.modelValue,
1825
1825
  placeholder: e.field.placeholder,
1826
1826
  min: e.field.min,
@@ -1854,7 +1854,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1854
1854
  },
1855
1855
  emits: ["update:modelValue"],
1856
1856
  setup(e, { emit: t }) {
1857
- let n = e, c = t, { t: l, format: d } = H(), f = m(() => n.modelValue || []), _ = m(() => !n.field.maxItems || f.value.length < n.field.maxItems), x = m(() => !n.field.minItems || f.value.length > n.field.minItems);
1857
+ let n = e, c = t, { t: l, format: d } = V(), 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);
1858
1858
  function C() {
1859
1859
  if (!_.value || n.readOnly) return;
1860
1860
  let e = {};
@@ -1889,7 +1889,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1889
1889
  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)]",
1890
1890
  title: h(l).customBlocks.fields.removeItem,
1891
1891
  onClick: (e) => T(n)
1892
- }, [p(h(at), {
1892
+ }, [p(h(ot), {
1893
1893
  size: 12,
1894
1894
  "stroke-width": 2
1895
1895
  })], 8, Fr)) : g("", !0)]), (a(!0), v(S, null, s(e.field.fields, (r) => (a(), w(i(h(qr)(r.type)), {
@@ -1907,9 +1907,9 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1907
1907
  _.value && !e.readOnly ? (a(), v("button", {
1908
1908
  key: 0,
1909
1909
  type: "button",
1910
- class: o(h(R)),
1910
+ class: o(h(te)),
1911
1911
  onClick: C
1912
- }, [p(h(Z), {
1912
+ }, [p(h(X), {
1913
1913
  size: 14,
1914
1914
  "stroke-width": 2
1915
1915
  }), y(" " + r(h(l).customBlocks.fields.addItem), 1)], 2)) : g("", !0),
@@ -1938,7 +1938,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1938
1938
  },
1939
1939
  emits: ["update:modelValue"],
1940
1940
  setup(e, { emit: t }) {
1941
- let n = t, { t: i } = H();
1941
+ let n = t, { t: i } = V();
1942
1942
  return (t, c) => (a(), w(Tr, {
1943
1943
  "hide-label": e.hideLabel,
1944
1944
  label: e.field.label,
@@ -1946,7 +1946,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1946
1946
  "read-only": e.readOnly
1947
1947
  }, {
1948
1948
  default: u(() => [b("select", {
1949
- class: o([h(B), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1949
+ class: o([h(z), e.readOnly && "tpl:opacity-60 tpl:cursor-not-allowed"]),
1950
1950
  value: e.modelValue,
1951
1951
  disabled: e.readOnly,
1952
1952
  title: e.readOnly ? h(i).customBlocks.dataSource.readOnlyTooltip : void 0,
@@ -1977,7 +1977,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1977
1977
  },
1978
1978
  emits: ["update:modelValue"],
1979
1979
  setup(e, { emit: t }) {
1980
- let n = t, { t: r } = H();
1980
+ let n = t, { t: r } = V();
1981
1981
  return (t, i) => (a(), w(Tr, {
1982
1982
  "hide-label": e.hideLabel,
1983
1983
  label: e.field.label,
@@ -1987,7 +1987,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
1987
1987
  default: u(() => [e.readOnly ? (a(), v("input", {
1988
1988
  key: 0,
1989
1989
  type: "text",
1990
- class: o([h(B), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1990
+ class: o([h(z), "tpl:opacity-60 tpl:cursor-not-allowed"]),
1991
1991
  value: e.modelValue,
1992
1992
  placeholder: e.field.placeholder,
1993
1993
  disabled: "",
@@ -2022,7 +2022,7 @@ var Gn = { class: "tpl:space-y-2" }, Kn = { class: "tpl:flex tpl:items-center tp
2022
2022
  },
2023
2023
  emits: ["update:modelValue"],
2024
2024
  setup(e, { emit: t }) {
2025
- let n = t, { t: r } = H();
2025
+ let n = t, { t: r } = V();
2026
2026
  return (t, i) => (a(), w(Tr, {
2027
2027
  "hide-label": e.hideLabel,
2028
2028
  label: e.field.label,
@@ -2086,7 +2086,7 @@ var Jr = {
2086
2086
  props: { block: {} },
2087
2087
  emits: ["updateFieldValues", "updateDataSourceFetched"],
2088
2088
  setup(e, { emit: t }) {
2089
- let n = e, o = t, { t: c } = H(), l = E(qe, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = be({
2089
+ let n = e, o = t, { t: c } = V(), l = E(qe, []), d = m(() => l.find((e) => e.type === n.block.customType)), f = m(() => n.block), { isFetching: _, fetchError: x, fetch: C, hasDataSource: T, needsFetch: D } = xe({
2090
2090
  definition: d,
2091
2091
  block: f,
2092
2092
  onUpdate: (e, t) => {
@@ -2114,7 +2114,7 @@ var Jr = {
2114
2114
  type: "button",
2115
2115
  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)]",
2116
2116
  onClick: n[1] ||= (...e) => h(C) && h(C)(...e)
2117
- }, [p(h(nt), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", ti, [p(h(tt), {
2117
+ }, [p(h(rt), { size: 12 }), y(" " + r(h(c).customBlocks.dataSource.changeButton), 1)]))])), h(x) ? (a(), v("p", ti, [p(h(nt), {
2118
2118
  size: 14,
2119
2119
  class: "tpl:shrink-0"
2120
2120
  }), y(" " + r(h(c).customBlocks.dataSource.fetchError), 1)])) : g("", !0)])) : g("", !0),
@@ -2155,7 +2155,7 @@ var Jr = {
2155
2155
  props: { block: {} },
2156
2156
  emits: ["update"],
2157
2157
  setup(e, { emit: t }) {
2158
- let n = t, { t: r } = H();
2158
+ let n = t, { t: r } = V();
2159
2159
  function i(e, t) {
2160
2160
  n("update", { [e]: t });
2161
2161
  }
@@ -2165,7 +2165,7 @@ var Jr = {
2165
2165
  class: "tpl:mb-3.5",
2166
2166
  path: "lineStyle"
2167
2167
  }, {
2168
- default: u(() => [p($, {
2168
+ default: u(() => [p(Q, {
2169
2169
  options: [
2170
2170
  {
2171
2171
  value: "solid",
@@ -2203,7 +2203,7 @@ var Jr = {
2203
2203
  }, {
2204
2204
  default: u(() => [b("div", ri, [b("input", {
2205
2205
  type: "number",
2206
- class: o(h(z)),
2206
+ class: o(h(R)),
2207
2207
  value: e.block.thickness,
2208
2208
  min: "1",
2209
2209
  max: "10",
@@ -2218,7 +2218,7 @@ var Jr = {
2218
2218
  props: { block: {} },
2219
2219
  emits: ["update"],
2220
2220
  setup(e, { emit: t }) {
2221
- let n = t, { t: i } = H();
2221
+ let n = t, { t: i } = V();
2222
2222
  return (t, s) => (a(), w(A, {
2223
2223
  label: h(i).html.content,
2224
2224
  class: "tpl:mb-3.5",
@@ -2228,9 +2228,9 @@ var Jr = {
2228
2228
  value: e.block.content,
2229
2229
  placeholder: "<div>...</div>",
2230
2230
  rows: "10",
2231
- class: o(h(ne)),
2231
+ class: o(h(re)),
2232
2232
  onInput: s[0] ||= (e) => n("update", { content: e.target.value })
2233
- }, null, 42, oi), b("p", si, [p(h(ot), {
2233
+ }, null, 42, oi), b("p", si, [p(h(st), {
2234
2234
  size: 12,
2235
2235
  class: "tpl:mt-0.5 tpl:shrink-0"
2236
2236
  }), y(" " + r(h(i).html.sanitizationHint), 1)])]),
@@ -2244,7 +2244,7 @@ function li(e) {
2244
2244
  t(() => e.block().id, () => {
2245
2245
  n.value = !1, r.value = null;
2246
2246
  });
2247
- let i = m(() => Ee(e.block()) ?? e.measured()), a = m(() => {
2247
+ let i = m(() => De(e.block()) ?? e.measured()), a = m(() => {
2248
2248
  let t = e.block().width;
2249
2249
  return t === "full" ? e.room() : t;
2250
2250
  }), o = m(() => {
@@ -2255,9 +2255,9 @@ function li(e) {
2255
2255
  return t === void 0 || o.value !== null && Math.abs(o.value - t) <= 1;
2256
2256
  }), l = m(() => s.value && !n.value && c.value);
2257
2257
  function u() {
2258
- if (Ee(e.block())) return {};
2258
+ if (De(e.block())) return {};
2259
2259
  let t = e.measured();
2260
- return t ? Q(t) : {};
2260
+ return t ? Z(t) : {};
2261
2261
  }
2262
2262
  function d(t) {
2263
2263
  if (r.value = null, !t) return n.value = !0, null;
@@ -2319,7 +2319,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2319
2319
  props: { block: {} },
2320
2320
  emits: ["update"],
2321
2321
  setup(e, { emit: t }) {
2322
- let n = e, i = t, { t: s, format: c } = H(), l = E(Le, ce.liquid), d = E(Xe, null), f = d ? st(d) : null, C = E(He, void 0), T = _(!1), D = _(!1), { start: O } = ct(() => {
2322
+ let n = e, i = t, { t: s, format: c } = V(), l = E(ze, le.liquid), d = E(Ze, null), f = d ? ct(d) : null, C = E(Ue, void 0), T = _(!1), D = _(!1), { start: O } = lt(() => {
2323
2323
  T.value = !1, D.value = !1;
2324
2324
  }, 1e3, { immediate: !1 }), k = [
2325
2325
  300,
@@ -2335,55 +2335,55 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2335
2335
  function ee(e) {
2336
2336
  if (e === "custom") {
2337
2337
  let e = n.block.width;
2338
- (typeof e != "number" || k.includes(e)) && i("update", G.widthUpdates(Ai));
2339
- } else i("update", G.widthUpdates(e === "full" ? "full" : Number(e)));
2338
+ (typeof e != "number" || k.includes(e)) && i("update", W.widthUpdates(Ai));
2339
+ } else i("update", W.widthUpdates(e === "full" ? "full" : Number(e)));
2340
2340
  }
2341
- function R(e) {
2341
+ function te(e) {
2342
2342
  I("height", e === "custom" ? ji : void 0);
2343
2343
  }
2344
- function te(e) {
2344
+ function ne(e) {
2345
2345
  I("fluidOnMobile", e === "always" || e !== "never" && void 0);
2346
2346
  }
2347
- function V(e) {
2347
+ function B(e) {
2348
2348
  let t = Number(e);
2349
2349
  !Number.isFinite(t) || t <= 0 || I("height", t);
2350
2350
  }
2351
- function ne(e) {
2352
- I("borderRadius", he(e) === null ? void 0 : e);
2353
- }
2354
2351
  function re(e) {
2355
- let t = Number(e);
2356
- !Number.isFinite(t) || t <= 0 || i("update", G.widthUpdates(t));
2352
+ I("borderRadius", ge(e) === null ? void 0 : e);
2357
2353
  }
2358
2354
  function ie(e) {
2355
+ let t = Number(e);
2356
+ !Number.isFinite(t) || t <= 0 || i("update", W.widthUpdates(t));
2357
+ }
2358
+ function ae(e) {
2359
2359
  e !== n.block.src && i("update", {
2360
2360
  src: e,
2361
- ...Q(null)
2361
+ ...Z(null)
2362
2362
  });
2363
2363
  }
2364
- function ae(e) {
2364
+ function oe(e) {
2365
2365
  i("update", {
2366
2366
  src: e.url,
2367
- ...Q(Se(e.width, e.height))
2367
+ ...Z(Ce(e.width, e.height))
2368
2368
  }), e.alt && (I("alt", e.alt), D.value = !0), T.value = !0, O();
2369
2369
  }
2370
- let oe = _(), se = m(() => U(n.block.src, l)), { canBrowse: le, isUploading: ue, showOverlay: de, openMediaBrowser: fe } = Pe({
2371
- target: oe,
2372
- blocked: se,
2373
- apply: ae
2374
- }), pe = xe(() => se.value || !n.block.src || Ee(n.block) ? void 0 : n.block.src), me = pn(() => pe.value), W = m(() => f ? De(f.content.value, n.block.id, C) : null), G = li({
2370
+ let se = _(), ce = m(() => H(n.block.src, l)), { canBrowse: ue, isUploading: de, showOverlay: fe, openMediaBrowser: pe } = Fe({
2371
+ target: se,
2372
+ blocked: ce,
2373
+ apply: oe
2374
+ }), me = Se(() => ce.value || !n.block.src || De(n.block) ? void 0 : n.block.src), he = pn(() => me.value), U = m(() => f ? Oe(f.content.value, n.block.id, C) : null), W = li({
2375
2375
  block: () => n.block,
2376
- room: () => W.value,
2377
- measured: () => me.value
2378
- }), { available: K, locked: q, derivedHeight: J, cappedHeight: ge } = G;
2379
- function Y() {
2380
- let e = G.setLocked(!q.value);
2376
+ room: () => U.value,
2377
+ measured: () => he.value
2378
+ }), { available: G, locked: K, derivedHeight: q, cappedHeight: _e } = W;
2379
+ function J() {
2380
+ let e = W.setLocked(!K.value);
2381
2381
  e && i("update", e);
2382
2382
  }
2383
- let _e = _(null);
2384
- function X(e) {
2385
- _e.value = e;
2386
- let t = G.heightUpdates(Number(e));
2383
+ let ve = _(null);
2384
+ function Y(e) {
2385
+ ve.value = e;
2386
+ let t = W.heightUpdates(Number(e));
2387
2387
  t && i("update", t);
2388
2388
  }
2389
2389
  return (t, n) => (a(), v(S, null, [
@@ -2394,25 +2394,25 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2394
2394
  }, {
2395
2395
  default: u(() => [b("div", {
2396
2396
  ref_key: "dropZoneRef",
2397
- ref: oe,
2397
+ ref: se,
2398
2398
  class: "tpl:relative"
2399
2399
  }, [
2400
- h(de) ? (a(), w(Te, {
2400
+ h(fe) ? (a(), w(Ee, {
2401
2401
  key: 0,
2402
- uploading: h(ue)
2402
+ uploading: h(de)
2403
2403
  }, null, 8, ["uploading"])) : g("", !0),
2404
2404
  p(N, {
2405
2405
  "model-value": e.block.src,
2406
2406
  type: "url",
2407
2407
  placeholder: h(s).image.imageUrlPlaceholder,
2408
2408
  pulse: T.value,
2409
- "onUpdate:modelValue": n[0] ||= (e) => ie(e)
2409
+ "onUpdate:modelValue": n[0] ||= (e) => ae(e)
2410
2410
  }, null, 8, [
2411
2411
  "model-value",
2412
2412
  "placeholder",
2413
2413
  "pulse"
2414
2414
  ]),
2415
- h(le) ? (a(), v("button", {
2415
+ h(ue) ? (a(), v("button", {
2416
2416
  key: 1,
2417
2417
  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",
2418
2418
  style: {
@@ -2420,15 +2420,15 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2420
2420
  color: "var(--tpl-primary)",
2421
2421
  "background-color": "var(--tpl-bg)"
2422
2422
  },
2423
- onClick: n[1] ||= (...e) => h(fe) && h(fe)(...e)
2424
- }, [p(h(Ie), {
2423
+ onClick: n[1] ||= (...e) => h(pe) && h(pe)(...e)
2424
+ }, [p(h(Le), {
2425
2425
  size: 14,
2426
2426
  "stroke-width": 1.5
2427
2427
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)
2428
2428
  ], 512)]),
2429
2429
  _: 1
2430
2430
  }, 8, ["label"]),
2431
- h(U)(e.block.src, h(l)) ? (a(), w(A, {
2431
+ h(H)(e.block.src, h(l)) ? (a(), w(A, {
2432
2432
  key: 0,
2433
2433
  class: "tpl:mb-3.5",
2434
2434
  path: "placeholderUrl"
@@ -2436,7 +2436,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2436
2436
  label: u(() => [y(r(h(s).image.placeholderUrl) + " ", 1), b("span", ui, r(h(s).image.optional), 1)]),
2437
2437
  default: u(() => [b("input", {
2438
2438
  type: "url",
2439
- class: o(h(B)),
2439
+ class: o(h(z)),
2440
2440
  value: e.block.placeholderUrl || "",
2441
2441
  placeholder: h(s).image.placeholderUrlPlaceholder,
2442
2442
  title: h(s).image.placeholderUrlTooltip,
@@ -2488,7 +2488,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2488
2488
  path: "width"
2489
2489
  }, {
2490
2490
  default: u(() => [b("select", {
2491
- class: o(h(B)),
2491
+ class: o(h(z)),
2492
2492
  "data-testid": "image-width-mode",
2493
2493
  value: j.value,
2494
2494
  onChange: n[5] ||= (e) => ee(e.target.value)
@@ -2501,10 +2501,10 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2501
2501
  ], 42, pi), j.value === "custom" ? (a(), v("div", gi, [b("input", {
2502
2502
  type: "number",
2503
2503
  "data-testid": "image-width-input",
2504
- class: o(h(z)),
2504
+ class: o(h(R)),
2505
2505
  value: typeof e.block.width == "number" ? e.block.width : Ai,
2506
2506
  min: "20",
2507
- onInput: n[6] ||= (e) => re(e.target.value)
2507
+ onInput: n[6] ||= (e) => ie(e.target.value)
2508
2508
  }, null, 42, _i), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)]),
2509
2509
  _: 1
2510
2510
  }, 8, ["label"]),
@@ -2514,10 +2514,10 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2514
2514
  path: "fluidOnMobile"
2515
2515
  }, {
2516
2516
  default: u(() => [b("select", {
2517
- class: o(h(B)),
2517
+ class: o(h(z)),
2518
2518
  "data-testid": "image-fluid-on-mobile",
2519
2519
  value: F.value,
2520
- onChange: n[7] ||= (e) => te(e.target.value)
2520
+ onChange: n[7] ||= (e) => ne(e.target.value)
2521
2521
  }, [
2522
2522
  b("option", yi, r(h(s).image.fluidOnMobileAuto), 1),
2523
2523
  b("option", bi, r(h(s).image.fluidOnMobileAlways), 1),
@@ -2531,40 +2531,40 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2531
2531
  label: h(s).image.height
2532
2532
  }, x({
2533
2533
  default: u(() => [
2534
- h(q) ? (a(), v(S, { key: 0 }, [b("div", Si, [b("input", {
2534
+ h(K) ? (a(), v(S, { key: 0 }, [b("div", Si, [b("input", {
2535
2535
  type: "number",
2536
2536
  "data-testid": "image-locked-height-input",
2537
- class: o(h(z)),
2538
- value: _e.value ?? h(J) ?? "",
2537
+ class: o(h(R)),
2538
+ value: ve.value ?? h(q) ?? "",
2539
2539
  min: "1",
2540
- onInput: n[8] ||= (e) => X(e.target.value),
2541
- onBlur: n[9] ||= (e) => _e.value = null
2542
- }, null, 42, Ci), b("span", { class: o(h(L)) }, "px", 2)]), h(ge) === null ? g("", !0) : (a(), v("p", wi, r(h(c)(h(s).image.heightCapped, { height: h(ge) })), 1))], 64)) : g("", !0),
2543
- h(q) ? g("", !0) : (a(), v("select", {
2540
+ onInput: n[8] ||= (e) => Y(e.target.value),
2541
+ onBlur: n[9] ||= (e) => ve.value = null
2542
+ }, null, 42, Ci), b("span", { class: o(h(L)) }, "px", 2)]), h(_e) === null ? g("", !0) : (a(), v("p", wi, r(h(c)(h(s).image.heightCapped, { height: h(_e) })), 1))], 64)) : g("", !0),
2543
+ h(K) ? g("", !0) : (a(), v("select", {
2544
2544
  key: 1,
2545
- class: o(h(B)),
2545
+ class: o(h(z)),
2546
2546
  "data-testid": "image-height-mode",
2547
2547
  value: M.value,
2548
- onChange: n[10] ||= (e) => R(e.target.value)
2548
+ onChange: n[10] ||= (e) => te(e.target.value)
2549
2549
  }, [b("option", Ei, r(h(s).image.heightAuto), 1), b("option", Di, r(h(s).image.heightCustom), 1)], 42, Ti)),
2550
- !h(q) && M.value === "custom" ? (a(), v("div", Oi, [b("input", {
2550
+ !h(K) && M.value === "custom" ? (a(), v("div", Oi, [b("input", {
2551
2551
  type: "number",
2552
2552
  "data-testid": "image-height-input",
2553
- class: o(h(z)),
2553
+ class: o(h(R)),
2554
2554
  value: e.block.height,
2555
2555
  min: "20",
2556
- onInput: n[11] ||= (e) => V(e.target.value)
2556
+ onInput: n[11] ||= (e) => B(e.target.value)
2557
2557
  }, null, 42, ki), b("span", { class: o(h(L)) }, "px", 2)])) : g("", !0)
2558
2558
  ]),
2559
2559
  _: 2
2560
- }, [h(K) ? {
2560
+ }, [h(G) ? {
2561
2561
  name: "label-actions",
2562
- fn: u(() => [p(Ct, {
2563
- linked: h(q),
2562
+ fn: u(() => [p(wt, {
2563
+ linked: h(K),
2564
2564
  "link-label": h(s).image.lockAspectRatio,
2565
2565
  "unlink-label": h(s).image.unlockAspectRatio,
2566
2566
  testid: "image-aspect-lock",
2567
- onToggle: Y
2567
+ onToggle: J
2568
2568
  }, null, 8, [
2569
2569
  "linked",
2570
2570
  "link-label",
@@ -2572,14 +2572,14 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2572
2572
  ])]),
2573
2573
  key: "0"
2574
2574
  } : void 0]), 1032, ["label"]),
2575
- p(At, {
2575
+ p(jt, {
2576
2576
  path: "borderRadius",
2577
2577
  "model-value": e.block.borderRadius,
2578
2578
  label: h(s).image.borderRadius,
2579
2579
  "testid-prefix": "image",
2580
- "onUpdate:modelValue": ne
2580
+ "onUpdate:modelValue": re
2581
2581
  }, null, 8, ["model-value", "label"]),
2582
- p(Dt, {
2582
+ p(Ot, {
2583
2583
  path: "border",
2584
2584
  "model-value": e.block.border,
2585
2585
  "testid-prefix": "image",
@@ -2590,7 +2590,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2590
2590
  class: "tpl:mb-3.5",
2591
2591
  path: "align"
2592
2592
  }, {
2593
- default: u(() => [p($, {
2593
+ default: u(() => [p(Q, {
2594
2594
  options: [
2595
2595
  {
2596
2596
  value: "left",
@@ -2655,7 +2655,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2655
2655
  },
2656
2656
  emits: ["update"],
2657
2657
  setup(e, { emit: t }) {
2658
- let n = e, i = t, { t: c } = H(), l = m(() => [
2658
+ let n = e, i = t, { t: c } = V(), l = m(() => [
2659
2659
  {
2660
2660
  key: "openInNewTab",
2661
2661
  label: c.menu.openInNewTab
@@ -2672,17 +2672,17 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2672
2672
  {
2673
2673
  value: "left",
2674
2674
  label: c.title.alignLeft,
2675
- icon: dt
2675
+ icon: ft
2676
2676
  },
2677
2677
  {
2678
2678
  value: "center",
2679
2679
  label: c.title.alignCenter,
2680
- icon: ut
2680
+ icon: dt
2681
2681
  },
2682
2682
  {
2683
2683
  value: "right",
2684
2684
  label: c.title.alignRight,
2685
- icon: lt
2685
+ icon: ut
2686
2686
  }
2687
2687
  ]);
2688
2688
  function f(e, t) {
@@ -2690,7 +2690,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2690
2690
  }
2691
2691
  function g() {
2692
2692
  let e = {
2693
- id: pe(),
2693
+ id: me(),
2694
2694
  text: "",
2695
2695
  url: "",
2696
2696
  openInNewTab: !1,
@@ -2721,7 +2721,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2721
2721
  }, {
2722
2722
  default: u(() => [b("input", {
2723
2723
  type: "text",
2724
- class: o([h(B), "tpl:flex-1"]),
2724
+ class: o([h(z), "tpl:flex-1"]),
2725
2725
  value: t.text,
2726
2726
  placeholder: h(c).menu.text,
2727
2727
  onInput: (e) => _(t.id, "text", e.target.value)
@@ -2731,7 +2731,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2731
2731
  class: o(h(I)),
2732
2732
  title: h(c).menu.removeItem,
2733
2733
  onClick: (e) => x(t.id)
2734
- }, [p(h(ft), {
2734
+ }, [p(h(pt), {
2735
2735
  size: 14,
2736
2736
  "stroke-width": 2
2737
2737
  })], 10, Ii)]),
@@ -2782,9 +2782,9 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2782
2782
  _: 2
2783
2783
  }, 1032, ["path", "label"])])
2784
2784
  ]))), 128)), b("button", {
2785
- class: o(h(R)),
2785
+ class: o(h(te)),
2786
2786
  onClick: g
2787
- }, [p(h(Z), {
2787
+ }, [p(h(X), {
2788
2788
  size: 14,
2789
2789
  "stroke-width": 2
2790
2790
  }), y(" " + r(h(c).menu.addItem), 1)], 2)])]),
@@ -2795,8 +2795,8 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2795
2795
  label: h(c).menu.fontFamily
2796
2796
  }, {
2797
2797
  default: u(() => [b("select", {
2798
- class: o(h(B)),
2799
- value: h(Y)(e.block.fontFamily),
2798
+ class: o(h(z)),
2799
+ value: h(J)(e.block.fontFamily),
2800
2800
  onChange: n[0] ||= (e) => f("fontFamily", e.target.value || void 0)
2801
2801
  }, [b("option", Bi, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
2802
2802
  key: e.value,
@@ -2808,7 +2808,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2808
2808
  path: "fontSize",
2809
2809
  label: h(c).menu.fontSize
2810
2810
  }, {
2811
- default: u(() => [p(xt, {
2811
+ default: u(() => [p(St, {
2812
2812
  "model-value": e.block.fontSize,
2813
2813
  min: 8,
2814
2814
  max: 48,
@@ -2841,7 +2841,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2841
2841
  path: "textAlign",
2842
2842
  label: h(c).menu.textAlign
2843
2843
  }, {
2844
- default: u(() => [p($, {
2844
+ default: u(() => [p(Q, {
2845
2845
  options: d.value,
2846
2846
  "model-value": e.block.textAlign,
2847
2847
  "onUpdate:modelValue": n[4] ||= (e) => f("textAlign", e)
@@ -2854,7 +2854,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2854
2854
  }, {
2855
2855
  default: u(() => [b("input", {
2856
2856
  type: "text",
2857
- class: o(h(B)),
2857
+ class: o(h(z)),
2858
2858
  value: e.block.separator,
2859
2859
  onInput: n[5] ||= (e) => f("separator", e.target.value)
2860
2860
  }, null, 42, Hi)]),
@@ -2874,7 +2874,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2874
2874
  path: "spacing",
2875
2875
  label: h(c).menu.spacing
2876
2876
  }, {
2877
- default: u(() => [p(xt, {
2877
+ default: u(() => [p(St, {
2878
2878
  "model-value": e.block.spacing,
2879
2879
  min: 0,
2880
2880
  max: 50,
@@ -2890,7 +2890,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2890
2890
  props: { block: {} },
2891
2891
  emits: ["update"],
2892
2892
  setup(e, { emit: t }) {
2893
- let n = t, { t: r } = H();
2893
+ let n = t, { t: r } = V();
2894
2894
  return (t, i) => (a(), w(A, {
2895
2895
  label: h(r).paragraph.paragraphSpacing,
2896
2896
  class: "tpl:mb-3.5",
@@ -2899,8 +2899,8 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2899
2899
  }, {
2900
2900
  default: u(() => [b("div", Wi, [b("input", {
2901
2901
  type: "number",
2902
- class: o(h(z)),
2903
- value: e.block.paragraphSpacing ?? h(W).paragraphGap,
2902
+ class: o(h(R)),
2903
+ value: e.block.paragraphSpacing ?? h(U).paragraphGap,
2904
2904
  min: "0",
2905
2905
  max: "64",
2906
2906
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
@@ -2911,7 +2911,7 @@ var ui = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, di = [
2911
2911
  });
2912
2912
  // src/utils/rebalanceColumnChildren.ts
2913
2913
  function qi(e, t) {
2914
- let n = q(t);
2914
+ let n = K(t);
2915
2915
  if (e.length === n) return e;
2916
2916
  if (e.length < n) {
2917
2917
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2935,7 +2935,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
2935
2935
  props: { block: {} },
2936
2936
  emits: ["update"],
2937
2937
  setup(e, { emit: t }) {
2938
- let n = e, i = t, { t: c } = H(), l = E(He, void 0), d = E(Ve, void 0), f = l !== void 0 && fe(l), _ = m(() => d !== !1 || !!n.block.wrapper), y = m(() => f && !n.block.wrapper), x = m(() => f && _.value), C = m(() => oe(n.block)?.applied === !0), T = m(() => [
2938
+ let n = e, i = t, { t: c } = V(), l = E(Ue, void 0), d = E(Re, void 0), f = l !== void 0 && pe(l), _ = m(() => d !== !1 || !!n.block.wrapper), y = m(() => f && !n.block.wrapper), x = m(() => f && _.value), C = m(() => se(n.block)?.applied === !0), T = m(() => [
2939
2939
  {
2940
2940
  value: "1",
2941
2941
  label: c.section.column1
@@ -3010,8 +3010,8 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3010
3010
  F({ borderRadius: e });
3011
3011
  }
3012
3012
  return (t, n) => (a(), v(S, null, [
3013
- b("div", Ji, [b("label", { class: o(h(V)) }, r(h(c).section.columns), 3), b("select", {
3014
- class: o(h(B)),
3013
+ b("div", Ji, [b("label", { class: o(h(B)) }, r(h(c).section.columns), 3), b("select", {
3014
+ class: o(h(z)),
3015
3015
  value: e.block.columns,
3016
3016
  onChange: D
3017
3017
  }, [(a(!0), v(S, null, s(T.value, (e) => (a(), v("option", {
@@ -3038,7 +3038,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3038
3038
  ])]),
3039
3039
  _: 1
3040
3040
  }, 8, ["label"])),
3041
- p(At, {
3041
+ p(jt, {
3042
3042
  path: "borderRadius",
3043
3043
  "model-value": e.block.borderRadius,
3044
3044
  label: h(c).section.borderRadius,
@@ -3046,7 +3046,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3046
3046
  "testid-prefix": "section",
3047
3047
  "onUpdate:modelValue": k
3048
3048
  }, null, 8, ["model-value", "label"]),
3049
- C.value ? g("", !0) : (a(), w(Dt, {
3049
+ C.value ? g("", !0) : (a(), w(Ot, {
3050
3050
  key: 1,
3051
3051
  path: "border",
3052
3052
  "model-value": e.block.border,
@@ -3129,7 +3129,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3129
3129
  },
3130
3130
  "onUpdate:modelValue": I
3131
3131
  }, null, 8, ["label", "model-value"]),
3132
- p(At, {
3132
+ p(jt, {
3133
3133
  path: "wrapper.borderRadius",
3134
3134
  "model-value": e.block.wrapper.borderRadius,
3135
3135
  label: h(c).section.borderRadius,
@@ -3146,13 +3146,13 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3146
3146
  props: { block: {} },
3147
3147
  emits: ["update"],
3148
3148
  setup(e, { emit: t }) {
3149
- let n = e, i = t, { t: c } = H();
3149
+ let n = e, i = t, { t: c } = V();
3150
3150
  function l(e, t) {
3151
3151
  i("update", { [e]: t });
3152
3152
  }
3153
3153
  function d() {
3154
3154
  let e = {
3155
- id: pe(),
3155
+ id: me(),
3156
3156
  platform: "facebook",
3157
3157
  url: ""
3158
3158
  };
@@ -3169,7 +3169,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3169
3169
  i("update", { icons: n.block.icons.filter((t) => t.id !== e) });
3170
3170
  }
3171
3171
  return (t, n) => (a(), v(S, null, [
3172
- b("div", ta, [b("label", { class: o(h(V)) }, r(h(c).social.icons), 3), b("div", na, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
3172
+ b("div", ta, [b("label", { class: o(h(B)) }, r(h(c).social.icons), 3), b("div", na, [(a(!0), v(S, null, s(e.block.icons, (e) => (a(), v("div", {
3173
3173
  key: e.id,
3174
3174
  class: "tpl:flex tpl:flex-col tpl:gap-1.5 tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-2"
3175
3175
  }, [b("div", ra, [p(A, {
@@ -3178,10 +3178,10 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3178
3178
  }, {
3179
3179
  default: u(() => [b("select", {
3180
3180
  "data-testid": "social-platform-select",
3181
- class: o([h(B), "tpl:flex-1"]),
3181
+ class: o([h(z), "tpl:flex-1"]),
3182
3182
  value: e.platform,
3183
3183
  onChange: (t) => f(e.id, "platform", t.target.value)
3184
- }, [(a(!0), v(S, null, s(h(Me), (e) => (a(), v("option", {
3184
+ }, [(a(!0), v(S, null, s(h(Ne), (e) => (a(), v("option", {
3185
3185
  key: e,
3186
3186
  value: e
3187
3187
  }, r(h(c).social.platforms[e]), 9, aa))), 128))], 42, ia)]),
@@ -3190,7 +3190,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3190
3190
  class: o(h(I)),
3191
3191
  title: h(c).social.removeIcon,
3192
3192
  onClick: (t) => m(e.id)
3193
- }, [p(h(ft), {
3193
+ }, [p(h(pt), {
3194
3194
  size: 14,
3195
3195
  "stroke-width": 2
3196
3196
  })], 10, oa)]), p(A, {
@@ -3209,9 +3209,9 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3209
3209
  ])]),
3210
3210
  _: 2
3211
3211
  }, 1032, ["path", "label"])]))), 128)), b("button", {
3212
- class: o(h(R)),
3212
+ class: o(h(te)),
3213
3213
  onClick: d
3214
- }, [p(h(Z), {
3214
+ }, [p(h(X), {
3215
3215
  size: 14,
3216
3216
  "stroke-width": 2
3217
3217
  }), y(" " + r(h(c).social.addIcon), 1)], 2)])]),
@@ -3221,7 +3221,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3221
3221
  path: "iconStyle"
3222
3222
  }, {
3223
3223
  default: u(() => [b("select", {
3224
- class: o(h(B)),
3224
+ class: o(h(z)),
3225
3225
  value: e.block.iconStyle,
3226
3226
  onChange: n[0] ||= (e) => l("iconStyle", e.target.value)
3227
3227
  }, [
@@ -3241,7 +3241,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3241
3241
  }, {
3242
3242
  default: u(() => [b("select", {
3243
3243
  "data-testid": "social-tone-select",
3244
- class: o(h(B)),
3244
+ class: o(h(z)),
3245
3245
  value: e.block.iconTone ?? "brand",
3246
3246
  onChange: n[1] ||= (e) => l("iconTone", e.target.value)
3247
3247
  }, [
@@ -3256,7 +3256,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3256
3256
  class: "tpl:mb-3.5",
3257
3257
  path: "iconSize"
3258
3258
  }, {
3259
- default: u(() => [p($, {
3259
+ default: u(() => [p(Q, {
3260
3260
  options: [
3261
3261
  {
3262
3262
  value: "small",
@@ -3283,7 +3283,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3283
3283
  }, {
3284
3284
  default: u(() => [b("div", va, [b("input", {
3285
3285
  type: "number",
3286
- class: o(h(z)),
3286
+ class: o(h(R)),
3287
3287
  value: e.block.spacing,
3288
3288
  min: "0",
3289
3289
  max: "50",
@@ -3296,22 +3296,22 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3296
3296
  class: "tpl:mb-3.5",
3297
3297
  path: "align"
3298
3298
  }, {
3299
- default: u(() => [p($, {
3299
+ default: u(() => [p(Q, {
3300
3300
  options: [
3301
3301
  {
3302
3302
  value: "left",
3303
3303
  label: h(c).title.alignLeft,
3304
- icon: h(dt)
3304
+ icon: h(ft)
3305
3305
  },
3306
3306
  {
3307
3307
  value: "center",
3308
3308
  label: h(c).title.alignCenter,
3309
- icon: h(ut)
3309
+ icon: h(dt)
3310
3310
  },
3311
3311
  {
3312
3312
  value: "right",
3313
3313
  label: h(c).title.alignRight,
3314
- icon: h(lt)
3314
+ icon: h(ut)
3315
3315
  }
3316
3316
  ],
3317
3317
  "model-value": e.block.align,
@@ -3326,7 +3326,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3326
3326
  props: { block: {} },
3327
3327
  emits: ["update"],
3328
3328
  setup(e, { emit: t }) {
3329
- let n = t, { t: r } = H();
3329
+ let n = t, { t: r } = V();
3330
3330
  return (t, i) => (a(), w(A, {
3331
3331
  label: h(r).spacer.height,
3332
3332
  class: "tpl:mb-3.5",
@@ -3334,7 +3334,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3334
3334
  }, {
3335
3335
  default: u(() => [b("div", xa, [b("input", {
3336
3336
  type: "number",
3337
- class: o(h(z)),
3337
+ class: o(h(R)),
3338
3338
  value: e.block.height,
3339
3339
  min: "10",
3340
3340
  max: "100",
@@ -3358,15 +3358,15 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3358
3358
  },
3359
3359
  emits: ["update"],
3360
3360
  setup(e, { emit: t }) {
3361
- let n = e, i = t, { t: c } = H(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3361
+ let n = e, i = t, { t: c } = V(), l = m(() => n.block.rows.length > 0 ? n.block.rows[0].cells.length : 0);
3362
3362
  function d(e, t) {
3363
3363
  i("update", { [e]: t });
3364
3364
  }
3365
3365
  function f() {
3366
3366
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
3367
- id: pe(),
3367
+ id: me(),
3368
3368
  cells: Array.from({ length: e }, () => ({
3369
- id: pe(),
3369
+ id: me(),
3370
3370
  content: ""
3371
3371
  }))
3372
3372
  };
@@ -3379,7 +3379,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3379
3379
  let e = n.block.rows.map((e) => ({
3380
3380
  ...e,
3381
3381
  cells: [...e.cells, {
3382
- id: pe(),
3382
+ id: me(),
3383
3383
  content: ""
3384
3384
  }]
3385
3385
  }));
@@ -3393,12 +3393,12 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3393
3393
  i("update", { rows: t });
3394
3394
  }
3395
3395
  return (t, n) => (a(), v(S, null, [
3396
- b("div", Ta, [b("label", { class: o(h(V)) }, r(h(c).table.dimensions), 3), b("div", Ea, [b("div", Da, [b("span", Oa, r(h(c).table.rows), 1), b("div", ka, [
3396
+ b("div", Ta, [b("label", { class: o(h(B)) }, r(h(c).table.dimensions), 3), b("div", Ea, [b("div", Da, [b("span", Oa, r(h(c).table.rows), 1), b("div", ka, [
3397
3397
  b("button", {
3398
3398
  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",
3399
3399
  disabled: e.block.rows.length <= 1,
3400
3400
  onClick: n[0] ||= (t) => _(e.block.rows[e.block.rows.length - 1].id)
3401
- }, [p(h(X), {
3401
+ }, [p(h(Y), {
3402
3402
  size: 12,
3403
3403
  "stroke-width": 2
3404
3404
  })], 8, Aa),
@@ -3406,7 +3406,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3406
3406
  b("button", {
3407
3407
  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)]",
3408
3408
  onClick: f
3409
- }, [p(h(Z), {
3409
+ }, [p(h(X), {
3410
3410
  size: 12,
3411
3411
  "stroke-width": 2
3412
3412
  })])
@@ -3415,7 +3415,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3415
3415
  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",
3416
3416
  disabled: l.value <= 1,
3417
3417
  onClick: n[1] ||= (e) => x(l.value - 1)
3418
- }, [p(h(X), {
3418
+ }, [p(h(Y), {
3419
3419
  size: 12,
3420
3420
  "stroke-width": 2
3421
3421
  })], 8, Fa),
@@ -3423,7 +3423,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3423
3423
  b("button", {
3424
3424
  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)]",
3425
3425
  onClick: y
3426
- }, [p(h(Z), {
3426
+ }, [p(h(X), {
3427
3427
  size: 12,
3428
3428
  "stroke-width": 2
3429
3429
  })])
@@ -3455,7 +3455,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3455
3455
  }, {
3456
3456
  default: u(() => [p(M, {
3457
3457
  "model-value": e.block.headerBackgroundColor ?? "",
3458
- "seed-color": h(te),
3458
+ "seed-color": h(ne),
3459
3459
  placeholder: h(c).table.noHeaderBg,
3460
3460
  "onUpdate:modelValue": n[3] ||= (e) => d("headerBackgroundColor", e || null)
3461
3461
  }, null, 8, [
@@ -3483,7 +3483,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3483
3483
  }, {
3484
3484
  default: u(() => [b("div", La, [b("input", {
3485
3485
  type: "number",
3486
- class: o(h(z)),
3486
+ class: o(h(R)),
3487
3487
  value: e.block.borderWidth,
3488
3488
  min: "0",
3489
3489
  max: "10",
@@ -3498,7 +3498,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3498
3498
  }, {
3499
3499
  default: u(() => [b("div", za, [b("input", {
3500
3500
  type: "number",
3501
- class: o(h(z)),
3501
+ class: o(h(R)),
3502
3502
  value: e.block.cellPadding,
3503
3503
  min: "0",
3504
3504
  max: "30",
@@ -3512,8 +3512,8 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3512
3512
  path: "fontFamily"
3513
3513
  }, {
3514
3514
  default: u(() => [b("select", {
3515
- class: o(h(B)),
3516
- value: h(Y)(e.block.fontFamily),
3515
+ class: o(h(z)),
3516
+ value: h(J)(e.block.fontFamily),
3517
3517
  onChange: n[7] ||= (e) => d("fontFamily", e.target.value || void 0)
3518
3518
  }, [b("option", Ha, r(h(c).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3519
3519
  key: e.value,
@@ -3528,7 +3528,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3528
3528
  }, {
3529
3529
  default: u(() => [b("div", Wa, [b("input", {
3530
3530
  type: "number",
3531
- class: o(h(z)),
3531
+ class: o(h(R)),
3532
3532
  value: e.block.fontSize,
3533
3533
  min: "10",
3534
3534
  max: "32",
@@ -3552,22 +3552,22 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3552
3552
  class: "tpl:mb-3.5",
3553
3553
  path: "textAlign"
3554
3554
  }, {
3555
- default: u(() => [p($, {
3555
+ default: u(() => [p(Q, {
3556
3556
  options: [
3557
3557
  {
3558
3558
  value: "left",
3559
3559
  label: h(c).title.alignLeft,
3560
- icon: h(dt)
3560
+ icon: h(ft)
3561
3561
  },
3562
3562
  {
3563
3563
  value: "center",
3564
3564
  label: h(c).title.alignCenter,
3565
- icon: h(ut)
3565
+ icon: h(dt)
3566
3566
  },
3567
3567
  {
3568
3568
  value: "right",
3569
3569
  label: h(c).title.alignRight,
3570
- icon: h(lt)
3570
+ icon: h(ut)
3571
3571
  }
3572
3572
  ],
3573
3573
  "model-value": e.block.textAlign,
@@ -3585,7 +3585,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3585
3585
  },
3586
3586
  emits: ["update"],
3587
3587
  setup(e, { emit: t }) {
3588
- let n = t, { t: i } = H();
3588
+ let n = t, { t: i } = V();
3589
3589
  function c(e, t) {
3590
3590
  n("update", { [e]: t });
3591
3591
  }
@@ -3596,7 +3596,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3596
3596
  path: "level"
3597
3597
  }, {
3598
3598
  default: u(() => [b("select", {
3599
- class: o(h(B)),
3599
+ class: o(h(z)),
3600
3600
  value: e.block.level,
3601
3601
  onChange: n[0] ||= (e) => c("level", Number(e.target.value))
3602
3602
  }, [
@@ -3613,8 +3613,8 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3613
3613
  path: "fontFamily"
3614
3614
  }, {
3615
3615
  default: u(() => [b("select", {
3616
- class: o(h(B)),
3617
- value: h(Y)(e.block.fontFamily),
3616
+ class: o(h(z)),
3617
+ value: h(J)(e.block.fontFamily),
3618
3618
  onChange: n[1] ||= (e) => c("fontFamily", e.target.value || void 0)
3619
3619
  }, [b("option", $a, r(h(i).title.inheritFont), 1), (a(!0), v(S, null, s(e.fontFamilies, (e) => (a(), v("option", {
3620
3620
  key: e.value,
@@ -3638,22 +3638,22 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3638
3638
  class: "tpl:mb-3.5",
3639
3639
  path: "textAlign"
3640
3640
  }, {
3641
- default: u(() => [p($, {
3641
+ default: u(() => [p(Q, {
3642
3642
  options: [
3643
3643
  {
3644
3644
  value: "left",
3645
3645
  label: h(i).title.alignLeft,
3646
- icon: h(dt)
3646
+ icon: h(ft)
3647
3647
  },
3648
3648
  {
3649
3649
  value: "center",
3650
3650
  label: h(i).title.alignCenter,
3651
- icon: h(ut)
3651
+ icon: h(dt)
3652
3652
  },
3653
3653
  {
3654
3654
  value: "right",
3655
3655
  label: h(i).title.alignRight,
3656
- icon: h(lt)
3656
+ icon: h(ut)
3657
3657
  }
3658
3658
  ],
3659
3659
  "model-value": e.block.textAlign,
@@ -3678,14 +3678,14 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3678
3678
  props: { block: {} },
3679
3679
  emits: ["update"],
3680
3680
  setup(e, { emit: t }) {
3681
- let n = e, i = t, { t: s } = H(), c = E(Ue, null), l = E(Le, ce.liquid), d = we(), f = [
3681
+ let n = e, i = t, { t: s } = V(), c = E(We, null), l = E(ze, le.liquid), d = Te(), f = [
3682
3682
  300,
3683
3683
  400,
3684
3684
  500
3685
- ], x = m(() => !!c), C = m(() => U(n.block.url, l)), T = m(() => {
3685
+ ], x = m(() => !!c), C = m(() => H(n.block.url, l)), T = m(() => {
3686
3686
  let e = n.block.width;
3687
3687
  return e === "full" ? "full" : f.includes(e) ? String(e) : "custom";
3688
- }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = ct(() => {
3688
+ }), D = m(() => typeof n.block.height == "number" ? "custom" : "auto"), O = _(!1), { start: k } = lt(() => {
3689
3689
  O.value = !1;
3690
3690
  }, 1e3, { immediate: !1 });
3691
3691
  function j(e, t) {
@@ -3708,7 +3708,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3708
3708
  let t = Number(e);
3709
3709
  !Number.isFinite(t) || t <= 0 || j("height", t);
3710
3710
  }
3711
- async function R() {
3711
+ async function te() {
3712
3712
  let e = await c?.({ accept: ["images"] });
3713
3713
  d.alive && e && (j("thumbnailUrl", e.url), O.value = !0, k());
3714
3714
  }
@@ -3752,7 +3752,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3752
3752
  label: u(() => [y(r(h(s).video.placeholderUrl) + " ", 1), b("span", no, r(h(s).video.optional), 1)]),
3753
3753
  default: u(() => [b("input", {
3754
3754
  type: "url",
3755
- class: o(h(B)),
3755
+ class: o(h(z)),
3756
3756
  value: e.block.placeholderUrl || "",
3757
3757
  placeholder: h(s).video.placeholderUrlPlaceholder,
3758
3758
  title: h(s).video.placeholderUrlTooltip,
@@ -3783,8 +3783,8 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3783
3783
  color: "var(--tpl-primary)",
3784
3784
  "background-color": "var(--tpl-bg)"
3785
3785
  },
3786
- onClick: R
3787
- }, [p(h(Ie), {
3786
+ onClick: te
3787
+ }, [p(h(Le), {
3788
3788
  size: 14,
3789
3789
  "stroke-width": 1.5
3790
3790
  }), y(" " + r(h(s).image.browseMedia), 1)])) : g("", !0)]),
@@ -3809,7 +3809,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3809
3809
  path: "width"
3810
3810
  }, {
3811
3811
  default: u(() => [b("select", {
3812
- class: o(h(B)),
3812
+ class: o(h(z)),
3813
3813
  "data-testid": "video-width-mode",
3814
3814
  value: T.value,
3815
3815
  onChange: n[5] ||= (e) => M(e.target.value)
@@ -3822,7 +3822,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3822
3822
  ], 42, ao), T.value === "custom" ? (a(), v("div", co, [b("input", {
3823
3823
  type: "number",
3824
3824
  "data-testid": "video-width-input",
3825
- class: o(h(z)),
3825
+ class: o(h(R)),
3826
3826
  value: e.block.width,
3827
3827
  min: "20",
3828
3828
  onInput: n[6] ||= (e) => F(e.target.value)
@@ -3835,14 +3835,14 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3835
3835
  path: "height"
3836
3836
  }, {
3837
3837
  default: u(() => [b("select", {
3838
- class: o(h(B)),
3838
+ class: o(h(z)),
3839
3839
  "data-testid": "video-height-mode",
3840
3840
  value: D.value,
3841
3841
  onChange: n[7] ||= (e) => I(e.target.value)
3842
3842
  }, [b("option", fo, r(h(s).video.heightAuto), 1), b("option", po, r(h(s).video.heightCustom), 1)], 42, uo), D.value === "custom" ? (a(), v("div", mo, [b("input", {
3843
3843
  type: "number",
3844
3844
  "data-testid": "video-height-input",
3845
- class: o(h(z)),
3845
+ class: o(h(R)),
3846
3846
  value: e.block.height,
3847
3847
  min: "20",
3848
3848
  onInput: n[8] ||= (e) => ee(e.target.value)
@@ -3854,7 +3854,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3854
3854
  class: "tpl:mb-3.5",
3855
3855
  path: "align"
3856
3856
  }, {
3857
- default: u(() => [p($, {
3857
+ default: u(() => [p(Q, {
3858
3858
  options: [
3859
3859
  {
3860
3860
  value: "left",
@@ -3885,9 +3885,9 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3885
3885
  "duplicate"
3886
3886
  ],
3887
3887
  setup(e, { emit: t }) {
3888
- let n = T(() => import("./CountdownToolbar-BtP0n0yZ.js")), o = e, s = t, { t: c } = H(), l = rt(), u = Ke(Ge, "Toolbar"), d = E(qe, []), f = m(() => o.block.type), _ = m(() => J(o.block)), y = m(() => {
3888
+ let n = T(() => import("./CountdownToolbar-BV9yQi9k.js")), o = e, s = t, { t: c } = V(), l = it(), u = Je(Ke, "Toolbar"), d = E(qe, []), f = m(() => o.block.type), _ = m(() => q(o.block)), y = m(() => {
3889
3889
  if (_.value) return d.find((e) => e.type === o.block.customType);
3890
- }), x = m(() => _.value ? y.value?.name ?? o.block.customType : Ce(f.value, c)), S = m(() => ge(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
3890
+ }), x = m(() => _.value ? y.value?.name ?? o.block.customType : we(f.value, c)), S = m(() => _e(u.fonts.value, "fontFamily" in o.block ? o.block.fontFamily : void 0));
3891
3891
  function C(e) {
3892
3892
  l.value && s("update", e);
3893
3893
  }
@@ -3899,11 +3899,11 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3899
3899
  disabled: !h(l),
3900
3900
  inert: !h(l),
3901
3901
  class: "tpl:contents"
3902
- }, [b("div", xo, [b("div", So, [h(ve)[f.value] ? (a(), w(i(h(ve)[f.value]), {
3902
+ }, [b("div", xo, [b("div", So, [h(ye)[f.value] ? (a(), w(i(h(ye)[f.value]), {
3903
3903
  key: 0,
3904
3904
  size: 16,
3905
3905
  "stroke-width": 1.5
3906
- })) : _.value ? (a(), w(h(Oe), {
3906
+ })) : _.value ? (a(), w(h(ke), {
3907
3907
  key: 1,
3908
3908
  size: 16,
3909
3909
  "stroke-width": 1.5
@@ -3911,14 +3911,14 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3911
3911
  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)]",
3912
3912
  title: h(c).toolbar.duplicate,
3913
3913
  onClick: o[0] ||= (e) => s("duplicate")
3914
- }, [p(h(pt), {
3914
+ }, [p(h(mt), {
3915
3915
  size: 14,
3916
3916
  "stroke-width": 2
3917
3917
  })], 8, To), b("button", {
3918
3918
  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)]",
3919
3919
  title: h(c).toolbar.delete,
3920
3920
  onClick: o[1] ||= (e) => s("delete")
3921
- }, [p(h(at), {
3921
+ }, [p(h(ot), {
3922
3922
  size: 14,
3923
3923
  "stroke-width": 2
3924
3924
  })], 8, Eo)])]), b("div", Do, [_.value ? (a(), w(ni, {
@@ -3947,7 +3947,7 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3947
3947
  key: 5,
3948
3948
  block: e.block,
3949
3949
  onUpdate: C
3950
- }, null, 8, ["block"])) : f.value === "button" ? (a(), w(Ut, {
3950
+ }, null, 8, ["block"])) : f.value === "button" ? (a(), w(Wt, {
3951
3951
  key: 6,
3952
3952
  block: e.block,
3953
3953
  "font-families": S.value,
@@ -3989,5 +3989,5 @@ var Ji = { class: "tpl:mb-3.5" }, Yi = ["value"], Xi = ["value"], Zi = {
3989
3989
  onUpdate: C
3990
3990
  }, null, 8, ["block", "is-first-section"])])], 8, bo)], 8, yo));
3991
3991
  }
3992
- }), ko = /* @__PURE__ */ e({ default: () => Ao }), Ao = /*#__PURE__*/ ye(Oo, [["__scopeId", "data-v-206f038f"]]);
3993
- export { Ao as default, xt as n, $ as r, ko as t };
3992
+ }), ko = /* @__PURE__ */ e({ default: () => Ao }), Ao = /*#__PURE__*/ be(Oo, [["__scopeId", "data-v-206f038f"]]);
3993
+ export { Ao as default, St as n, Q as r, ko as t };