local l_Parent_0 = script.Parent.Parent;
local l_console_0 = require(l_Parent_0.Shared).console;
local function _(v2)
    print("");
    print("");
    print("UNIMPLEMENTED ERROR: " .. v2);
    error("FIXME (roblox): " .. v2 .. " is unimplemented", 2);
end;
local _ = require(script.Parent.ReactInternalTypes);
local v5 = require(script.Parent.ReactFiberHostConfig);
local _ = require(script.Parent["ReactFiberSuspenseComponent.new"]);
local v7 = require(script.Parent.ReactWorkTags);
local l_HostComponent_0 = v7.HostComponent;
local l_HostText_0 = v7.HostText;
local l_HostRoot_0 = v7.HostRoot;
local l_SuspenseComponent_0 = v7.SuspenseComponent;
local v12 = require(script.Parent.ReactFiberFlags);
local l_Placement_0 = v12.Placement;
local l_Hydrating_0 = v12.Hydrating;
local l_invariant_0 = require(l_Parent_0.Shared).invariant;
local l_createFiberFromDehydratedFragment_0 = require(script.Parent["ReactFiber.new"]).createFiberFromDehydratedFragment;
local l_supportsHydration_0 = v5.supportsHydration;
local l_getNextHydratableSibling_0 = v5.getNextHydratableSibling;
local l_getFirstHydratableChild_0 = v5.getFirstHydratableChild;
local l_canHydrateInstance_0 = v5.canHydrateInstance;
local l_canHydrateTextInstance_0 = v5.canHydrateTextInstance;
local l_canHydrateSuspenseInstance_0 = v5.canHydrateSuspenseInstance;
local l_hydrateInstance_0 = v5.hydrateInstance;
local l_hydrateTextInstance_0 = v5.hydrateTextInstance;
local l_hydrateSuspenseInstance_0 = v5.hydrateSuspenseInstance;
local l_getNextHydratableInstanceAfterSuspenseInstance_0 = v5.getNextHydratableInstanceAfterSuspenseInstance;
local l_didNotMatchHydratedContainerTextInstance_0 = v5.didNotMatchHydratedContainerTextInstance;
local l_didNotMatchHydratedTextInstance_0 = v5.didNotMatchHydratedTextInstance;
local l_shouldSetTextContent_0 = v5.shouldSetTextContent;
local l_enableSuspenseServerRenderer_0 = require(l_Parent_0.Shared).ReactFeatureFlags.enableSuspenseServerRenderer;
local l_OffscreenLane_0 = require(script.Parent.ReactFiberLane).OffscreenLane;
local v32 = nil;
local v33 = nil;
local v34 = false;
warnIfHydrating = function()
    if not (not _G.__DEV__ or not v34) then
        l_console_0.error("We should not be hydrating here. This is a bug in React. Please file a bug.");
    end;
end;
enterHydrationState = function(v35)
    if l_supportsHydration_0 then
        v33 = l_getFirstHydratableChild_0(v35.stateNode.containerInfo);
        v32 = v35;
        v34 = true;
        return true;
    else
        return false;
    end;
end;
reenterHydrationStateFromDehydratedSuspenseInstance = function(v36, v37)
    if l_supportsHydration_0 then
        v33 = l_getNextHydratableSibling_0(v37);
        popToNextHostParent(v36);
        v34 = true;
        return true;
    else
        return false;
    end;
end;
deleteHydratableInstance = function(_, _)
    print("");
    print("");
    print("UNIMPLEMENTED ERROR: " .. "deleteHydratableInstance");
    error("FIXME (roblox): " .. "deleteHydratableInstance" .. " is unimplemented", 2);
end;
insertNonHydratedInstance = function(_, v41)
    print("");
    print("");
    print("UNIMPLEMENTED ERROR: " .. "insertNonHydratedInstance");
    error("FIXME (roblox): " .. "insertNonHydratedInstance" .. " is unimplemented", 2);
    v41.flags = bit32.bor(bit32.band(v41.flags, (bit32.bnot(l_Hydrating_0))), l_Placement_0);
    if _G.__DEV__ then
    end;
end;
tryHydrate = function(v42, v43)
    if v42.tag == l_HostComponent_0 then
        local v44 = l_canHydrateInstance_0(v43, v42.type, v42.pendingProps);
        if v44 ~= nil then
            v42.stateNode = v44;
            return true;
        else
            return false;
        end;
    elseif v42.tag == l_HostText_0 then
        local v45 = l_canHydrateTextInstance_0(v43, v42.pendingProps);
        if v45 ~= nil then
            v42.stateNode = v45;
            return true;
        else
            return false;
        end;
    elseif v42.tag == l_SuspenseComponent_0 then
        if l_enableSuspenseServerRenderer_0 then
            local v46 = l_canHydrateSuspenseInstance_0(v43);
            if v46 ~= nil then
                v42.memoizedState = {
                    dehydrated = v46,
                    retryLane = l_OffscreenLane_0
                };
                local v47 = l_createFiberFromDehydratedFragment_0(v46);
                v47.return_ = v42;
                v42.child = v47;
                return true;
            end;
        end;
        return false;
    else
        return false;
    end;
end;
tryToClaimNextHydratableInstance = function(v48)
    if v34 then
        local l_v33_0 = v33;
        if l_v33_0 then
            local l_l_v33_0_0 = l_v33_0;
            if not tryHydrate(v48, l_v33_0) then
                l_v33_0 = l_getNextHydratableSibling_0(l_l_v33_0_0);
                if l_v33_0 and tryHydrate(v48, l_v33_0) then
                    deleteHydratableInstance(v32, l_l_v33_0_0);
                else
                    insertNonHydratedInstance(v32, v48);
                    v34 = false;
                    v32 = v48;
                    return ;
                end;
            end;
            v32 = v48;
            v33 = l_getFirstHydratableChild_0(l_v33_0);
            return ;
        else
            insertNonHydratedInstance(v32, v48);
            v34 = false;
            v32 = v48;
            return ;
        end;
    else
        return ;
    end;
end;
prepareToHydrateHostInstance = function(v51, v52, v53)
    if not l_supportsHydration_0 then
        l_invariant_0(false, "Expected prepareToHydrateHostInstance() to never be called. " .. "This error is likely caused by a bug in React. Please file an issue.");
    end;
    local v54 = l_hydrateInstance_0(v51.stateNode, v51.type, v51.memoizedProps, v52, v53, v51);
    v51.updateQueue = v54;
    if v54 ~= nil then
        return true;
    else
        return false;
    end;
end;
prepareToHydrateHostTextInstance = function(v55)
    if not l_supportsHydration_0 then
        l_invariant_0(false, "Expected prepareToHydrateHostTextInstance() to never be called. " .. "This error is likely caused by a bug in React. Please file an issue.");
    end;
    local l_stateNode_0 = v55.stateNode;
    local l_memoizedProps_0 = v55.memoizedProps;
    local v58 = l_hydrateTextInstance_0(l_stateNode_0, l_memoizedProps_0, v55);
    if not (not _G.__DEV__ or not v58) then
        local l_v32_0 = v32;
        if l_v32_0 ~= nil then
            if l_v32_0.tag == l_HostRoot_0 then
                l_didNotMatchHydratedContainerTextInstance_0(l_v32_0.stateNode.containerInfo, l_stateNode_0, l_memoizedProps_0);
                return v58;
            elseif l_v32_0.tag == l_HostComponent_0 then
                l_didNotMatchHydratedTextInstance_0(l_v32_0.type, l_v32_0.memoizedProps, l_v32_0.stateNode, l_stateNode_0, l_memoizedProps_0);
            end;
        end;
    end;
    return v58;
end;
prepareToHydrateHostSuspenseInstance = function(v60)
    if not l_supportsHydration_0 then
        l_invariant_0(false, "Expected prepareToHydrateHostSuspenseInstance() to never be called. " .. "This error is likely caused by a bug in React. Please file an issue.");
    end;
    local l_memoizedState_0 = v60.memoizedState;
    local v62 = nil;
    v62 = if l_memoizedState_0 ~= nil then l_memoizedState_0.dehydrated else nil;
    l_invariant_0(v62, "Expected to have a hydrated suspense instance. " .. "This error is likely caused by a bug in React. Please file an issue.");
    l_hydrateSuspenseInstance_0(v62, v60);
end;
skipPastDehydratedSuspenseInstance = function(v63)
    if not l_supportsHydration_0 then
        l_invariant_0(false, "Expected skipPastDehydratedSuspenseInstance() to never be called. " .. "This error is likely caused by a bug in React. Please file an issue.");
    end;
    local l_memoizedState_1 = v63.memoizedState;
    local v65 = nil;
    v65 = if l_memoizedState_1 ~= nil then l_memoizedState_1.dehydrated else nil;
    l_invariant_0(v65, "Expected to have a hydrated suspense instance. " .. "This error is likely caused by a bug in React. Please file an issue.");
    return l_getNextHydratableInstanceAfterSuspenseInstance_0(v65);
end;
popToNextHostParent = function(v66)
    local l_return__0 = v66.return_;
    while ((l_return__0 ~= nil and l_return__0.tag ~= l_HostComponent_0) and l_return__0.tag ~= l_HostRoot_0) and l_return__0.tag ~= l_SuspenseComponent_0 do
        l_return__0 = l_return__0.return_;
    end;
    v32 = l_return__0;
end;
popHydrationState = function(v68)
    if l_supportsHydration_0 then
        if v68 ~= v32 then
            return false;
        elseif v34 then
            local l_type_0 = v68.type;
            if not (v68.tag == l_HostComponent_0 and (not (l_type_0 ~= "head" and l_type_0 ~= "body") or l_shouldSetTextContent_0(l_type_0, v68.memoizedProps))) then
                local l_v33_1 = v33;
                while l_v33_1 do
                    deleteHydratableInstance(v68, l_v33_1);
                    l_v33_1 = l_getNextHydratableSibling_0(l_v33_1);
                end;
            end;
            popToNextHostParent(v68);
            if v68.tag == l_SuspenseComponent_0 then
                v33 = skipPastDehydratedSuspenseInstance(v68);
            elseif not v32 then
                v33 = nil;
            else
                v33 = l_getNextHydratableSibling_0(v68.stateNode);
            end;
            return true;
        else
            popToNextHostParent(v68);
            v34 = true;
            return false;
        end;
    else
        return false;
    end;
end;
resetHydrationState = function()
    if l_supportsHydration_0 then
        v32 = nil;
        v33 = nil;
        v34 = false;
        return ;
    else
        return ;
    end;
end;
getIsHydrating = function()
    return v34;
end;
return {
    warnIfHydrating = warnIfHydrating,
    enterHydrationState = enterHydrationState,
    getIsHydrating = getIsHydrating,
    reenterHydrationStateFromDehydratedSuspenseInstance = reenterHydrationStateFromDehydratedSuspenseInstance,
    resetHydrationState = resetHydrationState,
    tryToClaimNextHydratableInstance = tryToClaimNextHydratableInstance,
    prepareToHydrateHostInstance = prepareToHydrateHostInstance,
    prepareToHydrateHostTextInstance = prepareToHydrateHostTextInstance,
    prepareToHydrateHostSuspenseInstance = prepareToHydrateHostSuspenseInstance,
    popHydrationState = popHydrationState
};


return {
    resolveDefaultProps = function(v0, v1)
        if not (v0 and typeof(v0) == "table") or not v0.defaultProps then
            return v1;
        else
            local v2 = table.clone(v1);
            local l_defaultProps_0 = v0.defaultProps;
            for v4, _ in l_defaultProps_0, nil, nil do
                if v2[v4] == nil then
                    v2[v4] = l_defaultProps_0[v4];
                end;
            end;
            return v2;
        end;
    end
};


local _ = require(script.Parent.Parent.Shared);
local _ = require(script.Parent.ReactFiberLane);
return {};


local l___DEV___0 = _G.__DEV__;
local l_Parent_0 = script.Parent.Parent;
local _ = require(l_Parent_0.Shared);
local v3 = require(l_Parent_0.LuauPolyfill);
local l_Array_0 = v3.Array;
local l_Object_0 = v3.Object;
local l_console_0 = require(l_Parent_0.Shared).console;
local _ = require(script.Parent.ReactInternalTypes);
local v8 = require(script.Parent.ReactRootTags);
local v9 = require(script.Parent.ReactFiberFlags);
local _ = require(script.Parent.ReactFiberHostConfig);
local v11 = require(script.Parent.ReactWorkTags);
local l_FundamentalComponent_0 = v11.FundamentalComponent;
local _ = require(l_Parent_0.Shared);
local v14 = require(script.Parent.ReactFiberLane);
local _ = require(script.Parent["ReactFiberSuspenseComponent.new"]);
local v16 = require(script.Parent.ReactFiberTreeReflection);
local l_findCurrentHostFiber_0 = v16.findCurrentHostFiber;
local l_findCurrentHostFiberWithNoPortals_0 = v16.findCurrentHostFiberWithNoPortals;
local l_get_0 = require(l_Parent_0.Shared).ReactInstanceMap.get;
local l_HostComponent_0 = v11.HostComponent;
local l_ClassComponent_0 = v11.ClassComponent;
local l_HostRoot_0 = v11.HostRoot;
local l_SuspenseComponent_0 = v11.SuspenseComponent;
local l_getComponentName_0 = require(l_Parent_0.Shared).getComponentName;
local l_invariant_0 = require(l_Parent_0.Shared).invariant;
local l_describeError_0 = require(l_Parent_0.Shared).describeError;
local l_enableSchedulingProfiler_0 = require(l_Parent_0.Shared).ReactFeatureFlags.enableSchedulingProfiler;
local l_ReactSharedInternals_0 = require(l_Parent_0.Shared).ReactSharedInternals;
local l_getPublicInstance_0 = require(script.Parent.ReactFiberHostConfig).getPublicInstance;
local v30 = require(script.Parent["ReactFiberContext.new"]);
local l_findCurrentUnmaskedContext_0 = v30.findCurrentUnmaskedContext;
local l_processChildContext_0 = v30.processChildContext;
local l_emptyContextObject_0 = v30.emptyContextObject;
local l_isContextProvider_0 = v30.isContextProvider;
local l_createFiberRoot_0 = require(script.Parent["ReactFiberRoot.new"]).createFiberRoot;
local v36 = require(script.Parent["ReactFiberDevToolsHook.new"]);
local l_injectInternals_0 = v36.injectInternals;
local l_onScheduleRoot_0 = v36.onScheduleRoot;
local v39 = require(script.Parent["ReactFiberWorkLoop.new"]);
local l_requestEventTime_0 = v39.requestEventTime;
local l_requestUpdateLane_0 = v39.requestUpdateLane;
local l_scheduleUpdateOnFiber_0 = v39.scheduleUpdateOnFiber;
local l_flushRoot_0 = v39.flushRoot;
local l_batchedEventUpdates_0 = v39.batchedEventUpdates;
local l_batchedUpdates_0 = v39.batchedUpdates;
local l_unbatchedUpdates_0 = v39.unbatchedUpdates;
local l_flushSync_0 = v39.flushSync;
local l_flushControlled_0 = v39.flushControlled;
local l_deferredUpdates_0 = v39.deferredUpdates;
local l_discreteUpdates_0 = v39.discreteUpdates;
local l_flushDiscreteUpdates_0 = v39.flushDiscreteUpdates;
local l_flushPassiveEffects_0 = v39.flushPassiveEffects;
local l_warnIfNotScopedWithMatchingAct_0 = v39.warnIfNotScopedWithMatchingAct;
local l_warnIfUnmockedScheduler_0 = v39.warnIfUnmockedScheduler;
local l_IsThisRendererActing_0 = v39.IsThisRendererActing;
local l_act_0 = v39.act;
local v57 = require(script.Parent["ReactUpdateQueue.new"]);
local l_createUpdate_0 = v57.createUpdate;
local l_enqueueUpdate_0 = v57.enqueueUpdate;
local v60 = require(script.Parent.ReactCurrentFiber);
local l_isRendering_0 = v60.isRendering;
local l_resetCurrentFiber_0 = v60.resetCurrentFiber;
local l_setCurrentFiber_0 = v60.setCurrentFiber;
local v64 = require(script.Parent.ReactTypeOfMode);
local l_StrictMode_0 = v64.StrictMode;
local l_SyncLane_0 = v14.SyncLane;
local l_InputDiscreteHydrationLane_0 = v14.InputDiscreteHydrationLane;
local l_SelectiveHydrationLane_0 = v14.SelectiveHydrationLane;
local l_NoTimestamp_0 = v14.NoTimestamp;
local l_getHighestPriorityPendingLanes_0 = v14.getHighestPriorityPendingLanes;
local l_higherPriorityLane_0 = v14.higherPriorityLane;
local l_getCurrentUpdateLanePriority_0 = v14.getCurrentUpdateLanePriority;
local l_setCurrentUpdateLanePriority_0 = v14.setCurrentUpdateLanePriority;
local l_markRenderScheduled_0 = require(script.Parent.SchedulingProfiler).markRenderScheduled;
local v75 = {
    ReactRootTags = v8,
    ReactWorkTags = v11,
    ReactTypeOfMode = v64,
    ReactFiberFlags = v9,
    getNearestMountedFiber = v16.getNearestMountedFiber,
    findCurrentFiberUsingSlowPath = v16.findCurrentFiberUsingSlowPath,
    createPortal = require(script.Parent.ReactPortal).createPortal
};
local v76 = nil;
local v77 = nil;
if l___DEV___0 then
    v76 = false;
    v77 = {};
end;
local function _(v78)
    if v78 then
        local v79 = l_get_0(v78);
        local v80 = l_findCurrentUnmaskedContext_0(v79);
        if v79.tag == l_ClassComponent_0 then
            local l_type_0 = v79.type;
            if l_isContextProvider_0(l_type_0) then
                return l_processChildContext_0(v79, l_type_0, v80);
            end;
        end;
        return v80;
    else
        return l_emptyContextObject_0;
    end;
end;
local function v86(v83)
    local v84 = l_get_0(v83);
    if v84 == nil then
        if typeof(v83.render) == "function" then
            l_invariant_0(false, "Unable to find node on an unmounted component.");
        else
            l_invariant_0(false, "Argument appears to not be a ReactComponent. Keys: %s", table.concat(l_Object_0.keys(v83)));
        end;
    end;
    local v85 = l_findCurrentHostFiber_0(v84);
    if v85 == nil then
        return nil;
    else
        return v85.stateNode;
    end;
end;
local function v95(v87, v88)
    if not l___DEV___0 then
        return (v86(v87));
    else
        local v89 = l_get_0(v87);
        if v89 == nil then
            if typeof(v87.render) == "function" then
                l_invariant_0(false, "Unable to find node on an unmounted component.");
            else
                l_invariant_0(false, "Argument appears to not be a ReactComponent. Keys: %s", table.concat(l_Object_0.keys(v87)));
            end;
        end;
        local v90 = l_findCurrentHostFiber_0(v89);
        if v90 == nil then
            return nil;
        else
            if bit32.band(v90.mode, l_StrictMode_0) ~= 0 then
                local v91 = l_getComponentName_0(v89.type) or "Component";
                if not v77[v91] then
                    v77[v91] = true;
                    local l_current_0 = v60.current;
                    local v93, v94 = xpcall(function()
                        l_setCurrentFiber_0(v90);
                        if bit32.band(v89.mode, l_StrictMode_0) ~= 0 then
                            l_console_0.error("%s is deprecated in StrictMode. " .. "%s was passed an instance of %s which is inside StrictMode. " .. "Instead, add a ref directly to the element you want to reference. " .. "Learn more about using refs safely here: " .. "https://reactjs.org/link/strict-mode-find-node", v88, v88, v91);
                            return ;
                        else
                            l_console_0.error("%s is deprecated in StrictMode. " .. "%s was passed an instance of %s which renders StrictMode children. " .. "Instead, add a ref directly to the element you want to reference. " .. "Learn more about using refs safely here: " .. "https://reactjs.org/link/strict-mode-find-node", v88, v88, v91);
                            return ;
                        end;
                    end, l_describeError_0);
                    if not l_current_0 then
                        l_resetCurrentFiber_0();
                    else
                        l_setCurrentFiber_0(l_current_0);
                    end;
                    if not v93 then
                        error(v94);
                    end;
                end;
            end;
            return v90.stateNode;
        end;
    end;
end;
v75.createContainer = function(v96, v97, v98, v99)
    return l_createFiberRoot_0(v96, v97, v98, v99);
end;
v75.updateContainer = function(v100, v101, v102, v103)
    if l___DEV___0 then
        l_onScheduleRoot_0(v101, v100);
    end;
    local l_current_1 = v101.current;
    local v105 = l_requestEventTime_0();
    if not (not l___DEV___0 or not _G.__TESTEZ_RUNNING_TEST__) then
        l_warnIfUnmockedScheduler_0(l_current_1);
        l_warnIfNotScopedWithMatchingAct_0(l_current_1);
    end;
    local v106 = l_requestUpdateLane_0(l_current_1);
    if l_enableSchedulingProfiler_0 then
        l_markRenderScheduled_0(v106);
    end;
    local v107;
    if v102 then
        local v108 = l_get_0(v102);
        local v109 = l_findCurrentUnmaskedContext_0(v108);
        if v108.tag == l_ClassComponent_0 then
            local l_type_1 = v108.type;
            if l_isContextProvider_0(l_type_1) then
                v107 = l_processChildContext_0(v108, l_type_1, v109);
                goto label0 --[[  true, true  ]];
            end;
        end;
        v107 = v109;
    else
        v107 = l_emptyContextObject_0;
    end;
    ::label0::;
    if v101.context == nil then
        v101.context = v107;
    else
        v101.pendingContext = v107;
    end;
    if not (not (not (not l___DEV___0 or not l_isRendering_0) and v60.current ~= nil) or v76) then
        v76 = true;
        l_console_0.error("Render methods should be a pure function of props and state; " .. "triggering nested component updates from render is not allowed. " .. "If necessary, trigger nested updates in componentDidUpdate.\n\n" .. "Check the render method of %s.", l_getComponentName_0(v60.current.type) or "Unknown");
    end;
    local v111 = l_createUpdate_0(v105, v106);
    if v100 == nil then
        v100 = l_Object_0.None;
    end;
    v111.payload = {
        element = v100
    };
    if v103 ~= nil then
        if l___DEV___0 and typeof(v103) ~= "function" then
            l_console_0.error("render(...): Expected the last optional `callback` argument to be a " .. "function. Instead received: %s.", (tostring(v103)));
        end;
        v111.callback = v103;
    end;
    l_enqueueUpdate_0(l_current_1, v111);
    l_scheduleUpdateOnFiber_0(l_current_1, v106, v105);
    return v106;
end;
v75.batchedEventUpdates = l_batchedEventUpdates_0;
v75.batchedUpdates = l_batchedUpdates_0;
v75.unbatchedUpdates = l_unbatchedUpdates_0;
v75.deferredUpdates = l_deferredUpdates_0;
v75.discreteUpdates = l_discreteUpdates_0;
v75.flushDiscreteUpdates = l_flushDiscreteUpdates_0;
v75.flushControlled = l_flushControlled_0;
v75.flushSync = l_flushSync_0;
v75.flushPassiveEffects = l_flushPassiveEffects_0;
v75.IsThisRendererActing = l_IsThisRendererActing_0;
v75.act = l_act_0;
v75.getPublicRootInstance = function(v112)
    local l_current_2 = v112.current;
    if l_current_2.child then
        if l_current_2.child.tag == l_HostComponent_0 then
            return l_getPublicInstance_0(l_current_2.child.stateNode);
        else
            return l_current_2.child.stateNode;
        end;
    else
        return nil;
    end;
end;
local v114 = nil;
v75.attemptSynchronousHydration = function(v115)
    if v115.tag == l_HostRoot_0 then
        local l_stateNode_0 = v115.stateNode;
        if l_stateNode_0.hydrate then
            l_flushRoot_0(l_stateNode_0, (l_getHighestPriorityPendingLanes_0(l_stateNode_0)));
            return ;
        end;
    elseif v115.tag == l_SuspenseComponent_0 then
        local v117 = l_requestEventTime_0();
        l_flushSync_0(function()
            return l_scheduleUpdateOnFiber_0(v115, l_SyncLane_0, v117);
        end);
        v114(v115, l_InputDiscreteHydrationLane_0);
    end;
end;
local function _(v118, v119)
    local l_memoizedState_0 = v118.memoizedState;
    if (l_memoizedState_0 and l_memoizedState_0 ~= nil) and l_memoizedState_0.dehydrated ~= nil then
        l_memoizedState_0.retryLane = l_higherPriorityLane_0(l_memoizedState_0.retryLane, v119);
    end;
end;
v114 = function(v122, v123)
    local l_memoizedState_1 = v122.memoizedState;
    if (l_memoizedState_1 and l_memoizedState_1 ~= nil) and l_memoizedState_1.dehydrated ~= nil then
        l_memoizedState_1.retryLane = l_higherPriorityLane_0(l_memoizedState_1.retryLane, v123);
    end;
    l_memoizedState_1 = v122.alternate;
    if l_memoizedState_1 then
        local l_memoizedState_2 = l_memoizedState_1.memoizedState;
        if (l_memoizedState_2 and l_memoizedState_2 ~= nil) and l_memoizedState_2.dehydrated ~= nil then
            l_memoizedState_2.retryLane = l_higherPriorityLane_0(l_memoizedState_2.retryLane, v123);
        end;
    end;
end;
v75.attemptUserBlockingHydration = function(v126)
    if v126.tag ~= l_SuspenseComponent_0 then
        return ;
    else
        local v127 = l_requestEventTime_0();
        local l_l_InputDiscreteHydrationLane_0_0 = l_InputDiscreteHydrationLane_0;
        l_scheduleUpdateOnFiber_0(v126, l_l_InputDiscreteHydrationLane_0_0, v127);
        v114(v126, l_l_InputDiscreteHydrationLane_0_0);
        return ;
    end;
end;
v75.attemptContinuousHydration = function(v129)
    if v129.tag ~= l_SuspenseComponent_0 then
        return ;
    else
        local v130 = l_requestEventTime_0();
        local l_l_SelectiveHydrationLane_0_0 = l_SelectiveHydrationLane_0;
        l_scheduleUpdateOnFiber_0(v129, l_l_SelectiveHydrationLane_0_0, v130);
        v114(v129, l_l_SelectiveHydrationLane_0_0);
        return ;
    end;
end;
v75.attemptHydrationAtCurrentPriority = function(v132)
    if v132.tag ~= l_SuspenseComponent_0 then
        return ;
    else
        local v133 = l_requestEventTime_0();
        local v134 = l_requestUpdateLane_0(v132);
        l_scheduleUpdateOnFiber_0(v132, v134, v133);
        v114(v132, v134);
        return ;
    end;
end;
v75.runWithPriority = function(v135, v136)
    local v137 = l_getCurrentUpdateLanePriority_0();
    l_setCurrentUpdateLanePriority_0(v135);
    local v138, v139 = xpcall(v136, l_describeError_0);
    l_setCurrentUpdateLanePriority_0(v137);
    if not v138 then
        error(v139);
    end;
    return v139;
end;
v75.getCurrentUpdateLanePriority = l_getCurrentUpdateLanePriority_0;
v75.findHostInstance = v86;
v75.findHostInstanceWithWarning = v95;
v75.findHostInstanceWithNoPortals = function(v140)
    local v141 = l_findCurrentHostFiberWithNoPortals_0(v140);
    if v141 == nil then
        return nil;
    elseif v141.tag == l_FundamentalComponent_0 then
        return v141.stateNode.instance;
    else
        return v141.stateNode;
    end;
end;
local function v143(_)
    return false;
end;
v75.shouldSuspend = function(v144)
    return v143(v144);
end;
local v145 = nil;
local v146 = nil;
local v147 = nil;
local v148 = nil;
local v149 = nil;
local v150 = nil;
local v151 = nil;
local v152 = nil;
if l___DEV___0 then
    local function v153(v154, v155, v156)
        local v157 = v155[v156];
        local v158 = nil;
        v158 = if not l_Array_0.isArray(v154) then table.clone(v154) else l_Array_0.slice(v154);
        if v156 + 1 == #v155 then
            if not l_Array_0.isArray(v158) then
                v158[v157] = nil;
                return v158;
            else
                l_Array_0.splice(v158, v157, 1);
                return v158;
            end;
        else
            v158[v157] = v153(v154[v157], v155, v156 + 1);
            return v158;
        end;
    end;
    local function _(v159, v160)
        return (v153(v159, v160, 0));
    end;
    local function v162(v163, v164, v165, v166)
        local v167 = v164[v166];
        local v168 = nil;
        v168 = if not l_Array_0.isArray(v163) then table.clone(v163) else l_Array_0.slice(v163);
        if v166 + 1 == #v164 then
            v168[v165[v166]] = v168[v167];
            if not l_Array_0.isArray(v168) then
                v168[v167] = nil;
                return v168;
            else
                l_Array_0.splice(v168, v167, 1);
                return v168;
            end;
        else
            v168[v167] = v162(v163[v167], v164, v165, v166 + 1);
            return v168;
        end;
    end;
    local function v173(v169, v170, v171)
        if #v170 ~= #v171 then
            l_console_0.warn("copyWithRename() expects paths of the same length");
            return nil;
        else
            for v172 = 1, #v171 do
                if v170[v172] ~= v171[v172] then
                    l_console_0.warn("copyWithRename() expects paths to be the same except for the deepest key");
                    return nil;
                end;
            end;
            return (v162(v169, v170, v171, 0));
        end;
    end;
    local function v174(v175, v176, v177, v178)
        if #v176 + 1 <= v177 then
            return v178;
        else
            local v179 = v176[v177];
            local v180 = nil;
            v180 = if not l_Array_0.isArray(v175) then table.clone(v175) else l_Array_0.slice(v175);
            v180[v179] = v174(v175[v179], v176, v177 + 2, v178);
            return v180;
        end;
    end;
    local function _(v181, v182, v183)
        return (v174(v181, v182, 1, v183));
    end;
    local function _(v185, v186)
        local l_memoizedState_3 = v185.memoizedState;
        while l_memoizedState_3 ~= nil and v186 > 1 do
            l_memoizedState_3 = l_memoizedState_3.next;
            v186 = v186 - 1;
        end;
        return l_memoizedState_3;
    end;
    v145 = function(v189, v190, v191, v192)
        local l_v190_0 = v190;
        local l_memoizedState_4 = v189.memoizedState;
        while l_memoizedState_4 ~= nil and l_v190_0 > 1 do
            l_memoizedState_4 = l_memoizedState_4.next;
            l_v190_0 = l_v190_0 - 1;
        end;
        local l_l_memoizedState_4_0 = l_memoizedState_4;
        if l_l_memoizedState_4_0 ~= nil then
            l_v190_0 = v174(l_l_memoizedState_4_0.memoizedState, v191, 1, v192);
            l_l_memoizedState_4_0.memoizedState = l_v190_0;
            l_l_memoizedState_4_0.baseState = l_v190_0;
            v189.memoizedProps = table.clone(v189.memoizedProps);
            l_scheduleUpdateOnFiber_0(v189, l_SyncLane_0, l_NoTimestamp_0);
        end;
    end;
    v146 = function(v196, v197, v198)
        local l_v197_0 = v197;
        local l_memoizedState_5 = v196.memoizedState;
        while l_memoizedState_5 ~= nil and l_v197_0 > 1 do
            l_memoizedState_5 = l_memoizedState_5.next;
            l_v197_0 = l_v197_0 - 1;
        end;
        local l_l_memoizedState_5_0 = l_memoizedState_5;
        if l_l_memoizedState_5_0 ~= nil then
            l_v197_0 = v153(l_l_memoizedState_5_0.memoizedState, v198, 0);
            l_l_memoizedState_5_0.memoizedState = l_v197_0;
            l_l_memoizedState_5_0.baseState = l_v197_0;
            v196.memoizedProps = table.clone(v196.memoizedProps);
            l_scheduleUpdateOnFiber_0(v196, l_SyncLane_0, l_NoTimestamp_0);
        end;
    end;
    v147 = function(v202, v203, v204, v205)
        local l_v203_0 = v203;
        local l_memoizedState_6 = v202.memoizedState;
        while l_memoizedState_6 ~= nil and l_v203_0 > 1 do
            l_memoizedState_6 = l_memoizedState_6.next;
            l_v203_0 = l_v203_0 - 1;
        end;
        local l_l_memoizedState_6_0 = l_memoizedState_6;
        if l_l_memoizedState_6_0 ~= nil then
            l_v203_0 = v173(l_l_memoizedState_6_0.memoizedState, v204, v205);
            l_l_memoizedState_6_0.memoizedState = l_v203_0;
            l_l_memoizedState_6_0.baseState = l_v203_0;
            v202.memoizedProps = table.clone(v202.memoizedProps);
            l_scheduleUpdateOnFiber_0(v202, l_SyncLane_0, l_NoTimestamp_0);
        end;
    end;
    v148 = function(v209, v210, v211)
        v209.pendingProps = v174(v209.memoizedProps, v210, 1, v211);
        local l_alternate_0 = v209.alternate;
        if l_alternate_0 then
            l_alternate_0.pendingProps = v209.pendingProps;
        end;
        l_scheduleUpdateOnFiber_0(v209, l_SyncLane_0, l_NoTimestamp_0);
    end;
    v149 = function(v213, v214)
        v213.pendingProps = v153(v213.memoizedProps, v214, 0);
        local l_alternate_1 = v213.alternate;
        if l_alternate_1 then
            l_alternate_1.pendingProps = v213.pendingProps;
        end;
        l_scheduleUpdateOnFiber_0(v213, l_SyncLane_0, l_NoTimestamp_0);
    end;
    v150 = function(v216, v217, v218)
        v216.pendingProps = v173(v216.memoizedProps, v217, v218);
        local l_alternate_2 = v216.alternate;
        if l_alternate_2 then
            l_alternate_2.pendingProps = v216.pendingProps;
        end;
        l_scheduleUpdateOnFiber_0(v216, l_SyncLane_0, l_NoTimestamp_0);
    end;
    v151 = function(v220)
        l_scheduleUpdateOnFiber_0(v220, l_SyncLane_0, l_NoTimestamp_0);
    end;
    v152 = function(v221)
        v143 = v221;
    end;
end;
findHostInstanceByFiber = function(v222)
    local v223 = l_findCurrentHostFiber_0(v222);
    if v223 == nil then
        return nil;
    else
        return v223.stateNode;
    end;
end;
emptyFindFiberByHostInstance = function(_)
    return nil;
end;
getCurrentFiberForDevTools = function()
    return v60.current;
end;
v75.injectIntoDevTools = function(v225)
    local l_findFiberByHostInstance_0 = v225.findFiberByHostInstance;
    local l_ReactCurrentDispatcher_0 = l_ReactSharedInternals_0.ReactCurrentDispatcher;
    local v228 = nil;
    if l___DEV___0 then
        v228 = getCurrentFiberForDevTools;
    end;
    return l_injectInternals_0({
        bundleType = v225.bundleType,
        version = v225.version,
        rendererPackageName = v225.rendererPackageName,
        rendererConfig = v225.rendererConfig,
        overrideHookState = v145,
        overrideHookStateDeletePath = v146,
        overrideHookStateRenamePath = v147,
        overrideProps = v148,
        overridePropsDeletePath = v149,
        overridePropsRenamePath = v150,
        setSuspenseHandler = v152,
        scheduleUpdate = v151,
        currentDispatcherRef = l_ReactCurrentDispatcher_0,
        findHostInstanceByFiber = findHostInstanceByFiber,
        findFiberByHostInstance = l_findFiberByHostInstance_0 or emptyFindFiberByHostInstance,
        getCurrentFiber = v228
    });
end;
return v75;


local l_Parent_0 = script.Parent.Parent;
local v1 = require(l_Parent_0.LuauPolyfill);
local l_Set_0 = v1.Set;
local l_Map_0 = v1.Map;
local _ = require(script.Parent.ReactInternalTypes);
local v5 = require(script.Parent.ReactRootTags);
local v6 = require(script.Parent.ReactFiberHostConfig);
local l_noTimeout_0 = v6.noTimeout;
local l_supportsHydration_0 = v6.supportsHydration;
local l_createHostRootFiber_0 = require(script.Parent["ReactFiber.new"]).createHostRootFiber;
local v10 = require(script.Parent.ReactFiberLane);
local l_NoLanes_0 = v10.NoLanes;
local l_NoLanePriority_0 = v10.NoLanePriority;
local l_NoTimestamp_0 = v10.NoTimestamp;
local l_createLaneMap_0 = v10.createLaneMap;
local l_ReactFeatureFlags_0 = require(l_Parent_0.Shared).ReactFeatureFlags;
local l_enableSchedulerTracing_0 = l_ReactFeatureFlags_0.enableSchedulerTracing;
local l_enableSuspenseCallback_0 = l_ReactFeatureFlags_0.enableSuspenseCallback;
local l_unstable_getThreadID_0 = require(l_Parent_0.Scheduler).tracing.unstable_getThreadID;
local l_initializeUpdateQueue_0 = require(script.Parent["ReactUpdateQueue.new"]).initializeUpdateQueue;
local l_LegacyRoot_0 = v5.LegacyRoot;
local l_BlockingRoot_0 = v5.BlockingRoot;
local l_ConcurrentRoot_0 = v5.ConcurrentRoot;
local v23 = {};
local function v28(v24, v25, v26)
    local v27 = {
        tag = v25,
        containerInfo = v24,
        pendingChildren = nil,
        current = nil,
        pingCache = nil,
        finishedWork = nil,
        timeoutHandle = l_noTimeout_0,
        context = nil,
        pendingContext = nil,
        hydrate = v26,
        callbackNode = nil,
        callbackPriority = l_NoLanePriority_0,
        eventTimes = l_createLaneMap_0(l_NoLanes_0),
        expirationTimes = l_createLaneMap_0(l_NoTimestamp_0),
        pendingLanes = l_NoLanes_0,
        suspendedLanes = l_NoLanes_0,
        pingedLanes = l_NoLanes_0,
        expiredLanes = l_NoLanes_0,
        mutableReadLanes = l_NoLanes_0,
        finishedLanes = l_NoLanes_0,
        entangledLanes = l_NoLanes_0,
        entanglements = l_createLaneMap_0(l_NoLanes_0)
    };
    if l_supportsHydration_0 then
        v27.mutableSourceEagerHydrationData = nil;
    end;
    if l_enableSchedulerTracing_0 then
        v27.interactionThreadID = l_unstable_getThreadID_0();
        v27.memoizedInteractions = l_Set_0.new();
        v27.pendingInteractionMap = l_Map_0.new();
    end;
    if l_enableSuspenseCallback_0 then
        v27.hydrationCallbacks = nil;
    end;
    if _G.__DEV__ then
        if v25 == l_BlockingRoot_0 then
            v27._debugRootType = "createBlockingRoot()";
            return v27;
        elseif v25 == l_ConcurrentRoot_0 then
            v27._debugRootType = "createRoot()";
            return v27;
        elseif v25 == l_LegacyRoot_0 then
            v27._debugRootType = "createLegacyRoot()";
        end;
    end;
    return v27;
end;
v23.createFiberRoot = function(v29, v30, v31, v32)
    local v33 = v28(v29, v30, v31);
    if l_enableSuspenseCallback_0 then
        v33.hydrationCallbacks = v32;
    end;
    local v34 = l_createHostRootFiber_0(v30);
    v33.current = v34;
    v34.stateNode = v33;
    l_initializeUpdateQueue_0(v34);
    return v33;
end;
return v23;


return {
    ImmediatePriority = 99,
    UserBlockingPriority = 98,
    NormalPriority = 97,
    LowPriority = 96,
    IdlePriority = 95,
    NoPriority = 90
};


local l_console_0 = require(script.Parent.Parent.Shared).console;
local _ = require(script.Parent.ReactInternalTypes);
local v2 = {};
local v3 = {};
local v4 = nil;
if _G.__DEV__ then
    v4 = {};
end;
local v5 = 0;
return {
    createCursor = function(v6)
        return {
            current = v6
        };
    end,
    isEmpty = function()
        return v5 == 0;
    end,
    pop = function(v7, v8)
        if v5 < 1 then
            if _G.__DEV__ then
                l_console_0.error("Unexpected pop.");
            end;
            return ;
        else
            if _G.__DEV__ and v8 ~= v4[v5] then
                l_console_0.error("Unexpected Fiber popped.");
            end;
            local v9 = v3[v5];
            if v9 == v2 then
                v7.current = nil;
            else
                v7.current = v9;
            end;
            v3[v5] = nil;
            if _G.__DEV__ then
                v4[v5] = nil;
            end;
            v5 = v5 - 1;
            return ;
        end;
    end,
    push = function(v10, v11, v12)
        v5 = v5 + 1;
        local l_current_0 = v10.current;
        if l_current_0 == nil then
            v3[v5] = v2;
        else
            v3[v5] = l_current_0;
        end;
        if _G.__DEV__ then
            v4[v5] = v12;
        end;
        v10.current = v11;
    end,
    checkThatStackIsEmpty = function()
        if _G.__DEV__ and v5 ~= 0 then
            l_console_0.error("Expected an empty stack. Something was not reset properly.");
        end;
    end,
    resetStackAfterFatalErrorInDev = function()
        if _G.__DEV__ then
            v5 = 0;
            table.clear(v3);
            table.clear(v4);
        end;
    end
};


local _ = require(script.Parent.Parent.Shared);
local _ = require(script.Parent.ReactInternalTypes);
local v2 = require(script.Parent.ReactFiberHostConfig);
local _ = require(script.Parent.ReactFiberLane);
local v4 = require(script.Parent.ReactWorkTags);
local l_SuspenseComponent_0 = v4.SuspenseComponent;
local l_SuspenseListComponent_0 = v4.SuspenseListComponent;
local v7 = require(script.Parent.ReactFiberFlags);
local l_NoFlags_0 = v7.NoFlags;
local l_DidCapture_0 = v7.DidCapture;
local l_isSuspenseInstancePending_0 = v2.isSuspenseInstancePending;
local l_isSuspenseInstanceFallback_0 = v2.isSuspenseInstanceFallback;
return {
    shouldCaptureSuspense = function(v12, v13)
        local l_memoizedState_0 = v12.memoizedState;
        if not l_memoizedState_0 then
            local l_memoizedProps_0 = v12.memoizedProps;
            if l_memoizedProps_0.fallback == nil then
                return false;
            elseif l_memoizedProps_0.unstable_avoidThisFallback ~= true then
                return true;
            elseif not v13 then
                return true;
            else
                return false;
            end;
        elseif l_memoizedState_0.dehydrated ~= nil then
            return true;
        else
            return false;
        end;
    end,
    findFirstSuspended = function(v16)
        local l_v16_0 = v16;
        while true do
            if l_v16_0 ~= nil then
                if l_v16_0.tag == l_SuspenseComponent_0 then
                    local l_memoizedState_1 = l_v16_0.memoizedState;
                    if l_memoizedState_1 then
                        local l_dehydrated_0 = l_memoizedState_1.dehydrated;
                        if not (not (not (l_dehydrated_0 ~= nil) or l_isSuspenseInstancePending_0(l_dehydrated_0)) and not l_isSuspenseInstanceFallback_0(l_dehydrated_0)) then
                            return l_v16_0;
                        end;
                    end;
                elseif l_v16_0.tag == l_SuspenseListComponent_0 and l_v16_0.memoizedProps.revealOrder ~= nil then
                    if bit32.band(l_v16_0.flags, l_DidCapture_0) ~= l_NoFlags_0 then
                        return l_v16_0;
                    end;
                elseif l_v16_0.child ~= nil then
                    l_v16_0.child.return_ = l_v16_0;
                    l_v16_0 = l_v16_0.child;
                    continue;
                end;
                if l_v16_0 == v16 then
                    return nil;
                else
                    while true do
                        if l_v16_0.sibling == nil then
                            if not (l_v16_0.return_ ~= nil) or l_v16_0.return_ == v16 then
                                return nil;
                            else
                                l_v16_0 = l_v16_0.return_;
                            end;
                        else
                            l_v16_0.sibling.return_ = l_v16_0.return_;
                            l_v16_0 = l_v16_0.sibling;
                            break;
                        end;
                    end;
                end;
            else
                return nil;
            end;
        end;
    end
};


local _ = require(script.Parent.ReactInternalTypes);
local v1 = require(script.Parent["ReactFiberStack.new"]);
local l_createCursor_0 = v1.createCursor;
local l_push_0 = v1.push;
local l_pop_0 = v1.pop;
local v5 = {
    InvisibleParentSuspenseContext = 1,
    ForceSuspenseFallback = 2
};
local v6 = l_createCursor_0(0);
v5.suspenseStackCursor = v6;
v5.hasSuspenseContext = function(v7, v8)
    return bit32.band(v7, v8) ~= 0;
end;
v5.setDefaultShallowSuspenseContext = function(v9)
    return (bit32.band(v9, 1));
end;
v5.setShallowSuspenseContext = function(v10, v11)
    return (bit32.bor(bit32.band(v10, 1), v11));
end;
v5.addSubtreeSuspenseContext = function(v12, v13)
    return (bit32.bor(v12, v13));
end;
v5.pushSuspenseContext = function(v14, v15)
    l_push_0(v6, v15, v14);
end;
v5.popSuspenseContext = function(v16)
    l_pop_0(v6, v16);
end;
return v5;


local l_Parent_0 = script.Parent.Parent;
local l_Object_0 = require(l_Parent_0.LuauPolyfill).Object;
local l_console_0 = require(l_Parent_0.Shared).console;
local _ = require(script.Parent.ReactInternalTypes);
local v4 = require(script.Parent.ReactFiberLane);
local _ = require(script.Parent.ReactCapturedValue);
local v6 = require(script.Parent["ReactUpdateQueue.new"]);
local _ = require(l_Parent_0.Shared);
local v8 = require(script.Parent["ReactFiberSuspenseContext.new"]);
local l_getComponentName_0 = require(l_Parent_0.Shared).getComponentName;
local v10 = require(script.Parent.ReactWorkTags);
local l_ClassComponent_0 = v10.ClassComponent;
local l_HostRoot_0 = v10.HostRoot;
local l_SuspenseComponent_0 = v10.SuspenseComponent;
local l_IncompleteClassComponent_0 = v10.IncompleteClassComponent;
local v15 = require(script.Parent.ReactFiberFlags);
local l_DidCapture_0 = v15.DidCapture;
local l_Incomplete_0 = v15.Incomplete;
local l_NoFlags_0 = v15.NoFlags;
local l_ShouldCapture_0 = v15.ShouldCapture;
local l_LifecycleEffectMask_0 = v15.LifecycleEffectMask;
local l_ForceUpdateForLegacySuspense_0 = v15.ForceUpdateForLegacySuspense;
local l_shouldCaptureSuspense_0 = require(script.Parent["ReactFiberSuspenseComponent.new"]).shouldCaptureSuspense;
local v23 = require(script.Parent.ReactTypeOfMode);
local l_NoMode_0 = v23.NoMode;
local l_BlockingMode_0 = v23.BlockingMode;
local l_DebugTracingMode_0 = v23.DebugTracingMode;
local l_ReactFeatureFlags_0 = require(l_Parent_0.Shared).ReactFeatureFlags;
local l_enableDebugTracing_0 = l_ReactFeatureFlags_0.enableDebugTracing;
local l_enableSchedulingProfiler_0 = l_ReactFeatureFlags_0.enableSchedulingProfiler;
local l_createCapturedValue_0 = require(script.Parent.ReactCapturedValue).createCapturedValue;
local l_enqueueCapturedUpdate_0 = v6.enqueueCapturedUpdate;
local l_createUpdate_0 = v6.createUpdate;
local l_CaptureUpdate_0 = v6.CaptureUpdate;
local l_ForceUpdate_0 = v6.ForceUpdate;
local l_enqueueUpdate_0 = v6.enqueueUpdate;
local l_markFailedErrorBoundaryForHotReloading_0 = require(script.Parent["ReactFiberHotReloading.new"]).markFailedErrorBoundaryForHotReloading;
local l_hasSuspenseContext_0 = v8.hasSuspenseContext;
local l_InvisibleParentSuspenseContext_0 = v8.InvisibleParentSuspenseContext;
local l_suspenseStackCursor_0 = v8.suspenseStackCursor;
local v40 = nil;
local v41 = nil;
local v42 = nil;
local v43 = nil;
local function v44(...)
    if not v41 then
        v40 = require(script.Parent["ReactFiberWorkLoop.new"]);
        v41 = v40.markLegacyErrorBoundaryAsFailed;
    end;
    return v41(...);
end;
local function v45(...)
    if v40 == nil then
        v40 = require(script.Parent["ReactFiberWorkLoop.new"]);
    end;
    v43 = v40.pingSuspendedRoot;
    return v43(...);
end;
local function v46(...)
    if v40 == nil then
        v40 = require(script.Parent["ReactFiberWorkLoop.new"]);
    end;
    v42 = v40.isAlreadyFailedLegacyErrorBoundary;
    return v42(...);
end;
local l_logCapturedError_0 = require(script.Parent.ReactFiberErrorLogger).logCapturedError;
local l_logComponentSuspended_0 = require(script.Parent.DebugTracing).logComponentSuspended;
local l_markComponentSuspended_0 = require(script.Parent.SchedulingProfiler).markComponentSuspended;
local l_SyncLane_0 = v4.SyncLane;
local l_NoTimestamp_0 = v4.NoTimestamp;
local l_includesSomeLane_0 = v4.includesSomeLane;
local l_mergeLanes_0 = v4.mergeLanes;
local l_pickArbitraryLane_0 = v4.pickArbitraryLane;
createRootErrorUpdate = function(v55, v56, v57, v58)
    local v59 = l_createUpdate_0(l_NoTimestamp_0, v57);
    v59.tag = l_CaptureUpdate_0;
    v59.payload = {
        element = l_Object_0.None
    };
    local l_value_0 = v56.value;
    v59.callback = function()
        if v58 ~= nil then
            v58(l_value_0);
        end;
        l_logCapturedError_0(v55, v56);
    end;
    return v59;
end;
createClassErrorUpdate = function(v61, v62, v63)
    local v64 = l_createUpdate_0(l_NoTimestamp_0, v63);
    v64.tag = l_CaptureUpdate_0;
    local l_getDerivedStateFromError_0 = v61.type.getDerivedStateFromError;
    if typeof(l_getDerivedStateFromError_0) == "function" then
        local l_value_1 = v62.value;
        local l_l_value_1_0 = l_value_1 --[[ copy: 5 -> 6 ]];
        v64.payload = function()
            l_logCapturedError_0(v61, v62);
            return l_getDerivedStateFromError_0(l_l_value_1_0);
        end;
    end;
    local l_stateNode_0 = v61.stateNode;
    if l_stateNode_0 ~= nil and typeof(l_stateNode_0.componentDidCatch) == "function" then
        v64.callback = function()
            if _G.__DEV__ then
                l_markFailedErrorBoundaryForHotReloading_0(v61);
            end;
            if typeof(l_getDerivedStateFromError_0) ~= "function" then
                v44(l_stateNode_0);
                l_logCapturedError_0(v61, v62);
            end;
            l_stateNode_0:componentDidCatch(v62.value, {
                componentStack = v62.stack or ""
            });
            if not (not (_G.__DEV__ and typeof(l_getDerivedStateFromError_0) ~= "function") or l_includesSomeLane_0(v61.lanes, l_SyncLane_0)) then
                l_console_0.error("%s: Error boundaries should implement getDerivedStateFromError(). " .. "In that method, return a state update to display an error message or fallback UI.", l_getComponentName_0(v61.type) or "Unknown");
            end;
        end;
        return v64;
    else
        if _G.__DEV__ then
            v64.callback = function()
                l_markFailedErrorBoundaryForHotReloading_0(v61);
            end;
        end;
        return v64;
    end;
end;
local function v75(v69, v70, v71)
    local l_pingCache_0 = v69.pingCache;
    local v73 = nil;
    if l_pingCache_0 == nil then
        v73 = {};
        v69.pingCache = {
            [v70] = v73
        };
        l_pingCache_0 = v69.pingCache;
    else
        v73 = l_pingCache_0[v70];
        if v73 == nil then
            v73 = {};
            l_pingCache_0[v70] = v73;
        end;
    end;
    if not v73[v71] then
        v73[v71] = true;
        local function v74()
            return v45(v69, v70, v71);
        end;
        v70:andThen(v74, v74);
    end;
end;
throwException = function(v76, v77, v78, v79, v80, v81, v82)
    v78.flags = bit32.bor(v78.flags, l_Incomplete_0);
    if (v79 ~= nil and typeof(v79) == "table") and typeof(v79.andThen) == "function" then
        local l_v79_0 = v79;
        if not (not _G.__DEV__ or not l_enableDebugTracing_0) and bit32.band(v78.mode, l_DebugTracingMode_0) ~= 0 then
            l_logComponentSuspended_0(l_getComponentName_0(v78.type) or "Unknown", l_v79_0);
        end;
        if l_enableSchedulingProfiler_0 then
            l_markComponentSuspended_0(v78, l_v79_0);
        end;
        if bit32.band(v78.mode, l_BlockingMode_0) == l_NoMode_0 then
            local l_alternate_0 = v78.alternate;
            if not l_alternate_0 then
                v78.updateQueue = nil;
                v78.memoizedState = nil;
            else
                v78.updateQueue = l_alternate_0.updateQueue;
                v78.memoizedState = l_alternate_0.memoizedState;
                v78.lanes = l_alternate_0.lanes;
            end;
        end;
        local v85 = l_hasSuspenseContext_0(l_suspenseStackCursor_0.current, l_InvisibleParentSuspenseContext_0);
        local l_v77_0 = v77;
        while true do
            if not (l_v77_0.tag == l_SuspenseComponent_0) or not l_shouldCaptureSuspense_0(l_v77_0, v85) then
                l_v77_0 = l_v77_0.return_;
                if not (l_v77_0 ~= nil) then
                    v79 = (l_getComponentName_0(v78.type) or "A React component") .. " suspended while rendering, but no fallback UI was specified.\n" .. "\n" .. "Add a <Suspense fallback=...> component higher in the tree to " .. "provide a loading indicator or placeholder to display.";
                    break;
                end;
            else
                local l_updateQueue_0 = l_v77_0.updateQueue;
                if l_updateQueue_0 == nil then
                    l_v77_0.updateQueue = {
                        [l_v79_0] = true
                    };
                else
                    l_updateQueue_0[l_v79_0] = true;
                end;
                if bit32.band(l_v77_0.mode, l_BlockingMode_0) == l_NoMode_0 then
                    l_v77_0.flags = bit32.bor(l_v77_0.flags, l_DidCapture_0);
                    v78.flags = bit32.bor(v78.flags, l_ForceUpdateForLegacySuspense_0);
                    v78.flags = bit32.band(v78.flags, (bit32.bnot((bit32.bor(l_LifecycleEffectMask_0, l_Incomplete_0)))));
                    if v78.tag == l_ClassComponent_0 then
                        if v78.alternate == nil then
                            v78.tag = l_IncompleteClassComponent_0;
                        else
                            local v88 = l_createUpdate_0(l_NoTimestamp_0, l_SyncLane_0);
                            v88.tag = l_ForceUpdate_0;
                            l_enqueueUpdate_0(v78, v88);
                        end;
                    end;
                    v78.lanes = l_mergeLanes_0(v78.lanes, l_SyncLane_0);
                    return ;
                else
                    v75(v76, l_v79_0, v80);
                    l_v77_0.flags = bit32.bor(l_v77_0.flags, l_ShouldCapture_0);
                    l_v77_0.lanes = v80;
                    return ;
                end;
            end;
        end;
    end;
    v82();
    v79 = l_createCapturedValue_0(v79, v78);
    local l_v77_1 = v77;
    while true do
        if l_v77_1.tag == l_HostRoot_0 then
            local l_v79_1 = v79;
            l_v77_1.flags = bit32.bor(l_v77_1.flags, l_ShouldCapture_0);
            local v91 = l_pickArbitraryLane_0(v80);
            l_v77_1.lanes = l_mergeLanes_0(l_v77_1.lanes, v91);
            l_enqueueCapturedUpdate_0(l_v77_1, (createRootErrorUpdate(l_v77_1, l_v79_1, v91, v81)));
            return ;
        else
            if l_v77_1.tag == l_ClassComponent_0 then
                local l_v79_2 = v79;
                local l_type_0 = l_v77_1.type;
                local l_stateNode_1 = l_v77_1.stateNode;
                if not (not (bit32.band(l_v77_1.flags, l_DidCapture_0) == l_NoFlags_0) or typeof(l_type_0.getDerivedStateFromError) ~= "function" and (not (l_stateNode_1 ~= nil and typeof(l_stateNode_1.componentDidCatch) == "function") or v46(l_stateNode_1))) then
                    l_v77_1.flags = bit32.bor(l_v77_1.flags, l_ShouldCapture_0);
                    local v95 = l_pickArbitraryLane_0(v80);
                    l_v77_1.lanes = l_mergeLanes_0(l_v77_1.lanes, v95);
                    l_enqueueCapturedUpdate_0(l_v77_1, (createClassErrorUpdate(l_v77_1, l_v79_2, v95)));
                    return ;
                end;
            end;
            l_v77_1 = l_v77_1.return_;
            if not (l_v77_1 ~= nil) then
                return ;
            end;
        end;
    end;
end;
return {
    throwException = throwException,
    createRootErrorUpdate = createRootErrorUpdate,
    createClassErrorUpdate = createClassErrorUpdate
};


local l_ReactCurrentBatchConfig_0 = require(script.Parent.Parent.Shared).ReactSharedInternals.ReactCurrentBatchConfig;
return {
    NoTransition = 0,
    requestCurrentTransition = function()
        return l_ReactCurrentBatchConfig_0.transition;
    end
};


local l_Parent_0 = script.Parent.Parent;
local l_console_0 = require(l_Parent_0.Shared).console;
local _ = require(script.Parent.ReactInternalTypes);
local _ = require(script.Parent.ReactFiberHostConfig);
local _ = require(script.Parent["ReactFiberSuspenseComponent.new"]);
local l_invariant_0 = require(l_Parent_0.Shared).invariant;
local l_get_0 = require(l_Parent_0.Shared).ReactInstanceMap.get;
local l_ReactSharedInternals_0 = require(l_Parent_0.Shared).ReactSharedInternals;
local l_getComponentName_0 = require(l_Parent_0.Shared).getComponentName;
local v9 = require(script.Parent.ReactWorkTags);
local l_ClassComponent_0 = v9.ClassComponent;
local l_HostComponent_0 = v9.HostComponent;
local l_HostRoot_0 = v9.HostRoot;
local l_HostPortal_0 = v9.HostPortal;
local l_HostText_0 = v9.HostText;
local l_FundamentalComponent_0 = v9.FundamentalComponent;
local l_SuspenseComponent_0 = v9.SuspenseComponent;
local v17 = require(script.Parent.ReactFiberFlags);
local l_NoFlags_0 = v17.NoFlags;
local l_Placement_0 = v17.Placement;
local l_Hydrating_0 = v17.Hydrating;
local l_enableFundamentalAPI_0 = require(l_Parent_0.Shared).ReactFeatureFlags.enableFundamentalAPI;
local l_ReactCurrentOwner_0 = l_ReactSharedInternals_0.ReactCurrentOwner;
local v23 = {};
local function v28(v24)
    local l_v24_0 = v24;
    local l_v24_1 = v24;
    if v24.alternate then
        while l_v24_0.return_ do
            l_v24_0 = l_v24_0.return_;
        end;
    else
        local l_l_v24_0_0 = l_v24_0;
        while true do
            l_v24_0 = l_l_v24_0_0;
            if bit32.band(l_v24_0.flags, (bit32.bor(l_Placement_0, l_Hydrating_0))) ~= l_NoFlags_0 then
                l_v24_1 = l_v24_0.return_;
            end;
            l_l_v24_0_0 = l_v24_0.return_;
            if not l_l_v24_0_0 then
                break;
            end;
        end;
    end;
    if l_v24_0.tag == l_HostRoot_0 then
        return l_v24_1;
    else
        return nil;
    end;
end;
v23.getNearestMountedFiber = v28;
v23.getSuspenseInstanceFromFiber = function(v29)
    if v29.tag == l_SuspenseComponent_0 then
        local l_memoizedState_0 = v29.memoizedState;
        if l_memoizedState_0 == nil then
            local l_alternate_0 = v29.alternate;
            if l_alternate_0 ~= nil then
                l_memoizedState_0 = l_alternate_0.memoizedState;
            end;
        end;
        if l_memoizedState_0 then
            return l_memoizedState_0.dehydrated;
        end;
    end;
    return nil;
end;
v23.getContainerFromFiber = function(v32)
    if v32.tag == l_HostRoot_0 then
        return v32.stateNode.containerInfo;
    else
        return nil;
    end;
end;
v23.isFiberMounted = function(v33)
    return v28(v33) == v33;
end;
v23.isMounted = function(v34)
    if _G.__DEV__ then
        local l_current_0 = l_ReactCurrentOwner_0.current;
        if l_current_0 ~= nil and l_current_0.tag == l_ClassComponent_0 then
            local l_stateNode_0 = l_current_0.stateNode;
            if not l_stateNode_0._warnedAboutRefsInRender then
                l_console_0.error("%s is accessing isMounted inside its render() function. " .. "render() should be a pure function of props and state. It should " .. "never access something that requires stale data from the previous " .. "render, such as refs. Move this logic to componentDidMount and " .. "componentDidUpdate instead.", l_getComponentName_0(l_current_0.type) or "A component");
            end;
            l_stateNode_0._warnedAboutRefsInRender = true;
        end;
    end;
    local v37 = l_get_0(v34);
    if v37 then
        return v28(v37) == v37;
    else
        return false;
    end;
end;
local function _(v38)
    l_invariant_0(v28(v38) == v38, "Unable to find node on an unmounted component.");
end;
local function v51(v40)
    local l_alternate_1 = v40.alternate;
    if l_alternate_1 then
        local l_v40_0 = v40;
        local l_l_alternate_1_0 = l_alternate_1;
        while true do
            local l_return__0 = l_v40_0.return_;
            if l_return__0 ~= nil then
                local l_alternate_2 = l_return__0.alternate;
                if l_alternate_2 == nil then
                    local l_return__1 = l_return__0.return_;
                    if l_return__1 ~= nil then
                        l_v40_0 = l_return__1;
                        l_l_alternate_1_0 = l_return__1;
                    else
                        break;
                    end;
                else
                    if l_return__0.child == l_alternate_2.child then
                        local l_child_0 = l_return__0.child;
                        while true do
                            if not l_child_0 then
                                l_invariant_0(false, "Unable to find node on an unmounted component.");
                                break;
                            elseif l_child_0 == l_v40_0 then
                                l_invariant_0(v28(l_return__0) == l_return__0, "Unable to find node on an unmounted component.");
                                return v40;
                            elseif l_child_0 == l_l_alternate_1_0 then
                                l_invariant_0(v28(l_return__0) == l_return__0, "Unable to find node on an unmounted component.");
                                return l_alternate_1;
                            else
                                l_child_0 = l_child_0.sibling;
                            end;
                        end;
                    end;
                    if l_v40_0.return_ ~= l_l_alternate_1_0.return_ then
                        l_v40_0 = l_return__0;
                        l_l_alternate_1_0 = l_alternate_2;
                    else
                        local v48 = false;
                        local l_child_1 = l_return__0.child;
                        while l_child_1 do
                            if l_child_1 == l_v40_0 then
                                v48 = true;
                                l_v40_0 = l_return__0;
                                l_l_alternate_1_0 = l_alternate_2;
                                break;
                            elseif l_child_1 == l_l_alternate_1_0 then
                                v48 = true;
                                l_l_alternate_1_0 = l_return__0;
                                l_v40_0 = l_alternate_2;
                                break;
                            else
                                l_child_1 = l_child_1.sibling;
                            end;
                        end;
                        if not v48 then
                            l_child_1 = l_alternate_2.child;
                            while l_child_1 do
                                if l_child_1 == l_v40_0 then
                                    v48 = true;
                                    l_v40_0 = l_alternate_2;
                                    l_l_alternate_1_0 = l_return__0;
                                    break;
                                elseif l_child_1 == l_l_alternate_1_0 then
                                    v48 = true;
                                    l_l_alternate_1_0 = l_alternate_2;
                                    l_v40_0 = l_return__0;
                                    break;
                                else
                                    l_child_1 = l_child_1.sibling;
                                end;
                            end;
                            l_invariant_0(v48, "Child was not found in either parent set. This indicates a bug " .. "in React related to the return pointer. Please file an issue.");
                        end;
                    end;
                    l_invariant_0(l_v40_0.alternate == l_l_alternate_1_0, "Return fibers should always be each others' alternates. " .. "This error is likely caused by a bug in React. Please file an issue.");
                end;
            else
                break;
            end;
        end;
        l_invariant_0(l_v40_0.tag == l_HostRoot_0, "Unable to find node on an unmounted component.");
        if l_v40_0.stateNode.current == l_v40_0 then
            return v40;
        else
            return l_alternate_1;
        end;
    else
        local v50 = v28(v40);
        l_invariant_0(v50 ~= nil, "Unable to find node on an unmounted component.");
        if v50 ~= v40 then
            return nil;
        else
            return v40;
        end;
    end;
end;
v23.findCurrentFiberUsingSlowPath = v51;
v23.findCurrentHostFiber = function(v52)
    local v53 = v51(v52);
    if v53 then
        local l_v53_0 = v53;
        while true do
            local l_child_2 = l_v53_0.child;
            if not (l_v53_0.tag ~= l_HostComponent_0) or l_v53_0.tag == l_HostText_0 then
                return l_v53_0;
            elseif not l_child_2 then
                if l_v53_0 == v53 then
                    return nil;
                else
                    local l_return__2 = l_v53_0.return_;
                    local l_sibling_0 = l_v53_0.sibling;
                    while true do
                        if l_sibling_0 then
                            l_sibling_0.return_ = l_return__2;
                            l_v53_0 = l_sibling_0;
                            break;
                        elseif not l_return__2 or l_return__2 == v53 then
                            return nil;
                        else
                            l_v53_0 = l_return__2;
                        end;
                    end;
                end;
            else
                l_child_2.return_ = l_v53_0;
                l_v53_0 = l_child_2;
            end;
        end;
    else
        return nil;
    end;
end;
v23.findCurrentHostFiberWithNoPortals = function(v58)
    local v59 = v51(v58);
    if v59 then
        local l_v59_0 = v59;
        while true do
            local l_child_3 = l_v59_0.child;
            if not (l_v59_0.tag ~= l_HostComponent_0 and l_v59_0.tag ~= l_HostText_0) or l_enableFundamentalAPI_0 and l_v59_0.tag == l_FundamentalComponent_0 then
                return l_v59_0;
            elseif l_child_3 and l_v59_0.tag ~= l_HostPortal_0 then
                l_child_3.return_ = l_v59_0;
                l_v59_0 = l_child_3;
            elseif l_v59_0 == v59 then
                return nil;
            else
                local l_return__3 = l_v59_0.return_;
                local l_sibling_1 = l_v59_0.sibling;
                while true do
                    if l_sibling_1 then
                        l_sibling_1.return_ = l_return__3;
                        l_v59_0 = l_sibling_1;
                        break;
                    elseif not l_return__3 or l_return__3 == v59 then
                        return nil;
                    else
                        l_v59_0 = l_return__3;
                    end;
                end;
            end;
        end;
    else
        return nil;
    end;
end;
v23.isFiberSuspenseAndTimedOut = function(v64)
    local l_memoizedState_1 = v64.memoizedState;
    local v66 = false;
    if v64.tag == l_SuspenseComponent_0 then
        v66 = false;
        if l_memoizedState_1 ~= nil then
            v66 = l_memoizedState_1.dehydrated == nil;
        end;
    end;
    return v66;
end;
v23.doesFiberContain = function(v67, v68)
    local l_v68_0 = v68;
    local l_alternate_3 = v67.alternate;
    while true do
        if l_v68_0 ~= nil then
            if not (l_v68_0 ~= v67) or l_v68_0 == l_alternate_3 then
                return true;
            else
                l_v68_0 = l_v68_0.return_;
            end;
        else
            return false;
        end;
    end;
end;
return v23;


local l_Parent_0 = script.Parent.Parent;
local _ = require(script.Parent.ReactInternalTypes);
local _ = require(script.Parent.ReactFiberLane);
local _ = require(script.Parent["ReactFiberSuspenseComponent.new"]);
local l_resetWorkInProgressVersions_0 = require(script.Parent["ReactMutableSource.new"]).resetWorkInProgressVersions;
local v5 = require(script.Parent.ReactWorkTags);
local v6 = require(script.Parent.ReactFiberFlags);
local v7 = require(script.Parent.ReactTypeOfMode);
local l_ReactFeatureFlags_0 = require(l_Parent_0.Shared).ReactFeatureFlags;
local l_enableSuspenseServerRenderer_0 = l_ReactFeatureFlags_0.enableSuspenseServerRenderer;
local l_enableProfilerTimer_0 = l_ReactFeatureFlags_0.enableProfilerTimer;
local v11 = require(script.Parent["ReactFiberHostContext.new"]);
local l_popHostContainer_0 = v11.popHostContainer;
local l_popHostContext_0 = v11.popHostContext;
local l_popSuspenseContext_0 = require(script.Parent["ReactFiberSuspenseContext.new"]).popSuspenseContext;
local l_resetHydrationState_0 = require(script.Parent["ReactFiberHydrationContext.new"]).resetHydrationState;
local v16 = require(script.Parent["ReactFiberContext.new"]);
local l_isContextProvider_0 = v16.isContextProvider;
local l_popContext_0 = v16.popContext;
local l_popTopLevelContextObject_0 = v16.popTopLevelContextObject;
local l_popProvider_0 = require(script.Parent["ReactFiberNewContext.new"]).popProvider;
local v21 = nil;
local function v22(...)
    if not v21 then
        v21 = require(script.Parent["ReactFiberWorkLoop.new"]).popRenderLanes;
    end;
    return v21(...);
end;
local l_transferActualDuration_0 = require(script.Parent["ReactProfilerTimer.new"]).transferActualDuration;
local l_invariant_0 = require(l_Parent_0.Shared).invariant;
local function v31(v25, _)
    if v25.tag == v5.ClassComponent then
        if l_isContextProvider_0(v25.type) then
            l_popContext_0(v25);
        end;
        local l_flags_0 = v25.flags;
        if bit32.band(l_flags_0, v6.ShouldCapture) ~= 0 then
            v25.flags = bit32.bor(bit32.band(l_flags_0, (bit32.bnot(v6.ShouldCapture))), v6.DidCapture);
            if l_enableProfilerTimer_0 and bit32.band(v25.mode, v7.ProfileMode) ~= v7.NoMode then
                l_transferActualDuration_0(v25);
            end;
            return v25;
        else
            return nil;
        end;
    elseif v25.tag == v5.HostRoot then
        l_popHostContainer_0(v25);
        l_popTopLevelContextObject_0(v25);
        l_resetWorkInProgressVersions_0();
        local l_flags_1 = v25.flags;
        l_invariant_0(bit32.band(l_flags_1, v6.DidCapture) == v6.NoFlags, "The root failed to unmount after an error. This is likely a bug in " .. "React. Please file an issue.");
        v25.flags = bit32.bor(bit32.band(l_flags_1, (bit32.bnot(v6.ShouldCapture))), v6.DidCapture);
        return v25;
    elseif v25.tag == v5.HostComponent then
        l_popHostContext_0(v25);
        return nil;
    elseif v25.tag == v5.SuspenseComponent then
        l_popSuspenseContext_0(v25);
        if l_enableSuspenseServerRenderer_0 then
            local l_memoizedState_0 = v25.memoizedState;
            if l_memoizedState_0 ~= nil and l_memoizedState_0.dehydrated ~= nil then
                l_invariant_0(v25.alternate ~= nil, "Threw in newly mounted dehydrated component. This is likely a bug in " .. "React. Please file an issue.");
                l_resetHydrationState_0();
            end;
        end;
        local l_flags_2 = v25.flags;
        if bit32.band(l_flags_2, v6.ShouldCapture) ~= 0 then
            v25.flags = bit32.bor(bit32.band(l_flags_2, (bit32.bnot(v6.ShouldCapture))), v6.DidCapture);
            if l_enableProfilerTimer_0 and bit32.band(v25.mode, v7.ProfileMode) ~= v7.NoMode then
                l_transferActualDuration_0(v25);
            end;
            return v25;
        else
            return nil;
        end;
    elseif v25.tag == v5.SuspenseListComponent then
        l_popSuspenseContext_0(v25);
        return nil;
    elseif v25.tag == v5.HostPortal then
        l_popHostContainer_0(v25);
        return nil;
    elseif v25.tag == v5.ContextProvider then
        l_popProvider_0(v25);
        return nil;
    elseif not (v25.tag ~= v5.OffscreenComponent) or v25.tag == v5.LegacyHiddenComponent then
        v22(v25);
        return nil;
    else
        return nil;
    end;
end;
unwindInterruptedWork = function(v32)
    if v32.tag == v5.ClassComponent then
        local v33 = nil;
        if typeof(v32.type) == "table" then
            v33 = v32.type.childContextTypes;
        end;
        if v33 ~= nil then
            l_popContext_0(v32);
            return ;
        else
            return ;
        end;
    elseif v32.tag == v5.HostRoot then
        l_popHostContainer_0(v32);
        l_popTopLevelContextObject_0(v32);
        l_resetWorkInProgressVersions_0();
        return ;
    elseif v32.tag == v5.HostComponent then
        l_popHostContext_0(v32);
        return ;
    elseif v32.tag == v5.HostPortal then
        l_popHostContainer_0(v32);
        return ;
    elseif v32.tag == v5.SuspenseComponent then
        l_popSuspenseContext_0(v32);
        return ;
    elseif v32.tag == v5.SuspenseListComponent then
        l_popSuspenseContext_0(v32);
        return ;
    elseif v32.tag == v5.ContextProvider then
        l_popProvider_0(v32);
        return ;
    elseif not (v32.tag ~= v5.OffscreenComponent) or v32.tag == v5.LegacyHiddenComponent then
        v22(v32);
        return ;
    else
        return ;
    end;
end;
return {
    unwindWork = v31,
    unwindInterruptedWork = unwindInterruptedWork
};


local v0 = require(script.Parent.ReactFiberLane);
local l_NoLanes_0 = v0.NoLanes;
local l_mergeLanes_0 = v0.mergeLanes;
return {
    workInProgressRootSkippedLanes = function(v3)
        if v3 == nil then
            return l_NoLanes_0;
        else
            l_NoLanes_0 = v3;
            return l_NoLanes_0;
        end;
    end,
    markSkippedUpdateLanes = function(v4)
        l_NoLanes_0 = l_mergeLanes_0(v4, l_NoLanes_0);
    end
};


return {
    NoFlags = 0,
    HasEffect = 1,
    Layout = 2,
    Passive = 4
};


local l_Parent_0 = script.Parent.Parent;
local _ = require(l_Parent_0.LuauPolyfill);
local _ = require(l_Parent_0.Shared);
local _ = require(script.Parent.ReactWorkTags);
local _ = require(script.Parent.ReactTypeOfMode);
local _ = require(script.Parent.ReactFiberFlags);
local _ = require(script.Parent.ReactRootTags);
local _ = require(l_Parent_0.Shared);
local _ = require(l_Parent_0.Scheduler);
return {};


local l_Parent_0 = script.Parent.Parent;
local l_console_0 = require(l_Parent_0.Shared).console;
local v2 = {};
local _ = require(l_Parent_0.Shared);
local _ = require(script.Parent.ReactInternalTypes);
local l_isPrimaryRenderer_0 = require(script.Parent.ReactFiberHostConfig).isPrimaryRenderer;
local v6 = {};
local v7 = nil;
if _G.__DEV__ then
    v7 = {};
end;
v2.markSourceAsDirty = function(v8)
    table.insert(v6, v8);
end;
v2.resetWorkInProgressVersions = function()
    for _, v10 in v6, nil, nil do
        if not l_isPrimaryRenderer_0 then
            v10._workInProgressVersionSecondary = nil;
        else
            v10._workInProgressVersionPrimary = nil;
        end;
    end;
    table.clear(v6);
end;
v2.getWorkInProgressVersion = function(v11)
    if not l_isPrimaryRenderer_0 then
        return v11._workInProgressVersionSecondary;
    else
        return v11._workInProgressVersionPrimary;
    end;
end;
v2.setWorkInProgressVersion = function(v12, v13)
    if not l_isPrimaryRenderer_0 then
        v12._workInProgressVersionSecondary = v13;
    else
        v12._workInProgressVersionPrimary = v13;
    end;
    table.insert(v6, v12);
end;
v2.warnAboutMultipleRenderersDEV = function(v14)
    if _G.__DEV__ then
        if not l_isPrimaryRenderer_0 then
            if v14._currentSecondaryRenderer == nil then
                v14._currentSecondaryRenderer = v7;
                return ;
            elseif v14._currentSecondaryRenderer ~= v7 then
                l_console_0.error("Detected multiple renderers concurrently rendering the " .. "same mutable source. This is currently unsupported.");
            end;
        elseif v14._currentPrimaryRenderer == nil then
            v14._currentPrimaryRenderer = v7;
            return ;
        elseif v14._currentPrimaryRenderer ~= v7 then
            l_console_0.error("Detected multiple renderers concurrently rendering the " .. "same mutable source. This is currently unsupported.");
            return ;
        end;
    end;
end;
v2.registerMutableSourceForHydration = function(v15, v16)
    local v17 = v16._getVersion(v16._source);
    if v15.mutableSourceEagerHydrationData == nil then
        v15.mutableSourceEagerHydrationData = {
            v16,
            v17
        };
        return ;
    else
        return ;
    end;
end;
return v2;


local l_Parent_0 = script.Parent.Parent;
local l_REACT_PORTAL_TYPE_0 = require(l_Parent_0.Shared).ReactSymbols.REACT_PORTAL_TYPE;
local _ = require(l_Parent_0.Shared);
return {
    createPortal = function(v3, v4, v5, v6)
        if v6 ~= nil then
            v6 = tostring(v6);
        end;
        return {
            ["$$typeof"] = l_REACT_PORTAL_TYPE_0,
            key = v6,
            children = v3,
            containerInfo = v4,
            implementation = v5
        };
    end
};


local l_Parent_0 = script.Parent.Parent;
local _ = require(script.Parent.ReactInternalTypes);
local l_ReactFeatureFlags_0 = require(l_Parent_0.Shared).ReactFeatureFlags;
local l_enableProfilerTimer_0 = l_ReactFeatureFlags_0.enableProfilerTimer;
local l_enableProfilerCommitHooks_0 = l_ReactFeatureFlags_0.enableProfilerCommitHooks;
local l_Profiler_0 = require(script.Parent.ReactWorkTags).Profiler;
local l_unstable_now_0 = require(l_Parent_0.Scheduler).unstable_now;
local v7 = 0;
local v8 = -1;
local v9 = -1;
local v10 = -1;
getCommitTime = function()
    return v7;
end;
recordCommitTime = function()
    if l_enableProfilerTimer_0 then
        v7 = l_unstable_now_0();
        return ;
    else
        return ;
    end;
end;
startProfilerTimer = function(v11)
    if l_enableProfilerTimer_0 then
        v9 = l_unstable_now_0();
        if v11.actualStartTime ~= nil and v11.actualStartTime < 0 then
            v11.actualStartTime = l_unstable_now_0();
        end;
        return ;
    else
        return ;
    end;
end;
stopProfilerTimerIfRunning = function(_)
    if l_enableProfilerTimer_0 then
        v9 = -1;
        return ;
    else
        return ;
    end;
end;
stopProfilerTimerIfRunningAndRecordDelta = function(v13, v14)
    if l_enableProfilerTimer_0 then
        if v9 >= 0 then
            local v15 = l_unstable_now_0() - v9;
            v13.actualDuration = v13.actualDuration + v15;
            if v14 then
                v13.selfBaseDuration = v15;
            end;
            v9 = -1;
        end;
        return ;
    else
        return ;
    end;
end;
recordLayoutEffectDuration = function(v16)
    if l_enableProfilerTimer_0 and l_enableProfilerCommitHooks_0 then
        if v8 >= 0 then
            local v17 = l_unstable_now_0() - v8;
            v8 = -1;
            local l_return__0 = v16.return_;
            while l_return__0 ~= nil do
                if l_return__0.tag == l_Profiler_0 then
                    local l_stateNode_0 = l_return__0.stateNode;
                    l_stateNode_0.effectDuration = l_stateNode_0.effectDuration + v17;
                    return ;
                else
                    l_return__0 = l_return__0.return_;
                end;
            end;
        end;
        return ;
    else
        return ;
    end;
end;
recordPassiveEffectDuration = function(v20)
    if l_enableProfilerTimer_0 and l_enableProfilerCommitHooks_0 then
        if v10 >= 0 then
            local v21 = l_unstable_now_0() - v10;
            v10 = -1;
            local l_return__1 = v20.return_;
            while l_return__1 ~= nil do
                if l_return__1.tag == l_Profiler_0 then
                    local l_stateNode_1 = l_return__1.stateNode;
                    if l_stateNode_1 ~= nil then
                        l_stateNode_1.passiveEffectDuration = l_stateNode_1.passiveEffectDuration + v21;
                        return ;
                    else
                        break;
                    end;
                else
                    l_return__1 = l_return__1.return_;
                end;
            end;
        end;
        return ;
    else
        return ;
    end;
end;
startLayoutEffectTimer = function()
    if l_enableProfilerTimer_0 and l_enableProfilerCommitHooks_0 then
        v8 = l_unstable_now_0();
        return ;
    else
        return ;
    end;
end;
startPassiveEffectTimer = function()
    if l_enableProfilerTimer_0 and l_enableProfilerCommitHooks_0 then
        v10 = l_unstable_now_0();
        return ;
    else
        return ;
    end;
end;
transferActualDuration = function(v24)
    local l_child_0 = v24.child;
    while l_child_0 do
        v24.actualDuration = v24.actualDuration + l_child_0.actualDuration;
        l_child_0 = l_child_0.sibling;
    end;
end;
return {
    getCommitTime = getCommitTime,
    recordCommitTime = recordCommitTime,
    recordLayoutEffectDuration = recordLayoutEffectDuration,
    recordPassiveEffectDuration = recordPassiveEffectDuration,
    startLayoutEffectTimer = startLayoutEffectTimer,
    startPassiveEffectTimer = startPassiveEffectTimer,
    startProfilerTimer = startProfilerTimer,
    stopProfilerTimerIfRunning = stopProfilerTimerIfRunning,
    stopProfilerTimerIfRunningAndRecordDelta = stopProfilerTimerIfRunningAndRecordDelta,
    transferActualDuration = transferActualDuration
};


return {
    LegacyRoot = 0,
    BlockingRoot = 1,
    ConcurrentRoot = 2
};


local l_Parent_0 = script.Parent.Parent;
local l_console_0 = require(l_Parent_0.Shared).console;
local _ = require(script.Parent.ReactInternalTypes);
local v3 = require(script.Parent.ReactCurrentFiber);
local l_resetCurrentFiber_0 = v3.resetCurrentFiber;
local l_setCurrentFiber_0 = v3.setCurrentFiber;
local l_getComponentName_0 = require(l_Parent_0.Shared).getComponentName;
local l_StrictMode_0 = require(script.Parent.ReactTypeOfMode).StrictMode;
local v12 = {
    recordUnsafeLifecycleWarnings = function(_, _)
    end,
    flushPendingUnsafeLifecycleWarnings = function()
    end,
    recordLegacyContextWarning = function(_, _)
    end,
    flushLegacyContextWarning = function()
    end,
    discardPendingWarnings = function()
    end
};
if _G.__DEV__ then
    local function _(v13)
        local v14 = nil;
        local l_v13_0 = v13;
        while l_v13_0 ~= nil do
            if bit32.band(l_v13_0.mode, l_StrictMode_0) ~= 0 then
                v14 = l_v13_0;
            end;
            l_v13_0 = l_v13_0.return_;
        end;
        return v14;
    end;
    local function v21(v17)
        local v18 = {};
        for v19, _ in v17, nil, nil do
            table.insert(v18, v19);
        end;
        table.sort(v18);
        return table.concat(v18, ", ");
    end;
    local v22 = {};
    local v23 = {};
    local v24 = {};
    local v25 = {};
    local v26 = {};
    local v27 = {};
    local v28 = {};
    v12.recordUnsafeLifecycleWarnings = function(v29, v30)
        if not v28[v29.type] then
            if typeof(v30.componentWillMount) == "function" then
                table.insert(v22, v29);
            end;
            if bit32.band(v29.mode, l_StrictMode_0) ~= 0 and typeof(v30.UNSAFE_componentWillMount) == "function" then
                table.insert(v23, v29);
            end;
            if typeof(v30.componentWillReceiveProps) == "function" then
                table.insert(v24, v29);
            end;
            if bit32.band(v29.mode, l_StrictMode_0) ~= 0 and typeof(v30.UNSAFE_componentWillReceiveProps) == "function" then
                table.insert(v25, v29);
            end;
            if typeof(v30.componentWillUpdate) == "function" then
                table.insert(v26, v29);
            end;
            if bit32.band(v29.mode, l_StrictMode_0) ~= 0 and typeof(v30.UNSAFE_componentWillUpdate) == "function" then
                table.insert(v27, v29);
            end;
            return ;
        else
            return ;
        end;
    end;
    v12.flushPendingUnsafeLifecycleWarnings = function()
        local v31 = {};
        if #v22 > 0 then
            for _, v33 in v22, nil, nil do
                v31[l_getComponentName_0(v33.type) or "Component"] = true;
                v28[v33.type] = true;
            end;
            table.clear(v22);
        end;
        local v34 = {};
        if #v23 > 0 then
            for _, v36 in v23, nil, nil do
                v34[l_getComponentName_0(v36.type) or "Component"] = true;
                v28[v36.type] = true;
            end;
            table.clear(v23);
        end;
        local v37 = {};
        if #v24 > 0 then
            for _, v39 in v24, nil, nil do
                v37[l_getComponentName_0(v39.type) or "Component"] = true;
                v28[v39.type] = true;
            end;
            table.clear(v24);
        end;
        local v40 = {};
        if #v25 > 0 then
            for _, v42 in v25, nil, nil do
                v40[l_getComponentName_0(v42.type) or "Component"] = true;
                v28[v42.type] = true;
            end;
            table.clear(v25);
        end;
        local v43 = {};
        if #v26 > 0 then
            for _, v45 in v26, nil, nil do
                v43[l_getComponentName_0(v45.type) or "Component"] = true;
                v28[v45.type] = true;
            end;
            table.clear(v26);
        end;
        local v46 = {};
        if #v27 > 0 then
            for _, v48 in v27, nil, nil do
                v46[l_getComponentName_0(v48.type) or "Component"] = true;
                v28[v48.type] = true;
            end;
            table.clear(v27);
        end;
        if next(v34) ~= nil then
            l_console_0.error("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. " .. "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" .. "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" .. "\nPlease update the following components: %s", (v21(v34)));
        end;
        if next(v40) ~= nil then
            l_console_0.error("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended " .. "and may indicate bugs in your code. " .. "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" .. "* Move data fetching code or side effects to componentDidUpdate.\n" .. "* If you're updating state whenever props change, " .. "refactor your code to use memoization techniques or move it to " .. "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" .. "\nPlease update the following components: %s", (v21(v40)));
        end;
        if next(v46) ~= nil then
            l_console_0.error("Using UNSAFE_componentWillUpdate in strict mode is not recommended " .. "and may indicate bugs in your code. " .. "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" .. "* Move data fetching code or side effects to componentDidUpdate.\n" .. "\nPlease update the following components: %s", (v21(v46)));
        end;
        if next(v31) ~= nil then
            l_console_0.warn("componentWillMount has been renamed, and is not recommended for use. " .. "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" .. "* Move code with side effects to componentDidMount, and set initial state in the constructor.\n" .. "* Rename componentWillMount to UNSAFE_componentWillMount to suppress " .. "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work.\n" .. "\nPlease update the following components: %s", (v21(v31)));
        end;
        if next(v37) ~= nil then
            l_console_0.warn("componentWillReceiveProps has been renamed, and is not recommended for use. " .. "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" .. "* Move data fetching code or side effects to componentDidUpdate.\n" .. "* If you're updating state whenever props change, refactor your " .. "code to use memoization techniques or move it to " .. "static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n" .. "* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress " .. "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work.\n" .. "\nPlease update the following components: %s", (v21(v37)));
        end;
        if next(v43) ~= nil then
            l_console_0.warn("componentWillUpdate has been renamed, and is not recommended for use. " .. "See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n" .. "* Move data fetching code or side effects to componentDidUpdate.\n" .. "* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress " .. "this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work.\n" .. "\nPlease update the following components: %s", (v21(v43)));
        end;
    end;
    local v49 = {};
    local v50 = {};
    v12.recordLegacyContextWarning = function(v51, v52)
        local v53 = nil;
        local l_v51_0 = v51;
        while l_v51_0 ~= nil do
            if bit32.band(l_v51_0.mode, l_StrictMode_0) ~= 0 then
                v53 = l_v51_0;
            end;
            l_v51_0 = l_v51_0.return_;
        end;
        local l_v53_0 = v53;
        if l_v53_0 == nil then
            l_console_0.error("Expected to find a StrictMode component in a strict mode tree. " .. "This error is likely caused by a bug in React. Please file an issue.");
            return ;
        elseif not v50[v51.type] then
            v53 = v49[l_v53_0];
            if typeof(v51.type) ~= "function" and (not (v51.type.contextTypes == nil and v51.type.childContextTypes == nil) or v52 ~= nil and typeof(v52.getChildContext) == "function") then
                if v53 == nil then
                    v53 = {};
                    v49[l_v53_0] = v53;
                end;
                table.insert(v53, v51);
            end;
            return ;
        else
            return ;
        end;
    end;
    v12.flushLegacyContextWarning = function()
        for _, v57 in v49, nil, nil do
            if #v57 == 0 then
                return ;
            else
                local v58 = v57[1];
                local v59 = {};
                for _, v61 in v57, nil, nil do
                    v59[l_getComponentName_0(v61.type) or "Component"] = true;
                    v50[v61.type] = true;
                end;
                local v62 = v21(v59);
                local l_status_0, l_result_0 = pcall(function()
                    l_setCurrentFiber_0(v58);
                    l_console_0.error("Legacy context API has been detected within a strict-mode tree." .. "\n\nThe old API will be supported in all 16.x releases, but applications " .. "using it should migrate to the new version." .. "\n\nPlease update the following components: %s" .. "\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context", v62);
                end);
                l_resetCurrentFiber_0();
                if not l_status_0 then
                    error(l_result_0);
                end;
            end;
        end;
    end;
    v12.discardPendingWarnings = function()
        table.clear(v22);
        table.clear(v23);
        table.clear(v24);
        table.clear(v25);
        table.clear(v26);
        table.clear(v27);
        table.clear(v49);
    end;
end;
return v12;


local _ = require(script.Parent.Parent.LuauPolyfill);
local l_supportsTestSelectors_0 = require(script.Parent.ReactFiberHostConfig).supportsTestSelectors;
local v2 = {};
local v3 = {};
v2.onCommitRoot = function()
    if l_supportsTestSelectors_0 then
        for _, v5 in v3, nil, nil do
            v5();
        end;
    end;
end;
return v2;


return {
    NoMode = 0,
    StrictMode = 1,
    BlockingMode = 2,
    ConcurrentMode = 4,
    ProfileMode = 8,
    DebugTracingMode = 16
};