local MER, W, WF, F, E, I, V, P, G, L = unpack(ElvUI_MerathilisUI)
local module = MER:GetModule("MER_Options") ---@class Options

local options = module.options.modules.args

options.nameplates = {
	type = "group",
	name = L["NamePlates"],
	get = function(info)
		return E.db.mui.nameplates[info[#info]]
	end,
	set = function(info, value)
		E.db.mui.nameplates[info[#info]] = value
		E:StaticPopup_Show("GLOBAL_RL")
	end,
	args = {
		header = {
			order = 1,
			type = "header",
			name = F.cOption(L["NamePlates"], "orange"),
		},
		general = {
			order = 2,
			type = "group",
			name = L["General"],
			args = {},
		},
	},
}
