1import{_ as w}from"./D92CwbLG.js";import{_ as I,u as B}from"./CsmJtltd.js";import{_ as k}from"./BjnNAver.js";import{_ as V}from"./z2AcGEua.js";import{c as D,a as E}from"./BTwUNbj8.js";import{d as P,a as N,u as S,b as T,w as l,h as F,c as j,g as i,i as A,e as c,f as t,j as G,k as H,l as J,o as p,t as d,_ as L}from"./B4Y9Z2uF.js";import{u as M,c as Q}from"./CYviIkLX.js";import{u as R}from"./D6BFqy7_.js";import"./CRQlNwP2.js";import"./kxyJA2Kg.js";import"./DefvAlvp.js";import"./Cs8nPyDP.js";import"./JaaZu2MZ.js";import"./Mvt1iOfc.js";import"./DrV9I3VX.js";import"./DLiTK-Ap.js";import"./D6OqeVn3.js";const U=["locale"],q=P({__name:"index",async setup(z){let s,a;const e=N().params.id,_=S(),r=T({en:E,de:D}),{data:n}=([s,a]=l(()=>B(1,e)),s=await s,a(),s);if(!n.value?.totalCustomers)throw F({statusCode:404,statusMessage:"Industry not found",fatal:!1});const f=n.value?.customers||[],g=n.value?.totalPages||1,y=n.value?.totalCustomers||0,h=f.map(o=>({postType:"customer",h:o.info.company,p:o.info.shortTitle,url:`/customers/${o.slug}/`,img:o.featuredImage?.url_md,logo:o.info.logo,hasVideo:o.video.vId!==""})),{data:C}=([s,a]=l(()=>J("/api/customers/industries","$gU8JQ8Ev4V")),s=await s,a(),s),u=C.value?.industries||[],m=u.find(o=>o.id===e)?.title||e;return M({title:`${r.seo.title} - ${m}`,description:r.seo.description,noIndex:!0}),R(Q(m,`/customers/industry/${e}/`)),(o,O)=>{const v=w,x=I,$=k,b=V;return p(),j("div",null,[i(v,{design:"2",mw:"660"},{default:A(()=>[c("h1",null,d(t(r).hero.h),1),c("p",null,d(t(r).hero.p),1)]),_:1}),c("cto-logo-bar",{locale:t(_),detach:""},null,8,U),t(u).length>0?(p(),G(x,{key:0,industries:t(u),"total-count":t(y),"active-industry":t(e),"base-url":"/customers/"},null,8,["industries","total-count","active-industry"])):H("",!0),i($,{posts:t(h),"current-page":1,"total-pages":t(g),"base-url":`/customers/industry/${t(e)}/`},null,8,["posts","total-pages","base-url"]),i(b,{btn1:"demo"})])}}}),dt=L(q,[["__scopeId","data-v-5aa11641"]]);export{dt 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.