PageSourceSearch

https://topoexport.com/_nuxt/UcP2_tWu.js

js topoexport.com collected 2026-10-04 10:15:58 UTC 3,811 bytes, 1 lines download raw bytes

1import{Z as D,x as w,G as $,ah as y,H as c,d as a,w as d,c as r,e as m,g as k,n as o,I as u,z as x,t as g,F as b,ai as q,al as E,O as C,J as h,Q as P,C as F,au as I,av as j,f as _}from"#entry";import{_ as B,a as G,q as J,b as L,c as O}from"./mC-urhAB.js";import{u as Q}from"./CxXvg1FQ.js";import"./mcSs5bI6.js";import"./B81w3pez.js";const T={slots:{root:"relative border-b border-default py-8",container:"",wrapper:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",headline:"mb-2.5 text-sm font-semibold text-primary flex items-center gap-1.5",title:"text-3xl sm:text-4xl text-pretty font-bold text-highlighted",description:"text-lg text-pretty text-muted",links:"flex flex-wrap items-center gap-1.5"},variants:{title:{true:{description:"mt-4"}}}},Z={__name:"UPageHeader",props:{as:{type:null,required:!1},headline:{type:String,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const t=e,n=D(),p=w(),l=$(()=>y({extend:y(T),...p.ui?.pageHeader||{}})({title:!!t.title||!!n.title}));return(i,s)=>(a(),c(h(P),{as:e.as,class:o(l.value.root({class:[t.ui?.root,t.class]}))},{default:d(()=>[e.headline||n.headline?(a(),r("div",{key:0,class:o(l.value.headline({class:t.ui?.headline}))},[u(i.$slots,"headline",{},()=>[x(g(e.headline),1)])],2)):m("",!0),k("div",{class:o(l.value.container({class:t.ui?.container}))},[k("div",{class:o(l.value.wrapper({class:t.ui?.wrapper}))},[e.title||n.title?(a(),r("h1",{key:0,class:o(l.value.title({class:t.ui?.title}))},[u(i.$slots,"title",{},()=>[x(g(e.title),1)])],2)):m("",!0),e.links?.length||n.links?(a(),r("div",{key:1,class:o(l.value.links({class:t.ui?.links}))},[u(i.$slots,"links",{},()=>[(a(!0),r(b,null,q(e.links,(f,v)=>(a(),c(E,C({key:v,color:"neutral",variant:"outline"},{ref_for:!0},f),null,16))),128))])],2)):m("",!0)],2),e.description||n.description?(a(),r("div",{key:0,class:o(l.value.description({class:t.ui?.description}))},[u(i.$slots,"description",{},()=>[x(g(e.description),1)])],2)):m("",!0),u(i.$slots,"default")],2)]),_:3},8,["as","class"]))}},K={base:"flex flex-col gap-8 lg:gap-y-16",variants:{orientation:{horizontal:"sm:grid sm:grid-cols-2 lg:grid-cols-3",vertical:""}}},M={__name:"UBlogPosts",props:{as:{type:null,required:!1},posts:{type:Array,required:!1},orientation:{type:null,required:!1,default:"horizontal"},class:{type:null,required:!1}},setup(e){const t=e,n=w(),p=$(()=>y({extend:y(K),...n.ui?.blogPosts||{}}));return(l,i)=>(a(),c(h(P),{as:e.as,"data-orientation":e.orientation,class:o(p.value({orientation:e.orientation,class:t.class}))},{default:d(()=>[u(l.$slots,"default",{},()=>[(a(!0),r(b,null,q(e.posts,(s,f)=>(a(),c(B,C({key:f,orientation:e.orientation==="vertical"?"horizontal":"vertical"},{ref_for:!0},s),null,16,["orientation"]))),128))])]),_:3},8,["as","data-orientation","class"]))}},R={key:1,class:"text-center py-12"},ae=F({__name:"index",async setup(e){let t,n;const{locale:p}=I(),{data:l}=([t,n]=j(()=>Q(`blog-${p.value}`,()=>J("blog").select("title","description","date","image","path","tags").order("date","DESC").all())),t=await t,n(),t),i=$(()=>l.value?l.value.map(s=>({title:s.title,description:s.description,date:s.date,image:s.image,to:s.path,badge:s.tags?.[0]})):[]);return(s,f)=>{const v=Z,U=B,S=M,z=O,A=L,H=G;return a(),c(H,null,{default:d(()=>[_(A,null,{default:d(()=>[_(v,{title:s.$t("blog.title"),description:s.$t("blog.description")},null,8,["title","description"]),_(z,null,{default:d(()=>[h(i).length>0?(a(),c(S,{key:0,orientation:"horizontal"},{default:d(()=>[(a(!0),r(b,null,q(h(i),(N,V)=>(a(),c(U,C({key:V},{ref_for:!0},N),null,16))),128))]),_:1})):(a(),r("div",R,[k("p",null,g(s.$t("blog.noArticles")),1)]))]),_:1})]),_:1})]),_:1})}}});
1export{ae 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.