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

-- Setup Windtools
function ElvUI_EltreumUI:GetWindToolsProfile()
	if IsAddOnLoaded("ElvUI_WindTools") then
		E.private["WT"]["combat"]["talentManager"]["pvpTalent"] = true
		--E.global["WT"]["core"]["loginMessage"] = false
		E.global["WT"]["core"]["loginMessage"] = false --changed in 2.43
		E.private["WT"]["maps"]["minimapButtons"]["backdrop"] = false
		E.private["WT"]["maps"]["minimapButtons"]["backdropSpacing"] = 0
		E.private["WT"]["maps"]["minimapButtons"]["buttonSize"] = 24
		E.private["WT"]["maps"]["minimapButtons"]["buttonsPerRow"] = 8
		E.private["WT"]["maps"]["minimapButtons"]["enable"] = false
		E.private["WT"]["maps"]["minimapButtons"]["garrison"] = true
		E.private["WT"]["maps"]["minimapButtons"]["inverseDirection"] = true
		E.private["WT"]["maps"]["minimapButtons"]["spacing"] = 1
		--E.private["WT"]["maps"]["superTracker"]["noLimit"] = true
		E.private["WT"]["maps"]["worldMap"]["scale"]["enable"] = false
		E.private["WT"]["misc"]["autoScreenshot"] = false
		E.private["WT"]["misc"]["lfgList"]["enable"] = false
		E.private["WT"]["misc"]["lfgList"]["icon"]["pack"] = "DEFAULT"
		--E.private["WT"]["misc"]["moveBlizzardFrames"] = false
		--E.private["WT"]["misc"]["moveElvUIBags"] = false
		E.private["WT"]["misc"]["moveSpeed"] = true
		E.private["WT"]["misc"]["moveFrames"]["enable"] = false
		E.private["WT"]["misc"]["pauseToSlash"] = false
		E.private["WT"]["quest"]["objectiveTracker"]["colorfulPercentage"] = true
		E.private["WT"]["quest"]["objectiveTracker"]["cosmeticBar"]["color"]["mode"] = "CLASS"
		E.private["WT"]["quest"]["objectiveTracker"]["enable"] = false
		E.private["WT"]["quest"]["objectiveTracker"]["header"]["size"] = 18
		E.private["WT"]["quest"]["objectiveTracker"]["header"]["style"] = "THICKOUTLINE"
		E.private["WT"]["quest"]["objectiveTracker"]["info"]["size"] = 12
		E.private["WT"]["quest"]["objectiveTracker"]["info"]["style"] = "THICKOUTLINE"
		E.private["WT"]["quest"]["objectiveTracker"]["title"]["size"] = 14
		E.private["WT"]["quest"]["objectiveTracker"]["title"]["style"] = "THICKOUTLINE"
		E.private["WT"]["quest"]["objectiveTracker"]["titleColor"]["classColor"] = true
		E.private["WT"]["skins"]["blizzard"]["achievements"] = false
		E.private["WT"]["skins"]["blizzard"]["addonManager"] = false
		E.private["WT"]["skins"]["blizzard"]["adventureMap"] = false
		E.private["WT"]["skins"]["blizzard"]["alerts"] = false
		E.private["WT"]["skins"]["blizzard"]["animaDiversion"] = false
		E.private["WT"]["skins"]["blizzard"]["artifact"] = false
		E.private["WT"]["skins"]["blizzard"]["auctionHouse"] = false
		E.private["WT"]["skins"]["blizzard"]["azerite"] = false
		E.private["WT"]["skins"]["blizzard"]["azeriteEssence"] = false
		E.private["WT"]["skins"]["blizzard"]["azeriteRespec"] = false
		E.private["WT"]["skins"]["blizzard"]["barberShop"] = false
		E.private["WT"]["skins"]["blizzard"]["binding"] = false
		E.private["WT"]["skins"]["blizzard"]["blackMarket"] = false
		E.private["WT"]["skins"]["blizzard"]["calendar"] = false
		E.private["WT"]["skins"]["blizzard"]["challenges"] = false
		E.private["WT"]["skins"]["blizzard"]["channels"] = false
		E.private["WT"]["skins"]["blizzard"]["character"] = false
		E.private["WT"]["skins"]["blizzard"]["chromieTime"] = false
		E.private["WT"]["skins"]["blizzard"]["collections"] = false
		E.private["WT"]["skins"]["blizzard"]["communities"] = false
		E.private["WT"]["skins"]["blizzard"]["covenantPreview"] = false
		E.private["WT"]["skins"]["blizzard"]["covenantRenown"] = false
		E.private["WT"]["skins"]["blizzard"]["covenantSanctum"] = false
		E.private["WT"]["skins"]["blizzard"]["debugTools"] = false
		E.private["WT"]["skins"]["blizzard"]["dressingRoom"] = false
		E.private["WT"]["skins"]["blizzard"]["enable"] = false
		E.private["WT"]["skins"]["blizzard"]["encounterJournal"] = false
		E.private["WT"]["skins"]["blizzard"]["flightMap"] = false
		E.private["WT"]["skins"]["blizzard"]["friends"] = false
		E.private["WT"]["skins"]["blizzard"]["garrison"] = false
		E.private["WT"]["skins"]["blizzard"]["gossip"] = false
		E.private["WT"]["skins"]["blizzard"]["guild"] = false
		E.private["WT"]["skins"]["blizzard"]["guildBank"] = false
		E.private["WT"]["skins"]["blizzard"]["help"] = false
		E.private["WT"]["skins"]["blizzard"]["inputMethodEditor"] = false
		E.private["WT"]["skins"]["blizzard"]["inspect"] = false
		E.private["WT"]["skins"]["blizzard"]["lookingForGroup"] = false
		E.private["WT"]["skins"]["blizzard"]["loot"] = false
		E.private["WT"]["skins"]["blizzard"]["lossOfControl"] = false
		E.private["WT"]["skins"]["blizzard"]["macro"] = false
		E.private["WT"]["skins"]["blizzard"]["mail"] = false
		E.private["WT"]["skins"]["blizzard"]["merchant"] = false
		E.private["WT"]["skins"]["blizzard"]["microButtons"] = false
		E.private["WT"]["skins"]["blizzard"]["mirrorTimers"] = false
		E.private["WT"]["skins"]["blizzard"]["misc"] = false
		E.private["WT"]["skins"]["blizzard"]["objectiveTracker"] = false
		E.private["WT"]["skins"]["blizzard"]["orderHall"] = false
		E.private["WT"]["skins"]["blizzard"]["petBattle"] = false
		E.private["WT"]["skins"]["blizzard"]["playerChoice"] = false
		E.private["WT"]["skins"]["blizzard"]["quest"] = false
		E.private["WT"]["skins"]["blizzard"]["raidInfo"] = false
		E.private["WT"]["skins"]["blizzard"]["scenario"] = false
		E.private["WT"]["skins"]["blizzard"]["scrappingMachine"] = false
		E.private["WT"]["skins"]["blizzard"]["soulbinds"] = false
		E.private["WT"]["skins"]["blizzard"]["spellBook"] = false
		E.private["WT"]["skins"]["blizzard"]["staticPopup"] = false
		E.private["WT"]["skins"]["blizzard"]["subscriptionInterstitial"] = false
		E.private["WT"]["skins"]["blizzard"]["talent"] = false
		E.private["WT"]["skins"]["blizzard"]["talkingHead"] = false
		E.private["WT"]["skins"]["blizzard"]["taxi"] = false
		E.private["WT"]["skins"]["blizzard"]["timeManager"] = false
		E.private["WT"]["skins"]["blizzard"]["tooltips"] = false
		E.private["WT"]["skins"]["blizzard"]["trade"] = false
		E.private["WT"]["skins"]["blizzard"]["tradeSkill"] = false
		E.private["WT"]["skins"]["blizzard"]["trainer"] = false
		E.private["WT"]["skins"]["blizzard"]["tutorial"] = false
		E.private["WT"]["skins"]["blizzard"]["warboard"] = false
		E.private["WT"]["skins"]["blizzard"]["weeklyRewards"] = false
		E.private["WT"]["skins"]["blizzard"]["worldMap"] = false
		E.private["WT"]["skins"]["elvui"]["enable"] = false
		E.private["WT"]["skins"]["errorMessage"]["size"] = 18
		E.private["WT"]["skins"]["ime"]["label"]["name"] = "Kimberley"
		E.private["WT"]["skins"]["shadow"] = false
		E.private["WT"]["tooltips"]["icon"] = false
		E.private["WT"]["tooltips"]["objectiveProgress"] = false
		E.private["WT"]["tooltips"]["progression"]["enable"] = false
		E.private["WT"]["unitFrames"]["roleIcon"]["enable"] = false
		E.private["WT"]["unitFrames"]["roleIcon"]["roleIconStyle"] = "DEFAULT"

		E.db["WT"]["announcement"]["enable"] = false --disable
		E.db["WT"]["announcement"]["combatResurrection"]["onlySourceIsPlayer"] = true
		E.db["WT"]["announcement"]["combatResurrection"]["text"] = "Casting %spell% on %target%"
		E.db["WT"]["announcement"]["goodbye"]["enable"] = false
		E.db["WT"]["announcement"]["interrupt"]["enable"] = false
		E.db["WT"]["announcement"]["interrupt"]["onlyInstance"] = false
		E.db["WT"]["announcement"]["interrupt"]["player"]["enable"] = false
		E.db["WT"]["announcement"]["keystone"]["enable"] = false
		E.db["WT"]["announcement"]["quest"]["channel"]["instance"] = "NONE"
		E.db["WT"]["announcement"]["quest"]["channel"]["raid"] = "NONE"
		E.db["WT"]["announcement"]["taunt"]["others"]["pet"]["enable"] = false
		E.db["WT"]["announcement"]["taunt"]["others"]["player"]["enable"] = false
		E.db["WT"]["announcement"]["taunt"]["player"]["pet"]["enable"] = false
		--E.db["WT"]["announcement"]["thanksForResurrection"]["enable"] = false --removed?
		E.db["WT"]["announcement"]["threatTransfer"]["enable"] = false
		E.db["WT"]["announcement"]["utility"]["spells"]["190336"]["text"] = "%player% casted %spell%!"
		E.db["WT"]["announcement"]["utility"]["spells"]["195782"]["text"] = "%player% used %spell%!"
		E.db["WT"]["announcement"]["utility"]["spells"]["261602"]["text"] = "%player% called %spell%!"
		E.db["WT"]["announcement"]["utility"]["spells"]["29893"]["text"] = "%player% casted %spell%!"
		E.db["WT"]["announcement"]["utility"]["spells"]["54710"]["text"] = "%player% puts down a %spell%!"
		E.db["WT"]["announcement"]["utility"]["spells"]["bots"]["text"] = "%player% summons %spell%!"
		E.db["WT"]["announcement"]["utility"]["spells"]["feasts"]["text"] = "%player% sets down a %spell%!"
		E.db["WT"]["announcement"]["utility"]["spells"]["toys"]["text"] = "%player% uses %spell%!"

		E.db["WT"]["combat"]["combatAlert"]["animation"] = false
		E.db["WT"]["combat"]["combatAlert"]["enable"] = false
		E.db["WT"]["combat"]["combatAlert"]["enterText"] = "COMBAT START"
		E.db["WT"]["combat"]["combatAlert"]["leaveText"] = "COMBAT ENDS"
		E.db["WT"]["combat"]["combatAlert"]["text"] = false
		E.db["WT"]["combat"]["raidMarkers"]["enable"] = false
		E.db["WT"]["combat"]["raidMarkers"]["backdropSpacing"] = 1
		E.db["WT"]["combat"]["raidMarkers"]["buttonSize"] = 24
		E.db["WT"]["combat"]["raidMarkers"]["countDownTime"] = 10
		E.db["WT"]["combat"]["raidMarkers"]["readyCheck"] = false
		E.db["WT"]["combat"]["raidMarkers"]["spacing"] = 1
		E.db["WT"]["combat"]["raidMarkers"]["visibility"] = "INPARTY"

		E.db["WT"]["item"]["contacts"]["defaultPage"] = "FAVORITE"
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["anchor"] = "BOTTOMLEFT"
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["backdropSpacing"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["bindFont"]["name"] = "Kimberley"
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["bindFont"]["size"] = 10
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["bindFont"]["style"] = "THICKOUTLINE"
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["buttonWidth"] = 40
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["buttonsPerRow"] = 4
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["countFont"]["name"] = "Kimberley"
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["countFont"]["style"] = "THICKOUTLINE"
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["include"] = "QUEST,TORGHAST"
		E.db["WT"]["item"]["extraItemsBar"]["bar1"]["numButtons"] = 4
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["backdrop"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["buttonHeight"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["buttonWidth"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["buttonsPerRow"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["enable"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["numButtons"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["spacing"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar2"]["tooltip"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["backdrop"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["buttonHeight"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["buttonWidth"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["buttonsPerRow"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["enable"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["numButtons"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["spacing"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar3"]["tooltip"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar4"]["backdrop"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar4"]["buttonHeight"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar4"]["buttonWidth"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar4"]["buttonsPerRow"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar4"]["numButtons"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar4"]["spacing"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar4"]["tooltip"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar5"]["backdrop"] = false
		E.db["WT"]["item"]["extraItemsBar"]["bar5"]["buttonHeight"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar5"]["buttonWidth"] = 2
		E.db["WT"]["item"]["extraItemsBar"]["bar5"]["buttonsPerRow"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar5"]["numButtons"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar5"]["spacing"] = 1
		E.db["WT"]["item"]["extraItemsBar"]["bar5"]["tooltip"] = false
		E.db["WT"]["item"]["fastLoot"]["enable"] = false
		E.db["WT"]["item"]["fastLoot"]["limit"] = 0.05
		E.db["WT"]["item"]["inspect"]["equipText"]["size"] = 12
		E.db["WT"]["item"]["inspect"]["levelText"]["name"] = "Kimberley"
		E.db["WT"]["item"]["inspect"]["levelText"]["size"] = 12
		E.db["WT"]["item"]["inspect"]["player"] = false
		E.db["WT"]["item"]["inspect"]["statsText"]["size"] = 12

		E.db["WT"]["maps"]["rectangleMinimap"]["heightPercentage"] = 0.7
		E.db["WT"]["maps"]["whoClicked"]["addRealm"] = true
		E.db["WT"]["maps"]["whoClicked"]["onlyOnCombat"] = false

		E.db["WT"]["misc"]["gameBar"]["additionalText"]["font"]["name"] = "Kimberley"
		E.db["WT"]["misc"]["gameBar"]["additionalText"]["font"]["style"] = "THICKOUTLINE"
		E.db["WT"]["misc"]["gameBar"]["backdropSpacing"] = 1
		E.db["WT"]["misc"]["gameBar"]["buttonSize"] = 20
		E.db["WT"]["misc"]["gameBar"]["enable"] = false
		E.db["WT"]["misc"]["gameBar"]["left"][4] = "VOLUME"
		E.db["WT"]["misc"]["gameBar"]["left"][5] = "GAMEMENU"
		E.db["WT"]["misc"]["gameBar"]["left"][6] = "GAMEMENU"
		E.db["WT"]["misc"]["gameBar"]["left"][7] = "GAMEMENU"
		E.db["WT"]["misc"]["gameBar"]["normalColor"] = "CLASS"
		E.db["WT"]["misc"]["gameBar"]["spacing"] = 3
		E.db["WT"]["misc"]["gameBar"]["time"]["font"]["name"] = "Kimberley"
		E.db["WT"]["misc"]["gameBar"]["time"]["font"]["size"] = 30
		E.db["WT"]["misc"]["gameBar"]["time"]["font"]["style"] = "THICKOUTLINE"
		E.db["WT"]["misc"]["gameBar"]["timeAreaHeight"] = 39
		E.db["WT"]["misc"]["gameBar"]["timeAreaWidth"] = 85
		E.db["WT"]["misc"]["gameBar"]["visibility"] = "[petbattle][combat] hide; show"

		E.db["WT"]["quest"]["switchButtons"]["announcement"] = false
		E.db["WT"]["quest"]["switchButtons"]["enable"] = false
		E.db["WT"]["quest"]["switchButtons"]["turnIn"] = false
		E.db["WT"]["quest"]["turnIn"]["followerAssignees"] = false

		E.db["WT"]["skins"]["vignetting"]["enable"] = false
		E.db["WT"]["skins"]["vignetting"]["level"] = 100

		E.db["WT"]["social"]["chatBar"]["buttonHeight"] = 27
		E.db["WT"]["social"]["chatBar"]["enable"] = false
		E.db["WT"]["social"]["chatLink"]["icon"] = false
		E.db["WT"]["social"]["chatLink"]["level"] = false
		E.db["WT"]["social"]["chatText"]["enable"] = false
		E.db["WT"]["social"]["chatText"]["roleIconStyle"] = "BLIZZARD"
		E.db["WT"]["social"]["contextMenu"]["enable"] = false
		E.db["WT"]["social"]["emote"]["enable"] = false
		E.db["WT"]["social"]["emote"]["panel"] = false
		E.db["WT"]["social"]["emote"]["size"] = 5
		E.db["WT"]["social"]["friendList"]["infoFont"]["style"] = "THICKOUTLINE"
		E.db["WT"]["social"]["friendList"]["nameFont"]["style"] = "THICKOUTLINE"
		E.db["WT"]["social"]["friendList"]["textures"]["factionIcon"] = true
		E.db["WT"]["social"]["smartTab"]["enable"] = false

		E.db["WT"]["tooltips"]["groupInfo"]["enable"] = false
		E.db["WT"]["tooltips"]["groupInfo"]["title"] = false

		ElvUI_EltreumUI:Print("WindTools profile has been set")

		E.private.ElvUI_EltreumUI.isInstalled.windtools = true
	else
		ElvUI_EltreumUI:Print("WindTools is not loaded")
	end
end
