1import{_ as z}from"./CzeH1xte.js";import{_ as H}from"./D7ERk-u_.js";import{_ as M}from"./_puy87sz.js";import R from"./YuAj6HqM.js";import{_ as Z}from"./CPJqzH_R.js";import{d as O,k as U,f as X,u as j,w as G,g as J,c as K,l as Q,a as l,e as a,s as w,x as d,y as A,F as C,v as E,b as t,B as I,t as L,X as W,o,H as N,A as Y,Z as tt,D as et}from"./tpUjp3ZS.js";import{c as ot}from"./Cn77tuj2.js";import{u as st}from"./Bod56zzj.js";import{u as rt}from"./CwIKWg0b.js";import"./Bl3ivyQG.js";import"./BT9bKAnr.js";import"./Czd7khYC.js";import"./BqeQod_z.js";import"./B-QSjPXD.js";import"./DdLzKJNJ.js";import"./CHXG2mXA.js";import"./Cuq2oZkH.js";import"./FzY_KVBG.js";import"./LYn39LkW.js";import"./CMzaOMXm.js";import"./BKUHZtqZ.js";import"./DDf5FnVT.js";import"./nLWjQ9zq.js";const at={class:"container mt-10"},nt={class:"list-cols"},it={class:"flex flex-col gap-12 mb-10"},lt={class:"w-5 shrink-0 text-[20px] font-bold uppercase"},pt={class:"flex flex-wrap gap-4"},ct=["href"],Pt=O({__name:"index",async setup(mt){let p,f;const B=u=>{const e=new Map;for(const s of u){const r=s.title.toUpperCase().replace(/[^a-zA-Zа-ÑÐ-ЯÑÐÓÓ¨Ò¯ÒÒ¡Ò£Ò»ÒÓÓ¨Ò®ÒÒ Ò¢ÒºÒ0-9]/g,"").charAt(0),c=e.get(r);c?c.push(s):e.set(r,[s])}return Array.from(e.entries()).map(([s,r])=>({letter:s,items:r}))},{footerVisible:S}=U(),g=X(),{platform:x}=j(),n=Number(g.query.page||1),m={limit:200,order:"title"},{data:h,error:v}=([p,f]=G(()=>st("tags",{query:{...m,page:n}})),p=await p,f(),p);if(v.value||!h.value)throw J({statusCode:v.value?.statusCode??500});const y=h.value,{items:V,loading:D,getItems:F,busy:k,loadEnabled:P,enableLoad:b}=rt({initialItems:y,initialPage:n,endpoint:"tags",params:m}),T=K(()=>B(V.value));return Q({link:[{rel:"canonical",href:x.hostname+g.path+(n>1?`?page=${n}`:"")}]}),(u,e)=>{const s=z,r=H,c=M,$=R,q=Z;return o(),l("div",at,[a("section",nt,[a("div",null,[a("div",it,[(o(!0),l(C,null,E(t(T),i=>(o(),l("div",{key:i.letter,class:"flex items-start gap-10"},[a("div",lt,N(i.letter),1),a("div",pt,[(o(!0),l(C,null,E(i.items,_=>(o(),d(s,{key:_.slug,to:_.path,class:et(t(ot)("rounded border border-active px-2 py-0.5 text-lg uppercase text-active tracking-[2px]",t(x).template==="ig"&&"text-[#1E63EA] border-[#1E63EA]"))},{default:Y(()=>[tt(" # "+N(_.title),1)]),_:2},1032,["to","class"]))),128))])]))),128))]),w(L(r,null,null,512),[[I,t(D)]]),t(P)?(o(),d(c,{key:0,busy:t(k),onLoad:t(F)},null,8,["busy","onLoad"])):t(k)?A("",!0):(o(),l("a",{key:1,href:t(y).length<m.limit?void 0:`/tags?page=${t(n)+1}`,onClick:e[0]||(e[0]=W((...i)=>t(b)&&t(b)(...i),["prevent"]))},[...e[1]||(e[1]=[a("div",{class:"all-matters"},"ÐÑе Ñеги",-1)])],8,ct))]),u.$device.isDesktopOrTablet?(o(),d($,{key:0})):A("",!0)]),w(L(q,null,null,512),[[I,t(S)]])])}}});export{Pt 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.