<?php

if (!function_exists('settingsNavigationLinks')) {
    function settingsGroupLabel(string$group): string
    {
        return match($group) {
            'general' => t('settings.group_general'),'business' => t('settings.group_business'),'access' => t('settings.group_access'),'maintenance' => t('settings.group_maintenance'),default => $group
        };
    }
    function settingsNavigationLinks(): array
    {
        return [
            'general' => ['/settings/general','⚙️',t('settings.general'),'general'],
            'public-site' => ['/settings/public-site','🌐',t('settings.public_site'),'general'],
            'species' => ['/settings/species','🐾',t('settings.species'),'business'],
            'rooms' => ['/settings/rooms','🚪',t('settings.rooms'),'business'],
            'pricing' => ['/settings/pricing','💶',t('settings.pricing'),'business'],
            'inventory' => ['/settings/inventory','💊',t('settings.inventory'),'business'],
            'lab-references' => ['/settings/lab-references','🩸',t('settings.lab_references'),'business'],
            'users' => ['/settings/users','👥',t('settings.users'),'access'],
            'permissions' => ['/settings/permissions','🔐',t('settings.permissions'),'access'],
            'privacy' => ['/settings/privacy','🔏',t('settings.privacy'),'access'],
            'backups' => ['/settings/backups','💾',t('settings.backups'),'maintenance'],
            'health' => ['/settings/health','🩺',t('settings.health'),'maintenance'],
            'notifications' => ['/settings/notifications','🔔',t('settings.notifications'),'maintenance'],
            'data' => ['/settings/data','🧪',t('settings.data'),'maintenance'],
            'asm3' => ['/settings/asm3','🚚',t('settings.asm3'),'maintenance'],
            'audit' => ['/settings/audit','📜',t('settings.audit'),'maintenance'],
        ];
    }
}
