PageSourceSearch

https://www.ekris.nl/_next/static/chunks/4041-201da3f5d8d82c66.js

js ekris.nl collected 2026-09-29 22:33:45 UTC 337,005 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4041],{198:e=>{e.exports={hero:"BlockHero_hero__kAEkH",hero__grid:"BlockHero_hero__grid__480Bs","hero__grid--1-2":"BlockHero_hero__grid--1-2__nuiyR","hero__grid--1-3":"BlockHero_hero__grid--1-3__EwFD8",hero__item:"BlockHero_hero__item__iJOjx",hero__element:"BlockHero_hero__element__zdTaO",hero__media:"BlockHero_hero__media__Ryxiq",hero__image:"BlockHero_hero__image__Z9Hft",hero__hide__gradient:"BlockHero_hero__hide__gradient__DA9HP",hero__body:"BlockHero_hero__body__tQWu9",hero__buttons:"BlockHero_hero__buttons__4yOnL",hero__button:"BlockHero_hero__button__XVtWm","hero__item--primary":"BlockHero_hero__item--primary__o_pTE"}},460:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var i=l(95155),a=l(12115),n=l(69357),s=l(79121),r=l(30245),c=l(43134),o=l(51151),_=l.n(o),d=l(15279),u=l(97176),p=l.n(u);function m(e){var t,l,o,u,m,h,v,b,g,f,y,x,k;let{defaultTab:j="specs",open:A,close:w,vehicle:N}=e,[C,S]=(0,a.useState)(j),P=(0,c.A)(),E=(0,r.e)(),T=(0,d._6)(()=>{let e=document.getElementById(window.location.hash.replace("#",""));null==e||e.scrollIntoView({behavior:"smooth"})},400);(0,a.useEffect)(()=>{A&&(S(j),T())},[A]);let M=(0,a.useCallback)(()=>{window.location.hash="attributes-modal-closed",null==w||w()},[w]);if(!N)return null;let V="bike"===N.type,I=e=>e.filter(e=>{let t=N.attributes[e];return null!=t&&!1!==t}),O=V?Object.keys(N.attributes).filter(e=>{if(["documents","accessories","accessoryGroups","deliveryPackages","highlights","comments","description"].includes(e))return!1;let t=N.attributes[e];return null!=t&&!1!==t&&!!("string"==typeof t||"number"==typeof t||"boolean"==typeof t||Array.isArray(t))}).sort():null,L=null==(l=N.template)||null==(t=l.configurations)?void 0:t.modal_specs,F=I(null!=(v=null==L?void 0:L.specs)?v:[]),B=I(null!=(b=null==L?void 0:L.electricSpecs)?b:[]),z=I(null!=(g=null==L?void 0:L.technicalSpecs)?g:[]),R=I(null!=(f=null==L?void 0:L.environmentalSpecs)?f:[]),H=V?I(null!=(y=null==L?void 0:L.componentSpecs)?y:[]):null,U=null!=(x=null==(o=N.attributes.accessories)?void 0:o.filter(e=>1===e.priority))?x:[];return(0,i.jsx)(n.A,{size:"md",open:A,close:M,overlayClassName:(0,s.A)(_().modal__overlay),bodyClassName:(0,s.A)(_().modal__body),header:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("h3",{children:[N.brand," ",N.model]}),(0,i.jsxs)("p",{children:[N.edition," ",N.attributes.addition]}),(0,i.jsxs)("div",{className:(0,s.A)(_().chips),children:[(0,i.jsx)("button",{className:(0,s.A)(_().chip,"specs"===C?_()["chip--active"]:""),onClick:()=>S("specs"),children:P("vehicle_detail.attributes_modal.tabs.specs.tab_title")}),!V&&(null==(u=N.attributes.accessoryGroups)?void 0:u.length)>0?(0,i.jsx)("button",{className:(0,s.A)(_().chip,"options"===C?_()["chip--active"]:""),onClick:()=>S("options"),children:P("vehicle_detail.attributes_modal.tabs.options.tab_title")}):null,N.attributes.comments||N.attributes.description?(0,i.jsx)("button",{className:(0,s.A)(_().chip,"description"===C?_()["chip--active"]:""),onClick:()=>S("description"),children:P("vehicle_detail.attributes_modal.tabs.description.tab_title")}):null]})]}),body:(0,i.jsxs)(i.Fragment,{children:["specs"===C?(0,i.jsxs)("div",{className:(0,s.A)(_().specs),children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_().specs__title),children:P("vehicle_detail.attributes_modal.tabs.specs.tab_title")}),(0,i.jsxs)("div",{className:(0,s.A)(_().specs__list),children:[N.brand?(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("vehicle_detail.attributes_modal.tabs.specs.brand")}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:N.brand})]}):null,N.model?(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("vehicle_detail.attributes_modal.tabs.specs.model")}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:N.model})]}):null,N.edition||N.attributes.addition?(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("vehicle_detail.attributes_modal.tabs.specs.addition")}
1),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:"".concat(N.edition||""," ").concat(N.attributes.addition||"").trim()})]}):null,V?null==(m=L?F:O)?void 0:m.map(e=>(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("bike_detail.specs.".concat(p()(e)),{defaultValue:e})}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:E(e,N.attributes[e],"bike")})]},e)):F.map(e=>(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("vehicle.attribute.".concat(p()(e),".title"),{},{},"")}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:E(e,N.attributes[e])})]},e))]}),!V&&B.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_().specs__title),children:P("vehicle_detail.attributes_modal.tabs.specs.electric_specs.title")}),(0,i.jsx)("div",{className:(0,s.A)(_().specs__list),children:B.map(e=>(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("vehicle.attribute.".concat(p()(e),".title"),{},{},"")}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:E(e,N.attributes[e])})]},e))})]}):null,!V&&z.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_().specs__title),children:P("vehicle_detail.attributes_modal.tabs.specs.technical_specs.title")}),(0,i.jsx)("div",{className:(0,s.A)(_().specs__list),children:z.map(e=>(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("vehicle.attribute.".concat(p()(e),".title"),{},{},"")}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:E(e,N.attributes[e])})]},e))})]}):null,!V&&R.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_().specs__title),children:P("vehicle_detail.attributes_modal.tabs.specs.environmental_specs.title")}),(0,i.jsx)("div",{className:(0,s.A)(_().specs__list),children:R.map(e=>(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("vehicle.attribute.".concat(p()(e),".title"),{},{},"")}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:E(e,N.attributes[e])})]},e))})]}):null,V&&B.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_().specs__title),children:P("vehicle_detail.attributes_modal.tabs.specs.electric_specs.title")}),(0,i.jsx)("div",{className:(0,s.A)(_().specs__list),children:B.map(e=>(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("bike_detail.specs.".concat(p()(e)),{defaultValue:e})}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:E(e,N.attributes[e])})]},e))})]}):null,V&&(null!=(k=null==H?void 0:H.length)?k:0)>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_().specs__title),children:P("bike_detail.attributes_modal.component_specs_title")}),(0,i.jsx)("div",{className:(0,s.A)(_().specs__list),children:H.map(e=>(0,i.jsxs)("div",{className:(0,s.A)(_().spec),children:[(0,i.jsx)("span",{className:(0,s.A)(_().spec__title),children:P("bike_detail.specs.".concat(p()(e)),{defaultValue:e})}),(0,i.jsx)("span",{className:(0,s.A)(_().spec__value),children:E(e,N.attributes[e])})]},e))})]}):null]}):null,V||"options"!==C?null:(0,i.jsxs)("div",{className:(0,s.A)(_()["accessory-groups"]),children:[(null==U?void 0:U.length)>0?(0,i.jsxs)("div",{className:(0,s.A)(_()["accessory-group"]),children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_()["accessory-group__title"]),children:P("vehicle_detail.options.highlighted")}),(0,i.jsx)("div",{className:(0,s.A)(_()["accessory-group__accessories"]),children:U.map((e,t)=>(0,i.jsx)("div",{className:(0,s.A)(_()["accessory-group__accessory"]),children:(0,i.jsx)("p",{children:e.name})},t))})]}):null,null==(h=N.attributes.accessoryGroups)?void 0:h.map((e,t)=>(0,i.jsxs)("div",{className:(0,s.A)(_()["accessory-group"]),id:"attributes-modal-".concat(p()(e.name)),children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_()["accessory-group__title"]),children:e.name}),(0,i.jsx)("div",{className:(0,s.A)(_()["accessory-group__accessories"]),children:e.accessories.map((e,t)=>(0,i.jsx)("div",{className:(0,s.A)(_()["accessory-group__accessory"]),children:(0,i.jsx)("p",{children:e})},t))})]},t))]}),"description"===C?(0,i.jsxs)("div",{className:(0,s.A)(_().description),children:[(0,i.jsx)("p",{className:(0,s.A)("h5",_().description__title),children:P("vehicle_detail.attributes_modal.tabs.description.title",{model:N.model})}),(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:N.attributes.comments||N.attributes.description}})]}):null]})})}},976:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>b});var i=l(95155),a=l(79121),n=l(8778),s=l(85402),r=l.n(s),c=l(12115),o=l(15279),_=l(95604),d=l(71584),u=l(95415);let p="https://www.youtube.com/iframe_api",m=[],h=!1;function v(e,t){let l="https://i.ytimg.com/vi_webp/".concat(t,"/hqdefault.webp");
1e.src!==l&&e.naturalWidth<=120&&(e.src=l)}function b(e){let{youtubeId:t="",aspectRatio:l="auto",autoplay:s=!1}=e,b=(0,_.useTranslations)(),g="auto"!==l?Number(l):16/9,f=(0,n.R)(),{ref:y,isIntersecting:x}=(0,o.BL)({rootMargin:"200px",freezeOnceVisible:!0}),[k,j]=(0,c.useState)(!1),A=k||s&&(!f||x),w=(0,d.A)(),N=(0,c.useRef)(null),C=(0,c.useRef)(null),S=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let e=C.current;(null==e?void 0:e.complete)&&v(e,t)},[t]),(0,c.useEffect)(()=>{let e;if(!A)return;let l=!1,i=l=>{if(l.data===window.YT.PlayerState.PLAYING){let l=[];e=setInterval(()=>{if(!S.current)return;let e=S.current.getDuration(),i=S.current.getCurrentTime(),a=i/e*100,n=Math.floor(a);a>1&&n%10==0&&!l.includes(n)&&(w("video","youtube - ".concat(t),"view",i,n),l.push(n))},1e3)}else clearInterval(e)};return!function(e){var t;if(null==(t=window.YT)?void 0:t.Player)return e();if(m.push(e),h)return;h=!0;let l=window.onYouTubeIframeAPIReady;if(window.onYouTubeIframeAPIReady=()=>{null==l||l(),m.splice(0).forEach(e=>e())},document.querySelector('script[src="'.concat(p,'"]')))return;let i=document.createElement("script");i.src=p,document.body.appendChild(i)}(()=>{!l&&N.current&&(S.current=new window.YT.Player(N.current,{events:{onStateChange:i}}))}),()=>{l=!0,clearInterval(e)}},[A]),(0,i.jsx)("div",{ref:y,className:(0,a.A)(r().block,r()["block--youtube"],r()["block--media"]),children:A?(0,i.jsx)("iframe",{ref:N,...f&&!k?{loading:"lazy"}:null,width:"100%",style:{aspectRatio:g,border:"none"},src:"https://www.youtube.com/embed/".concat(t,"?enablejsapi=1&mute=1&loop=1&rel=0").concat(s||k?"&autoplay=1":""),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}):(0,i.jsxs)("button",{type:"button",className:(0,a.A)(r()["block__youtube-facade"]),style:{aspectRatio:g},title:b("youtube.play"),"aria-label":b("youtube.play"),onClick:()=>j(!0),children:[(0,i.jsx)("img",{ref:C,className:(0,a.A)(r()["block__youtube-thumbnail"]),src:"https://i.ytimg.com/vi_webp/".concat(t,"/maxresdefault.webp"),alt:"",...f?{loading:"lazy"}:null,onLoad:e=>v(e.currentTarget,t),onError:e=>v(e.currentTarget,t)}),(0,i.jsx)(u.A,{icon:"play_arrow",className:(0,a.A)(r()["block__youtube-play"])})]})})}},1391:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(12115),n=l(41704),s=l(60115),r=l(79121),c=l(95604),o=l(1780),_=l.n(o);function d(e){let{text:t="",plannerBaseUrl:l=""}=e,[o,d]=(0,a.useState)(""),u=(0,c.useTranslations)();return(0,i.jsxs)(i.Fragment,{children:[t?(0,i.jsx)("div",{className:(0,r.A)(_()["planner-entrance__text"]),dangerouslySetInnerHTML:{__html:t}}):null,(0,i.jsxs)("form",{action:l,method:"GET",target:"_blank",className:(0,r.A)(_()["planner-entrance__form"]),children:[(0,i.jsx)(n.A,{name:"licensePlate",fieldClassName:(0,r.A)(_()["planner-entrance__input"]),placeholder:u("planner_entrance.license_plate_placeholder"),active:!!o,value:o,onChange:e=>d(e.target.value),autoComplete:"off"}),(0,i.jsx)(s.default,{size:"lg",type:"submit",title:u("planner_entrance.submit_title"),fullWidth:!0})]})]})}},1396:(e,t,l)=>{"use strict";l.d(t,{default:()=>N});var i=l(95155),a=l(12115),n=l(83900),s=l(95604),r=l(79121),c=l(95301),o=l(11929),_=l(13778),d=l(35867),u=l(82496),p=l(55120),m=l(25874),h=l(73224),v=l(57495),b=l(6094),g=l(21327),f=l(95415),y=l(60115),x=l(69357),k=l(5519),j=l(70870),A=l.n(j);let w=async e=>{let t=(0,p.A)("TENANT_ID");return t&&0!==e.length?(await (0,u.A)().get("/tenant/".concat(t,"/vehicle"),{params:{slugs:e}})).data:[]};function N(e){let{stockHref:t,columns:l={sm:12,md:6,lg:3}}=e,u=(0,s.useTranslations)(),{portalId:p}=(0,m.j)(),{favoriteSlugs:j,hydrated:N}=(0,c.$)(),C=(0,_.usePortalStore)(e=>e.customer),S=(0,_.usePortalStoreHydration)(),P=!!C,[E,T]=(0,a.useState)(!1),M=(0,a.useRef)(P);(0,a.useEffect)(()=>{P&&(M.current=!0)},[P]);let V=!!p&&S&&!P&&!E&&!M.current,{data:I=[],isInitialLoading:O}=(0,n.useQuery)({queryKey:["favoriteVehicles",j],queryFn:()=>w(j),enabled:N&&j.length>0,staleTime:3e5,keepPreviousData:!0}),L=(0,a.useMemo)(()=>I.filter(e=>j.includes(e.slug)),[I,j]),F=(0,a.useCallback)(e=>{if(0===e.length)return;window.dataLayer=window.dataLayer||[];let t=(0,o.A)();
1e.forEach(e=>{window.dataLayer.push({event:"favorite",favorite_id:t,items:[{item_id:e}]})})},[]),B=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(0===L.length)return;let e=L.map(e=>e.attributes.vehicleNumber),t=[...e].sort().join(",");B.current!==t&&(B.current=t,F(e))},[L,F]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x.A,{size:"md",open:V,close:()=>T(!0),header:(0,i.jsx)("h3",{children:u("vehicle.favorite.modal_title")}),body:(0,i.jsxs)("div",{className:A()["favorites__modal-body"],children:[(0,i.jsxs)("div",{className:A()["favorites__modal-heading"],children:[(0,i.jsx)(f.A,{icon:"favorite",className:A()["favorites__modal-icon"]}),(0,i.jsx)("h4",{className:A()["favorites__modal-title"],children:u("vehicle.favorite.modal_heading")})]}),(0,i.jsx)("p",{children:u("vehicle.favorite.modal_description")}),(0,i.jsxs)("div",{className:A()["favorites__modal-buttons"],children:[(0,i.jsx)(y.default,{title:u("vehicle.favorite.modal_login"),href:(0,d.BX)(),theme:"primary",icon:"arrow_forward"}),(0,i.jsx)(y.default,{title:u("vehicle.favorite.modal_continue"),onClick:()=>T(!0),theme:"primary-outlined",icon:"arrow_forward"})]}),(0,i.jsxs)("p",{className:A()["favorites__modal-register"],children:[u("vehicle.favorite.modal_no_account")," ",(0,i.jsx)(k.default,{href:(0,d.l_)(),addWebspace:!0,children:u("vehicle.favorite.modal_register")})]})]}),button:null}),O&&(0,i.jsx)("div",{className:(0,r.A)(A().favorites__loader,A()["favorites__loader--loading"])}),!O&&0===L.length&&N&&(0,i.jsx)("div",{className:A().favorites__empty,children:(0,i.jsxs)("div",{className:A()["favorites__empty-card"],children:[(0,i.jsx)(f.A,{icon:"favorite",className:A()["favorites__empty-icon"]}),(0,i.jsx)("h2",{className:(0,r.A)("h5",A()["favorites__empty-title"]),children:u("vehicle.favorite.empty_title")}),(0,i.jsx)("p",{className:A()["favorites__empty-description"],children:u("vehicle.favorite.empty_description")}),t&&(0,i.jsx)(y.default,{title:u("vehicle.favorite.empty_button"),href:t,className:A()["favorites__empty-button"],theme:"primary"})]})}),L.length>0&&(0,i.jsx)(h.VehicleCardConfigContextProvider,{priceTypes:["purchase","b2b","finance","businessFinance","privateLease","businessLease","shortLease"],specs:["yearOfConstruction","odometerReading","fuel"],specsDisplayMode:"standard",priceDisplayMode:"standard",cardTheme:"regular",showStockStatus:!1,showLabel:!1,maxLabels:1,labelPosition:"top-left",editionLines:2,showEstablishment:!1,hideAddition:!1,disableGroupedFinancePrices:!1,disableGroupedLeasePrices:!1,buttonTheme:"highlight-outlined",themeColor:"primary",showCompare:!1,showFavorites:!0,showImageSlider:!1,showPriceAdvantage:!1,children:(0,i.jsx)(v.A,{children:L.map(e=>(0,i.jsx)(b.A,{span:l,verticalAlignment:"stretch",children:(0,i.jsx)(g.A,{...e})},e.slug))})})]})}},1613:e=>{e.exports={"pane--vehicle-highlights":"PaneVehicleHighlights_pane--vehicle-highlights__yvgoH",pane__top:"PaneVehicleHighlights_pane__top__SUYXy"}},1780:e=>{e.exports={"planner-entrance__text":"PlannerEntrance_planner-entrance__text__kao75","planner-entrance__form":"PlannerEntrance_planner-entrance__form__jB9Dp","planner-entrance__input":"PlannerEntrance_planner-entrance__input__jOOb6"}},1792:(e,t,l)=>{"use strict";function i(e,t){return(null==e?void 0:e.length)>0?e[0]:t&&t.length>0&&"button-link"===t[0].type?{title:t[0].title,href:t[0].href,type:"link",target:t[0].target}:void 0}l.d(t,{I:()=>i})},1798:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var i=l(95155),a=l(12115),n=l(78317),s=l(80695),r=l(82158),c=l(32511),o=l.n(c),_=l(30245);function d(e){var t;let{label:l,placeholder:c,filter:d,path:u,disabled:p}=e,m=(0,a.useId)(),{values:h,setValues:v}=(0,s.iN)(),b=(0,_.e)(),g=Object.keys(null!=(t=(0,r.bf)(h,u))?t:{}).at(0);return(0,i.jsx)(n.A,{id:m,label:l,placeholder:c,active:!!g,value:null!=g?g:"",disabled:p,options:d&&"number-range"!==d.type&&"range-overlap"!==d.type&&"geo-distance"!==d.type?d.options.map(e=>({value:e.key,title:b(d.key,e.key)})).sort((e,t)=>e.title.localeCompare(t.title)):[],onChange:e=>{let t=e.target.value;if(!t){g&&v((0,r.WE)(o()(h),u));return}v((0,r.HJ)(o()(h),u,{[t]:""}))}})}},1816:e=>{e.exports={text:"PaneModelEditions_text__fOfqn"}},1828:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(79121),n=l(85483),s=l(85402),r=l.n(s),c=l(57523),o=l(84795),_=l(60115),d=l(59491),u=l(72346),p=l(64378);function m(e){let{pages:t,cardTheme:l,buttonHidden:s,buttonTitle:m,buttonTheme:h,buttonSize:v,publishedDateVisible:b=!1,likelyLCP:g,...f}=e,{origin:y,locale:x}=(0,u.t)();return(0,i.jsx)("div",{className:(0,a.A)(r().block),children:(0,i.jsx)(n.A,{renderSlide:(e,t,a)=>{var n,r;let{authored:u,content:{images:f,title:k,text:j,buttonTitle:A,url:w}}=e;A=m||A;let N=null==f?void 0:f.at(0),C=b?(0,p.A)(u,x):"",S=null!=w?w:"",P=(S.match(/:\/\//g)||[]).length>1?S.replace(y,""):S,E={type:"link",href:P,title:A,target:"_self"};return(0,i.jsx)(c.A,{theme:l,media:(null==N?void 0:N.imageUrl)?(0,i.jsx)(d.A,{action:E,tabIndex:-1,
1children:(0,i.jsx)(o.A,{likelyLCP:g&&0===a,url:N.imageUrl,alt:N.description,objectPosition:{x:(null!=(n=N.focusPointX)?n:1)*50,y:(null!=(r=N.focusPointY)?r:1)*50},mimeType:N.mimeType,ratio:"filled"===l?2/3:1.5,width:"".concat(t.sm,"cw"),breakpoints:{md:{width:"".concat(t.md,"cw")},lg:{width:"".concat(t.lg,"cw")}}})}):null,date:C||null,title:k?(0,i.jsx)(d.A,{action:E,children:k}):null,text:j?(0,i.jsx)(d.A,{action:E,tabIndex:-1,children:j}):null,cta:!s&&A?(0,i.jsx)(_.default,{fullWidth:"regular"===l,theme:h,size:v,title:A,href:P}):null})},slides:t,...f})})}},3765:(e,t,l)=>{"use strict";l.d(t,{A:()=>p});var i=l(95155),a=l(32511),n=l.n(a),s=l(80695),r=l(82158),c=l(18938),o=l.n(c),_=l(79121),d=l(95415),u=l(95604);function p(e){let{filter:t,path:l=[]}=e,a=(0,u.useTranslations)(),{values:c,setValues:p}=(0,s.iN)(),m=[...l,t.key];return(0,i.jsxs)("button",{className:(0,_.A)(o()["reset-filter"]),onClick:()=>p((0,r.WE)(n()(c),m)),children:[(0,i.jsx)(d.A,{icon:"refresh",style:{"--icon-size":20}}),(0,i.jsx)("span",{className:(0,_.A)(o()["reset-filter__text"]),children:a("vehicle_overview.filter.reset_filter")})]})}},4075:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var i=l(95155),a=l(79121),n=l(85483),s=l(48534),r=l(18588),c=l(24089),o=l(13521),_=l(1613),d=l.n(_);function u(e){var t;let{text:l="",backgrounds:[_]=[],id:u}=e,p=(0,r.v8)();return(null==p||null==(t=p.attributes.highlights)?void 0:t.length)?(0,i.jsxs)(o.default,{theme:"primary-80-black",className:(0,a.A)(d()["pane--vehicle-highlights"]),background:_,id:u,children:[(0,i.jsx)("div",{className:(0,a.A)(d().pane__top),children:(0,c.Ay)(l)}),(0,i.jsx)("div",{className:(0,a.A)(d().pane__content),children:(0,i.jsx)(n.A,{slides:p.attributes.highlights,renderSlide:(e,t)=>(0,i.jsx)(s.A,{...e,widths:t}),widths:{sm:100,md:100,lg:100},slidesPerView:3,centeredSlides:!1,loop:!1})})]}):null}},4697:(e,t,l)=>{"use strict";l.d(t,{default:()=>A});var i=l(95155),a=l(57523),n=l(79121),s=l(73510),r=l(59491),c=l(95604),o=l(17566),_=l.n(o),d=l(15183),u=l(85637),p=l(95415),m=l(55041),h=l(84795);function v(e){return 0===e||!!e}function b(e){var t,l,o,d,u;let{id:p,brand:b,model:f,prices:y,media:x,image:k,cta:j,action:A}=e,w=(0,c.useTranslations)(),{priceTypes:N}=(0,m.yy)();return!x&&k&&(x=(0,i.jsx)(h.A,{url:k,alt:b+" "+f,title:b+" "+f,objectPosition:{x:50,y:50}})),(0,i.jsx)(s.FormVehicleContextProvider,{type:"model",id:p,brand:b,model:f,prices:y,vehicleState:"new",children:(0,i.jsx)(a.A,{theme:"regular",title:(0,i.jsx)(r.A,{action:A,children:"".concat(b," ").concat(f)}),text:(0,i.jsxs)("div",{className:(0,n.A)(_().model__prices),children:[N.includes("purchase")?(0,i.jsx)(g,{title:w("model.price.purchase.title"),tooltip:w("model.price.purchase.".concat((null==(t=y.purchase)?void 0:t.includingVat)?"including_vat":"excluding_vat",".tooltip")),type:"purchase",prices:y}):null,N.includes("addition")?(0,i.jsx)(g,{title:w("model.price.addition.title"),tooltip:w("model.price.addition.tooltip"),type:"addition",prices:y}):null,v(null==(l=y.finance)?void 0:l.value)&&N.includes("finance")||v(null==(o=y.businessFinance)?void 0:o.value)&&N.includes("businessFinance")?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:(0,n.A)(_()["price-title"]),children:w("model.price.finance_group.title")}),N.includes("finance")?(0,i.jsx)(g,{title:w("model.price.finance_group.finance.title"),tooltip:w("model.price.finance.tooltip"),type:"finance",prices:y}):null,N.includes("businessFinance")?(0,i.jsx)(g,{title:w("model.price.finance_group.business_finance.title"),tooltip:w("model.price.business_finance.tooltip"),type:"businessFinance",prices:y}):null]}):null,v(null==(d=y.privateLease)?void 0:d.value)&&N.includes("privateLease")||v(null==(u=y.businessLease)?void 0:u.value)&&N.includes("businessLease")?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:(0,n.A)(_()["price-title"]),children:w("model.price.lease_group.title")}),N.includes("privateLease")?(0,i.jsx)(g,{title:w("model.price.lease_group.private_lease.title"),tooltip:w("model.price.private_lease.tooltip"),type:"privateLease",prices:y}):null,N.includes("businessLease")?(0,i.jsx)(g,{title:w("model.price.lease_group.business_lease.title"),tooltip:w("model.price.business_lease.tooltip"),type:"businessLease",prices:y}):null]}):null]}
1),media:x?(0,i.jsx)(r.A,{action:A,tabIndex:-1,children:x}):null,cta:j})})}function g(e){var t,l,a,s,r;let{title:o,tooltip:m,type:h,prices:b}=e,g=(0,c.useTranslations)(),f=(0,d.A)(),y=(0,c.useFormatter)(),x=b[h];return v(null==x?void 0:x.value)?(0,i.jsxs)("div",{className:(0,n.A)(_().price),children:[(0,i.jsxs)("div",{className:(0,n.A)(_().price__details),children:[(0,i.jsx)("span",{className:(0,n.A)(_().price__title),children:o}),m?(0,i.jsx)(u.A,{className:(0,n.A)(_().price__tooltip),overlay:m,children:(0,i.jsx)(p.A,{icon:"info",style:{"--icon-size":16}})}):null,null==(t=x.includingVat)||t||"addition"===h?null:(0,i.jsx)("span",{className:(0,n.A)(_().price__vat),children:g("excluding_vat")})]}),(0,i.jsxs)("div",{className:(0,n.A)(_().price__values),children:[(0,i.jsx)("span",{className:(0,n.A)(_().price__value),children:"addition"===h?y.number((null!=(l=x.value)?l:0)/100,{style:"percent"}):f(null!=(a=x.value)?a:0)}),x.previousValue?(0,i.jsx)("span",{className:(0,n.A)(_()["price__previous-value"]),children:"addition"===h?y.number((null!=(s=x.previousValue)?s:0)/100,{style:"percent"}):f(null!=(r=x.previousValue)?r:0)}):null]})]}):null}var f=l(1792),y=l(60115),x=l(58744),k=l(85402),j=l.n(k);function A(e){var t,l,a;let{image:s,buttons:r=[],widths:c,modelId:o,actions:_=[],modelCardSnippet:d,likelyLCP:u}=e,{models:p}=(0,x.l)(),v=p.find(e=>e.id===o);if(!v||!v.deliverable)return null;let{priceTypes:g=[],showBrandAndModel:k=!1}=null!=(t=null==d?void 0:d.content)?t:{};return(0,i.jsx)("div",{className:(0,n.A)(j().block,j()["block--card"],j()["block--model"]),children:(0,i.jsx)(m.CM,{priceTypes:(null==g?void 0:g.length)?g:["purchase","finance","businessFinance","privateLease","businessLease","addition"],showBrandAndModel:k,children:(0,i.jsx)(b,{...v,media:(null==s?void 0:s.imageUrl)?(0,i.jsx)(h.A,{likelyLCP:u,url:s.imageUrl,alt:s.description,title:s.title,objectPosition:{x:(null!=(l=s.focusPointX)?l:1)*50,y:(null!=(a=s.focusPointY)?a:1)*50},mimeType:s.mimeType,ratio:1.5,width:"".concat(c.sm,"cw"),breakpoints:{md:{width:"".concat(c.md,"cw")},lg:{width:"".concat(c.lg,"cw")}}}):null,cta:r.length>0?r.map((e,t)=>(0,i.jsx)(y.default,{...e,type:void 0,fullWidth:!0},t)):null,action:(0,f.I)(_,r)})})})}},4742:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var i=l(95155),a=l(97176),n=l.n(a),s=l(79121),r=l(85637),c=l(95415),o=l(43134),_=l(13349),d=l.n(_);function u(e){let{filterKey:t,domain:l="vehicle",placement:a="top"}=e,_=(0,o.A)(),u=_("".concat(l,".attribute.").concat(n()(t),".tooltip"),{},{},"");return u?(0,i.jsx)(r.A,{placement:a,overlay:(0,i.jsx)("p",{children:u}),className:(0,s.A)(d()["filter-info"]),ariaLabel:_("vehicle_overview.filter.more_info",{},{},"Meer informatie"),children:(0,i.jsx)(c.A,{icon:"info",className:(0,s.A)(d()["filter-info__icon"]),"aria-hidden":"true"})}):null}},4788:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var i=l(95155),a=l(77320),n=l(78509),s=l(13521);function r(e){let{id:t,backgrounds:[l]=[]}=e,{prices:r,deliverable:c}=(0,n.Q)();return c?(0,i.jsx)(s.default,{id:t,background:l,children:(0,i.jsx)(a.A,{prices:r})}):null}},5109:(e,t,l)=>{"use strict";l.d(t,{default:()=>f});var i=l(95155),a=l(79121),n=l(460),s=l(60115),r=l(97176),c=l.n(r),o=l(12115),_=l(18588),d=l(43134),u=l(30245),p=l(34262),m=l.n(p),h=l(85402),v=l.n(h),b=l(8109);let g=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);function f(e){let{theme:t="list",columnsPerView:l=1,numberOfSpecs:r=6,specs:p=["fuel","odometerReading","yearOfConstruction","transmission","powerMotorHp","licensePlate"],hideAllSpecsButton:h=!1,widths:f}=e,[y,x]=(0,o.useState)(!1),k=(0,_.v8)(),j=(0,d.A)(),A=(0,u.e)(),w=(0,b.A)();if(!k)return null;let N=(null!=p?p:[]).filter(e=>{let t=k.attributes[e];return null!=t&&!1!==t}).slice(0,r),C=l/f.lg,S=g(C*f.md/2),P=g(C*f.sm/4);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,a.A)(v().block,v()["block--text-like"]),children:(0,i.jsx)("div",{className:(0,a.A)(m()["specs-wrapper"]),children:(0,i.jsx)("div",{className:(0,a.A)(m().specs,m()["specs--".concat(t)]),style:{"--columns-per-view-sm":P,"--columns-per-view-md":S,"--columns-per-view-lg":l},children:N.map(e=>(0,i.jsxs)("div",{className:(0,a.A)(m().spec),children:[(0,i.jsx)("span",{className:(0,a.A)(m().spec__title),children:j("vehicle.attribute.".concat(c()(e),".title"),{},{},"")}
1),(0,i.jsx)("span",{className:(0,a.A)(m().spec__value),children:A(e,k.attributes[e])})]},e))})})}),!h&&(0,i.jsxs)("div",{className:(0,a.A)(v().block,v()["block--text-like"]),children:[(0,i.jsx)(s.default,{theme:"outlined",title:j("vehicle_detail.all_specs"),icon:"north_east",onClick:()=>{w("all_specifications"),x(!0)}}),(0,i.jsx)(n.A,{defaultTab:"specs",open:y,close:()=>x(!1),vehicle:k})]})]})}},5797:(e,t,l)=>{"use strict";l.d(t,{default:()=>k});var i=l(95155),a=l(79121),n=l(58744),s=l(12115),r=l(95604),c=l(81421),o=l(75209),_=l(84795),d=l(60115),u=l(98463),p=l(82490),m=l.n(p);function h(e){var t,l,n;let{establishment:s,showOpeningStatus:p=!1,hideImage:h=!1,widths:v,likelyLCP:b}=e,g=(0,r.useTranslations)(),{name:f,street:y,houseNumber:x,postalCode:k,city:j,emailAddress:A,phoneNumber:w,routeUrl:N,url:C,image:S,types:P=[],brands:E=[],departments:T}=s,M=E.map(e=>({brand:e,logoUrl:function(e){let{logo:t}=e;return t?"string"==typeof t?t:t.imageUrl||t.path||null:null}(e)})).filter(e=>!!e.logoUrl),V=!h&&!!(null==S?void 0:S.path),I=V&&M.length>0,O=!V&&M.length>0,L=e=>(0,i.jsx)("ul",{className:(0,a.A)(m().brands,e),children:M.map(e=>{let{brand:t,logoUrl:l}=e;return(0,i.jsx)("li",{className:(0,a.A)(m().brand),children:(0,i.jsx)("img",{className:(0,a.A)(m().brand__logo),src:(0,u.I)(l,{force_format:"original"}).href,alt:t.name,title:t.name,loading:"lazy"})},t.id)})});return(0,i.jsx)(c.A,{media:V?(0,i.jsxs)("div",{className:(0,a.A)(m().media),children:[(0,i.jsx)(_.A,{likelyLCP:b,url:S.path,alt:f,title:f,objectPosition:{x:50,y:50},ratio:1.5,width:"".concat(null!=(t=null==v?void 0:v.sm)?t:100,"cw"),breakpoints:{md:{width:"".concat((null!=(l=null==v?void 0:v.md)?l:100)/2,"cw")},lg:{width:"".concat((null!=(n=null==v?void 0:v.lg)?n:100)/4,"cw")}}}),I?L():null]}):void 0,beforeBody:O?L(m()["brands--body"]):null,title:f,street:y,houseNumber:x,postalCode:k,city:j,emailAddress:A,phoneNumber:w,routeUrl:N,openingStatus:p?(0,i.jsx)(o.A,{departments:T}):void 0,afterDetails:P.length?(0,i.jsx)("ul",{className:(0,a.A)(m().types),children:P.map((e,t)=>(0,i.jsx)("li",{className:(0,a.A)(m().type),children:e},t))}):null,cta:C?(0,i.jsx)(d.default,{href:C,title:g("establishments.overview_list.active_marker.button")}):null})}var v=l(44163),b=l(51119),g=l.n(b);function f(e){let{establishments:t,showBrandFilter:l=!0,showTypeFilter:n=!0,showOpeningStatus:c=!1,hideImage:o=!1,widths:_,likelyLCP:d}=e,u=(0,r.useTranslations)(),[p,m]=(0,s.useState)([]),[b,f]=(0,s.useState)([]),y=(0,s.useMemo)(()=>{let e=new Map;return t.forEach(t=>{var l;null==(l=t.brands)||l.forEach(t=>e.set(String(t.id),t.name))}),Array.from(e,e=>{let[t,l]=e;return{value:t,label:l}}).sort((e,t)=>e.label.localeCompare(t.label))},[t]),x=(0,s.useMemo)(()=>{let e=new Set;return t.forEach(t=>{var l;null==(l=t.types)||l.forEach(t=>e.add(t))}),Array.from(e).sort((e,t)=>e.localeCompare(t)).map(e=>({value:e,label:e}))},[t]),k=t.filter(e=>{var t,l;let i=!p.length||(null==(t=e.brands)?void 0:t.some(e=>p.includes(String(e.id)))),a=!b.length||(null==(l=e.types)?void 0:l.some(e=>b.includes(e)));return i&&a}),j=l&&y.length>0,A=n&&x.length>0;return(0,i.jsxs)("div",{className:(0,a.A)(g()["establishment-cards"]),children:[(j||A)&&(0,i.jsxs)("div",{className:(0,a.A)(g().filters),children:[j?(0,i.jsx)(v.A,{title:u("establishments.cards.filter.brand"),options:y,selected:p,onChange:m}):null,A?(0,i.jsx)(v.A,{title:u("establishments.cards.filter.type"),options:x,selected:b,onChange:f}):null]}),k.length?(0,i.jsx)("ul",{className:(0,a.A)(g().grid),children:k.map((e,t)=>(0,i.jsx)("li",{className:(0,a.A)(g().grid__item),children:(0,i.jsx)(h,{establishment:e,showOpeningStatus:c,hideImage:o,widths:_,likelyLCP:d&&0===t})},e.id))}):(0,i.jsx)("p",{className:(0,a.A)(g().empty),children:u("establishments.cards.empty")})]})}var y=l(85402),x=l.n(y);function k(e){let{establishmentIds:t,showBrandFilter:l=!0,showTypeFilter:s=!0,showOpeningStatus:r=!1,hideImage:c=!1,widths:o,likelyLCP:_}=e,{establishments:d}=(0,n.l)(),u=null!=t?t:[],p=u.length>0?d.filter(e=>u.includes(e.id)).sort((e,t)=>u.indexOf(e.id)-u.indexOf(t.id)):d;return p.length?(0,i.jsx)("div",{className:(0,a.A)(x().block),children:(0,i.jsx)(f,{establishments:p,showBrandFilter:l,showTypeFilter:s,showOpeningStatus:r,hideImage:c,widths:o,likelyLCP:_})}):null}},5922:e=>{e.exports={"select-range":"FilterSelectRange_select-range__1knoS"}},5925:(e,t,l)=>{"use strict";l.d(t,{A:()=>_});
1var i=l(95155),a=l(12115),n=l(79121),s=l(15601),r=l(68054),c=l.n(r);let o=a.forwardRef((e,t)=>{let{id:l,checked:r,disabled:o,error:_,className:d,fieldClassName:u,barClassName:p,handleClassName:m,showError:h=!0,errorId:v,...b}=e,g=(0,a.useId)(),f=v||"".concat(l||g,"-error");return(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:(0,n.A)(d,c().toggle,r?c()["toggle--active"]:"",o?c()["toggle--disabled"]:"",_?c()["toggle--error"]:""),children:[(0,i.jsx)("input",{ref:t,className:(0,n.A)(u,c().toggle__field),type:"checkbox",id:null!=l?l:g,checked:r,disabled:o,"aria-invalid":!!_,"aria-errormessage":_?f:void 0,...b}),(0,i.jsx)("label",{className:(0,n.A)(p,c().toggle__bar),htmlFor:null!=l?l:g,children:(0,i.jsx)("span",{className:(0,n.A)(m,c().toggle__handle)})})]}),_&&h?(0,i.jsx)(s.A,{id:f,children:_}):null]})});o.displayName="Toggle";let _=o},6032:(e,t,l)=>{"use strict";l.d(t,{A:()=>f});var i=l(95155),a=l(12115),n=l(75598),s=l(79121),r=l(95415),c=l(98814),o=l(4742),_=l(97176),d=l.n(_),u=l(69357),p=l(60115),m=l(97315),h=l(43134),v=l(93955),b=l.n(v),g=l(3765);function f(e){let{loading:t,filters:l,count:_,domain:v="vehicle"}=e,[f,y]=(0,a.useState)(l.filter(e=>!e.defaultCollapsed).map(e=>e.key)),[x,k]=(0,a.useState)(!1),j=(0,m.A)("lg"),A=(0,h.A)();return(0,a.useEffect)(()=>{j&&k(!1)},[j]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.default,{className:(0,s.A)(b()["button--filters"]),title:A("vehicle_overview.filter.button_title"),icon:"filter_list",fullWidth:!0,onClick:()=>k(!0)}),(0,i.jsx)(u.A,{size:"md",open:x,close:()=>k(!1),header:(0,i.jsx)("h3",{children:A("vehicle_overview.filter.title")}),body:(0,i.jsx)(i.Fragment,{children:l.map(e=>{let t=f.includes(e.key),l=()=>y(t?f.filter(t=>t!==e.key):[...f,e.key]);return(0,i.jsxs)("div",{className:(0,s.A)(b().collapse__item,t?b()["collapse__item--opened"]:""),children:[(0,i.jsxs)("div",{className:(0,s.A)(b().collapse__header),children:[(0,i.jsx)("button",{className:(0,s.A)(b().collapse__toggle),onClick:l,title:e.key,children:(0,i.jsx)("span",{className:(0,s.A)(b().collapse__title),children:A("".concat(v,".attribute.").concat(d()(e.key),".title"),{},{},"")})}),(0,i.jsx)(o.A,{filterKey:e.key,domain:v}),(0,i.jsx)("button",{className:(0,s.A)(b().collapse__chevron),onClick:l,tabIndex:-1,"aria-hidden":"true",children:(0,i.jsx)(r.A,{icon:"expand_more",className:(0,s.A)(b().collapse__icon),"aria-hidden":"true"})})]}),(0,i.jsx)(n.S,{isOpened:t,theme:{collapse:(0,s.A)(b().collapse__collapse),content:(0,s.A)(b().collapse__content)},children:(0,i.jsxs)("div",{className:(0,s.A)(b().collapse__body),children:[(0,i.jsx)(c.A,{filter:e}),(0,i.jsx)(g.A,{filter:e})]})})]},e.key)})}),button:(0,i.jsx)(p.default,{theme:"primary",title:A("vehicle_overview.filter.show",{count:_}),onClick:()=>k(!1),loading:t})})]})}},7078:e=>{e.exports={establishment__information:"Establishment_establishment__information__9FjCZ","establishment__details-link":"Establishment_establishment__details-link__aztI7","establishment__details-icon":"Establishment_establishment__details-icon__QqTDc"}},8109:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var i=l(12115),a=l(11929);function n(){return(0,i.useCallback)(e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"interested_element",interested_element_id:(0,a.A)(),interested_element_type:e})},[])}},9051:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var i=l(95155),a=l(79121),n=l(95415),s=l(32640),r=l.n(s);function c(e){let{title:t,iconStart:l,iconEnd:s,theme:c,className:o,..._}=e;return(0,i.jsxs)("button",{className:(0,a.A)(r().chip,c?r()["chip--".concat(c)]:"",o),title:t,..._,children:[l?(0,i.jsx)(n.A,{icon:l,className:(0,a.A)(r().chip__icon)}):null,(0,i.jsx)("span",{children:t}),s?(0,i.jsx)(n.A,{icon:s,className:(0,a.A)(r().chip__icon)}):null]})}},9944:(e,t,l)=>{"use strict";l.d(t,{jg:()=>s,zU:()=>r});var i=l(95155),a=l(12115);let n=a.createContext({packages:[],modalOpen:!1,openModal:()=>{},closeModal:()=>{}});function s(e){let{children:t,packages:l}=e,[s,r]=(0,a.useState)(!1),c=(0,a.useMemo)(()=>null!=l?l:[],[l]),o=(0,a.useMemo)(()=>({packages:c,modalOpen:s,openModal:()=>r(!0),closeModal:()=>r(!1)}),[c,s]);return(0,i.jsx)(n.Provider,{value:o,children:t})}let r=()=>(0,a.useContext)(n)},10372:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(97725),n=l(79121),s=l(47605),r=l(55580),c=l(12115),o=l(84623),_=l.n(o);function d(e){let{children:t}=e;s.os.registerPlugin(r.u);let l=(0,c.useRef)(null),o=(0,a.A)("headingAnimation","none");return(0,c.useEffect)(()=>{let e=l.current;e&&s.os.fromTo(e,{"--scroll-animation-progress":0},{"--scroll-animation-progress":1,duration:.3,scrollTrigger:{trigger:e,start:"top 90%",once:!0}})},[]),(0,i.jsx)("div",{ref:"none"!==o?l:void 0,className:(0,n.A)(_()["scroll-animation"],_()["scroll-animation--".concat(o)]),children:t})}},10648:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var i=l(95155),a=l(18588),n=l(79121),s=l(81421),r=l(85402),c=l.n(r);function o(){let e=(0,a.v8)();return e&&e.establishment?(0,i.jsx)("div",{className:(0,n.A)(c().block),children:(0,i.jsx)(s.A,{title:e.establishment.name,street:e.establishment.street,houseNumber:e.establishment.houseNumber,postalCode:e.establishment.postalCode,city:e.establishment.city,emailAddress:e.establishment.email,phoneNumber:e.establishment.phoneNumber,routeUrl:e.establishment.routeUrl})}):null}},11034:(e,t,l)=>{"use strict";l.d(t,{default:()=>v});var i=l(95155),a=l(79121),n=l(56990),s=l(84795),r=l(88830),c=l(54805),o=l(12115),_=l(98463),d=l(71584),u=l(85402),p=l.n(u),m=l(29641),h=l.n(m);function v(e){let{items:t,images:l=[],widths:u,likelyLCP:m}=e,[v,b]=(0,o.useState)(0),[g,f]=(0,o.useState)(!1),y=(0,d.A)(),x=[...t,...l.map(e=>({type:"image",image:e}))];return(0,i.jsxs)("div",{className:(0,a.A)(p().block,p()["block--masonry"]),children:[(0,i.jsx)(n.A,{children:x.slice(0,6).map((e,t)=>{let l=[0,1].includes((t+1)%6);if("image"===e.type){var n,r;return(0,i.jsxs)("div",{className:(0,a.A)(h().masonry__item),children:[(0,i.jsx)(s.A,{likelyLCP:m&&0===t,className:(0,a.A)(h().masonry__image),url:e.image.imageUrl,alt:e.image.description,title:e.image.t
1itle,objectPosition:{x:(null!=(n=e.image.focusPointX)?n:1)*50,y:(null!=(r=e.image.focusPointY)?r:1)*50},mimeType:e.image.mimeType,ratio:l?4/3:3/4,width:"".concat(u.sm/(l?1:2),"cw"),breakpoints:{md:{width:"".concat(u.md/(l?2:4),"cw")},lg:{width:"".concat(u.lg/(l?2:4),"cw")}},onClick:()=>{y("photo",e.image.title,"click"),b(t),f(!0)}}),x.length>6&&5===t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,a.A)(h()["masonry__more-gradient"])}),(0,i.jsxs)("button",{className:(0,a.A)(h()["masonry__more-button"],"h3"),onClick:()=>{b(t),f(!0)},children:["+ ",x.length-6]})]}):null]},t)}return null})}),(0,i.jsx)(r.A,{aspectRatio:16/9,open:g,initialSlide:v,slides:x,close:()=>f(!1),renderSlide:e=>"image"===e.type?(0,i.jsxs)("div",{className:(0,a.A)(h().gallery__item),children:[(0,i.jsx)("div",{className:(0,a.A)("swiper-zoom-container"),children:(0,i.jsx)("div",{className:(0,a.A)("swiper-zoom-target",h()["gallery__zoom-target"]),children:(0,i.jsx)(c.default,{src:e.image.imageUrl?(0,_.I)(e.image.imageUrl,{force_format:"webp"}).href:"",alt:e.image.description,title:e.image.title,style:{blockSize:"100%",objectFit:"scale-down"}})})}),e.title||e.text?(0,i.jsxs)("div",{className:(0,a.A)(h().gallery__description),children:[e.title?(0,i.jsx)("b",{children:e.title}):null,e.text?(0,i.jsx)("span",{className:"text--sm",children:e.text}):null]}):null]}):null,renderThumb:e=>"image"===e.type?(0,i.jsx)(s.A,{className:(0,a.A)(h().gallery__thumb),url:e.image.imageUrl,ratio:16/9,width:"".concat(1024/9,"px")}):null})]})}},13349:e=>{e.exports={"filter-info":"FilterInfoButton_filter-info__1ryW3","filter-info__icon":"FilterInfoButton_filter-info__icon__le8hR"}},13521:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>g});var i=l(95155),a=l(79483),n=l(84795),s=l(79121),r=l(48470),c=l(65769),o=l(22672),_=l.n(o),d=l(66434),u=l.n(d),p=l(82046),m=l(27733),h=l(12115),v=l(60115),b=l(8778);function g(e){let{background:t,children:l,...o}=e,d=function(e,t){var l,a,o,d,g,f,y,x,k,j,A,w,N,C,S,P;let E=(0,c.Z)(),T=(0,h.useRef)(null),[M,V]=(0,h.useState)(!1),I=(0,b.R)();if((null==e?void 0:e.type)==="theme")return{theme:e.theme};if((null==e?void 0:e.type)==="pattern")return{theme:e.theme,backgroundStart:(0,i.jsx)(p.default,{})};if((null==e?void 0:e.type)==="image"&&(null==(l=e.imageMobile)?void 0:l.imageUrl)){let t=e.imageTablet||e.imageMobile,l=e.imageDesktop||t;return{theme:e.theme,className:(0,s.A)(_()["pane--text-".concat(e.color)]),backgroundClassName:e.overlay?(0,s.A)(_()["pane__background--overlay-".concat("white"===e.color?"black":"white")]):void 0,background:(0,i.jsx)(r.A,{children:(0,i.jsx)(n.A,{url:e.imageMobile.imageUrl,alt:"",width:"".concat(100*E,"vw"),objectPosition:{x:(null!=(o=e.imageMobile.focusPointX)?o:1)*50,y:(null!=(d=e.imageMobile.focusPointY)?d:1)*50},objectFit:e.objectFit,mimeType:e.imageMobile.mimeType,breakpoints:{md:{url:t.imageUrl,objectPosition:{x:(null!=(g=t.focusPointX)?g:1)*50,y:(null!=(f=t.focusPointY)?f:1)*50},mimeType:t.mimeType},lg:{url:l.imageUrl,objectPosition:{x:(null!=(y=l.focusPointX)?y:1)*50,y:(null!=(x=l.focusPointY)?x:1)*50},mimeType:l.mimeType}},className:(0,s.A)(_()["pane__background-media"]),likelyLCP:!0})})}}if((null==e?void 0:e.type)==="video"){let t=e.src,l=e.srcTablet||e.src,a=e.srcMobile||e.srcTablet||e.src,c=null!=(j=null!=(k=e.posterMobile)?k:e.posterTablet)?j:e.poster,o=null!=(A=e.posterTablet)?A:e.poster,d=e.poster,u=e=>{var t,l;return{url:e.imageUrl,mimeType:e.mimeType,objectPosition:{x:(null!=(t=e.focu
1sPointX)?t:1)*50,y:(null!=(l=e.focusPointY)?l:1)*50}}};return{theme:e.theme,className:(0,s.A)(_()["pane--text-".concat(e.color)]),backgroundClassName:e.overlay?(0,s.A)(_()["pane__background--overlay-".concat("white"===e.color?"black":"white")],_()["pane__background-video"]):(0,s.A)(_()["pane__background--video"]),background:(0,i.jsxs)(r.A,{children:[c&&(0,i.jsx)(n.A,{...u(c),alt:"",width:"".concat(100*E,"vw"),objectFit:e.objectFit,breakpoints:{md:u(null!=o?o:c),lg:u(null!=d?d:c)},className:_()["pane__background-media"],likelyLCP:!I}),(0,i.jsxs)("video",{ref:T,style:{objectFit:e.objectFit},className:_()["pane__background-video-media"],preload:I?"none":"auto",autoPlay:!0,playsInline:!0,muted:!0,loop:!0,children:[(0,i.jsx)("source",{src:t,type:"video/mp4",media:"(min-width: 1024px)"}),(0,i.jsx)("source",{src:l,type:"video/mp4",media:"(min-width: 600px)"}),(0,i.jsx)("source",{src:a,type:"video/mp4"})]}),(0,i.jsx)(v.default,{showText:!1,type:"button",theme:"transparent",className:_()["pane__background-pause"],onClick:()=>{T.current&&(M?(T.current.play(),V(!1)):(T.current.pause(),V(!0)))},icon:"".concat(M?"play_arrow":"pause")})]})}}if((null==e?void 0:e.type)==="slides"&&(null==(a=e.imagesMobile)?void 0:a.length)){let l=(null==(w=e.imagesTablet)?void 0:w.length)?e.imagesTablet:e.imagesMobile,a=(null==(N=e.imagesDesktop)?void 0:N.length)?e.imagesDesktop:l;return{theme:e.theme,className:(0,s.A)(u().base,_()["pane--text-".concat(e.color)],"pane--background-slides"),body:(0,i.jsxs)("div",{className:(0,s.A)(u().hero,"pane--background-slides"),style:{"--slides":"".concat((null==(C=e.imagesMobile)?void 0:C.length)||1),"--per-slide":"".concat(e.speed||5,"s")},"data-slides":"".concat((null==(S=e.imagesMobile)?void 0:S.length)||1),children:[(0,i.jsx)("div",{className:(0,s.A)(u()["bg-slider"]),children:null==(P=e.imagesMobile)?void 0:P.map((t,r)=>{var c,o,_,d,p,m;let h=Math.min(r,l.length-1),v=Math.min(h,a.length-1);return(0,i.jsx)(n.A,{style:{"--i":"".concat(r)},url:t.imageUrl,alt:"",width:"".concat(100*E,"vw"),objectPosition:{x:(null!=(c=t.focusPointX)?c:1)*50,y:(null!=(o=t.focusPointY)?o:1)*50},objectFit:e.objectFit,mimeType:t.mimeType,breakpoints:{md:{url:l[h].imageUrl,objectPosition:{x:(null!=(_=l[h].focusPointX)?_:1)*50,y:(null!=(d=l[h].focusPointY)?d:1)*50},mimeType:l[h].mimeType},lg:{url:a[v].imageUrl,objectPosition:{x:(null!=(p=a[v].focusPointX)?p:1)*50,y:(null!=(m=a[v].focusPointY)?m:1)*50},mimeType:a[v].mimeType}},className:(0,s.A)(u().slide),likelyLCP:!0},r)})}),e.overlay&&(0,i.jsx)("div",{className:(0,s.A)(u().overlay)}),(0,i.jsx)("div",{className:(0,s.A)(u().content),children:(0,i.jsx)(m.A,{children:t})})]})}}return{}}(t,o.body||l);return(0,i.jsx)(a.A,{...o,...d,className:[o.className,d.className].join(" "),children:l})}},13941:e=>{e.exports={masonry:"Masonry_masonry__YfCEn"}},14102:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var i=l(95155),a=l(79121),n=l(85483),s=l(48534),r=l(18588),c=l(24089),o=l(13521),_=l(1613),d=l.n(_);function u(e){var t;let{text:l="",backgrounds:[_]=[],id:u}=e,p=(0,r.v8)();return(null==p||null==(t=p.attributes.highlights)?void 0:t.length)&&"string"!=typeof(null==p?void 0:p.attributes.highlights)?(0,i.jsxs)(o.default,{theme:"primary-80-black",className:(0,a.A)(d()["pane--vehicle-highlights"]),background:_,id:u,children:[(0,i.jsx)("div",{className:(0,a.A)(d().pane__top),children:(0,c.Ay)(l)}),(0,i.jsx)("div",{className:(0,a.A)(d().pane__content),children:(0,i.jsx)(n.A,{slides:p.attributes.highlights,renderSlide:(e,t)=>(0,i.jsx)(s.A,{...e,widths:t}),widths:{sm:100,md:100,lg:100},slidesPerView:3,centeredSlides:!1,loop:!1})})]}):null}},14473:e=>{e.exports={"block--vacancy-specifications":"BlockVacancySpecifications_block--vacancy-specifications__C1Bur",block__specifications:"BlockVacancySpecifications_block__specifications__XJcwa",block__specification:"BlockVacancySpecifications_block__specification__y1kBv","block__specification-label":"BlockVacancySpecifications_block__specification-label__ib6Bl"}},15275:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var i=l(95155),a=l(18588),n=l(79121),s=l(60115),r=l(12115),c=l(460),o=l(95604),_=l(16370),d=l.n(_),u=l(85402),p=l.n(u),m=l(8109);function h(){let e=(0,o.useTranslations)(),[t,l]=(0,r.useState)(!1),_=(0,a.v8)(),u=(0,m.A)();return _?(0,i.jsxs)("div",{className:(0,n.A)(p().block,p()["block--text-like"]),children:[(0,i.jsx)("p",{className:(0,n.A)(d().pane__text),dangerouslySetInnerHTML:{__html:_.attributes.comments}}),(0,i.jsx)(s.default,{theme:"outlined",title:e("vehicle_detail.description"),icon:"north_east",onClick:()=>{u("vehicle_description_read_more"),l(!0)}}),(0,i.jsx)(c.A,{defaultTab:"description",open:t,close:()=>l(!1),vehicle:_})]}):null}},15980:e=>{e.exports={"vacancy-list-item":"VacancyListItem_vacancy-list-item__cVaOU","vacancy-list-item__content":"VacancyListItem_vacancy-list-item__content__mMgli","vacancy-list-item__title":"VacancyListItem_vacancy-list-item__title__yRGWm","vacancy-list-item__meta":"VacancyListItem_vacancy-list-item__meta__jaj1Q","vacancy-list-item__description":"VacancyListItem_vacancy-list-item__description__je73T"}},16053:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(79121),n=l(98463),s=l(58744),r=l(85402),c=l.n(r),o=l(12115),_=l(71584);function d(e){let t,{src:l="",imageId:r,aspectRatio:d="auto",objectFit:u="cover",autoplay:p=!1,widths:m}=e,h=(0,o.useRef)(null),v=(0,_.A)(),b=(0,o.useRef)([]),{images:g}=(0,s.l)(),f=g.find(e=>e.id===r);if(f){let e=Math.max(m.sm/100*523.2,m.md/100*(1024-1024/768*96),m.lg/100*(1920-1920/1380*200)),l={
1width:e,height:e/Number(d),force_format:"webp"};"contain"===u&&Object.assign(l,{func:"fit",fit_enlarge:1}),"fill"===u&&Object.assign(l,{func:"cover"}),t=(0,n.I)(f.path,l).href}return(0,o.useEffect)(()=>{let e,t=h.current;if(!t)return;let i=()=>{t&&(v("video",l,"play",t.currentTime.toString()),e=setInterval(()=>{if(!t)return;let e=t.duration,i=t.currentTime,a=i/e*100,n=Math.floor(a);a>1&&n%10==0&&!b.current.includes(n)&&(v("video",l,"view",i.toString(),n),b.current.push(n))},1e3))},a=()=>{t&&(v("video",l,"pause",t.currentTime.toString()),clearInterval(e))},n=()=>{clearInterval(e)};return t.addEventListener("play",i),t.addEventListener("pause",a),t.addEventListener("ended",n),()=>{clearInterval(e),t.removeEventListener("play",i),t.removeEventListener("pause",a),t.removeEventListener("ended",n)}},[l,v]),(0,i.jsx)("div",{className:(0,a.A)(c().block,c()["block--video"],c()["block--media"]),children:(0,i.jsx)("video",{ref:h,style:{aspectRatio:d,objectFit:u},poster:t,controls:!p,autoPlay:p,playsInline:p,muted:p,loop:p,preload:"metadata",children:(0,i.jsx)("source",{src:l,type:"video/mp4"})})})}},16370:e=>{e.exports={pane__grid:"PaneVehicleDescription_pane__grid__LI2OG",pane__description:"PaneVehicleDescription_pane__description__LZi6Q",pane__title:"PaneVehicleDescription_pane__title__XldCN",pane__text:"PaneVehicleDescription_pane__text__h4uIX","pane__establishment-text":"PaneVehicleDescription_pane__establishment-text__H4sVh","pane__contact-link":"PaneVehicleDescription_pane__contact-link__lcoc1","pane__contact-icon":"PaneVehicleDescription_pane__contact-icon__yKVEX"}},16593:(e,t,l)=>{"use strict";l.d(t,{default:()=>_});var i=l(95155),a=l(18588),n=l(79121),s=l(24089),r=l(13521),c=l(16370),o=l.n(c);function _(e){var t;let{text:l="",backgrounds:[c]=[]}=e,_=(0,a.v8)(),d=null==_||null==(t=_.attributes)?void 0:t.spinnerUrl;return d?(0,i.jsxs)(r.default,{id:"pane-vehicle-photo-motion",theme:"light",className:(0,n.A)(o()["pane--vehicle-employees"]),background:c,children:[(0,s.Ay)(l),(0,i.jsx)("iframe",{style:{border:"none",width:"100%",aspectRatio:16/9,borderRadius:"var(--media-border-radius)"},src:d,allowFullScreen:!0,allow:"gyroscope; accelerometer"})]}):null}},17384:e=>{e.exports={filter__toggle:"EstablishmentFilter_filter__toggle__55WCQ","filter__toggle--active":"EstablishmentFilter_filter__toggle--active__2mFYw",filter__count:"EstablishmentFilter_filter__count__7z48k",dropdown:"EstablishmentFilter_dropdown__sVjYX",dropdown__options:"EstablishmentFilter_dropdown__options__3zaDh"}},17519:(e,t,l)=>{"use strict";function i(e,t){var l,i,a;return e&&null!=(a=null==(i=e.price)||null==(l=i.find(e=>e.vat===(t?"in":"ex")))?void 0:l.price)?a:0}l.d(t,{F:()=>i})},17566:e=>{e.exports={"price-title":"Model_price-title__CYm8b",price:"Model_price__YJAeJ",price__details:"Model_price__details__stA41",price__values:"Model_price__values__3kNkX",price__title:"Model_price__title__K0yny",price__vat:"Model_price__vat__EK8Zj",price__value:"Model_price__value___xb3b","price__previous-value":"Model_price__previous-value__c2Azo","price__credit-table":"Model_price__credit-table__qKr3Q",price__tooltip:"Model_price__tooltip__46ut1"}},18938:e=>{e.exports={"reset-filter":"FilterReset_reset-filter__FtbFj","reset-filter__text":"FilterReset_reset-filter__text__i7vxO"}},19525:(e,t,l)=>{"use strict";l.d(t,{default:()=>w});var i=l(95155),a=l(12115),n=l(20463),s=l.n(n),r=l(45089),c=l(1798),o=l(69216),_=l(35465),d=l(79121),u=l(82238),p=l(80695),m=l(83489),h=l(95822),v=l(60115),b=l(95415),g=l(60273),f=l.n(g),y=l(97176),x=l.n(y),k=l(43134),j=l(75598),A=l(31695);function w(e){var t,l;let n,{initialData:g,initialValues:y,text:w,vacancyListId:N,vacancyFilterId:C,vacancyOverviewHref:S,numberOfColumns:P,numberOfRows:E,widths:T}=e,[M,V]=(0,a.useState)(!1),[I,O]=(0,a.useState)(null!=y?y:{}),[L,F]=(0,a.useState)(!1),[B,z]=(0,h.A)(I),{horizontalAlignment:R}=(0,A.o)(),H=(0,r.useQueryClient)(),U=["vacancies/vacancy-list/".concat(N)],{data:D,isError:q}=(0,u.Pf)({vacancyListId:N,...C?{filterId:C}:{},...B},{placeholderData:g,keepPreviousData:!0,staleTime:3e5}),W=null!=(t=null==D?void 0:D.count)?t:0,G=null!=(l=null==D?void 0:D.filters)?l:[],Q=(0,k.A)(),K=P*E,Y=(n=P/T.lg*T.md/2,[1,2,3,4,6,12].reduce((e,t)=>
1Math.abs(t-n)<=Math.abs(e-n)?t:e));(0,a.useEffect)(()=>{H.cancelQueries({queryKey:U}),z(I,500),V(!0)},[I]),(0,a.useEffect)(()=>{V(!1)},[D,q]),(0,a.useEffect)(()=>()=>{H.cancelQueries({queryKey:U})},[]);let X=s().stringify({filter:I},{arrayFormat:"brackets"}),J=S+(X&&(S.includes("?")?"&":"?"))+X,Z=G.reduce((e,t)=>(("number-range"===t.type||"range-overlap"===t.type)&&e.push((0,i.jsx)(o.A,{filter:t,path:[t.key]},t.key)),"select-range"===t.type&&e.push((0,i.jsx)(_.A,{filter:t,path:[t.key]},t.key)),"checkboxes"===t.type&&e.push((0,i.jsx)(c.A,{label:Q("vacancy.attribute.".concat(x()(t.key),".title"),{},{},""),placeholder:Q("vacancy.attribute.".concat(x()(t.key),".title"),{},{},""),filter:t,path:[t.key]},t.key)),e),[]);return(0,i.jsxs)(i.Fragment,{children:[w?(0,i.jsx)("div",{className:(0,d.A)(f()["vehicle-search__text"]),dangerouslySetInnerHTML:{__html:w}}):null,(0,i.jsx)(p.Gf,{values:I,setValues:e=>{O((0,m.k)(G,e)||{})},filters:G,children:(0,i.jsxs)("div",{className:(0,d.A)(f()["vehicle-search__form"]),children:[(0,i.jsx)("div",{className:(0,d.A)(f()["vehicle-search__field-grid"]),style:{"--columns-sm":2,"--columns-md":Y,"--columns-lg":P},children:Z.slice(0,K)}),Z.length>K?(0,i.jsx)(j.S,{isOpened:L,theme:{collapse:(0,d.A)(f().collapse),content:(0,d.A)(f().collapse__content)},children:(0,i.jsxs)("div",{...!L?{inert:!0}:null,children:[(0,i.jsx)("div",{className:(0,d.A)(f().divider),children:(0,i.jsx)("hr",{})}),(0,i.jsx)("div",{className:(0,d.A)(f()["vehicle-search__field-grid"]),style:{"--columns-sm":2,"--columns-md":Y,"--columns-lg":P},children:Z.slice(K)})]})}):null,(0,i.jsxs)("div",{className:(0,d.A)(f().buttons,T.lg>50?f()["buttons--inline"]:"",R?f()["buttons--align-".concat(R)]:""),children:[(0,i.jsx)(v.default,{href:null!=J?J:"",theme:"primary",title:Q("vacancy_search.button.show",{count:W}),className:(0,d.A)(f()["vehicle-search__button"]),loading:M}),Z.length>K?(0,i.jsxs)("button",{title:Q("vacancy_search.button.".concat(L?"less_filters":"more_filters")),className:(0,d.A)(f()["vehicle-search__link"]),onClick:()=>F(!L),children:[L?(0,i.jsx)(b.A,{icon:"remove"}):(0,i.jsx)(b.A,{icon:"add"}),(0,i.jsx)("span",{children:Q("vacancy_search.button.".concat(L?"less_filters":"more_filters"))})]}):null]})]})})]})}},21834:(e,t,l)=>{"use strict";l.d(t,{default:()=>T});var i=l(95155),a=l(12115),n=l(95604),s=l(20463),r=l.n(s),c=l(76065);l(19711);var o=l(79121),_=l(57523),d=l(84795),u=l(95415),p=l(59491),m=l(85637),h=l(15183),v=l(34894),b=l.n(v);function g(e){var t;let{model:l,widths:a,likelyLCP:s}=e,r=(0,n.useTranslations)(),c=(0,h.A)(),{brand:v,model:g,prices:f,image:y,href:x}=l,k="".concat(v," ").concat(g).trim(),j=x?{type:"link",href:x,title:k,target:"_self"}:void 0,A=[{type:"purchase",label:r("model.cards.card.purchase"),tooltip:r("model.price.purchase.".concat((null==(t=f.purchase)?void 0:t.includingVat)?"including_vat":"excluding_vat",".tooltip"))},{type:"privateLease",label:r("model.cards.card.private_lease"),tooltip:r("model.price.private_lease.tooltip")},{type:"businessLease",label:r("model.cards.card.business_lease"),tooltip:r("model.price.business_lease.tooltip")}];return(0,i.jsx)(_.A,{theme:"regular",classname:(0,o.A)(b().card),mediaClassname:(0,o.A)(b().card__media),bodyClassname:(0,o.A)(b().card__body),media:y?(0,i.jsx)(p.A,{action:j,tabIndex:-1,children:(0,i.jsx)(d.A,{likelyLCP:s,url:y,alt:k,title:k,objectPosition:{x:50,y:50},objectFit:"cover",ratio:278/157.53,width:"".concat(a.sm,"cw"),breakpoints:{md:{width:"".concat(a.md,"cw")},lg:{width:"".concat(a.lg,"cw")}}})}):(0,i.jsx)("div",{className:(0,o.A)(b().card__placeholder),"aria-hidden":"true"}),title:(0,i.jsx)(p.A,{action:j,children:k}),titleClassname:(0,o.A)(b().card__title),text:(0,i.jsx)("dl",{className:(0,o.A)(b().prices),children:A.map(e=>{var t,l;let{type:a,label:n,tooltip:s}=e,r=f[a];return 0===(l=null==r?void 0:r.value)||l?(0,i.jsxs)("div",{className:(0,o.A)(b().price),children:[(0,i.jsx)("dt",{className:(0,o.A)(b().price__label),children:n}),(0,i.jsxs)("dd",{className:(0,o.A)(b()["price__value-group"]),children:[(0,i.jsx)("span",{className:(0,o.A)(b().price__value),
1children:c(null!=(t=r.value)?t:0)}),s?(0,i.jsx)(m.A,{className:(0,o.A)(b().price__tooltip),overlay:s,children:(0,i.jsx)(u.A,{icon:"info",className:(0,o.A)(b().price__info)})}):null]})]},a):null})})})}var f=l(16522),y=l(89574),x=l.n(y);function k(e){let{title:t,options:l,selected:n,onChange:s,placement:r="bottomRight"}=e,[_,d]=(0,a.useState)(!1);return(0,i.jsx)(c.A,{visible:_,onVisibleChange:d,trigger:"click",placement:r,showArrow:!1,motion:{motionName:"fade",motionAppear:!0,motionEnter:!0,motionLeave:!0,onAppearEnd:()=>!1,onEnterEnd:()=>!1,onLeaveEnd:()=>!1},overlayClassName:(0,o.A)(x().dropdown),overlay:(0,i.jsx)("ul",{className:(0,o.A)(x().dropdown__options),children:l.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)(f.A,{label:e.label,checked:n.includes(e.value),onChange:()=>{var t;return t=e.value,void s(n.includes(t)?n.filter(e=>e!==t):[...n,t])}})},e.value))}),children:(0,i.jsxs)("button",{type:"button",className:(0,o.A)(x().filter__toggle,n.length?x()["filter__toggle--active"]:""),"aria-expanded":_,children:[(0,i.jsx)("span",{children:t}),n.length?(0,i.jsx)("span",{className:(0,o.A)(x().filter__count),"aria-hidden":"true",children:n.length}):null]})})}var j=l(54452),A=l(84891),w=l.n(A);let N={sm:1,md:2,lg:4},C=["name_asc","name_desc","price_asc","price_desc"],S=[{value:"lt30",max:3e4},{value:"30-45",min:3e4,max:45e3},{value:"45-60",min:45e3,max:6e4},{value:"60-80",min:6e4,max:8e4},{value:"gt80",min:8e4}];function P(e){return"".concat(e.brand," ").concat(e.model).trim()}function E(e){return Array.isArray(e)?e.map(String):null!=e&&""!==e?[String(e)]:[]}function T(e){let{title:t,models:l,showBrandFilter:s=!0,showModelFilter:_=!0,showPriceFilter:d=!0,itemsPerPage:p,widths:m,likelyLCP:v}=e,b=(0,n.useTranslations)(),f=(0,h.A)(),[y,x]=(0,a.useState)([]),[A,T]=(0,a.useState)([]),[M,V]=(0,a.useState)([]),[I,O]=(0,a.useState)("name_asc"),[L,F]=(0,a.useState)(!1),[B,z]=(0,a.useState)(1),[R,H]=(0,a.useState)(!1),U=(0,a.useRef)(null),D=p&&p>0?p:24,q={sm:m.sm/N.sm,md:m.md/N.md,lg:m.lg/N.lg};(0,a.useEffect)(()=>{let e=r().parse(window.location.search.replace("?",""),{comma:!0}),t=e.sorting;x(E(e.brands)),T(E(e.models)),V(E(e.prices)),O(C.includes(t)?t:"name_asc"),z(Math.max(Number(e.page)||1,1)),H(!0)},[]),(0,a.useEffect)(()=>{if(!R)return;let e=[r().stringify({brands:y.length?y:void 0,models:A.length?A:void 0,prices:M.length?M:void 0,sorting:"name_asc"!==I?I:void 0,page:B>1?B:void 0},{arrayFormat:"comma",encodeValuesOnly:!0}),location.search.replace("?","").split("&").filter(e=>""!==e&&!["brands","models","prices","sorting","page"].some(t=>e.startsWith("".concat(t,"=")))).join("&")].filter(Boolean).join("&");window.history.replaceState({},document.title,"".concat(location.pathname).concat(e?"?".concat(e):""))},[R,y,A,M,I,B]);let W=(0,a.useMemo)(()=>{let e=new Set;return l.forEach(t=>t.brand&&e.add(t.brand)),Array.from(e).sort((e,t)=>e.localeCompare(t)).map(e=>({value:e,label:e}))},[l]),G=(0,a.useMemo)(()=>{let e=new Set;return l.filter(e=>!y.length||y.includes(e.brand)).forEach(t=>t.model&&e.add(t.model)),Array.from(e).sort((e,t)=>e.localeCompare(t)).map(e=>({value:e,label:e}))},[l,y]),Q=(0,a.useMemo)(()=>S.filter(e=>l.some(t=>{var l,i;let a=null==(l=t.prices.purchase)?void 0:l.value;return null!=a&&a>=(null!=(i=e.min)?i:0)&&(null==e.max||a<e.max)})).map(e=>{var t;return{value:e.value,label:null==e.max?"".concat(f(null!=(t=e.min)?t:0),"+"):null==e.min?"< ".concat(f(e.max)):"".concat(f(e.min)," – ").concat(f(e.max))}}),[l,f]),K=A.filter(e=>G.some(t=>t.value===e)),Y=M.filter(e=>Q.some(t=>t.value===e)),X=l.filter(e=>{var t;let l=!y.length||y.includes(e.brand),i=!K.length||K.includes(e.model),a=null==(t=e.prices.purchase)?void 0:t.value,n=!Y.length||Y.some(e=>{var t;let l=S.find(t=>t.value===e);return l&&null!=a&&a>=(null!=(t=l.min)?t:0)&&(null==l.max||a<l.max)});return l&&i&&n}).sort((e,t)=>{var l,i,a,n,s,r,c,o;switch(I){case"name_desc":return P(t).localeCompare(P(e));case"price_asc":return(null!=(a=null==(l=e.prices.purchase)?void 0:l.value)?a:1/0)-(null!=(n=null==(i=t.prices.purchase)?void 0:i.value)?n:1/0);case"price_desc":return(null!=(c=null==(s=t.prices.purchase)?void 0:s.value)?c:-1/0)-(null!=(o=null==(r=e.prices.purchase)?void 0:r.value)?o:-1/0);default:return P(e).localeCompare(P(t))}}),J=s&&W.length>1,Z=_&&G.length>0,$=d&&Q.length>0,ee=y.length>0||K.length>0||Y.length>0,et=Math.ceil(X.length/D),el=Math.min(B,Math.max(1,et)),ei=X.slice((el-1)*D,el*D);return(0,i.jsxs)("div",{className:(0,o.A)(w()["model-cards"]),children:[t?(0,i.jsx)("div",{className:(0,o.A)(w().header),children:(0,i.jsx)("p",{className:(0,o.A)("h2",w().header__title),children:t})}):null,J||Z||$?(0,i.jsxs)("div",{className:(0,o.A)(w().toolbar),children:[J?(0,i.jsx)(k,{title:b("model.cards.filter.brand"),options:W,selected:y,onChange:e=>{x(e),z(1)},placement:"bottomLeft"}):null,Z?(0,i.jsx)(k,{title:b("model.cards.filter.model"),options:G,selected:K,onChange:e=>{T(e),z(1)},placement:"bottomLeft"}):null,$?(0,i.jsx)(k,{title:b("model.cards.filter.price"),options:Q,selected:Y,onChange:e=>{V(e),z(1)},placement:"bottomLeft"}):null]}):null,(0,i.jsxs)("div",{className:(0,o.A)(w().meta),children:[(0,i.jsxs)("div",{className:(0,o.A)(w().meta__results),children:[(0,i.jsx)("span",{className:(0,o.A)(w().count),"aria-live":"polite",children:b("model.cards.count",{count:X.length})}),ee?(0,i.jsxs)("button",{type:"button",className:(0,o.A)(w().reset),onClick:()=>{x([]),T([]),V([]),z(1)},children:[(0,i.jsx)(u.A,{icon:"refresh",className:(0,o.A)(w().reset__icon),"aria-hidden":"true"}),(0,i.jsx)("span",{className:(0,o.A)(w().reset__label),children:b("model.cards.reset")})]}):null]}),(0,i.jsx)(c.A,{visible:L,onVisibleChange:F,trigger:"click",placement:"bottomRight",showArrow:!1,overlayClassName:(0,o.A)(w()["sort-dropdown"]),overlay:(0,i.jsx)("ul",{className:(0,o.A)(w()["sort-dropdown__options"]),children:C.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)("button",{type:"button",className:(0,o.A)(w()["sort-dropdown__option"],I===e?w()["sort-dropdown__option--active"]:""),onClick:()=>{O(e),z(1),F(!1)},children:b("model.cards.sort.".concat(e))})},e))}),children:(0,i.jsxs)("button",{type:"button",className:(0,o.A)(w().sort),"aria-expanded":L,"aria-label":b("model.cards.sort.label"),children:[(0,i.jsx)(u.A,{icon:"sort",className:(0,o.A)(w().sort__icon),"aria-hidden":"true"}
1),(0,i.jsx)("span",{children:b("model.cards.sort.".concat(I))})]})})]}),X.length?(0,i.jsxs)("div",{ref:U,children:[(0,i.jsx)("ul",{className:(0,o.A)(w().grid),children:ei.map((e,t)=>(0,i.jsx)("li",{className:(0,o.A)(w().grid__item),children:(0,i.jsx)(g,{model:e,widths:q,likelyLCP:v&&0===t})},e.id))}),et>1?(0,i.jsx)(j.A,{pageCount:et,page:el,setPage:e=>{var t;z(e),null==(t=U.current)||t.scrollIntoView({behavior:"smooth"})}}):null]}):(0,i.jsx)("p",{className:(0,o.A)(w().empty),children:b("model.cards.empty")})]})}},22379:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(24089),n=l(78509),s=l(13521),r=l(80774),c=l(55041),o=l(1816),_=l.n(o);function d(e){var t;let{id:l,text:o="",backgrounds:[d]=[],slidesPerView:u=3,buttons:p=[],modelCardSnippet:m}=e,{editions:h=[],deliverable:v}=(0,n.Q)();if(!v||!h||0===h.length)return null;let{priceTypes:b=[],showBrandAndModel:g=!1}=null!=(t=null==m?void 0:m.content)?t:{};return(0,i.jsxs)(s.default,{id:l,background:d,children:[o&&(0,i.jsx)("div",{className:_().text,children:(0,a.Ay)(o)}),(0,i.jsx)(c.CM,{priceTypes:(null==b?void 0:b.length)?b:["purchase","finance","businessFinance","privateLease","businessLease","addition"],showBrandAndModel:g,children:(0,i.jsx)(r.A,{slides:h.sort((e,t)=>{var l;return(e.prices.purchase.value||0)-((null==(l=t.prices)?void 0:l.purchase.value)||0)}),slidesPerView:u,buttons:p,widths:{sm:100,md:100,lg:100}})})]})}},22672:e=>{e.exports={pane:"Pane_pane__EaP45",pane__body:"Pane_pane__body__Pdfda",pane__background:"Pane_pane__background__oWoqp","pane__background-media":"Pane_pane__background-media__pKTkc","pane__background-video-media":"Pane_pane__background-video-media__kHgrY","pane__background-pause":"Pane_pane__background-pause__plUeA","pane__background--overlay-white":"Pane_pane__background--overlay-white__HS2SQ","pane__background--overlay-black":"Pane_pane__background--overlay-black__pzp11","pane__background-video":"Pane_pane__background-video__eB99c",pane__content:"Pane_pane__content__5m1pO","pane--background":"Pane_pane--background__NBkRg","pane--background-start":"Pane_pane--background-start__v59iz","pane--background-end":"Pane_pane--background-end__DL8dr","pane--white":"Pane_pane--white__TM8Zz","pane--light":"Pane_pane--light__2Tzqy","pane--dark":"Pane_pane--dark__CR0sy","pane--primary":"Pane_pane--primary__fqcs6","pane--secondary":"Pane_pane--secondary__A6YMb","pane--tertiary":"Pane_pane--tertiary__xZUMY","pane--transparent":"Pane_pane--transparent__dOyC8","pane--primary-40-white":"Pane_pane--primary-40-white__6Xncr","pane--primary-80-white":"Pane_pane--primary-80-white__XDNbD","pane--secondary-40-white":"Pane_pane--secondary-40-white__dyZ_5","pane--secondary-80-white":"Pane_pane--secondary-80-white__my7LT","pane--tertiary-40-white":"Pane_pane--tertiary-40-white__PYsfL","pane--tertiary-80-white":"Pane_pane--tertiary-80-white__NRN2i","pane--primary-40-black":"Pane_pane--primary-40-black__acLXq","pane--primary-80-black":"Pane_pane--primary-80-black__y3hrG","pane--secondary-40-black":"Pane_pane--secondary-40-black__o_46q","pane--secondary-80-black":"Pane_pane--secondary-80-black___mUxq","pane--tertiary-40-black":"Pane_pane--tertiary-40-black__WPVCD","pane--tertiary-80-black":"Pane_pane--tertiary-80-black__psV_M","pane--text-white":"Pane_pane--text-white__rdEem","pane--text-dark":"Pane_pane--text-dark__Vqth0","pane--height__viewport":"Pane_pane--height__viewport__FfCtO","pane--content__center":"Pane_pane--content__center__7abDH","pane--content__bottom":"Pane_pane--content__bottom__eNpaO"}},23626:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(79121),n=l(85402),s=l.n(n),r=l(93321),c=l(95415),o=l(95604),_=l(14473),d=l.n(_),u=l(97176),p=l.n(u);function m(e){let{specifications:t=[]}=e,l=(0,r.qC)(),n=(0,o.useTranslations)();return l&&t&&0!==t.length?(0,i.jsx)("div",{className:(0,a.A)(s().block,s()["block--text-like"],d()["block--vacancy-specifications"]),children:(0,i.jsx)("dl",{className:(0,a.A)(d().block__specifications),children:t.map((e,t)=>{var s;let r=null==(s=l.attributes)?void 0:s[e.specificationKey];if(null==r||""===r)return null;let o=e.label||((e,t)=>{let l="vacancy.attribute.".concat(p()(e),".title"),i=t(l);return i!==l?i:e})(e.specificationKey,n),_=((e,t,l)=>{if(null==t)return"";if("minHoursPerWeek"===e||"maxHoursPerWeek"===e)return"".concat(t," ").concat(l("form.input.time.hour"));if("salaryMin"===e||"salaryMax"===e)return new Intl.NumberFormat("nl-NL",{style:"currency",currency:"EUR",minimumFractionDigits:0,maximumFractionDigits:0}).format(t);if("publishDate"===e)return new Date(t).toLocaleDateString("nl-NL");let i="vacancy.attribute.".concat(p()(e),".value.").concat(t),a=l(i);return a!==i?a:t})(e.specificationKey,r,n);return(0,i.jsxs)("div",{className:(0,a.A)(d().block__specification),children:[(0,i.jsxs)("dt",{className:(0,a.A)(d()["block__specification-label"]),children:[e.icon&&(0,i.jsx)(c.A,{icon:e.icon,className:(0,a.A)(d()["block__specification-icon"])}),o]}),(0,i.jsx)("dd",{className:(0,a.A)(d()["block__specification-value"]),children:_})]},t)})})}):null}},23967:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var i=l(95155),a=l(84795),n=l(79121),s=l(48470),r=l(65769),c=l(58744),o=l(71584),_=l(85402),d=l.n(_);function u(e){let{imageId:t,aspectRatio:l="1.5",objectFit:_="cover",widths:u,likelyLCP:p}=e,m=(0,r.Z)(),h=(0,o.A)(),{images:v}=(0,c.l)(),b=v.find(e=>e.id===t);return b?(0,i.jsx)("div",{className:(0,n.A)(d().block,d()["block--image"],d()["block--media"]),children:(0,i.jsx)(s.A,{children:(0,i.jsx)(a.A,{likelyLCP:p,onClick:()=>h("photo",b.name,"click"),url:b.path,objectFit:_,mimeType:b.contentType,ratio:Number(l),width:"".concat(u.sm*m,"cw"),breakpoints:{md:{width:"".concat(u.md*m,"cw")},lg:{width:"".concat(u.lg*m,"cw")}}})})}):null}},24750:(e,t,l)=>{"use strict";l.d(t,{default:()=>f});var i=l(95155),a=l(79121),n=l(460),s=l(60115),r=l(97176),c=l.n(r),o=l(12115),_=l(18588),d=l(43134),u=l(30245),p=l(34262),m=l.n(p),h=l(85402),v=l.n(h),b=l(8109);let g=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);function f(e){let{theme:t="list",columnsPerView:l=1,numberOfSpecs:r=6,specs:p=["frameType","wheelSize","gears","brakeSystemFrontType","modelYear","weight"],widths:h}=e,[f,y]=(0,o.useState)(!1),x=(0,_.v8)(),k=(0,d.A)(),j=(0,u.e)(),A=(0,b.A)();if(!x)return null;let w=(null!=p?p:[]).filter(e=>{let t=x.attributes[e];return null!=t&&!1!==t}).slice(0,r),N=l/h.lg,C=g(N*h.md/2),S=g(N*h.sm/4);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,a.A)(v().block,v()["block--text-like"]),children:(0,i.jsx)("div",{className:(0,a.A)(m()["specs-wrapper"]),children:(0,i.jsx)("div",{className:(0,a.A)(m().specs,m()["specs--".concat(t)]),style:{"--columns-per-view-sm":S,"--columns-per-view-md":C,"--columns-per-view-lg":l},children:w.map(e=>(0,i.jsxs)("div",{className:(0,a.A)(m().spec),children:[(0,i.jsx)("span",{className:(0,a.A)(m().spec__title),children:k("bike_detail.specs.".concat(c()(e)),{defaultValue:e})}
1),(0,i.jsx)("span",{className:(0,a.A)(m().spec__value),children:j(e,x.attributes[e],"bike")})]},e))})})}),(0,i.jsxs)("div",{className:(0,a.A)(v().block,v()["block--text-like"]),children:[(0,i.jsx)(s.default,{theme:"outlined",title:k("bike_detail.specs_read_more"),icon:"north_east",onClick:()=>{A("bike_specs_read_more"),y(!0)}}),(0,i.jsx)(n.A,{defaultTab:"specs",open:f,close:()=>y(!1),vehicle:x})]})]})}},25380:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(12115),n=l(18588),s=l(29234),r=l(85483),c=l(61995),o=l(79121),_=l(24089),d=l(13521),u=l(16370),p=l.n(u);function m(e){var t,l,u,m,h,v,b,g,f,y,x,k,j,A;let{text:w="",backgrounds:[N]=[],randomizeEmployees:C=!1,id:S}=e,P=(0,s.p)(),E=null!=(b=null==P||null==(t=P.content)?void 0:t.hide_employee_last_name)&&b,T=(0,n.v8)(),M=null!=(g=null==T||null==(l=T.establishment)?void 0:l.employees)?g:[],V=(0,a.useMemo)(()=>C?[...M].sort(()=>Math.random()-.5):M,[C,M]),I={brand:null!=(f=null==T?void 0:T.brand)?f:"",model:null!=(y=null==T?void 0:T.model)?y:"",licensePlate:null!=(x=null==T||null==(u=T.attributes)?void 0:u.licensePlate)?x:"",vehicleNumber:null!=(k=null==T||null==(m=T.attributes)?void 0:m.vehicleNumber)?k:"",vehicleNumberHexon:null!=(j=null==T||null==(h=T.attributes)?void 0:h.vehicleNumberHexon)?j:"",location:null!=(A=null==T||null==(v=T.establishment)?void 0:v.name)?A:""};return V.length<1?null:(0,i.jsxs)(d.default,{theme:"light",className:(0,o.A)(p()["pane--vehicle-employees"]),background:N,id:S,children:[(0,_.Ay)(w),(0,i.jsx)(r.A,{slides:V,renderSlide:(e,t)=>(0,i.jsx)(c.A,{...e,widths:t,vehicleInfo:I,hideLastName:E}),widths:{sm:100,md:100,lg:100},slidesPerView:4,centeredSlides:!1,loop:!1})]})}},25527:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>Z});var i=l(95155),a=l(12115),n=l(47957),s=l.n(n),r=l(20463),c=l.n(r),o=l(57495),_=l(6094),d=l(21327),u=l(57523),p=l(84795),m=l(60115),h=l(79121),v=l(55120),b=l(57187),g=l.n(b),f=l(82046);function y(e){var t,l,a;let{content:n,image:s,buttons:r,background_theme:c,likelyLCP:o}=e;return(0,i.jsx)(u.A,{bodyClassname:(0,h.A)(g().card__body,g()["background--theme-".concat(c||"primary")]),theme:"regular",media:(0,i.jsx)(i.Fragment,{children:s?(0,i.jsx)(p.A,{likelyLCP:o,url:s.imageUrl||"",alt:s.description,ratio:Number(null!=(t=(0,v.A)("STOCK_IMAGE_ASPECT_RATIO"))?t:1.5),width:"100cw",objectFit:"contain",breakpoints:{md:{width:"50cw"},lg:{width:"25cw"}},objectPosition:{x:(null!=(l=s.focusPointX)?l:1)*50,y:(null!=(a=s.focusPointY)?a:1)*50},mimeType:s.mimeType}):(0,i.jsx)(f.default,{className:(0,h.A)(g().pattern__placeholder)})}),text:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),cta:r.length>0?r.map((e,t)=>(0,i.jsx)(m.default,{...e,type:void 0},t)):null})}let x=(0,a.memo)(function(e){let{items:t,columns:l}=e;return(0,i.jsx)(o.A,{children:t.map((e,t)=>(0,i.jsx)(_.A,{span:{sm:12/l.sm,md:12/l.md,lg:12/l.lg},verticalAlignment:"stretch",children:"slug"in e?(0,i.jsx)(d.A,{likelyLCP:0===t,...e},e.slug):(0,i.jsx)(y,{likelyLCP:0===t,...e})},t))})});var k=l(80695),j=l(84642),A=l(83489),w=l(73994),N=l(6032),C=l(77026),S=l(71257),P=l(59707),E=l(95604),T=l(7402),M=l(73041),V=l(86898),I=l.n(V),O=l(98988),L=l(54452),F=l(81602),B=l(95415),z=l(58652),R=l(73714),H=l(72346);function U(e){let{id:t,items:l,numberOfItems:a,startPosition:n=1}=e,{origin:s,basePath:r,entityUrl:c}=(0,H.t)(),o=function(e){let{id:t,items:l,numberOfItems:i,origin:a,basePath:n,entityUrl:s,startPosition:r=1}=e;return l.length?{"@context":"https://schema.org","@type":"ItemList","@id":t,numberOfItems:i,itemListElement:l.map((e,t)=>{var l,i,c,o,_,d,u;let p=(null==(l=e.template)?void 0:l.canonicalBaseUrl)?"".concat(e.template.canonicalBaseUrl,"/p/").concat(e.slug):"".concat(a).concat(n,"/p/").concat(e.slug),m=null==(i=e.media)?void 0:i.find(e=>"image"===e.type),h=null==(o=e.displayPrices)||null==(c=o.purchase)?void 0:c.value;return{"@type":"ListItem",position:r+t,url:p,item:{"@type":["Product","Car"],name:[e.brand,e.model,e.edition,null==(_=e.attributes)?void 0:_.addition].filter(e=>e).join(" "),url:p,...e.brand?{brand:{"@type":"Brand",name:"".concat(e.brand)}}:{},...e.model?{model:"".concat(e.model)}
1:{},...(null==m?void 0:m.url)?{image:"".concat(m.url)}:{},...(null==(d=e.attributes)?void 0:d.vehicleNumber)?{sku:"".concat(e.attributes.vehicleNumber)}:{},...(null==(u=e.attributes)?void 0:u.vehicleState)?{itemCondition:"new"===e.attributes.vehicleState?"https://schema.org/NewCondition":"https://schema.org/UsedCondition"}:{},...Number(h)>0?{offers:{"@type":"Offer",url:p,price:"".concat(h),priceCurrency:"EUR",availability:"https://schema.org/InStock",seller:{"@id":"".concat(s,"#organization")}}}:{}}}})}:null}({id:t,items:l,numberOfItems:a,origin:s,basePath:r,entityUrl:c,startPosition:n});return o?(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(o)}}):null}var D=l(83900),q=l(50955),W=l(3369);let G="/website-api/vehicle-search",Q=async e=>{try{var t;return(null==(t=(await W.A.get("".concat(G,"/availability"),{signal:e})).data)?void 0:t.available)===!0}catch(e){return!1}},K=async(e,t)=>{let{query:l,vehicleListId:i,filterId:a,frontendUrl:n}=e;try{return(await W.A.post("".concat(G,"/run"),{query:l,vehicleListId:i,filterId:a,frontendUrl:n},{signal:t,timeout:65e3,headers:{"Content-Type":"application/json"}})).data}catch(e){return null}};var Y=l(47540),X=l.n(Y);function J(e){let{vehicleListId:t,vehicleFilterId:l,translationKeyPrefix:n="vehicle_overview"}=e,s=(0,E.useTranslations)(),{setValues:r}=(0,k.iN)(),[o,_]=(0,a.useState)(""),[d,u]=(0,a.useState)(!1),[p,m]=(0,a.useState)(""),[v,b]=(0,a.useState)(!1),g=(0,a.useRef)(null),f=(0,a.useRef)(null),{data:y=!1}=(0,D.useQuery)({queryKey:["vehicleSearchAvailability"],queryFn:e=>{let{signal:t}=e;return Q(t)},staleTime:3e5});if(!y)return null;let x=async e=>{var i,a;if(e.preventDefault(),!o.trim()||d)return;null==(i=g.current)||i.abort(),g.current=new AbortController,u(!0),b(!1),m("");let n="".concat(window.location.origin).concat(window.location.pathname),s=await K({query:o.trim(),vehicleListId:t,filterId:l,frontendUrl:n},g.current.signal);if(u(!1),!s||"ok"!==s.status)return void b(!0);r(c().parse(s.query_params,{parseArrays:!1,depth:10})),m(null!=(a=s.reason_summary)?a:"")};return(0,i.jsxs)("div",{className:(0,h.A)(X()["ai-search"]),children:[(0,i.jsxs)("form",{className:(0,h.A)(X()["ai-search__form"]),onSubmit:x,children:[(0,i.jsx)(B.A,{icon:"auto_awesome",className:(0,h.A)(X()["ai-search__icon"])}),(0,i.jsx)("input",{ref:f,type:"text",className:(0,h.A)(X()["ai-search__input"]),placeholder:s("".concat(n,".ai_search.placeholder")),value:o,onChange:e=>_(e.target.value),disabled:d}),(0,i.jsx)("button",{type:"button",className:(0,h.A)(X()["ai-search__clear"],o?void 0:X()["ai-search__clear--hidden"]),onClick:()=>{var e;_(""),m(""),b(!1),null==(e=f.current)||e.focus()},disabled:d||!o,tabIndex:o?void 0:-1,"aria-hidden":!o,"aria-label":s("".concat(n,".ai_search.clear")),title:s("".concat(n,".ai_search.clear")),children:(0,i.jsx)(B.A,{icon:"close"})}),(0,i.jsx)("button",{type:"submit",className:(0,h.A)(X()["ai-search__button"]),disabled:d||!o.trim(),title:s("".concat(n,".ai_search.button")),children:d?(0,i.jsx)(q.A,{}):(0,i.jsx)(B.A,{icon:"search"})})]}),p?(0,i.jsx)("p",{className:(0,h.A)(X()["ai-search__reason"]),children:p}):null,v?(0,i.jsx)("p",{className:(0,h.A)(X()["ai-search__error"]),children:s("".concat(n,".ai_search.error"))}):null]})}function Z(e){var t;let{vehicleListId:l,vehicleFilterId:n,initialItems:r,initialFilters:o,initialValues:_,initialSortings:d,initialSorting:u,initialPages:p,initialCount:m,overviewType:b="filter-left",contentCardSnippets:g=[],translationKeyPrefix:f="vehicle_overview",stickyMobileFilter:y=!1,showAiSearch:V=!1,itemListId:D}=e,q=(0,a.useCallback)(e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"view_item_list",items:e.map((e,t)=>({...(0,T.fO)(e),index:t}))})},[]),{locale:W}=(0,H.t)(),[G,Q]=(0,a.useState)(p.total),[K,Y]=(0,a.useState)(p.current),[X,Z]=(0,a.useState)(o),[$,ee]=(0,a.useState)(null!=d?d:[]),[et,el]=(0,a.useState)(r),[ei,ea]=(0,a.useState)(m),[en,es]=(0,a.useState)(null!=(t=null!=u?u:null==d?void 0:d.at(0))?t:""),[er,ec]=(0,a.useState)(null!=_?_:{}),[eo,e_]=(0,a.useState)(!1),[ed]=(0,a.useState)(()=>window.location.search),eu=(0,O.H_)(e=>e.token),ep=(0,O.pD)(),em=(0,a.useRef)(null),eh=(0,a.useRef)(null),ev=(0,a.useRef)(new AbortController),eb=(0,a.useRef)(!0),eg=(0,a.useRef)(!1),ef=(0,a.useRef)(s()(ek,500)),ey=(0,E.useTranslations)(),ex=12-g.length;function ek(){ef.current.cancel(),ev.current.abort(),ev.current=ne
1w AbortController,e_(!0),(0,j.h)(l,n,K,en,c().stringify(er,{sort:(e,t)=>e.localeCompare(t)}),ev.current.signal,eu,ex,W).then(e=>{if(!e)return;let{items:t=[],filters:l=[],sorting:i=[],pages:{total:a=0},count:n=0}=e;el(t),Z(l),ee(i),Q(a),ea(n)}).finally(()=>{e_(!1)})}(0,a.useEffect)(()=>{eb.current||ek()},[K,en,l,n]),(0,a.useEffect)(()=>{window.history.replaceState({},document.title,"".concat(location.pathname,"?").concat(c().stringify({filter:er,page:K,sorting:en})).concat(location.search.replace("?","").split("&").filter(e=>""!==e&&!e.startsWith("filter")&&!e.startsWith("page=")&&!e.startsWith("sorting=")).map(e=>"&".concat(e)).join("")))},[K,en,er]),(0,a.useEffect)(()=>{if(eb.current){eb.current=!1;return}ev.current.abort(),ef.current.cancel(),ef.current=s()(ek,500),ef.current()},[er]),(0,a.useEffect)(()=>(q(r.map(e=>(0,M.Y)(e))),()=>{ev.current.abort(),ef.current.cancel()}),[]),(0,a.useEffect)(()=>{ep&&!eg.current&&eu&&(eg.current=!0,ek())},[ep,eu]),(0,a.useEffect)(()=>{var e;let t=ed.replace(/^\?/,"");if(!t)return;let l=c().parse(t,{parseArrays:!1,depth:10,...t.includes("filter.")?{allowDots:!0}:{}}),i=null!=(e=l.filter)?e:{},a=l.page?Number(l.page):void 0,n=l.sorting?String(l.sorting):void 0;Object.keys(i).length>0&&ec((X.length?(0,A.k)(X,i):i)||{}),a&&Number.isInteger(a)&&a>0&&Y(a),n&&es(n)},[]);let ej=(0,a.useMemo)(()=>"filter-left"===b?{sm:1,md:2,lg:3}:{sm:1,md:2,lg:4},[b]),eA=(0,a.useMemo)(()=>{let e=[...et];return g.forEach(t=>{e.splice(t.content.position-1,0,t.content)}),e},[et,g]);return(0,i.jsxs)(k.Gf,{values:er,setValues:e=>{e_(!0),ec((0,A.k)(X,e)||{}),Y(1)},filters:X,children:[V?(0,i.jsx)(J,{vehicleListId:l,vehicleFilterId:n,translationKeyPrefix:f}):null,(0,i.jsxs)("div",{ref:em,className:(0,h.A)(I()["vehicle-overview"],I()["vehicle-overview--".concat(b)],y?I()["vehicle-overview--sticky-mobile-filter"]:""),children:[(0,i.jsx)(R.A,{href:"#vehicles",className:["skiplink--floating"],title:ey("skiplink.vehicles")}),(0,i.jsxs)("div",{className:(0,h.A)(I()["vehicle-overview__filters"]),children:["filter-top"===b?(0,i.jsx)(F.A,{filters:X}):null,"filter-left"===b?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,h.A)("h4",I()["vehicle-overview__filter-title"]),children:ey("".concat(f,".filter.title"))}),(0,i.jsx)(w.A,{filters:X})]}):null]}),"true"===(0,v.A)("SHOW_FINANCE_BANNER")?(0,i.jsx)("div",{className:(0,h.A)(I()["vehicle-overview__finance-banner"]),children:(0,i.jsx)(P.default,{})}):null,(0,i.jsx)("div",{className:(0,h.A)(I()["vehicle-overview__title"]),children:(0,i.jsx)("p",{className:(0,h.A)("h4"),children:ey("".concat(f,".header.title"),{count:ei})})}),"filter-top"===b&&Object.keys(er).length>0?(0,i.jsx)("div",{className:(0,h.A)(I()["vehicle-overview__reset-filters"]),children:(0,i.jsxs)("button",{className:(0,h.A)(I()["vehicle-overview__reset-filters-button"]),onClick:()=>{e_(!0),ec({}),Y(1)},children:[(0,i.jsx)(B.A,{icon:"refresh"}),(0,i.jsx)("span",{children:ey("".concat(f,".header.reset_filters"))})]})}):null,(0,i.jsxs)("div",{className:(0,h.A)(I()["vehicle-overview__sorting"]),children:["filter-left"===b?(0,i.jsx)(N.A,{loading:eo,filters:X,count:ei}):null,"filter-top"===b?(0,i.jsx)(z.A,{loading:eo,filters:X,count:ei}):null,(0,i.jsx)(C.A,{sorting:en,sortings:$,setSorting:e=>es(e)})]}),Object.keys(er).length>0&&"filter-left"===b?(0,i.jsx)("div",{className:(0,h.A)(I()["vehicle-overview__active-filters"]),children:(0,i.jsx)(S.A,{filters:X})}):null,(0,i.jsxs)("div",{ref:eh,className:(0,h.A)(I()["vehicle-overview__results"]),tabIndex:-1,children:[(0,i.jsx)("div",{className:(0,h.A)(I()["vehicle-overview__loader"],eo?I()["vehicle-overview__loader--loading"]:"")}),(0,i.jsxs)("div",{id:"vehicles",className:(0,h.A)(I()["vehicle-overview__items"],eo?I()["vehicle-overview__items--loading"]:""),children:[(0,i.jsx)(U,{id:D,items:et,numberOfItems:ei,startPosition:((K||1)-1)*ex+1}),(0,i.jsx)(x,{items:eA,columns:ej})]}),(0,i.jsx)(L.A,{pageCount:G,page:K,setPage:e=>{var t,l;Y(e),null==(t=em.current)||t.scrollIntoView({behavior:"smooth"}),null==(l=eh.current)||l.focus({preventScroll:!0})}})]})]})]})}},25616:e=>{e.exports={logos:"BlockLogos_logos__IamTU",logos__item:"BlockLogos_logos__item__zu_T1",logos__image:"BlockLogos_logos__image__C6o4S","logos--framed":"BlockLogos_logos--framed__nq3P_","logos--floating":"BlockLogos_logos--floating__ASGak","logos--filled":"BlockLogos_logos--filled__FKT95"}},25874:(e,t,l)=>{"use strict";l.d(t,{ConfigurationContextProvider:()=>s,j:()=>r});var i=l(95155),a=l(12115);let n=a.createContext({plannerUrl:null,portalContentWebspace:null,portalNewRegistrationAction:null,portalNewRegistrationRequestFormUrl:null,portalId:null,mapsApiKey:null,mapsSearchingEnabled:!1,serviceForecastServiceId:null,emailChangeNotifyEmail:null});function s(e){let{children:t,configuration:l={plannerUrl:null,portalContentWebspace:null,portalNewRegistrationAction:null,portalNewRegistrationRequestFormUrl:null,portalId:null,mapsApiKey:null,mapsSearchingEnabled:!1,serviceForecastServiceId:null,emailChangeNotifyEmail:null}}=e;return(0,i.jsx)(n.Provider,{value:{...l},children:t})}let r=()=>(0,a.useContext)(n)},26589:e=>{e.exports={swiper:"BlockUsps_swiper__7vn8o","swiper__grid--mobile":"BlockUsps_swiper__grid--mobile__DGrmu",swiper__slide:"BlockUsps_swiper__slide__1E3W4",usp:"BlockUsps_usp__vfRo8",usp__content:"BlockUsps_usp__content__vG8ha",swiper__grid:"BlockUsps_swiper__grid__gwAY4",usp__icon:"BlockUsps_usp__icon__0oCWl","usp__icon-symbol":"BlockUsps_usp__icon-symbol__6Y9yg",usp__title:"BlockUsps_usp__title__UXLH0",usp__text:"BlockUsps_usp__text__QDdtV",usps:"BlockUsps_usps__xOVhR",usps__navigation:"BlockUsps_usps__navigation__kxuv_","usps__navigation--previous":"BlockUsps_usps__navigation--previous__ErQ2C","usps__navigation--next":"BlockUsps_usps__navigation--next__a9ugT"}},26610:(e,t,l)=>{"use strict";l.d(t,{EditionContextProvider:()=>s,d:()=>r});var i=l(95155),a=l(12115);let n=a.createContext({});function s(e){let{children:t,...l}=e;return(0,i.jsx)(n.Provider,{value:{...l},children:t})}let r=()=>(0,a.useContext)(n)},26950:e=>{e.exports={"block--social-share":"BlockSocialShare_block--social-share__hsEqy","social-share__title":"BlockSocialShare_social-share__title__fWOJl","social-share__buttons":"BlockSocialShare_social-share__buttons__vCnI4","social-share__button":"BlockSocialShare_social-share__button__NBmMn","social-share__button--w
1hatsapp":"BlockSocialShare_social-share__button--whatsapp__FzTY6","social-share__button--facebook":"BlockSocialShare_social-share__button--facebook__EyzIb","social-share__button--linkedin":"BlockSocialShare_social-share__button--linkedin__hVFIN","social-share__button--twitter":"BlockSocialShare_social-share__button--twitter__gE9Lw","social-share__button--email":"BlockSocialShare_social-share__button--email__6sms4","social-share__button--copy":"BlockSocialShare_social-share__button--copy__ge_2c","social-share__button--copy--success":"BlockSocialShare_social-share__button--copy--success__gZTht"}},28195:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(18588),n=l(79121),s=l(95415),r=l(60115),c=l(95604),o=l(82845),_=l(37622),d=l.n(_),u=l(85402),p=l.n(u);function m(e){var t,l;let{buttons:_,tooltips:u}=e,m=(0,c.useTranslations)(),h=(0,a.v8)();if(!h||!(null==(t=h.prices)?void 0:t.purchase))return null;let v=h.prices.purchase;return!v||isNaN(Number(null==v?void 0:v.value))?null:(0,i.jsx)("div",{className:(0,n.A)(p().block,p()["block--text-like"]),children:(0,i.jsx)(o.o5,{priceType:"purchase",children:(0,i.jsxs)("div",{className:(0,n.A)(d().pane__price,d()["pane__price--active"]),children:[(0,i.jsx)("div",{className:(0,n.A)(d()["pane__price-row"]),children:(0,i.jsxs)("div",{className:(0,n.A)(d()["pane__price-toggle"]),children:[(0,i.jsxs)("span",{className:(0,n.A)(d()["pane__price-start"]),children:[(0,i.jsx)("span",{className:(0,n.A)(d()["pane__price-check"]),children:(0,i.jsx)(s.A,{icon:"check",className:(0,n.A)(d()["pane__price-check-icon"])})}),(0,i.jsx)("span",{className:(0,n.A)(d()["pane__price-title"]),children:m("vehicle.price.purchase.title")})]}),(0,i.jsxs)("span",{className:(0,n.A)(d()["pane__price-end"]),children:[v.previousValue?(0,i.jsx)("span",{className:(0,n.A)(d()["pane__price-previous-value"]),children:m("vehicle.price.purchase.value",{value:v.previousValue})}):null,(0,i.jsx)("span",{className:(0,n.A)(d()["pane__price-value"]),children:m("vehicle.price.purchase.value",{value:v.value})})]})]})}),(0,i.jsx)("div",{className:(0,n.A)(d()["pane__price-body"]),children:null==_||null==(l=_.purchase)?void 0:l.map((e,t)=>(0,i.jsx)(r.default,{theme:e.theme,title:e.title,icon:e.icon,fullWidth:!0,formId:e.formId,onclick:e.onclick,href:e.href,target:e.target},t))})]})})})}},28470:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var i=l(95155),a=l(79121),n=l(88779),s=l(85402),r=l.n(s),c=l(93321);function o(){let e=(0,c.qC)();return e?(0,i.jsx)("div",{className:(0,a.A)(r().block,r()["block--text-like"]),dangerouslySetInnerHTML:{__html:(0,n.A)(e.description)}}):null}},28806:e=>{e.exports={"pane--opening-times":"PaneOpeningTimes_pane--opening-times__3pNlG","pane--opening-times__title":"PaneOpeningTimes_pane--opening-times__title__QVAL3",departments:"PaneOpeningTimes_departments__OCIZH",department:"PaneOpeningTimes_department__HflEB","opening-times__group-toggle":"PaneOpeningTimes_opening-times__group-toggle__gn80x","opening-times__group-icon":"PaneOpeningTimes_opening-times__group-icon__hyHEZ","opening-times__group-toggle--opened":"PaneOpeningTimes_opening-times__group-toggle--opened__U3yhy","opening-times__group-collapse":"PaneOpeningTimes_opening-times__group-collapse__dYGqm","opening-times":"PaneOpeningTimes_opening-times__6MNmG",opening__time:"PaneOpeningTimes_opening__time__OFa8W","opening__time--today":"PaneOpeningTimes_opening__time--today__IBtmf","opening__time-status":"PaneOpeningTimes_opening__time-status__Pm_1Q","opening__time-status--open":"PaneOpeningTimes_opening__time-status--open__TyAoZ","opening__time-status--closed":"PaneOpeningTimes_opening__time-status--closed__SKBzc","opening__time-remark-icon":"PaneOpeningTimes_opening__time-remark-icon__cjOLm"}},29641:e=>{e.exports={masonry__item:"BlockMasonryMedia_masonry__item__nhlTR",masonry__image:"BlockMasonryMedia_masonry__image__XXHzg","masonry__more-gradient":"BlockMasonryMedia_masonry__more-gradient__cudze","masonry__more-button":"BlockMasonryMedia_masonry__more-button__aIMNe",gallery__item:"BlockMasonryMedia_gallery__item___WC0b",gallery__description:"BlockMasonryMedia_gallery__description__tyAIS",gallery__thumb:"BlockMasonryMedia_gallery__thumb__KU0on","gallery__zoom-target":"BlockMasonryMedia_gallery__zoom-target__lfUwt"}},29709:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(79121),n=l(84795),s=l(60115),r=l(1792),c=l(59491),o=l(85402),_=l.n(o),d=l(198),u=l.n(d),p=l(71584);function m(e){var t,l,o,d;let{primaryItems:m,secondaryItems:h,aspectRatio:v="auto",widths:b,likelyLCP:g}=e,f=(0,p.A)(),y="auto"!==v?Number(v):(null==(l=m[0])||null==(t=l.image)?void 0:t.properties.width)/(null==(d=m[0])||null==(o=d.image)?void 0:o.properties.height);return(0,i.jsx)("div",{className:(0,a.A)(_().block,_()["block--hero"],u().hero),children:(0,i.jsxs)("div",{className:(0,a.A)(u().hero__grid,u()["hero__grid--1-".concat(h.length)]),children:[m.map((e,t)=>{if("hero"===e.type){var l,o;let _=(0,r.I)(e.actions,e.buttons);return(0,i.jsx)("div",{className:(0,a.A)(u().hero__item,u()["hero__item--primary"]),children:(0,i.jsxs)("div",{className:(0,a.A)(u().hero__element),children:[(0,i.jsx)("div",{className:(0,a.A)(u().hero__media,e.hide_gradient?u().hero__hide__gradient:void 0),children:(0,i.jsx)(c.A,{action:_,children:(0,i.jsx)(n.A,{likelyLCP:g&&0===t,onClick:()=>
1f("photo",e.image.title,"click"),className:(0,a.A)(u().hero__image),url:e.image.imageUrl,alt:e.image.description,objectPosition:{x:(null!=(l=e.image.focusPointX)?l:1)*50,y:(null!=(o=e.image.focusPointY)?o:1)*50},mimeType:e.image.mimeType,ratio:y,width:"".concat(b.sm,"cw"),breakpoints:{lg:{width:"".concat(b.lg/(2===h.length?1.5:1),"cw")}}})})}),(0,i.jsxs)("div",{className:(0,a.A)(u().hero__body),children:[(0,i.jsx)("div",{className:(0,a.A)(u().hero__text),dangerouslySetInnerHTML:{__html:e.text}}),(0,i.jsx)("div",{className:(0,a.A)(u().hero__buttons),children:e.buttons.map((e,t)=>{let{type:l,...n}=e;return(0,i.jsx)(s.default,{...n,className:(0,a.A)(u().hero__button)},t)})})]})]})},t)}return null}),h.map((e,t)=>{if("hero"===e.type){var l,o;let _=(0,r.I)(e.actions,e.buttons);return(0,i.jsx)("div",{className:(0,a.A)(u().hero__item,u()["hero__item--secondary"]),children:(0,i.jsxs)("div",{className:(0,a.A)(u().hero__element),children:[(0,i.jsx)("div",{className:(0,a.A)(u().hero__media,e.hide_gradient?u().hero__hide__gradient:void 0),children:(0,i.jsx)(c.A,{action:_,children:(0,i.jsx)(n.A,{onClick:()=>f("photo",e.image.title,"click"),className:(0,a.A)(u().hero__image),url:e.image.imageUrl,alt:e.image.description,objectPosition:{x:(null!=(l=e.image.focusPointX)?l:1)*50,y:(null!=(o=e.image.focusPointY)?o:1)*50},mimeType:e.image.mimeType,ratio:y,width:"".concat(b.sm,"cw"),breakpoints:{lg:{width:"".concat(b.lg/3,"cw")}}})})}),(0,i.jsxs)("div",{className:(0,a.A)(u().hero__body),children:[(0,i.jsx)("div",{className:(0,a.A)(u().hero__text),dangerouslySetInnerHTML:{__html:e.text}}),(0,i.jsx)("div",{className:(0,a.A)(u().hero__buttons),children:e.buttons.map((e,t)=>{let{type:l,...n}=e;return(0,i.jsx)(s.default,{...n,className:(0,a.A)(u().hero__button),showText:!1},t)})})]})]})},t)}return null})]})})}},29760:e=>{e.exports={cluster:"Cluster_cluster__O4xhm",cluster__count:"Cluster_cluster__count__lt_fr"}},30519:(e,t,l)=>{"use strict";l.d(t,{C:()=>r,EstablishmentContextProvider:()=>s});var i=l(95155),a=l(12115);let n=a.createContext({});function s(e){let{children:t,hasPaneOpeningTimes:l,...a}=e;return(0,i.jsx)(n.Provider,{value:{...a,hasPaneOpeningTimes:l},children:t})}let r=()=>(0,a.useContext)(n)},31064:e=>{e.exports={action:"Action_action__HGtIF","action--link":"Action_action--link__sQAj5"}},32420:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var i=l(95155),a=l(84795),n=l(79121),s=l(1792),r=l(59491),c=l(48470),o=l(65769),_=l(85402),d=l.n(_),u=l(71584);function p(e){var t,l,_,p,m,h;let{image:v,imageTablet:b,imageMobile:g,aspectRatio:f="auto",objectFit:y="cover",widths:x,actions:k=[],likelyLCP:j}=e,A=(0,o.Z)(),w=(0,u.A)();if(!v)return null;let N=b||v,C=g||N,S=(0,s.I)(k);return(0,i.jsx)("div",{className:(0,n.A)(d().block,d()["block--image"],d()["block--media"]),children:(0,i.jsx)(c.A,{children:(0,i.jsx)(r.A,{action:S,children:(0,i.jsx)(a.A,{likelyLCP:j,onClick:()=>w("photo",v.title,"click"),url:C.imageUrl,alt:C.description||N.description||v.description,objectPosition:{x:(null!=(t=C.focusPointX)?t:1)*50,y:(null!=(l=C.focusPointY)?l:1)*50},objectFit:y,mimeType:C.mimeType,ratio:"auto"!==f?Number(f):C.properties.width/C.properties.height,width:"".concat(x.sm*A,"cw"),breakpoints:{lg:{url:v.imageUrl,ratio:"auto"!==f?Number(f):v.properties.width/v.properties.height,objectPosition:{x:(null!=(_=v.focusPointX)?_:1)*50,y:(null!=(p=v.focusPointY)?p:1)*50},width:"".concat(x.lg*A,"cw")},md:{url:N.imageUrl,ratio:"auto"!==f?Number(f):N.properties.width/N.properties.height,objectPosition:{x:(null!=(m=N.focusPointX)?m:1)*50,y:(null!=(h=N.focusPointY)?h:1)*50},width:"".concat(x.md*A,"cw")}}})})})})}},32640:e=>{e.exports={chip:"Chip_chip___tp8n",chip__icon:"Chip_chip__icon__jHsmT","chip--dark":"Chip_chip--dark__DmXLk","chip--error":"Chip_chip--error__9q5qr"}},32775:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var i=l(95155),a=l(18588),n=l(79121),s=l(37622),r=l.n(s),c=l(85402),o=l.n(c),_=l(56534),d=l(95415);function u(e){let{showStockStatus:t=!1,showStockEstablishment:l=!1,showDateOfArrival:s=!1}=e,c=(0,a.v8)();if(!c)return null;let{stockStatus:u,dateOfArrival:p}=c.attributes;return(0,i.jsxs)("div",{className:(0,n.A)(o().block,o()["block--text-like"]),children:[(0,i.jsxs)("h1",{className:(0,n.A)(r().pane__title),children:[(0,i.jsx)("span",{className:(0,n.A)("h4",r()["pane__title-start"]),children:[c.brand,c.model].filter(e=>e).join(" ")}),c.edition?(0,i.jsxs)(i.Fragment,{children:[" ",(0,i.jsx)("span",{className:(0,n.A)("p",r()["pane__title-end"]),children:[c.edition,c.attributes.addition].filter(e=>e).join(" ")})]}):null]}),l&&c.establishment?(0,i.jsxs)("span",{className:(0,n.A)(r().vehicle__establishment),children:[(0,i.jsx)(d.A,{icon:"location_on",className:(0,n.A)(r()["vehicle__establishment-icon"])}),c.establishment.name]}):null,t?(0,i.jsx)(_.A,{stockStatus:u,dateOfArrival:p,showDateOfArrival:s}):null]})}},33171:(e,t,l)=>{"use strict";l.d(t,{A:()=>f});var i=l(95155),a=l(57523),n=l(79121),s=l(69357),r=l(12115),c=l(95415),o=l(73510),_=l(59491),d=l(95604),u=l(80184),p=l.n(u),m=l(15183),h=l(85637),v=l(55041),b=l(84795);function g(e){return 0===e||!!e}function f(e){var t,l,u,m,h;let{id:f,brand:x,model:k,edition:j,options:A,prices:w,media:N,image:C,text:S,cta:P,action:E}=e,[T,M]=(0,r.useState)(!1),V=(0,d.useTranslations)(),{priceTypes:I,showBrandAndModel:O}=(0,v.yy)();!N&&C&&(N=(0,i.jsx)(b.A,{url:C,alt:x+" "+k+" "+j,title:x+" "+k+" "+j,objectPosition:{x:50,y:50}}));let L=(0,i.jsxs)("div",{className:(0,n.A)(p().edition__prices),children:[I.includes("purchase")?(0,i.jsx)(y,{title:V("model.price.purchase.title"),tooltip:V("model.price.purchase.".concat((null==(t=w.purchase)?void 0:t.includingVat)?"including_vat":"excluding_vat",".tooltip")),type:"purchase",prices:w}):null,I.includes("addition")?(0,i.jsx)(y,{title:V("model.price.addition.title"),tooltip:V("model.price.addition.tooltip"),type:"addition",prices:w}):null,g(null==(l=w.finance)?void 0:l.value)&&I.includes("finance")||g(null==(u=w.businessFinance)?void 0:u.value)&&I.includes("businessFinance")?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:(0,n.A)(p()["price-title"]),children:V("model.price.finance_group.title")}),I.includes("finance")?(0,i.jsx)(y,{title:V("model.price.finance_group.finance.title"),tooltip:V("model.price.finance.tooltip"),type:"finance",prices:w}):null,I.includes("businessFinance")?(0,i.jsx)(y,{title:V("model.price.finance_group.business_finance.title"),tooltip:V("model.price.business_finance.tooltip"),type:"businessFinance",prices:w}):null]}):null,g(null==(m=w.privateLease)?void 0:m.value)&&I.includes("privateLease")||g(null==(h=w.businessLease)?void 0:h.value)&&I.includes("businessLease")?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:(0,n.A)(p()["price-title"]),children:V("model.price.lease_group.title")}),I.includes("privateLease")?(0,i.jsx)(y,{title:V("model.price.lease_group.private_lease.title"),tooltip:V("model.price.private_lease.tooltip"),type:"privateLease",prices:w}):null,I.includes("businessLease")?(0,i.jsx)(y,{title:V("model.price.lease_group.business_lease.title"),tooltip:V("model.price.business_lease.tooltip"),type:"businessLease",prices:w}):null]}):null]});
1return(0,i.jsx)(o.FormVehicleContextProvider,{type:"model",id:f,brand:x,model:k,edition:j,prices:w,vehicleState:"new",children:(0,i.jsx)(a.A,{theme:"regular",title:(0,i.jsxs)(_.A,{action:E,children:[O?"".concat(x," ").concat(k," "):"",j]}),text:(0,i.jsxs)(i.Fragment,{children:[S,A.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(_.A,{action:E,children:(0,i.jsx)("div",{className:(0,n.A)(p().edition__options,p()["edition__options--masked"]),children:A.map((e,t)=>(0,i.jsx)("div",{className:(0,n.A)(p().edition__option),children:e},t))})}),(0,i.jsxs)("button",{className:(0,n.A)(p()["edition__options-show-modal"]),onClick:()=>M(!0),children:[(0,i.jsx)(c.A,{icon:"add"}),(0,i.jsx)("span",{children:V("model.more_info")})]})]}):null,L,(0,i.jsx)(s.A,{size:"sm",open:T,close:()=>M(!1),header:(0,i.jsx)("h3",{children:j}),body:(0,i.jsxs)("div",{className:(0,n.A)(p()["edition__modal-content"]),children:[S?(0,i.jsx)("div",{children:S}):null,A.length>0?(0,i.jsx)("div",{className:(0,n.A)(p().edition__options),children:A.map((e,t)=>(0,i.jsx)("div",{className:(0,n.A)(p().edition__option),children:e},t))}):null,L]})})]}),media:N?(0,i.jsx)(_.A,{action:E,tabIndex:-1,children:N}):null,cta:P})})}function y(e){var t,l,a,s,r;let{title:o,tooltip:_,type:u,prices:v}=e,b=(0,d.useTranslations)(),f=(0,m.A)(),y=(0,d.useFormatter)(),x=v[u];return g(null==x?void 0:x.value)?(0,i.jsxs)("div",{className:(0,n.A)(p().price),children:[(0,i.jsxs)("div",{className:(0,n.A)(p().price__details),children:[(0,i.jsx)("span",{className:(0,n.A)(p().price__title),children:o}),_?(0,i.jsx)(h.A,{className:(0,n.A)(p().price__tooltip),overlay:_,children:(0,i.jsx)(c.A,{icon:"info",style:{"--icon-size":16}})}):null,null==(t=x.includingVat)||t||"addition"===u?null:(0,i.jsx)("span",{className:(0,n.A)(p().price__vat),children:b("excluding_vat")})]}),(0,i.jsxs)("div",{className:(0,n.A)(p().price__values),children:[(0,i.jsx)("span",{className:(0,n.A)(p().price__value),children:"addition"===u?y.number((null!=(l=x.value)?l:0)/100,{style:"percent"}):f(null!=(a=x.value)?a:0)}),x.previousValue?(0,i.jsx)("span",{className:(0,n.A)(p()["price__previous-value"]),children:"addition"===u?y.number((null!=(s=x.previousValue)?s:0)/100,{style:"percent"}):f(null!=(r=x.previousValue)?r:0)}):null]})]}):null}},34262:e=>{e.exports={"specs-wrapper":"BlockVehicleSpecs_specs-wrapper__FFRgb",specs:"BlockVehicleSpecs_specs__SyL07",spec:"BlockVehicleSpecs_spec__Gz_Qg",spec__value:"BlockVehicleSpecs_spec__value__Tl_QQ","specs--list":"BlockVehicleSpecs_specs--list__LwoHg","specs--card":"BlockVehicleSpecs_specs--card__bCXTB","specs--floating":"BlockVehicleSpecs_specs--floating__ULR7f"}},34471:(e,t,l)=>{"use strict";let i;l.d(t,{A:()=>tV});var a=l(95155),n=l(79121),s=l(10372),r=l(85402),c=l.n(r),o=l(60115),_=l(32420),d=l(82434),u=l(24089),p=l(57523),m=l(84795),h=l(59491),v=l(1792),b=l(976),g=l(86501),f=l(92862),y=l(57495),x=l(6094);let k=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);var j=l(45362),A=l(97835),w=l(12115),N=l(77897),C=l(30926);let S=(0,C.createServerReference)("7f8b1b5c45c55d8e106ca646d34772ee29f05036af",C.callServer,void 0,C.findSourceMapURL,"fetchVehicleListAction");var P=l(20463),E=l.n(P);let T=(0,w.cache)(function(){return{locale:"nl"}});function M(){return T().locale}let V=(0,w.cache)(S);function I(e){let{text:t,prefilterQueryParams:l,vehicleListId:i,vehicleFilterId:n,vehicleOverviewHref:s,numberOfColumns:r,numberOfRows:c,sortFilters:o=[],widths:_}=e,d=M(),{filter:u}=E().parse(l,{depth:10}),p=(0,w.use)(V(i,n,void 0,void 0,E().stringify(u,{sort:(e,t)=>e.localeCompare(t)}),void 0,void 0,void 0,d));return(0,a.jsx)(N.default,{initialData:p,initialValues:u,text:t,vehicleListId:i,vehicleFilterId:n,vehicleOverviewHref:s,numberOfColumns:r,numberOfRows:c,sortFilters:o,widths:_})}var O=l(49399),L=l(19525);let F=(0,C.createServerReference)("7f59ecfba3e5793a776791def28ccf795eefd9b27a",C.callServer,void 0,C.findSourceMapURL,"fetchVacancyListAction"),B=(0,w.cache)(F);function z(e){let{text:t,prefilterQueryParams:l,vacancyListId:i,vacancyFilterId:n,vacancyOverviewHref:s,numberOfColumns:r,numberOfRows:c,widths:o}=e,{filter:_}=E().parse(l,{depth:10}),d=(0,w.use)(B(i,n));return(0,a.jsx)(L.default,{initialData:d,initialValues:_,text:t,vacancyListId:i,vacancyFilterId:n,vacancyOverviewHref:s,numberOfColumns:r,numberOfRows:c,widths:o})}var R=l(96904),H=l(59707),U=l(73224);let D=(0,w.cache)(S);var q=l(44155),W=l(4697),G=l(1391),Q=l(46901),K=l(5519),Y=l(95415),X=l(81737),J=l.n(X);
1function Z(e){let{columns:t=[],title:l,href:i,target:s}=e;return(0,a.jsxs)(a.Fragment,{children:[i?(0,a.jsxs)(K.default,{className:(0,n.A)(J()["header__block-link"]),href:i,title:l,target:s,children:[(0,a.jsx)(Y.A,{icon:"apps"}),l]}):null,(0,a.jsx)("div",{className:(0,n.A)(J()["header__links-grid"]),children:t.map((e,t)=>(0,a.jsx)("div",{className:(0,n.A)(J()["header__links-column"]),children:e.items.map((e,t)=>(0,a.jsxs)("div",{className:(0,n.A)(J()["header__links-group"]),children:[e.href?(0,a.jsx)(K.default,{className:(0,n.A)(J()["header__links-group-title"],J()["header__links-group-title--link"]),href:e.href,title:e.title||"\xa0",target:e.target,children:e.title},t):(0,a.jsx)("p",{className:(0,n.A)(J()["header__links-group-title"]),children:e.title||"\xa0"}),e.links.map((e,t)=>(0,a.jsx)(K.default,{className:(0,n.A)(J()["header__links-group-link"]),href:e.href,title:e.title,target:e.target,children:e.title},t))]},t))},t))})]})}var $=l(42461),ee=l(76990),et=l(96188),el=l(82316),ei=l(60216),ea=l(13521),en=l(11034),es=l(56990),er=l(93116),ec=l.n(er),eo=l(29709),e_=l(25616),ed=l.n(e_),eu=l(40899),ep=l(5797),em=l(21124),eh=l(55120),ev=l(82496);let eb=async e=>(0,ev.A)().get("/content/model",{params:{models:[e]}}).then(e=>e.data.at(0)).catch(()=>null);(0,w.cache)(eb);let eg=(0,em.unstable_cache)(async e=>(0,ev.A)().get("/content/model",{params:{models:e}}).then(e=>e.data).catch(()=>[]),["modelService","fetchModels"],{revalidate:60});(0,w.cache)(e=>eg(JSON.parse(e)));let ef=(0,em.unstable_cache)(async()=>(0,ev.A)().get("/content/project/".concat((0,eh.A)("DATAMOTIVE_PROJECT_ID"),"/model")).then(e=>e.data).catch(()=>[]),["modelService","fetchAllModels"],{revalidate:60});(0,w.cache)(ef);var ey=l(81609);let ex=async(e,t,l)=>0===l.length?{}:(0,ey.A)().get("".concat(e,"/api").concat(t,"/page-urls"),{params:{uuids:l.join(",")}}).then(e=>e.data).catch(()=>({})),ek=(0,w.cache)((0,em.unstable_cache)(ex,["pageUrlService","fetchCachedPageUrls"],{revalidate:60}));var ej=l(95704);let eA=[];function ew(){let e=ej.env.WEBSPACES||"[]";if(e!==i){i=e;try{eA=JSON.parse(e)}catch(e){eA=[]}}return eA}function eN(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=l.map(e=>"/".concat(e)).join(""),a=ew().find(t=>t.key===e),n=null==a?void 0:a.urls[Number(t)];if(!a||!n)return{webspaceUrl:"",origin:"",pathname:"",basePath:"",slug:i,locale:"",webspace:void 0};let s=n.language,r=new URL("".concat("production"===(0,eh.A)("NODE_ENV")&&!n.url.includes(".qlico")?"https":"http","
1://").concat(n.url)),{origin:c,pathname:o}=r,{pathname:_}=new URL("".concat(c).concat("/"!==o?o:"").concat(i));return{webspaceUrl:r.toString().replace(/\/$/,""),origin:c,pathname:_,basePath:"/"!==o?o:"",slug:i,locale:s,webspace:a}}let eC=(0,w.cache)(function(){return{webspaceKey:"",webspaceUrlIndex:""}});var eS=l(21834);async function eP(e){let t=Array.from(new Set(e.map(e=>e.pageId).filter(e=>!!e))).sort();if(!t.length)return e;let{webspaceKey:l,webspaceUrlIndex:i}=eC(),{origin:a,basePath:n,locale:s}=eN(l,i);if(!a)return e;let r=function(e,t,l,i){let a={};for(let[n,s]of Object.entries(e)){if(s.webspace===t){a[n]="".concat(l).concat(s.url);continue}let e=ew().find(e=>e.key===s.webspace);if(!e)continue;let r=e.urls.findIndex(e=>e.language===i),{webspaceUrl:c}=eN(s.webspace,String(r<0?0:r));c&&(a[n]="".concat(c).concat(s.url))}return a}(await ek(a,n,t),l,n,s);return e.map(e=>{let t=e.pageId?r[e.pageId]:void 0;return void 0===t?e:{...e,href:t}})}async function eE(e){let{title:t,brandIds:l,showBrandFilter:i=!0,showModelFilter:s=!0,showPriceFilter:r=!0,itemsPerPage:o,widths:_,likelyLCP:d}=e,u=await ef(),p=((null==l?void 0:l.length)?u.filter(e=>l.includes(e.brand)):u).map(e=>e.id),m=p.length?await eg(p):[];if(!m.length)return null;let h=await eP(m);return(0,a.jsx)("div",{className:(0,n.A)(c().block),children:(0,a.jsx)(eS.default,{title:t,models:h,showBrandFilter:i,showModelFilter:s,showPriceFilter:r,itemsPerPage:o,widths:_,likelyLCP:d})})}var eT=l(23967),eM=l(97198),eV=l(16053),eI=l(1828),eO=l(45279),eL=l(43906);let eF=(0,w.cache)(function(){return{vehicle:null}});function eB(){return eF().vehicle}var ez=l(3369);let eR=(e,t)=>ez.A.get("https://static-api.vivition.com/".concat(e,"/licenceplate_vin/").concat((e=>{let{vin:t,licensePlate:l}=e;return t?"_".concat(t):"".concat(l,"_")})(t),"/existing.json"),{timeout:3e3}).then(e=>e.data.existing).catch(()=>!1),eH=async(e,t,l)=>{let i=l||(0,eh.A)("VIVITION_THEME");if(!e&&!t||!i)return!1;let a=[];for(let l of(t&&a.push({vin:t}),e&&a.push({licensePlate:e}),a))if(await eR(i,l))return l;return!1},eU=(0,w.cache)((0,em.unstable_cache)(eH,["vivition","getVivitionExisting"],{revalidate:60})),eD=async e=>e&&(0,eh.A)("ROTOVIEW_CUSTOMER_ID")?ez.A.get("https://api.rotoviewstudios.com/v1/vehicles/".concat(e,"?client_id=").concat((0,eh.A)("ROTOVIEW_CUSTOMER_ID")),{timeout:3e3}).then(e=>e.data.viewer).catch(()=>null):null,eq=(0,w.cache)((0,em.unstable_cache)(eD,["rotoview","getRotoviewUrl"],{revalidate:60}));var eW=l(50230),eG=l(68321);function eQ(e){var t,l;let{licensePlate:i,vin:n,vivitionTheme:s}=e,r=s||(0,eh.A)("VIVITION_THEME");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eG.default,{type:"module",src:"https://static-api.vivition.com/scripts/vivition.virtualvehicletour.module.js"}),(0,a.jsx)("div",{className:"vivition-player",style:{background:"url(https://static-api.vivition.com/".concat(r,"/licenceplate_vin/").concat(n?"_".concat(n):"".concat(i,"_"),"/initialphoto.jpg) no-repeat center / cover"),aspectRatio:null!=(t=(0,eh.A)("STOCK_IMAGE_ASPECT_RATIO"))?t:1.5},...n?{"data-vin":n}:{"data-licenceplate":i},"data-theme":r}),(0,a.jsx)("div",{className:"vivition-thumbbar",style:{"--vivition-image-aspect-ratio":null!=(l=(0,eh.A)("STOCK_IMAGE_ASPECT_RATIO"))?l:1.5}})]})}l(43143);let eK=async e=>(0,ev.A)().get("/service/".concat(e),{}).then(e=>e.data).catch(()=>null),eY=(0,w.cache)((0,em.unstable_cache)(eK,["serviceService","fetchService"],{revalidate:60}));async function eX(e){var t,l;let{primaryMedia:i="image",serviceId:s}=e,r=eB();if(!r)return null;let o=s?await eY(s):null,{licensePlate:_,vin:d}=r.attributes,u="vivition"===i&&await eU(_,d,null==o?void 0:o.configuration.theme),p="rotoview"===i?await eq(_):null;return(0,a.jsx)("div",{className:(0,n.A)(c().block),children:u?(0,a.jsx)(eQ,{licensePlate:null!=(t=u.licensePlate)?t:"",vin:null!=(l=u.vin)?l:"",vivitionTheme:null==o?void 0:o.configuration.theme}):(0,a.jsx)(eW.default,{...e,rotoviewUrl:p})})}var eJ=l(5109),eZ=l(35427),e$=l(15275),e0=l(10648),e1=l(32775),e5=l(60576),e2=l(65631),e4=l(85486),e9=l(45255),e8=l(35164),e7=l(9856),e3=l(38950),e6=l(57013),te=l(20063),tt=l(82485),tl=l(26309),ti=l(45804);let ta=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nl",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default";try{var i,a;let n=await (0,ev.A)().get("/vacancies/vacancy/".concat(e,"?variant=").concat(l),{headers:{"Accept-Language":t}});if("default"!==l&&(null==(a=n.data)||null==(i=a.template)?void 0:i.panes.length)===0)return(await (0,ev.A)().get("/vacancies/vacancy/".concat(e),{headers:{"Accept-Language":t}})).data;return n.data}catch(e){if(!(0,ti.Ay)(e))throw(0,ti.oh)(e);return null}};(0,w.cache)((0,em.unstable_cache)(ta,["vacancyService","fetchCachedVacancy"],{revalidate:60}));let tn=async e=>(0,ev.A)().get("/vacancies/vacancy/".concat(encodeURIComponent(e),"/tenant/").concat((0,eh.A)("TENANT"),"/slug")).then(e=>e.data.slug).catch(e=>{if(!(0,ti.Ay)(e))throw(0,ti.oh)(e);return null});(0,w.cache)((0,em.unstable_cache)(tn,["vacancyService","fetchCachedVacancySlug",(0,eh.A)("TENANT")],{revalidate:60}));let ts=async(e,t,l,i,a)=>{try{let n=[E().stringify({filterId:t,...l},{arrayFormat:"brackets"}
1),i].filter(Boolean).join("&");return(await (0,ev.A)().get("/vacancies/vacancy-list/".concat(e).concat(n?"?".concat(n):""),{signal:a})).data}catch(e){return null}},tr=(0,w.cache)((0,em.unstable_cache)(ts,["vacancyListService","fetchCachedVacancyList"],{revalidate:60}));var tc=l(82238),to=l(93928);let t_=(0,w.cache)(function(){return{searchParams:{}}});async function td(e){var t,l,i,n,s,r,c;let{vacancyListId:o,vacancyFilterId:_,vacancyCardSnippet:d,viewType:u="list",stickyMobileFilter:p=!1}=e,m=t_().searchParams,{page:h=1,sorting:v,filter:b}=Object.keys(m).some(e=>["page","sorting","filter"].includes(e))?m:{},g=Number(h),f=m.page;void 0===f||/^[1-9]\d*$/.test(String(f))||(0,te.notFound)();let y=await tr(o,_,{pageSize:12,attributes:tc.tc,page:isNaN(g)?1:g},E().stringify(b,{sort:(e,t)=>e.localeCompare(t)}));if(void 0!==f){let e=null==y||null==(t=y.pages)?void 0:t.total;(null!=y?y:await tr(o,_,{pageSize:12,attributes:tc.tc,page:1},E().stringify(b,{sort:(e,t)=>e.localeCompare(t)})))&&g>(e&&e>0?e:1)&&(0,te.notFound)()}let x=null!=(l=null==y?void 0:y.items)?l:[],k=null!=(i=null==y?void 0:y.filters)?i:[],j=null!=(n=null==y?void 0:y.sorting)?n:[],A=null!=(s=null==y?void 0:y.pages)?s:{total:1,current:1},w=null!=(r=null==y?void 0:y.count)?r:0,N=(0,to.A)(d);return(0,a.jsx)(tl.VacancyCardConfigContextProvider,{...N,shownAttributes:null!=(c=null==N?void 0:N.shownAttributes)?c:["title","location","hours"],children:(0,a.jsx)(tt.default,{vacancyListId:o,vacancyFilterId:_,viewType:u,stickyMobileFilter:p,vacancies:x,initialFilters:k,initialValues:b,initialSortings:j,initialSorting:v?String(v):void 0,initialPages:A,initialCount:w})})}var tu=l(83518),tp=l(28470),tm=l(61896),th=l(54575),tv=l(23626),tb=l(82474);let tg=(0,w.cache)(F);var tf=l(72779),ty=l(96102),tx=l(38226),tk=l(39427),tj=l(88982),tA=l(86656),tw=l(28195);async function tN(e){return eB()?(0,a.jsx)("div",{className:(0,n.A)(c().block),children:(0,a.jsx)(eW.default,{...e,rotoviewUrl:null})}):null}var tC=l(24750),tS=l(51740),tP=l(84451),tE=l(92922),tT=l(85675);let tM={"block-text":function(e){let{text:t=""}=e;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--text"],c()["block--text-like"]),children:(0,a.jsx)(s.default,{children:(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})})})},"block-buttons":function(e){let{buttons:t}=e;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--buttons"],c()["block--text-like"]),children:t.map((e,t)=>{let{type:l,...i}=e;return(0,a.jsx)(o.default,{...i},t)})})},"block-image":_.default,"block-video":d.default,"block-card":function(e){var t,l,i;let{theme:s="regular",media_type:r="image",image:_,title:d="",text:g="",buttons:f,widths:y,actions:x=[],src:k,poster:j,autoplay:A=!0,likelyLCP:w}=e,N=(0,v.I)(x,f),C=null==k||null==(t=k.match(/(?:https?:\/\/(?:www\.)?youtube\.com\/(?:[^\/\n\s]+\/\S+\/|\S+\?v=))([a-zA-Z0-9_-]{11})/))?void 0:t[1],S="video"===r&&k?C?(0,a.jsx)(b.default,{youtubeId:C,aspectRatio:"auto",autoplay:A}):(0,a.jsx)("video",{className:c()["pane__background-media"],poster:null==j?void 0:j.imageUrl,autoPlay:A,playsInline:!0,muted:!0,controls:!A,loop:!0,children:(0,a.jsx)("source",{src:k,type:"video/mp4"})}):(null==_?void 0:_.imageUrl)?(0,a.jsx)(h.A,{action:N,tabIndex:-1,children:(0,a.jsx)(m.A,{likelyLCP:w,url:_.imageUrl,alt:_.description,title:_.title,objectPosition:{x:(null!=(l=_.focusPointX)?l:1)*50,y:(null!=(i=_.focusPointY)?i:1)*50},mimeType:_.mimeType,ratio:"filled"===s?2/3:1.5,width:"".concat(y.sm,"cw"),breakpoints:{md:{width:"".concat(y.md,"cw")},lg:{width:"".concat(y.lg,"cw")}}})}):null;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--card"]),children:(0,a.jsx)(p.A,{theme:s,media:S,title:d?(0,a.jsx)(h.A,{action:N,children:d}):null,text:g?(0,u.Ay)(g):null,cta:f.length>0?f.map((e,t)=>(0,a.jsx)(o.default,{...e,type:void 0,fullWidth:"regular"===s},t)):null})})},"block-employee":g.default,"block-establishment":f.default,"block-grid":function(e){let{blocks:t=[],columnsPerView:l=1,widths:i,likelyLCP:s}=e,r=l/i.lg,o=k(r*i.md/2),_=k(r*i.sm/4);return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--grid"]),children:(0,a.jsx)(y.A,{children:t.map((e,t)=>(0,a.jsx)(x.A,{verticalAlignment:"stretch",span:{sm:12/_,md:12/o,lg:12/l},children:(0,a.jsx)(tV,{blocks:[e],likelyLCP:s&&0===t,widths:{sm:i.sm/_,md:i.md/o,lg:i.lg/l}})},t))})})},"block-smart-content-grid":eO.default,"block-slider":j.default,"block-smart-content-slider":eI.default,"block-timeline":A.default,"block-vehicle-search":function(e){let{text:t,prefilterQueryParams:l="",vehicleListId:i,vehicleFilterId:s,vehicleOverviewHref:r,numberOfColumns:o,numberOfRows:_,hidePanel:d=!1,widths:u}=e,p=d?w.Fragment:O.A;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--vehicle-search"],d?c()["block--text-like"]:""),children:(0,a.jsx)(p,{children:(0,a.jsx)(I,{text:t,prefilterQueryParams:l,vehicleListId:i,vehicleFilterId:s,vehicleOverviewHref:r,numberOfColumns:null!=o?o:2,numberOfRows:null!=_?_:2,sortFilters:_?[]:["vehicleState","brand","serieBrand","fuel","price"],widths:u})})})},"block-vacancy-search":function(e){let{text:t,prefilterQueryParams:l="",vacancyListId:i,vacancyFilterId:s,vacancyOverviewHref:r,numberOfColumns:o,numberOfRows:_,hidePanel:d=!1,widths:u}=e,p=d?w.Fragment:O.A;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--vacancy-search"],d?c()["block--text-like"]:""),children:(0,a.jsx)(p,{children:(0,a.jsx)(z,{text:t,prefilterQueryParams:l,vacancyListId:i,vacancyFilterId:s,vacancyOverviewHref:r,numberOfColumns:null!=o?o:2,numberOfRows:null!=_?_:2,widths:u})})})},"block-vehicle-slider":function(e){var t,l;let{vehicleListId:i,sort:s,vehicleCardSnippet:r,alternativeBlocks:o,widths:_,likelyLCP:d,...u}=e,p=M(),{items:m}=null!=(t=(0,w.use)(D(i,void 0,void 0,s,void 0,void 0,void 0,void 0,p)))?t:{},{priceTypes:h=[],specs:v=[],specsDisplayMode:b="standard",priceDisplayMode:g="standard",cardTheme:f="regular",showStockStatus:y=!1,showDateOfArrival:x=!1,showLabel:k=!1,maxLabels:j=1,labelPosition:A="top-left",editionLine
1s:N=2,showEstablishment:C=!1,hideAddition:S=!1,showCompare:P=!1,showFavorites:E=!1,showPriceAdvantage:T=!1,disableGroupedFinancePrices:V=!1,disableGroupedLeasePrices:I=!1,buttonTheme:O="highlight-outlined",themeColor:L="primary"}=null!=(l=null==r?void 0:r.content)?l:{};return m&&0!==m.length?(0,a.jsxs)(a.Fragment,{children:[m.some(e=>(null==e?void 0:e.displayPrices)&&"finance"in e.displayPrices)?(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--finance-banner"]),children:(0,a.jsx)(H.default,{})}):null,(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--vehicle-slider"]),children:(0,a.jsx)(U.VehicleCardConfigContextProvider,{priceTypes:(null==h?void 0:h.length)?h:["purchase","b2b","finance","businessFinance","privateLease","businessLease","shortLease"],specs:(null==v?void 0:v.length)?v:["yearOfConstruction","odometerReading","fuel"],specsDisplayMode:null!=b?b:"standard",priceDisplayMode:null!=g?g:"standard",cardTheme:null!=f?f:"regular",showStockStatus:y,showDateOfArrival:x,showLabel:k,maxLabels:j,labelPosition:null!=A?A:"top-left",editionLines:N,showEstablishment:C,hideAddition:S,disableGroupedFinancePrices:V,disableGroupedLeasePrices:I,buttonTheme:O,themeColor:L,showCompare:P,showFavorites:E,showImageSlider:!1,showPriceAdvantage:T,children:(0,a.jsx)(R.default,{slides:m,widths:_,...u})})})]}):(0,a.jsx)(tV,{blocks:o,widths:_,likelyLCP:d})},"block-faq":function(e){let{faqSnippets:t}=e;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--faq"],c()["block--text-like"]),children:(0,a.jsx)(q.default,{faqs:t.reduce((e,t)=>[...e,...t.content.questions],[])})})},"block-form":ee.default,"block-subscription-action":et.default,"block-model":W.default,"block-model-editions":e6.default,"block-planner-entrance":function(e){let{text:t="",plannerBaseUrl:l="",hidePanel:i=!1}=e,s=i?w.Fragment:O.A;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--planner-entrance"],i?c()["block--text-like"]:""),children:(0,a.jsx)(s,{children:(0,a.jsx)(G.default,{text:t,plannerBaseUrl:l})})})},"block-edition":Q.default,"block-html":function(e){let{html:t="",setHtml:l=!1}=e;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--html"]),children:l?(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:t}}):(0,a.jsx)(e7.default,{html:t})})},"block-header-primary-links":function(e){let{columns:t=[],title:l,href:i,target:s}=e;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--text-like"]),children:(0,a.jsx)(Z,{columns:t,title:l,href:i,target:s})})},"block-social-share":$.default,"block-snippet":function(e){var t,l;let{blockSnippet:i,widths:n,likelyLCP:s}=e;return(0,a.jsx)(tV,{blocks:null!=(l=null==i||null==(t=i.content)?void 0:t.blocks)?l:[],widths:n,likelyLCP:s})},"block-tabs":function(e){let{tabs:t=[],tabStyle:l,widths:i,likelyLCP:n}=e,s=t.map(e=>({title:e.title})),r=t.map((e,t)=>{let l=e.columns,s="".concat(e["layout".concat(l.length)]||[...Array(l.length)].map(()=>"".concat(12/l.length)).join("|"));return(0,a.jsx)(y.A,{children:(0,a.jsx)(el.A,{columns:l,layout:s,widths:i,likelyLCP:n&&0===t})},t)});return(0,a.jsx)(ei.default,{tabHeaders:s,tabPanels:r,tabStyle:l})},"block-panel":function(e){let{columns:t=[],layout2:l,layout3:i,widths:s,id:r,backgrounds:[o]=[],likelyLCP:_}=e,d=[...Array(t.length)].map(()=>"".concat(12/t.length)).join("|");return 2===t.length&&l&&(d=l),3===t.length&&i&&(d=i),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--panel"],(null==o?void 0:o.theme)==="transparent"?c()["block--panel-transparent"]:void 0),id:r,children:(0,a.jsx)(O.A,{className:(0,n.A)(c()["block--panel--background"]),children:(0,a.jsx)(ea.default,{theme:(null==o?void 0:o.theme)||"white",background:{...o,theme:(null==o?void 0:o.theme)||"white"},className:(0,n.A)(c()["block--panel--pane"],o?c()["block--panel--pane--background-".concat(o.type)]:void 0),bodyClassName:(0,n.A)(c()["block--panel--pane--body"]),contentClassName:(0,n.A)(c()["block--panel--pane--content"]),body:(0,a.jsx)(y.A,{children:(0,a.jsx)(el.A,{columns:t,layout:d,widths:s,likelyLCP:_})})})})})})},"block-masonry-media":en.default,"block-masonry-cards":function(e){let{items:t,widths:l,likelyLCP:i}=e;return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--masonry"]),children:(0,a.jsx)(es.A,{children:t.slice(0,6).map((e,t)=>{let s=[0,1].includes((t+1)%6);if("card"===e.type){var r,c,_;return(0,a.jsx)("div",{className:(0,n.A)(ec().masonry__item,s?ec()["masonry__item--large"]:ec()["masonry__item--small"]),children:(0,a.jsxs)("div",{className:(0,n.A)(ec().card),children:[(0,a.jsx)("div",{className:(0,n.A)(ec().card__media),children:(0,a.jsx)(K.default,{href:e.href,title:e.linkTitle,children:(0,a.jsx)(m.A,{likelyLCP:i&&0===t,className:(0,n.A)(ec().card__image),url:e.image.imageUrl,alt:e.image.description,objectPosition:{x:(null!=(r=e.image.focusPointX)?r:1)*50,y:(null!=(c=e.image.focusPointY)?c:1)
1*50},mimeType:e.image.mimeType,ratio:4/3,width:"".concat(l.sm,"cw"),breakpoints:{md:{ratio:s?4/3:3/4,width:"".concat(l.md/(s?1:2),"cw")},lg:{width:"".concat(l.lg/(s?2:4),"cw")}}})})}),(0,a.jsxs)("div",{className:(0,n.A)(ec().card__body),children:[e.icon?(0,a.jsx)("p",{className:(0,n.A)(ec().card__icon),children:(0,a.jsx)(Y.A,{icon:e.icon})}):null,e.title?(0,a.jsx)("p",{className:(0,n.A)(ec().card__title,s?"h3":"h5"),children:e.title}):null,e.text?(0,a.jsx)("p",{children:e.text}):null,(null!=(_=e.showButton)?_:s)?(0,a.jsx)(o.default,{className:(0,n.A)(ec().card__button),theme:"white-outlined",href:e.href,title:e.linkTitle}):null]})]})},t)}return null})})})},"block-hero":eo.default,"block-youtube":b.default,"block-logos":function(e){let{logos:t=[],numberOfColumns:l=1,widths:i,theme:s="framed",likelyLCP:r}=e,o=l/i.lg,_=Math.max(Math.round(o*i.md/2),1),d=Math.max(Math.round(o*i.sm/4),1);return(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--logos"]),children:(0,a.jsx)("div",{className:(0,n.A)(c().block__logos,ed().logos,ed()["logos--".concat(s)]),style:{"--number-of-columns-lg":l,"--number-of-columns-md":_,"--number-of-columns-sm":d},children:t.map((e,t)=>{var s,c;return(0,a.jsx)(K.default,{className:(0,n.A)(ed().logos__item),href:e.href,title:e.title,target:e.target,children:(0,a.jsx)(m.A,{likelyLCP:r&&0===t,className:(0,n.A)(ed().logos__image),url:e.image.imageUrl,alt:e.image.description,title:e.image.title,objectPosition:{x:(null!=(s=e.image.focusPointX)?s:1)*50,y:(null!=(c=e.image.focusPointY)?c:1)*50},objectFit:"contain",mimeType:e.image.mimeType,width:"".concat(i.sm/d/2,"cw"),ratio:9/7,breakpoints:{md:{width:"".concat(i.md/_/2,"cw")},lg:{width:"".concat(i.lg/l/2,"cw")}}})},t)})})})},"block-maps":eu.default,"block-establishment-cards":ep.default,"block-model-cards":eE,"block-dm-image":eT.default,"block-dm-card":eM.default,"block-dm-video":eV.default,"block-vehicle-title":e1.default,"block-vehicle-compare":e5.default,"block-vehicle-favorite":e2.default,"block-vehicle-ctas":eL.default,"block-vehicle-media":eX,"block-vehicle-specs":eJ.default,"block-vehicle-options":eZ.default,"block-vehicle-downloads":e3.default,"block-vehicle-description":e$.default,"block-vehicle-establishment":e0.default,"block-vehicle-warranties":e9.default,"block-vehicle-delivery-packages":e8.default,"block-vehicle-photo-motion":tT.default,"block-vacancy-overview":td,"block-vacancy-title":tu.default,"block-vacancy-description":tp.default,"block-vacancy-media":tm.default,"block-vacancy-specification":th.default,"block-vacancy-specifications":tv.default,"block-vacancy-slider":function(e){let{vacancyListId:t,sort:l,vacancyCardSnippet:i,alternativeBlocks:s,widths:r,likelyLCP:o,..._}=e,d=(0,w.use)(tg(t,void 0,{attributes:["locationCity","minHoursPerWeek","maxHoursPerWeek","salaryMin","salaryMax","salaryPeriod","employmentType","category","company"]})),u=null==d?void 0:d.items,p=(0,to.A)(i);return u&&0!==u.length?(0,a.jsx)("div",{className:(0,n.A)(c().block,c()["block--vacancy-slider"]),children:(0,a.jsx)(tl.VacancyCardConfigContextProvider,{...p,children:(0,a.jsx)(tb.default,{slides:u,widths:r,..._})})}):(0,a.jsx)(tV,{blocks:s,widths:r,likelyLCP:o})},"block-vacancy-similar":tf.default,"block-vacancy-matchlab-form":ty.default,"block-vacancy-recruiter":tx.default,"block-vacancy-youtube":tk.default,"block-usps":tj.default,"block-bike-title":tA.default,"block-bike-ctas":tw.default,"block-bike-media":tN,"block-bike-specs":tC.default,"block-bike-description":tS.default,"block-bike-establishment":tP.default,"block-bike-warranties":tE.default};function tV(e){let{blocks:t=[],widths:l,blockComponentOverwrites:i={},likelyLCP:n=!1}=e;return(0,a.jsx)(a.Fragment,{children:t.map((e,t)=>{let s={...tM,...i}[e.type];return s?(0,a.jsx)(e4.default,{children:(0,a.jsx)(s,{...e,widths:l,likelyLCP:n&&0===t})},t):null})})}},34894:e=>{e.exports={card:"ModelCard_card__4XKVy",card__title:"ModelCard_card__title__BsQbV",card__media:"ModelCard_card__media__MbJr4",card__body:"ModelCard_card__body__4MA_q",card__placeholder:"ModelCard_card__placeholder__UVtWT",prices:"ModelCard_prices__r7tCw",price:"ModelCard_price__PtjLL",price__label:"ModelCard_price__label__G5x0D","price__value-group":"ModelCard_price__value-group__8k_Qi",price__value:"ModelCard_price__value__dqAOc",price__info:"ModelCard_price__info__727nj",price__tooltip:"ModelCard_price__tooltip__jGa8H"}},35164:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var i=l(95155),a=l(79121),n=l(95415),s=l(85483),r=l(18588),c=l(9944),o=l(17519),_=l(95604),d=l(85402),u=l.n(d),p=l(94487),m=l.n(p);function h(e){var t,l,d;let{title:p,subtitle:h}=e,v=(0,_.useTranslations)(),b=(0,r.v8)(),{packages:g,openModal:f}=(0,c.zU)();if(!b||g.length<1)return null;let y=null==(d=null==(l=b.displayPrices)||null==(t=l.purchase)?void 0:t.includingVat)||d;return(0,i.jsx)("div",{className:(0,a.A)(u().block),children:(0,i.jsxs)("div",{className:(0,a.A)(m()["delivery-packages"]),children:[(0,i.jsxs)("div",{className:(0,a.A)(m()["delivery-packages__intro"]),children:[(0,i.jsx)("h3",{className:(0,a.A)(m()["delivery-packages__title"]),children:p||v("vehicle_detail.delivery_packages.title")}),h||v("vehicle_detail.delivery_packages.subtitle")?(0,i.jsx)("p",{className:(0,a.A)(m()["delivery-packages__subtitle"]),children:h||v("vehicle_detail.delivery_packages.subtitle")}):null]}),(0,i.jsx)(s.A,{slides:g,widths:{sm:100,md:400/3,lg:100},slidesPerView:3,centeredSlides:!1,loop:!1,renderSlide:e=>{var t,l,s;let r=(0,o.F)(e,y),c=(null!=(s=null==(t=e.content)?void 0:t.length)?s:0)>0;return(0,i.jsxs)("div",{className:(0,a.A)(m().card),children:[(0,i.jsx)("div",{className:(0,a.A)(m().card__top),children:(0,i.jsxs)("div",{className:(0,a.A)(m().card__heading),children:[(0,i.jsx)("span",{className:(0,a.A)(m().card__name),children:e.name}),(0,i.jsx)("span",{className:(0,a.A)(m().card__price),children:r>0?v("currency",{value:r}):v("vehicle_detail.delivery_packages.included")})]})}),c?(0,i.jsx)("div",{className:(0,a.A)(m().card__usps),children:null==(l=e.content)?void 0:l.map((e,t)=>(0,i.jsxs)("p",{className:(0,a.A)(m().card__usp),children:[(0,i.jsx)(n.A,{icon:"check",className:(0,a.A)(m()["card__usp-icon"])}),e]},t))}):e.description?(0,i.jsx)("p",{className:(0,a.A)(m().card__description,m()["card__description--preview"]),dangerouslySetInnerHTML:{__html:e.description}}):null,e.description?(0,i.jsx)("button",{type:"button",className:(0,a.A)(m()["card__specs-trigger"]),onClick:()=>f(),children:v("vehicle_detail.delivery_packages.show_specifications")}):null]})}})]})})}},35260:e=>{e.exports={"delivery-packages__trigger":"VehicleDeliveryPackagesTrigger_delivery-packages__trigger__ovJXb"}},35427:(e,t,l)=>{"use strict";l.d(t,{default:()=>y});var i=l(95155),a=l(79121),n=l(18588),s=l(60115),r=l(460),c=l(12115),o=l(95415),_=l(9051),d=l(43134),u=l(85402),p=l.n(u),m=l(72984),h=l.n(m),v=l(8109),b=l(97176),g=l.n(b);let f=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);function y(e){var t,l,u,m,b,y,x;let{columnsPerView:k=1,numberOfOptions:j=5,widths:A}=e,[w,N]=(0,c.useState)(!1),C=(0,n.v8)(),S=(0,d.A)(),P=(0,v.A)(),E=null!=(b=null==C||null==(l=C.attributes)||null==(t=l.accessories)?void 0:t.filter(e=>1===e.priority))?b:[],T=[...E.length>0?[{name:S("vehicle_detail.options.highlighted"),accessories:E.map(e=>e.name)}
1]:[],...null!=(y=null==C||null==(u=C.attributes)?void 0:u.accessoryGroups)?y:[]],[M,V]=(0,c.useState)(T.length>0?T[0].name:null);if(!C)return null;let I=(null!=(x=null==T||null==(m=T.find(e=>e.name===M))?void 0:m.accessories.length)?x:0)-j;if((null==T?void 0:T.length)<=0)return null;let O=k/A.lg,L=f(O*A.md/2),F=f(O*A.sm/4);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,a.A)(p().block,p()["block--text-like"]),children:(0,i.jsxs)("div",{className:(0,a.A)(h().options),style:{"--columns-per-view-sm":F,"--columns-per-view-md":L,"--columns-per-view-lg":k},children:[(0,i.jsx)("div",{className:(0,a.A)(h().options__chips),children:(0,i.jsx)("div",{className:(0,a.A)(h().chips),children:null==T?void 0:T.map((e,t)=>(0,i.jsx)(_.A,{title:e.name,className:(0,a.A)(h().chip,M===e.name?h()["chip--active"]:""),onClick:()=>V(e.name)},t))})}),(0,i.jsx)("div",{className:(0,a.A)(h()["options__group-wrapper"]),children:null==T?void 0:T.map((e,t)=>(0,i.jsx)("div",{className:(0,a.A)(h().options__group,M===e.name?h()["options__group--active"]:""),children:e.accessories.slice(0,j).map((e,t)=>(0,i.jsxs)("div",{className:(0,a.A)(h().option),children:[(0,i.jsx)(o.A,{icon:"check",className:(0,a.A)(h().option__icon)}),(0,i.jsx)("span",{className:(0,a.A)(h().capitalize),children:e})]},t))},t))}),I>0?(0,i.jsxs)("button",{className:(0,a.A)(h().options__more),onClick:()=>{P("all_options"),N(!0),window.location.hash=M?"#attributes-modal-".concat(g()(M)):""},children:[(0,i.jsx)(o.A,{icon:"add"}),(0,i.jsx)("span",{children:S("vehicle_detail.options.more",{count:I},{},"")})]}):null]})}),(0,i.jsxs)("div",{className:(0,a.A)(p().block,p()["block--text-like"]),children:[(0,i.jsx)(s.default,{theme:"outlined",title:S("vehicle_detail.options.all"),icon:"north_east",onClick:()=>{P("all_options"),N(!0)}}),(0,i.jsx)(r.A,{defaultTab:"options",open:w,close:()=>N(!1),vehicle:C})]})]})}},35465:(e,t,l)=>{"use strict";l.d(t,{A:()=>h});var i=l(95155),a=l(12115),n=l(80695),s=l(82158),r=l(32511),c=l.n(r),o=l(97176),_=l.n(o),d=l(43134),u=l(2397),p=l(78317),m=l(30245);function h(e){var t,l,r,o;let{filter:h,path:v=[]}=e,b=(0,a.useId)(),{values:g,setValues:f}=(0,n.iN)(),y=(0,d.A)(),x=(0,m.e)();if(!h)return null;let k=[...v,"min"],j=[...v,"max"],A=Object.keys(null!=(r=(0,s.bf)(g,k))?r:{}).at(0),w=Object.keys(null!=(o=(0,s.bf)(g,j))?o:{}).at(0),N=["maxTowingWeight","yearOfConstruction"].includes(h.key)?"".concat(b,"-min"):"".concat(b,"-max");return(0,i.jsxs)("div",{children:[(0,i.jsx)(u.A,{htmlFor:N,children:y("vehicle.attribute.".concat(_()(h.key),".title"),{},{},"")}),["maxTowingWeight","yearOfConstruction"].includes(h.key)?(0,i.jsx)(p.A,{id:N,placeholder:y("vehicle_overview.filter_select.from.placeholder"),active:!!A,value:null!=A?A:"",options:null==(t=h.options)?void 0:t.map(e=>({value:e.key,title:y("vehicle_overview.filter_select.from.options")+x(h.key,e.key)})),onChange:e=>{let t=Number(e.target.value),l=c()(g);if(!t)return f((0,s.WE)(l,k));w&&t>Number(w)?(f((0,s.HJ)(l,k,{[w]:""})),f((0,s.HJ)(l,j,{[t]:""}))):f((0,s.HJ)(l,k,{[t]:""}))}}):(0,i.jsx)(p.A,{id:N,placeholder:y("vehicle_overview.filter_select.to.placeholder"),active:!!w,value:null!=w?w:"",options:null==(l=h.options)?void 0:l.map(e=>({value:e.key,title:y("vehicle_overview.filter_select.to.options")+x(h.key,e.key)})),onChange:e=>{let t=Number(e.target.value),l=c()(g);if(!t)return f((0,s.WE)(l,j));A&&t<Number(A)?(f((0,s.HJ)(l,j,{[A]:""})),f((0,s.HJ)(l,k,{[t]:""}))):f((0,s.HJ)(l,j,{[t]:""}))}})]})}},35815:e=>{e.exports={pagination:"Pagination_pagination__A5wNc",pagination__item:"Pagination_pagination__item__yYpru","pagination__item--previous":"Pagination_pagination__item--previous__qUYzK","pagination__item--next":"Pagination_pagination__item--next__QcQrK",pagination__link:"Pagination_pagination__link__RQ_HO","pagination__link--active":"Pagination_pagination__link--active__3aTfm","pagination__link--disabled":"Pagination_pagination__link--disabled__3jWjD","pagination__link-text":"Pagination_pagination__link-text__H1GJy"}},36714:e=>{e.exports={checkboxes:"FilterCheckboxes_checkboxes__ZrGwc","checkbox-title":"FilterCheckboxes_checkbox-title__pgjT_","checkbox-title__count":"FilterCheckboxes_checkbox-title__count__TuhlB",collapse__collapse:"FilterCheckboxes_collapse__collapse__tpYlv",collapse__content:"FilterCheckboxes_collapse__content___6vbQ"}},37197:e=>{e.exports={compare:"Compare_compare__7_AJ_",compare__body:"Compare_compare__body__p1s82",compare__content:"Compare_compare__content__HZAXb",compare__empty:"Compare_compare__empty__7eqJW","compare__empty-card":"Compare_compare__empty-card__w7i5Y","compare__empty-card--info":"Compare_compare__empty-card--info___YqL8","compare__empty-icon":"Compare_compare__empty-icon__ieT2v","compare__empty-title":"Compare_compare__empty-title__osLk4","compare__empty-card--placeholder":"Compare_compare__empty-card--placeholder__ltzZ7","compare__empty-placeholder-body":"Compare_compare__empty-placeholder-body__IbWWT","compare__empty-placeholder-icon":"Compare_compare__empty-placeholder-icon__zonpu",compare__loader:"Compare_compare__loader__P3g8n",spin:"Compare_spin__1OxAs","compare__loader--loading":"Compare_compare__loader--loading__A2VP8","compare__slider-wrapper":"Compare_compare__slider-wrapper__AqP5M"}},37622:e=>{e.exports={pane__body:"PaneVehicleInfo_pane__body__AMU33",pane__grid:"PaneVehicleInfo_pane__grid__bmYaQ","pane__prices-area":"PaneVehicleInfo_pane__prices-area__To_BP","pane__360-anchor":"PaneVehicleInfo_pane__360-anchor__Ju8qe",pane__title:"PaneVehicleInfo_pane__title__GSagy","pane__title-start":"PaneVehicleInfo_pane__title-start__4GMvz","pane__title-end":"PaneVehicleInfo_pane__title-end__ZB8mz",vehicle__establishment:"PaneVehicleInfo_vehicle__establishment__fFDXt","vehicle__establishment-icon":"PaneVehicleInfo_vehicle__establishment-icon__feqes","pane__media-area":"PaneVehicleInfo_pane__media-area__jUV7r","pane__media-grid":"PaneVehicleInfo_pane__media-grid__6rftY",pane__media:"PaneVehicleInfo_pane__media__z8KbL","pane__media-overlay":"PaneVehicleInfo_pane__media-overlay__yJqbb","pane__media-overlay-text":"PaneVehicleInfo_pane__media-overlay-text__JqKwi","pane__media-overlay--desktop":"PaneVehicleInfo_pane__media-overlay--desktop__wqLsM","pane__media-overlay--mobile":"PaneVehicleInfo_pane__media-overlay--mobile__cIDXR",pane__image:"PaneVehicleInfo_pane__image__f0u1p",pane__panel:"PaneVehicleInfo_pane__panel___xkp2","pane__price-divider":"PaneVehicleInfo_pane__price-divider__wGavC","pane__price--active":"PaneVehicleInfo_pane__price--active__wuVrE",pane__price:"PaneVehicleInfo_pane__price__Sj_0q","pane__price-advantage":"PaneVehicleInfo_pane__price-advantage__Ug584","pane__price-credit-table":"PaneVehicleInfo_pane__price-credit-table__p1SlR","pane__price-row":"PaneVehicleInfo_pane__price-row__u4VNo","pane__price-toggle":"PaneVehicleInfo_pane__price-toggle__JOdQO","pane__price-start":"PaneVehicleInfo_pane__price-start__yziuy","pane__price-check":"PaneVehicleInfo_pane__price-check__EjkFW","pane__price-check-icon":"PaneVehicleInfo_pane__price-check-icon__ESxUj","pane__price-title":"PaneVehicleInfo_pane__price-title__1AUdb","pane__price-vat":"PaneVehicleInfo_pane__price-vat__uNFbB","pane__price-end":"PaneVehicleInfo_pane__price-end__FDsBL","pane__price-value":"PaneVehicleInfo_pane__price-value__c2Cgi","pane__price-previous-value":"PaneVehicleInfo_pane__price-previous-value__QZHhO","pane__price-tooltip-icon":"PaneVehicleInfo_pane__price-tooltip-icon__dIEs3","pane__price-body":"PaneVehicleInfo_pane__price-body__5Dy_c",pane__contact:"PaneVehicleInfo_pane__contact__CLo8B","pane__contact-link":"PaneVehicleInfo_pane__contact-link__naNfQ","pane__contact-icon":"PaneVehicleInfo_pane__contact-icon__VeQoh","pane__finance-banner":"PaneVehicleInfo_pane__finance-banner__RgnxA",pane__usps:"PaneVehicleInfo_pane__usps__HiySw",pane__usp:"PaneVehicleInfo_pane__usp__SbV1T","pane__usp-icon":"PaneVehicleInfo_pane__usp-icon__6aLcu","pane__usp-title":"PaneVehicleInfo_pane__usp-title__7XTwQ",gallery__image:"PaneVehicleInfo_gallery__image__EL6sh","gallery__zoom-target":"PaneVehicleInfo_gallery__zoom-target__MkTIc"}},37851:e=>{e.exports={"number-range":"FilterNumberRange_number-range__OirW8"}},38226:(e,t,l)=>{"use strict";l.d(t,{default:()=>v});var i=l(95155),a=l(79121),n=l(85402),s=l.n(n),r=l(57523),c=l(29400),o=l.n(c),_=l(95415),d=l(5519),u=l(89532),p=l.n(u);function m(e){let{name:t,jobTitle:l,image:n,email:s,phone:c,whatsapp:u}=e,m=u?u.replace(/[^0-9]/g,""):"",h=m?"https://wa.me/".concat(m):"";return(0,i.jsx)(r.A,{theme:"regular",classname:(0,a.A)(p().card),media:n?(0,i.jsx)("div",{className:(0,a.A)(p().media),children:(0,i.jsx)("img",{src:n,alt:null!=t?t:"",loading:"lazy"})}):null,body:(0,i.jsxs)(i.Fragment,{children:[t?(0,i.jsx)("p",{className:(0,a.A)(o().card__title),children:t}):null,l?(0,i.jsx)("p",{className:(0,a.A)(p().recruiter__subtitle),children:l}):null,c||h||s?(0,i.jsx)("div",{className:(0,a.A)(o().card__text),children:(0,i.jsxs)("div",{className:(0,a.A)(p().recruiter__information),children:[c?(0,i.jsxs)(d.default,{href:"tel:".concat(c),className:(0,a.A)(p()["recruiter__details-link"]),children:[(0,i.jsx)(_.A,{icon:"phone",className:(0,a.A)(p()["recruiter__details-icon"])}),c]}):null,h?(0,i.jsxs)(d.default,{href:h,target:"_blank",rel:"noopener noreferrer",className:(0,a.A)(p()["recruiter__details-link"]),children:[(0,i.jsx)(_.A,{icon:"whatsapp",className:(0,a.A)(p()["recruiter__details-icon"])}),u]}
1):null,s?(0,i.jsxs)(d.default,{href:"mailto:".concat(s),className:(0,a.A)(p()["recruiter__details-link"]),children:[(0,i.jsx)(_.A,{icon:"mail",className:(0,a.A)(p()["recruiter__details-icon"])}),s]}):null]})}):null]})})}var h=l(93321);function v(e){let{title:t,text:l}=e,n=(0,h.qC)();if(!n)return null;let{recruiterName:r,recruiterJobTitle:c,recruiterImage:o,recruiterEmail:_,recruiterPhone:d,recruiterMobile:u}=n.attributes,p=e=>null==e||""===e;return p(r)&&p(c)&&p(o)&&p(_)&&p(d)&&p(u)?null:(0,i.jsxs)("div",{className:(0,a.A)(s().block),children:[t?(0,i.jsx)("h2",{children:t}):null,l?(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:l}}):null,(0,i.jsx)(m,{name:r,jobTitle:c,image:o,email:_,phone:d,whatsapp:u})]})}},38550:e=>{e.exports={text:"BlockModelEditions_text__b_6z5"}},38572:e=>{e.exports={panel:"Panel_panel__XNwkX"}},38950:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(12115),n=l(95415),s=l(18588),r=l(79121),c=l(95604),o=l(85402),_=l.n(o),d=l(85837),u=l.n(d);let p=e=>{let{download:{url:t,description:l}}=e,[s,o]=(0,a.useState)(!1),_=(0,c.useTranslations)(),d=async e=>{if(!s&&/^https?:\/\/[^/]*\.rdw\.nl(\/|$)/i.test(t)){e.preventDefault(),o(!0);try{let e=await fetch(t,{redirect:"follow"}),i=await e.blob(),a=URL.createObjectURL(i),n=document.createElement("a");n.href=a,n.download=l||t.split("/").reverse()[0],document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(a)}finally{o(!1)}}};return(0,i.jsx)("li",{children:s?(0,i.jsxs)("span",{className:(0,r.A)(u().downloading),children:[(0,i.jsx)(n.A,{icon:"download"}),(0,i.jsx)("span",{className:(0,r.A)(u().label),children:_("vehicle_detail.downloads.downloading")})]}):(0,i.jsxs)("a",{href:t,download:!0,onClick:d,rel:"noopener noreferrer",children:[(0,i.jsx)(n.A,{icon:"download"}),(0,i.jsx)("span",{className:(0,r.A)(u().label),children:l||t.split("/").reverse()[0]})]})})};function m(e){let{title:t}=e,l=(0,s.v8)(),a=(0,c.useTranslations)();return l?(0,i.jsxs)("div",{className:(0,r.A)(_().block,_()["block--text-like"]),children:[(0,i.jsx)("h3",{children:t}),l.attributes.documents&&l.attributes.documents.length>0?(0,i.jsx)("ul",{className:(0,r.A)(u().list),children:l.attributes.documents.map(e=>(0,i.jsx)(p,{download:e},e.url))}):(0,i.jsx)("p",{className:(0,r.A)(u()["no-docs"]),children:a("vehicle_detail.downloads.no_downloads")})]}):null}},39427:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var i=l(95155),a=l(976),n=l(93321);function s(e){let{aspectRatio:t="auto",autoplay:l=!1}=e,s=(0,n.qC)();if(!(null==s?void 0:s.attributes.youtubeId)||0===s.attributes.youtubeId.length)return null;let r=s.attributes.youtubeId;return(0,i.jsx)(a.default,{youtubeId:r,aspectRatio:t,autoplay:l})}},40859:e=>{e.exports={prices:"Prices_prices__e0UH7",prices__item:"Prices_prices__item__ogbBn",prices__start:"Prices_prices__start__5dWbe",prices__title:"Prices_prices__title__bahB5","prices__previous-value":"Prices_prices__previous-value__CsXML",prices__vat:"Prices_prices__vat__4i3Ip",prices__value:"Prices_prices__value__iN_52","prices__tooltip-icon":"Prices_prices__tooltip-icon__EbLIA"}},40899:(e,t,l)=>{"use strict";l.d(t,{default:()=>Q});var i=l(95155),a=l(79121),n=l(58744),s=l(95415),r=l(12115),c=l(47650);let o=r.createContext({map:null});function _(e){let{children:t,map:l=null}=e;return(0,i.jsx)(o.Provider,{value:{map:l},children:t})}let d=()=>(0,r.useContext)(o),u=r.createContext({infoWindow:null});function p(e){let{children:t,infoWindow:l=null}=e;return(0,i.jsx)(u.Provider,{value:{infoWindow:l},children:t})}let m=e=>{let{children:t,anchor:l,onCloseClick:a,...n}=e,[s,o]=(0,r.useState)(null),[_,u]=(0,r.useState)(null),{map:m}=d();return((0,r.useEffect)(()=>{if(!m)return;let e=new google.maps.InfoWindow(n);o(e);let t=document.createElement("div");return e.setContent(t),e.open({map:m,anchor:l}),u(t),()=>{e.close(),t.remove(),o(null),u(null)}},[m,l]),(0,r.useEffect)(()=>{if(s)return a&&s.addListener("closeclick",()=>a()),()=>{window.google.maps.event.clearInstanceListeners(s)}},[s,a]),s)?(0,i.jsx)(p,{infoWindow:s,children:null!==_&&(0,c.createPortal)(t,_)}):null},h=r.createContext({markerClusterer:null});function v(e){let{children:t,markerClusterer:l=null}=e;return(0,i.jsx)(h.Provider,{value:{markerClusterer:l},children:t})}let b=r.createContext({marker:null});function g(e){let{children:t,marker:l=null}=e;return(0,i.jsx)(b.Provider,{value:{marker:l},children:t})}function f(e){let{children:t,onClick:l,onDrag:a,onDragStart:n,onDragEnd:s,collisionBehavior:o,draggable:_,position:u,title:p,zIndex:m}=e,[v,b]=(0,r.useState)(null),[f,y]=(0,r.useState)(null),{map:x}=d(),{markerClusterer:k}=(0,r.useContext)(h);return((0,r.useEffect)(()=>
1{if(!x)return;let e=new window.google.maps.marker.AdvancedMarkerElement;e.map=x,b(e);let t=document.createElement("div");return e.content=t,y(t),()=>{e.map=null,b(null),y(null)}},[x]),(0,r.useEffect)(()=>{if(v)return l&&v.addListener("click",e=>l(e)),a&&v.addListener("drag",e=>a(e)),n&&v.addListener("dragstart",e=>n(e)),s&&v.addListener("dragend",e=>s(e)),(a||n||s)&&!_&&console.warn("You need to set the marker to draggable to listen to drag-events."),()=>{window.google.maps.event.clearInstanceListeners(v)}},[v,_,l,n,a,s]),(0,r.useEffect)(()=>{if(v&&k)return k.addMarker(v),()=>{k.removeMarker(v)}},[v,k]),(0,r.useEffect)(()=>{v&&(void 0!==u&&(v.position=u),void 0!==_&&(v.gmpDraggable=_),void 0!==o&&(v.collisionBehavior=o),void 0!==m&&(v.zIndex=m),"string"==typeof p&&(v.title=p))},[v,u,_,o,m,p]),v)?(0,i.jsx)(g,{marker:v,children:null!==f&&(0,c.createPortal)(t,f)}):null}var y=l(60115),x=l(5519),k=l(95604),j=l(61019),A=l.n(j);function w(e){let{markers:t}=e,l=(0,k.useTranslations)(),[n,c]=(0,r.useState)(null),{map:o}=d(),_=t.find(e=>{let{establishment:t}=e;return t.id===n});(0,r.useEffect)(()=>{if(!o||!t.length)return;let e=u(t.map(e=>e.position));o.fitBounds(e)},[o,t]);let u=e=>{let t=new window.google.maps.LatLngBounds;return e.forEach(e=>{t.extend(e)}),t},{street:p,postalCode:h,houseNumber:v,city:b,url:g,phoneNumber:j,routeUrl:w}=(null==_?void 0:_.establishment)||{};return(0,i.jsxs)(i.Fragment,{children:[_?(0,i.jsxs)(m,{position:_.position,onCloseClick:()=>c(null),children:[(0,i.jsx)("span",{className:(0,a.A)(A().marker__title),children:_.establishment.name}),(0,i.jsxs)("span",{className:(0,a.A)(A().marker__text),children:[p," ",v,(0,i.jsx)("br",{}),h," ",b]}),(0,i.jsxs)("div",{className:(0,a.A)(A().establishment__information),children:[w||p&&v&&h&&b?(0,i.jsxs)(x.default,{href:w||"https://www.google.com/maps?q=".concat(p,"+").concat(v,",+").concat(h,"+").concat(b),target:"_blank",className:(0,a.A)(A()["establishment__details-link"]),children:[(0,i.jsx)(s.A,{icon:"directions",className:(0,a.A)(A()["establishment__details-icon"])}),l("establishments.overview_list.active_marker.route")]}):null,j?(0,i.jsxs)(x.default,{href:"tel:".concat(j),target:"_blank",className:(0,a.A)(A()["establishment__details-link"]),children:[(0,i.jsx)(s.A,{icon:"phone",className:(0,a.A)(A()["establishment__details-icon"])}),j]}):null]}),g?(0,i.jsx)(y.default,{title:l("establishments.overview_list.active_marker.button"),href:g,fullWidth:!0}):null]},n):null,t.map(e=>{let{position:t,establishment:l}=e;return(0,i.jsx)(f,{position:t,onClick:()=>c(l.id),collisionBehavior:window.google.maps.CollisionBehavior.REQUIRED_AND_HIDES_OPTIONAL,children:(0,i.jsx)(s.A,{icon:"location_on",style:{"--icon-size":32,"--icon-fill":1}})},l.id)})]})}function N(e){let{children:t,oneEstablishment:l,onMap:a,...n}=e,s=(0,r.useRef)(null),[c,o]=(0,r.useState)(null);return(0,r.useEffect)(()=>{if(!s.current)return;let e=new window.google.maps.Map(s.current,{zoomControl:!0,mapTypeControl:!1,scaleControl:!1,streetViewControl:!1,rotateControl:!1,fullscreenControl:!1,mapId:"DATAMOTIVE_MAP_ID"});o(e),a&&a(e)},[]),(0,r.useEffect)(()=>{c&&l&&google.maps.event.addListenerOnce(c,"idle",()=>{c.setZoom(14)})},[c]),(0,i.jsx)(_,{map:c,children:(0,i.jsx)("div",{...n,ref:s,children:t})})}var C=l(12669),S=l(61422),P=l(29760),E=l.n(P);
1function T(e){let{count:t}=e;return(0,i.jsx)("div",{className:(0,a.A)(E().cluster),children:(0,i.jsx)("span",{className:(0,a.A)(E().cluster__count),children:t})})}function M(e){let{children:t}=e,[l,a]=(0,r.useState)(null),{map:n}=d();return(0,r.useEffect)(()=>{if(!n)return;let e=new S.w1({algorithmOptions:{maxZoom:20},renderer:{render:(e,t,l)=>{let{count:a,position:n}=e,s=document.createElement("div");return(0,C.createRoot)(s).render((0,i.jsx)(T,{count:a})),new window.google.maps.marker.AdvancedMarkerElement({map:l,position:n,zIndex:Number(google.maps.Marker.MAX_ZINDEX)+a,content:s})}}});return e.setMap(n),a(e),()=>{e.setMap(null),a(null)}},[n]),(0,i.jsx)(v,{markerClusterer:l,children:t})}var V=l(44163),I=l(37388),O=l(11287),L=l(49399),F=l(25874),B=l(83336),z=l.n(B);function R(e){let{mapsReady:t,map:l,establishments:n}=e,c=(0,k.useTranslations)(),[o,_]=(0,r.useState)(""),[d,u]=(0,r.useState)(n),{mapsSearchingEnabled:p}=(0,F.j)();return(0,r.useEffect)(()=>{u(n)},[n]),(0,i.jsxs)(L.A,{className:(0,a.A)(z().panel),children:[p?(0,i.jsxs)("form",{onSubmit:e=>{e.preventDefault(),t&&o&&new window.google.maps.Geocoder().geocode({address:o,componentRestrictions:{country:"NL"}},(e,t)=>{var i,a;if("OK"!==t||!e)return;let s=e[0];if(!s)return;let r=s.geometry.location,c=[...n].sort((e,t)=>{var l,i,a,n;let s=window.google.maps.geometry.spherical.computeDistanceBetween(r,{lat:null!=(l=e.latitude)?l:0,lng:null!=(i=e.longitude)?i:0}),c=window.google.maps.geometry.spherical.computeDistanceBetween(r,{lat:null!=(a=t.latitude)?a:0,lng:null!=(n=t.longitude)?n:0});return s<c?-1:+(s>c)});u(c);let o=c[0];if(!o)return;let _=Math.abs(r.lat()-(null!=(i=o.latitude)?i:0)),d=Math.abs(r.lng()-(null!=(a=o.longitude)?a:0));null==l||l.fitBounds(new window.google.maps.LatLngBounds({lat:r.lat()-_,lng:r.lng()-d},{lat:r.lat()+_,lng:r.lng()+d}))})},className:(0,a.A)(z().form),children:[(0,i.jsx)(O.A,{value:o,onChange:e=>_(e.target.value),placeholder:c("establishments.overview_list.input.placeholder")}),(0,i.jsx)(y.default,{type:"submit",icon:"search",showText:!1})]}):null,(0,i.jsx)("div",{className:(0,a.A)(z().list,n.length<5?(0,a.A)(z()["list--no-overflow"]):""),children:d.map((e,t)=>(0,i.jsxs)(r.Fragment,{children:[t>0?(0,i.jsx)("hr",{className:(0,a.A)(z().list__divider)}):null,(0,i.jsxs)("a",{href:e.url,className:(0,a.A)(z().item),children:[(0,i.jsx)("span",{className:(0,a.A)(z().item__title),children:e.name}),(0,i.jsxs)("span",{className:(0,a.A)(z().item__text),children:[e.street," ",e.houseNumber,(0,i.jsx)("br",{}),e.postalCode," ",e.city]}),e.url?(0,i.jsx)(s.A,{icon:"chevron_right",className:(0,a.A)(z().item__icon)}):null]})]},e.id))})]})}var H=l(15279),U=l(57088),D=l.n(U);function q(e){let{establishments:t}=e,l=(0,k.useTranslations)(),[n,s]=(0,r.useState)(null),[c,o]=(0,r.useState)([]),[_,d]=(0,r.useState)([]),[u,p]=(0,r.useState)([]),{mapsApiKey:m}=(0,F.j)(),{ref:h,isIntersecting:v}=(0,H.BL)({rootMargin:"400px",freezeOnceVisible:!0}),b=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[l,i]=(0,r.useState)("LOADING");return(0,r.useEffect)(()=>{if(!t)return;let l=new I.aH(e);i("LOADING");let a=document.head,n=e=>{let t=null==e?void 0:e.href;return"string"==typeof t&&t.includes("fonts.googleapis.com")&&t.includes("Material+Symbols")},s=a.insertBefore.bind(a),r=a.appendChild.bind(a);a.insertBefore=function(e,t){return n(e)?e:s(e,t)},a.appendChild=function(e){return n(e)?e:r(e)},l.load().then(()=>i("SUCCESS")).catch(()=>i("FAILURE"))},[t]),l}({apiKey:null!=m?m:"",libraries:["marker","geocoding","geometry"]},v),g=(0,r.useMemo)(()=>{let e={};return t.forEach(t=>{var l;null==(l=t.brands)||l.forEach(t=>{e[String(t.id)]=t.name})}),Object.entries(e).map(e=>{let[t,l]=e;return{value:t,label:l}}).sort((e,t)=>e.label.localeCompare(t.label))},[t]),f=(0,r.useMemo)(()=>{let e=new Set;return t.forEach(t=>{var l;null==(l=t.types)||l.forEach(t=>e.add(t))}),Array.from(e).sort((e,t)=>e.localeCompare(t)).map(e=>({value:e,label:e}))},[t]),y=(0,r.useMemo)(()=>t.filter(e=>{var t,l;let i=!_.length||(null==(t=e.brands)?void 0:t.some(e=>_.includes(String(e.id)))),a=!u.length||(null==(l=e.types)?void 0:l.some(e=>u.includes(e)));return i&&a}),[t,_,u]);(0,r.useEffect)(()=>{"SUCCESS"===b&&o(y.map(e=>{var t,l;let i=new window.google.maps.LatLng({lat:null!=(t=e.latitude)?t:0,lng:null!=(l=e.longitude)?l:0}),a=y.filter(t=>t.latitude===e.latitude&&t.longitude===e.longitude);if(a.length>1){let t=a.findIndex(t=>t.id===e.id);i=google.maps.geometry.spherical.computeOffset(i,Math.sqrt(a.length),360/a.length*t)}return{position:i,establishment:e}}))},[b,y]);let x=g.length>0,j=f.length>0;return(0,i.jsxs)("div",{ref:h,className:(0,a.A)(D()["establishment-overview-wrapper"]),children:[x||j?(0,i.jsxs)("div",{className:(0,a.A)(D().filters),children:[x?(0,i.jsx)(V.A,{title:l("establishments.cards.filter.brand"),options:g,selected:_,onChange:d}):null,j?(0,i.jsx)(V.A,{title:l("establishments.cards.filter.type"),options:f,selected:u,onChange:p}):null]}):null,(0,i.jsxs)("div",{className:(0,a.A)(D()["establishment-overview"],y.length<5?(0,a.A)(D()["establishment-overview--auto-height"]):""),children:[(0,i.jsx)(R,{mapsReady:"SUCCESS"===b,map:n,establishments:y}),(0,i.jsx)("div",{className:(0,a.A)(D()["establishment-overview__map-wrapper"]),children:"SUCCESS"===b?(0,i.jsx)(N,{className:(0,a.A)(D()["establishment-overview__map"]),oneEstablishment:1===y.length,onMap:e=>s(e),children:(0,i.jsx)(M,{children:(0,i.jsx)(w,{markers:c})})}):null})]})]})}var W=l(85402),G=l.n(W);function Q(e){let{establishmentIds:t}=e,l=null!=t?t:[],{establishments:s}=(0,n.l)(),r=s.filter(e=>l.includes(e.id));return r.sort((e,t)=>
1l.indexOf(e.id)-l.indexOf(t.id)),(0,i.jsx)("div",{className:(0,a.A)(G().block),children:(0,i.jsx)(q,{establishments:r})})}},42461:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(12115),n=l(79121),s=l(60115),r=l(18588),c=l(95604),o=l(26950),_=l.n(o);function d(e){let{title:t="",shareText:l="",channels:o=[],theme:d="primary"}=e,u=(0,c.useTranslations)(),p=(0,r.v8)(),[m,h]=(0,a.useState)(!1),v=window.location.href,b=l||(p?u("social_share.check_out_this_vehicle",{vehicleInfo:"".concat(p.brand," ").concat(p.model," ").concat(p.edition||"").trim()}):u("social_share.check_out_this_vehicle_generic")),g={whatsapp:"https://wa.me/?text=".concat(encodeURIComponent(b+" "+v)),facebook:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(v)),linkedin:"https://www.linkedin.com/sharing/share-offsite/?url=".concat(encodeURIComponent(v)),twitter:"https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(b),"&url=").concat(encodeURIComponent(v)),email:"mailto:?subject=".concat(encodeURIComponent(b),"&body=").concat(encodeURIComponent(b+"\n\n"+v))},f=async()=>{try{await navigator.clipboard.writeText(v),h(!0),setTimeout(()=>h(!1),2e3)}catch(t){let e=document.createElement("textarea");e.value=v,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),h(!0),setTimeout(()=>h(!1),2e3)}};return o&&0!==o.length?(0,i.jsxs)("div",{className:(0,n.A)(_().block,_()["block--social-share"]),children:[t&&(0,i.jsx)("h3",{className:(0,n.A)(_()["social-share__title"]),children:t}),(0,i.jsx)("div",{className:(0,n.A)(_()["social-share__buttons"]),children:o.map(e=>(0,i.jsx)(s.default,{showText:!1,icon:{whatsapp:"whatsapp",facebook:"facebook",linkedin:"linkedin",twitter:"twitter",email:"email",copy:m?"check":"content_copy"}[e]||"share",theme:d,size:"sm",onClick:()=>(e=>{if("copy"===e)return void f();let t=g[e];t&&window.open(t,"_blank","noopener,noreferrer")})(e),className:(0,n.A)(_()["social-share__button"],_()["social-share__button--".concat(e)],m&&"copy"===e?_()["social-share__button--success"]:"")},e))})]}):null}},43117:e=>{e.exports={"block__matchlab-form":"BlockVacancyMatchlabForm_block__matchlab-form___07s_"}},43143:()=>{},43906:(e,t,l)=>{"use strict";l.d(t,{default:()=>N});var i=l(95155),a=l(12115),n=l(75598),s=l(97176),r=l.n(s),c=l(18588),o=l(79121),_=l(95415),d=l(60115),u=l(95604),p=l(9944),m=l(35260),h=l.n(m);function v(){let e=(0,u.useTranslations)(),{packages:t,openModal:l}=(0,p.zU)();return t.length<1?null:(0,i.jsx)("button",{type:"button",className:(0,o.A)(h()["delivery-packages__trigger"]),onClick:()=>l(),children:(0,i.jsx)("span",{children:e("vehicle_detail.delivery_packages.title")})})}var b=l(59707),g=l(50154),f=l(85637),y=l(82845),x=l(30245),k=l(37622),j=l.n(k),A=l(85402),w=l.n(A);function N(e){let{buttons:t,tooltips:l,showPriceAdvantage:s=!1}=e,p=(0,u.useTranslations)(),m=(0,u.useFormatter)(),h=(0,x.e)(),k=(0,c.v8)(),A=(0,a.useMemo)(()=>{var e;return null==k||null==(e=k.template.priceGroups)?void 0:e.filter(e=>(null==k?void 0:k.displayPrices)&&e in k.displayPrices)},[k]),[N,C]=(0,a.useState)((null==A?void 0:A[0])||"purchase"),[S,P]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{var e;(null==k||null==(e=k.displayPrices)?void 0:e.b2b)&&C("b2b")},[k]),k&&A&&0!==A.length)?(0,i.jsx)("div",{className:(0,o.A)(w().block,w()["block--text-like"]),children:null==A?void 0:A.map((e,a)=>{var c,u,x,A,w,E,T,M,V,I;let O=null==(c=k.displayPrices)?void 0:c[e],L=N===e,F=p("vehicle.price.".concat(r()(e),".tooltip")),B=null==l?void 0:l[e];return!O||isNaN(Number(null==O?void 0:O.value))?null:(0,i.jsxs)(y.o5,{priceType:e,children:[0!==a?(0,i.jsx)("hr",{className:(0,o.A)(j()["pane__price-divider"])}):null,(0,i.jsxs)("div",{className:(0,o.A)(j().pane__price,L?j()["pane__price--active"]:""),children:[(0,i.jsxs)("div",{className:(0,o.A)(j()["pane__price-row"]),children:[(0,i.jsxs)("button",{className:(0,o.A)(j()["pane__price-toggle"]),onClick:()=>C(e),title:e,"aria-expanded":L?"true":"false","aria-controls":e,children:[(0,i.jsxs)("span",{className:(0,o.A)(j()["pane__price-start"]),children:[(0,i.jsx)("span",{className:(0,o.A)(j()["pane__price-check"]),children:(0,i.jsx)(_.A,{icon:"check",className:(0,o.A)(j()["pane__price-check-icon"])})}),(0,i.jsx)("span",{className:(0,o.A)(j()["pane__price-title"]),children:p("vehicle.price.".concat(r()(e),".title"))}),["privateLease","businessLease","shortLease"].includes(e)&&"number"==typeof(null==(u=O.metadata)?void 0:u.duration)&&"number"==typeof(null==(x=O.metadata)?void 0:x.mileage)?(0,i.jsx)(f.A,{overlay:p("vehicle.price.lease.tooltip",{duration:m.number(O.metadata.duration,{style:"unit",unit:"month",unitDisplay:"long"}),mileage:m.number(O.metadata.mileage,{style:"unit",unit:"kilometer"})}),children:(0,i.jsx)(_.A,{icon:"info",style:{"--icon-size":16}})}):null,null==(V=O.includingVat)||V?null:(0,i.jsx)("span",{className:(0,o.A)(j()["pane__price-vat"]),children:p("vehicle.price.".concat(r()(e),".excluding_vat"))})]}),(0,i.jsxs)("span",{className:(0,o.A)(j()["pane__price-end"]),children:[O.previousValue?(0,i.jsx)("span",{className:(0,o.A)(j()["pane__price-previous-value"]),children:p("vehicle.price.".concat(r()(e),".value"),{value:O.previousValue})}):null,(0,i.jsx)("span",{className:(0,o.A)(j()["pane__price-value"]),children:p("vehicle.price.".concat(r()(e),".value"),{value:O.value})})]})]}),B||F?(0,i.jsx)(f.A,{overlay:(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:B||F}}),children:(0,i.jsx)(_.A,{icon:"info",className:(0,o.A)(j()["pane__price-tooltip-icon"])})}):null]}),s&&"purchase"===e&&O.previousValue&&O.value&&O.previousValue-O.value>0?(0,i.jsx)("span",{className:(0,o.A)(j()["pane__price-advantage"]),children:p("vehicle.price.purchase.advantage",{value:O.previousValue-O.value})}):null,"finance"===e?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{className:(0,o.A)(j()["pane__price-credit-table"]),onClick:()=>P(!0),children:(0,i.jsx)("span",{children:p("vehicle_detail.credit_table")})}),(0,i.jsx)(g.A,{title:p("vehicle_detail.credit_table_modal",{brand:k.brand,model:k.model}),financePrice:null==(A=k.displayPrices)?void 0:A.finance,open:S,close:()=>P(!1),disclaimer:null==(w=k.attributes)?void 0:w.financeDisclaimer,purchasePrice:null!=(I=null==(T=k.displayPrices)||null==(E=T.purchase)?void 0:E.value)?I:void 0})]}):null,(0,i.jsxs)(n.S,{isOpened:L,theme:{collapse:(0,o.A)(j()["pane__price-collapse"]),content:(0,o.A)(j()["pane__price-content"])},children:["purchase"===e?(0,i.jsx)(v,{}):null,(0,i.jsx)("div",{id:e,className:(0,o.A)(j()["pane__price-body"]),inert:!L,children:null==t||null==(M=t[e])?void 0:M.map((t,l)=>{var a,n,s,r,c,o,_,u,m,v,b,g,f,y,x,j,A,w,N,C;let S=t.href,P=t.target;if("buttonWhatsapp"===t.type&&t.addVehicleData&&k&&t.phoneNumber&&(S="https://wa.me/".concat(t.phoneNumber,"?text=").concat(encodeURIComponent(p("vehicle_detail.vehicle_interest",{merk:null!=(g=k.brand)?g:"",model:null!=(f=k.model)?f:"",kenteken:null!=(y=null==(_=k.attributes)?void 0:_.licensePlate)?y:"",voertuignummer:null!=(x=null==(u=k.attributes)?void 0:u.vehicleNumber)?x:"",hexonnummer:null!=(j=null==(m=k.attributes)?void 0:m.vehicleNumberHexon)?j:"",vestiging:null!=(A=null==(v=k.establishment)?void 0:v.name)?A:"",voertuigstaat:(null==(b=k.attributes)?void 0:b.vehicleState)?h("vehicleState",k.attributes.vehicleState):""}))),P="_blank"),"buttonLink"===t.type&&"{{signup_link}}"===t.href&&(null==(s=k.displayPrices)||null==(n=s[e])||null==(a=n.metadata)?void 0:a.signupLink))S=null==(C=k.displayPrices)||null==(N=C[e])||null==(w=N.metadata)?void 0:w.signupLink,P="_blank";else if("buttonLink"===t.type&&"{{signup_link}}"===t.href&&!(null==(o=k.displayPrices)||null==(c=o[e])||null==(r=c.metadata)?void 0:r.signupLink))return null;return(0,i.jsx)(d.default,{theme:t.theme,title:t.title,icon:t.icon,fullWidth:!0,formId:t.formId,onclick:t.onclick,href:S,target:P},l)})}),"finance"===e?(0,i.jsx)("div",{className:(0,o.A)(j()["pane__finance-banner"]),children:(0,i.jsx)(b.default,{})}):null]})]})]},e)})}):null}},44138:e=>{e.exports={"block--tabs":"BlockTabs_block--tabs__3wFTk",block__tabs:"BlockTabs_block__tabs__HVcDY","block__tabs--chip":"BlockTabs_block__tabs--chip__sZUD_","block__tabs--underline":"BlockTabs_block__tabs--underline__k6W6l",block__tab:"BlockTabs_block__tab__8eDAy","block__tab--chip":"BlockTabs_block__tab--chip__d7yyi","block__tab--active":"BlockTabs_block__tab--active__WQqQ0","block__tab--underline":"BlockTabs_block__tab--underline__4cnVY","block--tab-content":"BlockTabs_block--tab-content__S9wIm","block__tab-content":"BlockTabs_block__tab-content__2ag03","block__tab-content--active":"BlockTabs_block__tab-content--active__2JU0r"}},44163:(e,t,l)=>{"use strict";l.d(t,{A:()=>_});var i=l(95155),a=l(12115),n=l(76065);l(19711);var s=l(16522),r=l(79121),c=l(17384),o=l.n(c);function _(e){let{title:t,options:l,selected:c,onChange:_}=e,[d,u]=(0,a.useState)(!1);return(0,i.jsx)(n.A,{visible:d,onVisibleChange:u,trigger:"click",placement:"bottomRight",showArrow:!1,motion:{motionName:"fade",motionAppear:!0,motionEnter:!0,motionLeave:!0,onAppearEnd:()=>!1,onEnterEnd:()=>!1,onLeaveEnd:()=>!1},overlayClassName:(0,r.A)(o().dropdown),overlay:(0,i.jsx)("ul",{className:(0,r.A)(o().dropdown__options),children:l.map(e=>(0,i.jsx)("li",{children:(0,i.jsx)(s.A,{label:e.label,checked:c.includes(e.value),onChange:()=>{var t;return t=e.value,void _(c.includes(t)?c.filter(e=>e!==t):[...c,t])}})},e.value))}),children:(0,i.jsxs)("button",{type:"button",className:(0,r.A)(o().filter__toggle,c.length?o()["filter__toggle--active"]:""),"aria-expanded":d,children:[(0,i.jsx)("span",{children:t}),c.length?(0,i.jsx)("span",{className:(0,r.A)(o().filter__count),"aria-hidden":"true",children:c.length}):null]})})}},45255:(e,t,l)=>{"use strict";l.d(t,{default:()=>y});var i=l(95155),a=l(79121),n=l(18588),s=l(12115),r=l(43134),c=l(85402),o=l.n(c),_=l(46116),d=l.n(_),u=l(98463),p=l(54805),m=l(15239),h=l(55120),v=l(72346);let b=["svg","png","jpg"];function g(e){let{label:t,fallbackUrl:l,className:a}
1=e,[n,r]=(0,s.useState)(null);return((0,s.useEffect)(()=>{let e=!1,i=e=>(0,u.I)("https://datamotive-assets.s3.eu-central-1.amazonaws.com/shared/warranty/".concat(t.type,"/").concat(t.id,".").concat(e),{force_format:"original"}).href;return(async()=>{for(let t of b){let l=i(t);try{let t=await fetch(l,{method:"HEAD"});if(e)return;if(t.ok)return void r(l)}catch(t){if(e)return}}e||r(l)})(),()=>{e=!0}},[t.type,t.id,l]),n)?(0,i.jsx)(m.default,{className:a,src:n,width:100,height:100,alt:t.name,unoptimized:!0,onError:()=>{n!==l&&r(l)}}):null}let f=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);function y(e){let{columnsPerView:t=1,widths:l}=e,{config:s}=(0,v.t)(),c=(0,n.v8)(),_=(0,r.A)();if(!c)return null;let{factoryWarrantyKm:m,factoryWarrantyMonths:b,factoryWarrantyUntil:y,warrantyKm:x,warrantyMonths:k,hundredPercentMaintained:j,warrantyLabels:A}=c.attributes,w="true"===(0,h.A)("APP_TEST_MODE")?
1"/placeholder.svg":(0,u.I)(null==s?void 0:s.logoLightBackgroundUrl,{force_format:"original"}).href,N=t/l.lg,C=f(N*l.md/2),S=f(N*l.sm/4);return(0,i.jsx)("div",{className:(0,a.A)(o().block,o()["block--text-like"]),children:(0,i.jsxs)("div",{className:(0,a.A)(d().warranties),style:{"--columns-per-view-sm":S,"--columns-per-view-md":C,"--columns-per-view-lg":t},children:[m||b||y?(0,i.jsxs)("div",{className:(0,a.A)(d().warranty),children:[(0,i.jsx)(p.default,{className:(0,a.A)(d().warranty__media),src:"true"===(0,h.A)("APP_TEST_MODE")?
1"/placeholder.svg":(0,u.I)(null==s?void 0:s.logoLightBackgroundUrl,{force_format:"original"}).href,alt:_("vehicle_detail.warranty.factory.title")}),(0,i.jsxs)("div",{className:(0,a.A)(d().warranty__body),children:[(0,i.jsx)("span",{className:(0,a.A)(d().warranty__title),children:_("vehicle_detail.warranty.factory.title")}),(0,i.jsx)("span",{className:(0,a.A)(d().warranty__description),children:_("vehicle_detail.warranty.factory.description_".concat(y?m?"date_km":"date":b?m?"months_km":"months":m?"km":""),{date:y?new Date(y):void 0,kilometers:m,months:b})})]})]}):null,x||k?(0,i.jsxs)("div",{className:(0,a.A)(d().warranty),children:[(0,i.jsx)(p.default,{className:(0,a.A)(d().warranty__media),src:"true"===(0,h.A)("APP_TEST_MODE")?
1"/placeholder.svg":(0,u.I)
1(null==s?void 0:s.logoLightBackgroundUrl,{force_format:"original"}).href,alt:_("vehicle_detail.warranty.dealer.title")}),(0,i.jsxs)("div",{className:(0,a.A)(d().warranty__body),children:[(0,i.jsx)("span",{className:(0,a.A)(d().warranty__title),children:_("vehicle_detail.warranty.dealer.title")}),(0,i.jsx)("span",{className:(0,a.A)(d().warranty__description),children:_("vehicle_detail.warranty.dealer.description_".concat(k?x?"months_km":"months":x?"km":""),{kilometers:x,months:k})})]})]}):null,(null!=A?A:[]).map(e=>(0,i.jsxs)("div",{className:(0,a.A)(d().warranty),children:[(0,i.jsx)(g,{className:(0,a.A)(d().warranty__media),label:e,fallbackUrl:w}),(0,i.jsxs)("div",{className:(0,a.A)(d().warranty__body),children:[(0,i.jsx)("span",{className:(0,a.A)(d().warranty__title),children:e.name}),e.months?(0,i.jsx)("span",{className:(0,a.A)(d().warranty__description),children:_("vehicle_detail.warranty.label_months",{months:e.months})}):null]})]},"".concat(e.type,":").concat(e.id))),j?(0,i.jsxs)("div",{className:(0,a.A)(d().warranty),children:[(0,i.jsx)(p.default,{className:(0,a.A)(d().warranty__media),src:(0,u.I)("https://datamotive-assets.s3.eu-central-1.amazonaws.com/shared/icons/100_procent_onderhouden.svg",{force_format:"original"}).href,alt:_("vehicle_detail.warranty.100_percent_maintained.title")}),(0,i.jsxs)("div",{className:(0,a.A)(d().warranty__body),children:[(0,i.jsx)("span",{className:(0,a.A)(d().warranty__title),children:_("vehicle_detail.warranty.100_percent_maintained.title")}),(0,i.jsx)("span",{className:(0,a.A)(d().warranty__description),children:_("vehicle_detail.warranty.100_percent_maintained.description")})]})]}):null]})})}},45279:(e,t,l)=>{"use strict";l.d(t,{default:()=>y});var i=l(95155),a=l(79121),n=l(57495),s=l(6094),r=l(85402),c=l.n(r),o=l(59491),_=l(60115),d=l(57523),u=l(84795),p=l(12115),m=l(54452),h=l(20463),v=l.n(h),b=l(72346),g=l(64378);let f=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);function y(e){var t;let{cardTheme:l,buttonHidden:r,buttonTitle:h,buttonTheme:y,buttonSize:x,publishedDateVisible:k=!1,pages:j=[],columnsPerView:A=1,widths:w,likelyLCP:N,...C}=e,S=null!=(t=null==C?void 0:C.limit)?t:12,P=(0,p.useRef)(null),E=Math.ceil(j.length/S),[T,M]=(0,p.useState)(1);(0,p.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("page");e&&M(Math.max(Math.min(Number(e),E),1))},[E]);let V=A/w.lg,I=f(V*w.md/2),O=f(V*w.sm/4),{origin:L,locale:F}=(0,b.t)();return(0,p.useEffect)(()=>{window.history.replaceState({},document.title,"".concat(location.pathname).concat(v().stringify({...location.search.replace("?","").split("&").filter(e=>""!==e&&!e.startsWith("page=")).reduce((e,t)=>{let[l,...i]=t.split("=");return e[l]=i.join("="),e},{}),page:T>1?T:void 0},{addQueryPrefix:!0})))},[T]),(0,i.jsxs)("div",{ref:P,className:(0,a.A)(c().block),children:[(0,i.jsx)(n.A,{children:j.slice((T-1)*S,T*S).map((e,t)=>{var a,n;let{id:c,authored:p,content:{images:m,title:v,text:b,buttonTitle:f,url:j}}=e;f=h||f;let C=null==m?void 0:m.at(0),S=k?(0,g.A)(p,F):"",P={sm:w.sm/O,md:w.md/I,lg:w.lg/A},E=null!=j?j:"",T=(E.match(/:\/\//g)||[]).length>1?E.replace(L,""):E,M={type:"link",href:T,title:f,target:"_self"};return(0,i.jsx)(s.A,{verticalAlignment:"stretch",span:{sm:12/O,md:12/I,lg:12/A},children:(0,i.jsx)(d.A,{theme:l,media:(null==C?void 0:C.imageUrl)?(0,i.jsx)(o.A,{action:M,tabIndex:-1,children:(0,i.jsx)(u.A,{likelyLCP:N&&0===t,url:C.imageUrl,alt:C.description,title:C.title,objectPosition:{x:(null!=(a=C.focusPointX)?a:1)*50,y:(null!=(n=C.focusPointY)?n:1)*50},mimeType:C.mimeType,ratio:"filled"===l?2/3:1.5,width:"".concat(P.sm,"cw"),breakpoints:{md:{width:"".concat(P.md,"cw")},lg:{width:"".concat(P.lg,"cw")}}})}):null,date:S||null,title:v?(0,i.jsx)(o.A,{action:M,children:v}):null,text:b?(0,i.jsx)(o.A,{action:M,tabIndex:-1,children:b}):null,cta:!r&&f?(0,i.jsx)(_.default,{fullWidth:"regular"===l,theme:y,size:x,title:f,href:T}):null})},c)})}),E>1?(0,i.jsx)(m.A,{pageCount:E,page:T,setPage:e=>{var t;M(e),null==(t=P.current)||t.scrollIntoView({behavior:"smooth"})}}):null]})}},45362:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var i=l(95155),a=l(34471),n=l(79121),s=l(85483),r=l(85402),c=l.n(r);function o(e){let{likelyLCP:t,...l}=e;return(0,i.jsx)("div",{className:(0,n.A)(c().block,c()["block--swiper"]),children:(0,i.jsx)(s.A,{renderSlide:(e,l,n)=>(0,i.jsx)(a.A,{blocks:[e],widths:l,likelyLCP:t&&0===n}),...l})})}},45804:(e,t,l)=>{"use strict";l.d(t,{Ay:()=>a,oh:()=>n});var i=l(60919);function a(e){var t;return(0,i.F0)(e)&&(null==(t=e.response)?void 0:t.status)===404}function n(e){var t;if(!(0,i.F0)(e))return e instanceof Error?e:Error(String(e));let l=Error(e.message);l.name=e.name,l.stack=e.stack;let a=null==(t=e.response)?void 0:t.status;return"number"==typeof a&&Object.assign(l,{status:a}),l}},46116:e=>{e.exports={warranties:"BlockVehicleWarranties_warranties__PAlcH",warranty:"BlockVehicleWarranties_warranty__rQigA",warranty__media:"BlockVehicleWarranties_warranty__media__k4TR5",warranty__title:"BlockVehicleWarranties_warranty__title__5nWFY",warranty__description:"BlockVehicleWarranties_warranty__description__X1IZ_"}},46901:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(24089),n=l(33171),s=l(84795),r=l(79121),c=l(60115),o=l(1792),_=l(58744),d=l(85402),u=l.n(d),p=l(55041);function m(e){var t,l,d;let{image:m,text:h,buttons:v=[],widths:b,editionId:g,actions:f=[],modelCardSnippet:y,likelyLCP:x}=e,{editions:k}=(0,_.l)(),j=k.find(e=>e.id===g);if(!j)return null;let{priceTypes:A=[],showBrandAndModel:w=!1}=null!=(t=null==y?void 0:y.content)?t:{};return(0,i.jsx)("div",{className:(0,r.A)(u().block,u()["block--card"],u()["block--edition"]),children:(0,i.jsx)(p.CM,{priceTypes:(null==A?void 0:A.length)?A:["purchase","finance","businessFinance","privateLease","businessLease","addition"],showBrandAndModel:w,children:(0,i.jsx)(n.A,{...j,media:(null==m?void 0:m.imageUrl)?(0,i.jsx)(s.A,{likelyLCP:x,url:m.imageUrl,alt:m.description,title:m.title,objectPosition:{x:(null!=(l=m.focu
1sPointX)?l:1)*50,y:(null!=(d=m.focusPointY)?d:1)*50},mimeType:m.mimeType,ratio:1.5,width:"".concat(b.sm,"cw"),breakpoints:{md:{width:"".concat(b.md,"cw")},lg:{width:"".concat(b.lg,"cw")}}}):null,text:h?(0,a.Ay)(h):null,cta:v.length>0?v.map((e,t)=>(0,i.jsx)(c.default,{...e,type:void 0,fullWidth:!0},t)):null,action:(0,o.I)(f,v)})})})}},47434:(e,t,l)=>{"use strict";l.d(t,{xt:()=>p,Dc:()=>m,U5:()=>c,Fz:()=>u,Mx:()=>o,ag:()=>_,vs:()=>d});var i=l(82496),a=l(55120),n=l(3369),s=l(98988);function r(){let{token:e,setToken:t}=s.H_.getState(),l=n.A.create({baseURL:"".concat((0,a.A)("DATAMOTIVE_API_ENDPOINT"),"/api/v1/b2b"),headers:{authorization:"Bearer ".concat(e)}});return l.interceptors.response.use(e=>e,async e=>{var l;return(null==(l=e.response)?void 0:l.status)===401&&t(null),Promise.reject(e)}),l}let c=async(e,t)=>(0,i.A)().post("".concat((0,a.A)("DATAMOTIVE_API_ENDPOINT"),"/api/b2b/token"),{username:e,password:t,tenant:(0,a.A)("TENANT")}).then(e=>e).catch(e=>Promise.reject(e)),o=async(e,t,l)=>(0,i.A)().put("/b2b/current/password-forget",{email:e,resetUrl:t.href,tenant:(0,a.A)("TENANT")},{headers:{"accept-language":l}}).then(e=>e).catch(e=>Promise.reject(e)),_=async(e,t)=>(0,i.A)().put("/b2b/current/password-reset",{password:e},{headers:{authorization:"Bearer ".concat(t)}}).then(e=>e).catch(e=>Promise.reject(e)),d=async(e,t)=>(0,i.A)().put("/b2b/current/set-password",{password:e},{headers:{authorization:"Bearer ".concat(t)}}).then(e=>e).catch(e=>Promise.reject(e)),u=async(e,t)=>r().put("/current/change-password",{password:e,newPassword:t}).then(e=>e).catch(e=>Promise.reject(e)),p=async()=>r().get("/current/user").then(e=>e).catch(e=>Promise.reject(e)),m=async e=>r().get("/vehicle/".concat(e,"/prices")).then(e=>e).catch(e=>Promise.reject(e))},47540:e=>{e.exports={"ai-search":"VehicleOverviewAiSearch_ai-search__iVlCO","ai-search__form":"VehicleOverviewAiSearch_ai-search__form__dVUHZ","ai-search__icon":"VehicleOverviewAiSearch_ai-search__icon__wM4D5","ai-search__input":"VehicleOverviewAiSearch_ai-search__input__jm1cT","ai-search__clear":"VehicleOverviewAiSearch_ai-search__clear__sUD9L","ai-search__clear--hidden":"VehicleOverviewAiSearch_ai-search__clear--hidden__ZwsnF","ai-search__button":"VehicleOverviewAiSearch_ai-search__button__EiJoq","ai-search__reason":"VehicleOverviewAiSearch_ai-search__reason__yAMy9","ai-search__error":"VehicleOverviewAiSearch_ai-search__error__JBO21"}},48470:(e,t,l)=>{"use strict";l.d(t,{A:()=>d});var i=l(95155),a=l(97725),n=l(79121),s=l(47605),r=l(55580),c=l(12115),o=l(58845),_=l.n(o);function d(e){let{children:t}=e,l=(0,c.useRef)(null),o=(0,a.A)("mediaAnimation","none");return(0,c.useEffect)(()=>{s.os.registerPlugin(r.u);let e=l.current;e&&s.os.fromTo(e,{"--scroll-animation-progress":0},{"--scroll-animation-progress":1,ease:"none",scrollTrigger:{trigger:e,start:"top bottom",end:()=>"bottom ".concat(getComputedStyle(document.documentElement).getPropertyValue("--header-sticky-height")||"0px"),scrub:.3}})},[]),(0,i.jsx)("div",{ref:"none"!==o?l:void 0,className:(0,n.A)(_()["scroll-animation"],_()["scroll-animation--".concat(o)]),children:t})}},48534:(e,t,l)=>{"use strict";l.d(t,{A:()=>_});var i=l(95155),a=l(84795),n=l(79121),s=l(95415),r=l(55120),c=l(65733),o=l.n(c);function _(e){var t;let{title:l,type:c,url:_,widths:d}=e;return _&&"image"===c?(0,i.jsxs)("div",{className:(0,n.A)(o()["vehicle-highlight"]),children:[(0,i.jsx)(a.A,{url:_,alt:l,title:l,objectPosition:{x:50,y:50},ratio:Number(null!=(t=(0,r.A)("STOCK_IMAGE_ASPECT_RATIO"))?t:1.5),width:"".concat(d.sm,"cw"),breakpoints:{md:{width:"".concat(d.md,"cw")},lg:{width:"".concat(d.lg,"cw")}}}),(0,i.jsxs)("div",{className:(0,n.A)(o()["vehicle-highlight__content"]),children:[(0,i.jsx)("div",{className:(0,n.A)(o()["vehicle-highlight__icon-container"]),children:(0,i.jsx)(s.A,{icon:"star",className:(0,n.A)(o()["vehicle-highlight__icon"])})}),l?(0,i.jsx)("div",{className:(0,n.A)(o()["vehicle-highlight__text-container"]),children:(0,i.jsx)("span",{className:(0,n.A)(o()["vehicle-highlight__text"]),children:l})}):null]})]}):null}},49399:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var i=l(95155),a=l(79121),n=l(38572),s=l.n(n);function r(e){let{className:t,children:l}=e;return(0,i.jsx)("div",{className:(0,a.A)(s().panel,t),children:l})}},49570:e=>{e.exports={wrapper:"VehicleSearchFieldCheckboxes_wrapper__3IhjH"}},50230:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>f});var i=l(95155),a=l(12115),n=l(18588),s=l(79121),r=l(84795),c=l(60115),o=l(55120),_=l(3369);let d=async e=>_.A.get("https://taggleauto.movieplayer.nl/tg/".concat(e),{}).then(()=>!0).catch(()=>!1);var u=l(88830),p=l(54805),m=l(98463),h=l(89183),v=l(95604),b=l(78585),g=l.n(b);function f(e){var t,l,_,b,f,y;let{primaryMedia:x="image",secondaryMedia:k,widths:j,rotoviewUrl:A}=e,w=(0,v.useTranslations)(),N=(0,n.v8)(),C=(0,h.m)(),[S,P]=(0,a.useState)(0),[E,T]=(0,a.useState)(!1),[M,V]=(0,a.useState)([...(null==N||null==(t=N.attributes)?void 0:t.spinnerUrl)?[{show:"photo-motion"===x,type:"photo-motion",url:N.attributes.spinnerUrl}]:[],...A?[{show:"rotoview"===x,type:"rotoview",url:A}]:[],...null!=(b=null==N?void 0:N.media.map(e=>
1({...e,show:["image","youtube"].includes(e.type)})))?b:[]]);if((0,a.useEffect)(()=>{M.filter(e=>!e.show).forEach(e=>{if("taggle"!==e.type)return;let t=e.id;d(t).then(e=>{e&&V(e=>{let l=e.find(e=>"taggle"===e.type&&e.id===t);return l&&(l.show=!0),[...e]})})})},[]),!N)return null;let{position:I="block-end",numberOfColumns:O=4,numberOfRows:L=1}=null!=k?k:{},F=Math.max("inline-end"===I?O+L:O,1),B=Math.max("block-end"===I?L+O:L,1),z="block-end"===I?F:B;return(0,i.jsxs)("div",{className:(0,s.A)(g().wrapper),children:[(0,i.jsx)("div",{className:(0,s.A)(g().grid),style:{"--columns":F,"--rows":B,"--primary-media-size":z,"--stock-image-aspect-ratio":Number(null!=(f=(0,o.A)("STOCK_IMAGE_ASPECT_RATIO"))?f:1.5)},children:M.filter(e=>e.show&&["image","photo-motion","rotoview","youtube"].includes(e.type)).slice(0,Math.max(O*L+1,4)).map((e,t)=>{if("image"===e.type||"youtube"===e.type){var l;return("image"!==e.type||e.url)&&("youtube"!==e.type||e.id)?(0,i.jsx)("div",{className:(0,s.A)(g().media,t>=4?g()["media--mobile-hidden"]:"",t>=O*L+1?g()["media--desktop-hidden"]:""),onClick:()=>{P(M.filter(e=>e.show&&["image","taggle","youtube"].includes(e.type)).indexOf(e)),T(!0)},children:(0,i.jsx)(r.A,{likelyLCP:0===t,url:"youtube"===e.type?"https://img.youtube.com/vi_webp/".concat(e.id,"/mqdefault.webp"):e.url,ratio:Number(null!=(l=(0,o.A)("STOCK_IMAGE_ASPECT_RATIO"))?l:1.5),width:"".concat(j.sm/4*(0===t?4:1),"cw"),objectFit:"contain",breakpoints:{md:{width:"".concat(j.md/F*(0===t?z:1),"cw")},lg:{width:"".concat(j.lg/F*(0===t?z:1),"cw")}},className:(0,s.A)(g().image),style:{objectFit:"cover"},alt:w("vehicle_detail.image_alt",{brand:N.brand,model:N.model,edition:N.edition,index:t+1})})},t):null}return"photo-motion"===e.type||"rotoview"===e.type?(0,i.jsx)("div",{className:(0,s.A)(g().media),children:(0,i.jsx)("iframe",{style:{border:"none",width:"100%",height:"100%",borderRadius:"var(--media-border-radius)"},src:e.url,allowFullScreen:!0,scrolling:"no",allow:"gyroscope; accelerometer"})},t):null})}),C.includes("pane-vehicle-photo-motion")&&(null==(l=N.attributes)?void 0:l.spinnerUrl)?(0,i.jsx)(c.default,{icon:"360",theme:"white",size:"sm",title:w("vehicle_detail.view_in_360"),href:"#pane-vehicle-photo-motion",className:(0,s.A)(g()["media-360-anchor"])}):null,(0,i.jsx)(c.default,{showIcon:!1,theme:"white",size:"sm",title:w("vehicle_detail.all_media"),className:(0,s.A)(g()["all-media-button"],(null==(_=N.attributes)?void 0:_.spinnerUrl)?g()["all-media-button--mobile-left"]:""),onClick:()=>{P(0),T(!0)}}),(0,i.jsx)(u.A,{aspectRatio:Number(null!=(y=(0,o.A)("STOCK_IMAGE_ASPECT_RATIO"))?y:1.5),open:E,close:()=>T(!1),initialSlide:S,slides:M.filter(e=>e.show&&["image","taggle","youtube"].includes(e.type)),renderSlide:(e,t)=>"image"===e.type?(0,i.jsx)("div",{className:(0,s.A)("swiper-zoom-container"),children:(0,i.jsx)("div",{className:(0,s.A)("swiper-zoom-target",g()["gallery__zoom-target"]),children:(0,i.jsx)(p.default,{src:e.url?(0,m.I)(e.url,{force_format:"webp"}).href:"",alt:w("vehicle_detail.image_alt",{brand:N.brand,model:N.model,edition:N.edition,index:t+1}),style:{blockSize:"100%",objectFit:"scale-down"}})})}):"taggle"===e.type?(0,i.jsx)("iframe",{src:"https://taggleauto.movieplayer.nl/tg/".concat(e.id),style:{border:"none"},allowFullScreen:!0,width:"100%",height:"100%"}):"youtube"===e.type?(0,i.jsx)("div",{className:(0,s.A)(g().gallery__youtube),children:(0,i.jsx)("iframe",{loading:"lazy",style:{aspectRatio:16/9,border:"none"},src:"https://www.youtube.com/embed/".concat(null==e?void 0:e.id),allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}):null,renderThumb:e=>{var t,l,a,n;return"image"===e.type||"youtube"===e.type?(0,i.jsx)(r.A,{className:(0,s.A)(g().gallery__image),url:"youtube"===e.type?"https://img.youtube.com/vi_webp/".concat(e.id,"/mqdefault.webp"):e.url||"",ratio:Number(null!=(t=(0,o.A)("STOCK_IMAGE_ASPECT_RATIO"))?t:1.5),width:"".concat(64*Number(null!=(l=(0,o.A)("STOCK_IMAGE_ASPECT_RATIO"))?l:1.5),"px"),objectFit:"contain",alt:""}):"taggle"===e.type?(0,i.jsx)(r.A,{className:(0,s.A)(g().gallery__image),url:"https://taggleauto.movieplayer.nl/tg/".concat(e.id,"/medium"),ratio:Number(null!=(a=(0,o.A)("STOCK_IMAGE_ASPECT_RATIO"))?a:1.5),width:"".concat(64*Number(null!=(n=(0,o.A)("STOCK_IMAGE_ASPECT_RATIO"))?n:1.5),"px"),objectFit:"contain",alt:""}):null}})]})}},51119:e=>{e.exports={"establishment-cards":"EstablishmentCards_establishment-cards__OB8FB",filters:"EstablishmentCards_filters__BoOP1",grid:"EstablishmentCards_grid____SGu",grid__item:"EstablishmentCards_grid__item__GJ2fH",empty:"EstablishmentCards_empty__zC_2x"}},51151:e=>{e.exports={modal__overlay:"VehicleAttributesModal_modal__overlay__RyolA",modal__body:"VehicleAttributesModal_modal__body__c1Zvj",chips:"VehicleAttributesModal_chips__aJtUY",chip:"VehicleAttributesModal_chip__n8Dpi","chip--active":"VehicleAttributesModal_chip--active__6LWIp",specs:"VehicleAttributesModal_specs__HCkt_",specs__title:"VehicleAttributesModal_specs__title__RBXvV",specs__list:"VehicleAttributesModal_specs__list__UHGve",spec:"VehicleAttributesModal_spec__pY1Bm",spec__title:"VehicleAttributesModal_spec__title__gWLub",spec__value:"VehicleAttributesModal_spec__value__rLib2","accessory-groups":"VehicleAttributesModal_accessory-groups__63ctw","accessory-group":"VehicleAttributesModal_accessory-group__7bHhh","accessory-group__title":"VehicleAttributesModal_accessory-group__title__CBlUF","accessory-group__accessories":"VehicleAttributesModal_accessory-group__accessories__9slQS","accessory-group__accessory":"VehicleAttributesModal_accessory-group__accessory__jMm64",description:"VehicleAttributesModal_description__ABC_z",description__title:"VehicleAttributesModal_description__title__DBUnw"}},51740:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var i=l(95155),a=l(18588),n=l(79121),s=l(60115),r=l(12115),c=l(460),o=l(95604),_=l(16370),d=l.n(_),u=l(85402),p=l.n(u),m=l(8109);function h(){let e=(0,o.useTranslations)(),[t,l]=(0,r.useState)(!1),_=(0,a.v8)(),u=(0,m.A)();return _&&(_.attributes.comments||_.attributes.description)?(0,i.jsxs)("div",{className:(0,n.A)(p().block,p()["block--text-like"]),children:[(0,i.jsx)("p",{className:(0,n.A)(d().pane__text),dangerouslySetInnerHTML:{__html:_.attributes.comments||_.attributes.description}}),(0,i.jsx)(s.default,{theme:"outlined",title:e("vehicle_detail.description"),icon:"north_east",onClick:()=>{u("bike_description_read_more"),l(!0)}}),(0,i.jsx)(c.A,{defaultTab:"description",open:t,close:()=>l(!1),vehicle:_})]}):null}},53677:(e,t,l)=>{"use strict";l.d(t,{default:()=>v});var i=l(95155),a=l(30519),n=l(79121),s=l(35706),r=l(12115),c=l(75598),o=l(97315),_=l(95415),d=l(13521),u=l(95604),p=l(28806),m=l.n(p),h=l(85637);function v(e){let{id:t,backgrounds:[l]=[]}=e,p=(0,u.useTranslations)(),{departments:v}=(0,a.C)(),[b,g]=(0,r.useState)(null),[f,y]=(0,r.useState)(null),[x,k]=(0,r.useState)(!1),j=(0,o.A)("md");return(0,r.useEffect)(()=>{k(!0);let e=new Date;y("".concat(String(e.getHours()).padStart(2,"0"),":").concat(String(e.getMinutes()).padStart(2,"0")))},[]),(0,i.jsx)(d.default,{id:t,background:l,children:(0,i.jsxs)("div",{tabIndex:-1,id:"establishment-opening-times",className:(0,n.A)(m()["pane--opening-times"]),children:[(0,i.jsx)("p",{className:(0,n.A)("h3",m()["pane--opening-times__title"]),children:p("opening_times.title")}),(0,i.jsx)("div",{className:(0,n.A)(m().departments),children:v.map((e,t)=>{let l=x&&j||b===t;return(0,i.jsxs)("div",{className:(0,n.A)(m().department),children:[(0,i.jsxs)("button",{className:(0,n.A)(m()["opening-times__group-toggle"],l?m()["opening-times__group-toggle--opened"]:""),onClick:()=>g(l&&!j?null:t),title:e.name,"aria-expanded":l?"true":"false",children:[(0,i.jsx)(_.A,{icon:"expand_more",className:(0,n.A)(m()["opening-times__group-icon"])}),(0,i.jsx)("span",{className:(0,n.A)(m()["opening-times__group-title"]),children:e.name})]}),(0,i.jsx)(c.S,{isOpened:l,theme:{collapse:(0,n.A)(m()["opening-times__group-collapse"]),content:(0,n.A)(m()["opening-times__group-content"])},children:(0,i.jsx)("div",{className:(0,n.A)(m()["opening-times"]),children:Object.keys(e.openingTimes).map(t=>{var l,a;let c=e.openingTimes[t],o=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"][new Date().getDay()]===t,d=c.closed;return f&&!d&&(d=!(0,s.aG)(null!=(l=c.slots)?l:[{from:c.from,till:c.till}],f)),(0,i.jsxs)("div",{className:(0,n.A)(m().opening__time,o?m()["opening__time--today"]:""),children:[(0,i.jsx)("span",{className:(0,n.A)(m()["opening__time-status"],f&&o?d?m()["opening__time-status--closed"]:m()["opening__time-status--open"]:"")}),(0,i.jsx)("span",{children:p("opening_times.days.".concat(t))}),(0,i.jsx)("span",{children:c.closed?p("opening_times.closed"):(null!=(a=c.slots)?a:[{from:c.from,till:c.till}]).map((e,t)=>(0,i.jsxs)(r.Fragment,{children:["".concat(e.from," - ").concat(e.till),(0,i.jsx)("br",{})]},"slot-".concat(t)))}),(0,i.jsx)("span",{children:c.remark?(0,i.jsx)(h.A,{overlay:c.remark,children:(0,i.jsx)(_.A,{icon:"info",className:(0,n.A)(m()["opening__time-remark-icon"])})}):null})]},t)})})},x?"mounted":"unmounted")]},t)})})]})})}},54452:(e,t,l)=>{"use strict";l.d(t,{A:()=>p});var i=l(95155),a=l(25766),n=l.n(a),s=l(79121),r=l(95415),c=l(95604),o=l(40936),_=l.n(o),d=l(35815),u=l.n(d);function p(e){let{pageCount:t,page:l,setPage:a}=e,o=(0,c.useTranslations)();return(0,i.jsx)(n(),{pageCount:t,pageRangeDisplayed:1,marginPagesDisplayed:2,previousLabel:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.A,{icon:"west",className:(0,s.A)(_().button__icon)}),(0,i.jsx)("span",{className:(0,s.A)(u()["pagination__link-text"]),children:o("pagination.previous")})]}),nextLabel:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:(0,s.A)(u()["pagination__link-text"]),children:o("pagination.next")}),(0,i.jsx)(r.A,{icon:"east",className:(0,s.A)(_().button__icon)})]}),breakLabel:o("pagination.break"),containerClassName:(0,s.A)(u().pagination),previousClassName:(0,s.A)(u().pagination__item,u()["pagination__item--previous"]),pageClassName:(0,s.A)(u().pagination__item),breakClassName:(0,s.A)(u().pagination__item),nextClassName:(0,s.A)(u().pagination__item,u()["pagination__item--next"]),previousLinkClassName:(0,s.A)(_().button,u().pagination__link),pageLinkClassName:(0,s.A)(_().button,u().pagination__link),breakLinkClassName:(0,s.A)(_().button,u().pagination__link),activeLinkClassName:(0,s.A)(_().button,_()["button--square"],u().pagination__link,u()["pagination__link--active"]),nextLinkClassName:(0,s.A)(_().button,u().pagination__link),disabledLinkClassName:(0,s.A)(u()["pagination__link--disabled"]),onPageChange:e=>{let{selected:t}=e;a(t+1)},forcePage:l-1,hrefBuilder:e=>"?page=".concat(e),renderOnZeroPageCount:()=>null})}},54575:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var i=l(95155),a=l(79121),n=l(88779),s=l(85402),r=l.n(s),c=l(93321);function o(e){var t;let{specificationKey:l}=e,s=(0,c.qC)();if(!s)return null;let o=null==(t=s.attributes)?void 0:t[l];if(null==o||""===o)return null;let _="string"==typeof o?(0,n.A)(o):String(o);return(0,i.jsx)("div",{className:(0,a.A)(r().block,r()["block--text-like"]),dangerouslySetInnerHTML:{__html:_}})}},54695:e=>{e.exports={"form-inline__finance-banner":"FormInline_form-inline__finance-banner__6_CUE"}},55041:(e,t,l)=>{"use strict";l.d(t,{CM:()=>s,yy:()=>r});var i=l(95155),a=l(12115);let n=a.createContext({priceTypes:["purchase","finance","businessFinance","privateLease","businessLease","addition"],showBrandAndModel:!1});function s(e){let{children:t,...l}=e;return(0,i.jsx)(n.Provider,{value:l,children:t})}let r=()=>(0,a.useContext)(n)},55761:e=>{e.exports={filters:"VehicleOverviewFiltersHorizontal_filters__9ioeT",filters__items:"VehicleOverviewFiltersHorizontal_filters__items__tlhh4","filters__items--open":"VehicleOverviewFiltersHorizontal_filters__items--open__p2Uoh",filters__button:"VehicleOverviewFiltersHorizontal_filters__button__sQa91",filter:"VehicleOverviewFiltersHorizontal_filter__bzbOV",filter__toggle:"VehicleOverviewFiltersHorizontal_filter__toggle__mBtk1","filter__toggle--active":"VehicleOverviewFiltersHorizontal_filter__toggle--active__hU3Nm",filter__count:"VehicleOverviewFiltersHorizontal_filter__count__24vZu",dropdown:"VehicleOverviewFiltersHorizontal_dropdown__oK
1p_Y",dropdown__header:"VehicleOverviewFiltersHorizontal_dropdown__header__o9wWx",dropdown__title:"VehicleOverviewFiltersHorizontal_dropdown__title__LEz_h",dropdown__body:"VehicleOverviewFiltersHorizontal_dropdown__body__WhGig",dropdown__footer:"VehicleOverviewFiltersHorizontal_dropdown__footer___9fZm"}},56990:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var i=l(95155),a=l(79121),n=l(13941),s=l.n(n);function r(e){let{children:t}=e;return(0,i.jsx)("div",{className:(0,a.A)(s().masonry),children:t})}},57013:(e,t,l)=>{"use strict";l.d(t,{default:()=>_});var i=l(95155),a=l(24089),n=l(78509),s=l(80774),r=l(55041),c=l(38550),o=l.n(c);function _(e){var t;let{id:l,text:c="",backgrounds:[_]=[],slidesPerView:d=3,buttons:u=[],modelCardSnippet:p}=e,{editions:m=[],deliverable:h}=(0,n.Q)();if(!h||!m||0===m.length)return null;let{priceTypes:v=[],showBrandAndModel:b=!1}=null!=(t=null==p?void 0:p.content)?t:{};return(0,i.jsxs)("div",{children:[c&&(0,i.jsx)("div",{className:o().text,children:(0,a.Ay)(c)}),(0,i.jsx)(r.CM,{priceTypes:(null==v?void 0:v.length)?v:["purchase","finance","businessFinance","privateLease","businessLease","addition"],showBrandAndModel:b,children:(0,i.jsx)(s.A,{slides:m.sort((e,t)=>{var l;return(e.prices.purchase.value||0)-((null==(l=t.prices)?void 0:l.purchase.value)||0)}),slidesPerView:d,buttons:u,widths:{sm:100,md:100,lg:100}})})]})}},57088:e=>{e.exports={"establishment-overview-wrapper":"EstablishmentOverview_establishment-overview-wrapper__tqiit",filters:"EstablishmentOverview_filters__6Fxe9","establishment-overview":"EstablishmentOverview_establishment-overview___v2kP","establishment-overview--auto-height":"EstablishmentOverview_establishment-overview--auto-height__yXjNp","establishment-overview__map-wrapper":"EstablishmentOverview_establishment-overview__map-wrapper__exL67","establishment-overview__map":"EstablishmentOverview_establishment-overview__map__YNw6o"}},57187:e=>{e.exports={card__body:"ContentCard_card__body__hPeEq","background--theme-white":"ContentCard_background--theme-white__qa35f","background--theme-light":"ContentCard_background--theme-light__ZgkSP","background--theme-dark":"ContentCard_background--theme-dark__sRitq","background--theme-primary":"ContentCard_background--theme-primary__A8oy3","background--theme-secondary":"ContentCard_background--theme-secondary__qrV_S","background--theme-tertiary":"ContentCard_background--theme-tertiary__PwNGz","background--theme-primary-40-white":"ContentCard_background--theme-primary-40-white__ba2ft","background--theme-primary-80-white":"ContentCard_background--theme-primary-80-white__y28JF","background--theme-secondary-40-white":"ContentCard_background--theme-secondary-40-white__hm_pm","background--theme-secondary-80-white":"ContentCard_background--theme-secondary-80-white__3ZEiJ","background--theme-tertiary-40-white":"ContentCard_background--theme-tertiary-40-white__C5e2P","background--theme-tertiary-80-white":"ContentCard_background--theme-tertiary-80-white__Fl1OP","background--theme-primary-40-black":"ContentCard_background--theme-primary-40-black__P2paO","background--theme-primary-80-black":"ContentCard_background--theme-primary-80-black__iwkiT","background--theme-secondary-40-black":"ContentCard_background--theme-secondary-40-black__aCobt","background--theme-secondary-80-black":"ContentCard_background--theme-secondary-80-black__8lAX8","background--theme-tertiary-40-black":"ContentCard_background--theme-tertiary-40-black__bMIgE","background--theme-tertiary-80-black":"ContentCard_background--theme-tertiary-80-black__9QSGZ",pattern__placeholder:"ContentCard_pattern__placeholder__mQ8bw"}},57391:e=>{e.exports={"pane--establishment":"PaneEstablishment_pane--establishment__MdUp_",pane__panel:"PaneEstablishment_pane__panel__qj__P","contact-information":"PaneEstablishment_contact-information__SCm07",contact__details:"PaneEstablishment_contact__details__Jjirh","contact__details-link":"PaneEstablishment_contact__details-link__VCDIP","contact__details-icon":"PaneEstablishment_contact__details-icon__IEcmN",types:"PaneEstablishment_types__dCJYQ",type:"PaneEstablishment_type__KvXk2",brands:"PaneEstablishment_brands__Oc_gW",brand:"PaneEstablishment_brand__L9hoM",brand__logo:"PaneEstablishment_brand__logo__8jXb3",buttons:"PaneEstablishment_buttons__K4AHn","opening-times":"PaneEstablishment_opening-times__n5_gX","opening-times__title":"PaneEstablishment_opening-times__title__UqSLQ",departments:"PaneEstablishment_departments__DpTfX",department:"PaneEstablishment_department__KvgfN",department__title:"PaneEstablishment_department__title__NUfiQ",department__remark:"PaneEstablishment_department__remark__De8Xs","department__remark-icon":"PaneEstablishment_department__remark-icon__VOP0U","opening__times-anchor":"PaneEstablishment_opening__times-anchor__0cqvf"}},58219:(e,t,l)=>{"use strict";l.d(t,{c:()=>h});var i=l(12115),a=l(21124),n=l(55120),s=l(82496),r=l(45804);let c=async(e,t,l,i)=>{try{var a,n;let r="/".concat(e,"/").concat(t,"?variant=").concat(i),c=await (0,s.A)().get(r,{headers:{"Accept-Language":l}});if("default"!==i&&(null==(n=c.data)||null==(a=n.template)?void 0:a.panes.length)===0)return(await (0,s.A)().get("/".concat(e,"/").concat(t),{headers:{"Accept-Language":l}})).data;return c.data}catch(e){if(!(0,r.Ay)(e))throw(0,r.oh)(e);return null}},o=async function(e){var t;let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nl",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default",a=arguments.length>3?arguments[3]:void 0;return null!=(t=(await Promise.all((a?[a]:["vehicle","bike"]).map(t=>c(t,e,l,i)))).find(e=>null!==e))?t:null},_=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nl",l=(0,n.A)("TENANT_ID");try{if(l)return(await (0,s.A)().get("/tenant/".concat(l,"/vehicle"),{params:{slugs:e},headers:{"Accept-Language":t}})).data;return(await Promise.all(e.map(async e=>{let l=await o(e,t);return l?{...l,slug:e}:null}))).filter(e=>null!==e)}catch(e){return null}};(0,i.cache)((0,a.unstable_cache)(o,["vehicleService","fetchCachedVehicle"],{revalidate:60}));let d=async e=>(0,s.A)().get("/vehicle/".concat(e,"/tenant/").concat((0,n.A)("TENANT"),"/slug"),{}).then(e=>e.data.slug).catch(e=>{if(!(0,r.Ay)(e))throw(0,r.oh)(e);return null});(0,i.cache)((0,a.unstable_cache)(d,["vehicleService","fetchCachedVehicleSlug",(0,n.A)("TENANT")],{revalidate:60}));var u=l(83900),p=l(15279),m=l(72346);let h=e=>{let{excludeSlug:t,fetchVehicles:l=!0}=e,[a,n]=(0,p.Mj)("dm-recently-viewed-vehicles",[]),{locale:s}=(0,m.t)(),r=a.filter(e=>
1e!==t),c=(0,u.useQuery)({queryKey:["vehicle",r.join(",")],queryFn:()=>_(r,s).then(e=>{if(e){let l=e.map(e=>e.slug);n(e=>e.filter(e=>[...l,...t?[t]:[]].includes(e)));let i=[];return r.forEach(t=>{let l=e.find(e=>e.slug===t);l&&i.push(l)}),i}return[]}),enabled:r.length>0&&l}),o=(0,i.useCallback)(e=>{n(t=>[e,...t.filter(t=>t!==e)].slice(0,13))},[n]);return{addRecentVehicle:o,removeRecentVehicle:(0,i.useCallback)(e=>{n(t=>t.filter(t=>t!==e))},[n]),recentVehicles:(0,i.useMemo)(()=>c.data||[],[c])}}},58652:(e,t,l)=>{"use strict";l.d(t,{A:()=>y});var i=l(95155),a=l(12115),n=l(79121),s=l(95415),r=l(98814),c=l(4742),o=l(97176),_=l.n(o),d=l(69357),u=l(60115),p=l(97315),m=l(43134),h=l(91620),v=l.n(h),b=l(3765),g=l(82158),f=l(80695);function y(e){let{loading:t,filters:l,count:o,domain:h="vehicle"}=e,[y,x]=(0,a.useState)([]),[k,j]=(0,a.useState)(!1),A=(0,p.A)("lg"),w=(0,m.A)(),{values:N,setValues:C}=(0,f.iN)();return(0,a.useEffect)(()=>{A&&j(!1)},[A]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(u.default,{className:(0,n.A)(v()["button--filters"]),title:w("vehicle_overview.filter.button_title"),icon:"filter_list",fullWidth:!0,onClick:()=>j(!0)}),(0,i.jsx)(d.A,{size:"md",open:k,close:()=>j(!1),header:(0,i.jsx)("h3",{children:w("vehicle_overview.filter.title")}),body:(0,i.jsxs)(i.Fragment,{children:[Object.keys(N).length>0?(0,i.jsxs)("button",{className:(0,n.A)(v()["reset-filters"]),onClick:()=>C({}),children:[(0,i.jsx)(s.A,{icon:"refresh"}),(0,i.jsx)("span",{children:w("vehicle_overview.header.reset_filters")})]}):null,(0,i.jsx)("div",{children:l.map(e=>{let t=y.includes(e.key),l=(0,g.bf)(N,[e.key]),a=void 0!==l;return(0,i.jsxs)("div",{className:(0,n.A)(v().filter__item),children:[(0,i.jsxs)("button",{className:(0,n.A)(v().filter__toggle,a?v()["filter__toggle--active"]:""),onClick:()=>{t?x(y.filter(t=>t!==e.key)):x([...y,e.key])},title:e.key,children:[(0,i.jsx)("span",{className:(0,n.A)(v().filter__title),children:w("".concat(h,".attribute.").concat(_()(e.key),".title"),{},{},"")}),a?(0,i.jsxs)("span",{className:(0,n.A)(v().filter__count),children:["\xa0",function e(t){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"number-range"===t.type||"select-range"===t.type||"range-overlap"===t.type?Object.keys(l).length:"checkboxes"===t.type?t.options.reduce((t,i)=>{var a,n;return t+ +(i.key in l)+(null!=(n=null==(a=i.filters)?void 0:a.reduce((t,a)=>t+e(a,(0,g.bf)(l,[i.key,a.key])),0))?n:0)},0):"single-select"===t.type?+!!l:+("geo-distance"===t.type)}(e,l)]}):null,(0,i.jsx)(s.A,{icon:"chevron_right",className:(0,n.A)(v().filter__icon)})]}),(0,i.jsx)(d.A,{size:"md",open:t,close:()=>x(y.filter(t=>t!==e.key)),className:(0,n.A)(v().filter__modal),overlayClassName:(0,n.A)(v()["filter__modal-overlay"]),bodyClassName:(0,n.A)(v()["filter__modal-body"]),footerClassName:(0,n.A)(v()["filter__modal-footer"]),header:(0,i.jsxs)("div",{className:(0,n.A)(v()["filter__modal-header"]),children:[(0,i.jsx)("h3",{children:w("".concat(h,".attribute.").concat(_()(e.key),".title"),{},{},"")}),(0,i.jsx)(c.A,{filterKey:e.key,domain:h,placement:"bottom"})]}),body:(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(r.A,{filter:e})}),button:null,footer:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(b.A,{filter:e}),(0,i.jsx)(u.default,{theme:"primary",title:w("vehicle_overview.filter.confirm"),onClick:()=>x(y.filter(t=>t!==e.key))})]})})]},e.key)})})]}),button:(0,i.jsx)(u.default,{theme:"primary",title:w("vehicle_overview.filter.show",{count:o}),onClick:()=>j(!1),loading:t})})]})}},58744:(e,t,l)=>{"use strict";l.d(t,{BlocksDataContextProvider:()=>s,l:()=>r});var i=l(95155),a=l(12115);let n=a.createContext({models:[],editions:[],employees:[],establishments:[],images:[]});function s(e){let{children:t,...l}=e;return(0,i.jsx)(n.Provider,{value:{...l},children:t})}let r=()=>(0,a.useContext)(n)},58845:e=>{e.exports={"scroll-animation":"ScrollAnimationMedia_scroll-animation__xexf5","scroll-animation--parallax":"ScrollAnimationMedia_scroll-animation--parallax__CgCZ2","scroll-animation--zoom":"ScrollAnimationMedia_scroll-animation--zoom__ooxbc"}},59491:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var i=l(95155),a=l(5519),n=l(79121),s=l(31064),r=l.n(s);function c(e){let{action:t,tabIndex:l,children:s}=e;return s?(null==t?void 0:t.href)&&(null==t?void 0:t.type)&&"link"===t.type?(0,i.jsx)(a.default,{className:(0,n.A)(r().action,r()["action--link"]),href:t.href,target:t.target,title:t.title,tabIndex:l,children:s}):(0,i.jsx)(i.Fragment,{children:s}):null}},60216:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(12115),n=l(9051),s=l(79121),r=l(85402),c=l.n(r),o=l(44138),_=l.n(o);function d(e){let{tabHeaders:t=[],tabPanels:l=[],tabStyle:r}=e,[o,d]=(0,a.useState)(0);return r=null!=r?r:"chip",(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,s.A)(c().block,c()["block--text-like"],_()["block--tabs"]),children:(0,i.jsx)("div",{className:(0,s.A)(_().block__tabs,_()["block__tabs--".concat(r)]),children:t.map((e,t)=>"chip"===r?(0,i.jsx)(n.A,{title:e.title,className:(0,s.A)(_().block__tab,_()["block__tab--chip"],o===t?_()["block__tab--active"]:""),onClick:()=>{d(t)}},t):"underline"===r?(0,i.jsx)("button",{title:e.title,className:(0,s.A)(_().block__tab,_()["block__tab--underline"],o===t?_()["block__tab--active"]:""),onClick:()=>{d(t)},children:e.title},t):null)})}),(0,i.jsx)("div",{className:(0,s.A)(c().block,c()["block--text-like"],_()["block--tab-content"]),children:l.map((e,t)=>(0,i.jsx)("div",{className:(0,s.A)(_()["block__tab-content"],o===t?_()["block__tab-content--active"]:""),children:e},t))})]})}},60273:e=>{e.exports={"vehicle-search__text":"VehicleSearch_vehicle-search__text__m3wrj","vehicle-search__field-grid":"VehicleSearch_vehicle-search__field-grid__ijj_D","vehicle-search__link":"VehicleSearch_vehicle-search__link__vd4No",divider:"VehicleSearch_divider__0xLYR",buttons:"VehicleSearch_buttons__2YZ__","buttons--inline":"VehicleSearch_buttons--inline__LS6LP","buttons--align-center":"VehicleSearch_buttons--align-center___iupJ","buttons--align-en
1d":"VehicleSearch_buttons--align-end__fppmS","buttons--align-stretch":"VehicleSearch_buttons--align-stretch__PZ9p_"}},60576:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(18588),n=l(99770),s=l(74222),r=l(95387),c=l(95604),o=l(16522),_=l(79121),d=l(29234),u=l(85402),p=l.n(u);function m(){var e;let t=(0,a.v8)(),{isInComparison:l,toggleCompare:u,isAtMaximum:m}=(0,n.u)(),h=(0,s.A)(),{addToast:v}=(0,r.W)(),b=(0,c.useTranslations)(),g=(0,d.p)(),f=null==g||null==(e=g.content)?void 0:e.compare_href;if(!t||!t.attributes.vehicleNumber)return null;let y=l(t.slug);return(0,i.jsx)("div",{className:(0,_.A)(p().block,p()["block--text-like"]),children:(0,i.jsx)(o.A,{label:b("vehicle.card.compare"),checked:y,onChange:()=>{u(t)?(h(t.attributes.vehicleNumber),v(b("vehicle.compare.toast_added"),{...f?{link:{href:f,label:b("vehicle.compare.toast_added_link")}}:{},icon:"compare_arrows"})):!y&&m&&v(b("vehicle.compare.toast_max_reached"),{icon:"warning"})}})})}},61019:e=>{e.exports={marker__title:"EstablishmentOverviewMarkers_marker__title__LoODr",marker__text:"EstablishmentOverviewMarkers_marker__text__u_Zkq",establishment__information:"EstablishmentOverviewMarkers_establishment__information__p2frR","establishment__details-link":"EstablishmentOverviewMarkers_establishment__details-link__IKt7I","establishment__details-icon":"EstablishmentOverviewMarkers_establishment__details-icon__8rxYP"}},61896:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(79121),n=l(85402),s=l.n(n),r=l(93321),c=l(29234),o=l(84795),_=l(48470),d=l(65769),u=l(98463),p=l(71584);function m(e){var t,l,n,m;let{aspectRatio:h="auto",objectFit:v="cover",widths:b,likelyLCP:g}=e,f=(0,r.qC)(),y=(0,c.p)(),x=(0,d.Z)(),k=(0,p.A)(),j=null!=(m=null==f||null==(t=f.media)?void 0:t[0])?m:null==y||null==(n=y.content)||null==(l=n.vacancy_fallback_image)?void 0:l.imageUrl;if(!f||!j)return null;let A=(0,u.I)(j,{}).href;return(0,i.jsx)("div",{className:(0,a.A)(s().block,s()["block--image"],s()["block--media"]),children:(0,i.jsx)(_.A,{children:(0,i.jsx)(o.A,{likelyLCP:g,onClick:()=>k("photo",f.title,"click"),url:A,alt:f.title,objectFit:v,ratio:"auto"!==h?Number(h):void 0,width:"".concat(b.sm*x,"cw"),breakpoints:{md:{width:"".concat(b.md*x,"cw")},lg:{width:"".concat(b.lg*x,"cw")}}})})})}},61995:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var i=l(95155),a=l(95415),n=l(57523),s=l(79121),r=l(5519),c=l(84795),o=l(79040),_=l.n(o),d=l(95604);function u(e){var t,l,o,u;let{firstName:p,lastName:m,information:h,placeOfBusiness:v,phoneNumber:b,emailAddress:g,socials:{linkedinUrl:f,whatsappNumber:y}={linkedinUrl:"",whatsappNumber:""},image:x,widths:k,hideLastName:j=!1,likelyLCP:A,vehicleInfo:w}=e,N=(0,d.useTranslations)(),C=null!=(t=null==x?void 0:x.path)?t:null;return(0,i.jsx)(n.A,{theme:"regular",title:j?p:"".concat(p," ").concat(m),titleClassname:(0,s.A)(_().employee__title),text:(0,i.jsxs)(i.Fragment,{children:[h?(0,i.jsx)("div",{className:(0,s.A)(_().employee__position),children:h}):null,(0,i.jsxs)("div",{className:(0,s.A)(_().employee__contact),children:[b?(0,i.jsxs)(r.default,{href:"tel:".concat(b),target:"_blank",className:(0,s.A)(_()["employee__contact-link"]),title:b,children:[(0,i.jsx)(a.A,{icon:"phone_iphone",className:(0,s.A)(_()["employee__contact-icon"])}),(0,i.jsx)("span",{className:(0,s.A)(_()["employee__contact-text"]),children:b})]}):null,y&&""!==y.trim()?(()=>{let e="";if((null==w?void 0:w.brand)&&(null==w?void 0:w.model)){var t,l,a,n,c,o;e="?text=".concat(encodeURIComponent(N("employee.vehicle_interest",{merk:null!=(t=w.brand)?t:"",model:null!=(l=w.model)?l:"",kenteken:null!=(a=w.licensePlate)?a:"",voertuignummer:null!=(n=w.vehicleNumber)?n:"",hexonnummer:null!=(c=w.vehicleNumberHexon)?c:"",vestiging:null!=(o=w.location)?o:""})))}return(0,i.jsxs)(r.default,{href:"https://wa.me/".concat(y.replaceAll(" ","")).concat(e),target:"_blank",className:(0,s.A)(_()["employee__contact-link"]),title:N("employee.whatsapp"),children:[(0,i.jsx)("span",{className:(0,s.A)(_()["employee__contact-icon"],_()["employee__contact-icon--socials"],_()["employee__contact-icon--whatsapp"])}),(0,i.jsx)("span",{className:(0,s.A)(_()["employee__contact-text"]),children:N("employee.whatsapp")})]})})():null,g?(0,i.jsxs)(r.default,{href:"mailto:".concat(g),target:"_blank",className:(0,s.A)(_()["employee__contact-link"]),title:g,children:[(0,i.jsx)(a.A,{icon:"mail",className:(0,s.A)(_()["employee__contact-icon"])}),(0,i.jsx)("span",{className:(0,s.A)(_()["employee__contact-text"]),children:g})]}):null,f?(0,i.jsxs)(r.default,{href:f,target:"_blank",className:(0,s.A)(_()["employee__contact-link"]),title:N("employee.linkedin"),children:[(0,i.jsx)("span",{className:(0,s.A)(_()["employee__contact-icon"],_()["employee__contact-icon--socials"],_()["employee__contact-icon--linkedin"])}),(0,i.jsx)("span",{className:(0,s.A)(_()["employee__contact-text"]),children:N("employee.linkedin")})]}):null,v?(0,i.jsxs)("span",{className:(0,s.A)(_()["employee__contact-link"]),children:[(0,i.jsx)(a.A,{icon:"location_on",className:(0,s.A)(_()["employee__contact-icon"])}),(0,i.jsx)("span",{className:(0,s.A)(_()["employee__contact-text"]),children:v})]}):null]})]}),media:C?(0,i.jsx)(c.A,{likelyLCP:A,url:C,alt:j?p:"".concat(p," ").concat(m),title:j?p:"".concat(p," ").concat(m),objectPosition:{x:50,y:20},ratio:1,width:"".concat(null!=(l=null==k?void 0:k.sm)?l:100,"cw"),breakpoints:{md:{width:"".concat(null!=(o=null==k?void 0:k.md)?o:100,"cw")},lg:{width:"".concat(null!=(u=null==k?void 0:k.lg)?u:100,"cw")}}}):(0,i.jsx)("div",{className:_().employee__placeholder,children:(0,i.jsx)(a.A,{icon:"person",className:_()["employee__placeholder-icon"]})})})}},64378:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var i=l(94586);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nl",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{year:"numeric",month:"2-digit",day:"2-digit"};if(!e)return"";let a=new Date(e);return Number.isNaN(a.getTime())?"":new Intl.DateTimeFormat((0,i.e)(t),l).format(a)}},64765:e=>{e.exports={"pane--anchor-navigation":"PaneAnchorNavigation_pane--anchor-navigation__DgBFN","pane--mobile-top":"PaneAnchorNavigation_pane--mobile-top__DKmHg","device--desktop":"PaneAnchorNavigation_device--desktop__i62GY",pane__bar:"PaneAnchorNavigation_pane__bar__0R1pD","pane__bar--has-buttons":"PaneAnchorNavigation_pane__bar--has-buttons__DKpPZ",pane__anchors:"PaneAnchorNavigation_pane__anchors__tQfzz",pane__anchor:"PaneAnchorNavigation_pane__anchor__rlRph","pane__anchor--active":"PaneAnchorNavigation_pane__anchor--active__Rh41E","device--tablet":"PaneAnchorNavigation_device--tablet__tLPeV",pane__buttons:"PaneAnchorNavigation_pane__buttons___r3wf","pane--white":"PaneAnchorNavigation_pane--white__Hw_2i","pane--background":"PaneAnchorNavigation_pane--background__6Ra_M","pane--background-end":"PaneAnchorNavigation_pane--background-end__e9_02","pane--light":"PaneAnchorNavigation_pane--light___mwrG","pane--dark":"PaneAnchorNavigation_pane--dark__0dU9M","pane--primary":"PaneAnchorNavigation_pane--primary__MHgkP","pane--secondary":"PaneAnchorNavigation_pane--secondary__hycDQ","pane--tertiary":"PaneAnchorNavigation_pane--tertiary__vfyaz",modal__class:"PaneAnchorNavigation_modal__class__PWKtd",modal__body:"PaneAnchorNavigation_modal__body__5B_WO"}},65631:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var i=l(95155),a=l(18588),n=l(19870),s=l(79121),r=l(85402),c=l.n(r);function o(){let e=(0,a.v8)();return(null==e?void 0:e.attributes.vehicleNumber)?(0,i.jsx)("div",{className:(0,s.A)(c().block,c()["block--text-like"]),children:(0,i.jsx)(n.A,{slug:e.slug,itemId:e.attributes.vehicleNumber,variant:"label"})}):null}},65733:e=>{e.exports={"vehicle-highlight":"VehicleHighlight_vehicle-highlight__5cYtH","vehicle-highlight__content":"VehicleHighlight_vehicle-highlight__content__OGJr5","vehicle-highlight__icon-container":"
1VehicleHighlight_vehicle-highlight__icon-container__Efy0V","vehicle-highlight__icon":"VehicleHighlight_vehicle-highlight__icon__EzwWP","vehicle-highlight__text-container":"VehicleHighlight_vehicle-highlight__text-container__7372Q","vehicle-highlight__text":"VehicleHighlight_vehicle-highlight__text__wrjnJ"}},65769:(e,t,l)=>{"use strict";l.d(t,{Z:()=>a});var i=l(97725);function a(){return["zoom","parallax"].includes((0,i.A)("mediaAnimation","none"))?1.2:1}},66434:e=>{e.exports={base:"PaneSlides_base__S581p",hero:"PaneSlides_hero__0K3_s","bg-slider":"PaneSlides_bg-slider___hqnH",slide:"PaneSlides_slide__4TS07","fade-1":"PaneSlides_fade-1__BRBCW","fade-2":"PaneSlides_fade-2__a1lCv","fade-3":"PaneSlides_fade-3__NXg0c","fade-4":"PaneSlides_fade-4__i7ru1","fade-5":"PaneSlides_fade-5__UzGlW","fade-6":"PaneSlides_fade-6__QX2wt","fade-7":"PaneSlides_fade-7__nuqoF","fade-8":"PaneSlides_fade-8__xK1ny","fade-9":"PaneSlides_fade-9__uDaxt","fade-10":"PaneSlides_fade-10__tQRge",overlay:"PaneSlides_overlay__iTB_l",content:"PaneSlides_content__J_8ti"}},68054:e=>{e.exports={toggle:"Toggle_toggle__1kRG3",toggle__field:"Toggle_toggle__field__Xp_86",toggle__bar:"Toggle_toggle__bar__ZI9Tv",toggle__handle:"Toggle_toggle__handle__MAj8Y","toggle--active":"Toggle_toggle--active__rUGlY","toggle--disabled":"Toggle_toggle--disabled__ogr2d"}},69142:(e,t,l)=>{"use strict";l.d(t,{default:()=>B});var i=l(95155),a=l(12115),n=l(83900),s=l(95604),r=l(79121),c=l(99770),o=l(11929),_=l(82496),d=l(55120),u=l(61433),p=l(74551);l(74062);var m=l(43134),h=l(84795),v=l(95415),b=l(73490),g=l.n(b);function f(e){var t,l;let{vehicle:a}=e,{removeFromCompare:n}=(0,c.u)(),s=a.media.find(e=>"image"===e.type);return(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slide"]),children:(0,i.jsxs)("div",{className:(0,r.A)(g()["compare-slide__image"]),children:[(0,i.jsx)("button",{className:(0,r.A)(g()["compare-slide__remove"]),onClick:e=>{e.stopPropagation(),e.preventDefault(),n(a.slug)},type:"button",children:(0,i.jsx)(v.A,{icon:"delete",style:{"--icon-size":16}})}),s?(0,i.jsx)(h.A,{url:s.url||"",alt:[a.brand,a.model,a.edition].filter(Boolean).join(" "),ratio:Number(null!=(t=(0,d.A)("STOCK_IMAGE_ASPECT_RATIO"))?t:1.5),width:"50cw",objectFit:"contain",breakpoints:{md:{width:"33.33cw"},lg:{width:"25cw"}}}):(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slide__image-placeholder"]),style:{aspectRatio:Number(null!=(l=(0,d.A)("STOCK_IMAGE_ASPECT_RATIO"))?l:1.5)}})]})})}function y(e){let{swiperRef:t,isLocked:l,activeIndex:a,snapCount:n}=e;return l?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{className:(0,r.A)(g()["compare-slider__navigation"],g()["compare-slider__navigation--previous"]),disabled:0===a,onClick:()=>{var e;return null==(e=t.current)?void 0:e.slidePrev()},children:(0,i.jsx)(v.A,{icon:"chevron_left"})}),(0,i.jsx)("button",{className:(0,r.A)(g()["compare-slider__navigation"],g()["compare-slider__navigation--next"]),disabled:a===n-1,onClick:()=>{var e;return null==(e=t.current)?void 0:e.slideNext()},children:(0,i.jsx)(v.A,{icon:"chevron_right"})})]})}var x=l(60115),k=l(35867);function j(e){let{vehicles:t,onSwiper:l}=e,a=(0,m.A)();return(0,i.jsx)(p.RC,{modules:[u.xI],slidesPerView:"auto",spaceBetween:20,grabCursor:!0,className:(0,r.A)(g()["compare-slider__buttons"]),onSwiper:l,children:t.map(e=>(0,i.jsx)(p.qr,{className:(0,r.A)(g()["compare-slider__slide"]),children:(0,i.jsx)(x.default,{href:(0,k.XJ)(e.slug),title:a("vehicle.compare.cta.title"),addWebspace:!0})},e.slug))})}var A=l(30245),w=l(97176),N=l.n(w);function C(e){let{specKey:t,vehicles:l,onSwiper:n,showDivider:s}=e,c=(0,A.e)(),o=(0,m.A)();return(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slider__spec-label"]),children:o("vehicle.attribute.".concat(N()(t),".title"))}),(0,i.jsx)(p.RC,{className:(0,r.A)(g()["swiper-compare-specs"]),modules:[u.xI],slidesPerView:"auto",spaceBetween:20,grabCursor:!0,onSwiper:n,children:l.map(e=>{var l,a,n,s,o;let _="price"===t?null==(a=e.displayPrices)||null==(l=a.purchase)?void 0:l.value:null==(n=e.attributes)?void 0:n[t],d="price"===t?null==(o=e.displayPrices)||null==(s=o.purchase)?void 0:s.previousValue:null;return(0,i.jsx)(p.qr,{className:(0,r.A)(g()["compare-slider__slide"]),children:(0,i.jsxs)("div",{className:(0,r.A)(g()["compare-slider__value"]),children:[d?(0,i.jsx)("span",{className:(0,r.A)(g()["compare-slider__previous-value"]),children:c(t,d)}):null,(0,i.jsx)("span",{children:null!=_?c(t,_):"-"})]})},e.id)})}),s&&(0,i.jsx)("hr",{className:(0,r.A)(g()["compare-divider"])})]})}var S=l(75598);function P(e){let{group:t,vehicles:l,isOpened:n,onToggle:s,onSwiper:c,onlyDifferences:o,showDivider:_}=e,d=(0,m.A)(),h=o?t.accessories.filter(e=>{let t=Object.values(e.vehicles);return!t.every(e=>e===t[0])}):t.accessories;return 0===h.length?null:(0,i.jsxs)(a.Fragment,{children:[(0,i.jsxs)("div",{className:(0,r.A)(n?g()["compare-slider__group--opened"]:""),children:[(0,i.jsxs)("button",{className:(0,r.A)(g()["compare-slider__group-toggle"]),onClick:s,"aria-expanded":n,children:[(0,i.jsx)(v.A,{icon:"expand_more",className:(0,r.A)(g()["compare-slider__group-icon"])}),(0,i.jsx)("span",{className:(0,r.A)("h4",g()["compare-slider__group-label"]),children:t.name})]}),(0,i.jsx)(S.S,{isOpened:n,theme:{collapse:(0,r.A)(g()["compare-slider__group-collapse"]),content:(0,r.A)(g()["compare-slider__group-collapse-content"])},children:(0,i.jsx)("div",{...!n?{inert:!0}:{},children:h.map((e,t)=>(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slider__spec-accessory-label"]),children:e.name}),(0,i.jsx)(p.RC,{className:(0,r.A)(g()["swiper-compare-spec-accessory"]),modules:[u.xI],slidesPerView:"auto",spaceBetween:20,grabCursor:!0,onSwiper:e=>c(t,e),children:l.map(t=>(0,i.jsx)(p.qr,{className:(0,r.A)(g()["compare-slider__slide"]),children:(0,i.jsxs)("div",{className:(0,r.A)(g()["compare-slider__value"],"yes"===e.vehicles[t.slug]?g()["compare-slider__accessory-value--yes"]:g()["compare-slider__accessory-value--no"]),children:[(0,i.jsx)(v.A,{icon:"yes"===e.vehicles[t.slug]?"check":"close",className:(0,r.A)(g()["compare-slider__accessory-icon"])}),(0,i.jsx)("span",{children:"yes"===e.vehicles[t.slug]?d("general.yes"):d("general.no")})]})},t.slug))}),t<h.length-1&&(0,i.jsx)("hr",{className:(0,r.A)(g()["compare-divider"])})]},e.name))})})]}),_&&(0,i.jsx)("hr",{className:(0,r.A)(g()["compare-divider-accessory"])})]})}var E=l(5925);function T(e){let{checked:t,onChange:l}=e,a=(0,m.A)();return(0,i.jsxs)("div",{className:g()["compare-slider__differences-toggle"],children:[(0,i.jsx)(E.A,{checked:t,onChange:l}),(0,i.jsx)("span",{className:g()["text--lg"],children:a("vehicle.compare.only_differences")})]})}function M(e){let{vehicles:t,swiperRef:l,isLocked:a,activeIndex:n,snapCount:s,isVisible:c,onSwiper:o}=e,_=(0,A.e)();return(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slider-sticky"],c?g()["compare-slider-sticky--visible"]:void 0),children:(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slider-sticky__inner"]),children:(0,i.jsxs)("div",{className:(0,r.A)(g()["compare-slider-sticky__content"]),children:[(0,i.jsx)(p.RC,{modules:[u.xI],slidesPerView:"auto",spaceBetween:20,grabCursor:!0,onSwiper:o,children:t.map(e=>{var t,l,a,n;let s=e.media.find(e=>"image"===e.type),c=null==(l=e.displayPrices)||null==(t=l.purchase)?void 0:t.value;return(0,i.jsx)(p.qr,{className:(0,r.A)(g()["compare-slider__slide"]),children:(0,i.jsxs)("div",{className:(0,r.A)(g()["compare-slider-sticky__slide"]),children:[(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slider-sticky__thumbnail"]),children:s?(0,i.jsx)(h.A,{url:s.url||"",alt:[e.brand,e.model].filter(
1Boolean).join(" "),ratio:Number(null!=(a=(0,d.A)("STOCK_IMAGE_ASPECT_RATIO"))?a:1.5),width:"50cw",objectFit:"contain",breakpoints:{md:{width:"33.33cw"},lg:{width:"25cw"}}}):(0,i.jsx)("div",{className:(0,r.A)(g()["compare-slider-sticky__thumbnail-placeholder"]),style:{aspectRatio:Number(null!=(n=(0,d.A)("STOCK_IMAGE_ASPECT_RATIO"))?n:1.5)}})}),(0,i.jsxs)("div",{className:(0,r.A)(g()["compare-slider-sticky__info"]),children:[(0,i.jsxs)("span",{className:(0,r.A)(g()["compare-slider-sticky__brand"]),children:[e.brand," ",e.model]}),(0,i.jsx)("span",{className:(0,r.A)(g()["compare-slider-sticky__price"]),children:null!=c?_("price",c):"-"})]})]})},e.id)})}),(0,i.jsx)(y,{swiperRef:l,isLocked:a,activeIndex:n,snapCount:s})]})})})}let V=["price","fuel","odometerReading","yearOfConstruction","transmission"];function I(e){let{vehicles:t}=e;(0,m.A)();let l=(0,a.useMemo)(()=>(function(e){let t=new Map;for(let a of e){var l,i;for(let e of null!=(i=null==(l=a.attributes)?void 0:l.accessoryGroups)?i:[]){t.has(e.name)||t.set(e.name,new Set);let l=t.get(e.name);for(let t of e.accessories)l.add(t)}}return Array.from(t.entries()).map(t=>{let[l,i]=t;return{name:l,accessories:Array.from(i).map(t=>({name:t,vehicles:Object.fromEntries(e.map(e=>{var i,a,n;let s=null==(a=e.attributes)||null==(i=a.accessoryGroups)?void 0:i.find(e=>e.name===l),r=null!=(n=null==s?void 0:s.accessories.includes(t))&&n;return[e.slug,r?"yes":"no"]}))}))}})})(t),[t]),[n,s]=(0,a.useState)([]),[c,o]=(0,a.useState)(!1),_=l.reduce((e,t)=>e+t.accessories.length,0),d=1+V.length+1+_+1+1,{swiperRef:h,activeIndex:v,isLocked:b,snapCount:x,handleImageSwiper:k,handleSlideChange:A,handleSnapGridChange:w,handleLock:N,handleUnlock:S,handleSlaveSwiper:E}=function(e){let{totalSlaveCount:t}=e,l=(0,a.useRef)(null),[i,n]=(0,a.useState)(null),[s,r]=(0,a.useState)([]),[c,o]=(0,a.useState)(0),[_,d]=(0,a.useState)(!0),[u,p]=(0,a.useState)(1),m=(0,a.useCallback)((e,l)=>{r(i=>{let a=[...i];for(;a.length<t;)a.push(null);return a[e]=l,a})},[t]),h=(0,a.useMemo)(()=>s.filter(e=>null!==e&&!e.destroyed),[s]);(0,a.useEffect)(()=>{i&&!i.destroyed&&0!==h.length&&(i.controller.control=h,h.forEach(e=>{e.controller.control=i}))},[i,h]);let v=(0,a.useCallback)(e=>{l.current=e,n(e)},[]),b=(0,a.useCallback)(e=>{o(e.activeIndex)},[]),g=(0,a.useCallback)(e=>{p(e.snapGrid.length)},[]);return{swiperRef:l,activeIndex:c,isLocked:_,snapCount:u,handleImageSwiper:v,handleSlideChange:b,handleSnapGridChange:g,handleLock:(0,a.useCallback)(()=>d(!0),[]),handleUnlock:(0,a.useCallback)(()=>d(!1),[]),handleSlaveSwiper:m}}({totalSlaveCount:d}),I=(0,a.useRef)(null),[O,L]=(0,a.useState)(!1),F=d-1;return((0,a.useEffect)(()=>{let e=I.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;L(!t.isIntersecting&&t.boundingClientRect.bottom<0)},{threshold:0});return t.observe(e),()=>t.disconnect()},[]),0===t.length)?null:(0,i.jsxs)("div",{className:(0,r.A)(g()["compare-slider"]),children:[(0,i.jsx)(M,{vehicles:t,swiperRef:h,isLocked:b,activeIndex:v,snapCount:x,isVisible:O,onSwiper:e=>E(F,e)}),(0,i.jsxs)("div",{ref:I,className:(0,r.A)(g()["compare-slider__images"]),children:[(0,i.jsx)(p.RC,{modules:[u.xI],slidesPerView:"auto",spaceBetween:20,grabCursor:!0,preventClicks:!1,preventClicksPropagation:!1,className:(0,r.A)(g()["compare-slider__swiper"]),onSwiper:k,onSlideChange:A,onSnapGridLengthChange:w,onLock:N,onUnlock:S,children:t.map(e=>(0,i.jsx)(p.qr,{className:(0,r.A)(g()["compare-slider__slide"]),children:(0,i.jsx)(f,{vehicle:e})},e.id))}),(0,i.jsx)(y,{swiperRef:h,isLocked:b,activeIndex:v,snapCount:x})]}),(0,i.jsx)(p.RC,{className:(0,r.A)(g()["compare-slider__intro"]),modules:[u.xI],slidesPerView:"auto",spaceBetween:20,grabCursor:!0,onSwiper:e=>E(0,e),children:t.map(e=>(0,i.jsxs)(p.qr,{className:(0,r.A)(g()["compare-slider__slide"]),children:[(0,i.jsxs)("p",{className:(0,r.A)("h4",g()["compare-slider__brand"]),children:[e.brand," ",e.model]}),(0,i.jsx)("span",{children:e.edition})]},e.id))}),(0,i.jsx)("hr",{className:(0,r.A)(g()["compare-divider"])}),V.map((e,l)=>(0,i.jsx)(C,{specKey:e,vehicles:t,onSwiper:e=>E(l+1,e),showDivider:l<V.length-1},e)),(0,i.jsx)(j,{vehicles:t,onSwiper:e=>E(V.length+1,e)}),(0,i.jsx)(T,{checked:c,onChange:()=>o(!c)}),l.map((e,a)=>{let r=V.length+2,o=l.slice(0,a).reduce((e,t)=>
1e+t.accessories.length,0);return(0,i.jsx)(P,{group:e,vehicles:t,isOpened:n.includes(e.name),onToggle:()=>{s(t=>t.includes(e.name)?t.filter(t=>t!==e.name):[...t,e.name])},onSwiper:(e,t)=>E(r+o+e,t),onlyDifferences:c,showDivider:a<l.length-1},e.name)}),(0,i.jsx)(j,{vehicles:t,onSwiper:e=>E(V.length+_+2,e)})]})}var O=l(37197),L=l.n(O);let F=async e=>{let t=(0,d.A)("TENANT_ID");return t&&0!==e.length?(await (0,_.A)().get("/tenant/".concat(t,"/vehicle"),{params:{slugs:e}})).data:[]};function B(e){let{stockHref:t}=e,l=(0,s.useTranslations)(),{compareVehicles:_,hydrated:u}=(0,c.u)(),p=_.map(e=>e.slug),{data:m=[],isInitialLoading:h}=(0,n.useQuery)({queryKey:["compareVehicles",p],queryFn:()=>F(p),enabled:u&&p.length>0,staleTime:3e5,keepPreviousData:!0}),b=(0,a.useMemo)(()=>m.filter(e=>_.some(t=>t.slug===e.slug)),[m,_]),g=(0,a.useCallback)(e=>{if(0===e.length)return;window.dataLayer=window.dataLayer||[];let t=(0,o.A)();e.forEach(e=>{window.dataLayer.push({event:"compare",compare_id:t,items:[{item_id:e}]})})},[]),f=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(0===b.length)return;let e=b.map(e=>e.attributes.vehicleNumber),t=[...e].sort().join(",");f.current!==t&&(f.current=t,g(e))},[b,g]),(0,i.jsxs)(i.Fragment,{children:[h&&(0,i.jsx)("div",{className:(0,r.A)(L().compare__loader,L()["compare__loader--loading"])}),!h&&0===b.length&&u&&(0,i.jsxs)("div",{className:(0,r.A)(L().compare__empty),children:[(0,i.jsxs)("div",{className:(0,r.A)(L()["compare__empty-card"],L()["compare__empty-card--info"]),children:[(0,i.jsx)(v.A,{icon:"compare_arrows",className:(0,r.A)(L()["compare__empty-icon"])}),(0,i.jsx)("h2",{className:(0,r.A)("h5",L()["compare__empty-title"]),children:l("vehicle.compare.empty_title")}),(0,i.jsx)("p",{children:l("vehicle.compare.empty_description")}),t&&(0,i.jsx)(x.default,{title:l("vehicle.compare.empty_button"),href:t,className:(0,r.A)(L()["compare__empty-button"]),theme:"primary"})]}),[1,2].map(e=>{let l=t?"a":"div";return(0,i.jsx)(l,{className:(0,r.A)(L()["compare__empty-card"],L()["compare__empty-card--placeholder"]),...t?{href:t}:{},children:(0,i.jsx)("div",{className:(0,r.A)(L()["compare__empty-placeholder-body"]),children:(0,i.jsx)("span",{className:(0,r.A)(L()["compare__empty-placeholder-icon"]),children:(0,i.jsx)(v.A,{icon:"add"})})})},e)})]}),b.length>0&&(0,i.jsx)("div",{className:(0,r.A)(L()["compare__slider-wrapper"]),style:{"--stock-image-aspect-ratio":(0,d.A)("STOCK_IMAGE_ASPECT_RATIO"),"--slides-per-view-sm":2,"--slides-per-view-md":3,"--slides-per-view-lg":4,"--space-between":"20px"},children:(0,i.jsx)(I,{vehicles:b})})]})}},69216:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var i=l(95155),a=l(12115),n=l(80695),s=l(82158),r=l(32511),c=l.n(r),o=l(18904),_=l(97176),d=l.n(_),u=l(43134),p=l(2397);function m(e){var t,l;let{filter:r,path:_=[]}=e,m=(0,a.useId)(),{values:h,setValues:v}=(0,n.iN)(),b=(0,u.A)();if(!r)return null;let g=[..._,"min"],f=[..._,"max"],y=Object.keys(null!=(t=(0,s.bf)(h,g))?t:{}).at(0),x=Object.keys(null!=(l=(0,s.bf)(h,f))?l:{}
1).at(0),k=["actionRadius","batteryCapacity","batteryCondition","numberOfSeats"].includes(r.key)?"".concat(m,"-min"):"".concat(m,"-max");return(0,i.jsxs)("div",{children:[(0,i.jsx)(p.A,{htmlFor:k,children:b("vehicle.attribute.".concat(d()(r.key),".title"),{},{},"")}),["actionRadius","batteryCapacity","batteryCondition","numberOfSeats"].includes(r.key)?(0,i.jsx)(o.A,{id:k,inputMode:"numeric",placeholder:b("vehicle_overview.filter_number.from.placeholder"),active:!!y,value:null!=y?y:"",prefix:b("vehicle_overview.filter_number.from.prefix")+b("vehicle.attribute.".concat(d()(r.key),".prefix"),{},{},""),suffix:b("vehicle.attribute.".concat(d()(r.key),".suffix"),{},{},""),onValueChange:e=>{let t=e.value;if(!t){y&&v((0,s.WE)(c()(h),g));return}v((0,s.HJ)(c()(h),g,{[t]:""}))}}):(0,i.jsx)(o.A,{id:k,inputMode:"numeric",placeholder:b("vehicle_overview.filter_number.to.placeholder"),active:!!x,value:null!=x?x:"",prefix:b("vehicle_overview.filter_number.to.prefix")+b("vehicle.attribute.".concat(d()(r.key),".prefix"),{},{},""),suffix:b("vehicle.attribute.".concat(d()(r.key),".suffix"),{},{},""),onValueChange:e=>{let t=e.value;if(!t){x&&v((0,s.WE)(c()(h),f));return}v((0,s.HJ)(c()(h),f,{[t]:""}))}})]})}},70870:e=>{e.exports={"favorites__modal-body":"FavoritesContent_favorites__modal-body__D0Ayn","favorites__modal-heading":"FavoritesContent_favorites__modal-heading__XWX6u","favorites__modal-title":"FavoritesContent_favorites__modal-title__fM_28","favorites__modal-icon":"FavoritesContent_favorites__modal-icon__2Efyt","favorites__modal-buttons":"FavoritesContent_favorites__modal-buttons__9IIrW","favorites__modal-register":"FavoritesContent_favorites__modal-register__c9opf",favorites__empty:"FavoritesContent_favorites__empty__TfYez","favorites__empty-card":"FavoritesContent_favorites__empty-card__HIp8R","favorites__empty-icon":"FavoritesContent_favorites__empty-icon__lHHz0","favorites__empty-title":"FavoritesContent_favorites__empty-title__zW3Cc","favorites__empty-description":"FavoritesContent_favorites__empty-description__FdkLj","favorites__empty-button":"FavoritesContent_favorites__empty-button__QHz9q",favorites__loader:"FavoritesContent_favorites__loader__9pxoG",spin:"FavoritesContent_spin__IhxaM","favorites__loader--loading":"FavoritesContent_favorites__loader--loading__Iv50B"}},71257:(e,t,l)=>{"use strict";l.d(t,{A:()=>x});var i=l(95155),a=l(32511),n=l.n(a),s=l(9051),r=l(80695),c=l(82158),o=l(12115),_=l(30245);function d(e){let{filter:t,path:l=[]}=e,{values:a,setValues:d}=(0,r.iN)(),u=(0,_.e)();return(0,i.jsx)(i.Fragment,{children:t.options.map(e=>{var r;let _=[...l,t.key,e.key];return void 0===(0,c.bf)(a,_)?null:(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(s.A,{title:u(t.key,e.key),iconStart:"close",onClick:()=>d((0,c.WE)(n()(a),_))}),(null==(r=e.filters)?void 0:r.length)?e.filters.map(e=>(0,i.jsx)(f,{filter:e,path:_},e.key)):null]},e.key)})})}var u=l(97176),p=l.n(u),m=l(43134);function h(e){var t,l;let{filter:a,path:o=[]}=e,{values:d,setValues:u}=(0,r.iN)(),h=(0,m.A)(),v=(0,_.e)(),b=[...o,a.key,"min"],g=[...o,a.key,"max"],f=Object.keys(null!=(t=(0,c.bf)(d,b))?t:{}).at(0),y=Object.keys(null!=(l=(0,c.bf)(d,g))?l:{}).at(0),x=h("vehicle.attribute.".concat(p()(a.key),".title"),{},{},"");return(0,i.jsxs)(i.Fragment,{children:[f?(0,i.jsx)(s.A,{title:x+" van "+v(a.key,f),iconStart:"close",onClick:()=>u((0,c.WE)(n()(d),b))}):null,y?(0,i.jsx)(s.A,{title:x+" tot "+v(a.key,y),iconStart:"close",onClick:()=>u((0,c.WE)(n()(d),g))}):null]})}function v(e){let{filter:t,path:l=[]}=e,{values:a,setValues:d}=(0,r.iN)(),u=(0,_.e)();return(0,i.jsx)(i.Fragment,{children:t.options.map(e=>{var r;let _=[...l,t.key,e.key];return void 0===(0,c.bf)(a,_)?null:(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)(s.A,{title:u(t.key,e.key),iconStart:"close",onClick:()=>d((0,c.WE)(n()(a),_))}),(null==(r=e.filters)?void 0:r.length)?e.filters.map(e=>(0,i.jsx)(f,{filter:e,path:_},e.key)):null]},e.key)})})}let b=e=>{var t;return"string"==typeof e?e:e&&"object"==typeof e&&null!=(t=Object.keys(e).at(0))?t:""};function g(e){var t;let{filter:l,path:a=[]}=e,{values:o,setValues:_}=(0,r.iN)(),d=(0,m.A)(),u=[...a,l.key],p=null!=(t=(0,c.bf)(o,u))?t:{},h=b(p.postcode),v=b(p.radius);return h&&v?(0,i.jsx)(s.A,{title:d("vehicle_overview.filter_location.active",{postcode:h,distance:v},{},"Binnen ".concat(v," km van ").concat(h)),iconStart:"close",onClick:()=>_((0,c.WE)(n()(o),u))}):null}function f(e){let{filter:t,path:l=[]}=e;return"checkboxes"===t.type?(0,i.jsx)(d,{filter:t,path:l}):"number-range"===t.type||"select-range"===t.type||"range-overlap"===t.type?(0,i.jsx)(h,{filter:t,path:l}):"single-select"===t.type?(0,i.jsx)(v,{filter:t,path:l}):"geo-distance"===t.type?(0,i.jsx)(g,{filter:t,path:l}):null}var y=l(95604);function x(e){let{filters:t}=e,{setValues:l}=(0,r.iN)(),a=(0,y.useTranslations)();return(0,i.jsxs)(i.Fragment,{children:[t.map(e=>(0,i.jsx)(f,{filter:e},e.key)),(0,i.jsx)(s.A,{title:a("vehicle_overview.filter.reset_all"),onClick:()=>l({}),iconStart:"refresh",theme:"error"})]})}},72779:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(79121),n=l(85402),s=l.n(n),r=l(82474),c=l(93321),o=l(26309),_=l(93928);function d(e){var t;let{title:l,slidesPerView:n,centeredSlides:d,hideSliderBar:u,vacancyCardSnippet:p,widths:m}=e,h=(0,c.qC)();if(!h)return null;let v=null!=(t=h.similarVacancies)?t:[];if(0===v.length)return null;let b=(0,_.A)(p);return(0,i.jsxs)("div",{className:(0,a.A)(s().block,s()["block--vacancy-similar"]),children:[l?(0,i.jsx)("h2",{children:l}):null,(0,i.jsx)(o.VacancyCardConfigContextProvider,{...b,children:(0,i.jsx)(r.default,{slides:v,slidesPerView:n,centeredSlides:d,hideSliderBar:u,widths:m})})]})}},72984:e=>{e.exports={chips:"BlockVehicleOptions_chips__j8cuv",chip:"BlockVehicleOptions_chip__1KL2z","chip--active":"BlockVehicleOptions_chip--active__wEyGl",options:"BlockVehicleOptions_options__8GTEQ",options__title:"BlockVehicleOptions_options__title__wZUPZ",options__chips:"BlockVehicleOptions_options__chips__WMcBx","options__group-wrapper":"BlockVehicleOptions_options__group-wrapper__8nA9c",o
1ptions__group:"BlockVehicleOptions_options__group__B0PPn","options__group--active":"BlockVehicleOptions_options__group--active__7ZH6_",options__more:"BlockVehicleOptions_options__more__FiDp_",option:"BlockVehicleOptions_option__RgklM",option__icon:"BlockVehicleOptions_option__icon__2zg4v",capitalize:"BlockVehicleOptions_capitalize__Ij_dB"}},73041:(e,t,l)=>{"use strict";function i(e){var t,l,i,a,n,s,r,c,o,_,d;let u=null==(t=e.media.find(e=>"image"===e.type))?void 0:t.url,p=null==(l=e.attributes.importDate)?void 0:l.split("-");(null==p||null==(i=p.at(0))?void 0:i.length)===2&&p.reverse();let m=p?new Date(p.join("-")):void 0;return{type:"vehicle",id:e.attributes.vehicleNumber,slug:e.slug,brand:e.brand,model:e.model,edition:"".concat(null!=(c=e.edition)?c:""," ").concat(null!=(o=e.attributes.addition)?o:"").trim(),licensePlate:e.attributes.licensePlate,constructionYear:e.attributes.yearOfConstruction,fuel:e.attributes.fuel,vehicleState:e.attributes.vehicleState,vehicleNumber:e.attributes.vehicleNumber,bikeObjectId:"bike"===e.type?e.id:void 0,bikeAccountId:"bike"===e.type?e.attributes.accountId:void 0,bikeBarcode:"bike"===e.type?e.attributes.barcode:void 0,vehicleType:e.attributes.vehicleType,body:e.attributes.bodyType,transmission:e.attributes.transmission,mileage:e.attributes.odometerReading,color:e.attributes.color,establishment:e.establishment?null!=(_=e.establishment.name)?_:e.establishment:void 0,onlineDate:m,prices:null!=(d=e.displayPrices)?d:{},interestRates:null==(a=e.attributes)?void 0:a.interestRates,financeDisclaimer:null==(n=e.attributes)?void 0:n.financeDisclaimer,stockStatus:null==(s=e.attributes)?void 0:s.stockStatus,searchTerms:(null==(r=e.attributes)?void 0:r.searchTerms)?e.attributes.searchTerms:[],image:u?{url:u}:void 0}}l.d(t,{Y:()=>i})},73490:e=>{e.exports={"compare-slider__slide":"CompareSlider_compare-slider__slide__kZPBl","swiper-compare-specs":"CompareSlider_swiper-compare-specs__zkaeR","swiper-compare-spec-accessory":"CompareSlider_swiper-compare-spec-accessory__4qFH4","compare-slider__intro":"CompareSlider_compare-slider__intro__Oidoz","compare-slider__images":"CompareSlider_compare-slider__images__f_JER","compare-slide__image":"CompareSlider_compare-slide__image__Kkjb6","compare-slide__remove":"CompareSlider_compare-slide__remove__HjyIF","compare-slider__brand":"CompareSlider_compare-slider__brand__KiqBw","compare-slider__spec-label":"CompareSlider_compare-slider__spec-label__Zqpr4","compare-slider__spec-accessory-label":"CompareSlider_compare-slider__spec-accessory-label__yIZgL","compare-slider__value":"CompareSlider_compare-slider__value__aZXlZ","compare-slider__accessory-value--yes":"CompareSlider_compare-slider__accessory-value--yes__ujUxF","compare-slider__accessory-icon":"CompareSlider_compare-slider__accessory-icon__e0_1A","compare-slider__accessory-value--no":"CompareSlider_compare-slider__accessory-value--no__UZjnn","compare-slider__previous-value":"CompareSlider_compare-slider__previous-value__nWotf","compare-divider-accessory":"CompareSlider_compare-divider-accessory__tg6Zu","compare-slider__group--opened":"CompareSlider_compare-slider__group--opened__pTYf5","compare-slider__group-toggle":"CompareSlider_compare-slider__group-toggle__FPQet","compare-slider__group-icon":"CompareSlider_compare-slider__group-icon__WpRnZ","compare-slider__differences-toggle":"CompareSlider_compare-slider__differences-toggle__65_ze","compare-slider__buttons":"CompareSlider_compare-slider__buttons__n1kE0","compare-slider__navigation":"CompareSlider_compare-slider__navigation__Jc0CU","compare-slider__navigation--previous":"CompareSlider_compare-slider__navigation--previous__LYPfH","compare-slider__navigation--next":"CompareSlider_compare-slider__navigation--next__Mkn0k","compare-slider-sticky":"CompareSlider_compare-slider-sticky___yOtE","compare-slider-sticky--visible":"CompareSlider_compare-slider-sticky--visible__R6z_c","compare-slider-sticky__inner":"CompareSlider_compare-slider-sticky__inner__J1JQx","compare-slider-sticky__content":"CompareSlider_compare-slider-sticky__content__Vc2NP","compare-slider-sticky__slide":"CompareSlider_compare-slider-sticky__slide__wH3UC","compare-slider-sticky__thumbnail":"CompareSlider_compare-slider-sticky__thumbnail__uSlzv","compare-slider-sticky__thumbnail-placeholder":"CompareSlider_compare-slider-sticky__thumbnail-placeholder__VpbJ6","compare-slider-sticky__info":"CompareSlider_compare-slider-sticky__info__H9PGj","compare-slider-sticky__brand":"CompareSlider_compare-slider-sticky__brand__OzYlm","compare-slider-sticky__price":"CompareSlider_compare-slider-sticky__price__ixWTm"}},73994:(e,t,l)=>{"use strict";l.d(t,{A:()=>g});var i=l(95155),a=l(12115),n=l(75598),s=l(79121),r=l(95415),c=l(98814),o=l(4742),_=l(97176),d=l.n(_),u=l(43134),p=l(76081),m=l.n(p),h=l(3765),v=l(80695),b=l(82158);function g(e){let{filters:t,domain:l="vehicle"}=e,[_,p]=(0,a.useState)(t.filter(e=>!e.defaultCollapsed).map(e=>e.key)),g=(0,u.A)(),{values:f}=(0,v.iN)();return(0,i.jsx)("div",{className:(0,s.A)(m().filters),role:"region","aria-label":g("filters.region.label",{},{},"Vehicle filters"),children:t.map(e=>
1{let t=_.includes(e.key),a=void 0!==(0,b.bf)(f,[e.key]),u="filter-".concat(e.key),v="filter-content-".concat(e.key),y=g("".concat(l,".attribute.").concat(d()(e.key),".title"),{},{},""),x=()=>p(t?_.filter(t=>t!==e.key):[..._,e.key]);return(0,i.jsxs)("div",{className:(0,s.A)(m().collapse__item,t?m()["collapse__item--opened"]:""),children:[(0,i.jsxs)("div",{className:(0,s.A)(m().collapse__header),children:[(0,i.jsx)("button",{id:u,className:(0,s.A)(m().collapse__toggle),onClick:x,"aria-expanded":t,"aria-controls":v,title:y,children:(0,i.jsx)("span",{className:(0,s.A)(m().collapse__title),children:y})}),(0,i.jsx)(o.A,{filterKey:e.key,domain:l}),(0,i.jsx)("button",{className:(0,s.A)(m().collapse__chevron),onClick:x,tabIndex:-1,"aria-hidden":"true",children:(0,i.jsx)(r.A,{icon:"expand_more",className:(0,s.A)(m().collapse__icon),"aria-hidden":"true"})})]}),(0,i.jsx)(n.S,{isOpened:t,theme:{collapse:(0,s.A)(m().collapse__collapse),content:(0,s.A)(m().collapse__content)},children:(0,i.jsxs)("div",{id:v,className:(0,s.A)(m().collapse__body),role:"region","aria-labelledby":u,...!t?{"aria-hidden":"true",inert:!0}:{},children:[(0,i.jsx)(c.A,{filter:e}),a?(0,i.jsx)(h.A,{filter:e}):null]})})]},e.key)})})}},75205:e=>{e.exports={swiper__wrapper:"SliderTimeline_swiper__wrapper__xJph_",swiper:"SliderTimeline_swiper__rdLFI",swiper__slide:"SliderTimeline_swiper__slide__FTFhO","swiper--centered":"SliderTimeline_swiper--centered___frIu","swiper--full-width":"SliderTimeline_swiper--full-width__t8xSt",swiper__navigation:"SliderTimeline_swiper__navigation__j0kFF","swiper__navigation--previous":"SliderTimeline_swiper__navigation--previous__dXL6C","swiper__navigation--next":"SliderTimeline_swiper__navigation--next__9hP88",swiper__buttonbar:"SliderTimeline_swiper__buttonbar__DmPr2",swiper__pagination:"SliderTimeline_swiper__pagination__sJua5",track:"SliderTimeline_track__BIyVV","track--centered":"SliderTimeline_track--centered__X76f9",track__inner:"SliderTimeline_track__inner__VQk9U",track__step:"SliderTimeline_track__step__1x7eo",track__dot:"SliderTimeline_track__dot__8KLde",track__label:"SliderTimeline_track__label__18wFb"}},75209:(e,t,l)=>{"use strict";l.d(t,{A:()=>_});var i=l(95155),a=l(12115),n=l(95604),s=l(79121),r=l(35706),c=l(83274),o=l.n(c);function _(e){let{departments:t}=e,l=(0,n.useTranslations)(),[c,_]=(0,a.useState)([]);return((0,a.useEffect)(()=>{let e=new Date,l="".concat(String(e.getHours()).padStart(2,"0"),":").concat(String(e.getMinutes()).padStart(2,"0"));_((0,r.jE)(t,e,l))},[t]),0===c.length)?null:(0,i.jsx)("div",{className:(0,s.A)(o()["opening-status"]),children:c.map((e,t)=>(0,i.jsxs)("span",{className:(0,s.A)(o()["opening-status__item"],o()["opening-status__item--".concat(e.status)]),children:[(0,i.jsx)("span",{className:(0,s.A)(o()["opening-status__dot"])}),(0,i.jsxs)("span",{children:["".concat(e.name,": "),"open"===e.status&&l("opening_times.today_open",{time:e.closingTime}),"opening-later"===e.status&&l("opening_times.today_opens_at",{time:e.openingTime}),"closed"===e.status&&l("opening_times.today_closed")]})]},t))})}},75875:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(12115),n=l(18588),s=l(29234),r=l(85483),c=l(61995),o=l(79121),_=l(24089),d=l(13521),u=l(16370),p=l.n(u);function m(e){var t,l,u,m,h,v,b,g;let{text:f="",backgrounds:[y]=[],randomizeEmployees:x=!1,id:k}=e,j=(0,s.p)(),A=null!=(m=null==j||null==(t=j.content)?void 0:t.hide_employee_last_name)&&m,w=(0,n.v8)(),N=null!=(h=null==w||null==(l=w.establishment)?void 0:l.employees)?h:[],C=(0,a.useMemo)(()=>x?[...N].sort(()=>Math.random()-.5):N,[x,N]),S={brand:null!=(v=null==w?void 0:w.brand)?v:"",model:null!=(b=null==w?void 0:w.model)?b:"",licensePlate:"",vehicleNumber:"",vehicleNumberHexon:"",location:null!=(g=null==w||null==(u=w.establishment)?void 0:u.name)?g:""};return C.length<1?null:(0,i.jsxs)(d.default,{theme:"light",className:(0,o.A)(p()["pane--vehicle-employees"]),background:y,id:k,children:[(0,_.Ay)(f),(0,i.jsx)(r.A,{slides:C,renderSlide:(e,t)=>(0,i.jsx)(c.A,{...e,widths:t,vehicleInfo:S,hideLastName:A}),widths:{sm:100,md:100,lg:100},slidesPerView:4,centeredSlides:!1,loop:!1})]})}},76081:e=>{e.exports={filters:"VehicleOverviewFilters_filters__uc_BX",collapse__item:"VehicleOverviewFilters_collapse__item__ZOyYu","collapse__item--opened":"VehicleOverviewFilters_collapse__item--opened__m3GbR",collapse__header:"VehicleOverviewFilters_collapse__header__3Lfc6",collapse__chevron:"VehicleOverviewFilters_collapse__chevron__PR2V3",collapse__icon:"VehicleOverviewFilters_collapse__icon__LjeEo",collapse__toggle:"VehicleOverviewFilters_collapse__toggle__LDebf",collapse__title:"VehicleOverviewFilters_collapse__title__j9lVu",collapse__collapse:"VehicleOverviewFilters_collapse__collapse__6dnI0",collapse__content:"VehicleOverviewFilters_collapse__content__6v9gU"}},76327:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var i=l(95155),a=l(79121),n=l(13521),s=l(60115),r=l(88468),c=l.n(r),o=l(12115),_=l(83001),d=l(69357),u=l(95415),p=l(95604),m=l(97315);function h(e){var t,l;
1let{buttons:r,backgrounds:[h]=[],anchors:v,mobilePositionTop:b,mobileTopSticky:g}=e,[f,y]=(0,o.useState)(!1),[x,k]=(0,o.useState)(Object.keys(v));(0,o.useEffect)(()=>{k(Object.keys(v).filter(e=>window.document.getElementById(e)))},[!0,v]);let j=(0,_.f)(x),A=(0,p.useTranslations)(),w=(0,o.useCallback)(e=>{let t=document.getElementById(e);null==t||t.scrollIntoView({behavior:"smooth"}),y(!1)},[]),N=(0,m.A)("lg");return(0,o.useEffect)(()=>{let e=document.createElement("style");N||(e.textContent="\n                .TrengoWidgetLauncher__iframe {\n                    bottom: 7.5rem !important;\n                }\n            "),document.head.appendChild(e);let t=setTimeout(()=>{if(N)return;let e=new CSSStyleSheet;e.replaceSync(".cHdRBS { bottom: 6.4rem !important; }");let t=document.querySelector("#autochat-chat-start--bubble .needsclick");if(t&&t.shadowRoot){let l=t.shadowRoot;l.adoptedStyleSheets=[...l.adoptedStyleSheets,e]}},7500);return()=>{document.head.removeChild(e),clearTimeout(t)}},[]),(0,i.jsxs)(n.default,{theme:"light",className:(0,a.A)(c()["pane--quick-links"],c()["pane--".concat(h.theme)],b?c()["pane--mobile-top"]:"",b&&g?c()["pane--mobile-top-sticky"]:"",b?"":"quick-links-fixed-bottom"),background:h,children:[(0,i.jsxs)("div",{className:(0,a.A)(c().pane__bar,c()["device--desktop"]),children:[(0,i.jsx)("div",{className:(0,a.A)(c().pane__anchors),children:x.map(e=>v[e]?(0,i.jsx)("a",{onClick:()=>w(e),className:(0,a.A)(c().pane__anchor,e===j?c()["pane__anchor--active"]:""),children:v[e]},e):null)}),(0,i.jsx)("div",{className:(0,a.A)(c().pane__buttons),children:r&&r.length>0&&(0,i.jsx)(s.default,{...r[0],type:"button"})})]}),(0,i.jsxs)("div",{className:(0,a.A)(c().pane__bar,c()["device--tablet"]),children:[(0,i.jsxs)("div",{className:(0,a.A)(c().pane__buttons),children:[(0,i.jsxs)("button",{onClick:()=>y(!0),children:[(0,i.jsx)(u.A,{icon:"keyboard_arrow_up"}),(0,i.jsx)("span",{children:(null==(t=Object.entries(v).find(e=>{let[t,l]=e;return t===j}))?void 0:t[1])||A("quick_links.quick_navigation")})]}),r&&r.length>0&&(0,i.jsx)(s.default,{...r[0],type:"button"})]}),(0,i.jsx)(d.A,{size:"sm",open:f,close:()=>y(!1),className:c().modal__class,bodyClassName:c().modal__body,body:(0,i.jsx)("div",{className:(0,a.A)(c().modal__content),children:(0,i.jsx)("div",{className:(0,a.A)(c().pane__anchors),children:Object.entries(v).map(e=>{let[t,l]=e;return l?(0,i.jsx)("a",{onClick:()=>w(t),className:(0,a.A)(c().pane__anchor,t===j?c()["pane__anchor--active"]:""),children:l},t):null})})}),button:!1,footer:(0,i.jsxs)("div",{className:(0,a.A)(c().pane__buttons),children:[(0,i.jsxs)("button",{onClick:()=>y(!1),children:[(0,i.jsx)(u.A,{icon:"keyboard_arrow_down"}),(0,i.jsx)("span",{children:(null==(l=Object.entries(v).find(e=>{let[t,l]=e;return t===j}))?void 0:l[1])||A("quick_links.quick_navigation")})]}),r&&r.length>0&&(0,i.jsx)(s.default,{...r[0],type:"button"})]})})]})]})}},76990:(e,t,l)=>{"use strict";l.d(t,{default:()=>j});var i=l(95155),a=l(79121),n=l(93760),s=l(80560),r=l.n(s),c=l(65890),o=l(59317),_=l(99028),d=l(42425),u=l(12115),p=l(6235),m=l(54695),h=l.n(m);function v(e){let{}=e,[t,l]=(0,u.useState)(!1),n=(0,u.useRef)(null),{stepIndex:s=0,submitId:r}=(0,_.xW)(),m=(0,p.A)();return(0,u.useEffect)(()=>{var e;let t=()=>{l(!0)};return null==(e=n.current)||e.addEventListener("focusin",t),()=>{var e;null==(e=n.current)||e.removeEventListener("focusin",t)}},[]),(0,u.useEffect)(()=>{t&&0===s&&m("in_page")},[t,s,r]),(0,i.jsxs)("div",{ref:n,children:[(0,i.jsx)(o.A,{className:(0,a.A)(h()["form-inline__finance-banner"])}),(0,i.jsx)(c.A,{maxStepIndex:0}),(0,i.jsx)(d.A,{open:s>0,minStepIndex:1,resetOnClose:!1,type:"in_page"})]})}r().setAppElement("body");var b=l(83900),g=l(52482);let f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,b.useQuery)({queryKey:["form",String(e)],queryFn:()=>(0,g.hc)(e),enabled:!!e,staleTime:3e5,...t})};var y=l(49399),x=l(85402),k=l.n(x);function j(e){let{formId:t,hidePanel:l=!1}=e,{data:s,isLoading:r}=f(t);if(!t||r||!s)return null;let c=l?u.Fragment:y.A;return(0,i.jsx)("div",{className:(0,a.A)(k().block,k()["block--form"],l?k()["block--text-like"]:""),children:(0,i.jsx)(c,{children:(0,i.jsx)(n.A,{form:s,children:(0,i.jsx)(v,{})})})})}},77026:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var i=l(95155),a=l(78317),n=l(43134);function s(e){let{sorting:t,sortings:l,setSorting:s}=e,r=(0,n.A)();return(0,i.jsx)(a.A,{icon:"sort",value:t,active:!!t,options:l.map(e=>({value:e,title:r("vehicle.sorting.".concat(e),{},{},e)})),onChange:e=>s(e.target.value)})}},77320:(e,t,l)=>{"use strict";l.d(t,{A:()=>u});var i=l(95155),a=l(97176),n=l.n(a),s=l(79121),r=l(95415),c=l(85637),o=l(95604),_=l(40859),d=l.n(_);function u(e){let{prices:t}=e,l=(0,o.useTranslations)();return(0,i.jsx)("div",{className:(0,s.A)(d().prices),children:["purchase","finance","businessFinance","privateLease","businessLease","addition"].filter(e=>{var l,i;return(null!=(i=null==(l=t[e])?void 0:l.value)?i:null)!==null}).map(e=>{var a;let o=t[e],_=l("model.price.".concat(n()(e),".").concat(["purchase","business_lease","business_finance"].includes(e)?o.includingVat?"including_vat.tooltip":"excluding_vat.tooltip":"tooltip"));return(0,i.jsxs)("div",{className:(0,s.A)(d().prices__item),children:[(0,i.jsxs)("span",{className:(0,s.A)(d().prices__start),children:[(0,i.jsx)("span",{className:(0,s.A)(d().prices__title),children:l("model.price.".concat(n()(e),".title"))}),o.previousValue?(0,i.jsx)("span",{className:(0,s.A)(d()["prices__previous-value"]),children:l("model.price.".concat(n()(e),".value"),{value:o.previousValue})}):null]}),null==(a=o.includingVat)||a?null:(0,i.jsx)("span",{className:(0,s.A)(d().prices__vat),children:l("excluding_vat")}
1),(0,i.jsxs)("span",{className:(0,s.A)(d().prices__value),children:[l("model.price.".concat(n()(e),".value"),{value:o.value}),_?(0,i.jsx)(c.A,{overlay:(0,i.jsx)("p",{children:_}),children:(0,i.jsx)(r.A,{icon:"info",className:(0,s.A)(d()["prices__tooltip-icon"])})}):null]})]},e)})})}},77897:(e,t,l)=>{"use strict";l.d(t,{default:()=>H});var i=l(95155),a=l(12115),n=l(20463),s=l.n(n),r=l(45089),c=l(83900),o=l(80695),_=l(82158),d=l(32511),u=l.n(d),p=l(23212),m=l(16522),h=l(30245),v=l(47541),b=l(95604),g=l(79121),f=l(49570),y=l.n(f);function x(e){var t;let{filter:l,path:a}=e,{values:n,setValues:s}=(0,o.iN)();(0,b.useTranslations)();let r=(0,h.e)();return l&&"number-range"!==l.type&&"range-overlap"!==l.type&&"geo-distance"!==l.type&&(null==(t=l.options)?void 0:t.length)!==0?(0,i.jsx)("div",{className:(0,g.A)(y().wrapper),children:(0,i.jsx)(v.A,{children:l.options.map(e=>{let t=[...a,e.key],c=void 0!==(0,_.bf)(n,t);return(0,i.jsx)(p.A,{as:m.A,label:r(l.key,e.key),checked:c,onChange:()=>{c?s((0,_.WE)(u()(n),t)):s((0,_.HJ)(u()(n),t,null))}},e.key)})})}):null}var k=l(1798),j=l(69216),A=l(84642),w=l(83489),N=l(95822),C=l(60115),S=l(95415),P=l(60273),E=l.n(P),T=l(97176),M=l.n(T),V=l(43134),I=l(35465),O=l(78317);function L(e){var t,l,n,s;let{label:r,placeholder:c,primaryFilter:d,primaryPath:p,secondaryFilter:m,secondaryPath:v,disabled:b}=e,g=(0,a.useId)(),{values:f,setValues:y}=(0,o.iN)(),x=(0,h.e)(),k=Object.keys(null!=(t=(0,_.bf)(f,p))?t:{}).at(0),j=Object.keys(null!=(l=(0,_.bf)(f,v))?l:{}).at(0),A=k?"primary::".concat(k):j?"secondary::".concat(j):"",w=!!(k||j),N=(e,t,l)=>e&&"number-range"!==e.type&&"range-overlap"!==e.type&&"geo-distance"!==e.type?e.options.map(e=>({value:"".concat(t,"::").concat(e.key),title:x(l,e.key)})).sort((e,t)=>e.title.localeCompare(t.title)):[],C=null!=(n=null==d?void 0:d.key)?n:"",S=null!=(s=null==m?void 0:m.key)?s:"",P=[...N(d,"primary",C),...N(m,"secondary",S)];return(0,i.jsx)(O.A,{id:g,label:r,placeholder:c,active:w,value:A,disabled:b,options:P,onChange:e=>{let t=e.target.value,l=u()(f);if(l=(0,_.WE)(l,p),l=(0,_.WE)(l,v),!t)return void y(l);let i=t.indexOf("::"),a=t.slice(0,i),n=t.slice(i+2),s="primary"===a?p:v;y((0,_.HJ)(l,s,{[n]:""}))}})}var F=l(75598),B=l(31695),z=l(72346);let R=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);function H(e){var t,l,n,_,d,u,p,m,h;let v,b,f,y,{initialData:P,initialValues:T,text:O,vehicleListId:H,vehicleFilterId:U,vehicleOverviewHref:D,numberOfColumns:q,numberOfRows:W,sortFilters:G,widths:Q}=e,{locale:K}=(0,z.t)(),[Y,X]=(0,a.useState)(!1),[J,Z]=(0,a.useState)(null!=T?T:{}),[$,ee]=(0,a.useState)(!1),[et,el]=(0,N.A)(J),{horizontalAlignment:ei}=(0,B.o)(),ea=(0,r.useQueryClient)(),en=["vehicleList",{vehicleListId:H,vehicleFilterId:U,debouncedValues:et}],{data:es={}}=(0,c.useQuery)({queryKey:en,queryFn:e=>{let{signal:t}=e;return(0,A.h)(H,U,1,void 0,s().stringify(J),t,void 0,void 0,K)},placeholderData:P,keepPreviousData:!0,staleTime:3e5}),{count:er=0,filters:ec=[]}=null!=es?es:{},eo=(0,V.A)(),e_=q*W,ed=q/Q.lg,eu=R(ed*Q.md/2);R(ed*Q.sm/4),(0,a.useEffect)(()=>{ea.cancelQueries({queryKey:en}),el(J,500),X(!0)},[J]),(0,a.useEffect)(()=>{X(!1)},[es]),(0,a.useEffect)(()=>()=>{ea.cancelQueries({queryKey:en})},[]);let ep=ec.find(e=>"vehicleState"===e.key),em=ec.find(e=>"brand"===e.key),eh=Object.keys(null!=(n=J.brand)?n:{}).at(0);if(eh&&em&&"checkboxes"===em.type){let e=em.options.find(e=>e.key===eh);e&&(v=null==(_=e.filters)?void 0:_.find(e=>"model"===e.key))}let ev=ec.find(e=>"serieBrand"===e.key),eb=Object.keys(null!=(d=J.serieBrand)?d:{}).at(0);if(eb&&ev&&"checkboxes"===ev.type){let e=ev.options.find(e=>e.key===eb);e&&(b=null==(u=e.filters)?void 0:u.find(e=>"serieModel"===e.key),f=null==(p=e.filters)?void 0:p.find(e=>"serieLabel"===e.key))}let eg=Object.keys(null!=(m=null==(l=J.serieBrand)||null==(t=l[null!=eb?eb:""])?void 0:t.serieModel)?m:{}).at(0);if(eg&&b&&"checkboxes"===b.type){let e=b.options.find(e=>e.key===eg);e&&(y=null==(h=e.filters)?void 0:h.find(e=>"modelVariant"===e.key))}let ef=s().stringify({filter:J},{arrayFormat:"brackets"}),ey=D+(ef&&(D.includes("?")?"&":"?"))+ef,ex=ec.filter(e=>"vehicleState"!==e.key&&(!(G.length>
10)||G.includes(e.key))).sort((e,t)=>G.indexOf(e.key)-G.indexOf(t.key)).reduce((e,t)=>(("number-range"===t.type||"range-overlap"===t.type)&&e.push((0,i.jsx)(j.A,{filter:t,path:[t.key]},t.key)),"select-range"===t.type&&e.push((0,i.jsx)(I.A,{filter:t,path:[t.key]},t.key)),"checkboxes"===t.type&&("brand"===t.key?(e.push((0,i.jsx)(k.A,{label:eo("vehicle_search.filter.brand.label"),placeholder:eo("vehicle_search.filter.brand.placeholder"),filter:t,path:["brand"]},"brand")),e.push((0,i.jsx)(k.A,{label:eo("vehicle_search.filter.model.label"),placeholder:eo("vehicle_search.filter.model.placeholder"),filter:v,path:["brand",null!=eh?eh:"","model"],disabled:!eh},"model"))):"serieBrand"===t.key?(e.push((0,i.jsx)(k.A,{label:eo("vehicle_search.filter.serie_brand.label"),placeholder:eo("vehicle_search.filter.serie_brand.placeholder"),filter:t,path:["serieBrand"]},"serieBrand")),e.push((0,i.jsx)(L,{label:eo("vehicle_search.filter.serie_model.label"),placeholder:eo("vehicle_search.filter.serie_model.placeholder"),primaryFilter:b,primaryPath:["serieBrand",null!=eb?eb:"","serieModel"],secondaryFilter:f,secondaryPath:["serieBrand",null!=eb?eb:"","serieLabel"],disabled:!eb},"serieModelLabel")),e.push((0,i.jsx)(k.A,{label:eo("vehicle_search.filter.model_variant.label"),placeholder:eo("vehicle_search.filter.model_variant.placeholder"),filter:y,path:["serieBrand",null!=eb?eb:"","serieModel",null!=eg?eg:"","modelVariant"],disabled:!eg},"modelVariant"))):e.push((0,i.jsx)(k.A,{label:eo("vehicle.attribute.".concat(M()(t.key),".title"),{},{},""),placeholder:eo("vehicle.attribute.".concat(M()(t.key),".title"),{},{},""),filter:t,path:[t.key]},t.key))),e),[]);return(0,i.jsxs)(i.Fragment,{children:[O?(0,i.jsx)("div",{className:(0,g.A)(E()["vehicle-search__text"]),dangerouslySetInnerHTML:{__html:O}}):null,(0,i.jsx)(o.Gf,{values:J,setValues:e=>{Z((0,w.k)(ec,e)||{})},filters:ec,children:(0,i.jsxs)("div",{className:(0,g.A)(E()["vehicle-search__form"]),children:[ep?(0,i.jsx)(x,{filter:ep,path:["vehicleState"]}):null,(0,i.jsx)("div",{className:(0,g.A)(E()["vehicle-search__field-grid"]),style:{"--columns-sm":2,"--columns-md":eu,"--columns-lg":q},children:ex.slice(0,e_)}),ex.length>e_?(0,i.jsx)(F.S,{isOpened:$,theme:{collapse:(0,g.A)(E().collapse),content:(0,g.A)(E().collapse__content)},children:(0,i.jsxs)("div",{...!$?{inert:!0}:null,children:[(0,i.jsx)("div",{className:(0,g.A)(E().divider),children:(0,i.jsx)("hr",{})}),(0,i.jsx)("div",{className:(0,g.A)(E()["vehicle-search__field-grid"]),style:{"--columns-sm":2,"--columns-md":eu,"--columns-lg":q},children:ex.slice(e_)})]})}):null,(0,i.jsxs)("div",{className:(0,g.A)(E().buttons,Q.lg>50?E()["buttons--inline"]:"",ei?E()["buttons--align-".concat(ei)]:""),children:[(0,i.jsx)(C.default,{href:null!=ey?ey:"",theme:"primary",title:eo("vehicle_search.button.show",{count:er}),className:(0,g.A)(E()["vehicle-search__button"]),loading:Y}),ex.length>e_?(0,i.jsxs)("button",{title:eo("vehicle_search.button.".concat($?"less_filters":"more_filters")),className:(0,g.A)(E()["vehicle-search__link"]),onClick:()=>ee(!$),children:[$?(0,i.jsx)(S.A,{icon:"remove"}):(0,i.jsx)(S.A,{icon:"add"}),(0,i.jsx)("span",{children:eo("vehicle_search.button.".concat($?"less_filters":"more_filters"))})]}):null]})]})})]})}},78121:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var i=l(95155),a=l(79121),n=l(24089),s=l(13521),r=l(16370),c=l.n(r),o=l(96904),_=l(58219),d=l(18588),u=l(73224);function p(e){let{text:t="",backgrounds:[l]=[],id:r}=e,p=(0,d.v8)(),{priceTypes:m=[],specs:h=[],specsDisplayMode:v="standard",priceDisplayMode:b="standard",cardTheme:g="regular",showStockStatus:f=!1,showLabel:y=!1,maxLabels:x=1,labelPosition:k="top-left",editionLines:j=2,showEstablishment:A=!1,hideAddition:w=!1,showCompare:N=!1,showFavorites:C=!1,showPriceAdvantage:S=!1,disableGroupedFinancePrices:P=!1,disableGroupedLeasePrices:E=!1,buttonTheme:T="highlight-outlined",themeColor:M="primary"}={},{recentVehicles:V}=(0,_.c)({excludeSlug:null==p?void 0:p.slug});return V.length<1?null:(0,i.jsxs)(s.default,{theme:"light",className:(0,a.A)(c()["pane--vehicle-recently-viewed"]),background:l,id:r,children:[(0,n.Ay)(t),(0,i.jsx)(u.VehicleCardConfigContextProvider,{priceTypes:(null==m?void 0:m.length)?m:["purchase","b2b","finance","businessFinance","privateLease","businessLease","shortLease"],specs:(null==h?void 0:h.length)?h:["yearOfConstruction","odometerReading","fuel"],specsDisplayMode:v,priceDisplayMode:b,cardTheme:g,showStockStatus:f,showLabel:y,maxLabels:x,labelPosition:k,editionLine
1s:j,showEstablishment:A,hideAddition:w,showCompare:N,showFavorites:C,showImageSlider:!1,showPriceAdvantage:S,disableGroupedFinancePrices:P,disableGroupedLeasePrices:E,buttonTheme:T,themeColor:M,children:(0,i.jsx)(o.default,{slides:V,slidesPerView:4,widths:{sm:100,md:100,lg:100}})})]})}},78509:(e,t,l)=>{"use strict";l.d(t,{ModelContextProvider:()=>s,Q:()=>r});var i=l(95155),a=l(12115);let n=a.createContext({});function s(e){let{children:t,editions:l=[],...a}=e;return(0,i.jsx)(n.Provider,{value:{...a,editions:l},children:t})}let r=()=>(0,a.useContext)(n)},78585:e=>{e.exports={"media-360-anchor":"VehicleMedia_media-360-anchor__E1Ej7","all-media-button":"VehicleMedia_all-media-button__KoWvE","all-media-button--mobile-left":"VehicleMedia_all-media-button--mobile-left__KqgUI",wrapper:"VehicleMedia_wrapper__4cSwc",grid:"VehicleMedia_grid__O5KaG",media:"VehicleMedia_media__H_GrJ","media--mobile-hidden":"VehicleMedia_media--mobile-hidden__O3_QI","media--desktop-hidden":"VehicleMedia_media--desktop-hidden__MNjmk",image:"VehicleMedia_image__5jLgH",gallery__image:"VehicleMedia_gallery__image__hYeiv",gallery__youtube:"VehicleMedia_gallery__youtube__eA1SR","gallery__zoom-target":"VehicleMedia_gallery__zoom-target__iyWBF"}},79040:e=>{e.exports={employee__placeholder:"Employee_employee__placeholder__r7zzJ","employee__placeholder-icon":"Employee_employee__placeholder-icon__lEBc0",employee__title:"Employee_employee__title__CK_Nz",employee__position:"Employee_employee__position__VrcgW",employee__contact:"Employee_employee__contact__BlHvE","employee__contact-link":"Employee_employee__contact-link__ByXMx","employee__contact-icon":"Employee_employee__contact-icon__YSC8T","employee__contact-icon--socials":"Employee_employee__contact-icon--socials__9mEqa","employee__contact-icon--facebook":"Employee_employee__contact-icon--facebook__aULKE","employee__contact-icon--instagram":"Employee_employee__contact-icon--instagram__tTqlq","employee__contact-icon--youtube":"Employee_employee__contact-icon--youtube__GTHuC","employee__contact-icon--twitter":"Employee_employee__contact-icon--twitter__x9muV","employee__contact-icon--linkedin":"Employee_employee__contact-icon--linkedin__GuaKY","employee__contact-icon--tiktok":"Employee_employee__contact-icon--tiktok__1jy91","employee__contact-icon--whatsapp":"Employee_employee__contact-icon--whatsapp__BKs2f","employee__contact-text":"Employee_employee__contact-text__9FfLU"}},79483:(e,t,l)=>{"use strict";l.d(t,{A:()=>c});var i=l(95155),a=l(27733),n=l(79121),s=l(22672),r=l.n(s);function c(e){let{id:t,className:l,backgroundClassName:s,bodyClassName:c,contentClassName:o,background:_,backgroundStart:d,backgroundEnd:u,theme:p,children:m,body:h=(0,i.jsx)(a.A,{children:m}),paneHeight:v="auto",paneContentAlignment:b="top"}=e;return(0,i.jsx)("section",{tabIndex:-1,id:t,className:(0,n.A)(r().pane,l,r()["pane--".concat(p||"light")],_?r()["pane--background"]:"",d?r()["pane--background-start"]:"",u?r()["pane--background-end"]:"",r()["pane--height__".concat(v)],r()["pane--content__".concat(b)]),children:(0,i.jsxs)("div",{className:(0,n.A)(r().pane__body,c),children:[_?(0,i.jsx)("div",{className:(0,n.A)(r().pane__background,s),children:_}):null,d?(0,i.jsx)("div",{className:(0,n.A)(r().pane__background,s),children:d}):null,u?(0,i.jsx)("div",{className:(0,n.A)(r().pane__background,s),children:u}):null,(0,i.jsx)("div",{className:(0,n.A)(r().pane__content,o),children:(0,i.jsx)("div",{className:(0,n.A)(r().pane__content__inner),children:h})})]})})}},79893:e=>
1{e.exports={background:"BackgroundPattern_background__HccG6",background__pattern:"BackgroundPattern_background__pattern__RBStZ"}},80184:e=>{e.exports={edition__options:"Edition_edition__options__Ese_I",edition__option:"Edition_edition__option___XAdW","edition__options--masked":"Edition_edition__options--masked___osMh","edition__options-show-modal":"Edition_edition__options-show-modal__iatcs","edition__modal-content":"Edition_edition__modal-content__nbhBH","price-title":"Edition_price-title__j_mOf",price:"Edition_price__yUBnf",price__details:"Edition_price__details__q9ywj",price__values:"Edition_price__values__iTHov",price__title:"Edition_price__title__MPfe4",price__vat:"Edition_price__vat__v4tU5",price__value:"Edition_price__value__zEg4W","price__previous-value":"Edition_price__previous-value__P7zuj","price__credit-table":"Edition_price__credit-table__67l5C",price__tooltip:"Edition_price__tooltip__9uMcT"}},80695:(e,t,l)=>{"use strict";l.d(t,{Gf:()=>s,iN:()=>r});var i=l(95155),a=l(12115);let n=a.createContext({values:{},setValues:()=>{},filters:[]});function s(e){let{values:t,setValues:l,filters:a,children:s}=e;return(0,i.jsx)(n.Provider,{value:{values:t,setValues:l,filters:a},children:s})}let r=()=>(0,a.useContext)(n)},80774:(e,t,l)=>{"use strict";l.d(t,{A:()=>r});var i=l(95155),a=l(85483),n=l(33171),s=l(60115);function r(e){let{slides:t,buttons:l=[],...r}=e;return(0,i.jsx)(a.A,{renderSlide:e=>(0,i.jsx)(n.A,{media:void 0,...e,text:null,cta:l.length>0?l.map((e,t)=>(0,i.jsx)(s.default,{...e,type:void 0,fullWidth:!0},t)):null}),slides:t,...r})}},81421:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var i=l(95155),a=l(95415),n=l(57523),s=l(29400),r=l.n(s),c=l(79121),o=l(5519),_=l(59491),d=l(95604),u=l(7078),p=l.n(u);function m(e){let{media:t,title:l,street:s,houseNumber:u,postalCode:m,city:h,emailAddress:v,phoneNumber:b,routeUrl:g,openingStatus:f,cta:y,action:x,beforeBody:k,afterDetails:j}=e,A=(0,d.useTranslations)(),w=y&&(!Array.isArray(y)||y.length>0);return(0,i.jsx)(n.A,{theme:"regular",media:t?(0,i.jsx)(_.A,{action:x,tabIndex:-1,children:t}):null,body:(0,i.jsxs)(i.Fragment,{children:[k,l?(0,i.jsx)("p",{className:(0,c.A)(r().card__title),children:(0,i.jsx)(_.A,{action:x,children:l})}):null,(0,i.jsx)("div",{className:(0,c.A)(r().card__text),children:(0,i.jsxs)("div",{className:(0,c.A)(p().establishment__information),children:[f,s||u||m||h?(0,i.jsx)(_.A,{action:x,tabIndex:-1,children:(0,i.jsxs)("span",{children:["".concat(s||""," ").concat(u||"").trim(),(0,i.jsx)("br",{}),"".concat(m||""," ").concat(h||"").trim()]})}):null,g||s&&u&&m&&h?(0,i.jsxs)(o.default,{href:g||"https://www.google.com/maps?q=".concat(s,"+").concat(u,",+").concat(m,"+").concat(h),target:"_blank",className:(0,c.A)(p()["establishment__details-link"]),children:[(0,i.jsx)(a.A,{icon:"directions",className:(0,c.A)(p()["establishment__details-icon"])}),A("establishment.contact__details.marker_label")]}):null,b?(0,i.jsxs)(o.default,{href:"tel:".concat(b),target:"_blank",className:(0,c.A)(p()["establishment__details-link"]),children:[(0,i.jsx)(a.A,{icon:"phone",className:(0,c.A)(p()["establishment__details-icon"])}),b]}):null,v?(0,i.jsxs)(o.default,{href:"mailto:".concat(v),target:"_blank",className:(0,c.A)(p()["establishment__details-link"]),children:[(0,i.jsx)(a.A,{icon:"mail",className:(0,c.A)(p()["establishment__details-icon"])}),v]}):null,j]})}),w?(0,i.jsx)("div",{className:(0,c.A)(r().card__cta),children:y}):null]})})}},81602:(e,t,l)=>{"use strict";l.d(t,{A:()=>y});var i=l(95155),a=l(12115),n=l(79121),s=l(95415),r=l(98814),c=l(4742),o=l(97176),_=l.n(o),d=l(43134),u=l(55761),p=l.n(u),m=l(3765),h=l(82158),v=l(80695),b=l(76065);l(19711);var g=l(97315);let f='input, button, select, textarea, [tabindex]:not([tabindex="-1"])';function y(e){let{filters:t,domain:l="vehicle"}=e,o=(0,g.A)("lg"),[u,y]=(0,a.useState)(!1),[k,j]=(0,a.useState)(null),A=(0,d.A)(),{values:w}=(0,v.iN)();return(0,a.useEffect)(()=>{o||j(null)},[o]),(0,a.useEffect)(()=>{if(k){let e=setTimeout(()=>{let e=document.querySelector('[data-filter-key="'.concat(k,'"]')),t=null==e?void 0:e.querySelector("[data-filter-body]"),l=null==t?void 0:t.querySelector(f);null==l||l.focus()},100);return()=>clearTimeout(e)}},[k]),(0,a.useEffect)(()=>{let e=e=>
1{if("Tab"===e.key&&!e.shiftKey&&k){let l=document.querySelector('[data-filter-key="'.concat(k,'"]')),i=null==l?void 0:l.querySelectorAll(f),a=null==i?void 0:i[i.length-1];if(e.target===a){e.preventDefault(),j(null);let l=t.findIndex(e=>e.key===k)+1;if(l<t.length){let e=document.querySelector('[data-filter-button="'.concat(t[l].key,'"]'));null==e||e.focus()}}}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[k,t]),(0,i.jsxs)("div",{className:(0,n.A)(p().filters),role:"region","aria-label":A("vehicle_overview.filter.title"),children:[(0,i.jsxs)("div",{className:(0,n.A)(p().filters__items,p()["filters__items--".concat(u?"open":"closed")]),children:[t.map(e=>{let t=(0,h.bf)(w,[e.key]),a=void 0!==t,s=k===e.key,o=A("".concat(l,".attribute.").concat(_()(e.key),".tooltip"),{},{},"");return(0,i.jsx)("div",{className:(0,n.A)(p().filter),children:(0,i.jsx)(b.A,{motion:{motionName:"fade",motionAppear:!0,motionEnter:!0,motionLeave:!0,onAppearEnd:()=>!1,onEnterEnd:()=>!1,onLeaveEnd:()=>!1},showArrow:!1,visible:s,onVisibleChange:t=>{j(t?e.key:null)},placement:"bottomLeft",overlay:(0,i.jsxs)("div",{"data-filter-key":e.key,children:[o?(0,i.jsxs)("div",{className:(0,n.A)(p().dropdown__header),children:[(0,i.jsx)("span",{className:(0,n.A)(p().dropdown__title),children:A("".concat(l,".attribute.").concat(_()(e.key),".title"),{},{},"")}),(0,i.jsx)(c.A,{filterKey:e.key,domain:l,placement:"bottom"})]}):null,(0,i.jsx)("div",{className:(0,n.A)(p().dropdown__body),"data-filter-body":!0,children:(0,i.jsx)(r.A,{filter:e})}),(0,i.jsx)("div",{className:(0,n.A)(p().dropdown__footer),children:(0,i.jsx)(m.A,{filter:e})})]}),trigger:"click",overlayClassName:(0,n.A)(p().dropdown,s?p()["dropdown--visible"]:""),children:(0,i.jsxs)("button",{className:(0,n.A)(p().filter__toggle,a?p()["filter__toggle--active"]:""),title:e.key,"aria-expanded":s,"aria-label":"".concat(A("".concat(l,".attribute.").concat(_()(e.key),".title"),{},{},"")," ").concat(a?"(".concat(x(e,t)," ").concat(A("vehicle_overview.filter.selected"),")"):""),"data-filter-button":e.key,children:[(0,i.jsx)("span",{className:(0,n.A)(p().filter__title),children:A("".concat(l,".attribute.").concat(_()(e.key),".title"),{},{},"")}),a?(0,i.jsx)("span",{className:(0,n.A)(p().filter__count),"aria-hidden":"true",children:x(e,t)}):null]})})},e.key)}),u?(0,i.jsxs)("button",{className:(0,n.A)(p().filters__button),onClick:()=>y(!u),"aria-expanded":u,"aria-label":A("vehicle_overview.filter.less_filters"),children:[(0,i.jsx)(s.A,{icon:"remove","aria-hidden":"true"}),(0,i.jsx)("span",{children:A("vehicle_overview.filter.less_filters")})]},"close"):null]}),u?null:(0,i.jsxs)("button",{className:(0,n.A)(p().filters__button),onClick:()=>y(!u),"aria-expanded":u,"aria-label":A("vehicle_overview.filter.more_filters"),children:[(0,i.jsx)(s.A,{icon:"add","aria-hidden":"true"}),(0,i.jsx)("span",{children:A("vehicle_overview.filter.more_filters")})]},"open")]})}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"number-range"===e.type||"select-range"===e.type||"range-overlap"===e.type?Object.keys(t).length:"checkboxes"===e.type?e.options.reduce((e,l)=>{var i,a;return e+ +(l.key in t)+(null!=(a=null==(i=l.filters)?void 0:i.reduce((e,i)=>e+x(i,(0,h.bf)(t,[l.key,i.key])),0))?a:0)},0):"single-select"===e.type?+!!t:+("geo-distance"===e.type)}},81609:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var i=l(3369);function a(){return i.A.create({timeout:1e4,headers:{"referrer-policy":"no-referrer-when-downgrade"}})}},81737:e=>{e.exports={"header__block-link":"HeaderPrimaryLinks_header__block-link__9v5FA","header__links-grid":"HeaderPrimaryLinks_header__links-grid___mfMC","header__links-column":"HeaderPrimaryLinks_header__links-column__Ib1LY","header__links-group":"HeaderPrimaryLinks_header__links-group__OJ6cj","header__links-group-title":"HeaderPrimaryLinks_header__links-group-title__0LX8l","header__links-group-title--link":"HeaderPrimaryLinks_header__links-group-title--link__oWA1V","header__links-group-link":"HeaderPrimaryLinks_header__links-group-link__rO1Nh"}},82046:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var i=l(95155),a=l(72346),n=l(79121),s=l(79893),r=l.n(s);function c(e){let{className:t,patternClassName:l}=e,{config:{style:s}}=(0,a.t)();return(0,i.jsx)("div",{className:(0,n.A)(r().background,t),children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1020 510",fill:"none",fillRule:"evenodd",className:(0,n.A)(r().background__pattern,l),children:[(0,i.jsx)("path",{fill:s.colorPrimary,d:"M0 0h1020v510H0z"}),(0,i.jsx)("path",{fill:"#000",d:"M69 58h39v39H69zM919 58h39v39h-39z"}),(0,i.jsx)("path",{fill:s.colorSecondary,d:"M0 0v510h340V340H170V170zm340 340h212v-42h-42V0H340v170zm0-340h-84.999v85.001zm-84.999 0H170v85.001zm255 340v170l84-84.999zM680 0v170h340L850 0z"}),(0,i.jsx)("path",{fill:s.colorPrimary,d:"M85 0c46.944 0 85 38.056 85 85s-38.056 85-85 85S0 131.944 0 85 38.056 0 85 0zm0 69c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM935 0c46.944 0 85 38.056 85 85s-38.056 85-85 85-85-38.056-85-85 38.056-85 85-85zm0 69c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16z"}),(0,i.jsxs)("g",{fill:"#000",children:[(0,i.jsx)("path",{d:"M0 170c57.333 4.667 97.333 23.667 120 57s20.333 57-7 71l-77 42H0z"}),(0,i.jsx)("circle",{cx:-255,cy:-432,r:57,transform:"scale(-1)"}),(0,i.jsx)("circle",{cx:425,cy:78,r:57}),(0,i.jsx)("path",{d:"M680 0v256h-42.999v42H680v42l170-170H716l77-42c27.333-14 29.667-37.667 7-71S737.333 4.667 680 0zm170 170v170l170-170z"})]}),(0,i.jsx)("path",{fill:"#fff",d:"M84.999 0C61.527 0 40.276 9.514 24.894 24.896l48.79 48.79A15.952 15.952 0 0 1 84.998 69c8.837 0 16 7.164 16 16 0 4.419-1.792 8.418-4.687 11.313l48.79 48.79c15.382-15.382 24.896-36.63 24.896-60.103 0-46.944-38.055-85-85-85zm84.999 85.001V170l-170 170h170v170h3c-2-28.667 7-58.333 27-89s66.667-57.667 140-81V170H169.997l84.999-84.999V0zm85.001 0V170l84.999-84.999V0zM340 170h297v44.001h42.999v-214h-173c2 28.667-7 58.333-27 89s-66.667 57.667-140 81zm340 0h170V0zm170 0L680 340l-86 85.001 86 84.021V510l.494-.494.506.494-.006-.995 169.01-169.01zm0 170v170l170-170V170zm-170 0v-42h-42.999v42zm-340-84.999c24.667 31.333 54 47 88 47s61.332-15.667 81.998-47c-16-36-43.332-54.001-81.998-54.001s-68 18.001-88 54.001zm-170 170c-16-36-43.333-54.001-82-54.001s-68 18.001-88 54.001c24.667 31.333 54 47 88 47s61.333-15.667 82-47zM935 0c46.944 0 85 38.056 85 85 0 23.472-9.514 44.722-24.896 60.104l-48.79-48.79A15.95 15.95 0 0 0 951 85c0-8.837-7.163-16-16-16-4.418 0-8.418 1.79-11.314 4.686l-48.79-48.79C890.278 9.514 911.528 0 935 0z"}),(0,i.jsx)("path",{fill:"#000",d:"M255 85.001 169.999 170H255zM255 170h84.999V85.001z"}),(0,i.jsx)("path",{fill:s.colorSecondary,d:"M850 340 680 510h170zm0 170h170V340z"}),(0,i.jsx)("path",{fill:"#000",d:"m594.995 24.19 60.811 60.811-60.811 60.811-60.811-60.81zM254.997 194.186l60.811 60.81-60.811 60.812-60.811-60.811z"}),(0,i.jsx)("path",{fill:s.colorPrimary,d:"M552 42h86v86h-86zM212 212h86v86h-86z"}),(0,i.jsx)("path",{fill:s.colorSecondary,d:"m566.71 85.001 28.285-28.284 28.284 28.284-28.284 28.285zM226.713 254.997l28.284-28.284 28.284 28.284-28.284 28.284z"}),(0,i.jsx)("circle",{cx:595,cy:85,r:8,fill:"#fff"}),(0,i.jsx)("circle",{cx:255,cy:255,r:8,fill:"#fff"}),(0,i.jsx)("circle",{cx:425,cy:252,r:20,fill:"#000"}),(0,i.jsx)("circle",{cx:85,cy:422,r:20,fill:"#000"}),(0,i.jsx)("path",{fill:s.colorSecondary,d:"M594 298h43v42h-43zM594 214h43v42h-43z"}),(0,i.jsx)("path",{fill:"#fff",d:"M551 256h43v42h-43z"}),(0,i.jsx)("path",{fill:"#000",d:"M551 298h43v42h-43zM340 340v170h170V340zm170 170h170l-85.999-84.999z"}),(0,i.jsx)("circle",{cx:424,cy:381,r:17,fill:s.colorSecondary}),(0,i.jsx)("circle",{cx:468,cy:381,r:17,fill:s.colorPrimary}),(0,i.jsx)("circle",{cx:380,cy:381,r:17,fill:"#fff"}),(0,i.jsx)("circle",{cx:424,cy:425,r:17,fill:s.colorPrimary}),(0,i.jsx)("circle",{cx:468,cy:425,r:17,fill:s.colorPrimary}),(0,i.jsx)("circle",{cx:380,cy:425,r:17,fill:s.colorSecondary}),(0,i.jsx)("circle",{cx:424,cy:469,r:17,fill:s.colorSecondary}),(0,i.jsx)("circle",{cx:468,cy:469,r:17,fill:"#fff"}),(0,i.jsx)("circle",{cx:380,cy:469,r:17,fill:s.colorPrimary})]})})}},82238:(e,t,l)=>{"use strict";l.d(t,{tc:()=>o,Pf:()=>_});var i=l(45089),a=l(83900),n=l(5602),s=l(82496),r=l(20463),c=l.n(r);let o=["externalId","locationCity","minHoursPerWeek","maxHoursPerWeek","salaryMin","salaryMax","salaryPeriod","employmentType","category","company","department","locationCountry","education","experience","publishDate"],_=function(e){let{vacancyListId:t,...l}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){let{url:t,...l}=e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(0,s.A)(),_=(0,i.useQueryClient)(),d=c().stringify(l),u=async(e,t)=>{let{data:l}=await o.get(e,{signal:t});return l},p=async(e,t)=>{let{data:l}=await o.post(e,t);return l},m=t+(d?"?".concat(d):""),h=(0,a.useQuery)([t,d],e=>{let{signal:t}=e;return u(m,t)},r),v=(0,n.useMutation)(e=>p(t,e),{onSuccess:()=>
1{_.invalidateQueries([t])}});return{...h,create:v.mutate,isCreating:v.isLoading}}({url:"vacancies/vacancy-list/".concat(t),...l},r)}},82316:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var i=l(95155),a=l(6094),n=l(34471);function s(e){var t,l,s,d;let{columns:u,layout:p,widths:m,blockComponentOverwrites:h,likelyLCP:v=!1}=e,b=3===u.length&&!(null==(l=u[0])||null==(t=l.blocks)?void 0:t.length)&&!(null==(d=u[2])||null==(s=d.blocks)?void 0:s.length),g=e=>b?Number(p.split("|")[e]):12/Math.round(u.length/2),f=u.map((e,t)=>{let{orderMd:l,orderLg:i}=e;return{index:t,order:{sm:t+1,md:null!=l?l:null,lg:null!=i?i:null},span:{sm:12,md:g(t),lg:Number(p.split("|")[t])}}}),y={sm:c(r(f,"sm"),"sm"),md:c(r(f,"md"),"md"),lg:c(r(f,"lg"),"lg")},x=u.findIndex(e=>{var t;return null==e||null==(t=e.blocks)?void 0:t.length});return(0,i.jsx)(i.Fragment,{children:u.map((e,t)=>{var l,s,r,c,d,f;let k=o(y.sm,t),j=o(y.md,t),A=o(y.lg,t),w=_(null!=(c=null==(l=u[k.previousColumnIndex])?void 0:l.blocks)?c:[]),N=_(null!=(d=null==(s=u[j.previousColumnIndex])?void 0:s.blocks)?d:[]),C=_(null!=(f=null==(r=u[A.previousColumnIndex])?void 0:r.blocks)?f:[]);return(0,i.jsx)(a.A,{verticalAlignment:e.verticalAlignment,horizontalAlignment:e.horizontalAlignment,span:{sm:12,md:g(t),lg:Number(p.split("|")[t])},order:{sm:(k.rowIndex+1)*100+k.columnIndex+1,md:(j.rowIndex+1)*100+j.columnIndex+1,lg:(A.rowIndex+1)*100+A.columnIndex+1},style:{"--last-column-sm":+!!k.isLastColumn,"--last-column-md":+!!j.isLastColumn,"--last-column-lg":+!!A.isLastColumn,"--previous-column-has-non-text-block-sm":+!!w,"--previous-column-has-non-text-block-md":+!!N,"--previous-column-has-non-text-block-lg":+!!C},children:(0,i.jsx)(n.A,{blocks:e.blocks,widths:{sm:m.sm,md:b?m.md/12*Number(p.split("|")[t]):m.md/Math.round(u.length/2),lg:m.lg/12*Number(p.split("|")[t])},blockComponentOverwrites:h,likelyLCP:v&&t===x})},t)})})}function r(e,t){return e.filter(e=>null!==e.order[t]).sort((e,l)=>e.order[t]-l.order[t]).reduce((e,l)=>(e.splice(l.order[t]-1,0,l),e),e.filter(e=>null===e.order[t]))}function c(e,t){return e.reduce((e,l)=>{let i=12-e.at(-1).reduce((e,l)=>e+l.span[t],0);return l.span[t]<=i?e.at(-1).push(l):e.push([l]),e},[[]])}function o(e,t){var l;let i=e.findIndex(e=>e.some(e=>e.index===t)),a=e[i].findIndex(e=>e.index===t),n=null==(l=e[i][a-1])?void 0:l.index;return{rowIndex:i,columnIndex:a,previousColumnIndex:n,isLastColumn:e[i].length===a+1}}function _(e){return e.some(e=>{switch(e.type){case"block-buttons":case"block-faq":case"block-buttons":case"block-faq":case"block-form":case"block-header-primary-links":case"block-header-primary-links-mobile":case"block-tabs":case"block-text":case"block-vehicle-ctas":case"block-vehicle-description":case"block-vehicle-options":case"block-vehicle-downloads":case"block-vehicle-specs":case"block-vehicle-title":case"block-vehicle-warranties":return!1;case"block-vehicle-search":case"block-planner-entrance":return!e.hidePanel;default:return!0}})}},82434:(e,t,l)=>{"use strict";l.d(t,{default:()=>_});var i=l(95155),a=l(79121),n=l(98463),s=l(85402),r=l.n(s),c=l(12115),o=l(71584);function _(e){let t,{src:l="",poster:s,aspectRatio:_="auto",objectFit:d="cover",autoplay:u=!1,widths:p}=e,m=(0,c.useRef)(null),h=(0,o.A)(),v=(0,c.useRef)([]);if(null==s?void 0:s.imageUrl){let e=Math.max(p.sm/100*523.2,p.md/100*(1024-1024/768*96),p.lg/100*(1920-1920/1380*200)),l={width:e,height:e/("auto"!==_?Number(_):s.properties.width/s.properties.height),force_format:"webp"};"contain"===d&&Object.assign(l,{func:"fit",fit_enlarge:1}),"fill"===d&&Object.assign(l,{func:"cover"}),t=(0,n.I)(s.imageUrl,l).href}return(0,c.useEffect)(()=>{let e,t=m.current;if(!t)return;let i=()=>{t&&(h("video",l,"play",t.currentTime.toString()),e=setInterval(()=>{if(!t)return;let e=t.duration,i=t.currentTime,a=i/e*100,n=Math.floor(a);a>1&&n%10==0&&!v.current.includes(n)&&(h("video",l,"view",i.toString(),n),v.current.push(n))},1e3))},a=()=>{t&&(h("video",l,"pause",t.currentTime.toString()),clearInterval(e))},n=()=>{clearInterval(e)};return t.addEventListener("play",i),t.addEventListener("pause",a),t.addEventListener("ended",n),()=>{clearInterval(e),t.removeEventListener("play",i),t.removeEventListener("pause",a),t.removeEventListener("ended",n)}},[l,h]),(0,i.jsx)("div",{className:(0,a.A)(r().block,r()["block--video"],r()["block--media"]),children:(0,i.jsx)("video",{ref:m,style:{aspectRatio:_,objectFit:d}
1,poster:t,controls:!0,autoPlay:u,playsInline:u,muted:u,loop:u,preload:"metadata",children:(0,i.jsx)("source",{src:l,type:"video/mp4"})})})}},82485:(e,t,l)=>{"use strict";l.d(t,{default:()=>B});var i=l(95155),a=l(12115),n=l(20463),s=l.n(n),r=l(54452),c=l(82238),o=l(7402),_=l(79121),d=l(5519),u=l(15980),p=l.n(u),m=l(26309),h=l(95604),v=l(77833);let b=/<\/(p|div|li|ul|ol|h[1-6]|tr|td|th|blockquote|table)\s*>|<br\s*\/?>/gi,g=/<[^>]*>/g,f={nbsp:"\xa0",quot:'"',apos:"'",lt:"<",gt:">",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",ndash:"–",mdash:"—",hellip:"…",bull:"•",middot:"\xb7",laquo:"\xab",raquo:"\xbb",lsaquo:"‹",rsaquo:"›",euro:"€",pound:"\xa3",yen:"\xa5",cent:"\xa2",curren:"\xa4",copy:"\xa9",reg:"\xae",trade:"™",deg:"\xb0",sect:"\xa7",para:"\xb6",plusmn:"\xb1",times:"\xd7",divide:"\xf7",micro:"\xb5",not:"\xac",shy:"\xad",iexcl:"\xa1",iquest:"\xbf",brvbar:"\xa6",uml:"\xa8",macr:"\xaf",acute:"\xb4",cedil:"\xb8",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",ordm:"\xba",ordf:"\xaa",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",yuml:"\xff",szlig:"\xdf",Scaron:"Š",scaron:"š",Zcaron:"Ž",zcaron:"ž",OElig:"Œ",oelig:"œ",Yuml:"Ÿ"};function y(e,t){return!Number.isInteger(e)||e<0||e>1114111?t:String.fromCodePoint(e)}function x(e){let{title:t,slug:l}=e,a=(0,h.useTranslations)(),{shownAttributes:n}=(0,m.useVacancyCardConfigContext)(),s=(0,v.N)(e,n,a).join(" \xb7 "),r=n.includes("description")&&e.description?(()=>{let t=e.description.replace(b," ").replace(g,"").replace(/&#(\d+);/g,(e,t)=>y(Number(t),e)).replace(/&#x([0-9a-f]+);/gi,(e,t)=>y(parseInt(t,16),e)).replace(/&([a-z][a-z0-9]*);/gi,(e,t)=>{var l;return null!=(l=f[t])?l:e}).replace(/&amp;/g,"&").replace(/\s+/g," ").trim();return t.length>250?t.slice(0,250).trimEnd()+"…":t})():null;return(0,i.jsx)("li",{className:(0,_.A)(p()["vacancy-list-item"]),children:(0,i.jsxs)("div",{className:(0,_.A)(p()["vacancy-list-item__content"]),children:[(0,i.jsx)(d.default,{href:"/v/".concat(l),title:t,className:(0,_.A)(p()["vacancy-list-item__title"]),addWebspace:!0,children:t}),r&&(0,i.jsx)("p",{className:(0,_.A)(p()["vacancy-list-item__description"]),children:r}),s&&(0,i.jsx)("p",{className:(0,_.A)(p()["vacancy-list-item__meta"]),children:s})]})})}var k=l(64416),j=l(57495),A=l(6094);function w(e){let{items:t,viewType:l="list",columns:a}=e;return"card"===l?(0,i.jsx)(j.A,{children:t.map((e,t)=>(0,i.jsx)(A.A,{span:{sm:12/a.sm,md:12/a.md,lg:12/a.lg},verticalAlignment:"stretch",children:(0,i.jsx)(k.A,{likelyLCP:0===t,...e},e.slug)},t))}):(0,i.jsx)("ul",{style:{listStyle:"none",margin:0,padding:0},children:t.map(e=>(0,i.jsx)(x,{...e},e.slug))})}var N=l(80695),C=l(83489),S=l(73994),P=l(6032),E=l(77026),T=l(71257),M=l(81602),V=l(58652),I=l(95415),O=l(73714),L=l(86898),F=l.n(L);function B(e){var t;let{vacancyListId:l,vacancyFilterId:n,vacancies:d=[],initialFilters:u=[],initialValues:p,initialSortings:m,initialSorting:v,initialPages:b={total:1,current:1},initialCount:g=0,overviewType:f="filter-left",viewType:y="list",stickyMobileFilter:x=!1}=e,k=(0,h.useTranslations)(),j=(0,a.useCallback)(e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"view_job_list",jobs:e.map((e,t)=>({...(0,o.aW)(e),index:t}))})},[]),[A,L]=(0,a.useState)(b.total),[B,z]=(0,a.useState)(b.current),[R,H]=(0,a.useState)(u),[U,D]=(0,a.useState)(null!=m?m:[]),[q,W]=(0,a.useState)(d),[G,Q]=(0,a.useState)(g||d.length),[K,Y]=(0,a.useState)(null!=(t=null!=v?v:null==m?void 0:m.at(0))?t:""),[X,J]=(0,a.useState)(null!=p?p:{}),[Z]=(0,a.useState)(()=>window.location.search),$=(0,a.useRef)(null),ee=(0,a.useRef)(null),et=(0,a.useMemo)(()=>{let e={vacancyListId:l,page:B,pageSize:12,attributes:c.tc};return n&&(e.filterId=n),K&&(e.sort=K),X&&Object.keys(X).length>0&&Object.assign(e,X),e},[l,n,B,K,X]),{data:el,isLoading:ei,isFetching:ea}=(0,c.Pf)(et,{initialData:1===B&&0===Object.keys(X).length?{items:d,pages:b,count:g||d.length,filters:u,sorting:null!=m?m:[]}:void 0,keepPreviousData:!0});return(0,a.useEffect)(()=>
1{el&&(W(el.items),H(el.filters||[]),D(el.sorting||[]),L(el.pages.total),Q(el.count))},[el]),(0,a.useEffect)(()=>{j(d)},[]),(0,a.useEffect)(()=>{var e;let t=Z.replace(/^\?/,"");if(!t)return;let l=s().parse(t,{parseArrays:!1,depth:10,...t.includes("filter.")?{allowDots:!0}:{}}),i=null!=(e=l.filter)?e:{},a=l.page?Number(l.page):void 0,n=l.sorting?String(l.sorting):void 0;Object.keys(i).length>0&&J((R.length?(0,C.k)(R,i):i)||{}),a&&Number.isInteger(a)&&a>0&&z(a),n&&Y(n)},[]),(0,a.useEffect)(()=>{window.history.replaceState({},document.title,"".concat(location.pathname,"?").concat(s().stringify({filter:X,page:B,sorting:K})).concat(location.search.replace("?","").split("&").filter(e=>""!==e&&!e.startsWith("filter")&&!e.startsWith("page=")&&!e.startsWith("sorting=")).map(e=>"&".concat(e)).join("")))},[B,K,X]),(0,i.jsx)(N.Gf,{filters:R,values:X,setValues:e=>{J((0,C.k)(R,e)||{}),z(1)},children:(0,i.jsxs)("div",{ref:$,className:(0,_.A)(F()["vehicle-overview"],F()["vehicle-overview--".concat(f)],x?F()["vehicle-overview--sticky-mobile-filter"]:""),children:[(0,i.jsx)(O.A,{href:"#vacancies",className:["skiplink--floating"],title:k("skiplink.vacancies")}),(0,i.jsxs)("div",{className:(0,_.A)(F()["vehicle-overview__filters"]),children:["filter-top"===f?(0,i.jsx)(M.A,{filters:R,domain:"vacancy"}):null,"filter-left"===f?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:(0,_.A)("h4",F()["vehicle-overview__filter-title"]),children:k("vehicle_overview.filter.title")}),(0,i.jsx)(S.A,{filters:R,domain:"vacancy"})]}):null]}),(0,i.jsx)("div",{className:(0,_.A)(F()["vehicle-overview__title"]),children:(0,i.jsx)("p",{className:(0,_.A)("h4"),children:k("vacancy_overview.header.title",{count:G})})}),"filter-top"===f&&Object.keys(X).length>0?(0,i.jsx)("div",{className:(0,_.A)(F()["vehicle-overview__reset-filters"]),children:(0,i.jsxs)("button",{className:(0,_.A)(F()["vehicle-overview__reset-filters-button"]),onClick:()=>{J({}),z(1)},children:[(0,i.jsx)(I.A,{icon:"refresh"}),(0,i.jsx)("span",{children:k("vehicle_overview.header.reset_filters")})]})}):null,(0,i.jsxs)("div",{className:(0,_.A)(F()["vehicle-overview__sorting"]),children:["filter-left"===f?(0,i.jsx)(P.A,{loading:ei||ea,filters:R,count:G,domain:"vacancy"}):null,"filter-top"===f?(0,i.jsx)(V.A,{loading:ei||ea,filters:R,count:G,domain:"vacancy"}):null,U.length>0?(0,i.jsx)(E.A,{sorting:K,sortings:U,setSorting:e=>Y(e)}):null]}),Object.keys(X).length>0&&"filter-left"===f?(0,i.jsx)("div",{className:(0,_.A)(F()["vehicle-overview__active-filters"]),children:(0,i.jsx)(T.A,{filters:R})}):null,(0,i.jsxs)("div",{ref:ee,className:(0,_.A)(F()["vehicle-overview__results"]),tabIndex:-1,children:[(0,i.jsx)("div",{className:(0,_.A)(F()["vehicle-overview__loader"],ei||ea?F()["vehicle-overview__loader--loading"]:"")}),(0,i.jsx)("div",{id:"vacancies",className:(0,_.A)(F()["vehicle-overview__items"],ei||ea?F()["vehicle-overview__items--loading"]:""),children:(0,i.jsx)(w,{items:q,viewType:y,columns:"filter-left"===f?{sm:1,md:2,lg:3}:{sm:1,md:2,lg:4}})}),(0,i.jsx)(r.A,{pageCount:A,page:B,setPage:e=>{var t,l;z(e),null==(t=$.current)||t.scrollIntoView({behavior:"smooth"}),null==(l=ee.current)||l.focus({preventScroll:!0})}})]})]})})}},82490:e=>{e.exports={card:"EstablishmentCard_card__3cTD3",media:"EstablishmentCard_media__NGFez",brands:"EstablishmentCard_brands__dY6tW",brand:"EstablishmentCard_brand__m6_RN",brand__logo:"EstablishmentCard_brand__logo__Vez0S","brands--body":"EstablishmentCard_brands--body__rmXij",types:"EstablishmentCard_types__4aeI5",type:"EstablishmentCard_type__69pfT"}},82916:(e,t,l)=>{"use strict";l.d(t,{default:()=>v});var i=l(95155),a=l(12115),n=l(30519),s=l(79121),r=l(49399),c=l(95415),o=l(5519),_=l(60115),d=l(98463),u=l(13521),p=l(95604),m=l(57391),h=l.n(m);function v(e){var t,l;let{id:m,backgrounds:[v]=[],buttons:b=[]}=e,g=(0,p.useTranslations)(),f=(0,n.C)();return(0,i.jsx)(u.default,{id:m,background:v,children:(0,i.jsxs)("div",{className:(0,s.A)(h()["pane--establishment"]),children:[(0,i.jsx)("div",{className:(0,s.A)(h()["contact-information"]),children:(0,i.jsxs)(r.A,{className:(0,s.A)(h().pane__panel),children:[(0,i.jsx)("p",{className:(0,s.A)("h2"),children:f.name}),(0,i.jsxs)("div",{className:(0,s.A)(h().contact__details),children:[f.street&&f.houseNumber||f.postalCode&&f.city?(0,i.jsxs)("div",{children:[f.street&&f.houseNumber?(0,i.jsxs)("div",{children:[f.street," ",f.houseNumber]}):null,f.postalCode&&f.city?(0,i.jsxs)("div",{children:[f.postalCode," ",f.city]}):null]}):null,f.routeUrl||f.street&&f.houseNumber&&f.postalCode&&f.city?(0,i.jsxs)(o.default,{href:f.routeUrl||"https://www.google.com/maps?q=".concat(f.street,"+").concat(f.houseNumber,",+").concat(f.postalCode,"+").concat(f.city),target:"_blank",className:(0,s.A)(h()["contact__details-link"]),children:[(0,i.jsx)(c.A,{icon:"directions",className:(0,s.A)(h()["contact__details-icon"])}),g("establishment.contact__details.marker_label")]}):null,f.phoneNumber?(0,i.jsxs)(o.default,{href:"tel:".concat(f.phoneNumber),target:"_blank",className:(0,s.A)(h()["contact__details-link"]),children:[(0,i.jsx)(c.A,{icon:"phone",className:(0,s.A)(h()["contact__details-icon"])}),f.phoneNumber]}):null,f.emailAddress?(0,i.jsxs)(o.default,{href:"mailto:".concat(f.emailAddress),target:"_blank",className:(0,s.A)(h()["contact__details-link"]),children:[(0,i.jsx)(c.A,{icon:"mail",className:(0,s.A)(h()["contact__details-icon"])}),f.emailAddress]}):null]}),(null==(t=f.types)?void 0:t.length)?(0,i.jsx)("ul",{className:(0,s.A)(h().types),children:f.types.map((e,t)=>(0,i.jsx)("li",{className:(0,s.A)(h().type),children:e},t))}):null,(null==(l=f.brands)?void 0:l.length)?(0,i.jsx)("ul",{className:(0,s.A)(h().brands),children:f.brands.map(e=>{let t=function(e){let{logo:t}=e;return t?"string"==typeof t?t:t.imageUrl||t.path||null:null}(e);return t?(0,i.jsx)("li",{className:(0,s.A)(h().brand),children:(0,i.jsx)("img",{className:(0,s.A)(h().brand__logo),src:(0,d.I)(t,{force_format:"original"}).href,alt:e.name,title:e.name,loading:"lazy"})},e.id):null})}):null,(0,i.jsx)("div",{className:(0,s.A)(h().buttons),children:b.map((e,t)=>{let{type:l,...a}=e;return(0,i.jsx)(_.default,{...a},t)})})]})}),(0,i.jsxs)("div",{className:(0,s.A)(h()["opening-times"]),children:[(0,i.jsx)("p",{className:(0,s.A)("h4",h()["opening-times__title"]),children:g("establishment.information.opening_times.title")}),(0,i.jsx)("div",{className:(0,s.A)(h().departments),children:f.departments.map((e,t)=>{let l=e.openingTimes[["sunday","monday","tuesday","wednesday","thursday","friday","saturday"][new Date().getDay()]];return(0,i.jsxs)("div",{className:(0,s.A)(h().department),children:[(0,i.jsx)("div",{className:(0,s.A)(h().department__title),children:e.name}),(0,i.jsx)("div",{children:l.closed?g("opening_times.closed"):l.slots.map((e,t)=>(0,i.jsxs)(a.Fragment,{children:["".concat(e.from," - ").concat(e.till),(0,i.jsx)("br",{})]},"slot-".concat(t)))}),l.remark?(0,i.jsxs)("div",{className:(0,s.A)(h().department__remark),children:[(0,i.jsx)(c.A,{icon:"info",className:(0,s.A)(h()["department__remark-icon"])}),(0,i.jsx)("p",{children:l.remark})]}):null]},t)})}),f.hasPaneOpeningTimes?(0,i.jsxs)("a",{href:"#establishment-opening-times",className:(0,s.A)(h()["opening__times-anchor"]),children:[(0,i.jsx)(c.A,{icon:"schedule",className:(0,s.A)(h()["opening__times-anchor-icon"])}),g("opening_times.anchor")]}):null]})]})})}},83001:(e,t,l)=>{"use strict";l.d(t,{f:()=>a});var i=l(12115);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[l,a]=(0,i.useState)("");return(0,i.useEffect)(()=>
1{if(!e||0===e.length)return;let i=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.target.id;e.isIntersecting&&a(t),l!==t||e.isIntersecting||a("")})},{root:null,rootMargin:"0px 0px -65% 0px",threshold:0,...t});return e.forEach(e=>{let t=document.getElementById(e);t&&i.observe(t)}),()=>{i.disconnect()}},[e,t]),l}},83274:e=>{e.exports={"opening-status":"EstablishmentOpeningStatus_opening-status__hu7vD","opening-status__item":"EstablishmentOpeningStatus_opening-status__item__pmwgb","opening-status__dot":"EstablishmentOpeningStatus_opening-status__dot__M42Mk","opening-status__item--open":"EstablishmentOpeningStatus_opening-status__item--open___vr4T","opening-status__item--opening-later":"EstablishmentOpeningStatus_opening-status__item--opening-later__wI9NW","opening-status__item--closed":"EstablishmentOpeningStatus_opening-status__item--closed__eucIn"}},83336:e=>{e.exports={panel:"EstablishmentOverviewList_panel__9mvRt",form:"EstablishmentOverviewList_form__AQ3K2",list:"EstablishmentOverviewList_list__J4pIL",list__divider:"EstablishmentOverviewList_list__divider__qIu4i","list--no-overflow":"EstablishmentOverviewList_list--no-overflow__IEG7O",item:"EstablishmentOverviewList_item__7mSzo",item__title:"EstablishmentOverviewList_item__title__joXMp",item__text:"EstablishmentOverviewList_item__text__m_mnk",item__icon:"EstablishmentOverviewList_item__icon__dKY_J"}},83489:(e,t,l)=>{"use strict";l.d(t,{k:()=>function e(t,l){let i={};return null!==l&&"object"==typeof l&&t.forEach(t=>{var a,n,s;if(t.key in l&&("checkboxes"===t.type&&Object.entries(l[t.key]).forEach(l=>{var a,n;let[s,r]=l,c=t.options.find(e=>e.key===s);i[t.key]=null!=(a=i[t.key])?a:{},i[t.key][s]=e(null!=(n=null==c?void 0:c.filters)?n:[],r)}),("select-range"===t.type||"number-range"===t.type||"range-overlap"===t.type)&&("min"in l[t.key]&&(i[t.key]=null!=(a=i[t.key])?a:{},i[t.key].min=l[t.key].min),"max"in l[t.key]&&(i[t.key]=null!=(n=i[t.key])?n:{},i[t.key].max=l[t.key].max)),"single-select"===t.type&&Object.entries(l[t.key]).forEach(l=>{var a,n;let[s,r]=l,c=t.options.find(e=>e.key===s);i[t.key]=null!=(a=i[t.key])?a:{},i[t.key][s]=e(null!=(n=null==c?void 0:c.filters)?n:[],r)}),"geo-distance"===t.type)){let e=null!=(s=l[t.key])?s:{},a=e=>{var t;return"string"==typeof e?e:null!==e&&"object"==typeof e&&null!=(t=Object.keys(e).at(0))?t:""},n=a(e.postcode).replace(/\s/g,"").toUpperCase(),r=a(e.radius);/^[1-9]\d{3}[A-Z]{2}$/.test(n)&&/^\d+$/.test(r)&&Number(r)>0&&(i[t.key]={postcode:n,radius:r})}}),Object.keys(i).length>0?i:""}})},83518:(e,t,l)=>{"use strict";l.d(t,{default:()=>_});var i=l(95155),a=l(79121),n=l(37622),s=l.n(n),r=l(85402),c=l.n(r),o=l(93321);function _(){let e=(0,o.qC)();return e?(0,i.jsx)("div",{className:(0,a.A)(c().block,c()["block--text-like"]),children:(0,i.jsx)("h1",{className:(0,a.A)(s().pane__title),children:e.title})}):null}},83669:e=>{e.exports={gallery:"Gallery_gallery__Hhfo2",gallery__overlay:"Gallery_gallery__overlay__XJGWc","gallery__overlay--open":"Gallery_gallery__overlay--open__U2sz8","gallery__overlay--closing":"Gallery_gallery__overlay--closing__Q3M80",gallery__content:"Gallery_gallery__content__zNTBM","gallery__content--open":"Gallery_gallery__content--open__Kx0C7","gallery__content--closing":"Gallery_gallery__content--closing__TDIXO",gallery__controls:"Gallery_gallery__controls__6eP_I",gallery__control:"Gallery_gallery__control__I7ry0",swiper__wrapper:"Gallery_swiper__wrapper__97JJl",swiper__slide:"Gallery_swiper__slide__fcM4B","swiper__slide--thumb":"Gallery_swiper__slide--thumb__Nds5W",swiper:"Gallery_swiper__ypyF_","swiper--thumbs":"Gallery_swiper--thumbs__VwcAE","swiper__slide--active":"Gallery_swiper__slide--active__eNxnt","swiper__autoplay-progress":"Gallery_swiper__autoplay-progress__s5gHq",swiper__navigation:"Gallery_swiper__navigation__Q6PMW","swiper__navigation--previous":"Gallery_swiper__navigation--previous__5Y1O3","swiper__navigation--next":"Gallery_swiper__navigation--next__9wMaJ"}},84451:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var i=l(95155),a=l(18588),n=l(79121),s=l(81421),r=l(85402),c=l.n(r);function o(){let e=(0,a.v8)();return e&&e.establishment?(0,i.jsx)("div",{className:(0,n.A)(c().block),children:(0,i.jsx)(s.A,{title:e.establishment.name,street:e.establishment.street,houseNumber:e.establishment.houseNumber,postalCode:e.establishment.postalCode,city:e.establishment.city,emailAddress:e.establishment.email,phoneNumber:e.establishment.phoneNumber,routeUrl:e.establishment.routeUrl})}):null}},84501:e=>{e.exports={combobox:"InputCombobox_combobox__hiYEG",combobox__list:"InputCombobox_combobox__list__NcykI",combobox__option:"InputCombobox_combobox__option__Yfejc","combobox__option--active":"InputCombobox_combobox__option--active__pZOJs"}},84623:e=>{e.exports={"scroll-animation":"ScrollAnimationHeading_scroll-animation__i0gPU","scroll-animation--fade":"ScrollAnimationHeading_scroll-animation--fade__tnANz",h6:"ScrollAnimationHeading_h6__ePOWE",h5:"ScrollAnimationHeading_h5__Dkc_1",h4:"ScrollAnimationHeading_h4__TJF5U",h3:"ScrollAnimationHeading_h3__B9T7v",h2:"ScrollAnimationHeading_h2__LebCe",h1:"ScrollAnimationHeading_h1__rXpWf","scroll-animation--mask":"ScrollAnimationHeading_scroll-animation--mask__e3OS8"}},84642:(e,t,l)=>{"use strict";l.d(t,{h:()=>s});var i=l(20463),a=l.n(i),n=l(82496);let s=async function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,s=arguments.length>4?arguments[4]:void 0,r=arguments.length>5?arguments[5]:void 0,c=arguments.length>6?arguments[6]:void 0,o=arguments.length>7?arguments[7]:void 0,_=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"nl";return(0,n.A)().get("/content/vehicle-list/".concat(e),{signal:r,params:{page:l,pageSize:o,sort:i,filterId:t,attributes:["addition","fuel","odometerReading","yearOfConstruction","licensePlate","vehicleNumber","vehicleState","vehicleType","importDate","bodyType","transmission","color","baseColor","length","height","vatMargin","vehicleNumberCustomer","stockStatus","dateOfArrival","searchTerms","batteryCondition","purchaseForms","fiscalValue","extraField10","objectNumber","frameType","frameSize","frameMaterial","wheelSize","gears","brakeSystemFrontType","batteryCapacity","modelYear","weight"],...s?a().parse(s,{arrayLimit:-1,depth:8}):{}},headers:{...c?{authorization:"Bearer ".concat(c)}:{},"Accept-Language":_}}).then(e=>e.data).catch(()=>null)}},84891:e=>{e.exports={"model-cards":"ModelCards_model-cards__Tmntp",header:"ModelCards_header___uwK2",header__title:"ModelCards_header__title__MW5ZQ",toolbar:"ModelCards_toolbar__z8lei",meta:"ModelCards_meta__91QLF",meta__results:"ModelCards_meta__results__eiBS6",count:"ModelCards_count__sJwNO",reset:"ModelCards_reset__nvnp5",reset__label:"ModelCards_reset__label__wVcLX",reset__icon:"ModelCards_reset__icon__4Ax1M",sort:"ModelCards_sort__cXNle",sort__icon:"ModelCards_sort__icon__Vdgpr","sort-dropdown":"ModelCards_sort-dropdown__AXO7p","sort-dropdown__options":"ModelCards_sort-dropdown__options__BHtMx","sort-dropdown__option":"ModelCards_sort-dropdown__option__EzsJo","sort-dropdown__option--active":"ModelCards_sort-dropdown__option--active__fjaLv",grid:"ModelCards_grid__WX1Yq",grid__item:"ModelCards_grid__item__EqO_O",empty:"ModelCards_empty__H29Gr"}},85486:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>c});var i=l(95155),a=l(75391),n=l(27987),s=l(95604);function r(e){let{error:t}=e,l=(0,s.useTranslations)();if(function(e){let t=null==e?void 0:e.digest;return"string"==typeof t&&("NEXT_NOT_FOUND"===t||t.startsWith("NEXT_REDIRECT")||t.startsWith("NEXT_HTTP_ERROR_FA
1LLBACK"))}(t))throw t;return(0,i.jsxs)(a.A,{theme:"error",children:[l("error.title"),(0,i.jsx)("br",{}),l("error.text")]})}function c(e){let{children:t}=e;return(0,i.jsx)(n.tH,{FallbackComponent:r,children:t})}},85675:(e,t,l)=>{"use strict";l.d(t,{default:()=>c});var i=l(95155),a=l(18588),n=l(79121),s=l(85402),r=l.n(s);function c(){var e;let t=(0,a.v8)(),l=null==t||null==(e=t.attributes)?void 0:e.spinnerUrl;return l?(0,i.jsx)("div",{className:(0,n.A)(r().block),children:(0,i.jsx)("iframe",{style:{border:"none",width:"100%",aspectRatio:16/9,borderRadius:"var(--media-border-radius)"},src:l,allowFullScreen:!0})}):null}},85837:e=>{e.exports={list:"BlockVehicleDownloads_list__Rkg29",downloading:"BlockVehicleDownloads_downloading__3e6lw",label:"BlockVehicleDownloads_label__z8qAn"}},86501:(e,t,l)=>{"use strict";l.d(t,{default:()=>_});var i=l(95155),a=l(61995),n=l(79121),s=l(58744),r=l(29234),c=l(85402),o=l.n(c);function _(e){var t,l;let{employeeId:c,widths:_,likelyLCP:d}=e,{employees:u}=(0,s.l)(),p=(0,r.p)(),m=null!=(l=null==p||null==(t=p.content)?void 0:t.hide_employee_last_name)&&l,h=u.find(e=>e.id===c);return h?(0,i.jsx)("div",{className:(0,n.A)(o().block,o()["block--card"],o()["block--employee"]),children:(0,i.jsx)(a.A,{...h,widths:_,hideLastName:m,likelyLCP:d})}):null}},86656:(e,t,l)=>{"use strict";l.d(t,{default:()=>d});var i=l(95155),a=l(18588),n=l(79121),s=l(95415),r=l(37622),c=l.n(r),o=l(85402),_=l.n(o);function d(e){let{showStockEstablishment:t=!1}=e,l=(0,a.v8)();return l?(0,i.jsxs)("div",{className:(0,n.A)(_().block,_()["block--text-like"]),children:[(0,i.jsx)("h1",{className:(0,n.A)(c().pane__title),children:(0,i.jsx)("span",{className:(0,n.A)("h4",c()["pane__title-start"]),children:[l.brand,l.model].filter(e=>e).join(" ")})}),t&&l.establishment?(0,i.jsxs)("span",{className:(0,n.A)(c().vehicle__establishment),children:[(0,i.jsx)(s.A,{icon:"location_on",className:(0,n.A)(c()["vehicle__establishment-icon"])}),l.establishment.name]}):null]}):null}},86898:e=>{e.exports={"vehicle-overview":"VehicleOverview_vehicle-overview__ueCxq","vehicle-overview__filters":"VehicleOverview_vehicle-overview__filters__ZN2jF","vehicle-overview__filter-title":"VehicleOverview_vehicle-overview__filter-title__PzBEi","vehicle-overview__finance-banner":"
1VehicleOverview_vehicle-overview__finance-banner___6oRC","vehicle-overview--filter-left":"VehicleOverview_vehicle-overview--filter-left__Ojm_A","vehicle-overview--filter-top":"VehicleOverview_vehicle-overview--filter-top__y3Ggl","vehicle-overview__title":"VehicleOverview_vehicle-overview__title__hU2KP","vehicle-overview__sorting":"VehicleOverview_vehicle-overview__sorting__t8e_v","vehicle-overview__results":"VehicleOverview_vehicle-overview__results__9oeM8","vehicle-overview__items":"VehicleOverview_vehicle-overview__items__W8Xq7","vehicle-overview__items--loading":"VehicleOverview_vehicle-overview__items--loading__ZEM74","vehicle-overview__loader":"VehicleOverview_vehicle-overview__loader__zWDNR",spin:"VehicleOverview_spin__AZF0F","vehicle-overview__loader--loading":"VehicleOverview_vehicle-overview__loader--loading__ECXF3","vehicle-overview--sticky-mobile-filter":"VehicleOverview_vehicle-overview--sticky-mobile-filter__0GiBB","vehicle-overview__active-filters":"VehicleOverview_vehicle-overview__active-filters__FMjis","vehicle-overview__reset-filters":"VehicleOverview_vehicle-overview__reset-filters__3i1aY","vehicle-overview__reset-filters-button":"VehicleOverview_vehicle-overview__reset-filters-button__Co4ZE"}},88468:e=>{e.exports={"pane--quick-links":"PaneQuickLinks_pane--quick-links__Qz2ad","pane--mobile-top":"PaneQuickLinks_pane--mobile-top__Ts7Aa","pane--mobile-top-sticky":"PaneQuickLinks_pane--mobile-top-sticky__1siji","device--desktop":"PaneQuickLinks_device--desktop__hha3L",pane__bar:"PaneQuickLinks_pane__bar__I3ZnU",pane__anchors:"PaneQuickLinks_pane__anchors__DeCDd",pane__anchor:"PaneQuickLinks_pane__anchor__6VRBJ","pane__anchor--active":"PaneQuickLinks_pane__anchor--active__d7_fg","device--tablet":"PaneQuickLinks_device--tablet__oQ0gf",pane__buttons:"PaneQuickLinks_pane__buttons__NJZR_","pane--white":"PaneQuickLinks_pane--white__PBO8X","pane--background":"PaneQuickLinks_pane--background__iJNY2","pane--background-end":"PaneQuickLinks_pane--background-end__42Il_","pane--light":"PaneQuickLinks_pane--light__mdbCm","pane--dark":"PaneQuickLinks_pane--dark__qB3Q2","pane--primary":"PaneQuickLinks_pane--primary__MtT85","pane--secondary":"PaneQuickLinks_pane--secondary__mGwvN","pane--tertiary":"PaneQuickLinks_pane--tertiary__N4vkH",modal__class:"PaneQuickLinks_modal__class__fH49_",modal__body:"PaneQuickLinks_modal__body__W9zQp"}},88779:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});let i=/<(span|strong|b|em|i|u)>(\s|&nbsp;|<br\s*\/?>)*<\/\1>/gi,a=/<p>(\s|&nbsp;|<br\s*\/?>)*<\/p>/gi;function n(e){let t,l=e.replace(/\s*style="[^"]*"/gi,"").replace(/\s*style='[^']*'/gi,"").replace(/\s*class="[^"]*\bMso[^"]*"/gi,"").replace(/\s*class='[^']*\bMso[^']*'/gi,"");do t=l,l=l.replace(i,"");while(l!==t);return l.replace(a,"")}},88830:(e,t,l)=>{"use strict";l.d(t,{A:()=>v});var i=l(95155),a=l(88992),n=l(79121),s=l(12115),r=l(80560),c=l.n(r),o=l(61433),_=l(74551);l(74062),l(49229);var d=l(95415),u=l(60115),p=l(95604),m=l(83669),h=l.n(m);function v(e){let{aspectRatio:t,open:l,close:r}=e,o=(0,s.useId)(),{addItem:_,removeItem:d}=(0,a.L)(e=>({addItem:e.addItem,removeItem:e.removeItem}));return(0,s.useEffect)(()=>()=>{d(o)},[]),(0,s.useEffect)(()=>{l?_(o):d(o)},[l]),(0,i.jsx)(c(),{isOpen:l,onRequestClose:r,closeTimeoutMS:300,portalClassName:(0,n.A)(h().gallery),overlayClassName:{base:h().gallery__overlay,afterOpen:h()["gallery__overlay--open"],beforeClose:h()["gallery__overlay--closing"]},className:{base:h().gallery__content,afterOpen:h()["gallery__content--open"],beforeClose:h()["gallery__content--closing"]},bodyOpenClassName:null,preventScroll:!0,style:{content:{"--aspect-ratio":t}},children:(0,i.jsx)(b,{...e})})}function b(e){var t;let{close:l,initialSlide:a,slides:r,renderSlide:c,renderThumb:m}=e,v=(0,p.useTranslations)(),b=(0,s.useRef)(null),g=(0,s.useRef)(null),[f,y]=(0,s.useState)(0),[x,k]=(0,s.useState)(0),[j,A]=(0,s.useState)(!1),[w,N]=(0,s.useState)(0),[C,S]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{j||N(0)},[j]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{style:{gridRow:C?"span 1":"span 2"},children:[(0,i.jsx)("div",{className:(0,n.A)(h()["swiper__autoplay-progress"]),style:{width:100*w+"%"}}),(0,i.jsxs)("div",{className:(0,n.A)(h().swiper__wrapper),children:[(0,i.jsx)(_.RC,{onSwiper:e=>b.current=e,onProgress:(e,t)=>y(t),onSlideChange:e=>k(e.activeIndex),onAutoplayStart:e=>A(!0),onAutoplayStop:e=>A(!1),onAutoplayTimeLeft:(e,t,l)=>N(1-l),initialSlide:a,slidesPerView:1,grabCursor:!0,virtual:!0,zoom:!0,keyboard:{enabled:!0},className:(0,n.A)(h().swiper),thumbs:C?{swiper:null!=(t=g.current)?t:void 0}:void 0,modules:[o.GP,o.WO,o.s3,o.Ij,o.AV],children:r.map((e,t)=>(0,i.jsx)(_.qr,{virtualIndex:t,className:(0,n.A)(h().swiper__slide),onClick:e=>{e.target.closest("img, iframe, button, a")||l()},children:c(e,t)},t))}),(0,i.jsx)("button",{className:(0,n.A)(h().swiper__navigation,h()["swiper__navigation--previous"]),disabled:f<=0,onClick:()=>{var e;return null==(e=b.current)?void 0:e.slidePrev()},children:(0,i.jsx)(d.A,{icon:"chevron_left"})}),(0,i.jsx)("button",{className:(0,n.A)(h().swiper__navigation,h()["swiper__navigation--next"]),disabled:f>=1,onClick:()=>{var e;return null==(e=b.current)?void 0:e.slideNext()},children:(0,i.jsx)(d.A,{icon:"chevron_right"})})]}),(0,i.jsxs)("div",{className:(0,n.A)(h().gallery__controls),children:[(0,i.jsx)(u.default,{theme:"ghost-10",title:v("gallery.close"),size:"sm",icon:"close",showText:!1,onClick:l,className:(0,n.A)(h().gallery__control)}),(0,i.jsx)(u.default,{theme:"ghost-10",title:v("gallery.toggle_thumbs"),size:"sm",icon:"apps",showText:!1,onClick:()=>{let e=!C;S(e),e||(g.current=null)},className:(0,n.A)(h().gallery__control)}),(0,i.jsx)(u.default,{theme:"ghost-10",title:v("gallery.toggle_autoplay"),size:"sm",icon:j?"pause":"play_arrow",showText:!1,onClick:()=>{var e;return null==(e=b.current)?void 0:e.autoplay[j?"stop":"start"]()},className:(0,n.A)(h().gallery__control)}),(0,i.jsx)(u.default,{theme:"ghost-10",title:v("gallery.toggle_zoom"),size:"sm",icon:"search",showText:!1,onClick:()=>{var e;
1return null==(e=b.current)?void 0:e.zoom.toggle()},className:(0,n.A)(h().gallery__control)})]})]}),C?(0,i.jsx)("div",{children:(0,i.jsx)(_.RC,{onSwiper:e=>g.current=e,slidesPerView:"auto",grabCursor:!0,className:(0,n.A)(h().swiper,h()["swiper--thumbs"]),children:r.map((e,t)=>(0,i.jsx)(_.qr,{className:(0,n.A)(h().swiper__slide,h()["swiper__slide--thumb"],x===t?h()["swiper__slide--active"]:""),onClick:()=>{var e;return null==(e=b.current)?void 0:e.slideToLoop(t)},children:m(e,t)},t))})}):null]})}},88836:e=>{e.exports={location:"FilterLocation_location___Qeuj"}},88982:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(12115),n=l(79121),s=l(95415),r=l(74551),c=l(61433);l(74062),l(36908);var o=l(85402),_=l.n(o),d=l(26589),u=l.n(d);function p(e){let{usp:t}=e;return(0,i.jsxs)("div",{className:(0,n.A)(u().usp),children:[(0,i.jsx)("div",{className:(0,n.A)(u().usp__icon),children:(0,i.jsx)(s.A,{icon:t.icon||"check_circle",className:(0,n.A)(u()["usp__icon-symbol"])})}),(0,i.jsxs)("div",{className:(0,n.A)(u().usp__content),children:[t.title&&(0,i.jsx)("div",{className:(0,n.A)(u().usp__title),children:t.title}),t.text&&(0,i.jsx)("div",{className:(0,n.A)(u().usp__text),children:t.text})]})]})}function m(e){var t;let{usps:l=[],mobileSlider:o}=e,d=(0,a.useRef)(null),[m,h]=(0,a.useState)(!0),[v,b]=(0,a.useState)(0);return 0===l.length?null:(0,i.jsxs)("div",{className:(0,n.A)(_().block,u().usps),children:[(0,i.jsx)(r.RC,{slidesPerView:"auto",className:(0,n.A)(u().swiper),wrapperClass:(0,n.A)(u().swiper__grid,o?"":u()["swiper__grid--mobile"]),modules:[c.xA],breakpoints:{0:{enabled:o,slidesPerView:1,spaceBetween:8},600:{enabled:!1,spaceBetween:0}},onSwiper:e=>{d.current=e},onSlideChange:e=>b(e.activeIndex),onLock:()=>h(!0),onUnlock:()=>h(!1),children:l.map((e,t)=>(0,i.jsx)(r.qr,{className:(0,n.A)(u().swiper__slide),children:(0,i.jsx)(p,{usp:e})},t))}),o&&!m&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{className:(0,n.A)(u().usps__navigation,u()["usps__navigation--previous"]),disabled:0===v,onClick:()=>{var e;return null==(e=d.current)?void 0:e.slidePrev()},children:(0,i.jsx)(s.A,{icon:"chevron_left"})}),(0,i.jsx)("button",{className:(0,n.A)(u().usps__navigation,u()["usps__navigation--next"]),disabled:null==(t=d.current)?void 0:t.isEnd,onClick:()=>{var e;return null==(e=d.current)?void 0:e.slideNext()},children:(0,i.jsx)(s.A,{icon:"chevron_right"})})]})]})}},89183:(e,t,l)=>{"use strict";l.d(t,{PaneTypesContextProvider:()=>s,m:()=>r});var i=l(95155),a=l(12115);let n=a.createContext([]);function s(e){let{children:t,paneTypes:l}=e;return(0,i.jsx)(n.Provider,{value:l,children:t})}let r=()=>(0,a.useContext)(n)},89521:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var i=l(95155),a=l(77320),n=l(26610),s=l(13521);function r(e){let{id:t,backgrounds:[l]=[]}=e,{prices:r}=(0,n.d)();return(0,i.jsx)(s.default,{id:t,background:l,children:(0,i.jsx)(a.A,{prices:r})})}},89532:e=>{e.exports={card:"RecruiterCard_card__1lphT",media:"RecruiterCard_media___2y0B",recruiter__subtitle:"RecruiterCard_recruiter__subtitle__zlAgG",recruiter__information:"RecruiterCard_recruiter__information__mL_Ra","re
1cruiter__details-link":"RecruiterCard_recruiter__details-link__9340I","recruiter__details-icon":"RecruiterCard_recruiter__details-icon__lKDyl"}},89574:e=>{e.exports={filter__toggle:"ModelFilter_filter__toggle__tHag9","filter__toggle--active":"ModelFilter_filter__toggle--active__Mld7o",filter__count:"ModelFilter_filter__count__QxLQ2",dropdown:"ModelFilter_dropdown__PyoJp",dropdown__options:"ModelFilter_dropdown__options__X76yw"}},90686:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var i=l(95155),a=l(79121),n=l(13521),s=l(60115),r=l(64765),c=l.n(r),o=l(12115),_=l(83001),d=l(69357),u=l(95415),p=l(95604),m=l(97315);function h(e){var t,l;let{buttons:r,backgrounds:[h]=[],anchors:v=[],mobilePositionTop:b}=e,[g,f]=(0,o.useState)(!1),y=(0,o.useMemo)(()=>Object.fromEntries(v.filter(e=>e.label&&e.anchorId).map(e=>[e.anchorId,e.label])),[v]),[x,k]=(0,o.useState)(Object.keys(y));(0,o.useEffect)(()=>{k(Object.keys(y).filter(e=>document.getElementById(e)))},[!0,y]);let j=(0,_.f)(x),A=(0,p.useTranslations)(),w=(0,o.useCallback)(e=>{let t=document.getElementById(e);null==t||t.scrollIntoView({behavior:"smooth"}),f(!1)},[]),N=(0,m.A)("lg");return((0,o.useEffect)(()=>{if(N)return;let e=document.createElement("style");e.textContent=".TrengoWidgetLauncher__iframe { bottom: 7.5rem !important; }",document.head.appendChild(e);let t=setTimeout(()=>{let e=new CSSStyleSheet;e.replaceSync(".cHdRBS { bottom: 6.4rem !important; }");let t=document.querySelector("#autochat-chat-start--bubble .needsclick");(null==t?void 0:t.shadowRoot)&&(t.shadowRoot.adoptedStyleSheets=[...t.shadowRoot.adoptedStyleSheets,e])},7500);return()=>{document.head.removeChild(e),clearTimeout(t)}},[]),0===x.length)?null:(0,i.jsxs)(n.default,{theme:"light",className:(0,a.A)(c()["pane--anchor-navigation"],c()["pane--".concat(null==h?void 0:h.theme)],b?c()["pane--mobile-top"]:""),background:h,children:[(0,i.jsxs)("div",{className:(0,a.A)(c().pane__bar,c()["device--desktop"],(null==r?void 0:r.length)>0?c()["pane__bar--has-buttons"]:""),children:[(0,i.jsx)("div",{className:c().pane__anchors,children:x.map(e=>y[e]?(0,i.jsx)("a",{onClick:()=>w(e),className:(0,a.A)(c().pane__anchor,e===j?c()["pane__anchor--active"]:""),children:y[e]},e):null)}),r&&r.length>0&&(0,i.jsx)("div",{className:c().pane__buttons,children:(0,i.jsx)(s.default,{...r[0],type:"button"})})]}),(0,i.jsxs)("div",{className:(0,a.A)(c().pane__bar,c()["device--tablet"]),children:[(0,i.jsxs)("div",{className:c().pane__buttons,children:[(0,i.jsxs)("button",{onClick:()=>f(!0),children:[(0,i.jsx)(u.A,{icon:"keyboard_arrow_up"}),(0,i.jsx)("span",{children:(null==(t=Object.entries(y).find(e=>{let[t]=e;return t===j}))?void 0:t[1])||A("quick_links.quick_navigation")})]}),r&&r.length>0&&(0,i.jsx)(s.default,{...r[0],type:"button"})]}),(0,i.jsx)(d.A,{size:"sm",open:g,close:()=>f(!1),className:c().modal__class,bodyClassName:c().modal__body,body:(0,i.jsx)("div",{className:c().modal__content,children:(0,i.jsx)("div",{className:c().pane__anchors,children:Object.entries(y).map(e=>{let[t,l]=e;return l?(0,i.jsx)("a",{onClick:()=>w(t),className:(0,a.A)(c().pane__anchor,t===j?c()["pane__anchor--active"]:""),children:l},t):null})})}),button:!1,footer:(0,i.jsxs)("div",{className:c().pane__buttons,children:[(0,i.jsxs)("button",{onClick:()=>f(!1),children:[(0,i.jsx)(u.A,{icon:"keyboard_arrow_down"}),(0,i.jsx)("span",{children:(null==(l=Object.entries(y).find(e=>{let[t]=e;return t===j}))?void 0:l[1])||A("quick_links.quick_navigation")})]}),r&&r.length>0&&(0,i.jsx)(s.default,{...r[0],type:"button"})]})})]})]})}},91620:e=>{e.exports={"button--filters":"VehicleOverviewFiltersMobileHorizontal_button--filters__SNleN",filter__item:"VehicleOverviewFiltersMobileHorizontal_filter__item__Obj14",filter__toggle:"VehicleOverviewFiltersMobileHorizontal_filter__toggle__ZzeEw",filter__title:"VehicleOverviewFiltersMobileHorizontal_filter__title__CItFx",filter__count:"VehicleOverviewFiltersMobileHorizontal_filter__count__V6se_",filter__icon:"VehicleOverviewFiltersMobileHorizontal_filter__icon__fKgSt","filter__toggle--active":"VehicleOverviewFiltersMobileHorizontal_filter__toggle--active__pOfAz",filter__filter:"VehicleOverviewFiltersMobileHorizontal_filter__filter__gdT_9",filter__content:"VehicleOverviewFiltersMobileHorizontal_filter__content__JvQ5_","filter__modal-header":"VehicleOverviewFiltersMobileHorizontal_filter__modal-header__XgrzK","filter__modal-overlay":"VehicleOverviewFiltersMobileHorizontal_filter__modal-overlay__JklM0",filter__modal:"VehicleOverviewFiltersMobileHorizontal_filter__modal__oZD7n","filter__modal-body":"VehicleOverviewFiltersMobileHorizontal_filter__modal-body__WKgcW","filter__modal-footer":"VehicleOverviewFiltersMobileHorizontal_filter__modal-footer__0S7mP","reset-filters":"VehicleOverviewFiltersMobileHorizontal_reset-filters__Ogi4I"}},92862:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(81421),n=l(75209),s=l(79121),r=l(87201),c=l(84795),o=l(60115),_=l(1792),d=l(58744),u=l(85402),p=l.n(u);function m(e){var t,l,u;let{establishmentId:m,widths:h,buttons:v=[],actions:b=[],showOpeningStatus:g=!1,hideImage:f=!1,likelyLCP:y}=e,{establishments:x}=(0,d.l)(),k=x.find(e=>e.id===m);return k?(0,i.jsx)("div",{className:(0,s.A)(p().block,p()["block--card"],p()["block--establishment"]),children:(0,i.jsx)(r.FormEstablishmentContextProvider,{id:k.id,children:(0,i.jsx)(a.A,{media:!f&&k.image?(0,i.jsx)(c.A,{likelyLCP:y,url:k.image.path,alt:k.name,title:k.name,objectPosition:{x:50,y:50},ratio:1.5,width:"".concat(null!=(t=null==h?void 0:h.sm)?t:100,"cw"),breakpoints:{md:{width:"".concat(null!=(l=null==h?void 0:h.md)?l:100,"cw")},lg:{width:"".concat(null!=(u=null==h?void 0:h.lg)?u:100,"cw")}}}):void 0,title:k.name,street:k.street,houseNumber:k.houseNumber,postalCode:k.postalCode,city:k.city,emailAddress:k.emailAddress,phoneNumber:k.phoneNumber,routeUrl:k.routeUrl,openingStatus:g?(0,i.jsx)(n.A,{departments:k.departments}):void 0,cta:v.map((e,t)=>{let{type:l,...a}=e;return(0,i.jsx)(o.default,{...a,fullWidth:!0},t)}),action:(0,_.I)(b,v)})})}):null}},92922:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var i=l(95155),a=l(79121),n=l(18588),s=l(43134),r=l(85402),c=l.n(r),o=l(46116),_=l.n(o);let d=e=>[1,2,3,4,6,12].reduce((t,l)=>Math.abs(l-e)<=Math.abs(t-e)?l:t);
1function u(e){let{columnsPerView:t=1,widths:l}=e,r=(0,n.v8)(),o=(0,s.A)();if(!r)return null;let{warrantyType:u,warrantyMonths:p}=r.attributes;if(!u&&!p)return null;let m=t/l.lg,h=d(m*l.md/2),v=d(m*l.sm/4);return(0,i.jsx)("div",{className:(0,a.A)(c().block,c()["block--text-like"]),children:(0,i.jsx)("div",{className:(0,a.A)(_().warranties),style:{"--columns-per-view-sm":v,"--columns-per-view-md":h,"--columns-per-view-lg":t},children:(0,i.jsx)("div",{className:(0,a.A)(_().warranty),children:(0,i.jsxs)("div",{className:(0,a.A)(_().warranty__body),children:[(0,i.jsx)("span",{className:(0,a.A)(_().warranty__title),children:o("bike_detail.warranty.title")}),(0,i.jsx)("span",{className:(0,a.A)(_().warranty__description),children:u&&p?o("bike_detail.warranty.description",{warrantyType:u,warrantyMonths:p}):p?o("bike_detail.warranty.description_months",{months:p}):o("bike_detail.warranty.description_type",{type:u})})]})})})})}},93116:e=>{e.exports={masonry__item:"BlockMasonryCards_masonry__item__P8xHL","masonry__item--small":"BlockMasonryCards_masonry__item--small__hsyTg",card:"BlockMasonryCards_card___w_BE",card__media:"BlockMasonryCards_card__media__SPorY",card__image:"BlockMasonryCards_card__image__J4PhH",card__body:"BlockMasonryCards_card__body__6rBvS",card__icon:"BlockMasonryCards_card__icon__uAmb_",card__title:"BlockMasonryCards_card__title__rdewN",card__button:"BlockMasonryCards_card__button__PliA3"}},93321:(e,t,l)=>{"use strict";l.d(t,{ew:()=>s,qC:()=>r});var i=l(95155),a=l(12115);let n=a.createContext(null);function s(e){let{children:t,...l}=e;return(0,i.jsx)(n.Provider,{value:{...l},children:t})}let r=()=>(0,a.useContext)(n)},93955:e=>{e.exports={"button--filters":"VehicleOverviewFiltersMobile_button--filters__3zTqh",collapse__item:"VehicleOverviewFiltersMobile_collapse__item__UKdTL","collapse__item--opened":"VehicleOverviewFiltersMobile_collapse__item--opened__6TWyf",collapse__header:"VehicleOverviewFiltersMobile_collapse__header__SGWlv",collapse__chevron:"VehicleOverviewFiltersMobile_collapse__chevron__qpoMU",collapse__icon:"VehicleOverviewFiltersMobile_collapse__icon__zhQEh",collapse__toggle:"VehicleOverviewFiltersMobile_collapse__toggle__YL0Ug",collapse__title:"VehicleOverviewFiltersMobile_collapse__title__qf93k",collapse__collapse:"VehicleOverviewFiltersMobile_collapse__collapse__GucuD",collapse__content:"VehicleOverviewFiltersMobile_collapse__content__KIap_"}},94487:e=>{e.exports={"delivery-packages":"BlockVehicleDeliveryPackages_delivery-packages__XCAsy","delivery-packages__intro":"BlockVehicleDeliveryPackages_delivery-packages__intro__RdpUU","delivery-packages__title":"BlockVehicleDeliveryPackages_delivery-packages__title__Fsdgv","delivery-packages__subtitle":"BlockVehicleDeliveryPackages_delivery-packages__subtitle__LZH0K",card:"BlockVehicleDeliveryPackages_card__3BJve",card__top:"BlockVehicleDeliveryPackages_card__top__7pKMe",card__heading:"BlockVehicleDeliveryPackages_card__heading__bHgI1",card__name:"BlockVehicleDeliveryPackages_card__name__57roW",card__price:"BlockVehicleDeliveryPackages_card__price___BATh",card__usps:"BlockVehicleDeliveryPackages_card__usps__W7Vvu",card__usp:"BlockVehicleDeliveryPackages_card__usp__f5aGw","card__usp-icon":"BlockVehicleDeliveryPackages_card__usp-icon__Z7mM3",card__description:"BlockVehicleDeliveryPackages_card__description__cY9bb","card__description--preview":"BlockVehicleDeliveryPackages_card__description--preview__b06wm","card__specs-trigger":"BlockVehicleDeliveryPackages_card__specs-trigger__0cL6c"}},94586:(e,t,l)=>{"use strict";l.d(t,{e:()=>a});let i={be_nl:"nl-BE",be_fr:"fr-BE"};function a(e){var t;return null!=(t=i[e])?t:e}},96102:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var i=l(95155),a=l(79121),n=l(85402),s=l.n(n),r=l(93321),c=l(12115),o=l(60115),_=l(68321),d=l(43117),u=l.n(d),p=l(72346),m=l(95604);function h(e){let{apiKey:t}=e,l=(0,r.qC)(),{locale:n,config:{style:d}}=(0,p.t)(),h=(0,m.useTranslations)(),[v,b]=(0,c.useState)(!1);return((0,c.useEffect)(()=>{b(!0);let e=document.createElement("link");return e.rel="stylesheet",e.href="https://express.match-lab.nl/jobs.css",document.head.appendChild(e),()=>{document.head.removeChild(e)}},[]),v&&l&&t)?(0,i.jsxs)("div",{className:(0,a.A)(s().block,s()["block--text-like"]),children:[(0,i.jsx)(_.default,{type:"module",defer:!0,src:"https://express.match-lab.nl/jobs.js",crossOrigin:"anonymous"}),(0,i.jsx)("div",{id:"express-app","data-locale":n,"data-api-key":t,"data-applied-message":h("vacancy.matchlab.form.applied_message"),"data-popover":"true","data-only-forms":!0,className:(0,a.A)(u()["block__matchlab-form"]),"data-color-secondary":d.colorPrimary}),(0,i.jsx)(o.default,{customAttributes:{"express-button":"","data-guid":l.attributes.guid},title:h("vacancy.matchlab.form.cta")})]}):null}},96188:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var i=l(95155),a=l(12115),n=l(95604),s=l(75391),r=l(79121),c=l(82496);let o=async(e,t,l)=>(0,c.A)().post("/ternair/".concat(e,"/subscription/").concat(t),l).then(e=>e.data).catch(e=>{var t;return Promise.reject(null==e||null==(t=e.response)?void 0:t.data)});var _=l(85402),d=l.n(_);function u(e){let{serviceId:t,action:l="confirm"}=e,c=(0,n.useTranslations)("subscription_action"),[_,u]=(0,a.useState)("pending"),p=(0,a.useRef)(!1);(0,a.useEffect)(()=>{var e,i,a;let n;if(p.current)return;if(p.current=!0,!t)return void u("error");let s=new URLSearchParams(window.location.search),r=null!=(e=s.get("aapkey"))?e:"",c=null!=(i=s.get("tid"))?i:"",_=null!=(a=s.get("ezinecode"))?a:"";if("unsubscribe"===l){if(!c||!_)return void u("error");n={tid:c,ezinecode:_}}else{if(!r)return void u("error");n={aapkey:r},c&&(n.tid=c)}o(t,l,n).then(()=>u("success")).catch(()=>u("error"))},[l,t]);let m={success:c("message.success"),error:c("message.error"),pending:c("message.pending")}[_];return(0,i.jsx)("div",{className:(0,r.A)(d().block,d()["block--subscription-action"]),children:(0,i.jsx)(s.A,{theme:{success:"success",error:"error",pending:"warning"}[_],children:m})})}},97198:(e,t,l)=>{"use strict";l.d(t,{default:()=>m});var i=l(95155),a=l(24089),n=l(57523),s=l(84795),r=l(60115),c=l(79121),o=l(58744),_=l(1792),d=l(59491),u=l(85402),p=l.n(u);function m(e){let{theme:t="regular",imageId:l,title:u="",text:m="",buttons:h,widths:v,likelyLCP:b}=e,{images:g}=(0,o.l)(),f=g.find(e=>e.id===l),y=(0,_.I)([],h);
1return(0,i.jsx)("div",{className:(0,c.A)(p().block,p()["block--card"]),children:(0,i.jsx)(n.A,{theme:t,media:f?(0,i.jsx)(d.A,{action:y,tabIndex:-1,children:(0,i.jsx)(s.A,{likelyLCP:b,url:f.path,mimeType:f.contentType,ratio:"filled"===t?2/3:1.5,width:"".concat(v.sm,"cw"),breakpoints:{md:{width:"".concat(v.md,"cw")},lg:{width:"".concat(v.lg,"cw")}}})}):null,title:u?(0,i.jsx)(d.A,{action:y,children:u}):null,text:m?(0,a.Ay)(m):null,cta:h.length>0?h.map((e,l)=>(0,i.jsx)(r.default,{...e,type:void 0,fullWidth:"regular"===t},l)):null})})}},97315:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var i=l(12115);let a={sm:"0",md:"600px",lg:"1024px"};function n(e){let t=e=>window.matchMedia("(min-width: ".concat(a[e],")")).matches,[l,n]=(0,i.useState)(t(e)),s=()=>{n(t(e))};return(0,i.useEffect)(()=>{let t=window.matchMedia("(min-width: ".concat(a[e],")"));return s(),t.addEventListener("change",s),()=>{t.removeEventListener("change",s)}},[e]),l}},97725:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});var i=l(72346);function a(e,t){var l,a;let{config:n}=(0,i.t)();return null!=(a=null==n||null==(l=n.style)?void 0:l[e])?a:t}},97835:(e,t,l)=>{"use strict";l.d(t,{default:()=>k});var i=l(95155),a=l(34471),n=l(79121),s=l(12115),r=l(74551);l(74062),l(60949);var c=l(24334),o=l(95415),_=l(75205),d=l.n(_),u=l(61433),p=l(60115),m=l(72346),h=l(17221),v=l(73714),b=l(95604);function g(e){let{slides:t,slidesPerView:l=1,centeredSlides:a=!1,loop:_=!1,autoplay:g=!1,autoplayDelay:f=5e3,widths:y,renderSlide:x,getTrackLabel:k,themeColor:j="primary",hideSliderBar:A=!1,trackStyle:w="dots-with-title"}=e,[N,C]=(0,s.useState)(!0),[S,P]=(0,s.useState)(!g),[E,T]=(0,s.useState)(0),[M,V]=(0,s.useState)(1),[I,O]=(0,s.useState)(()=>t.map((e,t)=>t)),L=(0,s.useRef)(null),F=(0,s.useRef)(null),B=(0,b.useTranslations)(),z=(0,s.useId)(),{config:R}=(0,m.t)(),H=(0,h.kt)(null==R?void 0:R.style)[j||"primary"],U=e=>{V(e.params.loop?e.slides.length:e.snapGrid.length)},D=e=>{let l=e.params.loop?Array.from(e.slides).map(e=>{let t=e.getAttribute("data-swiper-slide-index");return null!==t?parseInt(t,10):0}):t.map((e,t)=>t);O(e=>e.length===l.length&&e.every((e,t)=>e===l[t])?e:l)};(0,s.useEffect)(()=>{if(!N&&F.current&&L.current){var e;let t=null!=(e=L.current.translate)?e:0;F.current.style.transform="translate3d(".concat(t,"px, 0, 0)"),F.current.style.transitionDuration="0ms"}},[N,I]);let q=Math.max(1,y.md/2/y.lg*l),W=Math.max(1,y.sm/4/y.lg*l);if(0===t.length)return null;let G="".concat(255*H.r,", ").concat(255*H.g,", ").concat(255*H.b);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:(0,n.A)(d().swiper__wrapper),style:{"--slides-per-view-lg":l,"--slides-per-view-md":q,"--slides-per-view-sm":W,"--total-slides":t.length,"--color-highlight-rgb":G},children:[(0,i.jsx)("div",{className:(0,n.A)(d().track,a?d()["track--centered"]:""),children:(0,i.jsx)("div",{className:(0,n.A)(d().track__inner),ref:F,children:I.map((e,l)=>{let a=t[e];if(!a)return null;let s=k(a,e);return(0,i.jsxs)("div",{className:(0,n.A)(d().track__step),children:[(0,i.jsx)("span",{className:(0,n.A)(d().track__dot)}),"dots-with-title"===w&&s&&(0,i.jsx)("span",{className:(0,n.A)(d().track__label),title:s,children:s})]},"".concat(l,"-").concat(e))})})}),(0,i.jsx)(v.A,{href:"#".concat(z),className:["skiplink--floating"],title:B("skiplink.timeline")}),(0,i.jsx)(r.RC,{autoplay:!!g&&{delay:f,disableOnInteraction:!0},slidesPerView:"auto",centeredSlides:a,grabCursor:!0,className:(0,n.A)(d().swiper,a?d()["swiper--centered"]:"",100===y.sm?d()["swiper--full-width"]:""),onSwiper:e=>{L.current=e,D(e)},onUpdate:e=>{U(e),D(e)},onSlidesLengthChange:e=>{U(e),D(e)},onSnapGridLengthChange:U,onLoopFix:e=>{D(e)},onSetTranslate:(e,t)=>
1{F.current&&(F.current.style.transform="translate3d(".concat(t,"px, 0, 0)"))},onSetTransition:(e,t)=>{F.current&&(F.current.style.transitionDuration="".concat(t,"ms"))},onSlideChange:e=>{T(e.realIndex),D(e)},onPause:()=>P(!0),onPlay:()=>P(!1),onAutoplayStop:()=>P(!0),onAutoplayStart:()=>P(!1),onLock:()=>C(!0),onUnlock:()=>C(!1),modules:[u.Ij],children:t.map((e,t)=>(0,i.jsx)(r.qr,{className:(0,n.A)(d().swiper__slide),children:x(e,{sm:y.sm/W,md:y.md/q,lg:y.lg/l},t)},t))}),N?null:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{className:(0,n.A)(d().swiper__navigation,d()["swiper__navigation--previous"]),disabled:0===E,onClick:()=>{L.current.slidePrev()},children:(0,i.jsx)(o.A,{icon:"chevron_left"})}),(0,i.jsx)("button",{className:(0,n.A)(d().swiper__navigation,d()["swiper__navigation--next"]),disabled:E===M-1,onClick:()=>{L.current.slideNext()},children:(0,i.jsx)(o.A,{icon:"chevron_right"})})]})]}),!N&&!A&&(0,i.jsxs)("div",{className:(0,n.A)(d().swiper__buttonbar),style:{"--color-highlight-rgb":G},children:[g&&(0,i.jsx)(p.default,{showText:!1,type:"button",theme:"transparent",onClick:()=>{S?L.current.autoplay.start():L.current.autoplay.stop()},icon:"".concat(S?"play_arrow":"pause")}),(0,i.jsx)(c.A,{className:(0,n.A)(d().swiper__pagination),min:0,style:{"--color-highlight-rgb":G},max:M-1,value:E,onChange:e=>{let t=Array.isArray(e)?e[0]:e;L.current&&(_?L.current.slideToLoop(t):L.current.slideTo(t))},ariaLabelForHandle:"slider handle"})]}),(0,i.jsx)("div",{id:z})]})}var f=l(85402),y=l.n(f);let x=(e,t)=>(null==e?void 0:e.trackTitle)||"".concat(t+1);function k(e){let{slides:t=[],likelyLCP:l,...s}=e;return(0,i.jsx)("div",{className:(0,n.A)(y().block,y()["block--swiper"],y()["block--timeline"]),children:(0,i.jsx)(g,{slides:t,renderSlide:(e,t,n)=>{var s;return(0,i.jsx)(a.A,{blocks:null!=(s=null==e?void 0:e.content)?s:[],widths:t,likelyLCP:l&&0===n})},getTrackLabel:x,...s})})}},98814:(e,t,l)=>{"use strict";l.d(t,{A:()=>Y});var i=l(95155),a=l(32511),n=l.n(a),s=l(16522),r=l(80695),c=l(82158),o=l(75598),_=l(79121),d=l(30245),u=l(12115),p=l(36714),m=l.n(p),h=l(60115),v=l(43134),b=l(11929);function g(){let{filters:e,values:t}=(0,r.iN)(),[l]=(0,u.useState)((0,b.A)()),i=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=[];return t.forEach(t=>{let n=null==e?void 0:e[t.key];if(null==n)return;let s=l?"".concat(l,".").concat(t.key):t.key;if("checkboxes"===t.type)Object.keys(n).forEach(e=>{a.push({filterKey:s,selectedValue:e});let l=t.options.find(t=>t.key===e);if((null==l?void 0:l.filters)&&n[e]){let t=i(n[e],l.filters,"".concat(s,".").concat(e));a.push(...t)}});else if("single-select"===t.type)Object.keys(n).forEach(e=>{a.push({filterKey:s,selectedValue:e});let l=t.options.find(t=>t.key===e);if((null==l?void 0:l.filters)&&n[e]){let t=i(n[e],l.filters,"".concat(s,".").concat(e));a.push(...t)}});else if("number-range"===t.type||"select-range"===t.type||"range-overlap"===t.type){let e=[];
1if("min"in n){let t=Object.keys(n.min)[0];void 0!==t&&e.push("min:".concat(t))}if("max"in n){let t=Object.keys(n.max)[0];void 0!==t&&e.push("max:".concat(t))}e.length>0&&a.push({filterKey:s,selectedValue:e.join(",")})}else if("geo-distance"===t.type){let e=e=>{var t;return"string"==typeof e?e:e&&"object"==typeof e&&null!=(t=Object.keys(e)[0])?t:""},t=e(n.postcode),l=e(n.radius);t&&l&&a.push({filterKey:s,selectedValue:"".concat(t,":").concat(l)})}}),a};return(0,u.useCallback)((t,a,n,s,r)=>{let{filter_category:c,filter_selection:o}=(t=>{let l=i(t,e);return 0===l.length?{filter_category:"",filter_selection:""}:{filter_category:l.map(e=>"{".concat(e.filterKey,"}")).join("|"),filter_selection:l.map(e=>"{".concat(e.selectedValue,"}")).join("|")}})(r);window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"filter",filter_id:l,timestamp:new Date().toISOString(),filter_category:c,filter_selection:o})},[e,t,l])}function f(e){var t;let{filter:l,path:a=[]}=e,p=(0,u.useId)(),{values:b,setValues:f}=(0,r.iN)(),y=(0,d.e)(),x=(0,v.A)(),k=g(),j=null!=(t=l.defaultShownOptions)?t:[],A=j.length>0&&!Object.keys((0,c.bf)(b,[...a,l.key])||{}).some(e=>!j.includes(e)),w=A?l.options.filter(e=>j.includes(e.key)):l.options,N=A?l.options.filter(e=>!j.includes(e.key)):[],[C,S]=(0,u.useState)(!A);return(0,i.jsxs)("div",{className:(0,_.A)(m().checkboxes),children:[[...w,...C?N:[]].map(e=>{var t;let r=[...a,l.key,e.key],d=void 0!==(0,c.bf)(b,r);return(0,i.jsxs)("div",{children:[(0,i.jsx)(s.A,{id:"".concat(p,"-").concat(e.key),label:(0,i.jsxs)("span",{className:(0,_.A)(m()["checkbox-title"]),children:[(0,i.jsx)("span",{children:y(l.key,e.key)}),(0,i.jsx)("span",{className:(0,_.A)(m()["checkbox-title__count"]),children:e.count})]}),checked:d,onChange:()=>{if(d){let t=(0,c.WE)(n()(b),r);f(t),k("filter_home",l.key,e.key,"deselect",t)}else{let t=(0,c.HJ)(n()(b),r,null);f(t),k("filter_home",l.key,e.key,"select",t)}}}),(null==(t=e.filters)?void 0:t.length)?(0,i.jsx)(o.S,{isOpened:d,theme:{collapse:(0,_.A)(m().collapse__collapse),content:(0,_.A)(m().collapse__content)},children:(0,i.jsx)("div",{className:(0,_.A)(m().collapse__body),...!d?{inert:!0}:null,children:e.filters.map(e=>(0,i.jsx)(Y,{filter:e,path:r},e.key))})}):null]},e.key)}),N.length>0&&!C&&(0,i.jsx)(h.default,{type:"button",className:(0,_.A)(m()["show-more-button"]),onClick:()=>S(!0),icon:"expand_more",size:"sm",theme:"transparent",title:x("vehicle_overview.filter.show_more")})]})}var y=l(18904),x=l(84501),k=l.n(x);function j(e){let{id:t,value:l,active:a,placeholder:n,prefix:s,suffix:r,inputMode:c="numeric",suggestions:o,formatSuggestion:d,ariaLabel:p,onValueChange:m}=e,h=(0,u.useId)(),v="".concat(null!=t?t:h,"-listbox"),b=(0,u.useRef)(null),[g,f]=(0,u.useState)(!1),[x,j]=(0,u.useState)(!1),[A,w]=(0,u.useState)(-1),N=x&&l?o.filter(e=>String(e).startsWith(l)):o;(0,u.useEffect)(()=>{if(!g)return;let e=e=>{b.current&&!b.current.contains(e.target)&&(f(!1),w(-1))};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[g]),(0,u.useEffect)(()=>{var e;A<0||null==(e=document.getElementById("".concat(v,"-").concat(A)))||e.scrollIntoView({block:"nearest"})},[A,v]);let C=e=>{m(String(e)),f(!1),j(!1),w(-1)},S=g&&N.length>0;return(0,i.jsxs)("div",{ref:b,className:k().combobox,children:[(0,i.jsx)(y.A,{id:null!=t?t:h,inputMode:c,placeholder:n,active:a,value:null!=l?l:"",prefix:s,suffix:r,role:"combobox","aria-expanded":S,"aria-controls":v,"aria-autocomplete":"list","aria-label":p,"aria-activedescendant":A>=0?"".concat(v,"-").concat(A):void 0,onFocus:()=>{j(!1),f(!0)},onClick:()=>{j(!1),f(!0)},onKeyDown:e=>{"ArrowDown"===e.key?(e.preventDefault(),f(!0),w(e=>Math.min(e+1,N.length-1))):"ArrowUp"===e.key?(e.preventDefault(),f(!0),w(e=>Math.max(e-1,0))):"Enter"===e.key?g&&A>=0&&void 0!==N[A]&&(e.preventDefault(),C(N[A])):"Escape"===e.key&&(f(!1),w(-1))},onValueChange:(e,t)=>
1{"event"===t.source&&(f(!0),j(!0),w(-1),m(e.value))}}),S?(0,i.jsx)("ul",{id:v,role:"listbox",className:k().combobox__list,children:N.map((e,t)=>(0,i.jsx)("li",{id:"".concat(v,"-").concat(t),role:"option","aria-selected":t===A,className:(0,_.A)(k().combobox__option,t===A?k()["combobox__option--active"]:""),onMouseDown:t=>{t.preventDefault(),C(e)},onMouseEnter:()=>w(t),children:d?d(e):e},e))}):null]})}var A=l(97176),w=l.n(A);let N=[2500,5e3,7500,1e4,12500,15e3,17500,2e4,22500,25e3,3e4,35e3,4e4,45e3,5e4,6e4,7e4,8e4,9e4,1e5],C=[50,100,150,200,250,300,350,400,450,500,600,700,800,900,1e3,1250,1500,1750,2e3],S=[25,50,75,100,125,150,175,200,250,300,350,400,450,500],P={price:N,b2bPrice:N,fiscalValue:[...N,125e3],privateLeasePrice:C,businessLeasePrice:C,shortLeasePrice:C,odometerReading:[1e4,2e4,3e4,4e4,5e4,6e4,7e4,8e4,9e4,1e5,125e3,15e4,175e3,2e5,25e4,3e5],actionRadius:[50,100,150,200,250,300,350,400,450,500,550,600,650,700],powerFuelHp:S,powerElectricPk:S,numberOfSeats:[2,3,4,5,6,7,8,9],batteryCapacity:[10,20,30,40,50,60,70,80,90,100,110,120],batteryCondition:[50,55,60,65,70,75,80,85,90,95,100],batteryChargeTime:[60,120,180,240,300,360,480,600,720],batteryFastChargingTime:[10,20,30,40,50,60],batteryChargingCapacity:[3.7,7.4,11,22],batteryFastChargingCapacity:[50,100,150,200,250,300,350],batteryChargeSpeed:[10,20,30,40,50],batteryFastChargeSpeed:[100,200,300,400,500,600,700],hoursPerWeek:[8,16,20,24,32,36,38,40]};function E(e,t,l){let i=P[e];return i?void 0===l||Number.isNaN(l)?i:"min"===t?i.filter(e=>e<=l):i.filter(e=>e>=l):[]}var T=l(37851),M=l.n(T);function V(e){var t,l;let{filter:a,path:s=[]}=e,o=(0,u.useId)(),{values:p,setValues:m}=(0,r.iN)(),h=[...s,a.key,"min"],b=[...s,a.key,"max"],f=Object.keys(null!=(t=(0,c.bf)(p,h))?t:{}).at(0),y=Object.keys(null!=(l=(0,c.bf)(p,b))?l:{}).at(0),x=(0,v.A)(),k=(0,d.e)(),A=g(),N=e=>k(a.key,e),C=(0,u.useRef)(null);(0,u.useEffect)(()=>()=>{var e;clearTimeout(null!=(e=C.current)?e:void 0)},[]);let S=e=>{var t;clearTimeout(null!=(t=C.current)?t:void 0),C.current=setTimeout(e,400)},P=x("vehicle.attribute.".concat(w()(a.key),".prefix"),{},{},""),T=x("vehicle.attribute.".concat(w()(a.key),".suffix"),{},{},""),V=(e,t,l)=>{if(!l){t&&S(()=>{let l=(0,c.WE)(n()(p),e);m(l),A("filter_home",a.key,t,"deselect",l)});return}S(()=>{let t=(0,c.HJ)(n()(p),e,{[l]:""});m(t),A("filter_home",a.key,l,"select",t)})};return(0,i.jsxs)("div",{className:(0,_.A)(M()["number-range"]),children:[(0,i.jsx)(j,{id:"".concat(o,"-min"),placeholder:x("vehicle_overview.filter_number.from.placeholder"),active:!!f,value:null!=f?f:"",prefix:x("vehicle_overview.filter_number.from.prefix")+P,suffix:T,suggestions:E(a.key,"min",y?Number(y):void 0),formatSuggestion:N,ariaLabel:x("vehicle_overview.filter_number.from.placeholder"),onValueChange:e=>V(h,f,e)}),(0,i.jsx)(j,{id:"".concat(o,"-max"),placeholder:x("vehicle_overview.filter_number.to.placeholder"),active:!!y,value:null!=y?y:"",prefix:x("vehicle_overview.filter_number.to.prefix")+P,suffix:T,suggestions:E(a.key,"max",f?Number(f):void 0),formatSuggestion:N,ariaLabel:x("vehicle_overview.filter_number.to.placeholder"),onValueChange:e=>V(b,y,e)})]})}var I=l(78317),O=l(95604),L=l(5922),F=l.n(L);function B(e){var t,l,a,s;let{filter:o,path:p=[]}=e,m=(0,O.useTranslations)(),h=(0,u.useId)(),{values:v,setValues:b}=(0,r.iN)(),f=(0,d.e)(),y=[...p,o.key,"min"],x=[...p,o.key,"max"],k=Object.keys(null!=(a=(0,c.bf)(v,y))?a:{}).at(0),j=Object.keys(null!=(s=(0,c.bf)(v,x))?s:{}).at(0),A=g();return(0,i.jsxs)("div",{className:(0,_.A)(F()["select-range"]),children:[(0,i.jsx)(I.A,{id:"".concat(h,"-min"),label:m("vehicle_overview.filter_select.from.placeholder"),labelVisuallyHidden:!0,placeholder:m("vehicle_overview.filter_select.from.placeholder"),active:!!k,value:null!=k?k:"",options:null==(t=o.options)?void 0:t.map(e=>({value:e.key,title:m("vehicle_overview.filter_select.from.options")+f(o.key,e.key)})),onChange:e=>{let t=Number(e.target.value);if(!t){let e=(0,c.WE)(n()(v),y);b(e),A("filter_home",o.key,null!=k?k:"","deselect",e);return}if(j&&t>Number(j)){let e=(0,c.HJ)((0,c.HJ)(n()(v),y,{[j]:""}),x,{[t]:""});b(e),A("filter_home",o.key,j.toString(),"select",e)}else{let e=(0,c.HJ)(n()(v),y,{[t]:""});b(e),A("filter_home",o.key,t.toString(),"select",e)}}}),(0,i.jsx)(I.A,{id:"".concat(h,"-max"),label:m("vehicle_overview.filter_select.to.placeholder"),labelVisuallyHidden:!0,placeholder:m("vehicle_overview.filter_select.to.placeholder"),active:!!j,value:null!=j?j:"",options:null==(l=o.options)?void 0:l.map(e=>({value:e.key,title:m("vehicle_overview.filter_select.to.options")+f(o.key,e.key)})),onChange:e=>{let t=Number(e.target.value);if(!t){let e=(0,c.WE)(n()(v),x);b(e),A("filter_home",o.key,null!=j?j:"","deselect",e);return}if(k&&t<Number(k)){let e=(0,c.HJ)((0,c.HJ)(n()(v),x,{[k]:""}),y,{[t]:""});b(e),A("filter_home",o.key,k.toString(),"select",e)}else{let e=(0,c.HJ)(n()(v),x,{[t]:""});b(e),A("filter_home",o.key,t.toString(),"select",e)}}})]})}var z=l(35142);function R(e){var t;let{filter:l,path:a=[]}=e,s=(0,u.useId)(),{values:p,setValues:b}=(0,r.iN)(),g=(0,d.e)(),f=(0,v.A)(),y=null!=(t=l.defaultShownOptions)?t:[],x=Object.keys((0,c.bf)(p,[...a,l.key])||{}),k=y.length>0&&(0===x.length||x.every(e=>y.includes(e))),j=k?l.options.filter(e=>
1y.includes(e.key)):l.options,A=k?l.options.filter(e=>!y.includes(e.key)):[],[w,N]=(0,u.useState)(!k);return(0,i.jsxs)("div",{className:(0,_.A)(m().checkboxes),children:[[...j,...w?A:[]].map(e=>{var t;let r=[...a,l.key,e.key],d=void 0!==(0,c.bf)(p,r);return(0,i.jsxs)("div",{children:[(0,i.jsx)(z.A,{id:"".concat(s,"-").concat(e.key),name:"".concat(s,"-").concat(l.key),label:(0,i.jsxs)("span",{className:(0,_.A)(m()["checkbox-title"]),children:[(0,i.jsx)("span",{children:g(l.key,e.key)}),(0,i.jsx)("span",{className:(0,_.A)(m()["checkbox-title__count"]),children:e.count})]}),checked:d,onChange:()=>{if(d)b((0,c.WE)(n()(p),r));else{let e=(0,c.WE)(n()(p),[...a,l.key]);b((0,c.HJ)(e,r,null))}}}),(null==(t=e.filters)?void 0:t.length)?(0,i.jsx)(o.S,{isOpened:d,theme:{collapse:(0,_.A)(m().collapse__collapse),content:(0,_.A)(m().collapse__content)},children:(0,i.jsx)("div",{className:(0,_.A)(m().collapse__body),...!d?{inert:!0}:null,children:e.filters.map(e=>(0,i.jsx)(Y,{filter:e,path:r},e.key))})}):null]},e.key)}),A.length>0&&!w&&(0,i.jsx)(h.default,{type:"button",className:(0,_.A)(m()["show-more-button"]),onClick:()=>N(!0),icon:"expand_more",size:"sm",theme:"transparent",title:f("vehicle_overview.filter.show_more")})]})}var H=l(11287),U=l(88836),D=l.n(U);let q=[5,10,15,25,50,75,100],W=e=>e.replace(/\s/g,"").toUpperCase(),G=e=>/^[1-9]\d{3}[A-Z]{2}$/.test(W(e)),Q=e=>{var t;return"string"==typeof e?e:e&&"object"==typeof e&&null!=(t=Object.keys(e).at(0))?t:""};function K(e){var t;let{filter:l,path:a=[]}=e,s=(0,u.useId)(),{values:o,setValues:d}=(0,r.iN)(),p=(0,v.A)(),m=g(),h=[...a,l.key],b=null!=(t=(0,c.bf)(o,h))?t:{},[f,y]=(0,u.useState)(()=>Q(b.postcode)),[x,k]=(0,u.useState)(()=>Q(b.radius)),[j,A]=(0,u.useState)(!1),w=(0,u.useRef)(o);w.current=o;let N=(0,u.useRef)(null);(0,u.useEffect)(()=>()=>{var e;clearTimeout(null!=(e=N.current)?e:void 0)},[]),(0,u.useEffect)(()=>{!(0,c.bf)(o,h)&&G(f)&&x&&(y(""),k(""))},[o]);let C=(e,t)=>{let i=w.current;if(!(G(e)&&t)){(0,c.bf)(i,h)&&d((0,c.WE)(n()(i),h));return}let a=W(e),s=(0,c.HJ)(n()(i),h,{postcode:a,radius:t});d(s),m("filter_home",l.key,"".concat(a,"_").concat(t),"select",s)},S=j&&""!==f.trim()&&!G(f);return(0,i.jsxs)("div",{className:(0,_.A)(D().location),children:[(0,i.jsx)(H.A,{id:"".concat(s,"-postcode"),type:"text",inputMode:"text",autoComplete:"postal-code",maxLength:7,"aria-label":p("vehicle_overview.filter_location.postcode.label",{},{},"Postcode"),placeholder:p("vehicle_overview.filter_location.postcode.placeholder",{},{},"1234 AB"),value:f,active:!!f,error:S?p("form.input.zipcode.message.error",{},{},"Dit is geen geldige postcode"):void 0,onChange:e=>{var t;let l=e.target.value;y(l),A(!1),clearTimeout(null!=(t=N.current)?t:void 0),N.current=setTimeout(()=>C(l,x),400)},onBlur:()=>A(!0)}),(0,i.jsx)(I.A,{id:"".concat(s,"-radius"),label:p("vehicle_overview.filter_location.radius.label",{},{},"Afstand"),labelVisuallyHidden:!0,placeholder:p("vehicle_overview.filter_location.radius.placeholder",{},{},"Kies afstand"),value:x,active:!!x,options:q.map(e=>({value:String(e),title:p("vehicle_overview.filter_location.radius.option",{distance:e},{},"Binnen ".concat(e," km"))})),onChange:e=>{var t;let l=e.target.value;k(l),clearTimeout(null!=(t=N.current)?t:void 0),C(f,l)}})]})}function Y(e){let{filter:t,path:l=[]}=e;return"checkboxes"===t.type?(0,i.jsx)(f,{filter:t,path:l}):"number-range"===t.type||"range-overlap"===t.type?(0,i.jsx)(V,{filter:t,path:l}):"select-range"===t.type?(0,i.jsx)(B,{filter:t,path:l}):"single-select"===t.type?(0,i.jsx)(R,{filter:t,path:l}):"geo-distance"===t.type?(0,i.jsx)(K,{filter:t,path:l}):null}},98988:(e,t,l)=>{"use strict";l.d(t,{B2bPrivateListenerInitializer:()=>m,B2bPublicListenerInitializer:()=>h,B2bStoreInitializer:()=>p,H_:()=>_,pD:()=>v});var i=l(72346),a=l(47434),n=l(35867),s=l(12115),r=l(95988),c=l(89863),o=l(81609);let _=(0,r.vt)()((0,c.eh)((0,c.Zr)(e=>({token:null,setToken:t=>e({token:t}),customer:null,setCustomer:t=>e({customer:t}),pages:[],setPages:t=>e({pages:t})}),{name:"dm-b2b"}))),d=()=>{_.persist.rehydrate()},u=async(e,t,l)=>{try{var i,a;let n=(await (0,o.A)().get("".concat(e,"/api").concat(t,"/snippet-areas/b2b_navigation"))).data;return null!=(a=null==n||null==(i=n.content.pages)?void 0:i.map(i=>({title:i.content.title,url:i.content.url.replace(e+t,l)})))?a:[]}catch(e){return console.error("Failed to fetch B2B navigation:",e),[]}},p=()=>{let e=v(),{token:t,setToken:l,setCustomer:n,setPages:r}=_(e=>({token:e.token,setToken:e.setToken,setCustomer:e.setCustomer,setPages:e.setPages})),{origin:c,basePath:o}=(0,i.t)();return(0,s.useEffect)(()=>
1{if(e){if(t){(0,a.xt)().then(e=>{e.data&&n(e.data)});let e=c+o;u(c,o,e).then(e=>{r(e)});return}l(null),n(null),r([])}},[e,t,c,o]),(0,s.useEffect)(()=>(document.addEventListener("visibilitychange",d),window.addEventListener("focus",d),()=>{document.removeEventListener("visibilitychange",d),window.removeEventListener("focus",d)}),[]),null},m=()=>{let e=v(),{token:t}=_(e=>{let{token:t}=e;return{token:t}}),{basePath:l}=(0,i.t)();return(0,s.useEffect)(()=>{if(e&&!t){let e=new URL(l+(0,n.ZK)(),window.location.href);window.location.href=e.href}},[e,t]),null},h=()=>{let e=v(),{token:t}=_(e=>{let{token:t}=e;return{token:t}}),{basePath:l}=(0,i.t)();return(0,s.useEffect)(()=>{if(e&&t){let e=new URL(l+(0,n.xq)(),window.location.href);window.location.href=e.href}},[e,t]),null},v=()=>{let[e,t]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=_.persist.onHydrate(()=>t(!1)),l=_.persist.onFinishHydration(()=>t(!0));return t(_.persist.hasHydrated()),()=>{e(),l()}},[]),e}}}]);

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.