@templatical/editor 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/README.md +1 -1
  2. package/dist/{AiChatSidebar-DxPHFNoT.js → AiChatSidebar-CdjTb9ej.js} +14 -14
  3. package/dist/{AiFeatureMenu-C8GVqu1d.js → AiFeatureMenu-DKm7VYCs.js} +7 -7
  4. package/dist/{BlockIssueBadge-BShkuJis.js → BlockIssueBadge-BdpJwim0.js} +5 -5
  5. package/dist/{BlockPreviewCanvas-tzAtDkXH.js → BlockPreviewCanvas-D_sowkf0.js} +8 -8
  6. package/dist/CloudHeaderExtras-CI8RR9hG.js +55 -0
  7. package/dist/{CloudPanels-Dgw7tb4R.js → CloudPanels-1hwFiJ0G.js} +39 -68
  8. package/dist/CollaborationNotices-BWpKzueF.js +73 -0
  9. package/dist/CollaboratorBar-D87phJsw.js +123 -0
  10. package/dist/{CommentsPanel-DiWzYtnZ.js → CommentsPanel-BUvUzO3T.js} +2 -2
  11. package/dist/{CommentsSidebar-BOqj16Al.js → CommentsSidebar-J65znlrH.js} +14 -14
  12. package/dist/{CountdownBlock-zx39Dyby.js → CountdownBlock-DPQXWRvU.js} +4 -4
  13. package/dist/{CountdownToolbar-C4y3Ft7H.js → CountdownToolbar-CLMIwfK7.js} +7 -7
  14. package/dist/{DesignReferenceSidebar-BWAi3eQQ.js → DesignReferenceSidebar-BTwCFgz8.js} +13 -13
  15. package/dist/{IssuesPanel-C-x3I012.js → IssuesPanel-DeeVsfG7.js} +8 -8
  16. package/dist/{LoadingTrack-6XsqodoY.js → LoadingTrack-BXOptf5g.js} +1 -1
  17. package/dist/{LogicTagInsertButton-B1_Wy0AN.js → LogicTagInsertButton-CR5E4jSG.js} +17 -17
  18. package/dist/{MediaEditModal-ByOvznRC.js → MediaEditModal-C_wxoUMG.js} +3 -3
  19. package/dist/{MediaPanels-9mDBv4aL.js → MediaPanels-BVXDkqtH.js} +2 -2
  20. package/dist/{MergeTagInput-fOewuF27.js → MergeTagInput-BEw_r0PJ.js} +3 -3
  21. package/dist/{MergeTagModeToggle-BXamLcv7.js → MergeTagModeToggle-CJTpFmVd.js} +7 -7
  22. package/dist/{ParagraphEditor-BVjOwwHx.js → ParagraphEditor-zLV44z-R.js} +19 -19
  23. package/dist/{RestoreVersionDialog-BEKXx9xk.js → RestoreVersionDialog-BaDpy3cL.js} +6 -6
  24. package/dist/{RichTextEditorContent-D7kp7iig.js → RichTextEditorContent-CsvniFlI.js} +9 -9
  25. package/dist/{SaveBlockDialog-SJu0lecx.js → SaveBlockDialog-DzWURF_e.js} +12 -12
  26. package/dist/{SavedBlocksBrowserModal-DbmIS5uK.js → SavedBlocksBrowserModal-B8DCFW7t.js} +14 -14
  27. package/dist/{SavedBlocksPanels-Dr5Fxx9Z.js → SavedBlocksPanels-B3Af8ns2.js} +2 -2
  28. package/dist/{SavedBlocksPickBar-DnEWBZJy.js → SavedBlocksPickBar-Dj11-Lqp.js} +5 -5
  29. package/dist/{TemplateScoringPanel-ynbGl-sr.js → TemplateScoringPanel-Ba9sgvjS.js} +16 -16
  30. package/dist/{TemplateSettings-Bi01S3H3.js → TemplateSettings-Cu5X9DgA.js} +11 -11
  31. package/dist/{TestEmailModal-CbRY8HQx.js → TestEmailModal-BeRYV3eg.js} +14 -14
  32. package/dist/{TestEmailPanel-NAOmt3xi.js → TestEmailPanel-B8c3fQi2.js} +2 -2
  33. package/dist/{TitleEditor-Cc3DHbuN.js → TitleEditor-CvpNUoAp.js} +11 -11
  34. package/dist/{ToggleSwitch-Ozc7YU38.js → ToggleSwitch-DHweVJOr.js} +2 -2
  35. package/dist/{Toolbar-B-2lO0I8.js → Toolbar-BadDSkkF.js} +426 -429
  36. package/dist/{TplModal-Bz4-IZ9R.js → TplModal-BZgi9Tes.js} +5 -5
  37. package/dist/{VersionHistoryMenu-CjV1d1zk.js → VersionHistoryMenu-BRlcQ8wX.js} +10 -10
  38. package/dist/{VersionHistoryPanels-BtwxrKJn.js → VersionHistoryPanels-DGkllN3a.js} +2 -2
  39. package/dist/{VersionPreviewBanner-BLAei1kj.js → VersionPreviewBanner-F-811aps.js} +4 -4
  40. package/dist/{WrapperBlock-D0qgNqjD.js → WrapperBlock-DiiaxpMb.js} +5 -5
  41. package/dist/{blockTypeIcons-CEDZytqP.js → blockTypeIcons-CayLluou.js} +2 -2
  42. package/dist/bundle-stats.json +7 -7
  43. package/dist/{ca-CbNzJM3I.js → ca-DSJwJ5ov.js} +23 -1
  44. package/dist/cdn/chunks/{AiChatSidebar-Dk0rJBQN.js → AiChatSidebar-yXJ85Zcg.js} +8 -8
  45. package/dist/cdn/chunks/{AiChatSidebar-Dk0rJBQN.js.map → AiChatSidebar-yXJ85Zcg.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiFeatureMenu-B7b0w8ZS.js → AiFeatureMenu-4ydjrhsQ.js} +6 -6
  47. package/dist/cdn/chunks/{AiFeatureMenu-B7b0w8ZS.js.map → AiFeatureMenu-4ydjrhsQ.js.map} +1 -1
  48. package/dist/cdn/chunks/{BlockIssueBadge-C7sdnkrF.js → BlockIssueBadge-D1VBS_6x.js} +5 -5
  49. package/dist/cdn/chunks/{BlockIssueBadge-C7sdnkrF.js.map → BlockIssueBadge-D1VBS_6x.js.map} +1 -1
  50. package/dist/cdn/chunks/{BlockPreviewCanvas-vK5tBazr.js → BlockPreviewCanvas-m2tWRyWv.js} +8 -8
  51. package/dist/cdn/chunks/{BlockPreviewCanvas-vK5tBazr.js.map → BlockPreviewCanvas-m2tWRyWv.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudHeaderExtras-B4fhuwc_.js → CloudHeaderExtras-DEkRww7n.js} +16 -20
  53. package/dist/cdn/chunks/CloudHeaderExtras-DEkRww7n.js.map +1 -0
  54. package/dist/cdn/chunks/{CloudPanels-awqHfJqC.js → CloudPanels-XufhBZYF.js} +38 -67
  55. package/dist/cdn/chunks/CloudPanels-XufhBZYF.js.map +1 -0
  56. package/dist/cdn/chunks/CollaborationNotices-CBvKEj1Q.js +75 -0
  57. package/dist/cdn/chunks/CollaborationNotices-CBvKEj1Q.js.map +1 -0
  58. package/dist/cdn/chunks/CollaboratorBar-DWW54Bn_.js +72 -0
  59. package/dist/cdn/chunks/CollaboratorBar-DWW54Bn_.js.map +1 -0
  60. package/dist/cdn/chunks/{CommentsPanel-CbzxwsyI.js → CommentsPanel-R8YLLO3v.js} +3 -3
  61. package/dist/cdn/chunks/{CommentsPanel-CbzxwsyI.js.map → CommentsPanel-R8YLLO3v.js.map} +1 -1
  62. package/dist/cdn/chunks/{CommentsSidebar-DWPHZuQm.js → CommentsSidebar-96NZHVq3.js} +5 -5
  63. package/dist/cdn/chunks/{CommentsSidebar-DWPHZuQm.js.map → CommentsSidebar-96NZHVq3.js.map} +1 -1
  64. package/dist/cdn/chunks/{CountdownBlock-Dasj191h.js → CountdownBlock-DB4JNdqh.js} +5 -5
  65. package/dist/cdn/chunks/{CountdownBlock-Dasj191h.js.map → CountdownBlock-DB4JNdqh.js.map} +1 -1
  66. package/dist/cdn/chunks/{CountdownToolbar-Cqg8FUH-.js → CountdownToolbar-tmiTPEXm.js} +8 -8
  67. package/dist/cdn/chunks/{CountdownToolbar-Cqg8FUH-.js.map → CountdownToolbar-tmiTPEXm.js.map} +1 -1
  68. package/dist/cdn/chunks/{DesignReferenceSidebar-BW9cHnA9.js → DesignReferenceSidebar-D14IIu_P.js} +39 -39
  69. package/dist/cdn/chunks/{DesignReferenceSidebar-BW9cHnA9.js.map → DesignReferenceSidebar-D14IIu_P.js.map} +1 -1
  70. package/dist/cdn/chunks/{IssuesPanel-cXf9ywA4.js → IssuesPanel-BoPiCLGc.js} +8 -8
  71. package/dist/cdn/chunks/{IssuesPanel-cXf9ywA4.js.map → IssuesPanel-BoPiCLGc.js.map} +1 -1
  72. package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js → LoadingTrack-YU44CM8X.js} +2 -2
  73. package/dist/cdn/chunks/{LoadingTrack-DbH97JR9.js.map → LoadingTrack-YU44CM8X.js.map} +1 -1
  74. package/dist/cdn/chunks/{LogicTagInsertButton-BMB9vShs.js → LogicTagInsertButton-BJ2t2vxC.js} +20 -20
  75. package/dist/cdn/chunks/{LogicTagInsertButton-BMB9vShs.js.map → LogicTagInsertButton-BJ2t2vxC.js.map} +1 -1
  76. package/dist/cdn/chunks/{MediaEditModal-zXfcArr4.js → MediaEditModal-DD0SZ-S3.js} +3 -3
  77. package/dist/cdn/chunks/{MediaEditModal-zXfcArr4.js.map → MediaEditModal-DD0SZ-S3.js.map} +1 -1
  78. package/dist/cdn/chunks/{MediaPanels-Cp4XB_dH.js → MediaPanels-CkdJ_kGp.js} +3 -3
  79. package/dist/cdn/chunks/{MediaPanels-Cp4XB_dH.js.map → MediaPanels-CkdJ_kGp.js.map} +1 -1
  80. package/dist/cdn/chunks/{MergeTagInput-DLqrA9co.js → MergeTagInput-7wXX71DH.js} +4 -4
  81. package/dist/cdn/chunks/{MergeTagInput-DLqrA9co.js.map → MergeTagInput-7wXX71DH.js.map} +1 -1
  82. package/dist/cdn/chunks/{MergeTagModeToggle-BRiJzzn5.js → MergeTagModeToggle-r9vHH4u_.js} +6 -6
  83. package/dist/cdn/chunks/{MergeTagModeToggle-BRiJzzn5.js.map → MergeTagModeToggle-r9vHH4u_.js.map} +1 -1
  84. package/dist/cdn/chunks/{ParagraphEditor-D4aq9eeC.js → ParagraphEditor-CJQjRHXV.js} +29 -29
  85. package/dist/cdn/chunks/{ParagraphEditor-D4aq9eeC.js.map → ParagraphEditor-CJQjRHXV.js.map} +1 -1
  86. package/dist/cdn/chunks/{RestoreVersionDialog-BgR6RXSb.js → RestoreVersionDialog-C5cxBRKi.js} +6 -6
  87. package/dist/cdn/chunks/{RestoreVersionDialog-BgR6RXSb.js.map → RestoreVersionDialog-C5cxBRKi.js.map} +1 -1
  88. package/dist/cdn/chunks/{RichTextEditorContent-C4DMAn0g.js → RichTextEditorContent-BfE7Bkge.js} +8 -8
  89. package/dist/cdn/chunks/{RichTextEditorContent-C4DMAn0g.js.map → RichTextEditorContent-BfE7Bkge.js.map} +1 -1
  90. package/dist/cdn/chunks/{SaveBlockDialog-BaIsQd09.js → SaveBlockDialog-BKbjUnPM.js} +10 -10
  91. package/dist/cdn/chunks/{SaveBlockDialog-BaIsQd09.js.map → SaveBlockDialog-BKbjUnPM.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CtnB58p_.js → SavedBlocksBrowserModal-BMtyUrUP.js} +10 -10
  93. package/dist/cdn/chunks/{SavedBlocksBrowserModal-CtnB58p_.js.map → SavedBlocksBrowserModal-BMtyUrUP.js.map} +1 -1
  94. package/dist/cdn/chunks/{SavedBlocksPanels-BhEOMzEQ.js → SavedBlocksPanels-s_gxi1im.js} +3 -3
  95. package/dist/cdn/chunks/{SavedBlocksPanels-BhEOMzEQ.js.map → SavedBlocksPanels-s_gxi1im.js.map} +1 -1
  96. package/dist/cdn/chunks/{SavedBlocksPickBar-CcdqTEIp.js → SavedBlocksPickBar-B8WHk5mI.js} +6 -6
  97. package/dist/cdn/chunks/{SavedBlocksPickBar-CcdqTEIp.js.map → SavedBlocksPickBar-B8WHk5mI.js.map} +1 -1
  98. package/dist/cdn/chunks/{TemplateScoringPanel-BrWqJCSP.js → TemplateScoringPanel-BBPnHILC.js} +6 -6
  99. package/dist/cdn/chunks/{TemplateScoringPanel-BrWqJCSP.js.map → TemplateScoringPanel-BBPnHILC.js.map} +1 -1
  100. package/dist/cdn/chunks/{TemplateSettings-BkkWTDHD.js → TemplateSettings-CtrzzQWl.js} +10 -10
  101. package/dist/cdn/chunks/{TemplateSettings-BkkWTDHD.js.map → TemplateSettings-CtrzzQWl.js.map} +1 -1
  102. package/dist/cdn/chunks/{TestEmailModal-V5mwHsUV.js → TestEmailModal-DuZKYMWD.js} +13 -13
  103. package/dist/cdn/chunks/{TestEmailModal-V5mwHsUV.js.map → TestEmailModal-DuZKYMWD.js.map} +1 -1
  104. package/dist/cdn/chunks/{TestEmailPanel-DxrKuctP.js → TestEmailPanel-DERaCdpG.js} +3 -3
  105. package/dist/cdn/chunks/{TestEmailPanel-DxrKuctP.js.map → TestEmailPanel-DERaCdpG.js.map} +1 -1
  106. package/dist/cdn/chunks/{TitleEditor-CsZiG3TT.js → TitleEditor-CEgxjtUX.js} +14 -14
  107. package/dist/cdn/chunks/{TitleEditor-CsZiG3TT.js.map → TitleEditor-CEgxjtUX.js.map} +1 -1
  108. package/dist/cdn/chunks/{ToggleSwitch-BB-bQADJ.js → ToggleSwitch-DGQ7iRc-.js} +3 -3
  109. package/dist/cdn/chunks/{ToggleSwitch-BB-bQADJ.js.map → ToggleSwitch-DGQ7iRc-.js.map} +1 -1
  110. package/dist/cdn/chunks/{Toolbar-C_x2TfFk.js → Toolbar-GFIZQHzw.js} +440 -443
  111. package/dist/cdn/chunks/Toolbar-GFIZQHzw.js.map +1 -0
  112. package/dist/cdn/chunks/{TplModal-DC_eodTV.js → TplModal-DDrbWJcE.js} +5 -5
  113. package/dist/cdn/chunks/{TplModal-DC_eodTV.js.map → TplModal-DDrbWJcE.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionHistoryMenu-DXnM5Df2.js → VersionHistoryMenu-MlxsUmuT.js} +6 -6
  115. package/dist/cdn/chunks/{VersionHistoryMenu-DXnM5Df2.js.map → VersionHistoryMenu-MlxsUmuT.js.map} +1 -1
  116. package/dist/cdn/chunks/{VersionHistoryPanels-DXSqmaLS.js → VersionHistoryPanels-DVOV8QLv.js} +3 -3
  117. package/dist/cdn/chunks/{VersionHistoryPanels-DXSqmaLS.js.map → VersionHistoryPanels-DVOV8QLv.js.map} +1 -1
  118. package/dist/cdn/chunks/{VersionPreviewBanner-DKyN6BhO.js → VersionPreviewBanner-BQwRKc6S.js} +5 -5
  119. package/dist/cdn/chunks/{VersionPreviewBanner-DKyN6BhO.js.map → VersionPreviewBanner-BQwRKc6S.js.map} +1 -1
  120. package/dist/cdn/chunks/{WrapperBlock-gG_Bleug.js → WrapperBlock-CFuP4R0c.js} +6 -6
  121. package/dist/cdn/chunks/{WrapperBlock-gG_Bleug.js.map → WrapperBlock-CFuP4R0c.js.map} +1 -1
  122. package/dist/cdn/chunks/{blockTypeIcons-HrMJDfVg.js → blockTypeIcons-BnAd8qsP.js} +2 -2
  123. package/dist/cdn/chunks/{blockTypeIcons-HrMJDfVg.js.map → blockTypeIcons-BnAd8qsP.js.map} +1 -1
  124. package/dist/cdn/chunks/{ca-CbNzJM3I.js → ca-DSJwJ5ov.js} +24 -2
  125. package/dist/cdn/chunks/ca-DSJwJ5ov.js.map +1 -0
  126. package/dist/{cloud-B5xwm_4X.js → cdn/chunks/cloud-CI_fgDyy.js} +116 -293
  127. package/dist/cdn/chunks/cloud-CI_fgDyy.js.map +1 -0
  128. package/dist/cdn/chunks/{createCloudRuntime-Vd0N4elZ.js → createCloudRuntime-DiYCJ21w.js} +127 -169
  129. package/dist/cdn/chunks/createCloudRuntime-DiYCJ21w.js.map +1 -0
  130. package/dist/{de-DMquBpZM.js → cdn/chunks/de-CBE6O79z.js} +25 -1
  131. package/dist/cdn/chunks/de-CBE6O79z.js.map +1 -0
  132. package/dist/{de-mMY5yQJu.js → cdn/chunks/de-D_atmUVB.js} +2 -4
  133. package/dist/cdn/chunks/{de-mMY5yQJu.js.map → de-D_atmUVB.js.map} +1 -1
  134. package/dist/cdn/chunks/{dist-MNQYSEWU.js → dist-DdwjXLme.js} +3 -3
  135. package/dist/cdn/chunks/{dist-MNQYSEWU.js.map → dist-DdwjXLme.js.map} +1 -1
  136. package/dist/cdn/chunks/{dist-CjL6JHML.js → dist-Doy3r07H.js} +2 -2
  137. package/dist/cdn/chunks/{dist-CjL6JHML.js.map → dist-Doy3r07H.js.map} +1 -1
  138. package/dist/cdn/chunks/{draggable-DrsNwZuB.js → draggable-akeQH_JP.js} +1682 -1683
  139. package/dist/cdn/chunks/draggable-akeQH_JP.js.map +1 -0
  140. package/dist/cdn/chunks/{editor-modal-vEEmZ8Tu.js → editor-modal-HJBy9kLj.js} +88 -88
  141. package/dist/cdn/chunks/{editor-modal-vEEmZ8Tu.js.map → editor-modal-HJBy9kLj.js.map} +1 -1
  142. package/dist/cdn/chunks/{en-C8Mp71sO.js → en-CDexnk0p.js} +24 -2
  143. package/dist/cdn/chunks/en-CDexnk0p.js.map +1 -0
  144. package/dist/{en-ChVeGQBY.js → cdn/chunks/en-DhJLnaBx.js} +2 -4
  145. package/dist/cdn/chunks/en-DhJLnaBx.js.map +1 -0
  146. package/dist/cdn/chunks/en-Ve-PWSXu.js +1 -0
  147. package/dist/{es-Byq4tthI.js → cdn/chunks/es-BE42B6uN.js} +25 -1
  148. package/dist/cdn/chunks/es-BE42B6uN.js.map +1 -0
  149. package/dist/cdn/chunks/{extensions-hJ9VqzDc.js → extensions-koOuDeZS.js} +23 -23
  150. package/dist/cdn/chunks/{extensions-hJ9VqzDc.js.map → extensions-koOuDeZS.js.map} +1 -1
  151. package/dist/{fr-B3j35HEw.js → cdn/chunks/fr-DlJFPDQR.js} +25 -1
  152. package/dist/cdn/chunks/fr-DlJFPDQR.js.map +1 -0
  153. package/dist/cdn/chunks/{icons-aTYwH5-g.js → icons-CjlNV8xD.js} +46 -46
  154. package/dist/cdn/chunks/{icons-aTYwH5-g.js.map → icons-CjlNV8xD.js.map} +1 -1
  155. package/dist/{ja-D7txAuGS.js → cdn/chunks/ja-CUT8gkNI.js} +25 -1
  156. package/dist/cdn/chunks/ja-CUT8gkNI.js.map +1 -0
  157. package/dist/cdn/chunks/{keys-HI-INbkz.js → keys-UAWhQ3zW.js} +2 -2
  158. package/dist/cdn/chunks/{keys-HI-INbkz.js.map → keys-UAWhQ3zW.js.map} +1 -1
  159. package/dist/{nl-ClJ3BY3F.js → cdn/chunks/nl-bXWqqRyS.js} +25 -1
  160. package/dist/cdn/chunks/nl-bXWqqRyS.js.map +1 -0
  161. package/dist/cdn/chunks/{preRenderCustomBlocks-ByfuSjtL.js → preRenderCustomBlocks-DqKbdTJ8.js} +5 -5
  162. package/dist/cdn/chunks/{preRenderCustomBlocks-ByfuSjtL.js.map → preRenderCustomBlocks-DqKbdTJ8.js.map} +1 -1
  163. package/dist/cdn/chunks/{pt-BR-DibcXcmv.js → pt-BR-2_H4-wlb.js} +24 -2
  164. package/dist/cdn/chunks/pt-BR-2_H4-wlb.js.map +1 -0
  165. package/dist/{pt-BR-CoCwRUi0.js → cdn/chunks/pt-BR-BphMoUTw.js} +2 -4
  166. package/dist/cdn/chunks/{pt-BR-CoCwRUi0.js.map → pt-BR-BphMoUTw.js.map} +1 -1
  167. package/dist/cdn/chunks/{pusher-C8DeiO2X.js → pusher-Cs4GGEtd.js} +2 -2
  168. package/dist/cdn/chunks/pusher-Cs4GGEtd.js.map +1 -0
  169. package/dist/cdn/chunks/{rolldown-runtime-B0aSnxlc.js → rolldown-runtime-Y_bBpyJl.js} +1 -1
  170. package/dist/cdn/chunks/socialIcons-CkZSYpoG.js +2091 -0
  171. package/dist/cdn/chunks/socialIcons-CkZSYpoG.js.map +1 -0
  172. package/dist/cdn/chunks/{src-DlFlC9Tt.js → src-B1e5SSYP.js} +84 -84
  173. package/dist/cdn/chunks/{src-DlFlC9Tt.js.map → src-B1e5SSYP.js.map} +1 -1
  174. package/dist/cdn/chunks/{src-dZ4D_tuP.js → src-B77z1iw4.js} +117 -117
  175. package/dist/cdn/chunks/src-B77z1iw4.js.map +1 -0
  176. package/dist/cdn/chunks/{src-DYCDeBDM.js → src-CvLTYGdO.js} +549 -315
  177. package/dist/cdn/chunks/src-CvLTYGdO.js.map +1 -0
  178. package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +2 -4
  179. package/dist/cdn/chunks/{styleConstants-D1Jz-TFU.js.map → styleConstants-v1dNKgJf.js.map} +1 -1
  180. package/dist/cdn/chunks/timeouts-o5Y9BuqI.js +6 -0
  181. package/dist/cdn/chunks/timeouts-o5Y9BuqI.js.map +1 -0
  182. package/dist/cdn/chunks/{tiptap-BPigZk5G.js → tiptap-B1RfWFzB.js} +3 -3
  183. package/dist/cdn/chunks/tiptap-B1RfWFzB.js.map +1 -0
  184. package/dist/cdn/chunks/{useAliveFlag-DCB96vzR.js → useAliveFlag-PuXh83UK.js} +2 -2
  185. package/dist/cdn/chunks/{useAliveFlag-DCB96vzR.js.map → useAliveFlag-PuXh83UK.js.map} +1 -1
  186. package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js → useCloudI18n-kp07GQmk.js} +3 -3
  187. package/dist/cdn/chunks/{useCloudI18n-BBF4waXO.js.map → useCloudI18n-kp07GQmk.js.map} +1 -1
  188. package/dist/cdn/chunks/{useEditorCore-Bb2UcB20.js → useEditorCore-DpCFvHg_.js} +440 -419
  189. package/dist/cdn/chunks/useEditorCore-DpCFvHg_.js.map +1 -0
  190. package/dist/cdn/chunks/useEditorRoot-5SBqm90x.js +10 -0
  191. package/dist/cdn/chunks/{useEditorRoot-CTc6O8al.js.map → useEditorRoot-5SBqm90x.js.map} +1 -1
  192. package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js → useI18n-DEqtEgOs.js} +3 -3
  193. package/dist/cdn/chunks/{useI18n-DUlyyIJJ.js.map → useI18n-DEqtEgOs.js.map} +1 -1
  194. package/dist/cdn/chunks/{useLogicTag-HsyUCQtl.js → useLogicTag-X8bc5qNl.js} +4 -4
  195. package/dist/cdn/chunks/{useLogicTag-HsyUCQtl.js.map → useLogicTag-X8bc5qNl.js.map} +1 -1
  196. package/dist/cdn/chunks/{useMergeTag-Dg9pE85U.js → useMergeTag-DFoOexIQ.js} +6 -6
  197. package/dist/cdn/chunks/{useMergeTag-Dg9pE85U.js.map → useMergeTag-DFoOexIQ.js.map} +1 -1
  198. package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js → usePopoverPosition-Cz9-XiXR.js} +3 -3
  199. package/dist/cdn/chunks/{usePopoverPosition-IbaW6-Ao.js.map → usePopoverPosition-Cz9-XiXR.js.map} +1 -1
  200. package/dist/cdn/chunks/{useScrollToBlock-uUa601I4.js → useScrollToBlock-MNzurEZV.js} +3 -3
  201. package/dist/cdn/chunks/{useScrollToBlock-uUa601I4.js.map → useScrollToBlock-MNzurEZV.js.map} +1 -1
  202. package/dist/cdn/chunks/{withCurrentFont-oLcATrQ8.js → withCurrentFont-D-f61ghC.js} +2 -2
  203. package/dist/cdn/chunks/{withCurrentFont-oLcATrQ8.js.map → withCurrentFont-D-f61ghC.js.map} +1 -1
  204. package/dist/cdn/editor.css +1 -1
  205. package/dist/cdn/editor.js +1319 -1066
  206. package/dist/cdn/editor.js.map +1 -1
  207. package/dist/{check-ClwqRMgv.js → check-DQQzkmIC.js} +1 -1
  208. package/dist/{chevron-down-te6qn-zE.js → chevron-down-CIF4bdon.js} +1 -1
  209. package/dist/{chevron-right-W2hbH1FM.js → chevron-right-Cg7Xu-ev.js} +1 -1
  210. package/dist/{chevron-up-Bf5Zo7o4.js → chevron-up-Csu7ISD-.js} +1 -1
  211. package/dist/{circle-alert-CIEGV5DN.js → circle-alert-YUvIJAgY.js} +1 -1
  212. package/dist/{clock-Y4cx0gkJ.js → clock-CnSIGKQW.js} +1 -1
  213. package/dist/{cdn/chunks/cloud-BHClP3e2.js → cloud-YUYDtdHt.js} +308 -569
  214. package/dist/{copy-BEcsAlfB.js → copy-CUC43md_.js} +1 -1
  215. package/dist/{createCloudRuntime-zNPkF6T9.js → createCloudRuntime-BMDRjL0k.js} +126 -168
  216. package/dist/{createLucideIcon-CYHXK9hn.js → createLucideIcon-BcP1sjdp.js} +6 -6
  217. package/dist/{cdn/chunks/de-DMquBpZM.js → de-CBE6O79z.js} +23 -3
  218. package/dist/{cdn/chunks/de-mMY5yQJu.js → de-D_atmUVB.js} +0 -6
  219. package/dist/{dist-CUWI-IvA.js → dist-Bv_GBr2l.js} +1 -1
  220. package/dist/{dist-DAAJogrx.js → dist-CCqn-RqE.js} +2 -2
  221. package/dist/{dist-DuufrR8O.js → dist-CNqjHA8e.js} +2 -2
  222. package/dist/{dist-tsmnQugO.js → dist-DBG3nh3k.js} +503 -273
  223. package/dist/{editor-modal-AlVLkU91.js → editor-modal--7_9A6j-.js} +20 -20
  224. package/dist/en-BHCMzqib.js +1 -0
  225. package/dist/{en-C8Mp71sO.js → en-CDexnk0p.js} +23 -1
  226. package/dist/{cdn/chunks/en-ChVeGQBY.js → en-DhJLnaBx.js} +0 -6
  227. package/dist/{cdn/chunks/es-Byq4tthI.js → es-BE42B6uN.js} +23 -3
  228. package/dist/{extensions-pjO8VGkM.js → extensions-zwsZlWjH.js} +23 -23
  229. package/dist/{eye-Ddnz8nnm.js → eye-B1bua-ck.js} +1 -1
  230. package/dist/{cdn/chunks/fr-B3j35HEw.js → fr-DlJFPDQR.js} +23 -3
  231. package/dist/{image-up-CM_HC0Dx.js → image-up-BqiO7KCO.js} +1 -1
  232. package/dist/index.d.ts +290 -35
  233. package/dist/{info-DXLmzoeY.js → info-x26nGOo2.js} +1 -1
  234. package/dist/{cdn/chunks/ja-D7txAuGS.js → ja-CUT8gkNI.js} +23 -3
  235. package/dist/{keys-BKFq19a2.js → keys-BymCnLHD.js} +1 -1
  236. package/dist/{link-Cel46wgo.js → link-CezhndyR.js} +1 -1
  237. package/dist/{list-Cl0GwiV9.js → list-DQqdptI0.js} +1 -1
  238. package/dist/{loader-circle-uAwpvfys.js → loader-circle-DCEeoYoi.js} +1 -1
  239. package/dist/{message-circle-DWU1pTM_.js → message-circle-BLGzfv_7.js} +1 -1
  240. package/dist/{cdn/chunks/nl-ClJ3BY3F.js → nl-bXWqqRyS.js} +23 -3
  241. package/dist/{package-CbyG_yU_.js → package-D_kEQCMU.js} +1 -1
  242. package/dist/{pencil-BzoDcwKu.js → pencil-Dct8zGLy.js} +1 -1
  243. package/dist/{plus-8cDvoCjZ.js → plus-BDd0gTEm.js} +1 -1
  244. package/dist/{preRenderCustomBlocks-DMP5RuHl.js → preRenderCustomBlocks-CtKJecE-.js} +3 -3
  245. package/dist/{pt-BR-DibcXcmv.js → pt-BR-2_H4-wlb.js} +23 -1
  246. package/dist/{cdn/chunks/pt-BR-CoCwRUi0.js → pt-BR-BphMoUTw.js} +0 -6
  247. package/dist/{refresh-cw-9WinWixo.js → refresh-cw-tGMRDxr8.js} +1 -1
  248. package/dist/{runtime-dom.esm-bundler-lFF-QG3j.js → runtime-dom.esm-bundler-DYn1z2Xf.js} +1 -1
  249. package/dist/{search-CqgGq1gG.js → search-Bm2cCQpe.js} +1 -1
  250. package/dist/{send-Ceo3c9Db.js → send-sVLaKZ7f.js} +1 -1
  251. package/dist/{shield-check-uDAwur5D.js → shield-check-YhsbXfQc.js} +1 -1
  252. package/dist/{smartphone-CcLaCpGK.js → smartphone-B2W81p02.js} +1 -1
  253. package/dist/socialIcons-Bwv-49EB.js +2167 -0
  254. package/dist/{sparkles-Do9XjAuT.js → sparkles-a1qkBZ8X.js} +1 -1
  255. package/dist/style.css +1 -1
  256. package/dist/{styleConstants-D1Jz-TFU.js → styleConstants-v1dNKgJf.js} +1 -3
  257. package/dist/templatical-editor.js +1409 -1156
  258. package/dist/{text-align-start-DvzC0HQA.js → text-align-start-CTuwQ5YW.js} +1 -1
  259. package/dist/timeouts-o5Y9BuqI.js +4 -0
  260. package/dist/{trash-vlINTx32.js → trash-I3D2peFQ.js} +1 -1
  261. package/dist/{triangle-alert-MRYSJ9T2.js → triangle-alert-CenxmLRE.js} +1 -1
  262. package/dist/{upload-CtNOI6J2.js → upload-uU2cK0Ce.js} +1 -1
  263. package/dist/{useAliveFlag-Dd06mRxe.js → useAliveFlag-BjP0Gxza.js} +1 -1
  264. package/dist/{useCloudI18n-Nwqo7pI_.js → useCloudI18n-CGVEZV3o.js} +2 -2
  265. package/dist/{useEditorCore-PvErWWsp.js → useEditorCore-DRbMRe8F.js} +806 -785
  266. package/dist/{useEditorRoot-BD3piYtD.js → useEditorRoot-BVm2-1N8.js} +2 -2
  267. package/dist/{useI18n-CxVEpurs.js → useI18n-CSh4gO5c.js} +2 -2
  268. package/dist/{useLogicTag-BHn67tDd.js → useLogicTag-zcI6BWIf.js} +3 -3
  269. package/dist/{useMergeTag-CRkm5Ig6.js → useMergeTag-C-iBLlp0.js} +5 -5
  270. package/dist/{usePopoverPosition-CwnH1o5g.js → usePopoverPosition-CMcsMBtK.js} +2 -2
  271. package/dist/{useScrollToBlock-CXmcHQQN.js → useScrollToBlock-CdCQK9QQ.js} +3 -3
  272. package/dist/{vue.runtime.esm-bundler-CAzmrXdD.js → vue.runtime.esm-bundler-DV0Wx4r_.js} +1079 -1080
  273. package/dist/{withCurrentFont-CxRGeHO3.js → withCurrentFont-D62njRLu.js} +1 -1
  274. package/dist/{x-Cd6SFw8r.js → x-KFQ4S-Kz.js} +1 -1
  275. package/package.json +12 -12
  276. package/dist/CloudHeaderExtras-CUSftQdm.js +0 -59
  277. package/dist/CollaboratorBar-5rfopCPx.js +0 -103
  278. package/dist/cdn/chunks/CloudHeaderExtras-B4fhuwc_.js.map +0 -1
  279. package/dist/cdn/chunks/CloudPanels-awqHfJqC.js.map +0 -1
  280. package/dist/cdn/chunks/CollaboratorBar-CS0ivqkr.js +0 -52
  281. package/dist/cdn/chunks/CollaboratorBar-CS0ivqkr.js.map +0 -1
  282. package/dist/cdn/chunks/Toolbar-C_x2TfFk.js.map +0 -1
  283. package/dist/cdn/chunks/ca-CbNzJM3I.js.map +0 -1
  284. package/dist/cdn/chunks/cloud-BHClP3e2.js.map +0 -1
  285. package/dist/cdn/chunks/createCloudRuntime-Vd0N4elZ.js.map +0 -1
  286. package/dist/cdn/chunks/de-DMquBpZM.js.map +0 -1
  287. package/dist/cdn/chunks/draggable-DrsNwZuB.js.map +0 -1
  288. package/dist/cdn/chunks/en-C8Mp71sO.js.map +0 -1
  289. package/dist/cdn/chunks/en-ChVeGQBY.js.map +0 -1
  290. package/dist/cdn/chunks/en-eWpiXyZu.js +0 -1
  291. package/dist/cdn/chunks/es-Byq4tthI.js.map +0 -1
  292. package/dist/cdn/chunks/fr-B3j35HEw.js.map +0 -1
  293. package/dist/cdn/chunks/ja-D7txAuGS.js.map +0 -1
  294. package/dist/cdn/chunks/nl-ClJ3BY3F.js.map +0 -1
  295. package/dist/cdn/chunks/pt-BR-DibcXcmv.js.map +0 -1
  296. package/dist/cdn/chunks/pusher-C8DeiO2X.js.map +0 -1
  297. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js +0 -1279
  298. package/dist/cdn/chunks/socialIcons-C_lnkpG6.js.map +0 -1
  299. package/dist/cdn/chunks/src-DYCDeBDM.js.map +0 -1
  300. package/dist/cdn/chunks/src-dZ4D_tuP.js.map +0 -1
  301. package/dist/cdn/chunks/timeouts-Cv2jvusx.js +0 -6
  302. package/dist/cdn/chunks/timeouts-Cv2jvusx.js.map +0 -1
  303. package/dist/cdn/chunks/tiptap-BPigZk5G.js.map +0 -1
  304. package/dist/cdn/chunks/useEditorCore-Bb2UcB20.js.map +0 -1
  305. package/dist/cdn/chunks/useEditorRoot-CTc6O8al.js +0 -10
  306. package/dist/en-B0FUfNwz.js +0 -1
  307. package/dist/socialIcons-PTiwhLoC.js +0 -1359
  308. package/dist/timeouts-Cv2jvusx.js +0 -4
@@ -1,30 +1,30 @@
1
- import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { B as t, E as n, F as r, H as i, I as a, N as o, Q as s, R as c, S as l, U as u, X as d, Y as f, at as p, b as m, ct as h, f as g, g as _, h as v, lt as y, m as b, o as x, p as S, s as C, u as w, ut as T, x as E, y as D } from "./draggable-DrsNwZuB.js";
3
- import { Ct as O, Ft as k, It as A, J as j, O as ee, Ot as M, St as N, Tt as te, i as P, jt as ne, kt as F, nt as re, r as ie, wt as ae, xt as I } from "./src-DYCDeBDM.js";
4
- import { C as oe, c as se, d as ce, f as le, g as ue, h as de, i as fe, j as pe, l as me, m as he, o as ge, p as L, r as _e, u as ve, v as R } from "./socialIcons-C_lnkpG6.js";
5
- import { _ as ye } from "./dist-CjL6JHML.js";
6
- import { $ as be, C as xe, G as z, L as Se, P as Ce, d as we, g as Te, h as Ee, n as De, p as Oe, v as ke, x as Ae } from "./keys-HI-INbkz.js";
7
- import "./timeouts-Cv2jvusx.js";
8
- import { t as B } from "./useI18n-DUlyyIJJ.js";
9
- import { o as je } from "./usePopoverPosition-IbaW6-Ao.js";
10
- import { At as Me, B as Ne, O as Pe, Ot as Fe, Pt as Ie, Rt as Le, W as V, _ as Re, c as ze, ct as Be, et as Ve, f as He, h as Ue, it as We, mt as Ge, n as Ke, pt as qe, rt as Je, tt as Ye, v as Xe } from "./icons-aTYwH5-g.js";
11
- import { t as Ze } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { t as Qe } from "./useAliveFlag-DCB96vzR.js";
13
- import { _ as $e, b as et, c as tt, g as H, h as U, m as W, p as G, r as nt, v as rt } from "./styleConstants-D1Jz-TFU.js";
14
- import { t as it } from "./blockTypeIcons-HrMJDfVg.js";
15
- import { c as K } from "./LogicTagInsertButton-BMB9vShs.js";
16
- import { n as at, t as q } from "./ToggleSwitch-BB-bQADJ.js";
17
- import { n as ot, t as st } from "./withCurrentFont-oLcATrQ8.js";
18
- import { t as J } from "./MergeTagInput-DLqrA9co.js";
1
+ import { n as e } from "./rolldown-runtime-Y_bBpyJl.js";
2
+ import { B as t, E as n, F as r, H as i, I as a, N as o, Q as s, R as c, S as l, U as u, X as d, Y as f, at as p, b as m, ct as h, f as g, g as _, h as v, lt as y, m as b, o as x, p as S, s as C, u as w, ut as T, x as E, y as D } from "./draggable-akeQH_JP.js";
3
+ import { At as O, Bt as k, D as A, Dt as j, Et as M, It as N, Nt as P, Ot as ee, Pt as F, Vt as te, et as ne, kt as re, n as ie, q as I, r as L, vt as ae } from "./src-CvLTYGdO.js";
4
+ import { C as oe, M as se, c as ce, d as le, f as ue, g as de, h as fe, i as pe, l as me, m as he, o as ge, p as R, r as z, u as _e, v as ve } from "./socialIcons-CkZSYpoG.js";
5
+ import { _ as ye } from "./dist-Doy3r07H.js";
6
+ import { $ as be, C as xe, G as Se, L as Ce, P as we, d as Te, g as Ee, h as De, n as Oe, p as ke, v as Ae, x as je } from "./keys-UAWhQ3zW.js";
7
+ import "./timeouts-o5Y9BuqI.js";
8
+ import { t as B } from "./useI18n-DEqtEgOs.js";
9
+ import { o as Me } from "./usePopoverPosition-Cz9-XiXR.js";
10
+ import { At as Ne, B as Pe, O as Fe, Ot as Ie, Pt as Le, Rt as Re, W as V, _ as ze, et as Be, f as Ve, h as He, it as Ue, lt as We, mt as Ge, n as Ke, pt as qe, rt as Je, s as Ye, tt as Xe, v as Ze } from "./icons-CjlNV8xD.js";
11
+ import { t as Qe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { t as $e } from "./useAliveFlag-PuXh83UK.js";
13
+ import { _ as et, b as tt, c as nt, g as H, h as U, m as W, p as G, r as rt, v as it } from "./styleConstants-v1dNKgJf.js";
14
+ import { t as at } from "./blockTypeIcons-BnAd8qsP.js";
15
+ import { c as K } from "./LogicTagInsertButton-BJ2t2vxC.js";
16
+ import { n as ot, t as q } from "./ToggleSwitch-DGQ7iRc-.js";
17
+ import { n as st, t as ct } from "./withCurrentFont-D-f61ghC.js";
18
+ import { t as J } from "./MergeTagInput-7wXX71DH.js";
19
19
  //#region src/components/SlidingPillSelect.vue?vue&type=script&setup=true&lang.ts
20
- var ct = [
20
+ var lt = [
21
21
  "aria-checked",
22
22
  "aria-label",
23
23
  "disabled",
24
24
  "aria-disabled",
25
25
  "title",
26
26
  "onClick"
27
- ], lt = { key: 1 }, Y = /* @__PURE__ */ l({
27
+ ], ut = { key: 1 }, Y = /* @__PURE__ */ l({
28
28
  __name: "SlidingPillSelect",
29
29
  props: {
30
30
  options: {},
@@ -69,9 +69,9 @@ var ct = [
69
69
  key: 0,
70
70
  size: 14,
71
71
  "stroke-width": 2
72
- })) : (o(), _("span", lt, T(t.label), 1))], 12, ct))), 128))], 4));
72
+ })) : (o(), _("span", ut, T(t.label), 1))], 12, lt))), 128))], 4));
73
73
  }
74
- }), ut = { class: "tpl:flex tpl:items-stretch" }, dt = [
74
+ }), dt = { class: "tpl:flex tpl:items-stretch" }, ft = [
75
75
  "data-testid",
76
76
  "value",
77
77
  "min",
@@ -92,7 +92,7 @@ var ct = [
92
92
  let t = e.target;
93
93
  t.validity?.badInput || n("update:modelValue", Number(t.value));
94
94
  }
95
- return (t, n) => (o(), _("div", ut, [S("input", {
95
+ return (t, n) => (o(), _("div", dt, [S("input", {
96
96
  type: "number",
97
97
  "data-testid": e.testid,
98
98
  class: h(p(W)),
@@ -100,14 +100,14 @@ var ct = [
100
100
  min: e.min,
101
101
  max: e.max,
102
102
  onInput: r
103
- }, null, 42, dt), S("span", { class: h(p(U)) }, T(e.suffix), 3)]));
103
+ }, null, 42, ft), S("span", { class: h(p(U)) }, T(e.suffix), 3)]));
104
104
  }
105
- }), ft = [
105
+ }), pt = [
106
106
  "aria-pressed",
107
107
  "aria-label",
108
108
  "title",
109
109
  "data-testid"
110
- ], pt = /* @__PURE__ */ l({
110
+ ], mt = /* @__PURE__ */ l({
111
111
  __name: "LinkToggle",
112
112
  props: {
113
113
  linked: { type: Boolean },
@@ -126,20 +126,20 @@ var ct = [
126
126
  title: e.linked ? e.unlinkLabel : e.linkLabel,
127
127
  "data-testid": e.testid,
128
128
  onClick: r[0] ||= (e) => n("toggle")
129
- }, [e.linked ? (o(), b(p(Be), {
129
+ }, [e.linked ? (o(), b(p(We), {
130
130
  key: 0,
131
131
  size: 14,
132
132
  "stroke-width": 2
133
- })) : (o(), b(p(ze), {
133
+ })) : (o(), b(p(Ye), {
134
134
  key: 1,
135
135
  size: 14,
136
136
  "stroke-width": 2
137
- }))], 10, ft));
137
+ }))], 10, pt));
138
138
  }
139
- }), mt = { class: "tpl:mb-3.5" }, ht = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, gt = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, _t = {
139
+ }), ht = { class: "tpl:mb-3.5" }, gt = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, _t = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, vt = {
140
140
  key: 0,
141
141
  class: "tpl:mb-3.5"
142
- }, vt = { class: "tpl:mb-3.5" }, yt = { class: "tpl:mb-3.5" }, bt = /* @__PURE__ */ l({
142
+ }, yt = { class: "tpl:mb-3.5" }, bt = { class: "tpl:mb-3.5" }, xt = /* @__PURE__ */ l({
143
143
  __name: "BorderControl",
144
144
  props: {
145
145
  modelValue: {},
@@ -165,11 +165,11 @@ var ct = [
165
165
  let f = s("top"), y = g(() => r.modelValue?.[d.value ? "top" : f.value] ?? c), b = (e) => !!e && e.width > 0;
166
166
  function x(e) {
167
167
  if (d.value) {
168
- i("update:modelValue", b(e) ? A(e) : void 0);
168
+ i("update:modelValue", b(e) ? te(e) : void 0);
169
169
  return;
170
170
  }
171
171
  let t = {
172
- ...r.modelValue ?? A(c),
172
+ ...r.modelValue ?? te(c),
173
173
  [f.value]: e
174
174
  }, n = F.some((e) => b(t[e]));
175
175
  i("update:modelValue", n ? t : void 0);
@@ -195,14 +195,14 @@ var ct = [
195
195
  let e = r.modelValue;
196
196
  if (!e) return;
197
197
  let t = b(e[f.value]) ? e[f.value] : F.map((t) => e[t]).find(b);
198
- i("update:modelValue", t ? A(t) : void 0);
198
+ i("update:modelValue", t ? te(t) : void 0);
199
199
  }
200
200
  let O = g(() => F.map((e) => ({
201
201
  value: e,
202
202
  label: a.spacingControl[e]
203
203
  })));
204
- return (t, n) => (o(), _("div", mt, [
205
- S("div", ht, [S("span", gt, T(p(a).blockSettings.border), 1), m(pt, {
204
+ return (t, n) => (o(), _("div", ht, [
205
+ S("div", gt, [S("span", _t, T(p(a).blockSettings.border), 1), m(mt, {
206
206
  linked: d.value,
207
207
  "link-label": p(a).blockSettings.linkSides,
208
208
  "unlink-label": p(a).blockSettings.unlinkSides,
@@ -214,19 +214,19 @@ var ct = [
214
214
  "unlink-label",
215
215
  "testid"
216
216
  ])]),
217
- d.value ? v("", !0) : (o(), _("div", _t, [S("label", { class: h(p(H)) }, T(p(a).blockSettings.borderSide), 3), m(Y, {
217
+ d.value ? v("", !0) : (o(), _("div", vt, [S("label", { class: h(p(H)) }, T(p(a).blockSettings.borderSide), 3), m(Y, {
218
218
  options: O.value,
219
219
  "model-value": f.value,
220
220
  "onUpdate:modelValue": n[0] ||= (e) => f.value = e
221
221
  }, null, 8, ["options", "model-value"])])),
222
- S("div", vt, [S("label", { class: h(p(H)) }, T(p(a).blockSettings.borderWidth), 3), m(X, {
222
+ S("div", yt, [S("label", { class: h(p(H)) }, T(p(a).blockSettings.borderWidth), 3), m(X, {
223
223
  "model-value": y.value.width,
224
224
  min: 0,
225
225
  suffix: "px",
226
226
  testid: `${e.testidPrefix}-border-width-input`,
227
227
  "onUpdate:modelValue": C
228
228
  }, null, 8, ["model-value", "testid"])]),
229
- y.value.width > 0 ? (o(), _(w, { key: 1 }, [S("div", yt, [S("label", { class: h(p(H)) }, T(p(a).blockSettings.borderStyle), 3), m(Y, {
229
+ y.value.width > 0 ? (o(), _(w, { key: 1 }, [S("div", bt, [S("label", { class: h(p(H)) }, T(p(a).blockSettings.borderStyle), 3), m(Y, {
230
230
  options: [
231
231
  {
232
232
  value: "solid",
@@ -249,10 +249,10 @@ var ct = [
249
249
  }, null, 8, ["model-value"])])], 64)) : v("", !0)
250
250
  ]));
251
251
  }
252
- }), xt = { class: "tpl:mb-3.5" }, St = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, Ct = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, wt = {
252
+ }), St = { class: "tpl:mb-3.5" }, Ct = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, wt = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Tt = {
253
253
  key: 1,
254
254
  class: "tpl:grid tpl:grid-cols-2 tpl:gap-2"
255
- }, Tt = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Et = /* @__PURE__ */ l({
255
+ }, Et = { class: "tpl:mb-1 tpl:block tpl:text-[10px] tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Dt = /* @__PURE__ */ l({
256
256
  __name: "RadiusControl",
257
257
  props: {
258
258
  modelValue: {},
@@ -280,7 +280,7 @@ var ct = [
280
280
  bottomRight: e,
281
281
  bottomLeft: e
282
282
  } : e;
283
- }), f = g(() => M.every((e) => d.value[e] === d.value.topLeft)), h = s(f.value);
283
+ }), f = g(() => P.every((e) => d.value[e] === d.value.topLeft)), h = s(f.value);
284
284
  t(f, (e) => {
285
285
  !e && h.value && (h.value = !1);
286
286
  });
@@ -299,7 +299,7 @@ var ct = [
299
299
  function C() {
300
300
  h.value = !h.value, h.value && a("update:modelValue", d.value.topLeft);
301
301
  }
302
- return (t, n) => (o(), _("div", xt, [S("div", St, [S("span", Ct, T(e.label), 1), m(pt, {
302
+ return (t, n) => (o(), _("div", St, [S("div", Ct, [S("span", wt, T(e.label), 1), m(mt, {
303
303
  linked: h.value,
304
304
  "link-label": p(c).blockSettings.linkCorners,
305
305
  "unlink-label": p(c).blockSettings.unlinkCorners,
@@ -322,7 +322,7 @@ var ct = [
322
322
  "model-value",
323
323
  "max",
324
324
  "testid"
325
- ])) : (o(), _("div", wt, [(o(), _(w, null, r(u, (t) => S("div", { key: t }, [S("label", Tt, T(p(c).blockSettings[l[t]]), 1), m(X, {
325
+ ])) : (o(), _("div", Tt, [(o(), _(w, null, r(u, (t) => S("div", { key: t }, [S("label", Et, T(p(c).blockSettings[l[t]]), 1), m(X, {
326
326
  "model-value": d.value[t],
327
327
  min: 0,
328
328
  max: e.max,
@@ -336,10 +336,10 @@ var ct = [
336
336
  "onUpdate:modelValue"
337
337
  ])])), 64))]))]));
338
338
  }
339
- }), Dt = { class: "tpl:mb-3.5" }, Ot = ["value"], kt = { value: "" }, At = ["value"], jt = { class: "tpl:mb-3.5" }, Mt = { class: "tpl:mb-3.5" }, Nt = { class: "tpl:mb-3.5" }, Pt = { class: "tpl:mb-3.5" }, Ft = { class: "tpl:mb-3.5" }, It = { class: "tpl:flex tpl:items-stretch" }, Lt = ["value"], Rt = { class: "tpl:mb-3.5" }, zt = ["value"], Bt = { value: "auto" }, Vt = { value: "full" }, Ht = { value: "custom" }, Ut = {
339
+ }), Ot = { class: "tpl:mb-3.5" }, kt = ["value"], At = { value: "" }, jt = ["value"], Mt = { class: "tpl:mb-3.5" }, Nt = { class: "tpl:mb-3.5" }, Pt = { class: "tpl:mb-3.5" }, Ft = { class: "tpl:mb-3.5" }, It = { class: "tpl:mb-3.5" }, Lt = { class: "tpl:flex tpl:items-stretch" }, Rt = ["value"], zt = { class: "tpl:mb-3.5" }, Bt = ["value"], Vt = { value: "auto" }, Ht = { value: "full" }, Ut = { value: "custom" }, Wt = {
340
340
  key: 0,
341
341
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
342
- }, Wt = ["value"], Gt = { class: "tpl:mb-3.5" }, Kt = 200, qt = /* @__PURE__ */ l({
342
+ }, Gt = ["value"], Kt = { class: "tpl:mb-3.5" }, qt = 200, Jt = /* @__PURE__ */ l({
343
343
  __name: "ButtonToolbar",
344
344
  props: {
345
345
  block: {},
@@ -352,27 +352,27 @@ var ct = [
352
352
  i("update", { [e]: t });
353
353
  }
354
354
  function l(e) {
355
- e === "full" ? c("width", "full") : e === "custom" ? c("width", typeof n.block.width == "number" ? n.block.width : Kt) : c("width", void 0);
355
+ e === "full" ? c("width", "full") : e === "custom" ? c("width", typeof n.block.width == "number" ? n.block.width : qt) : c("width", void 0);
356
356
  }
357
357
  function u(e) {
358
358
  let t = Number(e);
359
359
  !Number.isFinite(t) || t <= 0 || c("width", t);
360
360
  }
361
361
  return (t, n) => (o(), _(w, null, [
362
- S("div", Dt, [S("label", { class: h(p(H)) }, T(p(a).button.fontFamily), 3), S("select", {
362
+ S("div", Ot, [S("label", { class: h(p(H)) }, T(p(a).button.fontFamily), 3), S("select", {
363
363
  class: h(p(G)),
364
- value: p(st)(e.block.fontFamily),
364
+ value: p(ct)(e.block.fontFamily),
365
365
  onChange: n[0] ||= (e) => c("fontFamily", e.target.value || void 0)
366
- }, [S("option", kt, T(p(a).button.inheritFont), 1), (o(!0), _(w, null, r(e.fontFamilies, (e) => (o(), _("option", {
366
+ }, [S("option", At, T(p(a).button.inheritFont), 1), (o(!0), _(w, null, r(e.fontFamilies, (e) => (o(), _("option", {
367
367
  key: e.value,
368
368
  value: e.value
369
- }, T(e.label), 9, At))), 128))], 42, Ot)]),
370
- S("div", jt, [S("label", { class: h(p(H)) }, T(p(a).button.text), 3), m(J, {
369
+ }, T(e.label), 9, jt))), 128))], 42, kt)]),
370
+ S("div", Mt, [S("label", { class: h(p(H)) }, T(p(a).button.text), 3), m(J, {
371
371
  "model-value": e.block.text,
372
372
  type: "text",
373
373
  "onUpdate:modelValue": n[1] ||= (e) => c("text", e)
374
374
  }, null, 8, ["model-value"])]),
375
- S("div", Mt, [
375
+ S("div", Nt, [
376
376
  S("label", { class: h(p(H)) }, T(p(a).button.url), 3),
377
377
  m(J, {
378
378
  "model-value": e.block.url,
@@ -388,55 +388,55 @@ var ct = [
388
388
  "onUpdate:modelValue": n[3] ||= (e) => c("openInNewTab", e)
389
389
  }, null, 8, ["model-value", "label"])) : v("", !0)
390
390
  ]),
391
- S("div", Nt, [S("label", { class: h(p(H)) }, T(p(a).button.background), 3), m(K, {
391
+ S("div", Pt, [S("label", { class: h(p(H)) }, T(p(a).button.background), 3), m(K, {
392
392
  "model-value": e.block.backgroundColor,
393
393
  "allow-transparent": "",
394
394
  "onUpdate:modelValue": n[4] ||= (e) => c("backgroundColor", e)
395
395
  }, null, 8, ["model-value"])]),
396
- S("div", Pt, [S("label", { class: h(p(H)) }, T(p(a).button.textColor), 3), m(K, {
396
+ S("div", Ft, [S("label", { class: h(p(H)) }, T(p(a).button.textColor), 3), m(K, {
397
397
  "model-value": e.block.textColor,
398
398
  "onUpdate:modelValue": n[5] ||= (e) => c("textColor", e)
399
399
  }, null, 8, ["model-value"])]),
400
- m(bt, {
400
+ m(xt, {
401
401
  "model-value": e.block.border,
402
402
  "testid-prefix": "button",
403
403
  "onUpdate:modelValue": n[6] ||= (e) => c("border", e)
404
404
  }, null, 8, ["model-value"]),
405
- m(Et, {
405
+ m(Dt, {
406
406
  "model-value": e.block.borderRadius,
407
407
  label: p(a).button.borderRadius,
408
408
  max: 50,
409
409
  "testid-prefix": "button",
410
410
  "onUpdate:modelValue": n[7] ||= (e) => c("borderRadius", e)
411
411
  }, null, 8, ["model-value", "label"]),
412
- S("div", Ft, [S("label", { class: h(p(H)) }, T(p(a).button.fontSize), 3), S("div", It, [S("input", {
412
+ S("div", It, [S("label", { class: h(p(H)) }, T(p(a).button.fontSize), 3), S("div", Lt, [S("input", {
413
413
  type: "number",
414
414
  class: h(p(W)),
415
415
  value: e.block.fontSize,
416
416
  min: "10",
417
417
  max: "36",
418
418
  onInput: n[8] ||= (e) => c("fontSize", Number(e.target.value))
419
- }, null, 42, Lt), S("span", { class: h(p(U)) }, "px", 2)])]),
420
- S("div", Rt, [
419
+ }, null, 42, Rt), S("span", { class: h(p(U)) }, "px", 2)])]),
420
+ S("div", zt, [
421
421
  S("label", { class: h(p(H)) }, T(p(a).button.width), 3),
422
422
  S("select", {
423
423
  class: h(p(G)),
424
424
  value: s.value,
425
425
  onChange: n[9] ||= (e) => l(e.target.value)
426
426
  }, [
427
- S("option", Bt, T(p(a).button.widthAuto), 1),
428
- S("option", Vt, T(p(a).button.fullWidth), 1),
429
- S("option", Ht, T(p(a).button.widthCustom), 1)
430
- ], 42, zt),
431
- s.value === "custom" ? (o(), _("div", Ut, [S("input", {
427
+ S("option", Vt, T(p(a).button.widthAuto), 1),
428
+ S("option", Ht, T(p(a).button.fullWidth), 1),
429
+ S("option", Ut, T(p(a).button.widthCustom), 1)
430
+ ], 42, Bt),
431
+ s.value === "custom" ? (o(), _("div", Wt, [S("input", {
432
432
  type: "number",
433
433
  class: h(p(W)),
434
- value: typeof e.block.width == "number" ? e.block.width : Kt,
434
+ value: typeof e.block.width == "number" ? e.block.width : qt,
435
435
  min: "20",
436
436
  onInput: n[10] ||= (e) => u(e.target.value)
437
- }, null, 42, Wt), S("span", { class: h(p(U)) }, "px", 2)])) : v("", !0)
437
+ }, null, 42, Gt), S("span", { class: h(p(U)) }, "px", 2)])) : v("", !0)
438
438
  ]),
439
- S("div", Gt, [S("label", { class: h(p(H)) }, T(p(a).title.align), 3), m(Y, {
439
+ S("div", Kt, [S("label", { class: h(p(H)) }, T(p(a).title.align), 3), m(Y, {
440
440
  options: [
441
441
  {
442
442
  value: "left",
@@ -456,7 +456,7 @@ var ct = [
456
456
  }, null, 8, ["options", "model-value"])])
457
457
  ], 64));
458
458
  }
459
- }), Jt = { class: "spacing-control" }, Yt = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Xt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Zt = { class: "tpl:flex tpl:items-center" }, Qt = ["aria-label"], $t = ["value", "aria-label"], en = ["aria-label"], tn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, nn = { class: "tpl:flex tpl:items-center" }, rn = ["aria-label"], an = ["value", "aria-label"], on = ["aria-label"], sn = ["aria-label", "title"], cn = { class: "tpl:flex tpl:items-center" }, ln = ["aria-label"], un = ["value", "aria-label"], dn = ["aria-label"], fn = { class: "tpl:flex tpl:items-center" }, pn = ["aria-label"], mn = ["value", "aria-label"], hn = ["aria-label"], Z = "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)]", gn = "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)]", _n = /*#__PURE__*/ Ze(/* @__PURE__ */ l({
459
+ }), Yt = { class: "spacing-control" }, Xt = { class: "tpl:mb-2 tpl:block tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Zt = { class: "tpl:flex tpl:flex-col tpl:items-center tpl:gap-1.5" }, Qt = { class: "tpl:flex tpl:items-center" }, $t = ["aria-label"], en = ["value", "aria-label"], tn = ["aria-label"], nn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, rn = { class: "tpl:flex tpl:items-center" }, an = ["aria-label"], on = ["value", "aria-label"], sn = ["aria-label"], cn = ["aria-label", "title"], ln = { class: "tpl:flex tpl:items-center" }, un = ["aria-label"], dn = ["value", "aria-label"], fn = ["aria-label"], pn = { class: "tpl:flex tpl:items-center" }, mn = ["aria-label"], hn = ["value", "aria-label"], gn = ["aria-label"], Z = "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)]", _n = "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)]", vn = /*#__PURE__*/ Qe(/* @__PURE__ */ l({
460
460
  __name: "SpacingControl",
461
461
  props: {
462
462
  modelValue: {},
@@ -503,24 +503,24 @@ var ct = [
503
503
  });
504
504
  }
505
505
  }
506
- return (t, n) => (o(), _("div", Jt, [S("label", Yt, T(e.label), 1), S("div", Xt, [
507
- S("div", Zt, [
506
+ return (t, n) => (o(), _("div", Yt, [S("label", Xt, T(e.label), 1), S("div", Zt, [
507
+ S("div", Qt, [
508
508
  S("button", {
509
509
  "aria-label": p(a).spacingControl.decreaseTop,
510
510
  class: h([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
511
511
  onClick: n[0] ||= (e) => u("top", -1)
512
- }, [m(p(Ye), {
512
+ }, [m(p(Xe), {
513
513
  size: 12,
514
514
  "stroke-width": 2
515
- })], 10, Qt),
515
+ })], 10, $t),
516
516
  S("input", {
517
517
  type: "number",
518
- class: h(gn),
518
+ class: h(_n),
519
519
  value: e.modelValue.top,
520
520
  "aria-label": p(a).spacingControl.top,
521
521
  min: "0",
522
522
  onInput: n[1] ||= (e) => d("top", Number(e.target.value))
523
- }, null, 40, $t),
523
+ }, null, 40, en),
524
524
  S("button", {
525
525
  "aria-label": p(a).spacingControl.increaseTop,
526
526
  class: h([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -528,26 +528,26 @@ var ct = [
528
528
  }, [m(p(V), {
529
529
  size: 12,
530
530
  "stroke-width": 2
531
- })], 10, en)
531
+ })], 10, tn)
532
532
  ]),
533
- S("div", tn, [
534
- S("div", nn, [
533
+ S("div", nn, [
534
+ S("div", rn, [
535
535
  S("button", {
536
536
  "aria-label": p(a).spacingControl.decreaseLeft,
537
537
  class: h([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
538
538
  onClick: n[3] ||= (e) => u("left", -1)
539
- }, [m(p(Ye), {
539
+ }, [m(p(Xe), {
540
540
  size: 12,
541
541
  "stroke-width": 2
542
- })], 10, rn),
542
+ })], 10, an),
543
543
  S("input", {
544
544
  type: "number",
545
- class: h(gn),
545
+ class: h(_n),
546
546
  value: e.modelValue.left,
547
547
  "aria-label": p(a).spacingControl.left,
548
548
  min: "0",
549
549
  onInput: n[4] ||= (e) => d("left", Number(e.target.value))
550
- }, null, 40, an),
550
+ }, null, 40, on),
551
551
  S("button", {
552
552
  "aria-label": p(a).spacingControl.increaseLeft,
553
553
  class: h([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -555,7 +555,7 @@ var ct = [
555
555
  }, [m(p(V), {
556
556
  size: 12,
557
557
  "stroke-width": 2
558
- })], 10, on)
558
+ })], 10, sn)
559
559
  ]),
560
560
  S("button", {
561
561
  class: h(["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)]"]),
@@ -566,28 +566,28 @@ var ct = [
566
566
  key: 0,
567
567
  size: 14,
568
568
  "stroke-width": 2
569
- })) : (o(), b(p(We), {
569
+ })) : (o(), b(p(Ue), {
570
570
  key: 1,
571
571
  size: 14,
572
572
  "stroke-width": 2
573
- }))], 10, sn),
574
- S("div", cn, [
573
+ }))], 10, cn),
574
+ S("div", ln, [
575
575
  S("button", {
576
576
  "aria-label": p(a).spacingControl.decreaseRight,
577
577
  class: h([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
578
578
  onClick: n[6] ||= (e) => u("right", -1)
579
- }, [m(p(Ye), {
579
+ }, [m(p(Xe), {
580
580
  size: 12,
581
581
  "stroke-width": 2
582
- })], 10, ln),
582
+ })], 10, un),
583
583
  S("input", {
584
584
  type: "number",
585
- class: h(gn),
585
+ class: h(_n),
586
586
  value: e.modelValue.right,
587
587
  "aria-label": p(a).spacingControl.right,
588
588
  min: "0",
589
589
  onInput: n[7] ||= (e) => d("right", Number(e.target.value))
590
- }, null, 40, un),
590
+ }, null, 40, dn),
591
591
  S("button", {
592
592
  "aria-label": p(a).spacingControl.increaseRight,
593
593
  class: h([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -595,26 +595,26 @@ var ct = [
595
595
  }, [m(p(V), {
596
596
  size: 12,
597
597
  "stroke-width": 2
598
- })], 10, dn)
598
+ })], 10, fn)
599
599
  ])
600
600
  ]),
601
- S("div", fn, [
601
+ S("div", pn, [
602
602
  S("button", {
603
603
  "aria-label": p(a).spacingControl.decreaseBottom,
604
604
  class: h([Z, "tpl:rounded-l-[var(--tpl-radius-sm)]"]),
605
605
  onClick: n[9] ||= (e) => u("bottom", -1)
606
- }, [m(p(Ye), {
606
+ }, [m(p(Xe), {
607
607
  size: 12,
608
608
  "stroke-width": 2
609
- })], 10, pn),
609
+ })], 10, mn),
610
610
  S("input", {
611
611
  type: "number",
612
- class: h(gn),
612
+ class: h(_n),
613
613
  value: e.modelValue.bottom,
614
614
  "aria-label": p(a).spacingControl.bottom,
615
615
  min: "0",
616
616
  onInput: n[10] ||= (e) => d("bottom", Number(e.target.value))
617
- }, null, 40, mn),
617
+ }, null, 40, hn),
618
618
  S("button", {
619
619
  "aria-label": p(a).spacingControl.increaseBottom,
620
620
  class: h([Z, "tpl:rounded-r-[var(--tpl-radius-sm)]"]),
@@ -622,26 +622,26 @@ var ct = [
622
622
  }, [m(p(V), {
623
623
  size: 12,
624
624
  "stroke-width": 2
625
- })], 10, hn)
625
+ })], 10, gn)
626
626
  ])
627
627
  ])]));
628
628
  }
629
629
  }), [["__scopeId", "data-v-69591c1e"]]);
630
630
  //#endregion
631
631
  //#region src/composables/useNaturalImageSize.ts
632
- function vn(e) {
632
+ function yn(e) {
633
633
  let n = s(null), r = () => {};
634
634
  return t(e, (e) => {
635
- r(), n.value = null, e && (r = ce(e, (e) => {
635
+ r(), n.value = null, e && (r = le(e, (e) => {
636
636
  n.value = e;
637
637
  }));
638
638
  }, { immediate: !0 }), n;
639
639
  }
640
- function yn() {
641
- let e = n(Ae, null);
642
- return async (t) => le(e ? await bn(e, t) : t);
640
+ function bn() {
641
+ let e = n(je, null);
642
+ return async (t) => ue(e ? await xn(e, t) : t);
643
643
  }
644
- function bn(e, n) {
644
+ function xn(e, n) {
645
645
  let r = (e) => typeof e == "string" && e.length > 0 ? e : n;
646
646
  e.lookup(n);
647
647
  let i = e.get(n);
@@ -653,13 +653,13 @@ function bn(e, n) {
653
653
  }
654
654
  //#endregion
655
655
  //#region src/components/toolbar/BackgroundImageControl.vue?vue&type=script&setup=true&lang.ts
656
- var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"], wn = ["data-testid"], Tn = ["aria-label", "data-testid"], En = [
656
+ var Sn = { class: "tpl:space-y-3.5" }, Cn = ["data-testid"], wn = ["data-testid"], Tn = ["data-testid"], En = ["aria-label", "data-testid"], Dn = [
657
657
  "aria-label",
658
658
  "title",
659
659
  "aria-pressed",
660
660
  "data-testid",
661
661
  "onClick"
662
- ], Dn = ["data-testid"], On = /* @__PURE__ */ l({
662
+ ], On = ["data-testid"], kn = /* @__PURE__ */ l({
663
663
  __name: "BackgroundImageControl",
664
664
  props: {
665
665
  modelValue: {},
@@ -669,14 +669,14 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
669
669
  },
670
670
  emits: ["update:modelValue"],
671
671
  setup(e, { emit: t }) {
672
- let i = e, a = t, { t: c } = B(), l = n(Ce, ie.liquid), u = g(() => typeof i.modelValue?.url == "string" ? i.modelValue.url : ""), d = g(() => u.value.trim() !== ""), y = yn(), x;
672
+ let i = e, a = t, { t: c } = B(), l = n(we, ie.liquid), u = g(() => typeof i.modelValue?.url == "string" ? i.modelValue.url : ""), d = g(() => u.value.trim() !== ""), y = bn(), x;
673
673
  f(() => clearTimeout(x));
674
674
  function C(e) {
675
- i.measure && !P(e, l) && (x = setTimeout(async () => {
675
+ i.measure && !L(e, l) && (x = setTimeout(async () => {
676
676
  let t = await y(e), n = i.modelValue;
677
677
  t && n?.url === e && a("update:modelValue", {
678
678
  ...n,
679
- ...L(t)
679
+ ...R(t)
680
680
  });
681
681
  }, 300));
682
682
  }
@@ -685,11 +685,11 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
685
685
  a("update:modelValue", void 0);
686
686
  return;
687
687
  }
688
- let { naturalWidth: n, naturalHeight: r, ...o } = i.modelValue ?? te(e), s = i.measure ? t : null;
688
+ let { naturalWidth: n, naturalHeight: r, ...o } = i.modelValue ?? O(e), s = i.measure ? t : null;
689
689
  a("update:modelValue", {
690
690
  ...o,
691
691
  url: e,
692
- ...s ? L(s) : {}
692
+ ...s ? R(s) : {}
693
693
  }), s || C(e);
694
694
  }
695
695
  function k(e) {
@@ -721,28 +721,28 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
721
721
  "bottom-left": c.blockSettings.backgroundPositionBottomLeft,
722
722
  "bottom-center": c.blockSettings.backgroundPositionBottomCenter,
723
723
  "bottom-right": c.blockSettings.backgroundPositionBottomRight
724
- })), ee = g(() => ae.flatMap((e) => O.map((t) => ({
724
+ })), M = g(() => re.flatMap((e) => ee.map((t) => ({
725
725
  x: t,
726
726
  y: e,
727
727
  label: j.value[`${e}-${t}`]
728
728
  }))));
729
- function M(e) {
729
+ function N(e) {
730
730
  return i.modelValue?.position?.x === e.x && i.modelValue?.position?.y === e.y;
731
731
  }
732
- let N = s(), { canBrowse: ne, isUploading: F, showOverlay: re, openMediaBrowser: I } = me({
733
- target: N,
734
- blocked: () => P(u.value, l),
735
- apply: (e) => E(e.url, de(e.width, e.height))
732
+ let P = s(), { canBrowse: F, isUploading: te, showOverlay: ne, openMediaBrowser: I } = me({
733
+ target: P,
734
+ blocked: () => L(u.value, l),
735
+ apply: (e) => E(e.url, fe(e.width, e.height))
736
736
  });
737
- return (t, n) => (o(), _("div", xn, [S("div", null, [S("label", { class: h(p(H)) }, T(p(c).blockSettings.backgroundImage), 3), S("div", {
737
+ return (t, n) => (o(), _("div", Sn, [S("div", null, [S("label", { class: h(p(H)) }, T(p(c).blockSettings.backgroundImage), 3), S("div", {
738
738
  ref_key: "dropZoneRef",
739
- ref: N,
739
+ ref: P,
740
740
  class: "tpl:relative",
741
741
  "data-testid": `${e.testidPrefix}-bg-url`
742
742
  }, [
743
- p(re) ? (o(), b(ve, {
743
+ p(ne) ? (o(), b(_e, {
744
744
  key: 0,
745
- uploading: p(F)
745
+ uploading: p(te)
746
746
  }, null, 8, ["uploading"])) : v("", !0),
747
747
  m(J, {
748
748
  "model-value": u.value,
@@ -750,7 +750,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
750
750
  placeholder: p(c).blockSettings.backgroundImagePlaceholder,
751
751
  "onUpdate:modelValue": E
752
752
  }, null, 8, ["model-value", "placeholder"]),
753
- p(ne) ? (o(), _("button", {
753
+ p(F) ? (o(), _("button", {
754
754
  key: 1,
755
755
  type: "button",
756
756
  "data-testid": `${e.testidPrefix}-bg-browse`,
@@ -764,8 +764,8 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
764
764
  }, [m(p(Ge), {
765
765
  size: 14,
766
766
  "stroke-width": 1.5
767
- }), D(" " + T(p(c).image.browseMedia), 1)], 8, Cn)) : v("", !0)
768
- ], 8, Sn)]), d.value && e.modelValue ? (o(), _(w, { key: 0 }, [
767
+ }), D(" " + T(p(c).image.browseMedia), 1)], 8, wn)) : v("", !0)
768
+ ], 8, Cn)]), d.value && e.modelValue ? (o(), _(w, { key: 0 }, [
769
769
  e.heroMode ? v("", !0) : (o(), _("div", {
770
770
  key: 0,
771
771
  "data-testid": `${e.testidPrefix}-bg-size`
@@ -773,25 +773,25 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
773
773
  options: A.value,
774
774
  "model-value": e.modelValue.size,
775
775
  "onUpdate:modelValue": n[1] ||= (e) => k({ size: e })
776
- }, null, 8, ["options", "model-value"])], 8, wn)),
776
+ }, null, 8, ["options", "model-value"])], 8, Tn)),
777
777
  S("div", null, [S("label", { class: h(p(H)) }, T(p(c).blockSettings.backgroundPosition), 3), S("div", {
778
778
  role: "group",
779
779
  "aria-label": p(c).blockSettings.backgroundPosition,
780
780
  "data-testid": `${e.testidPrefix}-bg-position`,
781
781
  class: "tpl:grid tpl:w-24 tpl:grid-cols-3 tpl:gap-1"
782
- }, [(o(!0), _(w, null, r(ee.value, (t) => (o(), _("button", {
782
+ }, [(o(!0), _(w, null, r(M.value, (t) => (o(), _("button", {
783
783
  key: `${t.y}-${t.x}`,
784
784
  type: "button",
785
785
  "aria-label": t.label,
786
786
  title: t.label,
787
- "aria-pressed": M(t),
787
+ "aria-pressed": N(t),
788
788
  "data-testid": `${e.testidPrefix}-bg-position-${t.y}-${t.x}`,
789
- class: h(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", M(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
789
+ class: h(["tpl:flex tpl:h-6 tpl:items-center tpl:justify-center tpl:rounded tpl:border tpl:transition-colors", N(t) ? "tpl:border-[var(--tpl-primary)]" : "tpl:border-[var(--tpl-border)] tpl:hover:border-[var(--tpl-text-dim)]"]),
790
790
  onClick: (e) => k({ position: {
791
791
  x: t.x,
792
792
  y: t.y
793
793
  } })
794
- }, [S("span", { class: h(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", M(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, En))), 128))], 8, Tn)]),
794
+ }, [S("span", { class: h(["tpl:block tpl:h-1.5 tpl:w-1.5 tpl:rounded-full", N(t) ? "tpl:bg-[var(--tpl-primary)]" : "tpl:bg-[var(--tpl-text-dim)]"]) }, null, 2)], 10, Dn))), 128))], 8, En)]),
795
795
  e.heroMode ? v("", !0) : (o(), _("div", {
796
796
  key: 1,
797
797
  "data-testid": `${e.testidPrefix}-bg-repeat`
@@ -800,10 +800,10 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
800
800
  "model-value": e.modelValue.repeat,
801
801
  label: p(c).blockSettings.backgroundRepeat,
802
802
  "onUpdate:modelValue": n[2] ||= (e) => k({ repeat: e })
803
- }, null, 8, ["model-value", "label"])], 8, Dn))
803
+ }, null, 8, ["model-value", "label"])], 8, On))
804
804
  ], 64)) : v("", !0)]));
805
805
  }
806
- }), kn = ["data-testid"], An = { class: "tpl:mt-3" }, jn = /* @__PURE__ */ l({
806
+ }), An = ["data-testid"], jn = { class: "tpl:mt-3" }, Mn = /* @__PURE__ */ l({
807
807
  __name: "CollapsibleSection",
808
808
  props: {
809
809
  title: {},
@@ -818,30 +818,30 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
818
818
  "data-testid": e.headerTestId,
819
819
  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)]",
820
820
  onClick: n[0] ||= (e) => t.$emit("toggle")
821
- }, [m(p(Le), {
821
+ }, [m(p(Re), {
822
822
  class: h(["tpl:transition-transform tpl:duration-200", e.open ? "tpl:rotate-0" : "tpl:-rotate-90"]),
823
823
  size: 12,
824
824
  "stroke-width": 2
825
- }, null, 8, ["class"]), S("span", null, T(e.title), 1)], 8, kn), u(S("div", An, [a(t.$slots, "default")], 512), [[C, e.open]])], 2));
825
+ }, null, 8, ["class"]), S("span", null, T(e.title), 1)], 8, An), u(S("div", jn, [a(t.$slots, "default")], 512), [[C, e.open]])], 2));
826
826
  }
827
- }), Mn = {
827
+ }), Nn = {
828
828
  key: 0,
829
829
  "data-testid": "section-hero-columns-note",
830
830
  class: "tpl:mt-3.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
831
- }, Nn = {
831
+ }, Pn = {
832
832
  key: 1,
833
833
  "data-testid": "section-hero",
834
834
  class: "tpl:mt-3.5 tpl:space-y-3.5"
835
- }, Pn = { "data-testid": "section-hero-height" }, Fn = {
835
+ }, Fn = { "data-testid": "section-hero-height" }, In = {
836
836
  key: 0,
837
837
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
838
- }, In = {
838
+ }, Ln = {
839
839
  key: 1,
840
840
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
841
- }, Ln = {
841
+ }, Rn = {
842
842
  key: 1,
843
843
  "data-testid": "section-hero-align"
844
- }, Rn = 300, zn = /* @__PURE__ */ l({
844
+ }, zn = 300, Bn = /* @__PURE__ */ l({
845
845
  __name: "HeroControl",
846
846
  props: { section: {} },
847
847
  emits: ["update"],
@@ -849,7 +849,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
849
849
  function r(e) {
850
850
  return typeof e == "number" && Number.isFinite(e) && e >= 1;
851
851
  }
852
- let i = e, a = t, { t: s } = B(), c = n(Ce, ie.liquid), l = n(Te, null), u = n(xe, void 0), d = yn(), f = g(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = g(() => f.value.trim() !== ""), x = g(() => P(f.value, c)), C = g(() => i.section.hero), w = g(() => i.section.columns === "1"), E = g(() => C.value ? r(C.value.height) ? "fixed" : "image" : "fit"), D = g(() => r(C.value?.height) ? C.value.height : Rn), O = g(() => [
852
+ let i = e, a = t, { t: s } = B(), c = n(we, ie.liquid), l = n(Ee, null), u = n(xe, void 0), d = bn(), f = g(() => typeof i.section.backgroundImage?.url == "string" ? i.section.backgroundImage.url : ""), y = g(() => f.value.trim() !== ""), x = g(() => L(f.value, c)), C = g(() => i.section.hero), w = g(() => i.section.columns === "1"), E = g(() => C.value ? r(C.value.height) ? "fixed" : "image" : "fit"), D = g(() => r(C.value?.height) ? C.value.height : zn), O = g(() => [
853
853
  {
854
854
  value: "fit",
855
855
  label: s.blockSettings.heroHeightFit
@@ -876,17 +876,17 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
876
876
  value: "bottom",
877
877
  label: s.blockSettings.heroAlignBottom
878
878
  }
879
- ]), A = g(() => E.value === "image" && y.value && !x.value && I(i.section.backgroundImage) === null);
879
+ ]), A = g(() => E.value === "image" && y.value && !x.value && M(i.section.backgroundImage) === null);
880
880
  function j() {
881
- return (l ? ge(l.content.value, i.section.id, u) : null) ?? se(l?.state.content.settings);
881
+ return (l ? ge(l.content.value, i.section.id, u) : null) ?? ce(l?.state.content.settings);
882
882
  }
883
- function ee(e) {
883
+ function N(e) {
884
884
  let t = C.value?.verticalAlign ?? "middle";
885
885
  if (e === "image") {
886
886
  E.value !== "image" && a("update", { hero: {
887
887
  height: "image",
888
888
  verticalAlign: t
889
- } }), M();
889
+ } }), P();
890
890
  return;
891
891
  }
892
892
  if (e === E.value) return;
@@ -894,42 +894,42 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
894
894
  a("update", { hero: void 0 });
895
895
  return;
896
896
  }
897
- let n = I(i.section.backgroundImage), r = n === null ? Rn : Math.round(j() * n);
897
+ let n = M(i.section.backgroundImage), r = n === null ? zn : Math.round(j() * n);
898
898
  a("update", { hero: {
899
899
  height: r,
900
900
  verticalAlign: t
901
901
  } });
902
902
  }
903
- async function M() {
903
+ async function P() {
904
904
  let e = i.section.backgroundImage;
905
- if (!e || !y.value || x.value || I(e) !== null) return;
905
+ if (!e || !y.value || x.value || M(e) !== null) return;
906
906
  let t = e.url, n = await d(t), r = i.section.backgroundImage;
907
907
  n && r && r.url === t && a("update", { backgroundImage: {
908
908
  ...r,
909
- ...L(n)
909
+ ...R(n)
910
910
  } });
911
911
  }
912
- function N(e) {
912
+ function ee(e) {
913
913
  !C.value || !Number.isFinite(e) || e < 1 || a("update", { hero: {
914
914
  ...C.value,
915
915
  height: Math.round(e)
916
916
  } });
917
917
  }
918
- function te(e) {
918
+ function F(e) {
919
919
  C.value && a("update", { hero: {
920
920
  ...C.value,
921
921
  verticalAlign: e
922
922
  } });
923
923
  }
924
- return (e, t) => !w.value && C.value ? (o(), _("p", Mn, T(p(s).section.heroNeedsOneColumn), 1)) : w.value && (y.value || C.value) ? (o(), _("div", Nn, [
925
- S("div", Pn, [
924
+ return (e, t) => !w.value && C.value ? (o(), _("p", Nn, T(p(s).section.heroNeedsOneColumn), 1)) : w.value && (y.value || C.value) ? (o(), _("div", Pn, [
925
+ S("div", Fn, [
926
926
  S("label", { class: h(p(H)) }, T(p(s).blockSettings.heroHeight), 3),
927
927
  m(Y, {
928
928
  options: O.value,
929
929
  "model-value": E.value,
930
- "onUpdate:modelValue": ee
930
+ "onUpdate:modelValue": N
931
931
  }, null, 8, ["options", "model-value"]),
932
- x.value ? (o(), _("p", Fn, T(p(s).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (o(), _("p", In, T(p(s).blockSettings.heroSizeUnknown), 1)) : v("", !0)
932
+ x.value ? (o(), _("p", In, T(p(s).blockSettings.heroMatchImageMergeTag), 1)) : A.value ? (o(), _("p", Ln, T(p(s).blockSettings.heroSizeUnknown), 1)) : v("", !0)
933
933
  ]),
934
934
  E.value === "fixed" ? (o(), b(X, {
935
935
  key: 0,
@@ -937,28 +937,28 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
937
937
  min: 1,
938
938
  suffix: "px",
939
939
  testid: "section-hero-height-px",
940
- "onUpdate:modelValue": N
940
+ "onUpdate:modelValue": ee
941
941
  }, null, 8, ["model-value"])) : v("", !0),
942
- C.value ? (o(), _("div", Ln, [S("label", { class: h(p(H)) }, T(p(s).blockSettings.heroAlign), 3), m(Y, {
942
+ C.value ? (o(), _("div", Rn, [S("label", { class: h(p(H)) }, T(p(s).blockSettings.heroAlign), 3), m(Y, {
943
943
  options: k.value,
944
944
  "model-value": C.value.verticalAlign,
945
- "onUpdate:modelValue": te
945
+ "onUpdate:modelValue": F
946
946
  }, null, 8, ["options", "model-value"])])) : v("", !0)
947
947
  ])) : v("", !0);
948
948
  }
949
- }), Bn = { class: "tpl:space-y-2" }, Vn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Hn = { class: "tpl:space-y-2" }, Un = ["value"], Wn = { value: "" }, Gn = ["label"], Kn = ["value"], qn = ["value"], Jn = {
949
+ }), Vn = { class: "tpl:space-y-2" }, Hn = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Un = { class: "tpl:space-y-2" }, Wn = ["value"], Gn = { value: "" }, Kn = ["label"], qn = ["value"], Jn = ["value"], Yn = {
950
950
  key: 0,
951
951
  value: "__custom__"
952
- }, Yn = {
952
+ }, Xn = {
953
953
  key: 0,
954
954
  class: "tpl:space-y-2"
955
- }, Xn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Zn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Qn = { class: "tpl:flex tpl:justify-end" }, $n = ["disabled"], er = {
955
+ }, Zn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, Qn = { class: "tpl:mb-1 tpl:block tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, $n = { class: "tpl:flex tpl:justify-end" }, er = ["disabled"], tr = {
956
956
  key: 0,
957
957
  class: "tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
958
- }, tr = { class: "tpl:space-y-1" }, nr = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, rr = {
958
+ }, nr = { class: "tpl:space-y-1" }, rr = { class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]" }, ir = {
959
959
  key: 0,
960
960
  class: "tpl:m-0 tpl:overflow-x-auto tpl:rounded tpl:bg-[var(--tpl-bg)] tpl:p-2 tpl:font-mono tpl:text-[10px] tpl:text-[var(--tpl-text-muted)]"
961
- }, ir = /* @__PURE__ */ l({
961
+ }, ar = /* @__PURE__ */ l({
962
962
  __name: "CommonBlockSettings",
963
963
  props: {
964
964
  block: {},
@@ -966,31 +966,31 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
966
966
  },
967
967
  emits: ["update"],
968
968
  setup(e, { emit: a }) {
969
- let l = e, f = a, { t: y } = B(), C = n(Ee, []), E = n(De, !1), O = d(/* @__PURE__ */ new Set()), k = s(!1), A = s(""), j = s(""), ee = [{
969
+ let l = e, f = a, { t: y } = B(), C = n(De, []), E = n(Oe, !1), O = d(/* @__PURE__ */ new Set()), k = s(!1), A = s(""), M = s(""), N = [{
970
970
  key: "desktop",
971
- icon: Ve,
971
+ icon: Be,
972
972
  labelKey: "showOnDesktop"
973
973
  }, {
974
974
  key: "mobile",
975
- icon: Pe,
975
+ icon: Fe,
976
976
  labelKey: "showOnMobile"
977
977
  }];
978
- function M(e) {
978
+ function P(e) {
979
979
  O.has(e) ? O.delete(e) : O.add(e);
980
980
  }
981
- let te = g(() => C.length > 0 || E), P = g(() => l.block.displayCondition ? !C.some((e) => e.label === l.block.displayCondition?.label) : !1);
982
- function ne() {
983
- k.value = !0, P.value && l.block.displayCondition ? (A.value = l.block.displayCondition.before, j.value = l.block.displayCondition.after ?? "") : (A.value = "", j.value = "");
981
+ let ee = g(() => C.length > 0 || E), F = g(() => l.block.displayCondition ? !C.some((e) => e.label === l.block.displayCondition?.label) : !1);
982
+ function te() {
983
+ k.value = !0, F.value && l.block.displayCondition ? (A.value = l.block.displayCondition.before, M.value = l.block.displayCondition.after ?? "") : (A.value = "", M.value = "");
984
984
  }
985
- function F() {
985
+ function ne() {
986
986
  A.value.trim() && (f("update", { displayCondition: {
987
987
  label: y.blockSettings.customCondition,
988
988
  before: A.value.trim(),
989
- after: j.value.trim()
990
- } }), k.value = !1, A.value = "", j.value = "");
989
+ after: M.value.trim()
990
+ } }), k.value = !1, A.value = "", M.value = "");
991
991
  }
992
992
  t(() => l.block.displayCondition, (e) => {
993
- e ? P.value && (A.value = e.before, j.value = e.after ?? "") : (k.value = !1, A.value = "", j.value = "");
993
+ e ? F.value && (A.value = e.before, M.value = e.after ?? "") : (k.value = !1, A.value = "", M.value = "");
994
994
  }, { immediate: !0 });
995
995
  let re = g(() => {
996
996
  let e = {};
@@ -999,34 +999,34 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
999
999
  e[n] || (e[n] = []), e[n].push(t);
1000
1000
  }
1001
1001
  return e;
1002
- }), ie = g(() => l.block.type === "section" && N(l.block)?.applied === !0);
1003
- function ae(e, t) {
1002
+ }), ie = g(() => l.block.type === "section" && j(l.block)?.applied === !0);
1003
+ function I(e, t) {
1004
1004
  f("update", { styles: {
1005
1005
  ...l.block.styles,
1006
1006
  [e]: t
1007
1007
  } });
1008
1008
  }
1009
- function I(e) {
1009
+ function L(e) {
1010
1010
  return l.block.visibility?.[e] !== !1;
1011
1011
  }
1012
- function oe(e) {
1012
+ function ae(e) {
1013
1013
  let t = {
1014
- desktop: I("desktop"),
1015
- mobile: I("mobile")
1014
+ desktop: L("desktop"),
1015
+ mobile: L("mobile")
1016
1016
  };
1017
1017
  t[e] = !t[e], f("update", { visibility: t });
1018
1018
  }
1019
1019
  return (t, n) => (o(), _("div", { class: h(["tpl:flex tpl:flex-col", e.isFirstSection ? "" : "tpl:mt-4"]) }, [
1020
- m(jn, {
1020
+ m(Mn, {
1021
1021
  title: p(y).blockSettings.spacing,
1022
1022
  open: O.has("spacing"),
1023
1023
  "no-border": e.isFirstSection,
1024
- onToggle: n[1] ||= (e) => M("spacing")
1024
+ onToggle: n[1] ||= (e) => P("spacing")
1025
1025
  }, {
1026
- default: i(() => [m(_n, {
1026
+ default: i(() => [m(vn, {
1027
1027
  label: p(y).blockSettings.padding,
1028
1028
  "model-value": e.block.styles.padding,
1029
- "onUpdate:modelValue": n[0] ||= (e) => ae("padding", e)
1029
+ "onUpdate:modelValue": n[0] ||= (e) => I("padding", e)
1030
1030
  }, null, 8, ["label", "model-value"])]),
1031
1031
  _: 1
1032
1032
  }, 8, [
@@ -1034,20 +1034,20 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1034
1034
  "open",
1035
1035
  "no-border"
1036
1036
  ]),
1037
- m(jn, {
1037
+ m(Mn, {
1038
1038
  title: p(y).blockSettings.background,
1039
1039
  open: O.has("bg"),
1040
1040
  "header-test-id": "block-settings-background",
1041
- onToggle: n[5] ||= (e) => M("bg")
1041
+ onToggle: n[5] ||= (e) => P("bg")
1042
1042
  }, {
1043
1043
  default: i(() => [
1044
1044
  S("label", { class: h(p(H)) }, T(p(y).blockSettings.color), 3),
1045
1045
  m(K, {
1046
1046
  "model-value": e.block.styles.backgroundColor ?? "",
1047
1047
  "allow-transparent": "",
1048
- "onUpdate:modelValue": n[2] ||= (e) => ae("backgroundColor", e)
1048
+ "onUpdate:modelValue": n[2] ||= (e) => I("backgroundColor", e)
1049
1049
  }, null, 8, ["model-value"]),
1050
- e.block.type === "section" ? (o(), b(On, {
1050
+ e.block.type === "section" ? (o(), b(kn, {
1051
1051
  key: 0,
1052
1052
  class: "tpl:mt-3.5",
1053
1053
  "model-value": e.block.backgroundImage,
@@ -1056,7 +1056,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1056
1056
  "hero-mode": ie.value,
1057
1057
  "onUpdate:modelValue": n[3] ||= (e) => f("update", { backgroundImage: e })
1058
1058
  }, null, 8, ["model-value", "hero-mode"])) : v("", !0),
1059
- e.block.type === "section" ? (o(), b(zn, {
1059
+ e.block.type === "section" ? (o(), b(Bn, {
1060
1060
  key: 1,
1061
1061
  section: e.block,
1062
1062
  onUpdate: n[4] ||= (e) => f("update", e)
@@ -1064,19 +1064,19 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1064
1064
  ]),
1065
1065
  _: 1
1066
1066
  }, 8, ["title", "open"]),
1067
- m(jn, {
1067
+ m(Mn, {
1068
1068
  title: p(y).blockSettings.display,
1069
1069
  open: O.has("display"),
1070
- onToggle: n[6] ||= (e) => M("display")
1070
+ onToggle: n[6] ||= (e) => P("display")
1071
1071
  }, {
1072
- default: i(() => [S("div", Bn, [(o(), _(w, null, r(ee, (e) => m(q, {
1072
+ default: i(() => [S("div", Vn, [(o(), _(w, null, r(N, (e) => m(q, {
1073
1073
  key: e.key,
1074
1074
  class: "tpl:text-xs tpl:text-[var(--tpl-text)]",
1075
- "model-value": I(e.key),
1075
+ "model-value": L(e.key),
1076
1076
  label: p(y).blockSettings[e.labelKey],
1077
- "onUpdate:modelValue": (t) => oe(e.key)
1077
+ "onUpdate:modelValue": (t) => ae(e.key)
1078
1078
  }, {
1079
- default: i(() => [S("span", Vn, [(o(), b(c(e.icon), {
1079
+ default: i(() => [S("span", Hn, [(o(), b(c(e.icon), {
1080
1080
  size: 14,
1081
1081
  "stroke-width": 1.5
1082
1082
  })), D(" " + T(p(y).blockSettings[e.labelKey]), 1)])]),
@@ -1088,21 +1088,21 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1088
1088
  ])), 64))])]),
1089
1089
  _: 1
1090
1090
  }, 8, ["title", "open"]),
1091
- te.value ? (o(), b(jn, {
1091
+ ee.value ? (o(), b(Mn, {
1092
1092
  key: 0,
1093
1093
  "header-test-id": "display-condition-section",
1094
1094
  title: p(y).blockSettings.displayCondition,
1095
1095
  open: O.has("condition"),
1096
- onToggle: n[10] ||= (e) => M("condition")
1096
+ onToggle: n[10] ||= (e) => P("condition")
1097
1097
  }, {
1098
- default: i(() => [S("div", Hn, [S("select", {
1098
+ default: i(() => [S("div", Un, [S("select", {
1099
1099
  "data-testid": "display-condition-select",
1100
1100
  class: h(["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)]"]),
1101
- value: k.value || P.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1101
+ value: k.value || F.value ? "__custom__" : e.block.displayCondition?.label ?? "",
1102
1102
  onChange: n[7] ||= (e) => {
1103
1103
  let t = e.target.value;
1104
1104
  if (t === "__custom__") {
1105
- ne();
1105
+ te();
1106
1106
  return;
1107
1107
  }
1108
1108
  if (k.value = !1, !t) {
@@ -1113,41 +1113,41 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1113
1113
  n && f("update", { displayCondition: n });
1114
1114
  }
1115
1115
  }, [
1116
- S("option", Wn, T(p(y).blockSettings.noCondition), 1),
1116
+ S("option", Gn, T(p(y).blockSettings.noCondition), 1),
1117
1117
  (o(!0), _(w, null, r(re.value, (e, t) => (o(), _(w, { key: t }, [t ? (o(), _("optgroup", {
1118
1118
  key: 0,
1119
1119
  label: String(t)
1120
1120
  }, [(o(!0), _(w, null, r(e, (e) => (o(), _("option", {
1121
1121
  key: e.label,
1122
1122
  value: e.label
1123
- }, T(e.label), 9, Kn))), 128))], 8, Gn)) : (o(!0), _(w, { key: 1 }, r(e, (e) => (o(), _("option", {
1123
+ }, T(e.label), 9, qn))), 128))], 8, Kn)) : (o(!0), _(w, { key: 1 }, r(e, (e) => (o(), _("option", {
1124
1124
  key: e.label,
1125
1125
  value: e.label
1126
- }, T(e.label), 9, qn))), 128))], 64))), 128)),
1127
- p(E) ? (o(), _("option", Jn, T(p(y).blockSettings.customCondition), 1)) : v("", !0)
1128
- ], 42, Un), k.value || P.value ? (o(), _("div", Yn, [
1129
- S("div", null, [S("label", Xn, T(p(y).blockSettings.customConditionBefore), 1), u(S("textarea", {
1126
+ }, T(e.label), 9, Jn))), 128))], 64))), 128)),
1127
+ p(E) ? (o(), _("option", Yn, T(p(y).blockSettings.customCondition), 1)) : v("", !0)
1128
+ ], 42, Wn), k.value || F.value ? (o(), _("div", Xn, [
1129
+ S("div", null, [S("label", Zn, T(p(y).blockSettings.customConditionBefore), 1), u(S("textarea", {
1130
1130
  "onUpdate:modelValue": n[8] ||= (e) => A.value = e,
1131
1131
  rows: "2",
1132
- class: h(p($e))
1132
+ class: h(p(et))
1133
1133
  }, null, 2), [[x, A.value]])]),
1134
- S("div", null, [S("label", Zn, T(p(y).blockSettings.customConditionAfter), 1), u(S("textarea", {
1135
- "onUpdate:modelValue": n[9] ||= (e) => j.value = e,
1134
+ S("div", null, [S("label", Qn, T(p(y).blockSettings.customConditionAfter), 1), u(S("textarea", {
1135
+ "onUpdate:modelValue": n[9] ||= (e) => M.value = e,
1136
1136
  rows: "2",
1137
- class: h(p($e))
1138
- }, null, 2), [[x, j.value]])]),
1139
- S("div", Qn, [S("button", {
1137
+ class: h(p(et))
1138
+ }, null, 2), [[x, M.value]])]),
1139
+ S("div", $n, [S("button", {
1140
1140
  type: "button",
1141
- class: h(p(rt)),
1141
+ class: h(p(it)),
1142
1142
  disabled: !A.value.trim(),
1143
- onClick: F
1144
- }, T(p(y).blockSettings.applyCondition), 11, $n)])
1145
- ])) : e.block.displayCondition && !P.value ? (o(), _(w, { key: 1 }, [e.block.displayCondition.description ? (o(), _("p", er, T(e.block.displayCondition.description), 1)) : v("", !0), S("div", tr, [S("pre", nr, T(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), _("pre", rr, T(e.block.displayCondition.after), 1)) : v("", !0)])], 64)) : v("", !0)])]),
1143
+ onClick: ne
1144
+ }, T(p(y).blockSettings.applyCondition), 11, er)])
1145
+ ])) : e.block.displayCondition && !F.value ? (o(), _(w, { key: 1 }, [e.block.displayCondition.description ? (o(), _("p", tr, T(e.block.displayCondition.description), 1)) : v("", !0), S("div", nr, [S("pre", rr, T(e.block.displayCondition.before), 1), e.block.displayCondition.after ? (o(), _("pre", ir, T(e.block.displayCondition.after), 1)) : v("", !0)])], 64)) : v("", !0)])]),
1146
1146
  _: 1
1147
1147
  }, 8, ["title", "open"])) : v("", !0)
1148
1148
  ], 2));
1149
1149
  }
1150
- }), ar = ["title"], or = /* @__PURE__ */ l({
1150
+ }), or = ["title"], sr = /* @__PURE__ */ l({
1151
1151
  __name: "BooleanField",
1152
1152
  props: {
1153
1153
  field: {},
@@ -1179,9 +1179,9 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1179
1179
  "label",
1180
1180
  "required",
1181
1181
  "disabled"
1182
- ])], 8, ar));
1182
+ ])], 8, or));
1183
1183
  }
1184
- }), sr = { class: "tpl:mb-3.5" }, cr = ["title"], lr = { class: "tpl-sr-only" }, ur = ["title"], dr = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
1184
+ }), cr = { class: "tpl:mb-3.5" }, lr = ["title"], ur = { class: "tpl-sr-only" }, dr = ["title"], fr = { class: "tpl-sr-only" }, Q = /* @__PURE__ */ l({
1185
1185
  __name: "FieldWrapper",
1186
1186
  props: {
1187
1187
  label: {},
@@ -1190,7 +1190,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1190
1190
  },
1191
1191
  setup(e) {
1192
1192
  let { t } = B();
1193
- return (n, r) => (o(), _("div", sr, [S("label", { class: h(p(H)) }, [
1193
+ return (n, r) => (o(), _("div", cr, [S("label", { class: h(p(H)) }, [
1194
1194
  D(T(e.label) + " ", 1),
1195
1195
  e.readOnly ? (o(), _("span", {
1196
1196
  key: 0,
@@ -1199,15 +1199,15 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1199
1199
  size: 12,
1200
1200
  class: "tpl:inline tpl:text-[var(--tpl-text-dim)]",
1201
1201
  "aria-hidden": "true"
1202
- }), S("span", lr, T(p(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, cr)) : v("", !0),
1202
+ }), S("span", ur, T(p(t).customBlocks.dataSource.readOnlyTooltip), 1)], 8, lr)) : v("", !0),
1203
1203
  e.required ? (o(), _("span", {
1204
1204
  key: 1,
1205
1205
  class: "tpl:text-[var(--tpl-danger)]",
1206
1206
  title: p(t).customBlocks.fields.required
1207
- }, [r[0] ||= S("span", { "aria-hidden": "true" }, "*", -1), S("span", dr, T(p(t).customBlocks.fields.required), 1)], 8, ur)) : v("", !0)
1207
+ }, [r[0] ||= S("span", { "aria-hidden": "true" }, "*", -1), S("span", fr, T(p(t).customBlocks.fields.required), 1)], 8, dr)) : v("", !0)
1208
1208
  ], 2), a(n.$slots, "default")]));
1209
1209
  }
1210
- }), fr = /* @__PURE__ */ l({
1210
+ }), pr = /* @__PURE__ */ l({
1211
1211
  __name: "ColorField",
1212
1212
  props: {
1213
1213
  field: {},
@@ -1216,7 +1216,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1216
1216
  },
1217
1217
  emits: ["update:modelValue"],
1218
1218
  setup(e, { emit: t }) {
1219
- let r = e, a = t, { t: s } = B(), c = n(we, je), l = g(() => ue(r.field, c));
1219
+ let r = e, a = t, { t: s } = B(), c = n(Te, Me), l = g(() => de(r.field, c));
1220
1220
  return (t, n) => (o(), b(Q, {
1221
1221
  label: e.field.label,
1222
1222
  required: e.field.required,
@@ -1245,11 +1245,11 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1245
1245
  "read-only"
1246
1246
  ]));
1247
1247
  }
1248
- }), pr = [
1248
+ }), mr = [
1249
1249
  "value",
1250
1250
  "placeholder",
1251
1251
  "title"
1252
- ], mr = ["value", "placeholder"], hr = /* @__PURE__ */ l({
1252
+ ], hr = ["value", "placeholder"], gr = /* @__PURE__ */ l({
1253
1253
  __name: "ImageField",
1254
1254
  props: {
1255
1255
  field: {},
@@ -1273,7 +1273,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1273
1273
  ref: c,
1274
1274
  class: "tpl:relative"
1275
1275
  }, [
1276
- p(d) ? (o(), b(ve, {
1276
+ p(d) ? (o(), b(_e, {
1277
1277
  key: 0,
1278
1278
  uploading: p(u)
1279
1279
  }, null, 8, ["uploading"])) : v("", !0),
@@ -1285,14 +1285,14 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1285
1285
  placeholder: e.field.placeholder || "https://...",
1286
1286
  disabled: "",
1287
1287
  title: p(a).customBlocks.dataSource.readOnlyTooltip
1288
- }, null, 10, pr)) : (o(), _("input", {
1288
+ }, null, 10, mr)) : (o(), _("input", {
1289
1289
  key: 2,
1290
1290
  type: "url",
1291
1291
  class: h(p(G)),
1292
1292
  value: e.modelValue,
1293
1293
  placeholder: e.field.placeholder || "https://...",
1294
1294
  onInput: n[0] ||= (e) => r("update:modelValue", e.target.value)
1295
- }, null, 42, mr)),
1295
+ }, null, 42, hr)),
1296
1296
  p(l) && !e.readOnly ? (o(), _("button", {
1297
1297
  key: 3,
1298
1298
  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)]",
@@ -1309,7 +1309,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1309
1309
  "read-only"
1310
1310
  ]));
1311
1311
  }
1312
- }), gr = [
1312
+ }), _r = [
1313
1313
  "value",
1314
1314
  "placeholder",
1315
1315
  "min",
@@ -1317,7 +1317,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1317
1317
  "step",
1318
1318
  "disabled",
1319
1319
  "title"
1320
- ], _r = /* @__PURE__ */ l({
1320
+ ], vr = /* @__PURE__ */ l({
1321
1321
  __name: "NumberField",
1322
1322
  props: {
1323
1323
  field: {},
@@ -1343,7 +1343,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1343
1343
  disabled: e.readOnly,
1344
1344
  title: e.readOnly ? p(r).customBlocks.dataSource.readOnlyTooltip : void 0,
1345
1345
  onInput: a[0] ||= (t) => !e.readOnly && n("update:modelValue", Number(t.target.value))
1346
- }, null, 42, gr)]),
1346
+ }, null, 42, _r)]),
1347
1347
  _: 1
1348
1348
  }, 8, [
1349
1349
  "label",
@@ -1351,13 +1351,13 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1351
1351
  "read-only"
1352
1352
  ]));
1353
1353
  }
1354
- }), vr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, yr = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, br = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, xr = ["title", "onClick"], Sr = {
1354
+ }), yr = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, br = { class: "tpl:mb-2 tpl:flex tpl:items-center tpl:justify-between" }, xr = { class: "tpl:text-xs tpl:font-medium tpl:text-[var(--tpl-text-dim)]" }, Sr = ["title", "onClick"], Cr = {
1355
1355
  key: 1,
1356
1356
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1357
- }, Cr = {
1357
+ }, wr = {
1358
1358
  key: 2,
1359
1359
  class: "tpl:m-0 tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1360
- }, wr = /* @__PURE__ */ l({
1360
+ }, Tr = /* @__PURE__ */ l({
1361
1361
  __name: "RepeatableField",
1362
1362
  props: {
1363
1363
  field: {},
@@ -1390,20 +1390,20 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1390
1390
  required: e.field.required,
1391
1391
  "read-only": e.readOnly
1392
1392
  }, {
1393
- default: i(() => [S("div", vr, [
1393
+ default: i(() => [S("div", yr, [
1394
1394
  (o(!0), _(w, null, r(u.value, (t, n) => (o(), _("div", {
1395
1395
  key: `${e.field.key}-${n}`,
1396
1396
  class: "tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg-hover)] tpl:p-3"
1397
- }, [S("div", yr, [S("span", br, " #" + T(n + 1), 1), f.value && !e.readOnly ? (o(), _("button", {
1397
+ }, [S("div", br, [S("span", xr, " #" + T(n + 1), 1), f.value && !e.readOnly ? (o(), _("button", {
1398
1398
  key: 0,
1399
1399
  type: "button",
1400
1400
  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)]",
1401
1401
  title: p(s).customBlocks.fields.removeItem,
1402
1402
  onClick: (e) => x(n)
1403
- }, [m(p(He), {
1403
+ }, [m(p(Ve), {
1404
1404
  size: 12,
1405
1405
  "stroke-width": 2
1406
- })], 8, xr)) : v("", !0)]), (o(!0), _(w, null, r(e.field.fields, (r) => (o(), b(c(p(Nr)(r.type)), {
1406
+ })], 8, Sr)) : v("", !0)]), (o(!0), _(w, null, r(e.field.fields, (r) => (o(), b(c(p(Pr)(r.type)), {
1407
1407
  key: r.key,
1408
1408
  field: r,
1409
1409
  "model-value": t[r.key],
@@ -1418,14 +1418,14 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1418
1418
  d.value && !e.readOnly ? (o(), _("button", {
1419
1419
  key: 0,
1420
1420
  type: "button",
1421
- class: h(p(tt)),
1421
+ class: h(p(nt)),
1422
1422
  onClick: y
1423
1423
  }, [m(p(V), {
1424
1424
  size: 14,
1425
1425
  "stroke-width": 2
1426
1426
  }), D(" " + T(p(s).customBlocks.fields.addItem), 1)], 2)) : v("", !0),
1427
- !d.value && !e.readOnly ? (o(), _("p", Sr, T(p(s).customBlocks.fields.maxItemsReached), 1)) : v("", !0),
1428
- !f.value && !e.readOnly ? (o(), _("p", Cr, T(p(l)(p(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : v("", !0)
1427
+ !d.value && !e.readOnly ? (o(), _("p", Cr, T(p(s).customBlocks.fields.maxItemsReached), 1)) : v("", !0),
1428
+ !f.value && !e.readOnly ? (o(), _("p", wr, T(p(l)(p(s).customBlocks.fields.minItemsRequired, { count: e.field.minItems ?? 0 })), 1)) : v("", !0)
1429
1429
  ])]),
1430
1430
  _: 1
1431
1431
  }, 8, [
@@ -1434,11 +1434,11 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1434
1434
  "read-only"
1435
1435
  ]));
1436
1436
  }
1437
- }), Tr = [
1437
+ }), Er = [
1438
1438
  "value",
1439
1439
  "disabled",
1440
1440
  "title"
1441
- ], Er = ["value"], Dr = /* @__PURE__ */ l({
1441
+ ], Dr = ["value"], Or = /* @__PURE__ */ l({
1442
1442
  __name: "SelectField",
1443
1443
  props: {
1444
1444
  field: {},
@@ -1462,7 +1462,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1462
1462
  }, [(o(!0), _(w, null, r(e.field.options, (e) => (o(), _("option", {
1463
1463
  key: e.value,
1464
1464
  value: e.value
1465
- }, T(e.label), 9, Er))), 128))], 42, Tr)]),
1465
+ }, T(e.label), 9, Dr))), 128))], 42, Er)]),
1466
1466
  _: 1
1467
1467
  }, 8, [
1468
1468
  "label",
@@ -1470,11 +1470,11 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1470
1470
  "read-only"
1471
1471
  ]));
1472
1472
  }
1473
- }), Or = [
1473
+ }), kr = [
1474
1474
  "value",
1475
1475
  "placeholder",
1476
1476
  "title"
1477
- ], kr = /* @__PURE__ */ l({
1477
+ ], Ar = /* @__PURE__ */ l({
1478
1478
  __name: "TextField",
1479
1479
  props: {
1480
1480
  field: {},
@@ -1497,7 +1497,7 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1497
1497
  placeholder: e.field.placeholder,
1498
1498
  disabled: "",
1499
1499
  title: p(r).customBlocks.dataSource.readOnlyTooltip
1500
- }, null, 10, Or)) : (o(), b(J, {
1500
+ }, null, 10, kr)) : (o(), b(J, {
1501
1501
  key: 1,
1502
1502
  "model-value": e.modelValue,
1503
1503
  placeholder: e.field.placeholder,
@@ -1510,12 +1510,12 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1510
1510
  "read-only"
1511
1511
  ]));
1512
1512
  }
1513
- }), Ar = [
1513
+ }), jr = [
1514
1514
  "value",
1515
1515
  "placeholder",
1516
1516
  "title"
1517
- ], jr = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", Mr = {
1518
- text: kr,
1517
+ ], Mr = "tpl:w-full tpl:resize-y tpl:rounded-md tpl:border tpl:border-[var(--tpl-border)] tpl:bg-[var(--tpl-bg)] tpl:px-3 tpl:py-2 tpl:text-sm tpl:text-[var(--tpl-text)] tpl:outline-none tpl:opacity-60 tpl:cursor-not-allowed", Nr = {
1518
+ text: Ar,
1519
1519
  textarea: /* @__PURE__ */ l({
1520
1520
  __name: "TextareaField",
1521
1521
  props: {
@@ -1538,8 +1538,8 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1538
1538
  rows: "3",
1539
1539
  disabled: "",
1540
1540
  title: p(r).customBlocks.dataSource.readOnlyTooltip,
1541
- class: h(jr)
1542
- }, null, 8, Ar)) : (o(), b(at, {
1541
+ class: h(Mr)
1542
+ }, null, 8, jr)) : (o(), b(ot, {
1543
1543
  key: 1,
1544
1544
  "model-value": e.modelValue,
1545
1545
  placeholder: e.field.placeholder,
@@ -1553,42 +1553,42 @@ var xn = { class: "tpl:space-y-3.5" }, Sn = ["data-testid"], Cn = ["data-testid"
1553
1553
  ]));
1554
1554
  }
1555
1555
  }),
1556
- image: hr,
1557
- color: fr,
1558
- number: _r,
1559
- select: Dr,
1560
- boolean: or,
1561
- repeatable: wr
1556
+ image: gr,
1557
+ color: pr,
1558
+ number: vr,
1559
+ select: Or,
1560
+ boolean: sr,
1561
+ repeatable: Tr
1562
1562
  };
1563
- function Nr(e) {
1564
- return Mr[e] ?? kr;
1563
+ function Pr(e) {
1564
+ return Nr[e] ?? Ar;
1565
1565
  }
1566
1566
  //#endregion
1567
1567
  //#region src/components/toolbar/CustomBlockToolbar.vue?vue&type=script&setup=true&lang.ts
1568
- var Pr = {
1568
+ var Fr = {
1569
1569
  key: 0,
1570
1570
  class: "tpl:p-4"
1571
- }, Fr = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Ir = { key: 1 }, Lr = {
1571
+ }, Ir = { class: "tpl:m-0 tpl:text-center tpl:text-sm tpl:text-[var(--tpl-text-muted)]" }, Lr = { key: 1 }, Rr = {
1572
1572
  key: 0,
1573
1573
  class: "tpl:m-0 tpl:mb-3 tpl:text-xs tpl:text-[var(--tpl-text-dim)]"
1574
- }, Rr = {
1574
+ }, zr = {
1575
1575
  key: 1,
1576
1576
  class: "tpl:mb-4"
1577
- }, zr = {
1577
+ }, Br = {
1578
1578
  key: 1,
1579
1579
  class: "tpl:flex tpl:h-[32px] tpl:items-center"
1580
- }, Br = {
1580
+ }, Vr = {
1581
1581
  key: 0,
1582
1582
  class: "tpl:w-full tpl:text-center tpl:text-xs tpl:text-[var(--tpl-text-muted)]"
1583
- }, Vr = {
1583
+ }, Hr = {
1584
1584
  key: 2,
1585
1585
  class: "tpl:m-0 tpl:mt-2 tpl:flex tpl:items-center tpl:gap-1.5 tpl:text-xs tpl:text-[var(--tpl-danger)]"
1586
- }, Hr = /* @__PURE__ */ l({
1586
+ }, Ur = /* @__PURE__ */ l({
1587
1587
  __name: "CustomBlockToolbar",
1588
1588
  props: { block: {} },
1589
1589
  emits: ["updateFieldValues", "updateDataSourceFetched"],
1590
1590
  setup(e, { emit: t }) {
1591
- let i = e, a = t, { t: s } = B(), l = n(Oe, []), u = g(() => l.find((e) => e.type === i.block.customType)), d = g(() => i.block), { isFetching: f, fetchError: h, fetch: y, hasDataSource: x, needsFetch: C } = pe({
1591
+ let i = e, a = t, { t: s } = B(), l = n(ke, []), u = g(() => l.find((e) => e.type === i.block.customType)), d = g(() => i.block), { isFetching: f, fetchError: h, fetch: y, hasDataSource: x, needsFetch: C } = se({
1592
1592
  definition: u,
1593
1593
  block: d,
1594
1594
  onUpdate: (e, t) => {
@@ -1604,23 +1604,23 @@ var Pr = {
1604
1604
  [e]: t
1605
1605
  });
1606
1606
  }
1607
- return (t, n) => u.value ? (o(), _("div", Ir, [
1608
- u.value.description ? (o(), _("p", Lr, T(u.value.description), 1)) : v("", !0),
1609
- p(x) ? (o(), _("div", Rr, [p(C) && !p(f) ? (o(), _("button", {
1607
+ return (t, n) => u.value ? (o(), _("div", Lr, [
1608
+ u.value.description ? (o(), _("p", Rr, T(u.value.description), 1)) : v("", !0),
1609
+ p(x) ? (o(), _("div", zr, [p(C) && !p(f) ? (o(), _("button", {
1610
1610
  key: 0,
1611
1611
  type: "button",
1612
1612
  class: "tpl:flex tpl:w-full tpl:items-center tpl:justify-center tpl:gap-2 tpl:rounded-md tpl:px-3 tpl:py-2.5 tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-on-primary)] tpl:transition-all tpl:bg-[var(--tpl-primary)]",
1613
1613
  onClick: n[0] ||= (...e) => p(y) && p(y)(...e)
1614
- }, T(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (o(), _("div", zr, [p(f) ? (o(), _("div", Br, T(p(s).customBlocks.dataSource.fetching), 1)) : (o(), _("button", {
1614
+ }, T(u.value?.dataSource?.label || p(s).customBlocks.dataSource.fetchButton), 1)) : (o(), _("div", Br, [p(f) ? (o(), _("div", Vr, T(p(s).customBlocks.dataSource.fetching), 1)) : (o(), _("button", {
1615
1615
  key: 1,
1616
1616
  type: "button",
1617
1617
  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)]",
1618
1618
  onClick: n[1] ||= (...e) => p(y) && p(y)(...e)
1619
- }, [m(p(Ne), { size: 12 }), D(" " + T(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(h) ? (o(), _("p", Vr, [m(p(Ie), {
1619
+ }, [m(p(Pe), { size: 12 }), D(" " + T(p(s).customBlocks.dataSource.changeButton), 1)]))])), p(h) ? (o(), _("p", Hr, [m(p(Le), {
1620
1620
  size: 14,
1621
1621
  class: "tpl:shrink-0"
1622
1622
  }), D(" " + T(p(s).customBlocks.dataSource.fetchError), 1)])) : v("", !0)])) : v("", !0),
1623
- (o(!0), _(w, null, r(u.value.fields, (t) => (o(), b(c(p(Nr)(t.type)), {
1623
+ (o(!0), _(w, null, r(u.value.fields, (t) => (o(), b(c(p(Pr)(t.type)), {
1624
1624
  key: t.key,
1625
1625
  field: t,
1626
1626
  "model-value": e.block.fieldValues[t.key],
@@ -1632,9 +1632,9 @@ var Pr = {
1632
1632
  "read-only",
1633
1633
  "onUpdate:modelValue"
1634
1634
  ]))), 128))
1635
- ])) : (o(), _("div", Pr, [S("p", Fr, T(p(s).customBlocks.toolbar.noDefinition), 1)]));
1635
+ ])) : (o(), _("div", Fr, [S("p", Ir, T(p(s).customBlocks.toolbar.noDefinition), 1)]));
1636
1636
  }
1637
- }), Ur = { class: "tpl:mb-3.5" }, Wr = { class: "tpl:mb-3.5" }, Gr = { class: "tpl:mb-3.5" }, Kr = { class: "tpl:flex tpl:items-stretch" }, qr = ["value"], Jr = /* @__PURE__ */ l({
1637
+ }), Wr = { class: "tpl:mb-3.5" }, Gr = { class: "tpl:mb-3.5" }, Kr = { class: "tpl:mb-3.5" }, qr = { class: "tpl:flex tpl:items-stretch" }, Jr = ["value"], Yr = /* @__PURE__ */ l({
1638
1638
  __name: "DividerToolbar",
1639
1639
  props: { block: {} },
1640
1640
  emits: ["update"],
@@ -1644,7 +1644,7 @@ var Pr = {
1644
1644
  n("update", { [e]: t });
1645
1645
  }
1646
1646
  return (t, n) => (o(), _(w, null, [
1647
- S("div", Ur, [S("label", { class: h(p(H)) }, T(p(r).divider.style), 3), m(Y, {
1647
+ S("div", Wr, [S("label", { class: h(p(H)) }, T(p(r).divider.style), 3), m(Y, {
1648
1648
  options: [
1649
1649
  {
1650
1650
  value: "solid",
@@ -1662,36 +1662,36 @@ var Pr = {
1662
1662
  "model-value": e.block.lineStyle,
1663
1663
  "onUpdate:modelValue": n[0] ||= (e) => i("lineStyle", e)
1664
1664
  }, null, 8, ["options", "model-value"])]),
1665
- S("div", Wr, [S("label", { class: h(p(H)) }, T(p(r).divider.color), 3), m(K, {
1665
+ S("div", Gr, [S("label", { class: h(p(H)) }, T(p(r).divider.color), 3), m(K, {
1666
1666
  "model-value": e.block.color,
1667
1667
  "onUpdate:modelValue": n[1] ||= (e) => i("color", e)
1668
1668
  }, null, 8, ["model-value"])]),
1669
- S("div", Gr, [S("label", { class: h(p(H)) }, T(p(r).divider.thickness), 3), S("div", Kr, [S("input", {
1669
+ S("div", Kr, [S("label", { class: h(p(H)) }, T(p(r).divider.thickness), 3), S("div", qr, [S("input", {
1670
1670
  type: "number",
1671
1671
  class: h(p(W)),
1672
1672
  value: e.block.thickness,
1673
1673
  min: "1",
1674
1674
  max: "10",
1675
1675
  onInput: n[2] ||= (e) => i("thickness", Number(e.target.value))
1676
- }, null, 42, qr), S("span", { class: h(p(U)) }, "px", 2)])])
1676
+ }, null, 42, Jr), S("span", { class: h(p(U)) }, "px", 2)])])
1677
1677
  ], 64));
1678
1678
  }
1679
- }), Yr = { class: "tpl:mb-3.5" }, Xr = ["value"], Zr = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, Qr = /* @__PURE__ */ l({
1679
+ }), Xr = { class: "tpl:mb-3.5" }, Zr = ["value"], Qr = { class: "tpl:mt-1.5 tpl:flex tpl:items-start tpl:gap-1.5 tpl:text-[10px] tpl:text-[var(--tpl-text-dim)]" }, $r = /* @__PURE__ */ l({
1680
1680
  __name: "HtmlToolbar",
1681
1681
  props: { block: {} },
1682
1682
  emits: ["update"],
1683
1683
  setup(e, { emit: t }) {
1684
1684
  let n = t, { t: r } = B();
1685
- return (t, i) => (o(), _("div", Yr, [
1685
+ return (t, i) => (o(), _("div", Xr, [
1686
1686
  S("label", { class: h(p(H)) }, T(p(r).html.content), 3),
1687
1687
  S("textarea", {
1688
1688
  value: e.block.content,
1689
1689
  placeholder: "<div>...</div>",
1690
1690
  rows: "10",
1691
- class: h(p($e)),
1691
+ class: h(p(et)),
1692
1692
  onInput: i[0] ||= (e) => n("update", { content: e.target.value })
1693
- }, null, 42, Xr),
1694
- S("p", Zr, [m(p(qe), {
1693
+ }, null, 42, Zr),
1694
+ S("p", Qr, [m(p(qe), {
1695
1695
  size: 12,
1696
1696
  class: "tpl:mt-0.5 tpl:shrink-0"
1697
1697
  }), D(" " + T(p(r).html.sanitizationHint), 1)])
@@ -1700,7 +1700,7 @@ var Pr = {
1700
1700
  });
1701
1701
  //#endregion
1702
1702
  //#region src/composables/useImageAspectLock.ts
1703
- function $r(e) {
1703
+ function ei(e) {
1704
1704
  let n = s(!1), r = s(null);
1705
1705
  t(() => e.block().id, () => {
1706
1706
  n.value = !1, r.value = null;
@@ -1718,7 +1718,7 @@ function $r(e) {
1718
1718
  function d() {
1719
1719
  if (he(e.block())) return {};
1720
1720
  let t = e.measured();
1721
- return t ? L(t) : {};
1721
+ return t ? R(t) : {};
1722
1722
  }
1723
1723
  function f(t) {
1724
1724
  if (r.value = null, !t) return n.value = !0, null;
@@ -1761,33 +1761,33 @@ function $r(e) {
1761
1761
  }
1762
1762
  //#endregion
1763
1763
  //#region src/components/toolbar/ImageToolbar.vue?vue&type=script&setup=true&lang.ts
1764
- var ei = { class: "tpl:mb-3.5" }, ti = {
1764
+ var ti = { class: "tpl:mb-3.5" }, ni = {
1765
1765
  key: 0,
1766
1766
  class: "tpl:mb-3.5"
1767
- }, ni = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ri = [
1767
+ }, ri = { class: "tpl:font-normal tpl:text-[var(--tpl-text-dim)]" }, ii = [
1768
1768
  "value",
1769
1769
  "placeholder",
1770
1770
  "title"
1771
- ], ii = { class: "tpl:mb-3.5" }, ai = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, oi = { class: "tpl:mb-3.5" }, si = ["value"], ci = { value: "full" }, li = { value: "custom" }, ui = {
1771
+ ], ai = { class: "tpl:mb-3.5" }, oi = { class: "tpl:block tpl:text-[var(--tpl-text-dim)]" }, si = { class: "tpl:mb-3.5" }, ci = ["value"], li = { value: "full" }, ui = { value: "custom" }, di = {
1772
1772
  key: 0,
1773
1773
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1774
- }, di = ["value"], fi = { class: "tpl:mb-3.5" }, pi = {
1774
+ }, fi = ["value"], pi = { class: "tpl:mb-3.5" }, mi = {
1775
1775
  key: 0,
1776
1776
  class: "tpl:mb-1.5 tpl:flex tpl:items-center tpl:justify-between"
1777
- }, mi = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, hi = { class: "tpl:flex tpl:items-stretch" }, gi = ["value"], _i = {
1777
+ }, hi = { class: "tpl:text-sm tpl:font-medium tpl:text-[var(--tpl-text-muted)]" }, gi = { class: "tpl:flex tpl:items-stretch" }, _i = ["value"], vi = {
1778
1778
  key: 0,
1779
1779
  class: "tpl:mt-1.5 tpl:text-xs tpl:text-[var(--tpl-text-dim)]",
1780
1780
  role: "status",
1781
1781
  "data-testid": "image-height-capped"
1782
- }, vi = ["value"], yi = { value: "auto" }, bi = { value: "custom" }, xi = {
1782
+ }, yi = ["value"], bi = { value: "auto" }, xi = { value: "custom" }, Si = {
1783
1783
  key: 4,
1784
1784
  class: "tpl:mt-2 tpl:flex tpl:items-stretch"
1785
- }, Si = ["value"], Ci = { class: "tpl:mb-3.5" }, wi = { class: "tpl:mb-3.5" }, Ti = 350, Ei = 200, Di = /* @__PURE__ */ l({
1785
+ }, Ci = ["value"], wi = { class: "tpl:mb-3.5" }, Ti = { class: "tpl:mb-3.5" }, Ei = 350, Di = 200, Oi = /* @__PURE__ */ l({
1786
1786
  __name: "ImageToolbar",
1787
1787
  props: { block: {} },
1788
1788
  emits: ["update"],
1789
1789
  setup(e, { emit: t }) {
1790
- let r = e, a = t, { t: c, format: l } = B(), u = n(Ce, ie.liquid), d = n(Te, null), f = n(xe, void 0), y = s(!1), x = s(!1), { start: C } = ye(() => {
1790
+ let r = e, a = t, { t: c, format: l } = B(), u = n(we, ie.liquid), d = n(Ee, null), f = n(xe, void 0), y = s(!1), x = s(!1), { start: C } = ye(() => {
1791
1791
  y.value = !1, x.value = !1;
1792
1792
  }, 1e3, { immediate: !1 }), E = [
1793
1793
  300,
@@ -1800,79 +1800,79 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
1800
1800
  function j(e, t) {
1801
1801
  a("update", { [e]: t });
1802
1802
  }
1803
- function ee(e) {
1803
+ function M(e) {
1804
1804
  if (e === "custom") {
1805
1805
  let e = r.block.width;
1806
- (typeof e != "number" || E.includes(e)) && a("update", R.widthUpdates(Ti));
1807
- } else a("update", R.widthUpdates(e === "full" ? "full" : Number(e)));
1808
- }
1809
- function M(e) {
1810
- j("height", e === "custom" ? Ei : void 0);
1806
+ (typeof e != "number" || E.includes(e)) && a("update", z.widthUpdates(Ei));
1807
+ } else a("update", z.widthUpdates(e === "full" ? "full" : Number(e)));
1811
1808
  }
1812
1809
  function N(e) {
1810
+ j("height", e === "custom" ? Di : void 0);
1811
+ }
1812
+ function P(e) {
1813
1813
  let t = Number(e);
1814
1814
  !Number.isFinite(t) || t <= 0 || j("height", t);
1815
1815
  }
1816
- function te(e) {
1816
+ function ee(e) {
1817
1817
  j("borderRadius", k(e) === null ? void 0 : e);
1818
1818
  }
1819
- function ne(e) {
1819
+ function F(e) {
1820
1820
  let t = Number(e);
1821
- !Number.isFinite(t) || t <= 0 || a("update", R.widthUpdates(t));
1821
+ !Number.isFinite(t) || t <= 0 || a("update", z.widthUpdates(t));
1822
1822
  }
1823
- function F(e) {
1823
+ function te(e) {
1824
1824
  e !== r.block.src && a("update", {
1825
1825
  src: e,
1826
- ...L(null)
1826
+ ...R(null)
1827
1827
  });
1828
1828
  }
1829
- function re(e) {
1829
+ function ne(e) {
1830
1830
  a("update", {
1831
1831
  src: e.url,
1832
- ...L(de(e.width, e.height))
1832
+ ...R(fe(e.width, e.height))
1833
1833
  }), e.alt && (j("alt", e.alt), x.value = !0), y.value = !0, C();
1834
1834
  }
1835
- let ae = s(), I = g(() => P(r.block.src, u)), { canBrowse: se, isUploading: ce, showOverlay: le, openMediaBrowser: ue } = me({
1836
- target: ae,
1835
+ let re = s(), I = g(() => L(r.block.src, u)), { canBrowse: ae, isUploading: se, showOverlay: ce, openMediaBrowser: le } = me({
1836
+ target: re,
1837
1837
  blocked: I,
1838
- apply: re
1839
- }), pe = oe(() => I.value || !r.block.src || he(r.block) ? void 0 : r.block.src), ge = vn(() => pe.value), _e = g(() => d ? fe(d.content.value, r.block.id, f) : null), R = $r({
1838
+ apply: ne
1839
+ }), ue = oe(() => I.value || !r.block.src || he(r.block) ? void 0 : r.block.src), de = yn(() => ue.value), ge = g(() => d ? pe(d.content.value, r.block.id, f) : null), z = ei({
1840
1840
  block: () => r.block,
1841
- room: () => _e.value,
1842
- measured: () => ge.value
1843
- }), { available: be, locked: z, derivedHeight: Se, cappedHeight: we } = R;
1844
- function Ee() {
1845
- let e = R.setLocked(!z.value);
1841
+ room: () => ge.value,
1842
+ measured: () => de.value
1843
+ }), { available: ve, locked: be, derivedHeight: Se, cappedHeight: Ce } = z;
1844
+ function Te() {
1845
+ let e = z.setLocked(!be.value);
1846
1846
  e && a("update", e);
1847
1847
  }
1848
1848
  let De = s(null);
1849
1849
  function Oe(e) {
1850
1850
  De.value = e;
1851
- let t = R.heightUpdates(Number(e));
1851
+ let t = z.heightUpdates(Number(e));
1852
1852
  t && a("update", t);
1853
1853
  }
1854
1854
  return (t, n) => (o(), _(w, null, [
1855
- S("div", ei, [S("label", { class: h(p(H)) }, T(p(c).image.imageUrl), 3), S("div", {
1855
+ S("div", ti, [S("label", { class: h(p(H)) }, T(p(c).image.imageUrl), 3), S("div", {
1856
1856
  ref_key: "dropZoneRef",
1857
- ref: ae,
1857
+ ref: re,
1858
1858
  class: "tpl:relative"
1859
1859
  }, [
1860
- p(le) ? (o(), b(ve, {
1860
+ p(ce) ? (o(), b(_e, {
1861
1861
  key: 0,
1862
- uploading: p(ce)
1862
+ uploading: p(se)
1863
1863
  }, null, 8, ["uploading"])) : v("", !0),
1864
1864
  m(J, {
1865
1865
  "model-value": e.block.src,
1866
1866
  type: "url",
1867
1867
  placeholder: p(c).image.imageUrlPlaceholder,
1868
1868
  pulse: y.value,
1869
- "onUpdate:modelValue": n[0] ||= (e) => F(e)
1869
+ "onUpdate:modelValue": n[0] ||= (e) => te(e)
1870
1870
  }, null, 8, [
1871
1871
  "model-value",
1872
1872
  "placeholder",
1873
1873
  "pulse"
1874
1874
  ]),
1875
- p(se) ? (o(), _("button", {
1875
+ p(ae) ? (o(), _("button", {
1876
1876
  key: 1,
1877
1877
  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",
1878
1878
  style: {
@@ -1880,21 +1880,21 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
1880
1880
  color: "var(--tpl-primary)",
1881
1881
  "background-color": "var(--tpl-bg)"
1882
1882
  },
1883
- onClick: n[1] ||= (...e) => p(ue) && p(ue)(...e)
1883
+ onClick: n[1] ||= (...e) => p(le) && p(le)(...e)
1884
1884
  }, [m(p(Ge), {
1885
1885
  size: 14,
1886
1886
  "stroke-width": 1.5
1887
1887
  }), D(" " + T(p(c).image.browseMedia), 1)])) : v("", !0)
1888
1888
  ], 512)]),
1889
- p(P)(e.block.src, p(u)) ? (o(), _("div", ti, [S("label", { class: h(p(H)) }, [D(T(p(c).image.placeholderUrl) + " ", 1), S("span", ni, T(p(c).image.optional), 1)], 2), S("input", {
1889
+ p(L)(e.block.src, p(u)) ? (o(), _("div", ni, [S("label", { class: h(p(H)) }, [D(T(p(c).image.placeholderUrl) + " ", 1), S("span", ri, T(p(c).image.optional), 1)], 2), S("input", {
1890
1890
  type: "url",
1891
1891
  class: h(p(G)),
1892
1892
  value: e.block.placeholderUrl || "",
1893
1893
  placeholder: p(c).image.placeholderUrlPlaceholder,
1894
1894
  title: p(c).image.placeholderUrlTooltip,
1895
1895
  onInput: n[2] ||= (e) => j("placeholderUrl", e.target.value)
1896
- }, null, 42, ri)])) : v("", !0),
1897
- S("div", ii, [
1896
+ }, null, 42, ii)])) : v("", !0),
1897
+ S("div", ai, [
1898
1898
  S("label", { class: h(p(H)) }, T(p(c).image.altText), 3),
1899
1899
  m(J, {
1900
1900
  "model-value": e.block.alt,
@@ -1915,40 +1915,40 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
1915
1915
  label: p(c).image.decorative,
1916
1916
  "onUpdate:modelValue": n[4] ||= (e) => j("decorative", e)
1917
1917
  }, {
1918
- default: i(() => [S("span", null, [D(T(p(c).image.decorative) + " ", 1), S("span", ai, T(p(c).image.decorativeHint), 1)])]),
1918
+ default: i(() => [S("span", null, [D(T(p(c).image.decorative) + " ", 1), S("span", oi, T(p(c).image.decorativeHint), 1)])]),
1919
1919
  _: 1
1920
1920
  }, 8, ["model-value", "label"])
1921
1921
  ]),
1922
- S("div", oi, [
1922
+ S("div", si, [
1923
1923
  S("label", { class: h(p(H)) }, T(p(c).image.width), 3),
1924
1924
  S("select", {
1925
1925
  class: h(p(G)),
1926
1926
  "data-testid": "image-width-mode",
1927
1927
  value: O.value,
1928
- onChange: n[5] ||= (e) => ee(e.target.value)
1928
+ onChange: n[5] ||= (e) => M(e.target.value)
1929
1929
  }, [
1930
- S("option", ci, T(p(c).image.fullWidth), 1),
1930
+ S("option", li, T(p(c).image.fullWidth), 1),
1931
1931
  n[15] ||= S("option", { value: "300" }, "300px", -1),
1932
1932
  n[16] ||= S("option", { value: "400" }, "400px", -1),
1933
1933
  n[17] ||= S("option", { value: "500" }, "500px", -1),
1934
- S("option", li, T(p(c).image.widthCustom), 1)
1935
- ], 42, si),
1936
- O.value === "custom" ? (o(), _("div", ui, [S("input", {
1934
+ S("option", ui, T(p(c).image.widthCustom), 1)
1935
+ ], 42, ci),
1936
+ O.value === "custom" ? (o(), _("div", di, [S("input", {
1937
1937
  type: "number",
1938
1938
  "data-testid": "image-width-input",
1939
1939
  class: h(p(W)),
1940
- value: typeof e.block.width == "number" ? e.block.width : Ti,
1940
+ value: typeof e.block.width == "number" ? e.block.width : Ei,
1941
1941
  min: "20",
1942
- onInput: n[6] ||= (e) => ne(e.target.value)
1943
- }, null, 42, di), S("span", { class: h(p(U)) }, "px", 2)])) : v("", !0)
1942
+ onInput: n[6] ||= (e) => F(e.target.value)
1943
+ }, null, 42, fi), S("span", { class: h(p(U)) }, "px", 2)])) : v("", !0)
1944
1944
  ]),
1945
- S("div", fi, [
1946
- p(be) ? (o(), _("div", pi, [S("span", mi, T(p(c).image.height), 1), m(pt, {
1947
- linked: p(z),
1945
+ S("div", pi, [
1946
+ p(ve) ? (o(), _("div", mi, [S("span", hi, T(p(c).image.height), 1), m(mt, {
1947
+ linked: p(be),
1948
1948
  "link-label": p(c).image.lockAspectRatio,
1949
1949
  "unlink-label": p(c).image.unlockAspectRatio,
1950
1950
  testid: "image-aspect-lock",
1951
- onToggle: Ee
1951
+ onToggle: Te
1952
1952
  }, null, 8, [
1953
1953
  "linked",
1954
1954
  "link-label",
@@ -1957,7 +1957,7 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
1957
1957
  key: 1,
1958
1958
  class: h(p(H))
1959
1959
  }, T(p(c).image.height), 3)),
1960
- p(z) ? (o(), _(w, { key: 2 }, [S("div", hi, [S("input", {
1960
+ p(be) ? (o(), _(w, { key: 2 }, [S("div", gi, [S("input", {
1961
1961
  type: "number",
1962
1962
  "data-testid": "image-locked-height-input",
1963
1963
  class: h(p(W)),
@@ -1965,35 +1965,35 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
1965
1965
  min: "1",
1966
1966
  onInput: n[7] ||= (e) => Oe(e.target.value),
1967
1967
  onBlur: n[8] ||= (e) => De.value = null
1968
- }, null, 42, gi), S("span", { class: h(p(U)) }, "px", 2)]), p(we) === null ? v("", !0) : (o(), _("p", _i, T(p(l)(p(c).image.heightCapped, { height: p(we) })), 1))], 64)) : v("", !0),
1969
- p(z) ? v("", !0) : (o(), _("select", {
1968
+ }, null, 42, _i), S("span", { class: h(p(U)) }, "px", 2)]), p(Ce) === null ? v("", !0) : (o(), _("p", vi, T(p(l)(p(c).image.heightCapped, { height: p(Ce) })), 1))], 64)) : v("", !0),
1969
+ p(be) ? v("", !0) : (o(), _("select", {
1970
1970
  key: 3,
1971
1971
  class: h(p(G)),
1972
1972
  "data-testid": "image-height-mode",
1973
1973
  value: A.value,
1974
- onChange: n[9] ||= (e) => M(e.target.value)
1975
- }, [S("option", yi, T(p(c).image.heightAuto), 1), S("option", bi, T(p(c).image.heightCustom), 1)], 42, vi)),
1976
- !p(z) && A.value === "custom" ? (o(), _("div", xi, [S("input", {
1974
+ onChange: n[9] ||= (e) => N(e.target.value)
1975
+ }, [S("option", bi, T(p(c).image.heightAuto), 1), S("option", xi, T(p(c).image.heightCustom), 1)], 42, yi)),
1976
+ !p(be) && A.value === "custom" ? (o(), _("div", Si, [S("input", {
1977
1977
  type: "number",
1978
1978
  "data-testid": "image-height-input",
1979
1979
  class: h(p(W)),
1980
1980
  value: e.block.height,
1981
1981
  min: "20",
1982
- onInput: n[10] ||= (e) => N(e.target.value)
1983
- }, null, 42, Si), S("span", { class: h(p(U)) }, "px", 2)])) : v("", !0)
1982
+ onInput: n[10] ||= (e) => P(e.target.value)
1983
+ }, null, 42, Ci), S("span", { class: h(p(U)) }, "px", 2)])) : v("", !0)
1984
1984
  ]),
1985
- m(Et, {
1985
+ m(Dt, {
1986
1986
  "model-value": e.block.borderRadius,
1987
1987
  label: p(c).image.borderRadius,
1988
1988
  "testid-prefix": "image",
1989
- "onUpdate:modelValue": te
1989
+ "onUpdate:modelValue": ee
1990
1990
  }, null, 8, ["model-value", "label"]),
1991
- m(bt, {
1991
+ m(xt, {
1992
1992
  "model-value": e.block.border,
1993
1993
  "testid-prefix": "image",
1994
1994
  "onUpdate:modelValue": n[11] ||= (e) => j("border", e)
1995
1995
  }, null, 8, ["model-value"]),
1996
- S("div", Ci, [S("label", { class: h(p(H)) }, T(p(c).title.align), 3), m(Y, {
1996
+ S("div", wi, [S("label", { class: h(p(H)) }, T(p(c).title.align), 3), m(Y, {
1997
1997
  options: [
1998
1998
  {
1999
1999
  value: "left",
@@ -2011,7 +2011,7 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2011
2011
  "model-value": e.block.align,
2012
2012
  "onUpdate:modelValue": n[12] ||= (e) => j("align", e)
2013
2013
  }, null, 8, ["options", "model-value"])]),
2014
- S("div", wi, [
2014
+ S("div", Ti, [
2015
2015
  S("label", { class: h(p(H)) }, T(p(c).image.linkUrl), 3),
2016
2016
  m(J, {
2017
2017
  "model-value": e.block.linkUrl || "",
@@ -2029,20 +2029,20 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2029
2029
  ])
2030
2030
  ], 64));
2031
2031
  }
2032
- }), Oi = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
2032
+ }), ki = { class: "tpl:mb-3.5" }, $ = /* @__PURE__ */ l({
2033
2033
  __name: "FieldRow",
2034
2034
  props: { label: {} },
2035
2035
  setup(e) {
2036
- return (t, n) => (o(), _("div", Oi, [e.label ? (o(), _("label", {
2036
+ return (t, n) => (o(), _("div", ki, [e.label ? (o(), _("label", {
2037
2037
  key: 0,
2038
2038
  class: h(p(H))
2039
2039
  }, T(e.label), 3)) : v("", !0), a(t.$slots, "default")]));
2040
2040
  }
2041
- }), ki = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, Ai = { class: "tpl:flex tpl:items-center tpl:gap-2" }, ji = [
2041
+ }), Ai = { class: "tpl:flex tpl:flex-col tpl:gap-2" }, ji = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Mi = [
2042
2042
  "value",
2043
2043
  "placeholder",
2044
2044
  "onInput"
2045
- ], Mi = ["title", "onClick"], Ni = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Pi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Fi = ["value"], Ii = { value: "" }, Li = ["value"], Ri = ["value"], zi = /* @__PURE__ */ l({
2045
+ ], Ni = ["title", "onClick"], Pi = { class: "tpl:flex tpl:flex-wrap tpl:items-center tpl:gap-x-3 tpl:gap-y-1.5 tpl:text-xs tpl:text-[var(--tpl-text-muted)]" }, Fi = { class: "tpl:flex tpl:items-center tpl:gap-2" }, Ii = ["value"], Li = { value: "" }, Ri = ["value"], zi = ["value"], Bi = /* @__PURE__ */ l({
2046
2046
  __name: "MenuToolbar",
2047
2047
  props: {
2048
2048
  block: {},
@@ -2067,17 +2067,17 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2067
2067
  {
2068
2068
  value: "left",
2069
2069
  label: s.title.alignLeft,
2070
- icon: Ue
2070
+ icon: He
2071
2071
  },
2072
2072
  {
2073
2073
  value: "center",
2074
2074
  label: s.title.alignCenter,
2075
- icon: Xe
2075
+ icon: Ze
2076
2076
  },
2077
2077
  {
2078
2078
  value: "right",
2079
2079
  label: s.title.alignRight,
2080
- icon: Re
2080
+ icon: ze
2081
2081
  }
2082
2082
  ]);
2083
2083
  function u(e, t) {
@@ -2085,7 +2085,7 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2085
2085
  }
2086
2086
  function d() {
2087
2087
  let e = {
2088
- id: j(),
2088
+ id: I(),
2089
2089
  text: "",
2090
2090
  url: "",
2091
2091
  openInNewTab: !1,
@@ -2106,24 +2106,24 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2106
2106
  }
2107
2107
  return (t, n) => (o(), _(w, null, [
2108
2108
  m($, { label: p(s).menu.items }, {
2109
- default: i(() => [S("div", ki, [(o(!0), _(w, null, r(e.block.items, (t) => (o(), _("div", {
2109
+ default: i(() => [S("div", Ai, [(o(!0), _(w, null, r(e.block.items, (t) => (o(), _("div", {
2110
2110
  key: t.id,
2111
2111
  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"
2112
2112
  }, [
2113
- S("div", Ai, [S("input", {
2113
+ S("div", ji, [S("input", {
2114
2114
  type: "text",
2115
2115
  class: h([p(G), "tpl:flex-1"]),
2116
2116
  value: t.text,
2117
2117
  placeholder: p(s).menu.text,
2118
2118
  onInput: (e) => f(t.id, "text", e.target.value)
2119
- }, null, 42, ji), S("button", {
2120
- class: h(p(et)),
2119
+ }, null, 42, Mi), S("button", {
2120
+ class: h(p(tt)),
2121
2121
  title: p(s).menu.removeItem,
2122
2122
  onClick: (e) => v(t.id)
2123
2123
  }, [m(p(Ke), {
2124
2124
  size: 14,
2125
2125
  "stroke-width": 2
2126
- })], 10, Mi)]),
2126
+ })], 10, Ni)]),
2127
2127
  m(J, {
2128
2128
  "model-value": t.url,
2129
2129
  type: "url",
@@ -2134,7 +2134,7 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2134
2134
  "placeholder",
2135
2135
  "onUpdate:modelValue"
2136
2136
  ]),
2137
- S("div", Ni, [(o(!0), _(w, null, r(c.value, (e) => (o(), b(q, {
2137
+ S("div", Pi, [(o(!0), _(w, null, r(c.value, (e) => (o(), b(q, {
2138
2138
  key: e.key,
2139
2139
  "model-value": t[e.key],
2140
2140
  label: e.label,
@@ -2144,13 +2144,13 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2144
2144
  "label",
2145
2145
  "onUpdate:modelValue"
2146
2146
  ]))), 128))]),
2147
- S("div", Pi, [S("label", { class: h([p(H), "tpl:!mb-0"]) }, T(p(s).menu.color), 3), m(K, {
2147
+ S("div", Fi, [S("label", { class: h([p(H), "tpl:!mb-0"]) }, T(p(s).menu.color), 3), m(K, {
2148
2148
  "swatch-only": "",
2149
2149
  "model-value": t.color || e.block.linkColor || e.block.color || "",
2150
2150
  "onUpdate:modelValue": (e) => f(t.id, "color", e)
2151
2151
  }, null, 8, ["model-value", "onUpdate:modelValue"])])
2152
2152
  ]))), 128)), S("button", {
2153
- class: h(p(tt)),
2153
+ class: h(p(nt)),
2154
2154
  onClick: d
2155
2155
  }, [m(p(V), {
2156
2156
  size: 14,
@@ -2161,12 +2161,12 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2161
2161
  m($, { label: p(s).menu.fontFamily }, {
2162
2162
  default: i(() => [S("select", {
2163
2163
  class: h(p(G)),
2164
- value: p(st)(e.block.fontFamily),
2164
+ value: p(ct)(e.block.fontFamily),
2165
2165
  onChange: n[0] ||= (e) => u("fontFamily", e.target.value || void 0)
2166
- }, [S("option", Ii, T(p(s).title.inheritFont), 1), (o(!0), _(w, null, r(e.fontFamilies, (e) => (o(), _("option", {
2166
+ }, [S("option", Li, T(p(s).title.inheritFont), 1), (o(!0), _(w, null, r(e.fontFamilies, (e) => (o(), _("option", {
2167
2167
  key: e.value,
2168
2168
  value: e.value
2169
- }, T(e.label), 9, Li))), 128))], 42, Fi)]),
2169
+ }, T(e.label), 9, Ri))), 128))], 42, Ii)]),
2170
2170
  _: 1
2171
2171
  }, 8, ["label"]),
2172
2172
  m($, { label: p(s).menu.fontSize }, {
@@ -2207,7 +2207,7 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2207
2207
  class: h(p(G)),
2208
2208
  value: e.block.separator,
2209
2209
  onInput: n[5] ||= (e) => u("separator", e.target.value)
2210
- }, null, 42, Ri)]),
2210
+ }, null, 42, zi)]),
2211
2211
  _: 1
2212
2212
  }, 8, ["label"]),
2213
2213
  m($, { label: p(s).menu.separatorColor }, {
@@ -2229,32 +2229,29 @@ var ei = { class: "tpl:mb-3.5" }, ti = {
2229
2229
  }, 8, ["label"])
2230
2230
  ], 64));
2231
2231
  }
2232
- }), Bi = {
2232
+ }), Vi = {
2233
2233
  class: "tpl:mb-3.5",
2234
2234
  "data-testid": "paragraph-spacing"
2235
- }, Vi = { class: "tpl:flex tpl:items-stretch" }, Hi = ["value"], Ui = /* @__PURE__ */ l({
2235
+ }, Hi = { class: "tpl:flex tpl:items-stretch" }, Ui = ["value"], Wi = /* @__PURE__ */ l({
2236
2236
  __name: "ParagraphToolbar",
2237
2237
  props: { block: {} },
2238
2238
  emits: ["update"],
2239
2239
  setup(e, { emit: t }) {
2240
2240
  let n = t, { t: r } = B();
2241
- return (t, i) => (o(), _("div", Bi, [S("label", { class: h(p(H)) }, T(p(r).paragraph.paragraphSpacing), 3), S("div", Vi, [S("input", {
2241
+ return (t, i) => (o(), _("div", Vi, [S("label", { class: h(p(H)) }, T(p(r).paragraph.paragraphSpacing), 3), S("div", Hi, [S("input", {
2242
2242
  type: "number",
2243
2243
  class: h(p(W)),
2244
- value: e.block.paragraphSpacing ?? p(ne).paragraphGap,
2244
+ value: e.block.paragraphSpacing ?? p(N).paragraphGap,
2245
2245
  min: "0",
2246
2246
  max: "64",
2247
2247
  onInput: i[0] ||= (e) => n("update", { paragraphSpacing: Number(e.target.value) })
2248
- }, null, 42, Hi), S("span", { class: h(p(U)) }, "px", 2)])]));
2248
+ }, null, 42, Ui), S("span", { class: h(p(U)) }, "px", 2)])]));
2249
2249
  }
2250
2250
  });
2251
2251
  //#endregion
2252
2252
  //#region src/utils/rebalanceColumnChildren.ts
2253
- function Wi(e) {
2254
- return e === "1" ? 1 : e === "3" ? 3 : 2;
2255
- }
2256
2253
  function Gi(e, t) {
2257
- let n = Wi(t);
2254
+ let n = ae(t);
2258
2255
  if (e.length === n) return e;
2259
2256
  if (e.length < n) {
2260
2257
  let t = Array.from({ length: n - e.length }, () => []);
@@ -2282,7 +2279,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2282
2279
  props: { block: {} },
2283
2280
  emits: ["update"],
2284
2281
  setup(e, { emit: t }) {
2285
- let i = e, a = t, { t: s } = B(), c = n(xe, void 0), l = n(z, void 0), u = c !== void 0 && ee(c), d = g(() => l !== !1 || !!i.block.wrapper), f = g(() => u && !i.block.wrapper), y = g(() => u && d.value), x = g(() => N(i.block)?.applied === !0), C = g(() => [
2282
+ let i = e, a = t, { t: s } = B(), c = n(xe, void 0), l = n(Se, void 0), u = c !== void 0 && A(c), d = g(() => l !== !1 || !!i.block.wrapper), f = g(() => u && !i.block.wrapper), y = g(() => u && d.value), x = g(() => j(i.block)?.applied === !0), C = g(() => [
2286
2283
  {
2287
2284
  value: "1",
2288
2285
  label: s.section.column1
@@ -2325,17 +2322,17 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2325
2322
  left: 20
2326
2323
  } } : void 0 });
2327
2324
  }
2328
- function A(e) {
2325
+ function M(e) {
2329
2326
  a("update", { wrapper: {
2330
2327
  ...i.block.wrapper,
2331
2328
  ...e
2332
2329
  } });
2333
2330
  }
2334
- function j(e) {
2335
- A({ padding: e });
2331
+ function N(e) {
2332
+ M({ padding: e });
2336
2333
  }
2337
- function M(e) {
2338
- A({ borderRadius: e });
2334
+ function P(e) {
2335
+ M({ borderRadius: e });
2339
2336
  }
2340
2337
  return (t, n) => (o(), _(w, null, [
2341
2338
  S("div", Ki, [S("label", { class: h(p(H)) }, T(p(s).section.columns), 3), S("select", {
@@ -2352,14 +2349,14 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2352
2349
  label: p(s).section.stackOnMobile,
2353
2350
  "onUpdate:modelValue": n[0] ||= (e) => D(e)
2354
2351
  }, null, 8, ["model-value", "label"])])),
2355
- m(Et, {
2352
+ m(Dt, {
2356
2353
  "model-value": e.block.borderRadius,
2357
2354
  label: p(s).section.borderRadius,
2358
2355
  max: 50,
2359
2356
  "testid-prefix": "section",
2360
2357
  "onUpdate:modelValue": O
2361
2358
  }, null, 8, ["model-value", "label"]),
2362
- x.value ? v("", !0) : (o(), b(bt, {
2359
+ x.value ? v("", !0) : (o(), b(xt, {
2363
2360
  key: 1,
2364
2361
  "model-value": e.block.border,
2365
2362
  "testid-prefix": "section",
@@ -2382,14 +2379,14 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2382
2379
  S("div", null, [S("label", { class: h(p(H)) }, T(p(s).blockSettings.color), 3), m(K, {
2383
2380
  "model-value": e.block.wrapper.backgroundColor ?? "",
2384
2381
  "allow-transparent": "",
2385
- "onUpdate:modelValue": n[3] ||= (e) => A({ backgroundColor: e })
2382
+ "onUpdate:modelValue": n[3] ||= (e) => M({ backgroundColor: e })
2386
2383
  }, null, 8, ["model-value"])]),
2387
- m(On, {
2384
+ m(kn, {
2388
2385
  "model-value": e.block.wrapper.backgroundImage,
2389
2386
  "testid-prefix": "section-wrapper",
2390
- "onUpdate:modelValue": n[4] ||= (e) => A({ backgroundImage: e })
2387
+ "onUpdate:modelValue": n[4] ||= (e) => M({ backgroundImage: e })
2391
2388
  }, null, 8, ["model-value"]),
2392
- m(_n, {
2389
+ m(vn, {
2393
2390
  label: p(s).blockSettings.padding,
2394
2391
  "model-value": e.block.wrapper.padding ?? {
2395
2392
  top: 0,
@@ -2397,14 +2394,14 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2397
2394
  bottom: 0,
2398
2395
  left: 0
2399
2396
  },
2400
- "onUpdate:modelValue": j
2397
+ "onUpdate:modelValue": N
2401
2398
  }, null, 8, ["label", "model-value"]),
2402
- m(Et, {
2399
+ m(Dt, {
2403
2400
  "model-value": e.block.wrapper.borderRadius,
2404
2401
  label: p(s).section.borderRadius,
2405
2402
  max: 50,
2406
2403
  "testid-prefix": "section-wrapper",
2407
- "onUpdate:modelValue": M
2404
+ "onUpdate:modelValue": P
2408
2405
  }, null, 8, ["model-value", "label"])
2409
2406
  ])) : v("", !0)
2410
2407
  ])) : v("", !0)
@@ -2421,7 +2418,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2421
2418
  }
2422
2419
  function c() {
2423
2420
  let e = {
2424
- id: j(),
2421
+ id: I(),
2425
2422
  platform: "facebook",
2426
2423
  url: ""
2427
2424
  };
@@ -2446,11 +2443,11 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2446
2443
  class: h([p(G), "tpl:flex-1"]),
2447
2444
  value: e.platform,
2448
2445
  onChange: (t) => l(e.id, "platform", t.target.value)
2449
- }, [(o(!0), _(w, null, r(p(_e), (e) => (o(), _("option", {
2446
+ }, [(o(!0), _(w, null, r(p(z), (e) => (o(), _("option", {
2450
2447
  key: e,
2451
2448
  value: e
2452
2449
  }, T(p(a).social.platforms[e]), 9, ia))), 128))], 42, ra), S("button", {
2453
- class: h(p(et)),
2450
+ class: h(p(tt)),
2454
2451
  title: p(a).social.removeIcon,
2455
2452
  onClick: (t) => u(e.id)
2456
2453
  }, [m(p(Ke), {
@@ -2466,7 +2463,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2466
2463
  "placeholder",
2467
2464
  "onUpdate:modelValue"
2468
2465
  ])]))), 128)), S("button", {
2469
- class: h(p(tt)),
2466
+ class: h(p(nt)),
2470
2467
  onClick: c
2471
2468
  }, [m(p(V), {
2472
2469
  size: 14,
@@ -2525,17 +2522,17 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2525
2522
  {
2526
2523
  value: "left",
2527
2524
  label: p(a).title.alignLeft,
2528
- icon: p(Ue)
2525
+ icon: p(He)
2529
2526
  },
2530
2527
  {
2531
2528
  value: "center",
2532
2529
  label: p(a).title.alignCenter,
2533
- icon: p(Xe)
2530
+ icon: p(Ze)
2534
2531
  },
2535
2532
  {
2536
2533
  value: "right",
2537
2534
  label: p(a).title.alignRight,
2538
- icon: p(Re)
2535
+ icon: p(ze)
2539
2536
  }
2540
2537
  ],
2541
2538
  "model-value": e.block.align,
@@ -2586,9 +2583,9 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2586
2583
  }
2587
2584
  function l() {
2588
2585
  let e = n.block.rows.length > 0 ? n.block.rows[0].cells.length : 3, t = {
2589
- id: j(),
2586
+ id: I(),
2590
2587
  cells: Array.from({ length: e }, () => ({
2591
- id: j(),
2588
+ id: I(),
2592
2589
  content: ""
2593
2590
  }))
2594
2591
  };
@@ -2601,7 +2598,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2601
2598
  let e = n.block.rows.map((e) => ({
2602
2599
  ...e,
2603
2600
  cells: [...e.cells, {
2604
- id: j(),
2601
+ id: I(),
2605
2602
  content: ""
2606
2603
  }]
2607
2604
  }));
@@ -2620,7 +2617,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2620
2617
  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",
2621
2618
  disabled: e.block.rows.length <= 1,
2622
2619
  onClick: n[0] ||= (t) => u(e.block.rows[e.block.rows.length - 1].id)
2623
- }, [m(p(Ye), {
2620
+ }, [m(p(Xe), {
2624
2621
  size: 12,
2625
2622
  "stroke-width": 2
2626
2623
  })], 8, Fa),
@@ -2637,7 +2634,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2637
2634
  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",
2638
2635
  disabled: s.value <= 1,
2639
2636
  onClick: n[1] ||= (e) => f(s.value - 1)
2640
- }, [m(p(Ye), {
2637
+ }, [m(p(Xe), {
2641
2638
  size: 12,
2642
2639
  "stroke-width": 2
2643
2640
  })], 8, Ba),
@@ -2658,7 +2655,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2658
2655
  }, null, 8, ["model-value", "label"])]),
2659
2656
  e.block.hasHeaderRow ? (o(), _("div", Ua, [S("label", { class: h(p(H)) }, T(p(a).table.headerBackgroundColor), 3), m(K, {
2660
2657
  "model-value": e.block.headerBackgroundColor ?? "",
2661
- "seed-color": p(nt),
2658
+ "seed-color": p(rt),
2662
2659
  placeholder: p(a).table.noHeaderBg,
2663
2660
  "onUpdate:modelValue": n[3] ||= (e) => c("headerBackgroundColor", e || null)
2664
2661
  }, null, 8, [
@@ -2688,7 +2685,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2688
2685
  }, null, 42, Xa), S("span", { class: h(p(U)) }, "px", 2)])]),
2689
2686
  S("div", Za, [S("label", { class: h(p(H)) }, T(p(a).table.fontFamily), 3), S("select", {
2690
2687
  class: h(p(G)),
2691
- value: p(st)(e.block.fontFamily),
2688
+ value: p(ct)(e.block.fontFamily),
2692
2689
  onChange: n[7] ||= (e) => c("fontFamily", e.target.value || void 0)
2693
2690
  }, [S("option", $a, T(p(a).title.inheritFont), 1), (o(!0), _(w, null, r(e.fontFamilies, (e) => (o(), _("option", {
2694
2691
  key: e.value,
@@ -2711,17 +2708,17 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2711
2708
  {
2712
2709
  value: "left",
2713
2710
  label: p(a).title.alignLeft,
2714
- icon: p(Ue)
2711
+ icon: p(He)
2715
2712
  },
2716
2713
  {
2717
2714
  value: "center",
2718
2715
  label: p(a).title.alignCenter,
2719
- icon: p(Xe)
2716
+ icon: p(Ze)
2720
2717
  },
2721
2718
  {
2722
2719
  value: "right",
2723
2720
  label: p(a).title.alignRight,
2724
- icon: p(Re)
2721
+ icon: p(ze)
2725
2722
  }
2726
2723
  ],
2727
2724
  "model-value": e.block.textAlign,
@@ -2754,7 +2751,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2754
2751
  ], 42, co)]),
2755
2752
  S("div", mo, [S("label", { class: h(p(H)) }, T(p(i).title.fontFamily), 3), S("select", {
2756
2753
  class: h(p(G)),
2757
- value: p(st)(e.block.fontFamily),
2754
+ value: p(ct)(e.block.fontFamily),
2758
2755
  onChange: n[1] ||= (e) => a("fontFamily", e.target.value || void 0)
2759
2756
  }, [S("option", go, T(p(i).title.inheritFont), 1), (o(!0), _(w, null, r(e.fontFamilies, (e) => (o(), _("option", {
2760
2757
  key: e.value,
@@ -2769,17 +2766,17 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2769
2766
  {
2770
2767
  value: "left",
2771
2768
  label: p(i).title.alignLeft,
2772
- icon: p(Ue)
2769
+ icon: p(He)
2773
2770
  },
2774
2771
  {
2775
2772
  value: "center",
2776
2773
  label: p(i).title.alignCenter,
2777
- icon: p(Xe)
2774
+ icon: p(Ze)
2778
2775
  },
2779
2776
  {
2780
2777
  value: "right",
2781
2778
  label: p(i).title.alignRight,
2782
- icon: p(Re)
2779
+ icon: p(ze)
2783
2780
  }
2784
2781
  ],
2785
2782
  "model-value": e.block.textAlign,
@@ -2805,11 +2802,11 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2805
2802
  props: { block: {} },
2806
2803
  emits: ["update"],
2807
2804
  setup(e, { emit: t }) {
2808
- let r = e, i = t, { t: a } = B(), c = n(Se, null), l = n(Ce, ie.liquid), u = Qe(), d = [
2805
+ let r = e, i = t, { t: a } = B(), c = n(Ce, null), l = n(we, ie.liquid), u = $e(), d = [
2809
2806
  300,
2810
2807
  400,
2811
2808
  500
2812
- ], f = g(() => !!c), y = g(() => P(r.block.url, l)), x = g(() => {
2809
+ ], f = g(() => !!c), y = g(() => L(r.block.url, l)), x = g(() => {
2813
2810
  let e = r.block.width;
2814
2811
  return e === "full" ? "full" : d.includes(e) ? String(e) : "custom";
2815
2812
  }), C = g(() => typeof r.block.height == "number" ? "custom" : "auto"), E = s(!1), { start: O } = ye(() => {
@@ -2828,14 +2825,14 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2828
2825
  let t = Number(e);
2829
2826
  !Number.isFinite(t) || t <= 0 || k("width", t);
2830
2827
  }
2831
- function ee(e) {
2828
+ function M(e) {
2832
2829
  k("height", e === "custom" ? Ho : void 0);
2833
2830
  }
2834
- function M(e) {
2831
+ function N(e) {
2835
2832
  let t = Number(e);
2836
2833
  !Number.isFinite(t) || t <= 0 || k("height", t);
2837
2834
  }
2838
- async function N() {
2835
+ async function P() {
2839
2836
  let e = await c?.({ accept: ["images"] });
2840
2837
  u.alive && e && (k("thumbnailUrl", e.url), E.value = !0, O());
2841
2838
  }
@@ -2885,7 +2882,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2885
2882
  color: "var(--tpl-primary)",
2886
2883
  "background-color": "var(--tpl-bg)"
2887
2884
  },
2888
- onClick: N
2885
+ onClick: P
2889
2886
  }, [m(p(Ge), {
2890
2887
  size: 14,
2891
2888
  "stroke-width": 1.5
@@ -2926,7 +2923,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2926
2923
  class: h(p(G)),
2927
2924
  "data-testid": "video-height-mode",
2928
2925
  value: C.value,
2929
- onChange: n[7] ||= (e) => ee(e.target.value)
2926
+ onChange: n[7] ||= (e) => M(e.target.value)
2930
2927
  }, [S("option", Io, T(p(a).video.heightAuto), 1), S("option", Lo, T(p(a).video.heightCustom), 1)], 42, Fo),
2931
2928
  C.value === "custom" ? (o(), _("div", Ro, [S("input", {
2932
2929
  type: "number",
@@ -2934,7 +2931,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2934
2931
  class: h(p(W)),
2935
2932
  value: e.block.height,
2936
2933
  min: "20",
2937
- onInput: n[8] ||= (e) => M(e.target.value)
2934
+ onInput: n[8] ||= (e) => N(e.target.value)
2938
2935
  }, null, 42, zo), S("span", { class: h(p(U)) }, "px", 2)])) : v("", !0)
2939
2936
  ]),
2940
2937
  S("div", Bo, [S("label", { class: h(p(H)) }, T(p(a).title.align), 3), m(Y, {
@@ -2966,9 +2963,9 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2966
2963
  "duplicate"
2967
2964
  ],
2968
2965
  setup(e, { emit: t }) {
2969
- let r = E(() => import("./CountdownToolbar-Cqg8FUH-.js")), i = e, a = t, { t: s } = B(), l = be(ke, "Toolbar"), u = n(Oe, []), d = g(() => i.block.type), f = g(() => re(i.block)), h = g(() => {
2966
+ let r = E(() => import("./CountdownToolbar-tmiTPEXm.js")), i = e, a = t, { t: s } = B(), l = be(Ae, "Toolbar"), u = n(ke, []), d = g(() => i.block.type), f = g(() => ne(i.block)), h = g(() => {
2970
2967
  if (f.value) return u.find((e) => e.type === i.block.customType);
2971
- }), y = g(() => f.value ? h.value?.name ?? i.block.customType : R(d.value, s)), x = g(() => ot(l.fonts.value, "fontFamily" in i.block ? i.block.fontFamily : void 0));
2968
+ }), y = g(() => f.value ? h.value?.name ?? i.block.customType : ve(d.value, s)), x = g(() => st(l.fonts.value, "fontFamily" in i.block ? i.block.fontFamily : void 0));
2972
2969
  function C(e) {
2973
2970
  a("update", e);
2974
2971
  }
@@ -2976,11 +2973,11 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2976
2973
  "data-testid": "block-toolbar",
2977
2974
  "aria-label": p(s).landmarks.blockToolbar,
2978
2975
  class: "tpl:flex tpl:w-full tpl:flex-1 tpl:flex-col tpl:bg-[var(--tpl-bg-elevated)]"
2979
- }, [S("div", Go, [S("div", Ko, [p(it)[d.value] ? (o(), b(c(p(it)[d.value]), {
2976
+ }, [S("div", Go, [S("div", Ko, [p(at)[d.value] ? (o(), b(c(p(at)[d.value]), {
2980
2977
  key: 0,
2981
2978
  size: 16,
2982
2979
  "stroke-width": 1.5
2983
- })) : f.value ? (o(), b(p(Me), {
2980
+ })) : f.value ? (o(), b(p(Ne), {
2984
2981
  key: 1,
2985
2982
  size: 16,
2986
2983
  "stroke-width": 1.5
@@ -2988,17 +2985,17 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
2988
2985
  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)]",
2989
2986
  title: p(s).toolbar.duplicate,
2990
2987
  onClick: n[0] ||= (e) => a("duplicate")
2991
- }, [m(p(Fe), {
2988
+ }, [m(p(Ie), {
2992
2989
  size: 14,
2993
2990
  "stroke-width": 2
2994
2991
  })], 8, Yo), S("button", {
2995
2992
  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)]",
2996
2993
  title: p(s).toolbar.delete,
2997
2994
  onClick: n[1] ||= (e) => a("delete")
2998
- }, [m(p(He), {
2995
+ }, [m(p(Ve), {
2999
2996
  size: 14,
3000
2997
  "stroke-width": 2
3001
- })], 8, Xo)])]), S("div", Zo, [f.value ? (o(), b(Hr, {
2998
+ })], 8, Xo)])]), S("div", Zo, [f.value ? (o(), b(Ur, {
3002
2999
  key: 0,
3003
3000
  block: e.block,
3004
3001
  onUpdateFieldValues: n[2] ||= (e) => a("update", { fieldValues: e }),
@@ -3012,11 +3009,11 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
3012
3009
  block: e.block,
3013
3010
  "font-families": x.value,
3014
3011
  onUpdate: C
3015
- }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), b(Ui, {
3012
+ }, null, 8, ["block", "font-families"])) : d.value === "paragraph" ? (o(), b(Wi, {
3016
3013
  key: 3,
3017
3014
  block: e.block,
3018
3015
  onUpdate: C
3019
- }, null, 8, ["block"])) : d.value === "image" ? (o(), b(Di, {
3016
+ }, null, 8, ["block"])) : d.value === "image" ? (o(), b(Oi, {
3020
3017
  key: 4,
3021
3018
  block: e.block,
3022
3019
  onUpdate: C
@@ -3024,12 +3021,12 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
3024
3021
  key: 5,
3025
3022
  block: e.block,
3026
3023
  onUpdate: C
3027
- }, null, 8, ["block"])) : d.value === "button" ? (o(), b(qt, {
3024
+ }, null, 8, ["block"])) : d.value === "button" ? (o(), b(Jt, {
3028
3025
  key: 6,
3029
3026
  block: e.block,
3030
3027
  "font-families": x.value,
3031
3028
  onUpdate: C
3032
- }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), b(Jr, {
3029
+ }, null, 8, ["block", "font-families"])) : d.value === "divider" ? (o(), b(Yr, {
3033
3030
  key: 7,
3034
3031
  block: e.block,
3035
3032
  onUpdate: C
@@ -3037,7 +3034,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
3037
3034
  key: 8,
3038
3035
  block: e.block,
3039
3036
  onUpdate: C
3040
- }, null, 8, ["block"])) : d.value === "menu" ? (o(), b(zi, {
3037
+ }, null, 8, ["block"])) : d.value === "menu" ? (o(), b(Bi, {
3041
3038
  key: 9,
3042
3039
  block: e.block,
3043
3040
  "font-families": x.value,
@@ -3051,7 +3048,7 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
3051
3048
  key: 11,
3052
3049
  block: e.block,
3053
3050
  onUpdate: C
3054
- }, null, 8, ["block"])) : d.value === "html" ? (o(), b(Qr, {
3051
+ }, null, 8, ["block"])) : d.value === "html" ? (o(), b($r, {
3055
3052
  key: 12,
3056
3053
  block: e.block,
3057
3054
  onUpdate: C
@@ -3060,14 +3057,14 @@ var Ki = { class: "tpl:mb-3.5" }, qi = ["value"], Ji = ["value"], Yi = {
3060
3057
  block: e.block,
3061
3058
  "font-families": x.value,
3062
3059
  onUpdate: C
3063
- }, null, 8, ["block", "font-families"])) : v("", !0), m(ir, {
3060
+ }, null, 8, ["block", "font-families"])) : v("", !0), m(ar, {
3064
3061
  block: e.block,
3065
3062
  "is-first-section": d.value === "paragraph",
3066
3063
  onUpdate: C
3067
3064
  }, null, 8, ["block", "is-first-section"])])], 8, Wo));
3068
3065
  }
3069
- }), $o = /* @__PURE__ */ e({ default: () => es }), es = /*#__PURE__*/ Ze(Qo, [["__scopeId", "data-v-e2d2c22f"]]);
3066
+ }), $o = /* @__PURE__ */ e({ default: () => es }), es = /*#__PURE__*/ Qe(Qo, [["__scopeId", "data-v-e2d2c22f"]]);
3070
3067
  //#endregion
3071
3068
  export { es as default, Y as i, $ as n, X as r, $o as t };
3072
3069
 
3073
- //# sourceMappingURL=Toolbar-C_x2TfFk.js.map
3070
+ //# sourceMappingURL=Toolbar-GFIZQHzw.js.map