local W=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local m=require(W.Packages.Fusion)local O=require(W.Admin.Theme)return function(W)local q={Name=W.Name,AutomaticSize=Enum.AutomaticSize.Y;Size=UDim2.fromScale(1,0),BackgroundColor3=O.InlineTextBoxBackground,PlaceholderText=W.PlaceholderText,PlaceholderColor3=m.Computed(function()if W.HighlightEmptyError and W.HighlightEmptyError:get()then return O.InlineTextBoxPlaceholderEmptyError end return O.InlineTextBoxPlaceholder end);TextEditable=W.TextEditable,Text=W.Text,TextColor3=O.InlineTextBoxText,TextXAlignment=Enum.TextXAlignment.Left,TextSize=14;TextWrapped=true,Font=Enum.Font.Gotham;Visible=W.Visible}local c=""q[m.OnChange("\084\101\120\116")]=function(W)c=W end q[m.OnEvent("\070\111\099\117\115\076\111\115\116")]=function(m)if m then W.OnTextEntered(c)end end q[m.OnChange("\084\101\120\116")]=W.TextChanged q[m.Children]={(m.New("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(0,5)});(m.New("\085\073\080\097\100\100\105\110\103"))({PaddingLeft=UDim.new(0,18),PaddingRight=UDim.new(0,18);PaddingTop=UDim.new(0,10);PaddingBottom=UDim.new(0,10)}),W[m.Children]}return(m.New("\084\101\120\116\066\111\120"))(q)end


local l__ReplicatedStorage__1 = game:GetService("ReplicatedStorage");
local u1 = require(l__ReplicatedStorage__1.Packages.Fusion);
local u2 = require(l__ReplicatedStorage__1.Admin.Theme);
return function(p1)
	local v2 = {
		Name = p1.Name, 
		AutomaticSize = Enum.AutomaticSize.Y, 
		Size = UDim2.fromScale(1, 0), 
		BackgroundColor3 = u2.InlineTextBoxBackground, 
		PlaceholderText = p1.PlaceholderText, 
		PlaceholderColor3 = u1.Computed(function()
			if p1.HighlightEmptyError and p1.HighlightEmptyError:get() then
				return u2.InlineTextBoxPlaceholderEmptyError;
			end;
			return u2.InlineTextBoxPlaceholder;
		end), 
		TextEditable = p1.TextEditable, 
		Text = p1.Text, 
		TextColor3 = u2.InlineTextBoxText, 
		TextXAlignment = Enum.TextXAlignment.Left, 
		TextSize = 14, 
		TextWrapped = true, 
		Font = Enum.Font.Gotham, 
		Visible = p1.Visible
	};
	local u3 = "";
	v2[u1.OnChange("Text")] = function(p2)
		u3 = p2;
	end;
	v2[u1.OnEvent("FocusLost")] = function(p3)
		if p3 then
			p1.OnTextEntered(u3);
		end;
	end;
	v2[u1.OnChange("Text")] = p1.TextChanged;
	v2[u1.Children] = { u1.New("UICorner")({
			CornerRadius = UDim.new(0, 5)
		}), u1.New("UIPadding")({
			PaddingLeft = UDim.new(0, 18), 
			PaddingRight = UDim.new(0, 18), 
			PaddingTop = UDim.new(0, 10), 
			PaddingBottom = UDim.new(0, 10)
		}), p1[u1.Children] };
	return u1.New("TextBox")(v2);
end;
