@templatical/editor 0.31.0 → 0.32.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 (257) hide show
  1. package/dist/{AiChatSidebar-DYDtzTDd.js → AiChatSidebar-ftdKHSR-.js} +15 -15
  2. package/dist/{AiFeatureMenu-BJ882XCi.js → AiFeatureMenu-aNeCRlil.js} +7 -7
  3. package/dist/{BlockIssueBadge-D6y8vQpL.js → BlockIssueBadge-bTDu6W_2.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-DQNxLy7u.js → BlockPreviewCanvas-BsOuOfzB.js} +20 -19
  5. package/dist/{CloudHeaderExtras-CqG3RaKw.js → CloudHeaderExtras-BNpFohqt.js} +5 -5
  6. package/dist/{CloudPanels-B6xrk7kN.js → CloudPanels-xoGWwqSH.js} +7 -7
  7. package/dist/{CollaboratorBar-by16gXQH.js → CollaboratorBar-mEqXkdEi.js} +4 -4
  8. package/dist/{ColorPicker-E5gqlCZE.js → ColorPicker-FL5Vb9bE.js} +7 -7
  9. package/dist/{CommentsPanel-B_kzvTHR.js → CommentsPanel-slfi74ng.js} +2 -2
  10. package/dist/{CommentsSidebar-gfzUX7cd.js → CommentsSidebar-Dea4spMl.js} +14 -14
  11. package/dist/{CountdownBlock-BgNK7fZY.js → CountdownBlock-DQTwaRxP.js} +3 -3
  12. package/dist/{CountdownToolbar-DU8UHx9A.js → CountdownToolbar-C7xwJoqh.js} +4 -4
  13. package/dist/{DesignReferenceSidebar-DgndMB4H.js → DesignReferenceSidebar-BtBd7bbz.js} +11 -11
  14. package/dist/{FieldRow-0-UbQR4a.js → FieldRow-BWt7ECqo.js} +1 -1
  15. package/dist/{IssuesPanel-DmJTb_SZ.js → IssuesPanel-Ci2H36L2.js} +8 -8
  16. package/dist/{LoadingTrack-5KBr5cE8.js → LoadingTrack-SQXoZVf2.js} +1 -1
  17. package/dist/{MergeTagModeToggle-CZnJ2Gz_.js → MergeTagModeToggle-Cdi_DmVw.js} +6 -6
  18. package/dist/{MergeTagSuggestion-DyUcY_9e.js → MergeTagSuggestion-CoCuzEmW.js} +4 -4
  19. package/dist/{ParagraphEditor-CnB4kXle.js → ParagraphEditor-DQEOFc0K.js} +26 -26
  20. package/dist/{RestoreVersionDialog-BpOphPiE.js → RestoreVersionDialog-CHwngBae.js} +5 -5
  21. package/dist/{RichTextEditorContent-ChPNgHQ_.js → RichTextEditorContent-C_9xi7dD.js} +8 -8
  22. package/dist/{SaveBlockDialog-CKw4Va6j.js → SaveBlockDialog-tZqZzPjW.js} +21 -21
  23. package/dist/SavedBlocksBrowserModal-Bdj3GOD_.js +322 -0
  24. package/dist/{SavedBlocksPanels-ChV8bOgM.js → SavedBlocksPanels-2sBxAH9w.js} +2 -2
  25. package/dist/{SavedBlocksPickBar-BbEeD5RB.js → SavedBlocksPickBar-DTjQBR00.js} +4 -4
  26. package/dist/{TemplateScoringPanel-De8BZpRU.js → TemplateScoringPanel-B6nHSrBD.js} +15 -15
  27. package/dist/{TestEmailModal-4d2pXeHU.js → TestEmailModal-DuHbzO37.js} +11 -11
  28. package/dist/{TestEmailPanel-DEgCesNP.js → TestEmailPanel-TpwP-eK_.js} +2 -2
  29. package/dist/{TitleEditor-89pmKLVY.js → TitleEditor-C0JQJu38.js} +12 -12
  30. package/dist/{TplModal-DswccJRJ.js → TplModal-BMGmhquu.js} +5 -5
  31. package/dist/VersionHistoryMenu-D2x6MMYx.js +157 -0
  32. package/dist/{VersionHistoryPanels-CFLHDH9P.js → VersionHistoryPanels-aGlUVEGF.js} +2 -2
  33. package/dist/{VersionPreviewBanner-DhG5RcRt.js → VersionPreviewBanner-61t3_Z-a.js} +3 -3
  34. package/dist/{blockTypeIcons-dpKs5GQc.js → blockTypeIcons-BsNup009.js} +2 -2
  35. package/dist/bundle-stats.json +7 -7
  36. package/dist/{ca-DZSrLNXK.js → ca-C0hfqt4U.js} +5 -0
  37. package/dist/cdn/chunks/{AiChatSidebar-DmYDRmvX.js → AiChatSidebar-CqWvtRwB.js} +9 -9
  38. package/dist/cdn/chunks/{AiChatSidebar-DmYDRmvX.js.map → AiChatSidebar-CqWvtRwB.js.map} +1 -1
  39. package/dist/cdn/chunks/{AiFeatureMenu-C0Rt08qb.js → AiFeatureMenu-DoFrLcXJ.js} +6 -6
  40. package/dist/cdn/chunks/{AiFeatureMenu-C0Rt08qb.js.map → AiFeatureMenu-DoFrLcXJ.js.map} +1 -1
  41. package/dist/cdn/chunks/{BlockIssueBadge-BBog2CMy.js → BlockIssueBadge-B_mUH69a.js} +5 -5
  42. package/dist/cdn/chunks/{BlockIssueBadge-BBog2CMy.js.map → BlockIssueBadge-B_mUH69a.js.map} +1 -1
  43. package/dist/cdn/chunks/{BlockPreviewCanvas-DNBjBKBI.js → BlockPreviewCanvas-CSIxs7hr.js} +21 -20
  44. package/dist/cdn/chunks/BlockPreviewCanvas-CSIxs7hr.js.map +1 -0
  45. package/dist/cdn/chunks/{CloudHeaderExtras-Ditfv7y9.js → CloudHeaderExtras-Dgtr7WaE.js} +5 -5
  46. package/dist/cdn/chunks/{CloudHeaderExtras-Ditfv7y9.js.map → CloudHeaderExtras-Dgtr7WaE.js.map} +1 -1
  47. package/dist/cdn/chunks/{CloudPanels-C4U5bJO6.js → CloudPanels-B91lUmof.js} +7 -7
  48. package/dist/cdn/chunks/{CloudPanels-C4U5bJO6.js.map → CloudPanels-B91lUmof.js.map} +1 -1
  49. package/dist/cdn/chunks/{CollaboratorBar-B79JR9NH.js → CollaboratorBar-CQwPWoFu.js} +5 -5
  50. package/dist/cdn/chunks/{CollaboratorBar-B79JR9NH.js.map → CollaboratorBar-CQwPWoFu.js.map} +1 -1
  51. package/dist/cdn/chunks/{ColorPicker-C-ZiwUV3.js → ColorPicker-CdrKX48J.js} +7 -7
  52. package/dist/cdn/chunks/{ColorPicker-C-ZiwUV3.js.map → ColorPicker-CdrKX48J.js.map} +1 -1
  53. package/dist/cdn/chunks/{CommentsPanel-D1Ke8PbO.js → CommentsPanel-BJNgTmAA.js} +3 -3
  54. package/dist/cdn/chunks/{CommentsPanel-D1Ke8PbO.js.map → CommentsPanel-BJNgTmAA.js.map} +1 -1
  55. package/dist/cdn/chunks/{CommentsSidebar-B-UyhIZN.js → CommentsSidebar-D6VIIPhB.js} +5 -5
  56. package/dist/cdn/chunks/{CommentsSidebar-B-UyhIZN.js.map → CommentsSidebar-D6VIIPhB.js.map} +1 -1
  57. package/dist/cdn/chunks/{CountdownBlock-CWeJBC0L.js → CountdownBlock-BRwXUvGU.js} +4 -4
  58. package/dist/cdn/chunks/{CountdownBlock-CWeJBC0L.js.map → CountdownBlock-BRwXUvGU.js.map} +1 -1
  59. package/dist/cdn/chunks/{CountdownToolbar-DyOHOu44.js → CountdownToolbar-CVaU5WG6.js} +5 -5
  60. package/dist/cdn/chunks/{CountdownToolbar-DyOHOu44.js.map → CountdownToolbar-CVaU5WG6.js.map} +1 -1
  61. package/dist/cdn/chunks/{DesignReferenceSidebar-BCCX1FtP.js → DesignReferenceSidebar-BvOwE1kg.js} +7 -7
  62. package/dist/cdn/chunks/{DesignReferenceSidebar-BCCX1FtP.js.map → DesignReferenceSidebar-BvOwE1kg.js.map} +1 -1
  63. package/dist/cdn/chunks/{FieldRow-CbcpsxZ4.js → FieldRow-D9OJhYeb.js} +2 -2
  64. package/dist/cdn/chunks/{FieldRow-CbcpsxZ4.js.map → FieldRow-D9OJhYeb.js.map} +1 -1
  65. package/dist/cdn/chunks/{IssuesPanel-3vD3ImHF.js → IssuesPanel-MJZxkScz.js} +6 -6
  66. package/dist/cdn/chunks/{IssuesPanel-3vD3ImHF.js.map → IssuesPanel-MJZxkScz.js.map} +1 -1
  67. package/dist/cdn/chunks/{LoadingTrack-Cz1sT0wP.js → LoadingTrack-Cm3TDKb3.js} +2 -2
  68. package/dist/cdn/chunks/{LoadingTrack-Cz1sT0wP.js.map → LoadingTrack-Cm3TDKb3.js.map} +1 -1
  69. package/dist/cdn/chunks/{MergeTagModeToggle-BU0SDRow.js → MergeTagModeToggle-bNuN6PTV.js} +6 -6
  70. package/dist/cdn/chunks/{MergeTagModeToggle-BU0SDRow.js.map → MergeTagModeToggle-bNuN6PTV.js.map} +1 -1
  71. package/dist/cdn/chunks/{MergeTagSuggestion-B9vL0VaG.js → MergeTagSuggestion-t8Uj00Er.js} +3 -3
  72. package/dist/cdn/chunks/{MergeTagSuggestion-B9vL0VaG.js.map → MergeTagSuggestion-t8Uj00Er.js.map} +1 -1
  73. package/dist/cdn/chunks/{ParagraphEditor-CSwIuvoF.js → ParagraphEditor-BU8tlFbL.js} +23 -23
  74. package/dist/cdn/chunks/{ParagraphEditor-CSwIuvoF.js.map → ParagraphEditor-BU8tlFbL.js.map} +1 -1
  75. package/dist/cdn/chunks/{RestoreVersionDialog-Bvg2WvJN.js → RestoreVersionDialog-vdRFfyy0.js} +5 -5
  76. package/dist/cdn/chunks/{RestoreVersionDialog-Bvg2WvJN.js.map → RestoreVersionDialog-vdRFfyy0.js.map} +1 -1
  77. package/dist/cdn/chunks/{RichTextEditorContent-DdkmEEpK.js → RichTextEditorContent-C1-5I8Df.js} +7 -7
  78. package/dist/cdn/chunks/{RichTextEditorContent-DdkmEEpK.js.map → RichTextEditorContent-C1-5I8Df.js.map} +1 -1
  79. package/dist/cdn/chunks/{SaveBlockDialog-D-QO3LuR.js → SaveBlockDialog-DWaeqcM8.js} +9 -9
  80. package/dist/cdn/chunks/{SaveBlockDialog-D-QO3LuR.js.map → SaveBlockDialog-DWaeqcM8.js.map} +1 -1
  81. package/dist/cdn/chunks/{SavedBlocksBrowserModal-BRdN56r7.js → SavedBlocksBrowserModal-qC7UhW74.js} +110 -111
  82. package/dist/cdn/chunks/SavedBlocksBrowserModal-qC7UhW74.js.map +1 -0
  83. package/dist/cdn/chunks/{SavedBlocksPanels-D9GTlLgb.js → SavedBlocksPanels-BvtjtdsY.js} +3 -3
  84. package/dist/cdn/chunks/{SavedBlocksPanels-D9GTlLgb.js.map → SavedBlocksPanels-BvtjtdsY.js.map} +1 -1
  85. package/dist/cdn/chunks/{SavedBlocksPickBar-DSRcUeIo.js → SavedBlocksPickBar-CxXjF3RN.js} +5 -5
  86. package/dist/cdn/chunks/{SavedBlocksPickBar-DSRcUeIo.js.map → SavedBlocksPickBar-CxXjF3RN.js.map} +1 -1
  87. package/dist/cdn/chunks/{TemplateScoringPanel-Dy5oOVhB.js → TemplateScoringPanel-CroWaWqy.js} +50 -50
  88. package/dist/cdn/chunks/{TemplateScoringPanel-Dy5oOVhB.js.map → TemplateScoringPanel-CroWaWqy.js.map} +1 -1
  89. package/dist/cdn/chunks/{TestEmailModal-B4L2lmIV.js → TestEmailModal-iWxAZRRq.js} +10 -10
  90. package/dist/cdn/chunks/{TestEmailModal-B4L2lmIV.js.map → TestEmailModal-iWxAZRRq.js.map} +1 -1
  91. package/dist/cdn/chunks/{TestEmailPanel-cTPgEf-D.js → TestEmailPanel-CGUtEuwp.js} +3 -3
  92. package/dist/cdn/chunks/{TestEmailPanel-cTPgEf-D.js.map → TestEmailPanel-CGUtEuwp.js.map} +1 -1
  93. package/dist/cdn/chunks/{TitleEditor-BKjL2Zs1.js → TitleEditor-DvXUW2j-.js} +12 -12
  94. package/dist/cdn/chunks/{TitleEditor-BKjL2Zs1.js.map → TitleEditor-DvXUW2j-.js.map} +1 -1
  95. package/dist/cdn/chunks/{TplModal-DxrgNmt9.js → TplModal-X-qNoLGZ.js} +5 -5
  96. package/dist/cdn/chunks/{TplModal-DxrgNmt9.js.map → TplModal-X-qNoLGZ.js.map} +1 -1
  97. package/dist/cdn/chunks/VersionHistoryMenu-yKzwxf7n.js +150 -0
  98. package/dist/cdn/chunks/VersionHistoryMenu-yKzwxf7n.js.map +1 -0
  99. package/dist/cdn/chunks/{VersionHistoryPanels-CxIFBJsz.js → VersionHistoryPanels--hQaanjH.js} +3 -3
  100. package/dist/cdn/chunks/{VersionHistoryPanels-CxIFBJsz.js.map → VersionHistoryPanels--hQaanjH.js.map} +1 -1
  101. package/dist/cdn/chunks/{VersionPreviewBanner-CdsZvVYF.js → VersionPreviewBanner-DWU_SqMd.js} +4 -4
  102. package/dist/cdn/chunks/{VersionPreviewBanner-CdsZvVYF.js.map → VersionPreviewBanner-DWU_SqMd.js.map} +1 -1
  103. package/dist/cdn/chunks/{blockTypeIcons-DXPd_hd1.js → blockTypeIcons-ZEzEpCti.js} +2 -2
  104. package/dist/cdn/chunks/{blockTypeIcons-DXPd_hd1.js.map → blockTypeIcons-ZEzEpCti.js.map} +1 -1
  105. package/dist/cdn/chunks/{ca-DZSrLNXK.js → ca-C0hfqt4U.js} +6 -1
  106. package/dist/cdn/chunks/ca-C0hfqt4U.js.map +1 -0
  107. package/dist/cdn/chunks/{cloud-CITqEHEc.js → cloud-BP5-6__d.js} +4 -4
  108. package/dist/cdn/chunks/{cloud-CITqEHEc.js.map → cloud-BP5-6__d.js.map} +1 -1
  109. package/dist/cdn/chunks/{createCloudRuntime-DwIXvrb0.js → createCloudRuntime-DD6ppb71.js} +10 -10
  110. package/dist/cdn/chunks/{createCloudRuntime-DwIXvrb0.js.map → createCloudRuntime-DD6ppb71.js.map} +1 -1
  111. package/dist/{de-DbayqpK-.js → cdn/chunks/de-C6J2Iae8.js} +7 -0
  112. package/dist/cdn/chunks/de-C6J2Iae8.js.map +1 -0
  113. package/dist/cdn/chunks/{dist-CgR3inPR.js → dist-BW6Y49zE.js} +2 -2
  114. package/dist/cdn/chunks/{dist-CgR3inPR.js.map → dist-BW6Y49zE.js.map} +1 -1
  115. package/dist/cdn/chunks/{dist-El3fQnfk.js → dist-CAFTQ6Y2.js} +5 -5
  116. package/dist/cdn/chunks/{dist-El3fQnfk.js.map → dist-CAFTQ6Y2.js.map} +1 -1
  117. package/dist/cdn/chunks/{draggable-D2vo-aQI.js → draggable-kbOhCgnk.js} +12 -13
  118. package/dist/cdn/chunks/{draggable-D2vo-aQI.js.map → draggable-kbOhCgnk.js.map} +1 -1
  119. package/dist/cdn/chunks/{en-l0ib5X0f.js → en-BaUYOQi8.js} +6 -1
  120. package/dist/cdn/chunks/en-BaUYOQi8.js.map +1 -0
  121. package/dist/cdn/chunks/en-mEKGL1PX.js +2 -0
  122. package/dist/cdn/chunks/{es-CMQ-5PJP.js → es-CKDYfJYn.js} +6 -1
  123. package/dist/cdn/chunks/es-CKDYfJYn.js.map +1 -0
  124. package/dist/cdn/chunks/{extensions-C87Z6_23.js → extensions-BUPHNpKD.js} +7 -7
  125. package/dist/cdn/chunks/{extensions-C87Z6_23.js.map → extensions-BUPHNpKD.js.map} +1 -1
  126. package/dist/cdn/chunks/formatAbsoluteDateTime-DMmop3C-.js +15 -0
  127. package/dist/cdn/chunks/formatAbsoluteDateTime-DMmop3C-.js.map +1 -0
  128. package/dist/{fr-DNXmZWAq.js → cdn/chunks/fr-L8DR73mK.js} +7 -0
  129. package/dist/cdn/chunks/fr-L8DR73mK.js.map +1 -0
  130. package/dist/cdn/chunks/{icons-ciivb5BS.js → icons-SP5Itd-A.js} +9 -9
  131. package/dist/cdn/chunks/icons-SP5Itd-A.js.map +1 -0
  132. package/dist/cdn/chunks/keys-BOn5i9jV.js +12 -0
  133. package/dist/cdn/chunks/keys-BOn5i9jV.js.map +1 -0
  134. package/dist/cdn/chunks/{liquid.browser-BPvKXNfO.js → liquid.browser-BypTT2oc.js} +4 -4
  135. package/dist/cdn/chunks/{liquid.browser-BPvKXNfO.js.map → liquid.browser-BypTT2oc.js.map} +1 -1
  136. package/dist/{nl-BylRRHYJ.js → cdn/chunks/nl-GDWeuX18.js} +7 -0
  137. package/dist/cdn/chunks/nl-GDWeuX18.js.map +1 -0
  138. package/dist/cdn/chunks/{preRenderCustomBlocks-DyCIgmqJ.js → preRenderCustomBlocks-LFB-e-0m.js} +2 -2
  139. package/dist/cdn/chunks/{preRenderCustomBlocks-DyCIgmqJ.js.map → preRenderCustomBlocks-LFB-e-0m.js.map} +1 -1
  140. package/dist/cdn/chunks/{pt-BR-BVoJhpie.js → pt-BR-B1AVVhWj.js} +6 -1
  141. package/dist/cdn/chunks/pt-BR-B1AVVhWj.js.map +1 -0
  142. package/dist/cdn/chunks/{src-6J-yyZoD.js → src-BM3f9I7t.js} +268 -268
  143. package/dist/cdn/chunks/{src-6J-yyZoD.js.map → src-BM3f9I7t.js.map} +1 -1
  144. package/dist/cdn/chunks/{src-BD60gqPW.js → src-CLoCCDfs.js} +26 -26
  145. package/dist/cdn/chunks/{src-BD60gqPW.js.map → src-CLoCCDfs.js.map} +1 -1
  146. package/dist/cdn/chunks/{src-Bid3cmHa.js → src-Cxl-9O-L.js} +699 -684
  147. package/dist/cdn/chunks/src-Cxl-9O-L.js.map +1 -0
  148. package/dist/cdn/chunks/{src-Cf0ohOog.js → src-DtnvR_Hl.js} +19 -19
  149. package/dist/cdn/chunks/src-DtnvR_Hl.js.map +1 -0
  150. package/dist/cdn/chunks/{tiptap-Ey0FpaX7.js → tiptap-Epe8m3Vo.js} +2636 -2629
  151. package/dist/cdn/chunks/tiptap-Epe8m3Vo.js.map +1 -0
  152. package/dist/cdn/chunks/{useAliveFlag-DrXxPV8V.js → useAliveFlag-CT9gjvO_.js} +2 -2
  153. package/dist/cdn/chunks/{useAliveFlag-DrXxPV8V.js.map → useAliveFlag-CT9gjvO_.js.map} +1 -1
  154. package/dist/cdn/chunks/{useCloudI18n-D0AoLV0a.js → useCloudI18n-DbsLlCbZ.js} +3 -3
  155. package/dist/cdn/chunks/{useCloudI18n-D0AoLV0a.js.map → useCloudI18n-DbsLlCbZ.js.map} +1 -1
  156. package/dist/cdn/chunks/{useEditorCore-CTNB2Mkl.js → useEditorCore-ChlgO2GN.js} +556 -412
  157. package/dist/cdn/chunks/useEditorCore-ChlgO2GN.js.map +1 -0
  158. package/dist/cdn/chunks/useEditorRoot-BlF1WPeu.js +10 -0
  159. package/dist/cdn/chunks/{useEditorRoot-BFGRBGts.js.map → useEditorRoot-BlF1WPeu.js.map} +1 -1
  160. package/dist/cdn/chunks/{useI18n-DIhawILp.js → useI18n-BdxNNw6j.js} +3 -3
  161. package/dist/cdn/chunks/{useI18n-DIhawILp.js.map → useI18n-BdxNNw6j.js.map} +1 -1
  162. package/dist/cdn/chunks/{useMergeTag-lWo7So18.js → useMergeTag-CI2WUNrR.js} +4 -4
  163. package/dist/cdn/chunks/{useMergeTag-lWo7So18.js.map → useMergeTag-CI2WUNrR.js.map} +1 -1
  164. package/dist/cdn/chunks/{usePopoverPosition-DkiTLnBm.js → usePopoverPosition-Dw1nTSNx.js} +3 -3
  165. package/dist/cdn/chunks/{usePopoverPosition-DkiTLnBm.js.map → usePopoverPosition-Dw1nTSNx.js.map} +1 -1
  166. package/dist/cdn/chunks/{useScrollToBlock-KcSAuXKz.js → useScrollToBlock-BMis3-PR.js} +3 -3
  167. package/dist/cdn/chunks/{useScrollToBlock-KcSAuXKz.js.map → useScrollToBlock-BMis3-PR.js.map} +1 -1
  168. package/dist/cdn/editor.css +1 -1
  169. package/dist/cdn/editor.js +1099 -1143
  170. package/dist/cdn/editor.js.map +1 -1
  171. package/dist/{check-80E6ZGin.js → check-JK8Uacq0.js} +1 -1
  172. package/dist/{chevron-down-BmkLsn2c.js → chevron-down-a-fb_Ijn.js} +1 -1
  173. package/dist/{chevron-up-DJSAzlUU.js → chevron-up-x4l0et_Y.js} +1 -1
  174. package/dist/{circle-alert-BsCfZryY.js → circle-alert-CJDW5LZo.js} +1 -1
  175. package/dist/{clock-BcLIngSK.js → clock-BW6rXk2f.js} +1 -1
  176. package/dist/{cloud-DwJ8ebNl.js → cloud-BMzRKCbk.js} +3 -3
  177. package/dist/{createCloudRuntime-CdXQdl34.js → createCloudRuntime-zNcMjRgb.js} +8 -8
  178. package/dist/{createLucideIcon-eeetEgBb.js → createLucideIcon-Bvw1Zx56.js} +3 -3
  179. package/dist/{cdn/chunks/de-DbayqpK-.js → de-C6J2Iae8.js} +5 -2
  180. package/dist/{dist-BFcAowKZ.js → dist-BxFbxpgW.js} +5 -5
  181. package/dist/{dist-Do83S47T.js → dist-ByT5fgKq.js} +2 -2
  182. package/dist/{dist-CQ9T1yi-.js → dist-C1tsW_99.js} +2 -2
  183. package/dist/{dist-Cd0LvUlh.js → dist-CtF9STPS.js} +2 -2
  184. package/dist/{dist-CvW1nNzy.js → dist-CtMXAH7a.js} +2 -2
  185. package/dist/dist-D08oVYhr.js +5 -0
  186. package/dist/{dist-prgdllHG.js → dist-D7WY8VPq.js} +2 -2
  187. package/dist/{dist-D8MekYFl.js → dist-DC-3T0ED.js} +2 -2
  188. package/dist/{dist-BC1y_U2m.js → dist-DL9334yz.js} +1418 -1411
  189. package/dist/{dist-BkAVGSRr.js → dist-DkcA6epL.js} +7 -7
  190. package/dist/dist-DzdeVn-W.js +5 -0
  191. package/dist/{dist-CzVIVbSa.js → dist-PL6vP4SC.js} +61 -61
  192. package/dist/{dist-CuuPnIMy.js → dist-dNiknO7j.js} +4 -4
  193. package/dist/{dist-CWC5t5J3.js → dist-f7HXo6j6.js} +2 -2
  194. package/dist/{dist-BUpBA58N.js → dist-heatwAdo.js} +1 -1
  195. package/dist/{en-l0ib5X0f.js → en-BaUYOQi8.js} +5 -0
  196. package/dist/{es-CMQ-5PJP.js → es-CKDYfJYn.js} +5 -0
  197. package/dist/{extensions-BYImwYeO.js → extensions-kOYwOh72.js} +21 -21
  198. package/dist/formatAbsoluteDateTime-DMmop3C-.js +13 -0
  199. package/dist/{cdn/chunks/fr-DNXmZWAq.js → fr-L8DR73mK.js} +5 -2
  200. package/dist/{image-up-BfxY85ar.js → image-up-CuzFc1mu.js} +1 -1
  201. package/dist/{info-LX4QFBr6.js → info-DybAwcA3.js} +1 -1
  202. package/dist/keys-BOhFlHsv.js +10 -0
  203. package/dist/{liquid.browser-CJgDDvQz.js → liquid.browser-wPG0n4Cs.js} +3 -3
  204. package/dist/{loader-circle-Bwima0v8.js → loader-circle-t-SVgmJ3.js} +1 -1
  205. package/dist/{message-circle-Box-mf2k.js → message-circle-DtwKrlhN.js} +1 -1
  206. package/dist/{cdn/chunks/nl-BylRRHYJ.js → nl-GDWeuX18.js} +5 -2
  207. package/dist/{pencil-BM9gSq_J.js → pencil-2qhC-Y4q.js} +1 -1
  208. package/dist/{preRenderCustomBlocks-2KyBJocY.js → preRenderCustomBlocks-CSIF-HyJ.js} +1 -1
  209. package/dist/{pt-BR-BVoJhpie.js → pt-BR-B1AVVhWj.js} +5 -0
  210. package/dist/{refresh-cw-BuzFX0wH.js → refresh-cw-C8SBuPdg.js} +1 -1
  211. package/dist/{runtime-dom.esm-bundler-Co_SPqAz.js → runtime-dom.esm-bundler-BuG03jBM.js} +3 -3
  212. package/dist/{scan-line-Duq1WXoG.js → scan-line-E7w4yQyv.js} +1 -1
  213. package/dist/{send-DZ4nOnIA.js → send-BoqJliF6.js} +1 -1
  214. package/dist/{shield-check-Cz4BRYdv.js → shield-check-D0dMaHtE.js} +1 -1
  215. package/dist/{sparkles-DP8RqOeL.js → sparkles-Dy2BJjiX.js} +1 -1
  216. package/dist/style.css +1 -1
  217. package/dist/templatical-editor.js +1236 -1281
  218. package/dist/{text-align-start-D7tXhjUP.js → text-align-start-DrxjxvIy.js} +1 -1
  219. package/dist/{trash-2-BS7lZeyb.js → trash-rYMzzHZd.js} +2 -2
  220. package/dist/{triangle-alert-Cx4mQGjx.js → triangle-alert-DxnFj4-B.js} +1 -1
  221. package/dist/{upload-L8tLVM10.js → upload-DZu1adQz.js} +1 -1
  222. package/dist/{useAliveFlag-AFbwfHlJ.js → useAliveFlag-PVmp95MT.js} +1 -1
  223. package/dist/{useCloudI18n-BA69BpQ_.js → useCloudI18n-BlMajbKp.js} +2 -2
  224. package/dist/{useEditorCore-CtR46sbJ.js → useEditorCore-CwQYCSXO.js} +1212 -1067
  225. package/dist/{useEditorRoot-Cdo8Vhxa.js → useEditorRoot-C92q8uV-.js} +2 -2
  226. package/dist/{useI18n-B135ASaG.js → useI18n-Ce_BRzYv.js} +2 -2
  227. package/dist/{useMergeTag-Cx36rtrt.js → useMergeTag-CrXJ49lr.js} +3 -3
  228. package/dist/{usePopoverPosition-DAOHr_iM.js → usePopoverPosition-CPk7Twye.js} +2 -2
  229. package/dist/{useScrollToBlock-tndC8vKo.js → useScrollToBlock-DvpMfWs2.js} +3 -3
  230. package/dist/{vue.runtime.esm-bundler-BhOUdXMi.js → vue.runtime.esm-bundler-D9JUcKrV.js} +4 -4
  231. package/dist/{x-ChIQ7HwK.js → x-DJOd1hS4.js} +1 -1
  232. package/package.json +23 -23
  233. package/dist/SavedBlocksBrowserModal-SST-7EMK.js +0 -323
  234. package/dist/VersionHistoryMenu-DBxSJR1k.js +0 -155
  235. package/dist/cdn/chunks/BlockPreviewCanvas-DNBjBKBI.js.map +0 -1
  236. package/dist/cdn/chunks/SavedBlocksBrowserModal-BRdN56r7.js.map +0 -1
  237. package/dist/cdn/chunks/VersionHistoryMenu-CMqZFUHE.js +0 -148
  238. package/dist/cdn/chunks/VersionHistoryMenu-CMqZFUHE.js.map +0 -1
  239. package/dist/cdn/chunks/ca-DZSrLNXK.js.map +0 -1
  240. package/dist/cdn/chunks/de-DbayqpK-.js.map +0 -1
  241. package/dist/cdn/chunks/en-BzFt4b80.js +0 -2
  242. package/dist/cdn/chunks/en-l0ib5X0f.js.map +0 -1
  243. package/dist/cdn/chunks/es-CMQ-5PJP.js.map +0 -1
  244. package/dist/cdn/chunks/fr-DNXmZWAq.js.map +0 -1
  245. package/dist/cdn/chunks/icons-ciivb5BS.js.map +0 -1
  246. package/dist/cdn/chunks/keys-BJ770Mwm.js +0 -12
  247. package/dist/cdn/chunks/keys-BJ770Mwm.js.map +0 -1
  248. package/dist/cdn/chunks/nl-BylRRHYJ.js.map +0 -1
  249. package/dist/cdn/chunks/pt-BR-BVoJhpie.js.map +0 -1
  250. package/dist/cdn/chunks/src-Bid3cmHa.js.map +0 -1
  251. package/dist/cdn/chunks/src-Cf0ohOog.js.map +0 -1
  252. package/dist/cdn/chunks/tiptap-Ey0FpaX7.js.map +0 -1
  253. package/dist/cdn/chunks/useEditorCore-CTNB2Mkl.js.map +0 -1
  254. package/dist/cdn/chunks/useEditorRoot-BFGRBGts.js +0 -10
  255. package/dist/dist-BQqIUwvB.js +0 -5
  256. package/dist/dist-waDcdb1l.js +0 -5
  257. package/dist/keys-BJtoezGU.js +0 -10
@@ -1,13 +1,13 @@
1
1
  import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { $ as t, G as n, J as r, K as i, Q as a, V as o, W as s, Y as c, Z as ee, q as l, tt as te } from "./src-BD60gqPW.js";
3
- import { t as u } from "./htmlparser-DTML8Gvz.js";
2
+ import { $ as t, G as n, H as r, J as i, K as a, Q as o, X as s, Y as c, et as l, nt as ee, q as u } from "./src-CLoCCDfs.js";
3
+ import { t as d } from "./htmlparser-DTML8Gvz.js";
4
4
  //#region ../quality/src/types.ts
5
- var d = {
5
+ var te = {
6
6
  altMaxLength: 125,
7
7
  minFontSize: 14,
8
8
  allCapsMinLength: 20,
9
9
  minTouchTargetPx: 44
10
- }, f = [
10
+ }, ne = [
11
11
  "localhost",
12
12
  "127.0.0.1",
13
13
  "0.0.0.0",
@@ -17,76 +17,76 @@ var d = {
17
17
  ];
18
18
  //#endregion
19
19
  //#region ../quality/src/contrast.ts
20
- function p(e, t) {
21
- let n = m(e), r = m(t);
20
+ function f(e, t) {
21
+ let n = h(e), r = h(t);
22
22
  if (!n || !r) return NaN;
23
- let i = g(n), a = g(r), o = Math.max(i, a), s = Math.min(i, a);
23
+ let i = _(n), a = _(r), o = Math.max(i, a), s = Math.min(i, a);
24
24
  return (o + .05) / (s + .05);
25
25
  }
26
- var ne = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, re = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i, ie = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;
27
- function m(e) {
26
+ var p = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, m = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i, re = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;
27
+ function h(e) {
28
28
  if (typeof e != "string") return null;
29
- let t = e.trim(), n = ie.exec(t);
29
+ let t = e.trim(), n = re.exec(t);
30
30
  if (n) return n[4].toLowerCase() === "ff" ? {
31
31
  r: parseInt(n[1], 16),
32
32
  g: parseInt(n[2], 16),
33
33
  b: parseInt(n[3], 16)
34
34
  } : null;
35
- let r = re.exec(t);
35
+ let r = m.exec(t);
36
36
  if (r) return {
37
37
  r: parseInt(r[1], 16),
38
38
  g: parseInt(r[2], 16),
39
39
  b: parseInt(r[3], 16)
40
40
  };
41
- let i = ne.exec(t);
41
+ let i = p.exec(t);
42
42
  return i ? {
43
43
  r: parseInt(i[1] + i[1], 16),
44
44
  g: parseInt(i[2] + i[2], 16),
45
45
  b: parseInt(i[3] + i[3], 16)
46
46
  } : null;
47
47
  }
48
- function h(e) {
49
- return m(e ?? "") !== null;
48
+ function g(e) {
49
+ return h(e ?? "") !== null;
50
50
  }
51
- function g({ r: e, g: t, b: n }) {
52
- let r = _(e / 255), i = _(t / 255), a = _(n / 255);
51
+ function _({ r: e, g: t, b: n }) {
52
+ let r = v(e / 255), i = v(t / 255), a = v(n / 255);
53
53
  return .2126 * r + .7152 * i + .0722 * a;
54
54
  }
55
- function _(e) {
55
+ function v(e) {
56
56
  return e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
57
57
  }
58
58
  //#endregion
59
59
  //#region ../quality/src/walk.ts
60
- var v = "#ffffff", y = "#1a1a1a";
61
- function b(e, t) {
62
- let n = h(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : v, i = h(e.settings.textColor) ? e.settings.textColor.toLowerCase() : y, a = (e, n) => {
63
- let i = e.styles?.backgroundColor, o = h(i) ? i.toLowerCase() : n.resolvedBackgroundColor;
64
- t(e, o === n.resolvedBackgroundColor ? n : {
60
+ var y = "#ffffff", b = "#1a1a1a";
61
+ function x(e, t) {
62
+ let n = g(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : y, r = g(e.settings.textColor) ? e.settings.textColor.toLowerCase() : b, i = (e, n) => {
63
+ let r = e.styles?.backgroundColor, a = g(r) ? r.toLowerCase() : n.resolvedBackgroundColor;
64
+ t(e, a === n.resolvedBackgroundColor ? n : {
65
65
  ...n,
66
- resolvedBackgroundColor: o
67
- }), r(e) && e.children.forEach((t, r) => {
68
- t.forEach((t) => a(t, {
66
+ resolvedBackgroundColor: a
67
+ }), c(e) && e.children.forEach((t, r) => {
68
+ t.forEach((t) => i(t, {
69
69
  parent: e,
70
70
  section: e,
71
71
  columnIndex: r,
72
72
  depth: n.depth + 1,
73
- resolvedBackgroundColor: o,
73
+ resolvedBackgroundColor: a,
74
74
  resolvedTextColor: n.resolvedTextColor
75
75
  }));
76
76
  });
77
77
  };
78
- for (let t of e.blocks) a(t, {
78
+ for (let t of e.blocks) i(t, {
79
79
  parent: null,
80
80
  section: null,
81
81
  columnIndex: null,
82
82
  depth: 0,
83
83
  resolvedBackgroundColor: n,
84
- resolvedTextColor: i
84
+ resolvedTextColor: r
85
85
  });
86
86
  }
87
87
  //#endregion
88
88
  //#region ../quality/src/run-rules.ts
89
- function x(e, t, n, r) {
89
+ function S(e, t, n, r) {
90
90
  let i = [];
91
91
  function a(e, t, i) {
92
92
  return {
@@ -97,7 +97,7 @@ function x(e, t, n, r) {
97
97
  fix: i.fix
98
98
  };
99
99
  }
100
- b(e, (e, r) => {
100
+ x(e, (e, r) => {
101
101
  for (let o of t) {
102
102
  let t = n.severity(o.meta.id);
103
103
  if (t === "off" || !o.block) continue;
@@ -113,11 +113,11 @@ function x(e, t, n, r) {
113
113
  }
114
114
  return i;
115
115
  }
116
- function S(e) {
116
+ function C(e) {
117
117
  let t = e.overrides ?? {}, n = {
118
- ...d,
118
+ ...te,
119
119
  ...e.thresholds ?? {}
120
- }, r = { nonProductionHosts: e.nonProductionHosts ?? f }, i = e.locale ?? "en", a = e.rules;
120
+ }, r = { nonProductionHosts: e.nonProductionHosts ?? ne }, i = e.locale ?? "en", a = e.rules;
121
121
  return {
122
122
  locale: i,
123
123
  rules: t,
@@ -129,8 +129,8 @@ function S(e) {
129
129
  }
130
130
  };
131
131
  }
132
- function ae(e, t, n) {
133
- return S({
132
+ function ie(e, t, n) {
133
+ return C({
134
134
  locale: e,
135
135
  rules: n,
136
136
  overrides: t.rules,
@@ -138,8 +138,8 @@ function ae(e, t, n) {
138
138
  nonProductionHosts: void 0
139
139
  });
140
140
  }
141
- function oe(e, t, n) {
142
- return S({
141
+ function ae(e, t, n) {
142
+ return C({
143
143
  locale: e,
144
144
  rules: n,
145
145
  overrides: t.rules,
@@ -147,8 +147,8 @@ function oe(e, t, n) {
147
147
  nonProductionHosts: void 0
148
148
  });
149
149
  }
150
- function se(e, t, n) {
151
- return S({
150
+ function oe(e, t, n) {
151
+ return C({
152
152
  locale: e,
153
153
  rules: n,
154
154
  overrides: t.rules,
@@ -158,7 +158,7 @@ function se(e, t, n) {
158
158
  }
159
159
  //#endregion
160
160
  //#region ../quality/src/accessibility/messages/de.ts
161
- var ce = /* @__PURE__ */ e({ default: () => le }), le = {
161
+ var se = /* @__PURE__ */ e({ default: () => ce }), ce = {
162
162
  "a11y.img-missing-alt": "Bild ohne Alt-Text. Füge eine kurze Beschreibung hinzu oder markiere das Bild als dekorativ.",
163
163
  "a11y.img-alt-is-filename": "Alt-Text sieht wie ein Dateiname aus (\"{alt}\"). Beschreibe stattdessen kurz, was das Bild zeigt.",
164
164
  "a11y.img-alt-too-long": "Alt-Text ist {length} Zeichen lang; bleibe unter {max}.",
@@ -180,7 +180,7 @@ var ce = /* @__PURE__ */ e({ default: () => le }), le = {
180
180
  "a11y.button-touch-target": "Button ist etwa {height}px hoch; mindestens {min}px verwenden, um Fehltipper auf Mobilgeräten zu vermeiden.",
181
181
  "a11y.button-low-contrast": "Buttontextkontrast beträgt {ratio}:1; WCAG AA verlangt mindestens {required}:1.",
182
182
  "a11y.missing-preheader": "Kein Preheader-Text gesetzt. Postfächer zeigen sonst Bruchstücke des ersten Blocks an."
183
- }, ue = /* @__PURE__ */ e({ default: () => C }), C = {
183
+ }, le = /* @__PURE__ */ e({ default: () => w }), w = {
184
184
  "a11y.img-missing-alt": "Image is missing alt text. Add a short description, or mark the image as decorative.",
185
185
  "a11y.img-alt-is-filename": "Alt text looks like a filename (\"{alt}\"). Replace with a short description of what the image conveys.",
186
186
  "a11y.img-alt-too-long": "Alt text is {length} characters; aim for under {max}.",
@@ -202,76 +202,76 @@ var ce = /* @__PURE__ */ e({ default: () => le }), le = {
202
202
  "a11y.button-touch-target": "Button is roughly {height}px tall; aim for at least {min}px to avoid mis-taps on mobile.",
203
203
  "a11y.button-low-contrast": "Button text contrast is {ratio}:1; WCAG AA requires at least {required}:1.",
204
204
  "a11y.missing-preheader": "No preheader text set. Inboxes will fall back to fragments of the first block."
205
- }, w = /* #__PURE__ */ Object.assign({
206
- "./de.ts": ce,
207
- "./en.ts": ue
208
- }), T = {};
209
- for (let e in w) {
205
+ }, T = /* #__PURE__ */ Object.assign({
206
+ "./de.ts": se,
207
+ "./en.ts": le
208
+ }), E = {};
209
+ for (let e in T) {
210
210
  let t = /\.\/([^/]+)\.ts$/.exec(e);
211
211
  if (!t) continue;
212
212
  let n = t[1];
213
- n !== "index" && (T[n] = w[e].default);
213
+ n !== "index" && (E[n] = T[e].default);
214
214
  }
215
- function de(e) {
216
- return T[e.split("-")[0]?.toLowerCase() ?? "en"] ?? T.en ?? C;
215
+ function ue(e) {
216
+ return E[e.split("-")[0]?.toLowerCase() ?? "en"] ?? E.en ?? w;
217
217
  }
218
- function fe(e, t, n) {
219
- let r = de(e)[t] ?? C[t];
218
+ function de(e, t, n) {
219
+ let r = ue(e)[t] ?? w[t];
220
220
  return n ? r.replace(/\{(\w+)\}/g, (e, t) => {
221
221
  let r = n[t];
222
222
  return r === void 0 ? `{${t}}` : String(r);
223
223
  }) : r;
224
224
  }
225
- var pe = {
225
+ var fe = {
226
226
  meta: {
227
227
  id: "a11y.img-missing-alt",
228
228
  severity: "error"
229
229
  },
230
230
  block(e) {
231
- return !n(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
231
+ return !a(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
232
232
  }
233
- }, me = {
233
+ }, pe = {
234
234
  id: "a11y.img-alt-is-filename",
235
235
  severity: "warning"
236
- }, he = [
236
+ }, me = [
237
237
  /\.(jpe?g|png|gif|webp|svg)$/i,
238
238
  /^IMG[_-]?\d+/i,
239
239
  /^Untitled/i,
240
240
  /^Screen[\s_-]?Shot/i,
241
241
  /^DSC[_-]?\d+/i
242
- ], ge = {
243
- meta: me,
242
+ ], he = {
243
+ meta: pe,
244
244
  block(e) {
245
- if (!n(e) || e.decorative === !0) return null;
245
+ if (!a(e) || e.decorative === !0) return null;
246
246
  let t = e.alt?.trim() ?? "";
247
- return t === "" || !he.some((e) => e.test(t)) ? null : {
247
+ return t === "" || !me.some((e) => e.test(t)) ? null : {
248
248
  blockId: e.id,
249
249
  params: { alt: t }
250
250
  };
251
251
  }
252
- }, _e = {
252
+ }, ge = {
253
253
  meta: {
254
254
  id: "a11y.img-alt-too-long",
255
255
  severity: "warning"
256
256
  },
257
- block(e, t, r) {
258
- if (!n(e) || e.decorative === !0) return null;
259
- let i = e.alt ?? "";
260
- return i.length <= r.thresholds.altMaxLength ? null : {
257
+ block(e, t, n) {
258
+ if (!a(e) || e.decorative === !0) return null;
259
+ let r = e.alt ?? "";
260
+ return r.length <= n.thresholds.altMaxLength ? null : {
261
261
  blockId: e.id,
262
262
  params: {
263
- length: i.length,
264
- max: r.thresholds.altMaxLength
263
+ length: r.length,
264
+ max: n.thresholds.altMaxLength
265
265
  }
266
266
  };
267
267
  }
268
- }, ve = {
268
+ }, _e = {
269
269
  meta: {
270
270
  id: "a11y.img-decorative-needs-empty-alt",
271
271
  severity: "info"
272
272
  },
273
273
  block(e) {
274
- return !n(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
274
+ return !a(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
275
275
  blockId: e.id,
276
276
  fix: {
277
277
  description: "Clear alt text",
@@ -279,7 +279,7 @@ var pe = {
279
279
  }
280
280
  };
281
281
  }
282
- }, ye = /* @__PURE__ */ e({ default: () => be }), be = {
282
+ }, ve = /* @__PURE__ */ e({ default: () => ye }), ye = {
283
283
  vagueLinkText: [
284
284
  "hier klicken",
285
285
  "hier",
@@ -322,7 +322,7 @@ var pe = {
322
322
  "anschauen",
323
323
  "jetzt"
324
324
  ]
325
- }, xe = /* @__PURE__ */ e({ default: () => E }), E = {
325
+ }, be = /* @__PURE__ */ e({ default: () => xe }), xe = {
326
326
  vagueLinkText: [
327
327
  "click here",
328
328
  "here",
@@ -364,8 +364,8 @@ var pe = {
364
364
  "watch"
365
365
  ]
366
366
  }, D = /* #__PURE__ */ Object.assign({
367
- "./de.ts": ye,
368
- "./en.ts": xe
367
+ "./de.ts": ve,
368
+ "./en.ts": be
369
369
  }), O = {};
370
370
  for (let e in D) {
371
371
  let t = /\.\/([^/]+)\.ts$/.exec(e);
@@ -394,12 +394,12 @@ var Se = {
394
394
  id: "a11y.img-linked-no-context",
395
395
  severity: "warning"
396
396
  },
397
- block(e, t, r) {
398
- if (!n(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
399
- let i = (e.alt ?? "").trim();
400
- if (i === "") return null;
401
- let a = i.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), o = k(r.locale).linkedImageActionHints;
402
- return a.some((e) => o.includes(e)) ? null : { blockId: e.id };
397
+ block(e, t, n) {
398
+ if (!a(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
399
+ let r = (e.alt ?? "").trim();
400
+ if (r === "") return null;
401
+ let i = r.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), o = k(n.locale).linkedImageActionHints;
402
+ return i.some((e) => o.includes(e)) ? null : { blockId: e.id };
403
403
  }
404
404
  };
405
405
  //#endregion
@@ -407,7 +407,7 @@ var Se = {
407
407
  function N(e) {
408
408
  let t = [], n = null, r = "", i = () => {
409
409
  n !== null && (n.text = r.trim(), t.push(n), n = null, r = "");
410
- }, a = new u({
410
+ }, a = new d({
411
411
  onopentag(e, t) {
412
412
  if (e === "a") {
413
413
  i(), n = {
@@ -458,7 +458,7 @@ function we(e) {
458
458
  return t;
459
459
  }
460
460
  function P(e) {
461
- let t = "", n = new u({ ontext(e) {
461
+ let t = "", n = new d({ ontext(e) {
462
462
  t += e;
463
463
  } });
464
464
  return n.write(e), n.end(), t.trim();
@@ -469,19 +469,19 @@ var Te = {
469
469
  severity: "error"
470
470
  },
471
471
  block(e) {
472
- return !a(e) || P(e.content ?? "") !== "" ? null : { blockId: e.id };
472
+ return !t(e) || P(e.content ?? "") !== "" ? null : { blockId: e.id };
473
473
  }
474
474
  }, Ee = {
475
475
  id: "a11y.heading-skip-level",
476
476
  severity: "error"
477
477
  };
478
- function F(e, t) {
479
- for (let n of e) {
480
- if (a(n)) {
481
- t.push(n);
478
+ function F(e, n) {
479
+ for (let r of e) {
480
+ if (t(r)) {
481
+ n.push(r);
482
482
  continue;
483
483
  }
484
- if (r(n)) for (let e of n.children) F(e, t);
484
+ if (c(r)) for (let e of r.children) F(e, n);
485
485
  }
486
486
  }
487
487
  var De = {
@@ -503,13 +503,13 @@ var De = {
503
503
  id: "a11y.heading-multiple-h1",
504
504
  severity: "warning"
505
505
  };
506
- function I(e, t) {
507
- for (let n of e) {
508
- if (a(n)) {
509
- t.push(n);
506
+ function I(e, n) {
507
+ for (let r of e) {
508
+ if (t(r)) {
509
+ n.push(r);
510
510
  continue;
511
511
  }
512
- if (r(n)) for (let e of n.children) I(e, t);
512
+ if (c(r)) for (let e of r.children) I(e, n);
513
513
  }
514
514
  }
515
515
  var ke = {
@@ -525,7 +525,7 @@ var ke = {
525
525
  severity: "error"
526
526
  };
527
527
  function je(e) {
528
- return l(e) || a(e) ? e.content : null;
528
+ return i(e) || t(e) ? e.content : null;
529
529
  }
530
530
  var Me = {
531
531
  meta: Ae,
@@ -538,7 +538,7 @@ var Me = {
538
538
  severity: "warning"
539
539
  };
540
540
  function Pe(e) {
541
- return l(e) || a(e) ? e.content : null;
541
+ return i(e) || t(e) ? e.content : null;
542
542
  }
543
543
  var Fe = {
544
544
  meta: Ne,
@@ -559,7 +559,7 @@ var Fe = {
559
559
  severity: "error"
560
560
  };
561
561
  function Le(e) {
562
- return l(e) || a(e) ? e.content : null;
562
+ return i(e) || t(e) ? e.content : null;
563
563
  }
564
564
  var Re = {
565
565
  meta: Ie,
@@ -575,7 +575,7 @@ var Re = {
575
575
  severity: "warning"
576
576
  };
577
577
  function Be(e) {
578
- return l(e) || a(e) ? e.content : null;
578
+ return i(e) || t(e) ? e.content : null;
579
579
  }
580
580
  function Ve(e) {
581
581
  if (e === null) return !1;
@@ -585,15 +585,15 @@ function Ve(e) {
585
585
  var He = {
586
586
  meta: ze,
587
587
  block(e) {
588
- let t = Be(e);
589
- return t === null || !N(t).find((e) => e.target === "_blank" && !Ve(e.rel)) ? null : {
588
+ let n = Be(e);
589
+ return n === null || !N(n).find((e) => e.target === "_blank" && !Ve(e.rel)) ? null : {
590
590
  blockId: e.id,
591
591
  fix: {
592
592
  description: "Add rel=\"noopener\"",
593
- apply: (t) => {
594
- if (!l(e) && !a(e)) return;
595
- let n = Ge(e.content ?? "");
596
- t.updateBlock(e.id, { content: n });
593
+ apply: (n) => {
594
+ if (!i(e) && !t(e)) return;
595
+ let r = Ge(e.content ?? "");
596
+ n.updateBlock(e.id, { content: r });
597
597
  }
598
598
  }
599
599
  };
@@ -628,98 +628,98 @@ function Ge(e) {
628
628
  }
629
629
  //#endregion
630
630
  //#region ../quality/src/accessibility/rules/link-nested-anchor.ts
631
- var R = {
631
+ var Ke = {
632
632
  id: "a11y.link-nested-anchor",
633
633
  severity: "error"
634
634
  };
635
- function Ke(e) {
636
- return l(e) || a(e) ? e.content : null;
635
+ function qe(e) {
636
+ return i(e) || t(e) ? e.content : null;
637
637
  }
638
- var qe = {
639
- meta: R,
638
+ var Je = {
639
+ meta: Ke,
640
640
  block(e) {
641
- let t = Ke(e);
641
+ let t = qe(e);
642
642
  return t === null || !Ce(t) ? null : { blockId: e.id };
643
643
  }
644
- }, Je = {
644
+ }, Ye = {
645
645
  meta: {
646
646
  id: "a11y.text-all-caps",
647
647
  severity: "warning"
648
648
  },
649
- block(e, t, n) {
650
- if (!l(e) && !a(e)) return null;
651
- let r = P(e.content ?? "").replace(/[^\p{L}]/gu, "");
652
- return r.length < n.thresholds.allCapsMinLength || r !== r.toLocaleUpperCase() ? null : { blockId: e.id };
649
+ block(e, n, r) {
650
+ if (!i(e) && !t(e)) return null;
651
+ let a = P(e.content ?? "").replace(/[^\p{L}]/gu, "");
652
+ return a.length < r.thresholds.allCapsMinLength || a !== a.toLocaleUpperCase() ? null : { blockId: e.id };
653
653
  }
654
- }, Ye = {
654
+ }, Xe = {
655
655
  id: "a11y.text-justified",
656
656
  severity: "warning"
657
- }, Xe = /(^|;)\s*text-align\s*:\s*([^;]*)/i, z = /\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi;
658
- function Ze(e) {
659
- let t = [], n = new RegExp(z.source, z.flags), r;
657
+ }, Ze = /(^|;)\s*text-align\s*:\s*([^;]*)/i, R = /\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi;
658
+ function Qe(e) {
659
+ let t = [], n = new RegExp(R.source, R.flags), r;
660
660
  for (; (r = n.exec(e)) !== null;) t.push(r[1] ?? r[2] ?? "");
661
661
  return t;
662
662
  }
663
- function B(e) {
664
- let t = Xe.exec(e);
663
+ function z(e) {
664
+ let t = Ze.exec(e);
665
665
  return t !== null && t[2].trim().toLowerCase() === "justify";
666
666
  }
667
- function Qe(e) {
667
+ function $e(e) {
668
668
  return e.split(";").filter((e) => !/^\s*text-align\s*:/i.test(e)).map((e) => e.trim()).filter((e) => e !== "").join("; ");
669
669
  }
670
- function $e(e) {
670
+ function et(e) {
671
671
  return e.replace(/\sstyle\s*=\s*(?:"([^"]*)"|'([^']*)')/gi, (e, t, n) => {
672
672
  let r = t ?? n ?? "";
673
- if (!B(r)) return e;
674
- let i = Qe(r);
673
+ if (!z(r)) return e;
674
+ let i = $e(r);
675
675
  return i === "" ? "" : ` style="${i}"`;
676
676
  });
677
677
  }
678
- var et = {
679
- meta: Ye,
678
+ var tt = {
679
+ meta: Xe,
680
680
  block(e) {
681
- return !l(e) || !Ze(e.content ?? "").some(B) ? null : {
681
+ return !i(e) || !Qe(e.content ?? "").some(z) ? null : {
682
682
  blockId: e.id,
683
683
  fix: {
684
684
  description: "Remove justified alignment",
685
685
  apply: (t) => {
686
- l(e) && t.updateBlock(e.id, { content: $e(e.content ?? "") });
686
+ i(e) && t.updateBlock(e.id, { content: et(e.content ?? "") });
687
687
  }
688
688
  }
689
689
  };
690
690
  }
691
- }, tt = {
691
+ }, nt = {
692
692
  meta: {
693
693
  id: "a11y.text-low-contrast",
694
694
  severity: "error"
695
695
  },
696
- block(e, t) {
697
- if (!a(e)) return null;
698
- let n = e.color ?? t.resolvedTextColor;
699
- if (!h(n) || !h(t.resolvedBackgroundColor)) return null;
700
- let r = te[e.level] >= 24 ? 3 : 4.5, i = p(n, t.resolvedBackgroundColor);
701
- return Number.isNaN(i) || i >= r ? null : {
696
+ block(e, n) {
697
+ if (!t(e)) return null;
698
+ let r = e.color ?? n.resolvedTextColor;
699
+ if (!g(r) || !g(n.resolvedBackgroundColor)) return null;
700
+ let i = ee[e.level] >= 24 ? 3 : 4.5, a = f(r, n.resolvedBackgroundColor);
701
+ return Number.isNaN(a) || a >= i ? null : {
702
702
  blockId: e.id,
703
703
  params: {
704
- ratio: i.toFixed(2),
705
- required: r
704
+ ratio: a.toFixed(2),
705
+ required: i
706
706
  }
707
707
  };
708
708
  }
709
- }, nt = {
709
+ }, rt = {
710
710
  id: "a11y.text-too-small",
711
711
  severity: "warning"
712
712
  };
713
- function rt(e) {
714
- return i(e) || ee(e) ? e.fontSize : null;
713
+ function it(e) {
714
+ return u(e) || o(e) ? e.fontSize : null;
715
715
  }
716
716
  //#endregion
717
717
  //#region ../quality/src/accessibility/index.ts
718
- var V = [
719
- pe,
718
+ var B = [
719
+ fe,
720
+ he,
720
721
  ge,
721
722
  _e,
722
- ve,
723
723
  Se,
724
724
  Te,
725
725
  De,
@@ -728,14 +728,14 @@ var V = [
728
728
  Fe,
729
729
  Re,
730
730
  He,
731
- qe,
732
731
  Je,
733
- et,
732
+ Ye,
734
733
  tt,
734
+ nt,
735
735
  {
736
- meta: nt,
736
+ meta: rt,
737
737
  block(e, t, n) {
738
- let r = rt(e);
738
+ let r = it(e);
739
739
  return r === null || r >= n.thresholds.minFontSize ? null : {
740
740
  blockId: e.id,
741
741
  params: {
@@ -751,9 +751,9 @@ var V = [
751
751
  severity: "warning"
752
752
  },
753
753
  block(e, t, n) {
754
- if (!o(e)) return null;
755
- let r = M(e.text ?? "");
756
- return r === "" || !k(n.locale).vagueButtonLabels.includes(r) ? null : {
754
+ if (!r(e)) return null;
755
+ let i = M(e.text ?? "");
756
+ return i === "" || !k(n.locale).vagueButtonLabels.includes(i) ? null : {
757
757
  blockId: e.id,
758
758
  params: { text: e.text }
759
759
  };
@@ -765,14 +765,14 @@ var V = [
765
765
  severity: "warning"
766
766
  },
767
767
  block(e, t, n) {
768
- if (!o(e)) return null;
769
- let r = e.buttonPadding;
770
- if (!r) return null;
771
- let i = e.fontSize * 1.4 + r.top + r.bottom;
772
- return i >= n.thresholds.minTouchTargetPx ? null : {
768
+ if (!r(e)) return null;
769
+ let i = e.buttonPadding;
770
+ if (!i) return null;
771
+ let a = e.fontSize * 1.4 + i.top + i.bottom;
772
+ return a >= n.thresholds.minTouchTargetPx ? null : {
773
773
  blockId: e.id,
774
774
  params: {
775
- height: Math.round(i),
775
+ height: Math.round(a),
776
776
  min: n.thresholds.minTouchTargetPx
777
777
  }
778
778
  };
@@ -784,8 +784,8 @@ var V = [
784
784
  severity: "error"
785
785
  },
786
786
  block(e) {
787
- if (!o(e)) return null;
788
- let t = p(e.textColor, e.backgroundColor);
787
+ if (!r(e)) return null;
788
+ let t = f(e.textColor, e.backgroundColor);
789
789
  if (Number.isNaN(t)) return null;
790
790
  let n = e.fontSize >= 24 ? 3 : 4.5;
791
791
  return t >= n ? null : {
@@ -807,38 +807,38 @@ var V = [
807
807
  }
808
808
  }
809
809
  ];
810
- function it(e, t = {}) {
811
- return t.disabled === !0 || t.accessibility === !1 ? [] : x(e, V, ae(t.locale, t.accessibility ?? {}, V), (e, t, n) => fe(e, t, n));
810
+ function at(e, t = {}) {
811
+ return t.disabled === !0 || t.accessibility === !1 ? [] : S(e, B, ie(t.locale, t.accessibility ?? {}, B), (e, t, n) => de(e, t, n));
812
812
  }
813
813
  //#endregion
814
814
  //#region ../quality/src/structure/messages/de.ts
815
- var at = /* @__PURE__ */ e({ default: () => ot }), ot = {
815
+ var ot = /* @__PURE__ */ e({ default: () => st }), st = {
816
816
  "structure.duplicate-block-id": "Block-ID erscheint {count}-mal im Baum. Jeder Block muss eine eindeutige ID haben.",
817
817
  "structure.section-column-mismatch": "Sektion verwendet Layout „{layout}\" (erwartet {expected} Spalten), hat aber {actual}. Deutet auf beschädigten Zustand hin.",
818
818
  "structure.nested-section": "Sektion ist in einer anderen Sektion verschachtelt. Sektionen können nicht verschachtelt werden – der Renderer wird sich falsch verhalten.",
819
819
  "structure.empty-section": "Sektion enthält keine Blöcke. Entferne sie oder füge Inhalt hinzu.",
820
820
  "structure.empty-column": "Spalte {columnIndex} dieser Sektion ist leer. Füge Inhalt hinzu oder reduziere die Spaltenanzahl."
821
- }, st = /* @__PURE__ */ e({ default: () => H }), H = {
821
+ }, ct = /* @__PURE__ */ e({ default: () => V }), V = {
822
822
  "structure.duplicate-block-id": "Block id appears {count} times in the tree. Each block must have a unique id.",
823
823
  "structure.section-column-mismatch": "Section uses layout \"{layout}\" (expects {expected} columns) but has {actual}. Indicates corrupted state.",
824
824
  "structure.nested-section": "Section is nested inside another section. Sections cannot nest — the renderer will misbehave.",
825
825
  "structure.empty-section": "Section has no blocks. Remove it or add content.",
826
826
  "structure.empty-column": "Column {columnIndex} of this section is empty. Add content or reduce the column count."
827
- }, U = /* #__PURE__ */ Object.assign({
828
- "./de.ts": at,
829
- "./en.ts": st
830
- }), W = {};
831
- for (let e in U) {
827
+ }, H = /* #__PURE__ */ Object.assign({
828
+ "./de.ts": ot,
829
+ "./en.ts": ct
830
+ }), U = {};
831
+ for (let e in H) {
832
832
  let t = /\.\/([^/]+)\.ts$/.exec(e);
833
833
  if (!t) continue;
834
834
  let n = t[1];
835
- n !== "index" && (W[n] = U[e].default);
835
+ n !== "index" && (U[n] = H[e].default);
836
836
  }
837
- function ct(e) {
838
- return W[e.split("-")[0]?.toLowerCase() ?? "en"] ?? W.en ?? H;
837
+ function lt(e) {
838
+ return U[e.split("-")[0]?.toLowerCase() ?? "en"] ?? U.en ?? V;
839
839
  }
840
- function lt(e, t, n) {
841
- let r = ct(e)[t] ?? H[t];
840
+ function ut(e, t, n) {
841
+ let r = lt(e)[t] ?? V[t];
842
842
  return n ? r.replace(/\{(\w+)\}/g, (e, t) => {
843
843
  let r = n[t];
844
844
  return r === void 0 ? `{${t}}` : String(r);
@@ -846,18 +846,18 @@ function lt(e, t, n) {
846
846
  }
847
847
  //#endregion
848
848
  //#region ../quality/src/structure/rules/duplicate-block-id.ts
849
- var ut = {
849
+ var dt = {
850
850
  id: "structure.duplicate-block-id",
851
851
  severity: "error"
852
852
  };
853
- function G(e, t) {
854
- for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), r(n)) for (let e of n.children) G(e, t);
853
+ function W(e, t) {
854
+ for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), c(n)) for (let e of n.children) W(e, t);
855
855
  }
856
- var dt = {
857
- meta: ut,
856
+ var ft = {
857
+ meta: dt,
858
858
  template(e) {
859
859
  let t = /* @__PURE__ */ new Map();
860
- G(e.blocks, t);
860
+ W(e.blocks, t);
861
861
  let n = [];
862
862
  for (let [e, r] of t) r > 1 && n.push({
863
863
  blockId: e,
@@ -865,13 +865,13 @@ var dt = {
865
865
  });
866
866
  return n;
867
867
  }
868
- }, ft = {
868
+ }, pt = {
869
869
  id: "structure.empty-column",
870
870
  severity: "warning"
871
871
  };
872
- function K(e, t) {
872
+ function G(e, t) {
873
873
  for (let n of e) {
874
- if (!r(n)) continue;
874
+ if (!c(n)) continue;
875
875
  let e = n;
876
876
  e.children.length > 1 && e.children.forEach((n, r) => {
877
877
  n.length === 0 && t.push({
@@ -879,28 +879,28 @@ function K(e, t) {
879
879
  params: { columnIndex: r + 1 }
880
880
  });
881
881
  });
882
- for (let n of e.children) K(n, t);
882
+ for (let n of e.children) G(n, t);
883
883
  }
884
884
  }
885
- var pt = {
886
- meta: ft,
885
+ var mt = {
886
+ meta: pt,
887
887
  template(e) {
888
888
  let t = [];
889
- return K(e.blocks, t), t;
889
+ return G(e.blocks, t), t;
890
890
  }
891
- }, mt = {
891
+ }, ht = {
892
892
  id: "structure.empty-section",
893
893
  severity: "warning"
894
894
  };
895
- function ht(e) {
895
+ function gt(e) {
896
896
  return e.children.length === 0 || e.children.every((e) => e.length === 0);
897
897
  }
898
- var gt = {
899
- meta: mt,
898
+ var _t = {
899
+ meta: ht,
900
900
  block(e) {
901
- if (!r(e)) return null;
901
+ if (!c(e)) return null;
902
902
  let t = e;
903
- return ht(t) ? {
903
+ return gt(t) ? {
904
904
  blockId: t.id,
905
905
  fix: {
906
906
  description: "Remove the empty section",
@@ -910,79 +910,79 @@ var gt = {
910
910
  }
911
911
  } : null;
912
912
  }
913
- }, _t = {
913
+ }, vt = {
914
914
  meta: {
915
915
  id: "structure.nested-section",
916
916
  severity: "error"
917
917
  },
918
918
  block(e, t) {
919
- return !r(e) || t.section === null ? null : {
919
+ return !c(e) || t.section === null ? null : {
920
920
  blockId: e.id,
921
921
  params: { parentId: t.section.id }
922
922
  };
923
923
  }
924
- }, vt = {
924
+ }, yt = {
925
925
  id: "structure.section-column-mismatch",
926
926
  severity: "error"
927
927
  };
928
- function yt(e) {
928
+ function bt(e) {
929
929
  return e === "1" ? 1 : e === "3" ? 3 : 2;
930
930
  }
931
931
  //#endregion
932
932
  //#region ../quality/src/structure/index.ts
933
- var q = [
934
- dt,
935
- gt,
936
- pt,
933
+ var K = [
934
+ ft,
937
935
  _t,
936
+ mt,
937
+ vt,
938
938
  {
939
- meta: vt,
939
+ meta: yt,
940
940
  block(e) {
941
- if (!r(e)) return null;
942
- let t = e, n = yt(t.columns), i = t.children.length;
943
- return i === n ? null : {
941
+ if (!c(e)) return null;
942
+ let t = e, n = bt(t.columns), r = t.children.length;
943
+ return r === n ? null : {
944
944
  blockId: t.id,
945
945
  params: {
946
946
  layout: t.columns,
947
947
  expected: n,
948
- actual: i
948
+ actual: r
949
949
  }
950
950
  };
951
951
  }
952
952
  }
953
953
  ];
954
- function bt(e, t = {}) {
955
- return t.disabled === !0 || t.structure === !1 ? [] : x(e, q, oe(t.locale, t.structure ?? {}, q), (e, t, n) => lt(e, t, n));
954
+ function xt(e, t = {}) {
955
+ return t.disabled === !0 || t.structure === !1 ? [] : S(e, K, ae(t.locale, t.structure ?? {}, K), (e, t, n) => ut(e, t, n));
956
956
  }
957
957
  //#endregion
958
958
  //#region ../quality/src/links/messages/de.ts
959
- var xt = /* @__PURE__ */ e({ default: () => St }), St = {
959
+ var St = /* @__PURE__ */ e({ default: () => Ct }), Ct = {
960
960
  "link.javascript-protocol": "Die URL verwendet das Protokoll „{protocol}:\", das beliebigen Skriptcode ausführen kann und aus Sicherheitsgründen beim Rendern entfernt wird. Ersetze sie durch eine echte URL oder entferne sie.",
961
961
  "link.unsupported-protocol": "Die URL verwendet das Protokoll „{protocol}\", das von den meisten E-Mail-Clients nicht unterstützt wird. Verwende http, https, mailto, tel oder sms.",
962
962
  "link.malformed-mailto": "Der mailto:-Link ist fehlerhaft. Erwartet wird eine einzelne Empfängeradresse vor einer eventuellen Querystring (z. B. mailto:hallo@example.com).",
963
963
  "link.malformed-tel": "Der tel:-Link enthält Zeichen, die keine Ziffern, +, Leerzeichen, Bindestriche, Klammern oder Punkte sind.",
964
964
  "link.localhost-or-staging": "Der URL-Host „{host}\" entspricht einem Nicht-Produktionsmuster. Ersetze ihn vor dem Versand durch die Produktions-URL."
965
- }, Ct = /* @__PURE__ */ e({ default: () => J }), J = {
965
+ }, wt = /* @__PURE__ */ e({ default: () => q }), q = {
966
966
  "link.javascript-protocol": "URL uses the \"{protocol}:\" protocol, which can execute arbitrary script and is stripped at render time for safety. Replace it with a real link or remove the URL.",
967
967
  "link.unsupported-protocol": "URL uses the \"{protocol}\" protocol, which most email clients do not support. Use http, https, mailto, tel, or sms.",
968
968
  "link.malformed-mailto": "mailto: link is malformed. Expected a single recipient address before any query string (e.g. mailto:hello@example.com).",
969
969
  "link.malformed-tel": "tel: link contains characters that are not digits, +, spaces, dashes, parentheses, or dots.",
970
970
  "link.localhost-or-staging": "URL host \"{host}\" matches a non-production pattern. Replace with the production URL before sending."
971
- }, Y = /* #__PURE__ */ Object.assign({
972
- "./de.ts": xt,
973
- "./en.ts": Ct
974
- }), X = {};
975
- for (let e in Y) {
971
+ }, J = /* #__PURE__ */ Object.assign({
972
+ "./de.ts": St,
973
+ "./en.ts": wt
974
+ }), Y = {};
975
+ for (let e in J) {
976
976
  let t = /\.\/([^/]+)\.ts$/.exec(e);
977
977
  if (!t) continue;
978
978
  let n = t[1];
979
- n !== "index" && (X[n] = Y[e].default);
979
+ n !== "index" && (Y[n] = J[e].default);
980
980
  }
981
- function wt(e) {
982
- return X[e.split("-")[0]?.toLowerCase() ?? "en"] ?? X.en ?? J;
981
+ function Tt(e) {
982
+ return Y[e.split("-")[0]?.toLowerCase() ?? "en"] ?? Y.en ?? q;
983
983
  }
984
- function Tt(e, t, n) {
985
- let r = wt(e)[t] ?? J[t];
984
+ function Et(e, t, n) {
985
+ let r = Tt(e)[t] ?? q[t];
986
986
  return n ? r.replace(/\{(\w+)\}/g, (e, t) => {
987
987
  let r = n[t];
988
988
  return r === void 0 ? `{${t}}` : String(r);
@@ -990,11 +990,11 @@ function Tt(e, t, n) {
990
990
  }
991
991
  //#endregion
992
992
  //#region ../quality/src/url-walker.ts
993
- function Z(e) {
994
- let r = [];
995
- return b(e, (e) => {
996
- if (a(e) || l(e) || s(e)) {
997
- for (let t of N(e.content)) r.push({
993
+ function X(e) {
994
+ let o = [];
995
+ return x(e, (e) => {
996
+ if (t(e) || i(e) || n(e)) {
997
+ for (let t of N(e.content)) o.push({
998
998
  url: t.href,
999
999
  blockId: e.id,
1000
1000
  source: "anchor",
@@ -1002,8 +1002,8 @@ function Z(e) {
1002
1002
  });
1003
1003
  return;
1004
1004
  }
1005
- if (o(e)) {
1006
- r.push({
1005
+ if (r(e)) {
1006
+ o.push({
1007
1007
  url: e.url,
1008
1008
  blockId: e.id,
1009
1009
  source: "button",
@@ -1011,8 +1011,8 @@ function Z(e) {
1011
1011
  });
1012
1012
  return;
1013
1013
  }
1014
- if (n(e)) {
1015
- e.linkUrl && e.linkUrl !== "" && r.push({
1014
+ if (a(e)) {
1015
+ e.linkUrl && e.linkUrl !== "" && o.push({
1016
1016
  url: e.linkUrl,
1017
1017
  blockId: e.id,
1018
1018
  source: "image-link",
@@ -1020,8 +1020,8 @@ function Z(e) {
1020
1020
  });
1021
1021
  return;
1022
1022
  }
1023
- if (t(e)) {
1024
- r.push({
1023
+ if (l(e)) {
1024
+ o.push({
1025
1025
  url: e.url,
1026
1026
  blockId: e.id,
1027
1027
  source: "video",
@@ -1029,8 +1029,8 @@ function Z(e) {
1029
1029
  });
1030
1030
  return;
1031
1031
  }
1032
- if (i(e)) {
1033
- for (let t of e.items) r.push({
1032
+ if (u(e)) {
1033
+ for (let t of e.items) o.push({
1034
1034
  url: t.url,
1035
1035
  blockId: e.id,
1036
1036
  source: "menu-item",
@@ -1038,8 +1038,8 @@ function Z(e) {
1038
1038
  });
1039
1039
  return;
1040
1040
  }
1041
- if (c(e)) {
1042
- for (let t of e.icons) r.push({
1041
+ if (s(e)) {
1042
+ for (let t of e.icons) o.push({
1043
1043
  url: t.url,
1044
1044
  blockId: e.id,
1045
1045
  source: "social-icon",
@@ -1047,30 +1047,30 @@ function Z(e) {
1047
1047
  });
1048
1048
  return;
1049
1049
  }
1050
- }), r;
1050
+ }), o;
1051
1051
  }
1052
1052
  //#endregion
1053
1053
  //#region ../quality/src/links/rules/javascript-protocol.ts
1054
- var Et = {
1054
+ var Dt = {
1055
1055
  id: "link.javascript-protocol",
1056
1056
  severity: "error"
1057
- }, Q = [
1057
+ }, Z = [
1058
1058
  "javascript",
1059
1059
  "data",
1060
1060
  "vbscript"
1061
1061
  ];
1062
- function Dt(e) {
1062
+ function Ot(e) {
1063
1063
  if (!e) return null;
1064
1064
  let t = e.replace(/\s+/g, "");
1065
- for (let e of Q) if (RegExp(`^${e}:`, "i").test(t)) return e;
1065
+ for (let e of Z) if (RegExp(`^${e}:`, "i").test(t)) return e;
1066
1066
  return null;
1067
1067
  }
1068
- var Ot = {
1069
- meta: Et,
1068
+ var kt = {
1069
+ meta: Dt,
1070
1070
  template(e) {
1071
1071
  let t = [];
1072
- for (let n of Z(e)) {
1073
- let e = Dt(n.url);
1072
+ for (let n of X(e)) {
1073
+ let e = Ot(n.url);
1074
1074
  e !== null && t.push({
1075
1075
  blockId: n.blockId,
1076
1076
  params: { protocol: e }
@@ -1078,39 +1078,39 @@ var Ot = {
1078
1078
  }
1079
1079
  return t;
1080
1080
  }
1081
- }, kt = {
1081
+ }, At = {
1082
1082
  id: "link.unsupported-protocol",
1083
1083
  severity: "warning"
1084
- }, At = /* @__PURE__ */ new Set([
1084
+ }, jt = /* @__PURE__ */ new Set([
1085
1085
  "http",
1086
1086
  "https",
1087
1087
  "mailto",
1088
1088
  "tel",
1089
1089
  "sms"
1090
- ]), jt = new Set(Q);
1091
- function Mt(e) {
1090
+ ]), Mt = new Set(Z);
1091
+ function Nt(e) {
1092
1092
  if (!e) return null;
1093
1093
  let t = e.trim(), n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
1094
1094
  return n ? n[1].toLowerCase() : null;
1095
1095
  }
1096
- var Nt = {
1097
- meta: kt,
1096
+ var Pt = {
1097
+ meta: At,
1098
1098
  template(e) {
1099
1099
  let t = [];
1100
- for (let n of Z(e)) {
1101
- let e = Mt(n.url);
1102
- e !== null && (jt.has(e) || At.has(e) || t.push({
1100
+ for (let n of X(e)) {
1101
+ let e = Nt(n.url);
1102
+ e !== null && (Mt.has(e) || jt.has(e) || t.push({
1103
1103
  blockId: n.blockId,
1104
1104
  params: { protocol: e }
1105
1105
  }));
1106
1106
  }
1107
1107
  return t;
1108
1108
  }
1109
- }, Pt = {
1109
+ }, Ft = {
1110
1110
  id: "link.malformed-mailto",
1111
1111
  severity: "warning"
1112
1112
  };
1113
- function Ft(e) {
1113
+ function It(e) {
1114
1114
  let t = e.trim();
1115
1115
  if (!/^mailto:/i.test(t)) return !1;
1116
1116
  let [n] = t.slice(7).split("?", 2);
@@ -1125,30 +1125,30 @@ function Ft(e) {
1125
1125
  }
1126
1126
  return !1;
1127
1127
  }
1128
- var It = {
1129
- meta: Pt,
1128
+ var Lt = {
1129
+ meta: Ft,
1130
1130
  template(e) {
1131
1131
  let t = [];
1132
- for (let n of Z(e)) Ft(n.url) && t.push({ blockId: n.blockId });
1132
+ for (let n of X(e)) It(n.url) && t.push({ blockId: n.blockId });
1133
1133
  return t;
1134
1134
  }
1135
- }, Lt = {
1135
+ }, Rt = {
1136
1136
  id: "link.malformed-tel",
1137
1137
  severity: "warning"
1138
- }, Rt = /^[+0-9\s().\-]+$/, zt = /^[A-Za-z0-9-]+(=[^;]+)?$/;
1139
- function Bt(e) {
1138
+ }, zt = /^[+0-9\s().\-]+$/, Bt = /^[A-Za-z0-9-]+(=[^;]+)?$/;
1139
+ function Q(e) {
1140
1140
  let t = e.trim();
1141
1141
  if (!/^tel:/i.test(t)) return !1;
1142
1142
  let n = t.slice(4).trim();
1143
1143
  if (n === "") return !0;
1144
1144
  let [r, ...i] = n.split(";");
1145
- return !Rt.test(r) || i.some((e) => !zt.test(e));
1145
+ return !zt.test(r) || i.some((e) => !Bt.test(e));
1146
1146
  }
1147
1147
  var Vt = {
1148
- meta: Lt,
1148
+ meta: Rt,
1149
1149
  template(e) {
1150
1150
  let t = [];
1151
- for (let n of Z(e)) Bt(n.url) && t.push({ blockId: n.blockId });
1151
+ for (let n of X(e)) Q(n.url) && t.push({ blockId: n.blockId });
1152
1152
  return t;
1153
1153
  }
1154
1154
  }, Ht = {
@@ -1172,9 +1172,9 @@ function Wt(e) {
1172
1172
  //#endregion
1173
1173
  //#region ../quality/src/links/index.ts
1174
1174
  var $ = [
1175
- Ot,
1176
- Nt,
1177
- It,
1175
+ kt,
1176
+ Pt,
1177
+ Lt,
1178
1178
  Vt,
1179
1179
  {
1180
1180
  meta: Ht,
@@ -1182,7 +1182,7 @@ var $ = [
1182
1182
  let n = t.links.nonProductionHosts;
1183
1183
  if (n.length === 0) return [];
1184
1184
  let r = n.map(Ut), i = [];
1185
- for (let t of Z(e)) {
1185
+ for (let t of X(e)) {
1186
1186
  let e = Wt(t.url);
1187
1187
  e !== null && r.some((t) => t.test(e)) && i.push({
1188
1188
  blockId: t.blockId,
@@ -1194,7 +1194,7 @@ var $ = [
1194
1194
  }
1195
1195
  ];
1196
1196
  function Gt(e, t = {}) {
1197
- return t.disabled === !0 || t.links === !1 ? [] : x(e, $, se(t.locale, t.links ?? {}, $), (e, t, n) => Tt(e, t, n));
1197
+ return t.disabled === !0 || t.links === !1 ? [] : S(e, $, oe(t.locale, t.links ?? {}, $), (e, t, n) => Et(e, t, n));
1198
1198
  }
1199
1199
  //#endregion
1200
1200
  //#region ../quality/src/util.ts
@@ -1205,12 +1205,12 @@ function Kt(e) {
1205
1205
  //#region ../quality/src/lint-template.ts
1206
1206
  function qt(e, t = {}) {
1207
1207
  return Kt(t) ? [] : [
1208
- ...it(e, t),
1209
- ...bt(e, t),
1208
+ ...at(e, t),
1209
+ ...xt(e, t),
1210
1210
  ...Gt(e, t)
1211
1211
  ];
1212
1212
  }
1213
1213
  //#endregion
1214
1214
  export { qt as lintTemplate };
1215
1215
 
1216
- //# sourceMappingURL=src-6J-yyZoD.js.map
1216
+ //# sourceMappingURL=src-BM3f9I7t.js.map