import{ba as s,bb as o,bc as m}from"./reactor_browser-CqcNBhxi.js";import"./document_model-BhnxVUEi.js";import"./zod-9j67vCAu.js";import"./react-DQSxOgtG.js";import"./document_drive-CacD9AxC.js";import"./graphql-AKTCpY7l.js";import"./config-CU-aFfVJ.js";import"./sentry_react-cODD7zWc.js";import"./sentry_browser-B4YoBIIG.js";import"./drive_explorer-C9ZlHrfH.js";import"./document_model_editor-B0b9iLkL.js";import"./react/jsx-runtime-DldvXD6N.js";import"./design_system-D3L2kJJ3.js";import"./tailwind_merge-Dr4f9Rms.js";import"./react-dom-D6zQJsh6.js";import"./design_system_connect-CyoiT4fi.js";import"./design_system_ui-cfMsqDx9.js";m();var O=class extends s{constructor(t){super(t),this.rootDir=(void 0)(t),(void 0)((void 0)(this.rootDir))||(void 0)(this.rootDir)}async init(t,r){return this.pg=t,{emscriptenOpts:{...r,preRun:[...r.preRun||[],i=>{let p=i.FS.filesystems.NODEFS;i.FS.mkdir(o),i.FS.mount(p,{root:this.rootDir},o)}]}}}async closeFs(){this.pg.Module.FS.quit()}};export{O as NodeFS};
