PageSourceSearch

https://sportpasheerlen.nl/content/themes/movenl/assets/js/organizations-BxUvpIGf.js

js sportpasheerlen.nl collected 2026-09-24 13:54:26 UTC 1,733 bytes, 14 lines download raw bytes

1import { r as reformat } from './reformat-DUMoSDhI.js';
2
3const organizationsMapCard=(result,classes='')=>{const requiredFields=['id','image','locations_count','first_location'];const missingFields=requiredFields.filter(field=>!(result!==null&&result!==void 0&&result[field]));if(missingFields.length>0){console.error('Missing fields in organizations card:',missingFields,result);return '';}const item={id:reformat.escape(result.id),name:reformat.escape(result.name?result.name:'Organisatie'),image:result.image,locations_count:result.locations_count,location:{name:reformat.escape(result.first_location?result.first_location.name:'Onbekend'),city:reformat.escape(result.first_location?result.first_location.address.city:''),lat:result.first_location?result.first_location.latitude:'',lng:result.first_location?result.first_location.longitude:'',id:result.first_location?result.first_location.id:''}};return `<div class="js-map-card flex flex-row rounded-lg shadow-md cursor-pointer ${classes}" data-id="${item.location.id}">
4                  <div class="w-[100px] overflow-hidden rounded-l-lg shrink-0">
5                    <img class="object-cover w-[100px]" src="${item.image}" alt="">
6                  </div>
7                  <div class="flex flex-col text-sm my-3 px-4 grow">
8                    ${item.locations_count>0?`<div class="font-thin mb-1">${item.locations_count>1?'Meerdere locaties':item.location.name}</div>`:''}
9                    <div class="font-semibold">${item.name}</div>
10                    <a class="js-map-card-button c-button c-button-sm mt-4" href="/organisatie/${item.id}-${item.name}">Bekijk organisatie</a>
11                  </div>
12                </div>`;};
13
14export { organizationsMapCard as o };

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.