1import{_ as f,a as P}from"./DoOESfR2.js";import{p as b,Y as x,z as k,u as $,e,c as m,a as i,t as F,F as N,r as w,b as B,i as v,o as r,l as C}from"./DG980gjg.js";import{u as H}from"./BDhTB8RV.js";import"./DaskQ1Cf.js";import"./bIH0NZqN.js";const V={key:0},I={class:"sm:p-4 space-y-4 max-w-screen-2xl"},R={class:"p-0 mb-4 sm:mb-8 font-sans text-4xl font-bold tracking-tight align-baseline border-0"},Q={__name:"[[pageNumber]]",async setup(z){let a,c;const s=b(),l=x(),p=parseInt(s.params.pageNumber)||1,_=([a,c]=k(()=>H(`/api/category?page=${p}&slug=${s.params.slug}`,"$HkQMaUFITF")),a=await a,c(),a),{data:t,pending:g}=_,d=async o=>{let n=`/category/${s.params.slug}/`;o>1&&(n+=`page/${o}/`),await l.push({path:n})};return $(t.value.useHead),(o,n)=>{const h=P,y=f;return e(g)?v("",!0):(r(),m("div",V,[i("div",I,[i("h1",R,F(e(t).category.name),1),(r(!0),m(N,null,w(e(t).posts,u=>(r(),C(h,{key:u.id,post:u},null,8,["post"]))),128)),B(y,{onPage:d,totalPages:e(t).totalPages,currentPage:e(p)},null,8,["totalPages","currentPage"])])]))}}};export{Q as default};
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.