1import{t as T,am as k,V as I,av as c,aq as V,Z as o,k as i,aj as e,ab as C,j as m,p as D,s as E,A as w,_ as x,a3 as u,g as A}from"./framework.CVnqCDlw.js";import{t as B,p as R,q as S}from"./theme.07pbw0aT.js";import{u as b}from"./useInfiniteScroll.DTP-GBw1.js";import"./index.CS6T_eoN.js";const O={class:"TagList tag-list is--page"},j={key:0},G=T({__name:"TagList",setup(q){const d=E({loader:()=>x(()=>import("./VSectionCardArticleList.uEOc-hWl.js"),[]),hydrate:w()}),g=B(),{page:n,frontmatter:l}=k(),{contentTree:p}=R(g),t=u(""),s=u(!1);I(()=>{s.value=!0;const a=new URLSearchParams(window.location.search);t.value=a.get("tag")||""});const _=A(()=>{var a,r;return s.value?((r=(a=p.value)==null?void 0:a.findBy("tags",t.value))==null?void 0:r.map(P=>P.data).filter(Boolean))||[]:[]}),{paginatedItems:f,hasMoreItems:h,triggerElement:v,resetPagination:y}=b(_,{itemsPerPage:10,distance:10,resetOnChange:!1});c(t,()=>{y()});const L=V();return c(()=>L.path,()=>{setTimeout(()=>S().hide(),100)},{immediate:!0}),(a,r)=>(o(),i("div",O,[e(l).title||e(n).title?(o(),i("h1",j,C(e(l).title||e(n).title),1)):m("",!0),D(e(d),{title:s.value?t.value:"",items:e(f)},null,8,["title","items"]),e(h)&&s.value&&t.value?(o(),i("div",{key:1,ref_key:"triggerElement",ref:v,class:"trigger-element",style:{height:"1px",margin:"20px 0"}},null,512)):m("",!0)]))}});export{G 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.