/** * This file is part of the SplendidBear Websites' projects. * * Copyright (c) 2026 @ www.splendidbear.org * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ import React from 'react'; import { object, string } from 'prop-types'; import { BONUS_LABELS } from '@mine-utils'; const formatPlayerName = name => { if (name && name.startsWith('anon_')) { return 'Anonymous'; } if (name && 10 < name.length) { return name.substring(0, 7) + '...'; } return name || 'Unknown'; }; export const PlayerColumn = ({ color, player }) => (