-- Data/Data_Tokens.lua
-- Tables de tokens (EN/FR/DE/ES) + alias de zones -> clés d’événements.
-- Pas d’exécution ici ; uniquement des données consommées par Events.lua.
local ADDON_NAME, SRPWL = ...
SRPWL = SRPWL or {}

-- =============== TOKENS (spells / items / emotes) ============================
-- Remarque : on matche des "stems" normalisés (voir norm() dans Events.lua).
SRPWL.KW = {
  -- Utilitaires démoniste / objets communs
  hearthstone = {
    -- EN
    "hearth",
    -- FR
    "pierre de foyer","foyer",
    -- ES
    "piedra de hogar","hogar",
    -- DE
    "ruhestein"
  },

  healthstone = {
    -- EN
    "healthstone",
    -- FR
    "pierre de soins","pierre de soin",
    -- ES
    "piedra de salud",
    -- DE
    "gesundheitsstein"
  },

  soulstone = {
    -- EN
    "soulstone","soulwell",
    -- FR
    "pierre d'ame","pierre d’ame","pierre d'âme","pierre d’âme",
    "puits d'ames","puits d’ames","puits des ames","puits des âmes","puits d'âme","puits d’âme",
    -- ES
    "piedra de alma","pozo de almas",
    -- DE
    "seelenstein","seelenbrunn","seelenbrunnen"
  },

  summon_rit = {
    -- EN
    "ritual of summoning",
    -- FR
    "rituel d'invocation","rituel d’invocation",
    -- ES
    "ritual de invoc",
    -- DE
    "ritual der beschw"
  },

  gateway = {
    -- EN
    "demonic gateway","gateway",
    -- FR (nom officiel)
    "porte des demons","porte des démons",
    -- ES
    "portal demoniac","portal demon","portal demoníac","portal demoníaco",
    -- DE
    "demonisches portal","dämonisches portal","daemonisches portal"
  },

  -- Potions : stems larges (FR/ES/DE) ; on garde les espaces pour limiter les faux positifs.
  potion = { "potion "," potion","pocion","poción","poci","trank","trän" },

  -- Invocation de démons (sorts "Summon X")
  sum_demon = {
    -- EN
    "summon ",
    -- FR
    "invocation d","invoque ",
    -- ES
    "invocar ",
    -- DE
    "beschwor","beschwör","beschw "
  },

  -- ====================== EMOTES (FR/EN/DE/ES) ==============================
  -- Stems courts pour tolérer conjugaisons et variantes chat système.
  emote_bow      = { "s'incline"," incline","bow","verbeug","verbeugt","se inclina" },
  emote_kneel    = { "agenou"," a genoux","kneel","kniet","se arrod" },
  emote_laugh    = {
    " vous riez"," riez"," rigole","rire","rit ","rican","moqu",
    "laugh","lol","ptdr","mdr","xd",
    "lacht",
    "se rie","se ríe","risas","jaj"
  },
  emote_thank    = { "remerc","merci","thank","danke","graci" },
  emote_wink     = { "clin d","cligne de l","wink","zwinker","guiño","guino" },
  emote_roar     = { "rug","roar","hurl","brull","brüll","ruge" },
  emote_cry      = { "pleur","sanglot","larme","larmes","cry","weint","llora","lagrim","lágrim" },
  emote_beg      = { "supplie","supplier","implor","pitoy","pitie","pitié","beg","bettel","suplic" },
  emote_pat      = { "tapote","tapoter","tapotes","tape dans le dos"," pat ","pats","klopf","klopft","acaricia la espalda" },
  emote_hug      = { "câlin","calin","serre","enlace","etreint","étreint","prend dans ses bras","hug","umarm","umarmt","abraza","abraz" },
  emote_rude     = { "grossier","obscen","obscène","rude","doigt","unhof","unhöf","grobes","grosero","pein" },
  emote_sit      = { "s'assoit"," vous asseyez"," assis","sit ","setzt sich","se sienta","sentar" },
  emote_sleep    = { "endorm","dort","sommeil","sleep","schlaft","schläft","duerm" },
  emote_yes      = { "hoche","acquiesc"," opine"," oui"," nod","affirmatif","ja ","stimmt zu","asiente","si ","sí " },
  emote_no       = { "secoue"," non","no."," refuse"," shake","nein","nicht","rechaza" },
  emote_cheer    = { "acclame","hurrah","bravo","cheer","jubelt","anima","vitorea" },
  emote_clap     = { "applaud","clap","applause","klatsch","klatscht","aplaud" },
  emote_salute   = { "salut milita","salute","grusst milit","grüßt milit","saluda" },
  emote_kiss     = { "bisou","baiser","embrasse","kiss","kuss","kusst","küsst","beso" },
  emote_pet      = { "caresse"," pet ","streichel","streichelt","acaricia" },
  emote_dance    = { "danse","dance","tanzt","baila" },
  emote_hi       = { "bonjour","salut","coucou","greet","wave","fait signe","winkt","hola" },
  emote_love     = { "aime","amour","love","liebt","amor" },
  emote_flirt    = { "flirt","flirte","flirtez","dragu","coquet","aguich","flirtet","coquetea" },
  emote_agree    = { " ok ","agree","vous approuv","daccord","d'accord","stimmt zu","de acuerdo" },
  emote_trade    = { "trade"," echange","échange","handel","comerc" },

  -- === Nouveaux émotes (chat + /emote) ===
  emote_surprised = {
    -- EN
    "surpris","surprise","surprised","astonish","astonished","shock","shocked","gasp",
    -- FR
    "étonn","etonn","stupef","abasour",
    -- DE
    "uberrasch","überrasch","staun","schock",
    -- ES
    "sorprend","asombr","sobresalt"
  },
  emote_facepalm = {
    "facepalm",
    -- FR
    "main sur le visage","main au visage","se prend la tete","prend la tete","tete","tête",
    -- DE
    "hand ins gesicht","hand vors gesicht","hand vor den kopf",
    -- ES
    "mano en la cara","mano a la cara","mano a la frente"
  },
  emote_victory = {
    "victory","triumph","win",
    -- FR
    "victoire","triomph","gagne",
    -- DE
    "sieg","triumphiert",
    -- ES
    "victoria","triunfo","gana"
  },
  emote_work = {
    "work","working","at work",
    -- FR
    "travail","au travail","au boulot","se met au travail","boulot",
    -- DE
    "arbeitet","an die arbeit","ans werk",
    -- ES
    "trabaja","al trabajo","a trabajar"
  },
}

-- ===================== ZONE ALIASES (FR/EN/DE/ES) ===========================
-- Chaque entrée à gauche est un "compact norm" (minuscule, sans accents/apostrophes/espaces),
-- mappé vers TA clé d’événement.
SRPWL.ZONE_ALIAS = {
  -- Capitales / villes majeures (Classique & TBC & MoP ; on peut garder quelques modernes sans gêner)
  ["stormwind"]           = "Zone_Stormwind",
  ["hurlevent"]           = "Zone_Stormwind",
  ["sturmwind"]           = "Zone_Stormwind",
  ["ventormenta"]         = "Zone_Stormwind",

  ["ironforge"]           = "Zone_Ironforge",
  ["forgefer"]            = "Zone_Ironforge",
  ["eisenschmiede"]       = "Zone_Ironforge",
  ["forjaz"]              = "Zone_Ironforge",

  ["orgrimmar"]           = "Zone_Orgrimmar",

  ["undercity"]           = "Zone_Undercity",
  ["fossoyeuse"]          = "Zone_Undercity",
  ["unterstadt"]          = "Zone_Undercity",
  ["entranas"]            = "Zone_Undercity",

  ["darnassus"]           = "Zone_Darnassus",

  ["thunderbluff"]        = "Zone_ThunderBluff",
  ["pitonsdutonnerre"]    = "Zone_ThunderBluff",
  ["donnerfels"]          = "Zone_ThunderBluff",
  ["cimadeltrueno"]       = "Zone_ThunderBluff",

  ["exodar"]              = "Zone_Exodar",
  ["l'exodar"]            = "Zone_Exodar",
  ["lexodar"]             = "Zone_Exodar",
  ["dieexodar"]           = "Zone_Exodar",

  ["silvermoon"]          = "Zone_Silvermoon",
  ["lunedargent"]         = "Zone_Silvermoon",
  ["silbermond"]          = "Zone_Silvermoon",
  ["lunargenta"]          = "Zone_Silvermoon",

  ["shattrath"]           = "Zone_Shattrath",
  ["dalaran"]             = "Zone_Dalaran",
  ["gilneas"]             = "Zone_Gilneas",
  ["kezan"]               = "Zone_Kezan",
  ["boralus"]             = "Zone_Boralus",
  ["dazaralor"]           = "Zone_Dazaralor",

  -- Royaumes de l’Est / Kalimdor (classique)
  ["westfall"]            = "Zone_Westfall",
  ["marchedelouest"]      = "Zone_Westfall",
  ["paramosdeponiente"]   = "Zone_Westfall",

  ["dunmorogh"]           = "Zone_DunMorogh",
  ["lochmodan"]           = "Zone_LochModan",

  ["searinggorge"]        = "Zone_SearingGorge",
  ["gorgedesventbrulants"]= "Zone_SearingGorge",
  ["brennendeschlucht"]   = "Zone_SearingGorge",
  ["lagargantadefuego"]   = "Zone_SearingGorge",

  ["elwynnforest"]        = "Zone_ElwynnForest",
  ["foretdelwynn"]        = "Zone_ElwynnForest",
  ["bosquedeelwynn"]      = "Zone_ElwynnForest",

  ["duskwood"]            = "Zone_Duskwood",
  ["boisdelapenombre"]    = "Zone_Duskwood",
  ["dammerwald"]          = "Zone_Duskwood",
  ["bosquedeloscaso"]     = "Zone_Duskwood",

  ["redridgemountains"]   = "Zone_RedridgeMountains",
  ["lescarmines"]         = "Zone_RedridgeMountains",
  ["rotkammgebirge"]      = "Zone_RedridgeMountains",
  ["montanascrestagrana"] = "Zone_RedridgeMountains",

  ["stranglethornvale"]   = "Zone_StranglethornVale",
  ["valleedestrangleronce"]= "Zone_StranglethornVale",
  ["schlingendorntal"]    = "Zone_StranglethornVale",
  ["vegadetuerceespina"]  = "Zone_StranglethornVale",

  ["ungorocrater"]        = "Zone_UnGoroCrater",
  ["crateredungoro"]      = "Zone_UnGoroCrater",
  ["kratervonungoro"]     = "Zone_UnGoroCrater",
  ["craterdeungoro"]      = "Zone_UnGoroCrater",

  ["winterspring"]        = "Zone_Winterspring",
  ["berceaudelhiver"]     = "Zone_Winterspring",
  ["winterquell"]         = "Zone_Winterspring",
  ["cunadelinvierno"]     = "Zone_Winterspring",

  ["desolace"]            = "Zone_Desolace",
  ["silithus"]            = "Zone_Silithus",
  ["tanaris"]             = "Zone_Tanaris",
  ["felwood"]             = "Zone_Felwood",
  ["gangrebois"]          = "Zone_Felwood",
  ["teufelswald"]         = "Zone_Felwood",
  ["frondavil"]           = "Zone_Felwood",

  ["feralas"]             = "Zone_Feralas",
  ["burningsteppes"]      = "Zone_BurningSteppes",
  ["steppesardentes"]     = "Zone_BurningSteppes",
  ["brennendesteppe"]     = "Zone_BurningSteppes",
  ["lasestepasardientes"]= "Zone_BurningSteppes",

  ["azshara"]             = "Zone_Azshara",

  -- Plaguelands : on mappe EST & OUEST vers une même clé par défaut
  ["easternplaguelands"]  = "Zone_Plaguelands",
  ["westernplaguelands"]  = "Zone_Plaguelands",
  ["maleterresdelest"]    = "Zone_Plaguelands",
  ["maleterresdelouest"]  = "Zone_Plaguelands",
  ["oestlichepestlaender"]= "Zone_Plaguelands",
  ["westlichepestlaender"]= "Zone_Plaguelands",
  ["tierrasdelapeste deleste"]  = "Zone_Plaguelands",
  ["tierrasdelapeste deloeste"] = "Zone_Plaguelands",

  ["stonetalonmountains"] = "Zone_StonetalonMountains",
  ["serresrocheuses"]     = "Zone_StonetalonMountains",
  ["steinkrallengebirge"] = "Zone_StonetalonMountains",
  ["sierraespolon"]       = "Zone_StonetalonMountains",

  -- Outreterre (TBC)
  ["hellfirepeninsula"]   = "Zone_HellfirePeninsula",
  ["peninsuledesflammesinfernales"] = "Zone_HellfirePeninsula",
  ["hollenfeuerhalbinsel"]= "Zone_HellfirePeninsula",
  ["peninsuladelfuegoinfernal"] = "Zone_HellfirePeninsula",

  ["zangarmarsh"]         = "Zone_Zangarmarsh",
  ["marecagedezangar"]    = "Zone_Zangarmarsh",
  ["zangarmarschen"]      = "Zone_Zangarmarsh",
  ["marismasdezangar"]    = "Zone_Zangarmarsh",

  ["netherstorm"]         = "Zone_Netherstorm",
  ["razdeneant"]          = "Zone_Netherstorm",
  ["nethersturm"]         = "Zone_Netherstorm",
  ["tormentaabisal"]      = "Zone_Netherstorm",

  ["shadowmoonvalley"]    = "Zone_ShadowmoonValley",
  ["valleedombrelune"]    = "Zone_ShadowmoonValley",
  ["schattenmondtal"]     = "Zone_ShadowmoonValley",
  ["vallesombralunar"]    = "Zone_ShadowmoonValley",

  ["bladesedgemountains"] = "Zone_BladesEdgeMountains",
  ["lestranchantes"]      = "Zone_BladesEdgeMountains",
  ["schergrat"]           = "Zone_BladesEdgeMountains",
  ["montanasfilospada"]   = "Zone_BladesEdgeMountains",

  ["nagrand"]             = "Zone_Nagrand",
  ["ghostlands"]          = "Zone_Ghostlands",
  ["terresfantomes"]      = "Zone_Ghostlands",
  ["geisterlande"]        = "Zone_Ghostlands",
  ["tierrasfantasma"]     = "Zone_Ghostlands",

  ["isleofqueldanas"]     = "Zone_QuelDanas",
  ["iledequeldanas"]      = "Zone_QuelDanas",
  ["inselvonqueldanas"]   = "Zone_QuelDanas",
  ["isladequeldanas"]     = "Zone_QuelDanas",

  -- Legion (optionnels, ne gênent pas Classic/MoP)
  ["azsuna"]              = "Zone_Azsuna",
  ["valsharah"]           = "Zone_Valsharah",
  ["highmountain"]        = "Zone_Highmountain", ["hautroc"] = "Zone_Highmountain",
  ["stormheim"]           = "Zone_Stormheim",
  ["suramar"]             = "Zone_Suramar",
  ["brokenshore"]         = "Zone_BrokenShore", ["rivagebrise"] = "Zone_BrokenShore",

  -- Raids utiles (quelques alias)
  ["blacktemple"]         = "Raid_BlackTemple",
  ["templenoir"]          = "Raid_BlackTemple",
  ["schwarzertempel"]     = "Raid_BlackTemple",
  ["templooscuro"]        = "Raid_BlackTemple",

  ["sunwellplateau"]      = "Raid_SunwellPlateau",
  ["plateaudupuitsdesoleil"]= "Raid_SunwellPlateau",
  ["sonnenbrunnenplateau"]= "Raid_SunwellPlateau",
  ["mesetadelafuentedelsol"] = "Raid_SunwellPlateau",

  ["firelands"]           = "Raid_Firelands",
  ["terresdefeu"]         = "Raid_Firelands",
  ["feuerlande"]          = "Raid_Firelands",
  ["tierrasdefuego"]      = "Raid_Firelands",

  ["siegeoforgrimmar"]    = "Raid_SiegeOfOrgrimmar",
  ["siegedorgrimmar"]     = "Raid_SiegeOfOrgrimmar",
  ["belagerungvonorgrimmar"]= "Raid_SiegeOfOrgrimmar",
  ["asediodeorgrimmar"]   = "Raid_SiegeOfOrgrimmar",

  -- Exile’s Reach (starter moderne ; n’impacte pas Classic)
  ["exilesreach"]         = "Zone_ExileReach",
  ["confinsdel’exil"]     = "Zone_ExileReach", ["confinsdelexil"] = "Zone_ExileReach",
  ["exilsinsel"]          = "Zone_ExileReach",
  ["baldiodelexilio"]     = "Zone_ExileReach",
}
