', $data['synopsis']) ?>

0): ?>

Characters

tabs('manga-characters', $data['characters'], static function($list, $role) use ($component, $helper, $url) { $rendered = []; foreach ($list as $id => $char) { $rendered[] = $component->character( $char['name'], $url->generate('character', ['slug' => $char['slug']]), $helper->picture("images/characters/{$id}.webp"), ($role !== 'main') ? 'small-character' : 'character' ); } return implode('', array_map('mb_trim', $rendered)); }) ?> 0): ?>

Staff

verticalTabs('manga-staff', $data['staff'], fn($people) => implode('', array_map( fn ($person) => $component->character( $person['name'], $url->generate('person', ['id' => $person['id'], 'slug' => $person['slug']]), $helper->picture("images/people/{$person['id']}.webp") ), $people )) ) ?>