const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/Editor-CT2H8SzY.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DCUwxYMh.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-Coav-X6q.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-BrouV0Mr.chunk.mjs'),window.OC.filePath('text', '', 'js/index-CJ7wDv5l.chunk.mjs'),window.OC.filePath('text', '', 'js/RichText-C3pQieVL.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-DLE8eHQU.chunk.mjs'),window.OC.filePath('text', '', 'js/public-CX3DIv4G.chunk.mjs'),window.OC.filePath('text', '', 'css/public-BffjDTy3.chunk.css'),window.OC.filePath('text', '', 'js/index-jVSJWteM.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DtTpkYe5.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-hk4lAjcj.chunk.css'),window.OC.filePath('text', '', 'js/index-BlLlZtv2.chunk.mjs'),window.OC.filePath('text', '', 'js/MediaHandler.provider-i78Kd03y.chunk.mjs'),window.OC.filePath('text', '', 'js/logger-YW53u4Eu.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-DG30ZWXQ.chunk.mjs'),window.OC.filePath('text', '', 'css/RichText-Bm-LyHxA.chunk.css'),window.OC.filePath('text', '', 'js/Wrapper-sgJnoJTT.chunk.mjs'),window.OC.filePath('text', '', 'js/index-CGAoxidy.chunk.mjs'),window.OC.filePath('text', '', 'css/Wrapper-BnqW3NBY.chunk.css'),window.OC.filePath('text', '', 'js/_commonjs-dynamic-modules-Cdb4quZm.chunk.mjs'),window.OC.filePath('text', '', 'css/Editor-CsDvpUUI.chunk.css')])))=>i.map(i=>d[i]);
import{_ as i}from"./modulepreload-polyfill-DCUwxYMh.chunk.mjs";import{n as r}from"./_plugin-vue2_normalizer-DLE8eHQU.chunk.mjs";import{b as a}from"./public-CX3DIv4G.chunk.mjs";import"./index-jVSJWteM.chunk.mjs";import"./emoji-picker-Coav-X6q.chunk.mjs";import"./vue.runtime.esm-BrouV0Mr.chunk.mjs";import"./index-CJ7wDv5l.chunk.mjs";import"./index-DtTpkYe5.chunk.mjs";const l={name:"PublicFilesEditor",components:{NcModal:a,Editor:()=>i(()=>import("./Editor-CT2H8SzY.chunk.mjs").then(t=>t.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url)},props:{fileId:{type:Number,default:null},relativePath:{type:String,default:null},active:{type:Boolean,default:!1},shareToken:{type:String,default:null},mimeType:{type:String,default:null}},computed:{fileName(){return this.relativePath.substring(this.relativePath.lastIndexOf("/")+1)}},methods:{close(){this.$emit("close")}}};var o=function(){var t=this,e=t._self._c;return t.active?e("NcModal",{attrs:{name:t.fileName},on:{close:t.close}},[e("Editor",{attrs:{"file-id":t.fileId,"relative-path":t.relativePath,active:t.active,"share-token":t.shareToken,mime:t.mimeType}})],1):t._e()},m=[],n=r(l,o,m,!1,null,null);const _=n.exports;export{_ as default};
