-- Decompiled with the Synapse X Luau decompiler.


client = nil;
service = nil;
return function(p1)
	local v1 = client.UI.Make("Window", {
		Name = "CreateCard", 
		Title = "Create Card", 
		Icon = client.MatIcons["Add circle"], 
		Size = { 400, 330 }, 
		AllowMultiple = false, 
		OnClose = function()

		end
	});
	if v1 then
		v1:Add("TextLabel", {
			Text = "List Name:  ", 
			BackgroundTransparency = 1, 
			Size = UDim2.new(0, 80, 0, 30), 
			Position = UDim2.new(0, 10, 0, 10), 
			TextXAlignment = "Right"
		}):Copy("TextLabel", {
			Text = "Card Name:  ", 
			Position = UDim2.new(0, 10, 0, 50)
		}):Copy("TextLabel", {
			Text = "Card Desc:  ", 
			Position = UDim2.new(0, 10, 0, 90)
		});
		local v2 = v1:Add("TextBox", {
			Text = "", 
			BackgroundTransparency = 0.5, 
			Position = UDim2.new(0, 90, 0, 10), 
			Size = UDim2.new(1, -100, 0, 30), 
			BackgroundColor3 = v1.BackgroundColor3:lerp(Color3.new(1, 1, 1), 0.2), 
			TextWrapped = true
		});
		local v3 = {
			Text = "Create", 
			Size = UDim2.new(0, 70, 0, 30), 
			Position = UDim2.new(0, 10, 1, -40)
		};
		local u1 = false;
		local u2 = v2:Copy("TextBox", {
			Position = UDim2.new(0, 90, 0, 50)
		});
		local u3 = v2:Copy("TextBox", {
			Position = UDim2.new(0, 90, 0, 90), 
			Size = UDim2.new(1, -100, 1, -100)
		});
		function v3.OnClick()
			if not u1 then
				u1 = true;
				v1:Destroy();
				client.Remote.Send("TrelloOperation", {
					Action = "MakeCard", 
					List = v2.Text, 
					Name = u2.Text, 
					Desc = u3.Text
				});
			end;
		end;
		local v4 = v1:Add("TextButton", v3);
		local l__gTable__5 = v1.gTable;
		v1:Ready();
	end;
end;
