@templatical/editor 0.44.3 → 0.45.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 (291) hide show
  1. package/dist/{AiChatSidebar-BUR5Jshu.js → AiChatSidebar-BlFWWhBv.js} +15 -19
  2. package/dist/{AiFeatureMenu-CXqrbDNb.js → AiFeatureMenu-CvWygUmC.js} +7 -7
  3. package/dist/{BlockIssueBadge-CWZEwMXX.js → BlockIssueBadge-CZA1XvAh.js} +5 -5
  4. package/dist/{BlockPreviewCanvas-DCeZid0G.js → BlockPreviewCanvas-DwxJOTzH.js} +5 -5
  5. package/dist/{CloudHeaderExtras-B38fU84y.js → CloudHeaderExtras-BzM1QU1r.js} +5 -5
  6. package/dist/{CloudPanels-B2Mz-TwS.js → CloudPanels-d36YXXyn.js} +8 -8
  7. package/dist/{CollaboratorBar-CL70aVnL.js → CollaboratorBar-rwXe_Qd2.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-lbjCc8ik.js} +62 -61
  12. package/dist/{DesignReferenceSidebar-ZKJ7y7-G.js → DesignReferenceSidebar-zlJQsP0X.js} +25 -26
  13. package/dist/{IssuesPanel-DAlNiJX_.js → IssuesPanel-CHx3m8SP.js} +8 -8
  14. package/dist/{LoadingTrack-C1Epulqq.js → LoadingTrack-DROqNuuD.js} +1 -1
  15. package/dist/{LogicTagInsertButton-DMUfVsPr.js → LogicTagInsertButton-BvftbkL4.js} +13 -19
  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-CR1kcj8X.js} +2 -2
  19. package/dist/{MergeTagModeToggle-DOHixe4G.js → MergeTagModeToggle-DssKrVYb.js} +7 -7
  20. package/dist/{ParagraphEditor-CHlX3nAk.js → ParagraphEditor-DFizsZRc.js} +140 -139
  21. package/dist/{RestoreVersionDialog-C8Qt-sJV.js → RestoreVersionDialog-Cp3q2mU4.js} +5 -5
  22. package/dist/{RichTextEditorContent-BedBVHXS.js → RichTextEditorContent-Cj3oaPMk.js} +9 -9
  23. package/dist/{SaveBlockDialog-CsielLi1.js → SaveBlockDialog-BR8vW_XF.js} +12 -12
  24. package/dist/{SavedBlocksBrowserModal-RKo9mq3U.js → SavedBlocksBrowserModal-DmwbmKxI.js} +15 -18
  25. package/dist/{SavedBlocksPanels-B7IlFCQp.js → SavedBlocksPanels-D4XKrs-a.js} +2 -2
  26. package/dist/{SavedBlocksPickBar-BYCwMUR6.js → SavedBlocksPickBar-gfc-o5sR.js} +4 -4
  27. package/dist/{TemplateScoringPanel-DXsyp0_A.js → TemplateScoringPanel-3lHzuCl0.js} +16 -16
  28. package/dist/TemplateSettings-D7aNrd0d.js +246 -0
  29. package/dist/{TestEmailModal-Btbk0B1s.js → TestEmailModal-DUmtcSm-.js} +11 -11
  30. package/dist/{TestEmailPanel-kdF_QluO.js → TestEmailPanel-s9gISTI8.js} +2 -2
  31. package/dist/{TitleEditor-Cl6AmEy9.js → TitleEditor-C-uHqtml.js} +13 -13
  32. package/dist/{ToggleSwitch-D7GLaT8s.js → ToggleSwitch-CTwwCIVA.js} +2 -2
  33. package/dist/{Toolbar-CWxqqBHE.js → Toolbar-CLpA36RO.js} +518 -520
  34. package/dist/{TplModal-DD1xZyBq.js → TplModal-D6XtxusQ.js} +5 -5
  35. package/dist/{VersionHistoryMenu-fLrx-Lvi.js → VersionHistoryMenu-D7zaTMrb.js} +10 -10
  36. package/dist/{VersionHistoryPanels-Caa2_niu.js → VersionHistoryPanels-Dvowtt7V.js} +2 -2
  37. package/dist/{VersionPreviewBanner-CWuxq_bb.js → VersionPreviewBanner-BUKb9gc6.js} +3 -3
  38. package/dist/{WrapperBlock-Do8kLejT.js → WrapperBlock-CzJa2Mxw.js} +3 -3
  39. package/dist/{blockTypeIcons-DEvNVvBj.js → blockTypeIcons-D3aj5u_5.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-SRGBP-SL.js} +9 -13
  43. package/dist/cdn/chunks/{AiChatSidebar-Cvp9beXR.js.map → AiChatSidebar-SRGBP-SL.js.map} +1 -1
  44. package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js → AiFeatureMenu-oZhlgsGh.js} +6 -6
  45. package/dist/cdn/chunks/{AiFeatureMenu-B291Us2g.js.map → AiFeatureMenu-oZhlgsGh.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-hKxE6f-k.js} +6 -6
  49. package/dist/cdn/chunks/{BlockPreviewCanvas-CRJZBmwV.js.map → BlockPreviewCanvas-hKxE6f-k.js.map} +1 -1
  50. package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js → CloudHeaderExtras-t-_ZlHwn.js} +5 -5
  51. package/dist/cdn/chunks/{CloudHeaderExtras-BvCPpih5.js.map → CloudHeaderExtras-t-_ZlHwn.js.map} +1 -1
  52. package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js → CloudPanels-DR2eEcpX.js} +7 -7
  53. package/dist/cdn/chunks/{CloudPanels-vlPH6N3s.js.map → CloudPanels-DR2eEcpX.js.map} +1 -1
  54. package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js → CollaboratorBar-w8_2WPE0.js} +5 -5
  55. package/dist/cdn/chunks/{CollaboratorBar-Xt3WJ-rn.js.map → CollaboratorBar-w8_2WPE0.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-CvNuDR5Z.js} +63 -62
  63. package/dist/cdn/chunks/CountdownToolbar-CvNuDR5Z.js.map +1 -0
  64. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js → DesignReferenceSidebar-CJg_5GXU.js} +21 -22
  65. package/dist/cdn/chunks/{DesignReferenceSidebar-BO0xz1wC.js.map → DesignReferenceSidebar-CJg_5GXU.js.map} +1 -1
  66. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js → IssuesPanel-DXqlRk19.js} +6 -6
  67. package/dist/cdn/chunks/{IssuesPanel--62qud8w.js.map → IssuesPanel-DXqlRk19.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-DnHghQHb.js} +11 -17
  71. package/dist/cdn/chunks/{LogicTagInsertButton-gc8ICURV.js.map → LogicTagInsertButton-DnHghQHb.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-heTX9P_k.js} +3 -3
  77. package/dist/cdn/chunks/{MergeTagInput-DsPKWbWr.js.map → MergeTagInput-heTX9P_k.js.map} +1 -1
  78. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js → MergeTagModeToggle-C9EfuZIP.js} +6 -6
  79. package/dist/cdn/chunks/{MergeTagModeToggle-DU0WqgVH.js.map → MergeTagModeToggle-C9EfuZIP.js.map} +1 -1
  80. package/dist/cdn/chunks/{ParagraphEditor-BWfx94pb.js → ParagraphEditor-B5DN4Sy4.js} +145 -144
  81. package/dist/cdn/chunks/ParagraphEditor-B5DN4Sy4.js.map +1 -0
  82. package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js → RestoreVersionDialog-DBgJ-Nui.js} +5 -5
  83. package/dist/cdn/chunks/{RestoreVersionDialog-DWUnyA0B.js.map → RestoreVersionDialog-DBgJ-Nui.js.map} +1 -1
  84. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js → RichTextEditorContent-LOas4rfU.js} +8 -8
  85. package/dist/cdn/chunks/{RichTextEditorContent-Dkcts8Vh.js.map → RichTextEditorContent-LOas4rfU.js.map} +1 -1
  86. package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js → SaveBlockDialog-Dx-QVQCX.js} +10 -10
  87. package/dist/cdn/chunks/{SaveBlockDialog-CcfyxDfZ.js.map → SaveBlockDialog-Dx-QVQCX.js.map} +1 -1
  88. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js → SavedBlocksBrowserModal-C2RQ-JCc.js} +11 -14
  89. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DauQ_V9N.js.map → SavedBlocksBrowserModal-C2RQ-JCc.js.map} +1 -1
  90. package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js → SavedBlocksPanels-BmRbvqqL.js} +3 -3
  91. package/dist/cdn/chunks/{SavedBlocksPanels-J5v2PsFv.js.map → SavedBlocksPanels-BmRbvqqL.js.map} +1 -1
  92. package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js → SavedBlocksPickBar-BzwKojoJ.js} +5 -5
  93. package/dist/cdn/chunks/{SavedBlocksPickBar-v3AMSqli.js.map → SavedBlocksPickBar-BzwKojoJ.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-G-yV7C1C.js} +48 -47
  97. package/dist/cdn/chunks/TemplateSettings-G-yV7C1C.js.map +1 -0
  98. package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js → TestEmailModal-lOeztfTN.js} +10 -10
  99. package/dist/cdn/chunks/{TestEmailModal-CW9EFpFR.js.map → TestEmailModal-lOeztfTN.js.map} +1 -1
  100. package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js → TestEmailPanel-CZswVkk_.js} +3 -3
  101. package/dist/cdn/chunks/{TestEmailPanel-D1Hchlr7.js.map → TestEmailPanel-CZswVkk_.js.map} +1 -1
  102. package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js → TitleEditor-CnTT2Y3H.js} +12 -12
  103. package/dist/cdn/chunks/{TitleEditor-nDV6P-ag.js.map → TitleEditor-CnTT2Y3H.js.map} +1 -1
  104. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js → ToggleSwitch-CLHteVMO.js} +3 -3
  105. package/dist/cdn/chunks/{ToggleSwitch-DoUNcLPP.js.map → ToggleSwitch-CLHteVMO.js.map} +1 -1
  106. package/dist/cdn/chunks/{Toolbar-CnfNUkOY.js → Toolbar-K4tIkpG1.js} +415 -417
  107. package/dist/cdn/chunks/Toolbar-K4tIkpG1.js.map +1 -0
  108. package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js → TplModal-OOT36AjS.js} +5 -5
  109. package/dist/cdn/chunks/{TplModal-VuZ9bDw9.js.map → TplModal-OOT36AjS.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-BrpYRSfW.js} +3 -3
  113. package/dist/cdn/chunks/{VersionHistoryPanels-BChjjMC6.js.map → VersionHistoryPanels-BrpYRSfW.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-DdrnwH80.js} +4 -4
  117. package/dist/cdn/chunks/{WrapperBlock-DDnue8oy.js.map → WrapperBlock-DdrnwH80.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-bhW8qTnh.js} +4 -4
  123. package/dist/cdn/chunks/{cloud-DLQU5l0Z.js.map → cloud-bhW8qTnh.js.map} +1 -1
  124. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js → createCloudRuntime-CeRJkLR2.js} +9 -12
  125. package/dist/cdn/chunks/{createCloudRuntime-Mnx8kV2W.js.map → createCloudRuntime-CeRJkLR2.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-xjRsIjMP.js} +9 -17
  142. package/dist/cdn/chunks/{extensions-ClmkNA8R.js.map → extensions-xjRsIjMP.js.map} +1 -1
  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/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js → preRenderCustomBlocks-CFwa7nP9.js} +2 -2
  158. package/dist/cdn/chunks/{preRenderCustomBlocks-Bg3rIgGJ.js.map → preRenderCustomBlocks-CFwa7nP9.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-CsYnPPll.js} +14 -24
  164. package/dist/cdn/chunks/socialIcons-CsYnPPll.js.map +1 -0
  165. package/dist/cdn/chunks/{src-QIGNPFkl.js → src-BcqNlDMe.js} +258 -237
  166. package/dist/cdn/chunks/src-BcqNlDMe.js.map +1 -0
  167. package/dist/cdn/chunks/{src-CjjJWoUZ.js → src-CkXmV2I2.js} +174 -179
  168. package/dist/cdn/chunks/src-CkXmV2I2.js.map +1 -0
  169. package/dist/cdn/chunks/{src-B5-VKcRQ.js → src-HA9F2kvk.js} +141 -179
  170. package/dist/cdn/chunks/{src-B5-VKcRQ.js.map → src-HA9F2kvk.js.map} +1 -1
  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-BF1ZhcGu.js} +476 -520
  178. package/dist/cdn/chunks/useEditorCore-BF1ZhcGu.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-91bO_SOi.js} +4 -4
  184. package/dist/cdn/chunks/{useLogicTag-D6lWY0bD.js.map → useLogicTag-91bO_SOi.js.map} +1 -1
  185. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js → useMergeTag-hwifK582.js} +4 -4
  186. package/dist/cdn/chunks/{useMergeTag-2iW-BKWW.js.map → useMergeTag-hwifK582.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-BDNJ25X1.js} +3 -3
  190. package/dist/cdn/chunks/{useScrollToBlock-DgHZJvID.js.map → useScrollToBlock-BDNJ25X1.js.map} +1 -1
  191. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js +32 -0
  192. package/dist/cdn/chunks/withCurrentFont-DeCbPVaE.js.map +1 -0
  193. package/dist/cdn/editor.css +1 -1
  194. package/dist/cdn/editor.js +56 -93
  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-CVfwPu19.js} +2 -2
  203. package/dist/{copy-6uKc-WBk.js → copy-D6DNoSq1.js} +1 -1
  204. package/dist/{createCloudRuntime-CaZapQZ6.js → createCloudRuntime-GRv_TDb2.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-BDuPwOyn.js → dist-B_vYjCsk.js} +4 -12
  211. package/dist/{dist-Ceew_u40.js → dist-Bc30883t.js} +6 -22
  212. package/dist/{dist-Czzst9ng.js → dist-Bd7khQsg.js} +3 -11
  213. package/dist/{dist-8VFzbeu9.js → dist-C-VFTX82.js} +1 -1
  214. package/dist/{dist-BYg1EL5g.js → dist-C3eH9-N2.js} +1 -1
  215. package/dist/{dist-Dw2_11LA.js → dist-CFC4pg2o.js} +1 -1
  216. package/dist/{dist-BgSLW3Hn.js → dist-CMcFD7gP.js} +72 -87
  217. package/dist/{dist-HjILVdTA.js → dist-CSaWqmWM.js} +143 -126
  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-B65sfZRk.js} +42 -58
  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 +12 -1
  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/{preRenderCustomBlocks-C_PIxBp7.js → preRenderCustomBlocks-DAS48ZCp.js} +1 -1
  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-CvAixjj8.js} +14 -24
  252. package/dist/{sparkles-_DQGv4ub.js → sparkles-DO1hzwzf.js} +1 -1
  253. package/dist/style.css +1 -1
  254. package/dist/templatical-editor.js +70 -107
  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-DQSeKPE9.js} +940 -1007
  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-BH87j1vZ.js} +3 -3
  265. package/dist/{useMergeTag-D3XDE_58.js → useMergeTag-DfPKX2Tk.js} +3 -3
  266. package/dist/{usePopoverPosition-BYmd-lhR.js → usePopoverPosition-DkBrHfCo.js} +2 -2
  267. package/dist/{useScrollToBlock-DA_aIJXS.js → useScrollToBlock-Dr7Sb6Tr.js} +3 -3
  268. package/dist/{vue.runtime.esm-bundler-CyqhBwpY.js → vue.runtime.esm-bundler-CctRY8kr.js} +13 -45
  269. package/dist/withCurrentFont-DeCbPVaE.js +30 -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/fr-D1syuxs1.js.map +0 -1
  283. package/dist/cdn/chunks/ja-Dd_nytwe.js.map +0 -1
  284. package/dist/cdn/chunks/nl-DD1t_qxS.js.map +0 -1
  285. package/dist/cdn/chunks/pt-BR-BmtO0R7k.js.map +0 -1
  286. package/dist/cdn/chunks/socialIcons-CnUJBZTO.js.map +0 -1
  287. package/dist/cdn/chunks/src-CjjJWoUZ.js.map +0 -1
  288. package/dist/cdn/chunks/src-QIGNPFkl.js.map +0 -1
  289. package/dist/cdn/chunks/useEditorCore-q0G4q-52.js.map +0 -1
  290. package/dist/cdn/chunks/useEditorRoot-CshefZLP.js +0 -10
  291. package/dist/en-B-xoKkWi.js +0 -2
@@ -119,29 +119,52 @@ var s = {
119
119
  color: "#1769FF",
120
120
  path: "M22 7h-7V5h7v2zm1.726 10c-.442 1.297-2.029 3-5.101 3-3.074 0-5.564-1.729-5.564-5.675 0-3.91 2.325-5.92 5.466-5.92 3.082 0 4.964 1.782 5.375 4.426.078.506.109 1.188.095 2.14H15.97c.13 3.211 3.483 3.312 4.588 2.029h3.168zm-7.686-4h4.965c-.105-1.547-1.136-2.219-2.477-2.219-1.466 0-2.277.768-2.488 2.219zm-9.574 6.988H0V5.021h6.953c5.476.081 5.58 5.444 2.72 6.906 3.461 1.26 3.577 8.061-3.207 8.061zM3 11h3.584c2.508 0 2.906-3-.312-3H3v3zm3.391 3H3v3.016h3.341c3.055 0 2.868-3.016.05-3.016z"
121
121
  }
122
+ }, u = {
123
+ dark: "#1f1f1f",
124
+ light: "#ffffff"
122
125
  };
123
- function u(e) {
126
+ function d(e) {
127
+ return e === "dark" || e === "light" ? e : void 0;
128
+ }
129
+ function ee(e, t) {
130
+ let n = d(t);
131
+ return {
132
+ fill: n ? u[n] : l[e].color,
133
+ onFill: n === "light" ? u.dark : "#ffffff"
134
+ };
135
+ }
136
+ function te(e, t) {
137
+ if (d(t) === "dark" && (e === "plain" || e === "outlined")) return {
138
+ color: u.light,
139
+ opacity: .6,
140
+ width: 1.4
141
+ };
142
+ }
143
+ function ne(e) {
144
+ return e === "plain" ? .84 : .6;
145
+ }
146
+ function f(e) {
124
147
  return e.type === "section";
125
148
  }
126
- function d(e) {
149
+ function re(e) {
127
150
  return e.type === "custom";
128
151
  }
129
- function f(e) {
152
+ function p(e) {
130
153
  return e.type === "slot";
131
154
  }
132
- function p(e) {
155
+ function m(e) {
133
156
  return e.type === "wrapper";
134
157
  }
135
- var m = {
158
+ var h = {
136
159
  content: "<p>Enter your title</p>",
137
160
  level: 2,
138
161
  textAlign: "left"
139
- }, h = { content: "<p>Enter your text here</p>" }, g = {
162
+ }, g = { content: "<p>Enter your text here</p>" }, _ = {
140
163
  src: "",
141
164
  alt: "",
142
165
  width: "full",
143
166
  align: "center"
144
- }, _ = {
167
+ }, v = {
145
168
  text: "Click Here",
146
169
  url: "",
147
170
  backgroundColor: "#333333",
@@ -155,36 +178,36 @@ var m = {
155
178
  left: 24
156
179
  },
157
180
  align: "center"
158
- }, v = {
181
+ }, ie = {
159
182
  lineStyle: "solid",
160
183
  color: "#e0e0e0",
161
184
  thickness: 1,
162
185
  width: "full"
163
- }, y = { columns: "1" }, b = {
186
+ }, ae = { columns: "1" }, oe = {
164
187
  url: "",
165
188
  thumbnailUrl: "",
166
189
  alt: "Video",
167
190
  width: "full",
168
191
  align: "center"
169
- }, x = {
192
+ }, se = {
170
193
  iconStyle: "solid",
171
194
  iconSize: "medium",
172
195
  spacing: 10,
173
196
  align: "center"
174
- }, ee = { height: 24 }, te = { content: "" }, ne = {
197
+ }, ce = { height: 24 }, le = { content: "" }, ue = {
175
198
  fontSize: 15,
176
199
  textAlign: "center",
177
200
  separator: "|",
178
201
  separatorColor: "#e0e0e0",
179
202
  spacing: 10
180
- }, re = {
203
+ }, y = {
181
204
  hasHeaderRow: !0,
182
205
  borderColor: "#e0e0e0",
183
206
  borderWidth: 1,
184
207
  cellPadding: 8,
185
208
  fontSize: 15,
186
209
  textAlign: "left"
187
- }, ie = {
210
+ }, b = {
188
211
  targetDate: "",
189
212
  timezone: "UTC",
190
213
  showDays: !0,
@@ -204,21 +227,21 @@ var m = {
204
227
  expiredMessage: "This offer has expired",
205
228
  expiredImageUrl: "",
206
229
  hideOnExpiry: !1
207
- }, ae = {
208
- title: m,
209
- paragraph: h,
210
- image: g,
211
- button: _,
212
- divider: v,
213
- section: y,
214
- video: b,
215
- social: x,
216
- spacer: ee,
217
- html: te,
218
- menu: ne,
219
- table: re,
220
- countdown: ie
221
- }, oe = {
230
+ }, de = {
231
+ title: h,
232
+ paragraph: g,
233
+ image: _,
234
+ button: v,
235
+ divider: ie,
236
+ section: ae,
237
+ video: oe,
238
+ social: se,
239
+ spacer: ce,
240
+ html: le,
241
+ menu: ue,
242
+ table: y,
243
+ countdown: b
244
+ }, x = {
222
245
  width: 600,
223
246
  backgroundColor: "#ffffff",
224
247
  textColor: "#1a1a1a",
@@ -237,17 +260,17 @@ function C(e, t) {
237
260
  }
238
261
  return n;
239
262
  }
240
- function se(e = "Arial", t) {
263
+ function fe(e = "Arial", t) {
241
264
  return {
242
265
  blocks: [],
243
266
  settings: {
244
- ...oe,
267
+ ...x,
245
268
  fontFamily: e,
246
269
  ...t
247
270
  }
248
271
  };
249
272
  }
250
- var ce = [
273
+ var pe = [
251
274
  "ar",
252
275
  "he",
253
276
  "iw",
@@ -261,12 +284,12 @@ var ce = [
261
284
  "ckb",
262
285
  "ks"
263
286
  ];
264
- function le(e) {
287
+ function me(e) {
265
288
  let t = e?.trim().replace(/_/g, "-").split("-")[0]?.toLowerCase();
266
- return !!t && ce.includes(t);
289
+ return !!t && pe.includes(t);
267
290
  }
268
- function ue(e) {
269
- return e.direction === "ltr" || e.direction === "rtl" ? e.direction : le(e.locale) ? "rtl" : "ltr";
291
+ function he(e) {
292
+ return e.direction === "ltr" || e.direction === "rtl" ? e.direction : me(e.locale) ? "rtl" : "ltr";
270
293
  }
271
294
  function w(e, t) {
272
295
  return !t || Object.keys(t).length === 0 ? e : C(e, t);
@@ -274,7 +297,7 @@ function w(e, t) {
274
297
  function T() {
275
298
  return crypto.randomUUID();
276
299
  }
277
- function de(e = 0) {
300
+ function ge(e = 0) {
278
301
  return {
279
302
  top: e,
280
303
  right: e,
@@ -283,13 +306,13 @@ function de(e = 0) {
283
306
  };
284
307
  }
285
308
  function E(e = 10) {
286
- return { padding: de(e) };
309
+ return { padding: ge(e) };
287
310
  }
288
311
  function D(e = {}) {
289
312
  return w({
290
313
  id: T(),
291
314
  type: "title",
292
- ...m,
315
+ ...h,
293
316
  styles: E()
294
317
  }, e);
295
318
  }
@@ -297,7 +320,7 @@ function O(e = {}) {
297
320
  return w({
298
321
  id: T(),
299
322
  type: "paragraph",
300
- ...h,
323
+ ...g,
301
324
  styles: E()
302
325
  }, e);
303
326
  }
@@ -305,7 +328,7 @@ function k(e = {}) {
305
328
  return w({
306
329
  id: T(),
307
330
  type: "image",
308
- ...g,
331
+ ..._,
309
332
  styles: E()
310
333
  }, e);
311
334
  }
@@ -313,7 +336,7 @@ function A(e = {}) {
313
336
  return w({
314
337
  id: T(),
315
338
  type: "button",
316
- ..._,
339
+ ...v,
317
340
  styles: E()
318
341
  }, e);
319
342
  }
@@ -321,7 +344,7 @@ function j(e = {}) {
321
344
  return w({
322
345
  id: T(),
323
346
  type: "divider",
324
- ...v,
347
+ ...ie,
325
348
  styles: E(20)
326
349
  }, e);
327
350
  }
@@ -329,7 +352,7 @@ function M(e = {}) {
329
352
  return w({
330
353
  id: T(),
331
354
  type: "section",
332
- ...y,
355
+ ...ae,
333
356
  children: [[]],
334
357
  styles: E(20)
335
358
  }, e);
@@ -338,7 +361,7 @@ function N(e = {}) {
338
361
  return w({
339
362
  id: T(),
340
363
  type: "video",
341
- ...b,
364
+ ...oe,
342
365
  styles: E()
343
366
  }, e);
344
367
  }
@@ -347,7 +370,7 @@ function P(e = {}) {
347
370
  id: T(),
348
371
  type: "social",
349
372
  icons: [],
350
- ...x,
373
+ ...se,
351
374
  styles: E()
352
375
  }, e);
353
376
  }
@@ -355,7 +378,7 @@ function F(e = {}) {
355
378
  return w({
356
379
  id: T(),
357
380
  type: "spacer",
358
- ...ee,
381
+ ...ce,
359
382
  styles: E(0)
360
383
  }, e);
361
384
  }
@@ -363,7 +386,7 @@ function I(e = {}) {
363
386
  return w({
364
387
  id: T(),
365
388
  type: "html",
366
- ...te,
389
+ ...le,
367
390
  styles: E()
368
391
  }, e);
369
392
  }
@@ -372,11 +395,11 @@ function L(e = {}) {
372
395
  id: T(),
373
396
  type: "menu",
374
397
  items: [],
375
- ...ne,
398
+ ...ue,
376
399
  styles: E()
377
400
  }, e);
378
401
  }
379
- function fe(e, t) {
402
+ function _e(e, t) {
380
403
  return Array.from({ length: t }, () => ({
381
404
  id: T(),
382
405
  cells: Array.from({ length: e }, () => ({
@@ -389,8 +412,8 @@ function R(e = {}) {
389
412
  return w({
390
413
  id: T(),
391
414
  type: "table",
392
- rows: fe(3, 3),
393
- ...re,
415
+ rows: _e(3, 3),
416
+ ...y,
394
417
  styles: E()
395
418
  }, e);
396
419
  }
@@ -398,16 +421,16 @@ function z(e = {}) {
398
421
  return w({
399
422
  id: T(),
400
423
  type: "countdown",
401
- ...ie,
424
+ ...b,
402
425
  styles: E()
403
426
  }, e);
404
427
  }
405
- function pe(e) {
428
+ function ve(e) {
406
429
  return e.type === "repeatable" ? e.default ?? [] : e.type === "boolean" ? e.default ?? !1 : e.type === "number" ? e.default ?? 0 : e.default ?? "";
407
430
  }
408
- function me(e) {
431
+ function ye(e) {
409
432
  let t = {};
410
- for (let n of e.fields) t[n.key] = pe(n);
433
+ for (let n of e.fields) t[n.key] = ve(n);
411
434
  let n = w(E(), e.defaultStyles);
412
435
  return {
413
436
  id: T(),
@@ -418,14 +441,14 @@ function me(e) {
418
441
  ...e.dataSource ? { dataSourceFetched: !1 } : {}
419
442
  };
420
443
  }
421
- function he() {
444
+ function be() {
422
445
  return {
423
446
  id: T(),
424
447
  type: "slot",
425
448
  styles: E(0)
426
449
  };
427
450
  }
428
- function ge(e = {}) {
451
+ function xe(e = {}) {
429
452
  return w({
430
453
  id: T(),
431
454
  type: "wrapper",
@@ -433,7 +456,7 @@ function ge(e = {}) {
433
456
  styles: E(0)
434
457
  }, e);
435
458
  }
436
- function _e(e, t) {
459
+ function Se(e, t) {
437
460
  switch (e) {
438
461
  case "section": return M(t?.section);
439
462
  case "title": return D(t?.title);
@@ -465,72 +488,72 @@ function V(e) {
465
488
  if (!t.includes(n)) return t.push(n), n;
466
489
  }));
467
490
  }
468
- var H = "[Templatical] layout: must contain exactly one slot block", U = "[Templatical] layout: slot must be a top-level or wrapper child, not nested in a section", ve = "[Templatical] layout: a wrapper cannot contain a wrapper", ye = "[Templatical] layout: a wrapper around the slot cannot contain blocks that emit mj-wrapper (section.wrapper)", be = "[Templatical] slot is not a valid content block", xe = "[Templatical] wrapper is not a valid content block";
491
+ var H = "[Templatical] layout: must contain exactly one slot block", U = "[Templatical] layout: slot must be a top-level or wrapper child, not nested in a section", Ce = "[Templatical] layout: a wrapper cannot contain a wrapper", we = "[Templatical] layout: a wrapper around the slot cannot contain blocks that emit mj-wrapper (section.wrapper)", Te = "[Templatical] slot is not a valid content block", Ee = "[Templatical] wrapper is not a valid content block";
469
492
  function W(e, t, n = null, r = !1) {
470
- for (let i of e) if (t(i, n, r), u(i)) for (let e of i.children) W(e, t, i, !0);
471
- else p(i) && W(i.children, t, i, r);
493
+ for (let i of e) if (t(i, n, r), f(i)) for (let e of i.children) W(e, t, i, !0);
494
+ else m(i) && W(i.children, t, i, r);
472
495
  }
473
496
  function G(e) {
474
497
  let t = 0;
475
498
  if (W(e.blocks, (e, n, r) => {
476
- if (f(e) && (t += 1, r)) throw Error(U);
477
- if (p(e)) {
499
+ if (p(e) && (t += 1, r)) throw Error(U);
500
+ if (m(e)) {
478
501
  if (r) throw Error(U);
479
- if (e.children.some(p)) throw Error(ve);
502
+ if (e.children.some(m)) throw Error(Ce);
480
503
  }
481
504
  }), t !== 1) throw Error(H);
482
505
  }
483
506
  function K(e) {
484
507
  W(e.blocks, (e) => {
485
- if (f(e)) throw Error(be);
508
+ if (p(e)) throw Error(Te);
486
509
  });
487
510
  }
488
511
  function q(e) {
489
512
  W(e.blocks, (e) => {
490
- if (p(e)) throw Error(xe);
513
+ if (m(e)) throw Error(Ee);
491
514
  });
492
515
  }
493
- function Se(e) {
516
+ function De(e) {
494
517
  let t = !1;
495
518
  return W(e.blocks, (e, n) => {
496
- f(e) && n !== null && p(n) && (t = !0);
519
+ p(e) && n !== null && m(n) && (t = !0);
497
520
  }), t;
498
521
  }
499
- function Ce(e) {
500
- if (f(e)) return e;
501
- if (p(e)) {
522
+ function Oe(e) {
523
+ if (p(e)) return e;
524
+ if (m(e)) {
502
525
  let t = B({
503
526
  ...e,
504
527
  children: []
505
528
  });
506
- return t.children = e.children.map(Ce), t;
529
+ return t.children = e.children.map(Oe), t;
507
530
  }
508
531
  return B(e);
509
532
  }
510
- function we(e) {
533
+ function ke(e) {
511
534
  for (let t = 0; t < e.length; t++) {
512
535
  let n = e[t];
513
- if (f(n)) return {
536
+ if (p(n)) return {
514
537
  parent: e,
515
538
  index: t
516
539
  };
517
- if (p(n)) {
518
- let e = we(n.children);
540
+ if (m(n)) {
541
+ let e = ke(n.children);
519
542
  if (e) return e;
520
543
  }
521
544
  }
522
545
  return null;
523
546
  }
524
- function Te(e) {
525
- for (let t of e) if (u(t)) {
547
+ function Ae(e) {
548
+ for (let t of e) if (f(t)) {
526
549
  if (t.wrapper) return !0;
527
- for (let e of t.children) if (Te(e)) return !0;
550
+ for (let e of t.children) if (Ae(e)) return !0;
528
551
  }
529
552
  return !1;
530
553
  }
531
- function Ee(e, t) {
532
- if (G(e), K(t), q(t), Se(e) && Te(t.blocks)) throw Error(ye);
533
- let n = e.blocks.map(Ce), r = we(n);
554
+ function je(e, t) {
555
+ if (G(e), K(t), q(t), De(e) && Ae(t.blocks)) throw Error(we);
556
+ let n = e.blocks.map(Oe), r = ke(n);
534
557
  if (!r) throw Error(H);
535
558
  return r.parent.splice(r.index, 1, ...V(t.blocks)), {
536
559
  blocks: n,
@@ -540,30 +563,24 @@ function Ee(e, t) {
540
563
  }
541
564
  };
542
565
  }
543
- var De = /* @__PURE__ */ new Set(["\"", "'"]);
544
- function Oe(e, t) {
566
+ var Me = /* @__PURE__ */ new Set(["\"", "'"]);
567
+ function Ne(e, t) {
545
568
  let n = null;
546
569
  for (let r = t; r < e.length; r++) {
547
570
  let t = e[r];
548
- if (n !== null) {
549
- t === n && (n = null);
550
- continue;
551
- }
552
- if (De.has(t)) {
553
- n = t;
554
- continue;
555
- }
556
- if (t === ">") return r;
571
+ if (n !== null) t === n && (n = null);
572
+ else if (Me.has(t)) n = t;
573
+ else if (t === ">") return r;
557
574
  }
558
575
  return -1;
559
576
  }
560
- function ke(e) {
577
+ function Pe(e) {
561
578
  return e !== " " && e !== " " && e !== "\n" && e !== "\r" && e !== "\f" && e !== "=" && e !== ">" && e !== "/";
562
579
  }
563
580
  function J(e) {
564
581
  return e === " " || e === " " || e === "\n" || e === "\r" || e === "\f";
565
582
  }
566
- var Ae = {
583
+ var Fe = {
567
584
  amp: "&",
568
585
  lt: "<",
569
586
  gt: ">",
@@ -571,22 +588,22 @@ var Ae = {
571
588
  apos: "'",
572
589
  nbsp: "\xA0"
573
590
  };
574
- function je(e) {
591
+ function Ie(e) {
575
592
  return e.includes("&") ? e.replace(/&(#[0-9]+|#[xX][0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);/g, (e, t) => {
576
593
  if (t[0] === "#") {
577
594
  let n = t[1] === "x" || t[1] === "X" ? Number.parseInt(t.slice(2), 16) : Number.parseInt(t.slice(1), 10);
578
595
  return !Number.isFinite(n) || n < 1 || n > 1114111 || n >= 55296 && n <= 57343 ? e : String.fromCodePoint(n);
579
596
  }
580
- return Ae[t.toLowerCase()] ?? e;
597
+ return Fe[t.toLowerCase()] ?? e;
581
598
  }) : e;
582
599
  }
583
- function Me(e, t) {
600
+ function Le(e, t) {
584
601
  let n = t.toLowerCase(), r = 0;
585
602
  for (; r < e.length;) {
586
603
  for (; r < e.length && (J(e[r]) || e[r] === "/");) r++;
587
604
  if (r >= e.length) break;
588
605
  let t = r;
589
- for (; r < e.length && ke(e[r]);) r++;
606
+ for (; r < e.length && Pe(e[r]);) r++;
590
607
  let i = e.substring(t, r).toLowerCase();
591
608
  if (i === "") {
592
609
  r++;
@@ -596,16 +613,16 @@ function Me(e, t) {
596
613
  if (e[r] !== "=") continue;
597
614
  for (r++; r < e.length && J(e[r]);) r++;
598
615
  let a = e[r];
599
- if (De.has(a)) {
616
+ if (Me.has(a)) {
600
617
  let t = r + 1, o = e.indexOf(a, t);
601
618
  if (o === -1) return null;
602
- if (i === n) return je(e.substring(t, o));
619
+ if (i === n) return Ie(e.substring(t, o));
603
620
  r = o + 1;
604
621
  continue;
605
622
  }
606
623
  let o = r;
607
624
  for (; r < e.length && !J(e[r]) && e[r] !== ">";) r++;
608
- if (i === n) return je(e.substring(o, r));
625
+ if (i === n) return Ie(e.substring(o, r));
609
626
  }
610
627
  return null;
611
628
  }
@@ -626,33 +643,33 @@ var Y = {
626
643
  value: /%%=.+?=%%/g,
627
644
  logic: /%%\[\s*(\w+).*?\]%%/g
628
645
  }
629
- }, Ne = {
646
+ }, Re = {
630
647
  liquid: "{{",
631
648
  handlebars: "{{",
632
649
  mailchimp: "*|",
633
650
  ampscript: "%%="
634
- }, Pe = {
651
+ }, ze = {
635
652
  liquid: "}}",
636
653
  handlebars: "}}",
637
654
  mailchimp: "|*",
638
655
  ampscript: "=%%"
639
656
  };
640
- function Fe(e) {
641
- for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return Ne[t];
657
+ function Be(e) {
658
+ for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return Re[t];
642
659
  return null;
643
660
  }
644
- function Ie(e) {
645
- for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return Pe[t];
661
+ function Ve(e) {
662
+ for (let t of Object.keys(Y)) if (Y[t].value.source === e.value.source) return ze[t];
646
663
  return null;
647
664
  }
648
- function Le(e) {
665
+ function He(e) {
649
666
  return e ? typeof e == "string" ? Y[e] ?? Y.liquid : e : Y.liquid;
650
667
  }
651
668
  function X(e) {
652
669
  let t = e.source, n = e.flags.replace("g", "");
653
670
  return RegExp(`^${t}$`, n);
654
671
  }
655
- function Re(e, t) {
672
+ function Ue(e, t) {
656
673
  let n = e?.trim() || "";
657
674
  return !X(t.logic).test(n) && X(t.value).test(n);
658
675
  }
@@ -660,41 +677,41 @@ function Z(e, t) {
660
677
  let n = t.find((t) => t.value === e);
661
678
  return n ? n.label : e;
662
679
  }
663
- function ze(e, t) {
680
+ function We(e, t) {
664
681
  return $(e, "data-merge-tag", (e) => Z(e, t));
665
682
  }
666
683
  function Q(e, t) {
667
684
  return t.find((t) => t.value === e)?.sample;
668
685
  }
669
- function Be(e, t) {
670
- return $(e, "data-merge-tag", (e) => Ue(Q(e, t) ?? Z(e, t)), { unwrap: (e) => Q(e, t) !== void 0 });
686
+ function Ge(e, t) {
687
+ return $(e, "data-merge-tag", (e) => Je(Q(e, t) ?? Z(e, t)), { unwrap: (e) => Q(e, t) !== void 0 });
671
688
  }
672
- function Ve(e) {
689
+ function Ke(e) {
673
690
  return e.some((e) => e.sample !== void 0);
674
691
  }
675
- function He(e, t) {
692
+ function qe(e, t) {
676
693
  if (!e) return e;
677
694
  let n = e;
678
695
  for (let e of t) e.sample !== void 0 && (n = n.split(e.value).join(e.sample));
679
696
  return n;
680
697
  }
681
- function Ue(e) {
698
+ function Je(e) {
682
699
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;");
683
700
  }
684
- function We(e, t) {
701
+ function Ye(e, t) {
685
702
  if (!e) return !1;
686
703
  let n = new RegExp(t.value.source, t.value.flags), r = new RegExp(t.logic.source, t.logic.flags);
687
704
  return n.test(e) || r.test(e);
688
705
  }
689
- function Ge(e, t) {
706
+ function Xe(e, t) {
690
707
  return X(t.logic).test(e?.trim() || "");
691
708
  }
692
- function Ke(e, t) {
709
+ function Ze(e, t) {
693
710
  let n = new RegExp(t.logic.source, t.logic.flags.replace("g", "")), r = e.match(n);
694
711
  return r && r[1] ? r[1].toUpperCase() : e;
695
712
  }
696
- function qe(e, t) {
697
- return $(e, "data-logic-merge-tag", (e) => Ke(e, t));
713
+ function Qe(e, t) {
714
+ return $(e, "data-logic-merge-tag", (e) => Ze(e, t));
698
715
  }
699
716
  function $(e, t, n, r) {
700
717
  let i = "", a = 0;
@@ -709,7 +726,7 @@ function $(e, t, n, r) {
709
726
  i += e.substring(a, o + 5), a = o + 5;
710
727
  continue;
711
728
  }
712
- let c = Oe(e, o + 5);
729
+ let c = Ne(e, o + 5);
713
730
  if (c === -1) {
714
731
  i += e.substring(a);
715
732
  break;
@@ -719,7 +736,7 @@ function $(e, t, n, r) {
719
736
  i += e.substring(a);
720
737
  break;
721
738
  }
722
- let u = Me(e.substring(o + 5, c), t);
739
+ let u = Le(e.substring(o + 5, c), t);
723
740
  if (u === null) {
724
741
  i += e.substring(a, o + 5), a = o + 5;
725
742
  continue;
@@ -729,12 +746,12 @@ function $(e, t, n, r) {
729
746
  }
730
747
  return i;
731
748
  }
732
- function Je(e) {
749
+ function $e(e) {
733
750
  if (typeof e != "object" || !e) return !1;
734
751
  let t = e;
735
752
  return Array.isArray(t.blocks);
736
753
  }
737
- var Ye = class extends Error {
754
+ var et = class extends Error {
738
755
  statusCode;
739
756
  constructor(e, t) {
740
757
  super(e), this.statusCode = t, this.name = "SdkError";
@@ -750,4 +767,4 @@ var Ye = class extends Error {
750
767
  }
751
768
  };
752
769
  //#endregion
753
- export { V as $, D as A, Ve as B, L as C, P as D, he as E, Ke as F, u as G, Ge as H, Z as I, Se as J, f as K, Q as L, ge as M, C as N, F as O, T as P, Le as Q, Ie as R, k as S, M as T, Re as U, d as V, Je as W, qe as X, ue as Y, ze as Z, z as _, s as a, t as at, j as b, Y as c, K as d, Be as et, q as f, A as g, _e as h, oe as i, o as it, N as j, R as k, Ye as l, We as m, e as n, n as nt, c as o, G as ot, B as p, p as q, ae as r, r as rt, l as s, i as t, He as tt, Ee as u, me as v, O as w, I as x, se as y, Fe as z };
770
+ export { V as $, D as A, Ke as B, L as C, P as D, be as E, Ze as F, f as G, Xe as H, Z as I, De as J, p as K, Q as L, xe as M, C as N, F as O, T as P, He as Q, Ve as R, k as S, M as T, Ue as U, re as V, $e as W, Qe as X, he as Y, We as Z, z as _, s as a, n as at, j as b, Y as c, t as ct, K as d, ee as et, q as f, A as g, Se as h, x as i, qe as it, N as j, R as k, et as l, G as lt, Ye as m, e as n, te as nt, c as o, r as ot, B as p, m as q, de as r, Ge as rt, l as s, o as st, i as t, ne as tt, je as u, ye as v, O as w, I as x, fe as y, Be as z };
@@ -1,4 +1,4 @@
1
- import { _n as e, bt as t, f as n, s as r, un as i } from "./dist-BgSLW3Hn.js";
1
+ import { _n as e, bt as t, f as n, s as r, un as i } from "./dist-CMcFD7gP.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-text-style@3.31.4_@tiptap+core@3.31.4_@tiptap+pm@3.31.4_/node_modules/@tiptap/extension-text-style/dist/index.js
3
3
  var a = 20, o = (e, t = 0) => {
4
4
  let n = [];
@@ -1,4 +1,4 @@
1
- import { _n as e, f as t } from "./dist-BgSLW3Hn.js";
1
+ import { _n as e, f as t } from "./dist-CMcFD7gP.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-underline@3.31.4_@tiptap+core@3.31.4_@tiptap+pm@3.31.4_/node_modules/@tiptap/extension-underline/dist/index.js
3
3
  var n = t.create({
4
4
  name: "underline",
@@ -1,4 +1,4 @@
1
- import { Color as e } from "./dist-DmQckB4p.js";
1
+ import { Color as e } from "./dist-DHensKDY.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-color@3.31.4_@tiptap+extension-text-style@3.31.4_@tiptap+core@3.31.4_@tiptap+pm@3.31.4__/node_modules/@tiptap/extension-color/dist/index.js
3
3
  var t = e;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { _n as e, f as t } from "./dist-BgSLW3Hn.js";
1
+ import { _n as e, f as t } from "./dist-CMcFD7gP.js";
2
2
  //#region ../../node_modules/.pnpm/@tiptap+extension-subscript@3.31.4_@tiptap+core@3.31.4_@tiptap+pm@3.31.4__@tiptap+pm@3.31.4/node_modules/@tiptap/extension-subscript/dist/index.js
3
3
  var n = t.create({
4
4
  name: "subscript",