PageSourceSearch

https://agtlogistik.de/_nuxt/C6TzWfkP.js

js agtlogistik.de collected 2026-10-04 21:04:04 UTC 7,812 bytes, 1 lines download raw bytes

1import{_ as t}from"./BgK0Br1o.js";import{d as l,l as e,A as a,m as o,n as s,H as r,q as n,I as i,t as u,p as d,U as p,B as m,F as c,C as x,v,J as g,c as b,b as f,a as y,f as k,e as _,w as h,z as w,i as j,P as U,O as C,x as F,Q as $,k as S}from"./D8socYKU.js";import{_ as P}from"./BNdF3q9C.js";import{u as A}from"./LL-XaZfh.js";import{_ as O}from"./_v4RRy3I.js";import{h as q,i as z}from"./CCddElNT.js";import{u as B}from"./DPfEVlLT.js";import{u as E}from"./CNBJGQrb.js";import"./CPT9mSfh.js";const I={class:"max-md:bg-white max-md:p-4 max-md:rounded-lg md:flex md:flex-col"},D={class:"text-base md:text-xl lg:text-2.5xl font-normal mb-5"},H={key:1,class:"text-base lg:text-17 text-neutral-375 line-clamp-3 leading-[1.34] lg:leading-[1.58] mb-17 lg:mb-19"},L={class:"shrink-0 flex gap-4 items-end justify-between md:mt-auto flex-wrap lg:flex-nowrap pb-2.5 lg:pb-3.75 border-b border-b-neutral-950"},R={key:0,class:"flex gap-1.5 flex-wrap"},T=l({__name:"DefaultPostCard",props:{post:{type:Object,required:!0},priority:{type:Boolean,default:!1}},setup(l){const{getTagByValue:b}=A("agt-post-tags"),f=v().public.FOLDER_SPACE,y=t=>{const l=b(t);return(null==l?void 0:l.name)??""};return(v,b)=>{var k,_,h,w,j;const U=t,C=g,F=P;return e(),a("article",I,[(null==(_=null==(k=l.post.content)?void 0:k.media)?void 0:_.filename)||(null==(w=null==(h=l.post.content)?void 0:h.image)?void 0:w.filename)?(e(),o(C,{key:0,class:"overflow-hidden rounded-[48px] md:rounded-lg mb-3.5 lg:mb-2.5 max-md:h-24 md:aspect-[16/10.8] relative bg-neutral-100 block group",to:`${("useFormatUrl"in v?v.useFormatUrl:n(i))(l.post.full_slug.replace(`${n(f)}/`,""))}`},{default:s((()=>{var t,e,a,o,s;return[r(U,{src:(null==(e=null==(t=l.post.content)?void 0:t.media)?void 0:e.filename)||(null==(o=null==(a=l.post.content)?void 0:a.image)?void 0:o.filename),alt:(null==(s=l.post.content)?void 0:s.title)||l.post.name||"",loading:l.priority?"eager":"lazy",fetchpriority:l.priority?"high":void 0,sizes:"100vw md:50vw lg:400px",class:"w-full h-full object-cover object-center absolute inset-0 group-hover:scale-105 transition-transform duration-300 ease-in-out"},null,8,["src","alt","loading","fetchpriority"])]})),_:1},8,["to"])):u("",!0),d("h3",D,[r(C,{class:"line-clamp-1 text-neutral-950 hover:text-primary-700 transition-colors duration-300",to:`${("useFormatUrl"in v?v.useFormatUrl:n(i))(l.post.full_slug.replace(`${n(f)}/`,""))}`},{default:s((()=>{var t;return[p(m((null==(t=l.post.content)?void 0:t.title)||l.post.name),1)]})),_:1},8,["to"])]),l.post.content&&l.post.content.short_description?(e(),a("div",H,m(l.post.content.short_description),1)):u("",!0),d("div",L,[(null==(j=l.post.content)?void 0:j.tags.length)>0?(e(),a("div",R,[(e(!0),a(c,null,x(l.post.content.tags,(t=>(e(),a("div",{key:t},[r(F,{label:y(t),badgeStyle:"outlined_primary",badgeClasses:"pointer-events-none"},null,8,["label"])])))),128))])):u("",!0),r(C,{to:("useFormatUrl"in v?v.useFormatUrl:n(i))(l.post.full_slug),class:"shrink-0 no-underline hover:text-primary-700 tracking-[-0.5px] text-base block translate-y-2.5 lg:translate-y-1"},{default:s((()=>[p(m(v.$t("read_more_post")),1)])),_:1},8,["to"])])])}}}),J={class:"relative lg:pb-20 2xl:pb-33"},N={class:"px-4 pb-18 lg:pb-20.5"},Q={class:"md:flex md:gap-x-10 lg:gap-x-12 md:flex-row md:items-end md:justify-between"},V={class:"hyphens-auto break-words mb-12.5 md:mb-0 md:shrink-0 md:w-1/2 lg:w-[32.9%] text-4xl md:text-5xl lg:text-display-52 xl:text-display-59-sm font-medium max-md:leading-none text-darkblue-700"},G={key:0,class:"flex flex-col gap-y-7.5 md:max-w-1/2 lg:max-w-1/3 xl:max-w-162.5"},K={key:0,class:"text-sm md:grow font-sans md:text-lg lg:text-base xl:text-22 leading-[1.16] md:leading-[1.18] text-neutral-600"},M={key:1},W={class:"px-4 lg:px-6 max-w-298.5 mx-auto"},X={key:0,class:"flex flex-col gap-y-5 md:grid md:grid-cols-2 lg:grid-cols-3 md:gap-5"},Y={key:1,class:"text-center text-base md:grow font-sans md:text-lg lg:text-base xl:text-2xl max-md:leading-[2.08] md:leading-[1.38] text-neutral-950 py-8 md:py-10"},Z={key:2,class:"pt-19.5 3xl:pt-37.5 flex justify-center"},tt=["disabled"],lt={key:0,class:"max-lg:hidden sticky bottom-7.5 flex"},et={class:"mx-auto max-w-231 bg-neutral-950 p-6 lg:px-9.5 lg:py-7 rounded-lg flex flex-wrap justify-center gap-6.5 2xl:gap-x-8"},at="relative after:absolute after:left-0 after:right-0 after:-bottom-1 after:h-[1px] after:bg-neutral-50 after:transition-transform after:duration-700 after:scale-x-0 after:origin-bottom-left group-hover/link:after:scale-x-100 hover:after:scale-x-100",ot=l({__name:"PostCategory",props:{blok:{type:Object,required:!0},storyUuid:{type:String,required:!0}},async setup(t){var l,P;let I,D;const{fetchTags:H}
1=A("agt-post-tags"),L=b(),R=t,{locale:ot}=f(),st=v().public.FOLDER_SPACE,rt=y(),nt=k(),it=_(),ut=F((()=>R.blok.load_more_step?Number(R.blok.load_more_step):6)),dt=F((()=>R.blok.tags_filter?R.blok.tags_filter:[])),pt=!!R.blok.show_all_posts&&R.blok.show_all_posts,mt=it.value,[{data:ct},xt]=([I,D]=h((async()=>Promise.all([E(`category-posts-${pt?"all":rt.path}-${ot.value}`,(async()=>{if(pt){const{posts:t,total:l}=await q(ot.value,1,ut.value,{storyblokApi:nt,folderSpace:st,version:mt});return{posts:t,total:l,categoryUuid:""}}const t=R.storyUuid;if(!t)return{posts:[],total:0,categoryUuid:""};const{posts:l,total:e}=await z(t,ot.value,1,ut.value,dt.value,{storyblokApi:nt,folderSpace:st,version:mt});return{posts:l,total:e,categoryUuid:t}})),B(ot.value),H()]))),I=await I,D(),I),vt=w((null==(l=ct.value)?void 0:l.posts)??[]),gt=w((null==(P=ct.value)?void 0:P.total)??0),bt=F((()=>{var t;return(null==(t=ct.value)?void 0:t.categoryUuid)??""})),ft=w(1),yt=w(!1);j(ct,(t=>{t&&(vt.value=t.posts??[],gt.value=t.total??0)}));const kt=F((()=>vt.value.length<gt.value)),_t=async()=>{if(!yt.value&&(bt.value||pt)){yt.value=!0;try{ft.value++;const{posts:t}=pt?await q(ot.value,ft.value,ut.value):await z(bt.value,ot.value,ft.value,ut.value,dt.value);vt.value.push(...t)}finally{yt.value=!1}}};return(l,v)=>{var b,f;const y=S("StoryblokComponent"),k=T,_=g,h=O,w=$("editable");return U((e(),a("div",null,[d("div",J,[d("div",{class:C(["pt-4 md:pt-6 pb-19 md:pb-20",n(pt)?"lg:pb-8":"lg:pb-24 2xl:pb-45.5"])},[d("div",N,[d("div",Q,[d("h1",V,m(t.blok.title),1),t.blok.description||(null==(b=t.blok.buttonItems)?void 0:b.length)>0?(e(),a("div",G,[t.blok.description?(e(),a("div",K,m(t.blok.description),1)):u("",!0),(null==(f=t.blok.buttonItems)?void 0:f.length)>0?(e(),a("div",M,[(e(!0),a(c,null,x(t.blok.buttonItems,(t=>(e(),a("div",{key:t._uid},[r(y,{blok:t},null,8,["blok"])])))),128))])):u("",!0)])):u("",!0)])]),d("div",W,[vt.value.length?(e(),a("div",X,[(e(!0),a(c,null,x(vt.value,((t,l)=>(e(),o(k,{key:t.uuid,post:t,priority:l<3},null,8,["post","priority"])))),128))])):(e(),a("div",Y,m(t.blok.have_no_posts_text),1)),kt.value?(e(),a("div",Z,[d("button",{class:"border-0 bg-transparent cursor-pointer font-hoves text-xl md:text-22 xl:text-2xl font-medium text-primary-700 hover:text-darkblue-700 transition-colors duration-200",disabled:yt.value,onClick:_t},m(yt.value?"...":l.$t("load_more")),9,tt)])):u("",!0)])],2),n(pt)?u("",!0):(e(),a("div",lt,[d("ul",et,[d("li",null,[r(_,{to:n(i)(t.blok.overview_link[0].url.cached_url),class:C(["text-neutral-50 text-base lg:text-[15px] no-underline",at])},{default:s((()=>[p(m(t.blok.overview_link[0].label),1)])),_:1},8,["to","class"])]),(e(!0),a(c,null,x(n(xt),(t=>(e(),a("li",{key:t.uuid},[r(_,{to:n(i)(t.slug),class:C(["text-neutral-50 text-base lg:text-[15px] no-underline",at])},{default:s((()=>[p(m(t.title),1)])),_:2},1032,["to","class"])])))),128))])]))]),d("div",null,[(e(!0),a(c,null,x(t.blok.body,(t=>(e(),a(c,{key:t._uid},[n(L)?(e(),o(y,{key:0,blok:t},null,8,["blok"])):(e(),o(h,{key:1,blok:t},null,8,["blok"]))],64)))),128))])])),[[w,t.blok]])}}});export{ot 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.