local MER, F, E, L, V, P, G = unpack(select(2, ...))

local unpack = unpack

local IsAddOnLoaded = IsAddOnLoaded

function MER:LoadAddOnSkinsProfile()
	local AS = unpack(AddOnSkins)

	AS.data:SetProfile("MerathilisUI")

	AS.db['EmbedOoC'] = false
	AS.db['EmbedOoCDelay'] = 10
	AS.db['EmbedCoolLine'] = false
	AS.db['EmbedSexyCooldown'] = false
	AS.db['TransparentEmbed'] = false
	AS.db['EmbedIsHidden'] = false
	AS.db['EmbedFrameStrata'] = '4-HIGH'
	AS.db['EmbedFrameLevel'] = 50
	AS.db['RecountBackdrop'] = false
	AS.db['SkadaBackdrop'] = false
	AS.db['OmenBackdrop'] = false
	AS.db['DetailsBackdrop'] = false
	AS.db['MiscFixes'] = true
	AS.db['DBMSkinHalf'] = false
	AS.db['DBMFont'] = 'Expressway'
	AS.db['DBMFontSize'] = 12
	AS.db['DBMFontFlag'] = 'OUTLINE'
	AS.db['DBMRadarTrans'] = false
	AS.db['WeakAuraAuraBar'] = false
	AS.db['WeakAuraIconCooldown'] = false
	AS.db['SkinTemplate'] = 'MerathilisUI'
	AS.db['HideChatFrame'] = 'NONE'
	AS.db['Parchment'] = false
	AS.db['ParchmentRemover'] = false
	AS.db['SkinDebug'] = false
	AS.db['LoginMsg'] = false
	AS.db['EmbedSystemMessage'] = false
	AS.db['ElvUISkinModule'] = true
	AS.db['ThinBorder'] = false
	AS.db['BackgroundTexture'] = 'RenAscensionL'
	AS.db['StatusBarTexture'] = 'RenAscensionL'

	-- embeded settings
	if IsAddOnLoaded("Details") then
		AS.db["EmbedSystem"] = true
		AS.db["EmbedSystemDual"] = false
		AS.db["EmbedBelowTop"] = true
		AS.db["EmbedMain"] = "Details"
		AS.db["EmbedLeft"] = ""
		AS.db["EmbedRight"] = ""
	end

	if IsAddOnLoaded("Skada") then
		AS.db["EmbedSystem"] = true
		AS.db["EmbedSystemDual"] = false
		AS.db["EmbedBelowTop"] = true
		AS.db["EmbedMain"] = "Skada"
		AS.db["EmbedLeft"] = ""
		AS.db["EmbedRight"] = ""
	end

	if IsAddOnLoaded("BugSack") then
		AS.db["BugSack"] = false
	end
end
