1import{w as o}from"./with-props-qNtyFk6Z.js";import{j as r}from"./jsx-runtime-BjG_zV1W.js";import{H as c}from"./HeroBanner-CwkPtHQD.js";import{N as l}from"./NewsItem-By3dUCsO.js";import{L as p}from"./chunk-AYJ5UCUI-B3xBOHQa.js";import{m as g}from"./meta-BSOaNOuq.js";import{u}from"./index-DMYttPfs.js";import"./Swirl-KMcU0Dq_.js";import"./Image-DHe1GSMa.js";import"./env-Bag1V3j4.js";import"./config.client-Cq1TkjIo.js";import"./useDecodeFocus-BoWn5D7P.js";import"./DecodeFocusProvider-Bu2Num-g.js";import"./markdown--2W3Tk2U.js";import"./links-CeW3ekbd.js";import"./games-C8netfrc.js";import"./marshal-DllQVdc0.js";import"./url-CCke6ba3.js";function m(e){let s=!1;return r.jsx("strong",{className:"center row tight",children:Array.from({length:e.totalPages},(i,n)=>{let a=2,t=n+1;return t>1&&t<e.totalPages&&(t<e.currentPage-a||t>e.currentPage+a)?s?null:(s=!0,r.jsx("span",{children:"â¦"},t)):(s=!1,t==e.currentPage?r.jsx("strong",{className:"round",style:{background:"var(--primary)",width:"2em",lineHeight:2,textAlign:"center"},children:t},t):r.jsx(p,{to:{search:`?page=${t}`},children:t},t))})})}function F({data:e}){return g(e.meta)}const I=o(function({loaderData:e}){const s=u();return r.jsxs("main",{className:"stacked",children:[r.jsx(c,{title:s.news,children:r.jsx(m,{totalPages:e.pages,currentPage:e.page})}),r.jsx("div",{className:"prose stacked",children:e.items.map((i,n)=>r.jsx("div",{className:"padded rounded center panel",children:r.jsx(l,{item:i})},n))}),r.jsx(m,{totalPages:e.pages,currentPage:e.page})]})});export{I as default,F as meta};
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.