local E=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local e=require(E.Packages.Fusion)local Z=require(E.Admin.Theme)return function(E)local B={Name=E.Name;AutomaticSize=Enum.AutomaticSize.Y,Size=UDim2.fromScale(1,0);BackgroundColor3=Z.InlineTextBoxBackground,PlaceholderText=E.PlaceholderText,PlaceholderColor3=e.Computed(function()if E.HighlightEmptyError and E.HighlightEmptyError:get()then return Z.InlineTextBoxPlaceholderEmptyError end return Z.InlineTextBoxPlaceholder end);TextEditable=E.TextEditable,Text=E.Text,TextColor3=Z.InlineTextBoxText,TextXAlignment=Enum.TextXAlignment.Left;TextSize=14,TextWrapped=true;Font=Enum.Font.Gotham,Visible=E.Visible}local J=""B[e.OnChange("\084\101\120\116")]=function(E)J=E end B[e.OnEvent("\070\111\099\117\115\076\111\115\116")]=function(e)if e then E.OnTextEntered(J)end end B[e.OnChange("\084\101\120\116")]=E.TextChanged B[e.Children]={(e.New("\085\073\067\111\114\110\101\114"))({CornerRadius=UDim.new(0,5)}),(e.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)}),E[e.Children]}return(e.New("\084\101\120\116\066\111\120"))(B)end
-- Decompiled with the Synapse X Luau decompiler.

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
