-- Decompiled with the Synapse X Luau decompiler.


local l__Query__1 = script.Parent.Search.Query;
local l__Container__2 = script.Parent.Container;
function UpdateContainer()
	local v1 = string.lower(l__Query__1.Text);
	local v2, v3, v4 = pairs(l__Container__2:GetChildren());
	while true do
		local v5, v6 = v2(v3, v4);
		if v5 then

		else
			break;
		end;
		v4 = v5;
		if v6:IsA("ImageButton") then
			if v1 ~= "" then
				if string.find(string.lower(v6:FindFirstChild("Title").Text), v1) then
					v6.Visible = true;
				else
					v6.Visible = false;
				end;
			else
				v6.Visible = true;
			end;
		end;	
	end;
end;
l__Query__1.Changed:Connect(UpdateContainer);
