@templatical/editor 0.52.0 → 0.53.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 (400) hide show
  1. package/README.md +1 -1
  2. package/dist/AiAltTextPopover-NMJqQKvD.js +106 -0
  3. package/dist/{AiAltTextReview-DE8t8Rud.js → AiAltTextReview-Ci4zHwRc.js} +68 -66
  4. package/dist/{AiChatPanel-7ftS7d40.js → AiChatPanel-DdhtfsmO.js} +223 -210
  5. package/dist/{AiPanels-CxGp6klr.js → AiPanels-HBx7xoJR.js} +6 -6
  6. package/dist/{AiRewriteMenu-DNI-5CUj.js → AiRewriteMenu-DPzSekZt.js} +78 -107
  7. package/dist/BlockIssueBadge-eIXZJ9M3.js +33 -0
  8. package/dist/BlockPreviewCanvas-DO-2TP_6.js +140 -0
  9. package/dist/{CloudHeaderExtras-CsgyNNV1.js → CloudHeaderExtras-XpjJjn3o.js} +4 -4
  10. package/dist/{CloudPanels-BDV4XQ_l.js → CloudPanels-i2kZdrdP.js} +44 -44
  11. package/dist/CollaborationNotices-DANsjl7c.js +65 -0
  12. package/dist/{CollaboratorBar-EeqqWcX6.js → CollaboratorBar-CbbAA0m1.js} +24 -24
  13. package/dist/CommentsPanel-CYW3LWis.js +16 -0
  14. package/dist/CommentsSidebar-CcF4ISMi.js +526 -0
  15. package/dist/{CountdownBlock-BT3ZTH1F.js → CountdownBlock-BMezkFbJ.js} +21 -21
  16. package/dist/CountdownToolbar-D3Lv74kU.js +258 -0
  17. package/dist/{IssuesPanel-BHFQ3wrP.js → IssuesPanel-BMAG9042.js} +141 -129
  18. package/dist/LanguageMenu-FlP_Jbup.js +403 -0
  19. package/dist/{LoadingTrack-DZA5AoP9.js → LoadingTrack-BG8cg9xi.js} +2 -2
  20. package/dist/LocaleNotices-DAnVszWu.js +46 -0
  21. package/dist/{LogicTagInsertButton-CSD9cfJB.js → LogicTagInsertButton-BjYs-UQX.js} +439 -430
  22. package/dist/{MediaEditModal-DQl5w44r.js → MediaEditModal-LnG-cF_S.js} +160 -160
  23. package/dist/{MediaPanels-BFWYuJot.js → MediaPanels-C2r5fiFo.js} +4 -4
  24. package/dist/{cdn/chunks/MergeTagInput-CFu9VXPS.js → MergeTagInput-BsnogCeY.js} +32 -34
  25. package/dist/{MergeTagModeToggle-DvD0ne7N.js → MergeTagModeToggle-DiufIQ-_.js} +49 -49
  26. package/dist/MergeTagTextarea-BweI-Xsi.js +126 -0
  27. package/dist/{ParagraphEditor-D-nqs82g.js → ParagraphEditor-qgBp5yIB.js} +286 -257
  28. package/dist/{RestoreVersionDialog-DqUPsLB9.js → RestoreVersionDialog-DdYUrFiK.js} +23 -23
  29. package/dist/{RichTextEditorContent-Xq9D0Zs3.js → RichTextEditorContent-C5MAzx3E.js} +54 -53
  30. package/dist/{SaveBlockDialog-DAPv70p4.js → SaveBlockDialog-eK6fjtTy.js} +86 -86
  31. package/dist/SavedBlocksBrowserModal-D2QHd2Yp.js +359 -0
  32. package/dist/{SavedBlocksPanels-ChbL9v9x.js → SavedBlocksPanels-Cl61f4Mf.js} +9 -9
  33. package/dist/{SavedBlocksPickBar-hRaiLNdu.js → SavedBlocksPickBar-CXP2dkeB.js} +15 -15
  34. package/dist/TemplateSettings-BKJrdZcH.js +294 -0
  35. package/dist/TestEmailModal-DQotJg6g.js +212 -0
  36. package/dist/{TestEmailPanel-COJQa2A9.js → TestEmailPanel-CwiTzJsh.js} +4 -4
  37. package/dist/TitleEditor-CzSvsPAn.js +202 -0
  38. package/dist/ToggleSwitch-R3wCCYE6.js +43 -0
  39. package/dist/Toolbar-Cd75ci5W.js +3711 -0
  40. package/dist/{TplModal-9IndEYk5.js → TplModal-ZoXu40T9.js} +17 -17
  41. package/dist/{VersionHistoryMenu-BG5qayvg.js → VersionHistoryMenu-BvhN-Ofk.js} +39 -39
  42. package/dist/{VersionHistoryPanels-hPg7Q5-f.js → VersionHistoryPanels-DPWMnYbd.js} +5 -5
  43. package/dist/VersionPreviewBanner-CuJnasxH.js +37 -0
  44. package/dist/WrapperBlock-D4fPwO0t.js +44 -0
  45. package/dist/{blockTypeIcons-yt7SLzub.js → blockTypeIcons-BXMxu86H.js} +27 -26
  46. package/dist/bundle-stats.json +8 -8
  47. package/dist/{cdn/chunks/ca-CD-Kt1qz.js → ca-DOuIxWRv.js} +114 -2
  48. package/dist/cdn/chunks/AiAltTextPopover-ByZ0FEqI.js +107 -0
  49. package/dist/cdn/chunks/AiAltTextPopover-ByZ0FEqI.js.map +1 -0
  50. package/dist/cdn/chunks/{AiAltTextReview-BafAtBoA.js → AiAltTextReview-Dtm3A2cD.js} +71 -69
  51. package/dist/cdn/chunks/AiAltTextReview-Dtm3A2cD.js.map +1 -0
  52. package/dist/cdn/chunks/AiChatPanel-DciEt27y.js +487 -0
  53. package/dist/cdn/chunks/AiChatPanel-DciEt27y.js.map +1 -0
  54. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js → AiPanels-BV5D1itk.js} +11 -11
  55. package/dist/cdn/chunks/{AiPanels-B4uAVRoO.js.map → AiPanels-BV5D1itk.js.map} +1 -1
  56. package/dist/cdn/chunks/{AiRewriteMenu-4F6vwhJ5.js → AiRewriteMenu-D3jkh6Xb.js} +80 -80
  57. package/dist/cdn/chunks/AiRewriteMenu-D3jkh6Xb.js.map +1 -0
  58. package/dist/cdn/chunks/BlockIssueBadge-DyEgBZtR.js +34 -0
  59. package/dist/cdn/chunks/BlockIssueBadge-DyEgBZtR.js.map +1 -0
  60. package/dist/cdn/chunks/BlockPreviewCanvas-RQFilqXC.js +142 -0
  61. package/dist/cdn/chunks/{BlockPreviewCanvas-Ny1X_mee.js.map → BlockPreviewCanvas-RQFilqXC.js.map} +1 -1
  62. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js → CloudHeaderExtras-BtqdN777.js} +4 -4
  63. package/dist/cdn/chunks/{CloudHeaderExtras-DtMORiLS.js.map → CloudHeaderExtras-BtqdN777.js.map} +1 -1
  64. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js → CloudPanels-BSJ-Z5Hw.js} +43 -43
  65. package/dist/cdn/chunks/{CloudPanels-BkmLc2Fl.js.map → CloudPanels-BSJ-Z5Hw.js.map} +1 -1
  66. package/dist/cdn/chunks/CollaborationNotices-BS7xrlPE.js +67 -0
  67. package/dist/cdn/chunks/CollaborationNotices-BS7xrlPE.js.map +1 -0
  68. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js → CollaboratorBar-Bc9914Az.js} +16 -16
  69. package/dist/cdn/chunks/{CollaboratorBar-II8eYtKu.js.map → CollaboratorBar-Bc9914Az.js.map} +1 -1
  70. package/dist/cdn/chunks/CommentsPanel-DbR9phAk.js +18 -0
  71. package/dist/cdn/chunks/{CommentsPanel-CAiwilM2.js.map → CommentsPanel-DbR9phAk.js.map} +1 -1
  72. package/dist/cdn/chunks/CommentsSidebar-BD4--XP2.js +496 -0
  73. package/dist/cdn/chunks/CommentsSidebar-BD4--XP2.js.map +1 -0
  74. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js → CountdownBlock-CjMhMhnv.js} +26 -26
  75. package/dist/cdn/chunks/{CountdownBlock-Dyr5P0IP.js.map → CountdownBlock-CjMhMhnv.js.map} +1 -1
  76. package/dist/cdn/chunks/CountdownToolbar-DxwYBw-d.js +260 -0
  77. package/dist/cdn/chunks/CountdownToolbar-DxwYBw-d.js.map +1 -0
  78. package/dist/cdn/chunks/{IssuesPanel-pr7_nuLI.js → IssuesPanel-CUmI4HMm.js} +132 -120
  79. package/dist/cdn/chunks/IssuesPanel-CUmI4HMm.js.map +1 -0
  80. package/dist/cdn/chunks/LanguageMenu-3ydCozQJ.js +359 -0
  81. package/dist/cdn/chunks/LanguageMenu-3ydCozQJ.js.map +1 -0
  82. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js → LoadingTrack-DUYcDHOV.js} +2 -2
  83. package/dist/cdn/chunks/{LoadingTrack-DfJ_C33G.js.map → LoadingTrack-DUYcDHOV.js.map} +1 -1
  84. package/dist/cdn/chunks/LocaleNotices-BfoH6gST.js +47 -0
  85. package/dist/cdn/chunks/LocaleNotices-BfoH6gST.js.map +1 -0
  86. package/dist/cdn/chunks/{LogicTagInsertButton-B_ldj3TO.js → LogicTagInsertButton-5Z3fFzjc.js} +465 -456
  87. package/dist/cdn/chunks/LogicTagInsertButton-5Z3fFzjc.js.map +1 -0
  88. package/dist/cdn/chunks/{MediaEditModal-CGfzcHwP.js → MediaEditModal-DDCIwr9U.js} +439 -439
  89. package/dist/cdn/chunks/MediaEditModal-DDCIwr9U.js.map +1 -0
  90. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js → MediaPanels-Dz79oy8P.js} +5 -5
  91. package/dist/cdn/chunks/{MediaPanels-D0BdxdqP.js.map → MediaPanels-Dz79oy8P.js.map} +1 -1
  92. package/dist/cdn/chunks/MergeTagInput-CIWy-cXf.js +82 -0
  93. package/dist/cdn/chunks/{MergeTagInput-CFu9VXPS.js.map → MergeTagInput-CIWy-cXf.js.map} +1 -1
  94. package/dist/cdn/chunks/{MergeTagModeToggle-BFpK5dxg.js → MergeTagModeToggle-BrP5GR-x.js} +50 -50
  95. package/dist/cdn/chunks/MergeTagModeToggle-BrP5GR-x.js.map +1 -0
  96. package/dist/cdn/chunks/MergeTagTextarea-D3nNDlhV.js +128 -0
  97. package/dist/cdn/chunks/MergeTagTextarea-D3nNDlhV.js.map +1 -0
  98. package/dist/cdn/chunks/ParagraphEditor-DDolH_Pf.js +660 -0
  99. package/dist/cdn/chunks/ParagraphEditor-DDolH_Pf.js.map +1 -0
  100. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js → RestoreVersionDialog-Crj1DBqC.js} +18 -18
  101. package/dist/cdn/chunks/{RestoreVersionDialog-B866zFP0.js.map → RestoreVersionDialog-Crj1DBqC.js.map} +1 -1
  102. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js → RichTextEditorContent-rCCqFlwJ.js} +43 -43
  103. package/dist/cdn/chunks/{RichTextEditorContent-DaY63kye.js.map → RichTextEditorContent-rCCqFlwJ.js.map} +1 -1
  104. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js → SaveBlockDialog-C34RW1aM.js} +71 -71
  105. package/dist/cdn/chunks/{SaveBlockDialog-B7nftAAS.js.map → SaveBlockDialog-C34RW1aM.js.map} +1 -1
  106. package/dist/cdn/chunks/SavedBlocksBrowserModal-CJnwWPT-.js +356 -0
  107. package/dist/cdn/chunks/{SavedBlocksBrowserModal-B9XCjDfm.js.map → SavedBlocksBrowserModal-CJnwWPT-.js.map} +1 -1
  108. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js → SavedBlocksPanels-CA2PqXIH.js} +9 -9
  109. package/dist/cdn/chunks/{SavedBlocksPanels-C3nK90pz.js.map → SavedBlocksPanels-CA2PqXIH.js.map} +1 -1
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js → SavedBlocksPickBar-Dj3ortee.js} +16 -16
  111. package/dist/cdn/chunks/{SavedBlocksPickBar-B166Mek9.js.map → SavedBlocksPickBar-Dj3ortee.js.map} +1 -1
  112. package/dist/cdn/chunks/TemplateSettings-sW0ZlDl1.js +266 -0
  113. package/dist/cdn/chunks/TemplateSettings-sW0ZlDl1.js.map +1 -0
  114. package/dist/cdn/chunks/{TestEmailModal-DcwKhFnI.js → TestEmailModal-BXeCtTjU.js} +81 -78
  115. package/dist/cdn/chunks/TestEmailModal-BXeCtTjU.js.map +1 -0
  116. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js → TestEmailPanel-CpZcpB9D.js} +5 -5
  117. package/dist/cdn/chunks/{TestEmailPanel-BDBAvAfI.js.map → TestEmailPanel-CpZcpB9D.js.map} +1 -1
  118. package/dist/cdn/chunks/TitleEditor-Bv3SmSO6.js +202 -0
  119. package/dist/cdn/chunks/TitleEditor-Bv3SmSO6.js.map +1 -0
  120. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js +45 -0
  121. package/dist/cdn/chunks/ToggleSwitch-BSkySwA1.js.map +1 -0
  122. package/dist/cdn/chunks/Toolbar-BJKpJ2Mg.js +3626 -0
  123. package/dist/cdn/chunks/Toolbar-BJKpJ2Mg.js.map +1 -0
  124. package/dist/cdn/chunks/{TplModal-BDyeS69p.js → TplModal-DDDUDMYC.js} +19 -19
  125. package/dist/cdn/chunks/{TplModal-BDyeS69p.js.map → TplModal-DDDUDMYC.js.map} +1 -1
  126. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js → VersionHistoryMenu-DSElv3Sv.js} +36 -36
  127. package/dist/cdn/chunks/{VersionHistoryMenu-CmpgUI4Q.js.map → VersionHistoryMenu-DSElv3Sv.js.map} +1 -1
  128. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js → VersionHistoryPanels-H2nuik1l.js} +6 -6
  129. package/dist/cdn/chunks/{VersionHistoryPanels-DB_FZyyg.js.map → VersionHistoryPanels-H2nuik1l.js.map} +1 -1
  130. package/dist/cdn/chunks/VersionPreviewBanner-Whwxh55w.js +39 -0
  131. package/dist/cdn/chunks/VersionPreviewBanner-Whwxh55w.js.map +1 -0
  132. package/dist/cdn/chunks/WrapperBlock-jTqsuLnS.js +46 -0
  133. package/dist/cdn/chunks/WrapperBlock-jTqsuLnS.js.map +1 -0
  134. package/dist/cdn/chunks/blockTypeIcons-DMgLcuI8.js +21 -0
  135. package/dist/cdn/chunks/blockTypeIcons-DMgLcuI8.js.map +1 -0
  136. package/dist/{ca-CD-Kt1qz.js → cdn/chunks/ca-DOuIxWRv.js} +116 -0
  137. package/dist/cdn/chunks/ca-DOuIxWRv.js.map +1 -0
  138. package/dist/cdn/chunks/composables-D0UYam2P.js +3039 -0
  139. package/dist/cdn/chunks/composables-D0UYam2P.js.map +1 -0
  140. package/dist/cdn/chunks/{createCloudRuntime-D6niZ2Rc.js → createCloudRuntime-BdsclY8_.js} +85 -83
  141. package/dist/cdn/chunks/createCloudRuntime-BdsclY8_.js.map +1 -0
  142. package/dist/{de-CeFJ6wbM.js → cdn/chunks/de-DaOUfYBX.js} +116 -0
  143. package/dist/cdn/chunks/de-DaOUfYBX.js.map +1 -0
  144. package/dist/{dist-CEdyyDn7.js → cdn/chunks/dist-BzXULHvI.js} +63 -61
  145. package/dist/cdn/chunks/{dist-C2epoAwW.js.map → dist-BzXULHvI.js.map} +1 -1
  146. package/dist/{dist-BA-jTQgw.js → cdn/chunks/dist-DqGgijFI.js} +108 -109
  147. package/dist/cdn/chunks/{dist-CONcGNwy.js.map → dist-DqGgijFI.js.map} +1 -1
  148. package/dist/cdn/chunks/{draggable-B8hTTYFO.js → draggable-DepKdldn.js} +1384 -1376
  149. package/dist/cdn/chunks/draggable-DepKdldn.js.map +1 -0
  150. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js → editor-modal-CPbgthOv.js} +986 -986
  151. package/dist/cdn/chunks/{editor-modal-cvYkpbHD.js.map → editor-modal-CPbgthOv.js.map} +1 -1
  152. package/dist/{en-D14i5nFh.js → cdn/chunks/en-C0pHHMiR.js} +116 -0
  153. package/dist/cdn/chunks/en-C0pHHMiR.js.map +1 -0
  154. package/dist/cdn/chunks/en-IYVryJRl.js +1 -0
  155. package/dist/{es-zDacbMhs.js → cdn/chunks/es-CxyEKr6n.js} +116 -0
  156. package/dist/cdn/chunks/es-CxyEKr6n.js.map +1 -0
  157. package/dist/cdn/chunks/{extensions-ClDhn88e.js → extensions-Uh9vuFfK.js} +57 -57
  158. package/dist/cdn/chunks/{extensions-ClDhn88e.js.map → extensions-Uh9vuFfK.js.map} +1 -1
  159. package/dist/{fr-CSgYtjOd.js → cdn/chunks/fr-CYbamiI6.js} +116 -0
  160. package/dist/cdn/chunks/fr-CYbamiI6.js.map +1 -0
  161. package/dist/cdn/chunks/{icons-HCBP93Ch.js → icons-CSSMtbGK.js} +187 -144
  162. package/dist/cdn/chunks/icons-CSSMtbGK.js.map +1 -0
  163. package/dist/{ja-B7H3ID8O.js → cdn/chunks/ja-DfaIAoGI.js} +116 -0
  164. package/dist/cdn/chunks/ja-DfaIAoGI.js.map +1 -0
  165. package/dist/cdn/chunks/keys-CoQtCqNv.js +11 -0
  166. package/dist/cdn/chunks/keys-CoQtCqNv.js.map +1 -0
  167. package/dist/cdn/chunks/languageName-DEEOhDWI.js +12 -0
  168. package/dist/cdn/chunks/languageName-DEEOhDWI.js.map +1 -0
  169. package/dist/cdn/chunks/{liquid.browser-DkLBNrft.js → liquid.browser-rubac0VA.js} +782 -746
  170. package/dist/cdn/chunks/liquid.browser-rubac0VA.js.map +1 -0
  171. package/dist/{nl-176ySmc5.js → cdn/chunks/nl-DkrB-VKZ.js} +116 -0
  172. package/dist/cdn/chunks/nl-DkrB-VKZ.js.map +1 -0
  173. package/dist/cdn/chunks/normalizeMergeTagMarkup-oGhwVscw.js +290 -0
  174. package/dist/cdn/chunks/normalizeMergeTagMarkup-oGhwVscw.js.map +1 -0
  175. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js +16 -0
  176. package/dist/cdn/chunks/noticeTones-D7BPu-Le.js.map +1 -0
  177. package/dist/cdn/chunks/plural-CyxrJXL1.js +17 -0
  178. package/dist/cdn/chunks/plural-CyxrJXL1.js.map +1 -0
  179. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js → preRenderCustomBlocks-C8k7tw98.js} +5 -5
  180. package/dist/cdn/chunks/{preRenderCustomBlocks-D-dsBq5t.js.map → preRenderCustomBlocks-C8k7tw98.js.map} +1 -1
  181. package/dist/cdn/chunks/{pt-BR-dDlTwX18.js → pt-BR-CY5Ye7eP.js} +115 -1
  182. package/dist/cdn/chunks/pt-BR-CY5Ye7eP.js.map +1 -0
  183. package/dist/cdn/chunks/sanitizeHtml-DYklmvgX.js +61 -0
  184. package/dist/cdn/chunks/sanitizeHtml-DYklmvgX.js.map +1 -0
  185. package/dist/cdn/chunks/socialIcons-BAiuHyJs.js +2638 -0
  186. package/dist/cdn/chunks/socialIcons-BAiuHyJs.js.map +1 -0
  187. package/dist/cdn/chunks/src-CACM3o--.js +2606 -0
  188. package/dist/cdn/chunks/src-CACM3o--.js.map +1 -0
  189. package/dist/cdn/chunks/{src-CUH_EI7k.js → src-Ddpm4HsS.js} +225 -259
  190. package/dist/cdn/chunks/src-Ddpm4HsS.js.map +1 -0
  191. package/dist/cdn/chunks/{src-BKpAis_q.js → src-DheBmnvF.js} +635 -478
  192. package/dist/cdn/chunks/src-DheBmnvF.js.map +1 -0
  193. package/dist/{styleConstants-B8xVRiwX.js → cdn/chunks/styleConstants-CgiNKdnc.js} +7 -5
  194. package/dist/cdn/chunks/styleConstants-CgiNKdnc.js.map +1 -0
  195. package/dist/cdn/chunks/templateSettingsFields-cjlP-jdw.js.map +1 -1
  196. package/dist/cdn/chunks/{tiptap-ChSZybTi.js → tiptap-Dipw_zOQ.js} +48 -48
  197. package/dist/cdn/chunks/{tiptap-ChSZybTi.js.map → tiptap-Dipw_zOQ.js.map} +1 -1
  198. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js → useCloudI18n-Cc5NZqiI.js} +3 -3
  199. package/dist/cdn/chunks/{useCloudI18n-RJXyVnIf.js.map → useCloudI18n-Cc5NZqiI.js.map} +1 -1
  200. package/dist/cdn/chunks/useEditorRoot-D_LuZ_hE.js +9 -0
  201. package/dist/cdn/chunks/{useEditorRoot-BT3c9CXj.js.map → useEditorRoot-D_LuZ_hE.js.map} +1 -1
  202. package/dist/cdn/chunks/{useI18n-11iqzC6m.js → useI18n-BnJYydPv.js} +3 -3
  203. package/dist/cdn/chunks/{useI18n-11iqzC6m.js.map → useI18n-BnJYydPv.js.map} +1 -1
  204. package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js +33 -0
  205. package/dist/cdn/chunks/useLocalizedDisplay-yXbRKNrs.js.map +1 -0
  206. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js → useLogicTag-B7RpqVFQ.js} +5 -5
  207. package/dist/cdn/chunks/{useLogicTag-vy5KGg5D.js.map → useLogicTag-B7RpqVFQ.js.map} +1 -1
  208. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js → useMergeTag-C-32ETjj.js} +6 -6
  209. package/dist/cdn/chunks/{useMergeTag-BFBBjnwh.js.map → useMergeTag-C-32ETjj.js.map} +1 -1
  210. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js +78 -0
  211. package/dist/cdn/chunks/usePopoverPosition-BWAXWeBv.js.map +1 -0
  212. package/dist/cdn/chunks/{useScrollToBlock-C0dawxGr.js → useScrollToBlock-Ct1AwLD-.js} +5 -5
  213. package/dist/cdn/chunks/useScrollToBlock-Ct1AwLD-.js.map +1 -0
  214. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js → withCurrentFont-D33ZXoWp.js} +2 -2
  215. package/dist/cdn/chunks/{withCurrentFont-C3CquBQN.js.map → withCurrentFont-D33ZXoWp.js.map} +1 -1
  216. package/dist/cdn/editor.css +1 -1
  217. package/dist/cdn/editor.js +2503 -1809
  218. package/dist/cdn/editor.js.map +1 -1
  219. package/dist/{check-N3x4z_rH.js → check-ChQ0l8EQ.js} +1 -1
  220. package/dist/{chevron-down-gXu9qNwO.js → chevron-down-Bh6cp6PI.js} +1 -1
  221. package/dist/{chevron-right-rL0ayGk5.js → chevron-right-LUgdqdoW.js} +1 -1
  222. package/dist/{chevron-up-0ugh8HnW.js → chevron-up-XsDeJxQN.js} +1 -1
  223. package/dist/{circle-alert-B9Ls75B5.js → circle-alert-lODfDsrj.js} +1 -1
  224. package/dist/{clock-BqHBaCLm.js → clock-DrqFEZkT.js} +1 -1
  225. package/dist/composables-BOP3ERRP.js +4517 -0
  226. package/dist/{createCloudRuntime-B5VIdnwz.js → createCloudRuntime-DGV5a5Af.js} +47 -45
  227. package/dist/{createLucideIcon-BV7Gwz_Z.js → createLucideIcon-Dw5e5gVE.js} +16 -16
  228. package/dist/{cdn/chunks/de-CeFJ6wbM.js → de-DaOUfYBX.js} +114 -2
  229. package/dist/{cdn/chunks/dist-CONcGNwy.js → dist-0alKVRc_.js} +100 -99
  230. package/dist/{dist-Cy8I5scI.js → dist-54VCNoC0.js} +2 -2
  231. package/dist/dist-6DU0me3E.js +4 -0
  232. package/dist/{dist-p3wymUDt.js → dist-B8dY8drK.js} +2 -2
  233. package/dist/{dist-Dd5MU2Ev.js → dist-B9a7iVye.js} +2 -2
  234. package/dist/{dist-V7W1UhVr.js → dist-BWflWcpW.js} +2 -2
  235. package/dist/{dist-D6fZec6r.js → dist-C3hu_C3w.js} +2 -2
  236. package/dist/{cdn/chunks/dist-C2epoAwW.js → dist-CX7skkvG.js} +29 -31
  237. package/dist/dist-CcOn7WCo.js +4 -0
  238. package/dist/dist-Cdkm20M6.js +2542 -0
  239. package/dist/{dist-BS5uKktL.js → dist-ChOb5XHW.js} +2 -2
  240. package/dist/{dist-BF5zEHop.js → dist-DZ3X-uB8.js} +2 -2
  241. package/dist/{dist-CWSG7Kj0.js → dist-D_XrUEET.js} +5 -5
  242. package/dist/{dist-txQLT2sF.js → dist-TAv500j6.js} +2 -2
  243. package/dist/{dist-DDN7yR-w.js → dist-fqSers8_.js} +131 -131
  244. package/dist/{editor-modal-Du9VI9q4.js → editor-modal-B_2EAOjN.js} +907 -906
  245. package/dist/{cdn/chunks/en-D14i5nFh.js → en-C0pHHMiR.js} +114 -2
  246. package/dist/en-DTtwco2Q.js +1 -0
  247. package/dist/{cdn/chunks/es-zDacbMhs.js → es-CxyEKr6n.js} +114 -2
  248. package/dist/{extensions-FRYhx7qa.js → extensions-DOLZkLzV.js} +173 -173
  249. package/dist/{eye-BKj9Tfnc.js → eye-DChfk0gi.js} +1 -1
  250. package/dist/{cdn/chunks/fr-CSgYtjOd.js → fr-CYbamiI6.js} +114 -2
  251. package/dist/{image-DNdvdTla.js → image--Hj2by1G.js} +1 -1
  252. package/dist/index.d.ts +182 -14
  253. package/dist/{info-Bx-kBkbH.js → info-BbXgy82f.js} +1 -1
  254. package/dist/{cdn/chunks/ja-B7H3ID8O.js → ja-DfaIAoGI.js} +114 -2
  255. package/dist/keys-BCqskl51.js +9 -0
  256. package/dist/languageName-DEEOhDWI.js +10 -0
  257. package/dist/{link-D8-rYdIQ.js → link-C2_8yJno.js} +1 -1
  258. package/dist/{liquid.browser-D1RxawkY.js → liquid.browser-DUXEekoN.js} +781 -745
  259. package/dist/{list-BneisA27.js → list-DLGs2n0V.js} +1 -1
  260. package/dist/{loader-circle-DBEXphyx.js → loader-circle-BbDItE_O.js} +1 -1
  261. package/dist/{message-circle-Bg4xInCM.js → message-circle-NAModq0p.js} +1 -1
  262. package/dist/{cdn/chunks/nl-176ySmc5.js → nl-DkrB-VKZ.js} +114 -2
  263. package/dist/normalizeMergeTagMarkup-CUCo7B5X.js +288 -0
  264. package/dist/noticeTones-D7BPu-Le.js +14 -0
  265. package/dist/{package-B40Vkfsp.js → package-BuzsfRyH.js} +1 -1
  266. package/dist/{pencil-CYdAHTds.js → pencil-BTUUECH4.js} +1 -1
  267. package/dist/plural-CyxrJXL1.js +15 -0
  268. package/dist/plus-Dm7DN65T.js +13 -0
  269. package/dist/{preRenderCustomBlocks-AbZArwkR.js → preRenderCustomBlocks-Bs3N9no-.js} +4 -4
  270. package/dist/{pt-BR-dDlTwX18.js → pt-BR-CY5Ye7eP.js} +114 -0
  271. package/dist/{refresh-cw-Bb1FWrU0.js → refresh-cw-xMURqGWi.js} +2 -12
  272. package/dist/rotate-ccw-DqVcEIn5.js +13 -0
  273. package/dist/{runtime-dom.esm-bundler-CLGymEyk.js → runtime-dom.esm-bundler-DlHp8xgy.js} +167 -167
  274. package/dist/sanitizeHtml-mKgNUdME.js +962 -0
  275. package/dist/{search-BZEo08gi.js → search-Cfr3W44N.js} +1 -1
  276. package/dist/{send-DHtrnXQs.js → send-CH1SrvyB.js} +1 -1
  277. package/dist/{smartphone-dlN3vpA3.js → smartphone-pAkvzjdI.js} +1 -1
  278. package/dist/socialIcons-Dqr4DJOz.js +2705 -0
  279. package/dist/{sparkles-NOttoDnJ.js → sparkles-CRO0cCnp.js} +1 -1
  280. package/dist/{square-B1CJgdt2.js → square-CaQWMntx.js} +1 -1
  281. package/dist/style.css +1 -1
  282. package/dist/{cdn/chunks/styleConstants-B8xVRiwX.js → styleConstants-CgiNKdnc.js} +5 -7
  283. package/dist/templatical-editor.js +2294 -1608
  284. package/dist/{text-align-start-zpoXmb-Z.js → text-align-start-BQ39AaRK.js} +1 -1
  285. package/dist/{trash-CGbk4Sgt.js → trash-BL5gEFHN.js} +1 -1
  286. package/dist/{triangle-alert-CKLMyGVp.js → triangle-alert-BYbKu7zZ.js} +1 -1
  287. package/dist/{upload-DQoackAn.js → upload-BhmL4Vqx.js} +1 -1
  288. package/dist/{useCloudI18n-DcLtxOQZ.js → useCloudI18n-Dh2iydo1.js} +4 -4
  289. package/dist/useEditorRoot-DY3mgcHm.js +7 -0
  290. package/dist/{useI18n-CeTm777E.js → useI18n-CgtvtF4C.js} +4 -4
  291. package/dist/useLocalizedDisplay-DNNwDRxL.js +31 -0
  292. package/dist/{useLogicTag-DFDYJeMN.js → useLogicTag-BXXXQQmi.js} +4 -4
  293. package/dist/{useMergeTag-B46vACAG.js → useMergeTag-C9Okr87y.js} +5 -5
  294. package/dist/usePopoverPosition-VDQjyX_A.js +76 -0
  295. package/dist/{useScrollToBlock-C-NzvjeO.js → useScrollToBlock-C0Kapxdh.js} +5 -5
  296. package/dist/{vue.runtime.esm-bundler-CrlI8j5R.js → vue.runtime.esm-bundler-BJXc_Mri.js} +1247 -1239
  297. package/dist/withCurrentFont-DJiQqZzL.js +18 -0
  298. package/dist/{x-zcrnmcmU.js → x-B7NZYzhx.js} +1 -1
  299. package/package.json +23 -23
  300. package/dist/AiAltTextPopover-Cm11CsKH.js +0 -105
  301. package/dist/BlockIssueBadge-6Ri2FfX-.js +0 -33
  302. package/dist/BlockPreviewCanvas-Df9iz7sK.js +0 -140
  303. package/dist/CollaborationNotices-JQ3vQoqO.js +0 -75
  304. package/dist/CommentsPanel-BuftXc0U.js +0 -16
  305. package/dist/CommentsSidebar-Co3x4uH0.js +0 -499
  306. package/dist/CountdownToolbar-CrL4WKy9.js +0 -197
  307. package/dist/MergeTagInput-DE7kWwXx.js +0 -80
  308. package/dist/MergeTagTextarea-DVPQkiYY.js +0 -69
  309. package/dist/SavedBlocksBrowserModal-SRtN5h9q.js +0 -359
  310. package/dist/TemplateSettings-D0XcH32O.js +0 -236
  311. package/dist/TestEmailModal-Cb5t0yB2.js +0 -209
  312. package/dist/TitleEditor-BYk_9SpQ.js +0 -198
  313. package/dist/ToggleSwitch-poGWbduy.js +0 -36
  314. package/dist/Toolbar-Dku_pZni.js +0 -3145
  315. package/dist/VersionPreviewBanner-CSs7zum_.js +0 -37
  316. package/dist/WrapperBlock-DwjK_IdJ.js +0 -44
  317. package/dist/cdn/chunks/AiAltTextPopover-DjMoJCgU.js +0 -106
  318. package/dist/cdn/chunks/AiAltTextPopover-DjMoJCgU.js.map +0 -1
  319. package/dist/cdn/chunks/AiAltTextReview-BafAtBoA.js.map +0 -1
  320. package/dist/cdn/chunks/AiChatPanel-DXeZgc7D.js +0 -474
  321. package/dist/cdn/chunks/AiChatPanel-DXeZgc7D.js.map +0 -1
  322. package/dist/cdn/chunks/AiRewriteMenu-4F6vwhJ5.js.map +0 -1
  323. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js +0 -34
  324. package/dist/cdn/chunks/BlockIssueBadge-DIJDqqcY.js.map +0 -1
  325. package/dist/cdn/chunks/BlockPreviewCanvas-Ny1X_mee.js +0 -142
  326. package/dist/cdn/chunks/CollaborationNotices-Hf8r08Sw.js +0 -77
  327. package/dist/cdn/chunks/CollaborationNotices-Hf8r08Sw.js.map +0 -1
  328. package/dist/cdn/chunks/CommentsPanel-CAiwilM2.js +0 -18
  329. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js +0 -469
  330. package/dist/cdn/chunks/CommentsSidebar-Dj8sDiLN.js.map +0 -1
  331. package/dist/cdn/chunks/CountdownToolbar-CguFJdqn.js +0 -199
  332. package/dist/cdn/chunks/CountdownToolbar-CguFJdqn.js.map +0 -1
  333. package/dist/cdn/chunks/IssuesPanel-pr7_nuLI.js.map +0 -1
  334. package/dist/cdn/chunks/LogicTagInsertButton-B_ldj3TO.js.map +0 -1
  335. package/dist/cdn/chunks/MediaEditModal-CGfzcHwP.js.map +0 -1
  336. package/dist/cdn/chunks/MergeTagModeToggle-BFpK5dxg.js.map +0 -1
  337. package/dist/cdn/chunks/MergeTagTextarea-Zo0mYWbf.js +0 -71
  338. package/dist/cdn/chunks/MergeTagTextarea-Zo0mYWbf.js.map +0 -1
  339. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js +0 -631
  340. package/dist/cdn/chunks/ParagraphEditor-DsPLVAgm.js.map +0 -1
  341. package/dist/cdn/chunks/SavedBlocksBrowserModal-B9XCjDfm.js +0 -356
  342. package/dist/cdn/chunks/TemplateSettings-jWpmuWDR.js +0 -208
  343. package/dist/cdn/chunks/TemplateSettings-jWpmuWDR.js.map +0 -1
  344. package/dist/cdn/chunks/TestEmailModal-DcwKhFnI.js.map +0 -1
  345. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js +0 -198
  346. package/dist/cdn/chunks/TitleEditor-R2lQw6WA.js.map +0 -1
  347. package/dist/cdn/chunks/ToggleSwitch-BDMugNES.js +0 -38
  348. package/dist/cdn/chunks/ToggleSwitch-BDMugNES.js.map +0 -1
  349. package/dist/cdn/chunks/Toolbar-CnvfW72e.js +0 -3061
  350. package/dist/cdn/chunks/Toolbar-CnvfW72e.js.map +0 -1
  351. package/dist/cdn/chunks/VersionPreviewBanner-CZ--HOoa.js +0 -39
  352. package/dist/cdn/chunks/VersionPreviewBanner-CZ--HOoa.js.map +0 -1
  353. package/dist/cdn/chunks/WrapperBlock-D3obNGab.js +0 -46
  354. package/dist/cdn/chunks/WrapperBlock-D3obNGab.js.map +0 -1
  355. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js +0 -21
  356. package/dist/cdn/chunks/blockTypeIcons-DFf7AyqI.js.map +0 -1
  357. package/dist/cdn/chunks/ca-CD-Kt1qz.js.map +0 -1
  358. package/dist/cdn/chunks/createCloudRuntime-D6niZ2Rc.js.map +0 -1
  359. package/dist/cdn/chunks/de-CeFJ6wbM.js.map +0 -1
  360. package/dist/cdn/chunks/draggable-B8hTTYFO.js.map +0 -1
  361. package/dist/cdn/chunks/en-CKAXAo3Z.js +0 -1
  362. package/dist/cdn/chunks/en-D14i5nFh.js.map +0 -1
  363. package/dist/cdn/chunks/es-zDacbMhs.js.map +0 -1
  364. package/dist/cdn/chunks/fr-CSgYtjOd.js.map +0 -1
  365. package/dist/cdn/chunks/icons-HCBP93Ch.js.map +0 -1
  366. package/dist/cdn/chunks/ja-B7H3ID8O.js.map +0 -1
  367. package/dist/cdn/chunks/keys-BF9gazbd.js +0 -11
  368. package/dist/cdn/chunks/keys-BF9gazbd.js.map +0 -1
  369. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +0 -1
  370. package/dist/cdn/chunks/nl-176ySmc5.js.map +0 -1
  371. package/dist/cdn/chunks/normalizeMergeTagMarkup-DpHCSESZ.js +0 -198
  372. package/dist/cdn/chunks/normalizeMergeTagMarkup-DpHCSESZ.js.map +0 -1
  373. package/dist/cdn/chunks/pt-BR-dDlTwX18.js.map +0 -1
  374. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js +0 -72
  375. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js.map +0 -1
  376. package/dist/cdn/chunks/socialIcons-rJoqO1TJ.js +0 -2008
  377. package/dist/cdn/chunks/socialIcons-rJoqO1TJ.js.map +0 -1
  378. package/dist/cdn/chunks/src-BKpAis_q.js.map +0 -1
  379. package/dist/cdn/chunks/src-C9DTvn1H.js +0 -1423
  380. package/dist/cdn/chunks/src-C9DTvn1H.js.map +0 -1
  381. package/dist/cdn/chunks/src-CUH_EI7k.js.map +0 -1
  382. package/dist/cdn/chunks/styleConstants-B8xVRiwX.js.map +0 -1
  383. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js +0 -2534
  384. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +0 -1
  385. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +0 -9
  386. package/dist/cdn/chunks/usePopoverPosition-AnVIwiVv.js +0 -70
  387. package/dist/cdn/chunks/usePopoverPosition-AnVIwiVv.js.map +0 -1
  388. package/dist/cdn/chunks/useScrollToBlock-C0dawxGr.js.map +0 -1
  389. package/dist/dist-CzrLYq2s.js +0 -1363
  390. package/dist/dist-DyFArF_G.js +0 -4
  391. package/dist/dist-pA3ooG6N.js +0 -4
  392. package/dist/en-CyEE7FPY.js +0 -1
  393. package/dist/keys-DBjrQkYH.js +0 -9
  394. package/dist/normalizeMergeTagMarkup-IH8COHzd.js +0 -196
  395. package/dist/sanitizeHtml-CnOA1efV.js +0 -942
  396. package/dist/socialIcons-B_d52_eS.js +0 -2075
  397. package/dist/useEditorCore-DG9UvWUm.js +0 -4011
  398. package/dist/useEditorRoot-BKr6nNkC.js +0 -7
  399. package/dist/usePopoverPosition-C42kD7zt.js +0 -68
  400. package/dist/withCurrentFont-v_a4Oso8.js +0 -18
@@ -1,7 +1,7 @@
1
- import { At as e, C as t, E as n, F as r, H as i, I as a, Mt as o, N as s, P as c, Q as l, V as u, _ as d, a as f, c as p, d as m, f as h, g, j as _, jt as ee, l as v, ot as y, r as te, u as b, y as x, z as ne } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
- import { a as re, c as ie, o as ae, t as oe } from "./runtime-dom.esm-bundler-CLGymEyk.js";
1
+ import { B as e, D as t, F as n, Ft as r, I as i, L as a, M as o, Mt as s, P as c, Pt as l, U as u, W as d, _ as f, a as p, c as m, ct as h, d as g, et as _, f as v, g as ee, l as y, r as te, u as b, w as ne, y as x } from "./vue.runtime.esm-bundler-BJXc_Mri.js";
2
+ import { a as re, c as ie, o as ae, t as oe } from "./runtime-dom.esm-bundler-DlHp8xgy.js";
3
3
  import { t as se } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
4
- import { a as ce, n as le, o as ue, r as de, t as fe } from "./editor-modal-Du9VI9q4.js";
4
+ import { a as ce, n as le, o as ue, r as de, t as fe } from "./editor-modal-B_2EAOjN.js";
5
5
  // ../media-library/src/composables/useImageCrop.ts
6
6
  var pe = {
7
7
  free: void 0,
@@ -359,23 +359,23 @@ var z = function(e, t) {
359
359
  "enter"
360
360
  ]
361
361
  };
362
- ke.render = function(e, t, n, r, i, a) {
363
- return _(), b("div", {
362
+ ke.render = function(e, t, r, i, a, s) {
363
+ return o(), b("div", {
364
364
  ref: "draggable",
365
- class: n.classname,
365
+ class: r.classname,
366
366
  onTouchstart: t[1] ||= function() {
367
- return a.onTouchStart && a.onTouchStart.apply(a, arguments);
367
+ return s.onTouchStart && s.onTouchStart.apply(s, arguments);
368
368
  },
369
369
  onMousedown: t[2] ||= function() {
370
- return a.onMouseDown && a.onMouseDown.apply(a, arguments);
370
+ return s.onMouseDown && s.onMouseDown.apply(s, arguments);
371
371
  },
372
372
  onMouseover: t[3] ||= function() {
373
- return a.onMouseOver && a.onMouseOver.apply(a, arguments);
373
+ return s.onMouseOver && s.onMouseOver.apply(s, arguments);
374
374
  },
375
375
  onMouseleave: t[4] ||= function() {
376
- return a.onMouseLeave && a.onMouseLeave.apply(a, arguments);
376
+ return s.onMouseLeave && s.onMouseLeave.apply(s, arguments);
377
377
  }
378
- }, [c(e.$slots, "default")], 34);
378
+ }, [n(e.$slots, "default")], 34);
379
379
  };
380
380
  var Ae = A("vue-handler-wrapper"), je = {
381
381
  name: "HandlerWrapper",
@@ -406,10 +406,10 @@ var Ae = A("vue-handler-wrapper"), je = {
406
406
  "drag-end"
407
407
  ]
408
408
  };
409
- je.render = function(e, t, n, i, a, o) {
410
- var s = r("DraggableElement");
411
- return _(), b("div", { class: o.classes.root }, [d(s, {
412
- class: o.classes.draggable,
409
+ je.render = function(e, t, r, a, s, c) {
410
+ var l = i("DraggableElement");
411
+ return o(), b("div", { class: c.classes.root }, [f(l, {
412
+ class: c.classes.draggable,
413
413
  onDrag: t[1] ||= function(t) {
414
414
  return e.$emit("drag", t);
415
415
  },
@@ -424,7 +424,7 @@ je.render = function(e, t, n, i, a, o) {
424
424
  }
425
425
  }, {
426
426
  default: u((function() {
427
- return [c(e.$slots, "default")];
427
+ return [n(e.$slots, "default")];
428
428
  })),
429
429
  _: 3
430
430
  }, 8, ["class"])], 2);
@@ -453,10 +453,10 @@ var Me = A("vue-line-wrapper"), Ne = {
453
453
  "drag-end"
454
454
  ]
455
455
  };
456
- Ne.render = function(e, t, n, i, a, o) {
457
- var s = r("DraggableElement");
458
- return _(), b(s, {
459
- class: o.classname,
456
+ Ne.render = function(e, t, r, a, s, c) {
457
+ var l = i("DraggableElement");
458
+ return o(), b(l, {
459
+ class: c.classname,
460
460
  onDrag: t[1] ||= function(t) {
461
461
  return e.$emit("drag", t);
462
462
  },
@@ -471,7 +471,7 @@ Ne.render = function(e, t, n, i, a, o) {
471
471
  }
472
472
  }, {
473
473
  default: u((function() {
474
- return [c(e.$slots, "default")];
474
+ return [n(e.$slots, "default")];
475
475
  })),
476
476
  _: 3
477
477
  }, 8, ["class"]);
@@ -899,16 +899,16 @@ function ct(e) {
899
899
  })) }
900
900
  };
901
901
  c.factor && m && (c.factor < 1 ? (p = Math.max(c.factor, h.stencil.minimum)) > 1 && (p = 1) : c.factor > 1 && (p = Math.min(c.factor, Math.min(h.area.maximum, h.stencil.maximum))) < 1 && (p = 1)), p && (u = K(u, p, c.center));
902
- var g = n.left - r.left, _ = r.width + r.left - (n.width + n.left), ee = n.top - r.top, v = r.height + r.top - (n.height + n.top);
902
+ var g = n.left - r.left, _ = r.width + r.left - (n.width + n.left), v = n.top - r.top, ee = r.height + r.top - (n.height + n.top);
903
903
  return u = Z(u = G(u, Y(u, {
904
904
  left: o.left === void 0 ? void 0 : o.left - g * p,
905
- top: o.top === void 0 ? void 0 : o.top - ee * p,
906
- bottom: o.bottom === void 0 ? void 0 : o.bottom + v * p,
905
+ top: o.top === void 0 ? void 0 : o.top - v * p,
906
+ bottom: o.bottom === void 0 ? void 0 : o.bottom + ee * p,
907
907
  right: o.right === void 0 ? void 0 : o.right + _ * p
908
908
  })), a({
909
909
  visibleArea: u,
910
910
  type: "move"
911
- })), d.width *= p, d.height *= p, d.left = u.left + g * p, d.top = u.top + ee * p, d = Z(d, Ye(V(u), o)), c.factor && m && s && (c.factor > 1 ? f = Math.min(h.area.maximum, c.factor) / p : c.factor < 1 && (f = Math.max(d.height / u.height, d.width / u.width, c.factor / p)), f !== 1 && (u = G(u = Z(u = K(u, f, c.factor > 1 ? c.center : U(d)), a({
911
+ })), d.width *= p, d.height *= p, d.left = u.left + g * p, d.top = u.top + v * p, d = Z(d, Ye(V(u), o)), c.factor && m && s && (c.factor > 1 ? f = Math.min(h.area.maximum, c.factor) / p : c.factor < 1 && (f = Math.max(d.height / u.height, d.width / u.width, c.factor / p)), f !== 1 && (u = G(u = Z(u = K(u, f, c.factor > 1 ? c.center : U(d)), a({
912
912
  visibleArea: u,
913
913
  type: "move"
914
914
  })), Ve(Y(d, V(u)))))), {
@@ -1043,20 +1043,20 @@ var pt = A("vue-simple-handler"), mt = A("vue-simple-handler-wrapper"), ht = {
1043
1043
  },
1044
1044
  emits: ["drag", "drag-end"]
1045
1045
  };
1046
- ht.render = function(e, t, n, i, a, o) {
1047
- var s = r("HandlerWrapper");
1048
- return _(), b(s, {
1049
- class: o.classes.wrapper,
1046
+ ht.render = function(e, t, n, r, a, s) {
1047
+ var c = i("HandlerWrapper");
1048
+ return o(), b(c, {
1049
+ class: s.classes.wrapper,
1050
1050
  "vertical-position": n.verticalPosition,
1051
1051
  "horizontal-position": n.horizontalPosition,
1052
1052
  disabled: n.disabled,
1053
- onDrag: o.onDrag,
1054
- onDragEnd: o.onDragEnd,
1055
- onEnter: o.onEnter,
1056
- onLeave: o.onLeave
1053
+ onDrag: s.onDrag,
1054
+ onDragEnd: s.onDragEnd,
1055
+ onEnter: s.onEnter,
1056
+ onLeave: s.onLeave
1057
1057
  }, {
1058
1058
  default: u((function() {
1059
- return [d("div", { class: o.classes.default }, null, 2)];
1059
+ return [f("div", { class: s.classes.default }, null, 2)];
1060
1060
  })),
1061
1061
  _: 1
1062
1062
  }, 8, [
@@ -1108,19 +1108,19 @@ var gt = A("vue-simple-line"), _t = A("vue-simple-line-wrapper"), vt = {
1108
1108
  },
1109
1109
  emits: ["drag", "drag-end"]
1110
1110
  };
1111
- vt.render = function(e, t, n, i, a, o) {
1112
- var s = r("LineWrapper");
1113
- return _(), b(s, {
1114
- class: o.classes.wrapper,
1111
+ vt.render = function(e, t, n, r, a, s) {
1112
+ var c = i("LineWrapper");
1113
+ return o(), b(c, {
1114
+ class: s.classes.wrapper,
1115
1115
  position: n.position,
1116
1116
  disabled: n.disabled,
1117
- onDrag: o.onDrag,
1118
- onDragEnd: o.onDragEnd,
1119
- onEnter: o.onEnter,
1120
- onLeave: o.onLeave
1117
+ onDrag: s.onDrag,
1118
+ onDragEnd: s.onDragEnd,
1119
+ onEnter: s.onEnter,
1120
+ onLeave: s.onLeave
1121
1121
  }, {
1122
1122
  default: u((function() {
1123
- return [d("div", { class: o.classes.root }, null, 2)];
1123
+ return [f("div", { class: s.classes.root }, null, 2)];
1124
1124
  })),
1125
1125
  _: 1
1126
1126
  }, 8, [
@@ -1317,15 +1317,15 @@ var yt = A("vue-bounding-box"), bt = [
1317
1317
  },
1318
1318
  emits: ["resize", "resize-end"]
1319
1319
  };
1320
- St.render = function(e, t, n, r, i, o) {
1321
- return _(), b("div", {
1320
+ St.render = function(e, t, r, i, s, l) {
1321
+ return o(), b("div", {
1322
1322
  ref: "box",
1323
- class: o.classes.root,
1324
- style: o.style
1323
+ class: l.classes.root,
1324
+ style: l.style
1325
1325
  }, [
1326
- c(e.$slots, "default"),
1327
- d("div", null, [(_(!0), b(te, null, s(o.lineNodes, (function(e) {
1328
- return _(), b(a(e.component), {
1326
+ n(e.$slots, "default"),
1327
+ f("div", null, [(o(!0), b(te, null, c(l.lineNodes, (function(e) {
1328
+ return o(), b(a(e.component), {
1329
1329
  key: e.name,
1330
1330
  "default-class": e.class,
1331
1331
  "hover-class": e.hoverClass,
@@ -1333,10 +1333,10 @@ St.render = function(e, t, n, r, i, o) {
1333
1333
  position: e.name,
1334
1334
  disabled: e.disabled,
1335
1335
  onDrag: function(t) {
1336
- return o.onHandlerDrag(t, e.horizontalDirection, e.verticalDirection);
1336
+ return l.onHandlerDrag(t, e.horizontalDirection, e.verticalDirection);
1337
1337
  },
1338
1338
  onDragEnd: t[1] ||= function(e) {
1339
- return o.onEnd();
1339
+ return l.onEnd();
1340
1340
  }
1341
1341
  }, null, 8, [
1342
1342
  "default-class",
@@ -1347,12 +1347,12 @@ St.render = function(e, t, n, r, i, o) {
1347
1347
  "onDrag"
1348
1348
  ]);
1349
1349
  })), 128))]),
1350
- (_(!0), b(te, null, s(o.handlerNodes, (function(e) {
1351
- return _(), b("div", {
1350
+ (o(!0), b(te, null, c(l.handlerNodes, (function(e) {
1351
+ return o(), b("div", {
1352
1352
  key: e.name,
1353
1353
  style: e.wrapperStyle,
1354
1354
  class: e.wrapperClass
1355
- }, [(_(), b(a(e.component), {
1355
+ }, [(o(), b(a(e.component), {
1356
1356
  "default-class": e.class,
1357
1357
  "hover-class": e.hoverClass,
1358
1358
  "wrapper-class": e.wrapperClass,
@@ -1360,10 +1360,10 @@ St.render = function(e, t, n, r, i, o) {
1360
1360
  "vertical-position": e.verticalDirection,
1361
1361
  disabled: e.disabled,
1362
1362
  onDrag: function(t) {
1363
- return o.onHandlerDrag(t, e.horizontalDirection, e.verticalDirection);
1363
+ return l.onHandlerDrag(t, e.horizontalDirection, e.verticalDirection);
1364
1364
  },
1365
1365
  onDragEnd: t[2] ||= function(e) {
1366
- return o.onEnd();
1366
+ return l.onEnd();
1367
1367
  }
1368
1368
  }, null, 8, [
1369
1369
  "default-class",
@@ -1466,16 +1466,16 @@ var Ct = A("vue-draggable-area"), wt = {
1466
1466
  },
1467
1467
  emits: ["move", "move-end"]
1468
1468
  };
1469
- wt.render = function(e, t, n, r, i, a) {
1470
- return _(), b("div", {
1469
+ wt.render = function(e, t, r, i, a, s) {
1470
+ return o(), b("div", {
1471
1471
  ref: "container",
1472
1472
  onTouchstart: t[1] ||= function() {
1473
- return a.onTouchStart && a.onTouchStart.apply(a, arguments);
1473
+ return s.onTouchStart && s.onTouchStart.apply(s, arguments);
1474
1474
  },
1475
1475
  onMousedown: t[2] ||= function() {
1476
- return a.onMouseDown && a.onMouseDown.apply(a, arguments);
1476
+ return s.onMouseDown && s.onMouseDown.apply(s, arguments);
1477
1477
  }
1478
- }, [c(e.$slots, "default")], 544);
1478
+ }, [n(e.$slots, "default")], 544);
1479
1479
  };
1480
1480
  function Tt(e) {
1481
1481
  return {
@@ -1698,19 +1698,19 @@ var At = {
1698
1698
  "transform-end"
1699
1699
  ]
1700
1700
  };
1701
- At.render = function(e, t, n, r, i, a) {
1702
- return _(), b("div", {
1701
+ At.render = function(e, t, r, i, a, s) {
1702
+ return o(), b("div", {
1703
1703
  ref: "container",
1704
1704
  onTouchstart: t[1] ||= function() {
1705
- return a.onTouchStart && a.onTouchStart.apply(a, arguments);
1705
+ return s.onTouchStart && s.onTouchStart.apply(s, arguments);
1706
1706
  },
1707
1707
  onMousedown: t[2] ||= function() {
1708
- return a.onMouseDown && a.onMouseDown.apply(a, arguments);
1708
+ return s.onMouseDown && s.onMouseDown.apply(s, arguments);
1709
1709
  },
1710
1710
  onWheel: t[3] ||= function() {
1711
- return a.onWheel && a.onWheel.apply(a, arguments);
1711
+ return s.onWheel && s.onWheel.apply(s, arguments);
1712
1712
  }
1713
- }, [c(e.$slots, "default")], 544);
1713
+ }, [n(e.$slots, "default")], 544);
1714
1714
  };
1715
1715
  var jt = {
1716
1716
  components: { TransformableImage: At },
@@ -1734,13 +1734,13 @@ var jt = {
1734
1734
  },
1735
1735
  emits: ["resize", "move"]
1736
1736
  };
1737
- jt.render = function(e, t, n, i, a, o) {
1738
- var s = r("transformable-image");
1739
- return _(), b(s, {
1740
- "touch-move": n.touchMove,
1741
- "touch-resize": n.touchResize,
1742
- "mouse-move": n.mouseMove,
1743
- "wheel-resize": n.wheelResize,
1737
+ jt.render = function(e, t, r, a, s, c) {
1738
+ var l = i("transformable-image");
1739
+ return o(), b(l, {
1740
+ "touch-move": r.touchMove,
1741
+ "touch-resize": r.touchResize,
1742
+ "mouse-move": r.mouseMove,
1743
+ "wheel-resize": r.wheelResize,
1744
1744
  onMove: t[1] ||= function(t) {
1745
1745
  return e.$emit("move", t);
1746
1746
  },
@@ -1749,7 +1749,7 @@ jt.render = function(e, t, n, i, a, o) {
1749
1749
  }
1750
1750
  }, {
1751
1751
  default: u((function() {
1752
- return [c(e.$slots, "default")];
1752
+ return [n(e.$slots, "default")];
1753
1753
  })),
1754
1754
  _: 3
1755
1755
  }, 8, [
@@ -1883,29 +1883,29 @@ var Mt = A("vue-preview"), Nt = {
1883
1883
  }
1884
1884
  }
1885
1885
  };
1886
- Nt.render = function(e, t, n, r, a, o) {
1887
- return _(), b("div", {
1886
+ Nt.render = function(e, t, n, r, i, a) {
1887
+ return o(), b("div", {
1888
1888
  ref: "root",
1889
- class: o.classes.root,
1890
- style: o.style
1891
- }, [d("div", {
1889
+ class: a.classes.root,
1890
+ style: a.style
1891
+ }, [f("div", {
1892
1892
  ref: "wrapper",
1893
- class: o.classes.wrapper,
1894
- style: o.wrapperStyle
1895
- }, [i(d("img", {
1893
+ class: a.classes.wrapper,
1894
+ style: a.wrapperStyle
1895
+ }, [d(f("img", {
1896
1896
  ref: "image",
1897
1897
  src: n.image && n.image.src,
1898
- class: o.classes.image,
1899
- style: o.imageStyle
1898
+ class: a.classes.image,
1899
+ style: a.imageStyle
1900
1900
  }, null, 14, ["src"]), [[ae, n.image && n.image.src]])], 6)], 6);
1901
1901
  };
1902
1902
  var Pt = {
1903
1903
  components: { Preview: Nt },
1904
1904
  inheritAttrs: !1
1905
1905
  };
1906
- Pt.render = function(e, t, i, a, o, s) {
1907
- var c = r("preview");
1908
- return _(), b(c, n(e.$attrs, { fill: !0 }), null, 16);
1906
+ Pt.render = function(e, n, r, a, s, c) {
1907
+ var l = i("preview");
1908
+ return o(), b(l, t(e.$attrs, { fill: !0 }), null, 16);
1909
1909
  };
1910
1910
  var Ft = A("vue-rectangle-stencil"), It = {
1911
1911
  name: "RectangleStencil",
@@ -2027,16 +2027,16 @@ var Ft = A("vue-rectangle-stencil"), It = {
2027
2027
  "move-end"
2028
2028
  ]
2029
2029
  };
2030
- It.render = function(e, t, n, i, a, o) {
2031
- var s = r("stencil-preview"), c = r("draggable-area"), l = r("bounding-box");
2032
- return _(), b("div", {
2033
- class: o.classes.stencil,
2034
- style: o.style
2035
- }, [d(l, {
2030
+ It.render = function(e, t, n, r, a, s) {
2031
+ var c = i("stencil-preview"), l = i("draggable-area"), d = i("bounding-box");
2032
+ return o(), b("div", {
2033
+ class: s.classes.stencil,
2034
+ style: s.style
2035
+ }, [f(d, {
2036
2036
  width: n.stencilCoordinates.width,
2037
2037
  height: n.stencilCoordinates.height,
2038
2038
  transitions: n.transitions,
2039
- class: o.classes.boundingBox,
2039
+ class: s.classes.boundingBox,
2040
2040
  handlers: n.handlers,
2041
2041
  "handlers-component": n.handlersComponent,
2042
2042
  "handlers-classes": n.handlersClasses,
@@ -2046,22 +2046,22 @@ It.render = function(e, t, n, i, a, o) {
2046
2046
  "lines-classes": n.linesClasses,
2047
2047
  "lines-wrappers-classes": n.linesWrappersClasses,
2048
2048
  resizable: n.resizable,
2049
- onResize: o.onResize,
2050
- onResizeEnd: o.onResizeEnd
2049
+ onResize: s.onResize,
2050
+ onResizeEnd: s.onResizeEnd
2051
2051
  }, {
2052
2052
  default: u((function() {
2053
- return [d(c, {
2053
+ return [f(l, {
2054
2054
  movable: n.movable,
2055
- onMove: o.onMove,
2056
- onMoveEnd: o.onMoveEnd
2055
+ onMove: s.onMove,
2056
+ onMoveEnd: s.onMoveEnd
2057
2057
  }, {
2058
2058
  default: u((function() {
2059
- return [d(s, {
2059
+ return [f(c, {
2060
2060
  image: n.image,
2061
2061
  coordinates: n.coordinates,
2062
2062
  width: n.stencilCoordinates.width,
2063
2063
  height: n.stencilCoordinates.height,
2064
- class: o.classes.preview,
2064
+ class: s.classes.preview,
2065
2065
  transitions: n.transitions
2066
2066
  }, null, 8, [
2067
2067
  "image",
@@ -2227,8 +2227,8 @@ var Lt = ["transitions"], $ = A("vue-advanced-cropper"), Rt = {
2227
2227
  } else if (p === "height") {
2228
2228
  var _ = o.width - d * f;
2229
2229
  if (l.left && l.right) {
2230
- var ee = c.left, v = c.right;
2231
- c.left = -ft(_, ee, v), c.right = -ft(_, v, ee);
2230
+ var v = c.left, ee = c.right;
2231
+ c.left = -ft(_, v, ee), c.right = -ft(_, ee, v);
2232
2232
  } else l.left ? c.left = -_ : l.right ? c.right = -_ : l.top ? c.top = 0 : l.bottom && (c.bottom = 0);
2233
2233
  }
2234
2234
  c = dt({
@@ -3222,17 +3222,17 @@ var Lt = ["transitions"], $ = A("vue-advanced-cropper"), Rt = {
3222
3222
  ref: "sourceCanvas",
3223
3223
  style: { display: "none" }
3224
3224
  };
3225
- Rt.render = function(e, t, r, o, s, c) {
3226
- return _(), b("div", {
3225
+ Rt.render = function(e, n, r, i, s, c) {
3226
+ return o(), b("div", {
3227
3227
  ref: "cropper",
3228
3228
  class: c.classes.cropper
3229
- }, [d("div", {
3229
+ }, [f("div", {
3230
3230
  ref: "stretcher",
3231
3231
  class: c.classes.stretcher
3232
- }, null, 2), d("div", {
3232
+ }, null, 2), f("div", {
3233
3233
  class: c.classes.boundaries,
3234
3234
  style: c.boundariesStyle
3235
- }, [(_(), b(a(r.backgroundWrapperComponent), {
3235
+ }, [(o(), b(a(r.backgroundWrapperComponent), {
3236
3236
  class: c.classes.cropperWrapper,
3237
3237
  "wheel-resize": c.settings.resizeImage.wheel,
3238
3238
  "touch-resize": c.settings.resizeImage.touch,
@@ -3243,23 +3243,23 @@ Rt.render = function(e, t, r, o, s, c) {
3243
3243
  }, {
3244
3244
  default: u((function() {
3245
3245
  return [
3246
- d("div", {
3246
+ f("div", {
3247
3247
  class: c.classes.background,
3248
3248
  style: c.boundariesStyle
3249
3249
  }, null, 6),
3250
- d("div", { class: c.classes.imageWrapper }, [d("img", {
3250
+ f("div", { class: c.classes.imageWrapper }, [f("img", {
3251
3251
  ref: "image",
3252
3252
  crossorigin: s.imageAttributes.crossOrigin,
3253
3253
  src: s.imageAttributes.src,
3254
3254
  class: c.classes.image,
3255
3255
  style: c.imageStyle,
3256
- onMousedown: t[1] ||= ie((function() {}), ["prevent"])
3256
+ onMousedown: n[1] ||= ie((function() {}), ["prevent"])
3257
3257
  }, null, 46, ["crossorigin", "src"])], 2),
3258
- d("div", {
3258
+ f("div", {
3259
3259
  class: c.classes.foreground,
3260
3260
  style: c.boundariesStyle
3261
3261
  }, null, 6),
3262
- i((_(), b(a(r.stencilComponent), n({
3262
+ d((o(), b(a(r.stencilComponent), t({
3263
3263
  ref: "stencil",
3264
3264
  image: c.image,
3265
3265
  coordinates: s.coordinates,
@@ -3280,8 +3280,8 @@ Rt.render = function(e, t, r, o, s, c) {
3280
3280
  "onMove",
3281
3281
  "onMoveEnd"
3282
3282
  ])), [[ae, s.imageLoaded]]),
3283
- r.canvas ? (_(), b("canvas", zt, null, 512)) : m("", !0),
3284
- r.canvas ? (_(), b("canvas", Bt, null, 512)) : m("", !0)
3283
+ r.canvas ? (o(), b("canvas", zt, null, 512)) : g("", !0),
3284
+ r.canvas ? (o(), b("canvas", Bt, null, 512)) : g("", !0)
3285
3285
  ];
3286
3286
  })),
3287
3287
  _: 1
@@ -3364,14 +3364,14 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3364
3364
  canCrop: { type: Boolean }
3365
3365
  },
3366
3366
  emits: ["close"],
3367
- setup(n, { emit: r }) {
3368
- let a = n, c = r, { t: x } = de(), ae = t(ue, null), se = t(ce, l(null)), ve = x.mediaLibrary, { isImageMimeType: S } = le(), C = l(""), ye = l(""), w = l(null), T = l("free"), E = l(void 0), D = l(void 0), O = l(""), k = l(""), A = l(void 0), j = l(null), be = l(!1), M = l(!1), N = l(!1), P = l(null), F = null, I = [
3367
+ setup(t, { emit: n }) {
3368
+ let i = t, a = n, { t: x } = de(), ae = ne(ue, null), se = ne(ce, _(null)), ve = x.mediaLibrary, { isImageMimeType: S } = le(), C = _(""), ye = _(""), w = _(null), T = _("free"), E = _(void 0), D = _(void 0), O = _(""), k = _(""), A = _(void 0), j = _(null), be = _(!1), M = _(!1), N = _(!1), P = _(null), F = null, I = [
3369
3369
  "image/jpeg",
3370
3370
  "image/png",
3371
3371
  "image/webp"
3372
- ], L = p(() => !a.item || !a.canCrop ? !1 : I.includes(a.item.mimeType ?? "")), xe = p(() => E.value !== void 0 || D.value !== void 0), Se = p(() => T.value === "original" ? A.value : pe[T.value]), R = p(() => j.value ? _e(j.value.width, j.value.height, E.value, D.value) : null);
3373
- ne(() => a.visible, (e) => {
3374
- e && a.item && (C.value = a.item.filename ?? "", ye.value = a.item.alt ?? "", T.value = "free", E.value = void 0, D.value = void 0, O.value = "", k.value = "", A.value = void 0, j.value = null, be.value = !1, N.value = !1, P.value = null, F = null, a.item.width && a.item.height && (A.value = a.item.width / a.item.height));
3372
+ ], L = m(() => !i.item || !i.canCrop ? !1 : I.includes(i.item.mimeType ?? "")), xe = m(() => E.value !== void 0 || D.value !== void 0), Se = m(() => T.value === "original" ? A.value : pe[T.value]), R = m(() => j.value ? _e(j.value.width, j.value.height, E.value, D.value) : null);
3373
+ e(() => i.visible, (e) => {
3374
+ e && i.item && (C.value = i.item.filename ?? "", ye.value = i.item.alt ?? "", T.value = "free", E.value = void 0, D.value = void 0, O.value = "", k.value = "", A.value = void 0, j.value = null, be.value = !1, N.value = !1, P.value = null, F = null, i.item.width && i.item.height && (A.value = i.item.width / i.item.height));
3375
3375
  }, { immediate: !0 });
3376
3376
  function Ce(e) {
3377
3377
  return {
@@ -3399,7 +3399,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3399
3399
  };
3400
3400
  }
3401
3401
  function Ee() {
3402
- be.value = !0, !A.value && a.item?.width && a.item?.height && (A.value = a.item.width / a.item.height);
3402
+ be.value = !0, !A.value && i.item?.width && i.item?.height && (A.value = i.item.width / i.item.height);
3403
3403
  }
3404
3404
  function De(e) {
3405
3405
  let t = e.target.value;
@@ -3411,8 +3411,8 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3411
3411
  }
3412
3412
  async function ke() {
3413
3413
  let e = C.value.trim();
3414
- if (!e || !a.item || M.value) return;
3415
- let t = a.item, n = S(t.mimeType ?? ""), r;
3414
+ if (!e || !i.item || M.value) return;
3415
+ let t = i.item, n = S(t.mimeType ?? ""), r;
3416
3416
  if (M.value = !0, P.value = null, L.value && w.value && (N.value || xe.value)) try {
3417
3417
  let { canvas: e } = w.value.getResult();
3418
3418
  if (!e) throw Error("The cropper returned no canvas");
@@ -3422,17 +3422,17 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3422
3422
  P.value = "crop", M.value = !1;
3423
3423
  return;
3424
3424
  }
3425
- let i = await a.save(t.id, e, n ? ye.value : void 0, r);
3426
- M.value = !1, i === "saved" ? c("close") : (i === "replaced" && Ae(), P.value = "save");
3425
+ let o = await i.save(t.id, e, n ? ye.value : void 0, r);
3426
+ M.value = !1, o === "saved" ? a("close") : (o === "replaced" && Ae(), P.value = "save");
3427
3427
  }
3428
3428
  function Ae() {
3429
3429
  let e = w.value?.getResult().coordinates;
3430
3430
  e && (F = Ce(e)), N.value = !1, E.value = void 0, D.value = void 0, O.value = "", k.value = "";
3431
3431
  }
3432
3432
  function je() {
3433
- M.value || c("close");
3433
+ M.value || a("close");
3434
3434
  }
3435
- let Me = l(null), Ne = p(() => a.visible && a.item !== null);
3435
+ let Me = _(null), Ne = m(() => i.visible && i.item !== null);
3436
3436
  fe(Me, Ne);
3437
3437
  function B(e) {
3438
3438
  if (e.stopPropagation(), e.key === "Enter" && !M.value) {
@@ -3441,7 +3441,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3441
3441
  }
3442
3442
  e.key === "Escape" && je();
3443
3443
  }
3444
- return (t, r) => (_(), b(f, { to: y(se) || "body" }, [d(oe, {
3444
+ return (e, n) => (o(), b(p, { to: h(se) || "body" }, [f(oe, {
3445
3445
  "enter-active-class": "tpl:transition tpl:ease-out tpl:duration-150",
3446
3446
  "enter-from-class": "tpl:opacity-0",
3447
3447
  "enter-to-class": "tpl:opacity-100",
@@ -3449,53 +3449,53 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3449
3449
  "leave-from-class": "tpl:opacity-100",
3450
3450
  "leave-to-class": "tpl:opacity-0"
3451
3451
  }, {
3452
- default: u(() => [n.visible && n.item ? (_(), h("div", {
3452
+ default: u(() => [t.visible && t.item ? (o(), v("div", {
3453
3453
  key: 0,
3454
- "data-tpl-theme": y(ae),
3455
- class: e([y(se) ? void 0 : "tpl", "tpl:fixed tpl:inset-0 tpl:z-10 tpl:flex tpl:items-center tpl:justify-center tpl:p-4"]),
3454
+ "data-tpl-theme": h(ae),
3455
+ class: s([h(se) ? void 0 : "tpl", "tpl:fixed tpl:inset-0 tpl:z-10 tpl:flex tpl:items-center tpl:justify-center tpl:p-4"]),
3456
3456
  style: { "background-color": "var(--tpl-overlay)" },
3457
3457
  onClick: ie(je, ["self"]),
3458
3458
  onKeydown: B
3459
- }, [v("div", {
3459
+ }, [y("div", {
3460
3460
  ref_key: "dialogRef",
3461
3461
  ref: Me,
3462
3462
  role: "dialog",
3463
3463
  "aria-modal": "true",
3464
3464
  "aria-labelledby": "tpl-media-edit-title",
3465
- class: e(["tpl:flex tpl:max-h-[90%] tpl:w-full tpl:flex-col tpl:overflow-hidden tpl:rounded-lg tpl:shadow-xl", L.value ? "tpl:max-w-2xl" : "tpl:max-w-sm"]),
3465
+ class: s(["tpl:flex tpl:max-h-[90%] tpl:w-full tpl:flex-col tpl:overflow-hidden tpl:rounded-lg tpl:shadow-xl", L.value ? "tpl:max-w-2xl" : "tpl:max-w-sm"]),
3466
3466
  style: { "background-color": "var(--tpl-bg-elevated)" }
3467
3467
  }, [
3468
- v("div", Ht, [v("h3", Ut, o(y(x).mediaLibrary.editFile), 1)]),
3469
- v("div", Wt, [
3470
- L.value ? (_(), h("div", Gt, [v("div", Kt, [d(y(Rt), {
3468
+ y("div", Ht, [y("h3", Ut, r(h(x).mediaLibrary.editFile), 1)]),
3469
+ y("div", Wt, [
3470
+ L.value ? (o(), v("div", Gt, [y("div", Kt, [f(h(Rt), {
3471
3471
  ref_key: "cropperRef",
3472
3472
  ref: w,
3473
- src: n.item.url,
3473
+ src: t.item.url,
3474
3474
  "stencil-props": { aspectRatio: Se.value },
3475
3475
  class: "tpl:h-full tpl:w-full",
3476
3476
  "background-class": "tpl-cropper-background",
3477
3477
  "default-size": z,
3478
3478
  onChange: Te,
3479
3479
  onReady: Ee
3480
- }, null, 8, ["src", "stencil-props"])]), v("div", qt, [
3481
- v("div", null, [v("label", Jt, o(y(x).mediaLibrary.cropAspectRatio), 1), v("div", Yt, [(_(), h(te, null, s([
3480
+ }, null, 8, ["src", "stencil-props"])]), y("div", qt, [
3481
+ y("div", null, [y("label", Jt, r(h(x).mediaLibrary.cropAspectRatio), 1), y("div", Yt, [(o(), v(te, null, c([
3482
3482
  "free",
3483
3483
  "square",
3484
3484
  "landscape43",
3485
3485
  "landscape169",
3486
3486
  "original"
3487
- ], (e) => v("button", {
3487
+ ], (e) => y("button", {
3488
3488
  key: e,
3489
3489
  type: "button",
3490
3490
  class: "tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-2.5 tpl:py-1 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
3491
- style: ee({
3491
+ style: l({
3492
3492
  borderColor: T.value === e ? "var(--tpl-primary)" : "var(--tpl-border)",
3493
3493
  backgroundColor: T.value === e ? "var(--tpl-primary-light)" : "var(--tpl-bg)",
3494
3494
  color: T.value === e ? "var(--tpl-primary)" : "var(--tpl-text)"
3495
3495
  }),
3496
3496
  onClick: (t) => T.value = e
3497
- }, o(y(ve)[`crop${e.charAt(0).toUpperCase()}${e.slice(1)}`]), 13, Xt)), 64))])]),
3498
- v("div", Zt, [v("div", Qt, [v("label", $t, [g(o(y(x).mediaLibrary.cropMaxWidth) + " ", 1), v("span", en, o(y(x).mediaLibrary.cropOptional), 1)]), v("div", tn, [v("input", {
3497
+ }, r(h(ve)[`crop${e.charAt(0).toUpperCase()}${e.slice(1)}`]), 13, Xt)), 64))])]),
3498
+ y("div", Zt, [y("div", Qt, [y("label", $t, [ee(r(h(x).mediaLibrary.cropMaxWidth) + " ", 1), y("span", en, r(h(x).mediaLibrary.cropOptional), 1)]), y("div", tn, [y("input", {
3499
3499
  value: O.value,
3500
3500
  type: "number",
3501
3501
  min: "1",
@@ -3507,7 +3507,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3507
3507
  },
3508
3508
  placeholder: j.value?.width?.toString() || "",
3509
3509
  onInput: De
3510
- }, null, 40, nn), v("span", rn, o(y(x).mediaLibrary.cropPixels), 1)])]), v("div", an, [v("label", on, [g(o(y(x).mediaLibrary.cropMaxHeight) + " ", 1), v("span", sn, o(y(x).mediaLibrary.cropOptional), 1)]), v("div", cn, [v("input", {
3510
+ }, null, 40, nn), y("span", rn, r(h(x).mediaLibrary.cropPixels), 1)])]), y("div", an, [y("label", on, [ee(r(h(x).mediaLibrary.cropMaxHeight) + " ", 1), y("span", sn, r(h(x).mediaLibrary.cropOptional), 1)]), y("div", cn, [y("input", {
3511
3511
  value: k.value,
3512
3512
  type: "number",
3513
3513
  min: "1",
@@ -3519,12 +3519,12 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3519
3519
  },
3520
3520
  placeholder: j.value?.height?.toString() || "",
3521
3521
  onInput: Oe
3522
- }, null, 40, ln), v("span", un, o(y(x).mediaLibrary.cropPixels), 1)])])]),
3523
- R.value ? (_(), h("div", dn, [v("span", null, o(y(x).mediaLibrary.cropOutputSize) + ": ", 1), v("span", fn, o(R.value.width) + " x " + o(R.value.height) + " " + o(y(x).mediaLibrary.cropPixels), 1)])) : m("", !0)
3524
- ])])) : m("", !0),
3525
- v("div", pn, [v("label", mn, o(y(x).mediaLibrary.fileName), 1), i(v("input", {
3522
+ }, null, 40, ln), y("span", un, r(h(x).mediaLibrary.cropPixels), 1)])])]),
3523
+ R.value ? (o(), v("div", dn, [y("span", null, r(h(x).mediaLibrary.cropOutputSize) + ": ", 1), y("span", fn, r(R.value.width) + " x " + r(R.value.height) + " " + r(h(x).mediaLibrary.cropPixels), 1)])) : g("", !0)
3524
+ ])])) : g("", !0),
3525
+ y("div", pn, [y("label", mn, r(h(x).mediaLibrary.fileName), 1), d(y("input", {
3526
3526
  id: "tpl-media-filename",
3527
- "onUpdate:modelValue": r[0] ||= (e) => C.value = e,
3527
+ "onUpdate:modelValue": n[0] ||= (e) => C.value = e,
3528
3528
  type: "text",
3529
3529
  class: "tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:outline-none",
3530
3530
  style: {
@@ -3534,9 +3534,9 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3534
3534
  },
3535
3535
  autofocus: !L.value
3536
3536
  }, null, 8, hn), [[re, C.value]])]),
3537
- y(S)(n.item.mimeType ?? "") ? (_(), h("div", gn, [v("label", _n, o(y(x).mediaLibrary.altText), 1), i(v("input", {
3537
+ h(S)(t.item.mimeType ?? "") ? (o(), v("div", gn, [y("label", _n, r(h(x).mediaLibrary.altText), 1), d(y("input", {
3538
3538
  id: "tpl-media-alt",
3539
- "onUpdate:modelValue": r[1] ||= (e) => ye.value = e,
3539
+ "onUpdate:modelValue": n[1] ||= (e) => ye.value = e,
3540
3540
  type: "text",
3541
3541
  class: "tpl:w-full tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:outline-none",
3542
3542
  style: {
@@ -3544,11 +3544,11 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3544
3544
  "background-color": "var(--tpl-bg)",
3545
3545
  color: "var(--tpl-text)"
3546
3546
  },
3547
- placeholder: y(x).mediaLibrary.altTextPlaceholder
3548
- }, null, 8, vn), [[re, ye.value]])])) : m("", !0)
3547
+ placeholder: h(x).mediaLibrary.altTextPlaceholder
3548
+ }, null, 8, vn), [[re, ye.value]])])) : g("", !0)
3549
3549
  ]),
3550
- P.value ? (_(), h("p", yn, o(P.value === "crop" ? y(x).mediaLibrary.editCropError : y(x).mediaLibrary.editSaveError), 1)) : m("", !0),
3551
- v("div", bn, [v("button", {
3550
+ P.value ? (o(), v("p", yn, r(P.value === "crop" ? h(x).mediaLibrary.editCropError : h(x).mediaLibrary.editSaveError), 1)) : g("", !0),
3551
+ y("div", bn, [y("button", {
3552
3552
  class: "tpl:cursor-pointer tpl:rounded-md tpl:border tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150",
3553
3553
  style: {
3554
3554
  "border-color": "var(--tpl-border)",
@@ -3557,7 +3557,7 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3557
3557
  },
3558
3558
  disabled: M.value,
3559
3559
  onClick: je
3560
- }, o(y(x).mediaLibrary.cancel), 9, xn), v("button", {
3560
+ }, r(h(x).mediaLibrary.cancel), 9, xn), y("button", {
3561
3561
  class: "tpl:cursor-pointer tpl:rounded-md tpl:px-3 tpl:py-1.5 tpl:text-xs tpl:font-medium tpl:transition-all tpl:duration-150 tpl:hover:bg-[var(--tpl-primary-hover)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50",
3562
3562
  style: {
3563
3563
  "background-color": "var(--tpl-primary)",
@@ -3565,8 +3565,8 @@ var Vt = ["data-tpl-theme"], Ht = { class: "tpl:shrink-0 tpl:p-5 tpl:pb-4" }, Ut
3565
3565
  },
3566
3566
  disabled: M.value,
3567
3567
  onClick: ke
3568
- }, o(M.value ? y(x).mediaLibrary.saving : y(x).mediaLibrary.saveChanges), 9, Sn)])
3569
- ], 2)], 42, Vt)) : m("", !0)]),
3568
+ }, r(M.value ? h(x).mediaLibrary.saving : h(x).mediaLibrary.saveChanges), 9, Sn)])
3569
+ ], 2)], 42, Vt)) : g("", !0)]),
3570
3570
  _: 1
3571
3571
  })], 8, ["to"]));
3572
3572
  }