import{w as r}from"./chunk-UIGDSWPH-fNK8sKgt.js";import{j as e}from"./jsx-runtime-C_974cfT.js";import{I as n}from"./misc-BOyXKFuR.js";import{S as s}from"./tooltip-Dl4Bqfpf.js";import{L as l}from"./launch-editor-BaWekpX8.js";import"./index-BDZD4X5K.js";import"./index-L8976fcQ.js";import"./progress-bar-OaAGU-bF.js";import"./pe-D3b-z7vI.js";import"./root-loader-BZ1M-egm.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};i.SENTRY_RELEASE={id:"3ea6c863933c57219be78eb06addfb47859d8df2"}}catch{}})();const j=r(function({loaderData:o}){const{db:a,filepath:t}=o;return e.jsxs("main",{children:[e.jsx("h1",{className:"text-2xl font-bold",children:"Database"}),e.jsx("div",{className:"prose mt-4",children:e.jsxs("callout-danger",{children:[e.jsx("strong",{children:"Warning:"})," Editing the database directly can corrupt your data. Be very careful!"]})}),e.jsxs(l,{file:t,className:"flex max-w-full items-center gap-2",children:[e.jsx(s,{content:"Open the database file in your editor",children:e.jsx(n,{name:"Files",className:"h-4 w-4",title:"Open in editor"})}),e.jsx("span",{className:"truncate",title:t,children:t})]}),e.jsx("pre",{className:"mt-4 max-h-[400px] w-full overflow-auto rounded border bg-gray-900 p-4 text-sm text-white",children:JSON.stringify(a,null,2)})]})});export{j as default};
//# sourceMappingURL=db-DFUKPH3I.js.map
