1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="5c0d40bf-6fd4-4a22-855b-f7b7e02db8b5",e._sentryDebugIdIdentifier="sentry-dbid-5c0d40bf-6fd4-4a22-855b-f7b7e02db8b5")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9189],{2833:function(e,s,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/dashboard",function(){return n(1146)}])},1864:function(e,s,n){"use strict";n.d(s,{Z:function(){return u}});var i=n(5893),a=n(9008),t=n.n(a),d=n(1664),l=n.n(d),r=n(3469),c=n.n(r),o=[{href:"/admin/dashboard",label:"Dashboard"},{href:"/admin/articles",label:"Articles"},{href:"/admin/issues",label:"Issues"},{href:"/admin/authors",label:"Authors"},{href:"/admin/gaps",label:"Gaps"}];function u(e){var s=e.children,n=e.title;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(t(),{children:[(0,i.jsxs)("title",{children:[void 0===n?"Admin":n," | Hammer & Hope Admin"]}),(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,i.jsxs)("div",{className:c().adminLayout,children:[(0,i.jsxs)("aside",{className:c().sidebar,children:[(0,i.jsx)("h2",{className:c().brand,children:"Admin"}),(0,i.jsx)("nav",{className:c().nav,children:o.map(function(e){var s=e.href,n=e.label;return(0,i.jsx)(l(),{href:s,className:c().navLink,children:n},s)})}),(0,i.jsx)("a",{href:"/api/admin/logout",className:c().logout,children:"Logout"})]}),(0,i.jsx)("main",{className:c().main,children:s})]})]})}},1146:function(e,s,n){"use strict";n.r(s),n.d(s,{__N_SSP:function(){return c},default:function(){return o}});var i=n(5893),a=n(1864),t=n(1664),d=n.n(t),l=n(8829),r=n.n(l),c=!0;function o(e){var s,n=e.homepageIssue,t=e.articles,l=e.authors,c=e.gaps,o=e.totalIssues;return(0,i.jsxs)(a.Z,{title:"Dashboard",children:[(0,i.jsx)("h1",{children:"Dashboard"}),(0,i.jsxs)("section",{className:r().section,children:[(0,i.jsx)("h2",{children:"Homepage"}),n?(0,i.jsxs)("div",{children:[(0,i.jsxs)("p",{children:[(0,i.jsxs)("strong",{children:["Issue #",n.id]}),": ",n.title||"Untitled"]}),(0,i.jsxs)("p",{className:r().muted,children:[(null===(s=n.pageSections)||void 0===s?void 0:s.length)||0," sections"]}),(0,i.jsx)(d(),{href:"/admin/issues",children:"View all issues"})]}):(0,i.jsx)("p",{className:r().muted,children:"No visible issues"})]}),(0,i.jsxs)("section",{className:r().section,children:[(0,i.jsx)("h2",{children:"Quick Stats"}),(0,i.jsxs)("ul",{className:r().stats,children:[(0,i.jsxs)("li",{children:["Articles: ",t.length]}),(0,i.jsxs)("li",{children:["Issues: ",o]}),(0,i.jsxs)("li",{children:["Authors: ",l.length]}),(0,i.jsxs)("li",{children:["Gaps: ",c.length]})]})]}),(0,i.jsxs)("section",{className:r().section,children:[(0,i.jsx)("h2",{children:"Recent Gaps"}),c.length>0?(0,i.jsx)("ul",{className:r().gapList,children:c.slice(0,5).map(function(e,s){return(0,i.jsxs)("li",{children:[(0,i.jsx)(d(),{href:"/admin/articles?gap=".concat(e.article.cms_id),children:e.article.title}),": ",e.message]},s)})}):(0,i.jsx)("p",{className:r().muted,children:"No gaps detected"}),(0,i.jsx)(d(),{href:"/admin/gaps",children:"View all gaps"})]})]})}},3469:function(e){e.exports={adminLayout:"AdminLayout_adminLayout__XzI8A",sidebar:"AdminLayout_sidebar__wYW8_",brand:"AdminLayout_brand__5fzSp",nav:"AdminLayout_nav__KCxi4",navLink:"AdminLayout_navLink__aqyoB",logout:"AdminLayout_logout__CPUIR",main:"AdminLayout_main__BiXip"}},8829:function(e){e.exports={section:"Admin_section__HGZ9_",muted:"Admin_muted__LFR4U",stats:"Admin_stats__Y536a",gapList:"Admin_gapList__g8ofD",table:"Admin_table__nnR1i",badge:"Admin_badge__lQ_wA",issueTree:"Admin_issueTree__kUGls",sectionType:"Admin_sectionType__iA8bn",articleLink:"Admin_articleLink__g2RfB"}}},function(e){e.O(0,[1664,2888,9774,179],function(){return e(e.s=2833)}),_N_E=e.O()}]);
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.