const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Layout_Default-BSgLpaZk.js","assets/rolldown-runtime-CCT_m2FY.js","assets/gjaest-site-C99HXVqS.js"])))=>i.map(i=>d[i]);
import{a as t}from"./rolldown-runtime-CCT_m2FY.js";import{C as a,F as s,Sn as e,bn as i,cn as r,k as n,vn as o}from"./gjaest-site-C99HXVqS.js";var l=t(e(),1),c=r(),u=(0,l.lazy)(()=>i(()=>import("./Layout_Default-BSgLpaZk.js"),__vite__mapDeps([0,1,2]))),m=()=>{const{id:t,tab:e}=o(),{data:i,loading:r}=a("/journals/"+t,null);(0,l.useEffect)(()=>{window.scrollTo(0,0)},[e]);const m=(0,l.useMemo)(()=>i?{impactFactor:i.impactFactor||"9.2",articles:i.articles_count||0,views:i.totalViews||"1.2K",citations:i.totalCitations||"450",acceptanceRate:"28%",avgReviewTime:"2-3 Weeks"}:{},[i]);if(r&&!i)return(0,c.jsx)(n,{});if(!i)return(0,c.jsx)("div",{className:"min-h-screen flex items-center justify-center font-serif italic text-slate-400",children:"Journal information unavailable..."});return(0,c.jsxs)("div",{className:"min-h-screen bg-white transition-colors duration-500",children:[(0,c.jsx)(s,{title:`${i.title} | ${i.abbr} Library`,description:`${i.description?.substring(0,150)}...`,journalData:i}),(0,c.jsx)(l.Suspense,{fallback:(0,c.jsx)(n,{}),children:(0,c.jsx)(u,{journal:i,metrics:m,activeTabId:e})})]})};export{m as default};