local O={}for X,q in ipairs(DEFAULT_BACKGROUNDS)do O[q]={image=q;order=X}end local X=t.map(t.string,t.strictInterface({image=t.match("\114\098\120\097\115\115\101\116\105\100\058\047\047\091\048-\057\093\043"),order=t.number}))local q=Configuration.new("\098\097\099\107\103\114\111\117\110\100\115",O,X)return q
-- Configuration does not work well with arrays so convert the backgrounds into
-- a dictionary.
local backgroundsDict = {}
for index, assetId in ipairs(DEFAULT_BACKGROUNDS) do
	backgroundsDict[assetId] = {
		image = assetId,
		order = index,
	}
end

local validator = t.map(
	t.string,
	t.strictInterface({
		image = t.match("rbxassetid://[0-9]+"),
		order = t.number,
	})
)

local backgrounds = Configuration.new("backgrounds", backgroundsDict, validator)

return backgrounds
