@templatical/editor 0.51.1 → 0.52.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 (361) hide show
  1. package/THIRD_PARTY_NOTICES.md +208 -0
  2. package/dist/{AiAltTextPopover-BZQ95GXL.js → AiAltTextPopover-Cm11CsKH.js} +7 -8
  3. package/dist/{AiAltTextReview-DoBEudnE.js → AiAltTextReview-DE8t8Rud.js} +8 -9
  4. package/dist/{AiChatPanel-Bs6sES3b.js → AiChatPanel-7ftS7d40.js} +18 -20
  5. package/dist/{AiPanels-CfN7A-ZA.js → AiPanels-CxGp6klr.js} +5 -7
  6. package/dist/{AiRewriteMenu-C3ZfDDYy.js → AiRewriteMenu-DNI-5CUj.js} +21 -22
  7. package/dist/{BlockIssueBadge-CKwZ1Vgn.js → BlockIssueBadge-6Ri2FfX-.js} +6 -7
  8. package/dist/{BlockPreviewCanvas-BXNLLLYi.js → BlockPreviewCanvas-Df9iz7sK.js} +10 -11
  9. package/dist/{CloudHeaderExtras-CsJMEiyN.js → CloudHeaderExtras-CsgyNNV1.js} +3 -4
  10. package/dist/{CloudPanels-B4F5m7vy.js → CloudPanels-BDV4XQ_l.js} +8 -9
  11. package/dist/{CollaborationNotices-CNuDp7Y2.js → CollaborationNotices-JQ3vQoqO.js} +4 -5
  12. package/dist/{CollaboratorBar-BtHPiuHq.js → CollaboratorBar-EeqqWcX6.js} +4 -5
  13. package/dist/{CommentsPanel-CyCM-BvT.js → CommentsPanel-BuftXc0U.js} +3 -5
  14. package/dist/{CommentsSidebar-Ca3DyFOX.js → CommentsSidebar-Co3x4uH0.js} +16 -17
  15. package/dist/{CountdownBlock-DR4Xm2-T.js → CountdownBlock-BT3ZTH1F.js} +5 -6
  16. package/dist/{CountdownToolbar-CEIMPojJ.js → CountdownToolbar-CrL4WKy9.js} +8 -9
  17. package/dist/{IssuesPanel-C8nMUccy.js → IssuesPanel-BHFQ3wrP.js} +12 -13
  18. package/dist/{LoadingTrack-B0RKQWq3.js → LoadingTrack-DZA5AoP9.js} +3 -4
  19. package/dist/{LogicTagInsertButton-CqfU52CO.js → LogicTagInsertButton-CSD9cfJB.js} +23 -30
  20. package/dist/{MediaEditModal-DHtkZ4OU.js → MediaEditModal-DQl5w44r.js} +7 -10
  21. package/dist/{MediaPanels-CGcOB2pR.js → MediaPanels-BFWYuJot.js} +3 -5
  22. package/dist/{MergeTagInput-YnEkorTZ.js → MergeTagInput-DE7kWwXx.js} +5 -6
  23. package/dist/{MergeTagModeToggle-Dhb1DAcQ.js → MergeTagModeToggle-DvD0ne7N.js} +7 -8
  24. package/dist/{MergeTagTextarea-e4lnwtqZ.js → MergeTagTextarea-DVPQkiYY.js} +3 -4
  25. package/dist/{ParagraphEditor-B6NK0ytw.js → ParagraphEditor-D-nqs82g.js} +55 -58
  26. package/dist/{RestoreVersionDialog-Bq_IGOLJ.js → RestoreVersionDialog-DqUPsLB9.js} +7 -8
  27. package/dist/{RichTextEditorContent-AOM6fylS.js → RichTextEditorContent-Xq9D0Zs3.js} +9 -10
  28. package/dist/{SaveBlockDialog-C8GngfQx.js → SaveBlockDialog-DAPv70p4.js} +13 -14
  29. package/dist/{SavedBlocksBrowserModal-wnkvxpm_.js → SavedBlocksBrowserModal-SRtN5h9q.js} +17 -18
  30. package/dist/{SavedBlocksPanels-C2s3q0pJ.js → SavedBlocksPanels-ChbL9v9x.js} +3 -5
  31. package/dist/{SavedBlocksPickBar-BjcTiV87.js → SavedBlocksPickBar-hRaiLNdu.js} +6 -7
  32. package/dist/{TemplateSettings-BVBWpiDU.js → TemplateSettings-D0XcH32O.js} +14 -15
  33. package/dist/{TestEmailModal-SyhO9bn3.js → TestEmailModal-Cb5t0yB2.js} +16 -18
  34. package/dist/{TestEmailPanel-BDd2Rtav.js → TestEmailPanel-COJQa2A9.js} +3 -5
  35. package/dist/{TitleEditor-pxD53y_l.js → TitleEditor-BYk_9SpQ.js} +14 -15
  36. package/dist/{ToggleSwitch-D51U9cmR.js → ToggleSwitch-poGWbduy.js} +2 -3
  37. package/dist/{Toolbar-CZSPZYbj.js → Toolbar-Dku_pZni.js} +134 -142
  38. package/dist/{TplModal-DCzBzicE.js → TplModal-9IndEYk5.js} +6 -7
  39. package/dist/{VersionHistoryMenu-BQeWPT85.js → VersionHistoryMenu-BG5qayvg.js} +12 -13
  40. package/dist/{VersionHistoryPanels-BBm7YbRQ.js → VersionHistoryPanels-hPg7Q5-f.js} +3 -5
  41. package/dist/{VersionPreviewBanner-DUGF0tUJ.js → VersionPreviewBanner-CSs7zum_.js} +5 -6
  42. package/dist/{WrapperBlock-BO619LAb.js → WrapperBlock-DwjK_IdJ.js} +6 -7
  43. package/dist/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  44. package/dist/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +3 -5
  45. package/dist/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +2 -3
  46. package/dist/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +1 -2
  47. package/dist/{blockTypeIcons-NzaYvAI4.js → blockTypeIcons-yt7SLzub.js} +3 -4
  48. package/dist/bundle-stats.json +6 -6
  49. package/dist/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +1 -2
  50. package/dist/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +1 -2
  51. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js → AiAltTextPopover-DjMoJCgU.js} +7 -8
  52. package/dist/cdn/chunks/{AiAltTextPopover-CQu0Q_ZX.js.map → AiAltTextPopover-DjMoJCgU.js.map} +1 -1
  53. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js → AiAltTextReview-BafAtBoA.js} +8 -9
  54. package/dist/cdn/chunks/{AiAltTextReview-CI2HbWfn.js.map → AiAltTextReview-BafAtBoA.js.map} +1 -1
  55. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js → AiChatPanel-DXeZgc7D.js} +15 -17
  56. package/dist/cdn/chunks/{AiChatPanel-BYqn1bKu.js.map → AiChatPanel-DXeZgc7D.js.map} +1 -1
  57. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js → AiPanels-B4uAVRoO.js} +5 -7
  58. package/dist/cdn/chunks/{AiPanels-CIFKQv8Y.js.map → AiPanels-B4uAVRoO.js.map} +1 -1
  59. package/dist/cdn/chunks/{AiRewriteMenu-Bhh71zcc.js → AiRewriteMenu-4F6vwhJ5.js} +21 -22
  60. package/dist/cdn/chunks/AiRewriteMenu-4F6vwhJ5.js.map +1 -0
  61. package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js → BlockIssueBadge-DIJDqqcY.js} +6 -7
  62. package/dist/cdn/chunks/{BlockIssueBadge-DAn2vsMJ.js.map → BlockIssueBadge-DIJDqqcY.js.map} +1 -1
  63. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js → BlockPreviewCanvas-Ny1X_mee.js} +9 -10
  64. package/dist/cdn/chunks/{BlockPreviewCanvas-D0--EQkP.js.map → BlockPreviewCanvas-Ny1X_mee.js.map} +1 -1
  65. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js → CloudHeaderExtras-DtMORiLS.js} +4 -5
  66. package/dist/cdn/chunks/{CloudHeaderExtras-DaUU8P8R.js.map → CloudHeaderExtras-DtMORiLS.js.map} +1 -1
  67. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js → CloudPanels-BkmLc2Fl.js} +7 -8
  68. package/dist/cdn/chunks/{CloudPanels-C3jsxo_f.js.map → CloudPanels-BkmLc2Fl.js.map} +1 -1
  69. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js → CollaborationNotices-Hf8r08Sw.js} +5 -6
  70. package/dist/cdn/chunks/{CollaborationNotices-DjRI8gvs.js.map → CollaborationNotices-Hf8r08Sw.js.map} +1 -1
  71. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js → CollaboratorBar-II8eYtKu.js} +6 -7
  72. package/dist/cdn/chunks/{CollaboratorBar-Dfzm6A9A.js.map → CollaboratorBar-II8eYtKu.js.map} +1 -1
  73. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js → CommentsPanel-CAiwilM2.js} +4 -6
  74. package/dist/cdn/chunks/{CommentsPanel-CSO79OeX.js.map → CommentsPanel-CAiwilM2.js.map} +1 -1
  75. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js → CommentsSidebar-Dj8sDiLN.js} +18 -19
  76. package/dist/cdn/chunks/{CommentsSidebar-CCvplq1Z.js.map → CommentsSidebar-Dj8sDiLN.js.map} +1 -1
  77. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js → CountdownBlock-Dyr5P0IP.js} +6 -7
  78. package/dist/cdn/chunks/{CountdownBlock-C6USdwk3.js.map → CountdownBlock-Dyr5P0IP.js.map} +1 -1
  79. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js → CountdownToolbar-CguFJdqn.js} +9 -10
  80. package/dist/cdn/chunks/{CountdownToolbar-Cjud2Tos.js.map → CountdownToolbar-CguFJdqn.js.map} +1 -1
  81. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js → IssuesPanel-pr7_nuLI.js} +9 -10
  82. package/dist/cdn/chunks/{IssuesPanel-BaWHPDxZ.js.map → IssuesPanel-pr7_nuLI.js.map} +1 -1
  83. package/dist/cdn/chunks/LoadingTrack-DfJ_C33G.js +11 -0
  84. package/dist/cdn/chunks/{LoadingTrack-BIcL4NiY.js.map → LoadingTrack-DfJ_C33G.js.map} +1 -1
  85. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js → LogicTagInsertButton-B_ldj3TO.js} +18 -25
  86. package/dist/cdn/chunks/{LogicTagInsertButton-CsL2JDOG.js.map → LogicTagInsertButton-B_ldj3TO.js.map} +1 -1
  87. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js → MediaEditModal-CGfzcHwP.js} +7 -10
  88. package/dist/cdn/chunks/{MediaEditModal-BuHCiyMu.js.map → MediaEditModal-CGfzcHwP.js.map} +1 -1
  89. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js → MediaPanels-D0BdxdqP.js} +4 -6
  90. package/dist/cdn/chunks/{MediaPanels-DAgUf_T1.js.map → MediaPanels-D0BdxdqP.js.map} +1 -1
  91. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js → MergeTagInput-CFu9VXPS.js} +6 -7
  92. package/dist/cdn/chunks/{MergeTagInput-C8U-7LxL.js.map → MergeTagInput-CFu9VXPS.js.map} +1 -1
  93. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js → MergeTagModeToggle-BFpK5dxg.js} +7 -8
  94. package/dist/cdn/chunks/{MergeTagModeToggle-Mm-p0A52.js.map → MergeTagModeToggle-BFpK5dxg.js.map} +1 -1
  95. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js → MergeTagTextarea-Zo0mYWbf.js} +4 -5
  96. package/dist/cdn/chunks/{MergeTagTextarea-DuLScsWM.js.map → MergeTagTextarea-Zo0mYWbf.js.map} +1 -1
  97. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js → ParagraphEditor-DsPLVAgm.js} +35 -38
  98. package/dist/cdn/chunks/{ParagraphEditor-CqSj6Ayz.js.map → ParagraphEditor-DsPLVAgm.js.map} +1 -1
  99. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js → RestoreVersionDialog-B866zFP0.js} +9 -10
  100. package/dist/cdn/chunks/{RestoreVersionDialog-CdA5osuA.js.map → RestoreVersionDialog-B866zFP0.js.map} +1 -1
  101. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js → RichTextEditorContent-DaY63kye.js} +9 -10
  102. package/dist/cdn/chunks/{RichTextEditorContent-Q1d2xqBT.js.map → RichTextEditorContent-DaY63kye.js.map} +1 -1
  103. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js → SaveBlockDialog-B7nftAAS.js} +11 -12
  104. package/dist/cdn/chunks/{SaveBlockDialog-CijargAy.js.map → SaveBlockDialog-B7nftAAS.js.map} +1 -1
  105. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js → SavedBlocksBrowserModal-B9XCjDfm.js} +13 -14
  106. package/dist/cdn/chunks/{SavedBlocksBrowserModal-DtOz_X5S.js.map → SavedBlocksBrowserModal-B9XCjDfm.js.map} +1 -1
  107. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js → SavedBlocksPanels-C3nK90pz.js} +4 -6
  108. package/dist/cdn/chunks/{SavedBlocksPanels-BowyED5h.js.map → SavedBlocksPanels-C3nK90pz.js.map} +1 -1
  109. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js → SavedBlocksPickBar-B166Mek9.js} +7 -8
  110. package/dist/cdn/chunks/{SavedBlocksPickBar-BPRaJBv3.js.map → SavedBlocksPickBar-B166Mek9.js.map} +1 -1
  111. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js → TemplateSettings-jWpmuWDR.js} +13 -14
  112. package/dist/cdn/chunks/{TemplateSettings-ByZeBO34.js.map → TemplateSettings-jWpmuWDR.js.map} +1 -1
  113. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js → TestEmailModal-DcwKhFnI.js} +15 -17
  114. package/dist/cdn/chunks/{TestEmailModal-BUVTj3Ic.js.map → TestEmailModal-DcwKhFnI.js.map} +1 -1
  115. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js → TestEmailPanel-BDBAvAfI.js} +4 -6
  116. package/dist/cdn/chunks/{TestEmailPanel-BxutYoWg.js.map → TestEmailPanel-BDBAvAfI.js.map} +1 -1
  117. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js → TitleEditor-R2lQw6WA.js} +15 -16
  118. package/dist/cdn/chunks/{TitleEditor-Ccv6uoTz.js.map → TitleEditor-R2lQw6WA.js.map} +1 -1
  119. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js → ToggleSwitch-BDMugNES.js} +3 -4
  120. package/dist/cdn/chunks/{ToggleSwitch-Ctdmj621.js.map → ToggleSwitch-BDMugNES.js.map} +1 -1
  121. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js → Toolbar-CnvfW72e.js} +156 -164
  122. package/dist/cdn/chunks/{Toolbar-DoprRgTn.js.map → Toolbar-CnvfW72e.js.map} +1 -1
  123. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js → TplModal-BDyeS69p.js} +6 -7
  124. package/dist/cdn/chunks/{TplModal-BXQzmsJX.js.map → TplModal-BDyeS69p.js.map} +1 -1
  125. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js → VersionHistoryMenu-CmpgUI4Q.js} +13 -14
  126. package/dist/cdn/chunks/{VersionHistoryMenu-BF2fNCvq.js.map → VersionHistoryMenu-CmpgUI4Q.js.map} +1 -1
  127. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js → VersionHistoryPanels-DB_FZyyg.js} +4 -6
  128. package/dist/cdn/chunks/{VersionHistoryPanels-Dal0Uk69.js.map → VersionHistoryPanels-DB_FZyyg.js.map} +1 -1
  129. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js → VersionPreviewBanner-CZ--HOoa.js} +6 -7
  130. package/dist/cdn/chunks/{VersionPreviewBanner-BaGcn-b1.js.map → VersionPreviewBanner-CZ--HOoa.js.map} +1 -1
  131. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js → WrapperBlock-D3obNGab.js} +7 -8
  132. package/dist/cdn/chunks/{WrapperBlock-DkQJtLz0.js.map → WrapperBlock-D3obNGab.js.map} +1 -1
  133. package/dist/cdn/chunks/{_plugin-vue_export-helper-B3ysoDQm.js → _plugin-vue_export-helper-Djzt4Yr7.js} +1 -2
  134. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js → aiErrors-C3QEMB0x.js} +4 -6
  135. package/dist/cdn/chunks/{aiErrors-D5UOoYOt.js.map → aiErrors-C3QEMB0x.js.map} +1 -1
  136. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js → aiImageContext-BQ5mQ6B5.js} +3 -4
  137. package/dist/cdn/chunks/{aiImageContext-BH4Ss1h3.js.map → aiImageContext-BQ5mQ6B5.js.map} +1 -1
  138. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js → aiRewritePreview-DlMyx6Si.js} +2 -3
  139. package/dist/cdn/chunks/{aiRewritePreview-DLGM05Ge.js.map → aiRewritePreview-DlMyx6Si.js.map} +1 -1
  140. package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js → blockTypeIcons-DFf7AyqI.js} +3 -4
  141. package/dist/cdn/chunks/{blockTypeIcons-ikZAmd6U.js.map → blockTypeIcons-DFf7AyqI.js.map} +1 -1
  142. package/dist/cdn/chunks/{ca-C7mTzW1r.js → ca-CD-Kt1qz.js} +2 -3
  143. package/dist/cdn/chunks/{ca-C7mTzW1r.js.map → ca-CD-Kt1qz.js.map} +1 -1
  144. package/dist/cdn/chunks/{ca-CYQH3J0b.js → ca-Cc6eL0ZS.js} +2 -3
  145. package/dist/cdn/chunks/{ca-CYQH3J0b.js.map → ca-Cc6eL0ZS.js.map} +1 -1
  146. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js → createCloudRuntime-D6niZ2Rc.js} +27 -46
  147. package/dist/cdn/chunks/{createCloudRuntime-DpBWhrv3.js.map → createCloudRuntime-D6niZ2Rc.js.map} +1 -1
  148. package/dist/cdn/chunks/{de-DBOTcDj2.js → de-6M4JoHoD.js} +2 -3
  149. package/dist/cdn/chunks/{de-DBOTcDj2.js.map → de-6M4JoHoD.js.map} +1 -1
  150. package/dist/cdn/chunks/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +2 -3
  151. package/dist/cdn/chunks/{de-DNuYQTmS.js.map → de-CeFJ6wbM.js.map} +1 -1
  152. package/dist/cdn/chunks/{de-JvCTMJPy.js → de-DtrXVcuY.js} +2 -3
  153. package/dist/cdn/chunks/{de-JvCTMJPy.js.map → de-DtrXVcuY.js.map} +1 -1
  154. package/dist/cdn/chunks/{dist-Bo8Thh8v.js → dist-C2epoAwW.js} +3 -4
  155. package/dist/cdn/chunks/{dist-Bo8Thh8v.js.map → dist-C2epoAwW.js.map} +1 -1
  156. package/dist/cdn/chunks/{dist-S-rLGqax.js → dist-CONcGNwy.js} +4 -5
  157. package/dist/cdn/chunks/{dist-S-rLGqax.js.map → dist-CONcGNwy.js.map} +1 -1
  158. package/dist/cdn/chunks/dompurify-JVtr5-B1.js +872 -0
  159. package/dist/cdn/chunks/dompurify-JVtr5-B1.js.map +1 -0
  160. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js → draggable-B8hTTYFO.js} +19 -22
  161. package/dist/cdn/chunks/{draggable-DZ0gwUJ6.js.map → draggable-B8hTTYFO.js.map} +1 -1
  162. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js → editor-modal-cvYkpbHD.js} +66 -81
  163. package/dist/cdn/chunks/{editor-modal-CI6EfeMd.js.map → editor-modal-cvYkpbHD.js.map} +1 -1
  164. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +2 -3
  165. package/dist/cdn/chunks/{emojiData-6m0DBh7O.js.map → emojiData-CBNuCfum.js.map} +1 -1
  166. package/dist/cdn/chunks/en-CKAXAo3Z.js +1 -0
  167. package/dist/cdn/chunks/{en-CW71OK66.js → en-D14i5nFh.js} +2 -3
  168. package/dist/cdn/chunks/{en-CW71OK66.js.map → en-D14i5nFh.js.map} +1 -1
  169. package/dist/cdn/chunks/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +2 -3
  170. package/dist/cdn/chunks/{en-CDhWRrF_.js.map → en-FzUuJ8HW.js.map} +1 -1
  171. package/dist/cdn/chunks/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +2 -3
  172. package/dist/cdn/chunks/{es-CAv-Vldw.js.map → es-Dw_h7Oll.js.map} +1 -1
  173. package/dist/cdn/chunks/{es-DdK7zQfi.js → es-zDacbMhs.js} +2 -3
  174. package/dist/cdn/chunks/{es-DdK7zQfi.js.map → es-zDacbMhs.js.map} +1 -1
  175. package/dist/cdn/chunks/{extensions-taJTZlLK.js → extensions-ClDhn88e.js} +12 -17
  176. package/dist/cdn/chunks/{extensions-taJTZlLK.js.map → extensions-ClDhn88e.js.map} +1 -1
  177. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +2 -3
  178. package/dist/cdn/chunks/{formatAbsoluteDateTime-DMmop3C-.js.map → formatAbsoluteDateTime-Ck2_zXra.js.map} +1 -1
  179. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +1 -2
  180. package/dist/cdn/chunks/{formatRelativeTime-CtUU-QZ8.js.map → formatRelativeTime-BTD8Ktt-.js.map} +1 -1
  181. package/dist/cdn/chunks/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +2 -3
  182. package/dist/cdn/chunks/{fr-DVPtxpR6.js.map → fr-BJaeKu_8.js.map} +1 -1
  183. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +2 -3
  184. package/dist/cdn/chunks/{fr-Dz5Bgb7-.js.map → fr-CSgYtjOd.js.map} +1 -1
  185. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js → htmlparser-hu3YnNQU.js} +6 -11
  186. package/dist/cdn/chunks/{htmlparser-CDRsn-gn.js.map → htmlparser-hu3YnNQU.js.map} +1 -1
  187. package/dist/cdn/chunks/{icons-DNX6StSs.js → icons-HCBP93Ch.js} +50 -55
  188. package/dist/cdn/chunks/{icons-DNX6StSs.js.map → icons-HCBP93Ch.js.map} +1 -1
  189. package/dist/cdn/chunks/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +2 -3
  190. package/dist/cdn/chunks/{ja-Di-zJiT8.js.map → ja-B7H3ID8O.js.map} +1 -1
  191. package/dist/cdn/chunks/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +2 -3
  192. package/dist/cdn/chunks/{ja-dcWzjStz.js.map → ja-Cu2HdYaK.js.map} +1 -1
  193. package/dist/cdn/chunks/{keys-BTpmg2Tt.js → keys-BF9gazbd.js} +3 -4
  194. package/dist/cdn/chunks/{keys-BTpmg2Tt.js.map → keys-BF9gazbd.js.map} +1 -1
  195. package/dist/cdn/chunks/{liquid.browser-Bbt17cVz.js → liquid.browser-DkLBNrft.js} +705 -687
  196. package/dist/cdn/chunks/liquid.browser-DkLBNrft.js.map +1 -0
  197. package/dist/cdn/chunks/{logger-Tj0RPskW.js → logger-CqQTfJGx.js} +2 -3
  198. package/dist/cdn/chunks/{logger-Tj0RPskW.js.map → logger-CqQTfJGx.js.map} +1 -1
  199. package/dist/cdn/chunks/{nl-CvVuHYFL.js → nl-176ySmc5.js} +2 -3
  200. package/dist/cdn/chunks/{nl-CvVuHYFL.js.map → nl-176ySmc5.js.map} +1 -1
  201. package/dist/cdn/chunks/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +2 -3
  202. package/dist/cdn/chunks/{nl-LZNqQgE4.js.map → nl-1Ai2NykB.js.map} +1 -1
  203. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js → normalizeMergeTagMarkup-DpHCSESZ.js} +3 -4
  204. package/dist/cdn/chunks/{normalizeMergeTagMarkup-DyePIGqu.js.map → normalizeMergeTagMarkup-DpHCSESZ.js.map} +1 -1
  205. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js → preRenderCustomBlocks-D-dsBq5t.js} +6 -7
  206. package/dist/cdn/chunks/{preRenderCustomBlocks-Dc-QLntG.js.map → preRenderCustomBlocks-D-dsBq5t.js.map} +1 -1
  207. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +2 -3
  208. package/dist/cdn/chunks/{pt-BR-CHM-ZKvE.js.map → pt-BR-Bp92Fc6J.js.map} +1 -1
  209. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +2 -3
  210. package/dist/cdn/chunks/{pt-BR-D6P_mNwA.js.map → pt-BR-CIbp__Z7.js.map} +1 -1
  211. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +2 -3
  212. package/dist/cdn/chunks/{pt-BR-ZhO4vgyq.js.map → pt-BR-dDlTwX18.js.map} +1 -1
  213. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js → pusher-x9rNqzon.js} +3 -4
  214. package/dist/cdn/chunks/{pusher-Cs4GGEtd.js.map → pusher-x9rNqzon.js.map} +1 -1
  215. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +2 -3
  216. package/dist/cdn/chunks/{readableTextColor-f8Kykfnh.js.map → readableTextColor-BfZUGnVj.js.map} +1 -1
  217. package/dist/cdn/chunks/{rolldown-runtime-Y_bBpyJl.js → rolldown-runtime-QGRDbDUS.js} +1 -2
  218. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js +72 -0
  219. package/dist/cdn/chunks/sanitizeHtml-B2h15u0_.js.map +1 -0
  220. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js → socialIcons-rJoqO1TJ.js} +167 -191
  221. package/dist/cdn/chunks/{socialIcons-BBvsTwCV.js.map → socialIcons-rJoqO1TJ.js.map} +1 -1
  222. package/dist/cdn/chunks/{src-Bs_yxk3h.js → src-BKpAis_q.js} +502 -537
  223. package/dist/cdn/chunks/src-BKpAis_q.js.map +1 -0
  224. package/dist/cdn/chunks/{src-BNFnxfrA.js → src-C9DTvn1H.js} +207 -171
  225. package/dist/cdn/chunks/src-C9DTvn1H.js.map +1 -0
  226. package/dist/cdn/chunks/src-CUH_EI7k.js +647 -0
  227. package/dist/cdn/chunks/src-CUH_EI7k.js.map +1 -0
  228. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +2 -3
  229. package/dist/cdn/chunks/{styleConstants-v1dNKgJf.js.map → styleConstants-B8xVRiwX.js.map} +1 -1
  230. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +2 -3
  231. package/dist/cdn/chunks/{templateSettingsFields-YCFVBVYh.js.map → templateSettingsFields-cjlP-jdw.js.map} +1 -1
  232. package/dist/cdn/chunks/{tiptap-CtVrAViq.js → tiptap-ChSZybTi.js} +3364 -3240
  233. package/dist/cdn/chunks/tiptap-ChSZybTi.js.map +1 -0
  234. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js → useCloudI18n-RJXyVnIf.js} +4 -5
  235. package/dist/cdn/chunks/{useCloudI18n-AVXhzbhQ.js.map → useCloudI18n-RJXyVnIf.js.map} +1 -1
  236. package/dist/cdn/chunks/{useEditorCore-CCVFi1YZ.js → useEditorCore-CjaEV_01.js} +534 -586
  237. package/dist/cdn/chunks/useEditorCore-CjaEV_01.js.map +1 -0
  238. package/dist/cdn/chunks/useEditorRoot-BT3c9CXj.js +9 -0
  239. package/dist/cdn/chunks/{useEditorRoot-CR5GjJD6.js.map → useEditorRoot-BT3c9CXj.js.map} +1 -1
  240. package/dist/cdn/chunks/{useI18n-CbVubQhM.js → useI18n-11iqzC6m.js} +4 -5
  241. package/dist/cdn/chunks/{useI18n-CbVubQhM.js.map → useI18n-11iqzC6m.js.map} +1 -1
  242. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js → useLogicTag-vy5KGg5D.js} +5 -6
  243. package/dist/cdn/chunks/{useLogicTag-B49Nc53Y.js.map → useLogicTag-vy5KGg5D.js.map} +1 -1
  244. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js → useMergeTag-BFBBjnwh.js} +5 -6
  245. package/dist/cdn/chunks/{useMergeTag-B0KryMj8.js.map → useMergeTag-BFBBjnwh.js.map} +1 -1
  246. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js → usePopoverPosition-AnVIwiVv.js} +7 -11
  247. package/dist/cdn/chunks/{usePopoverPosition-C829ps5i.js.map → usePopoverPosition-AnVIwiVv.js.map} +1 -1
  248. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js → useScrollToBlock-C0dawxGr.js} +5 -7
  249. package/dist/cdn/chunks/{useScrollToBlock-CAwvulog.js.map → useScrollToBlock-C0dawxGr.js.map} +1 -1
  250. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js → withCurrentFont-C3CquBQN.js} +3 -4
  251. package/dist/cdn/chunks/{withCurrentFont-DFPXeVfG.js.map → withCurrentFont-C3CquBQN.js.map} +1 -1
  252. package/dist/cdn/editor.js +221 -242
  253. package/dist/cdn/editor.js.map +1 -1
  254. package/dist/{check-yYsp5Xpk.js → check-N3x4z_rH.js} +1 -2
  255. package/dist/{chevron-down-DTmD06_j.js → chevron-down-gXu9qNwO.js} +1 -2
  256. package/dist/{chevron-right-BSeYZOxc.js → chevron-right-rL0ayGk5.js} +1 -2
  257. package/dist/{chevron-up-BOApwrxi.js → chevron-up-0ugh8HnW.js} +1 -2
  258. package/dist/{circle-alert-BMszY8im.js → circle-alert-B9Ls75B5.js} +1 -2
  259. package/dist/{clock-HADxnl6-.js → clock-BqHBaCLm.js} +1 -2
  260. package/dist/{createCloudRuntime-DVQI_ReU.js → createCloudRuntime-B5VIdnwz.js} +11 -17
  261. package/dist/{createLucideIcon-0lYYH3EW.js → createLucideIcon-BV7Gwz_Z.js} +6 -11
  262. package/dist/{de-DBOTcDj2.js → de-6M4JoHoD.js} +1 -2
  263. package/dist/{de-DNuYQTmS.js → de-CeFJ6wbM.js} +1 -2
  264. package/dist/{de-JvCTMJPy.js → de-DtrXVcuY.js} +1 -2
  265. package/dist/{dist-DI4_YSnG.js → dist-BA-jTQgw.js} +3 -4
  266. package/dist/{dist-BC-ZEYLd.js → dist-BF5zEHop.js} +2 -3
  267. package/dist/{dist-CyBwSiAa.js → dist-BS5uKktL.js} +2 -3
  268. package/dist/{dist-C7EtxNCb.js → dist-CEdyyDn7.js} +2 -3
  269. package/dist/{dist-Cr7RPxI9.js → dist-CWSG7Kj0.js} +478 -461
  270. package/dist/{dist-DXyGqIDE.js → dist-Cy8I5scI.js} +2 -3
  271. package/dist/{dist-DtOF3bDW.js → dist-CzrLYq2s.js} +398 -344
  272. package/dist/{dist-DVNjPKsH.js → dist-D6fZec6r.js} +3 -4
  273. package/dist/{dist-C_dV9QAx.js → dist-DDN7yR-w.js} +7 -7
  274. package/dist/{dist-CuLwJF7H.js → dist-Dd5MU2Ev.js} +23 -14
  275. package/dist/dist-DyFArF_G.js +4 -0
  276. package/dist/{dist-DBxgrOeo.js → dist-V7W1UhVr.js} +1882 -1792
  277. package/dist/{dist-DPcf6XZ8.js → dist-p3wymUDt.js} +2 -3
  278. package/dist/dist-pA3ooG6N.js +4 -0
  279. package/dist/{dist-3HpYixwF.js → dist-txQLT2sF.js} +173 -161
  280. package/dist/{editor-modal-Bzhl-PgI.js → editor-modal-Du9VI9q4.js} +203 -218
  281. package/dist/{emojiData-6m0DBh7O.js → emojiData-CBNuCfum.js} +1 -2
  282. package/dist/en-CyEE7FPY.js +1 -0
  283. package/dist/{en-CW71OK66.js → en-D14i5nFh.js} +1 -2
  284. package/dist/{en-CDhWRrF_.js → en-FzUuJ8HW.js} +1 -2
  285. package/dist/{es-CAv-Vldw.js → es-Dw_h7Oll.js} +1 -2
  286. package/dist/{es-DdK7zQfi.js → es-zDacbMhs.js} +1 -2
  287. package/dist/{extensions-CdyweA50.js → extensions-FRYhx7qa.js} +59 -68
  288. package/dist/{eye-DWkSvYpj.js → eye-BKj9Tfnc.js} +1 -2
  289. package/dist/{formatAbsoluteDateTime-DMmop3C-.js → formatAbsoluteDateTime-Ck2_zXra.js} +1 -2
  290. package/dist/{formatRelativeTime-CtUU-QZ8.js → formatRelativeTime-BTD8Ktt-.js} +0 -1
  291. package/dist/{fr-DVPtxpR6.js → fr-BJaeKu_8.js} +1 -2
  292. package/dist/{fr-Dz5Bgb7-.js → fr-CSgYtjOd.js} +1 -2
  293. package/dist/{image-DesWjcZ4.js → image-DNdvdTla.js} +1 -2
  294. package/dist/index.d.ts +6 -6
  295. package/dist/{info-ClWJGoZy.js → info-Bx-kBkbH.js} +1 -2
  296. package/dist/{ja-Di-zJiT8.js → ja-B7H3ID8O.js} +1 -2
  297. package/dist/{ja-dcWzjStz.js → ja-Cu2HdYaK.js} +1 -2
  298. package/dist/{keys-Zd9KWRD1.js → keys-DBjrQkYH.js} +2 -3
  299. package/dist/{link-BqRicFTA.js → link-D8-rYdIQ.js} +1 -2
  300. package/dist/{liquid.browser-Ct2-EezB.js → liquid.browser-D1RxawkY.js} +704 -686
  301. package/dist/{list-bojQr9bn.js → list-BneisA27.js} +1 -2
  302. package/dist/{loader-circle-B2B8LbUu.js → loader-circle-DBEXphyx.js} +1 -2
  303. package/dist/{logger-k9Nbj3Cp.js → logger-BOu7oEtk.js} +1 -2
  304. package/dist/{message-circle-BEuiNsyZ.js → message-circle-Bg4xInCM.js} +1 -2
  305. package/dist/{nl-CvVuHYFL.js → nl-176ySmc5.js} +1 -2
  306. package/dist/{nl-LZNqQgE4.js → nl-1Ai2NykB.js} +1 -2
  307. package/dist/{normalizeMergeTagMarkup-P6SUBuPv.js → normalizeMergeTagMarkup-IH8COHzd.js} +30 -31
  308. package/dist/{package-DCROB4aM.js → package-B40Vkfsp.js} +1 -2
  309. package/dist/{pencil-CEotCKbf.js → pencil-CYdAHTds.js} +1 -2
  310. package/dist/{preRenderCustomBlocks-D8rr61_z.js → preRenderCustomBlocks-AbZArwkR.js} +4 -5
  311. package/dist/{pt-BR-CHM-ZKvE.js → pt-BR-Bp92Fc6J.js} +1 -2
  312. package/dist/{pt-BR-D6P_mNwA.js → pt-BR-CIbp__Z7.js} +1 -2
  313. package/dist/{pt-BR-ZhO4vgyq.js → pt-BR-dDlTwX18.js} +1 -2
  314. package/dist/{readableTextColor-f8Kykfnh.js → readableTextColor-BfZUGnVj.js} +1 -2
  315. package/dist/{refresh-cw-C6M2mHNC.js → refresh-cw-Bb1FWrU0.js} +1 -2
  316. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  317. package/dist/{runtime-dom.esm-bundler-B8WCZWUm.js → runtime-dom.esm-bundler-CLGymEyk.js} +7 -8
  318. package/dist/sanitizeHtml-CnOA1efV.js +942 -0
  319. package/dist/{search-Cy99zPYf.js → search-BZEo08gi.js} +1 -2
  320. package/dist/{send-BDLJFsf3.js → send-DHtrnXQs.js} +1 -2
  321. package/dist/{smartphone-CVvQaNA4.js → smartphone-dlN3vpA3.js} +1 -2
  322. package/dist/{socialIcons-Dd-jRiVe.js → socialIcons-B_d52_eS.js} +256 -267
  323. package/dist/{sparkles-Ce0Qz0ox.js → sparkles-NOttoDnJ.js} +1 -2
  324. package/dist/{square-BWlolnXe.js → square-B1CJgdt2.js} +1 -2
  325. package/dist/{styleConstants-v1dNKgJf.js → styleConstants-B8xVRiwX.js} +1 -2
  326. package/dist/{templateSettingsFields-YCFVBVYh.js → templateSettingsFields-cjlP-jdw.js} +1 -2
  327. package/dist/templatical-editor.js +245 -265
  328. package/dist/{text-align-start-D1V5gPTy.js → text-align-start-zpoXmb-Z.js} +1 -2
  329. package/dist/{trash-CZfiUFmw.js → trash-CGbk4Sgt.js} +1 -2
  330. package/dist/{triangle-alert-CFDzyFC7.js → triangle-alert-CKLMyGVp.js} +1 -2
  331. package/dist/{upload-BJfvdIrD.js → upload-DQoackAn.js} +1 -2
  332. package/dist/{useCloudI18n-Dcjua65H.js → useCloudI18n-DcLtxOQZ.js} +3 -4
  333. package/dist/{useEditorCore-BTLeAVlM.js → useEditorCore-DG9UvWUm.js} +931 -984
  334. package/dist/useEditorRoot-BKr6nNkC.js +7 -0
  335. package/dist/{useI18n-BdoY7xDE.js → useI18n-CeTm777E.js} +3 -4
  336. package/dist/{useLogicTag-DKLZ1T9H.js → useLogicTag-DFDYJeMN.js} +4 -5
  337. package/dist/{useMergeTag-Bhdx7AKk.js → useMergeTag-B46vACAG.js} +4 -5
  338. package/dist/{usePopoverPosition-BZea45XK.js → usePopoverPosition-C42kD7zt.js} +6 -10
  339. package/dist/{useScrollToBlock-FmNMALM_.js → useScrollToBlock-C-NzvjeO.js} +4 -6
  340. package/dist/{vue.runtime.esm-bundler-DgFJ6GPG.js → vue.runtime.esm-bundler-CrlI8j5R.js} +14 -18
  341. package/dist/{withCurrentFont-BATJHNve.js → withCurrentFont-v_a4Oso8.js} +2 -3
  342. package/dist/{x-CZ0Js0hA.js → x-zcrnmcmU.js} +1 -2
  343. package/package.json +24 -22
  344. package/dist/cdn/chunks/AiRewriteMenu-Bhh71zcc.js.map +0 -1
  345. package/dist/cdn/chunks/LoadingTrack-BIcL4NiY.js +0 -12
  346. package/dist/cdn/chunks/en-ifvu6oPv.js +0 -1
  347. package/dist/cdn/chunks/liquid.browser-Bbt17cVz.js.map +0 -1
  348. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js +0 -62
  349. package/dist/cdn/chunks/sanitizeRichTextHtml-DeISfLFr.js.map +0 -1
  350. package/dist/cdn/chunks/src-BNFnxfrA.js.map +0 -1
  351. package/dist/cdn/chunks/src-Bs_yxk3h.js.map +0 -1
  352. package/dist/cdn/chunks/src-YGkzYyu0.js +0 -649
  353. package/dist/cdn/chunks/src-YGkzYyu0.js.map +0 -1
  354. package/dist/cdn/chunks/tiptap-CtVrAViq.js.map +0 -1
  355. package/dist/cdn/chunks/useEditorCore-CCVFi1YZ.js.map +0 -1
  356. package/dist/cdn/chunks/useEditorRoot-CR5GjJD6.js +0 -10
  357. package/dist/dist-BPFcLKTw.js +0 -5
  358. package/dist/dist-D7Yj7E-F.js +0 -5
  359. package/dist/en-DwV15ltA.js +0 -1
  360. package/dist/sanitizeRichTextHtml-DeISfLFr.js +0 -60
  361. package/dist/useEditorRoot-DUy67lJu.js +0 -8
@@ -1,21 +1,21 @@
1
- import { At as e, C as t, F as n, H as r, M as i, Mt as a, N as o, O as s, Q as c, V as l, Y as u, _ as d, a as f, c as p, d as m, f as h, g, it as _, j as v, jt as y, l as b, nt as x, ot as S, q as C, r as w, u as T, v as E, y as D, z as O } from "./vue.runtime.esm-bundler-DgFJ6GPG.js";
2
- import { a as k, c as A, s as j, t as M } from "./runtime-dom.esm-bundler-B8WCZWUm.js";
3
- import { h as N } from "./dist-C7EtxNCb.js";
4
- import { a as P, n as F, o as I, r as ee, s as L, t as R } from "./dist-DI4_YSnG.js";
5
- import { t as z } from "./createLucideIcon-0lYYH3EW.js";
6
- import { t as B } from "./check-yYsp5Xpk.js";
7
- import { t as te } from "./chevron-right-BSeYZOxc.js";
8
- import { n as ne, t as re } from "./upload-BJfvdIrD.js";
9
- import { t as ie } from "./link-BqRicFTA.js";
10
- import { t as V } from "./loader-circle-B2B8LbUu.js";
11
- import { t as ae } from "./list-bojQr9bn.js";
12
- import { t as H } from "./pencil-CEotCKbf.js";
13
- import { n as U, t as W } from "./refresh-cw-C6M2mHNC.js";
14
- import { t as oe } from "./search-Cy99zPYf.js";
15
- import { t as se } from "./trash-CZfiUFmw.js";
16
- import { t as ce } from "./x-CZ0Js0hA.js";
17
- import { t as G } from "./_plugin-vue_export-helper-B3ysoDQm.js";
18
- var K = z({
1
+ import { At as e, C as t, F as n, H as r, M as i, Mt as a, N as o, O as s, Q as c, V as l, Y as u, _ as d, a as f, c as p, d as m, f as h, g, it as _, j as v, jt as y, l as b, nt as x, ot as S, q as C, r as w, u as T, v as E, y as D, z as O } from "./vue.runtime.esm-bundler-CrlI8j5R.js";
2
+ import { a as k, c as A, s as j, t as M } from "./runtime-dom.esm-bundler-CLGymEyk.js";
3
+ import { h as N } from "./dist-CEdyyDn7.js";
4
+ import { a as P, n as F, o as I, r as L, s as R, t as z } from "./dist-BA-jTQgw.js";
5
+ import { t as B } from "./createLucideIcon-BV7Gwz_Z.js";
6
+ import { t as V } from "./check-N3x4z_rH.js";
7
+ import { t as ee } from "./chevron-right-rL0ayGk5.js";
8
+ import { n as te, t as ne } from "./upload-DQoackAn.js";
9
+ import { t as re } from "./link-D8-rYdIQ.js";
10
+ import { t as ie } from "./list-BneisA27.js";
11
+ import { t as H } from "./loader-circle-DBEXphyx.js";
12
+ import { t as U } from "./pencil-CYdAHTds.js";
13
+ import { n as W, t as G } from "./refresh-cw-Bb1FWrU0.js";
14
+ import { t as ae } from "./search-BZEo08gi.js";
15
+ import { t as oe } from "./trash-CGbk4Sgt.js";
16
+ import { t as se } from "./x-zcrnmcmU.js";
17
+ import { t as K } from "./_plugin-vue_export-helper-Djzt4Yr7.js";
18
+ var q = B({
19
19
  name: "file",
20
20
  size: 24,
21
21
  node: [["path", {
@@ -25,14 +25,14 @@ var K = z({
25
25
  d: "M14 2v5a1 1 0 0 0 1 1h5",
26
26
  key: "wfsgrz"
27
27
  }]]
28
- }), q = z({
28
+ }), J = B({
29
29
  name: "folder",
30
30
  size: 24,
31
31
  node: [["path", {
32
32
  d: "M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",
33
33
  key: "1kt360"
34
34
  }]]
35
- }), le = z({
35
+ }), ce = B({
36
36
  name: "grid-2x2",
37
37
  size: 24,
38
38
  node: [
@@ -54,7 +54,7 @@ var K = z({
54
54
  }]
55
55
  ],
56
56
  aliases: ["grid-2-x-2"]
57
- }), J = z({
57
+ }), Y = B({
58
58
  name: "panel-left",
59
59
  size: 24,
60
60
  node: [["rect", {
@@ -69,14 +69,14 @@ var K = z({
69
69
  key: "fh3hqa"
70
70
  }]],
71
71
  aliases: ["sidebar"]
72
- }), ue = z({
72
+ }), le = B({
73
73
  name: "star",
74
74
  size: 24,
75
75
  node: [["path", {
76
76
  d: "M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",
77
77
  key: "r04s7s"
78
78
  }]]
79
- }), de = Symbol("templaticalMediaLimits"), Y = Symbol("templaticalMediaPopoverTarget"), fe = Symbol("templaticalMediaTranslations"), X = Symbol("templaticalMediaUiTheme"), Z = Symbol("templaticalMediaUiLocale"), pe = { mediaLibrary: {
79
+ }), ue = Symbol("templaticalMediaLimits"), X = Symbol("templaticalMediaPopoverTarget"), de = Symbol("templaticalMediaTranslations"), fe = Symbol("templaticalMediaUiTheme"), Z = Symbol("templaticalMediaUiLocale"), pe = { mediaLibrary: {
80
80
  title: "Media Library",
81
81
  searchPlaceholder: "Search files...",
82
82
  allFiles: "All Files",
@@ -169,10 +169,9 @@ var K = z({
169
169
  deleteFolderConfirm: "Confirm delete",
170
170
  storageTooltip: "{used} of {total} used ({remaining} remaining)"
171
171
  } };
172
- //#endregion
173
- //#region ../media-library/src/composables/useI18n.ts
172
+ // ../media-library/src/composables/useI18n.ts
174
173
  function Q(e) {
175
- let n = e ?? t(fe, null), r = (C(n) ? n.value : n) ?? pe;
174
+ let n = e ?? t(de, null), r = (C(n) ? n.value : n) ?? pe;
176
175
  function i(e, t) {
177
176
  return e.replace(/\{(\w+)\}/g, (e, n) => n in t ? String(t[n]) : `{${n}}`);
178
177
  }
@@ -181,8 +180,7 @@ function Q(e) {
181
180
  format: i
182
181
  };
183
182
  }
184
- //#endregion
185
- //#region ../media-library/src/composables/useMediaCategories.ts
183
+ // ../media-library/src/composables/useMediaCategories.ts
186
184
  var me = [
187
185
  "images",
188
186
  "documents",
@@ -190,7 +188,7 @@ var me = [
190
188
  "audio"
191
189
  ];
192
190
  function he(e) {
193
- let n = e ?? t(de, null);
191
+ let n = e ?? t(ue, null);
194
192
  if (!n) throw Error("[Templatical] useMediaCategories() needs media limits in scope. Render it under <MediaLibraryModal> or provide MEDIA_LIMITS_KEY yourself.");
195
193
  let r = n, i = p(() => !0), a = p(() => r.maxFileSize ?? Infinity), o = p(() => {
196
194
  let e = r.accept;
@@ -231,8 +229,7 @@ function he(e) {
231
229
  getCategoryForMimeType: m
232
230
  };
233
231
  }
234
- //#endregion
235
- //#region ../media-library/src/composables/useFocusTrap.ts
232
+ // ../media-library/src/composables/useFocusTrap.ts
236
233
  var ge = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
237
234
  function _e(e, t) {
238
235
  let n = null, r = null, i = null;
@@ -270,8 +267,7 @@ function _e(e, t) {
270
267
  d(), l();
271
268
  });
272
269
  }
273
- //#endregion
274
- //#region ../media-library/src/components/media/MediaBreadcrumb.vue?vue&type=script&setup=true&lang.ts
270
+ // ../media-library/src/components/media/MediaBreadcrumb.vue?vue&type=script&setup=true&lang.ts
275
271
  var ve = {
276
272
  key: 0,
277
273
  class: "tpl:flex tpl:items-center tpl:gap-1 tpl:text-xs",
@@ -303,7 +299,7 @@ var ve = {
303
299
  class: "tpl:transition-colors tpl:duration-150 tpl:hover:underline",
304
300
  style: { color: "var(--tpl-primary)" },
305
301
  onClick: t[0] ||= (e) => r("navigate", null)
306
- }, a(S(i).mediaLibrary.allFiles), 1), (v(!0), h(w, null, o(s.value, (e, t) => (v(), h(w, { key: e.id }, [d(S(te), {
302
+ }, a(S(i).mediaLibrary.allFiles), 1), (v(!0), h(w, null, o(s.value, (e, t) => (v(), h(w, { key: e.id }, [d(S(ee), {
307
303
  size: 12,
308
304
  "stroke-width": 2
309
305
  }), t < s.value.length - 1 ? (v(), h("button", {
@@ -344,29 +340,29 @@ var ve = {
344
340
  function I() {
345
341
  f.value = !f.value;
346
342
  }
347
- function ee() {
343
+ function L() {
348
344
  g.value = !0, _.value = s.folder.name;
349
345
  }
350
- function L() {
346
+ function R() {
351
347
  let e = _.value.trim();
352
348
  e && e !== s.folder.name && l("renameFolder", s.folder.id, e), g.value = !1, _.value = "";
353
349
  }
354
- function R() {
350
+ function z() {
355
351
  g.value = !1, _.value = "";
356
352
  }
357
- function z() {
353
+ function B() {
358
354
  x.value = !0, C.value = "", f.value = !0;
359
355
  }
360
- function B() {
356
+ function V() {
361
357
  C.value.trim() && l("createFolder", C.value.trim(), s.folder.id), x.value = !1, C.value = "";
362
358
  }
363
- function ne() {
359
+ function te() {
364
360
  x.value = !1, C.value = "";
365
361
  }
366
- function re() {
362
+ function ne() {
367
363
  E.value ? (l("deleteFolder", s.folder.id), E.value = !1) : E.value = !0;
368
364
  }
369
- function ie(e) {
365
+ function re(e) {
370
366
  let t = e.relatedTarget;
371
367
  t && e.currentTarget.contains(t) || (E.value = !1);
372
368
  }
@@ -379,7 +375,7 @@ var ve = {
379
375
  backgroundColor: M.value ? "var(--tpl-bg-active)" : "transparent",
380
376
  color: M.value ? "var(--tpl-primary)" : "var(--tpl-text)"
381
377
  }),
382
- onFocusout: ie
378
+ onFocusout: re
383
379
  }, [
384
380
  D.value || x.value ? (v(), h("button", {
385
381
  key: 0,
@@ -388,7 +384,7 @@ var ve = {
388
384
  "aria-expanded": P.value,
389
385
  "aria-label": P.value ? S(u).mediaLibrary.collapseFolder : S(u).mediaLibrary.expandFolder,
390
386
  onClick: A(I, ["stop"])
391
- }, [d(S(te), {
387
+ }, [d(S(ee), {
392
388
  class: e(["tpl:transition-transform tpl:duration-150", { "tpl:rotate-90": P.value }]),
393
389
  size: 10,
394
390
  "stroke-width": 2
@@ -397,7 +393,7 @@ var ve = {
397
393
  type: "button",
398
394
  class: "tpl:flex tpl:min-w-0 tpl:flex-1 tpl:items-center tpl:gap-1.5",
399
395
  onClick: s[0] ||= (e) => l("navigate", t.folder.id)
400
- }, [d(S(q), {
396
+ }, [d(S(J), {
401
397
  class: "tpl:shrink-0",
402
398
  size: 14,
403
399
  "stroke-width": 1.5
@@ -413,8 +409,8 @@ var ve = {
413
409
  color: "var(--tpl-text)"
414
410
  },
415
411
  autofocus: "",
416
- onKeydown: [j(L, ["enter"]), j(A(R, ["stop"]), ["escape"])],
417
- onBlur: L,
412
+ onKeydown: [j(R, ["enter"]), j(A(z, ["stop"]), ["escape"])],
413
+ onBlur: R,
418
414
  onClick: s[2] ||= A(() => {}, ["stop"])
419
415
  }, null, 40, Te)), [[k, _.value]]) : m("", !0),
420
416
  g.value ? m("", !0) : (v(), h("span", {
@@ -427,8 +423,8 @@ var ve = {
427
423
  class: "tpl:flex tpl:size-6 tpl:items-center tpl:justify-center tpl:rounded tpl:transition-colors",
428
424
  title: S(u).mediaLibrary.addSubfolder,
429
425
  "aria-label": S(u).mediaLibrary.addSubfolder,
430
- onClick: A(z, ["stop"])
431
- }, [d(S(U), {
426
+ onClick: A(B, ["stop"])
427
+ }, [d(S(W), {
432
428
  size: 12,
433
429
  "stroke-width": 2
434
430
  })], 8, Ee)) : m("", !0),
@@ -438,8 +434,8 @@ var ve = {
438
434
  class: "tpl:flex tpl:size-6 tpl:items-center tpl:justify-center tpl:rounded tpl:transition-colors",
439
435
  title: S(u).mediaLibrary.renameFolder,
440
436
  "aria-label": S(u).mediaLibrary.renameFolder,
441
- onClick: A(ee, ["stop"])
442
- }, [d(S(H), {
437
+ onClick: A(L, ["stop"])
438
+ }, [d(S(U), {
443
439
  size: 12,
444
440
  "stroke-width": 2
445
441
  })], 8, De)) : m("", !0),
@@ -450,8 +446,8 @@ var ve = {
450
446
  class: "tpl:flex tpl:size-6 tpl:items-center tpl:justify-center tpl:rounded tpl:transition-colors",
451
447
  title: E.value ? S(u).mediaLibrary.deleteFolderConfirm : S(u).mediaLibrary.deleteFolder,
452
448
  "aria-label": E.value ? S(u).mediaLibrary.deleteFolderConfirm : S(u).mediaLibrary.deleteFolder,
453
- onClick: A(re, ["stop"])
454
- }, [d(S(se), {
449
+ onClick: A(ne, ["stop"])
450
+ }, [d(S(oe), {
455
451
  size: 12,
456
452
  "stroke-width": 2,
457
453
  style: { color: "var(--tpl-danger)" }
@@ -491,8 +487,8 @@ var ve = {
491
487
  },
492
488
  placeholder: S(u).mediaLibrary.subfolderName,
493
489
  autofocus: "",
494
- onKeydown: [j(B, ["enter"]), j(A(ne, ["stop"]), ["escape"])],
495
- onBlur: B
490
+ onKeydown: [j(V, ["enter"]), j(A(te, ["stop"]), ["escape"])],
491
+ onBlur: V
496
492
  }, null, 40, Ae), [[k, C.value]])], 4)) : m("", !0)])) : m("", !0)]);
497
493
  };
498
494
  }
@@ -539,7 +535,7 @@ var ve = {
539
535
  color: e.viewMode === "files" && e.currentFolderId === null ? "var(--tpl-primary)" : "var(--tpl-text)"
540
536
  }),
541
537
  onClick: c[0] ||= (e) => n("navigate", null)
542
- }, [d(S(K), {
538
+ }, [d(S(q), {
543
539
  size: 14,
544
540
  "stroke-width": 1.5
545
541
  }), g(" " + a(S(i).mediaLibrary.allFiles), 1)], 4),
@@ -581,7 +577,7 @@ var ve = {
581
577
  class: "tpl:flex tpl:w-full tpl:items-center tpl:gap-2 tpl:px-3 tpl:py-2 tpl:text-left tpl:text-xs tpl:transition-all tpl:duration-150",
582
578
  style: { color: "var(--tpl-text-muted)" },
583
579
  onClick: u
584
- }, [d(S(U), {
580
+ }, [d(S(W), {
585
581
  size: 14,
586
582
  "stroke-width": 1.5
587
583
  }), g(" " + a(S(i).mediaLibrary.newFolder), 1)])) : m("", !0),
@@ -596,7 +592,7 @@ var ve = {
596
592
  color: e.viewMode === "frequently-used" ? "var(--tpl-primary)" : "var(--tpl-text)"
597
593
  }),
598
594
  onClick: c[6] ||= (e) => n("showFrequentlyUsed")
599
- }, [d(S(ue), {
595
+ }, [d(S(le), {
600
596
  size: 14,
601
597
  "stroke-width": 1.5
602
598
  }), g(" " + a(S(i).mediaLibrary.frequentlyUsed), 1)], 4)) : m("", !0)
@@ -776,8 +772,7 @@ var ve = {
776
772
  }, a(i.value.label), 5)], 4));
777
773
  }
778
774
  });
779
- //#endregion
780
- //#region ../media-library/src/utils/formatAbsoluteDate.ts
775
+ // ../media-library/src/utils/formatAbsoluteDate.ts
781
776
  function Le(e, t, n) {
782
777
  let r = new Date(e);
783
778
  if (Number.isNaN(r.getTime())) return "";
@@ -788,8 +783,7 @@ function Le(e, t, n) {
788
783
  return r.toLocaleDateString(void 0, n);
789
784
  }
790
785
  }
791
- //#endregion
792
- //#region ../media-library/src/utils/formatFileSize.ts
786
+ // ../media-library/src/utils/formatFileSize.ts
793
787
  var Re = [
794
788
  "B",
795
789
  "KB",
@@ -801,8 +795,7 @@ function $(e) {
801
795
  for (; t >= 1024 && n < Re.length - 1;) t /= 1024, n += 1;
802
796
  return `${Math.round(t * 10) / 10} ${Re[n]}`;
803
797
  }
804
- //#endregion
805
- //#region ../media-library/src/components/media/MediaGrid.vue?vue&type=script&setup=true&lang.ts
798
+ // ../media-library/src/components/media/MediaGrid.vue?vue&type=script&setup=true&lang.ts
806
799
  var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
807
800
  key: 1,
808
801
  class: "tpl:flex tpl:flex-col tpl:items-center tpl:justify-center tpl:py-16"
@@ -876,7 +869,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
876
869
  }, ft = {
877
870
  key: 4,
878
871
  class: "tpl:flex tpl:justify-center tpl:py-4"
879
- }, pt = /*#__PURE__*/ G(/* @__PURE__ */ D({
872
+ }, pt = /*#__PURE__*/ K(/* @__PURE__ */ D({
880
873
  __name: "MediaGrid",
881
874
  props: {
882
875
  items: {},
@@ -930,7 +923,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
930
923
  return k(e) ? "tpl:opacity-100" : "tpl:opacity-0 tpl:group-hover:opacity-100 tpl:group-focus-within:opacity-100";
931
924
  }
932
925
  let { t: M } = Q(), N = t(Z, null), P = c(null);
933
- L(P, ([{ isIntersecting: e }]) => {
926
+ R(P, ([{ isIntersecting: e }]) => {
934
927
  e && i.hasMore && !i.isLoading && s("loadMore");
935
928
  }, { threshold: .1 });
936
929
  function F(e) {
@@ -952,7 +945,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
952
945
  class: e(["tpl-pulse tpl:rounded-lg", n.layout === "list" ? "tpl:h-12" : "tpl:aspect-square"]),
953
946
  style: { "background-color": "var(--tpl-bg-hover)" },
954
947
  "aria-hidden": "true"
955
- }, null, 2)), 64))], 10, Be)) : n.items.length === 0 ? (v(), h("div", Ve, [d(S(K), {
948
+ }, null, 2)), 64))], 10, Be)) : n.items.length === 0 ? (v(), h("div", Ve, [d(S(q), {
956
949
  class: "tpl:mb-3",
957
950
  size: 40,
958
951
  "stroke-width": 1,
@@ -998,7 +991,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
998
991
  title: S(M).mediaLibrary.editFile,
999
992
  "aria-label": S(M).mediaLibrary.editFile,
1000
993
  onClick: A((e) => s("edit", t), ["stop"])
1001
- }, [d(S(H), {
994
+ }, [d(S(U), {
1002
995
  size: 12,
1003
996
  "stroke-width": 2
1004
997
  })], 8, lt)) : m("", !0), C(t) ? (v(), h("button", {
@@ -1010,11 +1003,11 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1010
1003
  title: S(M).mediaLibrary.replaceFile,
1011
1004
  "aria-label": S(M).mediaLibrary.replaceFile,
1012
1005
  onClick: A((e) => s("replace", t), ["stop"])
1013
- }, [d(S(W), {
1006
+ }, [d(S(G), {
1014
1007
  size: 12,
1015
1008
  "stroke-width": 2
1016
1009
  })], 8, ut)) : m("", !0)], 2),
1017
- k(t) ? (v(), h("div", dt, [d(S(B), {
1010
+ k(t) ? (v(), h("div", dt, [d(S(V), {
1018
1011
  size: 12,
1019
1012
  "stroke-width": 3
1020
1013
  })])) : m("", !0)
@@ -1068,7 +1061,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1068
1061
  title: S(M).mediaLibrary.editFile,
1069
1062
  "aria-label": S(M).mediaLibrary.editFile,
1070
1063
  onClick: A((e) => s("edit", t), ["stop"])
1071
- }, [d(S(H), {
1064
+ }, [d(S(U), {
1072
1065
  size: 11,
1073
1066
  "stroke-width": 2
1074
1067
  })], 8, Qe)) : m("", !0), C(t) ? (v(), h("button", {
@@ -1083,11 +1076,11 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1083
1076
  title: S(M).mediaLibrary.replaceFile,
1084
1077
  "aria-label": S(M).mediaLibrary.replaceFile,
1085
1078
  onClick: A((e) => s("replace", t), ["stop"])
1086
- }, [d(S(W), {
1079
+ }, [d(S(G), {
1087
1080
  size: 11,
1088
1081
  "stroke-width": 2
1089
1082
  })], 8, $e)) : m("", !0)], 2),
1090
- k(t) ? (v(), h("div", et, [d(S(B), {
1083
+ k(t) ? (v(), h("div", et, [d(S(V), {
1091
1084
  size: 12,
1092
1085
  "stroke-width": 3
1093
1086
  })])) : m("", !0)
@@ -1097,7 +1090,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1097
1090
  ref: P,
1098
1091
  class: "tpl:h-4"
1099
1092
  }, null, 512),
1100
- n.isLoading && n.items.length > 0 ? (v(), h("div", ft, [d(S(V), {
1093
+ n.isLoading && n.items.length > 0 ? (v(), h("div", ft, [d(S(H), {
1101
1094
  class: "tpl-spinner",
1102
1095
  size: 20,
1103
1096
  "stroke-width": 2,
@@ -1133,7 +1126,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1133
1126
  },
1134
1127
  emits: ["import", "close"],
1135
1128
  setup(n, { emit: i }) {
1136
- let o = n, s = i, { t: u } = Q(), _ = t(X, null), y = t(Y, c(null)), x = c("");
1129
+ let o = n, s = i, { t: u } = Q(), _ = t(fe, null), y = t(X, c(null)), x = c("");
1137
1130
  O(() => o.visible, (e) => {
1138
1131
  e && (x.value = "");
1139
1132
  });
@@ -1208,7 +1201,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1208
1201
  },
1209
1202
  disabled: !x.value.trim() || n.isImporting,
1210
1203
  onClick: C
1211
- }, [n.isImporting ? (v(), h("span", St, [d(S(V), {
1204
+ }, [n.isImporting ? (v(), h("span", St, [d(S(H), {
1212
1205
  class: "tpl:animate-spin",
1213
1206
  size: 12,
1214
1207
  "stroke-width": 2
@@ -1239,7 +1232,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1239
1232
  }), r.children.length && n.push(...s(r.children, t + 1));
1240
1233
  return n;
1241
1234
  }
1242
- return R(i, () => {
1235
+ return z(i, () => {
1243
1236
  n("close");
1244
1237
  }), (t, c) => (v(), h("div", {
1245
1238
  ref_key: "pickerRef",
@@ -1255,7 +1248,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1255
1248
  class: "tpl:flex tpl:w-full tpl:items-center tpl:gap-1.5 tpl:px-3 tpl:py-1.5 tpl:text-left tpl:text-xs tpl:transition-colors tpl:duration-100",
1256
1249
  style: { color: "var(--tpl-text)" },
1257
1250
  onClick: c[0] ||= (e) => n("select", null)
1258
- }, [d(S(K), {
1251
+ }, [d(S(q), {
1259
1252
  class: "tpl:shrink-0",
1260
1253
  size: 14,
1261
1254
  "stroke-width": 1.5
@@ -1270,7 +1263,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1270
1263
  disabled: t.id === e.currentFolderId,
1271
1264
  onClick: (e) => n("select", t.id)
1272
1265
  }, [
1273
- d(S(q), {
1266
+ d(S(J), {
1274
1267
  class: "tpl:shrink-0",
1275
1268
  size: 14,
1276
1269
  "stroke-width": 1.5
@@ -1289,7 +1282,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1289
1282
  }, Ft = {
1290
1283
  class: "tpl:mt-0.5 tpl:text-[10px]",
1291
1284
  style: { color: "var(--tpl-text-muted)" }
1292
- }, It = /*#__PURE__*/ G(/* @__PURE__ */ D({
1285
+ }, It = /*#__PURE__*/ K(/* @__PURE__ */ D({
1293
1286
  __name: "MediaPreviewPanel",
1294
1287
  props: {
1295
1288
  item: {},
@@ -1338,7 +1331,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1338
1331
  u.value && n.item.width && n.item.height ? (v(), h(w, { key: 2 }, [g(" · " + a(n.item.width) + "×" + a(n.item.height) + "px ", 1)], 64)) : m("", !0),
1339
1332
  c.value ? (v(), h(w, { key: 3 }, [
1340
1333
  r[0] ||= g(" · ", -1),
1341
- d(S(q), {
1334
+ d(S(J), {
1342
1335
  class: "tpl:mb-px tpl:inline",
1343
1336
  size: 9,
1344
1337
  "stroke-width": 2
@@ -1394,7 +1387,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1394
1387
  },
1395
1388
  emits: ["replace", "close"],
1396
1389
  setup(n, { emit: r }) {
1397
- let i = n, o = r, { t: s } = Q(), u = t(X, null), g = t(Y, c(null)), _ = c(null), y = c(null), x = p(() => {
1390
+ let i = n, o = r, { t: s } = Q(), u = t(fe, null), g = t(X, c(null)), _ = c(null), y = c(null), x = p(() => {
1398
1391
  if (!i.item) return "";
1399
1392
  let e = (i.item.filename ?? "").split(".");
1400
1393
  return e.length > 1 ? e[e.length - 1].toLowerCase() : "";
@@ -1481,8 +1474,7 @@ var ze = { class: "tpl:p-4" }, Be = ["aria-label"], Ve = {
1481
1474
  })], 8, ["to"]));
1482
1475
  }
1483
1476
  });
1484
- //#endregion
1485
- //#region ../media-library/src/utils/formatList.ts
1477
+ // ../media-library/src/utils/formatList.ts
1486
1478
  function Zt(e, t) {
1487
1479
  let n = {
1488
1480
  style: "narrow",
@@ -1495,8 +1487,7 @@ function Zt(e, t) {
1495
1487
  return new Intl.ListFormat(void 0, n).format(e);
1496
1488
  }
1497
1489
  }
1498
- //#endregion
1499
- //#region ../media-library/src/components/media/MediaUploadZone.vue?vue&type=script&setup=true&lang.ts
1490
+ // ../media-library/src/components/media/MediaUploadZone.vue?vue&type=script&setup=true&lang.ts
1500
1491
  var Qt = [
1501
1492
  "aria-label",
1502
1493
  "aria-describedby",
@@ -1546,7 +1537,7 @@ var Qt = [
1546
1537
  for (let r of Array.from(e)) y(r) ? t.push(r) : n.push(r.name);
1547
1538
  T.value = n, t.length && i("upload", t);
1548
1539
  }
1549
- let { isOverDropZone: O } = ee(E, { onDrop: (e) => {
1540
+ let { isOverDropZone: O } = L(E, { onDrop: (e) => {
1550
1541
  e?.length && D(e);
1551
1542
  } }), { open: k, onChange: A } = I({
1552
1543
  accept: u.value,
@@ -1568,7 +1559,7 @@ var Qt = [
1568
1559
  "background-color": "var(--tpl-bg)"
1569
1560
  },
1570
1561
  onClick: r[0] ||= (e) => S(k)()
1571
- }, [n.isUploading ? (v(), h("div", $t, [d(S(V), {
1562
+ }, [n.isUploading ? (v(), h("div", $t, [d(S(H), {
1572
1563
  class: "tpl-spinner",
1573
1564
  size: 20,
1574
1565
  "stroke-width": 2,
@@ -1577,7 +1568,7 @@ var Qt = [
1577
1568
  current: n.uploadProgress.current,
1578
1569
  total: n.uploadProgress.total
1579
1570
  }) : S(o).mediaLibrary.uploading), 1)])) : (v(), h(w, { key: 1 }, [
1580
- d(S(re), {
1571
+ d(S(ne), {
1581
1572
  class: "tpl:mb-2",
1582
1573
  size: 24,
1583
1574
  "stroke-width": 1.5,
@@ -1672,8 +1663,7 @@ var Qt = [
1672
1663
  })], 40, on));
1673
1664
  }
1674
1665
  });
1675
- //#endregion
1676
- //#region ../media-library/src/utils/treeFolders.ts
1666
+ // ../media-library/src/utils/treeFolders.ts
1677
1667
  function fn(e) {
1678
1668
  let t = /* @__PURE__ */ new Map();
1679
1669
  for (let n of e) t.set(n.id, {
@@ -1687,8 +1677,7 @@ function fn(e) {
1687
1677
  }
1688
1678
  return n;
1689
1679
  }
1690
- //#endregion
1691
- //#region ../media-library/src/composables/useMediaLibraryUI.ts
1680
+ // ../media-library/src/composables/useMediaLibraryUI.ts
1692
1681
  function pn(e) {
1693
1682
  let { library: t, translations: n } = e;
1694
1683
  function r() {
@@ -1749,10 +1738,10 @@ function pn(e) {
1749
1738
  function I(e) {
1750
1739
  t.checkUsageBeforeReplace(e);
1751
1740
  }
1752
- async function ee(e) {
1741
+ async function L(e) {
1753
1742
  await t.replaceFile(e);
1754
1743
  }
1755
- function L() {
1744
+ function R() {
1756
1745
  t.clearSelection(), t.cancelDelete(), t.cancelReplace(), o.value = "", t.searchQuery.value = "", t.categoryFilter.value = null, t.sortOption.value = "newest", t.viewMode.value = "files", s.value = null, l.value = !1;
1757
1746
  }
1758
1747
  return {
@@ -1782,12 +1771,11 @@ function pn(e) {
1782
1771
  handleMoveToFolder: M,
1783
1772
  handleDeleteClick: P,
1784
1773
  handleReplaceItem: I,
1785
- handleReplaceFile: ee,
1786
- resetUI: L
1774
+ handleReplaceFile: L,
1775
+ resetUI: R
1787
1776
  };
1788
1777
  }
1789
- //#endregion
1790
- //#region ../media-library/src/composable.ts
1778
+ // ../media-library/src/composable.ts
1791
1779
  function mn(e) {
1792
1780
  let { provider: t } = e, n = c([]), r = c([]), i = c(null), a = c("files"), o = c(""), s = c(null), l = c("newest"), u = c(!1), d = c(!1), f = c(!1), p = c(null), m = c(null), h = c(/* @__PURE__ */ new Set()), g = c(null), v = c([]), y = c({}), b = c(!1), x = c([]), S = c(!1), C = c(null), w = c(!1), T = c(null), E = c(!1), D = c(null), O = c(null), k = c(null), A = 0;
1793
1781
  function j(t) {
@@ -1840,22 +1828,22 @@ function mn(e) {
1840
1828
  r === A && (u.value = !1);
1841
1829
  }
1842
1830
  }
1843
- async function ee(e) {
1831
+ async function L(e) {
1844
1832
  o.value = e, await F();
1845
1833
  }
1846
- async function L(e) {
1834
+ async function R(e) {
1847
1835
  s.value = e, await F();
1848
1836
  }
1849
- async function R(e) {
1837
+ async function z(e) {
1850
1838
  l.value = e, await F();
1851
1839
  }
1852
- async function z(e) {
1840
+ async function B(e) {
1853
1841
  a.value = "files", i.value = e, o.value = "", h.value = /* @__PURE__ */ new Set(), g.value = null, await F();
1854
1842
  }
1855
- async function B() {
1856
- a.value = "frequently-used", i.value = null, o.value = "", h.value = /* @__PURE__ */ new Set(), g.value = null, await U();
1843
+ async function V() {
1844
+ a.value = "frequently-used", i.value = null, o.value = "", h.value = /* @__PURE__ */ new Set(), g.value = null, await W();
1857
1845
  }
1858
- async function te(r) {
1846
+ async function ee(r) {
1859
1847
  let { create: a } = t;
1860
1848
  if (typeof a != "function") return null;
1861
1849
  d.value = !0;
@@ -1872,7 +1860,7 @@ function mn(e) {
1872
1860
  d.value = !1;
1873
1861
  }
1874
1862
  }
1875
- async function ne(r) {
1863
+ async function te(r) {
1876
1864
  let { create: a } = t;
1877
1865
  if (typeof a == "function") {
1878
1866
  d.value = !0, m.value = {
@@ -1901,7 +1889,7 @@ function mn(e) {
1901
1889
  }
1902
1890
  }
1903
1891
  }
1904
- async function re(t) {
1892
+ async function ne(t) {
1905
1893
  if (h.value.size === 0) return;
1906
1894
  let { move: r } = M() ?? { move: !1 };
1907
1895
  if (typeof r == "function") try {
@@ -1915,7 +1903,7 @@ function mn(e) {
1915
1903
  e.onError?.(t);
1916
1904
  }
1917
1905
  }
1918
- async function ie(r, i, a) {
1906
+ async function re(r, i, a) {
1919
1907
  let { update: o } = t;
1920
1908
  if (typeof o != "function") return !1;
1921
1909
  try {
@@ -1927,28 +1915,28 @@ function mn(e) {
1927
1915
  return e.onError?.(t), !1;
1928
1916
  }
1929
1917
  }
1930
- function V(e) {
1918
+ function ie(e) {
1931
1919
  let t = /* @__PURE__ */ new Map();
1932
1920
  for (let r of n.value) e.includes(r.id) && t.set(r.id, r);
1933
1921
  for (let n of v.value) e.includes(n.id) && !t.has(n.id) && t.set(n.id, n);
1934
1922
  return [...t.values()];
1935
1923
  }
1936
- function ae(e) {
1924
+ function H(e) {
1937
1925
  n.value = n.value.filter((t) => !e.includes(t.id)), v.value = v.value.filter((t) => !e.includes(t.id)), h.value = /* @__PURE__ */ new Set(), g.value = null;
1938
1926
  }
1939
- async function H() {
1927
+ async function U() {
1940
1928
  if (h.value.size === 0) return;
1941
1929
  let { delete: n } = t;
1942
1930
  if (typeof n != "function") return;
1943
- let r = [...h.value], i = V(r);
1931
+ let r = [...h.value], i = ie(r);
1944
1932
  try {
1945
- await n(r), ae(r);
1933
+ await n(r), H(r);
1946
1934
  for (let e of i) j(() => t.onDeleted?.(e));
1947
1935
  } catch (t) {
1948
1936
  e.onError?.(t);
1949
1937
  }
1950
1938
  }
1951
- async function U() {
1939
+ async function W() {
1952
1940
  let { frequentlyUsed: n } = t;
1953
1941
  if (typeof n == "function") try {
1954
1942
  v.value = await n();
@@ -1956,7 +1944,7 @@ function mn(e) {
1956
1944
  e.onError?.(t);
1957
1945
  }
1958
1946
  }
1959
- async function W() {
1947
+ async function G() {
1960
1948
  if (h.value.size === 0) return !1;
1961
1949
  x.value = [...h.value];
1962
1950
  let { checkUsage: n } = t;
@@ -1970,21 +1958,21 @@ function mn(e) {
1970
1958
  return e.onError?.(t), !1;
1971
1959
  }
1972
1960
  }
1973
- async function oe() {
1961
+ async function ae() {
1974
1962
  let { delete: n } = t;
1975
1963
  if (typeof n != "function" || (b.value = !1, x.value.length === 0)) return;
1976
- let r = x.value, i = V(r);
1964
+ let r = x.value, i = ie(r);
1977
1965
  try {
1978
- await n(r), ae(r), x.value = [], y.value = {};
1966
+ await n(r), H(r), x.value = [], y.value = {};
1979
1967
  for (let e of i) j(() => t.onDeleted?.(e));
1980
1968
  } catch (t) {
1981
1969
  e.onError?.(t);
1982
1970
  }
1983
1971
  }
1984
- function se() {
1972
+ function oe() {
1985
1973
  b.value = !1, x.value = [], y.value = {};
1986
1974
  }
1987
- async function ce(r) {
1975
+ async function se(r) {
1988
1976
  let a = t.importFromUrl;
1989
1977
  if (typeof a != "function") return null;
1990
1978
  S.value = !0, C.value = null;
@@ -1997,17 +1985,17 @@ function mn(e) {
1997
1985
  S.value = !1;
1998
1986
  }
1999
1987
  }
2000
- function G(e) {
1988
+ function K(e) {
2001
1989
  let t = new Set(h.value);
2002
1990
  t.has(e) ? t.delete(e) : t.add(e), h.value = t;
2003
1991
  }
2004
- function K() {
1992
+ function q() {
2005
1993
  h.value = /* @__PURE__ */ new Set(), g.value = null;
2006
1994
  }
2007
- function q(e) {
1995
+ function J(e) {
2008
1996
  g.value = e, h.value = /* @__PURE__ */ new Set([e.id]);
2009
1997
  }
2010
- async function le() {
1998
+ async function ce() {
2011
1999
  let { storage: n } = t;
2012
2000
  if (typeof n != "function") k.value = null;
2013
2001
  else try {
@@ -2016,7 +2004,7 @@ function mn(e) {
2016
2004
  e.onError?.(t);
2017
2005
  }
2018
2006
  }
2019
- async function J() {
2007
+ async function Y() {
2020
2008
  let t = M();
2021
2009
  if (t) try {
2022
2010
  r.value = await t.list();
@@ -2024,40 +2012,40 @@ function mn(e) {
2024
2012
  e.onError?.(t);
2025
2013
  }
2026
2014
  }
2027
- async function ue(t, n) {
2015
+ async function le(t, n) {
2028
2016
  let { create: r } = M() ?? { create: !1 };
2029
2017
  if (typeof r != "function") return null;
2030
2018
  try {
2031
2019
  let e = { name: t };
2032
2020
  n !== void 0 && (e.parentId = n);
2033
2021
  let i = await r(e);
2034
- return await J(), i;
2022
+ return await Y(), i;
2035
2023
  } catch (t) {
2036
2024
  return e.onError?.(t), null;
2037
2025
  }
2038
2026
  }
2039
- function de(e, t) {
2027
+ function ue(e, t) {
2040
2028
  for (let n of e) if (n.id === t) return n;
2041
2029
  return null;
2042
2030
  }
2043
- async function Y(t, n) {
2031
+ async function X(t, n) {
2044
2032
  let { update: r } = M() ?? { update: !1 };
2045
2033
  if (typeof r == "function") try {
2046
- await r(t, { name: n }), await J();
2034
+ await r(t, { name: n }), await Y();
2047
2035
  } catch (t) {
2048
2036
  e.onError?.(t);
2049
2037
  }
2050
2038
  }
2051
- async function fe(t) {
2039
+ async function de(t) {
2052
2040
  let { delete: n } = M() ?? { delete: !1 };
2053
2041
  if (typeof n == "function") try {
2054
- let e = de(r.value, t)?.parentId ?? null;
2055
- await n(t), i.value === t && (i.value = e), await J(), await F();
2042
+ let e = ue(r.value, t)?.parentId ?? null;
2043
+ await n(t), i.value === t && (i.value = e), await Y(), await F();
2056
2044
  } catch (t) {
2057
2045
  e.onError?.(t);
2058
2046
  }
2059
2047
  }
2060
- async function X(n) {
2048
+ async function fe(n) {
2061
2049
  D.value = n, T.value = null;
2062
2050
  let { checkUsage: r } = t;
2063
2051
  if (typeof r != "function") O.value = null, E.value = !0;
@@ -2116,46 +2104,45 @@ function mn(e) {
2116
2104
  showDeleteWarning: b,
2117
2105
  loadItems: F,
2118
2106
  loadMore: I,
2119
- search: ee,
2120
- filterByCategory: L,
2121
- sortBy: R,
2122
- navigateToFolder: z,
2123
- showFrequentlyUsed: B,
2124
- uploadFile: te,
2125
- uploadFiles: ne,
2126
- moveSelected: re,
2127
- updateFile: ie,
2128
- deleteSelected: H,
2107
+ search: L,
2108
+ filterByCategory: R,
2109
+ sortBy: z,
2110
+ navigateToFolder: B,
2111
+ showFrequentlyUsed: V,
2112
+ uploadFile: ee,
2113
+ uploadFiles: te,
2114
+ moveSelected: ne,
2115
+ updateFile: re,
2116
+ deleteSelected: U,
2129
2117
  isImportingFromUrl: S,
2130
2118
  importFromUrlError: C,
2131
- importFromUrl: ce,
2132
- toggleSelection: G,
2133
- clearSelection: K,
2134
- selectItem: q,
2135
- loadFolders: J,
2136
- createFolder: ue,
2137
- renameFolder: Y,
2138
- deleteFolder: fe,
2139
- findFolderInTree: de,
2140
- loadFrequentlyUsed: U,
2141
- checkUsageBeforeDelete: W,
2142
- confirmDelete: oe,
2143
- cancelDelete: se,
2119
+ importFromUrl: se,
2120
+ toggleSelection: K,
2121
+ clearSelection: q,
2122
+ selectItem: J,
2123
+ loadFolders: Y,
2124
+ createFolder: le,
2125
+ renameFolder: X,
2126
+ deleteFolder: de,
2127
+ findFolderInTree: ue,
2128
+ loadFrequentlyUsed: W,
2129
+ checkUsageBeforeDelete: G,
2130
+ confirmDelete: ae,
2131
+ cancelDelete: oe,
2144
2132
  isReplacing: w,
2145
2133
  replaceError: T,
2146
2134
  showReplaceWarning: E,
2147
2135
  pendingReplaceItem: D,
2148
2136
  replaceUsageInfo: O,
2149
- checkUsageBeforeReplace: X,
2137
+ checkUsageBeforeReplace: fe,
2150
2138
  cancelReplace: Z,
2151
2139
  replaceFile: Q,
2152
2140
  replaceMediaDirectly: me,
2153
2141
  storageInfo: k,
2154
- loadStorage: le
2142
+ loadStorage: ce
2155
2143
  };
2156
2144
  }
2157
- //#endregion
2158
- //#region ../media-library/src/components/MediaLibraryChrome.vue?vue&type=script&setup=true&lang.ts
2145
+ // ../media-library/src/components/MediaLibraryChrome.vue?vue&type=script&setup=true&lang.ts
2159
2146
  var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl:overflow-hidden" }, gn = {
2160
2147
  class: "tpl:flex tpl:shrink-0 tpl:items-center tpl:justify-between tpl:border-b tpl:px-5 tpl:py-3.5",
2161
2148
  style: { "border-color": "var(--tpl-border)" }
@@ -2249,7 +2236,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2249
2236
  "ready"
2250
2237
  ],
2251
2238
  setup(t, { expose: n, emit: r }) {
2252
- let c = t, u = r, f = E(() => import("./MediaEditModal-DHtkZ4OU.js")), _ = p(() => c.translations), x = p(() => c.confirmTestId ?? "media-confirm"), C = {
2239
+ let c = t, u = r, f = E(() => import("./MediaEditModal-DQl5w44r.js")), _ = p(() => c.translations), x = p(() => c.confirmTestId ?? "media-confirm"), C = {
2253
2240
  get maxFileSize() {
2254
2241
  return c.provider.maxFileSize;
2255
2242
  },
@@ -2260,7 +2247,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2260
2247
  return c.accept;
2261
2248
  }
2262
2249
  };
2263
- i(de, C);
2250
+ i(ue, C);
2264
2251
  let { isAcceptedMimeType: D, availableCategories: k } = he(C), j = mn({
2265
2252
  provider: c.provider,
2266
2253
  templateId: () => c.templateId,
@@ -2268,38 +2255,38 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2268
2255
  }), N = pn({
2269
2256
  library: j,
2270
2257
  translations: _
2271
- }), P = p(() => typeof c.provider.create == "function"), F = p(() => c.provider.folders !== !1), I = p(() => typeof c.provider.importFromUrl == "function"), ee = p(() => typeof c.provider.delete == "function"), L = p(() => typeof c.provider.update == "function"), R = p(() => typeof c.provider.replace == "function"), z = p(() => typeof c.provider.frequentlyUsed == "function"), te = p(() => {
2258
+ }), P = p(() => typeof c.provider.create == "function"), F = p(() => c.provider.folders !== !1), I = p(() => typeof c.provider.importFromUrl == "function"), L = p(() => typeof c.provider.delete == "function"), R = p(() => typeof c.provider.update == "function"), z = p(() => typeof c.provider.replace == "function"), B = p(() => typeof c.provider.frequentlyUsed == "function"), ee = p(() => {
2272
2259
  let e = c.provider.folders;
2273
2260
  return e !== !1 && typeof e.move == "function";
2274
- }), re = p(() => {
2261
+ }), ne = p(() => {
2275
2262
  let e = c.provider.folders;
2276
2263
  return e !== !1 && typeof e.create == "function";
2277
- }), V = p(() => {
2264
+ }), H = p(() => {
2278
2265
  let e = c.provider.folders;
2279
2266
  return e !== !1 && typeof e.update == "function";
2280
- }), H = p(() => {
2267
+ }), U = p(() => {
2281
2268
  let e = c.provider.folders;
2282
2269
  return e !== !1 && typeof e.delete == "function";
2283
- }), U = p(() => j.isLoading.value && N.displayItems.value.length === 0), W = p(() => {
2270
+ }), W = p(() => j.isLoading.value && N.displayItems.value.length === 0), G = p(() => {
2284
2271
  let e = j.previewItem.value;
2285
2272
  return e ? !c.accept?.length || D(e.mimeType ?? "", c.accept) : !1;
2286
- }), se = p(() => {
2287
- if (!ee.value) return 0;
2273
+ }), oe = p(() => {
2274
+ if (!L.value) return 0;
2288
2275
  let e = 0;
2289
2276
  for (let t of j.selectedItems.value) N.displayItems.value.find((e) => e.id === t)?.canDelete !== !1 && (e += 1);
2290
2277
  return e;
2291
- }), G = p(() => N.showImportUrlModal.value || N.editingItem.value !== null || j.showReplaceWarning.value);
2292
- function K() {
2293
- return G.value ? !0 : N.showMovePicker.value ? (N.showMovePicker.value = !1, !0) : j.showDeleteWarning.value ? (j.cancelDelete(), !0) : !1;
2294
- }
2278
+ }), K = p(() => N.showImportUrlModal.value || N.editingItem.value !== null || j.showReplaceWarning.value);
2295
2279
  function q() {
2296
- W.value && j.previewItem.value && u("confirm", j.previewItem.value);
2280
+ return K.value ? !0 : N.showMovePicker.value ? (N.showMovePicker.value = !1, !0) : j.showDeleteWarning.value ? (j.cancelDelete(), !0) : !1;
2297
2281
  }
2298
- function ue(e) {
2282
+ function J() {
2283
+ G.value && j.previewItem.value && u("confirm", j.previewItem.value);
2284
+ }
2285
+ function le(e) {
2299
2286
  let t = e.target.value;
2300
2287
  j.filterByCategory(t || null);
2301
2288
  }
2302
- async function Y() {
2289
+ async function X() {
2303
2290
  let e = /* @__PURE__ */ new Set();
2304
2291
  for (let t of j.selectedItems.value) N.displayItems.value.find((e) => e.id === t)?.canDelete !== !1 && e.add(t);
2305
2292
  j.selectedItems.value = e, await N.handleDeleteClick();
@@ -2309,8 +2296,8 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2309
2296
  }, { immediate: !0 }), j.loadItems(), j.loadFrequentlyUsed(), j.loadStorage(), u("ready"), s(() => {
2310
2297
  N.resetUI();
2311
2298
  }), n({
2312
- nestedDialogOpen: G,
2313
- handleEscape: K,
2299
+ nestedDialogOpen: K,
2300
+ handleEscape: q,
2314
2301
  library: j,
2315
2302
  ui: N
2316
2303
  }), (n, r) => (v(), h("div", hn, [
@@ -2324,7 +2311,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2324
2311
  b("div", yn, [b("input", {
2325
2312
  value: S(N).searchInput.value,
2326
2313
  type: "search",
2327
- disabled: U.value,
2314
+ disabled: W.value,
2328
2315
  "aria-label": _.value.mediaLibrary.searchAriaLabel,
2329
2316
  class: "tpl:w-52 tpl:rounded-md tpl:border tpl:py-1.5 tpl:pr-3 tpl:pl-8 tpl:text-xs tpl:shadow-xs tpl:transition-all tpl:duration-150 tpl:outline-none tpl:focus:shadow-[var(--tpl-ring)] tpl:disabled:cursor-not-allowed tpl:disabled:opacity-50",
2330
2317
  style: {
@@ -2334,7 +2321,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2334
2321
  },
2335
2322
  placeholder: _.value.mediaLibrary.searchPlaceholder,
2336
2323
  onInput: r[0] ||= (e) => S(N).handleSearchInput(e.target.value)
2337
- }, null, 40, bn), d(S(oe), {
2324
+ }, null, 40, bn), d(S(ae), {
2338
2325
  class: "tpl:absolute tpl:top-1/2 tpl:left-2.5 tpl:-translate-y-1/2",
2339
2326
  size: 13,
2340
2327
  "stroke-width": 2,
@@ -2347,7 +2334,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2347
2334
  class: "tpl:flex tpl:size-7 tpl:items-center tpl:justify-center tpl:rounded-md tpl:transition-all tpl:duration-150",
2348
2335
  style: { color: "var(--tpl-text-muted)" },
2349
2336
  onClick: r[1] ||= (e) => u("close")
2350
- }, [d(S(ce), {
2337
+ }, [d(S(se), {
2351
2338
  size: 18,
2352
2339
  "stroke-width": 2
2353
2340
  })], 8, xn)) : m("", !0)
@@ -2364,10 +2351,10 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2364
2351
  folders: S(N).folderTree.value,
2365
2352
  "current-folder-id": S(j).currentFolderId.value,
2366
2353
  "view-mode": S(j).viewMode.value,
2367
- "has-frequently-used": z.value && S(N).hasFrequentlyUsed.value,
2368
- "can-create-folder": re.value,
2369
- "can-rename-folder": V.value,
2370
- "can-delete-folder": H.value,
2354
+ "has-frequently-used": B.value && S(N).hasFrequentlyUsed.value,
2355
+ "can-create-folder": ne.value,
2356
+ "can-rename-folder": H.value,
2357
+ "can-delete-folder": U.value,
2371
2358
  onNavigate: S(j).navigateToFolder,
2372
2359
  onCreateFolder: S(N).handleCreateFolder,
2373
2360
  onRenameFolder: S(N).handleRenameFolder,
@@ -2403,7 +2390,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2403
2390
  "aria-label": S(N).showSidebar.value ? _.value.mediaLibrary.hideFolders : _.value.mediaLibrary.showFolders,
2404
2391
  "aria-pressed": S(N).showSidebar.value,
2405
2392
  onClick: r[2] ||= (e) => S(N).showSidebar.value = !S(N).showSidebar.value
2406
- }, [d(S(J), {
2393
+ }, [d(S(Y), {
2407
2394
  size: 16,
2408
2395
  "stroke-width": 2
2409
2396
  })], 12, Dn)) : m("", !0),
@@ -2428,7 +2415,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2428
2415
  "aria-label": _.value.mediaLibrary.viewGrid,
2429
2416
  "aria-pressed": S(N).layoutMode.value === "grid",
2430
2417
  onClick: r[3] ||= (e) => S(N).layoutMode.value = "grid"
2431
- }, [d(S(le), {
2418
+ }, [d(S(ce), {
2432
2419
  size: 14,
2433
2420
  "stroke-width": 2
2434
2421
  })], 12, An), b("button", {
@@ -2442,7 +2429,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2442
2429
  "aria-label": _.value.mediaLibrary.viewList,
2443
2430
  "aria-pressed": S(N).layoutMode.value === "list",
2444
2431
  onClick: r[4] ||= (e) => S(N).layoutMode.value = "list"
2445
- }, [d(S(ae), {
2432
+ }, [d(S(ie), {
2446
2433
  size: 14,
2447
2434
  "stroke-width": 2
2448
2435
  })], 12, jn)])
@@ -2456,7 +2443,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2456
2443
  color: "var(--tpl-text)"
2457
2444
  },
2458
2445
  value: S(j).categoryFilter.value ?? "",
2459
- onChange: ue
2446
+ onChange: le
2460
2447
  }, [b("option", Pn, a(_.value.mediaLibrary.filterAll), 1), (v(!0), h(w, null, o(S(k), (e) => (v(), h("option", {
2461
2448
  key: e,
2462
2449
  value: e
@@ -2479,7 +2466,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2479
2466
  "background-color": "var(--tpl-bg)"
2480
2467
  },
2481
2468
  onClick: r[5] ||= (e) => S(N).showImportUrlModal.value = !0
2482
- }, [d(S(ie), {
2469
+ }, [d(S(re), {
2483
2470
  size: 14,
2484
2471
  "stroke-width": 2
2485
2472
  }), g(" " + a(_.value.mediaLibrary.importFromUrl), 1)])) : m("", !0)])) : m("", !0), d(pt, {
@@ -2490,14 +2477,14 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2490
2477
  accept: t.accept,
2491
2478
  layout: S(N).layoutMode.value,
2492
2479
  "search-query": S(j).searchQuery.value,
2493
- "can-update": L.value,
2494
- "can-replace": R.value,
2480
+ "can-update": R.value,
2481
+ "can-replace": z.value,
2495
2482
  onSelect: S(N).handleSelect,
2496
2483
  onToggle: S(j).toggleSelection,
2497
2484
  onLoadMore: S(j).loadMore,
2498
2485
  onEdit: S(N).handleEditItem,
2499
2486
  onReplace: S(N).handleReplaceItem,
2500
- onConfirm: q
2487
+ onConfirm: J
2501
2488
  }, null, 8, [
2502
2489
  "items",
2503
2490
  "selected-ids",
@@ -2531,7 +2518,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2531
2518
  visible: !0,
2532
2519
  item: S(N).editingItem.value,
2533
2520
  save: S(N).handleEditSave,
2534
- "can-crop": R.value && S(N).editingItem.value.canUpdate !== !1,
2521
+ "can-crop": z.value && S(N).editingItem.value.canUpdate !== !1,
2535
2522
  onClose: r[7] ||= (e) => S(N).editingItem.value = null
2536
2523
  }, null, 8, [
2537
2524
  "item",
@@ -2620,15 +2607,15 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2620
2607
  backgroundColor: "var(--tpl-bg)"
2621
2608
  }),
2622
2609
  onClick: r[11] ||= (e) => S(N).copy(S(N).selectedUrl.value)
2623
- }, [S(N).copied.value ? (v(), T(S(B), {
2610
+ }, [S(N).copied.value ? (v(), T(S(V), {
2624
2611
  key: 1,
2625
2612
  size: 12,
2626
2613
  "stroke-width": 2
2627
- })) : (v(), T(S(ne), {
2614
+ })) : (v(), T(S(te), {
2628
2615
  key: 0,
2629
2616
  size: 12,
2630
2617
  "stroke-width": 2
2631
- })), g(" " + a(S(N).copied.value ? _.value.mediaLibrary.copied : _.value.mediaLibrary.copyUrl), 1)], 4)) : m("", !0), te.value ? (v(), h("div", Yn, [b("button", {
2618
+ })), g(" " + a(S(N).copied.value ? _.value.mediaLibrary.copied : _.value.mediaLibrary.copyUrl), 1)], 4)) : m("", !0), ee.value ? (v(), h("div", Yn, [b("button", {
2632
2619
  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",
2633
2620
  style: {
2634
2621
  "border-color": "var(--tpl-border)",
@@ -2646,7 +2633,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2646
2633
  "folders",
2647
2634
  "current-folder-id",
2648
2635
  "onSelect"
2649
- ])) : m("", !0)])) : m("", !0)])) : m("", !0), b("div", Xn, [se.value > 0 ? (v(), h("button", {
2636
+ ])) : m("", !0)])) : m("", !0)])) : m("", !0), b("div", Xn, [oe.value > 0 ? (v(), h("button", {
2650
2637
  key: 0,
2651
2638
  "data-testid": "media-delete",
2652
2639
  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",
@@ -2655,7 +2642,7 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2655
2642
  color: "var(--tpl-danger)",
2656
2643
  "background-color": "var(--tpl-bg)"
2657
2644
  },
2658
- onClick: Y
2645
+ onClick: X
2659
2646
  }, a(_.value.mediaLibrary.deleteSelected), 1)) : m("", !0), t.showConfirm ? (v(), h("button", {
2660
2647
  key: 1,
2661
2648
  "data-testid": x.value,
@@ -2664,20 +2651,20 @@ var hn = { class: "tpl:relative tpl:flex tpl:min-h-0 tpl:flex-1 tpl:flex-col tpl
2664
2651
  "background-color": "var(--tpl-primary)",
2665
2652
  color: "var(--tpl-on-primary)"
2666
2653
  },
2667
- disabled: !W.value,
2668
- onClick: q
2654
+ disabled: !G.value,
2655
+ onClick: J
2669
2656
  }, a(t.accept?.length ? _.value.mediaLibrary.selectImage : _.value.mediaLibrary.selectFile), 9, Zn)) : m("", !0)])])])
2670
2657
  ]));
2671
2658
  }
2672
2659
  }), $n = /* #__PURE__ */ Object.assign({
2673
- "./locales/ca.ts": () => import("./ca-CYQH3J0b.js"),
2674
- "./locales/de.ts": () => import("./de-JvCTMJPy.js"),
2675
- "./locales/en.ts": () => import("./en-DwV15ltA.js"),
2676
- "./locales/es.ts": () => import("./es-CAv-Vldw.js"),
2677
- "./locales/fr.ts": () => import("./fr-DVPtxpR6.js"),
2678
- "./locales/ja.ts": () => import("./ja-dcWzjStz.js"),
2679
- "./locales/nl.ts": () => import("./nl-LZNqQgE4.js"),
2680
- "./locales/pt-BR.ts": () => import("./pt-BR-D6P_mNwA.js")
2660
+ "./locales/ca.ts": () => import("./ca-Cc6eL0ZS.js"),
2661
+ "./locales/de.ts": () => import("./de-DtrXVcuY.js"),
2662
+ "./locales/en.ts": () => import("./en-CyEE7FPY.js"),
2663
+ "./locales/es.ts": () => import("./es-Dw_h7Oll.js"),
2664
+ "./locales/fr.ts": () => import("./fr-BJaeKu_8.js"),
2665
+ "./locales/ja.ts": () => import("./ja-Cu2HdYaK.js"),
2666
+ "./locales/nl.ts": () => import("./nl-1Ai2NykB.js"),
2667
+ "./locales/pt-BR.ts": () => import("./pt-BR-CIbp__Z7.js")
2681
2668
  });
2682
2669
  function er(e) {
2683
2670
  return Object.keys(e).map((e) => e.match(/\/([^/]+)\.ts$/)?.[1]).filter((e) => !!e);
@@ -2700,8 +2687,7 @@ async function or(e) {
2700
2687
  let t = $n[`./locales/${ar(e)}.ts`];
2701
2688
  return (await t()).default;
2702
2689
  }
2703
- //#endregion
2704
- //#region ../media-library/src/components/MediaLibraryModal.vue?vue&type=script&setup=true&lang.ts
2690
+ // ../media-library/src/components/MediaLibraryModal.vue?vue&type=script&setup=true&lang.ts
2705
2691
  var sr = ["data-tpl-theme"], cr = /* @__PURE__ */ D({
2706
2692
  __name: "MediaLibraryModal",
2707
2693
  props: {
@@ -2719,11 +2705,11 @@ var sr = ["data-tpl-theme"], cr = /* @__PURE__ */ D({
2719
2705
  let r = t, a = n, o = c(null);
2720
2706
  O(() => r.locale, async (e) => {
2721
2707
  o.value = await or(e ?? "en");
2722
- }, { immediate: !0 }), i(fe, o);
2708
+ }, { immediate: !0 }), i(de, o);
2723
2709
  let s = p(() => r.uiTheme);
2724
- i(X, s);
2710
+ i(fe, s);
2725
2711
  let u = x(() => r.popoverTarget ?? null);
2726
- i(Y, u), i(Z, x(() => r.locale));
2712
+ i(X, u), i(Z, x(() => r.locale));
2727
2713
  let g = c(null), _ = c(null);
2728
2714
  _e(g, p(() => r.visible && o.value !== null && !_.value?.nestedDialogOpen));
2729
2715
  function y(e) {
@@ -2793,5 +2779,4 @@ var sr = ["data-tpl-theme"], cr = /* @__PURE__ */ D({
2793
2779
  })], 8, ["to"]));
2794
2780
  }
2795
2781
  });
2796
- //#endregion
2797
- export { cr as MediaLibraryModal, Y as a, pe as i, he as n, X as o, Q as r, _e as t };
2782
+ export { cr as MediaLibraryModal, X as a, pe as i, he as n, fe as o, Q as r, _e as t };