1import{_ as ce}from"./DJAw_iMb.js";import{_ as q}from"./rfKrGHTJ.js";import{_ as me}from"./BvtVXqY7.js";import{_ as de}from"./Dor3LakK.js";import{d as H,K as w,O as D,o as l,c as L,D as T,e as t,B as p,r as f,H as $,z as g,E as M,W as ee,k as u,F as W,v as K,A as b,_ as ue,X as C,g as y,P as te,Y as ne,Z as fe,x as ge,V as ae,a0 as pe,a1 as he,a2 as ke,a as ye,J as be,R as ve,M as xe,a3 as _e,U as Ie,N as we,a4 as Le,a5 as X}from"./DzmMXjjF.js";import{_ as Te}from"./BDlKsl4J.js";import{_ as Se}from"./D0MrgONB.js";import{u as $e,a as Ne,_ as Oe}from"./Buel1yN9.js";import{u as Y}from"./D3WKE-Um.js";import{_ as Ae}from"./C0KRnyn_.js";import{_ as Ce}from"./D9-wI3-Z.js";import{_ as Be}from"./Cdyewept.js";import{u as oe}from"./BDaal8kW.js";import{f as v}from"./DgIWC6N3.js";import{_ as Re,o as He,a as je,c as Pe}from"./CcYRwkug.js";import{_ as De}from"./CfQcPf88.js";import{i as A}from"./D-_E0le2.js";import{t as Z,u as Q}from"./BZPLvFJg.js";import{u as Me}from"./owhfu2VP.js";import{g as Ve}from"./CqxolwbF.js";import"./DdSPAO-K.js";import"./DJrCJANg.js";import"./BQn5VO3H.js";import"./DQdq_7Em.js";import"./DOlrEPSd.js";import"./CQb_7WEP.js";import"./C_RBi3Co.js";import"./86TBCSdQ.js";import"./BB-olbqJ.js";import"./_KX8eI1t.js";import"./C-7Lbyem.js";import"./7ZBoanV9.js";import"./1uZxDz3o.js";import"./DyklOQVz.js";import"./Bqmaa44f.js";import"./Dtqp4Czw.js";import"./BgOR1WYB.js";import"./Bvum4aFq.js";import"./CJ9Vi6We.js";import"./B4eAEnw9.js";import"./B8tf3Ems.js";import"./CZDCstAS.js";import"./Bz-qibdS.js";import"./bq8VFmwC.js";import"./BYTRu-Av.js";import"./DMafrwxq.js";import"./DTPw5Ycm.js";import"./CEmCFsCn.js";import"./DxnLz4uQ.js";import"./C1y32zJd.js";import"./DrOwkIVW.js";const Ee={class:"flex flex-col max-w-[75%] pl-4 gap-y-1"},ze={class:"text-darkgreen text-lg font-bold"},Fe={class:"text-base"},Je=H({__name:"Teaser",props:{icon:{},iconRef:{},headline:{},text:{},link:{}},async setup(e){let n,o;const s=M(),i=M(!1),d=e.iconRef&&e.iconRef.length?([n,o]=w(()=>D({references:e.iconRef,single:!0})),n=await n,o(),n):{};return(r,c)=>{const h=Te,a=Se;return l(),L(a,{ref_key:"element",ref:s,class:"bg-white w-full flex justify-between items-center p-4 rounded-lg hover:drop-shadow-md","cta-type":"cta_location_stage","tracking-type":"cta","icon-name":e.icon?.fontawesomeV6Id??t(d).fontawesomeV6Id,label:e.headline,target:e.link.target,to:e.link.to,onMouseenter:c[0]||(c[0]=x=>i.value=!0),onMouseleave:c[1]||(c[1]=x=>i.value=!1)},{default:T(()=>[e.icon||t(d)?(l(),L(h,{key:0,icon:e.icon?.fontawesomeV6Id??t(d).fontawesomeV6Id,type:t(i)?"solid":"light",class:"text-darkgreen h-8"},null,8,["icon","type"])):p("",!0),f("div",Ee,[f("p",ze,$(e.headline),1),f("p",Fe,$(e.text),1)]),g(h,{class:"text-darkgreen h-6 shrink-0 ml-auto",icon:"chevron-right"})]),_:1},8,["icon-name","label","target","to"])}}}),Ue={key:0,class:"absolute w-full h-full -z-10"},Ge={class:"h-full grid-inside"},We={class:"col-span-full flex flex-col gap-6 sm:flex-row justify-between items-center w-full py-24"},Ke={class:"flex flex-col justify-center gap-y-6 items-start w-full sm:max-w-1/2 pb-6"},qe={class:"text-lg text-white font-bold"},Xe={key:0,class:"flex flex-col justify-center items-stretch md:items-end w-full sm:max-w-1/2 md:max-w-102 gap-y-6"},Ye=H({__name:"Stage",props:{headlines:{},subHeadline:{},image:{},teasers:{default:()=>[]},numberOfTeasersToDisplay:{default:3},locationId:{default:""},locationTypes:{default:()=>[]}},setup(e){const n=ee(),o=$e(),s=M(n.isLocationSaved(e.locationId)),i=M(!1),d=y(()=>e.numberOfTeasersToDisplay?Math.min(e.numberOfTeasersToDisplay,3):3),r=y(()=>e.teasers.slice(0,d.value)),c=y(()=>r.value.length<=2?"md:h-[30rem]":""),h=y(()=>i.value&&s.value?"bookmark-slash":"bookmark"),a=y(()=>!i.value&&!s.value?"light":"solid"),x=y(()=>s.value?b("tooltip_bookmark_post_saved"):b("tooltip_bookmark_pre_saved")),N=async()=>{if(s.value){n.deleteLocation(e.locationTypes),Y().show(b("snackbar_location_removed_label"),e.locationId);return}await n.saveLocation({locationId:e.locationId,locationTypes:e.locationTypes}),Y().show(b("snackbar_location_saved_label"),e.locationId)};n.$subscribe(()=>{s.value=n.isLocationSaved(e.locationId),s.value?o.show():o.hide()});const j=y(()=>e.image?.resolutions.length?"from-darkgreen-600/90 to-darkgreen/90":"from-darkgreen-400 to-darkgreen");return(B,_)=>{const P=ce,V=q,S=me,O=de,E=ue,z=Je;return l(),u("section",{class:C(["h-auto page-grid-wide",t(c)])},[f("div",{class:C(["grid-span-page subgrid w-full h-full overflow-hidden bg-linear-to-r relative",t(j)])},[e.image&&e.image.resolutions.length?(l(),u("div",Ue,[g(P,{image:e.image,class:"h-full w-full scale-105"},null,8,["image"])])):p("",!0),f("div",Ge,[f("div",We,[f("div",Ke,[g(V,{class:"text-white text-5xl font-bold mb-0!",type:"h1","is-semantic":""},{default:T(()=>[(l(!0),u(W,null,K(e.headlines,(k,R)=>(l(),u("span",{key:R,class:"block"},$(k),1))),128))]),_:1}),f("p",qe,$(e.subHeadline),1),g(E,null,{default:T(()=>[e.locationTypes.length&&e.locationId?(l(),u("div",{key:0,class:"relative",onMouseover:_[0]||(_[0]=k=>i.value=!0),onMouseleave:_[1]||(_[1]=k=>i.value=!1)},[g(O,{"arrow-position":"right",theme:"light","tooltip-text":t(x
1)},{default:T(()=>[g(S,{icon:{name:t(h),type:t(a)},variant:t(s)?"accent":"outline",inverted:!t(s),label:("globalLabel"in B?B.globalLabel:t(b))("bookmark_label"),onClick:N},null,8,["icon","variant","inverted","label"])]),_:1},8,["tooltip-text"])],32)):p("",!0)]),_:1})]),t(r).length?(l(),u("div",Xe,[(l(!0),u(W,null,K(t(r),(k,R)=>(l(),L(z,{key:R,headline:k.headline,text:k.text,icon:k.icon,"icon-ref":k.iconRef,link:k.link},null,8,["headline","text","icon","icon-ref","link"]))),128))])):p("",!0)])])],2)],2)}}}),Ze={class:"page-grid-small vertical-spacing-enabled bg-gray-50"},Qe={class:"grid-inside"},et={class:"flex flex-col gap-y-4"},tt=H({__name:"ContactInformation",props:{address:{},routeLink:{},location:{},currentInformation:{default:()=>({elements:[]})},locationImage:{default:null},country:{default:null}},setup(e){const n=y(()=>{const i=oe(),d={"@context":"https://schema.org","@type":"ProfessionalService",image:[v(e.locationImage?.original?.url)],"@id":i.href,name:v(e.location.name),address:{"@type":"PostalAddress",streetAddress:`${v(e.location.street)} ${v(e.location.houseNumber)}`.trim(),addressLocality:v(e.location.city),addressRegion:e.location.state,postalCode:v(e.location.zipCode),addressCountry:v(e.country?.name)},geo:{"@type":"GeoCoordinates",latitude:v(e.location.latitude),longitude:v(e.location.longitude)},url:i.href,telephone:v(e.location.phone1)};return ae(JSON.stringify(d))}),o=y(()=>{const{phone1:i,fax:d,email:r}=e.location;return{email:r?.length?he(r):null,phone:i?.length?pe(i):null,fax:d?.length?{label:d,icon:{prefix:{icon:"fax",show:!0}},spacing:"large"}:null}}),s=y(()=>!!e.currentInformation?.elements.length&&!!e.address?.length&&!!(o.value?.email||o.value?.phone||o.value?.fax));return te({script:[{type:"application/ld+json",textContent:n.value}]}),(i,d)=>{const r=q,c=Ae,h=Ce,a=Be;return l(),u("section",Ze,[f("div",Qe,[f("div",et,[g(r,{type:"h2","is-semantic":!0},{default:T(()=>[ne($(("globalLabel"in i?i.globalLabel:t(b))("location_contact_details_headline")),1)]),_:1}),f("div",{class:C(["flex flex-col md:flex-row gap-y-6 md:gap-y-0 link-green",t(s)?"md:gap-x-6":"md:gap-x-24"])},[f("div",{class:C(["flex flex-col items-start gap-y-2",t(s)&&"flex-1"])},[f("div",null,[(l(!0),u(W,null,K(e.address,(x,N)=>(l(),u("div",{key:N},$(x),1))),128))]),e.routeLink?.to?(l(),L(c,{key:0,link:e.routeLink},null,8,["link"])):p("",!0)],2),t(o)?.email||t(o)?.phone||t(o)?.fax?(l(),u("div",{key:0,class:C(["flex flex-col items-start gap-y-2",t(s)&&"flex-1"])},[t(o).email?(l(),L(c,{key:0,link:t(o).email},null,8,["link"])):p("",!0),t(o).phone?(l(),L(c,{key:1,link:t(o).phone},null,8,["link"])):p("",!0),t(o).fax?(l(),L(h,fe(ge({key:2},t(o).fax)),null,16)):p("",!0)],2)):p("",!0),e.currentInformation?.elements.length?(l(),u("div",{key:1,class:C(["flex flex-col gap-2",t(s)&&"flex-1"])},[g(a,{element:e.currentInformation},null,8,["element"])],2)):p("",!0)],2)])])])}}}),nt={class:"grid-span-page bg-gray-50"},at={class:"grid-inside flex flex-col py-14 gap-y-6 items-center"},ot=H({__name:"NextLocations",props:{link:{}},setup(e){return(n,o)=>{const s=q,i=De;return l(),u("div",nt,[f("div",at,[g(s,{class:"text-center",type:"h2","is-semantic":!0,margin:!1},{default:T(()=>[ne($(("globalLabel"in n?n.globalLabel:t(b))("location_next_locations_headline")),1)]),_:1}),g(i,{link:{target:"_self",to:e.link},button:{icon:{suffix:{name:"chevron-right"}},label:("globalLabel"in n?n.globalLabel:t(b))("location_next_locations_show_all_locations_label")}},null,8,["link","button"])])])}}}),it=(e=[])=>{const n=oe(),o=r=>r?ke({from:r,options:{timeStyle:"short"}}):"",s=r=>(r.data?.openingHours||[]).map(h=>({"@type":"OpeningHoursSpecification",dayOfWeek:h.data?.weekdays?.map(a=>a?.value||"").filter(A)||[],opens:o(h.data?.from?.date),closes:o(h.data?.to?.date)})),i=()=>e.map(r=>({"@type":r.data?.headline||"",openingHoursSpecification:s(r)})),d=e.length>1?{"@id":n,department:i()}:{"@id":n,openingHoursSpecification:e.flatMap(s)};te({script:[{type:"application/ld+json",textContent:ae(JSON.stringify(d))}]})},lt={key:1,id:"opening_hours",class:"page-grid-small vertical-spacing-enabled"},st={key:0,class:"page-grid-small vertical-spacing-enabled"},ln=H({__name:"LocationPage",props:{children:{},page:{}},async setup(e){let n,o;const{runWithContext:s}=ye(),{currentLocale:i}=be(),{breadcrumbs:d}=ve(),r=([n,o]=w(()=>Ie()),n=await n,o(),n),c=([n,o]=w(()=>we()),n=await n,o(),n),h=[X("content_before"),X("content_after")],a=e.page.locationRemote?([n,o]=w(()=>D({references:e.page.locationRemote,single:!0})),n=await n,o(),n):{};it(a.openingHoursAreas);const x=a?.country?([n,o]=w(()=>D({references:a.country,single:!0})),n=await n,o(),n):null,N=([n,o]=w(()=>s(()=>Q([a?.image].filter(A),"LOCATION_INFORMATION"))),n=await n,o(),n),j=a?.image&&N.value[a.image.referenceId]?Z(N.value[a.image.referenceId]):null,B=a?.locationTypes&&a.locationTypes.length?([n,o]=w(()=>D({references:a.locationTypes})),n=await n,o(),n):[],_=e.page.locationStageImg?.referenceId?e.page.locationStageImg:c.locationStageImg,P
1=([n,o]=w(()=>s(()=>Q([_].filter(A),"L_STAGE"))),n=await n,o(),n),V=_?.referenceId&&P.value[_.referenceId]?Z(P.value[_.referenceId]):null,S=e.page.news.map(m=>({headline:m.data.headline,text:m.data.text,iconRef:m.data.fontawesomeIconRemote,link:m.data.link}));if(a.linkOnlineAppointment){const{setOnlineAppointmentLink:m}=ee();m({url:a.linkOnlineAppointment.to,target:a.linkOnlineAppointment.target});const I={headline:e.page.onlineAppointmentTeaserHeadline??c.locationOnlineAppointmentCtaTeaserHeadline??b("global_online_appointment_teaser_headline"),text:e.page.onlineAppointmentTeaserText??c.locationOnlineAppointmentCtaTeaserText??b("global_online_appointment_teaser_text"),icon:{fontawesomeId:"calendar-days",fontawesomeV6Id:"calendar-days",image:{}},link:a.linkOnlineAppointment};S.unshift(I)}if(S.length<3&&e.page.showLocationNewsFromCountryProjectSettings&&c.locationNews){const m=c.locationNews.slice(0,3-S.length).map(I=>({headline:I.data.headline,text:I.data.text,iconRef:I.data.fontawesomeIconRemote,link:I.data.link}));S.push(...m)}const O=y(()=>{const m=[He(a,x?.streetViewOrder.key??"1").join(" "),a.additionalAddress,je(a,x?.postCodeViewOrder.key??"1").join(" ")].filter(U=>!!U),I=Le(a.currentInformationDateFrom?.date,a.currentInformationDateTo?.date)?a.currentInformation:null,J=Pe({projectSettings:r,lat:`${a.latitude}`,lng:`${a.longitude}`,locationName:a.name,label:b("location_contact_details_route_description")});return{address:m,routeLink:J,currentInformation:I}}),{setLocationInformationImage:E,setLocationInformationServices:z}=Me();E(j??null),z(a.specialServicesList??[],a.suitableForCommercialVehicles);const k=y(()=>["DEKRA",a.city,a.name].filter(m=>!!m).join(" - ")),R={title:k.value},F=xe(`next-locations-link-${i.id}`,()=>"");return e.page.showNextLocations&&c.locationSearchPage?.referenceId?.length&&(F.value=([n,o]=w(()=>Ve(c.locationSearchPage.referenceId,i.id)),n=await n,o(),n)),(m,I)=>{const J=Ye,U=Ne,ie=tt,le=Re,se=ot,re=Oe;return l(),L(re,{children:e.children,page:{...e.page,title:t(k)},"seo-overrides":R,"additional-bodies":h,"show-breadcrumbs":!1},_e({contentAfter:T(()=>[e.page.showNextLocations&&t(F)?(l(),u("section",st,[g(se,{link:t(F)},null,8,["link"])])):p("",!0)]),_:2},[t(a)?{name:"header",fn:T(()=>[g(J,{image:t(V),headlines:[t(a).name,t(a).name2].filter("isNotNullish"in m?m.isNotNullish:t(A)),"sub-headline":t(B).map(G=>G.name).filter("isNotNullish"in m?m.isNotNullish:t(A)).join(", "),"number-of-teasers-to-display":t(a).linkOnlineAppointment?3:2,teasers:t(S),"location-id":t(a).id,"location-types":t(B).map(G=>G.key).filter("isNotNullish"in m?m.isNotNullish:t(A))},null,8,["image","headlines","sub-headline","number-of-teasers-to-display","teasers","location-id","location-types"]),g(U,{breadcrumbs:t(d)??[],class:"bg-gray-50"},null,8,["breadcrumbs"])]),key:"0"}:void 0,t(a)?{name:"contentBefore",fn:T(()=>[t(O)?(l(),L(ie,{key:0,class:"grid-span-page",address:t(O).address,location:t(a),"location-image":t(j),country:t(x),"route-link":t(O).routeLink,"current-information":t(O).currentInformation},null,8,["address","location","location-image","country","route-link","current-information"])):p("",!0),t(a).openingHoursAreas.length>0?(l(),u("section",lt,[g(le,{class:"grid-inside","opening-hours-areas":t(a).openingHoursAreas},null,8,["opening-hours-areas"])])):p("",!0)]),key:"1"}:void 0]),1032,["children","page"])}}});export{ln 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.