local Y=script.Parent.Parent local i=require(Y.Types)local U=require(Y.Utility.cleanupOnDestroy)local D=require(Y.Instances.Children)local I=require(Y.Instances.Scheduler)local k=require(Y.Instances.defaultProps)local q=require(Y.State.Compat)local d=require(Y.Logging.logError)local b=require(Y.Logging.logWarn)local f={__mode="\107"}local t=false
--[[
	Constructs and returns a new instance, with options for setting properties,
	event handlers and other attributes on the instance right away.
]]

local Package = script.Parent.Parent
local Types = require(Package.Types)
local cleanupOnDestroy = require(Package.Utility.cleanupOnDestroy)
local Children = require(Package.Instances.Children)
local Scheduler = require(Package.Instances.Scheduler)
local defaultProps = require(Package.Instances.defaultProps)
local Compat = require(Package.State.Compat)
local logError = require(Package.Logging.logError)
local logWarn = require(Package.Logging.logWarn)

local WEAK_KEYS_METATABLE = { __mode = "k" }

local ENABLE_EXPERIMENTAL_GC_MODE = false
