['De Stoelendans','De Loop 67, Oirschot, Nederland','Wijn, whisky, rum, likeur, champagne, port, armagnac en veel meer','Gratis proeven; rode muntjes voor duurdere drams'] ]; // Variants only swap neighbors in the same compact area. All visit every location and finish at De Stoelendans. var routes={ A1:[0,1,2,3,4,5,6], A2:[0,2,1,3,4,5,6], A3:[0,1,2,4,3,5,6], B1:[6,5,4,3,2,1,0,6], B2:[6,5,4,3,1,2,0,6], B3:[6,5,3,4,2,1,0,6] }; var params=new URLSearchParams(window.location.search);var code=(params.get('route')||'').toUpperCase(); if(!routes[code]){status.innerHTML='
Welkom bij Oirschot Proeft! Vraag de medewerker bij je startpunt om een QR-code met route A1, A2, A3, B1, B2 of B3.
';return;} var route=routes[code],unique={};var key='op26-visits-'+code;try{unique=JSON.parse(localStorage.getItem(key)||'{}')||{}}catch(e){} status.innerHTML='
JOUW ROUTE: '+code+'
Start: '+(code.charAt(0)==='A'?'Brouwerij Vandeoirsprong':'De Stoelendans')+' · Finish: De Stoelendans

Loop samen met je groep deze vaste volgorde. Alle zeven locaties horen erbij.

'; function progress(){var n=0;for(var k in unique){if(unique[k])n++}root.querySelector('#op-progress').textContent='Afgevinkt: '+n+' van 7 locaties';} route.forEach(function(idx,i){var p=places[idx],finish=i===route.length-1,el=document.createElement('div');el.className='op-stop';var nav='https://www.google.com/maps/dir/?api=1&travelmode=walking&destination='+encodeURIComponent(p[1]);el.innerHTML='

STOP '+(i+1)+' · '+p[0]+(finish?' 🏁':'')+'

'+p[3]+'

Proeven: '+p[2]+'

'+p[1]+'

Wandel naar deze locatie ↗'+(finish&&code.charAt(0)==='B'?'

Je bent terug bij het gezamenlijke eindpunt.

':' ');list.appendChild(el);}); list.querySelectorAll('input[data-place]').forEach(function(input){var id=input.getAttribute('data-place');input.checked=!!unique[id];input.addEventListener('change',function(){unique[id]=input.checked;try{localStorage.setItem(key,JSON.stringify(unique))}catch(e){}progress()});});progress(); })();