// Erzeugt eindeutige IDs für Ausflugsziele. (function () { function generateId() { if (typeof crypto !== 'undefined' && typeof crypto.randomUUID === 'function') { return crypto.randomUUID(); } // Fallback für Umgebungen ohne crypto.randomUUID (z.B. sehr alte Browser). return 'id-' + Date.now().toString(36) + '-' + Math.random().toString(36).slice(2, 10); } EventMap.utils.generateId = generateId; })();