PageSourceSearch

https://eloquent-kitsune-91223c.netlify.app/_nuxt/B4suBHRr.js

js eloquent-kitsune-91223c.netlify.app collected 2026-10-03 10:43:33 UTC 2,496 bytes, 1 lines download raw bytes

1import{_ as A}from"./Buk9hf-4.js";import{_ as L}from"./BHVEpx2M.js";import{d as R,q as E,D as F,r as v,l as k,J as G,c as i,e as g,b as s,w as h,G as w,u as e,F as C,z as V,B as x,s as S,t as m,m as U,x as H,o as a,g as B,n as J}from"./BxdW20Ub.js";import{_ as M}from"./BN3Pp6T6.js";import{_ as T}from"./BY4k-5cQ.js";import{u as j}from"./DZzL8uY2.js";import{u as K}from"./DITm4lyW.js";import{u as O}from"./CQ2nXzyS.js";import"./DP_pMERM.js";import"./BTjMOjAX.js";import"./Dwcg0_5Q.js";import"./51z2yfQf.js";const Q={class:"container"},W={class:"blog-wrapper row"},X={class:"col-lg-3"},Y={class:"blog-sticky-filters"},Z={class:"blog-categories"},ee={class:"col-lg-9"},te={key:0,class:"text-muted"},oe={key:1,class:"row"},fe={__name:"[id]",async setup(se){let o,_;const{locale:f}=R(),P=E(),c=F(),D=U();console.log("yolo");const l=v(c.query.page?parseInt(c.query.page):1),y=v(12),u=v(""),{categories:$}=([o,_]=k(()=>j(D.public.catidBlog)),o=await o,_(),o),n=$.find(p=>p.id==c.params.id);if(!n)throw G({statusCode:404,statusMessage:"Category not found"});K({localeHead:!0,lang:f.value,metas:{title:n.name,description:n.description}});const{data:d}=([o,_]=k(()=>O(`blog_${n.name}_${f.value}_articles`,()=>$fetch("/api/content",{query:{lang:f.value,categoryId:c.params.id,size:y.value,page:l.value,q:u.value}}),{watch:[l,u]})),o=await o,_(),o);return(p,r)=>{const I=A,q=L,b=H,N=M,z=T;return a(),i("main",null,[g(I,{centered:""},{default:h(()=>[s("h1",null,m(e(n).name),1),s("p",null,m(e(n).description),1)]),_:1}),s("section",Q,[s("div",W,[s("div",X,[s("div",Y,[g(q,{modelValue:e(u),"onUpdate:modelValue":[r[0]||(r[0]=t=>w(u)?u.value=t:null),r[1]||(r[1]=t=>l.value=1)]},null,8,["modelValue"]),s("div",Z,[g(b,{to:e(P)("/articles"),class:"blog-category"},{default:h(()=>[B(m(p.$t("All")),1)]),_:1},8,["to"]),(a(!0),i(C,null,V(e($),t=>(a(),x(b,{key:t.id,to:e(P)(`/articles/category/${t.url}/${t.id}`),class:J(["blog-category",{active:t.id==e(c).params.id}])},{default:h(()=>[B(m(t.name),1)]),_:2},1032,["to","class"]))),128))])])]),s("div",ee,[e(d).items.length==0?(a(),i("p",te,m(p.$t("blog_noarticle")),1)):(a(),i("div",oe,[(a(!0),i(C,null,V(e(d).items,t=>(a(),i("div",{key:t.id,class:"col-lg-6 col-xl-4 pb-5"},[g(N,{article:t},null,8,["article"])]))),128))])),e(d).total>e(y)?(a(),x(z,{key:2,modelValue:e(l),"onUpdate:modelValue":r[2]||(r[2]=t=>w(l)?l.value=t:null),itemsPerPage:e(y),totalItems:e(d).total},null,8,["modelValue","itemsPerPage","totalItems"])):S("",!0)])])])])}}};export{fe 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.