@templatical/editor 0.59.0 → 0.59.2

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 (192) hide show
  1. package/dist/{AiAltTextPopover-CwyKz_9U.js → AiAltTextPopover-BhWHOOKX.js} +3 -3
  2. package/dist/{AiAltTextReview-DNFnR1PN.js → AiAltTextReview-CmW7pLmo.js} +3 -3
  3. package/dist/{AiChatPanel-DWWVvJIP.js → AiChatPanel-CV0mCtad.js} +2 -2
  4. package/dist/{AiPanels-CESbBB63.js → AiPanels-C8M7q_vM.js} +1 -1
  5. package/dist/{AiRewriteMenu-CjXiI-n4.js → AiRewriteMenu-DC2ZLH5L.js} +7 -7
  6. package/dist/{BlockIssueBadge-3k568_Od.js → BlockIssueBadge-B8sl9BM1.js} +2 -2
  7. package/dist/{BlockPreviewCanvas-3FzYSsPm.js → BlockPreviewCanvas-yhOQAQhJ.js} +22 -18
  8. package/dist/{CloudHeaderExtras-xrHubAHL.js → CloudHeaderExtras-DC_oNrxz.js} +1 -1
  9. package/dist/{CloudPanels-CSFN-eLV.js → CloudPanels-CD0lsL0R.js} +2 -2
  10. package/dist/{CollaborationNotices-D9GQ477K.js → CollaborationNotices-DrMrP73M.js} +1 -1
  11. package/dist/{CollaboratorBar-DsRjAaqd.js → CollaboratorBar-TsK872uC.js} +1 -1
  12. package/dist/{CommentsPanel-lb-IFzjl.js → CommentsPanel-BX8JVrXU.js} +1 -1
  13. package/dist/{CommentsSidebar-CVVTCWBH.js → CommentsSidebar-BUlseNwL.js} +2 -2
  14. package/dist/{CountdownBlock-CSEq79Nc.js → CountdownBlock-AYPypmcX.js} +2 -2
  15. package/dist/{CountdownToolbar-BV9yQi9k.js → CountdownToolbar-dx3FVRjh.js} +5 -5
  16. package/dist/{IssuesPanel-pxcWAQJM.js → IssuesPanel-BwnvXxBC.js} +5 -5
  17. package/dist/{LanguageMenu-CEKRbNhA.js → LanguageMenu-Cf5bKocE.js} +5 -5
  18. package/dist/{LocaleNotices-j4aMFfmc.js → LocaleNotices-CGEp0pQ8.js} +2 -2
  19. package/dist/{LogicTagInsertButton-BDIsyl3C.js → LogicTagInsertButton-BdDe-vrZ.js} +8 -8
  20. package/dist/{MergeTagInput-De1yWoc2.js → MergeTagInput-CTTi-eB0.js} +1 -1
  21. package/dist/{MergeTagModeToggle-CL96pI1E.js → MergeTagModeToggle-Bd0svGQm.js} +3 -3
  22. package/dist/{MergeTagTextarea-DDyV8U44.js → MergeTagTextarea-DiahMV-3.js} +4 -4
  23. package/dist/{ParagraphEditor-Vz90-hhN.js → ParagraphEditor-Db1cmj8Y.js} +11 -11
  24. package/dist/{RestoreVersionDialog-BgrtpVl1.js → RestoreVersionDialog-DA1Z0q9Z.js} +2 -2
  25. package/dist/{RichTextEditorContent-C2Yj1-ZA.js → RichTextEditorContent-CyO6e4ZG.js} +6 -6
  26. package/dist/{SaveBlockDialog-DRvLFKWJ.js → SaveBlockDialog-D7SaFxa_.js} +6 -6
  27. package/dist/{SavedBlocksBrowserModal-Dw0uF-NT.js → SavedBlocksBrowserModal-B5r3LWWG.js} +6 -6
  28. package/dist/{SavedBlocksPanels-BReNi8sg.js → SavedBlocksPanels-BH2f7jm-.js} +1 -1
  29. package/dist/{SavedBlocksPickBar-BQX4g7OE.js → SavedBlocksPickBar-B24TScw0.js} +2 -2
  30. package/dist/{TemplateSettings-CBCaybvd.js → TemplateSettings-CuN9Vkl_.js} +8 -8
  31. package/dist/{TestEmailModal-BiCUiRFo.js → TestEmailModal-C4DAaohi.js} +12 -9
  32. package/dist/{TestEmailPanel-Bfr-sGrI.js → TestEmailPanel-DoMcVJSE.js} +1 -1
  33. package/dist/{TitleEditor-B8thQPgg.js → TitleEditor-b5Pr_m9j.js} +8 -8
  34. package/dist/{Toolbar-FIYSw3Us.js → Toolbar-BOf7Y862.js} +14 -14
  35. package/dist/{TplModal-BIqO0owX.js → TplModal-DAcXzBJh.js} +4 -4
  36. package/dist/{VersionHistoryMenu-6jMve6By.js → VersionHistoryMenu-TbIGteNi.js} +2 -2
  37. package/dist/{VersionHistoryPanels-C91mfsMA.js → VersionHistoryPanels-Ia6ipOqG.js} +1 -1
  38. package/dist/{VersionPreviewBanner-Bq8z1SUc.js → VersionPreviewBanner-CRfu6quf.js} +1 -1
  39. package/dist/{WrapperBlock-BAqgP8hm.js → WrapperBlock-BZenrXM6.js} +4 -4
  40. package/dist/{blockTypeIcons-VX_8UQ21.js → blockTypeIcons-DdYZy8yG.js} +1 -1
  41. package/dist/bundle-stats.json +6 -6
  42. package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js → AiAltTextPopover-CcX_OMUU.js} +4 -4
  43. package/dist/cdn/chunks/{AiAltTextPopover-Dj-VLU88.js.map → AiAltTextPopover-CcX_OMUU.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js → AiAltTextReview-Dmm3h0jd.js} +4 -4
  45. package/dist/cdn/chunks/{AiAltTextReview-tVkJPOk6.js.map → AiAltTextReview-Dmm3h0jd.js.map} +1 -1
  46. package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js → AiChatPanel-DV23DJ-2.js} +3 -3
  47. package/dist/cdn/chunks/{AiChatPanel-CYPvHQGQ.js.map → AiChatPanel-DV23DJ-2.js.map} +1 -1
  48. package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js → AiPanels-CxhOpMAp.js} +2 -2
  49. package/dist/cdn/chunks/{AiPanels-ChTLCmMS.js.map → AiPanels-CxhOpMAp.js.map} +1 -1
  50. package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js → AiRewriteMenu-87-O514r.js} +8 -8
  51. package/dist/cdn/chunks/{AiRewriteMenu-99qbfCZI.js.map → AiRewriteMenu-87-O514r.js.map} +1 -1
  52. package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js → BlockIssueBadge-Dp06vQd3.js} +3 -3
  53. package/dist/cdn/chunks/{BlockIssueBadge-BKO4Mr8f.js.map → BlockIssueBadge-Dp06vQd3.js.map} +1 -1
  54. package/dist/cdn/chunks/{BlockPreviewCanvas-BF0yCTKP.js → BlockPreviewCanvas-DQGzUvZ5.js} +23 -19
  55. package/dist/cdn/chunks/BlockPreviewCanvas-DQGzUvZ5.js.map +1 -0
  56. package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js → CloudHeaderExtras-Cd-ePldd.js} +2 -2
  57. package/dist/cdn/chunks/{CloudHeaderExtras-O_K3jmgO.js.map → CloudHeaderExtras-Cd-ePldd.js.map} +1 -1
  58. package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js → CloudPanels-D8fchoYt.js} +3 -3
  59. package/dist/cdn/chunks/{CloudPanels-gV2WFHQk.js.map → CloudPanels-D8fchoYt.js.map} +1 -1
  60. package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js → CollaborationNotices-DNEs3g9B.js} +2 -2
  61. package/dist/cdn/chunks/{CollaborationNotices-CwAoa-73.js.map → CollaborationNotices-DNEs3g9B.js.map} +1 -1
  62. package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js → CollaboratorBar-CN6XAlbn.js} +2 -2
  63. package/dist/cdn/chunks/{CollaboratorBar-DdQQwtwd.js.map → CollaboratorBar-CN6XAlbn.js.map} +1 -1
  64. package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js → CommentsPanel-CxZ1kFcK.js} +2 -2
  65. package/dist/cdn/chunks/{CommentsPanel-C8AKtxiG.js.map → CommentsPanel-CxZ1kFcK.js.map} +1 -1
  66. package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js → CommentsSidebar-DCr2mV8b.js} +3 -3
  67. package/dist/cdn/chunks/{CommentsSidebar-FxY0RHSq.js.map → CommentsSidebar-DCr2mV8b.js.map} +1 -1
  68. package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js → CountdownBlock--hlKE2aj.js} +3 -3
  69. package/dist/cdn/chunks/{CountdownBlock-DGgnPUlu.js.map → CountdownBlock--hlKE2aj.js.map} +1 -1
  70. package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js → CountdownToolbar-CUTbVPPV.js} +6 -6
  71. package/dist/cdn/chunks/{CountdownToolbar-9PtYUgCW.js.map → CountdownToolbar-CUTbVPPV.js.map} +1 -1
  72. package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js → IssuesPanel-BhcSzwuL.js} +7 -7
  73. package/dist/cdn/chunks/{IssuesPanel-Co-ffgWa.js.map → IssuesPanel-BhcSzwuL.js.map} +1 -1
  74. package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js → LanguageMenu-6wGhkyFT.js} +99 -99
  75. package/dist/cdn/chunks/{LanguageMenu-fL4DRGGQ.js.map → LanguageMenu-6wGhkyFT.js.map} +1 -1
  76. package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js → LocaleNotices-Br92Xueo.js} +3 -3
  77. package/dist/cdn/chunks/{LocaleNotices-BVDJ7kyj.js.map → LocaleNotices-Br92Xueo.js.map} +1 -1
  78. package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js → LogicTagInsertButton-r2EVUtDU.js} +9 -9
  79. package/dist/cdn/chunks/{LogicTagInsertButton-DPYA8LJW.js.map → LogicTagInsertButton-r2EVUtDU.js.map} +1 -1
  80. package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js → MergeTagInput-Dh3N6CEV.js} +2 -2
  81. package/dist/cdn/chunks/{MergeTagInput-Cxfjq3tx.js.map → MergeTagInput-Dh3N6CEV.js.map} +1 -1
  82. package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js → MergeTagModeToggle-D6u3hMrI.js} +4 -4
  83. package/dist/cdn/chunks/{MergeTagModeToggle-BmNGV3yc.js.map → MergeTagModeToggle-D6u3hMrI.js.map} +1 -1
  84. package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js → MergeTagTextarea-BpVtpiNL.js} +8 -8
  85. package/dist/cdn/chunks/{MergeTagTextarea-DmwrPAss.js.map → MergeTagTextarea-BpVtpiNL.js.map} +1 -1
  86. package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js → ParagraphEditor-DGJmPAC1.js} +12 -12
  87. package/dist/cdn/chunks/{ParagraphEditor-A_OEuQ1Q.js.map → ParagraphEditor-DGJmPAC1.js.map} +1 -1
  88. package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js → RestoreVersionDialog-D5qeCa0F.js} +3 -3
  89. package/dist/cdn/chunks/{RestoreVersionDialog-Ca_lUsk4.js.map → RestoreVersionDialog-D5qeCa0F.js.map} +1 -1
  90. package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js → RichTextEditorContent-DyGiXKKI.js} +7 -7
  91. package/dist/cdn/chunks/{RichTextEditorContent-Dq4TROOg.js.map → RichTextEditorContent-DyGiXKKI.js.map} +1 -1
  92. package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js → SaveBlockDialog-B0TJYxd8.js} +7 -7
  93. package/dist/cdn/chunks/{SaveBlockDialog-BXRCqrZX.js.map → SaveBlockDialog-B0TJYxd8.js.map} +1 -1
  94. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js → SavedBlocksBrowserModal-D8Ly7LrA.js} +6 -6
  95. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DdaBcSOI.js.map → SavedBlocksBrowserModal-D8Ly7LrA.js.map} +1 -1
  96. package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js → SavedBlocksPanels-Co1cbWR8.js} +2 -2
  97. package/dist/cdn/chunks/{SavedBlocksPanels-BcVFZDKI.js.map → SavedBlocksPanels-Co1cbWR8.js.map} +1 -1
  98. package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js → SavedBlocksPickBar-DNtVbpm-.js} +3 -3
  99. package/dist/cdn/chunks/{SavedBlocksPickBar-o66PhlTo.js.map → SavedBlocksPickBar-DNtVbpm-.js.map} +1 -1
  100. package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js → TemplateSettings-BRc878ZF.js} +9 -9
  101. package/dist/cdn/chunks/{TemplateSettings-uoiUkd2l.js.map → TemplateSettings-BRc878ZF.js.map} +1 -1
  102. package/dist/cdn/chunks/{TestEmailModal-WOC7bmF_.js → TestEmailModal-CIui7VfS.js} +13 -10
  103. package/dist/cdn/chunks/TestEmailModal-CIui7VfS.js.map +1 -0
  104. package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js → TestEmailPanel-vKvruW_r.js} +2 -2
  105. package/dist/cdn/chunks/{TestEmailPanel-DUWH9xsZ.js.map → TestEmailPanel-vKvruW_r.js.map} +1 -1
  106. package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js → TitleEditor-BI-9Nnj3.js} +8 -8
  107. package/dist/cdn/chunks/{TitleEditor-EHW0lgG4.js.map → TitleEditor-BI-9Nnj3.js.map} +1 -1
  108. package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js → Toolbar-CYnnArxv.js} +418 -418
  109. package/dist/cdn/chunks/{Toolbar-BzAuH2G4.js.map → Toolbar-CYnnArxv.js.map} +1 -1
  110. package/dist/cdn/chunks/{TplModal-B9DVglkN.js → TplModal-B3nZeGWK.js} +5 -5
  111. package/dist/cdn/chunks/{TplModal-B9DVglkN.js.map → TplModal-B3nZeGWK.js.map} +1 -1
  112. package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js → VersionHistoryMenu-CMGfAKuV.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryMenu-DDqYMqC2.js.map → VersionHistoryMenu-CMGfAKuV.js.map} +1 -1
  114. package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js → VersionHistoryPanels-Bb2ouQg7.js} +2 -2
  115. package/dist/cdn/chunks/{VersionHistoryPanels-DO-kcL28.js.map → VersionHistoryPanels-Bb2ouQg7.js.map} +1 -1
  116. package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js → VersionPreviewBanner-573UP-g4.js} +2 -2
  117. package/dist/cdn/chunks/{VersionPreviewBanner-CYT5QUoc.js.map → VersionPreviewBanner-573UP-g4.js.map} +1 -1
  118. package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js → WrapperBlock-DVu632LD.js} +5 -5
  119. package/dist/cdn/chunks/{WrapperBlock-CyD_pW18.js.map → WrapperBlock-DVu632LD.js.map} +1 -1
  120. package/dist/cdn/chunks/{composables-CN9j_FH4.js → composables-DY3anqHO.js} +574 -571
  121. package/dist/cdn/chunks/composables-DY3anqHO.js.map +1 -0
  122. package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js → createCloudRuntime-B5numxlW.js} +4 -4
  123. package/dist/cdn/chunks/{createCloudRuntime-D8zeR9D2.js.map → createCloudRuntime-B5numxlW.js.map} +1 -1
  124. package/dist/cdn/chunks/{extensions-BYJPv1sA.js → extensions-BWVlr8Ga.js} +5 -5
  125. package/dist/cdn/chunks/{extensions-BYJPv1sA.js.map → extensions-BWVlr8Ga.js.map} +1 -1
  126. package/dist/cdn/chunks/keys-ywH4jHJ2.js +11 -0
  127. package/dist/cdn/chunks/keys-ywH4jHJ2.js.map +1 -0
  128. package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js → normalizeMergeTagMarkup-Dw3rFvyd.js} +40 -40
  129. package/dist/cdn/chunks/{normalizeMergeTagMarkup-nDyYIXvL.js.map → normalizeMergeTagMarkup-Dw3rFvyd.js.map} +1 -1
  130. package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js → preRenderCustomBlocks-BGtb8Xbp.js} +4 -4
  131. package/dist/cdn/chunks/{preRenderCustomBlocks-CxwYcAQe.js.map → preRenderCustomBlocks-BGtb8Xbp.js.map} +1 -1
  132. package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js → sanitizeHtml-CLRY8s2s.js} +2 -2
  133. package/dist/cdn/chunks/{sanitizeHtml-5T_KaDcp.js.map → sanitizeHtml-CLRY8s2s.js.map} +1 -1
  134. package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js → socialIcons-kYhdXJ9P.js} +255 -255
  135. package/dist/cdn/chunks/{socialIcons-bvQ57o1m.js.map → socialIcons-kYhdXJ9P.js.map} +1 -1
  136. package/dist/cdn/chunks/{src-BXrhjqCv.js → src-B7X7x_ST.js} +154 -154
  137. package/dist/cdn/chunks/{src-BXrhjqCv.js.map → src-B7X7x_ST.js.map} +1 -1
  138. package/dist/cdn/chunks/{src-BRyzUujm.js → src-BmzzkUf7.js} +539 -539
  139. package/dist/cdn/chunks/{src-BRyzUujm.js.map → src-BmzzkUf7.js.map} +1 -1
  140. package/dist/cdn/chunks/{src-CVHGPKSW.js → src-DY2kMjoD.js} +593 -589
  141. package/dist/cdn/chunks/src-DY2kMjoD.js.map +1 -0
  142. package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js → useCloudI18n-BTV9uu3c.js} +2 -2
  143. package/dist/cdn/chunks/{useCloudI18n-CWgySYuJ.js.map → useCloudI18n-BTV9uu3c.js.map} +1 -1
  144. package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js → useEditorRoot-D0Lp2x4_.js} +2 -2
  145. package/dist/cdn/chunks/{useEditorRoot-BA4vV7sK.js.map → useEditorRoot-D0Lp2x4_.js.map} +1 -1
  146. package/dist/cdn/chunks/{useI18n-JsIdvX-i.js → useI18n-DPg6rPbu.js} +2 -2
  147. package/dist/cdn/chunks/{useI18n-JsIdvX-i.js.map → useI18n-DPg6rPbu.js.map} +1 -1
  148. package/dist/cdn/chunks/useLocalizedDisplay-B5wMJLru.js +33 -0
  149. package/dist/cdn/chunks/{useLocalizedDisplay-7iwZ1UhB.js.map → useLocalizedDisplay-B5wMJLru.js.map} +1 -1
  150. package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js → useLogicTag-0wkSxy3z.js} +3 -3
  151. package/dist/cdn/chunks/{useLogicTag-C10Wef7d.js.map → useLogicTag-0wkSxy3z.js.map} +1 -1
  152. package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js → useMergeTag-y3bX8M_6.js} +3 -3
  153. package/dist/cdn/chunks/{useMergeTag-Dd26TcvH.js.map → useMergeTag-y3bX8M_6.js.map} +1 -1
  154. package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js → usePopoverPosition-CBp9uwjV.js} +2 -2
  155. package/dist/cdn/chunks/{usePopoverPosition-DWRQRT2P.js.map → usePopoverPosition-CBp9uwjV.js.map} +1 -1
  156. package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js → useScrollToBlock-32EnuMwu.js} +2 -2
  157. package/dist/cdn/chunks/{useScrollToBlock-CArjwH-u.js.map → useScrollToBlock-32EnuMwu.js.map} +1 -1
  158. package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js → withCurrentFont-B42BKo9N.js} +2 -2
  159. package/dist/cdn/chunks/{withCurrentFont-BaeBoPQZ.js.map → withCurrentFont-B42BKo9N.js.map} +1 -1
  160. package/dist/cdn/editor.css +1 -1
  161. package/dist/cdn/editor.js +600 -600
  162. package/dist/cdn/editor.js.map +1 -1
  163. package/dist/{composables-DbqKYIRE.js → composables-CFTH0Nqb.js} +867 -864
  164. package/dist/{createCloudRuntime-DiUnYjKr.js → createCloudRuntime-BvWlm_38.js} +3 -3
  165. package/dist/{dist-BTjObRcv.js → dist-CMo4K5So.js} +277 -273
  166. package/dist/{extensions-CAuXwpbI.js → extensions-BPVackEE.js} +4 -4
  167. package/dist/index.d.ts +29 -7
  168. package/dist/keys-B4DimcgX.js +9 -0
  169. package/dist/{normalizeMergeTagMarkup-fgoVMKAc.js → normalizeMergeTagMarkup-PQqrbfmt.js} +1 -1
  170. package/dist/{preRenderCustomBlocks-CgPtlLGL.js → preRenderCustomBlocks-Dg5GBNi2.js} +1 -1
  171. package/dist/{sanitizeHtml-D2wueiEe.js → sanitizeHtml-DVdfdxOz.js} +1 -1
  172. package/dist/{socialIcons-RKdTgJip.js → socialIcons-DBHv_ntg.js} +4 -4
  173. package/dist/style.css +1 -1
  174. package/dist/templatical-editor.js +563 -563
  175. package/dist/{useCloudI18n-nMZ9f_4b.js → useCloudI18n-BnuOL1YS.js} +1 -1
  176. package/dist/{useEditorRoot-DpssP9rX.js → useEditorRoot-DWfC2CVC.js} +1 -1
  177. package/dist/{useI18n-C2p-qHeb.js → useI18n-Cx9W7OWb.js} +1 -1
  178. package/dist/{useLocalizedDisplay-9RqT2y_Y.js → useLocalizedDisplay-CbFM0cCV.js} +1 -1
  179. package/dist/{useLogicTag-59fmujI7.js → useLogicTag-CVOj0VUv.js} +2 -2
  180. package/dist/{useMergeTag-M1vauWet.js → useMergeTag-Bams_kam.js} +2 -2
  181. package/dist/{usePopoverPosition-L9MOHBM-.js → usePopoverPosition-DF0ZYH7g.js} +1 -1
  182. package/dist/{useScrollToBlock-BMF0Dt5l.js → useScrollToBlock-CwUQ_nKz.js} +1 -1
  183. package/dist/{withCurrentFont-BXZ7g-K6.js → withCurrentFont-y0O5kOLW.js} +1 -1
  184. package/package.json +7 -7
  185. package/dist/cdn/chunks/BlockPreviewCanvas-BF0yCTKP.js.map +0 -1
  186. package/dist/cdn/chunks/TestEmailModal-WOC7bmF_.js.map +0 -1
  187. package/dist/cdn/chunks/composables-CN9j_FH4.js.map +0 -1
  188. package/dist/cdn/chunks/keys-DNv3xXxI.js +0 -11
  189. package/dist/cdn/chunks/keys-DNv3xXxI.js.map +0 -1
  190. package/dist/cdn/chunks/src-CVHGPKSW.js.map +0 -1
  191. package/dist/cdn/chunks/useLocalizedDisplay-7iwZ1UhB.js +0 -33
  192. package/dist/keys-BeQy64On.js +0 -9
@@ -1,9 +1,9 @@
1
- import { $t as e, At as t, Cn as n, Ct as r, Dt as i, Et as a, Ht as o, L as s, Ot as c, Sn as l, St as u, Tn as d, a as f, bn as p, bt as m, dn as h, dt as g, gn as _, gt as v, h as y, i as ee, jt as b, kt as x, lt as S, m as te, o as ne, on as re, ot as C, p as ie, vt as w, wn as ae, wt as T, xn as E, xt as oe, yn as se, yt as ce } from "./src-CVHGPKSW.js";
1
+ import { At as e, Cn as t, Ct as n, Dt as r, En as i, L as a, Mt as o, Ot as s, Sn as c, St as l, Tn as u, Tt as d, Ut as f, _n as p, _t as m, a as h, bn as g, bt as _, en as v, fn as y, ft as b, h as ee, i as te, jt as x, kt as S, m as ne, o as re, p as ie, sn as ae, st as C, ut as oe, wn as se, wt as ce, xn as w, xt as le, yt as T } from "./src-DY2kMjoD.js";
2
2
  // ../renderer/src/render-context.ts
3
- var D = `https://cdn.jsdelivr.net/npm/@templatical/renderer@${{
3
+ var E = `https://cdn.jsdelivr.net/npm/@templatical/renderer@${{
4
4
  name: "@templatical/renderer",
5
5
  description: "Render Templatical email templates to MJML",
6
- version: "0.59.0",
6
+ version: "0.59.2",
7
7
  bugs: "https://github.com/templatical/sdk/issues",
8
8
  dependencies: { "@templatical/types": "workspace:*" },
9
9
  devDependencies: {
@@ -44,7 +44,7 @@ var D = `https://cdn.jsdelivr.net/npm/@templatical/renderer@${{
44
44
  },
45
45
  type: "module",
46
46
  types: "./dist/index.d.ts"
47
- }.version}/assets/social`, le = class e {
47
+ }.version}/assets/social`, ue = class e {
48
48
  containerWidth;
49
49
  customFonts;
50
50
  defaultFallbackFont;
@@ -54,95 +54,95 @@ var D = `https://cdn.jsdelivr.net/npm/@templatical/renderer@${{
54
54
  blockRenderers;
55
55
  contentDirection;
56
56
  contentWidth;
57
- constructor(e, t, n, r, i = /* @__PURE__ */ new Map(), a = D, o = {}, s = "ltr", c) {
57
+ constructor(e, t, n, r, i = /* @__PURE__ */ new Map(), a = E, o = {}, s = "ltr", c) {
58
58
  this.containerWidth = e, this.customFonts = t, this.defaultFallbackFont = n, this.allowHtmlBlocks = r, this.customBlockHtml = i, this.socialIconsBaseUrl = a, this.blockRenderers = o, this.contentDirection = s, this.contentWidth = c ?? e;
59
59
  }
60
60
  withContainerWidth(t, n = t) {
61
61
  return new e(t, this.customFonts, this.defaultFallbackFont, this.allowHtmlBlocks, this.customBlockHtml, this.socialIconsBaseUrl, this.blockRenderers, this.contentDirection, n);
62
62
  }
63
63
  resolveFontFamily(e) {
64
- return ee(e, {
64
+ return te(e, {
65
65
  customFonts: this.customFonts,
66
66
  defaultFallback: this.defaultFallbackFont
67
67
  });
68
68
  }
69
- }, O = {
69
+ }, D = {
70
70
  "&": "&",
71
71
  "<": "&lt;",
72
72
  ">": "&gt;",
73
73
  "\"": "&quot;",
74
74
  "'": "&#039;"
75
- }, k = /[&<>"']/g;
75
+ }, O = /[&<>"']/g;
76
+ function k(e) {
77
+ return e === "" ? "" : e.replace(O, (e) => D[e] ?? e);
78
+ }
76
79
  function A(e) {
77
- return e === "" ? "" : e.replace(k, (e) => O[e] ?? e);
80
+ return e === "" ? "" : e.replace(O, (e) => D[e] ?? e);
78
81
  }
79
82
  function j(e) {
80
- return e === "" ? "" : e.replace(k, (e) => O[e] ?? e);
83
+ return e === "" ? "" : A(e.replace(/[;{}\r\n]/g, ""));
81
84
  }
85
+ var de = /[&<>"]/g;
82
86
  function M(e) {
83
- return e === "" ? "" : j(e.replace(/[;{}\r\n]/g, ""));
84
- }
85
- var ue = /[&<>"]/g;
86
- function N(e) {
87
- return e.replace(ue, (e) => O[e] ?? e);
87
+ return e.replace(de, (e) => D[e] ?? e);
88
88
  }
89
89
  // ../renderer/src/visibility.ts
90
- function P(e) {
90
+ function N(e) {
91
91
  let t = e.visibility;
92
92
  return t ? !t.desktop && !t.mobile : !1;
93
93
  }
94
- function F(e, t = []) {
95
- let n = [de(e), ...t].filter((e) => e !== "").join(" ");
96
- return n === "" ? "" : ` css-class="${j(n)}"`;
94
+ function P(e, t = []) {
95
+ let n = [F(e), ...t].filter((e) => e !== "").join(" ");
96
+ return n === "" ? "" : ` css-class="${A(n)}"`;
97
97
  }
98
- function de(e) {
98
+ function F(e) {
99
99
  let t = e.visibility;
100
100
  if (!t) return "";
101
101
  let n = [];
102
102
  return t.desktop || n.push("tpl-hide-desktop"), t.mobile || n.push("tpl-hide-mobile"), n.join(" ");
103
103
  }
104
104
  // ../renderer/src/unrenderable.ts
105
- var fe = "templatical:unrenderable-block";
106
- function I(e) {
105
+ var I = "templatical:unrenderable-block";
106
+ function L(e) {
107
107
  return e.replace(/[<>]/g, "").replace(/-{2,}/g, "-");
108
108
  }
109
- function L(e) {
109
+ function R(e) {
110
110
  return JSON.stringify(String(e)).slice(1, -1);
111
111
  }
112
- function R(e) {
113
- return console.warn(`[Templatical] No renderer for block type "${L(e.type)}" (id: ${L(e.id)}). A placeholder comment was emitted in its place. Pass a \`blockRenderers\` entry for this type to render it.`), `<mj-raw><!-- ${fe} type="${I(e.type)}" id="${I(e.id)}" --></mj-raw>`;
112
+ function fe(e) {
113
+ return console.warn(`[Templatical] No renderer for block type "${R(e.type)}" (id: ${R(e.id)}). A placeholder comment was emitted in its place. Pass a \`blockRenderers\` entry for this type to render it.`), `<mj-raw><!-- ${I} type="${L(e.type)}" id="${L(e.id)}" --></mj-raw>`;
114
114
  }
115
115
  // ../renderer/src/padding.ts
116
116
  function z(e) {
117
- return j(`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`);
117
+ return A(`${e.top}px ${e.right}px ${e.bottom}px ${e.left}px`);
118
118
  }
119
119
  // ../renderer/src/utils.ts
120
120
  function B(e, t) {
121
- return e ? ` ${t === "native" ? "background-color" : "container-background-color"}="${M(e)}"` : "";
121
+ return e ? ` ${t === "native" ? "background-color" : "container-background-color"}="${j(e)}"` : "";
122
122
  }
123
- function V(e) {
123
+ function pe(e) {
124
124
  return typeof e != "number" || !Number.isFinite(e) || e <= 0 ? "" : ` height="${e}px"`;
125
125
  }
126
- function H(e, t) {
127
- let r = (e) => Math.trunc(e ?? 0), i = (e) => n(e) === null ? 0 : Math.trunc(e.width);
128
- return r(e?.left) + r(e?.right) + i(t?.left) + i(t?.right);
126
+ function V(e, t) {
127
+ let n = (e) => Math.trunc(e ?? 0), r = (e) => se(e) === null ? 0 : Math.trunc(e.width);
128
+ return n(e?.left) + n(e?.right) + r(t?.left) + r(t?.right);
129
129
  }
130
- function U(e, t) {
130
+ function H(e, t) {
131
131
  if (e.fluidOnMobile === !0) return " fluid-on-mobile=\"true\"";
132
132
  if (e.fluidOnMobile === !1) return "";
133
- let n = Math.floor(t.contentWidth) - H(e.styles.padding, e.border);
133
+ let n = Math.floor(t.contentWidth) - V(e.styles.padding, e.border);
134
134
  return e.width === "full" || e.width >= n ? " fluid-on-mobile=\"true\"" : "";
135
135
  }
136
+ function U(e) {
137
+ return Object.entries(u(e)).map(([e, t]) => ` ${e}="${j(t)}"`).join("");
138
+ }
136
139
  function W(e) {
137
- return Object.entries(ae(e)).map(([e, t]) => ` ${e}="${M(t)}"`).join("");
140
+ let t = i(e);
141
+ return t === null ? "" : ` border-radius="${j(t)}"`;
138
142
  }
139
143
  function G(e) {
140
- let t = d(e);
141
- return t === null ? "" : ` border-radius="${M(t)}"`;
142
- }
143
- function pe(e) {
144
- let t = _(e);
145
- return t === null ? "" : ` background-url="${j(t.url)}" background-size="${M(t.size)}" background-position="${M(t.position)}" background-repeat="${M(t.repeat)}"`;
144
+ let t = p(e);
145
+ return t === null ? "" : ` background-url="${A(t.url)}" background-size="${j(t.size)}" background-position="${j(t.position)}" background-repeat="${j(t.repeat)}"`;
146
146
  }
147
147
  // ../renderer/src/rich-text.ts
148
148
  var K = "tpl-rich-text";
@@ -150,7 +150,7 @@ function q(e) {
150
150
  return `${K}-${e}`;
151
151
  }
152
152
  function me(e, t = "ltr") {
153
- let n = E, r = `.${K}`, i = [...new Set(e)].sort((e, t) => e - t).flatMap((e) => {
153
+ let n = c, r = `.${K}`, i = [...new Set(e)].sort((e, t) => e - t).flatMap((e) => {
154
154
  let t = `.${q(e)}`;
155
155
  return [`${t} p { margin: 0 0 ${e}px; }`, `${t} p:last-child { margin-bottom: 0; }`];
156
156
  }), a = t === "rtl" ? "padding-right" : "padding-left";
@@ -161,12 +161,12 @@ function me(e, t = "ltr") {
161
161
  ].join("\n ");
162
162
  }
163
163
  function J(e) {
164
- return e ?? E.paragraphGap;
164
+ return e ?? c.paragraphGap;
165
165
  }
166
166
  function he(e) {
167
- let t = [E.paragraphGap], n = (e) => {
168
- if (e.type === "paragraph" && t.push(J(e.paragraphSpacing)), T(e)) for (let t of e.children) for (let e of t) n(e);
169
- else if (b(e)) for (let t of e.children) n(t);
167
+ let t = [c.paragraphGap], n = (e) => {
168
+ if (e.type === "paragraph" && t.push(J(e.paragraphSpacing)), d(e)) for (let t of e.children) for (let e of t) n(e);
169
+ else if (o(e)) for (let t of e.children) n(t);
170
170
  };
171
171
  for (let t of e) n(t);
172
172
  return t;
@@ -222,7 +222,7 @@ function xe(e) {
222
222
  r = e.indexOf("<", r + 1);
223
223
  continue;
224
224
  }
225
- let i = S(e, r + 1);
225
+ let i = oe(e, r + 1);
226
226
  if (i === -1) break;
227
227
  let a = e.slice(r, i), o = be(a);
228
228
  o !== a && (t += e.slice(n, r) + o, n = i), r = e.indexOf("<", i);
@@ -230,20 +230,20 @@ function xe(e) {
230
230
  return t + e.slice(n);
231
231
  }
232
232
  // ../renderer/src/renderers/title.ts
233
- function Se(e, t) {
234
- if (P(e)) return "";
235
- let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = Ce(xe(f(C(e.content)))), a = p[e.level] ?? p[2], o = e.color ? `\n color="${j(e.color)}"` : "", s = j(e.textAlign), c = we(e.fontFamily, t), u = F(e, [K, q(J(void 0))]), d = `h${p[e.level] ? e.level : 2}`;
233
+ function Se(e, n) {
234
+ if (N(e)) return "";
235
+ let r = z(e.styles.padding), i = B(e.styles.backgroundColor, "container"), a = Ce(xe(h(C(e.content)))), o = w[e.level] ?? w[2], s = e.color ? `\n color="${A(e.color)}"` : "", c = A(e.textAlign), l = we(e.fontFamily, n), u = P(e, [K, q(J(void 0))]), d = `h${w[e.level] ? e.level : 2}`;
236
236
  return `<mj-text
237
- font-size="${a}px"${o}
238
- align="${s}"
239
- line-height="${l}"
240
- padding="${n}"${r}${c}${u}
241
- ><${d} style="margin:0;font-size:inherit;color:inherit;line-height:inherit;font-weight:700">${i}</${d}></mj-text>`;
237
+ font-size="${o}px"${s}
238
+ align="${c}"
239
+ line-height="${t}"
240
+ padding="${r}"${i}${l}${u}
241
+ ><${d} style="margin:0;font-size:inherit;color:inherit;line-height:inherit;font-weight:700">${a}</${d}></mj-text>`;
242
242
  }
243
243
  function Ce(e) {
244
244
  let t = /^\s*<p\b/.exec(e);
245
245
  if (!t) return e;
246
- let n = S(e, t[0].length);
246
+ let n = oe(e, t[0].length);
247
247
  if (n === -1) return e;
248
248
  let r = /<\/p>\s*$/.exec(e);
249
249
  if (!r || r.index <= n) return e;
@@ -251,12 +251,12 @@ function Ce(e) {
251
251
  return /<\/p>\s*<p\b/i.test(i) ? e : i;
252
252
  }
253
253
  function we(e, t) {
254
- return e ? ` font-family="${N(t.resolveFontFamily(e))}"` : "";
254
+ return e ? ` font-family="${M(t.resolveFontFamily(e))}"` : "";
255
255
  }
256
256
  // ../renderer/src/renderers/paragraph.ts
257
257
  function Te(e, t) {
258
- if (P(e) || ne(e.content)) return "";
259
- let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = xe(f(C(e.content))), a = F(e, [K, q(J(e.paragraphSpacing))]);
258
+ if (N(e) || re(e.content)) return "";
259
+ let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = xe(h(C(e.content))), a = P(e, [K, q(J(e.paragraphSpacing))]);
260
260
  return `<mj-text
261
261
  line-height="1.5"${t.contentDirection === "rtl" ? "\n align=\"right\"" : ""}
262
262
  padding="${n}"${r}${a}
@@ -264,84 +264,84 @@ function Te(e, t) {
264
264
  }
265
265
  // ../renderer/src/renderers/image.ts
266
266
  function Ee(e, t) {
267
- if (P(e) || e.src === "") return "";
268
- let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = j(e.width === "full" ? t.containerWidth + "px" : e.width + "px"), a = V(e.height), o = U(e, t), s = F(e), c = G(e.borderRadius), l = W(e.border), u = "";
269
- e.linkUrl && (u = ` href="${j(e.linkUrl)}"`, e.linkOpenInNewTab && (u += " target=\"_blank\" rel=\"noopener\""));
270
- let d = j(e.src), f = e.decorative === !0;
267
+ if (N(e) || e.src === "") return "";
268
+ let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = A(e.width === "full" ? t.containerWidth + "px" : e.width + "px"), a = pe(e.height), o = H(e, t), s = P(e), c = W(e.borderRadius), l = U(e.border), u = "";
269
+ e.linkUrl && (u = ` href="${A(e.linkUrl)}"`, e.linkOpenInNewTab && (u += " target=\"_blank\" rel=\"noopener\""));
270
+ let d = A(e.src), f = e.decorative === !0;
271
271
  return `<mj-image
272
272
  src="${d}"
273
- alt="${f ? "" : j(e.alt)}"
273
+ alt="${f ? "" : A(e.alt)}"
274
274
  width="${i}"${a}${o}
275
- align="${j(e.align)}"
275
+ align="${A(e.align)}"
276
276
  padding="${n}"${r}${l}${c}${u}${s}${f ? " role=\"presentation\"" : ""}
277
277
  />`;
278
278
  }
279
279
  // ../renderer/src/renderers/button.ts
280
280
  var X = "tpl-button-full";
281
281
  function De(e, t) {
282
- if (P(e)) return "";
283
- let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = z(e.buttonPadding), a = e.url === "" ? "" : j(e.url), o = a === "" ? "" : ` href="${a}"`, s = Oe(e.backgroundColor), c = j(e.textColor), l = e.fontSize, u = ke(e.fontWeight), d = j(je(e.borderRadius)), f = A(e.text), p = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", m = Ae(e.fontFamily, t), h = Me(e.width), g = F(e, e.width === "full" ? [X] : []), _ = W(e.border), v = j(e.align ?? "center");
282
+ if (N(e)) return "";
283
+ let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = z(e.buttonPadding), a = e.url === "" ? "" : A(e.url), o = a === "" ? "" : ` href="${a}"`, s = Oe(e.backgroundColor), c = A(e.textColor), l = e.fontSize, u = ke(e.fontWeight), d = A(je(e.borderRadius)), f = k(e.text), p = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", m = Ae(e.fontFamily, t), h = Me(e.width), _ = P(e, e.width === "full" ? [X] : []), v = U(e.border), y = A(e.align ?? "center");
284
284
  return `<mj-button${o}${p}
285
285
  background-color="${s}"
286
286
  color="${c}"
287
- font-size="${j(String(l))}px"
288
- line-height="${Math.round(se * 100)}%"
287
+ font-size="${A(String(l))}px"
288
+ line-height="${Math.round(g * 100)}%"
289
289
  font-weight="${u}"
290
- border-radius="${d}"${_}
290
+ border-radius="${d}"${v}
291
291
  inner-padding="${i}"
292
- align="${v}"
293
- padding="${n}"${r}${m}${h}${g}
292
+ align="${y}"
293
+ padding="${n}"${r}${m}${h}${_}
294
294
  >${f}</mj-button>`;
295
295
  }
296
296
  function Oe(e) {
297
- return e.trim() === "" ? "transparent" : j(e);
297
+ return e.trim() === "" ? "transparent" : A(e);
298
298
  }
299
299
  function ke(e) {
300
300
  return e === "regular" ? "400" : e === "medium" ? "500" : e === "bold" ? "700" : "bold";
301
301
  }
302
302
  function Ae(e, t) {
303
- return e ? ` font-family="${N(t.resolveFontFamily(e))}"` : "";
303
+ return e ? ` font-family="${M(t.resolveFontFamily(e))}"` : "";
304
304
  }
305
305
  function je(e) {
306
- return typeof e == "number" ? `${e}px` : d(e) ?? "0px";
306
+ return typeof e == "number" ? `${e}px` : i(e) ?? "0px";
307
307
  }
308
308
  function Me(e) {
309
- return e === void 0 ? "" : ` width="${j(e === "full" ? "100%" : `${e}px`)}"`;
309
+ return e === void 0 ? "" : ` width="${A(e === "full" ? "100%" : `${e}px`)}"`;
310
310
  }
311
311
  // ../renderer/src/renderers/divider.ts
312
312
  function Ne(e, t) {
313
- if (P(e)) return "";
314
- let n = z(e.styles.padding), r = e.styles.backgroundColor ? ` container-background-color="${j(e.styles.backgroundColor)}"` : "", i = e.width === "full" ? "100%" : typeof e.width == "number" ? `${e.width}px` : e.width, a = e.thickness, o = j(e.lineStyle), s = j(e.color), c = F(e);
313
+ if (N(e)) return "";
314
+ let n = z(e.styles.padding), r = e.styles.backgroundColor ? ` container-background-color="${A(e.styles.backgroundColor)}"` : "", i = e.width === "full" ? "100%" : typeof e.width == "number" ? `${e.width}px` : e.width, a = e.thickness, o = A(e.lineStyle), s = A(e.color), c = P(e);
315
315
  return `<mj-divider
316
- border-width="${j(String(a))}px"
316
+ border-width="${A(String(a))}px"
317
317
  border-style="${o}"
318
318
  border-color="${s}"
319
- width="${j(i)}"
319
+ width="${A(i)}"
320
320
  padding="${n}"${r}${c}
321
321
  />`;
322
322
  }
323
323
  // ../renderer/src/renderers/spacer.ts
324
324
  function Pe(e, t) {
325
- if (P(e)) return "";
326
- let n = e.height, r = e.styles.backgroundColor ? ` container-background-color="${j(e.styles.backgroundColor)}"` : "", i = F(e);
327
- return `<mj-spacer height="${j(String(n))}px" padding="0"${r}${i} />`;
325
+ if (N(e)) return "";
326
+ let n = e.height, r = e.styles.backgroundColor ? ` container-background-color="${A(e.styles.backgroundColor)}"` : "", i = P(e);
327
+ return `<mj-spacer height="${A(String(n))}px" padding="0"${r}${i} />`;
328
328
  }
329
329
  // ../renderer/src/renderers/html.ts
330
330
  function Fe(e, t) {
331
- if (P(e) || !t.allowHtmlBlocks) return "";
331
+ if (N(e) || !t.allowHtmlBlocks) return "";
332
332
  let n = e.content;
333
333
  if (n === "") return "";
334
- let r = F(e);
334
+ let r = P(e);
335
335
  return `<mj-text padding="${z(e.styles.padding)}"${B(e.styles.backgroundColor, "container")}${r}>
336
336
  ${n}
337
337
  </mj-text>`;
338
338
  }
339
339
  // ../renderer/src/renderers/social.ts
340
340
  function Ie(e, t) {
341
- if (P(e)) return "";
341
+ if (N(e)) return "";
342
342
  let n = e.icons;
343
343
  if (n.length === 0) return "";
344
- let r = z(e.styles.padding), i = e.styles.backgroundColor ? ` container-background-color="${j(e.styles.backgroundColor)}"` : "", a = F(e), o = j(e.align), s = e.iconSize, c = e.iconStyle, l = j(re(c, e.iconTone)), u = e.spacing, d;
344
+ let r = z(e.styles.padding), i = e.styles.backgroundColor ? ` container-background-color="${A(e.styles.backgroundColor)}"` : "", a = P(e), o = A(e.align), s = e.iconSize, c = e.iconStyle, l = A(ae(c, e.iconTone)), u = e.spacing, d;
345
345
  switch (s) {
346
346
  case "small":
347
347
  d = 24;
@@ -372,47 +372,47 @@ function Ie(e, t) {
372
372
  padding="${r}"${i}${a}
373
373
  >
374
374
  ${n.map((e, n) => {
375
- let r = j(e.platform), i = j(e.url), a = `${t.socialIconsBaseUrl}/${l}/${r}.png`, o = n === p - 1 ? 0 : u;
376
- return `<mj-social-element src="${a}" href="${i}" icon-size="${d}px" padding="0 ${j(String(o))}px 0 0" border-radius="${f}" background-color="transparent"></mj-social-element>`;
375
+ let r = A(e.platform), i = A(e.url), a = `${t.socialIconsBaseUrl}/${l}/${r}.png`, o = n === p - 1 ? 0 : u;
376
+ return `<mj-social-element src="${a}" href="${i}" icon-size="${d}px" padding="0 ${A(String(o))}px 0 0" border-radius="${f}" background-color="transparent"></mj-social-element>`;
377
377
  }).join("\n")}
378
378
  </mj-social>`;
379
379
  }
380
380
  // ../renderer/src/renderers/menu.ts
381
381
  function Le(e, t) {
382
- if (P(e) || e.items.length === 0) return "";
383
- let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = F(e), a = Be(e.fontFamily, t), o = j(e.textAlign), s = e.fontSize, c = e.color ? `\n color="${j(e.color)}"` : "", l = Re(e);
382
+ if (N(e) || e.items.length === 0) return "";
383
+ let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = P(e), a = Be(e.fontFamily, t), o = A(e.textAlign), s = e.fontSize, c = e.color ? `\n color="${A(e.color)}"` : "", l = Re(e);
384
384
  return `<mj-text
385
- font-size="${j(String(s))}px"${c}
385
+ font-size="${A(String(s))}px"${c}
386
386
  align="${o}"
387
387
  line-height="1.5"
388
388
  padding="${n}"${r}${a}${i}
389
389
  >${l}</mj-text>`;
390
390
  }
391
391
  function Re(e) {
392
- let t = e.items, n = A(e.separator), r = M(e.separatorColor), i = e.spacing, a = e.linkColor ?? e.color, o = [], s = t.length;
393
- for (let e = 0; e < s; e++) o.push(ze(t[e], a)), e < s - 1 && o.push(`<span style="color: ${r}; padding: 0 ${M(String(i))}px;">${n}</span>`);
392
+ let t = e.items, n = k(e.separator), r = j(e.separatorColor), i = e.spacing, a = e.linkColor ?? e.color, o = [], s = t.length;
393
+ for (let e = 0; e < s; e++) o.push(ze(t[e], a)), e < s - 1 && o.push(`<span style="color: ${r}; padding: 0 ${j(String(i))}px;">${n}</span>`);
394
394
  return o.join("");
395
395
  }
396
396
  function ze(e, t) {
397
- let n = A(e.text), r = j(e.url), i = e.color ?? t, a = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", o = ["text-decoration: none"];
398
- return i && o.unshift(`color: ${M(i)}`), e.bold && o.push("font-weight: bold"), e.underline && o.push("text-decoration: underline"), `<a href="${r}" style="${o.join("; ")}"${a}>${n}</a>`;
397
+ let n = k(e.text), r = A(e.url), i = e.color ?? t, a = e.openInNewTab ? " target=\"_blank\" rel=\"noopener\"" : "", o = ["text-decoration: none"];
398
+ return i && o.unshift(`color: ${j(i)}`), e.bold && o.push("font-weight: bold"), e.underline && o.push("text-decoration: underline"), `<a href="${r}" style="${o.join("; ")}"${a}>${n}</a>`;
399
399
  }
400
400
  function Be(e, t) {
401
- return e ? ` font-family="${N(t.resolveFontFamily(e))}"` : "";
401
+ return e ? ` font-family="${M(t.resolveFontFamily(e))}"` : "";
402
402
  }
403
403
  // ../renderer/src/renderers/table.ts
404
404
  function Ve(e, t) {
405
- if (P(e) || e.rows.length === 0) return "";
406
- let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = F(e), a = Ge(e.fontFamily, t), o = e.fontSize, s = e.color ? `\n color="${j(e.color)}"` : "", c = j(e.textAlign), l = He(e);
405
+ if (N(e) || e.rows.length === 0) return "";
406
+ let n = z(e.styles.padding), r = B(e.styles.backgroundColor, "container"), i = P(e), a = Ge(e.fontFamily, t), o = e.fontSize, s = e.color ? `\n color="${A(e.color)}"` : "", c = A(e.textAlign), l = He(e);
407
407
  return `<mj-text
408
- font-size="${j(String(o))}px"${s}
408
+ font-size="${A(String(o))}px"${s}
409
409
  align="${c}"
410
410
  line-height="1.5"
411
411
  padding="${n}"${r}${a}${i}
412
412
  >${l}</mj-text>`;
413
413
  }
414
414
  function He(e) {
415
- let t = M(e.borderColor), n = e.borderWidth, r = "";
415
+ let t = j(e.borderColor), n = e.borderWidth, r = "";
416
416
  for (let i = 0; i < e.rows.length; i++) {
417
417
  let a = e.rows[i];
418
418
  r += Ue(a, e, e.hasHeaderRow && i === 0, t, n);
@@ -425,20 +425,20 @@ function Ue(e, t, n, r, i) {
425
425
  return `<tr>${a}</tr>`;
426
426
  }
427
427
  function We(e, t, n, r, i) {
428
- let a = t.cellPadding, o = [`border: ${M(String(i))}px solid ${r}`, `padding: ${M(String(a))}px`];
429
- n && (o.push("font-weight: bold"), t.headerBackgroundColor && o.push(`background-color: ${M(t.headerBackgroundColor)}`));
430
- let s = o.join("; "), c = A(C(e.content)), l = n ? "th" : "td";
428
+ let a = t.cellPadding, o = [`border: ${j(String(i))}px solid ${r}`, `padding: ${j(String(a))}px`];
429
+ n && (o.push("font-weight: bold"), t.headerBackgroundColor && o.push(`background-color: ${j(t.headerBackgroundColor)}`));
430
+ let s = o.join("; "), c = k(C(e.content)), l = n ? "th" : "td";
431
431
  return `<${l} style="${s}">${c}</${l}>`;
432
432
  }
433
433
  function Ge(e, t) {
434
- return e ? ` font-family="${N(t.resolveFontFamily(e))}"` : "";
434
+ return e ? ` font-family="${M(t.resolveFontFamily(e))}"` : "";
435
435
  }
436
436
  // ../renderer/src/renderers/custom.ts
437
437
  function Ke(e, t) {
438
- if (P(e)) return "";
438
+ if (N(e)) return "";
439
439
  let n = t.customBlockHtml.get(e.id) ?? e.renderedHtml;
440
440
  if (!n || n === "") return "";
441
- let r = F(e);
441
+ let r = P(e);
442
442
  return `<mj-text padding="${z(e.styles.padding)}"${B(e.styles.backgroundColor, "container")}${r}>
443
443
  ${n}
444
444
  </mj-text>`;
@@ -516,27 +516,27 @@ function Z(e, t) {
516
516
  }
517
517
  // ../renderer/src/renderers/section.ts
518
518
  function Xe(e, t, n) {
519
- if (P(e)) return "";
520
- let r = h(e);
519
+ if (N(e)) return "";
520
+ let r = y(e);
521
521
  if (r?.applied) return Ze(e, r, t, n);
522
- let i = e.columns, a = qe(i), o = Je(i, t.containerWidth), s = Math.floor(t.contentWidth) - H(e.styles.padding, e.border), c = a.map((e) => Math.floor(s * parseFloat(e) / 100)), l = z(e.styles.padding), u = B(e.styles.backgroundColor, "native"), d = pe(e.backgroundImage), f = F(e), p = G(e.borderRadius), m = W(e.border), g = t.contentDirection === "rtl" ? " direction=\"rtl\"" : "", _ = e.children, v = [];
522
+ let i = e.columns, a = qe(i), o = Je(i, t.containerWidth), s = Math.floor(t.contentWidth) - V(e.styles.padding, e.border), c = a.map((e) => Math.floor(s * parseFloat(e) / 100)), l = z(e.styles.padding), u = B(e.styles.backgroundColor, "native"), f = G(e.backgroundImage), p = P(e), m = W(e.borderRadius), h = U(e.border), g = t.contentDirection === "rtl" ? " direction=\"rtl\"" : "", _ = e.children, v = [];
523
523
  for (let e = 0; e < _.length; e++) {
524
- let r = _[e], i = a[e] ?? "100%", l = Math.floor(o[e] ?? t.containerWidth), u = Qe(r, t.allowHtmlBlocks).filter((e) => !T(e)), d = t.withContainerWidth(l, c[e] ?? s), f = u.map((e) => Z(e, n(e, d))).filter((e) => e !== "").join("\n");
524
+ let r = _[e], i = a[e] ?? "100%", l = Math.floor(o[e] ?? t.containerWidth), u = Qe(r, t.allowHtmlBlocks).filter((e) => !d(e)), f = t.withContainerWidth(l, c[e] ?? s), p = u.map((e) => Z(e, n(e, f))).filter((e) => e !== "").join("\n");
525
525
  v.push(`<mj-column width="${i}"${g}>
526
- ${f === "" ? "<mj-text>&nbsp;</mj-text>" : f}
526
+ ${p === "" ? "<mj-text>&nbsp;</mj-text>" : p}
527
527
  </mj-column>`);
528
528
  }
529
- let y = v.join("\n");
530
- return `<mj-section${u}${d} padding="${l}"${m}${p}${f}${g}>
529
+ let b = v.join("\n");
530
+ return `<mj-section${u}${f} padding="${l}"${h}${m}${p}${g}>
531
531
  ${e.stackOnMobile === !1 && v.length > 1 ? `<mj-group${g}>
532
- ${y}
533
- </mj-group>` : y}
532
+ ${b}
533
+ </mj-group>` : b}
534
534
  </mj-section>`;
535
535
  }
536
536
  function Ze(e, t, n, r) {
537
- let i = Math.floor(n.contentWidth), a = Ye(t, i, e.styles.padding), o = B(e.styles.backgroundColor, "native") || " background-color=\"transparent\"", s = z(e.styles.padding), c = G(e.borderRadius), l = F(e), u = n.withContainerWidth(i, i - H(e.styles.padding)), d = Qe(e.children[0] ?? [], n.allowHtmlBlocks).filter((e) => !T(e)).map((e) => Z(e, r(e, u))).filter((e) => e !== "").join("\n");
538
- return `<mj-hero mode="${a.mode}" height="${a.height}px" background-url="${j(t.image.url)}" background-width="${a.backgroundWidth}px" background-height="${a.backgroundHeight}px" background-position="${j(t.image.position)}"${o} padding="${s}" vertical-align="${j(t.verticalAlign)}"${c}${l}>
539
- ${d}
537
+ let i = Math.floor(n.contentWidth), a = Ye(t, i, e.styles.padding), o = B(e.styles.backgroundColor, "native") || " background-color=\"transparent\"", s = z(e.styles.padding), c = W(e.borderRadius), l = P(e), u = n.withContainerWidth(i, i - V(e.styles.padding)), f = Qe(e.children[0] ?? [], n.allowHtmlBlocks).filter((e) => !d(e)).map((e) => Z(e, r(e, u))).filter((e) => e !== "").join("\n");
538
+ return `<mj-hero mode="${a.mode}" height="${a.height}px" background-url="${A(t.image.url)}" background-width="${a.backgroundWidth}px" background-height="${a.backgroundHeight}px" background-position="${A(t.image.position)}"${o} padding="${s}" vertical-align="${A(t.verticalAlign)}"${c}${l}>
539
+ ${f}
540
540
  </mj-hero>`;
541
541
  }
542
542
  function Qe(e, t) {
@@ -554,61 +554,61 @@ function $e(e, t) {
554
554
  return n ? `https://vumbnail.com/${n[1]}.jpg` : null;
555
555
  }
556
556
  function et(e, t) {
557
- if (P(e)) return "";
557
+ if (N(e)) return "";
558
558
  let n = $e(e.url, e.thumbnailUrl);
559
559
  if (!n) return "";
560
- let r = z(e.styles.padding), i = B(e.styles.backgroundColor, "container"), a = j(e.width === "full" ? t.containerWidth + "px" : e.width + "px"), o = V(e.height), s = U(e, t), c = F(e);
560
+ let r = z(e.styles.padding), i = B(e.styles.backgroundColor, "container"), a = A(e.width === "full" ? t.containerWidth + "px" : e.width + "px"), o = pe(e.height), s = H(e, t), c = P(e);
561
561
  return `<mj-image
562
- src="${j(n)}"
563
- alt="${j(e.alt)}"
562
+ src="${A(n)}"
563
+ alt="${A(e.alt)}"
564
564
  width="${a}"${o}${s}
565
- align="${j(e.align)}"
565
+ align="${A(e.align)}"
566
566
  padding="${r}"
567
- href="${j(e.url)}"
567
+ href="${A(e.url)}"
568
568
  target="_blank"
569
569
  rel="noopener"${i}${c}
570
570
  />`;
571
571
  }
572
572
  // ../renderer/src/renderers/index.ts
573
- function Q(e, n) {
574
- let o = n.blockRenderers[e.type];
575
- return o ? o(e, n) : T(e) ? Xe(e, n, Q) : x(e) ? Se(e, n) : r(e) ? Te(e, n) : oe(e) ? Ee(e, n) : v(e) ? De(e, n) : ce(e) ? Ne(e, n) : i(e) ? Pe(e, n) : m(e) ? Fe(e, n) : a(e) ? Ie(e, n) : u(e) ? Le(e, n) : c(e) ? Ve(e, n) : t(e) ? et(e, n) : w(e) ? Ke(e, n) : P(e) ? "" : R(e);
573
+ function Q(t, i) {
574
+ let a = i.blockRenderers[t.type];
575
+ return a ? a(t, i) : d(t) ? Xe(t, i, Q) : e(t) ? Se(t, i) : ce(t) ? Te(t, i) : l(t) ? Ee(t, i) : m(t) ? De(t, i) : _(t) ? Ne(t, i) : s(t) ? Pe(t, i) : le(t) ? Fe(t, i) : r(t) ? Ie(t, i) : n(t) ? Le(t, i) : S(t) ? Ve(t, i) : x(t) ? et(t, i) : T(t) ? Ke(t, i) : N(t) ? "" : fe(t);
576
576
  }
577
577
  // ../renderer/src/index.ts
578
578
  var tt = `.${X} a { display: block !important; }`;
579
- async function nt(t, n) {
580
- if (n?.customBlocks !== void 0 && n.renderCustomBlock !== void 0) throw TypeError("[Templatical] customBlocks cannot be combined with renderCustomBlock");
581
- if (n?.customBlocks !== void 0 && n.getCustomBlockStylesheet !== void 0) throw TypeError("[Templatical] customBlocks cannot be combined with getCustomBlockStylesheet");
582
- let r = n?.locale ?? o(t), i = e(t, r), a = n?.layout ? ie(e(n.layout, r, { missing: "default" }), i) : (te(i), y(i), i), s = n?.customFonts ?? [], c = n?.defaultFallbackFont ?? "Arial, sans-serif", l = n?.allowHtmlBlocks ?? !0, u = st(n?.socialIconsBaseUrl ?? D), d = n?.customBlocks === void 0 ? await dt(a, n?.renderCustomBlock) : await ft(a, n.customBlocks, n.liquidjs), f = pt(a, n?.getCustomBlockStylesheet, n?.customBlocks === void 0 ? void 0 : new Map(n.customBlocks.map((e) => [e.type, e]))), p = g(a.settings), m = new le(a.settings.width, s, c, l, d, u, n?.blockRenderers ?? {}, p), h = ut(a.blocks, l), _ = m.resolveFontFamily(a.settings.fontFamily), v = /[<>]/.test(a.settings.backgroundColor) ? "transparent" : a.settings.backgroundColor, ee = a.settings.textColor ? ` color="${j(a.settings.textColor)}"` : "", b = a.settings.linkColor ? M(a.settings.linkColor) : "inherit", x = a.settings.linkUnderline ? "underline" : "none", S = h.map((e) => rt(e, m)).filter((e) => e !== "").join("\n"), ne = lt(s), re = ct(a.settings.preheaderText);
583
- return `<mjml lang="${j(a.settings.locale)}" dir="${j(p)}">
579
+ async function nt(e, t) {
580
+ if (t?.customBlocks !== void 0 && t.renderCustomBlock !== void 0) throw TypeError("[Templatical] customBlocks cannot be combined with renderCustomBlock");
581
+ if (t?.customBlocks !== void 0 && t.getCustomBlockStylesheet !== void 0) throw TypeError("[Templatical] customBlocks cannot be combined with getCustomBlockStylesheet");
582
+ let n = t?.locale ?? f(e), r = v(e, n), i = t?.layout ? ie(v(t.layout, n, { missing: "default" }), r) : (ne(r), ee(r), r), a = t?.customFonts ?? [], o = t?.defaultFallbackFont ?? "Arial, sans-serif", s = t?.allowHtmlBlocks ?? !0, c = st(t?.socialIconsBaseUrl ?? E), l = t?.customBlocks === void 0 ? await dt(i, t?.renderCustomBlock) : await ft(i, t.customBlocks, t.liquidjs), u = pt(i, t?.getCustomBlockStylesheet, t?.customBlocks === void 0 ? void 0 : new Map(t.customBlocks.map((e) => [e.type, e]))), d = b(i.settings), p = new ue(i.settings.width, a, o, s, l, c, t?.blockRenderers ?? {}, d), m = ut(i.blocks, s), h = p.resolveFontFamily(i.settings.fontFamily), g = /[<>]/.test(i.settings.backgroundColor) ? "transparent" : i.settings.backgroundColor, _ = i.settings.textColor ? ` color="${A(i.settings.textColor)}"` : "", y = i.settings.linkColor ? j(i.settings.linkColor) : "inherit", te = i.settings.linkUnderline ? "underline" : "none", x = m.map((e) => rt(e, p)).filter((e) => e !== "").join("\n"), S = lt(a), re = ct(i.settings.preheaderText);
583
+ return `<mjml lang="${A(i.settings.locale)}" dir="${A(d)}">
584
584
  <mj-head>${re}
585
585
  <mj-attributes>
586
- <mj-all font-family="${N(_)}" />
587
- <mj-text font-size="14px"${ee} />
586
+ <mj-all font-family="${M(h)}" />
587
+ <mj-text font-size="14px"${_} />
588
588
  <mj-section padding="0" />
589
589
  <mj-column padding="0" />
590
- </mj-attributes>${ne}
590
+ </mj-attributes>${S}
591
591
  <mj-style inline="inline">
592
- ${me(he(h), p)}
592
+ ${me(he(m), d)}
593
593
  ${tt}
594
594
  </mj-style>
595
595
  <mj-style>
596
- a { color: ${b}; text-decoration: ${x}; }
596
+ a { color: ${y}; text-decoration: ${te}; }
597
597
  @media only screen and (max-width: 480px) {
598
598
  .tpl-hide-mobile { display: none !important; mso-hide: all !important; }
599
599
  }
600
600
  @media only screen and (min-width: 481px) {
601
601
  .tpl-hide-desktop { display: none !important; mso-hide: all !important; }
602
602
  }
603
- </mj-style>${mt(f)}
603
+ </mj-style>${mt(u)}
604
604
  </mj-head>
605
- <mj-body width="${j(String(m.containerWidth))}px" background-color="${M(v)}">
606
- ${S}
605
+ <mj-body width="${A(String(p.containerWidth))}px" background-color="${j(g)}">
606
+ ${x}
607
607
  </mj-body>
608
608
  </mjml>`;
609
609
  }
610
610
  function rt(e, t) {
611
- if (b(e)) {
611
+ if (o(e)) {
612
612
  let n = it(t, e.styles.padding);
613
613
  return Z(e, at(ut(e.children, t.allowHtmlBlocks).map((e) => rt(e, n)).filter((e) => e !== "").join("\n"), {
614
614
  backgroundColor: e.styles.backgroundColor,
@@ -618,17 +618,17 @@ function rt(e, t) {
618
618
  fullWidth: e.fullWidth
619
619
  }, t.contentDirection));
620
620
  }
621
- if (T(e)) {
621
+ if (d(e)) {
622
622
  let n = Q(e, e.wrapper ? it(t, e.wrapper.padding) : t);
623
623
  return Z(e, e.wrapper && n !== "" ? at(n, e.wrapper, t.contentDirection) : n);
624
624
  }
625
625
  return Z(e, ot(Q(e, t), t.contentDirection));
626
626
  }
627
627
  function it(e, t) {
628
- return e.withContainerWidth(e.containerWidth, Math.floor(e.contentWidth) - H(t));
628
+ return e.withContainerWidth(e.containerWidth, Math.floor(e.contentWidth) - V(t));
629
629
  }
630
630
  function at(e, t, n) {
631
- return `<mj-wrapper${B(t.backgroundColor, "native")}${pe(t.backgroundImage)}${` padding="${t.padding ? z(t.padding) : "0"}"`}${t.fullWidth ? "" : G(t.borderRadius)}${t.fullWidth ? " full-width=\"full-width\"" : ""}${n === "rtl" ? " direction=\"rtl\"" : ""}>
631
+ return `<mj-wrapper${B(t.backgroundColor, "native")}${G(t.backgroundImage)}${` padding="${t.padding ? z(t.padding) : "0"}"`}${t.fullWidth ? "" : W(t.borderRadius)}${t.fullWidth ? " full-width=\"full-width\"" : ""}${n === "rtl" ? " direction=\"rtl\"" : ""}>
632
632
  ${e}
633
633
  </mj-wrapper>`;
634
634
  }
@@ -647,10 +647,10 @@ function st(e) {
647
647
  function ct(e) {
648
648
  if (!e) return "";
649
649
  let t = e.trim();
650
- return t === "" ? "" : `\n <mj-preview>${A(t)}</mj-preview>`;
650
+ return t === "" ? "" : `\n <mj-preview>${k(t)}</mj-preview>`;
651
651
  }
652
652
  function lt(e) {
653
- return e.length === 0 ? "" : e.map((e) => `\n <mj-font name="${j(e.name)}" href="${j(e.url)}" />`).join("");
653
+ return e.length === 0 ? "" : e.map((e) => `\n <mj-font name="${A(e.name)}" href="${A(e.url)}" />`).join("");
654
654
  }
655
655
  function ut(e, t) {
656
656
  return t ? e : e.filter((e) => e.type !== "html");
@@ -668,9 +668,9 @@ async function ft(e, t, n) {
668
668
  let r = /* @__PURE__ */ new Map(), i = [];
669
669
  if ($(e.blocks, i), i.length === 0) return r;
670
670
  if (typeof n?.Liquid != "function") throw TypeError("[Templatical] customBlocks requires the liquidjs option: import * as liquidjs from \"liquidjs\" and pass { customBlocks, liquidjs }.");
671
- let a = s(n), o = new Map(t.map((e) => [e.type, e])), c = await Promise.all(i.map(async (e) => {
672
- let t = o.get(e.customType);
673
- return t ? String(await a.parseAndRender(t.template, e.fieldValues)) : void 0;
671
+ let o = a(n), s = new Map(t.map((e) => [e.type, e])), c = await Promise.all(i.map(async (e) => {
672
+ let t = s.get(e.customType);
673
+ return t ? String(await o.parseAndRender(t.template, e.fieldValues)) : void 0;
674
674
  }));
675
675
  for (let e = 0; e < i.length; e++) {
676
676
  let t = c[e];
@@ -679,9 +679,9 @@ async function ft(e, t, n) {
679
679
  return r;
680
680
  }
681
681
  function $(e, t) {
682
- for (let n of e) if (w(n)) t.push(n);
683
- else if (T(n)) for (let e of n.children) $(e, t);
684
- else b(n) && $(n.children, t);
682
+ for (let n of e) if (T(n)) t.push(n);
683
+ else if (d(n)) for (let e of n.children) $(e, t);
684
+ else o(n) && $(n.children, t);
685
685
  }
686
686
  function pt(e, t, n) {
687
687
  let r = [];
@@ -702,6 +702,6 @@ function pt(e, t, n) {
702
702
  function mt(e) {
703
703
  return e.length === 0 ? "" : e.map((e) => `\n <mj-style>\n${e.replaceAll("<", "\\3c ")}\n </mj-style>`).join("");
704
704
  }
705
- export { X as BUTTON_FULL_WIDTH_CSS_CLASS, D as DEFAULT_SOCIAL_ICONS_BASE_URL, K as RICH_TEXT_CSS_CLASS, le as RenderContext, fe as UNRENDERABLE_MARKER_PREFIX, C as convertMergeTagsToValues, j as escapeAttr, A as escapeHtml, U as fluidOnMobileAttr, F as getCssClassAttr, de as getCssClasses, qe as getWidthPercentages, Je as getWidthPixels, P as isHiddenOnAll, Q as renderBlock, nt as renderToMjml, R as renderUnrenderableBlock, J as resolveParagraphGap, q as richTextGapClass, z as toPaddingString };
705
+ export { X as BUTTON_FULL_WIDTH_CSS_CLASS, E as DEFAULT_SOCIAL_ICONS_BASE_URL, K as RICH_TEXT_CSS_CLASS, ue as RenderContext, I as UNRENDERABLE_MARKER_PREFIX, C as convertMergeTagsToValues, A as escapeAttr, k as escapeHtml, H as fluidOnMobileAttr, P as getCssClassAttr, F as getCssClasses, qe as getWidthPercentages, Je as getWidthPixels, N as isHiddenOnAll, Q as renderBlock, nt as renderToMjml, fe as renderUnrenderableBlock, J as resolveParagraphGap, q as richTextGapClass, z as toPaddingString };
706
706
 
707
- //# sourceMappingURL=src-BXrhjqCv.js.map
707
+ //# sourceMappingURL=src-B7X7x_ST.js.map