local P=require(Vendor:WaitForChild("\082\111\097\099\116"))local p=P.createElement local function W(W)return p("\083\099\114\101\101\110\071\117\105",{},{Dialog=p("\070\114\097\109\101",{AnchorPoint=Vector2.new(.5,.5);BackgroundColor3=Color3.fromRGB(31,31,31);BackgroundTransparency=.6;BorderSizePixel=0;Position=UDim2.new(.5,0,.5,0);Size=UDim2.new(0,200,0,0)},{Corners=p("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,4)}),CloseButton=p("\084\101\120\116\066\117\116\116\111\110",{AnchorPoint=Vector2.new(0,1),BackgroundColor3=Color3.fromRGB(0,0,0);BackgroundTransparency=.5,Modal=true;Position=UDim2.new(0,0,1,0),Size=UDim2.new(1,0,0,23),Text="\067\108\111\115\101",Font=Enum.Font.GothamSemibold,TextColor3=Color3.fromRGB(255,255,255),TextSize=11;[P.Event.Activated]=function(P)W.OnDismiss()end},{Corners=p("\085\073\067\111\114\110\101\114",{CornerRadius=UDim.new(0,4)})}),Text=p("\084\101\120\116\076\097\098\101\108",{BackgroundTransparency=1;Size=UDim2.new(1,0,1,-23);Font=Enum.Font.GothamSemibold,RichText=true;Text=W.Text;TextColor3=Color3.fromRGB(255,255,255),TextSize=11,TextWrapped=true,[P.Change.TextBounds]=function(P)P.Parent.Size=UDim2.new(0,200,0,(P.TextBounds.Y+23)+26)end},{Padding=p("\085\073\080\097\100\100\105\110\103",{PaddingLeft=UDim.new(0,10);PaddingRight=UDim.new(0,10)})})})})end return W
-- Libraries
local Roact = require(Vendor:WaitForChild("Roact"))
local new = Roact.createElement

local function ExportDialog(props)
	return new("ScreenGui", {}, {
		Dialog = new("Frame", {
			AnchorPoint = Vector2.new(0.5, 0.5),
			BackgroundColor3 = Color3.fromRGB(31, 31, 31),
			BackgroundTransparency = 0.6,
			BorderSizePixel = 0,
			Position = UDim2.new(0.5, 0, 0.5, 0),
			Size = UDim2.new(0, 200, 0, 0),
		}, {
			Corners = new("UICorner", {
				CornerRadius = UDim.new(0, 4),
			}),
			CloseButton = new("TextButton", {
				AnchorPoint = Vector2.new(0, 1),
				BackgroundColor3 = Color3.fromRGB(0, 0, 0),
				BackgroundTransparency = 0.5,
				Modal = true,
				Position = UDim2.new(0, 0, 1, 0),
				Size = UDim2.new(1, 0, 0, 23),
				Text = "Close",
				Font = Enum.Font.GothamSemibold,
				TextColor3 = Color3.fromRGB(255, 255, 255),
				TextSize = 11,
				[Roact.Event.Activated] = function(rbx)
					props.OnDismiss()
				end,
			}, {
				Corners = new("UICorner", {
					CornerRadius = UDim.new(0, 4),
				}),
			}),
			Text = new("TextLabel", {
				BackgroundTransparency = 1,
				Size = UDim2.new(1, 0, 1, -23),
				Font = Enum.Font.GothamSemibold,
				RichText = true,
				Text = props.Text,
				TextColor3 = Color3.fromRGB(255, 255, 255),
				TextSize = 11,
				TextWrapped = true,
				[Roact.Change.TextBounds] = function(rbx)
					rbx.Parent.Size = UDim2.new(0, 200, 0, rbx.TextBounds.Y + 23 + 26)
				end,
			}, {
				Padding = new("UIPadding", {
					PaddingLeft = UDim.new(0, 10),
					PaddingRight = UDim.new(0, 10),
				}),
			}),
		}),
	})
end

return ExportDialog
