local addonName, NS = ...

-- Define the Constants table within the Namespace
NS.Constants = {}

NS.Constants.CLASS_LIST = {
    "Death Knight", "Demon Hunter", "Druid", "Evoker", "Hunter", 
    "Mage", "Monk", "Paladin", "Priest", "Rogue", 
    "Shaman", "Warlock", "Warrior"
}

NS.Constants.RACES = {
    ["Alliance"] = {"Human", "Dwarf", "Night Elf", "Gnome", "Draenei", "Worgen", "Pandaren", "Void Elf", "Lightforged Draenei", "Dark Iron Dwarf", "Kul Tiran", "Mechagnome", "Dracthyr", "Earthen"},
    ["Horde"] = {"Orc", "Undead", "Tauren", "Troll", "Blood Elf", "Goblin", "Pandaren", "Nightborne", "Highmountain Tauren", "Mag'har Orc", "Zandalari Troll", "Vulpera", "Dracthyr", "Earthen"}
}

NS.Constants.TABS = {
    { id = 1, title = "Guild Recruiter System", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\Guild Recruitment System.tga" },
    { id = 2, title = "Recruitment Blacklist", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\Recruitment Blacklist.tga" },
    { id = 3, title = "Recruitment requirements", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\Recruitment requirements.tga" },
    { id = 4, title = "Recruitment History", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\Recruitment History.tga" },
    { id = 5, title = "Guild Roster", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\Guild Roster.tga" },
    { id = 6, title = "Raid Roster", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\Raid Roster.tga" },
    { id = 7, title = "Settings", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\Settings.tga" },
    
    -- =========================================================================
    -- [MANDATE: THIS TAB MUST ALWAYS BE THE LAST TAB IN THE LIST]
    -- Do not place any new tabs below this line.
    -- =========================================================================
    { id = 8, title = "MVP", icon = "Interface\\AddOns\\GuildRecruiterManagement\\Icons\\mvp.tga" }
}

NS.Constants.DEFAULTS = {
    debugMode = false,
    remixMode = "OFF", 
    scanDelay = 0.8,
    minLevel = 80, 
    maxLevel = 80,
    templates = NS.Data and NS.Data.DefaultTemplates or {["Default"] = "Hello!"}, 
    blacklist = {},
    permaBlacklist = {}, -- [[ NEW: PERMANENT BLACKLIST ]]
    recentHistory = {},
    messageTemplate = "M+ Focused",
    customFilters = {},
    scale = 1.0,
    alpha = 1.0, 
    windowWidth = 1280,
    windowHeight = 720,
    
    -- Blacklist Automation Defaults
    automateReset = false,
    resetDuration = 604800 -- Default 1 Week (in seconds)
}