// Ship status presentation shared by several views. export const STATUS = { inventory: { label: 'DOCKED', cls: 'amber', hint: 'On the dock. Can be programmed and launched.' }, launching: { label: 'LAUNCH PENDING', cls: 'mag', hint: 'Enters the belt on the next daily run.' }, active: { label: 'IN BELT', cls: 'cyan', hint: 'Flying its program.' }, destroyed: { label: 'LOST', cls: 'red', hint: 'Destroyed.' }, }; export const statusOf = (s) => STATUS[s] ?? { label: String(s).toUpperCase(), cls: '', hint: '' };