PageSourceSearch

https://shikutoku.me/_next/static/chunks/layouts-Cd98teL8.js

js shikutoku.me collected 2026-10-04 18:41:03 UTC 1,881 bytes, 1 lines download raw bytes

1import{r as e}from"./framework-A1pNZAzD.js";import{t}from"./PageLoadTime-DUTpRahI.js";import{t as n}from"./fetcher-D6tgV-Dt.js";import{n as r}from"./use-swr-emll9s78-DtYu-TC9.js";import{AdminAuthGuard as i}from"./AdminAuthGuard-_dHxckuj.js";import{AdminHeader as a}from"./AdminHeader-BHIpLbMu.js";import{Sidebar as o}from"./sidebar-BSn8P8c5.js";var s=()=>{let{data:e,error:t}=r(`/api/admin/tables`,n,{revalidateOnFocus:!1,revalidateOnReconnect:!1,dedupingInterval:6e4});return{data:e,error:t,tables:e?.tables||[],isLoading:!e&&!t}},c=e(),l=e=>{let{error:n,tables:r,isLoading:l}=s();if(l)return(0,c.jsx)(`div`,{className:`flex h-screen items-center justify-center bg-white dark:bg-slate-900`,children:(0,c.jsxs)(`div`,{className:`flex flex-col items-center space-y-4`,children:[(0,c.jsx)(`div`,{className:`h-8 w-8 animate-spin rounded-full border-4 border-gray-300 border-t-blue-500`}),(0,c.jsx)(`p`,{className:`text-gray-700 dark:text-gray-400`,children:`読み込み中...`})]})});if(n)return(0,c.jsx)(`div`,{className:`flex h-screen items-center justify-center bg-white dark:bg-slate-900`,children:(0,c.jsxs)(`div`,{className:`text-center`,children:[(0,c.jsx)(`p`,{className:`text-red-600 dark:text-red-400`,children:`エラーが発生しました`}),(0,c.jsx)(`p`,{className:`mt-2 text-sm text-gray-700 dark:text-gray-400`,children:`ページを再読み込みしてください`})]})});let u=r.map(e=>e.name);return(0,c.jsx)(i,{children:(0,c.jsxs)(`div`,{className:`flex h-screen w-full min-w-0 max-w-full overflow-hidden bg-gray-50 dark:bg-slate-900`,children:[(0,c.jsx)(o,{tableNames:u}),(0,c.jsxs)(`div`,{className:`flex min-w-0 flex-1 flex-col overflow-hidden`,children:[(0,c.jsx)(a,{}),(0,c.jsx)(t,{}),(0,c.jsx)(`div`,{className:`min-w-0 max-w-full flex-1 overflow-x-hidden overflow-y-auto bg-gray-50 dark:bg-slate-900`,children:e.children})]})]})})};export{l as Layout};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.