PageSourceSearch

https://forcefleet.com/assets/blog.category._slug-CUyfN34H.js

js forcefleet.com collected 2026-10-09 04:45:28 UTC 1,123 bytes, 1 lines download raw bytes

1import{a4 as r,j as s,L as a,a5 as i}from"./main-C2-GKPMk.js";function c({categories:l,activeSlug:t}){const n=r();return l.length?s.jsxs("section",{className:"pn-filter blog-filter",children:[s.jsxs("div",{className:"pn-filter-bar",children:[s.jsx(a,{to:"/blog",className:`pn-tab ${t?"":"is-active"}`,children:"All"}),l.map(e=>s.jsx(a,{to:"/blog/category/$slug",params:{slug:e.slug},className:`pn-tab ${t===e.slug?"is-active":""}`,children:e.name},e.slug))]}),s.jsxs("select",{className:"pn-filter-select",value:t??"",onChange:e=>{const o=e.target.value;n(o?{to:"/blog/category/$slug",params:{slug:o}}:{to:"/blog"})},"aria-label":"Filter posts by category",children:[s.jsx("option",{value:"",children:"All"}),l.map(e=>s.jsx("option",{value:e.slug,children:e.name},e.slug))]})]}):null}const u=()=>{const{slug:l}=i.useParams();return s.jsxs("div",{style:{padding:"4rem 2rem",textAlign:"center"},children:[s.jsx("h1",{children:"Category not found"}),s.jsxs("p",{children:["No category exists at /blog/category/",l,"."]}),s.jsx(a,{to:"/blog",children:"Back to the blog"})]})};export{c as CategoryChips,u as notFoundComponent};

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.