namespace RolemasterDb.ImportTool.Parsing;

internal static class StandardTableAxisTemplateCatalog
{
    internal static StandardTableAxisTemplate Resolve(string? slug)
    {
        if (string.Equals(slug, "mana-standard-19", StringComparison.OrdinalIgnoreCase))
        {
            return new StandardTableAxisTemplate(
                "mana-standard-19",
                ["A", "B", "C", "D", "E"],
                ["01-05", "06-10", "11-15", "16-20", "21-35", "36-45", "46-50", "51-55", "56-60", "61-65", "66", "67-70", "71-75", "76-80", "81-85", "86-90", "91-95", "96-99", "100"]);
        }

        throw new InvalidOperationException($"Unsupported standard-table axis template '{slug ?? "<null>"}'.");
    }
}
