local n=game:GetService("\067\111\110\116\101\110\116\080\114\111\118\105\100\101\114")local Z=require(script.Parent.Parent.Log)local w=require(script.Parent.Assets)local function i()local i={}for n,Z in pairs(w.Sprites)do table.insert(i,Z.asset)end for n,Z in pairs(w.Slices)do table.insert(i,Z.asset)end for n,Z in pairs(w.Images)do table.insert(i,Z)end Z.trace("\080\114\101\108\111\097\100\105\110\103 \097\115\115\101\116\115\058 \123\058\063\125",i);(coroutine.wrap(function()n:PreloadAsync(i)end))()end return i
local ContentProvider = game:GetService("ContentProvider")

local Log = require(script.Parent.Parent.Log)

local Assets = require(script.Parent.Assets)

local function preloadAssets()
	local contentUrls = {}

	for _, sprite in pairs(Assets.Sprites) do
		table.insert(contentUrls, sprite.asset)
	end

	for _, slice in pairs(Assets.Slices) do
		table.insert(contentUrls, slice.asset)
	end

	for _, url in pairs(Assets.Images) do
		table.insert(contentUrls, url)
	end

	Log.trace("Preloading assets: {:?}", contentUrls)

	coroutine.wrap(function()
		ContentProvider:PreloadAsync(contentUrls)
	end)()
end

return preloadAssets