@templatical/editor 0.44.3 → 0.46.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 (294) hide show
  1. package/dist/{AiChatSidebar-BUR5Jshu.js → AiChatSidebar-DGcH4Lyo.js} +15 -19
  2. package/dist/{AiFeatureMenu-CXqrbDNb.js → AiFeatureMenu-B4q-0g1S.js} +7 -7
  3. package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-DCeZid0G.js → BlockPreviewCanvas-DIZ0KgUD.js} +5 -5
  5. package/dist/{CloudHeaderExtras-B38fU84y.js → CloudHeaderExtras-ehMYJP68.js} +5 -5
  6. package/dist/{CloudPanels-B2Mz-TwS.js → CloudPanels-BwOaAlKz.js} +8 -8
  7. package/dist/{CollaboratorBar-CL70aVnL.js → CollaboratorBar-qOZFRNPx.js} +4 -4
  8. package/dist/{CommentsPanel-CYMHfFcn.js → CommentsPanel-Bn6P5crU.js} +2 -2
  9. package/dist/{CommentsSidebar-uvQyCMUe.js → CommentsSidebar-B8wT932T.js} +14 -14
  10. package/dist/{CountdownBlock-C6R-hn7D.js → CountdownBlock-RNx3hIu0.js} +3 -3
  11. package/dist/{CountdownToolbar-C052mx2P.js → CountdownToolbar-BeF21SeB.js} +62 -61
  12. package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zH93uB15.js} +25 -26
  13. package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-Dltw9haP.js} +8 -8
  14. package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
  15. package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-CHa-UD76.js} +22 -28
  16. package/dist/{MediaEditModal-Cmd9tQXZ.js → MediaEditModal-EY1YYcpw.js} +6 -14
  17. package/dist/{MediaPanels-DoBhG5gg.js → MediaPanels-CRVFGFZW.js} +2 -2
  18. package/dist/{MergeTagInput-DoQWMSW4.js → MergeTagInput-B3ntd4dN.js} +2 -2
  19. package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-C_06ZL0Q.js} +7 -7
  20. package/dist/{ParagraphEditor-CHlX3nAk.js → ParagraphEditor-CxuW3TV0.js} +140 -139
  21. package/dist/{RestoreVersionDialog-C8Qt-sJV.js → RestoreVersionDialog-B1n37M1Z.js} +5 -5
  22. package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-CP_uULWB.js} +9 -9
  23. package/dist/{SaveBlockDialog-CsielLi1.js → SaveBlockDialog-BSKX_7_v.js} +12 -12
  24. package/dist/{SavedBlocksBrowserModal-RKo9mq3U.js → SavedBlocksBrowserModal-CHKrH1gO.js} +15 -18
  25. package/dist/{SavedBlocksPanels-B7IlFCQp.js → SavedBlocksPanels-B-xDqBcz.js} +2 -2
  26. package/dist/{SavedBlocksPickBar-BYCwMUR6.js → SavedBlocksPickBar-D2J-g82g.js} +4 -4
  27. package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
  28. package/dist/TemplateSettings-D07K_Y4m.js +246 -0
  29. package/dist/{TestEmailModal-Btbk0B1s.js → TestEmailModal-BNPw_lID.js} +11 -11
  30. package/dist/{TestEmailPanel-kdF_QluO.js → TestEmailPanel-8klWo8hE.js} +2 -2
  31. package/dist/{TitleEditor-Cl6AmEy9.js → TitleEditor-CmC9OuhA.js} +13 -13
  32. package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-COeyWGfT.js} +2 -2
  33. package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CqhRb6EM.js} +522 -524
  34. package/dist/{TplModal-DD1xZyBq.js → TplModal-BGFawHY9.js} +5 -5
  35. package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
  36. package/dist/{VersionHistoryPanels-Caa2_niu.js → VersionHistoryPanels-DdbGjEOR.js} +2 -2
  37. package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
  38. package/dist/{WrapperBlock-Do8kLejT.js → WrapperBlock-CTkmA887.js} +3 -3
  39. package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-CVKo6V_v.js} +2 -2
  40. package/dist/bundle-stats.json +7 -7
  41. package/dist/{ca-DES69VJW.js → ca-C__Dzq--.js} +5 -0
  42. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js → AiChatSidebar-kCK4NZM9.js} +9 -13
  43. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-kCK4NZM9.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js → AiFeatureMenu-K1dLeDft.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js.map → AiFeatureMenu-K1dLeDft.js.map} +1 -1
  46. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js → BlockIssueBadge-05Q3L4RV.js} +5 -5
  47. package/dist/cdn/chunks/{BlockIssueBadge-CKIrYROg.js.map → BlockIssueBadge-05Q3L4RV.js.map} +1 -1
  48. package/dist/cdn/chunks/{BlockPreviewCanvas-CRJZBmwV.js → BlockPreviewCanvas-Djz9YAFx.js} +6 -6
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-CRJZBmwV.js.map → BlockPreviewCanvas-Djz9YAFx.js.map} +1 -1
  50. package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js → CloudHeaderExtras-5ONQ1RCa.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js.map → CloudHeaderExtras-5ONQ1RCa.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js → CloudPanels-_irSdWbi.js} +7 -7
  53. package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js.map → CloudPanels-_irSdWbi.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js → CollaboratorBar-CZufI1On.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js.map → CollaboratorBar-CZufI1On.js.map} +1 -1
  56. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js → CommentsPanel-VH_NJ5HZ.js} +3 -3
  57. package/dist/cdn/chunks/{CommentsPanel-BjHRj_Yw.js.map → CommentsPanel-VH_NJ5HZ.js.map} +1 -1
  58. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js → CommentsSidebar-CYPH5rVi.js} +5 -5
  59. package/dist/cdn/chunks/{CommentsSidebar-CpCfqSq4.js.map → CommentsSidebar-CYPH5rVi.js.map} +1 -1
  60. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js → CountdownBlock-lHU3Lu7Q.js} +4 -4
  61. package/dist/cdn/chunks/{CountdownBlock-sVDjKkRw.js.map → CountdownBlock-lHU3Lu7Q.js.map} +1 -1
  62. package/dist/cdn/chunks/{CountdownToolbar-C9QpHQcv.js → CountdownToolbar-BaXCefQM.js} +63 -62
  63. package/dist/cdn/chunks/CountdownToolbar-BaXCefQM.js.map +1 -0
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-GjkpHylX.js} +21 -22
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-GjkpHylX.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-C1Lv2y_O.js} +6 -6
  67. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-C1Lv2y_O.js.map} +1 -1
  68. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js → LoadingTrack-Cg1HRIND.js} +2 -2
  69. package/dist/cdn/chunks/{LoadingTrack-_7DH_5aw.js.map → LoadingTrack-Cg1HRIND.js.map} +1 -1
  70. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js → LogicTagInsertButton-BYjdrDnQ.js} +11 -17
  71. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-BYjdrDnQ.js.map} +1 -1
  72. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js → MediaEditModal-CD3fVbWI.js} +6 -14
  73. package/dist/cdn/chunks/{MediaEditModal-BuDXKwx4.js.map → MediaEditModal-CD3fVbWI.js.map} +1 -1
  74. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js → MediaPanels-B2AyUUcf.js} +3 -3
  75. package/dist/cdn/chunks/{MediaPanels-xFpaxFRH.js.map → MediaPanels-B2AyUUcf.js.map} +1 -1
  76. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js → MergeTagInput-Cx67J_vg.js} +3 -3
  77. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-Cx67J_vg.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-DZ4EuXVp.js} +6 -6
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-DZ4EuXVp.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-BWfx94pb.js → ParagraphEditor-DndEFXmR.js} +145 -144
  81. package/dist/cdn/chunks/ParagraphEditor-DndEFXmR.js.map +1 -0
  82. package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js → RestoreVersionDialog-CFYs13a4.js} +5 -5
  83. package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js.map → RestoreVersionDialog-CFYs13a4.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-DKkDQ0dc.js} +8 -8
  85. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-DKkDQ0dc.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js → SaveBlockDialog-BOA2RaC_.js} +10 -10
  87. package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js.map → SaveBlockDialog-BOA2RaC_.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js → SavedBlocksBrowserModal-DQDVek3K.js} +11 -14
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js.map → SavedBlocksBrowserModal-DQDVek3K.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js → SavedBlocksPanels-Lu3tJ3QA.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js.map → SavedBlocksPanels-Lu3tJ3QA.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js → SavedBlocksPickBar-D7MtqG6r.js} +5 -5
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js.map → SavedBlocksPickBar-D7MtqG6r.js.map} +1 -1
  94. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js → TemplateScoringPanel-C_57Bfkf.js} +8 -8
  95. package/dist/cdn/chunks/{TemplateScoringPanel-BBRHCNcR.js.map → TemplateScoringPanel-C_57Bfkf.js.map} +1 -1
  96. package/dist/cdn/chunks/{TemplateSettings-vsFOU0oA.js → TemplateSettings-rZiHmq24.js} +48 -47
  97. package/dist/cdn/chunks/TemplateSettings-rZiHmq24.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js → TestEmailModal-DWEyHXH2.js} +10 -10
  99. package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js.map → TestEmailModal-DWEyHXH2.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js → TestEmailPanel-XXMD-Lnr.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js.map → TestEmailPanel-XXMD-Lnr.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js → TitleEditor-D1F0YoE-.js} +12 -12
  103. package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js.map → TitleEditor-D1F0YoE-.js.map} +1 -1
  104. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-B5U9cqhi.js} +3 -3
  105. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-B5U9cqhi.js.map} +1 -1
  106. package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-C_5HfUQq.js} +422 -424
  107. package/dist/cdn/chunks/Toolbar-C_5HfUQq.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js → TplModal-CYBbPCHL.js} +5 -5
  109. package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js.map → TplModal-CYBbPCHL.js.map} +1 -1
  110. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js → VersionHistoryMenu-DbxuJgDO.js} +6 -6
  111. package/dist/cdn/chunks/{VersionHistoryMenu-Cp3EHO_P.js.map → VersionHistoryMenu-DbxuJgDO.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryPanels-BChjjMC6.js → VersionHistoryPanels-Dq12VsTX.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-BChjjMC6.js.map → VersionHistoryPanels-Dq12VsTX.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js → VersionPreviewBanner-HRERIH-v.js} +4 -4
  115. package/dist/cdn/chunks/{VersionPreviewBanner-BgkroXnG.js.map → VersionPreviewBanner-HRERIH-v.js.map} +1 -1
  116. package/dist/cdn/chunks/{WrapperBlock-DDnue8oy.js → WrapperBlock-CJ0CLqi2.js} +4 -4
  117. package/dist/cdn/chunks/{WrapperBlock-DDnue8oy.js.map → WrapperBlock-CJ0CLqi2.js.map} +1 -1
  118. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js → blockTypeIcons-DdZP-3FM.js} +2 -2
  119. package/dist/cdn/chunks/{blockTypeIcons-BMZi7sdX.js.map → blockTypeIcons-DdZP-3FM.js.map} +1 -1
  120. package/dist/cdn/chunks/{ca-DES69VJW.js → ca-C__Dzq--.js} +6 -1
  121. package/dist/cdn/chunks/ca-C__Dzq--.js.map +1 -0
  122. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js → cloud-h1vaHp2p.js} +4 -4
  123. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-h1vaHp2p.js.map} +1 -1
  124. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-bJN9EM1H.js} +9 -12
  125. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-bJN9EM1H.js.map} +1 -1
  126. package/dist/{de-MlrDhC3Y.js → cdn/chunks/de-CGjbQ2mt.js} +7 -0
  127. package/dist/cdn/chunks/de-CGjbQ2mt.js.map +1 -0
  128. package/dist/cdn/chunks/{dist-BRZhN8qJ.js → dist-B7W-Lb65.js} +2 -2
  129. package/dist/cdn/chunks/{dist-BRZhN8qJ.js.map → dist-B7W-Lb65.js.map} +1 -1
  130. package/dist/cdn/chunks/{dist-CXB2_kBa.js → dist-C5nRd_ua.js} +5 -13
  131. package/dist/cdn/chunks/{dist-CXB2_kBa.js.map → dist-C5nRd_ua.js.map} +1 -1
  132. package/dist/cdn/chunks/{draggable-IB4x6w2O.js → draggable-BUTN5vZC.js} +32 -77
  133. package/dist/cdn/chunks/{draggable-IB4x6w2O.js.map → draggable-BUTN5vZC.js.map} +1 -1
  134. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js → editor-modal-BpsbYA4_.js} +14 -34
  135. package/dist/cdn/chunks/{editor-modal-B7NNAFI5.js.map → editor-modal-BpsbYA4_.js.map} +1 -1
  136. package/dist/{en-6vJh7KCM.js → cdn/chunks/en-BTiiAC-B.js} +7 -0
  137. package/dist/cdn/chunks/en-BTiiAC-B.js.map +1 -0
  138. package/dist/cdn/chunks/en-CAt6y87e.js +1 -0
  139. package/dist/{es-ewL03EaP.js → cdn/chunks/es-CdTOcSTf.js} +7 -0
  140. package/dist/cdn/chunks/es-CdTOcSTf.js.map +1 -0
  141. package/dist/cdn/chunks/{extensions-ClmkNA8R.js → extensions-CrmXF4MW.js} +11 -19
  142. package/dist/cdn/chunks/extensions-CrmXF4MW.js.map +1 -0
  143. package/dist/{fr-D1syuxs1.js → cdn/chunks/fr-B6lcLLzC.js} +7 -0
  144. package/dist/cdn/chunks/fr-B6lcLLzC.js.map +1 -0
  145. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js → htmlparser-CDRsn-gn.js} +3 -11
  146. package/dist/cdn/chunks/{htmlparser-ClUZ6waR.js.map → htmlparser-CDRsn-gn.js.map} +1 -1
  147. package/dist/cdn/chunks/{icons-BjvraR-Y.js → icons-Dr9erFGs.js} +48 -48
  148. package/dist/cdn/chunks/{icons-BjvraR-Y.js.map → icons-Dr9erFGs.js.map} +1 -1
  149. package/dist/{ja-Dd_nytwe.js → cdn/chunks/ja-BhdkqENz.js} +7 -0
  150. package/dist/cdn/chunks/ja-BhdkqENz.js.map +1 -0
  151. package/dist/cdn/chunks/{keys-DCWeHkSF.js → keys-BKu-LOk5.js} +2 -2
  152. package/dist/cdn/chunks/{keys-DCWeHkSF.js.map → keys-BKu-LOk5.js.map} +1 -1
  153. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js → liquid.browser-Bbt17cVz.js} +30 -56
  154. package/dist/cdn/chunks/{liquid.browser-DXPjcePu.js.map → liquid.browser-Bbt17cVz.js.map} +1 -1
  155. package/dist/{nl-DD1t_qxS.js → cdn/chunks/nl-CE3YItYg.js} +7 -0
  156. package/dist/cdn/chunks/nl-CE3YItYg.js.map +1 -0
  157. package/dist/{preRenderCustomBlocks-C_PIxBp7.js → cdn/chunks/preRenderCustomBlocks-CyGB3lZr.js} +5 -3
  158. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CyGB3lZr.js.map} +1 -1
  159. package/dist/{pt-BR-BmtO0R7k.js → cdn/chunks/pt-BR-CUIT4rq4.js} +7 -0
  160. package/dist/cdn/chunks/pt-BR-CUIT4rq4.js.map +1 -0
  161. package/dist/cdn/chunks/{pusher-BbIHJKf3.js → pusher-C8DeiO2X.js} +18 -57
  162. package/dist/cdn/chunks/{pusher-BbIHJKf3.js.map → pusher-C8DeiO2X.js.map} +1 -1
  163. package/dist/cdn/chunks/{socialIcons-CnUJBZTO.js → socialIcons-ClJVDZwt.js} +90 -119
  164. package/dist/cdn/chunks/socialIcons-ClJVDZwt.js.map +1 -0
  165. package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-B0pZeTYO.js} +194 -215
  166. package/dist/cdn/chunks/src-B0pZeTYO.js.map +1 -0
  167. package/dist/cdn/chunks/{src-CjjJWoUZ.js → src-BMw3u-iV.js} +225 -232
  168. package/dist/cdn/chunks/src-BMw3u-iV.js.map +1 -0
  169. package/dist/cdn/chunks/{src-QIGNPFkl.js → src-Bh0MoJ67.js} +360 -246
  170. package/dist/cdn/chunks/src-Bh0MoJ67.js.map +1 -0
  171. package/dist/cdn/chunks/{tiptap-02G9FGkl.js → tiptap-CYDXLO17.js} +87 -134
  172. package/dist/cdn/chunks/{tiptap-02G9FGkl.js.map → tiptap-CYDXLO17.js.map} +1 -1
  173. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js → useAliveFlag-DzyXG-8A.js} +2 -2
  174. package/dist/cdn/chunks/{useAliveFlag-DAlQLbM2.js.map → useAliveFlag-DzyXG-8A.js.map} +1 -1
  175. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js → useCloudI18n-Cgk0ts_F.js} +3 -3
  176. package/dist/cdn/chunks/{useCloudI18n-CrjWbpbu.js.map → useCloudI18n-Cgk0ts_F.js.map} +1 -1
  177. package/dist/cdn/chunks/{useEditorCore-q0G4q-52.js → useEditorCore-DuC7kVti.js} +559 -599
  178. package/dist/cdn/chunks/useEditorCore-DuC7kVti.js.map +1 -0
  179. package/dist/cdn/chunks/useEditorRoot-DDPIcEOO.js +10 -0
  180. package/dist/cdn/chunks/{useEditorRoot-CshefZLP.js.map → useEditorRoot-DDPIcEOO.js.map} +1 -1
  181. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js → useI18n-DO4NTunW.js} +3 -3
  182. package/dist/cdn/chunks/{useI18n-CyO_Nmca.js.map → useI18n-DO4NTunW.js.map} +1 -1
  183. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js → useLogicTag-B3uV3XHG.js} +4 -4
  184. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-B3uV3XHG.js.map} +1 -1
  185. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-DJLM-7WQ.js} +4 -4
  186. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-DJLM-7WQ.js.map} +1 -1
  187. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js → usePopoverPosition-CtVNwoHj.js} +3 -3
  188. package/dist/cdn/chunks/{usePopoverPosition-DGXjXKjM.js.map → usePopoverPosition-CtVNwoHj.js.map} +1 -1
  189. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js → useScrollToBlock-CpmB5KxW.js} +4 -5
  190. package/dist/cdn/chunks/useScrollToBlock-CpmB5KxW.js.map +1 -0
  191. package/dist/cdn/chunks/withCurrentFont-isIyuezD.js +21 -0
  192. package/dist/cdn/chunks/withCurrentFont-isIyuezD.js.map +1 -0
  193. package/dist/cdn/editor.css +1 -1
  194. package/dist/cdn/editor.js +472 -491
  195. package/dist/cdn/editor.js.map +1 -1
  196. package/dist/{check-DNyj-E0y.js → check-ZKvtMdpe.js} +1 -1
  197. package/dist/{chevron-down-BYnhkMsA.js → chevron-down-RrwkYMlp.js} +1 -1
  198. package/dist/{chevron-right-D9HGBqJo.js → chevron-right-CklHaa1U.js} +1 -1
  199. package/dist/{chevron-up-BnIR1-ma.js → chevron-up-DjN2NTbo.js} +1 -1
  200. package/dist/{circle-alert-B6xl1B_M.js → circle-alert-BR1_Yfb-.js} +1 -1
  201. package/dist/{clock-Cs5Wd3dW.js → clock-BEagNj21.js} +1 -1
  202. package/dist/{cloud-BNEL7bxL.js → cloud-DPGjMGfv.js} +2 -2
  203. package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
  204. package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-D0RRgWab.js} +8 -11
  205. package/dist/{createLucideIcon-BVcoovvP.js → createLucideIcon-BAPyioGd.js} +6 -6
  206. package/dist/{cdn/chunks/de-MlrDhC3Y.js → de-CGjbQ2mt.js} +5 -2
  207. package/dist/{dist-CmwBvyW0.js → dist-1H4cnaoD.js} +3 -3
  208. package/dist/{dist-D4HP93ZF.js → dist-5DAb7bYT.js} +1 -1
  209. package/dist/{dist-DdSWMtEP.js → dist-5KNKxglR.js} +1 -1
  210. package/dist/{dist-HjILVdTA.js → dist-BI_LeQGl.js} +289 -201
  211. package/dist/{dist-BDuPwOyn.js → dist-B_vYjCsk.js} +4 -12
  212. package/dist/{dist-Ceew_u40.js → dist-Bc30883t.js} +6 -22
  213. package/dist/{dist-Czzst9ng.js → dist-Bd7khQsg.js} +3 -11
  214. package/dist/{dist-8VFzbeu9.js → dist-C-VFTX82.js} +1 -1
  215. package/dist/{dist-BYg1EL5g.js → dist-C3eH9-N2.js} +1 -1
  216. package/dist/{dist-Dw2_11LA.js → dist-CFC4pg2o.js} +1 -1
  217. package/dist/{dist-BgSLW3Hn.js → dist-CMcFD7gP.js} +72 -87
  218. package/dist/{dist-DmQckB4p.js → dist-DHensKDY.js} +1 -1
  219. package/dist/{dist-CWc7nIkA.js → dist-DapsJxn_.js} +1 -1
  220. package/dist/{dist-D2m55Lvs.js → dist-j2FavQmU.js} +1 -1
  221. package/dist/{dist-8By0p8ah.js → dist-lL3nVbxV.js} +1 -1
  222. package/dist/{editor-modal-Co-rZGaf.js → editor-modal-oRmkDlUs.js} +27 -47
  223. package/dist/{cdn/chunks/en-6vJh7KCM.js → en-BTiiAC-B.js} +5 -2
  224. package/dist/en-Bk4iCfjp.js +1 -0
  225. package/dist/{cdn/chunks/es-ewL03EaP.js → es-CdTOcSTf.js} +5 -2
  226. package/dist/{extensions-DXSI8Dyj.js → extensions-CYigjb1g.js} +52 -68
  227. package/dist/{eye-Nbtw_q05.js → eye-DvsTBI57.js} +1 -1
  228. package/dist/{cdn/chunks/fr-D1syuxs1.js → fr-B6lcLLzC.js} +5 -2
  229. package/dist/{image-up-C1jC7NzQ.js → image-up-BoFGZm5Q.js} +1 -1
  230. package/dist/index.d.ts +46 -13
  231. package/dist/{info-ClH66pKN.js → info-0bQQGjTV.js} +1 -1
  232. package/dist/{cdn/chunks/ja-Dd_nytwe.js → ja-BhdkqENz.js} +5 -2
  233. package/dist/{keys-CDqfZIRt.js → keys-injl74ob.js} +1 -1
  234. package/dist/{link-y47GNW0o.js → link-Cstrr3Ep.js} +1 -1
  235. package/dist/{liquid.browser-Cs4gOjeX.js → liquid.browser-Ct2-EezB.js} +29 -55
  236. package/dist/{list-DiLMlMaE.js → list-Dx9Rmy5s.js} +1 -1
  237. package/dist/{loader-circle-BRdCPW5h.js → loader-circle-D8Qqs0MG.js} +1 -1
  238. package/dist/{message-circle-CNgIpVJv.js → message-circle-D78ELX6I.js} +1 -1
  239. package/dist/{cdn/chunks/nl-DD1t_qxS.js → nl-CE3YItYg.js} +5 -2
  240. package/dist/{package-B9OWk-Kp.js → package-DOvM9sHE.js} +1 -1
  241. package/dist/{pencil-BDnjo24u.js → pencil-B6m0OG0n.js} +1 -1
  242. package/dist/{plus-BMgjN7lI.js → plus-D-nEKxTc.js} +1 -1
  243. package/dist/{cdn/chunks/preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-DokBGA_M.js} +3 -5
  244. package/dist/{cdn/chunks/pt-BR-BmtO0R7k.js → pt-BR-CUIT4rq4.js} +5 -2
  245. package/dist/{refresh-cw-CR5lenxl.js → refresh-cw-CXZS-R1U.js} +1 -1
  246. package/dist/{runtime-dom.esm-bundler-BGbPz4-g.js → runtime-dom.esm-bundler-CO67ema2.js} +15 -16
  247. package/dist/{search-CxRUiOSF.js → search-DSvil0jo.js} +1 -1
  248. package/dist/{send-Bu2RysGL.js → send-BBR28V94.js} +1 -1
  249. package/dist/{shield-check-Cg8f4LB0.js → shield-check-ByxUnaU9.js} +1 -1
  250. package/dist/{smartphone-CHf-8lHp.js → smartphone-CNOwGf5T.js} +1 -1
  251. package/dist/{socialIcons-D1gkHc_i.js → socialIcons-Ct_IoqPQ.js} +112 -141
  252. package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
  253. package/dist/style.css +1 -1
  254. package/dist/templatical-editor.js +504 -523
  255. package/dist/{text-align-start-PHo-Ep5i.js → text-align-start-BKEKMheq.js} +13 -13
  256. package/dist/{trash-BxIzHAri.js → trash-CKEQH4vH.js} +1 -1
  257. package/dist/{triangle-alert-fcb2KoA-.js → triangle-alert-BHnfd3fV.js} +1 -1
  258. package/dist/{upload-BxBtMPMv.js → upload-C8uO7KsR.js} +1 -1
  259. package/dist/{useAliveFlag-BkKyhkwZ.js → useAliveFlag-6PtarpNZ.js} +1 -1
  260. package/dist/{useCloudI18n-DpEsiLeR.js → useCloudI18n-GvIOLziA.js} +2 -2
  261. package/dist/{useEditorCore-B1CWeFTj.js → useEditorCore-BJAQMvNW.js} +950 -1013
  262. package/dist/{useEditorRoot-CkB_5d0h.js → useEditorRoot-OWzNpDdT.js} +2 -2
  263. package/dist/{useI18n-B_CdcBwG.js → useI18n-uF11q85g.js} +2 -2
  264. package/dist/{useLogicTag-wqfdwYYR.js → useLogicTag-B5gjcMzn.js} +3 -3
  265. package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-BwsBIDzR.js} +5 -5
  266. package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
  267. package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-JRxhT1u_.js} +4 -5
  268. package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
  269. package/dist/withCurrentFont-C9vqrduu.js +19 -0
  270. package/dist/{x-DrZO5tt0.js → x-gEC0yMci.js} +1 -1
  271. package/package.json +12 -12
  272. package/dist/TemplateSettings-Bh10NFIN.js +0 -245
  273. package/dist/cdn/chunks/CountdownToolbar-C9QpHQcv.js.map +0 -1
  274. package/dist/cdn/chunks/ParagraphEditor-BWfx94pb.js.map +0 -1
  275. package/dist/cdn/chunks/TemplateSettings-vsFOU0oA.js.map +0 -1
  276. package/dist/cdn/chunks/Toolbar-CnfNUkOY.js.map +0 -1
  277. package/dist/cdn/chunks/ca-DES69VJW.js.map +0 -1
  278. package/dist/cdn/chunks/de-MlrDhC3Y.js.map +0 -1
  279. package/dist/cdn/chunks/en-6vJh7KCM.js.map +0 -1
  280. package/dist/cdn/chunks/en-C3n0qWte.js +0 -2
  281. package/dist/cdn/chunks/es-ewL03EaP.js.map +0 -1
  282. package/dist/cdn/chunks/extensions-ClmkNA8R.js.map +0 -1
  283. package/dist/cdn/chunks/fr-D1syuxs1.js.map +0 -1
  284. package/dist/cdn/chunks/ja-Dd_nytwe.js.map +0 -1
  285. package/dist/cdn/chunks/nl-DD1t_qxS.js.map +0 -1
  286. package/dist/cdn/chunks/pt-BR-BmtO0R7k.js.map +0 -1
  287. package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
  288. package/dist/cdn/chunks/src-B5-VKcRQ.js.map +0 -1
  289. package/dist/cdn/chunks/src-CjjJWoUZ.js.map +0 -1
  290. package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
  291. package/dist/cdn/chunks/useEditorCore-q0G4q-52.js.map +0 -1
  292. package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
  293. package/dist/cdn/chunks/useScrollToBlock-DgHZJvID.js.map +0 -1
  294. package/dist/en-B-xoKkWi.js +0 -2
@@ -1,6 +1,6 @@
1
1
  import { n as e } from "./rolldown-runtime-B0aSnxlc.js";
2
- import { $ as t, X as n, at as r, ct as i, et as a, lt as o, mt as s, nt as c, rt as l, st as ee, tt as u, ut as d } from "./src-QIGNPFkl.js";
3
- import { t as f } from "./htmlparser-ClUZ6waR.js";
2
+ import { Ct as t, at as n, ct as r, ft as i, ht as a, it as o, mt as s, ot as c, pt as l, st as u, tt as d, ut as ee } from "./src-Bh0MoJ67.js";
3
+ import { t as f } from "./htmlparser-CDRsn-gn.js";
4
4
  //#region ../quality/src/types.ts
5
5
  var te = {
6
6
  altMaxLength: 125,
@@ -18,81 +18,78 @@ var te = {
18
18
  //#endregion
19
19
  //#region ../quality/src/contrast.ts
20
20
  function p(e, t) {
21
- let n = h(e), r = h(t);
21
+ let n = g(e), r = g(t);
22
22
  if (!n || !r) return NaN;
23
- let i = _(n), a = _(r), o = Math.max(i, a), s = Math.min(i, a);
23
+ let i = v(n), a = v(r), o = Math.max(i, a), s = Math.min(i, a);
24
24
  return (o + .05) / (s + .05);
25
25
  }
26
- var m = /^#?([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 h(e) {
26
+ var re = /^#?([0-9a-f])([0-9a-f])([0-9a-f])$/i, m = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i, h = /^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i;
27
+ function g(e) {
28
28
  if (typeof e != "string") return null;
29
- let t = e.trim(), n = ie.exec(t);
29
+ let t = e.trim(), n = h.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 = m.exec(t);
41
+ let i = re.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 g(e) {
49
- return h(e ?? "") !== null;
48
+ function _(e) {
49
+ return g(e ?? "") !== null;
50
50
  }
51
- function _({ r: e, g: t, b: n }) {
52
- let r = v(e / 255), i = v(t / 255), a = v(n / 255);
51
+ function v({ r: e, g: t, b: n }) {
52
+ let r = y(e / 255), i = y(t / 255), a = y(n / 255);
53
53
  return .2126 * r + .7152 * i + .0722 * a;
54
54
  }
55
- function v(e) {
55
+ function y(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 y = "#ffffff", b = "#1a1a1a";
60
+ var ie = "#ffffff", b = "#1a1a1a";
61
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
- if (t(e, a === n.resolvedBackgroundColor ? n : {
62
+ let n = _(e.settings.backgroundColor) ? e.settings.backgroundColor.toLowerCase() : ie, i = _(e.settings.textColor) ? e.settings.textColor.toLowerCase() : b, o = (e, n) => {
63
+ let i = e.styles?.backgroundColor, s = _(i) ? i.toLowerCase() : n.resolvedBackgroundColor;
64
+ if (t(e, s === n.resolvedBackgroundColor ? n : {
65
65
  ...n,
66
- resolvedBackgroundColor: a
67
- }), d(e)) {
68
- for (let t of e.children) i(t, {
69
- parent: e,
70
- section: n.section,
71
- columnIndex: null,
72
- depth: n.depth + 1,
73
- resolvedBackgroundColor: a,
74
- resolvedTextColor: n.resolvedTextColor
75
- });
76
- return;
77
- }
78
- l(e) && e.children.forEach((t, r) => {
79
- t.forEach((t) => i(t, {
66
+ resolvedBackgroundColor: s
67
+ }), a(e)) for (let t of e.children) o(t, {
68
+ parent: e,
69
+ section: n.section,
70
+ columnIndex: null,
71
+ depth: n.depth + 1,
72
+ resolvedBackgroundColor: s,
73
+ resolvedTextColor: n.resolvedTextColor
74
+ });
75
+ else r(e) && e.children.forEach((t, r) => {
76
+ t.forEach((t) => o(t, {
80
77
  parent: e,
81
78
  section: e,
82
79
  columnIndex: r,
83
80
  depth: n.depth + 1,
84
- resolvedBackgroundColor: a,
81
+ resolvedBackgroundColor: s,
85
82
  resolvedTextColor: n.resolvedTextColor
86
83
  }));
87
84
  });
88
85
  };
89
- for (let t of e.blocks) i(t, {
86
+ for (let t of e.blocks) o(t, {
90
87
  parent: null,
91
88
  section: null,
92
89
  columnIndex: null,
93
90
  depth: 0,
94
91
  resolvedBackgroundColor: n,
95
- resolvedTextColor: r
92
+ resolvedTextColor: i
96
93
  });
97
94
  }
98
95
  //#endregion
@@ -239,7 +236,7 @@ var pe = {
239
236
  severity: "error"
240
237
  },
241
238
  block(e) {
242
- return !a(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
239
+ return !n(e) || e.decorative === !0 || (e.alt?.trim() ?? "") !== "" || (e.src ?? "").trim() === "" ? null : { blockId: e.id };
243
240
  }
244
241
  }, me = {
245
242
  id: "a11y.img-alt-is-filename",
@@ -253,7 +250,7 @@ var pe = {
253
250
  ], ge = {
254
251
  meta: me,
255
252
  block(e) {
256
- if (!a(e) || e.decorative === !0) return null;
253
+ if (!n(e) || e.decorative === !0) return null;
257
254
  let t = e.alt?.trim() ?? "";
258
255
  return t === "" || !he.some((e) => e.test(t)) ? null : {
259
256
  blockId: e.id,
@@ -265,14 +262,14 @@ var pe = {
265
262
  id: "a11y.img-alt-too-long",
266
263
  severity: "warning"
267
264
  },
268
- block(e, t, n) {
269
- if (!a(e) || e.decorative === !0) return null;
270
- let r = e.alt ?? "";
271
- return r.length <= n.thresholds.altMaxLength ? null : {
265
+ block(e, t, r) {
266
+ if (!n(e) || e.decorative === !0) return null;
267
+ let i = e.alt ?? "";
268
+ return i.length <= r.thresholds.altMaxLength ? null : {
272
269
  blockId: e.id,
273
270
  params: {
274
- length: r.length,
275
- max: n.thresholds.altMaxLength
271
+ length: i.length,
272
+ max: r.thresholds.altMaxLength
276
273
  }
277
274
  };
278
275
  }
@@ -282,7 +279,7 @@ var pe = {
282
279
  severity: "info"
283
280
  },
284
281
  block(e) {
285
- return !a(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
282
+ return !n(e) || e.decorative !== !0 || (e.alt ?? "").trim() === "" ? null : {
286
283
  blockId: e.id,
287
284
  fix: {
288
285
  description: "Clear alt text",
@@ -405,12 +402,12 @@ var Ce = {
405
402
  id: "a11y.img-linked-no-context",
406
403
  severity: "warning"
407
404
  },
408
- block(e, t, n) {
409
- if (!a(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
410
- let r = (e.alt ?? "").trim();
411
- if (r === "") return null;
412
- let i = r.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), o = k(n.locale).linkedImageActionHints;
413
- return i.some((e) => o.includes(e)) ? null : { blockId: e.id };
405
+ block(e, t, r) {
406
+ if (!n(e) || e.decorative === !0 || !e.linkUrl || e.linkUrl.trim() === "") return null;
407
+ let i = (e.alt ?? "").trim();
408
+ if (i === "") return null;
409
+ let a = i.toLocaleLowerCase().split(/[^\p{L}\p{N}]+/u).filter(Boolean), o = k(r.locale).linkedImageActionHints;
410
+ return a.some((e) => o.includes(e)) ? null : { blockId: e.id };
414
411
  }
415
412
  };
416
413
  //#endregion
@@ -420,17 +417,13 @@ function N(e) {
420
417
  n !== null && (n.text = r.trim(), t.push(n), n = null, r = "");
421
418
  }, a = new f({
422
419
  onopentag(e, t) {
423
- if (e === "a") {
424
- i(), n = {
425
- href: t.href ?? "",
426
- text: "",
427
- target: t.target ?? null,
428
- rel: t.rel ?? null,
429
- hasImageWithAlt: !1
430
- };
431
- return;
432
- }
433
- e === "img" && n !== null && (t.alt ?? "").trim() !== "" && (n.hasImageWithAlt = !0);
420
+ e === "a" ? (i(), n = {
421
+ href: t.href ?? "",
422
+ text: "",
423
+ target: t.target ?? null,
424
+ rel: t.rel ?? null,
425
+ hasImageWithAlt: !1
426
+ }) : e === "img" && n !== null && (t.alt ?? "").trim() !== "" && (n.hasImageWithAlt = !0);
434
427
  },
435
428
  ontext(e) {
436
429
  n !== null && (r += e);
@@ -443,11 +436,8 @@ function N(e) {
443
436
  }
444
437
  function we(e) {
445
438
  let t = Te(e).matchAll(/<\/?a\b[^<>]*>/gi), n = 0;
446
- for (let e of t) {
447
- if (e[0].startsWith("</")) {
448
- n > 0 && n--;
449
- continue;
450
- }
439
+ for (let e of t) if (e[0].startsWith("</")) n > 0 && n--;
440
+ else {
451
441
  if (n > 0) return !0;
452
442
  n++;
453
443
  }
@@ -480,20 +470,15 @@ var Ee = {
480
470
  severity: "error"
481
471
  },
482
472
  block(e) {
483
- return !i(e) || P(e.content ?? "") !== "" ? null : { blockId: e.id };
473
+ return !l(e) || P(e.content ?? "") !== "" ? null : { blockId: e.id };
484
474
  }
485
475
  }, De = {
486
476
  id: "a11y.heading-skip-level",
487
477
  severity: "error"
488
478
  };
489
479
  function F(e, t) {
490
- for (let n of e) {
491
- if (i(n)) {
492
- t.push(n);
493
- continue;
494
- }
495
- if (l(n)) for (let e of n.children) F(e, t);
496
- }
480
+ for (let n of e) if (l(n)) t.push(n);
481
+ else if (r(n)) for (let e of n.children) F(e, t);
497
482
  }
498
483
  var Oe = {
499
484
  meta: De,
@@ -515,13 +500,8 @@ var Oe = {
515
500
  severity: "warning"
516
501
  };
517
502
  function I(e, t) {
518
- for (let n of e) {
519
- if (i(n)) {
520
- t.push(n);
521
- continue;
522
- }
523
- if (l(n)) for (let e of n.children) I(e, t);
524
- }
503
+ for (let n of e) if (l(n)) t.push(n);
504
+ else if (r(n)) for (let e of n.children) I(e, t);
525
505
  }
526
506
  var Ae = {
527
507
  meta: ke,
@@ -536,7 +516,7 @@ var Ae = {
536
516
  severity: "error"
537
517
  };
538
518
  function Me(e) {
539
- return c(e) || i(e) ? e.content : null;
519
+ return u(e) || l(e) ? e.content : null;
540
520
  }
541
521
  var Ne = {
542
522
  meta: je,
@@ -549,7 +529,7 @@ var Ne = {
549
529
  severity: "warning"
550
530
  };
551
531
  function Fe(e) {
552
- return c(e) || i(e) ? e.content : null;
532
+ return u(e) || l(e) ? e.content : null;
553
533
  }
554
534
  var Ie = {
555
535
  meta: Pe,
@@ -570,7 +550,7 @@ var Ie = {
570
550
  severity: "error"
571
551
  };
572
552
  function Re(e) {
573
- return c(e) || i(e) ? e.content : null;
553
+ return u(e) || l(e) ? e.content : null;
574
554
  }
575
555
  var ze = {
576
556
  meta: Le,
@@ -586,7 +566,7 @@ var ze = {
586
566
  severity: "warning"
587
567
  };
588
568
  function Ve(e) {
589
- return c(e) || i(e) ? e.content : null;
569
+ return u(e) || l(e) ? e.content : null;
590
570
  }
591
571
  function He(e) {
592
572
  if (e === null) return !1;
@@ -602,7 +582,7 @@ var Ue = {
602
582
  fix: {
603
583
  description: "Add rel=\"noopener\"",
604
584
  apply: (t) => {
605
- if (!c(e) && !i(e)) return;
585
+ if (!u(e) && !l(e)) return;
606
586
  let n = Ke(e.content ?? "");
607
587
  t.updateBlock(e.id, { content: n });
608
588
  }
@@ -644,7 +624,7 @@ var qe = {
644
624
  severity: "error"
645
625
  };
646
626
  function Je(e) {
647
- return c(e) || i(e) ? e.content : null;
627
+ return u(e) || l(e) ? e.content : null;
648
628
  }
649
629
  var Ye = {
650
630
  meta: qe,
@@ -658,7 +638,7 @@ var Ye = {
658
638
  severity: "warning"
659
639
  },
660
640
  block(e, t, n) {
661
- if (!c(e) && !i(e)) return null;
641
+ if (!u(e) && !l(e)) return null;
662
642
  let r = P(e.content ?? "").replace(/[^\p{L}]/gu, "");
663
643
  return r.length < n.thresholds.allCapsMinLength || ![...r].some((e) => e.toLocaleLowerCase() !== e.toLocaleUpperCase()) || r !== r.toLocaleUpperCase() ? null : { blockId: e.id };
664
644
  }
@@ -689,12 +669,12 @@ function tt(e) {
689
669
  var nt = {
690
670
  meta: Ze,
691
671
  block(e) {
692
- return !c(e) || !$e(e.content ?? "").some(z) ? null : {
672
+ return !u(e) || !$e(e.content ?? "").some(z) ? null : {
693
673
  blockId: e.id,
694
674
  fix: {
695
675
  description: "Remove justified alignment",
696
676
  apply: (t) => {
697
- c(e) && t.updateBlock(e.id, { content: tt(e.content ?? "") });
677
+ u(e) && t.updateBlock(e.id, { content: tt(e.content ?? "") });
698
678
  }
699
679
  }
700
680
  };
@@ -704,16 +684,16 @@ var nt = {
704
684
  id: "a11y.text-low-contrast",
705
685
  severity: "error"
706
686
  },
707
- block(e, t) {
708
- if (!i(e)) return null;
709
- let n = e.color ?? t.resolvedTextColor;
710
- if (!g(n) || !g(t.resolvedBackgroundColor)) return null;
711
- let r = s[e.level] >= 24 ? 3 : 4.5, a = p(n, t.resolvedBackgroundColor);
712
- return Number.isNaN(a) || a >= r ? null : {
687
+ block(e, n) {
688
+ if (!l(e)) return null;
689
+ let r = e.color ?? n.resolvedTextColor;
690
+ if (!_(r) || !_(n.resolvedBackgroundColor)) return null;
691
+ let i = t[e.level] >= 24 ? 3 : 4.5, a = p(r, n.resolvedBackgroundColor);
692
+ return Number.isNaN(a) || a >= i ? null : {
713
693
  blockId: e.id,
714
694
  params: {
715
695
  ratio: a.toFixed(2),
716
- required: r
696
+ required: i
717
697
  }
718
698
  };
719
699
  }
@@ -722,7 +702,7 @@ var nt = {
722
702
  severity: "warning"
723
703
  };
724
704
  function at(e) {
725
- return u(e) || ee(e) ? e.fontSize : null;
705
+ return c(e) || i(e) ? e.fontSize : null;
726
706
  }
727
707
  //#endregion
728
708
  //#region ../quality/src/accessibility/index.ts
@@ -761,10 +741,10 @@ var B = [
761
741
  id: "a11y.button-vague-label",
762
742
  severity: "warning"
763
743
  },
764
- block(e, t, r) {
765
- if (!n(e)) return null;
766
- let i = M(e.text ?? "");
767
- return i === "" || !k(r.locale).vagueButtonLabels.includes(i) ? null : {
744
+ block(e, t, n) {
745
+ if (!d(e)) return null;
746
+ let r = M(e.text ?? "");
747
+ return r === "" || !k(n.locale).vagueButtonLabels.includes(r) ? null : {
768
748
  blockId: e.id,
769
749
  params: { text: e.text }
770
750
  };
@@ -775,16 +755,16 @@ var B = [
775
755
  id: "a11y.button-touch-target",
776
756
  severity: "warning"
777
757
  },
778
- block(e, t, r) {
779
- if (!n(e)) return null;
780
- let i = e.buttonPadding;
781
- if (!i) return null;
782
- let a = e.fontSize * 1.4 + i.top + i.bottom;
783
- return a >= r.thresholds.minTouchTargetPx ? null : {
758
+ block(e, t, n) {
759
+ if (!d(e)) return null;
760
+ let r = e.buttonPadding;
761
+ if (!r) return null;
762
+ let i = e.fontSize * 1.4 + r.top + r.bottom;
763
+ return i >= n.thresholds.minTouchTargetPx ? null : {
784
764
  blockId: e.id,
785
765
  params: {
786
- height: Math.round(a),
787
- min: r.thresholds.minTouchTargetPx
766
+ height: Math.round(i),
767
+ min: n.thresholds.minTouchTargetPx
788
768
  }
789
769
  };
790
770
  }
@@ -795,15 +775,15 @@ var B = [
795
775
  severity: "error"
796
776
  },
797
777
  block(e) {
798
- if (!n(e)) return null;
778
+ if (!d(e)) return null;
799
779
  let t = p(e.textColor, e.backgroundColor);
800
780
  if (Number.isNaN(t)) return null;
801
- let r = e.fontSize >= 24 ? 3 : 4.5;
802
- return t >= r ? null : {
781
+ let n = e.fontSize >= 24 ? 3 : 4.5;
782
+ return t >= n ? null : {
803
783
  blockId: e.id,
804
784
  params: {
805
785
  ratio: t.toFixed(2),
806
- required: r
786
+ required: n
807
787
  }
808
788
  };
809
789
  }
@@ -862,7 +842,7 @@ var ft = {
862
842
  severity: "error"
863
843
  };
864
844
  function W(e, t) {
865
- for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), l(n)) for (let e of n.children) W(e, t);
845
+ for (let n of e) if (t.set(n.id, (t.get(n.id) ?? 0) + 1), r(n)) for (let e of n.children) W(e, t);
866
846
  }
867
847
  var pt = {
868
848
  meta: ft,
@@ -882,7 +862,7 @@ var pt = {
882
862
  };
883
863
  function G(e, t) {
884
864
  for (let n of e) {
885
- if (!l(n)) continue;
865
+ if (!r(n)) continue;
886
866
  let e = n;
887
867
  e.children.length > 1 && e.children.forEach((n, r) => {
888
868
  n.length === 0 && t.push({
@@ -909,7 +889,7 @@ function _t(e) {
909
889
  var vt = {
910
890
  meta: gt,
911
891
  block(e) {
912
- if (!l(e)) return null;
892
+ if (!r(e)) return null;
913
893
  let t = e;
914
894
  return _t(t) ? {
915
895
  blockId: t.id,
@@ -927,7 +907,7 @@ var vt = {
927
907
  severity: "error"
928
908
  },
929
909
  block(e, t) {
930
- return !l(e) || t.section === null ? null : {
910
+ return !r(e) || t.section === null ? null : {
931
911
  blockId: e.id,
932
912
  params: { parentId: t.section.id }
933
913
  };
@@ -949,14 +929,14 @@ var K = [
949
929
  {
950
930
  meta: bt,
951
931
  block(e) {
952
- if (!l(e)) return null;
953
- let t = e, n = xt(t.columns), r = t.children.length;
954
- return r === n ? null : {
932
+ if (!r(e)) return null;
933
+ let t = e, n = xt(t.columns), i = t.children.length;
934
+ return i === n ? null : {
955
935
  blockId: t.id,
956
936
  params: {
957
937
  layout: t.columns,
958
938
  expected: n,
959
- actual: r
939
+ actual: i
960
940
  }
961
941
  };
962
942
  }
@@ -972,13 +952,15 @@ var Ct = /* @__PURE__ */ e({ default: () => wt }), wt = {
972
952
  "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.",
973
953
  "link.malformed-mailto": "Der mailto:-Link ist fehlerhaft. Erwartet wird eine einzelne Empfängeradresse vor einer eventuellen Querystring (z. B. mailto:hallo@example.com).",
974
954
  "link.malformed-tel": "Der tel:-Link enthält Zeichen, die keine Ziffern, +, Leerzeichen, Bindestriche, Klammern oder Punkte sind.",
975
- "link.localhost-or-staging": "Der URL-Host „{host}\" entspricht einem Nicht-Produktionsmuster. Ersetze ihn vor dem Versand durch die Produktions-URL."
955
+ "link.localhost-or-staging": "Der URL-Host „{host}\" entspricht einem Nicht-Produktionsmuster. Ersetze ihn vor dem Versand durch die Produktions-URL.",
956
+ "link.relative-url": "Die URL „{url}\" ist relativ. Eine versendete E-Mail hat keine Seitenadresse, gegen die sie aufgelöst werden kann, daher funktioniert der Link nicht. Verwende eine absolute URL (https://…)."
976
957
  }, Tt = /* @__PURE__ */ e({ default: () => q }), q = {
977
958
  "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.",
978
959
  "link.unsupported-protocol": "URL uses the \"{protocol}\" protocol, which most email clients do not support. Use http, https, mailto, tel, or sms.",
979
960
  "link.malformed-mailto": "mailto: link is malformed. Expected a single recipient address before any query string (e.g. mailto:hello@example.com).",
980
961
  "link.malformed-tel": "tel: link contains characters that are not digits, +, spaces, dashes, parentheses, or dots.",
981
- "link.localhost-or-staging": "URL host \"{host}\" matches a non-production pattern. Replace with the production URL before sending."
962
+ "link.localhost-or-staging": "URL host \"{host}\" matches a non-production pattern. Replace with the production URL before sending.",
963
+ "link.relative-url": "URL \"{url}\" is relative. A sent email has no page address to resolve it against, so the link breaks. Use an absolute URL (https://…)."
982
964
  }, J = /* #__PURE__ */ Object.assign({
983
965
  "./de.ts": Ct,
984
966
  "./en.ts": Tt
@@ -1002,63 +984,45 @@ function Dt(e, t, n) {
1002
984
  //#endregion
1003
985
  //#region ../quality/src/url-walker.ts
1004
986
  function X(e) {
1005
- let s = [];
987
+ let t = [];
1006
988
  return x(e, (e) => {
1007
- if (i(e) || c(e) || t(e)) {
1008
- for (let t of N(e.content)) s.push({
1009
- url: t.href,
1010
- blockId: e.id,
1011
- source: "anchor",
1012
- label: t.text
1013
- });
1014
- return;
1015
- }
1016
- if (n(e)) {
1017
- s.push({
1018
- url: e.url,
1019
- blockId: e.id,
1020
- source: "button",
1021
- label: e.text
1022
- });
1023
- return;
1024
- }
1025
- if (a(e)) {
1026
- e.linkUrl && e.linkUrl !== "" && s.push({
1027
- url: e.linkUrl,
1028
- blockId: e.id,
1029
- source: "image-link",
1030
- label: e.alt || void 0
1031
- });
1032
- return;
1033
- }
1034
- if (o(e)) {
1035
- s.push({
1036
- url: e.url,
1037
- blockId: e.id,
1038
- source: "video",
1039
- label: e.alt || void 0
1040
- });
1041
- return;
1042
- }
1043
- if (u(e)) {
1044
- for (let t of e.items) s.push({
1045
- url: t.url,
1046
- blockId: e.id,
1047
- source: "menu-item",
1048
- label: t.text
1049
- });
1050
- return;
1051
- }
1052
- if (r(e)) {
1053
- for (let t of e.icons) s.push({
1054
- url: t.url,
1055
- blockId: e.id,
1056
- source: "social-icon",
1057
- label: t.platform
1058
- });
1059
- return;
1060
- }
1061
- }), s;
989
+ if (l(e) || u(e) || o(e)) for (let n of N(e.content)) t.push({
990
+ url: n.href,
991
+ blockId: e.id,
992
+ source: "anchor",
993
+ label: n.text
994
+ });
995
+ else if (d(e)) t.push({
996
+ url: e.url,
997
+ blockId: e.id,
998
+ source: "button",
999
+ label: e.text
1000
+ });
1001
+ else if (n(e)) e.linkUrl && e.linkUrl !== "" && t.push({
1002
+ url: e.linkUrl,
1003
+ blockId: e.id,
1004
+ source: "image-link",
1005
+ label: e.alt || void 0
1006
+ });
1007
+ else if (s(e)) t.push({
1008
+ url: e.url,
1009
+ blockId: e.id,
1010
+ source: "video",
1011
+ label: e.alt || void 0
1012
+ });
1013
+ else if (c(e)) for (let n of e.items) t.push({
1014
+ url: n.url,
1015
+ blockId: e.id,
1016
+ source: "menu-item",
1017
+ label: n.text
1018
+ });
1019
+ else if (ee(e)) for (let n of e.icons) t.push({
1020
+ url: n.url,
1021
+ blockId: e.id,
1022
+ source: "social-icon",
1023
+ label: n.platform
1024
+ });
1025
+ }), t;
1062
1026
  }
1063
1027
  //#endregion
1064
1028
  //#region ../quality/src/links/rules/javascript-protocol.ts
@@ -1104,7 +1068,7 @@ function Pt(e) {
1104
1068
  let t = e.trim(), n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
1105
1069
  return n ? n[1].toLowerCase() : null;
1106
1070
  }
1107
- var Q = {
1071
+ var Ft = {
1108
1072
  meta: jt,
1109
1073
  template(e) {
1110
1074
  let t = [];
@@ -1117,11 +1081,11 @@ var Q = {
1117
1081
  }
1118
1082
  return t;
1119
1083
  }
1120
- }, Ft = {
1084
+ }, It = {
1121
1085
  id: "link.malformed-mailto",
1122
1086
  severity: "warning"
1123
1087
  };
1124
- function It(e) {
1088
+ function Lt(e) {
1125
1089
  let t = e.trim();
1126
1090
  if (!/^mailto:/i.test(t)) return !1;
1127
1091
  let [n] = t.slice(7).split("?", 2);
@@ -1136,30 +1100,30 @@ function It(e) {
1136
1100
  }
1137
1101
  return !1;
1138
1102
  }
1139
- var Lt = {
1140
- meta: Ft,
1103
+ var Rt = {
1104
+ meta: It,
1141
1105
  template(e) {
1142
1106
  let t = [];
1143
- for (let n of X(e)) It(n.url) && t.push({ blockId: n.blockId });
1107
+ for (let n of X(e)) Lt(n.url) && t.push({ blockId: n.blockId });
1144
1108
  return t;
1145
1109
  }
1146
- }, Rt = {
1110
+ }, zt = {
1147
1111
  id: "link.malformed-tel",
1148
1112
  severity: "warning"
1149
- }, zt = /^[+0-9\s().\-]+$/, Bt = /^[A-Za-z0-9-]+(=[^;]+)?$/;
1150
- function Vt(e) {
1113
+ }, Bt = /^[+0-9\s().\-]+$/, Vt = /^[A-Za-z0-9-]+(=[^;]+)?$/;
1114
+ function Q(e) {
1151
1115
  let t = e.trim();
1152
1116
  if (!/^tel:/i.test(t)) return !1;
1153
1117
  let n = t.slice(4).trim();
1154
1118
  if (n === "") return !0;
1155
1119
  let [r, ...i] = n.split(";");
1156
- return !zt.test(r) || i.some((e) => !Bt.test(e));
1120
+ return !Bt.test(r) || i.some((e) => !Vt.test(e));
1157
1121
  }
1158
1122
  var Ht = {
1159
- meta: Rt,
1123
+ meta: zt,
1160
1124
  template(e) {
1161
1125
  let t = [];
1162
- for (let n of X(e)) Vt(n.url) && t.push({ blockId: n.blockId });
1126
+ for (let n of X(e)) Q(n.url) && t.push({ blockId: n.blockId });
1163
1127
  return t;
1164
1128
  }
1165
1129
  }, Ut = {
@@ -1180,48 +1144,63 @@ function Gt(e) {
1180
1144
  return null;
1181
1145
  }
1182
1146
  }
1183
- //#endregion
1184
- //#region ../quality/src/links/index.ts
1185
- var $ = [
1147
+ var Kt = {
1148
+ meta: Ut,
1149
+ template(e, t) {
1150
+ let n = t.links.nonProductionHosts;
1151
+ if (n.length === 0) return [];
1152
+ let r = n.map(Wt), i = [];
1153
+ for (let t of X(e)) {
1154
+ let e = Gt(t.url);
1155
+ e !== null && r.some((t) => t.test(e)) && i.push({
1156
+ blockId: t.blockId,
1157
+ params: { host: e }
1158
+ });
1159
+ }
1160
+ return i;
1161
+ }
1162
+ }, qt = {
1163
+ id: "link.relative-url",
1164
+ severity: "warning"
1165
+ }, Jt = /^(?:\/|\.{1,2}\/|\?)/, $ = [
1186
1166
  At,
1187
- Q,
1188
- Lt,
1167
+ Ft,
1168
+ Rt,
1189
1169
  Ht,
1170
+ Kt,
1190
1171
  {
1191
- meta: Ut,
1192
- template(e, t) {
1193
- let n = t.links.nonProductionHosts;
1194
- if (n.length === 0) return [];
1195
- let r = n.map(Wt), i = [];
1196
- for (let t of X(e)) {
1197
- let e = Gt(t.url);
1198
- e !== null && r.some((t) => t.test(e)) && i.push({
1199
- blockId: t.blockId,
1200
- params: { host: e }
1172
+ meta: qt,
1173
+ template(e) {
1174
+ let t = [];
1175
+ for (let n of X(e)) {
1176
+ let e = n.url?.trim();
1177
+ e && Jt.test(e) && t.push({
1178
+ blockId: n.blockId,
1179
+ params: { url: e }
1201
1180
  });
1202
1181
  }
1203
- return i;
1182
+ return t;
1204
1183
  }
1205
1184
  }
1206
1185
  ];
1207
- function Kt(e, t = {}) {
1186
+ function Yt(e, t = {}) {
1208
1187
  return t.disabled === !0 || t.links === !1 ? [] : S(e, $, se(t.locale, t.links ?? {}, $), (e, t, n) => Dt(e, t, n));
1209
1188
  }
1210
1189
  //#endregion
1211
1190
  //#region ../quality/src/util.ts
1212
- function qt(e) {
1191
+ function Xt(e) {
1213
1192
  return e ? e.disabled === !0 || e.accessibility === !1 && e.structure === !1 && e.links === !1 : !1;
1214
1193
  }
1215
1194
  //#endregion
1216
1195
  //#region ../quality/src/lint-template.ts
1217
- function Jt(e, t = {}) {
1218
- return qt(t) ? [] : [
1196
+ function Zt(e, t = {}) {
1197
+ return Xt(t) ? [] : [
1219
1198
  ...ot(e, t),
1220
1199
  ...St(e, t),
1221
- ...Kt(e, t)
1200
+ ...Yt(e, t)
1222
1201
  ];
1223
1202
  }
1224
1203
  //#endregion
1225
- export { Jt as lintTemplate };
1204
+ export { Zt as lintTemplate };
1226
1205
 
1227
- //# sourceMappingURL=src-B5-VKcRQ.js.map
1206
+ //# sourceMappingURL=src-B0pZeTYO.js.map