import r from"./index-Cy3Gp9Hk.js?v=1773287522785";import{k as i,r as n,$ as a,Z as p,a0 as s}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./theme-monokai-Bqt0uTuQ.js?v=1773287522785";import"./ace-CNnfDSio.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";import"./index-BTglIPU2.js?v=1773287522785";import"./naive-ui--dJnpVcV.js?v=1773287522785";import"./useLoading-CZ2gSAW7.js?v=1773287522785";import"./file-B5PwfK2h.js?v=1773287522785";const c={class:"p-20px"},w=i({__name:"index",props:{path:{default:""}},setup(m,{expose:t}){const o=n();return t({onConfirm:async()=>{var e;await((e=o.value)==null?void 0:e.saveFile())}}),(e,l)=>(a(),p("div",c,[s(r,{ref_key:"configRef",ref:o,path:e.path,height:580,init:!0,"show-encoding":!0},null,8,["path"])]))}});export{w as default};
