const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('text', '', 'js/files-h8XLPAP5.chunk.mjs'),window.OC.filePath('text', '', 'js/modulepreload-polyfill-BbX-W30F.chunk.mjs'),window.OC.filePath('text', '', 'js/emoji-picker-DlAAdvrL.chunk.mjs'),window.OC.filePath('text', '', 'js/public-BQSk-kMe.chunk.mjs'),window.OC.filePath('text', '', 'js/NcLoadingIcon-DNqaLvLX.chunk.mjs'),window.OC.filePath('text', '', 'css/NcLoadingIcon-Bs0OvbBQ.chunk.css'),window.OC.filePath('text', '', 'js/vue.runtime.esm-CF8vEa-4.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DfiDB3im.chunk.mjs'),window.OC.filePath('text', '', 'css/public-DvAuxGX_.chunk.css'),window.OC.filePath('text', '', 'js/index-usWvSWAY.chunk.mjs'),window.OC.filePath('text', '', 'js/index-mgFfDjoT.chunk.mjs'),window.OC.filePath('text', '', 'js/index-DyuGUWxl.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-D85sbSYG.chunk.mjs'),window.OC.filePath('text', '', 'js/FilesSettings-B_VRP4oQ.chunk.mjs'),window.OC.filePath('text', '', 'js/NcCheckboxRadioSwitch-VeztTzpz-Di1Oh6HC.chunk.mjs'),window.OC.filePath('text', '', 'css/NcCheckboxRadioSwitch-VeztTzpz-CdJ-sA3l.chunk.css'),window.OC.filePath('text', '', 'js/_plugin-vue2_normalizer-wd1ZAbRr.chunk.mjs')])))=>i.map(i=>d[i]);
import{_ as a}from"./modulepreload-polyfill-BbX-W30F.chunk.mjs";import{l as o}from"./index-DfiDB3im.chunk.mjs";import{l as s}from"./logger-DvmA7f2u.chunk.mjs";import"./emoji-picker-DlAAdvrL.chunk.mjs";import"./index-mgFfDjoT.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-h8XLPAP5.chunk.mjs");return{registerFileActionFallback:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),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-CF8vEa-4.chunk.mjs").then(i=>i.v);return{default:t}},[],import.meta.url),{default:r}=await a(async()=>{const{default:t}=await import("./FilesSettings-B_VRP4oQ.chunk.mjs");return{default:t}},__vite__mapDeps([15,1,2,11,6,16,4,5,17,18]),import.meta.url),{default:n}=await a(async()=>{const{default:t}=await import("./index-D85sbSYG.chunk.mjs").then(i=>i.i);return{default:t}},__vite__mapDeps([14,6,11,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
