picture("images/people/{$data['id']}-original.webp", 'jpg', ['class' => 'cover' ]) ?>

Castings

$entries): ?>
/> $casting): ?>

$series): ?> media( Kitsu::filterTitles($series), $url->generate("{$mediaType}.details", ['id' => $series['slug']]), $helper->picture("images/{$type}/{$sid}.webp") ) ?>

Voice Acting Roles

tabs('voice-acting-roles', $data['characters'], static function ($characterList) use ($component, $helper, $url) { $voiceRoles = []; foreach ($characterList as $cid => $item): $character = $component->character( $item['character']['canonicalName'], $url->generate('character', ['slug' => $item['character']['slug']]), $helper->picture(getLocalImg($item['character']['image']['original'])) ); $medias = []; foreach ($item['media'] as $sid => $series) { $medias[] = $component->media( Kitsu::filterTitles($series), $url->generate('anime.details', ['id' => $series['slug']]), $helper->picture("images/anime/{$sid}.webp") ); } $media = implode('', array_map('mb_trim', $medias)); $voiceRoles[] = << {$character}
{$media}
HTML; endforeach; $roles = implode('', array_map('mb_trim', $voiceRoles)); return << Character Series {$roles} HTML; }) ?>