local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local l_TextService_0 = game:GetService("TextService");
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.Cryo);
local v5 = require(l_Modules_0.LuaApp.Services.RoactAnalytics);
local v6 = require(l_CorePackages_0.RoactRodux);
local v7 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v7.Focusable;
local v9 = require(l_CorePackages_0.AvatarExperienceDeps);
local v10 = require(l_CorePackages_0.Packages.t);
local v11 = require(l_CorePackages_0.RoactNavigation);
local l_RoactFitComponents_0 = v9.RoactFitComponents;
local l_FitFrameVertical_0 = l_RoactFitComponents_0.FitFrameVertical;
local l_RoactServices_0 = require(l_CorePackages_0.Workspace.Packages.RoactServices).RoactServices;
local v15 = require(l_Modules_0.LuaApp.Services.RoactNetworking);
local v16 = require(l_Modules_0.LuaApp.Enum.RetrievalStatus);
local l_PerformFetch_0 = require(l_CorePackages_0.Workspace.Packages.Http).PerformFetch;
local l_withLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).withLocalization;
local v19 = require(l_Modules_0.AvatarExperience.Catalog.Services.Analytics);
local v20 = require(l_CorePackages_0.UIBlox);
local l_withStyle_0 = v20.Style.withStyle;
local l_LoadableImage_0 = v20.App.Loading.LoadableImage;
local l_ShimmerPanel_0 = v20.App.Loading.ShimmerPanel;
local l_Images_0 = v20.App.ImageSet.Images;
local l_IconSize_0 = v20.App.Constant.IconSize;
local l_ImageSetLabel_0 = v20.Core.ImageSet.ImageSetLabel;
local l_GetCanExpand_0 = v20.Core.Text.ExpandableText.GetCanExpand;
local l_GetWrappedTextWithIcon_0 = v20.Core.Text.GetWrappedTextWithIcon;
local l_LoadingStateContainer_0 = v20.App.Container.LoadingStateContainer;
local l_RetrievalStatus_0 = v20.App.Loading.Enum.RetrievalStatus;
local l_EmptyState_0 = v20.App.Indicator.EmptyState;
local l_Button_0 = v20.App.Button.Button;
local l_ButtonType_0 = v20.App.Button.Enum.ButtonType;
local l_LinkButton_0 = v20.App.Button.LinkButton;
local l_MenuDirection_0 = v20.App.Menu.MenuDirection;
local l_StyledTextLabel_0 = v20.App.Text.StyledTextLabel;
local l_FitTextLabel_0 = l_RoactFitComponents_0.FitTextLabel;
local l_getSafeAreaSize_0 = require(l_CorePackages_0.Workspace.Packages.InputUi).getSafeAreaSize;
local l_RoactAppPolicy_0 = require(l_CorePackages_0.Workspace.Packages.UniversalAppPolicy).RoactAppPolicy;
local v40 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AppRouterWrapper.NavigateDownToAvatarScreen);
local v41 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local v42 = require(l_Modules_0.AvatarExperience.Catalog.CatalogUtils);
local v43 = require(l_Modules_0.AvatarExperience.Catalog.CatalogConstants);
local v44 = require(l_Modules_0.AvatarExperience.Common.Constants);
local v45 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.ItemDescription);
local v46 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.ItemStatistics);
local v47 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.ItemOwnershipButton);
local v48 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.ItemInfo.ItemInfoList);
local v49 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.RecommendedItemsGrid);
local v50 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.BundleItemsGrid);
local l_PeekViewState_0 = require(l_CorePackages_0.Workspace.Packages.PeekView).PeekViewState;
local v52 = require(l_Modules_0.AvatarExperience.Common.Thunks.ToggleTryOnThunk);
local v53 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.AssetOrBundleDetailsInnards);
local v54 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.FetchAssetOrBundleInfo);
local v55 = require(l_Modules_0.AvatarExperience.Common.Selectors.DEPRECATED_ItemData);
local v56 = require(l_Modules_0.AvatarExperience.Common.Validators.DEPRECATED_ItemDataValidator);
local v57 = require(l_Modules_0.AvatarExperience.Common.Selectors.selectItemInfo);
local v58 = require(l_Modules_0.AvatarExperience.Common.Models.ItemInfo);
local v59 = require(l_Modules_0.AvatarExperience.Flags.FFlagAXFixItemTypeHandling);
local v60 = require(l_Modules_0.AvatarExperience.Flags.FFlagAEShowPremiumPolicy);
local v61 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagRestrictLimited2ToSoothsayers);
local l_IsVRAppBuild_0 = require(l_CorePackages_0.Workspace.Packages.AppCommonLib).IsVRAppBuild;
local v63 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagL2ControllerSupport);
local l_getRbxthumbWithTypeSizeAndOptions_0 = require(l_CorePackages_0.Workspace.Packages.UserLib).Utils.getRbxthumbWithTypeSizeAndOptions;
local v65 = require(l_Modules_0.AvatarExperience.Flags.FFlagEnableAttributionItemRow);
local v66 = require(l_Modules_0.AvatarExperience.Flags.GetAXInExperienceItemLinking);
local v67 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXItemDetailsContainer);
local v68 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXFixItemDetailsExperienceLinkText);
local v69 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXLimitedBundlesHandleNewData);
local v70 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXExperienceItemDeepLinkCrashFix);
local v71 = l_Images_0["icons/status/premium_small"];
local v72 = v3.PureComponent:extend("ItemDetailsContainer");
v72.validateProps = v10.strictInterface({
    actionBarHeaderRef = v10.table,
    clipDetails = v10.optional(v10.boolean),
    listPadding = v10.optional(v10.numberPositive),
    itemId = v10.string,
    itemType = v10.string,
    onItemInvalid = v10.optional(v10.callback),
    showFullWithNoPeekView = v10.optional(v10.boolean),
    bottomDockedContainerHeight = v10.optional(v10.number),
    resultsListRef = v10.optional(v10.table),
    itemDetailsPeekViewRefs = v10.optional(v10.table),
    peekViewFocusController = v10.table,
    NextSelectionDown = v10.optional(v10.table),
    NextSelectionUp = v10.optional(v10.table),
    NextSelectionLeft = v10.optional(v10.table),
    NextSelectionRight = v10.optional(v10.table),
    forwardRef = v10.optional(v10.table),
    DEPRECATED_itemSubType = if not v67() then v10.optional(v10.string) else nil,
    DEPRECATED_assetType = if not v67() then v10.optional(v10.string) else nil,
    globalGuiInset = v10.strictInterface({
        left = v10.integer,
        top = v10.integer,
        right = v10.integer,
        bottom = v10.integer
    }),
    screenSize = v10.Vector2,
    fetchingState = v10.string,
    itemInfo = if not v59 then nil else v10.optional(v58.Validator),
    DEPRECATED_itemData = if not v59 then v10.optional(v56) else nil,
    DEPRECATED_peekViewState = if not v67() then v10.optional(v10.valueOf(l_PeekViewState_0)) else nil,
    DEPRECATED_experiences = if not v67() then if v66() then v10.optional(v10.table) else nil else nil,
    DEPRECATED_collectibleData = if not v67() then if v66() then v10.optional(v10.table) else nil else nil,
    DEPRECATED_isCollectiblesEnabled = if not v61() then nil else v10.optional(v10.boolean),
    isLimitedCollectible = if not v69() then nil else v10.optional(v10.boolean),
    fetchAssetOrBundleInfo = v10.callback,
    navigateDownToAvatarScreen = v10.callback,
    toggleTryOn = v10.optional(v10.callback),
    navigation = v10.table,
    networking = v10.callback,
    appAnalytics = v10.table,
    catalogAnalytics = v10.table,
    showPremiumContent = v10.optional(v10.boolean)
});
v72.defaultProps = {
    clipDetails = false,
    listPadding = 24
};
v72.init = function(v73)
    if not v67() then
        v73.expandableTextRef = v3.createRef();
        v73.ownershipButtonRef = if not v63() then nil else v3.createRef();
        v73.resellerRef = v3.createRef();
        v73.attributionRef = if not v65 then nil else v3.createRef();
        v73.recommendedItemsGridRef = v3.createRef();
    end;
    v73.state = {
        width = 0
    };
    v73.fetchAssetOrBundleInfo = function()
        return v73.props.fetchAssetOrBundleInfo(v73.props.networking, v73.props.appAnalytics, tostring(v73.props.itemId), v73.props.itemType);
    end;
    if not v67() then
        local v74, v75 = v3.createBinding(false);
        v73.itemHeaderVisibleBinding = v74;
        v73.updateItemHeaderVisibleBinding = v75;
        v73.onTryOnActivated = function()
            local v76 = {
                itemId = v73.props.itemId,
                itemType = v73.props.itemType,
                mountAsFullView = false,
                mountAnimation = false,
                itemDetailsPeekViewRefs = v73.props.itemDetailsPeekViewRefs,
                resultsListRef = v73.props.resultsListRef
            };
            local v77 = v76.itemType .. v76.itemId;
            v73.props.toggleTryOn(v73.props.networking, v73.props.catalogAnalytics, v73.props.itemType, v73.props.DEPRECATED_itemSubType, v73.props.itemId, true, nil, nil);
            v73.props.navigateDownToAvatarScreen(v41.TryOnItem, v77, v76);
            v73.props.catalogAnalytics.profileTryOnAvatarItem(v43.AnalyticsContext.ProfileItemDetails, v73.props.itemId, v73.props.itemType, v73.props.DEPRECATED_itemSubType);
        end;
        v73.onItemOwnershipButtonActivated = function()
            local v78 = nil;
            if not v59 then
                v78 = v73.props.DEPRECATED_itemData.collectibleItemId;
            elseif v73.props.itemInfo then
                v78 = v73.props.itemInfo.collectibleItemId;
            end;
            v73.props.navigation.navigate(v41.ItemOwnershipPage, {
                itemId = v73.props.itemId,
                collectibleItemId = v78,
                itemType = v73.props.itemType
            });
        end;
        v73.onItemHeaderMoved = function(v79)
            if v73.props.actionBarHeaderRef then
                local l_current_0 = v73.props.actionBarHeaderRef.current;
                if l_current_0 then
                    local v81 = v79.AbsolutePosition.Y < l_current_0.AbsolutePosition.Y;
                    l_current_0.Visible = not v81;
                    v73.updateItemHeaderVisibleBinding(v81);
                    return ;
                else
                    return ;
                end;
            else
                return ;
            end;
        end;
    end;
    v73.hasCalledOnItemInvalid = false;
end;
v72.DEPRECATED_canItemDescriptionExpand = function(v82, v83)
    local l_DEPRECATED_itemData_0 = v82.props.DEPRECATED_itemData;
    local l_itemInfo_0 = v82.props.itemInfo;
    local v86 = nil;
    if not v59 then
        if l_DEPRECATED_itemData_0 and l_DEPRECATED_itemData_0.description then
            v86 = l_DEPRECATED_itemData_0.description;
        else
            return false;
        end;
    elseif l_itemInfo_0 and l_itemInfo_0.description then
        v86 = l_itemInfo_0.description;
    else
        return false;
    end;
    return l_GetCanExpand_0(v83, v82.state.width - 48, v86, 3);
end;
v72.didMount = function(v87)
    v87.fetchAssetOrBundleInfo();
end;
v72.didUpdate = function(v88, _)
    local l_DEPRECATED_itemData_1 = v88.props.DEPRECATED_itemData;
    local l_itemInfo_1 = v88.props.itemInfo;
    local l_fetchingState_0 = v88.props.fetchingState;
    local l_onItemInvalid_0 = v88.props.onItemInvalid;
    local v94 = nil;
    if not v59 then
        local v95 = false;
        if l_fetchingState_0 == v16.Done then
            v95 = l_DEPRECATED_itemData_1 == nil;
        end;
        v94 = v95;
    else
        local v96 = false;
        if l_fetchingState_0 == v16.Done then
            v96 = l_itemInfo_1 == nil;
        end;
        v94 = v96;
    end;
    local v97 = not v88.hasCalledOnItemInvalid;
    if not ((not (l_onItemInvalid_0 ~= nil) or not v97) or not v94) then
        l_onItemInvalid_0();
        v88.hasCalledOnItemInvalid = true;
    end;
end;
v72.DEPRECATED_shouldShowRecommendedItems = function(v98, v99)
    if not v99 then
        if not v98.props.DEPRECATED_assetType or v42.doesAssetTypeHaveCatalogPage(v98.props.DEPRECATED_assetType) then
            if not v59 then
                local l_DEPRECATED_itemData_2 = v98.props.DEPRECATED_itemData;
                if not (not l_DEPRECATED_itemData_2 or not l_DEPRECATED_itemData_2.receivedRecommendedData) and (not (l_DEPRECATED_itemData_2.recommendedItemSummaries ~= nil) or #l_DEPRECATED_itemData_2.recommendedItemSummaries == 0) then
                    return false;
                end;
            else
                local l_itemInfo_2 = v98.props.itemInfo;
                if not (not l_itemInfo_2 or not l_itemInfo_2.receivedRecommendedData) and (not (l_itemInfo_2.recommendedItemSummaries ~= nil) or #l_itemInfo_2.recommendedItemSummaries == 0) then
                    return false;
                end;
            end;
            return true;
        else
            return false;
        end;
    else
        return false;
    end;
end;
v72.DEPRECATED_renderDetailsWithProviders = function(v102, v103)
    local v104 = tostring(v102.props.itemId);
    local l_itemType_0 = v102.props.itemType;
    local l_listPadding_0 = v102.props.listPadding;
    local l_DEPRECATED_itemSubType_0 = v102.props.DEPRECATED_itemSubType;
    local l_DEPRECATED_itemData_3 = v102.props.DEPRECATED_itemData;
    local l_itemInfo_3 = v102.props.itemInfo;
    local v110 = nil;
    if not v59 then
        v110 = if not l_DEPRECATED_itemData_3 then nil else l_DEPRECATED_itemData_3.collectibleItemId;
    elseif l_itemInfo_3 then
        v110 = l_itemInfo_3.collectibleItemId;
    end;
    local l_DEPRECATED_peekViewState_0 = v102.props.DEPRECATED_peekViewState;
    local l_width_0 = v102.state.width;
    local v113 = l_getRbxthumbWithTypeSizeAndOptions_0(v104, v42.GetRbxThumbType(l_itemType_0), 420);
    local v114 = nil;
    if not v59 then
        v114 = v42.DEPRECATED_IsResellable(l_DEPRECATED_itemData_3);
    elseif l_itemInfo_3 then
        v114 = l_itemInfo_3.isResellable;
    end;
    local v115 = nil;
    local v116 = nil;
    if not v59 then
        if v65 then
            v115 = v42.DEPRECATED_HasAttribution(l_DEPRECATED_itemData_3);
        end;
        v116 = v42.DEPRECATED_HasPremiumBenefits(l_DEPRECATED_itemData_3);
    elseif l_itemInfo_3 then
        if v65 then
            v115 = l_itemInfo_3.hasAttribution;
        end;
        v116 = l_itemInfo_3.hasPremiumBenefits;
    end;
    if v60 then
        v116 = if not v116 then nil else v102.props.showPremiumContent;
    end;
    local v117 = nil;
    v117 = if not v59 then (l_DEPRECATED_itemData_3 and l_DEPRECATED_itemData_3.isOwned) and v114 else (l_itemInfo_3 and l_itemInfo_3.isOwned) and v114;
    if v61() then
        v117 = v117 and v102.props.DEPRECATED_isCollectiblesEnabled;
    end;
    local v118 = (v102.state.width * 9) / 16;
    local v119 = v102.props.showFullWithNoPeekView and v102.props.bottomDockedContainerHeight > 0;
    return l_withStyle_0(function(v120)
        local l_Theme_0 = v120.Theme;
        local l_Font_0 = v120.Font;
        local v123 = l_Font_0.BaseSize * l_Font_0.Header1.RelativeSize;
        local v124 = nil;
        if not v59 then
            v124 = if not l_DEPRECATED_itemData_3 then nil else l_DEPRECATED_itemData_3.name;
        elseif l_itemInfo_3 then
            v124 = l_itemInfo_3.name;
        end;
        local l_Font_1 = l_Font_0.Header1.Font;
        local l_Small_0 = l_IconSize_0.Small;
        if v116 then
            v124 = l_GetWrappedTextWithIcon_0(v124, v123, l_Font_1, l_Small_0, v43.PremiumIconPadding);
        end;
        local v127 = true;
        if l_DEPRECATED_peekViewState_0 ~= l_PeekViewState_0.Full then
            v127 = l_DEPRECATED_peekViewState_0 == l_PeekViewState_0.Extended;
        end;
        local v128 = v102:DEPRECATED_canItemDescriptionExpand(l_Font_0);
        local v129 = if not v128 then if v63() and v117 then v102.ownershipButtonRef else if v114 then v102.resellerRef else if v65 and v115 then v102.attributionRef else v102.recommendedItemsGridRef else v102.expandableTextRef;
        local v130 = nil;
        local v131 = nil;
        if not v59 then
            if l_DEPRECATED_itemData_3 then
                v130 = l_DEPRECATED_itemData_3.description;
                v131 = l_DEPRECATED_itemData_3.favoriteCount;
            end;
        elseif l_itemInfo_3 then
            v130 = l_itemInfo_3.description;
            v131 = l_itemInfo_3.favoriteCount;
        end;
        local v132 = if not v130 then nil else v129;
        local v133 = v102.props.navigation.getParam("fromProfile");
        local v134 = v102.props.navigation.state.routeName == v41.TryOnItem;
        local v135 = v102:DEPRECATED_shouldShowRecommendedItems(v134);
        local l_tryOn_0 = v103.tryOn;
        local v137 = 16 + l_TextService_0:GetTextSize(l_tryOn_0, l_Font_0.BaseSize * l_Font_0.Header2.RelativeSize, l_Font_0.Header2.Font, Vector2.new(10000, 10000)).X;
        local v138 = nil;
        if v68() then
            v138 = v102.props.DEPRECATED_collectibleData and v102.props.DEPRECATED_collectibleData.unitsAvailableForConsumption == 0;
        end;
        local v139 = nil;
        if v102.props.DEPRECATED_experiences then
            v139 = v3.createElement(l_LinkButton_0, {
                text = if (not not v102.props.DEPRECATED_experiences and #v102.props.DEPRECATED_experiences == 1) and (not v70() and true or v102.props.DEPRECATED_experiences[1].name) then v103.inSpecificExperience:gsub("{EXPERIENCE_NAME}", v102.props.DEPRECATED_experiences[1].name) else v103.inMultipleExperiences:gsub("{NUM_EXPERIENCES}", #v102.props.DEPRECATED_experiences),
                onActivated = function()
                    v102.props.navigation.navigate(v41.ItemExperiencesMenu, {
                        collectibleData = v102.props.DEPRECATED_collectibleData,
                        openPositionY = UDim.new(0, 100),
                        menuDirection = l_MenuDirection_0.Down
                    });
                end,
                minPaddingX = if not v68() then nil else 0,
                layoutOrder = if not v68() then nil else 1
            });
            if not v70() then
                v3.createElement(l_LinkButton_0, {
                    text = if not not v102.props.DEPRECATED_experiences and #v102.props.DEPRECATED_experiences == 1 then v103.inSpecificExperience:gsub("{EXPERIENCE_NAME}", v102.props.DEPRECATED_experiences[1].name) else v103.inMultipleExperiences:gsub("{NUM_EXPERIENCES}", #v102.props.DEPRECATED_experiences),
                    onActivated = function()
                        v102.props.navigation.navigate(v41.ItemExperiencesMenu, {
                            collectibleData = v102.props.DEPRECATED_collectibleData,
                            openPositionY = UDim.new(0, 100),
                            menuDirection = l_MenuDirection_0.Down
                        });
                    end
                });
            end;
        end;
        return v3.createElement(l_Focusable_0[l_FitFrameVertical_0], {
            width = UDim.new(1, 0),
            contentPadding = UDim.new(0, l_listPadding_0),
            margin = l_RoactFitComponents_0.Rect.square(24),
            FillDirection = Enum.FillDirection.Vertical,
            HorizontalAlignment = Enum.HorizontalAlignment.Left,
            BackgroundColor3 = l_Theme_0.BackgroundDefault.Color,
            BackgroundTransparency = l_Theme_0.BackgroundDefault.Transparency,
            BorderSizePixel = 0,
            Position = UDim2.new(0, 0, 0, 0),
            defaultChild = v132,
            restorePreviousChildFocus = true,
            inputBindings = {
                MoveToTop = v7.Input.onBegin(Enum.KeyCode.ButtonL2, function()
                    v102.props.peekViewFocusController.moveFocusTo(v132);
                end),
                MoveToRecItemsGrid = v7.Input.onBegin(Enum.KeyCode.ButtonR2, function()
                    v102.props.peekViewFocusController.moveFocusTo(v102.recommendedItemsGridRef);
                end)
            }
        }, {
            ItemThumbnail = v3.createElement(l_FitFrameVertical_0, {
                width = UDim.new(1, 0),
                contentPadding = UDim.new(0, 12),
                FillDirection = Enum.FillDirection.Vertical,
                HorizontalAlignment = Enum.HorizontalAlignment.Center,
                VerticalAlignment = Enum.VerticalAlignment.Center,
                BackgroundTransparency = 1,
                LayoutOrder = 1
            }, {
                NameLabel = v3.createElement(l_FitFrameVertical_0, {
                    width = UDim.new(1, 0),
                    LayoutOrder = 0,
                    BackgroundTransparency = 1,
                    [v3.Change.AbsolutePosition] = v102.onItemHeaderMoved
                }, {
                    TextLabel = if not l_IsVRAppBuild_0() then if v124 then v3.createElement(l_FitTextLabel_0, {
                        width = UDim.new(1, 0),
                        Visible = v102.itemHeaderVisibleBinding,
                        BackgroundTransparency = 1,
                        Font = l_Font_1,
                        Text = v124,
                        TextSize = v123,
                        TextXAlignment = Enum.TextXAlignment.Left,
                        TextColor3 = l_Theme_0.TextEmphasis.Color,
                        TextWrapped = true
                    }, {
                        PremiumIcon = if not v116 then nil else v3.createElement(l_ImageSetLabel_0, {
                            Position = UDim2.new(0, 0, 0, 5),
                            Size = UDim2.new(0, l_Small_0, 0, l_Small_0),
                            ScaleType = Enum.ScaleType.Fit,
                            Image = v71,
                            ImageColor3 = l_Theme_0.IconEmphasis.Color,
                            ImageTransparency = l_Theme_0.IconEmphasis.Transparency,
                            BackgroundTransparency = 1
                        })
                    }) else v3.createElement(l_ShimmerPanel_0, {
                        Size = UDim2.new(1, 0, 0, v123)
                    }) else nil,
                    RefUpdater = v3.createElement("Frame", {
                        Size = UDim2.new(0, 0, 0, 0),
                        BackgroundTransparency = 1,
                        [v3.Ref] = function(v140)
                            if not (not v140 or not v140.Parent) then
                                v102.onItemHeaderMoved(v140.Parent);
                            end;
                        end
                    }),
                    ExperienceLink = if v68() then nil else v139
                }),
                ExperienceLinkDetails = if not not v68() and v102.props.DEPRECATED_experiences then v3.createElement("Frame", {
                    Size = UDim2.new(1, 0, 0, l_Font_0.BaseSize * l_Font_0.Body.RelativeSize),
                    BackgroundTransparency = 1,
                    LayoutOrder = 0
                }, {
                    UIListLayout = v3.createElement("UIListLayout", {
                        FillDirection = Enum.FillDirection.Horizontal,
                        HorizontalAlignment = Enum.HorizontalAlignment.Left,
                        VerticalAlignment = Enum.VerticalAlignment.Center,
                        SortOrder = Enum.SortOrder.LayoutOrder,
                        Padding = UDim.new(0, 4)
                    }),
                    ExperienceLink = v139,
                    DashDivider = if not v138 then nil else v3.createElement(l_StyledTextLabel_0, {
                        automaticSize = Enum.AutomaticSize.XY,
                        text = "-",
                        fontStyle = l_Font_0.Body,
                        colorStyle = l_Theme_0.TextDefault,
                        layoutOrder = 2
                    }),
                    SoldOutText = if not v138 then nil else v3.createElement(l_StyledTextLabel_0, {
                        automaticSize = Enum.AutomaticSize.XY,
                        text = v103.soldOut,
                        fontStyle = l_Font_0.Body,
                        colorStyle = l_Theme_0.TextDefault,
                        layoutOrder = 3
                    })
                }) else nil,
                ItemImageFrame = v3.createElement("Frame", {
                    BackgroundTransparency = 1,
                    Size = UDim2.new(1, 0, 0, v118),
                    LayoutOrder = 1,
                    ZIndex = 0
                }, {
                    ItemBackground = v3.createElement("Frame", {
                        AnchorPoint = Vector2.new(0.5, 0),
                        Position = UDim2.fromScale(0.5, 0),
                        Size = UDim2.new(1, 48, 1, 0),
                        ZIndex = 0,
                        BackgroundColor3 = l_Theme_0.BackgroundMuted.Color,
                        BackgroundTransparency = l_Theme_0.BackgroundMuted.Transparency,
                        BorderSizePixel = 0
                    }, {
                        UIGradient = v3.createElement("UIGradient", {
                            Rotation = -90,
                            Transparency = NumberSequence.new({
                                NumberSequenceKeypoint.new(0, 1),
                                NumberSequenceKeypoint.new(0.4, 0),
                                NumberSequenceKeypoint.new(1, 1)
                            })
                        })
                    }),
                    Image = v3.createElement(l_LoadableImage_0, {
                        BackgroundTransparency = 1,
                        Image = v113,
                        AnchorPoint = Vector2.new(0.5, 0),
                        Position = UDim2.fromScale(0.5, 0),
                        Size = UDim2.fromOffset(v118, v118),
                        useShimmerAnimationWhileLoading = true
                    }),
                    TryOnButtonFrame = if not v133 then nil else v3.createElement("Frame", {
                        ZIndex = 2,
                        Size = UDim2.fromScale(1, 1),
                        BorderSizePixel = 0,
                        BackgroundTransparency = 1
                    }, {
                        TryOnButton = v3.createElement(l_Button_0, {
                            buttonType = l_ButtonType_0.Secondary,
                            position = UDim2.new(1, -v137 - 8, 1, -44),
                            size = UDim2.fromOffset(v137, 36),
                            text = l_tryOn_0,
                            onActivated = v102.onTryOnActivated
                        })
                    })
                })
            }),
            IncludedItems = if not v134 and l_itemType_0 == v44.ItemType.Bundle then v3.createElement(v50, {
                itemId = v104,
                itemType = l_itemType_0,
                LayoutOrder = 2
            }) else nil,
            ItemDescription = v3.createElement(v45, {
                compactNumberOfLines = 3,
                descriptionText = v130,
                LayoutOrder = 3,
                [v3.Ref] = v102.expandableTextRef,
                NextSelectionUp = if not v63() then nil else v102.props.NextSelectionUp,
                NextSelectionDown = if not v63() then if v127 then if v114 then v102.resellerRef else if v65 and v115 then v102.attributionRef else v102.recommendedItemsGridRef else nil else if v127 and v117 then v102.ownershipButtonRef else if v127 and v114 then v102.resellerRef else if (v65 and v127) and v115 then v102.attributionRef else if v127 then v102.recommendedItemsGridRef else v102.props.NextSelectionDown
            }),
            ItemStatistics = not v134 and v3.createElement(v46, {
                favoritesCount = v131,
                LayoutOrder = 4,
                listPadding = 10,
                width = l_width_0 - 48
            }),
            ItemOwnershipButton = if not v117 then nil else v3.createElement(v47, {
                size = UDim2.new(1, 0, 0, 0),
                automaticSize = Enum.AutomaticSize.Y,
                layoutOrder = 5,
                itemId = v104,
                isLimitedCollectible = if not v69() then nil else v102.props.isLimitedCollectible,
                collectibleItemId = v110,
                onActivated = v102.onItemOwnershipButtonActivated,
                ref = if not v63() then nil else v102.ownershipButtonRef,
                NextSelectionUp = if not v63() then nil else if v127 and v128 then v102.expandableTextRef else v102.props.NextSelectionUp,
                NextSelectionDown = if not v63() then nil else if v127 and v114 then v102.resellerRef else if (v65 and v127) and v115 then v102.attributionRef else if v127 then v102.recommendedItemsGridRef else v102.props.NextSelectionDown
            }),
            ItemInfoList = not v134 and v3.createElement(v48, {
                itemId = v104,
                itemType = l_itemType_0,
                LayoutOrder = 6,
                ref = if not v65 then v102.resellerRef else nil,
                resellerRef = if not v65 then nil else v102.resellerRef,
                attributionRef = if not v65 then nil else v102.attributionRef,
                NextSelectionUp = if not v63() then (v127 and v128) and v102.expandableTextRef or nil else if v127 and v117 then v102.ownershipButtonRef else if v127 and v128 then v102.expandableTextRef else v102.props.NextSelectionUp,
                NextSelectionDown = if not v63() then v127 and v102.recommendedItemsGridRef or nil else if v127 then v102.recommendedItemsGridRef else v102.props.NextSelectionDown
            }),
            RecommendedLabel = v135 and v3.createElement(l_FitTextLabel_0, {
                width = l_FitTextLabel_0.Width.FitToText,
                BackgroundTransparency = 1,
                BorderSizePixel = 0,
                Font = l_Font_0.Header1.Font,
                LayoutOrder = 8,
                Position = UDim2.new(0, 0, 0, 0),
                Text = v103.recommendedLabel,
                TextSize = v123,
                TextColor3 = l_Theme_0.TextEmphasis.Color
            }),
            RecommendedItemsGrid = v135 and v3.createElement(v49, {
                itemId = v104,
                itemSubType = l_DEPRECATED_itemSubType_0,
                itemType = l_itemType_0,
                LayoutOrder = 9,
                [v3.Ref] = v102.recommendedItemsGridRef,
                NextSelectionUp = if (not not v65 and v127) and v115 then v102.attributionRef else if v63() then if v127 and v114 then v102.resellerRef else if v127 and v117 then v102.ownershipButtonRef else if v127 and v128 then v102.expandableTextRef else v102.props.NextSelectionUp else (v114 and v102.resellerRef or v128 and v102.expandableTextRef) or nil,
                NextSelectionDown = v102.props.NextSelectionDown,
                itemDetailsPeekViewRefs = v102.props.itemDetailsPeekViewRefs,
                resultsListRef = v102.props.resultsListRef
            }),
            BottomContainerPlaceHolder = v119 and v3.createElement("Frame", {
                LayoutOrder = 10,
                BackgroundTransparency = 1,
                Size = UDim2.new(1, 0, 0, v102.props.bottomDockedContainerHeight),
                Active = false
            })
        });
    end);
end;
v72.renderDetails = function(v141)
    if not v67() then
        return l_withLocalization_0({
            recommendedLabel = "Feature.Catalog.Label.Recommendations",
            resellLabel = "Feature.Catalog.Heading.Sellers",
            tryOn = "Feature.Avatar.Action.TryOn",
            inMultipleExperiences = "Feature.Catalog.Label.InMultipleExperiences",
            inSpecificExperience = "Feature.Catalog.Label.InSpecificExperience",
            soldOut = "Feature.Catalog.Label.SoldOut"
        })(function(v142)
            return v141:DEPRECATED_renderDetailsWithProviders(v142);
        end);
    else
        return v3.createElement(v53, {
            itemId = v141.props.itemId,
            itemType = v141.props.itemType,
            width = v141.state.width,
            actionBarHeaderRef = v141.props.actionBarHeaderRef,
            listPadding = v141.props.listPadding,
            showFullWithNoPeekView = v141.props.showFullWithNoPeekView,
            bottomDockedContainerHeight = v141.props.bottomDockedContainerHeight,
            resultsListRef = v141.props.resultsListRef,
            itemDetailsPeekViewRefs = v141.props.itemDetailsPeekViewRefs,
            peekViewFocusController = v141.props.peekViewFocusController,
            NextSelectionDown = v141.props.NextSelectionDown,
            NextSelectionUp = v141.props.NextSelectionUp,
            collectibleData = v141.props.DEPRECATED_collectibleData
        });
    end;
end;
v72.renderOnFailed = function(v143)
    local l_fetchAssetOrBundleInfo_0 = v143.fetchAssetOrBundleInfo;
    local v145 = l_getSafeAreaSize_0(v143.props.screenSize, v143.props.globalGuiInset);
    return v3.createElement("Frame", {
        BackgroundTransparency = 1,
        Size = UDim2.new(1, 0, v145.Y.Scale, v145.Y.Offset - (v43.ActionBar.ActionBarHeight + v43.ActionBar.ActionBarGradientHeight))
    }, {
        EmptyStatePage = l_withLocalization_0({
            emptyText = "Feature.EmptyStatePage.Message.NoInternet"
        })(function(v146)
            return v3.createElement(l_EmptyState_0, {
                onActivated = l_fetchAssetOrBundleInfo_0,
                text = v146.emptyText
            });
        end)
    });
end;
v72.render = function(v147)
    local l_clipDetails_0 = v147.props.clipDetails;
    local l_fetchingState_1 = v147.props.fetchingState;
    return l_withStyle_0(function(v150)
        local l_Theme_1 = v150.Theme;
        return v3.createElement(if not l_clipDetails_0 then l_FitFrameVertical_0 else "Frame", {
            width = if l_clipDetails_0 then nil else UDim.new(1, 0),
            ClipsDescendants = l_clipDetails_0,
            Size = if not l_clipDetails_0 then nil else UDim2.new(1, 0, 0, 0),
            BackgroundColor3 = l_Theme_1.BackgroundDefault.Color,
            BackgroundTransparency = l_Theme_1.BackgroundDefault.Transparency,
            BorderSizePixel = 0,
            Position = UDim2.new(0, 0, 0, 0),
            [v3.Ref] = v147.props.forwardRef,
            [v3.Change.AbsoluteSize] = function(v152)
                if v147.state.width ~= v152.AbsoluteSize.X then
                    v147:setState({
                        width = v152.AbsoluteSize.X
                    });
                end;
            end
        }, {
            LoadingState = v3.createElement(l_LoadingStateContainer_0, {
                dataStatus = l_RetrievalStatus_0.fromRawValue(l_fetchingState_1),
                renderOnLoading = function()
                    return v147:renderDetails();
                end,
                renderOnLoaded = function()
                    return v147:renderDetails();
                end,
                renderOnFailed = function()
                    return v147:renderOnFailed();
                end
            })
        });
    end);
end;
v72 = v6.connect(function(v153, v154)
    local v155 = l_PerformFetch_0.GetStatus(v153, v42.GetItemDetailsKey(v154.itemId, v154.itemType));
    local v156 = nil;
    local v157 = nil;
    if v155 ~= v16.NotStarted then
        if not v59 then
            v156 = v55(v153.AvatarExperience.Common, v154.itemId, v154.itemType);
        else
            v157 = v57(v153.AvatarExperience, v154.itemId, v154.itemType);
        end;
    end;
    local v158 = nil;
    local v159 = nil;
    local v160 = nil;
    local v161 = nil;
    if not v67() then
        if v66() then
            local v162 = nil;
            if not v59 then
                v162 = if not v156 then nil else v156.collectibleItemId;
                v158 = if not v69() then if v162 then v153.AvatarExperience.Common.Collectibles.CollectiblesItemInfo[v156.collectibleItemId] else nil else if v162 and v156 then v153.AvatarExperience.Common.Collectibles.CollectiblesItemInfo[v156.collectibleItemId] else nil;
            elseif v157 then
                v162 = v157.collectibleItemId;
                if v162 then
                    v158 = v153.AvatarExperience.Common.Collectibles.CollectiblesItemInfo[v162];
                end;
            end;
        end;
        if not v59 then
            v159 = v42.DEPRECATED_GetItemSubType(v154.itemType, v156);
        elseif v157 then
            v159 = v157.itemSubType;
        end;
        if v66() and v158 ~= nil then
            v160 = v158.experiences;
        end;
        if v61() then
            v161 = v153.AvatarExperience.Catalog.Metadata.isCollectiblesEnabled;
        end;
    end;
    local v163 = nil;
    if v69() then
        v163 = if not v59 then v42.DEPRECATED_isLimitedCollectible(v156) else v157 and v157.isLimitedCollectible;
    end;
    return {
        globalGuiInset = v153.GlobalGuiInset,
        screenSize = v153.ScreenSize,
        fetchingState = v155,
        itemInfo = if not v59 then nil else v157,
        DEPRECATED_itemData = if not v59 then v156 else nil,
        DEPRECATED_itemSubType = v159,
        DEPRECATED_peekViewState = if not v67() then v153.AvatarExperience.Common.ItemDetailsPeekView.viewState else nil,
        DEPRECATED_experiences = v160,
        DEPRECATED_collectibleData = v158,
        DEPRECATED_isCollectiblesEnabled = v161,
        isLimitedCollectible = if not v69() then nil else v163
    };
end, function(v164, _)
    return {
        fetchAssetOrBundleInfo = function(v166, v167, v168, v169)
            return v164(v54(v166, v167, v168, v169));
        end,
        navigateDownToAvatarScreen = function(v170, v171, v172)
            return v164(v40(v170, v171, v172));
        end,
        toggleTryOn = function(v173, v174, v175, v176, v177, v178, v179, v180)
            v164(v52(v173, v174, v175, v176, v177, v178, v179, v180));
        end
    };
end)(v72);
if v60 then
    v72 = l_RoactAppPolicy_0.connect(function(v181, _)
        return {
            showPremiumContent = v181.getShowCatalogPremiumContent()
        };
    end)(v72);
end;
v72 = l_RoactServices_0.connect({
    appAnalytics = v5,
    catalogAnalytics = v19,
    networking = v15
})((v11.withNavigation(v72)));
return v3.forwardRef(function(v183, v184)
    return v3.createElement(v72, v4.Dictionary.join(v183, {
        forwardRef = v184
    }));
end);


local l_CoreGui_0 = game:GetService("CoreGui");
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Roact);
local v3 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_Focusable_0 = v3.Focusable;
local v5 = require(l_CorePackages_0.Packages.React);
local l_GamepadUtils_0 = require(l_CorePackages_0.Workspace.Packages.AppCommonLib).Utils.GamepadUtils;
local v7 = require(l_CoreGui_0.RobloxGui.Modules.AvatarExperience.Flags.GetFFlagAXGateUGC4ACollectibleAssetsBundles);
local v8 = UDim.new(1, 0);
local function v9()
    return nil;
end;
return function(v10)
    local l_renderContent_0 = v10.renderContent;
    local v12 = v10.renderTopBar or v9;
    local v13 = v10.renderBottomBar or v9;
    local v14 = v10.topBarHeight or 0;
    local v15 = v10.bottomBarHeight or 0;
    local v16 = v5.useRef(nil);
    return v2.createElement(l_Focusable_0.Frame, {
        BackgroundTransparency = 1,
        BorderSizePixel = 0,
        Size = v10.viewSize,
        Position = v10.viewPosition,
        restorePreviousChildFocus = true,
        inputBindings = if not not v16 and v16.current ~= nil then {
            ScrollPeekView = v3.Input.onStep(Enum.KeyCode.Thumbstick2, function(v17, v18)
                local l_Position_0 = v17.Position;
                local l_current_0 = v16.current;
                local v21 = l_current_0.CanvasPosition.Y + (v18 * -l_GamepadUtils_0.normalizeStickByDeadzone(l_Position_0).Y) * 1000;
                if v21 <= l_current_0.AbsoluteSize.Y * v8.Scale + v8.Offset then
                    l_current_0.CanvasPosition = Vector2.new(0, v21);
                end;
            end)
        } else nil
    }, {
        TopBar = v12(),
        ScrollingContent = v2.createElement("ScrollingFrame", {
            ScrollingDirection = Enum.ScrollingDirection.Y,
            BackgroundTransparency = 1,
            Size = UDim2.new(1, 0, 1, -(v14 + v15)),
            Position = UDim2.new(0, 0, 0, v14),
            ScrollBarThickness = 0,
            CanvasSize = UDim2.new(1, 0, 0, 0),
            AutomaticCanvasSize = Enum.AutomaticSize.Y,
            ElasticBehavior = Enum.ElasticBehavior.Never,
            [v2.Ref] = v16
        }, {
            Content = l_renderContent_0()
        }),
        BottomBar = if not v7() then v13() else v13 and v13()
    });
end;


local l_CorePackages_0 = game:GetService("CorePackages");
local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local v2 = require(l_CorePackages_0.Roact);
local v3 = require(l_Modules_0.AvatarExperience.Common.Components.CenteredModalView);
local v4 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXGateUGC4ACollectibleAssetsBundles);
local function v5()
    return nil;
end;
return function(v6)
    local l_renderContent_0 = v6.renderContent;
    local v8 = v6.renderTopBar or v5;
    local v9 = v6.renderBottomBar or v5;
    local v10 = v6.topBarHeight or 0;
    return v2.createElement(v3, {}, {
        TopBar = v8(),
        ScrollingContent = v2.createElement("ScrollingFrame", {
            ScrollingDirection = Enum.ScrollingDirection.Y,
            BackgroundTransparency = 1,
            Size = UDim2.new(1, 0, 1, -(v10 + (v6.bottomBarHeight or 0))),
            Position = UDim2.new(0, 0, 0, v10),
            ScrollBarThickness = 0,
            CanvasSize = UDim2.new(1, 0, 0, 0),
            AutomaticCanvasSize = Enum.AutomaticSize.Y
        }, {
            Content = l_renderContent_0()
        }),
        BottomBar = if not v4() then v9() else v9 and v9()
    });
end;


local l_CoreGui_0 = game:GetService("CoreGui");
local l_CorePackages_0 = game:GetService("CorePackages");
local l_Modules_0 = l_CoreGui_0.RobloxGui.Modules;
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.UIBlox);
local l_Images_0 = v4.App.ImageSet.Images;
local l_ImageSetButton_0 = v4.Core.ImageSet.ImageSetButton;
local l_withStyle_0 = v4.Style.withStyle;
local v8 = require(l_Modules_0.LuaApp.Constants);
local v9 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local l_PeekView_0 = require(l_CorePackages_0.Workspace.Packages.PeekView).PeekView;
local l_PeekViewState_0 = require(l_CorePackages_0.Workspace.Packages.PeekView).PeekViewState;
local v12 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXGateUGC4ACollectibleAssetsBundles);
local v13 = require(l_Modules_0.AvatarExperience.Common.Debug.LogTree).logger("ax.itemdetails");
local v14 = l_Images_0["icons/navigation/close"];
local v15 = v3.PureComponent:extend("ItemDetailsPeekView");
v15.init = function(v16)
    local v17, v18 = v3.createBinding(UDim2.new(0, 0, 0, 0));
    v16.closeButtonPosition = v17;
    v16.updateCloseButtonPosition = v18;
    v17, v18 = v3.createBinding(false);
    v16.closeButtonVisible = v17;
    v16.updateCloseButtonVisible = v18;
    local v19;
    v18, v19 = v3.createBinding(v16.props.luaProfileEnabled and v16.props.navigation.state.routeName == v9.TryOnItem);
    v16.topBarNavVisible = v18;
    v16.updateTopBarNavVisible = v19;
    local v20, v21 = v3.createBinding(not v16.props.mountAsFullView and 0 or 1);
    v16.briefViewPercentBinding = v20;
    v16.updateBriefViewPercentBinding = v21;
    v16.scrollingEnabledBinding = v16.briefViewPercentBinding:map(function(v22)
        return v22 == 1;
    end);
    v16.peekViewStateChanged = function(v23, v24)
        v13:debug("peekViewStateChanged: {} -> {}", v24, v23);
        v16:setState({});
        local l_analytics_0 = v16.props.analytics;
        local l_routeName_0 = v16.props.navigation.state.routeName;
        local l_itemId_0 = v16.props.itemId;
        local l_itemType_0 = v16.props.itemType;
        if not (v23 ~= l_PeekViewState_0.Closed) or v23 == l_PeekViewState_0.Hidden then
            if l_routeName_0 == v9.TryOnItem then
                v16.props.closeFocusedScreen(v16.props.navigation);
            else
                v16.props.closeAllPeekViews(v16.props.navigation);
            end;
            l_analytics_0.closeItemDetailPage(l_itemId_0, l_itemType_0);
        elseif v23 == l_PeekViewState_0.Full then
            l_analytics_0.expandItemDetailPage(l_itemId_0, l_itemType_0);
        end;
        v16.props.setPeekViewState(v23);
    end;
    v16.briefToFullTransitionPercent = function(v29)
        if v16.props.navigation.state.routeName ~= v9.TryOnItem then
            if v29 > 0.8 then
                v16.updateTopBarNavVisible(true);
            else
                v16.updateTopBarNavVisible(false);
            end;
            if v29 > 0.95 then
                v16.updateCloseButtonVisible(false);
            else
                v16.updateCloseButtonVisible(true);
            end;
        end;
        v16.updateBriefViewPercentBinding(v29);
    end;
    v16.peekHeaderPositionYChange = function(v30)
        v16.updateCloseButtonPosition(UDim2.new(0, 15, 1, -((math.floor(v30 + 0.5) + 18) + 4)));
    end;
end;
v15.render = function(v31)
    return l_withStyle_0(function(v32)
        return v31:renderWith(v32);
    end);
end;
v15.renderWith = function(v33, v34)
    local l_Theme_0 = v34.Theme;
    local v36 = v33.props.lastInputGroup == v8.InputType.MouseAndKeyboard;
    local l_isTryOnPage_0 = v33.props.isTryOnPage;
    local l_viewPosition_0 = v33.props.viewPosition;
    local l_viewSize_0 = v33.props.viewSize;
    local l_briefViewHeight_0 = v33.props.briefViewHeight;
    local l_showDropShadow_0 = v33.props.showDropShadow;
    local l_mountAnimation_0 = v33.props.mountAnimation;
    local l_mountAsFullView_0 = v33.props.mountAsFullView;
    local l_topBarHeight_0 = v33.props.topBarHeight;
    local l_fromProfile_0 = v33.props.fromProfile;
    local l_peekViewFullViewEnabled_0 = v33.props.peekViewFullViewEnabled;
    local l_peekViewState_0 = v33.props.peekViewState;
    local v48 = UDim2.fromOffset(0, l_topBarHeight_0 - (not l_fromProfile_0 and 0 or 6));
    local l_renderContent_0 = v33.props.renderContent;
    local l_renderTopBar_0 = v33.props.renderTopBar;
    local l_renderBottomBar_0 = v33.props.renderBottomBar;
    local v52 = true;
    if l_peekViewState_0 ~= l_PeekViewState_0.Full then
        v52 = true;
        if l_peekViewState_0 ~= l_PeekViewState_0.Extended then
            v52 = v36 or l_isTryOnPage_0;
        end;
    end;
    local l_scrollingEnabledBinding_0 = v33.scrollingEnabledBinding;
    local v54 = nil;
    if not l_peekViewFullViewEnabled_0 then
        v54 = Enum.ElasticBehavior.Never;
    end;
    return v3.createElement("Frame", {
        BackgroundTransparency = 1,
        BorderSizePixel = 0,
        Size = l_viewSize_0,
        Position = l_viewPosition_0
    }, {
        Overlay = v3.createElement("Frame", {
            BackgroundTransparency = if not l_isTryOnPage_0 then v33.briefViewPercentBinding:map(function(v55)
                return 1 - (1 - l_Theme_0.Overlay.Transparency) * v55;
            end) else 1,
            BackgroundColor3 = l_Theme_0.Overlay.Color,
            BorderSizePixel = 0,
            Size = UDim2.fromScale(1, 1),
            ZIndex = 1
        }),
        TopBar = if not v52 then nil else l_renderTopBar_0(),
        CloseButton = (v36 and not l_isTryOnPage_0) and v3.createElement(l_ImageSetButton_0, {
            AnchorPoint = Vector2.new(0, 0.5),
            BackgroundTransparency = 1,
            Position = v33.closeButtonPosition,
            Size = UDim2.new(0, 36, 0, 36),
            Image = v14,
            ImageColor3 = l_Theme_0.SystemPrimaryDefault.Color,
            Visible = v33.closeButtonVisible,
            [v3.Event.Activated] = v33.props.closeBriefView
        }),
        PeekViewContainer = v3.createElement("Frame", {
            BackgroundTransparency = 1,
            ClipsDescendants = true,
            Position = v48,
            Size = UDim2.new(1, 0, 1, -v48.Y.Offset),
            ZIndex = 2
        }, {
            PeekView = v3.createElement(l_PeekView_0, {
                briefViewContentHeight = UDim.new(0, l_briefViewHeight_0),
                viewStateChanged = v33.peekViewStateChanged,
                mountAnimation = l_mountAnimation_0,
                mountAsFullView = l_mountAsFullView_0,
                canDragFullViewToBrief = not l_fromProfile_0,
                showDraggerInClosedState = false,
                returnToFullView = true,
                thumbstickScrollEnabled = true,
                bottomDockedContainerHeight = l_briefViewHeight_0,
                bottomDockedContainerContent = {
                    ActionBarContainer = if not v12() then l_renderBottomBar_0() else l_renderBottomBar_0 and l_renderBottomBar_0()
                },
                showDropShadow = l_showDropShadow_0,
                elasticBehavior = v54,
                backgroundColor3 = l_Theme_0.BackgroundDefault.Color,
                backgroundTransparency = l_Theme_0.BackgroundUIDefault.Transparency,
                briefToFullTransitionPercent = v33.briefToFullTransitionPercent,
                peekHeaderClose = l_fromProfile_0 or false,
                peekHeaderPositionYChange = v33.peekHeaderPositionYChange,
                isScrollingEnabled = not v36 or l_scrollingEnabledBinding_0,
                contentFrameRef = v33.props.contentFrameRef,
                peekViewState = l_peekViewState_0
            }, {
                ItemDetails = l_renderContent_0()
            })
        })
    });
end;
local function _(v56)
    local l_peekViewState_1 = v56.peekViewState;
    local v58 = true;
    if l_peekViewState_1 ~= l_PeekViewState_0.Full then
        v58 = l_peekViewState_1 == l_PeekViewState_0.Extended;
    end;
    return v58;
end;
v15.didUpdate = function(v60, v61, _)
    local l_current_0 = v60.props.avatarRoute.current;
    local l_name_0 = l_current_0.name;
    local l_key_0 = l_current_0.key;
    local l_key_1 = v60.props.navigation.state.key;
    if not v60.props.peekViewShowing then
        if not (not (v61.peekViewShowing and l_name_0 ~= v9.ItemDetails) or not v60.props.itemDetailsExpanded) then
            v60.props.setItemDetailsExpanded(false);
        end;
    else
        local l_peekViewState_2 = v60.props.peekViewState;
        local v68 = true;
        if l_peekViewState_2 ~= l_PeekViewState_0.Full then
            v68 = l_peekViewState_2 == l_PeekViewState_0.Extended;
        end;
        if v60.props.itemDetailsExpanded ~= v68 then
            v60.props.setItemDetailsExpanded(v68);
        end;
    end;
    if v60.props.lastInputGroup == v8.InputType.Gamepad then
        local l_peekViewState_3 = v60.props.peekViewState;
        local v70 = true;
        if l_peekViewState_3 ~= l_PeekViewState_0.Full then
            v70 = l_peekViewState_3 == l_PeekViewState_0.Extended;
        end;
        l_peekViewState_3 = v61.peekViewState;
        local v71 = true;
        if l_peekViewState_3 ~= l_PeekViewState_0.Full then
            v71 = l_peekViewState_3 == l_PeekViewState_0.Extended;
        end;
        if l_key_0 == l_key_1 then
            if not v70 or v71 then
                if not (v70 or not v71) then
                    v60.props.focusController.moveFocusTo(v60.props.actionBarContainerRef);
                end;
            else
                v60.props.focusController.moveFocusTo(v60.props.contentFrameRef);
                return ;
            end;
        end;
    end;
end;
v15.didMount = function(v72)
    if not v72.props.mountAnimation then
        v72.peekHeaderPositionYChange(v72.props.briefViewHeight + 25);
    end;
    if v72.props.peekViewShowing then
        local l_peekViewState_4 = v72.props.peekViewState;
        local v74 = true;
        if l_peekViewState_4 ~= l_PeekViewState_0.Full then
            v74 = l_peekViewState_4 == l_PeekViewState_0.Extended;
        end;
        if v72.props.itemDetailsExpanded ~= v74 then
            v72.props.setItemDetailsExpanded(v74);
        end;
    end;
end;
v15.willUnmount = function(v75)
    if not (not v75.props.peekViewShowing or not v75.props.itemDetailsExpanded) then
        v75.props.setItemDetailsExpanded(false);
    end;
end;
return v15;


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Roact);
local _ = require(l_CorePackages_0.Packages.React);
local v4 = require(l_CorePackages_0.AvatarExperienceDeps);
local l_Common_0 = l_Modules_0.AvatarExperience.Common;
local _ = require(l_Common_0.Types);
local v7 = require(l_Common_0.Components.ItemDetails.ItemImageFrame);
local v8 = require(l_Common_0.Components.ItemDetails.ExperienceDetails);
local v9 = require(l_Common_0.Components.ItemDetails.NameLabel);
local _ = require(l_Common_0.Models.CollectibleInfo);
local l_FitFrameVertical_0 = v4.RoactFitComponents.FitFrameVertical;
return function(v12)
    return v2.createElement(l_FitFrameVertical_0, {
        width = UDim.new(1, 0),
        contentPadding = UDim.new(0, 12),
        FillDirection = Enum.FillDirection.Vertical,
        HorizontalAlignment = Enum.HorizontalAlignment.Center,
        VerticalAlignment = Enum.VerticalAlignment.Center,
        BackgroundTransparency = 1,
        LayoutOrder = 1
    }, {
        NameLabel = v2.createElement(v9, {
            name = v12.name,
            showPremiumBenefits = v12.showPremiumBenefits,
            actionBarHeaderRef = v12.actionBarHeaderRef
        }),
        ExperienceDetails = v2.createElement(v8, {
            itemType = v12.itemType,
            itemId = v12.itemId
        }),
        ItemImageFrame = v2.createElement(v7, {
            width = v12.width,
            itemType = v12.itemType,
            itemId = v12.itemId,
            itemSubType = v12.itemSubType,
            itemDetailsPeekViewRefs = v12.itemDetailsPeekViewRefs,
            resultsListRef = v12.resultsListRef
        })
    });
end;


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local l_TextService_0 = game:GetService("TextService");
local v3 = require(l_CorePackages_0.Roact);
local v4 = require(l_CorePackages_0.Packages.React);
local v5 = require(l_CorePackages_0.UIBlox);
local l_useNavigation_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.useNavigation;
local v7 = require(l_CorePackages_0.Workspace.Packages.UserLib);
local l_useDispatch_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.RoactRodux.useDispatch;
local v9 = require(l_Modules_0.LuaApp.Hooks.useLocalization);
local v10 = require(l_Modules_0.LuaApp.Services.RoactNetworking);
local v11 = require(l_Modules_0.LuaApp.Hooks.useRoactService);
local l_AvatarExperience_0 = l_Modules_0.AvatarExperience;
local l_Common_0 = l_AvatarExperience_0.Common;
local l_Catalog_0 = l_AvatarExperience_0.Catalog;
local v15 = require(l_Common_0.Components.RoactNavigation.AvatarScreen);
local _ = require(l_Common_0.Types);
local v17 = require(l_Common_0.Thunks.ToggleTryOnThunk);
local v18 = require(l_Common_0.Components.RoactNavigation.AppRouterWrapper.NavigateDownToAvatarScreen);
local v19 = require(l_Common_0.Hooks.useAvatarRoute);
local v20 = require(l_Catalog_0.CatalogConstants);
local v21 = require(l_Catalog_0.CatalogUtils);
local v22 = require(l_Catalog_0.Services.Analytics);
local l_LoadableImage_0 = v5.App.Loading.LoadableImage;
local l_useStyle_0 = v5.Core.Style.useStyle;
local l_Button_0 = v5.App.Button.Button;
local l_ButtonType_0 = v5.App.Button.Enum.ButtonType;
local l_getRbxthumbWithTypeSizeAndOptions_0 = v7.Utils.getRbxthumbWithTypeSizeAndOptions;
return function(v28)
    local v29 = l_useStyle_0();
    local l_Theme_0 = v29.Theme;
    local l_Font_0 = v29.Font;
    local v32 = v9({
        tryOn = "Feature.Avatar.Action.TryOn"
    });
    local v33 = l_useNavigation_0();
    local v34 = v11(v10);
    local v35 = v11(v22);
    local v36 = l_useDispatch_0();
    local v37 = v19();
    local v40 = v4.useCallback(function()
        local v38 = {
            itemId = v28.itemId,
            itemType = v28.itemType,
            mountAsFullView = false,
            mountAnimation = false,
            itemDetailsPeekViewRefs = v28.itemDetailsPeekViewRefs,
            resultsListRef = v28.resultsListRef
        };
        local v39 = v28.itemType .. v28.itemId;
        v36(v17(v34, v35, v28.itemType, v28.itemSubType, v28.itemId, true, v37, v33));
        v36(v18(v15.TryOnItem, v39, v38));
        v35.profileTryOnAvatarItem(v20.AnalyticsContext.ProfileItemDetails, v28.itemId, v28.itemType, v28.itemSubType);
    end, {
        v34,
        v35,
        v37,
        v33,
        v28
    });
    local v41 = (v28.width * 9) / 16;
    local v42 = l_getRbxthumbWithTypeSizeAndOptions_0(v28.itemId, v21.GetRbxThumbType(v28.itemType), 420);
    local v43 = v33.getParam("fromProfile");
    local l_tryOn_0 = v32.tryOn;
    local v45 = 16 + l_TextService_0:GetTextSize(l_tryOn_0, l_Font_0.BaseSize * l_Font_0.Header2.RelativeSize, l_Font_0.Header2.Font, Vector2.new(10000, 10000)).X;
    return v4.createElement("Frame", {
        BackgroundTransparency = 1,
        Size = UDim2.new(1, 0, 0, v41),
        LayoutOrder = 1,
        ZIndex = 0
    }, {
        ItemBackground = v3.createElement("Frame", {
            AnchorPoint = Vector2.new(0.5, 0),
            Position = UDim2.fromScale(0.5, 0),
            Size = UDim2.new(1, 48, 1, 0),
            ZIndex = 0,
            BackgroundColor3 = l_Theme_0.BackgroundMuted.Color,
            BackgroundTransparency = l_Theme_0.BackgroundMuted.Transparency,
            BorderSizePixel = 0
        }, {
            UIGradient = v3.createElement("UIGradient", {
                Rotation = -90,
                Transparency = NumberSequence.new({
                    NumberSequenceKeypoint.new(0, 1),
                    NumberSequenceKeypoint.new(0.4, 0),
                    NumberSequenceKeypoint.new(1, 1)
                })
            })
        }),
        Image = v3.createElement(l_LoadableImage_0, {
            BackgroundTransparency = 1,
            Image = v42,
            AnchorPoint = Vector2.new(0.5, 0),
            Position = UDim2.fromScale(0.5, 0),
            Size = UDim2.fromOffset(v41, v41),
            useShimmerAnimationWhileLoading = true
        }),
        TryOnButtonFrame = if not v43 then nil else v3.createElement("Frame", {
            ZIndex = 2,
            Size = UDim2.fromScale(1, 1),
            BorderSizePixel = 0,
            BackgroundTransparency = 1
        }, {
            TryOnButton = v3.createElement(l_Button_0, {
                buttonType = l_ButtonType_0.Secondary,
                position = UDim2.new(1, -v45 - 8, 1, -44),
                size = UDim2.fromOffset(v45, 36),
                text = l_tryOn_0,
                onActivated = v40
            })
        })
    });
end;


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Packages.React);
local v3 = require(l_CorePackages_0.RoactRodux);
local v4 = require(l_CorePackages_0.Packages.RoactGamepad);
local l_useNavigation_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.useNavigation;
local v6 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local l_Focusable_0 = v4.Focusable;
local v8 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.ItemInfo.ItemInfoRow);
local v9 = require(l_Modules_0.LuaApp.Common.Experience.Connectors.LaunchExperienceConnector);
local _ = require(l_CorePackages_0.Workspace.Packages.PlayabilityRodux);
local l_GameIconReducer_0 = require(l_CorePackages_0.Workspace.Packages.GameIconRodux).GameIcons.GameIconReducer;
local v12 = require(l_Modules_0.AvatarExperience.Catalog.AttributionConstants);
return (v3.connect(function(v13, v14)
    local v15 = v13[l_GameIconReducer_0.key][v14.creatingUniverseId];
    return {
        thumbnailUrl = if not v15 then nil else v15.url
    };
end)((v9.connect(function(v16)
    return {
        universeId = v16.creatingUniverseId,
        launchSource = "AttributionItemRow",
        referralSource = "ItemDetailsPage"
    };
end, function(v17, _)
    return {
        playabilityStatus = v17.playabilityStatus,
        playButtonState = v17.playButtonState,
        gameName = v17.gameName,
        onPlayButtonActivated = v17.onPlayButtonActivated
    };
end)((v2.forwardRef(function(v19, _)
    local v21 = nil;
    local v22 = nil;
    if v19.playabilityStatus then
        local l_playabilityStatus_0 = v19.playabilityStatus.playabilityStatus;
        v21 = v12.ShowPlayableAttributionMapper[l_playabilityStatus_0];
        v22 = v12.ShowTraversalAlertMapper[l_playabilityStatus_0];
    end;
    local v24 = l_useNavigation_0();
    return v21 and v2.createElement(l_Focusable_0[v8], {
        infoName = v19.infoName,
        infoData = not v19.gameName and "" or v19.gameName,
        onActivate = function()
            if not v22 then
                v19.onPlayButtonActivated();
                return ;
            else
                v24.navigate(v6.OpenExperienceTraversalPrompt, {
                    onPlayButtonActivated = v19.onPlayButtonActivated,
                    gameName = v19.gameName,
                    gameUniverseId = v19.creatingUniverseId,
                    thumbnailUrl = v19.thumbnailUrl
                });
                return ;
            end;
        end,
        LayoutOrder = v19.LayoutOrder,
        ref = v19.attributionRef,
        NextSelectionUp = v19.NextSelectionUp,
        NextSelectionDown = v19.NextSelectionDown
    });
end))))));


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Packages.React);
local l_Focusable_0 = require(l_CorePackages_0.Packages.RoactGamepad).Focusable;
local l_useDispatch_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.RoactRodux.useDispatch;
local l_useSelector_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.RoactRodux.useSelector;
local l_useNavigation_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.useNavigation;
local l_NumberLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).NumberLocalization;
local v8 = require(l_Modules_0.AvatarExperience.Common.Selectors.DEPRECATED_ItemData);
local v9 = require(l_Modules_0.AvatarExperience.Common.Selectors.selectItemInfo);
local v10 = require(l_Modules_0.AvatarExperience.Flags.FFlagAXFixItemTypeHandling);
local v11 = require(l_Modules_0.AvatarExperience.Flags.FFlagAXEnableOutfitAttribution);
local v12 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.ItemInfo.AttributionItemInfoRow);
local v13 = require(l_Modules_0.AvatarExperience.Common.Components.ItemDetails.ItemInfo.ItemInfoRow);
local v14 = require(l_Modules_0.AvatarExperience.Catalog.Hooks.DEPRECATED_useItemDataDigest);
local v15 = require(l_Modules_0.AvatarExperience.Common.Hooks.useItemInfoDigest);
local v16 = require(l_Modules_0.AvatarExperience.Catalog.CatalogConstants);
local v17 = require(l_Modules_0.AvatarExperience.Common.Constants);
local v18 = require(l_Modules_0.AvatarExperience.Catalog.CatalogUtils);
local v19 = require(l_Modules_0.AvatarExperience.Common.Components.RoactNavigation.AvatarScreen);
local v20 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.FetchAssetResaleData);
local v21 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.FetchAssetVersionData);
local _ = require(l_Modules_0.AvatarExperience.Common.Models.CollectibleInfo);
local v23 = require(l_Modules_0.LuaApp.Http.UrlBuilder);
local v24 = require(l_Modules_0.LuaApp.AppPage);
local v25 = require(l_Modules_0.LuaApp.Services.RoactNetworking);
local v26 = require(l_Modules_0.LuaApp.Services.RoactLocalization);
local v27 = require(l_Modules_0.LuaApp.Hooks.useLocalization);
local v28 = require(l_Modules_0.LuaApp.Hooks.useRoactService);
local v29 = require(l_Modules_0.LuaApp.Hooks.useAppPolicy);
local v30 = game:DefineFastFlag("UseItemDataHookRefactor", false);
local _ = require(l_Modules_0.AvatarExperience.Common.Types);
local v32 = require(l_Modules_0.AvatarExperience.Flags.FFlagEnableAttributionItemRow);
local v33 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagEnableCollectiblesSaleLocationCheck);
local v34 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXLimitedBundlesHandleNewData);
local function _(v35, v36)
    if v35 then
        return l_NumberLocalization_0.localize(v35, v36:GetLocale());
    else
        return nil;
    end;
end;
local function v43(v38, v39, v40)
    local v41 = nil;
    local _ = nil;
    if not v10 then
        v41 = if not v38 then if v40 and v40.product then v40.product.id else nil else v38.collectibleProductId;
        if not v38 then
            if not v40 then
                return v41, nil;
            else
                return v41, v40.creator;
            end;
        else
            return v41, v38.creator;
        end;
    else
        v41 = if not v38 then if v39 then v39.productId else nil else v38.collectibleProductId;
        if not v38 then
            if not v39 then
                return v41, nil;
            else
                return v41, v39.creator;
            end;
        else
            return v41, v38.creator;
        end;
    end;
end;
local _ = function(v44, v45, v46)
    local _ = nil;
    if not v11 or not v46 then
        if not v10 then
            if not v45 then
                return nil;
            else
                return v45.creatingUniverseId;
            end;
        elseif not v44 then
            return nil;
        else
            return v44.creatingUniverseId;
        end;
    else
        return v46.creatingUniverseId;
    end;
end;
return (v2.forwardRef(function(v49, v50)
    local v51 = nil;
    local v52 = nil;
    local v53 = nil;
    local v54 = nil;
    local v55 = nil;
    local v56 = nil;
    local v57 = nil;
    local v58 = nil;
    if not v10 then
        v57 = l_useSelector_0(function(v59)
            return v8(v59.AvatarExperience.Common, v49.itemId, v49.itemType);
        end);
    else
        v58 = l_useSelector_0(function(v60)
            return v9(v60.AvatarExperience, v49.itemId, v49.itemType);
        end);
    end;
    (function()
        if not v10 then
            if v57 then
                v51 = v57.collectibleItemId;
                local l_resellerUserAssetIds_0 = v57.resellerUserAssetIds;
                local l_l_resellerUserAssetIds_0_0 = l_resellerUserAssetIds_0;
                if l_l_resellerUserAssetIds_0_0 then
                    l_l_resellerUserAssetIds_0_0 = false;
                    if #l_resellerUserAssetIds_0 > 0 then
                        l_l_resellerUserAssetIds_0_0 = l_resellerUserAssetIds_0[1];
                    end;
                end;
                v52 = l_l_resellerUserAssetIds_0_0;
                v54 = if not v57.creator then nil else v57.creator.id;
                v55 = if not v57.creator then nil else v57.creator.type;
                v56 = v18.DEPRECATED_GetItemSubType(v49.itemType, v57);
                v53 = if not v34() then v51 else v18.DEPRECATED_isLimitedCollectible(v57);
            end;
        elseif v58 then
            v51 = v58.collectibleItemId;
            local l_resellerUserAssetIds_1 = v58.resellerUserAssetIds;
            local l_l_resellerUserAssetIds_1_0 = l_resellerUserAssetIds_1;
            if l_l_resellerUserAssetIds_1_0 then
                l_l_resellerUserAssetIds_1_0 = false;
                if #l_resellerUserAssetIds_1 > 0 then
                    l_l_resellerUserAssetIds_1_0 = l_resellerUserAssetIds_1[1];
                end;
            end;
            v52 = l_l_resellerUserAssetIds_1_0;
            v54 = if not v58.creator then nil else v58.creator.id;
            v55 = if not v58.creator then nil else v58.creator.type;
            v56 = if not v58 then nil else v58.itemSubType;
            v53 = if not v34() then v51 else v58.isLimitedCollectible;
            return ;
        end;
    end)();
    local v66 = v29(function(v65)
        return v65.getWebViewSupport();
    end);
    local v67 = {
        v51
    };
    if v34() then
        v67 = {
            v51,
            v53
        };
    end;
    local v69 = l_useSelector_0((v2.useCallback(function(v68)
        if not v51 then
            return nil;
        else
            return v68.AvatarExperience.Common.Collectibles.CollectiblesItemInfo[v51];
        end;
    end, {
        v51
    })));
    local v71 = if v30 then nil else l_useSelector_0((v2.useCallback(function(v70)
        if not v34() or v53 then
            if not v51 then
                return nil;
            else
                return v70.AvatarExperience.Common.Collectibles.CollectiblesResellableInstances[v51];
            end;
        else
            return nil;
        end;
    end, v67)));
    local v73 = l_useSelector_0(function(v72)
        return v72.UserRobux[v72.LocalUserId];
    end);
    local v79 = l_useSelector_0(function(v74)
        if not v51 then
            if not v52 then
                return nil;
            else
                local v75 = v74.AvatarExperience.Catalog.UserAssets[v52];
                if not v75 then
                    return nil;
                else
                    return v75.priceInRobux;
                end;
            end;
        elseif not v34() or v53 then
            local v76 = v74.AvatarExperience.Common.Collectibles.CollectiblesResellersInstances[v51];
            local l_v76_0 = v76;
            if l_v76_0 then
                l_v76_0 = false;
                if #v76.InstanceIdsList > 0 then
                    l_v76_0 = v76.InstanceIdsList[1];
                end;
            end;
            local v78 = if not l_v76_0 then nil else v76.Instances[l_v76_0];
            if not v78 then
                return nil;
            else
                return v78.price;
            end;
        else
            return nil;
        end;
    end);
    local v80 = l_useDispatch_0();
    local v81 = l_useNavigation_0();
    local v82 = v28(v25);
    local v83 = v2.useCallback(function()
        if v54 then
            v81.navigate(v24.GenericWebPage, {
                detail = if v55 == v16.CreatorType.Group then v23.user.group({
                    groupId = v54
                }) else v23.user.profile({
                    userId = v54
                }),
                extraProps = {
                    titleKey = "CommonUI.Features.Label.Profile"
                }
            });
        end;
    end, {
        v54,
        v55
    });
    local v84 = v2.useCallback(function()
        v81.navigate(v19.ResellersPage, {
            itemId = v49.itemId,
            collectibleItemId = v51,
            itemType = v49.itemType,
            fromProfile = v81.getParam("fromProfile")
        });
    end, {
        v81,
        v49.itemId,
        v57,
        v58,
        v49.itemType,
        v81.getParam("fromProfile")
    });
    local v85 = nil;
    local v86 = nil;
    if v49.itemType == v17.ItemType.Asset then
        v85 = v17.AssetCategoriesLocalized[v17.AssetTypeIdToCategory[v56]];
        v86 = v17.AssetTypeLocalized[v56];
    end;
    local v87 = v28(v26);
    local v88 = v27({
        bundle = "Feature.Catalog.Label.Bundle",
        category = v85,
        subType = v86,
        yesText = "Feature.Catalog.Label.Yes",
        noText = "Feature.Catalog.Label.No",
        noneText = "Feature.Catalog.Label.None",
        fromResalePrice = {
            "Feature.Catalog.Label.FromPrice";
            itemPrice = v16.RobloxEmoji.Robux .. (not v79 and "" or l_NumberLocalization_0.localize(v79, v87:GetLocale()))
        }
    });
    local v89 = if (v49.itemType == v17.ItemType.Asset and v88.category) and v88.subType then ("%* | %*"):format(v88.category, v88.subType) else if v49.itemType == v17.ItemType.Bundle then v88.bundle else "";
    local v90 = nil;
    local v91 = nil;
    local v92 = nil;
    local v93 = nil;
    local v94 = nil;
    local v95 = nil;
    local v96 = nil;
    local v97 = nil;
    local v98 = nil;
    local v99 = nil;
    local v100 = nil;
    local v101 = nil;
    local v102 = nil;
    local v103 = false;
    (function()
        if not v10 then
            if not v30 then
                v90 = v18.DEPRECATED_IsResellable(v57);
                v91 = v18.DEPRECATED_getIsTradable(v57);
                v92 = if not v32 then nil else v18.DEPRECATED_HasAttribution(v57);
                v101 = 0;
                v93 = false;
                v94 = false;
                v95 = not not v57 and if v57.resellerUserAssetIds then #v57.resellerUserAssetIds > 0 else false;
                v97 = if not not v57 and v57.soldCount then v57.soldCount else 0;
                v98 = if not not v57 and v57.totalQuantity then v57.totalQuantity else 0;
                v99 = if not not v57 and v57.originalPrice then v57.originalPrice else 0;
                v100 = if not not v57 and v57.averagePrice then v57.averagePrice else 0;
                if v69 then
                    v102 = if not v69.resaleRestriction then v16.ResaleRestriction.None else v69.resaleRestriction;
                    v95 = not not v69.hasResellers and v69.hasResellers;
                    local v104 = v69.assetStock or 0;
                    local v105 = v69.unitsAvailableForConsumption or 0;
                    v97 = if not not v104 and v105 then v104 - v105 else 0;
                    v99 = v69.price or 0;
                    v100 = v69.recentAveragePrice or 0;
                    v98 = v69.assetStock or 0;
                    v101 = v69.quantityLimitPerUser or 0;
                    v94 = v18.reachQuantityLimit(v69, v71);
                    v93 = v18.shouldShowQuantityLimit(v101);
                end;
                v96 = v97 < v98;
                if v33() then
                    v96 = v96 and v18.isOriginalStockSellableInShop(v69);
                end;
            else
                local v106 = v14(v49.itemId, v49.itemType);
                v90 = v106.isResellable;
                v91 = v106.isTradable;
                v92 = v106.hasAttribution;
                v93 = v106.shouldShowQuantityLimit;
                v94 = v106.reachedQuantityLimit;
                v95 = v106.hasResellers;
                v97 = v106.soldCount;
                v98 = v106.itemStock;
                v99 = v106.originalPrice;
                v100 = v106.averagePrice;
                v101 = v106.quantityLimit;
                v96 = v106.isStockAvailable;
                v102 = v106.collectiblesResaleRestriction;
            end;
            if not ((not v90 or not v57) or v51) then
                v103 = true;
            end;
        else
            local v107 = v15(v49.itemId, v49.itemType);
            v90 = v107.isResellable;
            v91 = v107.isTradable;
            v92 = v107.hasAttribution;
            v93 = v107.shouldShowQuantityLimit;
            v94 = v107.reachedQuantityLimit;
            v95 = v107.hasResellers;
            v96 = v107.isStockAvailable;
            v97 = v107.soldCount;
            v98 = v107.itemStock;
            v99 = v107.originalPrice;
            v100 = v107.averagePrice;
            v101 = v107.quantityLimit;
            v102 = v107.collectiblesResaleRestriction;
            if not ((not v90 or not v58) or v51) then
                v103 = true;
                return ;
            end;
        end;
    end)();
    if not (not v11 or not v49.outfitInfo) then
        v92 = v49.outfitInfo.creatingUniverseId ~= nil;
    end;
    local v108 = false;
    if v102 == v16.ResaleRestriction.Disabled then
        v108 = not v96;
    end;
    local l_v97_0 = v97;
    local v110 = if l_v97_0 then l_NumberLocalization_0.localize(l_v97_0, v87:GetLocale()) else nil;
    local l_v98_0 = v98;
    l_v97_0 = if l_v98_0 then l_NumberLocalization_0.localize(l_v98_0, v87:GetLocale()) else nil;
    local l_v99_0 = v99;
    l_v98_0 = if l_v99_0 then l_NumberLocalization_0.localize(l_v99_0, v87:GetLocale()) else nil;
    local v113;
    l_v99_0, v113 = v43(v69, v58, v57);
    local v117 = v2.useCallback(function()
        local v114 = if not v113 then nil else v113.id;
        local v115 = if not v113 then nil else v113.name;
        local v116 = v81.getParam("fromProfile");
        if not (not v99 or not v73) and v99 <= v73 then
            v81.navigate(v19.PurchaseCatalogItem, {
                itemId = v49.itemId,
                itemType = v49.itemType,
                productId = l_v99_0,
                priceInRobux = v99,
                sellerId = v114,
                sellerName = v115,
                userAssetId = nil,
                collectibleInstanceId = nil,
                fromProfile = v116
            });
            return ;
        else
            v81.navigate(v19.InsufficientRobuxPrompt, {});
            return ;
        end;
    end, {
        l_v99_0,
        v113,
        v69,
        v81,
        v49.itemId,
        v49.itemType,
        v99
    });
    v2.useEffect(function()
        if v103 then
            v80(v20(v82, v49.itemId));
        end;
        if v32 and v49.itemType == v17.ItemType.Asset then
            v80(v21(v82, v49.itemId));
        end;
    end, {
        v103,
        v82,
        v49.itemId
    });
    local v118;
    if not v11 then
        local l_v58_0 = v58;
        local l_v57_0 = v57;
        local _ = nil;
        v118 = if not v10 then if l_v57_0 then l_v57_0.creatingUniverseId else nil else if l_v58_0 then l_v58_0.creatingUniverseId else nil;
    else
        local l_v58_1 = v58;
        local l_v57_1 = v57;
        local l_outfitInfo_0 = v49.outfitInfo;
        local _ = nil;
        v118 = if not not v11 and l_outfitInfo_0 then l_outfitInfo_0.creatingUniverseId else if not v10 then if l_v57_1 then l_v57_1.creatingUniverseId else nil else if l_v58_1 then l_v58_1.creatingUniverseId else nil;
    end;
    local l_createElement_0 = v2.createElement;
    local l_Frame_0 = l_Focusable_0.Frame;
    local v128 = {
        Size = UDim2.fromScale(1, 0),
        AutomaticSize = Enum.AutomaticSize.Y,
        BackgroundTransparency = 1,
        LayoutOrder = v49.LayoutOrder
    };
    local v129 = {
        Layout = v2.createElement("UIListLayout", {
            SortOrder = Enum.SortOrder.LayoutOrder
        }),
        Creator = v2.createElement(v13, {
            infoName = "Feature.Catalog.Label.Filter.Creator",
            infoData = not v113 and "" or v113.name,
            onActivate = if v66 then v83 else nil,
            hasVerifiedBadge = not not v113 and v113.hasVerifiedBadge,
            LayoutOrder = 2
        }),
        Attribution = (v32 and v92) and v2.createElement(v12, {
            infoName = "Feature.Catalog.Label.Attribution",
            creatingUniverseId = v118,
            LayoutOrder = 3,
            attributionRef = v49.attributionRef,
            NextSelectionUp = if not v90 then v49.NextSelectionUp else v49.resellerRef,
            NextSelectionDown = v49.NextSelectionDown
        })
    };
    local l_createElement_1 = v2.createElement;
    local l_v13_0 = v13;
    local v132 = {
        infoName = "Feature.Catalog.Label.CategoryType",
        infoData = v89
    };
    local v133 = false;
    if v91 == nil then
        v133 = not v90 and not v93;
    end;
    v132.hideDivider = v133;
    v132.LayoutOrder = not v32 and 3 or 4;
    v129.CategoryType = l_createElement_1(l_v13_0, v132);
    l_createElement_1 = false;
    if v91 ~= nil then
        l_createElement_1 = v2.createElement(v13, {
            infoName = "Feature.Catalog.Label.Tradable",
            infoData = if not v91 then v88.noText else v88.yesText,
            hideDivider = not v90 and not v93,
            LayoutOrder = not v32 and 4 or 5
        });
    end;
    v129.Tradeability = l_createElement_1;
    l_createElement_1 = false;
    if v102 == v16.ResaleRestriction.Disabled then
        l_createElement_1 = v2.createElement(v13, {
            infoName = "Feature.Catalog.Label.Resellable",
            infoData = v88.noText,
            hideDivider = not v90 and not v93,
            LayoutOrder = not v32 and 5 or 6
        });
    end;
    v129.Resellability = l_createElement_1;
    v129.QuantityLimit = v93 and v2.createElement(v13, {
        infoName = "Feature.Catalog.Label.MaxPerUser",
        infoData = v101,
        hideDivider = not v90,
        LayoutOrder = not v32 and 6 or 7
    });
    l_createElement_1 = v90;
    if l_createElement_1 then
        l_createElement_1 = v2.createElement;
        l_v13_0 = v2.Fragment;
        v132 = nil;
        v133 = {};
        local v134 = false;
        if v102 ~= v16.ResaleRestriction.Disabled then
            v134 = v2.createElement(l_Focusable_0[v13], {
                infoName = "Feature.Catalog.Heading.Resellers",
                infoData = if v95 then if v79 then v88.fromResalePrice else "" else v88.noneText,
                onActivate = if not v95 then nil else v84,
                TextScaled = true,
                LayoutOrder = 1,
                ref = if not v32 then v50 else v49.resellerRef,
                NextSelectionUp = v49.NextSelectionUp,
                NextSelectionDown = if not not v32 and v92 then v49.attributionRef else v49.NextSelectionDown
            });
        end;
        v133.Sellers = v134;
        v133.SoldCount = v2.createElement(v13, {
            infoName = "Feature.Catalog.Label.QuantitySold",
            infoData = if v98 == 0 then v110 else ("%*/%*"):format(v110, l_v97_0),
            TextScaled = true,
            LayoutOrder = not v32 and 7 or 8
        });
        v133.Price = v2.createElement(v13, {
            infoName = v102 == v16.ResaleRestriction.Disabled and "Feature.Catalog.Label.Price" or "Feature.Catalog.Label.OriginalPrice",
            infoData = not l_v98_0 and "" or v16.RobloxEmoji.Robux .. l_v98_0,
            onActivate = if not v96 or v94 then nil else v117,
            LayoutOrder = (v96 or v108) and 0 or (v32 and 9 or 8)
        });
        v133.AveragePrice = v2.createElement(v13, {
            infoName = "Feature.Catalog.Label.AveragePrice",
            infoData = tostring(v100),
            hideDivider = true,
            LayoutOrder = not v32 and 9 or 10
        });
        l_createElement_1 = l_createElement_1(l_v13_0, v132, v133);
    end;
    v129.ResellerInfo = l_createElement_1;
    return l_createElement_0(l_Frame_0, v128, v129);
end));


local l_Modules_0 = game:GetService("CoreGui").RobloxGui.Modules;
local l_CorePackages_0 = game:GetService("CorePackages");
local v2 = require(l_CorePackages_0.Packages.React);
local l_Focusable_0 = require(l_CorePackages_0.Packages.RoactGamepad).Focusable;
local v4 = require(l_CorePackages_0.Workspace.Packages.VerifiedBadges);
local v5 = require(l_CorePackages_0.Packages.UIBlox);
local l_useStyle_0 = v5.Core.Style.useStyle;
local l_useSelectionCursor_0 = v5.App.SelectionImage.useSelectionCursor;
local l_CursorKind_0 = v5.App.SelectionImage.CursorKind;
local l_Images_0 = v5.App.ImageSet.Images;
local l_ImageSetLabel_0 = v5.Core.ImageSet.ImageSetLabel;
local v11 = require(l_Modules_0.LuaApp.Hooks.useLocalization);
local v12 = l_Images_0["icons/navigation/pushRight_small"] or "LuaApp/icons/GameDetails/navigation/pushRight_small";
local v13 = Vector2.new(14, 14);
return (v2.forwardRef(function(v14, v15)
    local l_LayoutOrder_0 = v14.LayoutOrder;
    local l_infoName_0 = v14.infoName;
    local l_infoData_0 = v14.infoData;
    local l_onActivate_0 = v14.onActivate;
    local l_hasVerifiedBadge_0 = v14.hasVerifiedBadge;
    local v21 = l_useStyle_0();
    local l_Theme_0 = v21.Theme;
    local l_Font_0 = v21.Font;
    local v24 = l_useSelectionCursor_0(l_CursorKind_0.RoundedRect);
    local v25 = v11({
        name = l_infoName_0
    });
    local l_Color_0 = l_Theme_0.TextEmphasis.Color;
    local v27 = l_Font_0.BaseSize * l_Font_0.Body.RelativeSize;
    local v28 = -11 - v13.X;
    local v29 = v15 ~= nil;
    return v2.createElement(not v29 and "ImageButton" or l_Focusable_0.ImageButton, {
        BackgroundTransparency = 1,
        BorderSizePixel = 0,
        LayoutOrder = l_LayoutOrder_0,
        Size = UDim2.new(1, 0, 0, not v14.hideDivider and 53 or 52),
        [v2.Event.Activated] = l_onActivate_0,
        NextSelectionUp = v14.NextSelectionUp,
        NextSelectionDown = v14.NextSelectionDown,
        NextSelectionLeft = v14.NextSelectionLeft,
        NextSelectionRight = v14.NextSelectionRight,
        ref = v15,
        SelectionImageObject = not not v29 and v24 or nil
    }, {
        Container = v2.createElement("Frame", {
            BackgroundTransparency = 1,
            Size = UDim2.new(1, 0, 1, not v14.hideDivider and -1 or 0)
        }, {
            InfoNameTextLabel = v2.createElement("TextLabel", {
                BackgroundTransparency = 1,
                Font = l_Font_0.Body.Font,
                Size = UDim2.new(0.5, 0, 1, 0),
                Text = v25.name,
                TextColor3 = l_Theme_0.TextDefault.Color,
                TextSize = v27,
                TextTruncate = Enum.TextTruncate.AtEnd,
                TextXAlignment = Enum.TextXAlignment.Left,
                TextYAlignment = Enum.TextYAlignment.Center
            }),
            InfoDataWithEmoji = l_hasVerifiedBadge_0 and v2.createElement(v4.EmojiWrapper, {
                emoji = v4.emoji.verified,
                font = if not l_onActivate_0 then l_Font_0.Body.Font else l_Font_0.Header2.Font,
                anchorPoint = Vector2.new(1, 0),
                position = UDim2.new(1, not l_onActivate_0 and 0 or v28, 0, 0),
                size = UDim2.new(0.5, 0, 1, 0),
                automaticSize = Enum.AutomaticSize.None,
                horizontalAlignment = Enum.HorizontalAlignment.Right,
                verticalAlignment = Enum.VerticalAlignment.Center
            }, {
                InfoDataTextLabel = v2.createElement("TextLabel", {
                    BackgroundTransparency = 1,
                    Font = not not l_onActivate_0 and l_Font_0.Header2.Font or l_Font_0.Body.Font,
                    Size = UDim2.new(0, 0, 1, 0),
                    Text = v25.data or l_infoData_0,
                    TextColor3 = if not l_onActivate_0 then l_Theme_0.TextDefault.Color else l_Theme_0.TextEmphasis.Color,
                    TextSize = v27,
                    TextTruncate = Enum.TextTruncate.AtEnd,
                    TextScaled = v14.TextScaled,
                    AutomaticSize = Enum.AutomaticSize.X,
                    TextXAlignment = Enum.TextXAlignment.Left
                })
            }),
            InfoDataTextLabel = not l_hasVerifiedBadge_0 and v2.createElement("TextLabel", {
                AnchorPoint = Vector2.new(1, 0),
                Position = UDim2.new(1, not l_onActivate_0 and 0 or v28, 0, 0),
                BackgroundTransparency = 1,
                Font = if not l_onActivate_0 then l_Font_0.Body.Font else l_Font_0.Header2.Font,
                Size = UDim2.new(0.5, 0, 1, 0),
                Text = v25.data or l_infoData_0,
                TextColor3 = if not l_onActivate_0 then l_Theme_0.TextDefault.Color else l_Theme_0.TextEmphasis.Color,
                TextSize = v27,
                TextTruncate = Enum.TextTruncate.AtEnd,
                TextScaled = v14.TextScaled,
                TextXAlignment = Enum.TextXAlignment.Right,
                TextYAlignment = Enum.TextYAlignment.Center
            }, {
                TextSizeConstraint = v14.TextScaled and v2.createElement("UITextSizeConstraint", {
                    MaxTextSize = v27
                })
            }),
            LinkIcon = l_onActivate_0 and v2.createElement(l_ImageSetLabel_0, {
                AnchorPoint = Vector2.new(1, 0.5),
                Position = UDim2.new(1, 0, 0.5, 0),
                Size = UDim2.fromOffset(v13.X, v13.Y),
                Image = v12,
                ImageColor3 = l_Color_0,
                BorderSizePixel = 0,
                BackgroundTransparency = 1
            })
        }),
        Divider = not v14.hideDivider and v2.createElement("Frame", {
            BackgroundColor3 = l_Theme_0.Divider.Color,
            BackgroundTransparency = l_Theme_0.Divider.Transparency,
            BorderSizePixel = 0,
            Size = UDim2.new(1, 0, 0, 1),
            Position = UDim2.new(0, 0, 1, -1)
        })
    });
end));


local l_CorePackages_0 = game:GetService("CorePackages");
local l_CoreGui_0 = game:GetService("CoreGui");
local v2 = require(l_CorePackages_0.Packages.React);
local v3 = require(l_CorePackages_0.Packages.Cryo);
local v4 = require(l_CorePackages_0.Packages.UIBlox);
local l_Focusable_0 = require(l_CorePackages_0.Packages.RoactGamepad).Focusable;
local l_useDispatch_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.RoactRodux.useDispatch;
local l_useSelector_0 = require(l_CorePackages_0.Workspace.Packages.RoactUtils).Hooks.RoactRodux.useSelector;
local l_useLocalization_0 = require(l_CorePackages_0.Workspace.Packages.Localization).Hooks.useLocalization;
local l_Modules_0 = l_CoreGui_0.RobloxGui.Modules;
local v10 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.FetchSellPageData);
local v11 = require(l_Modules_0.AvatarExperience.Catalog.Thunks.FetchCollectibleResellableInstances);
local v12 = require(l_Modules_0.LuaApp.Hooks.useRoactService);
local v13 = require(l_Modules_0.LuaApp.Services.RoactNetworking);
local l_useStyle_0 = v4.Core.Style.useStyle;
local l_Images_0 = v4.App.ImageSet.Images;
local l_ImageSetLabel_0 = v4.Core.ImageSet.ImageSetLabel;
local l_Interactable_0 = v4.Core.Control.Interactable;
local l_ControlState_0 = v4.Core.Control.Enum.ControlState;
local l_useSelectionCursor_0 = v4.App.SelectionImage.useSelectionCursor;
local l_CursorKind_0 = v4.App.SelectionImage.CursorKind;
local v21 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagL2ControllerSupport);
local v22 = require(l_Modules_0.AvatarExperience.Flags.GetFFlagAXLimitedBundlesHandleNewData);
local v23 = {
    [l_ControlState_0.Default] = "BackgroundUIDefault",
    [l_ControlState_0.Hover] = "BackgroundOnHover",
    [l_ControlState_0.Pressed] = "BackgroundOnPress"
};
local v24 = {
    onActivated = function()
    end
};
return (v2.forwardRef(function(v25, v26)
    v25 = v3.Dictionary.join(v24, v25);
    local v27 = l_useStyle_0();
    local v28 = l_useDispatch_0();
    local v29 = nil;
    v29 = if not v22() then v25.collectibleItemId else if v25.isLimitedCollectible then v25.collectibleItemId else nil;
    local v37 = l_useSelector_0(function(v30)
        if not v29 then
            local v31 = v30.AvatarExperience.Catalog.Sell.AvailableToSellAssets[v25.itemId];
            local v32 = v30.AvatarExperience.Catalog.Sell.CurrentlySellingAssets[v25.itemId];
            if v31 and v32 then
                return #v31 + #v32;
            else
                return nil;
            end;
        else
            local v33 = v30.AvatarExperience.Common.Collectibles.CollectiblesResellableInstances[v29];
            if v33 then
                local v34 = 0;
                for _, _ in v33, nil, nil do
                    v34 = v34 + 1;
                end;
                return v34;
            else
                return nil;
            end;
        end;
    end);
    local v39 = l_useSelector_0(function(v38)
        return v38.LocalUserId;
    end);
    local v40, v41 = v2.useState(l_ControlState_0.Initialize);
    local v44 = v2.useCallback(function(_, v43)
        v41(v43);
    end);
    local v45 = v12(v13);
    v2.useEffect(function()
        if v45 then
            if not v29 then
                v28(v10(v45, v25.itemId, v39));
                return ;
            else
                v28(v11(v45, v29, v39));
                return ;
            end;
        else
            return ;
        end;
    end, {
        v25.itemId,
        v39,
        v29
    });
    local v46 = v27.Theme[v23[v40] or v23[l_ControlState_0.Default]];
    return v2.createElement(l_Focusable_0[l_Interactable_0], {
        Size = v25.size,
        AutomaticSize = v25.automaticSize,
        BackgroundColor3 = v46.Color,
        BackgroundTransparency = v46.Transparency,
        BorderSizePixel = 0,
        AutoButtonColor = false,
        LayoutOrder = v25.layoutOrder,
        onStateChanged = v44,
        ref = if not v21() then nil else v26,
        SelectionImageObject = if not v21() then nil else l_useSelectionCursor_0(l_CursorKind_0.RoundedRect),
        NextSelectionUp = if not v21() then nil else v25.NextSelectionUp,
        NextSelectionDown = if not v21() then nil else v25.NextSelectionDown,
        NextSelectionLeft = if not v21() then nil else v25.NextSelectionLeft,
        NextSelectionRight = if not v21() then nil else v25.NextSelectionRight,
        [v2.Event.Activated] = v25.onActivated
    }, {
        Corner = v2.createElement("UICorner", {
            CornerRadius = UDim.new(0, 8)
        }),
        Padding = v2.createElement("UIPadding", {
            PaddingLeft = UDim.new(0, 14),
            PaddingRight = UDim.new(0, 14),
            PaddingTop = UDim.new(0, 14),
            PaddingBottom = UDim.new(0, 14)
        }),
        ItemOwnedLabelContainer = v2.createElement("Frame", {
            Size = UDim2.fromScale(0, 1),
            BorderSizePixel = 0
        }, {
            Layout = v2.createElement("UIListLayout", {
                Padding = UDim.new(0, 6),
                SortOrder = Enum.SortOrder.LayoutOrder,
                VerticalAlignment = Enum.VerticalAlignment.Center,
                FillDirection = Enum.FillDirection.Horizontal
            }),
            OwnedIcon = v2.createElement(l_ImageSetLabel_0, {
                Size = UDim2.fromOffset(16, 16),
                Image = l_Images_0["icons/status/item/owned"],
                ImageColor3 = v27.Theme.IconEmphasis.Color,
                BackgroundTransparency = 1,
                BorderSizePixel = 0,
                LayoutOrder = 1
            }),
            ItemOwnedLabel = v2.createElement("TextLabel", {
                AutomaticSize = Enum.AutomaticSize.XY,
                Text = l_useLocalization_0({
                    itemOwned = {
                        "Feature.Catalog.Label.ItemOwnedCount";
                        itemCount = v37 or 0
                    }
                }).itemOwned,
                Font = v27.Font.Body.Font,
                TextSize = v27.Font.BaseSize * v27.Font.Body.RelativeSize,
                TextColor3 = v27.Theme.TextDefault.Color,
                BackgroundTransparency = 1,
                LayoutOrder = 2
            })
        }),
        ItemCountLabelContainer = v2.createElement("Frame", {
            Size = UDim2.fromScale(0, 1),
            Position = UDim2.fromScale(1, 0),
            BorderSizePixel = 0
        }, {
            Layout = v2.createElement("UIListLayout", {
                Padding = UDim.new(0, 6),
                SortOrder = Enum.SortOrder.LayoutOrder,
                VerticalAlignment = Enum.VerticalAlignment.Center,
                HorizontalAlignment = Enum.HorizontalAlignment.Right,
                FillDirection = Enum.FillDirection.Horizontal
            }),
            ArrowIcon = v2.createElement(l_ImageSetLabel_0, {
                Size = UDim2.fromOffset(16, 16),
                Image = l_Images_0["icons/navigation/pushRight_small"],
                ImageColor3 = v27.Theme.IconEmphasis.Color,
                BackgroundTransparency = 1,
                BorderSizePixel = 0,
                LayoutOrder = 2
            })
        })
    });
end));