-------------------------------------------------------------------------------
-- SpellData_AbilitiesItems.lua
-- Curated ABILITY (cast spell) and ITEM tables. Data-only: registers into the
-- shared engine owned by SpellData_Buffs.lua via:
--   ns.SpellData.Register("ability", ABILITIES)
--   ns.SpellData.Register("item",    ITEMS)
-- Feeds the Ability / Item name-search predictors (SpellSearchBox.lua), used by
-- the "Add Ability" / "Add Item" inputs in the merged Abilities/Items subtab.
--
-- Two SEPARATE tables so abilities and items never cross-populate each other's
-- search box. Entry forms mirror the buff file: a plain spellID/itemID, or
-- { id, "Category" }. Category is blank for now; the same category system as
-- buffs applies, so you can tag these (e.g. "Offensive CD", "Interrupt") later.
--
-- Auto-populated from combat log cast data; no class info was available, so
-- abilities currently live under [""] (no-class).
-- The ITEMS table is intentionally empty scaffolding — add item IDs as needed.
-------------------------------------------------------------------------------
local addonName, ns = ...
if not (ns.SpellData and ns.SpellData.Register) then return end

-- === Abilities (cast spell IDs) ===
local ABILITIES = {
    [""] = {
        { 452497, "" }, -- Abyssal Gaze
        { 383781, "" }, -- Algeth'ar Puzzle
        { 274738, "" }, -- Ancestral Call
        { 201427, "" }, -- Annihilation
        { 1241462, "" }, -- Arcane Pulse
        { 185358, "" }, -- Arcane Shot
        { 155145, "" }, -- Arcane Torrent
        { 202719, "" }, -- Arcane Torrent
        { 232633, "" }, -- Arcane Torrent
        { 119914, "" }, -- Axe Toss
        { 1236590, "" }, -- Basic Rejuvenation Potion
        { 1258283, "" }, -- Beacon of Lightblind Wrath
        { 26297, "" }, -- Berserking
        { 319175, "" }, -- Black Powder
        { 204019, "" }, -- Blessed Hammer
        { 20572, "" }, -- Blood Fury
        { 33702, "" }, -- Blood Fury
        { 335096, "" }, -- Bloodbath
        { 768, "" }, -- Cat Form
        { 1259633, "" }, -- Charge!
        { 473662, "" }, -- Consume
        { 452487, "" }, -- Consuming Fire
        { 456640, "" }, -- Consuming Fire
        { 335097, "" }, -- Crushing Blow
        { 1245453, "" }, -- Cull
        { 444347, "" }, -- Death Charge
        { 210152, "" }, -- Death Sweep
        { 48018, "" }, -- Demonic Circle
        { 452930, "" }, -- Demonic Healthstone
        { 1217610, "" }, -- Devour
        { 198590, "" }, -- Drain Soul
        { 1250508, "" }, -- Emberwing Heatwave
        { 431398, "" }, -- Empyrean Hammer
        { 440836, "" }, -- Essence of Yu'lon
        { 322101, "" }, -- Expel Harm
        { 1255476, "" }, -- Eye of the Drowning Void
        { 383328, "" }, -- Final Verdict
        { 133, "" }, -- Fireball
        { 124503, "" }, -- Gift of the Ox
        { 124506, "" }, -- Gift of the Ox
        { 199786, "" }, -- Glacial Spike
        { 131347, "" }, -- Glide
        { 358733, "" }, -- Glide
        { 1260633, "" }, -- Gloom-Spattered Dreadscale
        { 383269, "" }, -- Graveyard
        { 110959, "" }, -- Greater Invisibility
        { 110960, "" }, -- Greater Invisibility
        { 427453, "" }, -- Hammer of Light
        { 24275, "" }, -- Hammer of Wrath
        { 1241413, "" }, -- Hammer of Wrath
        { 77472, "" }, -- Healing Wave
        { 6262, "" }, -- Healthstone
        { 1269383, "" }, -- Heroic Strike
        { 57755, "" }, -- Heroic Throw
        { 14914, "" }, -- Holy Fire
        { 414658, "" }, -- Ice Cold
        { 202168, "" }, -- Impending Victory
        { 102560, "" }, -- Incarnation: Chosen of Elune
        { 102558, "" }, -- Incarnation: Guardian of Ursoc
        { 29722, "" }, -- Incinerate
        { 434144, "" }, -- Infliction of Sorrow
        { 255647, "" }, -- Light's Judgment
        { 1236616, "" }, -- Light's Potential
        { 1236648, "" }, -- Lightfused Mana Potion
        { 1233272, "" }, -- Lunar Eclipse
        { 1261153, "" }, -- Malefic Grasp
        { 391403, "" }, -- Mind Flay: Insanity
        { 257620, "" }, -- Multi-Shot
        { 1242174, "" }, -- Necrotic Coil
        { 1260459, "" }, -- Nullsight
        { 385061, "" }, -- Odyn's Fury Off-Hand
        { 200829, "" }, -- Plea
        { 1254624, "" }, -- Radiant Blessing
        { 400254, "" }, -- Raze
        { 442294, "" }, -- Reaver's Glaive
        { 444686, "" }, -- Reaver's Glaive
        { 415388, "" }, -- Reclamation
        { 1252871, "" }, -- Red Moon
        { 272071, "" }, -- Roar of Rezan
        { 69070, "" }, -- Rocket Jump
        { 1254641, "" }, -- Rotting Globule
        { 432472, "" }, -- Sacred Weapon
        { 186263, "" }, -- Shadow Mend
        { 58984, "" }, -- Shadowmeld
        { 185438, "" }, -- Shadowstrike
        { 341263, "" }, -- Shadowy Apparition
        { 212653, "" }, -- Shimmer
        { 197835, "" }, -- Shuriken Storm
        { 212743, "" }, -- Shuriken Storm
        { 585, "" }, -- Smite
        { 1254638, "" }, -- Solar Core Igniter
        { 203795, "" }, -- Soul Fragment
        { 204255, "" }, -- Soul Fragment
        { 1223412, "" }, -- Soul Fragment
        { 119910, "" }, -- Spell Lock
        { 56641, "" }, -- Steady Shot
        { 406647, "" }, -- Templar Slash
        { 407480, "" }, -- Templar Strike
        { 783, "" }, -- Travel Form
        { 1265991, "" }, -- Twin Flame
        { 443591, "" }, -- Unity Within
        { 1242173, "" }, -- Void Volley
        { 470057, "" }, -- Voltaic Blaze
        { 392060, "" }, -- Wailing Arrow
        { 20549, "" }, -- War Stomp
        { 250768, "" }, -- Whispers of L'ura
        { 59752, "" }, -- Will to Survive
        { 115356, "" }, -- Windstrike
        { 445468, "" }, -- Wither
        { 1272696, "" }, -- Zenith Stomp
    },
    ["DEATHKNIGHT"] = {
        { 1263569, "Utility", {250} }, -- Abomination Limb [Blood]
        { 48707, "Essential", {250,251,252} }, -- Anti-Magic Shell [all Deathknight]
        { 51052, "Utility", {250,251,252} }, -- Anti-Magic Zone [all Deathknight]
        { 42650, "Essential", {252} }, -- Army of the Dead [Unholy]
        { 221562, "Utility", {250,251,252} }, -- Asphyxiate [all Deathknight]
        { 1271967, "", {252} }, -- Blightfall [Unholy]
        { 207167, "Utility", {250,251,252} }, -- Blinding Sleet [all Deathknight]
        { 50842, "Essential", {250} }, -- Blood Boil [Blood]
        { 1249658, "Essential", {251} }, -- Breath of Sindragosa [Frost]
        { 45524, "", {250,251,252} }, -- Chains of Ice [all Deathknight]
        { 1263824, "Essential", {250} }, -- Consumption [Blood]
        { 49028, "Essential", {250} }, -- Dancing Rune Weapon [Blood]
        { 56222, "Utility", {250} }, -- Dark Command [Blood]
        { 77606, "Utility", {250} }, -- Dark Simulacrum [Blood]
        { 1233448, "Essential", {252} }, -- Dark Transformation [Unholy]
        { 43265, "Essential", {250,251,252} }, -- Death and Decay [all Deathknight]
        { 203173, "Utility", {250} }, -- Death Chain [Blood]
        { 47541, "Essential", {252} }, -- Death Coil [Unholy]
        { 49576, "Utility", {250,251,252} }, -- Death Grip [all Deathknight]
        { 48743, "Utility", {250,251,252} }, -- Death Pact [all Deathknight]
        { 49998, "Essential", {250,251,252} }, -- Death Strike [all Deathknight]
        { 48265, "Utility", {250,251,252} }, -- Death's Advance [all Deathknight]
        { 195292, "Essential", {250} }, -- Death's Caress [Blood]
        { 47568, "Essential", {251} }, -- Empower Rune Weapon [Frost]
        { 207317, "Essential", {252} }, -- Epidemic [Unholy]
        { 441424, "", {250,251,252} }, -- Exterminate [all Deathknight]
        { 441426, "", {250,251,252} }, -- Exterminate [all Deathknight]
        { 458128, "", {252} }, -- Festering Scythe [Unholy]
        { 85948, "Essential", {252} }, -- Festering Strike [Unholy]
        { 49143, "Essential", {251} }, -- Frost Strike [Frost]
        { 1228433, "", {251} }, -- Frostbane [Frost]
        { 1228436, "", {251} }, -- Frostbane [Frost]
        { 207230, "Essential", {251} }, -- Frostscythe [Frost]
        { 279302, "Essential", {251} }, -- Frostwyrm's Fury [Frost]
        { 1265384, "", {251} }, -- Frostwyrm's Fury [Frost]
        { 194913, "Essential", {251} }, -- Glacial Advance [Frost]
        { 47481, "Utility", {252} }, -- Gnaw [Unholy]
        { 108199, "Utility", {250} }, -- Gorefiend's Grasp [Blood]
        { 206930, "Essential", {250} }, -- Heart Strike [Blood]
        { 49184, "Essential", {251} }, -- Howling Blast [Frost]
        { 454786, "Utility", {250,251,252} }, -- Ice Prison [all Deathknight]
        { 48792, "Essential", {250,251,252} }, -- Icebound Fortitude [all Deathknight]
        { 49039, "Utility", {250,251,252} }, -- Lichborne [all Deathknight]
        { 195182, "Essential", {250} }, -- Marrowrend [Blood]
        { 47528, "Utility", {250,251,252} }, -- Mind Freeze [all Deathknight]
        { 49020, "Essential", {251} }, -- Obliterate [Frost]
        { 77575, "Essential", {252} }, -- Outbreak [Unholy]
        { 51271, "Essential", {251} }, -- Pillar of Frost [Frost]
        { 1247378, "Essential", {252} }, -- Putrefy [Unholy]
        { 61999, "Utility", {250,251,252} }, -- Raise Ally [all Deathknight]
        { 46585, "", {252} }, -- Raise Dead [Unholy]
        { 46584, "Essential", {252} }, -- Raise Dead [Unholy]
        { 439843, "Essential", {250,251,252} }, -- Reaper's Mark [all Deathknight]
        { 196770, "Essential", {251} }, -- Remorseless Winter [Frost]
        { 55090, "Essential", {252} }, -- Scourge Strike [Unholy]
        { 343294, "Essential", {252} }, -- Soul Reaper [Unholy]
        { 55233, "Essential", {250} }, -- Vampiric Blood [Blood]
        { 433895, "", {250,251,252} }, -- Vampiric Strike [all Deathknight]
        { 212552, "Utility", {250,251,252} }, -- Wraith Walk [all Deathknight]
        { 210128, "Essential", {252} }, -- Zombify [Unholy]
    },
    ["DEMONHUNTER"] = {
        { 188499, "Essential", {577} }, -- Blade Dance [Havoc]
        { 198589, "Utility", {577,581} }, -- Blur [all Demonhunter]
        { 179057, "Utility", {577,581} }, -- Chaos Nova [all Demonhunter]
        { 162794, "Essential", {577} }, -- Chaos Strike [Havoc]
        { 1221150, "", {1480} }, -- Collapsing Star [Devourer]
        { 278326, "Utility", {577,581} }, -- Consume Magic [all Demonhunter]
        { 196718, "Utility", {577,581} }, -- Darkness [all Demonhunter]
        { 203720, "Essential", {581} }, -- Demon Spikes [Veng]
        { 183752, "Utility", {577,581} }, -- Disrupt [all Demonhunter]
        { 258860, "Essential", {577} }, -- Essence Break [Havoc]
        { 198013, "Essential", {577} }, -- Eye Beam [Havoc]
        { 212084, "Essential", {581} }, -- Fel Devastation [Veng]
        { 195072, "Essential", {577} }, -- Fel Rush [Havoc]
        { 213243, "", {577,581} }, -- Felblade [all Demonhunter]
        { 232893, "Utility", {577,581} }, -- Felblade [all Demonhunter]
        { 204021, "Essential", {581} }, -- Fiery Brand [Veng]
        { 225919, "", {581} }, -- Fracture [Veng]
        { 225921, "", {581} }, -- Fracture [Veng]
        { 263642, "Essential", {581} }, -- Fracture [Veng]
        { 205630, "Utility", {581} }, -- Illidan's Grasp [Veng]
        { 258920, "Essential", {577,581} }, -- Immolation Aura [all Demonhunter]
        { 427917, "", {577,581} }, -- Immolation Aura [all Demonhunter]
        { 217832, "Utility", {577,581} }, -- Imprison [all Demonhunter]
        { 189110, "Utility", {581} }, -- Infernal Strike [Veng]
        { 187827, "Essential", {581} }, -- Metamorphosis [Veng]
        { 200166, "", {577,581} }, -- Metamorphosis [all Demonhunter]
        { 191427, "Essential", {577} }, -- Metamorphosis [Havoc]
        { 206803, "Essential", {577,581} }, -- Rain from Above [all Demonhunter]
        { 1226019, "Essential", {1480} }, -- Reap [Devourer]
        { 205604, "Utility", {577} }, -- Reverse Magic [Havoc]
        { 209693, "", {1480} }, -- Shattered Souls [Devourer]
        { 228537, "", {1480} }, -- Shattered Souls [Devourer]
        { 1234796, "Utility", {1480} }, -- Shift [Devourer]
        { 202138, "Utility", {581} }, -- Sigil of Chains [Veng]
        { 204596, "Essential", {581} }, -- Sigil of Flame [Veng]
        { 207684, "Utility", {577,581} }, -- Sigil of Misery [all Demonhunter]
        { 390163, "Essential", {581} }, -- Sigil of Spite [Veng]
        { 207407, "Essential", {581} }, -- Soul Carver [Veng]
        { 228477, "Essential", {581} }, -- Soul Cleave [Veng]
        { 1241937, "Essential", {1480} }, -- Soul Immolation [Devourer]
        { 188501, "Utility", {577,581} }, -- Spectral Sight [all Demonhunter]
        { 1251417, "Utility", {1480} }, -- Spectral Sight [Devourer]
        { 247454, "Essential", {581} }, -- Spirit Bomb [Veng]
        { 370965, "Essential", {577} }, -- The Hunt [Havoc]
        { 370966, "", {577,581} }, -- The Hunt [all Demonhunter]
        { 1246167, "Essential", {1480} }, -- The Hunt [Devourer]
        { 185123, "Essential", {577,581} }, -- Throw Glaive [all Demonhunter]
        { 204157, "Essential", {581} }, -- Throw Glaive [Veng]
        { 337819, "", {577,581} }, -- Throw Glaive [all Demonhunter]
        { 346665, "", {577,581} }, -- Throw Glaive [all Demonhunter]
        { 393035, "", {577,581} }, -- Throw Glaive [all Demonhunter]
        { 185245, "Utility", {577,581} }, -- Torment [all Demonhunter]
        { 198793, "Utility", {577,581} }, -- Vengeful Retreat [all Demonhunter]
        { 1217605, "Essential", {1480} }, -- Void Metamorphosis [Devourer]
        { 1234195, "Utility", {1480} }, -- Void Nova [Devourer]
        { 473728, "Essential", {1480} }, -- Void Ray [Devourer]
        { 1245412, "Utility", {1480} }, -- Voidblade [Devourer]
        { 1245414, "", {1480} }, -- Voidblade [Devourer]
    },
    ["DRUID"] = {
        { 22812, "Utility", {102,103,104,105} }, -- Barkskin [all Druid]
        { 106951, "Essential", {103} }, -- Berserk [Feral]
        { 50334, "Essential", {104} }, -- Berserk [Guardian]
        { 155835, "Essential", {104} }, -- Bristling Fur [Guardian]
        { 426784, "Essential", {105} }, -- Call of the Elder Druid [Resto]
        { 194223, "Essential", {102} }, -- Celestial Alignment [Balance]
        { 1244258, "Essential", {103} }, -- Chomp [Feral]
        { 391528, "Essential", {102,103,104,105} }, -- Convoke the Spirits [all Druid]
        { 33786, "Utility", {102,103,104,105} }, -- Cyclone [all Druid]
        { 1850, "Utility", {102,103,104,105} }, -- Dash [all Druid]
        { 201664, "Utility", {104} }, -- Demoralizing Roar [Guardian]
        { 145205, "Essential", {105} }, -- Efflorescence [Resto]
        { 329042, "Utility", {104} }, -- Emerald Slumber [Guardian]
        { 202226, "Utility", {104} }, -- Entangling Claws [Guardian]
        { 209749, "Essential", {102} }, -- Faerie Swarm [Balance]
        { 274837, "Essential", {103} }, -- Feral Frenzy [Feral]
        { 22568, "Essential", {102,103,104,105} }, -- Ferocious Bite [all Druid]
        { 205636, "Essential", {102} }, -- Force of Nature [Balance]
        { 22842, "Utility", {102,103,104,105} }, -- Frenzied Regeneration [all Druid]
        { 202770, "Essential", {102} }, -- Fury of Elune [Balance]
        { 354654, "Utility", {104} }, -- Grove Protection [Guardian]
        { 6795, "Utility", {102,103,104,105} }, -- Growl [all Druid]
        { 1261867, "Utility", {102,103,104,105} }, -- Heart of the Wild [all Druid]
        { 2637, "Utility", {102,103,104,105} }, -- Hibernate [all Druid]
        { 99, "Utility", {102,103,104,105} }, -- Incapacitating Roar [all Druid]
        { 33891, "Essential", {105} }, -- Incarnation: Tree of Life [Resto]
        { 29166, "Utility", {102,103,104,105} }, -- Innervate [all Druid]
        { 102342, "Essential", {105} }, -- Ironbark [Resto]
        { 192081, "Essential", {102,103,104,105} }, -- Ironfur [all Druid]
        { 33763, "Essential", {105} }, -- Lifebloom [Resto]
        { 204066, "Essential", {104} }, -- Lunar Beam [Guardian]
        { 1270292, "", {104} }, -- Lunar Beam [Guardian]
        { 22570, "Essential", {102,103,104,105} }, -- Maim [all Druid]
        { 33917, "Essential", {102,103,104,105} }, -- Mangle [all Druid]
        { 102359, "Utility", {102,103,104,105} }, -- Mass Entanglement [all Druid]
        { 6807, "Essential", {104} }, -- Maul [Guardian]
        { 5211, "Utility", {102,103,104,105} }, -- Mighty Bash [all Druid]
        { 8921, "Essential", {102,103,104,105} }, -- Moonfire [all Druid]
        { 155625, "Essential", {103} }, -- Moonfire [Feral]
        { 88423, "Utility", {105} }, -- Nature's Cure [Resto]
        { 132158, "Essential", {105} }, -- Nature's Swiftness [Resto]
        { 274281, "Essential", {102} }, -- New Moon [Balance]
        { 202246, "Utility", {104} }, -- Overrun [Guardian]
        { 285381, "Essential", {103} }, -- Primal Wrath [Feral]
        { 5215, "Essential", {102,103,104,105} }, -- Prowl [all Druid]
        { 1822, "Essential", {102,103,104,105} }, -- Rake [all Druid]
        { 20484, "Utility", {102,103,104,105} }, -- Rebirth [all Druid]
        { 8936, "Essential", {102,103,104,105} }, -- Regrowth [all Druid]
        { 774, "Essential", {105} }, -- Rejuvenation [Resto]
        { 2782, "Utility", {102,103,104,105} }, -- Remove Corruption [all Druid]
        { 1079, "Essential", {102,103,104,105} }, -- Rip [all Druid]
        { 5221, "Essential", {102,103,104,105} }, -- Shred [all Druid]
        { 93985, "", {102,103,104,105} }, -- Skull Bash [all Druid]
        { 106839, "Utility", {102,103,104,105} }, -- Skull Bash [all Druid]
        { 78675, "Utility", {102} }, -- Solar Beam [Balance]
        { 1233346, "Essential", {102} }, -- Solar Eclipse [Balance]
        { 2908, "Utility", {102,103,104,105} }, -- Soothe [all Druid]
        { 106898, "Utility", {102,103,104,105} }, -- Stampeding Roar [all Druid]
        { 191034, "Essential", {102} }, -- Starfall [Balance]
        { 194153, "Essential", {102} }, -- Starfire [Balance]
        { 197628, "Essential", {105} }, -- Starfire [Resto]
        { 78674, "Essential", {102} }, -- Starsurge [Balance]
        { 197626, "Utility", {105} }, -- Starsurge [Resto]
        { 1253799, "Essential", {104} }, -- Sundering Roar [Guardian]
        { 93402, "Essential", {102,103,104,105} }, -- Sunfire [all Druid]
        { 61336, "Essential", {102,103,104,105} }, -- Survival Instincts [all Druid]
        { 18562, "Essential", {105} }, -- Swiftmend [Resto]
        { 106785, "", {102,103,104,105} }, -- Swipe [all Druid]
        { 213771, "", {102,103,104,105} }, -- Swipe [all Druid]
        { 213764, "Essential", {102,103,104,105} }, -- Swipe [all Druid]
        { 474750, "Essential", {105} }, -- Symbiotic Relationship [Resto]
        { 77758, "Essential", {102,103,104,105} }, -- Thrash [all Druid]
        { 5217, "Essential", {103} }, -- Tiger's Fury [Feral]
        { 157982, "", {105} }, -- Tranquility [Resto]
        { 740, "Essential", {105} }, -- Tranquility [Resto]
        { 132469, "Utility", {102,103,104,105} }, -- Typhoon [all Druid]
        { 102793, "Utility", {102,103,104,105} }, -- Ursol's Vortex [all Druid]
        { 16979, "", {102,103,104,105} }, -- Wild Charge [all Druid]
        { 49376, "", {102,103,104,105} }, -- Wild Charge [all Druid]
        { 102401, "Utility", {102,103,104,105} }, -- Wild Charge [all Druid]
        { 48438, "Essential", {105} }, -- Wild Growth [Resto]
        { 1269658, "", {104} }, -- Wild Guardian [Guardian]
        { 88747, "Essential", {102} }, -- Wild Mushroom [Balance]
        { 5176, "Essential", {105} }, -- Wrath [Resto]
        { 190984, "Essential", {102} }, -- Wrath [Balance]
    },
    ["EVOKER"] = {
        { 362969, "Essential", {1467} }, -- Azure Strike [Deva]
        { 1265872, "", {1467} }, -- Azure Sweep [Deva]
        { 408233, "Utility", {1473} }, -- Bestow Weyrnstone [Aug]
        { 364342, "Essential", {1467} }, -- Blessing of the Bronze [Deva]
        { 360827, "Essential", {1473} }, -- Blistering Scales [Aug]
        { 374251, "Utility", {1467,1468,1473} }, -- Cauterizing Flame [all Evoker]
        { 383005, "Utility", {1467,1468,1473} }, -- Chrono Loop [all Evoker]
        { 433874, "", {1467,1468,1473} }, -- Deep Breath [all Evoker]
        { 357210, "Essential", {1467,1468,1473} }, -- Deep Breath [all Evoker]
        { 356995, "Essential", {1467} }, -- Disintegrate [Deva]
        { 375087, "Essential", {1467} }, -- Dragonrage [Deva]
        { 355936, "Essential", {1468} }, -- Dream Breath [Pres]
        { 359816, "Essential", {1468} }, -- Dream Flight [Pres]
        { 377509, "Essential", {1468} }, -- Dream Projection [Pres]
        { 395152, "Essential", {1473} }, -- Ebon Might [Aug]
        { 364343, "Essential", {1468} }, -- Echo [Pres]
        { 355913, "Utility", {1467,1468,1473} }, -- Emerald Blossom [all Evoker]
        { 370960, "Essential", {1468} }, -- Emerald Communion [Pres]
        { 395160, "Essential", {1473} }, -- Eruption [Aug]
        { 359073, "Essential", {1467} }, -- Eternity Surge [Deva]
        { 365585, "Utility", {1467,1468,1473} }, -- Expunge [all Evoker]
        { 357208, "Essential", {1467,1468,1473} }, -- Fire Breath [all Evoker]
        { 390386, "Essential", {1467} }, -- Fury of the Aspects [Deva]
        { 358267, "Utility", {1467,1468,1473} }, -- Hover [all Evoker]
        { 358385, "Utility", {1467,1468,1473} }, -- Landslide [all Evoker]
        { 361469, "Essential", {1467,1468,1473} }, -- Living Flame [all Evoker]
        { 361509, "", {1467,1468,1473} }, -- Living Flame [all Evoker]
        { 1256581, "", {1468} }, -- Merithra's Blessing [Pres]
        { 360823, "Utility", {1468} }, -- Naturalize [Pres]
        { 363916, "Utility", {1467,1468,1473} }, -- Obsidian Scales [all Evoker]
        { 372048, "Utility", {1467,1468,1473} }, -- Oppressing Roar [all Evoker]
        { 409311, "Essential", {1473} }, -- Prescience [Aug]
        { 357211, "Essential", {1467} }, -- Pyre [Deva]
        { 351338, "Utility", {1467,1468,1473} }, -- Quell [all Evoker]
        { 370665, "Utility", {1467,1468,1473} }, -- Rescue [all Evoker]
        { 366155, "Essential", {1468} }, -- Reversion [Pres]
        { 363534, "Essential", {1468} }, -- Rewind [Pres]
        { 360806, "Essential", {1467,1468,1473} }, -- Sleep Walk [all Evoker]
        { 369459, "Utility", {1467,1468,1473} }, -- Source of Magic [all Evoker]
        { 406732, "Utility", {1467,1468,1473} }, -- Spatial Paradox [all Evoker]
        { 370537, "Essential", {1468} }, -- Stasis [Pres]
        { 368970, "Utility", {1467,1468,1473} }, -- Tail Swipe [all Evoker]
        { 373861, "Essential", {1468} }, -- Temporal Anomaly [Pres]
        { 357170, "Essential", {1468} }, -- Time Dilation [Pres]
        { 368412, "Essential", {1468} }, -- Time of Need [Pres]
        { 404977, "Essential", {1473} }, -- Time Skip [Aug]
        { 374968, "Utility", {1467,1468,1473} }, -- Time Spiral [all Evoker]
        { 378441, "Essential", {1467,1468,1473} }, -- Time Stop [all Evoker]
        { 412710, "Essential", {1473} }, -- Timelessness [Aug]
        { 370553, "Essential", {1467,1468,1473} }, -- Tip the Scales [all Evoker]
        { 396286, "Essential", {1473} }, -- Upheaval [Aug]
        { 360995, "Essential", {1467,1468,1473} }, -- Verdant Embrace [all Evoker]
        { 374227, "Utility", {1467,1468,1473} }, -- Zephyr [all Evoker]
    },
    ["HUNTER"] = {
        { 19434, "Essential", {254} }, -- Aimed Shot [MM]
        { 186257, "Utility", {253,254,255} }, -- Aspect of the Cheetah [all Hunter]
        { 186289, "Utility", {255} }, -- Aspect of the Eagle [SV]
        { 186265, "Utility", {253,254,255} }, -- Aspect of the Turtle [all Hunter]
        { 217200, "Essential", {253} }, -- Barbed Shot [BM]
        { 19574, "Essential", {253} }, -- Bestial Wrath [BM]
        { 109248, "Utility", {253,254,255} }, -- Binding Shot [all Hunter]
        { 466930, "Essential", {253,254,255} }, -- Black Arrow [all Hunter]
        { 1261193, "Essential", {255} }, -- Boomstick [SV]
        { 199483, "Utility", {253,254,255} }, -- Camouflage [all Hunter]
        { 356719, "Utility", {253,254,255} }, -- Chimaeral Sting [all Hunter]
        { 193455, "Essential", {253} }, -- Cobra Shot [BM]
        { 272651, "Utility", {253,254,255} }, -- Command Pet [all Hunter]
        { 147362, "Utility", {253,254,255} }, -- Counter Shot [all Hunter]
        { 132764, "", {253} }, -- Dire Beast [BM]
        { 219199, "", {253} }, -- Dire Beast [BM]
        { 781, "Utility", {253,254,255} }, -- Disengage [all Hunter]
        { 109304, "Utility", {253,254,255} }, -- Exhilaration [all Hunter]
        { 212431, "Essential", {254} }, -- Explosive Shot [MM]
        { 5384, "Utility", {253,254,255} }, -- Feign Death [all Hunter]
        { 187650, "Utility", {253,254,255} }, -- Freezing Trap [all Hunter]
        { 190925, "Utility", {255} }, -- Harpoon [SV]
        { 466904, "Utility", {254} }, -- Harrier's Cry [MM]
        { 257284, "", {253,254,255} }, -- Hunter's Mark [all Hunter]
        { 19577, "Utility", {253,254,255} }, -- Intimidation [all Hunter]
        { 474421, "Utility", {254} }, -- Intimidation [MM]
        { 34026, "Essential", {253} }, -- Kill Command [BM]
        { 259489, "Essential", {255} }, -- Kill Command [SV]
        { 53351, "Essential", {254} }, -- Kill Shot [MM]
        { 136, "Utility", {253} }, -- Mend Pet [BM]
        { 212640, "Utility", {255} }, -- Mending Bandage [SV]
        { 34477, "Utility", {253,254,255} }, -- Misdirection [all Hunter]
        { 187707, "Utility", {255} }, -- Muzzle [SV]
        { 257044, "Essential", {254} }, -- Rapid Fire [MM]
        { 186270, "Essential", {255} }, -- Raptor Strike [SV]
        { 265189, "", {255} }, -- Raptor Strike [SV]
        { 1262293, "", {255} }, -- Raptor Swipe [SV]
        { 1262343, "", {255} }, -- Raptor Swipe [SV]
        { 53480, "Utility", {253,254,255} }, -- Roar of Sacrifice [all Hunter]
        { 1513, "Utility", {253,254,255} }, -- Scare Beast [all Hunter]
        { 407028, "Utility", {255} }, -- Sticky Tar Bomb [SV]
        { 264735, "Utility", {253,254,255} }, -- Survival of the Fittest [all Hunter]
        { 1250646, "Essential", {255} }, -- Takedown [SV]
        { 1253859, "", {255} }, -- Takedown [SV]
        { 187698, "Utility", {253,254,255} }, -- Tar Trap [all Hunter]
        { 212638, "Utility", {255} }, -- Tracker's Net [SV]
        { 19801, "Utility", {253,254,255} }, -- Tranquilizing Shot [all Hunter]
        { 288613, "Essential", {254} }, -- Trueshot [MM]
        { 260243, "Essential", {254} }, -- Volley [MM]
        { 356707, "Utility", {255} }, -- Wild Kingdom [SV]
        { 1264359, "Essential", {253} }, -- Wild Thrash [BM]
        { 259495, "Essential", {255} }, -- Wildfire Bomb [SV]
        { 195645, "Utility", {253,254,255} }, -- Wing Clip [all Hunter]
    },
    ["MAGE"] = {
        { 342245, "Utility", {62,63,64} }, -- Alter Time [all Mage]
        { 342247, "", {62,63,64} }, -- Alter Time [all Mage]
        { 44425, "Essential", {62} }, -- Arcane Barrage [Arcane]
        { 30451, "Essential", {62} }, -- Arcane Blast [Arcane]
        { 1449, "Essential", {62} }, -- Arcane Explosion [Arcane]
        { 5143, "Essential", {62} }, -- Arcane Missiles [Arcane]
        { 153626, "Essential", {62} }, -- Arcane Orb [Arcane]
        { 365350, "Essential", {62} }, -- Arcane Surge [Arcane]
        { 353128, "Essential", {62} }, -- Arcanosphere [Arcane]
        { 235313, "Utility", {62,63,64} }, -- Blazing Barrier [all Mage]
        { 1953, "Utility", {62,63,64} }, -- Blink [all Mage]
        { 190356, "Essential", {64} }, -- Blizzard [Frost]
        { 1248829, "Essential", {64} }, -- Blizzard [Frost]
        { 190319, "Essential", {63} }, -- Combustion [Fire]
        { 120, "Essential", {62,63,64} }, -- Cone of Cold [all Mage]
        { 2139, "Utility", {62,63,64} }, -- Counterspell [all Mage]
        { 31661, "Utility", {62,63,64} }, -- Dragon's Breath [all Mage]
        { 12051, "Essential", {62} }, -- Evocation [Arcane]
        { 108853, "Essential", {63} }, -- Fire Blast [Fire]
        { 2120, "Essential", {63} }, -- Flamestrike [Fire]
        { 44614, "Essential", {64} }, -- Flurry [Frost]
        { 390612, "Essential", {64} }, -- Frost Bomb [Frost]
        { 122, "Utility", {62,63,64} }, -- Frost Nova [all Mage]
        { 116, "Essential", {64} }, -- Frostbolt [Frost]
        { 431044, "Essential", {62,63,64} }, -- Frostfire Bolt [all Mage]
        { 84714, "Essential", {64} }, -- Frozen Orb [Frost]
        { 203286, "Essential", {63} }, -- Greater Pyroblast [Fire]
        { 11426, "Utility", {62,63,64} }, -- Ice Barrier [all Mage]
        { 45438, "Utility", {62,63,64} }, -- Ice Block [all Mage]
        { 30455, "Essential", {64} }, -- Ice Lance [Frost]
        { 157997, "Utility", {62,63,64} }, -- Ice Nova [all Mage]
        { 352278, "Utility", {62,63,64} }, -- Ice Wall [all Mage]
        { 66, "Utility", {62,63,64} }, -- Invisibility [all Mage]
        { 198100, "Utility", {62,63,64} }, -- Kleptomania [all Mage]
        { 414660, "Utility", {64} }, -- Mass Barrier [Frost]
        { 414664, "Utility", {62,63,64} }, -- Mass Invisibility [all Mage]
        { 383121, "Utility", {62,63,64} }, -- Mass Polymorph [all Mage]
        { 153561, "Essential", {63} }, -- Meteor [Fire]
        { 55342, "Utility", {62,63,64} }, -- Mirror Image [all Mage]
        { 205025, "Essential", {62} }, -- Presence of Mind [Arcane]
        { 235450, "Utility", {62} }, -- Prismatic Barrier [Arcane]
        { 11366, "Essential", {63} }, -- Pyroblast [Fire]
        { 205021, "Essential", {64} }, -- Ray of Frost [Frost]
        { 389713, "Utility", {64} }, -- Reflection [Frost]
        { 475, "Utility", {62,63,64} }, -- Remove Curse [all Mage]
        { 113724, "Utility", {62,63,64} }, -- Ring of Frost [all Mage]
        { 2948, "Essential", {63} }, -- Scorch [Fire]
        { 389794, "Essential", {64} }, -- Snowdrift [Frost]
        { 157980, "Utility", {62,63,64} }, -- Supernova [all Mage]
        { 80353, "Utility", {62,63,64} }, -- Time Warp [all Mage]
        { 321507, "Essential", {62} }, -- Touch of the Magi [Arcane]
    },
    ["MONK"] = {
        { 202162, "Utility", {268} }, -- Avert Harm [Brew]
        { 115399, "Essential", {268} }, -- Black Ox Brew [Brew]
        { 100784, "Essential", {268,269,270} }, -- Blackout Kick [all Monk]
        { 205523, "Essential", {268} }, -- Blackout Kick [Brew]
        { 115181, "Essential", {268} }, -- Breath of Fire [Brew]
        { 322507, "Essential", {268} }, -- Celestial Brew [Brew]
        { 443028, "Essential", {268,269,270} }, -- Celestial Conduit [all Monk]
        { 1241059, "Essential", {268} }, -- Celestial Infusion [Brew]
        { 123986, "Essential", {268} }, -- Chi Burst [Brew]
        { 117952, "Essential", {268,269,270} }, -- Crackling Jade Lightning [all Monk]
        { 218164, "Utility", {268,269,270} }, -- Detox [all Monk]
        { 115450, "Utility", {270} }, -- Detox [MW]
        { 202335, "Utility", {268} }, -- Double Barrel [Brew]
        { 124682, "Essential", {270} }, -- Enveloping Mist [MW]
        { 325153, "Essential", {268} }, -- Exploding Keg [Brew]
        { 113656, "Essential", {269} }, -- Fists of Fury [WW]
        { 101545, "Utility", {269} }, -- Flying Serpent Kick [WW]
        { 115203, "Essential", {268,269,270} }, -- Fortifying Brew [all Monk]
        { 233759, "Utility", {269} }, -- Grapple Weapon [WW]
        { 325197, "Essential", {270} }, -- Invoke Chi-Ji, the Red Crane [MW]
        { 132578, "Essential", {268} }, -- Invoke Niuzao, the Black Ox [Brew]
        { 123904, "Essential", {269} }, -- Invoke Xuen, the White Tiger [WW]
        { 322118, "Essential", {270} }, -- Invoke Yu'lon, the Jade Serpent [MW]
        { 121253, "Essential", {268} }, -- Keg Smash [Brew]
        { 119381, "Utility", {268,269,270} }, -- Leg Sweep [all Monk]
        { 116849, "Essential", {270} }, -- Life Cocoon [MW]
        { 115294, "Essential", {270} }, -- Mana Tea [MW]
        { 202370, "Utility", {268,269,270} }, -- Mighty Ox Kick [all Monk]
        { 354540, "Utility", {268} }, -- Nimble Brew [Brew]
        { 115078, "Utility", {268,269,270} }, -- Paralysis [all Monk]
        { 115546, "Utility", {268} }, -- Provoke [Brew]
        { 119582, "Essential", {268} }, -- Purifying Brew [Brew]
        { 115151, "Essential", {270} }, -- Renewing Mist [MW]
        { 388615, "Essential", {270} }, -- Restoral [MW]
        { 115310, "Essential", {270} }, -- Revival [MW]
        { 116844, "Utility", {268,269,270} }, -- Ring of Peace [all Monk]
        { 107428, "Essential", {268,269,270} }, -- Rising Sun Kick [all Monk]
        { 109132, "Utility", {268,269,270} }, -- Roll [all Monk]
        { 467307, "", {269} }, -- Rushing Wind Kick [WW]
        { 1217413, "Essential", {269} }, -- Slicing Winds [WW]
        { 198898, "Utility", {268,269,270} }, -- Song of Chi-Ji [all Monk]
        { 115175, "Essential", {270} }, -- Soothing Mist [MW]
        { 116705, "Utility", {268,269,270} }, -- Spear Hand Strike [all Monk]
        { 101546, "Essential", {268,269,270} }, -- Spinning Crane Kick [all Monk]
        { 392983, "Essential", {269} }, -- Strike of the Windlord [WW]
        { 116680, "Essential", {270} }, -- Thunder Focus Tea [MW]
        { 100780, "Essential", {268,269,270} }, -- Tiger Palm [all Monk]
        { 116841, "Utility", {268,269,270} }, -- Tiger's Lust [all Monk]
        { 322109, "Utility", {268,269,270} }, -- Touch of Death [all Monk]
        { 122470, "Utility", {269} }, -- Touch of Karma [WW]
        { 101643, "Utility", {268,269,270} }, -- Transcendence [all Monk]
        { 119996, "Utility", {268,269,270} }, -- Transcendence: Transfer [all Monk]
        { 434766, "Utility", {268,269,270} }, -- Transcendence: Transfer [all Monk]
        { 116670, "Essential", {270} }, -- Vivify [MW]
        { 152175, "Essential", {269} }, -- Whirling Dragon Punch [WW]
        { 1249625, "Essential", {269} }, -- Zenith [WW]
    },
    ["PALADIN"] = {
        { 31850, "Essential", {66} }, -- Ardent Defender [Prot]
        { 31821, "Essential", {65} }, -- Aura Mastery [Holy]
        { 31935, "Essential", {66} }, -- Avenger's Shield [Prot]
        { 31884, "Essential", {65,66,70} }, -- Avenging Wrath [all Paladin]
        { 156910, "Essential", {65} }, -- Beacon of Faith [Holy]
        { 53563, "Essential", {65} }, -- Beacon of Light [Holy]
        { 200025, "Essential", {65} }, -- Beacon of Virtue [Holy]
        { 184575, "Essential", {70} }, -- Blade of Justice [Ret]
        { 1044, "Utility", {65,66,70} }, -- Blessing of Freedom [all Paladin]
        { 1022, "Utility", {65,66,70} }, -- Blessing of Protection [all Paladin]
        { 6940, "Utility", {65,66,70} }, -- Blessing of Sacrifice [all Paladin]
        { 210256, "Utility", {70} }, -- Blessing of Sanctuary [Ret]
        { 204018, "Utility", {65,66,70} }, -- Blessing of Spellwarding [all Paladin]
        { 115750, "Utility", {65,66,70} }, -- Blinding Light [all Paladin]
        { 4987, "Utility", {65} }, -- Cleanse [Holy]
        { 213644, "Utility", {65,66,70} }, -- Cleanse Toxins [all Paladin]
        { 26573, "Essential", {65,66,70} }, -- Consecration [all Paladin]
        { 35395, "Essential", {65,66,70} }, -- Crusader Strike [all Paladin]
        { 408385, "", {70} }, -- Crusading Strikes [Ret]
        { 198137, "", {65,66,70} }, -- Divine Hammer [all Paladin]
        { 1236942, "", {65,66,70} }, -- Divine Hammer [all Paladin]
        { 498, "Utility", {65} }, -- Divine Protection [Holy]
        { 403876, "Utility", {70} }, -- Divine Protection [Ret]
        { 642, "Utility", {65,66,70} }, -- Divine Shield [all Paladin]
        { 190784, "Utility", {65,66,70} }, -- Divine Steed [all Paladin]
        { 53385, "Essential", {70} }, -- Divine Storm [Ret]
        { 375576, "Essential", {65,66,70} }, -- Divine Toll [all Paladin]
        { 343527, "Essential", {70} }, -- Execution Sentence [Ret]
        { 19750, "Essential", {65} }, -- Flash of Light [Holy]
        { 86659, "Essential", {66} }, -- Guardian of Ancient Kings [Prot]
        { 853, "Utility", {65,66,70} }, -- Hammer of Justice [all Paladin]
        { 62124, "Utility", {66} }, -- Hand of Reckoning [Prot]
        { 432459, "Essential", {65,66,70} }, -- Holy Bulwark [all Paladin]
        { 82326, "Essential", {65} }, -- Holy Light [Holy]
        { 114165, "Essential", {65} }, -- Holy Prism [Holy]
        { 20473, "Essential", {65} }, -- Holy Shock [Holy]
        { 391054, "Utility", {65,66,70} }, -- Intercession [all Paladin]
        { 20271, "Essential", {70} }, -- Judgment [Ret]
        { 275773, "Essential", {65} }, -- Judgment [Holy]
        { 275779, "Essential", {66} }, -- Judgment [Prot]
        { 633, "Utility", {65,66,70} }, -- Lay on Hands [all Paladin]
        { 471195, "", {65,66,70} }, -- Lay on Hands [all Paladin]
        { 85222, "Essential", {65} }, -- Light of Dawn [Holy]
        { 96231, "Utility", {65,66,70} }, -- Rebuke [all Paladin]
        { 461867, "", {65,66,70} }, -- Sacrosanct Crusade [all Paladin]
        { 410126, "Utility", {66} }, -- Searing Glare [Prot]
        { 53600, "Essential", {66} }, -- Shield of the Righteous [Prot]
        { 415091, "Essential", {65} }, -- Shield of the Righteous [Holy]
        { 215652, "Utility", {66} }, -- Shield of Virtue [Prot]
        { 85256, "Essential", {70} }, -- Templar's Verdict [Ret]
        { 10326, "Utility", {65,66,70} }, -- Turn Evil [all Paladin]
        { 255937, "Essential", {70} }, -- Wake of Ashes [Ret]
        { 85673, "Essential", {65,66,70} }, -- Word of Glory [all Paladin]
    },
    ["PRIEST"] = {
        { 121536, "Utility", {256,257,258} }, -- Angelic Feather [all Priest]
        { 200183, "Essential", {257} }, -- Apotheosis [Holy]
        { 1262763, "", {257} }, -- Benediction [Holy]
        { 19236, "Utility", {256,257,258} }, -- Desperate Prayer [all Priest]
        { 47585, "Utility", {258} }, -- Dispersion [Shadow]
        { 64843, "Essential", {257} }, -- Divine Hymn [Holy]
        { 64844, "", {257} }, -- Divine Hymn [Holy]
        { 205364, "Utility", {256,257,258} }, -- Dominate Mind [all Priest]
        { 472433, "Essential", {256} }, -- Evangelism [Disc]
        { 586, "Utility", {256,257,258} }, -- Fade [all Priest]
        { 2061, "Essential", {257} }, -- Flash Heal [Holy]
        { 289666, "Essential", {257} }, -- Greater Heal [Holy]
        { 47788, "Essential", {257} }, -- Guardian Spirit [Holy]
        { 120517, "Essential", {257} }, -- Halo [Holy]
        { 120644, "Essential", {258} }, -- Halo [Shadow]
        { 132157, "Essential", {256,257,258} }, -- Holy Nova [all Priest]
        { 88625, "Essential", {257} }, -- Holy Word: Chastise [Holy]
        { 34861, "Essential", {257} }, -- Holy Word: Sanctify [Holy]
        { 2050, "Essential", {257} }, -- Holy Word: Serenity [Holy]
        { 356085, "Utility", {256} }, -- Inner Light and Shadow [Disc]
        { 73325, "Utility", {256,257,258} }, -- Leap of Faith [all Priest]
        { 32375, "Utility", {256,257,258} }, -- Mass Dispel [all Priest]
        { 8092, "Essential", {256,257,258} }, -- Mind Blast [all Priest]
        { 15407, "Essential", {258} }, -- Mind Flay [Shadow]
        { 453, "Utility", {256,257,258} }, -- Mind Soothe [all Priest]
        { 375901, "Essential", {256,257,258} }, -- Mindgames [all Priest]
        { 33206, "Utility", {256} }, -- Pain Suppression [Disc]
        { 47540, "Essential", {256} }, -- Penance [Disc]
        { 10060, "Essential", {256,257,258} }, -- Power Infusion [all Priest]
        { 62618, "Essential", {256} }, -- Power Word: Barrier [Disc]
        { 194509, "Essential", {256} }, -- Power Word: Radiance [Disc]
        { 17, "Essential", {256,257,258} }, -- Power Word: Shield [all Priest]
        { 596, "Essential", {257} }, -- Prayer of Healing [Holy]
        { 33076, "Essential", {257} }, -- Prayer of Mending [Holy]
        { 8122, "Utility", {256,257,258} }, -- Psychic Scream [all Priest]
        { 211522, "Utility", {258} }, -- Psyfiend [Shadow]
        { 527, "Utility", {256,257,258} }, -- Purify [all Priest]
        { 213634, "Utility", {258} }, -- Purify Disease [Shadow]
        { 9484, "Essential", {256,257,258} }, -- Shackle Horror [all Priest]
        { 32379, "Essential", {256,257,258} }, -- Shadow Word: Death [all Priest]
        { 335467, "Essential", {258} }, -- Shadow Word: Madness [Shadow]
        { 589, "Essential", {256,257,258} }, -- Shadow Word: Pain [all Priest]
        { 15487, "Utility", {258} }, -- Silence [Shadow]
        { 1250385, "", {256,257,258} }, -- Spectral Illusion [all Priest]
        { 215769, "Essential", {257} }, -- Spirit of Redemption [Holy]
        { 1227280, "Essential", {258} }, -- Tentacle Slam [Shadow]
        { 421453, "Essential", {256} }, -- Ultimate Penitence [Disc]
        { 15286, "Utility", {258} }, -- Vampiric Embrace [Shadow]
        { 34914, "Essential", {258} }, -- Vampiric Touch [Shadow]
        { 263165, "Essential", {258} }, -- Void Torrent [Shadow]
        { 228260, "Essential", {258} }, -- Voidform [Shadow]
    },
    ["ROGUE"] = {
        { 13750, "Essential", {260} }, -- Adrenaline Rush [Outlaw]
        { 53, "Essential", {261} }, -- Backstab [Sub]
        { 315341, "Essential", {260} }, -- Between the Eyes [Outlaw]
        { 13877, "Essential", {260} }, -- Blade Flurry [Outlaw]
        { 271877, "Essential", {260} }, -- Blade Rush [Outlaw]
        { 2094, "Utility", {259,260,261} }, -- Blind [all Rogue]
        { 1833, "Utility", {259,260,261} }, -- Cheap Shot [all Rogue]
        { 31224, "Utility", {259,260,261} }, -- Cloak of Shadows [all Rogue]
        { 441776, "", {259,260,261} }, -- Coup de Grace [all Rogue]
        { 1247227, "Essential", {259} }, -- Crimson Tempest [Assa]
        { 185311, "Utility", {259,260,261} }, -- Crimson Vial [all Rogue]
        { 269513, "Essential", {259,260,261} }, -- Death from Above [all Rogue]
        { 360194, "Essential", {259} }, -- Deathmark [Assa]
        { 207777, "Utility", {259,260,261} }, -- Dismantle [all Rogue]
        { 2098, "Essential", {260} }, -- Dispatch [Outlaw]
        { 1725, "Utility", {259,260,261} }, -- Distract [all Rogue]
        { 32645, "Essential", {259} }, -- Envenom [Assa]
        { 5277, "Utility", {259,260,261} }, -- Evasion [all Rogue]
        { 196819, "Essential", {261} }, -- Eviscerate [Sub]
        { 51723, "Essential", {259} }, -- Fan of Knives [Assa]
        { 1966, "Utility", {259,260,261} }, -- Feint [all Rogue]
        { 703, "Essential", {259} }, -- Garrote [Assa]
        { 426591, "Essential", {261} }, -- Goremaw's Bite [Sub]
        { 1776, "Utility", {259,260,261} }, -- Gouge [all Rogue]
        { 195457, "Utility", {260} }, -- Grappling Hook [Outlaw]
        { 381989, "Essential", {260} }, -- Keep It Rolling [Outlaw]
        { 1766, "Utility", {259,260,261} }, -- Kick [all Rogue]
        { 408, "Utility", {259,260,261} }, -- Kidney Shot [all Rogue]
        { 51690, "Essential", {260} }, -- Killing Spree [Outlaw]
        { 385627, "Essential", {259} }, -- Kingsbane [Assa]
        { 1293340, "Essential", {259,260,261} }, -- Mark for Death [all Rogue]
        { 1329, "Essential", {259} }, -- Mutilate [Assa]
        { 185763, "Essential", {260} }, -- Pistol Shot [Outlaw]
        { 1277933, "Essential", {260} }, -- Preparation [Outlaw]
        { 1214909, "Essential", {260} }, -- Roll the Bones [Outlaw]
        { 1943, "Essential", {259} }, -- Rupture [Assa]
        { 6770, "Utility", {259,260,261} }, -- Sap [all Rogue]
        { 280719, "Essential", {261} }, -- Secret Technique [Sub]
        { 121471, "Essential", {261} }, -- Shadow Blades [Sub]
        { 185313, "Essential", {261} }, -- Shadow Dance [Sub]
        { 36554, "Utility", {259,260,261} }, -- Shadowstep [all Rogue]
        { 5938, "Utility", {259,260,261} }, -- Shiv [all Rogue]
        { 114018, "Utility", {259,260,261} }, -- Shroud of Concealment [all Rogue]
        { 193315, "Essential", {260} }, -- Sinister Strike [Outlaw]
        { 315496, "Essential", {259,260,261} }, -- Slice and Dice [all Rogue]
        { 212182, "Utility", {259,260,261} }, -- Smoke Bomb [all Rogue]
        { 2983, "Utility", {259,260,261} }, -- Sprint [all Rogue]
        { 381623, "Essential", {259,260,261} }, -- Thistle Tea [all Rogue]
        { 57934, "Utility", {259,260,261} }, -- Tricks of the Trade [all Rogue]
        { 1856, "Utility", {259,260,261} }, -- Vanish [all Rogue]
    },
    ["SHAMAN"] = {
        { 443454, "Essential", {262,263,264} }, -- Ancestral Swiftness [all Shaman]
        { 114050, "Essential", {262} }, -- Ascendance [Ele]
        { 114051, "", {263} }, -- Ascendance [Enh]
        { 114052, "Essential", {264} }, -- Ascendance [Resto]
        { 556, "Essential", {262,263,264} }, -- Astral Recall [all Shaman]
        { 108271, "Utility", {262,263,264} }, -- Astral Shift [all Shaman]
        { 2825, "Utility", {262,263,264} }, -- Bloodlust [all Shaman]
        { 204361, "Utility", {263} }, -- Bloodlust [Enh]
        { 409293, "Utility", {262,263,264} }, -- Burrow [all Shaman]
        { 192058, "Utility", {262,263,264} }, -- Capacitor Totem [all Shaman]
        { 1064, "Essential", {264} }, -- Chain Heal [Resto]
        { 188443, "Essential", {262,263,264} }, -- Chain Lightning [all Shaman]
        { 51886, "Utility", {262,263,264} }, -- Cleanse Spirit [all Shaman]
        { 204331, "Utility", {262,263,264} }, -- Counterstrike Totem [all Shaman]
        { 187874, "Essential", {263} }, -- Crash Lightning [Enh]
        { 469270, "", {263} }, -- Doom Winds [Enh]
        { 384352, "Essential", {263} }, -- Doom Winds [Enh]
        { 198103, "Utility", {262,263,264} }, -- Earth Elemental [all Shaman]
        { 8042, "Essential", {262} }, -- Earth Shock [Ele]
        { 2484, "Utility", {262,263,264} }, -- Earthbind Totem [all Shaman]
        { 462620, "Essential", {262} }, -- Earthquake [Ele]
        { 61882, "Essential", {262} }, -- Earthquake [Ele]
        { 117014, "Essential", {262} }, -- Elemental Blast [Ele]
        { 196881, "", {263} }, -- Feral Lunge [Enh]
        { 196884, "Utility", {263} }, -- Feral Lunge [Enh]
        { 188389, "", {262,263,264} }, -- Flame Shock [all Shaman]
        { 470411, "Essential", {262,263,264} }, -- Flame Shock [all Shaman]
        { 196840, "Utility", {262,263,264} }, -- Frost Shock [all Shaman]
        { 2645, "", {262,263,264} }, -- Ghost Wolf [all Shaman]
        { 378773, "Utility", {262,263,264} }, -- Greater Purge [all Shaman]
        { 204336, "Utility", {262,263,264} }, -- Grounding Totem [all Shaman]
        { 192063, "Utility", {262,263,264} }, -- Gust of Wind [all Shaman]
        { 456366, "", {264} }, -- Healing Rain [Resto]
        { 73920, "Essential", {264} }, -- Healing Rain [Resto]
        { 5394, "Utility", {262,263,264} }, -- Healing Stream Totem [all Shaman]
        { 108280, "Essential", {264} }, -- Healing Tide Totem [Resto]
        { 32182, "Utility", {262,263,264} }, -- Heroism [all Shaman]
        { 204362, "Utility", {263} }, -- Heroism [Enh]
        { 51514, "Utility", {262,263,264} }, -- Hex [all Shaman]
        { 51505, "Essential", {262,263,264} }, -- Lava Burst [all Shaman]
        { 60103, "Essential", {263} }, -- Lava Lash [Enh]
        { 188196, "Essential", {262,263,264} }, -- Lightning Bolt [all Shaman]
        { 305483, "Utility", {262,263,264} }, -- Lightning Lasso [all Shaman]
        { 378081, "Essential", {262,263,264} }, -- Nature's Swiftness [all Shaman]
        { 383013, "Utility", {262,263,264} }, -- Poison Cleansing Totem [all Shaman]
        { 1218090, "", {263} }, -- Primordial Storm [Enh]
        { 370, "Utility", {263} }, -- Purge [Enh]
        { 77130, "Utility", {264} }, -- Purify Spirit [Resto]
        { 20608, "Utility", {262,263,264} }, -- Reincarnation [all Shaman]
        { 61295, "Essential", {264} }, -- Riptide [Resto]
        { 98008, "Essential", {264} }, -- Spirit Link Totem [Resto]
        { 58875, "Utility", {262,263,264} }, -- Spirit Walk [all Shaman]
        { 79206, "Utility", {262,263,264} }, -- Spiritwalker's Grace [all Shaman]
        { 355580, "Utility", {262,263,264} }, -- Static Field Totem [all Shaman]
        { 191634, "Essential", {262} }, -- Stormkeeper [Ele]
        { 1267068, "", {264} }, -- Stormstream Totem [Resto]
        { 17364, "Essential", {263} }, -- Stormstrike [Enh]
        { 197214, "Essential", {263} }, -- Sundering [Enh]
        { 444995, "Essential", {262,263,264} }, -- Surging Totem [all Shaman]
        { 452201, "", {262,263,264} }, -- Tempest [all Shaman]
        { 51490, "Utility", {262} }, -- Thunderstorm [Ele]
        { 108287, "Utility", {262,263,264} }, -- Totemic Projection [all Shaman]
        { 8143, "Utility", {262,263,264} }, -- Tremor Totem [all Shaman]
        { 73685, "Essential", {264} }, -- Unleash Life [Resto]
        { 192077, "Utility", {262,263,264} }, -- Wind Rush Totem [all Shaman]
        { 57994, "Utility", {262,263,264} }, -- Wind Shear [all Shaman]
    },
    ["WARLOCK"] = {
        { 980, "Essential", {265} }, -- Agony [Affli]
        { 1271802, "Essential", {265,266,267} }, -- Blight of Tongues [all Warlock]
        { 1271748, "Essential", {265,266,267} }, -- Blight of Weakness [all Warlock]
        { 353753, "Essential", {265,266,267} }, -- Bonds of Fel [all Warlock]
        { 111400, "", {265,266,267} }, -- Burning Rush [all Warlock]
        { 104316, "Essential", {266} }, -- Call Dreadstalkers [Demo]
        { 212459, "Essential", {266} }, -- Call Fel Lord [Demo]
        { 152108, "Essential", {267} }, -- Cataclysm [Destro]
        { 196447, "Essential", {267} }, -- Channel Demonfire [Destro]
        { 116858, "Essential", {267} }, -- Chaos Bolt [Destro]
        { 119898, "Utility", {265,266,267} }, -- Command Demon [all Warlock]
        { 17962, "Essential", {267} }, -- Conflagrate [Destro]
        { 172, "Essential", {265} }, -- Corruption [Affli]
        { 29893, "Utility", {265,266,267} }, -- Create Soulwell [all Warlock]
        { 1714, "", {265,266,267} }, -- Curse of Tongues [all Warlock]
        { 1257052, "Essential", {265} }, -- Dark Harvest [Affli]
        { 108416, "Utility", {265,266,267} }, -- Dark Pact [all Warlock]
        { 264178, "Essential", {266} }, -- Demonbolt [Demo]
        { 48020, "Utility", {265,266,267} }, -- Demonic Circle: Teleport [all Warlock]
        { 111771, "Utility", {265,266,267} }, -- Demonic Gateway [all Warlock]
        { 333889, "Utility", {265,266,267} }, -- Fel Domination [all Warlock]
        { 1276467, "Essential", {266} }, -- Grimoire: Fel Ravager [Demo]
        { 1276452, "Essential", {266} }, -- Grimoire: Imp Lord [Demo]
        { 105174, "Essential", {266} }, -- Hand of Gul'dan [Demo]
        { 48181, "Essential", {265} }, -- Haunt [Affli]
        { 80240, "Essential", {267} }, -- Havoc [Destro]
        { 5484, "Utility", {265,266,267} }, -- Howl of Terror [all Warlock]
        { 348, "Essential", {267} }, -- Immolate [Destro]
        { 196277, "Essential", {266} }, -- Implosion [Demo]
        { 434506, "", {265,266,267} }, -- Infernal Bolt [all Warlock]
        { 1244918, "", {267} }, -- Lake of Fire [Destro]
        { 442726, "Essential", {265,266,267} }, -- Malevolence [all Warlock]
        { 6789, "Utility", {265,266,267} }, -- Mortal Coil [all Warlock]
        { 212295, "Utility", {265,266,267} }, -- Nether Ward [all Warlock]
        { 264130, "Essential", {266} }, -- Power Siphon [Demo]
        { 5740, "Essential", {267} }, -- Rain of Fire [Destro]
        { 1214467, "Essential", {267} }, -- Rain of Fire [Destro]
        { 434635, "", {265,266,267} }, -- Ruination [all Warlock]
        { 27243, "", {265} }, -- Seed of Corruption [Affli]
        { 686, "Essential", {265,266,267} }, -- Shadow Bolt [all Warlock]
        { 353294, "Utility", {265,266,267} }, -- Shadow Rift [all Warlock]
        { 17877, "Essential", {267} }, -- Shadowburn [Destro]
        { 30283, "Utility", {265,266,267} }, -- Shadowfury [all Warlock]
        { 6353, "Essential", {267} }, -- Soul Fire [Destro]
        { 410598, "Essential", {265,266,267} }, -- Soul Rip [all Warlock]
        { 386951, "Essential", {265} }, -- Soul Swap [Affli]
        { 385899, "", {265,266,267} }, -- Soulburn [all Warlock]
        { 20707, "Utility", {265,266,267} }, -- Soulstone [all Warlock]
        { 205180, "Essential", {265} }, -- Summon Darkglare [Affli]
        { 265187, "Essential", {266} }, -- Summon Demonic Tyrant [Demo]
        { 1276672, "Essential", {266} }, -- Summon Doomguard [Demo]
        { 1122, "Essential", {267} }, -- Summon Infernal [Destro]
        { 104773, "Utility", {265,266,267} }, -- Unending Resolve [all Warlock]
        { 1259790, "Essential", {265} }, -- Unstable Affliction [Affli]
    },
    ["WARRIOR"] = {
        { 107574, "Essential", {71,72,73} }, -- Avatar [all Warrior]
        { 18499, "Utility", {71,72,73} }, -- Berserker Rage [all Warrior]
        { 446035, "", {71,72,73} }, -- Bladestorm [all Warrior]
        { 227847, "Essential", {71,72,73} }, -- Bladestorm [all Warrior]
        { 23881, "Essential", {72} }, -- Bloodthirst [Fury]
        { 213871, "Utility", {73} }, -- Bodyguard [Prot]
        { 1161, "Utility", {73} }, -- Challenging Shout [Prot]
        { 376079, "Essential", {71,72,73} }, -- Champion's Spear [all Warrior]
        { 100, "Utility", {71,72,73} }, -- Charge [all Warrior]
        { 126664, "", {71,72,73} }, -- Charge [all Warrior]
        { 845, "Essential", {71} }, -- Cleave [Arms]
        { 167105, "Essential", {71} }, -- Colossus Smash [Arms]
        { 199261, "Utility", {72} }, -- Death Wish [Fury]
        { 436358, "Essential", {71,72,73} }, -- Demolish [all Warrior]
        { 1160, "Essential", {73} }, -- Demoralizing Shout [Prot]
        { 118038, "Utility", {71} }, -- Die by the Sword [Arms]
        { 236077, "Utility", {71,72,73} }, -- Disarm [all Warrior]
        { 236273, "Utility", {71} }, -- Duel [Arms]
        { 184364, "Utility", {72} }, -- Enraged Regeneration [Fury]
        { 5308, "Essential", {72} }, -- Execute [Fury]
        { 163201, "Essential", {71,72,73} }, -- Execute [all Warrior]
        { 281000, "", {71,72,73} }, -- Execute [all Warrior]
        { 52174, "", {71,72,73} }, -- Heroic Leap [all Warrior]
        { 6544, "Utility", {71,72,73} }, -- Heroic Leap [all Warrior]
        { 190456, "Essential", {73} }, -- Ignore Pain [Prot]
        { 1277297, "Utility", {71} }, -- Ignore Pain [Arms]
        { 1244088, "Utility", {71,72,73} }, -- Interpose [all Warrior]
        { 3411, "Utility", {71,72,73} }, -- Intervene [all Warrior]
        { 5246, "Utility", {71,72,73} }, -- Intimidating Shout [all Warrior]
        { 12294, "Essential", {71} }, -- Mortal Strike [Arms]
        { 385059, "Essential", {72} }, -- Odyn's Fury [Fury]
        { 385060, "", {72} }, -- Odyn's Fury [Fury]
        { 385062, "", {72} }, -- Odyn's Fury [Fury]
        { 7384, "Essential", {71} }, -- Overpower [Arms]
        { 12323, "Utility", {71,72,73} }, -- Piercing Howl [all Warrior]
        { 6552, "Utility", {71,72,73} }, -- Pummel [all Warrior]
        { 85288, "Essential", {72} }, -- Raging Blow [Fury]
        { 97462, "Utility", {71,72,73} }, -- Rallying Cry [all Warrior]
        { 184367, "Essential", {72} }, -- Rampage [Fury]
        { 228920, "Essential", {71,72,73} }, -- Ravager [all Warrior]
        { 1719, "Essential", {72} }, -- Recklessness [Fury]
        { 772, "Essential", {71,72,73} }, -- Rend [all Warrior]
        { 6572, "Essential", {73} }, -- Revenge [Prot]
        { 64382, "Utility", {71,72,73} }, -- Shattering Throw [all Warrior]
        { 2565, "Essential", {71,72,73} }, -- Shield Block [all Warrior]
        { 385954, "", {73} }, -- Shield Charge [Prot]
        { 385952, "Essential", {73} }, -- Shield Charge [Prot]
        { 23922, "Essential", {71,72,73} }, -- Shield Slam [all Warrior]
        { 871, "Essential", {73} }, -- Shield Wall [Prot]
        { 46968, "Utility", {71,72,73} }, -- Shockwave [all Warrior]
        { 1464, "Essential", {71} }, -- Slam [Arms]
        { 23920, "Utility", {71,72,73} }, -- Spell Reflection [all Warrior]
        { 107570, "Utility", {71,72,73} }, -- Storm Bolt [all Warrior]
        { 260708, "Essential", {71} }, -- Sweeping Strikes [Arms]
        { 355, "Utility", {71,72,73} }, -- Taunt [all Warrior]
        { 435222, "", {71,72,73} }, -- Thunder Blast [all Warrior]
        { 6343, "Essential", {71,72,73} }, -- Thunder Clap [all Warrior]
        { 34428, "Utility", {71,72,73} }, -- Victory Rush [all Warrior]
        { 384110, "Utility", {71,72,73} }, -- Wrecking Throw [all Warrior]
    },
}

-- === Items (item IDs) ===
local ITEMS = {
    [""] = {
		{ 244838, "Health Potion" }, -- Invigorating Healting Potion
		{ 271884, "Health Potion" }, -- Concentrated Silvermoon Health Potion
        { 241289, "Combat Potion" }, -- Potion of Recklessness
		{ 271887, "Combat Potion" }, -- Liquid Luster
		{ 271890, "Combat Potion" }, -- Alluring Nostrum
		{ 280409, "Combat Potion" }, -- Potion of Liquid Undeath
		{ 279550, "Combat Potion" }, -- Potion of Venomous Return
		{ 219314, "Trinket" }, -- Ara-Kara Sacbrood
		{ 225654, "Trinket" }, -- #225654
		{ 249343, "Trinket" }, -- Gaze of the Alnseer
		{ 260235, "Trinket" }, -- Umbral Plume
		{ 249806, "Trinket" }, -- Radiant Plume
		{ 249807, "Trinket" }, -- The Eternal Egg
		{ 249811, "Trinket" }, -- Light of the Cosmic Crescendo
		{ 249810, "Trinket" }, -- Shadow of the Empyrean Requiem
		{ 249805, "Trinket" }, -- Undreamt God's Oozing Vestige
		{ 249342, "Trinket" }, -- Heart of Ancient Hunger
		{ 249809, "Trinket" }, -- Locus-Walker's Ribbon
		{ 249341, "Trinket" }, -- Volatile Void Suffuser
		{ 249339, "Trinket" }, -- Gloom-Spattered Dreadscale
		{ 249344, "Trinket" }, -- Light Company Guidon
		{ 270167, "Trinket" }, -- Wavecaller's Seastone
		{ 270166, "Trinket" }, -- Vashnik's Sanguine Rancor
		{ 270169, "Trinket" }, -- Hex Lord's Dooming Idol
		{ 270165, "Trinket" }, -- Keeper's Seething Core
		{ 270175, "Trinket" }, -- Voracious Heart of Ula'tek
		{ 270171, "Trinket" }, -- Preternatural Antivenom
		{ 270174, "Trinket" }, -- Idol of the Howling Nexus
		{ 270160, "Trinket" }, -- First Mate's Shellward
		{ 270161, "Trinket" }, -- Fang of Umbral Malignance
		{ 270164, "Trinket" }, -- Gebbo's Bottomless Bag
		{ 270162, "Trinket" }, -- Soulcoiler Ritual Vessel
		{ 280097, "Trinket" }, -- #280097
		{ 270603, "Trinket" }, -- #270603
		{ 255328, "Trinket" }, -- #255328
		{ 255614, "Trinket" }, -- #255614
		{ 267469, "Trinket" }, -- #267469
		{ 280376, "Trinket" }, -- #280376
		{ 273796, "Trinket" }, -- Vile Vial of Volatile Venom
		{ 273795, "Trinket" }, -- Coiled Fangstone
		{ 273797, "Trinket" }, -- Tattered Amani War Banner
		{ 193757, "Trinket" }, -- Ruby Whelp Shell
		{ 193762, "Trinket" }, -- Blazebinder's Hoof
		{ 250254, "Trinket" }, -- Seed of Radiant Hope
		{ 250238, "Trinket" }, -- Seed of the Devouring Wild
		{ 250214, "Trinket" }, -- Lightspire Core
		{ 250259, "Trinket" }, -- Sapling of the Dawnroot
		{ 250248, "Trinket" }, -- Mycolic Medicine
		{ 250244, "Trinket" }, -- Permafrost Essence
		{ 250229, "Trinket" }, -- Idol of the War Loa
		{ 250243, "Trinket" }, -- Manaheart's Binding Flame
		{ 250215, "Trinket" }, -- Freightrunner's Flask
		{ 250228, "Trinket" }, -- Resonant Bellowstone
		{ 250255, "Trinket" }, -- Unstable Felheart Crystal
		{ 250225, "Trinket" }, -- Void Execution Mandate
		{ 250224, "Trinket" }, -- Mindpiercer's Sigil
		{ 273649, "Trinket" }, -- Stormbound Emblem of Dazar
		{ 159617, "Trinket" }, -- Lustrous Golden Plumage
		{ 159618, "Trinket" }, -- Mchimba's Ritual Bandages
		{ 158367, "Trinket" }, -- Merektha's Fang
		{ 158374, "Trinket" }, -- Tiny Electromental in a Jar
		{ 158368, "Trinket" }, -- Sethraliss' Defiled Relic
		{ 264878, "Trinket" }, -- Astalor's Anguish Agitator
		{ 251789, "Trinket" }, -- Consecrated Chalice
		{ 251790, "Trinket" }, -- Desecrated Chalice
		{ 251792, "Trinket" }, -- #251792
		{ 251783, "Trinket" }, -- #251783
		{ 251785, "Trinket" }, -- #251785
		{ 265657, "Trinket" }, -- #265657
		{ 248583, "Trinket" }, -- Drum of Renewed Bonds
		{ 274496, "Trinket" }, -- #274496
		{ 274495, "Trinket" }, -- #274495
		{ 274493, "Trinket" }, -- #274493
		{ 274499, "Trinket" }, -- #274499
		{ 280091, "Trinket" }, -- #280091
		{ 280047, "Trinket" }, -- #280047
		{ 280377, "Trinket" }, -- #280377
    },
}

-------------------------------------------------------------------------------
-- COMPOUND abilities/items: casts that APPLY a tracked aura. A single
-- ability/item tracker for a flagged ID auto-adds an "(Active)" overlay
-- element per Icon/Bar — an aura display for the applied aura, position-
-- locked over the cooldown art. The ENGINE shows/hides the overlay with the
-- aura (no Lua aura reads — combat-safe by construction): aura up = its
-- display obscures the cooldown, aura drops = cooldown revealed.
--
--   polarity "help" = self buff on the player  (HELPFUL slot, unit player)
--   polarity "harm" = the player's own debuff on the enemy target
--                     (HARMFUL|PLAYER slot, unit target). DATA SHAPE ONLY
--                     for now: harm pairs are not created yet (the target-
--                     unit overlay path needs its own PTR verification).
--   auras = spellID SET the overlay slot filters on. Often the cast's own
--   ID, but some spells apply a different-ID aura; multi-ID auras list all.
-------------------------------------------------------------------------------
local COMPOUND_ABILITIES = {
    [358267] = { polarity = "help", auras = { 358267 } }, -- Hover
}
local COMPOUND_ITEMS = {
    -- [itemID] = { polarity = "help", auras = { buffSpellID } },
}

-- Compound entry for a single tracker's stored ID, or nil.
function ns.CompoundInfo(id, isItem)
    if not id then return nil end
    if isItem then return COMPOUND_ITEMS[id] end
    return COMPOUND_ABILITIES[id]
end

ns.SpellData.Register("ability", ABILITIES)
ns.SpellData.Register("item",    ITEMS)
