1import{d as G,D as rt,a as ie,a1 as it,a5 as Ye,i as t,e as n,f as s,K as q,O as T,g as e,t as o,k as U,aD as Lt,w as A,C as Bt,o as ne,ae as ct,n as se,I as P,h as S,T as me,H as oe,j as E,L as fe,m as re,M as Se,J as K,R as ge,r as v,q as O,aE as St,aC as dt,u as ut,a4 as ht,G as Ke,$ as Te,F as pt,A as ze,Q as vt,b as Qe,ab as We,x as Tt,ah as It,ac as At,af as Ot,ad as Rt,Y as Ne,ar as Pt,P as Et,S as mt,ag as ft,V as lt,al as Ht}from"./C-ixyGM-.js";import{_ as le}from"./DlAUqK2U.js";import{_ as gt}from"./DzWhZ8SL.js";import{u as Je}from"./BMcKhHA7.js";import{_ as Ze}from"./CXJwfy63.js";import{_ as Nt}from"./BFWzMysZ.js";import{_ as zt}from"./IFnsQALO.js";import{a as Ft}from"./DoxYwMEl.js";import{u as Ge}from"./Bq2tZVzE.js";import{s as Ut}from"./BFS_IaQE.js";import{u as Dt}from"./DxICIh2N.js";import"./BeTMSsGB.js";const Vt=["innerHTML"],qt=G({__name:"OffersBar",async setup(_){let u,d;const b=rt(),{locale:C}=ie(),{data:m}=([u,d]=it(()=>Ye(()=>`offers-bar:${C.value}`,()=>b.get(`/offer-bars/random/${C.value}`).then(w=>w??null).catch(()=>null),{watch:[C]})),u=await u,d(),u);function r(){m.value?.url&&(window.location.href=m.value.url)}return(w,$)=>t(m)?(n(),s("div",{key:0,class:q(["offers-bar d-flex align-items-center justify-content-center py-2 bg-white fs-15",{"cursor-pointer":t(m).url}]),onClick:r,innerHTML:t(m).content},null,10,Vt)):T("",!0)}}),Wt=Object.assign(le(qt,[["__scopeId","data-v-4e3db8e5"]]),{__name:"OffersBar"}),Yt={key:0,class:"rhp",role:"tooltip"},Kt={class:"rhp__top"},Qt={class:"rhp__left"},Jt={class:"rhp__avg"},Zt={class:"rhp__count"},Gt={class:"rhp__viewall"},Xt=G({__name:"HeaderReviewHover",props:{average:{},total:{},reviewUrl:{}},setup(_){return(u,d)=>_.total>0?(n(),s("div",Yt,[d[2]||(d[2]=e("div",{class:"rhp__caret","aria-hidden":"true"},null,-1)),e("div",Kt,[e("div",Qt,[d[0]||(d[0]=e("svg",{class:"rhp__badge-icon",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("circle",{cx:"11",cy:"9",r:"6.5",stroke:"currentColor","stroke-width":"2"}),e("path",{d:"M8 9l2 2 4-4",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M7.5 17l3.5-2.2 3.5 2.2-1.4-3.8H8.9L7.5 17z",fill:"currentColor"})],-1)),e("span",Jt,o(_.average.toFixed(1))+" "+o(u.$t("header.ratingMenu.average")),1)]),e("span",Zt,o(_.total.toLocaleString())+"+ "+o(u.$t("header.ratingMenu.reviews")),1)]),(n(),U(Lt(_.reviewUrl?"a":"div"),{href:_.reviewUrl||void 0,target:"_blank",rel:"noopener noreferrer",class:"rhp__footer"},{default:A(()=>[d[1]||(d[1]=e("span",{class:"rhp__brand"},[e("svg",{class:"rhp__badge-icon rhp__badge-icon--white",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("circle",{cx:"11",cy:"9",r:"6.5",stroke:"currentColor","stroke-width":"2"}),e("path",{d:"M8 9l2 2 4-4",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M7.5 17l3.5-2.2 3.5 2.2-1.4-3.8H8.9L7.5 17z",fill:"currentColor"})]),e("span",null,"WebwinkelKeur")],-1)),e("span",Gt,o(u.$t("header.ratingMenu.viewAll"))+" âº",1)]),_:1},8,["href"]))])):T("",!0)}}),eo=Object.assign(le(Xt,[["__scopeId","data-v-3c6b4f98"]]),{__name:"HeaderReviewHover"}),to=["aria-label"],oo={class:"cp-label"},no=["aria-label"],so=["aria-label"],lo={class:"cp-title"},ao={class:"cp-field"},ro={class:"cp-field-label"},io={class:"cp-search-wrap"},co=["placeholder"],uo={class:"cp-list",role:"listbox"},ho=["aria-selected","onClick"],po={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",class:"cp-check"},vo={key:0,class:"cp-list-empty"},mo=["disabled"],fo=G({__name:"CountryPicker",setup(_){const{t:u}=ie(),{localeSettings:d}=Bt(),{countries:b,selectedCountry:C,selectedCountryId:m,getCountryName:r,selectCountry:w,needsSelection:$,showCountryPicker:j}=Je(),L=v(!1),I=v(""),H=v(null),D=O(()=>{const R=I.value.trim().toLowerCase();return R?b.filter(B=>r(B).toLowerCase().includes(R)||B.id.toLowerCase().includes(R)):b});function N(){H.value=m.value,I.value="",L.value=!0}function M(){L.value=!1,I.value=""}function i(){if(H.value){if(H.value==="NL"){const R=d.value.nl?.domain;if(R){window.location.href=R.endsWith("/")?R:R+"/";return}}w(H.value),M(),St()}}ne(()=>{$.value&&N()});const y=ct("cp-mobile-open",()=>!1);se(y,R=>{R&&(N(),y.value=!1)});const x=O(()=>C.value?.id??"??");return(R,B)=>t(j)?(n(),s(P,{key:0},[e("button",{type:"button",class:"cp-btn d-flex align-items-center gap-2 border rounded-pill px-3 bg-transparent text-white","aria-label":t(u)("header.country_popup.label"),onClick:N}
1,[B[1]||(B[1]=e("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"1.5"}),e("path",{d:"M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)),e("span",oo,o(t(x)),1)],8,to),(n(),U(ge,{to:"body"},[S(me,{name:"cp-fade"},{default:A(()=>[t(L)?(n(),s("div",{key:0,class:"cp-backdrop",onClick:oe(M,["self"])},[e("div",{class:"cp-modal",role:"dialog","aria-label":t(u)("header.country_popup.title"),"aria-modal":"true"},[e("button",{type:"button",class:"cp-close","aria-label":t(u)("common.close"),onClick:M},[...B[2]||(B[2]=[e("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"})],-1)])],8,so),e("h2",lo,o(t(u)("header.country_popup.title")),1),e("div",ao,[e("label",ro,[E(o(t(u)("header.country_popup.label")),1),B[3]||(B[3]=e("span",{class:"cp-required"},"*",-1))]),e("div",io,[fe(e("input",{"onUpdate:modelValue":B[0]||(B[0]=f=>re(I)?I.value=f:null),type:"text",class:"cp-search",placeholder:t(u)("header.country_popup.placeholder"),autocomplete:"off"},null,8,co),[[Se,t(I)]])]),e("ul",uo,[(n(!0),s(P,null,K(t(D),f=>(n(),s("li",{key:f.id,role:"option","aria-selected":t(H)===f.id,class:q(["cp-list-item",{"is-active":t(H)===f.id}]),onClick:h=>H.value=f.id},[E(o(t(r)(f))+" ",1),t(H)===f.id?(n(),s("svg",po,[...B[4]||(B[4]=[e("path",{d:"M5 12l5 5L20 7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):T("",!0)],10,ho))),128)),t(D).length===0?(n(),s("li",vo,o(t(u)("header.country_popup.placeholder"))+"⦠",1)):T("",!0)])]),e("button",{type:"button",class:"cp-save btn btn-primary w-100",disabled:!t(H),onClick:i},o(t(u)("header.country_popup.action")),9,mo)],8,no)])):T("",!0)]),_:1})]))],64)):T("",!0)}}),go=Object.assign(le(fo,[["__scopeId","data-v-c5fd5a0b"]]),{__name:"CountryPicker"}),_o=["aria-expanded"],ko={class:"lang-label"},wo=["onClick"],bo={class:"lang-code"},yo={class:"lang-name"},$o=G({__name:"LanguageSwitcher",setup(_){const{locale:u,locales:d,t:b}=ie(),C=dt(),m=ut();ht();const r=O(()=>window.location.host),w=O(()=>d.value.filter(i=>{const y=i.domains;return!y?.length||y.includes(r.value)}).map(i=>({code:i.code,name:b(`header.languages.${i.code}`)})));function $(i){const y=C(i);if(y){try{const h=new URL(y,window.location.origin);if(h.host!==window.location.host){window.location.href=h.pathname+h.search+h.hash;return}}catch{}window.location.href=y;return}const{defaultLocale:x}=ie(),R=d.value.find(h=>h.defaultForDomains?.includes(r.value))?.code??x;let B=m.path;for(const h of d.value){const V=`/${h.code}`;if(B===V){B="/";break}if(B.startsWith(V+"/")){B=B.slice(V.length);break}}const f=i===R?B:`/${i}${B==="/"?"/":B}`;window.location.href=f}const j=v(!1),L=v(null),I=v({});function H(){if(!L.value)return;const i=L.value.getBoundingClientRect();I.value={top:`${i.bottom+6}px`,right:`${window.innerWidth-i.right}px`},j.value=!0}function D(){j.value=!1}function N(){j.value?D():H()}function M(i){L.value?.contains(i.target)||D()}return ne(()=>document.addEventListener("click",M)),Ke(()=>document.removeEventListener("click",M)),(i,y)=>(n(),s("div",null,[e("button",{ref_key:"btnEl",ref:L,class:"lang-btn d-flex align-items-center gap-2 border rounded-pill px-3 bg-transparent text-white",type:"button","aria-expanded":t(j),"aria-haspopup":!0,onClick:oe(N,["stop"])},[e("span",ko,o(t(u).toUpperCase()),1),y[1]||(y[1]=e("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none","aria-hidden":"true"},[e("path",{d:"M1 1l4 4 4-4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,_o),(n(),U(ge,{to:"body"},[t(j)?(n(),s("ul",{key:0,class:"lang-dropdown",style:Te(t(I)),role:"menu",onClick:y[0]||(y[0]=oe(()=>{},["stop"]))},[(n(!0),s(P,null,K(t(w),x=>(n(),s("li",{key:x.code},[e("button",{type:"button",class:q(["lang-option",{active:x.code===t(u)}]),role:"menuitem",onClick:R=>$(x.code)},[e("span",bo,o(x.code.toUpperCase()),1),e("span",yo,o(x.name),1)],10,wo)]))),128))],4)):T("",!0)]))]))}}),xo=Object.assign(le($o,[["__scopeId","data-v-dccac3f6"]]),{__name:"LanguageSwitcher"}),Co={class:"customer-toggle d-flex align-items-center gap-2 border rounded-pill px-3 mb-0",style:{cursor:"pointer"}},jo=G({__name:"HeaderCustomerToggle",setup(_){const{customerType:u,isZakelijk:d}=pt(),b=ze();return se(()=>b.user,C=>{C&&(u.value=C.type==="organization"?"zakelijk":"particulier")},{immediate:!0}),(C,m)=>(n(),s("label",Co,[e("span",{class:q(["toggle-label fs-13 fw-medium",{"opacity-60":t(d)}])},o(C.$t("header.particulier")),3),e("span",{class:q(["toggle-track rounded-pill position-relative flex-shrink-0",{"toggle-on":t(d)}])},[fe(e("input",{"onUpdate:modelValue":m[0]||(m[0]=r=>re(d)?d.value=r:null),type:"checkbox",class:"visually-hidden",role:"switch"},null,512),[[vt,t(d)]]),m[1]||(m[1]=e("span",{class:"toggle-thumb rounded-circle position-absolute"},null,-1))],2),e("span",{class:q(["toggle-label fs-13 fw-medium",{"opacity-60":!t(d)}])},o(C.$t("header.zakelijk")),3)]))}}),Mo=Object.assign(le(jo,[["__scopeId","data-v-03d5112d"]]),{__name:"HeaderCustomerToggle"}),Lo=["aria-label"],Bo={class:"ctp-label"},So=["aria-label"],To=["aria-label"],Io={class:"ctp-title"},Ao={class:"ctp-list",role:"listbox"},Oo=["aria-selected"],Ro={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",class:"ctp-check"},Po=["aria-selected"],Eo={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",class:"ctp-check"},Ho=G({__name:"CustomerTypePicker",setup(_){const{t:u}=ie(),{isZakelijk:d}=pt(),b=v(!1);function C(r){d.value=r,b.value=!1}const m=O(()=>d.value?u("header.zakelijk"):u("header.particulier"));return(r,w)=>(n(),s(P,null,[e("button",{type:"button",class:"ctp-btn d-flex d-lg-none align-items-center gap-2 border rounded-pill px-3 bg-transparent text-white","aria-label":t(u)("header.customer_type"),onClick:w[0]||(w[0]=$=>b.value=!0)},[w[6]||(w[6]=e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e("circle",{cx:"12",cy:"7",r:"4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("span",Bo,o(t(m)),1),(n(),s("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none","aria-hidden":"true",class:q(["ctp-chevron",{"ctp-chevron--up":t(b)}])},[...w[5]||(w[5]=[e("path",{d:"M1 1L5 5L9 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])],2))],8,Lo),(n(),U(ge,{to:"body"},[S(me,{name:"ctp-fade"},{default:A(()=>[t(b)?(n(),s("div",{key:0,class:"ctp-backdrop",onClick:w[4]||(w[4]=oe($=>b.value=!1,["self"]))},[e("div",{class:"ctp-modal",role:"dialog","aria-label":t(u)("header.customer_type"),"aria-modal":"true"},[e("button",{type:"button",class:"ctp-close","aria-label":t(u)("common.close"),onClick:w[1]||(w[1]=$=>b.value=!1)},[...w[7]||(w[7]=[e("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"})],-1)])],8,To),e("h2",Io,o(t(u)("header.customer_type")),1),e("ul",Ao,[e("li",{role:"option","aria-selected":!t(d),class:q(["ctp-list-item",{"is-active":!t(d)}]),onClick:w[2]||(w[2]=$=>C(!1))},[E(o(t(u)("header.particulier"))+" ",1),t(d)?T("",!0):(n(),s("svg",Ro,[...w[8]||(w[8]=[e("path",{d:"M5 12l5 5L20 7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])]))],10,Oo),e("li",{role:"option","aria-selected":t(d),class:q(["ctp-list-item",{"is-active":t(d)}]),onClick:w[3]||(w[3]=$=>C(!0))},[E(o(t(u)("header.zakelijk"))+" ",1),t(d)?(n(),s("svg",Eo,[...w[9]||(w[9]=[e("path",{d:"M5 12l5 5L20 7",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):T("",!0)],10,Po)])],8,So)])):T("",!0)]),_:1})]))],64))}}),No=Object.assign(le(Ho,[["__scopeId","data-v-d87c709f"]]),{__name:"CustomerTypePicker"}),zo=["aria-expanded","aria-label"],Fo={class:"account-icon-wrap"},Uo={key:0,class:"account-badge","aria-hidden":"true"},Do={class:"header-action-label d-none d-lg-inline"},Vo={key:0,class:"account-panel"},qo={class:"ap-fullname"},Wo={class:"ap-nav"},Yo={class:"ap-login-heading"},Ko={class:"ap-benefits"},Qo={class:"ap-benefit-item"},Jo={class:"ap-benefit-item"},Zo={class:"ap-login-footer"},Go={class:"ap-new-text"},Xo=G({__name:"HeaderAccountDropdown",setup(_){const u=ze(),d=Qe(),b=v(!1),C=v(null),m=()=>{b.value=!b.value},r=()=>{b.value=!1},w=()=>{u.logout(),r()};return ne(()=>{const $=L=>{C.value&&!C.value.contains(L.target)&&r()},j=L=>{L.key==="Escape"&&r()};document.addEventListener("mousedown",$),document.addEventListener("keydown",j),We(()=>{document.removeEventListener("mousedown",$),document.removeEventListener("keydown",j)})}),($,j)=>{const L=Ze;return n(),s("div",{ref_key:"dropdownRef",ref:C,class:"account-dropdown-root"},[e("button",{type:"button",class:"header-action-icon btn p-0 border-0 bg-transparent d-flex flex-column align-items-center","aria-expanded":t(b),"aria-label":t(u).isAuthenticated?t(u).firstName:$.$t("header.login"),onClick:m},[e("span",Fo,[j[1]||(j[1]=e("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e("circle",{cx:"12",cy:"7",r:"4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),t(u).isAuthenticated?(n(),s("span",Uo,[...j[0]||(j[0]=[e("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("circle",{cx:"5",cy:"5",r:"5",fill:"#51a23a"}),e("path",{d:"M2.5 5l1.8 1.8L7.5 3.5",stroke:"white","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])])):T("",!0)]),e("span",Do,o(t(u).isAuthenticated?t(u).firstName:$.$t("header.login")),1)],8,zo),S(me,{name:"dropdown"},{default:A(()=>[t(b)?(n(),s("div",Vo,[t(u).isAuthenticated?(n(),s(P,{key:0},[S(L,{to:t(d)("account-orders"),class:"ap-welcome-badge",onClick:r},{default:A(()=>[E(o($.$t("userMenu.badge")),1)]),_:1},8,["to"]),e("div",qo,o(t(u).fullName),1),e("nav",Wo,[S(L,{to:t(d)("account-orders"),class:"ap-nav-item",onClick:r},{default:A(()=>[e("span",null,o($.$t("userMenu.orders")),1),j[2]||(j[2]=e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"9,6 15,12 9,18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),_:1},8,["to"]),S(L,{to:t(d)("account-notifications"),class:"ap-nav-item",onClick:r},{default:A(()=>[e("span",null,o($.$t("userMenu.notification")),1),j[3]||(j[3]=e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"9,6 15,12 9,18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),_:1},8,["to"]),S(L,{to:t(d)("account-downloads"),class:"ap-nav-item",onClick:r},{default:A(()=>[e("span",null,o($.$t("userMenu.download")),1),j[4]||(j[4]=e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"9,6 15,12 9,18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),_:1},8,["to"]),S(L,{to:t(d)("account-coupons"),class:"ap-nav-item",onClick:r},{default:A(()=>[e("span",null,o($.$t("userMenu.coupons")),1),j[5]||(j[5]=e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"9,6 15,12 9,18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),_:1},8,["to"]),S(L,{to:t(d)("account-personal"),class:"ap-nav-item",onClick:r},{default:A(()=>[e("span",null,o($.$t("userMenu.personal")),1),j[6]||(j[6]=e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"9,6 15,12 9,18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]),_:1},8,["to"]),e("button",{type:"button",class:"ap-nav-item ap-nav-logout",onClick:w},[e("span",null,o($.$t("userMenu.logout")),1),j[7]||(j[7]=e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"9,6 15,12 9,18",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))])])],64)):(n(),s(P,{key:1},[e("h3",Yo,o($.$t("userLoginMenu.login_prompt")),1),e("ul",Ko,[e("li",Qo,[j[8]||(j[8]=e("span",{class:"ap-benefit-check"},[e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"4,12 9,17 20,7",stroke:"var(--evj-primary)","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"})])],-1)),e("span",null,[E(o($.$t("userLoginMenu.view_orders"))+" ",1),e("strong",null,o($.$t("userLoginMenu.track_and_more")),1)])]),e("li",Jo,[j[9]||(j[9]=e("span",{class:"ap-benefit-check"},[e("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("polyline",{points:"4,12 9,17 20,7",stroke:"var(--evj-primary)","stroke-width":"2.2","stroke-linecap":"round","stroke-linejoin":"round"})])],-1)),e("span",null,[e("strong",null,o($.$t("userLoginMenu.up_to_date")),1),E(" "+o($.$t("userLoginMenu.order_status")),1)])])]),e("div",Zo,[S(L,{to:t(d)("login"),class:"ap-login-btn",onClick:r},{default:A(()=>
1[E(o($.$t("userLoginMenu.login_button")),1)]),_:1},8,["to"]),e("span",Go,[E(o($.$t("userLoginMenu.new_here"))+" ",1),S(L,{to:t(d)("register"),class:"ap-register-link",onClick:r},{default:A(()=>[E(o($.$t("userLoginMenu.create_account")),1)]),_:1},8,["to"])])])],64))])):T("",!0)]),_:1})],512)}}}),en=Object.assign(le(Xo,[["__scopeId","data-v-592f1d14"]]),{__name:"HeaderAccountDropdown"}),tn={class:"so-mobile-header d-flex d-lg-none align-items-center gap-2"},on={class:"so-mobile-search-shell flex-grow-1 d-flex align-items-center"},nn=["placeholder","value"],sn=["aria-label"],ln=["aria-label"],an={class:"so-layout"},rn={class:"so-col-categories"},cn={class:"so-col-title"},dn={class:"so-cat-list"},un=["disabled","onClick"],hn=["src","alt"],pn={key:1,class:"so-cat-img so-cat-placeholder"},vn={class:"so-cat-name"},mn={class:"so-col-main"},fn={key:0,class:"so-col-popular"},gn={class:"so-col-title"},_n={class:"so-popular-list"},kn=["onClick"],wn={key:1,class:"so-results"},bn={class:"so-results-label"},yn={class:"so-filter-bar"},$n={class:"so-filter-wrap"},xn={class:"so-filter-dropdown-title"},Cn={class:"so-price-inputs"},jn={class:"so-price-sep"},Mn=["onClick"],Ln={key:0,class:"so-filter-badge"},Bn={key:1,width:"10",height:"6",viewBox:"0 0 10 6",fill:"none","aria-hidden":"true"},Sn={class:"so-filter-dropdown-header"},Tn={class:"so-filter-dropdown-title"},In=["onClick"],An=["checked","onChange"],On={class:"so-filter-option-label"},Rn={class:"so-filter-option-count"},Pn={class:"so-product-scroll"},En={key:0,class:"so-loading"},Hn={key:1,class:"so-no-results"},Nn={key:3,class:"so-load-more-spinner"},zn=G({__name:"SearchOverlay",props:{modelValue:{},top:{}},emits:["update:modelValue","close"],setup(_,{emit:u}){const d=_,b=u,C=v(null);ne(()=>{window.innerWidth<992&&Tt(()=>C.value?.focus())});const{t:m,locale:r}=ie(),{selectedCountryId:w}=Je(),$=It(),j=v([]),L=v([]);ne(async()=>{const[k,l]=await Promise.allSettled([$fetch("/api/categories?limit=15"),$fetch("/api/popular-searches")]);k.status==="fulfilled"&&(j.value=(Array.isArray(k.value)?k.value:[]).map(F=>({id:F.id,name:F.name,slug:F.full_slug??F.slug??"",image:F.media?.[0]?.url??F.image_url??F.image??""}))),l.status==="fulfilled"&&(L.value=Array.isArray(l.value)?l.value:[])});const I=v([]),H=v([]),D=v([]),N=v(1),M=v(1),i=v(!1),y=v(null),x=v({}),R=v([]),B=v(0),f=v(1e4),h=v(null);function V(k){h.value=h.value===k?null:k}function xe(k,l){const F=x.value[k]??[];x.value={...x.value,[k]:F.includes(l)?F.filter(g=>g!==l):[...F,l]}}function ce(k,l){return(x.value[k]??[]).includes(l)}function z(k){return(x.value[k]??[]).length}function Ce(k){const{[k]:l,...F}=x.value;x.value=F}function _e(k){R.value=R.value[0]===k?[]:[k]}function Ie(){if(h.value){h.value=null;return}b("close")}const de=O(()=>d.modelValue.trim().length>0),je=O(()=>de.value?H.value:j.value);function Me(k){const l=k.variants?.[0],F=l?.media?.[0]??k.media?.[0],g=typeof k.slug=="object"?k.slug[r.value]??Object.values(k.slug)[0]??"":k.slug??"";return{id:k.id,variantId:l?.id??k.id,name:k.name??"",slug:g,type:k.type??"simple",image:F?.thumbnail??F?.url??"",price:l?.price_with_tax??0,priceEx:l?.price??0,originalPrice:l?.original_price_with_tax!=null&&l.original_price_with_tax>(l.price_with_tax??0)?l.original_price_with_tax:null,originalPriceEx:l?.original_price!=null&&l.original_price>(l.price??0)?l.original_price:null,categorySlug:"",categoryName:"",inStock:(Number(l?.stock??0)||0)+(Number(l?.supplier_stock_total??0)||0)>0,status:k.status??null,rating:l?.average_rating??0,ratingCount:l?.ratings_count??0}}async function ke(k=1,l=!1){const F=d.modelValue.trim();if(!F)return;y.value?.abort();const g=new AbortController;y.value=g,k===1&&!l&&(I.value=[],H.value=[],N.value=1),k===1&&l&&(N.value=1),i.value=!0;try{const W=w.value??r.value.toUpperCase(),Oe=Object.keys(x.value).length?JSON.stringify(x.value):"{}",he=await $fetch("/api/search",{query:{query:F,page:k,per_page:20,locale:r.value,country:W,properties:Oe,minprice:B.value,maxprice:f.value,...R.value[0]?{category:R.value[0]}:{}},signal:g.signal}),Re=(he.products??[]).map(Me);if(I.value=k===1?Re:[...I.value,...Re],N.value=he.current_page??k,M.value=he.last_page??1,k===1){H.value=(he.product_categories??[]).map(Y=>({id:Y.id,name:Y.name,slug:Y.slug??null,image:Y.image_url??""}));const Pe=new Set(["kleur","merk"]);D.value=Object.entries(he.product_properties??{}).filter(([Y])=>Pe.has(Y)).map(([Y,pe])=>({key:Y,name:pe.name,options:Object.entries(pe.options).map(([Ee,Le])=>({key:Ee,value:Le.value,count:Le.count}))}))}}catch(W){W?.name!=="AbortError"&&console.warn("[search]",W)}finally{i.value=!1}}let ae=null;function ue(){ae&&clearTimeout(ae),ae=setTimeout(()=>ke(1,!0),400)}se(x,ue,{deep:!0}),se([B,f,R],ue);let J=null;se(()=>d.modelValue,k=>
1{if(J&&clearTimeout(J),!k.trim()){I.value=[],H.value=[],D.value=[],x.value={},R.value=[],B.value=0,f.value=1e4;return}J=setTimeout(()=>ke(1),300)},{immediate:!0});const Q=v(null);let we=null;ne(()=>{we=new IntersectionObserver(k=>{k[0].isIntersecting&&N.value<M.value&&!i.value&&ke(N.value+1)},{threshold:.1})}),se(Q,k=>{k&&we&&we.observe(k)}),We(()=>{we?.disconnect(),y.value?.abort(),J&&clearTimeout(J),ae&&clearTimeout(ae)});function be(k){$.push(k),b("close")}function Ae(k){k.key==="Escape"&&b("close")}return ne(()=>window.addEventListener("keydown",Ae)),We(()=>window.removeEventListener("keydown",Ae)),(k,l)=>{const F=Ft;return n(),U(ge,{to:"body"},[e("div",{class:"so-backdrop",style:Te(_.top?`top: ${_.top}px`:void 0),onClick:oe(Ie,["self"])},[e("div",{class:"so-panel",style:Te(_.top?`top: ${_.top}px; height: calc(100vh - ${_.top}px)`:void 0)},[e("div",tn,[e("div",on,[l[11]||(l[11]=e("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",class:"so-mobile-search-icon flex-shrink-0"},[e("circle",{cx:"11",cy:"11",r:"8",stroke:"currentColor","stroke-width":"2"}),e("path",{d:"M21 21l-4.35-4.35",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),e("input",{ref_key:"mobileInputRef",ref:C,type:"search",class:"so-mobile-input flex-grow-1 border-0 bg-transparent",placeholder:t(m)("header.search_placeholder"),value:_.modelValue,autocomplete:"off",onInput:l[0]||(l[0]=g=>b("update:modelValue",g.target.value))},null,40,nn)]),e("button",{class:"so-close so-close--mobile",type:"button","aria-label":t(m)("common.close"),onClick:l[1]||(l[1]=g=>b("close"))},[...l[12]||(l[12]=[e("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"})],-1)])],8,sn)]),e("button",{class:"so-close d-none d-lg-flex",type:"button","aria-label":t(m)("common.close"),onClick:l[2]||(l[2]=g=>b("close"))},[...l[13]||(l[13]=[e("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M18 6L6 18M6 6l12 12",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"})],-1)])],8,ln),e("div",an,[e("div",rn,[e("h3",cn,o(t(m)("search.categories")),1),e("div",dn,[(n(!0),s(P,null,K(t(je),g=>(n(),s("button",{key:g.id,type:"button",class:q(["so-cat-item",{"so-cat-item--active":t(de)&&t(R)[0]===g.name}]),disabled:!t(de)&&!g.slug,onClick:W=>t(de)?_e(g.name):g.slug?be(`/${g.slug}/`):void 0},[g.image?(n(),s("img",{key:0,src:g.image,alt:g.name,class:"so-cat-img",loading:"lazy"},null,8,hn)):(n(),s("div",pn)),e("span",vn,o(g.name),1)],10,un))),128))])]),e("div",mn,[t(de)?(n(),s("div",wn,[e("p",bn,o(t(m)("search.results_for",{query:_.modelValue})),1),e("div",yn,[e("div",$n,[e("button",{type:"button",class:q(["so-filter-btn",{"so-filter-btn--active":t(h)==="price"||t(B)>0||t(f)<1e4}]),onClick:l[3]||(l[3]=oe(g=>V("price"),["stop"]))},[E(o(t(m)("search.filter_price"))+" ",1),l[14]||(l[14]=e("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none","aria-hidden":"true"},[e("path",{d:"M1 1l4 4 4-4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],2),t(h)==="price"?(n(),s("div",{key:0,class:"so-filter-dropdown",onClick:l[8]||(l[8]=oe(()=>{},["stop"]))},[e("p",xn,o(t(m)("search.filter_price")),1),e("div",Cn,[l[15]||(l[15]=e("span",{class:"so-price-currency"},"â¬",-1)),fe(e("input",{"onUpdate:modelValue":l[4]||(l[4]=g=>re(B)?B.value=g:null),type:"number",min:"0",class:"so-price-input",onChange:l[5]||(l[5]=g=>h.value=null)},null,544),[[Se,t(B),void 0,{number:!0}]]),e("span",jn,o(t(m)("search.filter_price_to")),1),fe(e("input",{"onUpdate:modelValue":l[6]||(l[6]=g=>re(f)?f.value=g:null),type:"number",min:"0",class:"so-price-input",onChange:l[7]||(l[7]=g=>h.value=null)},null,544),[[Se,t(f),void 0,{number:!0}]])])])):T("",!0)]),(n(!0),s(P,null,K(t(D),g=>(n(),s("div",{key:g.key,class:"so-filter-wrap"},[e("button",{type:"button",class:q(["so-filter-btn",{"so-filter-btn--active":t(h)===g.key||z(g.key)>0}]),onClick:oe(W=>V(g.key),["stop"])},[E(o(g.name)+" ",1),z(g.key)>0?(n(),s("span",Ln,o(z(g.key)),1)):(n(),s("svg",Bn,[...l[16]||(l[16]=[e("path",{d:"M1 1l4 4 4-4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])]))],10,Mn),t(h)===g.key?(n(),s("div",{key:0,class:"so-filter-dropdown",onClick:l[9]||(l[9]=oe(()=>{},["stop"]))},[e("div",Sn,[e("span",Tn,o(g.name),1),z(g.key)>
10?(n(),s("button",{key:0,type:"button",class:"so-filter-clear",onClick:W=>Ce(g.key)},o(t(m)("search.filter_clear")),9,In)):T("",!0)]),(n(!0),s(P,null,K(g.options,W=>(n(),s("label",{key:W.key,class:"so-filter-option"},[e("input",{type:"checkbox",class:"so-filter-checkbox",checked:ce(g.key,W.value),onChange:Oe=>xe(g.key,W.value)},null,40,An),e("span",On,o(W.value),1),e("span",Rn,"("+o(W.count)+")",1)]))),128))])):T("",!0)]))),128))]),e("div",Pn,[t(i)&&t(I).length===0?(n(),s("div",En,[...l[17]||(l[17]=[e("span",{class:"so-spinner"},null,-1)])])):t(I).length===0&&!t(i)?(n(),s("div",Hn,o(t(m)("search.no_results",{query:_.modelValue})),1)):(n(),s("div",{key:2,class:q(["so-product-grid",{"so-product-grid--loading":t(i)}])},[(n(!0),s(P,null,K(t(I),g=>(n(),U(F,{key:g.id,product:g,onClick:l[10]||(l[10]=W=>b("close"))},null,8,["product"]))),128))],2)),e("div",{ref_key:"sentinel",ref:Q,class:"so-sentinel"},null,512),t(i)&&t(I).length>0?(n(),s("div",Nn,[...l[18]||(l[18]=[e("span",{class:"so-spinner"},null,-1)])])):T("",!0)])])):(n(),s("div",fn,[e("h3",gn,o(t(m)("search.popular")),1),e("div",_n,[(n(!0),s(P,null,K(t(L),g=>(n(),s("button",{key:g,type:"button",class:"so-popular-pill",onClick:W=>b("update:modelValue",g)},o(g),9,kn))),128))])]))])])],4)],4)])}}}),Fn=Object.assign(le(zn,[["__scopeId","data-v-c2e65c1d"]]),{__name:"SearchOverlay"}),Un=_=>/^(https?:)?\/\//.test(_)||_.startsWith("#")||_.startsWith("/")?_:`/${_}`,_t=_=>({..._,children:Array.isArray(_.children)?_.children.map(_t):[]}),Dn=_=>typeof _.value=="string"&&_.value.length>0?Un(_.value):_.value&&typeof _.value=="object"&&typeof _.value.slug=="string"?`/${_.value.slug.replace(/^\/+|\/+$/g,"")}/`:null,Vn=At("menu",()=>{const _=v(null),u=v("idle"),d=O(()=>_.value?.menuItems??[]),b=O(()=>d.value.filter(m=>m.enabled));async function C(m){if(u.value==="loading")return _.value;u.value="loading";try{const r=await $fetch("/api/menu",{query:m?{locale:m}:void 0});_.value=r?{...r,menuItems:Array.isArray(r.menuItems)?r.menuItems.map(_t):[]}:null,u.value="success"}catch(r){throw _.value=null,u.value="error",r}return _.value}return{menu:_,items:d,enabledItems:b,status:u,fetchMenu:C,resolveMenuItemPath:Dn}}),qn={class:"header-meta text-white"},Wn={class:"container d-flex align-items-center justify-content-between py-2 fw-light"},Yn={class:"d-flex align-items-center gap-2"},Kn={class:"d-flex d-md-none align-items-center gap-2"},Qn={class:"text-white fw-light"},Jn={class:"d-none d-md-inline d-flex align-items-center gap-1"},Zn={class:"d-none d-md-inline d-flex align-items-center gap-1"},Gn={class:"d-flex align-items-center gap-2"},Xn={class:"d-none d-lg-flex align-items-center gap-2"},es={class:"container py-3 d-flex align-items-center gap-3 gap-lg-4"},ts=["src","alt"],os={class:"search-shell d-none d-lg-flex align-items-center flex-grow-1"},ns=["placeholder","aria-label","value"],ss={class:"d-flex align-items-center gap-3 gap-lg-4 ms-auto"},ls={key:0,class:"header-favorites-badge"},as={class:"header-action-label"},rs={href:"/contact/",class:"header-action-icon d-none d-lg-flex flex-column align-items-center text-decoration-none"},is={class:"header-action-label"},cs={key:0,class:"header-favorites-badge"},ds=["aria-expanded","aria-label"],us={key:0,width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},hs={key:1,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},ps={class:"container"},vs={class:"search-shell d-flex align-items-center"},ms=["placeholder","aria-label","value"],fs=["aria-label"],gs=["onMouseenter"],_s=["href","target"],ks={key:1,class:"menu-skeletons d-flex align-items-center w-100"},ws={key:2,class:"menu-state"},bs={key:0,class:"menu-dropdown"},ys={class:"container"},$s={class:"menu-dropdown-grid"},xs=["href","target"],Cs={key:2,class:"menu-dropdown-title menu-link-static"},js={key:3,class:"menu-dropdown-links"},Ms=["href","target"],Ls={key:0,class:"mobile-overlay d-lg-none"},Bs=["aria-label"],Ss={class:"mobile-overlay-header"},Ts=["aria-label"],Is={key:1,class:"mobile-overlay-btn"},As={class:"mobile-overlay-title"},Os=["aria-label"],Rs={class:"mobile-overlay-nav"},Ps={class:"mobile-overlay-label"},Es=["href","target"],Hs={class:"mobile-overlay-label"},Ns=["onClick"],zs={class:"mobile-overlay-label"},Fs={class:"mobile-overlay-label"},Us=["href","target"],Ds={class:"mobile-overlay-label"},Vs={key:3,class:"mobile-overlay-row"},qs={class:"mobile-overlay-label"},Ws={key:2,class:"mobile-overlay-skeletons"},Ys={key:3,class:"mobile-overlay-empty"},Ks={class:"d-flex align-items-center gap-3"},Qs={class:"mobile-overlay-label"},Js={class:"d-flex align-items-center gap-3"},Zs={class:"mobile-overlay-label"},Gs={class:"d-flex align-items-center gap-3"},Xs={class:"mobile-overlay-label"},el={key:0,class:"ms-auto badge bg-danger rounded-pill"},tl={key:5,class:"mobile-setting-section"},ol={class:"mobile-setting"},nl={class:"mobile-setting-label"},sl={class:"mobile-setting-value"},ll={key:0,class:"mobile-setting"},al={class:"mobile-setting-label"},rl={class:"mobile-setting-value"},il={key:0,class:"mobile-overlay-level"},cl=["onClick"],dl={class:"mobile-overlay-label"},ul={key:0,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",class:"mobile-lang-check"},at=49,hl=60,pl=50,vl=G({__name:"Header",async setup(_){let u,d;const b=Vn(),C=ze(),m=Ot(),{t:r,locale:w,locales:$}=ie(),j=dt(),L=Qe(),I=ut(),H=Ge(),D=v(!1);ne(()=>{D.value=!0});const N=v(!0),M=v(null),i=v(!1),y=v([]),x=v(null);[u,d]=it(()=>Ye(()=>`header-menu:${w.value}`,()=>
1b.fetchMenu(w.value).catch(()=>null),{watch:[w]})),await u,d();const R=p=>({...p,href:b.resolveMenuItemPath(p),children:p.children.filter(a=>a.enabled).map(R)}),B=O(()=>b.enabledItems.map(R)),f=O(()=>B.value.find(p=>p.id===M.value)??null),h=O(()=>y.value.length>0?y.value[y.value.length-1].children:B.value),V=O(()=>y.value.length>0?y.value[y.value.length-1]:null),xe=O(()=>x.value==="language"?r("common.language"):y.value.length>0?y.value[y.value.length-1].name:r("common.menu")),{reviewUrl:ce}=Rt().public,z=O(()=>H.shopReviews.average_rating.toFixed(1)),Ce=O(()=>H.shopReviews.reviews.total),_e=O(()=>B.value.length>0),Ie=Ne("review_average",{default:()=>""}),de=Ne("review_total",{default:()=>0}),je=v(!1);se(()=>H.status,p=>{p==="success"&&(je.value=!0,Ie.value=z.value,de.value=Ce.value)});const Me=O(()=>je.value?z.value:Ie.value||z.value),ke=O(()=>parseFloat(Me.value)||0),ae=O(()=>je.value?Ce.value:de.value||Ce.value),ue=p=>!!(p&&/^(https?:)?\/\//.test(p)),J=()=>{M.value=null},Q=()=>{i.value=!1,y.value=[],x.value=null,document.body.style.overflow=""},we=()=>{if(i.value){Q();return}i.value=!0,document.body.style.overflow="hidden"},be=v("forward"),Ae=p=>{be.value="forward",y.value=[...y.value,p]},k=()=>{if(be.value="backward",x.value){x.value=null;return}y.value=y.value.slice(0,-1)};ht();const l=O(()=>window.location.host),F=O(()=>$.value.filter(p=>{const a=p.domains;return!a?.length||a.includes(l.value)}).map(p=>({code:p.code,name:r(`header.languages.${p.code}`)})));function g(p){const a=j(p);if(a){try{const ee=new URL(a,window.location.origin);if(ee.host!==window.location.host){window.location.href=ee.pathname+ee.search+ee.hash;return}}catch{}window.location.href=a;return}const qe=$.value.find(ee=>ee.defaultForDomains?.includes(l.value))?.code;let X=I.path;for(const ee of $.value){const $e=`/${ee.code}`;if(X===$e){X="/";break}if(X.startsWith($e+"/")){X=X.slice($e.length);break}}window.location.href=p===qe?X:`/${p}${X==="/"?"/":X}`}const W=ct("cp-mobile-open",()=>!1);function Oe(){W.value=!0,Q()}const{selectedCountry:he,getCountryName:Re,showCountryPicker:Pe}=Je(),Y=v(""),pe=v(!1),Ee=v(null),Le=v(null),Xe=v(0);function kt(){const p=Le.value?.getBoundingClientRect().bottom??0,a=Ee.value?.getBoundingClientRect().bottom??0;Xe.value=p>a?p:a}function et(){pe.value||(kt(),pe.value=!0,J(),document.body.style.overflow="hidden")}function tt(){pe.value=!1,Y.value="",document.body.style.overflow=""}se(()=>I.path,tt);const Fe=v(null),Be=v(!1),ot=v({});function wt(){if(!Fe.value)return;const p=Fe.value.getBoundingClientRect();ot.value={top:`${p.bottom+6}px`,left:`${p.left}px`},Be.value=!0}function bt(){Be.value=!1}const Ue=v(null),nt=v(0),ye=v(!0);let He=0,ve=0;const De=()=>{const p=window.scrollY||window.pageYOffset;if(pe.value){He=p,ve=p;return}if(N.value?p>at+6&&(N.value=!1):p<at-6&&(N.value=!0),p<=0){ye.value=!0,N.value=!0,He=0,ve=0;return}const a=p-He;He=p,ye.value?a>0?p-ve>=hl&&(ye.value=!1,ve=p):a<0&&(ve=p):a<0?ve-p>=pl&&(ye.value=!0,ve=p):a>0&&(ve=p)};let Ve=null;return ne(()=>{De(),window.addEventListener("scroll",De,{passive:!0}),Ue.value&&(Ve=new ResizeObserver(([p])=>{nt.value=p.borderBoxSize?.[0]?.blockSize??p.contentRect.height}),Ve.observe(Ue.value))}),Ke(()=>{window.removeEventListener("scroll",De),Ve?.disconnect(),document.body.style.overflow=""}),(p,a)=>{const qe=Wt,X=gt,ee=eo,$e=go,yt=xo,$t=Mo,xt=No,te=Ze,Ct=en,jt=Nt,st=zt,Mt=Fn;return n(),s(P,null,[e("header",{ref_key:"siteHeaderEl",ref:Ue,class:q(["site-header",{"site-header--compact":!t(N)}])},[e("div",{class:q(["offers-bar-wrap",{"offers-bar-wrap--hidden":!t(ye)}])},[S(qe)],2),e("div",qn,[e("div",Wn,[e("div",Yn,[e("div",Kn,[e("span",Qn,o(p.$t("header.review_rating",{rating:t(Me),count:t(ae)})),1)]),e("div",{ref_key:"ratingWrapperEl",ref:Fe,class:"evj-rating-container-wrapper d-none d-md-flex align-items-center gap-2",onMouseenter:wt,onMouseleave:bt},[S(X,{rating:t(ke),color:"#51A23A"},null,8,["rating"]),e("span",null,o(p.$t("header.review_rating",{rating:t(Me),count:t(ae)})),1)],544),(n(),U(ge,{to:"body"},[t(Be)?(n(),U(ee,{key:0,average:t(ke),total:t(ae),"review-url":t(ce)||void 0,style:Te(t(ot)),onMouseenter:a[0]||(a[0]=c=>Be.value=!0),onMouseleave:a[1]||(a[1]=c=>Be.value=!1)},null,8,["average","total","review-url","style"])):T("",!0)]))]),e("span",Jn,[a[7]||(a[7]=e("svg",{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("path",{d:"M1 5L4.5 8.5L11 1",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),E(" "+o(p.$t("header.order_by_16")),1)]),e("span",Zn,[a[8]||(a[8]=e("svg",{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("path",{d:"M1 5L4.5 8.5L11 1",stroke:"white","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),E(" "+o(p.$t("header.return_14_days")),1)]),e("div",Gn,[e("div",Xn,[S($e),S(yt),S($t)]),S(xt)])])]),e("div",{ref_key:"headerMainEl",ref:Ee,class:"header-main bg-white"},[e("div",es,[S(te,{to:"/",class:"site-logo flex-shrink-0","aria-label":t(r)("header.logo_aria")},{default:A(()=>[e("img",{src:t(Pe)?"/assets/logo-en.svg":"/assets/logo-evj-transparent.webp",alt:t(r)("header.logo_aria"),width:"188",height:"42"},null,8,ts)]),_:1},8,["aria-label"]),e("div",os,[e("input",{type:"search",class:"search-input w-100 border-0 bg-transparent",placeholder:t(r)("header.search_placeholder"),"aria-label":t(r)("header.search_placeholder"),value:t(Y),onFocus:et,onInput:a[2]||(a[2]=c=>Y.value=c.target.value)},null,40,ns)]),e("nav",ss,[S(te,{to:t(L)("favorites"),class:"header-action-icon btn p-0 border-0 bg-transparent d-none d-lg-flex flex-column align-items-center text-decoration-none position-relative","aria-label":p.$t("header.favorites_link")},{default:A(()=>[a[9]||(a[9]=e("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),t(D)&&t(m).count>0?(n(),s("span",ls,o(t(m).count),1)):T("",!0),e("span",as,o(p.$t("header.favorites_link")),1)]),_:1},8,["to","aria-label"]),e("a",rs,[a[10]||(a[10]=e("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("path",{d:"M3 18v-6a9 9 0 0 1 18 0v6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("span",is,o(p.$t("header.customer_service_link")),1)]),S(te,{to:t(L)("favorites"),class:"header-action-icon btn p-0 border-0 bg-transparent d-flex d-lg-none align-items-center text-decoration-none position-relative","aria-label":p.$t("header.favorites_link")},{default:A(()=>[a[11]||(a[11]=e("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},[e("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),t(D)&&t(m).count>0?(n(),s("span",cs,o(t(m).count),1)):T("",!0)]),_:1},8,["to","aria-label"]),S(Ct),S(jt),e("button",{type:"button",class:"mobile-menu-toggle btn d-lg-none p-0 border-0 bg-transparent","aria-expanded":t(i),"aria-label":t(r)("header.main_navigation"),onClick:we},[t(i)?(n(),s("svg",hs,[...a[13]||(a[13]=[e("path",{d:"M1 1L15 15M15 1L1 15",stroke:"#111827","stroke-width":"2","stroke-linecap":"round"},null,-1)])])):(n(),s("svg",us,[...a[12]||(a[12]=[e("rect",{width:"22",height:"2",rx:"1",fill:"#111827"},null,-1),e("rect",{y:"7",width:"22",height:"2",rx:"1",fill:"#111827"},null,-1),e("rect",{y:"14",width:"22",height:"2",rx:"1",fill:"#111827"},null,-1)])]))],8,ds)])])],512),e("div",{ref_key:"headerNavEl",ref:Le,class:"header-nav"},[e("div",ps,[e("div",{class:q(["d-lg-none mobile-search-wrap",{"mobile-search-wrap--hidden":!t(ye)}])},[e("div",vs,[e("input",{type:"search",class:"search-input w-100 border-0 bg-transparent",placeholder:t(r)("header.search_placeholder"),"aria-label":t(r)("header.search_placeholder"),value:t(Y),onFocus:et,onInput:a[3]||(a[3]=c=>Y.value=c.target.value)},null,40,ms)])],2),e("div",{class:"menu-shell d-none d-lg-block",onMouseleave:a[4]||(a[4]=c=>M.value=null)},[e("nav",{class:"menu-container d-flex align-items-center",role:"navigation","aria-label":t(r)("header.main_navigation")},[t(_e)?(n(!0),s(P,{key:0},K(t(B),c=>(n(),s("div",{key:c.id,class:"menu-category",onMouseenter:Z=>M.value=c.children.length?c.id:null},[c.href&&!ue(c.href)?(n(),U(te,{key:0,to:c.href,class:q(["menu-link",{"menu-link-active":t(M)===c.id}]),onClick:J},{default:A(()=>[E(o(c.name),1)]),_:2},1032,["to","class"])):c.href?(n(),s("a",{key:1,href:c.href,target:c.target,class:q(["menu-link",{"menu-link-active":t(M)===c.id}]),onClick:J},o(c.name),11,_s)):(n(),s("span",{key:2,class:q(["menu-link menu-link-static",{"menu-link-active":t(M)===c.id}])},o(c.name),3))],40,gs))),128)):t(b).status==="loading"?(n(),s("div",ks,[(n(),s(P,null,K(7,c=>S(st,{key:c,width:"92px",height:"16px",radius:"999px"})),64))])):(n(),s("div",ws,o(p.$t("header.menu_unavailable")),1))],8,fs),S(me,{name:"mega-menu"},{default:A(()=>[t(f)?.children.length?(n(),s("div",bs,[e("div",ys,[e("div",$s,[(n(!0),s(P,null,K(t(f).children,c=>(n(),s("div",{key:c.id,class:"menu-dropdown-group"},[c.href&&!ue(c.href)?(n(),U(te,{key:0,to:c.href,class:"menu-dropdown-title",onClick:J},{default:A(()=>[E(o(c.name),1)]),_:2},1032,["to"])):c.href?(n(),s("a",{key:1,href:c.href,target:c.target,class:"menu-dropdown-title",onClick:J},o(c.name),9,xs)):(n(),s("span",Cs,o(c.name),1)),c.children.length?(n(),s("div",js,[(n(!0),s(P,null,K(c.children,Z=>(n(),s(P,{key:Z.id},[Z.href&&!ue(Z.href)?(n(),U(te,{key:0,to:Z.href,class:"menu-dropdown-link",onClick:J},{default:A(()=>[E(o(Z.name),1)]),_:2},1032,["to"])):Z.href?(n(),s("a",{key:1,href:Z.href,target:Z.target,class:"menu-dropdown-link",onClick:J},o(Z.name),9,Ms)):T("",!0)],64))),128))])):T("",!0)]))),128))])])])):T("",!0)]),_:1})],32)])],512)],2),e("div",{class:"site-header-spacer",style:Te({height:`${t(nt)}px`}),"aria-hidden":"true"},null,4),(n(),U(ge,{to:"body"},[S(me,{name:"mobile-overlay"},{default:A(()=>[t(i)?(n(),s("div",Ls,[e("div",{class:"mobile-overlay-backdrop","aria-hidden":"true",onClick:Q}),e("div",{class:"mobile-overlay-panel",role:"dialog","aria-label":t(r)("header.main_navigation"),"aria-modal":"true"},[e("div",Ss,[t(y).length>
10||t(x)?(n(),s("button",{key:0,type:"button",class:"mobile-overlay-btn","aria-label":t(r)("common.back"),onClick:k},[...a[14]||(a[14]=[e("svg",{width:"10",height:"17",viewBox:"0 0 10 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M8.5 1.5L1.5 8.5L8.5 15.5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],8,Ts)):(n(),s("span",Is)),e("span",As,o(t(xe)),1),e("button",{type:"button",class:"mobile-overlay-btn","aria-label":t(r)("common.close"),onClick:Q},[...a[15]||(a[15]=[e("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M1 1L15 15M15 1L1 15",stroke:"white","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,Os)]),e("nav",Rs,[S(me,{name:t(be)==="forward"?"menu-slide-left":"menu-slide-right"},{default:A(()=>[t(x)?T("",!0):(n(),s("div",{key:t(y).length,class:"mobile-overlay-level"},[t(V)?.href?(n(),s(P,{key:0},[ue(t(V).href)?(n(),s("a",{key:1,href:t(V).href,target:t(V).target,class:"mobile-overlay-row",onClick:Q},[e("span",Hs,o(t(V).name),1)],8,Es)):(n(),U(te,{key:0,to:t(V).href,class:"mobile-overlay-row",onClick:Q},{default:A(()=>[e("span",Ps,o(t(V).name),1)]),_:1},8,["to"]))],64)):T("",!0),t(_e)||t(y).length>0?(n(!0),s(P,{key:1},K(t(h),c=>(n(),s(P,{key:c.id},[c.children.length?(n(),s("button",{key:0,type:"button",class:"mobile-overlay-row mobile-overlay-row-btn",onClick:Z=>Ae(c)},[e("span",zs,o(c.name),1),a[16]||(a[16]=e("svg",{width:"8",height:"13",viewBox:"0 0 8 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M1 1L7 6.5L1 12",stroke:"#b0b8c9","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))],8,Ns)):c.href&&!ue(c.href)?(n(),U(te,{key:1,to:c.href,class:"mobile-overlay-row",onClick:Q},{default:A(()=>[e("span",Fs,o(c.name),1)]),_:2},1032,["to"])):c.href?(n(),s("a",{key:2,href:c.href,target:c.target,class:"mobile-overlay-row",onClick:Q},[e("span",Ds,o(c.name),1)],8,Us)):(n(),s("span",Vs,[e("span",qs,o(c.name),1)]))],64))),128)):T("",!0),!t(_e)&&t(b).status==="loading"&&t(y).length===0?(n(),s("div",Ws,[(n(),s(P,null,K(7,c=>S(st,{key:c,width:"60%",height:"18px",radius:"8px"})),64))])):T("",!0),!t(_e)&&t(b).status!=="loading"&&t(y).length===0?(n(),s("div",Ys,o(p.$t("header.menu_unavailable")),1)):T("",!0),t(y).length===0?(n(),s(P,{key:4},[S(te,{to:t(C).isAuthenticated?t(L)("account-orders"):t(L)("login"),class:"mobile-overlay-row mobile-utility-row",onClick:Q},{default:A(()=>[e("span",Ks,[a[17]||(a[17]=e("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e("circle",{cx:"12",cy:"7",r:"4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("span",Qs,o(t(C).isAuthenticated?t(C).firstName:p.$t("header.mobile.login")),1)])]),_:1},8,["to"]),e("a",{href:"/contact/",class:"mobile-overlay-row mobile-utility-row",onClick:Q},[e("span",Js,[a[18]||(a[18]=e("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M3 18v-6a9 9 0 0 1 18 0v6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("span",Zs,o(p.$t("header.mobile.customer_service")),1)])]),S(te,{to:t(L)("favorites"),class:"mobile-overlay-row mobile-utility-row text-decoration-none",onClick:Q},{default:A(()=>[e("span",Gs,[a[19]||(a[19]=e("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true"},[e("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("span",Xs,o(p.$t("header.mobile.favorites")),1),t(D)&&t(m).count>0?(n(),s("span",el,o(t(m).count),1)):T("",!0)])]),_:1},8,["to"])],64)):T("",!0),t(y).length===0?(n(),s("div",tl,[e("div",ol,[e("span",nl,[E(o(t(r)("common.language")),1),a[20]||(a[20]=e("span",{class:"mobile-setting-req"},"*",-1))]),e("button",{type:"button",class:"mobile-setting-row",onClick:a[5]||(a[5]=c=>{x.value="language",be.value="forward"})},[e("span",sl,o(t(r)(`header.languages.${t(w)}
1`)),1),a[21]||(a[21]=e("svg",{width:"8",height:"13",viewBox:"0 0 8 13",fill:"none","aria-hidden":"true"},[e("path",{d:"M1 1L7 6.5L1 12",stroke:"#b0b8c9","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))])]),t(Pe)?(n(),s("div",ll,[e("span",al,[E(o(t(r)("header.country_popup.label")),1),a[22]||(a[22]=e("span",{class:"mobile-setting-req"},"*",-1))]),e("button",{type:"button",class:"mobile-setting-row",onClick:Oe},[e("span",rl,o(t(he)?t(Re)(t(he)):""),1),a[23]||(a[23]=e("svg",{width:"8",height:"13",viewBox:"0 0 8 13",fill:"none","aria-hidden":"true"},[e("path",{d:"M1 1L7 6.5L1 12",stroke:"#b0b8c9","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1))])])):T("",!0)])):T("",!0)]))]),_:1},8,["name"]),S(me,{name:"menu-slide-left"},{default:A(()=>[t(x)==="language"?(n(),s("div",il,[(n(!0),s(P,null,K(t(F),c=>(n(),s("button",{key:c.code,type:"button",class:"mobile-overlay-row mobile-overlay-row-btn",onClick:Z=>g(c.code)},[e("span",dl,o(c.name),1),c.code===t(w)?(n(),s("svg",ul,[...a[24]||(a[24]=[e("path",{d:"M5 12l5 5L20 7",stroke:"var(--evj-primary)","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):T("",!0)],8,cl))),128))])):T("",!0)]),_:1})])],8,Bs)])):T("",!0)]),_:1})])),t(pe)?(n(),U(Mt,{key:0,modelValue:t(Y),"onUpdate:modelValue":a[6]||(a[6]=c=>re(Y)?Y.value=c:null),top:t(Xe),onClose:tt},null,8,["modelValue","top"])):T("",!0)],64)}}}),ml=Object.assign(le(vl,[["__scopeId","data-v-45ba6e8a"]]),{__name:"Header"}),fl=["aria-label"],gl={class:"nl-modal"},_l=["aria-label"],kl={key:0,class:"nl-success"},wl={class:"nl-title"},bl={class:"nl-title"},yl={class:"nl-field"},$l={class:"nl-label"},xl=["placeholder","disabled"],Cl={class:"nl-field"},jl={class:"nl-label"},Ml=["placeholder","disabled"],Ll={class:"nl-field"},Bl={class:"nl-label"},Sl={class:"nl-select-wrap"},Tl=["disabled"],Il={value:"particulier"},Al={value:"zakelijk"},Ol={value:"onderwijs"},Rl={class:"nl-checkbox-label"},Pl=["disabled"],El=["href"],Hl={key:0,class:"nl-error"},Nl=["disabled"],zl=G({__name:"NewsletterModal",emits:["close"],setup(_,{emit:u}){const d=u,b=rt(),{t:C}=ie(),{identify:m}=mt(),r=v(""),w=v(""),$=v("particulier"),j=v(!1),L=v(""),I=v(!1),H=v(!1);async function D(){if(L.value="",!r.value.trim()){L.value=C("footer.nameRequired");return}if(!w.value.trim()){L.value=C("footer.emailRequired");return}if(!j.value){L.value=C("footer.agreeTermsError");return}I.value=!0;try{await b.post("/subscribe-newsletter",{body:{name:r.value,email:w.value,email_confirmation:w.value,order_type:$.value}}),m({$email:w.value,$first_name:r.value,order_type:$.value}),H.value=!0}catch{L.value=C("footer.errorMessage")}finally{I.value=!1}}function N(M){M.target===M.currentTarget&&d("close")}return(M,i)=>{const y=Pt("i18n-t");return n(),U(ge,{to:"body"},[e("div",{class:"nl-backdrop",role:"dialog","aria-modal":"true","aria-label":M.$t("footer.subscribeNewsletter"),onClick:N},[e("div",gl,[e("button",{type:"button",class:"nl-close","aria-label":M.$t("common.close"),onClick:i[0]||(i[0]=x=>M.$emit("close"))},[...i[6]||(i[6]=[e("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none","aria-hidden":"true"},[e("path",{d:"M1 1L17 17M17 1L1 17",stroke:"#111","stroke-width":"2","stroke-linecap":"round"})],-1)])],8,_l),t(H)?(n(),s("div",kl,[i[7]||(i[7]=e("svg",{width:"48",height:"48",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",class:"nl-success-icon"},[e("circle",{cx:"12",cy:"12",r:"10",stroke:"#4ca6df","stroke-width":"1.5"}),e("path",{d:"M7 12l3.5 3.5L17 8",stroke:"#4ca6df","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),e("h2",wl,o(M.$t("footer.thankYou")),1),e("button",{type:"button",class:"nl-submit mt-3",onClick:i[1]||(i[1]=x=>M.$emit("close"))},o(M.$t("common.close")),1)])):(n(),s(P,{key:1},[e("h2",bl,o(M.$t("footer.subscribeNewsletter")),1),e("form",{onSubmit:oe(D,["prevent"])},[e("div",yl,[e("label",$l,[E(o(M.$t("footer.nameLabel")),1),i[8]||(i[8]=e("span",{class:"nl-req"},"*",-1))]),fe(e("input",{"onUpdate:modelValue":i[2]||(i[2]=x=>re(r)?r.value=x:null),type:"text",class:"nl-input",placeholder:M.$t("footer.namePlaceholder"),autocomplete:"name",disabled:t(I)},null,8,xl),[[Se,t(r)]])]),e("div",Cl,[e("label",jl,[E(o(M.$t("footer.emailLabel")),1),i[9]||(i[9]=e("span",{class:"nl-req"},"*",-1))]),fe(e("input",{"onUpdate:modelValue":i[3]||(i[3]=x=>re(w)?w.value=x:null),type:"email",class:"nl-input",placeholder:M.$t("footer.emailPlaceholder"),autocomplete:"email",disabled:t(I)},null,8,Ml),[[Se,t(w)]])]),e("div",Ll,[e("label",Bl,[E(o(M.$t("footer.typeOfCustomer")),1),i[10]||(i[10]=e("span",{class:"nl-req"},"*",-1))]),e("div",Sl,[fe(e("select",{"onUpdate:modelValue":i[4]||(i[4]=x=>re($)?$.value=x:null),class:"nl-select",disabled:t(I)},[e("option",Il,o(M.$t("footer.customerType.individual")),1),e("option",Al,o(M.$t("footer.customerType.business")),1),e("option",Ol,o(M.$t("footer.customerType.education")),1)],8,Tl),[[Et,t($)]]),i[11]||(i[11]=e("svg",{class:"nl-select-arrow",width:"12",height:"8",viewBox:"0 0 12 8",fill:"none","aria-hidden":"true"},[e("path",{d:"M1 1l5 5 5-5",stroke:"#374151","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}
1)],-1))])]),e("label",Rl,[fe(e("input",{"onUpdate:modelValue":i[5]||(i[5]=x=>re(j)?j.value=x:null),type:"checkbox",class:"nl-checkbox",disabled:t(I)},null,8,Pl),[[vt,t(j)]]),S(y,{keypath:"footer.agreeTerms",tag:"span"},{terms:A(()=>[e("a",{href:M.$t("footer.terms_url"),target:"_blank",rel:"noopener",class:"nl-terms-link"},o(M.$t("footer.agreeTermsLinkText")),9,El)]),_:1})]),t(L)?(n(),s("p",Hl,o(t(L)),1)):T("",!0),e("button",{type:"submit",class:"nl-submit",disabled:t(I)},o(t(I)?"â¦":M.$t("footer.signupNewsletter")),9,Nl)],32)],64))])],8,fl)])}}}),Fl=Object.assign(le(zl,[["__scopeId","data-v-5dcc1734"]]),{__name:"NewsletterModal"}),Ul=ft("/assets/logo-evj.webp"),Dl=ft("/assets/evj-stock-box.webp"),Vl={style:{"z-index":"9",position:"relative"}},ql={class:"footer-bar py-4 border-top border-bottom bg-white d-flex align-items-center"},Wl={class:"w-80 mx-auto d-flex align-items-center justify-content-between container"},Yl={class:"usp-item usp-first d-none d-md-flex align-items-center my-auto px-4 text-start"},Kl={class:"ms-2 mt-1 fs-15"},Ql={class:"usp-item usp-second d-none d-md-flex align-items-center my-auto text-start"},Jl={class:"ms-2 mt-1 fs-15"},Zl={class:"rating-container d-none d-md-flex mx-auto mx-md-0 align-items-center my-auto text-start ps-md-4"},Gl={class:"ms-2 text-dark fs-15"},Xl={class:"footer-usp-mobile d-flex d-md-none align-items-center justify-content-center w-100"},ea={class:"ms-2"},ta={class:"d-flex align-items-center pt-4 pb-4 bg-light-blue"},oa={class:"d-flex flex-column w-100 mx-auto container"},na={class:"row align-items-center justify-content-between w-100 mx-auto"},sa={class:"mobile-rating d-flex align-items-center justify-content-center text-center bg-white py-4"},la={class:"ms-2"},aa={href:"tel:0332003116",target:"_blank",class:"col-12 col-sm-6 d-flex flex-column align-items-center justify-content-center col-lg-2 text-center footer-action-btn text-md-start mt-3 mt-lg-0"},ra={class:"mt-3 text-dark text-center"},ia={href:"https://wa.me/31332003116",class:"col-12 col-sm-6 d-flex flex-column align-items-center justify-content-center col-lg-2 text-center footer-action-btn text-md-start mt-3 mt-lg-0"},ca={class:"mt-3 text-center",style:{color:"var(--evj-primary)"}},da={class:"evj-opening-times text-center d-flex align-items-center justify-content-center justify-content-md-start",style:{color:"var(--evj-primary)"}},ua={href:"mailto:[email protected]",class:"col-12 col-sm-6 d-flex flex-column align-items-center justify-content-center col-lg-2 text-center footer-action-btn text-md-start mt-3 mt-lg-0"},ha={class:"mt-3 text-dark text-center"},pa={class:"evj-opening-times d-flex text-center align-items-center text-gray justify-content-center justify-content-md-start"},va={href:"/faq/",class:"col-12 col-sm-6 col-lg-2 text-center footer-action-btn text-md-start mt-3 mt-lg-0 d-flex flex-column align-items-center justify-content-center"},ma={class:"mt-3 text-dark text-center"},fa={class:"evj-opening-times d-flex text-center align-items-center text-gray justify-content-center justify-content-md-start"},ga={class:"pt-5 pb-5 px-3 px-sm-0 d-flex flex-column align-items-center bg-light-blue border-top"},_a={class:"py-5 mx-auto w-100 px-sm-0 d-lg-flex align-items-center justify-content-between container"},ka={class:"fs-18 rs-lg-w-25 text-start"},wa={class:"px-0 my-auto mt-3 mb-0 px-lg-4 mt-lg-0 d-flex align-items-center text-start"},ba={class:"mt-1 ms-2 fs-15"},ya={class:"px-0 mt-2 mb-0 px-lg-4 mt-lg-0 d-flex align-items-center text-start"},$a={class:"mt-1 ms-2 fs-15"},xa={class:"mt-4 row w-100 container"},Ca={class:"col-8 col-md-4 col-lg-2 d-flex flex-column align-items-start mb-4 px-0"},ja={class:"mb-2 fw-normal"},Ma={class:"col-8 col-md-4 col-lg-2 d-flex flex-column align-items-start mb-4 px-0 ms-0 ms-md-5"},La={class:"mb-2 fw-normal"},Ba={class:"col-8 col-md-4 col-lg-2 d-flex flex-column align-items-start mb-4 px-0"},Sa={class:"mb-2 fw-normal"},Ta={class:"py-2 bg-white d-flex align-items-center justify-content-between py-4"},Ia={class:"mx-auto d-flex align-items-center w-100 container"},Aa={class:"d-flex flex-column flex-xl-row align-items-center align-items-xl-start justify-content-center justify-content-xl-between w-100"},Oa={class:"col-6 col-md-auto mb-3 mb-md-0 d-flex flex-column flex-md-row mt-0 justify-content-center align-items-center align-items-lg-start justify-content-lg-start"},Ra=["href"],Pa=["href"],Ea=["href"],Ha=G({__name:"SiteFooter",setup(_){const{t:u,tm:d,rt:b}=ie(),C=Qe(),m=Ge(),r=f=>f.map(h=>({item:b(h.item),link:b(h.link)})),w=O(()=>r(d("footer.customerService.items"))),$=O(()=>r(d("footer.categories.items"))),j=O(()=>r(d("footer.handyLinks.items"))),L=O(()=>m.shopReviews.average_rating),I=O(()=>m.shopReviews.reviews.total),H=Ne("review_average",{default:()=>""}),D=Ne("review_total",{default:()=>0}),N=v(!1),M=v(!1),i=v(0);let y=null;const x=O(()=>[{type:"text",text:u("footer.orderBy16")},{type:"text",text:u("footer.return14Days")},{type:"rating"}]);ne(()=>{y=Ut(()=>{i.value=(i.value+1)%x.value.length},3e3)}),Ke(()=>{y&&clearInterval(y)}),se(()=>m.status,f=>{f==="success"&&(N.value=!0,H.value=L.value.toFixed(1),D.value=I.value)});const R=O(()=>N.value?L.value:parseFloat(H.value)||L.value),B=O(()=>N.value?I.value:D.value||I.value);return(f,h)=>{const V=gt,xe=Fl,ce=Ze;return n(),s("footer",Vl,[e("div",ql,[e("div",Wl,[h[5]||(h[5]=e("a",{href:"/",class:"big-logo pe-4 cursor-pointer flex-shrink-0 d-none d-md-block"},[e("img",{alt:"logo",src:Ul,width:"220",height:"42",loading:"lazy"})],-1)),e("div",Yl,[h[2]||(h[2]=e("svg",{class:"me-0-5 footer-check-icon","aria-hidden":"true",viewBox:"0 0 9.668 7.091"},[e("use",{href:"#icon-check"})],-1)),e("p",Kl,o(f.$t("footer.orderBy16")),1)]),e("div",Ql,[h[3]||(h[3]=e("svg",{class:"me-0-5 footer-check-icon","aria-hidden":"true",viewBox:"0 0 9.668 7.091"},[e("use",{href:"#icon-check"})],-1)),e("p",Jl,o(f.$t("footer.return14Days")),1)]),e("div",Zl,[S(V,{rating:t(R)}
1,null,8,["rating"]),e("p",Gl,o(f.$t("footer.reviews",{count:t(B)})),1)]),e("div",Xl,[S(me,{name:"footer-usp-slide",mode:"out-in"},{default:A(()=>[(n(),s("div",{key:t(i),class:"d-flex align-items-center fs-15 text-dark"},[t(x)[t(i)].type==="rating"?(n(),s(P,{key:0},[S(V,{rating:t(R)},null,8,["rating"]),e("span",ea,o(f.$t("footer.reviews",{count:t(B)})),1)],64)):(n(),s(P,{key:1},[h[4]||(h[4]=e("svg",{class:"me-2 footer-check-icon","aria-hidden":"true",viewBox:"0 0 9.668 7.091"},[e("use",{href:"#icon-check"})],-1)),E(" "+o(t(x)[t(i)].text),1)],64))]))]),_:1})])])]),e("div",ta,[e("div",oa,[e("div",na,[h[11]||(h[11]=e("div",{class:"evj-person-wrapper position-relative col-12 col-lg-2 d-flex justify-content-center justify-content-lg-start"},[e("img",{class:"evj-person",alt:"person",src:Dl,width:"180",height:"160",loading:"lazy"})],-1)),e("div",sa,[S(V,{rating:t(R)},null,8,["rating"]),e("span",la,o(f.$t("footer.reviews",{count:t(B)})),1)]),e("a",aa,[h[6]||(h[6]=e("div",{class:"evj-rounded-circle border bg-white rounded-pill d-flex align-items-center justify-content-center mx-auto mx-md-0"},[e("svg",{class:"footer-action-icon footer-action-icon-phone","aria-hidden":"true",viewBox:"0 0 8.796 12.795",width:"18",height:"18"},[e("use",{href:"#icon-phone"})])],-1)),e("p",ra,o(f.$t("footer.callUs"))+" 033 - 200 3116",1),h[7]||(h[7]=e("div",{class:"evj-opening-times text-center text-green d-flex align-items-center justify-content-center justify-content-md-start"}," 10:00 - 16:00 ",-1))]),e("a",ia,[h[8]||(h[8]=e("div",{class:"evj-rounded-circle border bg-white rounded-pill d-flex align-items-center justify-content-center mx-auto mx-md-0"},[e("svg",{class:"footer-action-icon footer-action-icon-whatsapp","aria-hidden":"true",viewBox:"0 0 13.404 13.404",width:"18",height:"18"},[e("use",{href:"#icon-whatsapp"})])],-1)),e("p",ca,o(f.$t("footer.whatsapp")),1),e("div",da,o(f.$t("footer.everyWeekday")),1)]),e("a",ua,[h[9]||(h[9]=e("div",{class:"evj-rounded-circle border bg-white rounded-pill d-flex align-items-center justify-content-center mx-auto mx-md-0"},[e("svg",{"aria-hidden":"true",width:"20",height:"16",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("rect",{x:"1",y:"1",width:"22",height:"18",rx:"2",stroke:"currentColor","stroke-width":"1.5"}),e("path",{d:"M1 5l11 7 11-7",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})])],-1)),e("p",ha,o(f.$t("footer.sendEmail")),1),e("div",pa,o(f.$t("footer.replyWithin24Hours")),1)]),e("a",va,[h[10]||(h[10]=e("div",{class:"evj-rounded-circle border bg-white rounded-pill d-flex align-items-center justify-content-center mx-auto mx-md-0"},[e("svg",{class:"footer-action-icon footer-action-icon-question","aria-hidden":"true",viewBox:"0 0 6.032 11.36",width:"14",height:"14"},[e("use",{href:"#icon-questionmark"})])],-1)),e("p",ma,o(f.$t("footer.haveQuestions")),1),e("div",fa,o(f.$t("footer.viewFAQ")),1)])])])]),e("div",ga,[e("div",_a,[e("p",ka,o(f.$t("footer.stayUpdated")),1),e("div",wa,[h[12]||(h[12]=e("svg",{class:"me-0-5 footer-check-icon","aria-hidden":"true",viewBox:"0 0 9.668 7.091"},[e("use",{href:"#icon-check"})],-1)),e("p",ba,o(f.$t("footer.orderUpdates")),1)]),e("div",ya,[h[13]||(h[13]=e("svg",{class:"me-0-5 footer-check-icon","aria-hidden":"true",viewBox:"0 0 9.668 7.091"},[e("use",{href:"#icon-check"})],-1)),e("p",$a,o(f.$t("footer.discountUpdates")),1)]),e("button",{type:"button",class:"btn rounded-pill bg-primary border-primary text-white w-full px-5 py-3 mt-4 mt-lg-0",onClick:h[0]||(h[0]=z=>M.value=!0)},o(f.$t("footer.subscribeNewsletter")),1),t(M)?(n(),U(xe,{key:0,onClose:h[1]||(h[1]=z=>M.value=!1)})):T("",!0)]),e("div",xa,[e("div",Ca,[e("b",ja,o(f.$t("footer.customerService.title")),1),(n(!0),s(P,null,K(t(w),z=>(n(),U(ce,{key:`service-${z.item}`,to:z.link?t(C)(z.link):"#",class:"mt-1 fw-normal fs-15 text-gray"},{default:A(()=>[E(o(z.item),1)]),_:2},1032,["to"]))),128))]),e("div",Ma,[e("b",La,o(f.$t("footer.categories.title")),1),(n(!0),s(P,null,K(t($),z=>(n(),U(ce,{key:`category-${z.item}`,to:t(C)(z.link),class:"mt-1 fw-normal fs-15 text-gray"},{default:A(()=>[E(o(z.item),1)]),_:2},1032,["to"]))),128))]),e("div",Ba,[e("b",Sa,o(f.$t("footer.handyLinks.title")),1),(n(!0),s(P,null,K(t(j),z=>(n(),U(ce,{key:`handy-${z.item}`,to:t(C)(z.link),class:"mt-1 fw-normal fs-15 text-gray"},{default:A(()=>[E(o(z.item),1)]),_:2},1032,["to"]))),128))]),h[14]||(h[14]=lt('<div class="col-8 col-md-4 col-lg-2 d-flex flex-column align-items-start mb-4 px-0"><b class="mb-2 fw-normal">Elektronica voor Jou</b><p class="fw-normal text-gray fs-15">Ambachtsweg 1C</p><p class="fw-normal text-gray fs-15">3831 KA, Leusden</p><a class="text-gray fs-15" href="tel:+31332003116">033 - 200 3116</a><a class="text-gray fs-15" href="mailto:[email protected]">[email protected]</a></div>',1))])]),e("div",Ta,[e("div",Ia,[e("div",Aa,[e("div",Oa,[e("a",{href:f.$t("footer.terms_url"),class:"fs-14 text-dark me-0 me-lg-2"},o(f.$t("footer.terms")),9,Ra),S(ce,{to:t(C)("privacy-policy"),class:"fs-14 text-dark mx-2"},{default:A(()=>
1[E(o(f.$t("footer.privacy")),1)]),_:1},8,["to"]),e("a",{href:f.$t("footer.return_send_policy_url"),class:"fs-14 text-dark mx-2"},o(f.$t("footer.return_send_policy")),9,Pa),e("a",{href:f.$t("footer.complaints_url"),class:"fs-14 text-dark mx-2"},o(f.$t("footer.complaints")),9,Ea)]),h[15]||(h[15]=lt('<div class="col-6 col-md-auto mt-3 mt-xl-0 mb-3 mb-md-0 d-flex flex-column flex-md-row justify-content-center align-items-center align-items-lg-start justify-content-lg-start"><a href="https://www.instagram.com/elektronicavoorjou/?hl=en" target="_blank" class="fs-14 text-dark mx-2 text-start">Instagram</a><a href="https://www.facebook.com/elektronicavoorjou/" target="_blank" class="fs-14 text-dark mx-2">Facebook</a><a href="https://www.linkedin.com/company/elektronicavoorjou/?originalSubdomain=nl" target="_blank" class="fs-14 text-dark mx-2">LinkedIn</a><a href="https://www.youtube.com/channel/UCLvVFed8awd_UkZPIrxSpVQ" target="_blank" class="fs-14 text-dark ms-0 ms-lg-2">YouTube</a></div>',1))])])])])}}}),Na=Object.assign(Ha,{__name:"SiteFooter"}),za={class:"app-shell d-flex flex-column min-vh-100"},Fa={class:"flex-grow-1 pt-4 pb-5"},er=G({__name:"default",setup(_){const u=Ge(),d=ze(),{identify:b}=mt();return Ye("shop-reviews",()=>u.fetchShopReviews(),{server:!1,lazy:!0}),Dt(),se(()=>d.isAuthenticated&&d.user?.email,C=>{if(!C)return;const m=d.user;b({$email:m.email,$first_name:m.firstname,$last_name:m.lastname})},{immediate:!0}),(C,m)=>{const r=ml,w=Na;return n(),s("div",za,[S(r),e("main",Fa,[Ht(C.$slots,"default")]),S(w)])}}});export{er as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.