local E={}E.left={startScale=0;getOffset=function()local E=48+IconController.leftOffset if checkTopbarEnabled()and starterGui:GetCoreGuiEnabled("\067\104\097\116")then E+=44 end return E end,getStartOffset=function()local e=IconController.leftGap local Z=E.left.getOffset()+e return Z end;records={}}E.mid={startScale=.5,getOffset=function()return 0 end;getStartOffset=function(E)local e=IconController.midGap return-E/2+e/2 end,records={}}E.right={startScale=1,getOffset=function()local E=IconController.rightOffset if checkTopbarEnabled()and(starterGui:GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList)or starterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Backpack)or starterGui:GetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu))then E+=48 end return E end;getStartOffset=function(e)local Z=-e-E.right.getOffset()return Z end,records={}}
-- OFFSET HANDLERS
local alignmentDetails = {}
alignmentDetails["left"] = {
	startScale = 0,
	getOffset = function()
		local offset = 48 + IconController.leftOffset
		if checkTopbarEnabled() and starterGui:GetCoreGuiEnabled("Chat") then
			offset += 12 + 32
		end
		return offset
	end,
	getStartOffset = function()
		local alignmentGap = IconController["leftGap"]
		local startOffset = alignmentDetails.left.getOffset() + alignmentGap
		return startOffset
	end,
	records = {},
}
alignmentDetails["mid"] = {
	startScale = 0.5,
	getOffset = function()
		return 0
	end,
	getStartOffset = function(totalIconX)
		local alignmentGap = IconController["midGap"]
		return -totalIconX / 2 + (alignmentGap / 2)
	end,
	records = {},
}
alignmentDetails["right"] = {
	startScale = 1,
	getOffset = function()
		local offset = IconController.rightOffset
		if
			checkTopbarEnabled()
			and (
				starterGui:GetCoreGuiEnabled(Enum.CoreGuiType.PlayerList)
				or starterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Backpack)
				or starterGui:GetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu)
			)
		then
			offset += 48
		end
		return offset
	end,
	getStartOffset = function(totalIconX)
		local startOffset = -totalIconX - alignmentDetails.right.getOffset()
		return startOffset
	end,
	records = {},
	--reverseSort = true
}
