(()=>{var e={288:e=>{"use strict";e.exports=require("electron")}},o={};const{contextBridge:n,ipcRenderer:t}=function n(t){var s=o[t];if(void 0!==s)return s.exports;var r=o[t]={exports:{}};return e[t](r,r.exports,n),r.exports}(288);n.exposeInMainWorld("electronAPI",{onFileOpened:e=>t.on("file-opened",e),onRequestSaveFile:e=>t.on("request-save-file",e),onRequestSaveAsFile:e=>t.on("request-save-as-file",e),onFileSaved:e=>t.on("file-saved",e),onFileSaveError:e=>t.on("file-save-error",e),onRequestExportMarkdown:e=>t.on("request-export-markdown",e),onRequestExportPDF:e=>t.on("request-export-pdf",e),onRequestExportImage:e=>t.on("request-export-image",e),onReopenClosedFile:e=>t.on("reopen-closed-file",e),saveFile:e=>t.send("save-file",e),fileClosed:e=>t.send("file-closed",e),openExternal:e=>t.send("open-external-link",e),openLoginWindow:e=>t.send("open-login-window",e),loginSuccess:e=>t.send("login-success",e),onUpdateLoginState:e=>t.on("update-login-state",e),removeAllListeners:e=>t.removeAllListeners(e),setToken:e=>t.invoke("set-token",e),getToken:()=>t.invoke("get-token"),deleteToken:()=>t.invoke("delete-token")})})();
//# sourceMappingURL=preload.js.map