{{-- Inline graphic of the theme's picture world ("Bildwelt", docs/DESIGN-KONZEPT.md ยง7, MANDANTEN-ANFORDERUNGEN A18/A19). Templates ask for a slot, never for a file, so a later picture-world system can replace the mapping below. Variables: $slot (divider, closing, crest, railing, bracket, gulls, vignette.beach|pier|train|bike|forest), $class (optional), $label (optional; without it the graphic is decorative). --}} @php $motifFiles = [ 'divider' => 'band-sonne', 'closing' => 'band-seebruecke', 'crest' => 'gaube', 'railing' => 'gelaender', 'bracket' => 'kopfband', 'gulls' => 'moewen', 'vignette.beach' => 'vignette-strand', 'vignette.pier' => 'vignette-seebruecke', 'vignette.train' => 'vignette-molli', 'vignette.bike' => 'vignette-rad', 'vignette.forest' => 'vignette-wald', ]; static $motifSvgs = []; $motifFile = $motifFiles[$slot] ?? null; $motifPath = $motifFile ? resource_path("themes/seebad/motifs/{$motifFile}.svg") : null; $motifSvgs[$slot] ??= $motifPath && is_file($motifPath) ? file_get_contents($motifPath) : ''; $motifUid = 'm'.\Illuminate\Support\Str::lower(\Illuminate\Support\Str::random(6)); $motifSvg = preg_replace(['/\s(role|aria-label|aria-hidden)="[^"]*"/', '/