local _G = _G

-- BigWigs profile setup
function ElvUI_EltreumUI:GetBigWigsProfile()
	if not _G.BigWigsAPI then return end

	local profileString = "BW1:Lz1oVTXrqyD4etqIJbePIuKsCGumGdGBmSOZdibyyikrzjz9GGpSTC1T84Y7w49UDZU7rjMQaw5A24MuPFcSWTjGfbiaP4aZFGaHaxLkwKAVp4DhPKkoXD2z(Mz(Mz2DT(d6cbqoh4bRq4ibIeY)2HWaQFYYx1CNYNuVC1I1pTI1N9P9ACqfadgkUkKWca4e1oSzPtRx)0JJN3cVWOjqUdbty8onPrmkgUvf7h(GF0s)TutCKrqr1NVZUQhdcdnsS1Fl52fKiWUzxigtoFlB9EB0KWaHEWT0R(ETOImylZAnIfhpjgQbfcuOh)nlWircmkeYoTr9Jo4KY9Atcf1q)m8(JujCdkfYCbCOtV2GwqbkawXEJhu8k1MhtcjU(msa0xZo7jn9eqaS)ZqbnHmmSRgnLO4vk56de(dAH4umORcOCdugDQX)Xfg4XiN3GEoG1I73lIdrUsE35sxmGZDvKMtQxub4zvbyKxyS9LbzXbTqqxHpYTcoINKK))LUKOqXZjix4WYHEye3FR13oOlnpkKlaHUWNb7Y32Gg9lMw4tNkMgPHPCyRAY)36QsiVxG84sKWawWSyPRXhAl)JU80YNIXOF90BCQWhY2nsw(iHPgRRJJ1ETMaWeA)ok1Vhrc9OF(0OK23f)XQwUC0VC6DR5toFBmUIK(HmU)n3CI)LzOVHYkb9qH3IU4mrAs9AwxNuv(MBkwv)P5pHiiRxdeYxVk0lssz08HQnWarw74JLSVSQRy9DrmORkzQdyEqrPJkVxDAb1UkmNMixqjSeH1s2e3UnhkSKK(1rrtG9KJRvp4P7xFSA)xGAj8nO)4lZWW5kb8IB6G9HipFHUoXxvB)2CQe7Qaj8(dtcmtZ(ifeQLt1iOr5PY516YE)JGTf5gMOLI4Ux6kdesw3v1lqWTiNhEsKAII7qxwP1nZS45hOu3K)N9w9IAuGRKvZnlshe2rce0Fus4mjeTSShOW2aXlTsZivWTAgHzyG1U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PfUjOt8kLjW18e(AR4BUzjk647ZJcoWfYTQJlnTgRpq8f6JEaF1Cx6asCk1Qogdlb2HdfW0gSHxEY2xOFuAxKH6QgXGXnykriv6jKjT9TML8QvAzmnrkohlVrpNSKRdPv0MrBKIaTy0X1hqzm355LbIR14v)FGgP(hg9i3OQRnl75fu3NWRMFYZdzkkNrbb((YUfH88GHAAmVrKmYS(KbzxI(QkcJkoLQ0R0mnclEVEQMNYFUoYiA5)zT)DTOvI(GxhbrWzl9lLJwHxopUzDWbrLNz28KdFE67Hrv)955oHW7biq00qNHbuBywdFhgv6U32h4n6)(d"

	--_G.BigWigsAPI.RegisterProfile(addonName, profileString, optionalCustomProfileName, optionalCallbackFunction)
	_G.BigWigsAPI.RegisterProfile("Eltruism", profileString, "Eltruism", function(confirmed)

		--set things that were not exported with the string
		if confirmed then

			-- hide the minimap icon
			if _G.BigWigsIconDB then
				_G.BigWigsIconDB.hide = true
			end

			--set wipe sound
			if _G.BigWigs3DB then
				if _G.BigWigs3DB["namespaces"]["BigWigs_Plugins_Wipe"]["profiles"]["Eltruism"] then
					_G.BigWigs3DB["namespaces"]["BigWigs_Plugins_Wipe"]["profiles"]["Eltruism"]["wipeSound"] = "AmanThul - Wipe"
					--_G.BigWigs3DB["profiles"]["Eltruism"]["bossModNameplatesDisabled"] = true --this would disable the nameplate icons
				end
			end
		end
	end)
end
