local U=game:GetService("\082\117\110\083\101\114\118\105\099\101")local L={}local H=require((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).Packages.Promise)local q=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")function L.alpha(U,L)return(H.delay(U.DelayTime)):andThen(function()return H.new(function(H,u,h)local Q=0 while true do L(q:GetValue(Q/U.Time,U.EasingStyle,U.EasingDirection))Q=Q+task.wait()if U.Time<=Q then break end if h()then break end end if not h()then L(1)H()end end)end)end function L.range(U,q,u,h)if q~=u then return L.alpha(U,function(U)h(q+(u-q)*U)end)end h(u)return H.resolve()end return L
-- Decompiled with the Synapse X Luau decompiler.

local l__RunService__1 = game:GetService("RunService")
local v2 = {}
local u1 = require(game:GetService("ReplicatedStorage").Packages.Promise)
local l__TweenService__2 = game:GetService("TweenService")
function v2.alpha(p1, p2)
	return u1.delay(p1.DelayTime):andThen(function()
		return u1.new(function(p3, p4, p5)
			local v3 = 0
			while true do
				p2((l__TweenService__2:GetValue(v3 / p1.Time, p1.EasingStyle, p1.EasingDirection)))
				v3 = v3 + task.wait()
				if p1.Time <= v3 then
					break
				end
				if p5() then
					break
				end
			end
			if not p5() then
				p2(1)
				p3()
			end
		end)
	end)
end
function v2.range(p6, p7, p8, p9)
	if p7 ~= p8 then
		return v2.alpha(p6, function(p10)
			p9(p7 + (p8 - p7) * p10)
		end)
	end
	p9(p8)
	return u1.resolve()
end
return v2
