(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},78317,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(94519),l=e.i(84220);function c(){let[e,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{async function e(){try{let e=await fetch("/api/state");c(e.ok)}catch{c(!1)}}e();let t=setInterval(e,2e3);return()=>clearInterval(t)},[]),(0,t.jsxs)(l.SidebarProvider,{children:[(0,t.jsx)(a.AppSidebar,{connected:e,currentPage:"databases"}),(0,t.jsx)(l.SidebarInset,{className:"flex flex-col h-screen border-l border-border",children:(0,t.jsx)("main",{className:"flex-1 overflow-hidden",children:(0,t.jsx)("iframe",{src:"https://__drizzle_gateway.local.spcf.app",className:"w-full h-full border-0",style:{colorScheme:"light"},title:"Database Viewer"})})})]})}e.s(["default",()=>c])}]);