const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/files-aRoSJeyW.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-DE-oIJqv.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-KVqjnXYv.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-CQ6iBklL-hCHD4uyV.chunk.mjs'),window.OC.filePath('text', '', 'js/public-BYOpgJit.chunk.mjs'),window.OC.filePath('text', '', 'js/vue.runtime.esm-DO2cz8pp.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DfiDB3im.chunk.mjs'),window.OC.filePath('text', '', 'css/public-DG0nQhh6.chunk.css'),window.OC.filePath('text', '', 'js/index-BfBM59XC.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Bc2S5k6V.chunk.mjs'),window.OC.filePath('text', '', 'js/index-BGFdrNqh.chunk.mjs'),window.OC.filePath('text', '', 'js/token-DsHNcSTq.chunk.mjs'),window.OC.filePath('text', '', 'js/mime-D0Qvdd6a.chunk.mjs'),window.OC.filePath('text', '', 'js/index-Ct2iTpP3.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-B8WaNhcW.chunk.mjs'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-Ek9LosZJ.chunk.mjs'),window.OC.filePath('text', '', 'css/_plugin-vue2_normalizer-qC8o6FCo.chunk.css')])))=>i.map(i=>d[i]);
import{_ as a}from"./modulepreload-polyfill-DE-oIJqv.chunk.mjs";import{l as o}from"./index-DfiDB3im.chunk.mjs";import{l as s}from"./logger-BOSm1sVH.chunk.mjs";import"./emoji-picker-KVqjnXYv.chunk.mjs";import"./index-Bc2S5k6V.chunk.mjs";const d=o("text","workspace_available"),p=o("text","workspace_enabled");document.addEventListener("DOMContentLoaded",async()=>{if(typeof OCA.Viewer>"u"){const{registerFileActionFallback:e}=await a(async()=>{const{registerFileActionFallback:r}=await import("./files-aRoSJeyW.chunk.mjs");return{registerFileActionFallback:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url);s.error("Viewer app is not installed"),e()}if(d&&OCA&&OCA?.Files?.Settings){const{default:e}=await a(async()=>{const{default:t}=await import("./vue.runtime.esm-DO2cz8pp.chunk.mjs").then(i=>i.v);return{default:t}},[],import.meta.url),{default:r}=await a(async()=>{const{default:t}=await import("./FilesSettings-B8WaNhcW.chunk.mjs");return{default:t}},__vite__mapDeps([14,1,2,10,5,15,4,6,7,9,16]),import.meta.url),{default:n}=await a(async()=>{const{default:t}=await import("./index-Ct2iTpP3.chunk.mjs").then(i=>i.i);return{default:t}},__vite__mapDeps([13,5,10,1,2]),import.meta.url);e.prototype.t=window.t,e.prototype.n=window.n,e.prototype.OCA=window.OCA;const l=new e({render:t=>t(r,{}),store:n}).$mount().$el;OCA.Files.Settings.register(new OCA.Files.Settings.Setting("text",{el:()=>l}))}}),OCA.Text={RichWorkspaceEnabled:p};
//# sourceMappingURL=text-files.mjs.map
